akaaafk commited on
Commit
944981d
·
verified ·
1 Parent(s): 0c5932c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/bootstrap.js +2107 -0
  2. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/checkanswer.js +281 -0
  3. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/completelog.html +84 -0
  4. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/coral_reef.css +8 -0
  5. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/eventschedule.html +136 -0
  6. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/faq.html +122 -0
  7. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/hashi_it_out +142 -0
  8. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/index.html +142 -0
  9. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/intro.html +0 -0
  10. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/logbook.css +244 -0
  11. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/ocean.css +109 -0
  12. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/puzzle.css +0 -0
  13. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/sponsors.html +93 -0
  14. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/storylog.html +213 -0
  15. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/toc.html +831 -0
  16. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/updates.html +214 -0
  17. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/bootstrap.js +2107 -0
  18. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/checkanswer.js +281 -0
  19. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/completelog.html +84 -0
  20. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/eventschedule.html +136 -0
  21. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/faq.html +122 -0
  22. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/headshots +118 -0
  23. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/index.html +118 -0
  24. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/intro.html +0 -0
  25. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/logbook.css +244 -0
  26. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/ocean.css +109 -0
  27. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/puzzle.css +0 -0
  28. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/school_of_fish.css +8 -0
  29. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/sponsors.html +93 -0
  30. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/storylog.html +213 -0
  31. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/toc.html +831 -0
  32. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/updates.html +214 -0
  33. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/atlantis.css +126 -0
  34. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/bootstrap.js +2107 -0
  35. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/checkanswer.js +281 -0
  36. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/completelog.html +84 -0
  37. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/eventschedule.html +136 -0
  38. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/faq.html +122 -0
  39. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/hunt_life_3_confirmed +122 -0
  40. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/index.html +122 -0
  41. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/intro.html +0 -0
  42. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/logbook.css +244 -0
  43. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/puzzle.css +0 -0
  44. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/sponsors.html +93 -0
  45. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/storylog.html +213 -0
  46. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/toc.html +831 -0
  47. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/updates.html +214 -0
  48. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/bootstrap.js +2107 -0
  49. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/checkanswer.js +281 -0
  50. benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/completelog.html +84 -0
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/bootstrap.js ADDED
@@ -0,0 +1,2107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * Bootstrap: affix.js v3.2.0
3
+ * http://getbootstrap.com/javascript/#affix
4
+ * ========================================================================
5
+ * Copyright 2011-2014 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // AFFIX CLASS DEFINITION
14
+ // ======================
15
+
16
+ var Affix = function (element, options) {
17
+ this.options = $.extend({}, Affix.DEFAULTS, options)
18
+
19
+ this.$target = $(this.options.target)
20
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
21
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
22
+
23
+ this.$element = $(element)
24
+ this.affixed =
25
+ this.unpin =
26
+ this.pinnedOffset = null
27
+
28
+ this.checkPosition()
29
+ }
30
+
31
+ Affix.VERSION = '3.2.0'
32
+
33
+ Affix.RESET = 'affix affix-top affix-bottom'
34
+
35
+ Affix.DEFAULTS = {
36
+ offset: 0,
37
+ target: window
38
+ }
39
+
40
+ Affix.prototype.getPinnedOffset = function () {
41
+ if (this.pinnedOffset) return this.pinnedOffset
42
+ this.$element.removeClass(Affix.RESET).addClass('affix')
43
+ var scrollTop = this.$target.scrollTop()
44
+ var position = this.$element.offset()
45
+ return (this.pinnedOffset = position.top - scrollTop)
46
+ }
47
+
48
+ Affix.prototype.checkPositionWithEventLoop = function () {
49
+ setTimeout($.proxy(this.checkPosition, this), 1)
50
+ }
51
+
52
+ Affix.prototype.checkPosition = function () {
53
+ if (!this.$element.is(':visible')) return
54
+
55
+ var scrollHeight = $(document).height()
56
+ var scrollTop = this.$target.scrollTop()
57
+ var position = this.$element.offset()
58
+ var offset = this.options.offset
59
+ var offsetTop = offset.top
60
+ var offsetBottom = offset.bottom
61
+
62
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
63
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
64
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
65
+
66
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
67
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
68
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
69
+
70
+ if (this.affixed === affix) return
71
+ if (this.unpin != null) this.$element.css('top', '')
72
+
73
+ var affixType = 'affix' + (affix ? '-' + affix : '')
74
+ var e = $.Event(affixType + '.bs.affix')
75
+
76
+ this.$element.trigger(e)
77
+
78
+ if (e.isDefaultPrevented()) return
79
+
80
+ this.affixed = affix
81
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
82
+
83
+ this.$element
84
+ .removeClass(Affix.RESET)
85
+ .addClass(affixType)
86
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
87
+
88
+ if (affix == 'bottom') {
89
+ this.$element.offset({
90
+ top: scrollHeight - this.$element.height() - offsetBottom
91
+ })
92
+ }
93
+ }
94
+
95
+
96
+ // AFFIX PLUGIN DEFINITION
97
+ // =======================
98
+
99
+ function Plugin(option) {
100
+ return this.each(function () {
101
+ var $this = $(this)
102
+ var data = $this.data('bs.affix')
103
+ var options = typeof option == 'object' && option
104
+
105
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
106
+ if (typeof option == 'string') data[option]()
107
+ })
108
+ }
109
+
110
+ var old = $.fn.affix
111
+
112
+ $.fn.affix = Plugin
113
+ $.fn.affix.Constructor = Affix
114
+
115
+
116
+ // AFFIX NO CONFLICT
117
+ // =================
118
+
119
+ $.fn.affix.noConflict = function () {
120
+ $.fn.affix = old
121
+ return this
122
+ }
123
+
124
+
125
+ // AFFIX DATA-API
126
+ // ==============
127
+
128
+ $(window).on('load', function () {
129
+ $('[data-spy="affix"]').each(function () {
130
+ var $spy = $(this)
131
+ var data = $spy.data()
132
+
133
+ data.offset = data.offset || {}
134
+
135
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
136
+ if (data.offsetTop) data.offset.top = data.offsetTop
137
+
138
+ Plugin.call($spy, data)
139
+ })
140
+ })
141
+
142
+ }(jQuery);
143
+
144
+ /* ========================================================================
145
+ * Bootstrap: alert.js v3.2.0
146
+ * http://getbootstrap.com/javascript/#alerts
147
+ * ========================================================================
148
+ * Copyright 2011-2014 Twitter, Inc.
149
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
150
+ * ======================================================================== */
151
+
152
+
153
+ +function ($) {
154
+ 'use strict';
155
+
156
+ // ALERT CLASS DEFINITION
157
+ // ======================
158
+
159
+ var dismiss = '[data-dismiss="alert"]'
160
+ var Alert = function (el) {
161
+ $(el).on('click', dismiss, this.close)
162
+ }
163
+
164
+ Alert.VERSION = '3.2.0'
165
+
166
+ Alert.prototype.close = function (e) {
167
+ var $this = $(this)
168
+ var selector = $this.attr('data-target')
169
+
170
+ if (!selector) {
171
+ selector = $this.attr('href')
172
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
173
+ }
174
+
175
+ var $parent = $(selector)
176
+
177
+ if (e) e.preventDefault()
178
+
179
+ if (!$parent.length) {
180
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
181
+ }
182
+
183
+ $parent.trigger(e = $.Event('close.bs.alert'))
184
+
185
+ if (e.isDefaultPrevented()) return
186
+
187
+ $parent.removeClass('in')
188
+
189
+ function removeElement() {
190
+ // detach from parent, fire event then clean up data
191
+ $parent.detach().trigger('closed.bs.alert').remove()
192
+ }
193
+
194
+ $.support.transition && $parent.hasClass('fade') ?
195
+ $parent
196
+ .one('bsTransitionEnd', removeElement)
197
+ .emulateTransitionEnd(150) :
198
+ removeElement()
199
+ }
200
+
201
+
202
+ // ALERT PLUGIN DEFINITION
203
+ // =======================
204
+
205
+ function Plugin(option) {
206
+ return this.each(function () {
207
+ var $this = $(this)
208
+ var data = $this.data('bs.alert')
209
+
210
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
211
+ if (typeof option == 'string') data[option].call($this)
212
+ })
213
+ }
214
+
215
+ var old = $.fn.alert
216
+
217
+ $.fn.alert = Plugin
218
+ $.fn.alert.Constructor = Alert
219
+
220
+
221
+ // ALERT NO CONFLICT
222
+ // =================
223
+
224
+ $.fn.alert.noConflict = function () {
225
+ $.fn.alert = old
226
+ return this
227
+ }
228
+
229
+
230
+ // ALERT DATA-API
231
+ // ==============
232
+
233
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
234
+
235
+ }(jQuery);
236
+
237
+ /* ========================================================================
238
+ * Bootstrap: button.js v3.2.0
239
+ * http://getbootstrap.com/javascript/#buttons
240
+ * ========================================================================
241
+ * Copyright 2011-2014 Twitter, Inc.
242
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
243
+ * ======================================================================== */
244
+
245
+
246
+ +function ($) {
247
+ 'use strict';
248
+
249
+ // BUTTON PUBLIC CLASS DEFINITION
250
+ // ==============================
251
+
252
+ var Button = function (element, options) {
253
+ this.$element = $(element)
254
+ this.options = $.extend({}, Button.DEFAULTS, options)
255
+ this.isLoading = false
256
+ }
257
+
258
+ Button.VERSION = '3.2.0'
259
+
260
+ Button.DEFAULTS = {
261
+ loadingText: 'loading...'
262
+ }
263
+
264
+ Button.prototype.setState = function (state) {
265
+ var d = 'disabled'
266
+ var $el = this.$element
267
+ var val = $el.is('input') ? 'val' : 'html'
268
+ var data = $el.data()
269
+
270
+ state = state + 'Text'
271
+
272
+ if (data.resetText == null) $el.data('resetText', $el[val]())
273
+
274
+ $el[val](data[state] == null ? this.options[state] : data[state])
275
+
276
+ // push to event loop to allow forms to submit
277
+ setTimeout($.proxy(function () {
278
+ if (state == 'loadingText') {
279
+ this.isLoading = true
280
+ $el.addClass(d).attr(d, d)
281
+ } else if (this.isLoading) {
282
+ this.isLoading = false
283
+ $el.removeClass(d).removeAttr(d)
284
+ }
285
+ }, this), 0)
286
+ }
287
+
288
+ Button.prototype.toggle = function () {
289
+ var changed = true
290
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
291
+
292
+ if ($parent.length) {
293
+ var $input = this.$element.find('input')
294
+ if ($input.prop('type') == 'radio') {
295
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
296
+ else $parent.find('.active').removeClass('active')
297
+ }
298
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
299
+ }
300
+
301
+ if (changed) this.$element.toggleClass('active')
302
+ }
303
+
304
+
305
+ // BUTTON PLUGIN DEFINITION
306
+ // ========================
307
+
308
+ function Plugin(option) {
309
+ return this.each(function () {
310
+ var $this = $(this)
311
+ var data = $this.data('bs.button')
312
+ var options = typeof option == 'object' && option
313
+
314
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
315
+
316
+ if (option == 'toggle') data.toggle()
317
+ else if (option) data.setState(option)
318
+ })
319
+ }
320
+
321
+ var old = $.fn.button
322
+
323
+ $.fn.button = Plugin
324
+ $.fn.button.Constructor = Button
325
+
326
+
327
+ // BUTTON NO CONFLICT
328
+ // ==================
329
+
330
+ $.fn.button.noConflict = function () {
331
+ $.fn.button = old
332
+ return this
333
+ }
334
+
335
+
336
+ // BUTTON DATA-API
337
+ // ===============
338
+
339
+ $(document).on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
340
+ var $btn = $(e.target)
341
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
342
+ Plugin.call($btn, 'toggle')
343
+ e.preventDefault()
344
+ })
345
+
346
+ }(jQuery);
347
+
348
+ /* ========================================================================
349
+ * Bootstrap: carousel.js v3.2.0
350
+ * http://getbootstrap.com/javascript/#carousel
351
+ * ========================================================================
352
+ * Copyright 2011-2014 Twitter, Inc.
353
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
354
+ * ======================================================================== */
355
+
356
+
357
+ +function ($) {
358
+ 'use strict';
359
+
360
+ // CAROUSEL CLASS DEFINITION
361
+ // =========================
362
+
363
+ var Carousel = function (element, options) {
364
+ this.$element = $(element).on('keydown.bs.carousel', $.proxy(this.keydown, this))
365
+ this.$indicators = this.$element.find('.carousel-indicators')
366
+ this.options = options
367
+ this.paused =
368
+ this.sliding =
369
+ this.interval =
370
+ this.$active =
371
+ this.$items = null
372
+
373
+ this.options.pause == 'hover' && this.$element
374
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
375
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
376
+ }
377
+
378
+ Carousel.VERSION = '3.2.0'
379
+
380
+ Carousel.DEFAULTS = {
381
+ interval: 5000,
382
+ pause: 'hover',
383
+ wrap: true
384
+ }
385
+
386
+ Carousel.prototype.keydown = function (e) {
387
+ switch (e.which) {
388
+ case 37: this.prev(); break
389
+ case 39: this.next(); break
390
+ default: return
391
+ }
392
+
393
+ e.preventDefault()
394
+ }
395
+
396
+ Carousel.prototype.cycle = function (e) {
397
+ e || (this.paused = false)
398
+
399
+ this.interval && clearInterval(this.interval)
400
+
401
+ this.options.interval
402
+ && !this.paused
403
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
404
+
405
+ return this
406
+ }
407
+
408
+ Carousel.prototype.getItemIndex = function (item) {
409
+ this.$items = item.parent().children('.item')
410
+ return this.$items.index(item || this.$active)
411
+ }
412
+
413
+ Carousel.prototype.to = function (pos) {
414
+ var that = this
415
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
416
+
417
+ if (pos > (this.$items.length - 1) || pos < 0) return
418
+
419
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
420
+ if (activeIndex == pos) return this.pause().cycle()
421
+
422
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
423
+ }
424
+
425
+ Carousel.prototype.pause = function (e) {
426
+ e || (this.paused = true)
427
+
428
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
429
+ this.$element.trigger($.support.transition.end)
430
+ this.cycle(true)
431
+ }
432
+
433
+ this.interval = clearInterval(this.interval)
434
+
435
+ return this
436
+ }
437
+
438
+ Carousel.prototype.next = function () {
439
+ if (this.sliding) return
440
+ return this.slide('next')
441
+ }
442
+
443
+ Carousel.prototype.prev = function () {
444
+ if (this.sliding) return
445
+ return this.slide('prev')
446
+ }
447
+
448
+ Carousel.prototype.slide = function (type, next) {
449
+ var $active = this.$element.find('.item.active')
450
+ var $next = next || $active[type]()
451
+ var isCycling = this.interval
452
+ var direction = type == 'next' ? 'left' : 'right'
453
+ var fallback = type == 'next' ? 'first' : 'last'
454
+ var that = this
455
+
456
+ if (!$next.length) {
457
+ if (!this.options.wrap) return
458
+ $next = this.$element.find('.item')[fallback]()
459
+ }
460
+
461
+ if ($next.hasClass('active')) return (this.sliding = false)
462
+
463
+ var relatedTarget = $next[0]
464
+ var slideEvent = $.Event('slide.bs.carousel', {
465
+ relatedTarget: relatedTarget,
466
+ direction: direction
467
+ })
468
+ this.$element.trigger(slideEvent)
469
+ if (slideEvent.isDefaultPrevented()) return
470
+
471
+ this.sliding = true
472
+
473
+ isCycling && this.pause()
474
+
475
+ if (this.$indicators.length) {
476
+ this.$indicators.find('.active').removeClass('active')
477
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
478
+ $nextIndicator && $nextIndicator.addClass('active')
479
+ }
480
+
481
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
482
+ if ($.support.transition && this.$element.hasClass('slide')) {
483
+ $next.addClass(type)
484
+ $next[0].offsetWidth // force reflow
485
+ $active.addClass(direction)
486
+ $next.addClass(direction)
487
+ $active
488
+ .one('bsTransitionEnd', function () {
489
+ $next.removeClass([type, direction].join(' ')).addClass('active')
490
+ $active.removeClass(['active', direction].join(' '))
491
+ that.sliding = false
492
+ setTimeout(function () {
493
+ that.$element.trigger(slidEvent)
494
+ }, 0)
495
+ })
496
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
497
+ } else {
498
+ $active.removeClass('active')
499
+ $next.addClass('active')
500
+ this.sliding = false
501
+ this.$element.trigger(slidEvent)
502
+ }
503
+
504
+ isCycling && this.cycle()
505
+
506
+ return this
507
+ }
508
+
509
+
510
+ // CAROUSEL PLUGIN DEFINITION
511
+ // ==========================
512
+
513
+ function Plugin(option) {
514
+ return this.each(function () {
515
+ var $this = $(this)
516
+ var data = $this.data('bs.carousel')
517
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
518
+ var action = typeof option == 'string' ? option : options.slide
519
+
520
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
521
+ if (typeof option == 'number') data.to(option)
522
+ else if (action) data[action]()
523
+ else if (options.interval) data.pause().cycle()
524
+ })
525
+ }
526
+
527
+ var old = $.fn.carousel
528
+
529
+ $.fn.carousel = Plugin
530
+ $.fn.carousel.Constructor = Carousel
531
+
532
+
533
+ // CAROUSEL NO CONFLICT
534
+ // ====================
535
+
536
+ $.fn.carousel.noConflict = function () {
537
+ $.fn.carousel = old
538
+ return this
539
+ }
540
+
541
+
542
+ // CAROUSEL DATA-API
543
+ // =================
544
+
545
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
546
+ var href
547
+ var $this = $(this)
548
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
549
+ if (!$target.hasClass('carousel')) return
550
+ var options = $.extend({}, $target.data(), $this.data())
551
+ var slideIndex = $this.attr('data-slide-to')
552
+ if (slideIndex) options.interval = false
553
+
554
+ Plugin.call($target, options)
555
+
556
+ if (slideIndex) {
557
+ $target.data('bs.carousel').to(slideIndex)
558
+ }
559
+
560
+ e.preventDefault()
561
+ })
562
+
563
+ $(window).on('load', function () {
564
+ $('[data-ride="carousel"]').each(function () {
565
+ var $carousel = $(this)
566
+ Plugin.call($carousel, $carousel.data())
567
+ })
568
+ })
569
+
570
+ }(jQuery);
571
+
572
+ /* ========================================================================
573
+ * Bootstrap: collapse.js v3.2.0
574
+ * http://getbootstrap.com/javascript/#collapse
575
+ * ========================================================================
576
+ * Copyright 2011-2014 Twitter, Inc.
577
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
578
+ * ======================================================================== */
579
+
580
+
581
+ +function ($) {
582
+ 'use strict';
583
+
584
+ // COLLAPSE PUBLIC CLASS DEFINITION
585
+ // ================================
586
+
587
+ var Collapse = function (element, options) {
588
+ this.$element = $(element)
589
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
590
+ this.transitioning = null
591
+
592
+ if (this.options.parent) this.$parent = $(this.options.parent)
593
+ if (this.options.toggle) this.toggle()
594
+ }
595
+
596
+ Collapse.VERSION = '3.2.0'
597
+
598
+ Collapse.DEFAULTS = {
599
+ toggle: true
600
+ }
601
+
602
+ Collapse.prototype.dimension = function () {
603
+ var hasWidth = this.$element.hasClass('width')
604
+ return hasWidth ? 'width' : 'height'
605
+ }
606
+
607
+ Collapse.prototype.show = function () {
608
+ if (this.transitioning || this.$element.hasClass('in')) return
609
+
610
+ var startEvent = $.Event('show.bs.collapse')
611
+ this.$element.trigger(startEvent)
612
+ if (startEvent.isDefaultPrevented()) return
613
+
614
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
615
+
616
+ if (actives && actives.length) {
617
+ var hasData = actives.data('bs.collapse')
618
+ if (hasData && hasData.transitioning) return
619
+ Plugin.call(actives, 'hide')
620
+ hasData || actives.data('bs.collapse', null)
621
+ }
622
+
623
+ var dimension = this.dimension()
624
+
625
+ this.$element
626
+ .removeClass('collapse')
627
+ .addClass('collapsing')[dimension](0)
628
+
629
+ this.transitioning = 1
630
+
631
+ var complete = function () {
632
+ this.$element
633
+ .removeClass('collapsing')
634
+ .addClass('collapse in')[dimension]('')
635
+ this.transitioning = 0
636
+ this.$element
637
+ .trigger('shown.bs.collapse')
638
+ }
639
+
640
+ if (!$.support.transition) return complete.call(this)
641
+
642
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
643
+
644
+ this.$element
645
+ .one('bsTransitionEnd', $.proxy(complete, this))
646
+ .emulateTransitionEnd(350)[dimension](this.$element[0][scrollSize])
647
+ }
648
+
649
+ Collapse.prototype.hide = function () {
650
+ if (this.transitioning || !this.$element.hasClass('in')) return
651
+
652
+ var startEvent = $.Event('hide.bs.collapse')
653
+ this.$element.trigger(startEvent)
654
+ if (startEvent.isDefaultPrevented()) return
655
+
656
+ var dimension = this.dimension()
657
+
658
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
659
+
660
+ this.$element
661
+ .addClass('collapsing')
662
+ .removeClass('collapse')
663
+ .removeClass('in')
664
+
665
+ this.transitioning = 1
666
+
667
+ var complete = function () {
668
+ this.transitioning = 0
669
+ this.$element
670
+ .trigger('hidden.bs.collapse')
671
+ .removeClass('collapsing')
672
+ .addClass('collapse')
673
+ }
674
+
675
+ if (!$.support.transition) return complete.call(this)
676
+
677
+ this.$element
678
+ [dimension](0)
679
+ .one('bsTransitionEnd', $.proxy(complete, this))
680
+ .emulateTransitionEnd(350)
681
+ }
682
+
683
+ Collapse.prototype.toggle = function () {
684
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
685
+ }
686
+
687
+
688
+ // COLLAPSE PLUGIN DEFINITION
689
+ // ==========================
690
+
691
+ function Plugin(option) {
692
+ return this.each(function () {
693
+ var $this = $(this)
694
+ var data = $this.data('bs.collapse')
695
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
696
+
697
+ if (!data && options.toggle && option == 'show') option = !option
698
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
699
+ if (typeof option == 'string') data[option]()
700
+ })
701
+ }
702
+
703
+ var old = $.fn.collapse
704
+
705
+ $.fn.collapse = Plugin
706
+ $.fn.collapse.Constructor = Collapse
707
+
708
+
709
+ // COLLAPSE NO CONFLICT
710
+ // ====================
711
+
712
+ $.fn.collapse.noConflict = function () {
713
+ $.fn.collapse = old
714
+ return this
715
+ }
716
+
717
+
718
+ // COLLAPSE DATA-API
719
+ // =================
720
+
721
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
722
+ var href
723
+ var $this = $(this)
724
+ var target = $this.attr('data-target')
725
+ || e.preventDefault()
726
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
727
+ var $target = $(target)
728
+ var data = $target.data('bs.collapse')
729
+ var option = data ? 'toggle' : $this.data()
730
+ var parent = $this.attr('data-parent')
731
+ var $parent = parent && $(parent)
732
+
733
+ if (!data || !data.transitioning) {
734
+ if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
735
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
736
+ }
737
+
738
+ Plugin.call($target, option)
739
+ })
740
+
741
+ }(jQuery);
742
+
743
+ /* ========================================================================
744
+ * Bootstrap: dropdown.js v3.2.0
745
+ * http://getbootstrap.com/javascript/#dropdowns
746
+ * ========================================================================
747
+ * Copyright 2011-2014 Twitter, Inc.
748
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
749
+ * ======================================================================== */
750
+
751
+
752
+ +function ($) {
753
+ 'use strict';
754
+
755
+ // DROPDOWN CLASS DEFINITION
756
+ // =========================
757
+
758
+ var backdrop = '.dropdown-backdrop'
759
+ var toggle = '[data-toggle="dropdown"]'
760
+ var Dropdown = function (element) {
761
+ $(element).on('click.bs.dropdown', this.toggle)
762
+ }
763
+
764
+ Dropdown.VERSION = '3.2.0'
765
+
766
+ Dropdown.prototype.toggle = function (e) {
767
+ var $this = $(this)
768
+
769
+ if ($this.is('.disabled, :disabled')) return
770
+
771
+ var $parent = getParent($this)
772
+ var isActive = $parent.hasClass('open')
773
+
774
+ clearMenus()
775
+
776
+ if (!isActive) {
777
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
778
+ // if mobile we use a backdrop because click events don't delegate
779
+ $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
780
+ }
781
+
782
+ var relatedTarget = { relatedTarget: this }
783
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
784
+
785
+ if (e.isDefaultPrevented()) return
786
+
787
+ $this.trigger('focus')
788
+
789
+ $parent
790
+ .toggleClass('open')
791
+ .trigger('shown.bs.dropdown', relatedTarget)
792
+ }
793
+
794
+ return false
795
+ }
796
+
797
+ Dropdown.prototype.keydown = function (e) {
798
+ if (!/(38|40|27)/.test(e.keyCode)) return
799
+
800
+ var $this = $(this)
801
+
802
+ e.preventDefault()
803
+ e.stopPropagation()
804
+
805
+ if ($this.is('.disabled, :disabled')) return
806
+
807
+ var $parent = getParent($this)
808
+ var isActive = $parent.hasClass('open')
809
+
810
+ if (!isActive || (isActive && e.keyCode == 27)) {
811
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
812
+ return $this.trigger('click')
813
+ }
814
+
815
+ var desc = ' li:not(.divider):visible a'
816
+ var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
817
+
818
+ if (!$items.length) return
819
+
820
+ var index = $items.index($items.filter(':focus'))
821
+
822
+ if (e.keyCode == 38 && index > 0) index-- // up
823
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
824
+ if (!~index) index = 0
825
+
826
+ $items.eq(index).trigger('focus')
827
+ }
828
+
829
+ function clearMenus(e) {
830
+ if (e && e.which === 3) return
831
+ $(backdrop).remove()
832
+ $(toggle).each(function () {
833
+ var $parent = getParent($(this))
834
+ var relatedTarget = { relatedTarget: this }
835
+ if (!$parent.hasClass('open')) return
836
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
837
+ if (e.isDefaultPrevented()) return
838
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
839
+ })
840
+ }
841
+
842
+ function getParent($this) {
843
+ var selector = $this.attr('data-target')
844
+
845
+ if (!selector) {
846
+ selector = $this.attr('href')
847
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
848
+ }
849
+
850
+ var $parent = selector && $(selector)
851
+
852
+ return $parent && $parent.length ? $parent : $this.parent()
853
+ }
854
+
855
+
856
+ // DROPDOWN PLUGIN DEFINITION
857
+ // ==========================
858
+
859
+ function Plugin(option) {
860
+ return this.each(function () {
861
+ var $this = $(this)
862
+ var data = $this.data('bs.dropdown')
863
+
864
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
865
+ if (typeof option == 'string') data[option].call($this)
866
+ })
867
+ }
868
+
869
+ var old = $.fn.dropdown
870
+
871
+ $.fn.dropdown = Plugin
872
+ $.fn.dropdown.Constructor = Dropdown
873
+
874
+
875
+ // DROPDOWN NO CONFLICT
876
+ // ====================
877
+
878
+ $.fn.dropdown.noConflict = function () {
879
+ $.fn.dropdown = old
880
+ return this
881
+ }
882
+
883
+
884
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
885
+ // ===================================
886
+
887
+ $(document)
888
+ .on('click.bs.dropdown.data-api', clearMenus)
889
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
890
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
891
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
892
+
893
+ }(jQuery);
894
+
895
+ /* ========================================================================
896
+ * Bootstrap: tab.js v3.2.0
897
+ * http://getbootstrap.com/javascript/#tabs
898
+ * ========================================================================
899
+ * Copyright 2011-2014 Twitter, Inc.
900
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
901
+ * ======================================================================== */
902
+
903
+
904
+ +function ($) {
905
+ 'use strict';
906
+
907
+ // TAB CLASS DEFINITION
908
+ // ====================
909
+
910
+ var Tab = function (element) {
911
+ this.element = $(element)
912
+ }
913
+
914
+ Tab.VERSION = '3.2.0'
915
+
916
+ Tab.prototype.show = function () {
917
+ var $this = this.element
918
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
919
+ var selector = $this.data('target')
920
+
921
+ if (!selector) {
922
+ selector = $this.attr('href')
923
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
924
+ }
925
+
926
+ if ($this.parent('li').hasClass('active')) return
927
+
928
+ var previous = $ul.find('.active:last a')[0]
929
+ var e = $.Event('show.bs.tab', {
930
+ relatedTarget: previous
931
+ })
932
+
933
+ $this.trigger(e)
934
+
935
+ if (e.isDefaultPrevented()) return
936
+
937
+ var $target = $(selector)
938
+
939
+ this.activate($this.closest('li'), $ul)
940
+ this.activate($target, $target.parent(), function () {
941
+ $this.trigger({
942
+ type: 'shown.bs.tab',
943
+ relatedTarget: previous
944
+ })
945
+ })
946
+ }
947
+
948
+ Tab.prototype.activate = function (element, container, callback) {
949
+ var $active = container.find('> .active')
950
+ var transition = callback
951
+ && $.support.transition
952
+ && $active.hasClass('fade')
953
+
954
+ function next() {
955
+ $active
956
+ .removeClass('active')
957
+ .find('> .dropdown-menu > .active')
958
+ .removeClass('active')
959
+
960
+ element.addClass('active')
961
+
962
+ if (transition) {
963
+ element[0].offsetWidth // reflow for transition
964
+ element.addClass('in')
965
+ } else {
966
+ element.removeClass('fade')
967
+ }
968
+
969
+ if (element.parent('.dropdown-menu')) {
970
+ element.closest('li.dropdown').addClass('active')
971
+ }
972
+
973
+ callback && callback()
974
+ }
975
+
976
+ transition ?
977
+ $active
978
+ .one('bsTransitionEnd', next)
979
+ .emulateTransitionEnd(150) :
980
+ next()
981
+
982
+ $active.removeClass('in')
983
+ }
984
+
985
+
986
+ // TAB PLUGIN DEFINITION
987
+ // =====================
988
+
989
+ function Plugin(option) {
990
+ return this.each(function () {
991
+ var $this = $(this)
992
+ var data = $this.data('bs.tab')
993
+
994
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
995
+ if (typeof option == 'string') data[option]()
996
+ })
997
+ }
998
+
999
+ var old = $.fn.tab
1000
+
1001
+ $.fn.tab = Plugin
1002
+ $.fn.tab.Constructor = Tab
1003
+
1004
+
1005
+ // TAB NO CONFLICT
1006
+ // ===============
1007
+
1008
+ $.fn.tab.noConflict = function () {
1009
+ $.fn.tab = old
1010
+ return this
1011
+ }
1012
+
1013
+
1014
+ // TAB DATA-API
1015
+ // ============
1016
+
1017
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
1018
+ e.preventDefault()
1019
+ Plugin.call($(this), 'show')
1020
+ })
1021
+
1022
+ }(jQuery);
1023
+
1024
+ /* ========================================================================
1025
+ * Bootstrap: transition.js v3.2.0
1026
+ * http://getbootstrap.com/javascript/#transitions
1027
+ * ========================================================================
1028
+ * Copyright 2011-2014 Twitter, Inc.
1029
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1030
+ * ======================================================================== */
1031
+
1032
+
1033
+ +function ($) {
1034
+ 'use strict';
1035
+
1036
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
1037
+ // ============================================================
1038
+
1039
+ function transitionEnd() {
1040
+ var el = document.createElement('bootstrap')
1041
+
1042
+ var transEndEventNames = {
1043
+ WebkitTransition : 'webkitTransitionEnd',
1044
+ MozTransition : 'transitionend',
1045
+ OTransition : 'oTransitionEnd otransitionend',
1046
+ transition : 'transitionend'
1047
+ }
1048
+
1049
+ for (var name in transEndEventNames) {
1050
+ if (el.style[name] !== undefined) {
1051
+ return { end: transEndEventNames[name] }
1052
+ }
1053
+ }
1054
+
1055
+ return false // explicit for ie8 ( ._.)
1056
+ }
1057
+
1058
+ // http://blog.alexmaccaw.com/css-transitions
1059
+ $.fn.emulateTransitionEnd = function (duration) {
1060
+ var called = false
1061
+ var $el = this
1062
+ $(this).one('bsTransitionEnd', function () { called = true })
1063
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
1064
+ setTimeout(callback, duration)
1065
+ return this
1066
+ }
1067
+
1068
+ $(function () {
1069
+ $.support.transition = transitionEnd()
1070
+
1071
+ if (!$.support.transition) return
1072
+
1073
+ $.event.special.bsTransitionEnd = {
1074
+ bindType: $.support.transition.end,
1075
+ delegateType: $.support.transition.end,
1076
+ handle: function (e) {
1077
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
1078
+ }
1079
+ }
1080
+ })
1081
+
1082
+ }(jQuery);
1083
+
1084
+ /* ========================================================================
1085
+ * Bootstrap: scrollspy.js v3.2.0
1086
+ * http://getbootstrap.com/javascript/#scrollspy
1087
+ * ========================================================================
1088
+ * Copyright 2011-2014 Twitter, Inc.
1089
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1090
+ * ======================================================================== */
1091
+
1092
+
1093
+ +function ($) {
1094
+ 'use strict';
1095
+
1096
+ // SCROLLSPY CLASS DEFINITION
1097
+ // ==========================
1098
+
1099
+ function ScrollSpy(element, options) {
1100
+ var process = $.proxy(this.process, this)
1101
+
1102
+ this.$body = $('body')
1103
+ this.$scrollElement = $(element).is('body') ? $(window) : $(element)
1104
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1105
+ this.selector = (this.options.target || '') + ' .nav li > a'
1106
+ this.offsets = []
1107
+ this.targets = []
1108
+ this.activeTarget = null
1109
+ this.scrollHeight = 0
1110
+
1111
+ this.$scrollElement.on('scroll.bs.scrollspy', process)
1112
+ this.refresh()
1113
+ this.process()
1114
+ }
1115
+
1116
+ ScrollSpy.VERSION = '3.2.0'
1117
+
1118
+ ScrollSpy.DEFAULTS = {
1119
+ offset: 10
1120
+ }
1121
+
1122
+ ScrollSpy.prototype.getScrollHeight = function () {
1123
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1124
+ }
1125
+
1126
+ ScrollSpy.prototype.refresh = function () {
1127
+ var offsetMethod = 'offset'
1128
+ var offsetBase = 0
1129
+
1130
+ if (!$.isWindow(this.$scrollElement[0])) {
1131
+ offsetMethod = 'position'
1132
+ offsetBase = this.$scrollElement.scrollTop()
1133
+ }
1134
+
1135
+ this.offsets = []
1136
+ this.targets = []
1137
+ this.scrollHeight = this.getScrollHeight()
1138
+
1139
+ var self = this
1140
+
1141
+ this.$body
1142
+ .find(this.selector)
1143
+ .map(function () {
1144
+ var $el = $(this)
1145
+ var href = $el.data('target') || $el.attr('href')
1146
+ var $href = /^#./.test(href) && $(href)
1147
+
1148
+ return ($href
1149
+ && $href.length
1150
+ && $href.is(':visible')
1151
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1152
+ })
1153
+ .sort(function (a, b) { return a[0] - b[0] })
1154
+ .each(function () {
1155
+ self.offsets.push(this[0])
1156
+ self.targets.push(this[1])
1157
+ })
1158
+ }
1159
+
1160
+ ScrollSpy.prototype.process = function () {
1161
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1162
+ var scrollHeight = this.getScrollHeight()
1163
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1164
+ var offsets = this.offsets
1165
+ var targets = this.targets
1166
+ var activeTarget = this.activeTarget
1167
+ var i
1168
+
1169
+ if (this.scrollHeight != scrollHeight) {
1170
+ this.refresh()
1171
+ }
1172
+
1173
+ if (scrollTop >= maxScroll) {
1174
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1175
+ }
1176
+
1177
+ if (activeTarget && scrollTop <= offsets[0]) {
1178
+ return activeTarget != (i = targets[0]) && this.activate(i)
1179
+ }
1180
+
1181
+ for (i = offsets.length; i--;) {
1182
+ activeTarget != targets[i]
1183
+ && scrollTop >= offsets[i]
1184
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
1185
+ && this.activate(targets[i])
1186
+ }
1187
+ }
1188
+
1189
+ ScrollSpy.prototype.activate = function (target) {
1190
+ this.activeTarget = target
1191
+
1192
+ $(this.selector)
1193
+ .parentsUntil(this.options.target, '.active')
1194
+ .removeClass('active')
1195
+
1196
+ var selector = this.selector +
1197
+ '[data-target="' + target + '"],' +
1198
+ this.selector + '[href="' + target + '"]'
1199
+
1200
+ var active = $(selector)
1201
+ .parents('li')
1202
+ .addClass('active')
1203
+
1204
+ if (active.parent('.dropdown-menu').length) {
1205
+ active = active
1206
+ .closest('li.dropdown')
1207
+ .addClass('active')
1208
+ }
1209
+
1210
+ active.trigger('activate.bs.scrollspy')
1211
+ }
1212
+
1213
+
1214
+ // SCROLLSPY PLUGIN DEFINITION
1215
+ // ===========================
1216
+
1217
+ function Plugin(option) {
1218
+ return this.each(function () {
1219
+ var $this = $(this)
1220
+ var data = $this.data('bs.scrollspy')
1221
+ var options = typeof option == 'object' && option
1222
+
1223
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
1224
+ if (typeof option == 'string') data[option]()
1225
+ })
1226
+ }
1227
+
1228
+ var old = $.fn.scrollspy
1229
+
1230
+ $.fn.scrollspy = Plugin
1231
+ $.fn.scrollspy.Constructor = ScrollSpy
1232
+
1233
+
1234
+ // SCROLLSPY NO CONFLICT
1235
+ // =====================
1236
+
1237
+ $.fn.scrollspy.noConflict = function () {
1238
+ $.fn.scrollspy = old
1239
+ return this
1240
+ }
1241
+
1242
+
1243
+ // SCROLLSPY DATA-API
1244
+ // ==================
1245
+
1246
+ $(window).on('load.bs.scrollspy.data-api', function () {
1247
+ $('[data-spy="scroll"]').each(function () {
1248
+ var $spy = $(this)
1249
+ Plugin.call($spy, $spy.data())
1250
+ })
1251
+ })
1252
+
1253
+ }(jQuery);
1254
+
1255
+ /* ========================================================================
1256
+ * Bootstrap: modal.js v3.2.0
1257
+ * http://getbootstrap.com/javascript/#modals
1258
+ * ========================================================================
1259
+ * Copyright 2011-2014 Twitter, Inc.
1260
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1261
+ * ======================================================================== */
1262
+
1263
+
1264
+ +function ($) {
1265
+ 'use strict';
1266
+
1267
+ // MODAL CLASS DEFINITION
1268
+ // ======================
1269
+
1270
+ var Modal = function (element, options) {
1271
+ this.options = options
1272
+ this.$body = $(document.body)
1273
+ this.$element = $(element)
1274
+ this.$backdrop =
1275
+ this.isShown = null
1276
+ this.scrollbarWidth = 0
1277
+
1278
+ if (this.options.remote) {
1279
+ this.$element
1280
+ .find('.modal-content')
1281
+ .load(this.options.remote, $.proxy(function () {
1282
+ this.$element.trigger('loaded.bs.modal')
1283
+ }, this))
1284
+ }
1285
+ }
1286
+
1287
+ Modal.VERSION = '3.2.0'
1288
+
1289
+ Modal.DEFAULTS = {
1290
+ backdrop: true,
1291
+ keyboard: true,
1292
+ show: true
1293
+ }
1294
+
1295
+ Modal.prototype.toggle = function (_relatedTarget) {
1296
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
1297
+ }
1298
+
1299
+ Modal.prototype.show = function (_relatedTarget) {
1300
+ var that = this
1301
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
1302
+
1303
+ this.$element.trigger(e)
1304
+
1305
+ if (this.isShown || e.isDefaultPrevented()) return
1306
+
1307
+ this.isShown = true
1308
+
1309
+ this.checkScrollbar()
1310
+ this.$body.addClass('modal-open')
1311
+
1312
+ this.setScrollbar()
1313
+ this.escape()
1314
+
1315
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
1316
+
1317
+ this.backdrop(function () {
1318
+ var transition = $.support.transition && that.$element.hasClass('fade')
1319
+
1320
+ if (!that.$element.parent().length) {
1321
+ that.$element.appendTo(that.$body) // don't move modals dom position
1322
+ }
1323
+
1324
+ that.$element
1325
+ .show()
1326
+ .scrollTop(0)
1327
+
1328
+ if (transition) {
1329
+ that.$element[0].offsetWidth // force reflow
1330
+ }
1331
+
1332
+ that.$element
1333
+ .addClass('in')
1334
+ .attr('aria-hidden', false)
1335
+
1336
+ that.enforceFocus()
1337
+
1338
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
1339
+
1340
+ transition ?
1341
+ that.$element.find('.modal-dialog') // wait for modal to slide in
1342
+ .one('bsTransitionEnd', function () {
1343
+ that.$element.trigger('focus').trigger(e)
1344
+ })
1345
+ .emulateTransitionEnd(300) :
1346
+ that.$element.trigger('focus').trigger(e)
1347
+ })
1348
+ }
1349
+
1350
+ Modal.prototype.hide = function (e) {
1351
+ if (e) e.preventDefault()
1352
+
1353
+ e = $.Event('hide.bs.modal')
1354
+
1355
+ this.$element.trigger(e)
1356
+
1357
+ if (!this.isShown || e.isDefaultPrevented()) return
1358
+
1359
+ this.isShown = false
1360
+
1361
+ this.$body.removeClass('modal-open')
1362
+
1363
+ this.resetScrollbar()
1364
+ this.escape()
1365
+
1366
+ $(document).off('focusin.bs.modal')
1367
+
1368
+ this.$element
1369
+ .removeClass('in')
1370
+ .attr('aria-hidden', true)
1371
+ .off('click.dismiss.bs.modal')
1372
+
1373
+ $.support.transition && this.$element.hasClass('fade') ?
1374
+ this.$element
1375
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
1376
+ .emulateTransitionEnd(300) :
1377
+ this.hideModal()
1378
+ }
1379
+
1380
+ Modal.prototype.enforceFocus = function () {
1381
+ $(document)
1382
+ .off('focusin.bs.modal') // guard against infinite focus loop
1383
+ .on('focusin.bs.modal', $.proxy(function (e) {
1384
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1385
+ this.$element.trigger('focus')
1386
+ }
1387
+ }, this))
1388
+ }
1389
+
1390
+ Modal.prototype.escape = function () {
1391
+ if (this.isShown && this.options.keyboard) {
1392
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
1393
+ e.which == 27 && this.hide()
1394
+ }, this))
1395
+ } else if (!this.isShown) {
1396
+ this.$element.off('keyup.dismiss.bs.modal')
1397
+ }
1398
+ }
1399
+
1400
+ Modal.prototype.hideModal = function () {
1401
+ var that = this
1402
+ this.$element.hide()
1403
+ this.backdrop(function () {
1404
+ that.$element.trigger('hidden.bs.modal')
1405
+ })
1406
+ }
1407
+
1408
+ Modal.prototype.removeBackdrop = function () {
1409
+ this.$backdrop && this.$backdrop.remove()
1410
+ this.$backdrop = null
1411
+ }
1412
+
1413
+ Modal.prototype.backdrop = function (callback) {
1414
+ var that = this
1415
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
1416
+
1417
+ if (this.isShown && this.options.backdrop) {
1418
+ var doAnimate = $.support.transition && animate
1419
+
1420
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
1421
+ .appendTo(this.$body)
1422
+
1423
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1424
+ if (e.target !== e.currentTarget) return
1425
+ this.options.backdrop == 'static'
1426
+ ? this.$element[0].focus.call(this.$element[0])
1427
+ : this.hide.call(this)
1428
+ }, this))
1429
+
1430
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1431
+
1432
+ this.$backdrop.addClass('in')
1433
+
1434
+ if (!callback) return
1435
+
1436
+ doAnimate ?
1437
+ this.$backdrop
1438
+ .one('bsTransitionEnd', callback)
1439
+ .emulateTransitionEnd(150) :
1440
+ callback()
1441
+
1442
+ } else if (!this.isShown && this.$backdrop) {
1443
+ this.$backdrop.removeClass('in')
1444
+
1445
+ var callbackRemove = function () {
1446
+ that.removeBackdrop()
1447
+ callback && callback()
1448
+ }
1449
+ $.support.transition && this.$element.hasClass('fade') ?
1450
+ this.$backdrop
1451
+ .one('bsTransitionEnd', callbackRemove)
1452
+ .emulateTransitionEnd(150) :
1453
+ callbackRemove()
1454
+
1455
+ } else if (callback) {
1456
+ callback()
1457
+ }
1458
+ }
1459
+
1460
+ Modal.prototype.checkScrollbar = function () {
1461
+ if (document.body.clientWidth >= window.innerWidth) return
1462
+ this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
1463
+ }
1464
+
1465
+ Modal.prototype.setScrollbar = function () {
1466
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1467
+ if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1468
+ }
1469
+
1470
+ Modal.prototype.resetScrollbar = function () {
1471
+ this.$body.css('padding-right', '')
1472
+ }
1473
+
1474
+ Modal.prototype.measureScrollbar = function () { // thx walsh
1475
+ var scrollDiv = document.createElement('div')
1476
+ scrollDiv.className = 'modal-scrollbar-measure'
1477
+ this.$body.append(scrollDiv)
1478
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1479
+ this.$body[0].removeChild(scrollDiv)
1480
+ return scrollbarWidth
1481
+ }
1482
+
1483
+
1484
+ // MODAL PLUGIN DEFINITION
1485
+ // =======================
1486
+
1487
+ function Plugin(option, _relatedTarget) {
1488
+ return this.each(function () {
1489
+ var $this = $(this)
1490
+ var data = $this.data('bs.modal')
1491
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1492
+
1493
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1494
+ if (typeof option == 'string') data[option](_relatedTarget)
1495
+ else if (options.show) data.show(_relatedTarget)
1496
+ })
1497
+ }
1498
+
1499
+ var old = $.fn.modal
1500
+
1501
+ $.fn.modal = Plugin
1502
+ $.fn.modal.Constructor = Modal
1503
+
1504
+
1505
+ // MODAL NO CONFLICT
1506
+ // =================
1507
+
1508
+ $.fn.modal.noConflict = function () {
1509
+ $.fn.modal = old
1510
+ return this
1511
+ }
1512
+
1513
+
1514
+ // MODAL DATA-API
1515
+ // ==============
1516
+
1517
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1518
+ var $this = $(this)
1519
+ var href = $this.attr('href')
1520
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1521
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1522
+
1523
+ if ($this.is('a')) e.preventDefault()
1524
+
1525
+ $target.one('show.bs.modal', function (showEvent) {
1526
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1527
+ $target.one('hidden.bs.modal', function () {
1528
+ $this.is(':visible') && $this.trigger('focus')
1529
+ })
1530
+ })
1531
+ Plugin.call($target, option, this)
1532
+ })
1533
+
1534
+ }(jQuery);
1535
+
1536
+ /* ========================================================================
1537
+ * Bootstrap: tooltip.js v3.2.0
1538
+ * http://getbootstrap.com/javascript/#tooltip
1539
+ * Inspired by the original jQuery.tipsy by Jason Frame
1540
+ * ========================================================================
1541
+ * Copyright 2011-2014 Twitter, Inc.
1542
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1543
+ * ======================================================================== */
1544
+
1545
+
1546
+ +function ($) {
1547
+ 'use strict';
1548
+
1549
+ // TOOLTIP PUBLIC CLASS DEFINITION
1550
+ // ===============================
1551
+
1552
+ var Tooltip = function (element, options) {
1553
+ this.type =
1554
+ this.options =
1555
+ this.enabled =
1556
+ this.timeout =
1557
+ this.hoverState =
1558
+ this.$element = null
1559
+
1560
+ this.init('tooltip', element, options)
1561
+ }
1562
+
1563
+ Tooltip.VERSION = '3.2.0'
1564
+
1565
+ Tooltip.DEFAULTS = {
1566
+ animation: true,
1567
+ placement: 'top',
1568
+ selector: false,
1569
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1570
+ trigger: 'hover focus',
1571
+ title: '',
1572
+ delay: 0,
1573
+ html: false,
1574
+ container: false,
1575
+ viewport: {
1576
+ selector: 'body',
1577
+ padding: 0
1578
+ }
1579
+ }
1580
+
1581
+ Tooltip.prototype.init = function (type, element, options) {
1582
+ this.enabled = true
1583
+ this.type = type
1584
+ this.$element = $(element)
1585
+ this.options = this.getOptions(options)
1586
+ this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1587
+
1588
+ var triggers = this.options.trigger.split(' ')
1589
+
1590
+ for (var i = triggers.length; i--;) {
1591
+ var trigger = triggers[i]
1592
+
1593
+ if (trigger == 'click') {
1594
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1595
+ } else if (trigger != 'manual') {
1596
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1597
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1598
+
1599
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1600
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1601
+ }
1602
+ }
1603
+
1604
+ this.options.selector ?
1605
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1606
+ this.fixTitle()
1607
+ }
1608
+
1609
+ Tooltip.prototype.getDefaults = function () {
1610
+ return Tooltip.DEFAULTS
1611
+ }
1612
+
1613
+ Tooltip.prototype.getOptions = function (options) {
1614
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1615
+
1616
+ if (options.delay && typeof options.delay == 'number') {
1617
+ options.delay = {
1618
+ show: options.delay,
1619
+ hide: options.delay
1620
+ }
1621
+ }
1622
+
1623
+ return options
1624
+ }
1625
+
1626
+ Tooltip.prototype.getDelegateOptions = function () {
1627
+ var options = {}
1628
+ var defaults = this.getDefaults()
1629
+
1630
+ this._options && $.each(this._options, function (key, value) {
1631
+ if (defaults[key] != value) options[key] = value
1632
+ })
1633
+
1634
+ return options
1635
+ }
1636
+
1637
+ Tooltip.prototype.enter = function (obj) {
1638
+ var self = obj instanceof this.constructor ?
1639
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1640
+
1641
+ if (!self) {
1642
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1643
+ $(obj.currentTarget).data('bs.' + this.type, self)
1644
+ }
1645
+
1646
+ clearTimeout(self.timeout)
1647
+
1648
+ self.hoverState = 'in'
1649
+
1650
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1651
+
1652
+ self.timeout = setTimeout(function () {
1653
+ if (self.hoverState == 'in') self.show()
1654
+ }, self.options.delay.show)
1655
+ }
1656
+
1657
+ Tooltip.prototype.leave = function (obj) {
1658
+ var self = obj instanceof this.constructor ?
1659
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1660
+
1661
+ if (!self) {
1662
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1663
+ $(obj.currentTarget).data('bs.' + this.type, self)
1664
+ }
1665
+
1666
+ clearTimeout(self.timeout)
1667
+
1668
+ self.hoverState = 'out'
1669
+
1670
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1671
+
1672
+ self.timeout = setTimeout(function () {
1673
+ if (self.hoverState == 'out') self.hide()
1674
+ }, self.options.delay.hide)
1675
+ }
1676
+
1677
+ Tooltip.prototype.show = function () {
1678
+ var e = $.Event('show.bs.' + this.type)
1679
+
1680
+ if (this.hasContent() && this.enabled) {
1681
+ this.$element.trigger(e)
1682
+
1683
+ var inDom = $.contains(document.documentElement, this.$element[0])
1684
+ if (e.isDefaultPrevented() || !inDom) return
1685
+ var that = this
1686
+
1687
+ var $tip = this.tip()
1688
+
1689
+ var tipId = this.getUID(this.type)
1690
+
1691
+ this.setContent()
1692
+ $tip.attr('id', tipId)
1693
+ this.$element.attr('aria-describedby', tipId)
1694
+
1695
+ if (this.options.animation) $tip.addClass('fade')
1696
+
1697
+ var placement = typeof this.options.placement == 'function' ?
1698
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1699
+ this.options.placement
1700
+
1701
+ var autoToken = /\s?auto?\s?/i
1702
+ var autoPlace = autoToken.test(placement)
1703
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1704
+
1705
+ $tip
1706
+ .detach()
1707
+ .css({ top: 0, left: 0, display: 'block' })
1708
+ .addClass(placement)
1709
+ .data('bs.' + this.type, this)
1710
+
1711
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1712
+
1713
+ var pos = this.getPosition()
1714
+ var actualWidth = $tip[0].offsetWidth
1715
+ var actualHeight = $tip[0].offsetHeight
1716
+
1717
+ if (autoPlace) {
1718
+ var orgPlacement = placement
1719
+ var $parent = this.$element.parent()
1720
+ var parentDim = this.getPosition($parent)
1721
+
1722
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - parentDim.scroll > parentDim.height ? 'top' :
1723
+ placement == 'top' && pos.top - parentDim.scroll - actualHeight < 0 ? 'bottom' :
1724
+ placement == 'right' && pos.right + actualWidth > parentDim.width ? 'left' :
1725
+ placement == 'left' && pos.left - actualWidth < parentDim.left ? 'right' :
1726
+ placement
1727
+
1728
+ $tip
1729
+ .removeClass(orgPlacement)
1730
+ .addClass(placement)
1731
+ }
1732
+
1733
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1734
+
1735
+ this.applyPlacement(calculatedOffset, placement)
1736
+
1737
+ var complete = function () {
1738
+ that.$element.trigger('shown.bs.' + that.type)
1739
+ that.hoverState = null
1740
+ }
1741
+
1742
+ $.support.transition && this.$tip.hasClass('fade') ?
1743
+ $tip
1744
+ .one('bsTransitionEnd', complete)
1745
+ .emulateTransitionEnd(150) :
1746
+ complete()
1747
+ }
1748
+ }
1749
+
1750
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
1751
+ var $tip = this.tip()
1752
+ var width = $tip[0].offsetWidth
1753
+ var height = $tip[0].offsetHeight
1754
+
1755
+ // manually read margins because getBoundingClientRect includes difference
1756
+ var marginTop = parseInt($tip.css('margin-top'), 10)
1757
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
1758
+
1759
+ // we must check for NaN for ie 8/9
1760
+ if (isNaN(marginTop)) marginTop = 0
1761
+ if (isNaN(marginLeft)) marginLeft = 0
1762
+
1763
+ offset.top = offset.top + marginTop
1764
+ offset.left = offset.left + marginLeft
1765
+
1766
+ // $.fn.offset doesn't round pixel values
1767
+ // so we use setOffset directly with our own function B-0
1768
+ $.offset.setOffset($tip[0], $.extend({
1769
+ using: function (props) {
1770
+ $tip.css({
1771
+ top: Math.round(props.top),
1772
+ left: Math.round(props.left)
1773
+ })
1774
+ }
1775
+ }, offset), 0)
1776
+
1777
+ $tip.addClass('in')
1778
+
1779
+ // check to see if placing tip in new offset caused the tip to resize itself
1780
+ var actualWidth = $tip[0].offsetWidth
1781
+ var actualHeight = $tip[0].offsetHeight
1782
+
1783
+ if (placement == 'top' && actualHeight != height) {
1784
+ offset.top = offset.top + height - actualHeight
1785
+ }
1786
+
1787
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1788
+
1789
+ if (delta.left) offset.left += delta.left
1790
+ else offset.top += delta.top
1791
+
1792
+ var arrowDelta = delta.left ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1793
+ var arrowPosition = delta.left ? 'left' : 'top'
1794
+ var arrowOffsetPosition = delta.left ? 'offsetWidth' : 'offsetHeight'
1795
+
1796
+ $tip.offset(offset)
1797
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], arrowPosition)
1798
+ }
1799
+
1800
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
1801
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
1802
+ }
1803
+
1804
+ Tooltip.prototype.setContent = function () {
1805
+ var $tip = this.tip()
1806
+ var title = this.getTitle()
1807
+
1808
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1809
+ $tip.removeClass('fade in top bottom left right')
1810
+ }
1811
+
1812
+ Tooltip.prototype.hide = function () {
1813
+ var that = this
1814
+ var $tip = this.tip()
1815
+ var e = $.Event('hide.bs.' + this.type)
1816
+
1817
+ this.$element.removeAttr('aria-describedby')
1818
+
1819
+ function complete() {
1820
+ if (that.hoverState != 'in') $tip.detach()
1821
+ that.$element.trigger('hidden.bs.' + that.type)
1822
+ }
1823
+
1824
+ this.$element.trigger(e)
1825
+
1826
+ if (e.isDefaultPrevented()) return
1827
+
1828
+ $tip.removeClass('in')
1829
+
1830
+ $.support.transition && this.$tip.hasClass('fade') ?
1831
+ $tip
1832
+ .one('bsTransitionEnd', complete)
1833
+ .emulateTransitionEnd(150) :
1834
+ complete()
1835
+
1836
+ this.hoverState = null
1837
+
1838
+ return this
1839
+ }
1840
+
1841
+ Tooltip.prototype.fixTitle = function () {
1842
+ var $e = this.$element
1843
+ if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
1844
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1845
+ }
1846
+ }
1847
+
1848
+ Tooltip.prototype.hasContent = function () {
1849
+ return this.getTitle()
1850
+ }
1851
+
1852
+ Tooltip.prototype.getPosition = function ($element) {
1853
+ $element = $element || this.$element
1854
+ var el = $element[0]
1855
+ var isBody = el.tagName == 'BODY'
1856
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : null, {
1857
+ scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop(),
1858
+ width: isBody ? $(window).width() : $element.outerWidth(),
1859
+ height: isBody ? $(window).height() : $element.outerHeight()
1860
+ }, isBody ? { top: 0, left: 0 } : $element.offset())
1861
+ }
1862
+
1863
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1864
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1865
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1866
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1867
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1868
+
1869
+ }
1870
+
1871
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1872
+ var delta = { top: 0, left: 0 }
1873
+ if (!this.$viewport) return delta
1874
+
1875
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1876
+ var viewportDimensions = this.getPosition(this.$viewport)
1877
+
1878
+ if (/right|left/.test(placement)) {
1879
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1880
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1881
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
1882
+ delta.top = viewportDimensions.top - topEdgeOffset
1883
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1884
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1885
+ }
1886
+ } else {
1887
+ var leftEdgeOffset = pos.left - viewportPadding
1888
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1889
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1890
+ delta.left = viewportDimensions.left - leftEdgeOffset
1891
+ } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
1892
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1893
+ }
1894
+ }
1895
+
1896
+ return delta
1897
+ }
1898
+
1899
+ Tooltip.prototype.getTitle = function () {
1900
+ var title
1901
+ var $e = this.$element
1902
+ var o = this.options
1903
+
1904
+ title = $e.attr('data-original-title')
1905
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1906
+
1907
+ return title
1908
+ }
1909
+
1910
+ Tooltip.prototype.getUID = function (prefix) {
1911
+ do prefix += ~~(Math.random() * 1000000)
1912
+ while (document.getElementById(prefix))
1913
+ return prefix
1914
+ }
1915
+
1916
+ Tooltip.prototype.tip = function () {
1917
+ return (this.$tip = this.$tip || $(this.options.template))
1918
+ }
1919
+
1920
+ Tooltip.prototype.arrow = function () {
1921
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1922
+ }
1923
+
1924
+ Tooltip.prototype.validate = function () {
1925
+ if (!this.$element[0].parentNode) {
1926
+ this.hide()
1927
+ this.$element = null
1928
+ this.options = null
1929
+ }
1930
+ }
1931
+
1932
+ Tooltip.prototype.enable = function () {
1933
+ this.enabled = true
1934
+ }
1935
+
1936
+ Tooltip.prototype.disable = function () {
1937
+ this.enabled = false
1938
+ }
1939
+
1940
+ Tooltip.prototype.toggleEnabled = function () {
1941
+ this.enabled = !this.enabled
1942
+ }
1943
+
1944
+ Tooltip.prototype.toggle = function (e) {
1945
+ var self = this
1946
+ if (e) {
1947
+ self = $(e.currentTarget).data('bs.' + this.type)
1948
+ if (!self) {
1949
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1950
+ $(e.currentTarget).data('bs.' + this.type, self)
1951
+ }
1952
+ }
1953
+
1954
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1955
+ }
1956
+
1957
+ Tooltip.prototype.destroy = function () {
1958
+ clearTimeout(this.timeout)
1959
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
1960
+ }
1961
+
1962
+
1963
+ // TOOLTIP PLUGIN DEFINITION
1964
+ // =========================
1965
+
1966
+ function Plugin(option) {
1967
+ return this.each(function () {
1968
+ var $this = $(this)
1969
+ var data = $this.data('bs.tooltip')
1970
+ var options = typeof option == 'object' && option
1971
+
1972
+ if (!data && option == 'destroy') return
1973
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1974
+ if (typeof option == 'string') data[option]()
1975
+ })
1976
+ }
1977
+
1978
+ var old = $.fn.tooltip
1979
+
1980
+ $.fn.tooltip = Plugin
1981
+ $.fn.tooltip.Constructor = Tooltip
1982
+
1983
+
1984
+ // TOOLTIP NO CONFLICT
1985
+ // ===================
1986
+
1987
+ $.fn.tooltip.noConflict = function () {
1988
+ $.fn.tooltip = old
1989
+ return this
1990
+ }
1991
+
1992
+ }(jQuery);
1993
+
1994
+ /* ========================================================================
1995
+ * Bootstrap: popover.js v3.2.0
1996
+ * http://getbootstrap.com/javascript/#popovers
1997
+ * ========================================================================
1998
+ * Copyright 2011-2014 Twitter, Inc.
1999
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2000
+ * ======================================================================== */
2001
+
2002
+
2003
+ +function ($) {
2004
+ 'use strict';
2005
+
2006
+ // POPOVER PUBLIC CLASS DEFINITION
2007
+ // ===============================
2008
+
2009
+ var Popover = function (element, options) {
2010
+ this.init('popover', element, options)
2011
+ }
2012
+
2013
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
2014
+
2015
+ Popover.VERSION = '3.2.0'
2016
+
2017
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
2018
+ placement: 'right',
2019
+ trigger: 'click',
2020
+ content: '',
2021
+ template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
2022
+ })
2023
+
2024
+
2025
+ // NOTE: POPOVER EXTENDS tooltip.js
2026
+ // ================================
2027
+
2028
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
2029
+
2030
+ Popover.prototype.constructor = Popover
2031
+
2032
+ Popover.prototype.getDefaults = function () {
2033
+ return Popover.DEFAULTS
2034
+ }
2035
+
2036
+ Popover.prototype.setContent = function () {
2037
+ var $tip = this.tip()
2038
+ var title = this.getTitle()
2039
+ var content = this.getContent()
2040
+
2041
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
2042
+ $tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
2043
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
2044
+ ](content)
2045
+
2046
+ $tip.removeClass('fade top bottom left right in')
2047
+
2048
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
2049
+ // this manually by checking the contents.
2050
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
2051
+ }
2052
+
2053
+ Popover.prototype.hasContent = function () {
2054
+ return this.getTitle() || this.getContent()
2055
+ }
2056
+
2057
+ Popover.prototype.getContent = function () {
2058
+ var $e = this.$element
2059
+ var o = this.options
2060
+
2061
+ return $e.attr('data-content')
2062
+ || (typeof o.content == 'function' ?
2063
+ o.content.call($e[0]) :
2064
+ o.content)
2065
+ }
2066
+
2067
+ Popover.prototype.arrow = function () {
2068
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
2069
+ }
2070
+
2071
+ Popover.prototype.tip = function () {
2072
+ if (!this.$tip) this.$tip = $(this.options.template)
2073
+ return this.$tip
2074
+ }
2075
+
2076
+
2077
+ // POPOVER PLUGIN DEFINITION
2078
+ // =========================
2079
+
2080
+ function Plugin(option) {
2081
+ return this.each(function () {
2082
+ var $this = $(this)
2083
+ var data = $this.data('bs.popover')
2084
+ var options = typeof option == 'object' && option
2085
+
2086
+ if (!data && option == 'destroy') return
2087
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
2088
+ if (typeof option == 'string') data[option]()
2089
+ })
2090
+ }
2091
+
2092
+ var old = $.fn.popover
2093
+
2094
+ $.fn.popover = Plugin
2095
+ $.fn.popover.Constructor = Popover
2096
+
2097
+
2098
+ // POPOVER NO CONFLICT
2099
+ // ===================
2100
+
2101
+ $.fn.popover.noConflict = function () {
2102
+ $.fn.popover = old
2103
+ return this
2104
+ }
2105
+
2106
+ }(jQuery);
2107
+
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/checkanswer.js ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Do this first so that layout shift isn't too bad:
2
+ const container = document.createElement("div");
3
+ container.style = `
4
+ font-size: 16px;
5
+ font-size: clamp(16px, 2.4vw, 21px);
6
+ height: 2.5em;
7
+ `;
8
+ document.body.prepend(container);
9
+
10
+ import { React, html, css, render } from "./package.js";
11
+
12
+ /**
13
+ * Remove non-alphanumeric characters.
14
+ */
15
+ const normalizeAnswer = (answer) => {
16
+ if (getYear() === 2003) {
17
+ if (document.URL.includes("teamGuest/2")) {
18
+ // Special case: 2003 R2, whose answers are emoji.
19
+ return answer.trim();
20
+ } else if (document.URL.includes("6_3")) {
21
+ // Special case: Answer is literal Greek letter.
22
+ return answer.trim();
23
+ }
24
+ }
25
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
26
+ };
27
+
28
+ /**
29
+ * Returns the year of the hunt we're in.
30
+ */
31
+ const getYear = () => {
32
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
33
+ };
34
+
35
+ /**
36
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
37
+ */
38
+ const getData = async () => {
39
+ const res = await fetch("/answers.tsv");
40
+ const data = await res.text();
41
+ const [header, ...body] = data.split("\n");
42
+ const headers = header.trim().split("\t");
43
+ return body.map((row) => {
44
+ const res = {};
45
+ row.split("\t").forEach((item, i) => {
46
+ res[headers[i]] = item.trim();
47
+ });
48
+ return res;
49
+ });
50
+ };
51
+
52
+ /**
53
+ * Gets the base URL; removes trailing index.html and .html, removes everything
54
+ * before the year, and then removes trailing slash.
55
+ */
56
+ const getBase = (url) => {
57
+ const root =
58
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
59
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
60
+ url;
61
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
62
+ return base.endsWith("/") ? base.slice(0, -1) : base;
63
+ };
64
+
65
+ /**
66
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
67
+ */
68
+ const getAnswers = (data, url) => {
69
+ const base = getBase(url);
70
+ const rows = data.filter((row) => getBase(row.url) === base);
71
+ const prompts = [];
72
+ for (const row of rows) {
73
+ const { prompt } = row;
74
+ const group = prompts.find((group) => group.prompt === prompt);
75
+ if (group) {
76
+ group.rows.push(row);
77
+ } else {
78
+ prompts.push({ prompt, rows: [row] });
79
+ }
80
+ }
81
+ return prompts;
82
+ };
83
+
84
+ /**
85
+ * A single textbox and submit button in the rows of possible responses.
86
+ */
87
+ const ResponseRow = ({ prompt, rows, setFeedback }) => {
88
+ const [response, setResponse] = React.useState("");
89
+
90
+ const form = css`
91
+ align-items: baseline;
92
+ display: flex;
93
+ justify-content: right;
94
+ margin-bottom: 0.5em;
95
+
96
+ @media (max-width: 600px) {
97
+ align-items: flex-start;
98
+ flex-direction: column;
99
+ }
100
+ `;
101
+
102
+ const input = css`
103
+ background: #fafafa;
104
+ border: 1px solid #aaa;
105
+ border-radius: 2px;
106
+ color: #121212;
107
+ font-family: inherit;
108
+ font-size: 100%;
109
+ line-height: 1.2;
110
+ margin: 0 0.5em;
111
+ padding: 0.25em 0.5em;
112
+
113
+ @media (max-width: 600px) {
114
+ margin: 0 0 0.25em;
115
+ }
116
+ `;
117
+
118
+ const onSubmit = (e) => {
119
+ e.preventDefault();
120
+ let set = false;
121
+ for (const row of rows) {
122
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
123
+ if (correct) {
124
+ setFeedback(
125
+ row.intermediate?.trim() === "TRUE"
126
+ ? "Correct! See the solution page for the answer."
127
+ : `Solved! The answer was ${row.answer}.`
128
+ );
129
+ set = true;
130
+ break;
131
+ }
132
+ }
133
+ if (!set) {
134
+ setFeedback("Incorrect.");
135
+ }
136
+ };
137
+
138
+ const onChange = (e) => setResponse(e.target.value);
139
+
140
+ return html`
141
+ <form class=${form} onSubmit=${onSubmit}>
142
+ <label htmlFor=${prompt + " prompt"}>
143
+ ${prompt || "Enter your guess"}:
144
+ </label>
145
+ <input
146
+ class=${input}
147
+ id=${prompt + " prompt"}
148
+ onChange=${onChange}
149
+ required
150
+ type="text"
151
+ value=${response}
152
+ />
153
+ <button type="submit">Submit</button>
154
+ </form>
155
+ `;
156
+ };
157
+
158
+ /**
159
+ * Check answer button, rendered at top of page.
160
+ */
161
+ const CheckButton = ({ prompts }) => {
162
+ const [open, setOpen] = React.useState(false);
163
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
164
+
165
+ const wrapper = css`
166
+ font-family: "PT Sans", sans-serif;
167
+ font-size: 16px;
168
+ font-size: clamp(16px, 2.4vw, 21px);
169
+ height: 2.5em;
170
+
171
+ button {
172
+ background: #555;
173
+ border: none;
174
+ border-radius: 2px;
175
+ color: #fff;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ font-size: 1em;
179
+ font-family: "PT Sans", sans-serif;
180
+ font-weight: bold;
181
+ line-height: 1.2;
182
+ padding: 0.25em 1em;
183
+ text-align: center;
184
+ text-decoration: none;
185
+ text-transform: none;
186
+ }
187
+
188
+ p {
189
+ margin: 0 0 1em;
190
+ }
191
+
192
+ a {
193
+ color: inherit !important;
194
+ }
195
+ `;
196
+
197
+ const btnTop = [2015, 2016].includes(getYear())
198
+ ? "50px"
199
+ : [2012].includes(getYear())
200
+ ? "-2.5em"
201
+ : "0px";
202
+
203
+ const button = css`
204
+ box-sizing: border-box;
205
+ height: 2.5em;
206
+ left: 0;
207
+ position: absolute;
208
+ top: ${btnTop};
209
+ width: 100%;
210
+ z-index: 9999;
211
+ `;
212
+
213
+ const dropdownWrapper = css`
214
+ background: #edeff0;
215
+ color: #121212;
216
+ left: 0;
217
+ position: absolute;
218
+ right: 0;
219
+ top: calc(2.5em + ${btnTop});
220
+ z-index: 9999;
221
+ `;
222
+
223
+ const dropdown = css`
224
+ margin: 0 auto;
225
+ max-width: 40em;
226
+ padding: 1em;
227
+ z-index: 9999;
228
+ `;
229
+
230
+ const responses = css`
231
+ margin: 0 auto;
232
+ width: fit-content;
233
+
234
+ @media (max-width: 600px) {
235
+ width: auto;
236
+ }
237
+ `;
238
+
239
+ const onClick = () => setOpen(!open);
240
+
241
+ const body =
242
+ prompts.length > 0
243
+ ? prompts.map(
244
+ (group) =>
245
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
246
+ )
247
+ : html`<p>
248
+ No answers found on this page. Please report this to${" "}
249
+ <a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
250
+ </p>`;
251
+
252
+ return html`
253
+ <style>
254
+ @import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
255
+
256
+ ${[2015, 2016].includes(getYear()) &&
257
+ ".navbar-fixed-top { z-index: 10000 }"}
258
+ ${[2012].includes(getYear()) &&
259
+ "body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
260
+ ${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
261
+ </style>
262
+ <div class=${wrapper}>
263
+ <button class=${button} onClick=${onClick}>
264
+ Check your answers spoiler-free
265
+ </button>
266
+ ${open &&
267
+ html`
268
+ <div class=${dropdownWrapper}>
269
+ <div class=${dropdown}>
270
+ <p>${feedback}</p>
271
+ <div class=${responses}>${body}</div>
272
+ </div>
273
+ </div>
274
+ `}
275
+ </div>
276
+ `;
277
+ };
278
+
279
+ const data = await getData();
280
+ const prompts = getAnswers(data, document.URL);
281
+ render(html`<${CheckButton} prompts=${prompts} />`, container);
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/completelog.html ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Full Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Full Log</h2></div>
71
+ </div>
72
+
73
+ <div class="form-container nav-related-container">
74
+
75
+ </div>
76
+
77
+
78
+
79
+
80
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
81
+
82
+
83
+ </body>
84
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/coral_reef.css ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ /* line 3, ../../sass/coral_reef.scss */
2
+ body {
3
+ background: url("../images/hunt/ocean_coral.png") repeat-y calc(50% - 700px) 500px, -webkit-gradient(linear, to bottom, to top, color-stop(0%, #5ec4d6), color-stop(100%, #36abb5)) repeat-x;
4
+ background: url("../images/hunt/ocean_coral.png") repeat-y calc(50% - 700px) 500px, -webkit-linear-gradient(to bottom, #5ec4d6, #36abb5) repeat-x;
5
+ background: url("../images/hunt/ocean_coral.png") repeat-y calc(50% - 700px) 500px, -moz-linear-gradient(to bottom, #5ec4d6, #36abb5) repeat-x;
6
+ background: url("../images/hunt/ocean_coral.png") repeat-y calc(50% - 700px) 500px, -o-linear-gradient(to bottom, #5ec4d6, #36abb5) repeat-x;
7
+ background: url("../images/hunt/ocean_coral.png") repeat-y calc(50% - 700px) 500px, linear-gradient(to bottom, #5ec4d6, #36abb5) repeat-x;
8
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/eventschedule.html ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Event Schedule &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Schedule of Events</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="eventexplain">
74
+ We know how tough it is to be an intrepid explorer, researching complex technology and navigating uncharted waters. Come take a break and refresh your mind. Events are a chance to complete fun and interesting challenges with people from other teams; additionally, taking a step back from all your hard work might give you a new insight on something that was puzzling you! (i.e. completing event challenges will earn you points to spend on questions for the Oracle)
75
+ </div>
76
+
77
+ <h3 class="eventtitle"><a href="/2015/puzzle/write_it_build_it">Write-it Build-it</a></h3>
78
+ Time: <b>Friday at 6:17pm</b><br/>
79
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
80
+ <div class="eventdesc">
81
+ Prove your skill at building contraptions in the workshop. Bring two people with good spatial intuition and a knack for writing and following precise directions.
82
+ </div>
83
+
84
+ <h3 class="eventtitle"><a href="/2015/puzzle/blub_blub_pub_trivia">Blub Blub Pub Trivia</a></h3>
85
+ Time: <b>Friday at 11:17pm</b><br />
86
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
87
+ <div class="eventdesc">
88
+ Arr, mateys! It's trivia night at the pub! Bring up to two teammates who like trivia, beverage pong, and having a good time.
89
+ </div>
90
+
91
+ <h3 class="eventtitle"><a href="/2015/puzzle/steamteam">Steamteam</a></h3>
92
+ Time: <b>Saturday at 10:17am</b><br />
93
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
94
+ <div class="eventdesc">
95
+ It's time for submarine operator training! Bring a handful of people who like technobabble, random shouting, and teamwork. (You and your teammates will take turns playing while the others observe. Up to five people is reasonable.)
96
+ </div>
97
+
98
+ <h3 class="eventtitle"><a href="/2015/puzzle/sunken_treasure">Sunken Treasure</a></h3>
99
+ Time: <b>Saturday at 1:17pm</b><br />
100
+ Location: <b><a href=https://whereis.mit.edu/?go=W35>Z-Center</a>, second-floor entrance to pool gallery</b><br/>
101
+ <div class="eventdesc">
102
+ Rescue sunken treasure and bring it back to your team! Bring two people: one strong swimmer (with swimsuit, towel, and non-optional goggles), and one dextrous dry-land teammate. Non-students will need to sign a waiver at the Z-center desk on the second floor entrance to the pool gallery.
103
+ </div>
104
+ <h3 class="eventtitle"><a href="/2015/puzzle/charybdis_charades">Charybdis Charades</a></h3>
105
+ Time: <b>Saturday at 4:17pm</b><br/>
106
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b>
107
+ <div class="eventdesc">
108
+ The sea monster Charybdis is hungry! Bring up to two people who enjoy communicating silently so you can stealthily work together to figure out what you need to feed her.
109
+ </div>
110
+ <br/>
111
+ <br/>
112
+ <h3 class="eventtitle">Study Breaks</h3>
113
+ <div>Additionally, we will have to study breaks, to take a break and eat food. These will be on the third floor of the student center.</div>
114
+ <p>
115
+ <h4>Battlecode Study Break</h4>
116
+ Time: <b>Saturday at 9:17pm</b><br/>
117
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
118
+ There will be desserts of various types.
119
+ </p>
120
+ <p>
121
+ <h4>HRT Study Break</h4>
122
+ Time:<b>Sunday at 1:17 pm</b><br/>
123
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
124
+ There will be pizza.
125
+ </p>
126
+
127
+ </div>
128
+
129
+
130
+
131
+
132
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
133
+
134
+
135
+ </body>
136
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/faq.html ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>FAQ &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>FAQ</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p>
74
+ Q: Can we break the physical puzzles?<br/>
75
+ A: Generally yes. Please don't do anything unsafe — in particular, it you see something papery, you may not want to heat it. Contact us if you think you're being instructed to do anything unsafe.
76
+ </p>
77
+ <p>
78
+ Q: Can we use Google?<br/>
79
+ A: Definitely.
80
+ </p>
81
+ <p>
82
+ Q: Can we try to use metadata in the puzzle files or the source code of the puzzle to get extra information?<br/>
83
+ A: Yep.
84
+ </p>
85
+ <p>
86
+ Q: Can we try to hack the hunt site to get extra info?<br/>
87
+ A: Please don't :(
88
+ </p>
89
+ <p>
90
+ Q: Can we ask other teams for help on a puzzle? <br/>
91
+ A: Please don't. If you're not having fun, please let us know and we will help!
92
+ </p>
93
+ <p>
94
+ Q: Can we have a hint?<br/>
95
+ A: Click "Ask the Oracle" on the top right to ask yes / no questions. If you need more help, please contact us.
96
+ </p>
97
+ <p>
98
+ Q: How long will Sealab be open?<br/>
99
+ A: Until 6pm on Sunday.
100
+ </p>
101
+ <p>
102
+ Q: How do I contact Sealab?<br/>
103
+ A: Use the Contact Sealab form on the website, please. If that is absolutely not working, email us at puzzle@mit.edu, or call us at (617) 324-8310.
104
+ </p>
105
+ <p>
106
+ Q: Help! We don't know where to start!<br/>
107
+ A: That's not a question, but I'll let it slide. You should check out the helpful resources on <a href="https://www.mit.edu/~puzzle/resources.html">this page</a>. <a href="http://www.mit.edu/~puzzle/resources/haveyoutried.pdf">ACME's "Have You Tried?" list</a> may be particularly helpful.</p>
108
+ <p>
109
+ <br/>
110
+ <p>
111
+ More questions? Contact Sealab.
112
+ </p>
113
+ </div>
114
+
115
+
116
+
117
+
118
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
119
+
120
+
121
+ </body>
122
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/hashi_it_out ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Hashi It Out &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/ocean.css" />
18
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015//static/stylesheets/coral_reef.css" />
19
+
20
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
21
+ </head>
22
+
23
+ <body>
24
+
25
+
26
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
27
+ <div class="container-fluid">
28
+ <!-- Brand and toggle get grouped for better mobile display -->
29
+ <div class="navbar-header">
30
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
31
+ <span class="sr-only">Toggle navigation</span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
37
+ </div>
38
+
39
+ <!-- Collect the nav links, forms, and other content for toggling -->
40
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
41
+ <ul class="nav navbar-nav">
42
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
47
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
48
+
49
+ <li></li>
50
+
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
55
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
56
+ </ul>
57
+ </li>
58
+ </ul>
59
+ <ul class="nav navbar-nav navbar-right">
60
+
61
+
62
+
63
+ <li></li>
64
+
65
+
66
+
67
+
68
+ </ul>
69
+ </div><!-- /.navbar-collapse -->
70
+ </div>
71
+ </nav>
72
+
73
+
74
+ <div id="artstuff">
75
+ <div id="oceandecor">
76
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/294.png"></img></div>
77
+ <div id="infowindow">Location: Coral Reef <br />Depth: 60</div>
78
+ <div id="leftdecor"></div>
79
+ <div id="rightdecor"></div>
80
+ </div>
81
+ </div>
82
+ <div id="paper">
83
+
84
+
85
+
86
+
87
+ <div class="puzzle-page-header">
88
+
89
+ <div class="sol"><a href="solution/">View Solution</a></div>
90
+
91
+ <h1>Hashi It Out</h1>
92
+
93
+
94
+ <p class="answer" id="answer_294"> Answer: click here to reveal</p>
95
+
96
+
97
+ </div>
98
+ <div class='puzzle'>
99
+ <!-- Puzzle content begins here -->
100
+ <center>
101
+ <table>
102
+ <tr>
103
+ <td>
104
+ <img src="images/puzzle.png">
105
+ </td>
106
+ <td style="font-size: 34px; padding-left: 30px" class="puzzle-sans">
107
+ CUSPS<br/>
108
+ DELVE<br/>
109
+ DISKS<br/>
110
+ IMPLY<br/>
111
+ MORON<br/>
112
+ OLDEN<br/>
113
+ ORBIT<br/>
114
+ RADAR<br/>
115
+ ROTOR<br/>
116
+ SENSE<br/>
117
+ SMASH<br/>
118
+ UNIFY<br/>
119
+ WALTZ
120
+ </td>
121
+ </tr>
122
+ </table>
123
+ </center>
124
+
125
+ <!-- Puzzle content ends here -->
126
+ </div>
127
+ </div>
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
135
+
136
+ <script type="text/javascript">
137
+ $(document).ready(function(e) { $('#answer_294').click(function(e) { $('#answer_294').text("Answer: " + "ROSES");});});
138
+ </script>
139
+
140
+
141
+ </body><script type="module" src="/checkanswer.js"></script>
142
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/index.html ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Hashi It Out &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/ocean.css" />
18
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015//static/stylesheets/coral_reef.css" />
19
+
20
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
21
+ </head>
22
+
23
+ <body>
24
+
25
+
26
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
27
+ <div class="container-fluid">
28
+ <!-- Brand and toggle get grouped for better mobile display -->
29
+ <div class="navbar-header">
30
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
31
+ <span class="sr-only">Toggle navigation</span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
37
+ </div>
38
+
39
+ <!-- Collect the nav links, forms, and other content for toggling -->
40
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
41
+ <ul class="nav navbar-nav">
42
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
47
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
48
+
49
+ <li></li>
50
+
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
55
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
56
+ </ul>
57
+ </li>
58
+ </ul>
59
+ <ul class="nav navbar-nav navbar-right">
60
+
61
+
62
+
63
+ <li></li>
64
+
65
+
66
+
67
+
68
+ </ul>
69
+ </div><!-- /.navbar-collapse -->
70
+ </div>
71
+ </nav>
72
+
73
+
74
+ <div id="artstuff">
75
+ <div id="oceandecor">
76
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/294.png"></img></div>
77
+ <div id="infowindow">Location: Coral Reef <br />Depth: 60</div>
78
+ <div id="leftdecor"></div>
79
+ <div id="rightdecor"></div>
80
+ </div>
81
+ </div>
82
+ <div id="paper">
83
+
84
+
85
+
86
+
87
+ <div class="puzzle-page-header">
88
+
89
+ <div class="sol"><a href="solution/">View Solution</a></div>
90
+
91
+ <h1>Hashi It Out</h1>
92
+
93
+
94
+ <p class="answer" id="answer_294"> Answer: click here to reveal</p>
95
+
96
+
97
+ </div>
98
+ <div class='puzzle'>
99
+ <!-- Puzzle content begins here -->
100
+ <center>
101
+ <table>
102
+ <tr>
103
+ <td>
104
+ <img src="images/puzzle.png">
105
+ </td>
106
+ <td style="font-size: 34px; padding-left: 30px" class="puzzle-sans">
107
+ CUSPS<br/>
108
+ DELVE<br/>
109
+ DISKS<br/>
110
+ IMPLY<br/>
111
+ MORON<br/>
112
+ OLDEN<br/>
113
+ ORBIT<br/>
114
+ RADAR<br/>
115
+ ROTOR<br/>
116
+ SENSE<br/>
117
+ SMASH<br/>
118
+ UNIFY<br/>
119
+ WALTZ
120
+ </td>
121
+ </tr>
122
+ </table>
123
+ </center>
124
+
125
+ <!-- Puzzle content ends here -->
126
+ </div>
127
+ </div>
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
135
+
136
+ <script type="text/javascript">
137
+ $(document).ready(function(e) { $('#answer_294').click(function(e) { $('#answer_294').text("Answer: " + "ROSES");});});
138
+ </script>
139
+
140
+
141
+ </body><script type="module" src="/checkanswer.js"></script>
142
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/intro.html ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/logbook.css ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'im_fell_double_pica_scregular';
3
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot");
4
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/hunt/imfedpsc28p-webfont.woff2") format("woff2"), url("../fonts/hunt/imfedpsc28p-webfont.woff") format("woff"), url("../fonts/hunt/imfedpsc28p-webfont.ttf") format("truetype"), url("../fonts/hunt/imfedpsc28p-webfont.svg#im_fell_double_pica_scregular") format("svg");
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+
9
+ /* line 14, ../../sass/logbook.scss */
10
+ body {
11
+ margin: 0px;
12
+ border: 0px;
13
+ padding: 0px;
14
+ }
15
+
16
+ /* line 19, ../../sass/logbook.scss */
17
+ .headerbutton {
18
+ padding: 0 12px 0 12px;
19
+ float: right;
20
+ }
21
+
22
+ /* line 24, ../../sass/logbook.scss */
23
+ .sol {
24
+ height: 0px;
25
+ text-align: right;
26
+ margin-top: 35px;
27
+ margin-bottom: -35px;
28
+ }
29
+
30
+ /* line 31, ../../sass/logbook.scss */
31
+ #paper {
32
+ z-index: 9;
33
+ width: 1000px;
34
+ padding: 37px 55px 72px;
35
+ position: relative;
36
+ border: 1px solid #333333;
37
+ background: #dbc397;
38
+ -webkit-background-size: 100% 30px;
39
+ -moz-background-size: 100% 30px;
40
+ -ms-background-size: 100% 30px;
41
+ background-size: 100% 30px;
42
+ box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
43
+ border-radius: 4px 4px 4px 4px;
44
+ color: #282625;
45
+ margin: 0 auto;
46
+ margin-bottom: 60px;
47
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
48
+ text-rendering: optimizeLegibility;
49
+ font-feature-settings: "kern";
50
+ -webkit-font-feature-settings: "kern";
51
+ -moz-font-feature-settings: "kern";
52
+ -moz-font-feature-settings: "kern=1";
53
+ }
54
+
55
+ /* line 57, ../../sass/logbook.scss */
56
+ #infowindow {
57
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
58
+ }
59
+
60
+ /* line 61, ../../sass/logbook.scss */
61
+ .form-container {
62
+ top: 50px;
63
+ }
64
+
65
+ /* line 64, ../../sass/logbook.scss */
66
+ h1, h2, h3 {
67
+ font-family: 'im_fell_double_pica_scregular', serif;
68
+ }
69
+
70
+ /* line 67, ../../sass/logbook.scss */
71
+ .logheader {
72
+ font-size: larger;
73
+ font-weight: bold;
74
+ }
75
+
76
+ /* line 71, ../../sass/logbook.scss */
77
+ .logentry {
78
+ padding-left: 25px;
79
+ padding-right: 25px;
80
+ border-bottom: 1px solid #282625;
81
+ }
82
+
83
+ /* line 76, ../../sass/logbook.scss */
84
+ .logentry2 {
85
+ padding-left: 100px;
86
+ padding-right: 100px;
87
+ border-bottom: 1px solid #282625;
88
+ }
89
+
90
+ /* line 81, ../../sass/logbook.scss */
91
+ ul {
92
+ list-style: square inside url("../images/hunt/bullet3.png");
93
+ }
94
+
95
+ /* line 84, ../../sass/logbook.scss */
96
+ table.fancy {
97
+ padding: 0;
98
+ margin: 0;
99
+ width: 100%;
100
+ border-collapse: collapse;
101
+ border-style: double;
102
+ border-color: #282625;
103
+ border-left: 0;
104
+ border-right: 0;
105
+ }
106
+
107
+ /* line 94, ../../sass/logbook.scss */
108
+ table.fancy th, tr {
109
+ padding: 0;
110
+ margin: 0;
111
+ }
112
+
113
+ /* line 98, ../../sass/logbook.scss */
114
+ table.fancy td {
115
+ padding-left: 10px;
116
+ margin: 0;
117
+ border: 1px solid #282625;
118
+ border-right: 0;
119
+ }
120
+
121
+ /* line 104, ../../sass/logbook.scss */
122
+ .tdleft {
123
+ padding: 0;
124
+ width: 10%;
125
+ border-left: 0;
126
+ }
127
+
128
+ /* line 109, ../../sass/logbook.scss */
129
+ .caption {
130
+ font-style: italic;
131
+ border-top: 0px;
132
+ margin-top: 0px;
133
+ padding-top: 0px;
134
+ }
135
+
136
+ /* line 116, ../../sass/logbook.scss */
137
+ .puzzle-sans {
138
+ font-family: sans-serif;
139
+ }
140
+
141
+ /* line 120, ../../sass/logbook.scss */
142
+ .puzzle {
143
+ display: table;
144
+ width: 100%;
145
+ }
146
+
147
+ /* line 125, ../../sass/logbook.scss */
148
+ .puzzle-page-header {
149
+ margin-bottom: 20px;
150
+ }
151
+
152
+ /* line 129, ../../sass/logbook.scss */
153
+ .answer {
154
+ margin-bottom: 30px;
155
+ }
156
+
157
+ /* line 133, ../../sass/logbook.scss */
158
+ .puzzle li {
159
+ list-style-position: inside;
160
+ text-indent: -1.1em;
161
+ }
162
+
163
+ /* line 138, ../../sass/logbook.scss */
164
+ .sol {
165
+ height: 0px;
166
+ text-align: right;
167
+ margin-top: 35px;
168
+ margin-bottom: -35px;
169
+ }
170
+
171
+ /* line 145, ../../sass/logbook.scss */
172
+ .clickbaitbannerbox {
173
+ width: 320px;
174
+ margin-right: 20px;
175
+ margin-left: auto;
176
+ margin-bottom: 20px;
177
+ margin-top: -30px;
178
+ }
179
+
180
+ @media print {
181
+ /* line 154, ../../sass/logbook.scss */
182
+ .clickbaitbannerbox {
183
+ margin-top: 50px;
184
+ }
185
+ }
186
+ /* line 159, ../../sass/logbook.scss */
187
+ .clickbaitbanner {
188
+ background-color: white;
189
+ padding: 10px;
190
+ }
191
+
192
+ /* line 163, ../../sass/logbook.scss */
193
+ .attop {
194
+ position: absolute;
195
+ top: 0px;
196
+ left: 0px;
197
+ }
198
+
199
+ /* line 169, ../../sass/logbook.scss */
200
+ .byline {
201
+ font-family: 'Times New Roman', serif;
202
+ font-style: italic;
203
+ }
204
+
205
+ /* line 173, ../../sass/logbook.scss */
206
+ .clickbaitlink {
207
+ font-family: Helvetica, Arial, sans-serif;
208
+ font-size: 20px;
209
+ }
210
+
211
+ /* line 177, ../../sass/logbook.scss */
212
+ .clickbaitlink a {
213
+ text-decoration: none;
214
+ }
215
+
216
+ /* line 181, ../../sass/logbook.scss */
217
+ .puzzle p, .puzzle li {
218
+ line-height: 1.4em;
219
+ }
220
+
221
+ /* line 185, ../../sass/logbook.scss */
222
+ .solution-table td, .solution-table th {
223
+ padding-right: 15px;
224
+ }
225
+
226
+ @media print {
227
+ /* line 190, ../../sass/logbook.scss */
228
+ #puzzle-obj img {
229
+ display: none;
230
+ }
231
+
232
+ /* line 194, ../../sass/logbook.scss */
233
+ .no-page-break {
234
+ page-break-inside: avoid;
235
+ }
236
+
237
+ /* line 197, ../../sass/logbook.scss */
238
+ #paper {
239
+ width: 100%;
240
+ margin-bottom: 0px !important;
241
+ padding-bottom: 0px !important;
242
+ border: 0px !important;
243
+ }
244
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/ocean.css ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* line 3, ../../sass/ocean.scss */
2
+ html {
3
+ height: auto;
4
+ min-height: 100%;
5
+ }
6
+
7
+ /* line 8, ../../sass/ocean.scss */
8
+ body {
9
+ height: 100%;
10
+ background-color: #488cff;
11
+ }
12
+
13
+ @font-face {
14
+ font-family: 'griffosfontregular';
15
+ src: url("../fonts/hunt/GriffosFont-webfont.eot");
16
+ src: url("../fonts/hunt/GriffosFont-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/hunt/GriffosFont-webfont.woff") format("woff"), url("../fonts/hunt/GriffosFont-webfont.ttf") format("truetype"), url("../fonts/hunt/GriffosFont-webfont.svg#griffosfontregular") format("svg");
17
+ font-weight: normal;
18
+ font-style: normal;
19
+ }
20
+
21
+ /* line 25, ../../sass/ocean.scss */
22
+ .puzzle-page-header h1 {
23
+ font-family: 'griffosfontregular';
24
+ }
25
+
26
+ /* line 29, ../../sass/ocean.scss */
27
+ #artstuff {
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ margin-top: 50px;
31
+ width: 1000px;
32
+ height: 1px;
33
+ }
34
+
35
+ /* line 37, ../../sass/ocean.scss */
36
+ #oceandecor {
37
+ z-index: 10;
38
+ position: absolute;
39
+ background-image: url("../images/hunt/sub_toponly.png");
40
+ height: 349px;
41
+ width: 1000px;
42
+ background-repeat: no-repeat;
43
+ }
44
+
45
+ /* line 46, ../../sass/ocean.scss */
46
+ #leftdecor {
47
+ top: 322px;
48
+ left: -76px;
49
+ z-index: 10;
50
+ position: absolute;
51
+ width: 101px;
52
+ height: 419px;
53
+ background-image: url("../images/hunt/sub_sideL.png");
54
+ }
55
+
56
+ /* line 56, ../../sass/ocean.scss */
57
+ #rightdecor {
58
+ left: 974px;
59
+ top: 322px;
60
+ z-index: 10;
61
+ position: absolute;
62
+ width: 102px;
63
+ height: 419px;
64
+ background-image: url("../images/hunt/sub_sideR.png");
65
+ }
66
+
67
+ /* line 66, ../../sass/ocean.scss */
68
+ #infowindow {
69
+ z-index: 10;
70
+ position: absolute;
71
+ width: 250px;
72
+ top: 20px;
73
+ left: 680px;
74
+ padding: 6px;
75
+ }
76
+
77
+ /* line 75, ../../sass/ocean.scss */
78
+ #puzzle-obj {
79
+ width: 383px;
80
+ height: 333px;
81
+ z-index: 11;
82
+ }
83
+
84
+ /* line 81, ../../sass/ocean.scss */
85
+ #puzzle-obj img {
86
+ top: 50%;
87
+ left: 50%;
88
+ margin-right: -50%;
89
+ -webkit-transform: translate(-50%, -50%);
90
+ -moz-transform: translate(-50%, -50%);
91
+ -ms-transform: translate(-50%, -50%);
92
+ -o-transform: translate(-50%, -50%);
93
+ transform: translate(-50%, -50%);
94
+ position: relative;
95
+ }
96
+
97
+ /* line 89, ../../sass/ocean.scss */
98
+ #paper {
99
+ background: #eee;
100
+ margin-top: 347px;
101
+ min-height: 430px;
102
+ }
103
+
104
+ @media print {
105
+ /* line 96, ../../sass/ocean.scss */
106
+ #paper {
107
+ margin-top: 10px;
108
+ }
109
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/puzzle.css ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/sponsors.html ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Sponsors &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Our Generous Sponsors</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <h3><a href="https://www.akamai.com">Akamai</a></h3>
74
+ <h3 style="display:inline;"><a href="https://www.axcelx.com/">Axcelx</a></h3> (discount code HAPPYHUNTING for 20% off)
75
+ <h3><a href="https://www.battlecode.org/">Battlecode</a></h3>
76
+ <h3><a href="https://www.counsyl.com/">Counsyl</a></h3>
77
+ <h3><a href="https://www.dropbox.com/">Dropbox</a></h3>
78
+ <h3><a href="https://www.hudson-trading.com/">HRT</a></h3>
79
+ <h3><a href="https://kyruus.com">Kyruus</a></h3>
80
+ <h3><a href="https://web.mit.edu/asa/resources/large-events.html">LEF</a></h3>
81
+ <h3 style="display:inline;"><a href="https://www.neaq.org/index.php">New England Aquarium</a></h3> (initially listed as "Mystery Sponsor" because of the puzzle <a href="/2015/puzzle/field_trip/">"Field Trip"</a>)
82
+ <h3><a href="https://www.oliverwyman.com/">Oliver Wyman</a></h3>
83
+ <h3><a href="https://ua.mit.edu/funding/finboard/">UA Finboard</a></h3>
84
+ </div>
85
+
86
+
87
+
88
+
89
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
90
+
91
+
92
+ </body>
93
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/storylog.html ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Story Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>The Story So Far...</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="storyexplain">
74
+ This page provides a summary of the important events and plot information which your team has experienced so far. It is not a puzzle, nor is anything on this page intended to provide additional information for completing other puzzles.
75
+ </div>
76
+
77
+ <h2>Kickoff</h2>
78
+ <p>
79
+ Dr. Nautilus, a steam-era inventor, is designing new technologies that work by harnessing the power of the previously-undeveloped “magnetonomic force”. She needs help obtaining a sufficiently powerful store of magnetonomic force. Her assistant Julie Verne has discovered that a store of powerful “Nautilodestones” exists somewhere in the ocean. Teams of daring adventurers are invited to embark on the world’s first-ever undersea exploration mission. The purpose: finding and retrieving a Nautilodestone. The first team to complete this mission will be rewarded handsomely with coin. Solving puzzles and discovering submarine upgrades will enable you to descend deeper into the ocean. The challenges that await you down there remain a mystery...
80
+ </p>
81
+
82
+ <h2>Workshop</h2>
83
+ <p class="storyexplain">
84
+ You can’t go underwater without a proper vessel. You go into Dr. Nautilus’s Workshop and start working on upgrading your submarine.
85
+ </p>
86
+
87
+ <h3>Submarine upgrades:</h3>
88
+ <p>
89
+
90
+ In the optics lab, you construct a <span class="meta_answer" id="optics_lab_meta_span">Click here to reveal meta answer</span>.<br/>
91
+
92
+ In the chemistry lab, you concoct some <span class="meta_answer" id="chemistry_lab_meta_span">Click here to reveal meta answer</span>.<br/>
93
+
94
+ In the machine room, you build a set of <span class="meta_answer" id="machine_room_meta_span">Click here to reveal answer</span>.
95
+ </p>
96
+
97
+
98
+ <h3>Final workshop challenge:</h3>
99
+ <p>
100
+ You complete Dr. Nautilus’s unfinished device. The finished machine indicates that you should go to <span class="meta_answer" id="workshop_meta_meta_span">Click here to reveal meta answer</span>, where you will start building a Nautilodestone detector. After collecting and assembling pieces from throughout the workshop, you build a <span class="storyitem">Magnetonomic Adjacency Detector</span>, which you will need to find the stone.
101
+ </p>
102
+
103
+
104
+
105
+
106
+ <h2>Ocean</h2>
107
+ <p class="storyexplain">Your submarine dives into the Ocean. Nobody knows what creatures and discoveries you might find!</p>
108
+
109
+ <h3>Submarine upgrades:</h3>
110
+ <p>
111
+
112
+ Playing with the pod of dolphins earns you a <span class="meta_answer" id="pod_of_dolphins_meta_span">Click here to reveal meta answer</span>.<br/>
113
+
114
+ Exploring the coral reef uncovers <span class="meta_answer" id="coral_reef_meta_span">Click here to reveal meta answer</span>.<br/>
115
+
116
+ After sorting through the contents of the treasure chest, you equip your sub with <span class="meta_answer" id="treasure_chest_meta_span">Click here to reveal meta answer</span>.<br/>
117
+
118
+ Your adventure with the school of fish enables you to build <span class="meta_answer" id="school_of_fish_meta_span">Click here to reveal meta answer</span>.<br/>
119
+
120
+ The spooky graveyard gives you a <span class="meta_answer" id="graveyard_meta_span">Click here to reveal meta answer</span>.
121
+ </p>
122
+
123
+
124
+ <h3>Aquatic Acquaintances:</h3>
125
+ <p class="aqua">
126
+ You meet Spongebob. His dance class got tangled up in a giant conga line knot. After helping him <span class="meta_answer" id="spongebob_span">Click here to reveal meta answer</span>, he gives you a Golden Shell.
127
+ </p>
128
+ <p class="aqua">
129
+ You meet Captain Planet who is struggling with pollution from clickbait articles. After helping him <span class="meta_answer" id="captain_planet_span">Click here to reveal meta answer</span>, he gives you a Spotted Shell.
130
+ </p>
131
+ <p class="aqua">
132
+ You meet Dory, who lost track of Nemo on her way to delivering you some errata for various puzzles. After telling her <span class="meta_answer" id="dory_span">Click here to reveal meta answer</span>, she finds Nemo and gives you a Colorful Shell.
133
+ </p>
134
+ <p class="aqua">
135
+ You meet Cthulhu, who has awoken from his slumber and is very grumpy. He instructs you to <span class="meta_answer" id="cthulhu_span">Click here to reveal meta answer</span>; once you do so, he happily falls back to sleep and his cultist gives you a Spiky Shell.
136
+ </p>
137
+
138
+
139
+ <h3>Ocean Final Challenge:</h3>
140
+ <p>
141
+ You encounter a turtle. After placing markings on its shell, you are instructed to go to the <span class="meta_answer" id="ocean_meta_meta_span">Click here to reveal meta answer</span>. At the shipwreck, you help an enormous blue whale with its digestive troubles. In return, it gives you a <span class="storyitem">Legendary Swordfish</span>, which will help you clear obstacles on your way to the stone.
142
+ </p>
143
+
144
+
145
+
146
+
147
+ <h2>Atlantis</h2>
148
+ <p class="storyexplain">You find a mysterious underwater city, full of ancient power. It seems oddly deserted, as though something is wrong.</p>
149
+
150
+ <h3>Submarine upgrades:</h3>
151
+ <p>
152
+ You use the Golden Shell to unlock the top floor of the Golden Tower.<br/>
153
+ In order to help the Golden Tower, you equip your ship with a <span class="meta_answer" id="golden_tower_meta_span">Click here to reveal meta answer</span>!
154
+ </p>
155
+ <p>
156
+ You use the Colorful Shell to unlock the top floor of the Colorful Tower.<br/>
157
+ In order to help the Colorful Tower, you equip your ship with an <span class="meta_answer" id="colorful_tower_meta_span">Click here to reveal meta answer</span>!
158
+ </p>
159
+ <p>
160
+ You use the Spiky Shell to unlock the top floor of the Spiky Tower.<br/>
161
+ In order to help the Spiky Tower, you equip your ship with a <span class="meta_answer" id="spiky_tower_meta_span">Click here to reveal meta answer</span>!
162
+ </p>
163
+ <p>
164
+ You use the Spotted Shell to unlock the top floor of the Spotted Tower.<br/>
165
+ In order to help the Spotted Tower, you equip your ship with an <span class="meta_answer" id="spotted_tower_meta_span">Click here to reveal meta answer</span>!
166
+ </p>
167
+
168
+
169
+ <h3>Atlantis Final Challenge:</h3>
170
+ <p>
171
+ You discover that Atlantis has been overrun by <span class="meta_answer" id="atlantis_meta_meta_plot_span">Click here to reveal meta-spoiling plot information</span>. You go to the <span class="meta_answer" id="atlantis_meta_meta_span">Click here to reveal meta answer</span>. There, you defeat them and save Atlantis. In return, the monarch of Atlantis gives you a <span class="storyitem">Navigational Chart</span> showing the stones’ location, and promises to send you an Atlantean guide to help you navigate the trench.
172
+ </p>
173
+
174
+
175
+
176
+
177
+ </div>
178
+
179
+
180
+
181
+
182
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
183
+
184
+ <script type="text/javascript">
185
+ $(document).ready(function() {
186
+ var answer_map = {};
187
+ var metas = {"optics_lab_meta_span": "PRISMATIC PERISCOPE",
188
+ "chemistry_lab_meta_span": "COOL FUEL",
189
+ "machine_room_meta_span": "AETHER BALLAST TANK",
190
+ "workshop_meta_meta_span": "STEAM LAB",
191
+ "pod_of_dolphins_meta_span": "BELUGA PAL",
192
+ "coral_reef_meta_span": "ELECTRIC EEL POWER",
193
+ "treasure_chest_meta_span": "MANTA RAY VISION",
194
+ "school_of_fish_meta_span": "SARDINE CANNONS",
195
+ "graveyard_meta_span": "MECHANICAL SEA MONSTER",
196
+ "spongebob_span": "UNTANGLE LINES",
197
+ "captain_planet_span": "RECYCLE CONTENT",
198
+ "dory_span": "LOOK BEHIND YOU",
199
+ "cthulhu_span": "FEED ME YOUR SOLES",
200
+ "ocean_meta_meta_span": "SHIPWRECK",
201
+ "golden_tower_meta_span": "TRIDENT OF HARMONY",
202
+ "colorful_tower_meta_span": "IMMORTAL IRON KEEL",
203
+ "spotted_tower_meta_span": "ENCHANTED PANACEA",
204
+ "spiky_tower_meta_span": "FAERIE CORNUCOPIA",
205
+ "atlantis_meta_meta_plot_span": "the Four Seahorsemen of the Apocalypse",
206
+ "atlantis_meta_meta_span": "TOP OF TALLEST TOWER"};
207
+ $('.meta_answer').click(function(e) {
208
+ $(e.target).text(metas[e.target.id]);});});
209
+ </script>
210
+
211
+
212
+ </body>
213
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/toc.html ADDED
@@ -0,0 +1,831 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Table of Contents &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Known Locations</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+
74
+
75
+ <h2>Machine Room</h2> <!-- TODO: metas?! Phases? -->
76
+ <!-- TODO: are these in DEEP order? They should be... -->
77
+ <ul>
78
+
79
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/imba">Imba</a>
80
+
81
+ </li>
82
+
83
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/beth">Beth</a>
84
+
85
+ </li>
86
+
87
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/erraticism">Erraticism</a>
88
+
89
+ </li>
90
+
91
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_on_the_move">Back on the Move</a>
92
+
93
+ </li>
94
+
95
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/loony_playhouse_actors">Loony Playhouse Actors</a>
96
+
97
+ </li>
98
+
99
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nautiluss_duplicated_quest">Nautilus's Duplicated Quest</a>
100
+
101
+ </li>
102
+
103
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/takeout_ordering">Takeout Ordering</a>
104
+
105
+ </li>
106
+
107
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nope">Nope!</a>
108
+
109
+ </li>
110
+
111
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_rare_teak">A Rare Teak</a>
112
+
113
+ </li>
114
+
115
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/machine_room_meta">Machine Room Meta</a>
116
+
117
+ </li>
118
+
119
+ </ul>
120
+
121
+
122
+
123
+ <h2>Optics Lab</h2> <!-- TODO: metas?! Phases? -->
124
+ <!-- TODO: are these in DEEP order? They should be... -->
125
+ <ul>
126
+
127
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_puzzle_has_no_errata">This Puzzle Has No Errata</a>
128
+
129
+ </li>
130
+
131
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wait_what_did_you_say">Wait, What Did You Say?</a>
132
+
133
+ </li>
134
+
135
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_is_out_of_joint">Time Is Out of Joint</a>
136
+
137
+ </li>
138
+
139
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wizardly_tales">Wizardly Tales</a>
140
+
141
+ </li>
142
+
143
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_agers_puzzling_adventure">Captain Ager's Puzzling Adventure</a>
144
+
145
+ </li>
146
+
147
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/montages">Montages</a>
148
+
149
+ </li>
150
+
151
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nina">Nina</a>
152
+
153
+ </li>
154
+
155
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/optics_lab_meta">Optics Lab Meta</a>
156
+
157
+ </li>
158
+
159
+ </ul>
160
+
161
+
162
+
163
+ <h2>Chemistry Lab</h2> <!-- TODO: metas?! Phases? -->
164
+ <!-- TODO: are these in DEEP order? They should be... -->
165
+ <ul>
166
+
167
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/escape_from_the_classroom">Escape from the Classroom</a>
168
+
169
+ </li>
170
+
171
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mythological_connections">Mythological Connections</a>
172
+
173
+ </li>
174
+
175
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_misspelled_insects">The Misspelled Insects</a>
176
+
177
+ </li>
178
+
179
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/people_and_places">People and Places</a>
180
+
181
+ </li>
182
+
183
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/finsey_gillhone">Finsey Gillhone</a>
184
+
185
+ </li>
186
+
187
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wordsearches_are_a_piece_of_cake">Wordsearches Are a Piece of Cake</a>
188
+
189
+ </li>
190
+
191
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/speak_of_the_devil_fruit">Speak of the Devil Fruit</a>
192
+
193
+ </li>
194
+
195
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_accumulator">The Accumulator</a>
196
+
197
+ </li>
198
+
199
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/chemistry_lab_meta">Chemistry Lab Meta</a>
200
+
201
+ </li>
202
+
203
+ </ul>
204
+
205
+
206
+
207
+ <h2>School of Fish</h2> <!-- TODO: metas?! Phases? -->
208
+ <!-- TODO: are these in DEEP order? They should be... -->
209
+ <ul>
210
+
211
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/denizen_of_the_deep">Denizen of the Deep</a>
212
+
213
+ </li>
214
+
215
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/eh">Eh?</a>
216
+
217
+ </li>
218
+
219
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/feeling_bluefin">Feeling Bluefin</a>
220
+
221
+ </li>
222
+
223
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tournament">Tournament</a>
224
+
225
+ </li>
226
+
227
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_cats_meow">The Cat's Meow</a>
228
+
229
+ </li>
230
+
231
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_short_transmission">A Short Transmission</a>
232
+
233
+ </li>
234
+
235
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hash">Hash</a>
236
+
237
+ </li>
238
+
239
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ready_set_go">Ready Set Go</a>
240
+
241
+ </li>
242
+
243
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/frequency_distribution_tank">Frequency Distribution Tank</a>
244
+
245
+ </li>
246
+
247
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/headshots">Headshots</a>
248
+
249
+ </li>
250
+
251
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/watch_me_blow_this">Watch Me Blow This!</a>
252
+
253
+ </li>
254
+
255
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blocks">Blocks</a>
256
+
257
+ </li>
258
+
259
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_last_airbender">The Last Airbender</a>
260
+
261
+ </li>
262
+
263
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rid_fill">Rid Fill</a>
264
+
265
+ </li>
266
+
267
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/moves">Moves</a>
268
+
269
+ </li>
270
+
271
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/twelve_grids_of_pictures">Twelve Grids of Pictures</a>
272
+
273
+ </li>
274
+
275
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_acerbic_sixteen">The Acerbic Sixteen</a>
276
+
277
+ </li>
278
+
279
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_story_is_canon">This Story is Canon</a>
280
+
281
+ </li>
282
+
283
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/p1ctures">p1ctures</a>
284
+
285
+ </li>
286
+
287
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tickle_me_pink">Tickle Me Pink</a>
288
+
289
+ </li>
290
+
291
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/memory_lane">Memory Lane</a>
292
+
293
+ </li>
294
+
295
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ride_em_in">Ride 'Em In</a>
296
+
297
+ </li>
298
+
299
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_hidden_city">The Hidden City</a>
300
+
301
+ </li>
302
+
303
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/trivia_round">Trivia Round</a>
304
+
305
+ </li>
306
+
307
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_at_it">Go At It!</a>
308
+
309
+ </li>
310
+
311
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/goldfish_memory">Goldfish Memory</a>
312
+
313
+ </li>
314
+
315
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bubbles">Bubbles</a>
316
+
317
+ </li>
318
+
319
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bookshelves">Bookshelves</a>
320
+
321
+ </li>
322
+
323
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/threes_the_charm">Three's the Charm</a>
324
+
325
+ </li>
326
+
327
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/starfish">Starfish</a>
328
+
329
+ </li>
330
+
331
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/toasting_the_bagel">Toasting the Bagel</a>
332
+
333
+ </li>
334
+
335
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rectangles">Rectangles</a>
336
+
337
+ </li>
338
+
339
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fjf_s">FJF,S</a>
340
+
341
+ </li>
342
+
343
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fencing">Fencing</a>
344
+
345
+ </li>
346
+
347
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/striptease">Striptease</a>
348
+
349
+ </li>
350
+
351
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/siamese_quintuplets">Siamese Quintuplets</a>
352
+
353
+ </li>
354
+
355
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/not_all_there">Not All There</a>
356
+
357
+ </li>
358
+
359
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/no_pluto">No Pluto</a>
360
+
361
+ </li>
362
+
363
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_resistance">The Resistance</a>
364
+
365
+ </li>
366
+
367
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_fish">Go Fish!</a>
368
+
369
+ </li>
370
+
371
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fill_in_the_blanks">Fill in the Blanks</a>
372
+
373
+ </li>
374
+
375
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_toast">A Toast</a>
376
+
377
+ </li>
378
+
379
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/be_a_star">Be a Star!</a>
380
+
381
+ </li>
382
+
383
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/i_know_thats_a_pisser_baby">I Know That's a Pisser Baby </a>
384
+
385
+ </li>
386
+
387
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/word_fork">Word Fork</a>
388
+
389
+ </li>
390
+
391
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_poem_by_shell_silverstein">A Poem by Shell Silverstein </a>
392
+
393
+ </li>
394
+
395
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/even_the_blossoming_flowers">Even the Blossoming Flowers...</a>
396
+
397
+ </li>
398
+
399
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spittle_loon">Spittle Loon</a>
400
+
401
+ </li>
402
+
403
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/flat_containers">Flat Containers</a>
404
+
405
+ </li>
406
+
407
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_er_of_men">The ____er of Men</a>
408
+
409
+ </li>
410
+
411
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_wheels_go_round_and_round">The Wheels Go Round and Round</a>
412
+
413
+ </li>
414
+
415
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/munchies">Munchies</a>
416
+
417
+ </li>
418
+
419
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_and_forth">Back and Forth</a>
420
+
421
+ </li>
422
+
423
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/encephalon">Encephalon</a>
424
+
425
+ </li>
426
+
427
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/funny_shapes">Funny Shapes</a>
428
+
429
+ </li>
430
+
431
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/les_faux_amis_valent_rien">Les Faux Amis Valent Rien</a>
432
+
433
+ </li>
434
+
435
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/school_of_fish_meta">School of Fish Meta</a>
436
+
437
+ </li>
438
+
439
+ </ul>
440
+
441
+
442
+
443
+ <h2>Pod of Dolphins</h2> <!-- TODO: metas?! Phases? -->
444
+ <!-- TODO: are these in DEEP order? They should be... -->
445
+ <ul>
446
+
447
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/per_verse_poetry">Per-verse Poetry</a>
448
+
449
+ </li>
450
+
451
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/representative_characters">Representative Characters</a>
452
+
453
+ </li>
454
+
455
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/constraint_chef">Constraint Chef</a>
456
+
457
+ </li>
458
+
459
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/something_looks_fishy">Something Looks Fishy</a>
460
+
461
+ </li>
462
+
463
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/field_trip">Field Trip</a>
464
+
465
+ </li>
466
+
467
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mit_mystery_hunt">MiT MYSTERY HUNT</a>
468
+
469
+ </li>
470
+
471
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/choose_your_language">Choose Your Language</a>
472
+
473
+ </li>
474
+
475
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/its_play_time">It's Play Time</a>
476
+
477
+ </li>
478
+
479
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dr_nautiluss_secret_notes">Dr. Nautilus's Secret Notes</a>
480
+
481
+ </li>
482
+
483
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pod_of_dolphins_meta">Pod of Dolphins Meta</a>
484
+
485
+ </li>
486
+
487
+ </ul>
488
+
489
+
490
+
491
+ <h2>Coral Reef</h2> <!-- TODO: metas?! Phases? -->
492
+ <!-- TODO: are these in DEEP order? They should be... -->
493
+ <ul>
494
+
495
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hashi_it_out">Hashi It Out</a>
496
+
497
+ </li>
498
+
499
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ariels_scavenger_hunt">Ariel's Scavenger Hunt</a>
500
+
501
+ </li>
502
+
503
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_puzzle_consisting_entirely_of_random_anagrams">A Puzzle Consisting Entirely of Random Anagrams</a>
504
+
505
+ </li>
506
+
507
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/jack_and_jill_or_janet">Jack and Jill or Janet</a>
508
+
509
+ </li>
510
+
511
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_thousand_words">A Thousand Words</a>
512
+
513
+ </li>
514
+
515
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pipe">Pipe</a>
516
+
517
+ </li>
518
+
519
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/polyglot">Polyglot</a>
520
+
521
+ </li>
522
+
523
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_10_000_puzzle_pyramid">The 10,000 Puzzle Pyramid</a>
524
+
525
+ </li>
526
+
527
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coral_reef_meta">Coral Reef Meta</a>
528
+
529
+ </li>
530
+
531
+ </ul>
532
+
533
+
534
+
535
+ <h2>Treasure Chest</h2> <!-- TODO: metas?! Phases? -->
536
+ <!-- TODO: are these in DEEP order? They should be... -->
537
+ <ul>
538
+
539
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cube">Cube</a>
540
+
541
+ </li>
542
+
543
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/game">Game</a>
544
+
545
+ </li>
546
+
547
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/knit_square">Knit Square</a>
548
+
549
+ </li>
550
+
551
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ropes">Ropes</a>
552
+
553
+ </li>
554
+
555
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/paper_jigsaw">Paper Jigsaw</a>
556
+
557
+ </li>
558
+
559
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/locks">Locks</a>
560
+
561
+ </li>
562
+
563
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wood">Wood</a>
564
+
565
+ </li>
566
+
567
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coins">Coins</a>
568
+
569
+ </li>
570
+
571
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/treasure_chest_meta">Treasure Chest Meta</a>
572
+
573
+ </li>
574
+
575
+ </ul>
576
+
577
+
578
+
579
+ <h2>Graveyard</h2> <!-- TODO: metas?! Phases? -->
580
+ <!-- TODO: are these in DEEP order? They should be... -->
581
+ <ul>
582
+
583
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/shark_blood">Shark Blood</a>
584
+
585
+ </li>
586
+
587
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/welcome_to_dead_waters">Welcome to Dead Waters</a>
588
+
589
+ </li>
590
+
591
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/say_cheese_and_dive">Say Cheese and Dive!</a>
592
+
593
+ </li>
594
+
595
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lets_get_submersible">Let's Get Submersible!</a>
596
+
597
+ </li>
598
+
599
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/night_of_the_living_kraken">Night of the Living Kraken</a>
600
+
601
+ </li>
602
+
603
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_curse_of_the_atlanteans_tomb">The Curse of the Atlantean's Tomb</a>
604
+
605
+ </li>
606
+
607
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/stay_out_of_the_trench">Stay Out of the Trench</a>
608
+
609
+ </li>
610
+
611
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/graveyard_meta">Graveyard Meta</a>
612
+
613
+ </li>
614
+
615
+ </ul>
616
+
617
+
618
+
619
+ <h2>Aquatic Acquaintances</h2> <!-- TODO: metas?! Phases? -->
620
+ <!-- TODO: are these in DEEP order? They should be... -->
621
+ <ul>
622
+
623
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spongebob">Spongebob</a>
624
+
625
+ </li>
626
+
627
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_planet">Captain Planet</a>
628
+
629
+ </li>
630
+
631
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dory">Dory</a>
632
+
633
+ </li>
634
+
635
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cthulhu">Cthulhu</a>
636
+
637
+ </li>
638
+
639
+ </ul>
640
+
641
+
642
+
643
+ <h2>Colorful Tower</h2> <!-- TODO: metas?! Phases? -->
644
+ <!-- TODO: are these in DEEP order? They should be... -->
645
+ <ul>
646
+
647
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/smiling_vessel">Smiling Vessel</a>
648
+
649
+ </li>
650
+
651
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/image">Image</a>
652
+
653
+ </li>
654
+
655
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blue_bomber">Blue Bomber</a>
656
+
657
+ </li>
658
+
659
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/steves_parable">Steve's Parable</a>
660
+
661
+ </li>
662
+
663
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_amp_place">Time &amp; Place</a>
664
+
665
+ </li>
666
+
667
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_push_in_the_right_direction">A Push in the Right Direction</a>
668
+
669
+ </li>
670
+
671
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/suns_of_china">Suns of China</a>
672
+
673
+ </li>
674
+
675
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/colorful_tower_meta">Colorful Tower Meta</a>
676
+
677
+ </li>
678
+
679
+ </ul>
680
+
681
+
682
+
683
+ <h2>Spotted Tower</h2> <!-- TODO: metas?! Phases? -->
684
+ <!-- TODO: are these in DEEP order? They should be... -->
685
+ <ul>
686
+
687
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/topsy_turvy">Topsy-Turvy</a>
688
+
689
+ </li>
690
+
691
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hunt_life_3_confirmed">Hunt-Life 3 Confirmed!</a>
692
+
693
+ </li>
694
+
695
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantean_graves">Atlantean Graves</a>
696
+
697
+ </li>
698
+
699
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/foamy">Foamy</a>
700
+
701
+ </li>
702
+
703
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/benny_lava">Benny Lava</a>
704
+
705
+ </li>
706
+
707
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spotted_tower_meta">Spotted Tower Meta</a>
708
+
709
+ </li>
710
+
711
+ </ul>
712
+
713
+
714
+
715
+ <h2>Spiky Tower</h2> <!-- TODO: metas?! Phases? -->
716
+ <!-- TODO: are these in DEEP order? They should be... -->
717
+ <ul>
718
+
719
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_case_of_the_monday_crosswords">A Case of the Monday Crosswords</a>
720
+
721
+ </li>
722
+
723
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lead_right">Lead Right</a>
724
+
725
+ </li>
726
+
727
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/floating_crossword">Floating Crossword</a>
728
+
729
+ </li>
730
+
731
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/quodlibet">Quodlibet</a>
732
+
733
+ </li>
734
+
735
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptochains">Cryptochains</a>
736
+
737
+ </li>
738
+
739
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_sun_will_come_out">The Sun Will Come Out</a>
740
+
741
+ </li>
742
+
743
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ukacd">UKACD</a>
744
+
745
+ </li>
746
+
747
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/read_between_the_lines">Read Between the Lines</a>
748
+
749
+ </li>
750
+
751
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/follow_the_bees">Follow the Bees!</a>
752
+
753
+ </li>
754
+
755
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spiky_tower_meta">Spiky Tower Meta</a>
756
+
757
+ </li>
758
+
759
+ </ul>
760
+
761
+
762
+
763
+ <h2>Golden Tower</h2> <!-- TODO: metas?! Phases? -->
764
+ <!-- TODO: are these in DEEP order? They should be... -->
765
+ <ul>
766
+
767
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tantalum">Tantalum</a>
768
+
769
+ </li>
770
+
771
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/check_out_this_sticked_asiatic_music">Check Out This Sticked Asiatic Music</a>
772
+
773
+ </li>
774
+
775
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/practice_in_theory">Practice in Theory</a>
776
+
777
+ </li>
778
+
779
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptic_golf">Cryptic Golf</a>
780
+
781
+ </li>
782
+
783
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mashup">Mashup</a>
784
+
785
+ </li>
786
+
787
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/connect_the_ducks">Connect the Ducks</a>
788
+
789
+ </li>
790
+
791
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/golden_tower_meta">Golden Tower Meta</a>
792
+
793
+ </li>
794
+
795
+ </ul>
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+ <h2>Hunt Round (Metametas)</h2> <!-- TODO: metas?! Phases? -->
804
+ <!-- TODO: are these in DEEP order? They should be... -->
805
+ <ul>
806
+
807
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/workshop_meta_meta">Workshop Meta Meta</a>
808
+
809
+ </li>
810
+
811
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ocean_meta_meta">Ocean Meta Meta</a>
812
+
813
+ </li>
814
+
815
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantis_meta_meta">Atlantis Meta Meta</a>
816
+
817
+ </li>
818
+
819
+ </ul>
820
+
821
+
822
+ </div>
823
+
824
+
825
+
826
+
827
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
828
+
829
+
830
+ </body>
831
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hashi_it_out/updates.html ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Updates &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css"/>
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Updates from Sealab</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p style="font-style:italic">
74
+ Errata, major news, etc. will be posted here as well as delivered via email.
75
+ </p>
76
+
77
+ <p class="hqupdate">
78
+ <h3>Friday at 2:40 PM</h3>
79
+ First, a reminder about our scheduled events and study breaks. See them <a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">here</a>.
80
+ <br/><br/>
81
+ Additionally, some explorers have expressed confusion that they did not receive a packet, in addition to the Adventure Starter Kit (Bag of Swag) after Dr. Nautilus's presentation. There is not in fact a separate packet; everything is included in your Adventure Starter Kit.
82
+ </p>
83
+
84
+ <p class="hqupdate">
85
+ <h3>Friday at 4:00 PM</h3>
86
+ Please check the puzzle "Back on the Move" again for an update about which Twitter account is being used (due to Twitter's rate-limiting).
87
+ </p>
88
+
89
+ <p class="hqupdate">
90
+ <h3>Friday at 5:20 PM</h3>
91
+ Dr. Nautilus has generously given you access to the entirety of the Machine Room. Happy puzzling!
92
+ </p>
93
+
94
+ <p class="hqupdate">
95
+ <h3>Friday at 7:00 PM</h3>
96
+ Hi Teams,<br/>
97
+ Julie asked me to remind you about the "Ask the Oracle" function on the website! Each puzzle page has a link on the upper-right to ask a yes or no question. More details are available there.
98
+ <br/>
99
+ Charge will continue to build up as you explore (and attend events!), so don't be shy to ask questions of the Oracle when you are feeling stuck or not having a fun on a puzzle!<br/>
100
+ -Dr. N
101
+ </p>
102
+ <p class="hqupdate">
103
+ <h3>Saturday at 12:20 AM</h3>
104
+ Dr. Nautilus has generously given you access to the entirety of the Optics Lab. Happy puzzling!
105
+ </p>
106
+ <p class="hqupdate">
107
+ <h3>Saturday at 1:12 AM</h3>
108
+ For the puzzle "A Thousand Words", we have added an "E" to the fifth
109
+ row of the grid; the version on the website now reflects this
110
+ correction.
111
+ </p>
112
+ <p class="hqupdate">
113
+ <h3>Saturday at 3:31 AM</h3>
114
+ For the puzzle "Choose Your Language", the line beginning "The four ninja warrior turtles..." was
115
+ extraneous and has been removed.
116
+ </p>
117
+ <p class="hqupdate">
118
+ <h3>Saturday at 4:31 AM</h3>
119
+ For the puzzle "Welcome to Dead Waters", the last line has been changed.
120
+ </p>
121
+ <p class="hqupdate">
122
+ <h3>Saturday at 9:17 AM</h3>
123
+ For the puzzle "Ocean Meta Meta", the letter I should be included in the list of letters that contain a vertical mirror plane.
124
+ </p>
125
+ <p class="hqupdate">
126
+ <h3>Saturday at 12:40 PM</h3>
127
+ Dr. Nautilus wants to make sure that you have all noticed the puzzle "Field Trip", which you should now be able to see. She thought you might be interested in taking a look at it soon if you haven't already!
128
+ </p>
129
+
130
+ <p class="hqupdate">
131
+ <h3>Saturday at 05:28 PM</h3>
132
+ <p>The tombstone for Neptune III should have the text &quot;Neptune III&quot; or just &quot;Neptune&quot; replaced with &quot;Blue Stream&quot; each place it appears. This update should be live on the website now.</p>
133
+ </p>
134
+
135
+ <p class="hqupdate">
136
+ <h3>Saturday at 06:06 PM</h3>
137
+ <p>Dr. Nautilus has generously given you access to the entirety of the Chemistry Lab. Happy puzzling!<br /></p>
138
+ </p>
139
+
140
+ <p class="hqupdate">
141
+ <h3>Saturday at 11:51 PM</h3>
142
+ <p>Hi teams,</p>
143
+
144
+ <p>We&#39;ve fixed the bug that was causing display issues on the hints page. Please refresh your page and check for anything you might have missed.</p>
145
+
146
+ <p>Sealab</p>
147
+ </p>
148
+
149
+ <p class="hqupdate">
150
+ <h3>Sunday at 05:12 AM</h3>
151
+ <p>I am pleased to announce that the Nautilodestone was found by Luck, I Am Your Father at 5:02 AM on Sunday, January 18, 2015.</p>
152
+
153
+ <p>Sealab will remain open until 6:00 PM today. Wrapup will be tomorrow, Monday, January 19, at 12:17 PM, in Kresge Auditorium.</p>
154
+
155
+ <p>Congratulations to Luck, I Am Your Father! I look forward to learning of their plans for future exploration.</p>
156
+
157
+ <p>Dr. Nautilus</p>
158
+ </p>
159
+
160
+ <p class="hqupdate">
161
+ <h3>Sunday at 08:34 AM</h3>
162
+ <p>Sealab is happy to report that the Oracle is now able to answer questions about meta puzzles and metameta puzzles.</p>
163
+ </p>
164
+
165
+ <p class="hqupdate">
166
+ <h3>Sunday at 12:31 PM</h3>
167
+ <p>Hello hunters,</p>
168
+
169
+ <p>The pizza for the study break sponsored by Hudson River Trading arrived early, so come get it while it&#39;s hot! The study break is on the third floor of the student center.</p>
170
+
171
+ <p>I&#39;ll be closing Sealab at 6:17pm tonight. After you finish solving, if you got a team base from us, please make sure to clean up the room, make sure the desks or chairs are arranged the way they were when you got the room -- set up for a class -- and that anything you brought to the room is removed. We&#39;d like all of that to be completed by Monday at 9am, but let Sealab know if your team will need more time to clean up.</p>
172
+
173
+ <p>Finally, wrap-up will be at 12:17pm on Monday in Kresge Auditorium (W16). I hope to see you there!</p>
174
+
175
+ <p>-Dr. N.</p>
176
+ </p>
177
+
178
+ <p class="hqupdate">
179
+ <h3>Sunday at 06:24 PM</h3>
180
+ <p>Hello hunters,</p>
181
+
182
+ <p>Sealab is now closed, but Dr. Nautilus wanted to remind you to submit puzzle feedback surveys! In case you missed it, there&#39;s a &quot;Submit Feedback&quot; link in the corner of every puzzle page, and we&#39;d love to know what you loved and didn&#39;t love about the puzzles.</p>
183
+
184
+ <p>Wrapup will be tomorrow (Monday) at 12:17 pm in Kresge Auditorium.</p>
185
+
186
+ <p>As a reminder, please please clean up your rooms if you have rooms reserved on campus. Make sure that all of the trash is picked up, the surfaces are clean, the chairs and tables are arranged normally as when you found them, and the boards are erased. Failure to do so will endanger the Mystery Hunt&#39;s ability to continue to reserve space on campus in future hunts.</p>
187
+
188
+ <p>Thanks!</p>
189
+
190
+ <p>-Sealab</p>
191
+ </p>
192
+
193
+ <p class="hqupdate">
194
+ <h3>Sunday at 07:51 PM</h3>
195
+ <p>Hello hunters,</p>
196
+
197
+ <p>Now that the Nautilodestones have been found and Sealab is packing up, I&#39;ve posted the solutions to all of the puzzles you found in the ocean on the M.Y.S.T.E.R.Y. H.U.N.T. website. Thanks for joining my exploration!</p>
198
+
199
+ <p>We will be selling more M.Y.S.T.E.R.Y. H.U.N.T. shirts at Wrap-up tomorrow, so if you didn&#39;t get a chance to buy them, you can do so then. And we can now confirm that, indeed, they are (part of) a puzzle.</p>
200
+
201
+ <p>-Dr. N.</p>
202
+ </p>
203
+
204
+
205
+ </div>
206
+
207
+
208
+
209
+
210
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
211
+
212
+
213
+ </body>
214
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/bootstrap.js ADDED
@@ -0,0 +1,2107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * Bootstrap: affix.js v3.2.0
3
+ * http://getbootstrap.com/javascript/#affix
4
+ * ========================================================================
5
+ * Copyright 2011-2014 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // AFFIX CLASS DEFINITION
14
+ // ======================
15
+
16
+ var Affix = function (element, options) {
17
+ this.options = $.extend({}, Affix.DEFAULTS, options)
18
+
19
+ this.$target = $(this.options.target)
20
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
21
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
22
+
23
+ this.$element = $(element)
24
+ this.affixed =
25
+ this.unpin =
26
+ this.pinnedOffset = null
27
+
28
+ this.checkPosition()
29
+ }
30
+
31
+ Affix.VERSION = '3.2.0'
32
+
33
+ Affix.RESET = 'affix affix-top affix-bottom'
34
+
35
+ Affix.DEFAULTS = {
36
+ offset: 0,
37
+ target: window
38
+ }
39
+
40
+ Affix.prototype.getPinnedOffset = function () {
41
+ if (this.pinnedOffset) return this.pinnedOffset
42
+ this.$element.removeClass(Affix.RESET).addClass('affix')
43
+ var scrollTop = this.$target.scrollTop()
44
+ var position = this.$element.offset()
45
+ return (this.pinnedOffset = position.top - scrollTop)
46
+ }
47
+
48
+ Affix.prototype.checkPositionWithEventLoop = function () {
49
+ setTimeout($.proxy(this.checkPosition, this), 1)
50
+ }
51
+
52
+ Affix.prototype.checkPosition = function () {
53
+ if (!this.$element.is(':visible')) return
54
+
55
+ var scrollHeight = $(document).height()
56
+ var scrollTop = this.$target.scrollTop()
57
+ var position = this.$element.offset()
58
+ var offset = this.options.offset
59
+ var offsetTop = offset.top
60
+ var offsetBottom = offset.bottom
61
+
62
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
63
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
64
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
65
+
66
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
67
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
68
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
69
+
70
+ if (this.affixed === affix) return
71
+ if (this.unpin != null) this.$element.css('top', '')
72
+
73
+ var affixType = 'affix' + (affix ? '-' + affix : '')
74
+ var e = $.Event(affixType + '.bs.affix')
75
+
76
+ this.$element.trigger(e)
77
+
78
+ if (e.isDefaultPrevented()) return
79
+
80
+ this.affixed = affix
81
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
82
+
83
+ this.$element
84
+ .removeClass(Affix.RESET)
85
+ .addClass(affixType)
86
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
87
+
88
+ if (affix == 'bottom') {
89
+ this.$element.offset({
90
+ top: scrollHeight - this.$element.height() - offsetBottom
91
+ })
92
+ }
93
+ }
94
+
95
+
96
+ // AFFIX PLUGIN DEFINITION
97
+ // =======================
98
+
99
+ function Plugin(option) {
100
+ return this.each(function () {
101
+ var $this = $(this)
102
+ var data = $this.data('bs.affix')
103
+ var options = typeof option == 'object' && option
104
+
105
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
106
+ if (typeof option == 'string') data[option]()
107
+ })
108
+ }
109
+
110
+ var old = $.fn.affix
111
+
112
+ $.fn.affix = Plugin
113
+ $.fn.affix.Constructor = Affix
114
+
115
+
116
+ // AFFIX NO CONFLICT
117
+ // =================
118
+
119
+ $.fn.affix.noConflict = function () {
120
+ $.fn.affix = old
121
+ return this
122
+ }
123
+
124
+
125
+ // AFFIX DATA-API
126
+ // ==============
127
+
128
+ $(window).on('load', function () {
129
+ $('[data-spy="affix"]').each(function () {
130
+ var $spy = $(this)
131
+ var data = $spy.data()
132
+
133
+ data.offset = data.offset || {}
134
+
135
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
136
+ if (data.offsetTop) data.offset.top = data.offsetTop
137
+
138
+ Plugin.call($spy, data)
139
+ })
140
+ })
141
+
142
+ }(jQuery);
143
+
144
+ /* ========================================================================
145
+ * Bootstrap: alert.js v3.2.0
146
+ * http://getbootstrap.com/javascript/#alerts
147
+ * ========================================================================
148
+ * Copyright 2011-2014 Twitter, Inc.
149
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
150
+ * ======================================================================== */
151
+
152
+
153
+ +function ($) {
154
+ 'use strict';
155
+
156
+ // ALERT CLASS DEFINITION
157
+ // ======================
158
+
159
+ var dismiss = '[data-dismiss="alert"]'
160
+ var Alert = function (el) {
161
+ $(el).on('click', dismiss, this.close)
162
+ }
163
+
164
+ Alert.VERSION = '3.2.0'
165
+
166
+ Alert.prototype.close = function (e) {
167
+ var $this = $(this)
168
+ var selector = $this.attr('data-target')
169
+
170
+ if (!selector) {
171
+ selector = $this.attr('href')
172
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
173
+ }
174
+
175
+ var $parent = $(selector)
176
+
177
+ if (e) e.preventDefault()
178
+
179
+ if (!$parent.length) {
180
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
181
+ }
182
+
183
+ $parent.trigger(e = $.Event('close.bs.alert'))
184
+
185
+ if (e.isDefaultPrevented()) return
186
+
187
+ $parent.removeClass('in')
188
+
189
+ function removeElement() {
190
+ // detach from parent, fire event then clean up data
191
+ $parent.detach().trigger('closed.bs.alert').remove()
192
+ }
193
+
194
+ $.support.transition && $parent.hasClass('fade') ?
195
+ $parent
196
+ .one('bsTransitionEnd', removeElement)
197
+ .emulateTransitionEnd(150) :
198
+ removeElement()
199
+ }
200
+
201
+
202
+ // ALERT PLUGIN DEFINITION
203
+ // =======================
204
+
205
+ function Plugin(option) {
206
+ return this.each(function () {
207
+ var $this = $(this)
208
+ var data = $this.data('bs.alert')
209
+
210
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
211
+ if (typeof option == 'string') data[option].call($this)
212
+ })
213
+ }
214
+
215
+ var old = $.fn.alert
216
+
217
+ $.fn.alert = Plugin
218
+ $.fn.alert.Constructor = Alert
219
+
220
+
221
+ // ALERT NO CONFLICT
222
+ // =================
223
+
224
+ $.fn.alert.noConflict = function () {
225
+ $.fn.alert = old
226
+ return this
227
+ }
228
+
229
+
230
+ // ALERT DATA-API
231
+ // ==============
232
+
233
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
234
+
235
+ }(jQuery);
236
+
237
+ /* ========================================================================
238
+ * Bootstrap: button.js v3.2.0
239
+ * http://getbootstrap.com/javascript/#buttons
240
+ * ========================================================================
241
+ * Copyright 2011-2014 Twitter, Inc.
242
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
243
+ * ======================================================================== */
244
+
245
+
246
+ +function ($) {
247
+ 'use strict';
248
+
249
+ // BUTTON PUBLIC CLASS DEFINITION
250
+ // ==============================
251
+
252
+ var Button = function (element, options) {
253
+ this.$element = $(element)
254
+ this.options = $.extend({}, Button.DEFAULTS, options)
255
+ this.isLoading = false
256
+ }
257
+
258
+ Button.VERSION = '3.2.0'
259
+
260
+ Button.DEFAULTS = {
261
+ loadingText: 'loading...'
262
+ }
263
+
264
+ Button.prototype.setState = function (state) {
265
+ var d = 'disabled'
266
+ var $el = this.$element
267
+ var val = $el.is('input') ? 'val' : 'html'
268
+ var data = $el.data()
269
+
270
+ state = state + 'Text'
271
+
272
+ if (data.resetText == null) $el.data('resetText', $el[val]())
273
+
274
+ $el[val](data[state] == null ? this.options[state] : data[state])
275
+
276
+ // push to event loop to allow forms to submit
277
+ setTimeout($.proxy(function () {
278
+ if (state == 'loadingText') {
279
+ this.isLoading = true
280
+ $el.addClass(d).attr(d, d)
281
+ } else if (this.isLoading) {
282
+ this.isLoading = false
283
+ $el.removeClass(d).removeAttr(d)
284
+ }
285
+ }, this), 0)
286
+ }
287
+
288
+ Button.prototype.toggle = function () {
289
+ var changed = true
290
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
291
+
292
+ if ($parent.length) {
293
+ var $input = this.$element.find('input')
294
+ if ($input.prop('type') == 'radio') {
295
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
296
+ else $parent.find('.active').removeClass('active')
297
+ }
298
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
299
+ }
300
+
301
+ if (changed) this.$element.toggleClass('active')
302
+ }
303
+
304
+
305
+ // BUTTON PLUGIN DEFINITION
306
+ // ========================
307
+
308
+ function Plugin(option) {
309
+ return this.each(function () {
310
+ var $this = $(this)
311
+ var data = $this.data('bs.button')
312
+ var options = typeof option == 'object' && option
313
+
314
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
315
+
316
+ if (option == 'toggle') data.toggle()
317
+ else if (option) data.setState(option)
318
+ })
319
+ }
320
+
321
+ var old = $.fn.button
322
+
323
+ $.fn.button = Plugin
324
+ $.fn.button.Constructor = Button
325
+
326
+
327
+ // BUTTON NO CONFLICT
328
+ // ==================
329
+
330
+ $.fn.button.noConflict = function () {
331
+ $.fn.button = old
332
+ return this
333
+ }
334
+
335
+
336
+ // BUTTON DATA-API
337
+ // ===============
338
+
339
+ $(document).on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
340
+ var $btn = $(e.target)
341
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
342
+ Plugin.call($btn, 'toggle')
343
+ e.preventDefault()
344
+ })
345
+
346
+ }(jQuery);
347
+
348
+ /* ========================================================================
349
+ * Bootstrap: carousel.js v3.2.0
350
+ * http://getbootstrap.com/javascript/#carousel
351
+ * ========================================================================
352
+ * Copyright 2011-2014 Twitter, Inc.
353
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
354
+ * ======================================================================== */
355
+
356
+
357
+ +function ($) {
358
+ 'use strict';
359
+
360
+ // CAROUSEL CLASS DEFINITION
361
+ // =========================
362
+
363
+ var Carousel = function (element, options) {
364
+ this.$element = $(element).on('keydown.bs.carousel', $.proxy(this.keydown, this))
365
+ this.$indicators = this.$element.find('.carousel-indicators')
366
+ this.options = options
367
+ this.paused =
368
+ this.sliding =
369
+ this.interval =
370
+ this.$active =
371
+ this.$items = null
372
+
373
+ this.options.pause == 'hover' && this.$element
374
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
375
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
376
+ }
377
+
378
+ Carousel.VERSION = '3.2.0'
379
+
380
+ Carousel.DEFAULTS = {
381
+ interval: 5000,
382
+ pause: 'hover',
383
+ wrap: true
384
+ }
385
+
386
+ Carousel.prototype.keydown = function (e) {
387
+ switch (e.which) {
388
+ case 37: this.prev(); break
389
+ case 39: this.next(); break
390
+ default: return
391
+ }
392
+
393
+ e.preventDefault()
394
+ }
395
+
396
+ Carousel.prototype.cycle = function (e) {
397
+ e || (this.paused = false)
398
+
399
+ this.interval && clearInterval(this.interval)
400
+
401
+ this.options.interval
402
+ && !this.paused
403
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
404
+
405
+ return this
406
+ }
407
+
408
+ Carousel.prototype.getItemIndex = function (item) {
409
+ this.$items = item.parent().children('.item')
410
+ return this.$items.index(item || this.$active)
411
+ }
412
+
413
+ Carousel.prototype.to = function (pos) {
414
+ var that = this
415
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
416
+
417
+ if (pos > (this.$items.length - 1) || pos < 0) return
418
+
419
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
420
+ if (activeIndex == pos) return this.pause().cycle()
421
+
422
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
423
+ }
424
+
425
+ Carousel.prototype.pause = function (e) {
426
+ e || (this.paused = true)
427
+
428
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
429
+ this.$element.trigger($.support.transition.end)
430
+ this.cycle(true)
431
+ }
432
+
433
+ this.interval = clearInterval(this.interval)
434
+
435
+ return this
436
+ }
437
+
438
+ Carousel.prototype.next = function () {
439
+ if (this.sliding) return
440
+ return this.slide('next')
441
+ }
442
+
443
+ Carousel.prototype.prev = function () {
444
+ if (this.sliding) return
445
+ return this.slide('prev')
446
+ }
447
+
448
+ Carousel.prototype.slide = function (type, next) {
449
+ var $active = this.$element.find('.item.active')
450
+ var $next = next || $active[type]()
451
+ var isCycling = this.interval
452
+ var direction = type == 'next' ? 'left' : 'right'
453
+ var fallback = type == 'next' ? 'first' : 'last'
454
+ var that = this
455
+
456
+ if (!$next.length) {
457
+ if (!this.options.wrap) return
458
+ $next = this.$element.find('.item')[fallback]()
459
+ }
460
+
461
+ if ($next.hasClass('active')) return (this.sliding = false)
462
+
463
+ var relatedTarget = $next[0]
464
+ var slideEvent = $.Event('slide.bs.carousel', {
465
+ relatedTarget: relatedTarget,
466
+ direction: direction
467
+ })
468
+ this.$element.trigger(slideEvent)
469
+ if (slideEvent.isDefaultPrevented()) return
470
+
471
+ this.sliding = true
472
+
473
+ isCycling && this.pause()
474
+
475
+ if (this.$indicators.length) {
476
+ this.$indicators.find('.active').removeClass('active')
477
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
478
+ $nextIndicator && $nextIndicator.addClass('active')
479
+ }
480
+
481
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
482
+ if ($.support.transition && this.$element.hasClass('slide')) {
483
+ $next.addClass(type)
484
+ $next[0].offsetWidth // force reflow
485
+ $active.addClass(direction)
486
+ $next.addClass(direction)
487
+ $active
488
+ .one('bsTransitionEnd', function () {
489
+ $next.removeClass([type, direction].join(' ')).addClass('active')
490
+ $active.removeClass(['active', direction].join(' '))
491
+ that.sliding = false
492
+ setTimeout(function () {
493
+ that.$element.trigger(slidEvent)
494
+ }, 0)
495
+ })
496
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
497
+ } else {
498
+ $active.removeClass('active')
499
+ $next.addClass('active')
500
+ this.sliding = false
501
+ this.$element.trigger(slidEvent)
502
+ }
503
+
504
+ isCycling && this.cycle()
505
+
506
+ return this
507
+ }
508
+
509
+
510
+ // CAROUSEL PLUGIN DEFINITION
511
+ // ==========================
512
+
513
+ function Plugin(option) {
514
+ return this.each(function () {
515
+ var $this = $(this)
516
+ var data = $this.data('bs.carousel')
517
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
518
+ var action = typeof option == 'string' ? option : options.slide
519
+
520
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
521
+ if (typeof option == 'number') data.to(option)
522
+ else if (action) data[action]()
523
+ else if (options.interval) data.pause().cycle()
524
+ })
525
+ }
526
+
527
+ var old = $.fn.carousel
528
+
529
+ $.fn.carousel = Plugin
530
+ $.fn.carousel.Constructor = Carousel
531
+
532
+
533
+ // CAROUSEL NO CONFLICT
534
+ // ====================
535
+
536
+ $.fn.carousel.noConflict = function () {
537
+ $.fn.carousel = old
538
+ return this
539
+ }
540
+
541
+
542
+ // CAROUSEL DATA-API
543
+ // =================
544
+
545
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
546
+ var href
547
+ var $this = $(this)
548
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
549
+ if (!$target.hasClass('carousel')) return
550
+ var options = $.extend({}, $target.data(), $this.data())
551
+ var slideIndex = $this.attr('data-slide-to')
552
+ if (slideIndex) options.interval = false
553
+
554
+ Plugin.call($target, options)
555
+
556
+ if (slideIndex) {
557
+ $target.data('bs.carousel').to(slideIndex)
558
+ }
559
+
560
+ e.preventDefault()
561
+ })
562
+
563
+ $(window).on('load', function () {
564
+ $('[data-ride="carousel"]').each(function () {
565
+ var $carousel = $(this)
566
+ Plugin.call($carousel, $carousel.data())
567
+ })
568
+ })
569
+
570
+ }(jQuery);
571
+
572
+ /* ========================================================================
573
+ * Bootstrap: collapse.js v3.2.0
574
+ * http://getbootstrap.com/javascript/#collapse
575
+ * ========================================================================
576
+ * Copyright 2011-2014 Twitter, Inc.
577
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
578
+ * ======================================================================== */
579
+
580
+
581
+ +function ($) {
582
+ 'use strict';
583
+
584
+ // COLLAPSE PUBLIC CLASS DEFINITION
585
+ // ================================
586
+
587
+ var Collapse = function (element, options) {
588
+ this.$element = $(element)
589
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
590
+ this.transitioning = null
591
+
592
+ if (this.options.parent) this.$parent = $(this.options.parent)
593
+ if (this.options.toggle) this.toggle()
594
+ }
595
+
596
+ Collapse.VERSION = '3.2.0'
597
+
598
+ Collapse.DEFAULTS = {
599
+ toggle: true
600
+ }
601
+
602
+ Collapse.prototype.dimension = function () {
603
+ var hasWidth = this.$element.hasClass('width')
604
+ return hasWidth ? 'width' : 'height'
605
+ }
606
+
607
+ Collapse.prototype.show = function () {
608
+ if (this.transitioning || this.$element.hasClass('in')) return
609
+
610
+ var startEvent = $.Event('show.bs.collapse')
611
+ this.$element.trigger(startEvent)
612
+ if (startEvent.isDefaultPrevented()) return
613
+
614
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
615
+
616
+ if (actives && actives.length) {
617
+ var hasData = actives.data('bs.collapse')
618
+ if (hasData && hasData.transitioning) return
619
+ Plugin.call(actives, 'hide')
620
+ hasData || actives.data('bs.collapse', null)
621
+ }
622
+
623
+ var dimension = this.dimension()
624
+
625
+ this.$element
626
+ .removeClass('collapse')
627
+ .addClass('collapsing')[dimension](0)
628
+
629
+ this.transitioning = 1
630
+
631
+ var complete = function () {
632
+ this.$element
633
+ .removeClass('collapsing')
634
+ .addClass('collapse in')[dimension]('')
635
+ this.transitioning = 0
636
+ this.$element
637
+ .trigger('shown.bs.collapse')
638
+ }
639
+
640
+ if (!$.support.transition) return complete.call(this)
641
+
642
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
643
+
644
+ this.$element
645
+ .one('bsTransitionEnd', $.proxy(complete, this))
646
+ .emulateTransitionEnd(350)[dimension](this.$element[0][scrollSize])
647
+ }
648
+
649
+ Collapse.prototype.hide = function () {
650
+ if (this.transitioning || !this.$element.hasClass('in')) return
651
+
652
+ var startEvent = $.Event('hide.bs.collapse')
653
+ this.$element.trigger(startEvent)
654
+ if (startEvent.isDefaultPrevented()) return
655
+
656
+ var dimension = this.dimension()
657
+
658
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
659
+
660
+ this.$element
661
+ .addClass('collapsing')
662
+ .removeClass('collapse')
663
+ .removeClass('in')
664
+
665
+ this.transitioning = 1
666
+
667
+ var complete = function () {
668
+ this.transitioning = 0
669
+ this.$element
670
+ .trigger('hidden.bs.collapse')
671
+ .removeClass('collapsing')
672
+ .addClass('collapse')
673
+ }
674
+
675
+ if (!$.support.transition) return complete.call(this)
676
+
677
+ this.$element
678
+ [dimension](0)
679
+ .one('bsTransitionEnd', $.proxy(complete, this))
680
+ .emulateTransitionEnd(350)
681
+ }
682
+
683
+ Collapse.prototype.toggle = function () {
684
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
685
+ }
686
+
687
+
688
+ // COLLAPSE PLUGIN DEFINITION
689
+ // ==========================
690
+
691
+ function Plugin(option) {
692
+ return this.each(function () {
693
+ var $this = $(this)
694
+ var data = $this.data('bs.collapse')
695
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
696
+
697
+ if (!data && options.toggle && option == 'show') option = !option
698
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
699
+ if (typeof option == 'string') data[option]()
700
+ })
701
+ }
702
+
703
+ var old = $.fn.collapse
704
+
705
+ $.fn.collapse = Plugin
706
+ $.fn.collapse.Constructor = Collapse
707
+
708
+
709
+ // COLLAPSE NO CONFLICT
710
+ // ====================
711
+
712
+ $.fn.collapse.noConflict = function () {
713
+ $.fn.collapse = old
714
+ return this
715
+ }
716
+
717
+
718
+ // COLLAPSE DATA-API
719
+ // =================
720
+
721
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
722
+ var href
723
+ var $this = $(this)
724
+ var target = $this.attr('data-target')
725
+ || e.preventDefault()
726
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
727
+ var $target = $(target)
728
+ var data = $target.data('bs.collapse')
729
+ var option = data ? 'toggle' : $this.data()
730
+ var parent = $this.attr('data-parent')
731
+ var $parent = parent && $(parent)
732
+
733
+ if (!data || !data.transitioning) {
734
+ if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
735
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
736
+ }
737
+
738
+ Plugin.call($target, option)
739
+ })
740
+
741
+ }(jQuery);
742
+
743
+ /* ========================================================================
744
+ * Bootstrap: dropdown.js v3.2.0
745
+ * http://getbootstrap.com/javascript/#dropdowns
746
+ * ========================================================================
747
+ * Copyright 2011-2014 Twitter, Inc.
748
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
749
+ * ======================================================================== */
750
+
751
+
752
+ +function ($) {
753
+ 'use strict';
754
+
755
+ // DROPDOWN CLASS DEFINITION
756
+ // =========================
757
+
758
+ var backdrop = '.dropdown-backdrop'
759
+ var toggle = '[data-toggle="dropdown"]'
760
+ var Dropdown = function (element) {
761
+ $(element).on('click.bs.dropdown', this.toggle)
762
+ }
763
+
764
+ Dropdown.VERSION = '3.2.0'
765
+
766
+ Dropdown.prototype.toggle = function (e) {
767
+ var $this = $(this)
768
+
769
+ if ($this.is('.disabled, :disabled')) return
770
+
771
+ var $parent = getParent($this)
772
+ var isActive = $parent.hasClass('open')
773
+
774
+ clearMenus()
775
+
776
+ if (!isActive) {
777
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
778
+ // if mobile we use a backdrop because click events don't delegate
779
+ $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
780
+ }
781
+
782
+ var relatedTarget = { relatedTarget: this }
783
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
784
+
785
+ if (e.isDefaultPrevented()) return
786
+
787
+ $this.trigger('focus')
788
+
789
+ $parent
790
+ .toggleClass('open')
791
+ .trigger('shown.bs.dropdown', relatedTarget)
792
+ }
793
+
794
+ return false
795
+ }
796
+
797
+ Dropdown.prototype.keydown = function (e) {
798
+ if (!/(38|40|27)/.test(e.keyCode)) return
799
+
800
+ var $this = $(this)
801
+
802
+ e.preventDefault()
803
+ e.stopPropagation()
804
+
805
+ if ($this.is('.disabled, :disabled')) return
806
+
807
+ var $parent = getParent($this)
808
+ var isActive = $parent.hasClass('open')
809
+
810
+ if (!isActive || (isActive && e.keyCode == 27)) {
811
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
812
+ return $this.trigger('click')
813
+ }
814
+
815
+ var desc = ' li:not(.divider):visible a'
816
+ var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
817
+
818
+ if (!$items.length) return
819
+
820
+ var index = $items.index($items.filter(':focus'))
821
+
822
+ if (e.keyCode == 38 && index > 0) index-- // up
823
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
824
+ if (!~index) index = 0
825
+
826
+ $items.eq(index).trigger('focus')
827
+ }
828
+
829
+ function clearMenus(e) {
830
+ if (e && e.which === 3) return
831
+ $(backdrop).remove()
832
+ $(toggle).each(function () {
833
+ var $parent = getParent($(this))
834
+ var relatedTarget = { relatedTarget: this }
835
+ if (!$parent.hasClass('open')) return
836
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
837
+ if (e.isDefaultPrevented()) return
838
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
839
+ })
840
+ }
841
+
842
+ function getParent($this) {
843
+ var selector = $this.attr('data-target')
844
+
845
+ if (!selector) {
846
+ selector = $this.attr('href')
847
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
848
+ }
849
+
850
+ var $parent = selector && $(selector)
851
+
852
+ return $parent && $parent.length ? $parent : $this.parent()
853
+ }
854
+
855
+
856
+ // DROPDOWN PLUGIN DEFINITION
857
+ // ==========================
858
+
859
+ function Plugin(option) {
860
+ return this.each(function () {
861
+ var $this = $(this)
862
+ var data = $this.data('bs.dropdown')
863
+
864
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
865
+ if (typeof option == 'string') data[option].call($this)
866
+ })
867
+ }
868
+
869
+ var old = $.fn.dropdown
870
+
871
+ $.fn.dropdown = Plugin
872
+ $.fn.dropdown.Constructor = Dropdown
873
+
874
+
875
+ // DROPDOWN NO CONFLICT
876
+ // ====================
877
+
878
+ $.fn.dropdown.noConflict = function () {
879
+ $.fn.dropdown = old
880
+ return this
881
+ }
882
+
883
+
884
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
885
+ // ===================================
886
+
887
+ $(document)
888
+ .on('click.bs.dropdown.data-api', clearMenus)
889
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
890
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
891
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
892
+
893
+ }(jQuery);
894
+
895
+ /* ========================================================================
896
+ * Bootstrap: tab.js v3.2.0
897
+ * http://getbootstrap.com/javascript/#tabs
898
+ * ========================================================================
899
+ * Copyright 2011-2014 Twitter, Inc.
900
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
901
+ * ======================================================================== */
902
+
903
+
904
+ +function ($) {
905
+ 'use strict';
906
+
907
+ // TAB CLASS DEFINITION
908
+ // ====================
909
+
910
+ var Tab = function (element) {
911
+ this.element = $(element)
912
+ }
913
+
914
+ Tab.VERSION = '3.2.0'
915
+
916
+ Tab.prototype.show = function () {
917
+ var $this = this.element
918
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
919
+ var selector = $this.data('target')
920
+
921
+ if (!selector) {
922
+ selector = $this.attr('href')
923
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
924
+ }
925
+
926
+ if ($this.parent('li').hasClass('active')) return
927
+
928
+ var previous = $ul.find('.active:last a')[0]
929
+ var e = $.Event('show.bs.tab', {
930
+ relatedTarget: previous
931
+ })
932
+
933
+ $this.trigger(e)
934
+
935
+ if (e.isDefaultPrevented()) return
936
+
937
+ var $target = $(selector)
938
+
939
+ this.activate($this.closest('li'), $ul)
940
+ this.activate($target, $target.parent(), function () {
941
+ $this.trigger({
942
+ type: 'shown.bs.tab',
943
+ relatedTarget: previous
944
+ })
945
+ })
946
+ }
947
+
948
+ Tab.prototype.activate = function (element, container, callback) {
949
+ var $active = container.find('> .active')
950
+ var transition = callback
951
+ && $.support.transition
952
+ && $active.hasClass('fade')
953
+
954
+ function next() {
955
+ $active
956
+ .removeClass('active')
957
+ .find('> .dropdown-menu > .active')
958
+ .removeClass('active')
959
+
960
+ element.addClass('active')
961
+
962
+ if (transition) {
963
+ element[0].offsetWidth // reflow for transition
964
+ element.addClass('in')
965
+ } else {
966
+ element.removeClass('fade')
967
+ }
968
+
969
+ if (element.parent('.dropdown-menu')) {
970
+ element.closest('li.dropdown').addClass('active')
971
+ }
972
+
973
+ callback && callback()
974
+ }
975
+
976
+ transition ?
977
+ $active
978
+ .one('bsTransitionEnd', next)
979
+ .emulateTransitionEnd(150) :
980
+ next()
981
+
982
+ $active.removeClass('in')
983
+ }
984
+
985
+
986
+ // TAB PLUGIN DEFINITION
987
+ // =====================
988
+
989
+ function Plugin(option) {
990
+ return this.each(function () {
991
+ var $this = $(this)
992
+ var data = $this.data('bs.tab')
993
+
994
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
995
+ if (typeof option == 'string') data[option]()
996
+ })
997
+ }
998
+
999
+ var old = $.fn.tab
1000
+
1001
+ $.fn.tab = Plugin
1002
+ $.fn.tab.Constructor = Tab
1003
+
1004
+
1005
+ // TAB NO CONFLICT
1006
+ // ===============
1007
+
1008
+ $.fn.tab.noConflict = function () {
1009
+ $.fn.tab = old
1010
+ return this
1011
+ }
1012
+
1013
+
1014
+ // TAB DATA-API
1015
+ // ============
1016
+
1017
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
1018
+ e.preventDefault()
1019
+ Plugin.call($(this), 'show')
1020
+ })
1021
+
1022
+ }(jQuery);
1023
+
1024
+ /* ========================================================================
1025
+ * Bootstrap: transition.js v3.2.0
1026
+ * http://getbootstrap.com/javascript/#transitions
1027
+ * ========================================================================
1028
+ * Copyright 2011-2014 Twitter, Inc.
1029
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1030
+ * ======================================================================== */
1031
+
1032
+
1033
+ +function ($) {
1034
+ 'use strict';
1035
+
1036
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
1037
+ // ============================================================
1038
+
1039
+ function transitionEnd() {
1040
+ var el = document.createElement('bootstrap')
1041
+
1042
+ var transEndEventNames = {
1043
+ WebkitTransition : 'webkitTransitionEnd',
1044
+ MozTransition : 'transitionend',
1045
+ OTransition : 'oTransitionEnd otransitionend',
1046
+ transition : 'transitionend'
1047
+ }
1048
+
1049
+ for (var name in transEndEventNames) {
1050
+ if (el.style[name] !== undefined) {
1051
+ return { end: transEndEventNames[name] }
1052
+ }
1053
+ }
1054
+
1055
+ return false // explicit for ie8 ( ._.)
1056
+ }
1057
+
1058
+ // http://blog.alexmaccaw.com/css-transitions
1059
+ $.fn.emulateTransitionEnd = function (duration) {
1060
+ var called = false
1061
+ var $el = this
1062
+ $(this).one('bsTransitionEnd', function () { called = true })
1063
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
1064
+ setTimeout(callback, duration)
1065
+ return this
1066
+ }
1067
+
1068
+ $(function () {
1069
+ $.support.transition = transitionEnd()
1070
+
1071
+ if (!$.support.transition) return
1072
+
1073
+ $.event.special.bsTransitionEnd = {
1074
+ bindType: $.support.transition.end,
1075
+ delegateType: $.support.transition.end,
1076
+ handle: function (e) {
1077
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
1078
+ }
1079
+ }
1080
+ })
1081
+
1082
+ }(jQuery);
1083
+
1084
+ /* ========================================================================
1085
+ * Bootstrap: scrollspy.js v3.2.0
1086
+ * http://getbootstrap.com/javascript/#scrollspy
1087
+ * ========================================================================
1088
+ * Copyright 2011-2014 Twitter, Inc.
1089
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1090
+ * ======================================================================== */
1091
+
1092
+
1093
+ +function ($) {
1094
+ 'use strict';
1095
+
1096
+ // SCROLLSPY CLASS DEFINITION
1097
+ // ==========================
1098
+
1099
+ function ScrollSpy(element, options) {
1100
+ var process = $.proxy(this.process, this)
1101
+
1102
+ this.$body = $('body')
1103
+ this.$scrollElement = $(element).is('body') ? $(window) : $(element)
1104
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1105
+ this.selector = (this.options.target || '') + ' .nav li > a'
1106
+ this.offsets = []
1107
+ this.targets = []
1108
+ this.activeTarget = null
1109
+ this.scrollHeight = 0
1110
+
1111
+ this.$scrollElement.on('scroll.bs.scrollspy', process)
1112
+ this.refresh()
1113
+ this.process()
1114
+ }
1115
+
1116
+ ScrollSpy.VERSION = '3.2.0'
1117
+
1118
+ ScrollSpy.DEFAULTS = {
1119
+ offset: 10
1120
+ }
1121
+
1122
+ ScrollSpy.prototype.getScrollHeight = function () {
1123
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1124
+ }
1125
+
1126
+ ScrollSpy.prototype.refresh = function () {
1127
+ var offsetMethod = 'offset'
1128
+ var offsetBase = 0
1129
+
1130
+ if (!$.isWindow(this.$scrollElement[0])) {
1131
+ offsetMethod = 'position'
1132
+ offsetBase = this.$scrollElement.scrollTop()
1133
+ }
1134
+
1135
+ this.offsets = []
1136
+ this.targets = []
1137
+ this.scrollHeight = this.getScrollHeight()
1138
+
1139
+ var self = this
1140
+
1141
+ this.$body
1142
+ .find(this.selector)
1143
+ .map(function () {
1144
+ var $el = $(this)
1145
+ var href = $el.data('target') || $el.attr('href')
1146
+ var $href = /^#./.test(href) && $(href)
1147
+
1148
+ return ($href
1149
+ && $href.length
1150
+ && $href.is(':visible')
1151
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1152
+ })
1153
+ .sort(function (a, b) { return a[0] - b[0] })
1154
+ .each(function () {
1155
+ self.offsets.push(this[0])
1156
+ self.targets.push(this[1])
1157
+ })
1158
+ }
1159
+
1160
+ ScrollSpy.prototype.process = function () {
1161
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1162
+ var scrollHeight = this.getScrollHeight()
1163
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1164
+ var offsets = this.offsets
1165
+ var targets = this.targets
1166
+ var activeTarget = this.activeTarget
1167
+ var i
1168
+
1169
+ if (this.scrollHeight != scrollHeight) {
1170
+ this.refresh()
1171
+ }
1172
+
1173
+ if (scrollTop >= maxScroll) {
1174
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1175
+ }
1176
+
1177
+ if (activeTarget && scrollTop <= offsets[0]) {
1178
+ return activeTarget != (i = targets[0]) && this.activate(i)
1179
+ }
1180
+
1181
+ for (i = offsets.length; i--;) {
1182
+ activeTarget != targets[i]
1183
+ && scrollTop >= offsets[i]
1184
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
1185
+ && this.activate(targets[i])
1186
+ }
1187
+ }
1188
+
1189
+ ScrollSpy.prototype.activate = function (target) {
1190
+ this.activeTarget = target
1191
+
1192
+ $(this.selector)
1193
+ .parentsUntil(this.options.target, '.active')
1194
+ .removeClass('active')
1195
+
1196
+ var selector = this.selector +
1197
+ '[data-target="' + target + '"],' +
1198
+ this.selector + '[href="' + target + '"]'
1199
+
1200
+ var active = $(selector)
1201
+ .parents('li')
1202
+ .addClass('active')
1203
+
1204
+ if (active.parent('.dropdown-menu').length) {
1205
+ active = active
1206
+ .closest('li.dropdown')
1207
+ .addClass('active')
1208
+ }
1209
+
1210
+ active.trigger('activate.bs.scrollspy')
1211
+ }
1212
+
1213
+
1214
+ // SCROLLSPY PLUGIN DEFINITION
1215
+ // ===========================
1216
+
1217
+ function Plugin(option) {
1218
+ return this.each(function () {
1219
+ var $this = $(this)
1220
+ var data = $this.data('bs.scrollspy')
1221
+ var options = typeof option == 'object' && option
1222
+
1223
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
1224
+ if (typeof option == 'string') data[option]()
1225
+ })
1226
+ }
1227
+
1228
+ var old = $.fn.scrollspy
1229
+
1230
+ $.fn.scrollspy = Plugin
1231
+ $.fn.scrollspy.Constructor = ScrollSpy
1232
+
1233
+
1234
+ // SCROLLSPY NO CONFLICT
1235
+ // =====================
1236
+
1237
+ $.fn.scrollspy.noConflict = function () {
1238
+ $.fn.scrollspy = old
1239
+ return this
1240
+ }
1241
+
1242
+
1243
+ // SCROLLSPY DATA-API
1244
+ // ==================
1245
+
1246
+ $(window).on('load.bs.scrollspy.data-api', function () {
1247
+ $('[data-spy="scroll"]').each(function () {
1248
+ var $spy = $(this)
1249
+ Plugin.call($spy, $spy.data())
1250
+ })
1251
+ })
1252
+
1253
+ }(jQuery);
1254
+
1255
+ /* ========================================================================
1256
+ * Bootstrap: modal.js v3.2.0
1257
+ * http://getbootstrap.com/javascript/#modals
1258
+ * ========================================================================
1259
+ * Copyright 2011-2014 Twitter, Inc.
1260
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1261
+ * ======================================================================== */
1262
+
1263
+
1264
+ +function ($) {
1265
+ 'use strict';
1266
+
1267
+ // MODAL CLASS DEFINITION
1268
+ // ======================
1269
+
1270
+ var Modal = function (element, options) {
1271
+ this.options = options
1272
+ this.$body = $(document.body)
1273
+ this.$element = $(element)
1274
+ this.$backdrop =
1275
+ this.isShown = null
1276
+ this.scrollbarWidth = 0
1277
+
1278
+ if (this.options.remote) {
1279
+ this.$element
1280
+ .find('.modal-content')
1281
+ .load(this.options.remote, $.proxy(function () {
1282
+ this.$element.trigger('loaded.bs.modal')
1283
+ }, this))
1284
+ }
1285
+ }
1286
+
1287
+ Modal.VERSION = '3.2.0'
1288
+
1289
+ Modal.DEFAULTS = {
1290
+ backdrop: true,
1291
+ keyboard: true,
1292
+ show: true
1293
+ }
1294
+
1295
+ Modal.prototype.toggle = function (_relatedTarget) {
1296
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
1297
+ }
1298
+
1299
+ Modal.prototype.show = function (_relatedTarget) {
1300
+ var that = this
1301
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
1302
+
1303
+ this.$element.trigger(e)
1304
+
1305
+ if (this.isShown || e.isDefaultPrevented()) return
1306
+
1307
+ this.isShown = true
1308
+
1309
+ this.checkScrollbar()
1310
+ this.$body.addClass('modal-open')
1311
+
1312
+ this.setScrollbar()
1313
+ this.escape()
1314
+
1315
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
1316
+
1317
+ this.backdrop(function () {
1318
+ var transition = $.support.transition && that.$element.hasClass('fade')
1319
+
1320
+ if (!that.$element.parent().length) {
1321
+ that.$element.appendTo(that.$body) // don't move modals dom position
1322
+ }
1323
+
1324
+ that.$element
1325
+ .show()
1326
+ .scrollTop(0)
1327
+
1328
+ if (transition) {
1329
+ that.$element[0].offsetWidth // force reflow
1330
+ }
1331
+
1332
+ that.$element
1333
+ .addClass('in')
1334
+ .attr('aria-hidden', false)
1335
+
1336
+ that.enforceFocus()
1337
+
1338
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
1339
+
1340
+ transition ?
1341
+ that.$element.find('.modal-dialog') // wait for modal to slide in
1342
+ .one('bsTransitionEnd', function () {
1343
+ that.$element.trigger('focus').trigger(e)
1344
+ })
1345
+ .emulateTransitionEnd(300) :
1346
+ that.$element.trigger('focus').trigger(e)
1347
+ })
1348
+ }
1349
+
1350
+ Modal.prototype.hide = function (e) {
1351
+ if (e) e.preventDefault()
1352
+
1353
+ e = $.Event('hide.bs.modal')
1354
+
1355
+ this.$element.trigger(e)
1356
+
1357
+ if (!this.isShown || e.isDefaultPrevented()) return
1358
+
1359
+ this.isShown = false
1360
+
1361
+ this.$body.removeClass('modal-open')
1362
+
1363
+ this.resetScrollbar()
1364
+ this.escape()
1365
+
1366
+ $(document).off('focusin.bs.modal')
1367
+
1368
+ this.$element
1369
+ .removeClass('in')
1370
+ .attr('aria-hidden', true)
1371
+ .off('click.dismiss.bs.modal')
1372
+
1373
+ $.support.transition && this.$element.hasClass('fade') ?
1374
+ this.$element
1375
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
1376
+ .emulateTransitionEnd(300) :
1377
+ this.hideModal()
1378
+ }
1379
+
1380
+ Modal.prototype.enforceFocus = function () {
1381
+ $(document)
1382
+ .off('focusin.bs.modal') // guard against infinite focus loop
1383
+ .on('focusin.bs.modal', $.proxy(function (e) {
1384
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1385
+ this.$element.trigger('focus')
1386
+ }
1387
+ }, this))
1388
+ }
1389
+
1390
+ Modal.prototype.escape = function () {
1391
+ if (this.isShown && this.options.keyboard) {
1392
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
1393
+ e.which == 27 && this.hide()
1394
+ }, this))
1395
+ } else if (!this.isShown) {
1396
+ this.$element.off('keyup.dismiss.bs.modal')
1397
+ }
1398
+ }
1399
+
1400
+ Modal.prototype.hideModal = function () {
1401
+ var that = this
1402
+ this.$element.hide()
1403
+ this.backdrop(function () {
1404
+ that.$element.trigger('hidden.bs.modal')
1405
+ })
1406
+ }
1407
+
1408
+ Modal.prototype.removeBackdrop = function () {
1409
+ this.$backdrop && this.$backdrop.remove()
1410
+ this.$backdrop = null
1411
+ }
1412
+
1413
+ Modal.prototype.backdrop = function (callback) {
1414
+ var that = this
1415
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
1416
+
1417
+ if (this.isShown && this.options.backdrop) {
1418
+ var doAnimate = $.support.transition && animate
1419
+
1420
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
1421
+ .appendTo(this.$body)
1422
+
1423
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1424
+ if (e.target !== e.currentTarget) return
1425
+ this.options.backdrop == 'static'
1426
+ ? this.$element[0].focus.call(this.$element[0])
1427
+ : this.hide.call(this)
1428
+ }, this))
1429
+
1430
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1431
+
1432
+ this.$backdrop.addClass('in')
1433
+
1434
+ if (!callback) return
1435
+
1436
+ doAnimate ?
1437
+ this.$backdrop
1438
+ .one('bsTransitionEnd', callback)
1439
+ .emulateTransitionEnd(150) :
1440
+ callback()
1441
+
1442
+ } else if (!this.isShown && this.$backdrop) {
1443
+ this.$backdrop.removeClass('in')
1444
+
1445
+ var callbackRemove = function () {
1446
+ that.removeBackdrop()
1447
+ callback && callback()
1448
+ }
1449
+ $.support.transition && this.$element.hasClass('fade') ?
1450
+ this.$backdrop
1451
+ .one('bsTransitionEnd', callbackRemove)
1452
+ .emulateTransitionEnd(150) :
1453
+ callbackRemove()
1454
+
1455
+ } else if (callback) {
1456
+ callback()
1457
+ }
1458
+ }
1459
+
1460
+ Modal.prototype.checkScrollbar = function () {
1461
+ if (document.body.clientWidth >= window.innerWidth) return
1462
+ this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
1463
+ }
1464
+
1465
+ Modal.prototype.setScrollbar = function () {
1466
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1467
+ if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1468
+ }
1469
+
1470
+ Modal.prototype.resetScrollbar = function () {
1471
+ this.$body.css('padding-right', '')
1472
+ }
1473
+
1474
+ Modal.prototype.measureScrollbar = function () { // thx walsh
1475
+ var scrollDiv = document.createElement('div')
1476
+ scrollDiv.className = 'modal-scrollbar-measure'
1477
+ this.$body.append(scrollDiv)
1478
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1479
+ this.$body[0].removeChild(scrollDiv)
1480
+ return scrollbarWidth
1481
+ }
1482
+
1483
+
1484
+ // MODAL PLUGIN DEFINITION
1485
+ // =======================
1486
+
1487
+ function Plugin(option, _relatedTarget) {
1488
+ return this.each(function () {
1489
+ var $this = $(this)
1490
+ var data = $this.data('bs.modal')
1491
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1492
+
1493
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1494
+ if (typeof option == 'string') data[option](_relatedTarget)
1495
+ else if (options.show) data.show(_relatedTarget)
1496
+ })
1497
+ }
1498
+
1499
+ var old = $.fn.modal
1500
+
1501
+ $.fn.modal = Plugin
1502
+ $.fn.modal.Constructor = Modal
1503
+
1504
+
1505
+ // MODAL NO CONFLICT
1506
+ // =================
1507
+
1508
+ $.fn.modal.noConflict = function () {
1509
+ $.fn.modal = old
1510
+ return this
1511
+ }
1512
+
1513
+
1514
+ // MODAL DATA-API
1515
+ // ==============
1516
+
1517
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1518
+ var $this = $(this)
1519
+ var href = $this.attr('href')
1520
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1521
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1522
+
1523
+ if ($this.is('a')) e.preventDefault()
1524
+
1525
+ $target.one('show.bs.modal', function (showEvent) {
1526
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1527
+ $target.one('hidden.bs.modal', function () {
1528
+ $this.is(':visible') && $this.trigger('focus')
1529
+ })
1530
+ })
1531
+ Plugin.call($target, option, this)
1532
+ })
1533
+
1534
+ }(jQuery);
1535
+
1536
+ /* ========================================================================
1537
+ * Bootstrap: tooltip.js v3.2.0
1538
+ * http://getbootstrap.com/javascript/#tooltip
1539
+ * Inspired by the original jQuery.tipsy by Jason Frame
1540
+ * ========================================================================
1541
+ * Copyright 2011-2014 Twitter, Inc.
1542
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1543
+ * ======================================================================== */
1544
+
1545
+
1546
+ +function ($) {
1547
+ 'use strict';
1548
+
1549
+ // TOOLTIP PUBLIC CLASS DEFINITION
1550
+ // ===============================
1551
+
1552
+ var Tooltip = function (element, options) {
1553
+ this.type =
1554
+ this.options =
1555
+ this.enabled =
1556
+ this.timeout =
1557
+ this.hoverState =
1558
+ this.$element = null
1559
+
1560
+ this.init('tooltip', element, options)
1561
+ }
1562
+
1563
+ Tooltip.VERSION = '3.2.0'
1564
+
1565
+ Tooltip.DEFAULTS = {
1566
+ animation: true,
1567
+ placement: 'top',
1568
+ selector: false,
1569
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1570
+ trigger: 'hover focus',
1571
+ title: '',
1572
+ delay: 0,
1573
+ html: false,
1574
+ container: false,
1575
+ viewport: {
1576
+ selector: 'body',
1577
+ padding: 0
1578
+ }
1579
+ }
1580
+
1581
+ Tooltip.prototype.init = function (type, element, options) {
1582
+ this.enabled = true
1583
+ this.type = type
1584
+ this.$element = $(element)
1585
+ this.options = this.getOptions(options)
1586
+ this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1587
+
1588
+ var triggers = this.options.trigger.split(' ')
1589
+
1590
+ for (var i = triggers.length; i--;) {
1591
+ var trigger = triggers[i]
1592
+
1593
+ if (trigger == 'click') {
1594
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1595
+ } else if (trigger != 'manual') {
1596
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1597
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1598
+
1599
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1600
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1601
+ }
1602
+ }
1603
+
1604
+ this.options.selector ?
1605
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1606
+ this.fixTitle()
1607
+ }
1608
+
1609
+ Tooltip.prototype.getDefaults = function () {
1610
+ return Tooltip.DEFAULTS
1611
+ }
1612
+
1613
+ Tooltip.prototype.getOptions = function (options) {
1614
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1615
+
1616
+ if (options.delay && typeof options.delay == 'number') {
1617
+ options.delay = {
1618
+ show: options.delay,
1619
+ hide: options.delay
1620
+ }
1621
+ }
1622
+
1623
+ return options
1624
+ }
1625
+
1626
+ Tooltip.prototype.getDelegateOptions = function () {
1627
+ var options = {}
1628
+ var defaults = this.getDefaults()
1629
+
1630
+ this._options && $.each(this._options, function (key, value) {
1631
+ if (defaults[key] != value) options[key] = value
1632
+ })
1633
+
1634
+ return options
1635
+ }
1636
+
1637
+ Tooltip.prototype.enter = function (obj) {
1638
+ var self = obj instanceof this.constructor ?
1639
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1640
+
1641
+ if (!self) {
1642
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1643
+ $(obj.currentTarget).data('bs.' + this.type, self)
1644
+ }
1645
+
1646
+ clearTimeout(self.timeout)
1647
+
1648
+ self.hoverState = 'in'
1649
+
1650
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1651
+
1652
+ self.timeout = setTimeout(function () {
1653
+ if (self.hoverState == 'in') self.show()
1654
+ }, self.options.delay.show)
1655
+ }
1656
+
1657
+ Tooltip.prototype.leave = function (obj) {
1658
+ var self = obj instanceof this.constructor ?
1659
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1660
+
1661
+ if (!self) {
1662
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1663
+ $(obj.currentTarget).data('bs.' + this.type, self)
1664
+ }
1665
+
1666
+ clearTimeout(self.timeout)
1667
+
1668
+ self.hoverState = 'out'
1669
+
1670
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1671
+
1672
+ self.timeout = setTimeout(function () {
1673
+ if (self.hoverState == 'out') self.hide()
1674
+ }, self.options.delay.hide)
1675
+ }
1676
+
1677
+ Tooltip.prototype.show = function () {
1678
+ var e = $.Event('show.bs.' + this.type)
1679
+
1680
+ if (this.hasContent() && this.enabled) {
1681
+ this.$element.trigger(e)
1682
+
1683
+ var inDom = $.contains(document.documentElement, this.$element[0])
1684
+ if (e.isDefaultPrevented() || !inDom) return
1685
+ var that = this
1686
+
1687
+ var $tip = this.tip()
1688
+
1689
+ var tipId = this.getUID(this.type)
1690
+
1691
+ this.setContent()
1692
+ $tip.attr('id', tipId)
1693
+ this.$element.attr('aria-describedby', tipId)
1694
+
1695
+ if (this.options.animation) $tip.addClass('fade')
1696
+
1697
+ var placement = typeof this.options.placement == 'function' ?
1698
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1699
+ this.options.placement
1700
+
1701
+ var autoToken = /\s?auto?\s?/i
1702
+ var autoPlace = autoToken.test(placement)
1703
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1704
+
1705
+ $tip
1706
+ .detach()
1707
+ .css({ top: 0, left: 0, display: 'block' })
1708
+ .addClass(placement)
1709
+ .data('bs.' + this.type, this)
1710
+
1711
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1712
+
1713
+ var pos = this.getPosition()
1714
+ var actualWidth = $tip[0].offsetWidth
1715
+ var actualHeight = $tip[0].offsetHeight
1716
+
1717
+ if (autoPlace) {
1718
+ var orgPlacement = placement
1719
+ var $parent = this.$element.parent()
1720
+ var parentDim = this.getPosition($parent)
1721
+
1722
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - parentDim.scroll > parentDim.height ? 'top' :
1723
+ placement == 'top' && pos.top - parentDim.scroll - actualHeight < 0 ? 'bottom' :
1724
+ placement == 'right' && pos.right + actualWidth > parentDim.width ? 'left' :
1725
+ placement == 'left' && pos.left - actualWidth < parentDim.left ? 'right' :
1726
+ placement
1727
+
1728
+ $tip
1729
+ .removeClass(orgPlacement)
1730
+ .addClass(placement)
1731
+ }
1732
+
1733
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1734
+
1735
+ this.applyPlacement(calculatedOffset, placement)
1736
+
1737
+ var complete = function () {
1738
+ that.$element.trigger('shown.bs.' + that.type)
1739
+ that.hoverState = null
1740
+ }
1741
+
1742
+ $.support.transition && this.$tip.hasClass('fade') ?
1743
+ $tip
1744
+ .one('bsTransitionEnd', complete)
1745
+ .emulateTransitionEnd(150) :
1746
+ complete()
1747
+ }
1748
+ }
1749
+
1750
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
1751
+ var $tip = this.tip()
1752
+ var width = $tip[0].offsetWidth
1753
+ var height = $tip[0].offsetHeight
1754
+
1755
+ // manually read margins because getBoundingClientRect includes difference
1756
+ var marginTop = parseInt($tip.css('margin-top'), 10)
1757
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
1758
+
1759
+ // we must check for NaN for ie 8/9
1760
+ if (isNaN(marginTop)) marginTop = 0
1761
+ if (isNaN(marginLeft)) marginLeft = 0
1762
+
1763
+ offset.top = offset.top + marginTop
1764
+ offset.left = offset.left + marginLeft
1765
+
1766
+ // $.fn.offset doesn't round pixel values
1767
+ // so we use setOffset directly with our own function B-0
1768
+ $.offset.setOffset($tip[0], $.extend({
1769
+ using: function (props) {
1770
+ $tip.css({
1771
+ top: Math.round(props.top),
1772
+ left: Math.round(props.left)
1773
+ })
1774
+ }
1775
+ }, offset), 0)
1776
+
1777
+ $tip.addClass('in')
1778
+
1779
+ // check to see if placing tip in new offset caused the tip to resize itself
1780
+ var actualWidth = $tip[0].offsetWidth
1781
+ var actualHeight = $tip[0].offsetHeight
1782
+
1783
+ if (placement == 'top' && actualHeight != height) {
1784
+ offset.top = offset.top + height - actualHeight
1785
+ }
1786
+
1787
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1788
+
1789
+ if (delta.left) offset.left += delta.left
1790
+ else offset.top += delta.top
1791
+
1792
+ var arrowDelta = delta.left ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1793
+ var arrowPosition = delta.left ? 'left' : 'top'
1794
+ var arrowOffsetPosition = delta.left ? 'offsetWidth' : 'offsetHeight'
1795
+
1796
+ $tip.offset(offset)
1797
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], arrowPosition)
1798
+ }
1799
+
1800
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
1801
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
1802
+ }
1803
+
1804
+ Tooltip.prototype.setContent = function () {
1805
+ var $tip = this.tip()
1806
+ var title = this.getTitle()
1807
+
1808
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1809
+ $tip.removeClass('fade in top bottom left right')
1810
+ }
1811
+
1812
+ Tooltip.prototype.hide = function () {
1813
+ var that = this
1814
+ var $tip = this.tip()
1815
+ var e = $.Event('hide.bs.' + this.type)
1816
+
1817
+ this.$element.removeAttr('aria-describedby')
1818
+
1819
+ function complete() {
1820
+ if (that.hoverState != 'in') $tip.detach()
1821
+ that.$element.trigger('hidden.bs.' + that.type)
1822
+ }
1823
+
1824
+ this.$element.trigger(e)
1825
+
1826
+ if (e.isDefaultPrevented()) return
1827
+
1828
+ $tip.removeClass('in')
1829
+
1830
+ $.support.transition && this.$tip.hasClass('fade') ?
1831
+ $tip
1832
+ .one('bsTransitionEnd', complete)
1833
+ .emulateTransitionEnd(150) :
1834
+ complete()
1835
+
1836
+ this.hoverState = null
1837
+
1838
+ return this
1839
+ }
1840
+
1841
+ Tooltip.prototype.fixTitle = function () {
1842
+ var $e = this.$element
1843
+ if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
1844
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1845
+ }
1846
+ }
1847
+
1848
+ Tooltip.prototype.hasContent = function () {
1849
+ return this.getTitle()
1850
+ }
1851
+
1852
+ Tooltip.prototype.getPosition = function ($element) {
1853
+ $element = $element || this.$element
1854
+ var el = $element[0]
1855
+ var isBody = el.tagName == 'BODY'
1856
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : null, {
1857
+ scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop(),
1858
+ width: isBody ? $(window).width() : $element.outerWidth(),
1859
+ height: isBody ? $(window).height() : $element.outerHeight()
1860
+ }, isBody ? { top: 0, left: 0 } : $element.offset())
1861
+ }
1862
+
1863
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1864
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1865
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1866
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1867
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1868
+
1869
+ }
1870
+
1871
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1872
+ var delta = { top: 0, left: 0 }
1873
+ if (!this.$viewport) return delta
1874
+
1875
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1876
+ var viewportDimensions = this.getPosition(this.$viewport)
1877
+
1878
+ if (/right|left/.test(placement)) {
1879
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1880
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1881
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
1882
+ delta.top = viewportDimensions.top - topEdgeOffset
1883
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1884
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1885
+ }
1886
+ } else {
1887
+ var leftEdgeOffset = pos.left - viewportPadding
1888
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1889
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1890
+ delta.left = viewportDimensions.left - leftEdgeOffset
1891
+ } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
1892
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1893
+ }
1894
+ }
1895
+
1896
+ return delta
1897
+ }
1898
+
1899
+ Tooltip.prototype.getTitle = function () {
1900
+ var title
1901
+ var $e = this.$element
1902
+ var o = this.options
1903
+
1904
+ title = $e.attr('data-original-title')
1905
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1906
+
1907
+ return title
1908
+ }
1909
+
1910
+ Tooltip.prototype.getUID = function (prefix) {
1911
+ do prefix += ~~(Math.random() * 1000000)
1912
+ while (document.getElementById(prefix))
1913
+ return prefix
1914
+ }
1915
+
1916
+ Tooltip.prototype.tip = function () {
1917
+ return (this.$tip = this.$tip || $(this.options.template))
1918
+ }
1919
+
1920
+ Tooltip.prototype.arrow = function () {
1921
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1922
+ }
1923
+
1924
+ Tooltip.prototype.validate = function () {
1925
+ if (!this.$element[0].parentNode) {
1926
+ this.hide()
1927
+ this.$element = null
1928
+ this.options = null
1929
+ }
1930
+ }
1931
+
1932
+ Tooltip.prototype.enable = function () {
1933
+ this.enabled = true
1934
+ }
1935
+
1936
+ Tooltip.prototype.disable = function () {
1937
+ this.enabled = false
1938
+ }
1939
+
1940
+ Tooltip.prototype.toggleEnabled = function () {
1941
+ this.enabled = !this.enabled
1942
+ }
1943
+
1944
+ Tooltip.prototype.toggle = function (e) {
1945
+ var self = this
1946
+ if (e) {
1947
+ self = $(e.currentTarget).data('bs.' + this.type)
1948
+ if (!self) {
1949
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1950
+ $(e.currentTarget).data('bs.' + this.type, self)
1951
+ }
1952
+ }
1953
+
1954
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1955
+ }
1956
+
1957
+ Tooltip.prototype.destroy = function () {
1958
+ clearTimeout(this.timeout)
1959
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
1960
+ }
1961
+
1962
+
1963
+ // TOOLTIP PLUGIN DEFINITION
1964
+ // =========================
1965
+
1966
+ function Plugin(option) {
1967
+ return this.each(function () {
1968
+ var $this = $(this)
1969
+ var data = $this.data('bs.tooltip')
1970
+ var options = typeof option == 'object' && option
1971
+
1972
+ if (!data && option == 'destroy') return
1973
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1974
+ if (typeof option == 'string') data[option]()
1975
+ })
1976
+ }
1977
+
1978
+ var old = $.fn.tooltip
1979
+
1980
+ $.fn.tooltip = Plugin
1981
+ $.fn.tooltip.Constructor = Tooltip
1982
+
1983
+
1984
+ // TOOLTIP NO CONFLICT
1985
+ // ===================
1986
+
1987
+ $.fn.tooltip.noConflict = function () {
1988
+ $.fn.tooltip = old
1989
+ return this
1990
+ }
1991
+
1992
+ }(jQuery);
1993
+
1994
+ /* ========================================================================
1995
+ * Bootstrap: popover.js v3.2.0
1996
+ * http://getbootstrap.com/javascript/#popovers
1997
+ * ========================================================================
1998
+ * Copyright 2011-2014 Twitter, Inc.
1999
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2000
+ * ======================================================================== */
2001
+
2002
+
2003
+ +function ($) {
2004
+ 'use strict';
2005
+
2006
+ // POPOVER PUBLIC CLASS DEFINITION
2007
+ // ===============================
2008
+
2009
+ var Popover = function (element, options) {
2010
+ this.init('popover', element, options)
2011
+ }
2012
+
2013
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
2014
+
2015
+ Popover.VERSION = '3.2.0'
2016
+
2017
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
2018
+ placement: 'right',
2019
+ trigger: 'click',
2020
+ content: '',
2021
+ template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
2022
+ })
2023
+
2024
+
2025
+ // NOTE: POPOVER EXTENDS tooltip.js
2026
+ // ================================
2027
+
2028
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
2029
+
2030
+ Popover.prototype.constructor = Popover
2031
+
2032
+ Popover.prototype.getDefaults = function () {
2033
+ return Popover.DEFAULTS
2034
+ }
2035
+
2036
+ Popover.prototype.setContent = function () {
2037
+ var $tip = this.tip()
2038
+ var title = this.getTitle()
2039
+ var content = this.getContent()
2040
+
2041
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
2042
+ $tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
2043
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
2044
+ ](content)
2045
+
2046
+ $tip.removeClass('fade top bottom left right in')
2047
+
2048
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
2049
+ // this manually by checking the contents.
2050
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
2051
+ }
2052
+
2053
+ Popover.prototype.hasContent = function () {
2054
+ return this.getTitle() || this.getContent()
2055
+ }
2056
+
2057
+ Popover.prototype.getContent = function () {
2058
+ var $e = this.$element
2059
+ var o = this.options
2060
+
2061
+ return $e.attr('data-content')
2062
+ || (typeof o.content == 'function' ?
2063
+ o.content.call($e[0]) :
2064
+ o.content)
2065
+ }
2066
+
2067
+ Popover.prototype.arrow = function () {
2068
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
2069
+ }
2070
+
2071
+ Popover.prototype.tip = function () {
2072
+ if (!this.$tip) this.$tip = $(this.options.template)
2073
+ return this.$tip
2074
+ }
2075
+
2076
+
2077
+ // POPOVER PLUGIN DEFINITION
2078
+ // =========================
2079
+
2080
+ function Plugin(option) {
2081
+ return this.each(function () {
2082
+ var $this = $(this)
2083
+ var data = $this.data('bs.popover')
2084
+ var options = typeof option == 'object' && option
2085
+
2086
+ if (!data && option == 'destroy') return
2087
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
2088
+ if (typeof option == 'string') data[option]()
2089
+ })
2090
+ }
2091
+
2092
+ var old = $.fn.popover
2093
+
2094
+ $.fn.popover = Plugin
2095
+ $.fn.popover.Constructor = Popover
2096
+
2097
+
2098
+ // POPOVER NO CONFLICT
2099
+ // ===================
2100
+
2101
+ $.fn.popover.noConflict = function () {
2102
+ $.fn.popover = old
2103
+ return this
2104
+ }
2105
+
2106
+ }(jQuery);
2107
+
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/checkanswer.js ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Do this first so that layout shift isn't too bad:
2
+ const container = document.createElement("div");
3
+ container.style = `
4
+ font-size: 16px;
5
+ font-size: clamp(16px, 2.4vw, 21px);
6
+ height: 2.5em;
7
+ `;
8
+ document.body.prepend(container);
9
+
10
+ import { React, html, css, render } from "./package.js";
11
+
12
+ /**
13
+ * Remove non-alphanumeric characters.
14
+ */
15
+ const normalizeAnswer = (answer) => {
16
+ if (getYear() === 2003) {
17
+ if (document.URL.includes("teamGuest/2")) {
18
+ // Special case: 2003 R2, whose answers are emoji.
19
+ return answer.trim();
20
+ } else if (document.URL.includes("6_3")) {
21
+ // Special case: Answer is literal Greek letter.
22
+ return answer.trim();
23
+ }
24
+ }
25
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
26
+ };
27
+
28
+ /**
29
+ * Returns the year of the hunt we're in.
30
+ */
31
+ const getYear = () => {
32
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
33
+ };
34
+
35
+ /**
36
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
37
+ */
38
+ const getData = async () => {
39
+ const res = await fetch("/answers.tsv");
40
+ const data = await res.text();
41
+ const [header, ...body] = data.split("\n");
42
+ const headers = header.trim().split("\t");
43
+ return body.map((row) => {
44
+ const res = {};
45
+ row.split("\t").forEach((item, i) => {
46
+ res[headers[i]] = item.trim();
47
+ });
48
+ return res;
49
+ });
50
+ };
51
+
52
+ /**
53
+ * Gets the base URL; removes trailing index.html and .html, removes everything
54
+ * before the year, and then removes trailing slash.
55
+ */
56
+ const getBase = (url) => {
57
+ const root =
58
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
59
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
60
+ url;
61
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
62
+ return base.endsWith("/") ? base.slice(0, -1) : base;
63
+ };
64
+
65
+ /**
66
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
67
+ */
68
+ const getAnswers = (data, url) => {
69
+ const base = getBase(url);
70
+ const rows = data.filter((row) => getBase(row.url) === base);
71
+ const prompts = [];
72
+ for (const row of rows) {
73
+ const { prompt } = row;
74
+ const group = prompts.find((group) => group.prompt === prompt);
75
+ if (group) {
76
+ group.rows.push(row);
77
+ } else {
78
+ prompts.push({ prompt, rows: [row] });
79
+ }
80
+ }
81
+ return prompts;
82
+ };
83
+
84
+ /**
85
+ * A single textbox and submit button in the rows of possible responses.
86
+ */
87
+ const ResponseRow = ({ prompt, rows, setFeedback }) => {
88
+ const [response, setResponse] = React.useState("");
89
+
90
+ const form = css`
91
+ align-items: baseline;
92
+ display: flex;
93
+ justify-content: right;
94
+ margin-bottom: 0.5em;
95
+
96
+ @media (max-width: 600px) {
97
+ align-items: flex-start;
98
+ flex-direction: column;
99
+ }
100
+ `;
101
+
102
+ const input = css`
103
+ background: #fafafa;
104
+ border: 1px solid #aaa;
105
+ border-radius: 2px;
106
+ color: #121212;
107
+ font-family: inherit;
108
+ font-size: 100%;
109
+ line-height: 1.2;
110
+ margin: 0 0.5em;
111
+ padding: 0.25em 0.5em;
112
+
113
+ @media (max-width: 600px) {
114
+ margin: 0 0 0.25em;
115
+ }
116
+ `;
117
+
118
+ const onSubmit = (e) => {
119
+ e.preventDefault();
120
+ let set = false;
121
+ for (const row of rows) {
122
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
123
+ if (correct) {
124
+ setFeedback(
125
+ row.intermediate?.trim() === "TRUE"
126
+ ? "Correct! See the solution page for the answer."
127
+ : `Solved! The answer was ${row.answer}.`
128
+ );
129
+ set = true;
130
+ break;
131
+ }
132
+ }
133
+ if (!set) {
134
+ setFeedback("Incorrect.");
135
+ }
136
+ };
137
+
138
+ const onChange = (e) => setResponse(e.target.value);
139
+
140
+ return html`
141
+ <form class=${form} onSubmit=${onSubmit}>
142
+ <label htmlFor=${prompt + " prompt"}>
143
+ ${prompt || "Enter your guess"}:
144
+ </label>
145
+ <input
146
+ class=${input}
147
+ id=${prompt + " prompt"}
148
+ onChange=${onChange}
149
+ required
150
+ type="text"
151
+ value=${response}
152
+ />
153
+ <button type="submit">Submit</button>
154
+ </form>
155
+ `;
156
+ };
157
+
158
+ /**
159
+ * Check answer button, rendered at top of page.
160
+ */
161
+ const CheckButton = ({ prompts }) => {
162
+ const [open, setOpen] = React.useState(false);
163
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
164
+
165
+ const wrapper = css`
166
+ font-family: "PT Sans", sans-serif;
167
+ font-size: 16px;
168
+ font-size: clamp(16px, 2.4vw, 21px);
169
+ height: 2.5em;
170
+
171
+ button {
172
+ background: #555;
173
+ border: none;
174
+ border-radius: 2px;
175
+ color: #fff;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ font-size: 1em;
179
+ font-family: "PT Sans", sans-serif;
180
+ font-weight: bold;
181
+ line-height: 1.2;
182
+ padding: 0.25em 1em;
183
+ text-align: center;
184
+ text-decoration: none;
185
+ text-transform: none;
186
+ }
187
+
188
+ p {
189
+ margin: 0 0 1em;
190
+ }
191
+
192
+ a {
193
+ color: inherit !important;
194
+ }
195
+ `;
196
+
197
+ const btnTop = [2015, 2016].includes(getYear())
198
+ ? "50px"
199
+ : [2012].includes(getYear())
200
+ ? "-2.5em"
201
+ : "0px";
202
+
203
+ const button = css`
204
+ box-sizing: border-box;
205
+ height: 2.5em;
206
+ left: 0;
207
+ position: absolute;
208
+ top: ${btnTop};
209
+ width: 100%;
210
+ z-index: 9999;
211
+ `;
212
+
213
+ const dropdownWrapper = css`
214
+ background: #edeff0;
215
+ color: #121212;
216
+ left: 0;
217
+ position: absolute;
218
+ right: 0;
219
+ top: calc(2.5em + ${btnTop});
220
+ z-index: 9999;
221
+ `;
222
+
223
+ const dropdown = css`
224
+ margin: 0 auto;
225
+ max-width: 40em;
226
+ padding: 1em;
227
+ z-index: 9999;
228
+ `;
229
+
230
+ const responses = css`
231
+ margin: 0 auto;
232
+ width: fit-content;
233
+
234
+ @media (max-width: 600px) {
235
+ width: auto;
236
+ }
237
+ `;
238
+
239
+ const onClick = () => setOpen(!open);
240
+
241
+ const body =
242
+ prompts.length > 0
243
+ ? prompts.map(
244
+ (group) =>
245
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
246
+ )
247
+ : html`<p>
248
+ No answers found on this page. Please report this to${" "}
249
+ <a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
250
+ </p>`;
251
+
252
+ return html`
253
+ <style>
254
+ @import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
255
+
256
+ ${[2015, 2016].includes(getYear()) &&
257
+ ".navbar-fixed-top { z-index: 10000 }"}
258
+ ${[2012].includes(getYear()) &&
259
+ "body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
260
+ ${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
261
+ </style>
262
+ <div class=${wrapper}>
263
+ <button class=${button} onClick=${onClick}>
264
+ Check your answers spoiler-free
265
+ </button>
266
+ ${open &&
267
+ html`
268
+ <div class=${dropdownWrapper}>
269
+ <div class=${dropdown}>
270
+ <p>${feedback}</p>
271
+ <div class=${responses}>${body}</div>
272
+ </div>
273
+ </div>
274
+ `}
275
+ </div>
276
+ `;
277
+ };
278
+
279
+ const data = await getData();
280
+ const prompts = getAnswers(data, document.URL);
281
+ render(html`<${CheckButton} prompts=${prompts} />`, container);
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/completelog.html ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Full Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Full Log</h2></div>
71
+ </div>
72
+
73
+ <div class="form-container nav-related-container">
74
+
75
+ </div>
76
+
77
+
78
+
79
+
80
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
81
+
82
+
83
+ </body>
84
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/eventschedule.html ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Event Schedule &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Schedule of Events</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="eventexplain">
74
+ We know how tough it is to be an intrepid explorer, researching complex technology and navigating uncharted waters. Come take a break and refresh your mind. Events are a chance to complete fun and interesting challenges with people from other teams; additionally, taking a step back from all your hard work might give you a new insight on something that was puzzling you! (i.e. completing event challenges will earn you points to spend on questions for the Oracle)
75
+ </div>
76
+
77
+ <h3 class="eventtitle"><a href="/2015/puzzle/write_it_build_it">Write-it Build-it</a></h3>
78
+ Time: <b>Friday at 6:17pm</b><br/>
79
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
80
+ <div class="eventdesc">
81
+ Prove your skill at building contraptions in the workshop. Bring two people with good spatial intuition and a knack for writing and following precise directions.
82
+ </div>
83
+
84
+ <h3 class="eventtitle"><a href="/2015/puzzle/blub_blub_pub_trivia">Blub Blub Pub Trivia</a></h3>
85
+ Time: <b>Friday at 11:17pm</b><br />
86
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
87
+ <div class="eventdesc">
88
+ Arr, mateys! It's trivia night at the pub! Bring up to two teammates who like trivia, beverage pong, and having a good time.
89
+ </div>
90
+
91
+ <h3 class="eventtitle"><a href="/2015/puzzle/steamteam">Steamteam</a></h3>
92
+ Time: <b>Saturday at 10:17am</b><br />
93
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
94
+ <div class="eventdesc">
95
+ It's time for submarine operator training! Bring a handful of people who like technobabble, random shouting, and teamwork. (You and your teammates will take turns playing while the others observe. Up to five people is reasonable.)
96
+ </div>
97
+
98
+ <h3 class="eventtitle"><a href="/2015/puzzle/sunken_treasure">Sunken Treasure</a></h3>
99
+ Time: <b>Saturday at 1:17pm</b><br />
100
+ Location: <b><a href=https://whereis.mit.edu/?go=W35>Z-Center</a>, second-floor entrance to pool gallery</b><br/>
101
+ <div class="eventdesc">
102
+ Rescue sunken treasure and bring it back to your team! Bring two people: one strong swimmer (with swimsuit, towel, and non-optional goggles), and one dextrous dry-land teammate. Non-students will need to sign a waiver at the Z-center desk on the second floor entrance to the pool gallery.
103
+ </div>
104
+ <h3 class="eventtitle"><a href="/2015/puzzle/charybdis_charades">Charybdis Charades</a></h3>
105
+ Time: <b>Saturday at 4:17pm</b><br/>
106
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b>
107
+ <div class="eventdesc">
108
+ The sea monster Charybdis is hungry! Bring up to two people who enjoy communicating silently so you can stealthily work together to figure out what you need to feed her.
109
+ </div>
110
+ <br/>
111
+ <br/>
112
+ <h3 class="eventtitle">Study Breaks</h3>
113
+ <div>Additionally, we will have to study breaks, to take a break and eat food. These will be on the third floor of the student center.</div>
114
+ <p>
115
+ <h4>Battlecode Study Break</h4>
116
+ Time: <b>Saturday at 9:17pm</b><br/>
117
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
118
+ There will be desserts of various types.
119
+ </p>
120
+ <p>
121
+ <h4>HRT Study Break</h4>
122
+ Time:<b>Sunday at 1:17 pm</b><br/>
123
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
124
+ There will be pizza.
125
+ </p>
126
+
127
+ </div>
128
+
129
+
130
+
131
+
132
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
133
+
134
+
135
+ </body>
136
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/faq.html ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>FAQ &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>FAQ</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p>
74
+ Q: Can we break the physical puzzles?<br/>
75
+ A: Generally yes. Please don't do anything unsafe — in particular, it you see something papery, you may not want to heat it. Contact us if you think you're being instructed to do anything unsafe.
76
+ </p>
77
+ <p>
78
+ Q: Can we use Google?<br/>
79
+ A: Definitely.
80
+ </p>
81
+ <p>
82
+ Q: Can we try to use metadata in the puzzle files or the source code of the puzzle to get extra information?<br/>
83
+ A: Yep.
84
+ </p>
85
+ <p>
86
+ Q: Can we try to hack the hunt site to get extra info?<br/>
87
+ A: Please don't :(
88
+ </p>
89
+ <p>
90
+ Q: Can we ask other teams for help on a puzzle? <br/>
91
+ A: Please don't. If you're not having fun, please let us know and we will help!
92
+ </p>
93
+ <p>
94
+ Q: Can we have a hint?<br/>
95
+ A: Click "Ask the Oracle" on the top right to ask yes / no questions. If you need more help, please contact us.
96
+ </p>
97
+ <p>
98
+ Q: How long will Sealab be open?<br/>
99
+ A: Until 6pm on Sunday.
100
+ </p>
101
+ <p>
102
+ Q: How do I contact Sealab?<br/>
103
+ A: Use the Contact Sealab form on the website, please. If that is absolutely not working, email us at puzzle@mit.edu, or call us at (617) 324-8310.
104
+ </p>
105
+ <p>
106
+ Q: Help! We don't know where to start!<br/>
107
+ A: That's not a question, but I'll let it slide. You should check out the helpful resources on <a href="https://www.mit.edu/~puzzle/resources.html">this page</a>. <a href="http://www.mit.edu/~puzzle/resources/haveyoutried.pdf">ACME's "Have You Tried?" list</a> may be particularly helpful.</p>
108
+ <p>
109
+ <br/>
110
+ <p>
111
+ More questions? Contact Sealab.
112
+ </p>
113
+ </div>
114
+
115
+
116
+
117
+
118
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
119
+
120
+
121
+ </body>
122
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/headshots ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Headshots &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/ocean.css" />
18
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015//static/stylesheets/school_of_fish.css" />
19
+
20
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
21
+ </head>
22
+
23
+ <body>
24
+
25
+
26
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
27
+ <div class="container-fluid">
28
+ <!-- Brand and toggle get grouped for better mobile display -->
29
+ <div class="navbar-header">
30
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
31
+ <span class="sr-only">Toggle navigation</span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
37
+ </div>
38
+
39
+ <!-- Collect the nav links, forms, and other content for toggling -->
40
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
41
+ <ul class="nav navbar-nav">
42
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
47
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
48
+
49
+ <li></li>
50
+
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
55
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
56
+ </ul>
57
+ </li>
58
+ </ul>
59
+ <ul class="nav navbar-nav navbar-right">
60
+
61
+
62
+
63
+ <li></li>
64
+
65
+
66
+
67
+
68
+ </ul>
69
+ </div><!-- /.navbar-collapse -->
70
+ </div>
71
+ </nav>
72
+
73
+
74
+ <div id="artstuff">
75
+ <div id="oceandecor">
76
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/233.png"></img></div>
77
+ <div id="infowindow">Location: School of Fish <br />Depth: 135</div>
78
+ <div id="leftdecor"></div>
79
+ <div id="rightdecor"></div>
80
+ </div>
81
+ </div>
82
+ <div id="paper">
83
+
84
+
85
+
86
+
87
+ <div class="puzzle-page-header">
88
+
89
+ <div class="sol"><a href="solution/">View Solution</a></div>
90
+
91
+ <h1>Headshots</h1>
92
+
93
+
94
+ <p class="answer" id="answer_233"> Answer: click here to reveal</p>
95
+
96
+
97
+ </div>
98
+ <div class='puzzle'>
99
+ <!-- Puzzle content begins here -->
100
+ <p><img src="images/puzzle.png" width="100%"></p>
101
+ <!-- Puzzle content ends here -->
102
+ </div>
103
+ </div>
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
111
+
112
+ <script type="text/javascript">
113
+ $(document).ready(function(e) { $('#answer_233').click(function(e) { $('#answer_233').text("Answer: " + "REGENT");});});
114
+ </script>
115
+
116
+
117
+ </body><script type="module" src="/checkanswer.js"></script>
118
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/index.html ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Headshots &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/ocean.css" />
18
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015//static/stylesheets/school_of_fish.css" />
19
+
20
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
21
+ </head>
22
+
23
+ <body>
24
+
25
+
26
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
27
+ <div class="container-fluid">
28
+ <!-- Brand and toggle get grouped for better mobile display -->
29
+ <div class="navbar-header">
30
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
31
+ <span class="sr-only">Toggle navigation</span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ </button>
36
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
37
+ </div>
38
+
39
+ <!-- Collect the nav links, forms, and other content for toggling -->
40
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
41
+ <ul class="nav navbar-nav">
42
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
43
+ <li class="dropdown">
44
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
45
+ <ul class="dropdown-menu">
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
47
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
48
+
49
+ <li></li>
50
+
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
55
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
56
+ </ul>
57
+ </li>
58
+ </ul>
59
+ <ul class="nav navbar-nav navbar-right">
60
+
61
+
62
+
63
+ <li></li>
64
+
65
+
66
+
67
+
68
+ </ul>
69
+ </div><!-- /.navbar-collapse -->
70
+ </div>
71
+ </nav>
72
+
73
+
74
+ <div id="artstuff">
75
+ <div id="oceandecor">
76
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/233.png"></img></div>
77
+ <div id="infowindow">Location: School of Fish <br />Depth: 135</div>
78
+ <div id="leftdecor"></div>
79
+ <div id="rightdecor"></div>
80
+ </div>
81
+ </div>
82
+ <div id="paper">
83
+
84
+
85
+
86
+
87
+ <div class="puzzle-page-header">
88
+
89
+ <div class="sol"><a href="solution/">View Solution</a></div>
90
+
91
+ <h1>Headshots</h1>
92
+
93
+
94
+ <p class="answer" id="answer_233"> Answer: click here to reveal</p>
95
+
96
+
97
+ </div>
98
+ <div class='puzzle'>
99
+ <!-- Puzzle content begins here -->
100
+ <p><img src="images/puzzle.png" width="100%"></p>
101
+ <!-- Puzzle content ends here -->
102
+ </div>
103
+ </div>
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
111
+
112
+ <script type="text/javascript">
113
+ $(document).ready(function(e) { $('#answer_233').click(function(e) { $('#answer_233').text("Answer: " + "REGENT");});});
114
+ </script>
115
+
116
+
117
+ </body><script type="module" src="/checkanswer.js"></script>
118
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/intro.html ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/logbook.css ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'im_fell_double_pica_scregular';
3
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot");
4
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/hunt/imfedpsc28p-webfont.woff2") format("woff2"), url("../fonts/hunt/imfedpsc28p-webfont.woff") format("woff"), url("../fonts/hunt/imfedpsc28p-webfont.ttf") format("truetype"), url("../fonts/hunt/imfedpsc28p-webfont.svg#im_fell_double_pica_scregular") format("svg");
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+
9
+ /* line 14, ../../sass/logbook.scss */
10
+ body {
11
+ margin: 0px;
12
+ border: 0px;
13
+ padding: 0px;
14
+ }
15
+
16
+ /* line 19, ../../sass/logbook.scss */
17
+ .headerbutton {
18
+ padding: 0 12px 0 12px;
19
+ float: right;
20
+ }
21
+
22
+ /* line 24, ../../sass/logbook.scss */
23
+ .sol {
24
+ height: 0px;
25
+ text-align: right;
26
+ margin-top: 35px;
27
+ margin-bottom: -35px;
28
+ }
29
+
30
+ /* line 31, ../../sass/logbook.scss */
31
+ #paper {
32
+ z-index: 9;
33
+ width: 1000px;
34
+ padding: 37px 55px 72px;
35
+ position: relative;
36
+ border: 1px solid #333333;
37
+ background: #dbc397;
38
+ -webkit-background-size: 100% 30px;
39
+ -moz-background-size: 100% 30px;
40
+ -ms-background-size: 100% 30px;
41
+ background-size: 100% 30px;
42
+ box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
43
+ border-radius: 4px 4px 4px 4px;
44
+ color: #282625;
45
+ margin: 0 auto;
46
+ margin-bottom: 60px;
47
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
48
+ text-rendering: optimizeLegibility;
49
+ font-feature-settings: "kern";
50
+ -webkit-font-feature-settings: "kern";
51
+ -moz-font-feature-settings: "kern";
52
+ -moz-font-feature-settings: "kern=1";
53
+ }
54
+
55
+ /* line 57, ../../sass/logbook.scss */
56
+ #infowindow {
57
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
58
+ }
59
+
60
+ /* line 61, ../../sass/logbook.scss */
61
+ .form-container {
62
+ top: 50px;
63
+ }
64
+
65
+ /* line 64, ../../sass/logbook.scss */
66
+ h1, h2, h3 {
67
+ font-family: 'im_fell_double_pica_scregular', serif;
68
+ }
69
+
70
+ /* line 67, ../../sass/logbook.scss */
71
+ .logheader {
72
+ font-size: larger;
73
+ font-weight: bold;
74
+ }
75
+
76
+ /* line 71, ../../sass/logbook.scss */
77
+ .logentry {
78
+ padding-left: 25px;
79
+ padding-right: 25px;
80
+ border-bottom: 1px solid #282625;
81
+ }
82
+
83
+ /* line 76, ../../sass/logbook.scss */
84
+ .logentry2 {
85
+ padding-left: 100px;
86
+ padding-right: 100px;
87
+ border-bottom: 1px solid #282625;
88
+ }
89
+
90
+ /* line 81, ../../sass/logbook.scss */
91
+ ul {
92
+ list-style: square inside url("../images/hunt/bullet3.png");
93
+ }
94
+
95
+ /* line 84, ../../sass/logbook.scss */
96
+ table.fancy {
97
+ padding: 0;
98
+ margin: 0;
99
+ width: 100%;
100
+ border-collapse: collapse;
101
+ border-style: double;
102
+ border-color: #282625;
103
+ border-left: 0;
104
+ border-right: 0;
105
+ }
106
+
107
+ /* line 94, ../../sass/logbook.scss */
108
+ table.fancy th, tr {
109
+ padding: 0;
110
+ margin: 0;
111
+ }
112
+
113
+ /* line 98, ../../sass/logbook.scss */
114
+ table.fancy td {
115
+ padding-left: 10px;
116
+ margin: 0;
117
+ border: 1px solid #282625;
118
+ border-right: 0;
119
+ }
120
+
121
+ /* line 104, ../../sass/logbook.scss */
122
+ .tdleft {
123
+ padding: 0;
124
+ width: 10%;
125
+ border-left: 0;
126
+ }
127
+
128
+ /* line 109, ../../sass/logbook.scss */
129
+ .caption {
130
+ font-style: italic;
131
+ border-top: 0px;
132
+ margin-top: 0px;
133
+ padding-top: 0px;
134
+ }
135
+
136
+ /* line 116, ../../sass/logbook.scss */
137
+ .puzzle-sans {
138
+ font-family: sans-serif;
139
+ }
140
+
141
+ /* line 120, ../../sass/logbook.scss */
142
+ .puzzle {
143
+ display: table;
144
+ width: 100%;
145
+ }
146
+
147
+ /* line 125, ../../sass/logbook.scss */
148
+ .puzzle-page-header {
149
+ margin-bottom: 20px;
150
+ }
151
+
152
+ /* line 129, ../../sass/logbook.scss */
153
+ .answer {
154
+ margin-bottom: 30px;
155
+ }
156
+
157
+ /* line 133, ../../sass/logbook.scss */
158
+ .puzzle li {
159
+ list-style-position: inside;
160
+ text-indent: -1.1em;
161
+ }
162
+
163
+ /* line 138, ../../sass/logbook.scss */
164
+ .sol {
165
+ height: 0px;
166
+ text-align: right;
167
+ margin-top: 35px;
168
+ margin-bottom: -35px;
169
+ }
170
+
171
+ /* line 145, ../../sass/logbook.scss */
172
+ .clickbaitbannerbox {
173
+ width: 320px;
174
+ margin-right: 20px;
175
+ margin-left: auto;
176
+ margin-bottom: 20px;
177
+ margin-top: -30px;
178
+ }
179
+
180
+ @media print {
181
+ /* line 154, ../../sass/logbook.scss */
182
+ .clickbaitbannerbox {
183
+ margin-top: 50px;
184
+ }
185
+ }
186
+ /* line 159, ../../sass/logbook.scss */
187
+ .clickbaitbanner {
188
+ background-color: white;
189
+ padding: 10px;
190
+ }
191
+
192
+ /* line 163, ../../sass/logbook.scss */
193
+ .attop {
194
+ position: absolute;
195
+ top: 0px;
196
+ left: 0px;
197
+ }
198
+
199
+ /* line 169, ../../sass/logbook.scss */
200
+ .byline {
201
+ font-family: 'Times New Roman', serif;
202
+ font-style: italic;
203
+ }
204
+
205
+ /* line 173, ../../sass/logbook.scss */
206
+ .clickbaitlink {
207
+ font-family: Helvetica, Arial, sans-serif;
208
+ font-size: 20px;
209
+ }
210
+
211
+ /* line 177, ../../sass/logbook.scss */
212
+ .clickbaitlink a {
213
+ text-decoration: none;
214
+ }
215
+
216
+ /* line 181, ../../sass/logbook.scss */
217
+ .puzzle p, .puzzle li {
218
+ line-height: 1.4em;
219
+ }
220
+
221
+ /* line 185, ../../sass/logbook.scss */
222
+ .solution-table td, .solution-table th {
223
+ padding-right: 15px;
224
+ }
225
+
226
+ @media print {
227
+ /* line 190, ../../sass/logbook.scss */
228
+ #puzzle-obj img {
229
+ display: none;
230
+ }
231
+
232
+ /* line 194, ../../sass/logbook.scss */
233
+ .no-page-break {
234
+ page-break-inside: avoid;
235
+ }
236
+
237
+ /* line 197, ../../sass/logbook.scss */
238
+ #paper {
239
+ width: 100%;
240
+ margin-bottom: 0px !important;
241
+ padding-bottom: 0px !important;
242
+ border: 0px !important;
243
+ }
244
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/ocean.css ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* line 3, ../../sass/ocean.scss */
2
+ html {
3
+ height: auto;
4
+ min-height: 100%;
5
+ }
6
+
7
+ /* line 8, ../../sass/ocean.scss */
8
+ body {
9
+ height: 100%;
10
+ background-color: #488cff;
11
+ }
12
+
13
+ @font-face {
14
+ font-family: 'griffosfontregular';
15
+ src: url("../fonts/hunt/GriffosFont-webfont.eot");
16
+ src: url("../fonts/hunt/GriffosFont-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/hunt/GriffosFont-webfont.woff") format("woff"), url("../fonts/hunt/GriffosFont-webfont.ttf") format("truetype"), url("../fonts/hunt/GriffosFont-webfont.svg#griffosfontregular") format("svg");
17
+ font-weight: normal;
18
+ font-style: normal;
19
+ }
20
+
21
+ /* line 25, ../../sass/ocean.scss */
22
+ .puzzle-page-header h1 {
23
+ font-family: 'griffosfontregular';
24
+ }
25
+
26
+ /* line 29, ../../sass/ocean.scss */
27
+ #artstuff {
28
+ margin-left: auto;
29
+ margin-right: auto;
30
+ margin-top: 50px;
31
+ width: 1000px;
32
+ height: 1px;
33
+ }
34
+
35
+ /* line 37, ../../sass/ocean.scss */
36
+ #oceandecor {
37
+ z-index: 10;
38
+ position: absolute;
39
+ background-image: url("../images/hunt/sub_toponly.png");
40
+ height: 349px;
41
+ width: 1000px;
42
+ background-repeat: no-repeat;
43
+ }
44
+
45
+ /* line 46, ../../sass/ocean.scss */
46
+ #leftdecor {
47
+ top: 322px;
48
+ left: -76px;
49
+ z-index: 10;
50
+ position: absolute;
51
+ width: 101px;
52
+ height: 419px;
53
+ background-image: url("../images/hunt/sub_sideL.png");
54
+ }
55
+
56
+ /* line 56, ../../sass/ocean.scss */
57
+ #rightdecor {
58
+ left: 974px;
59
+ top: 322px;
60
+ z-index: 10;
61
+ position: absolute;
62
+ width: 102px;
63
+ height: 419px;
64
+ background-image: url("../images/hunt/sub_sideR.png");
65
+ }
66
+
67
+ /* line 66, ../../sass/ocean.scss */
68
+ #infowindow {
69
+ z-index: 10;
70
+ position: absolute;
71
+ width: 250px;
72
+ top: 20px;
73
+ left: 680px;
74
+ padding: 6px;
75
+ }
76
+
77
+ /* line 75, ../../sass/ocean.scss */
78
+ #puzzle-obj {
79
+ width: 383px;
80
+ height: 333px;
81
+ z-index: 11;
82
+ }
83
+
84
+ /* line 81, ../../sass/ocean.scss */
85
+ #puzzle-obj img {
86
+ top: 50%;
87
+ left: 50%;
88
+ margin-right: -50%;
89
+ -webkit-transform: translate(-50%, -50%);
90
+ -moz-transform: translate(-50%, -50%);
91
+ -ms-transform: translate(-50%, -50%);
92
+ -o-transform: translate(-50%, -50%);
93
+ transform: translate(-50%, -50%);
94
+ position: relative;
95
+ }
96
+
97
+ /* line 89, ../../sass/ocean.scss */
98
+ #paper {
99
+ background: #eee;
100
+ margin-top: 347px;
101
+ min-height: 430px;
102
+ }
103
+
104
+ @media print {
105
+ /* line 96, ../../sass/ocean.scss */
106
+ #paper {
107
+ margin-top: 10px;
108
+ }
109
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/puzzle.css ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/school_of_fish.css ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ /* line 3, ../../sass/school_of_fish.scss */
2
+ body {
3
+ background: url("../images/hunt/ocean_fish.png") repeat calc(50% - 300px) -360px, -webkit-gradient(linear, to bottom, to top, color-stop(0%, #64c5d9), color-stop(100%, #291854)) repeat-x;
4
+ background: url("../images/hunt/ocean_fish.png") repeat calc(50% - 300px) -360px, -webkit-linear-gradient(to bottom, #64c5d9, #291854) repeat-x;
5
+ background: url("../images/hunt/ocean_fish.png") repeat calc(50% - 300px) -360px, -moz-linear-gradient(to bottom, #64c5d9, #291854) repeat-x;
6
+ background: url("../images/hunt/ocean_fish.png") repeat calc(50% - 300px) -360px, -o-linear-gradient(to bottom, #64c5d9, #291854) repeat-x;
7
+ background: url("../images/hunt/ocean_fish.png") repeat calc(50% - 300px) -360px, linear-gradient(to bottom, #64c5d9, #291854) repeat-x;
8
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/sponsors.html ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Sponsors &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Our Generous Sponsors</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <h3><a href="https://www.akamai.com">Akamai</a></h3>
74
+ <h3 style="display:inline;"><a href="https://www.axcelx.com/">Axcelx</a></h3> (discount code HAPPYHUNTING for 20% off)
75
+ <h3><a href="https://www.battlecode.org/">Battlecode</a></h3>
76
+ <h3><a href="https://www.counsyl.com/">Counsyl</a></h3>
77
+ <h3><a href="https://www.dropbox.com/">Dropbox</a></h3>
78
+ <h3><a href="https://www.hudson-trading.com/">HRT</a></h3>
79
+ <h3><a href="https://kyruus.com">Kyruus</a></h3>
80
+ <h3><a href="https://web.mit.edu/asa/resources/large-events.html">LEF</a></h3>
81
+ <h3 style="display:inline;"><a href="https://www.neaq.org/index.php">New England Aquarium</a></h3> (initially listed as "Mystery Sponsor" because of the puzzle <a href="/2015/puzzle/field_trip/">"Field Trip"</a>)
82
+ <h3><a href="https://www.oliverwyman.com/">Oliver Wyman</a></h3>
83
+ <h3><a href="https://ua.mit.edu/funding/finboard/">UA Finboard</a></h3>
84
+ </div>
85
+
86
+
87
+
88
+
89
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
90
+
91
+
92
+ </body>
93
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/storylog.html ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Story Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>The Story So Far...</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="storyexplain">
74
+ This page provides a summary of the important events and plot information which your team has experienced so far. It is not a puzzle, nor is anything on this page intended to provide additional information for completing other puzzles.
75
+ </div>
76
+
77
+ <h2>Kickoff</h2>
78
+ <p>
79
+ Dr. Nautilus, a steam-era inventor, is designing new technologies that work by harnessing the power of the previously-undeveloped “magnetonomic force”. She needs help obtaining a sufficiently powerful store of magnetonomic force. Her assistant Julie Verne has discovered that a store of powerful “Nautilodestones” exists somewhere in the ocean. Teams of daring adventurers are invited to embark on the world’s first-ever undersea exploration mission. The purpose: finding and retrieving a Nautilodestone. The first team to complete this mission will be rewarded handsomely with coin. Solving puzzles and discovering submarine upgrades will enable you to descend deeper into the ocean. The challenges that await you down there remain a mystery...
80
+ </p>
81
+
82
+ <h2>Workshop</h2>
83
+ <p class="storyexplain">
84
+ You can’t go underwater without a proper vessel. You go into Dr. Nautilus’s Workshop and start working on upgrading your submarine.
85
+ </p>
86
+
87
+ <h3>Submarine upgrades:</h3>
88
+ <p>
89
+
90
+ In the optics lab, you construct a <span class="meta_answer" id="optics_lab_meta_span">Click here to reveal meta answer</span>.<br/>
91
+
92
+ In the chemistry lab, you concoct some <span class="meta_answer" id="chemistry_lab_meta_span">Click here to reveal meta answer</span>.<br/>
93
+
94
+ In the machine room, you build a set of <span class="meta_answer" id="machine_room_meta_span">Click here to reveal answer</span>.
95
+ </p>
96
+
97
+
98
+ <h3>Final workshop challenge:</h3>
99
+ <p>
100
+ You complete Dr. Nautilus’s unfinished device. The finished machine indicates that you should go to <span class="meta_answer" id="workshop_meta_meta_span">Click here to reveal meta answer</span>, where you will start building a Nautilodestone detector. After collecting and assembling pieces from throughout the workshop, you build a <span class="storyitem">Magnetonomic Adjacency Detector</span>, which you will need to find the stone.
101
+ </p>
102
+
103
+
104
+
105
+
106
+ <h2>Ocean</h2>
107
+ <p class="storyexplain">Your submarine dives into the Ocean. Nobody knows what creatures and discoveries you might find!</p>
108
+
109
+ <h3>Submarine upgrades:</h3>
110
+ <p>
111
+
112
+ Playing with the pod of dolphins earns you a <span class="meta_answer" id="pod_of_dolphins_meta_span">Click here to reveal meta answer</span>.<br/>
113
+
114
+ Exploring the coral reef uncovers <span class="meta_answer" id="coral_reef_meta_span">Click here to reveal meta answer</span>.<br/>
115
+
116
+ After sorting through the contents of the treasure chest, you equip your sub with <span class="meta_answer" id="treasure_chest_meta_span">Click here to reveal meta answer</span>.<br/>
117
+
118
+ Your adventure with the school of fish enables you to build <span class="meta_answer" id="school_of_fish_meta_span">Click here to reveal meta answer</span>.<br/>
119
+
120
+ The spooky graveyard gives you a <span class="meta_answer" id="graveyard_meta_span">Click here to reveal meta answer</span>.
121
+ </p>
122
+
123
+
124
+ <h3>Aquatic Acquaintances:</h3>
125
+ <p class="aqua">
126
+ You meet Spongebob. His dance class got tangled up in a giant conga line knot. After helping him <span class="meta_answer" id="spongebob_span">Click here to reveal meta answer</span>, he gives you a Golden Shell.
127
+ </p>
128
+ <p class="aqua">
129
+ You meet Captain Planet who is struggling with pollution from clickbait articles. After helping him <span class="meta_answer" id="captain_planet_span">Click here to reveal meta answer</span>, he gives you a Spotted Shell.
130
+ </p>
131
+ <p class="aqua">
132
+ You meet Dory, who lost track of Nemo on her way to delivering you some errata for various puzzles. After telling her <span class="meta_answer" id="dory_span">Click here to reveal meta answer</span>, she finds Nemo and gives you a Colorful Shell.
133
+ </p>
134
+ <p class="aqua">
135
+ You meet Cthulhu, who has awoken from his slumber and is very grumpy. He instructs you to <span class="meta_answer" id="cthulhu_span">Click here to reveal meta answer</span>; once you do so, he happily falls back to sleep and his cultist gives you a Spiky Shell.
136
+ </p>
137
+
138
+
139
+ <h3>Ocean Final Challenge:</h3>
140
+ <p>
141
+ You encounter a turtle. After placing markings on its shell, you are instructed to go to the <span class="meta_answer" id="ocean_meta_meta_span">Click here to reveal meta answer</span>. At the shipwreck, you help an enormous blue whale with its digestive troubles. In return, it gives you a <span class="storyitem">Legendary Swordfish</span>, which will help you clear obstacles on your way to the stone.
142
+ </p>
143
+
144
+
145
+
146
+
147
+ <h2>Atlantis</h2>
148
+ <p class="storyexplain">You find a mysterious underwater city, full of ancient power. It seems oddly deserted, as though something is wrong.</p>
149
+
150
+ <h3>Submarine upgrades:</h3>
151
+ <p>
152
+ You use the Golden Shell to unlock the top floor of the Golden Tower.<br/>
153
+ In order to help the Golden Tower, you equip your ship with a <span class="meta_answer" id="golden_tower_meta_span">Click here to reveal meta answer</span>!
154
+ </p>
155
+ <p>
156
+ You use the Colorful Shell to unlock the top floor of the Colorful Tower.<br/>
157
+ In order to help the Colorful Tower, you equip your ship with an <span class="meta_answer" id="colorful_tower_meta_span">Click here to reveal meta answer</span>!
158
+ </p>
159
+ <p>
160
+ You use the Spiky Shell to unlock the top floor of the Spiky Tower.<br/>
161
+ In order to help the Spiky Tower, you equip your ship with a <span class="meta_answer" id="spiky_tower_meta_span">Click here to reveal meta answer</span>!
162
+ </p>
163
+ <p>
164
+ You use the Spotted Shell to unlock the top floor of the Spotted Tower.<br/>
165
+ In order to help the Spotted Tower, you equip your ship with an <span class="meta_answer" id="spotted_tower_meta_span">Click here to reveal meta answer</span>!
166
+ </p>
167
+
168
+
169
+ <h3>Atlantis Final Challenge:</h3>
170
+ <p>
171
+ You discover that Atlantis has been overrun by <span class="meta_answer" id="atlantis_meta_meta_plot_span">Click here to reveal meta-spoiling plot information</span>. You go to the <span class="meta_answer" id="atlantis_meta_meta_span">Click here to reveal meta answer</span>. There, you defeat them and save Atlantis. In return, the monarch of Atlantis gives you a <span class="storyitem">Navigational Chart</span> showing the stones’ location, and promises to send you an Atlantean guide to help you navigate the trench.
172
+ </p>
173
+
174
+
175
+
176
+
177
+ </div>
178
+
179
+
180
+
181
+
182
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
183
+
184
+ <script type="text/javascript">
185
+ $(document).ready(function() {
186
+ var answer_map = {};
187
+ var metas = {"optics_lab_meta_span": "PRISMATIC PERISCOPE",
188
+ "chemistry_lab_meta_span": "COOL FUEL",
189
+ "machine_room_meta_span": "AETHER BALLAST TANK",
190
+ "workshop_meta_meta_span": "STEAM LAB",
191
+ "pod_of_dolphins_meta_span": "BELUGA PAL",
192
+ "coral_reef_meta_span": "ELECTRIC EEL POWER",
193
+ "treasure_chest_meta_span": "MANTA RAY VISION",
194
+ "school_of_fish_meta_span": "SARDINE CANNONS",
195
+ "graveyard_meta_span": "MECHANICAL SEA MONSTER",
196
+ "spongebob_span": "UNTANGLE LINES",
197
+ "captain_planet_span": "RECYCLE CONTENT",
198
+ "dory_span": "LOOK BEHIND YOU",
199
+ "cthulhu_span": "FEED ME YOUR SOLES",
200
+ "ocean_meta_meta_span": "SHIPWRECK",
201
+ "golden_tower_meta_span": "TRIDENT OF HARMONY",
202
+ "colorful_tower_meta_span": "IMMORTAL IRON KEEL",
203
+ "spotted_tower_meta_span": "ENCHANTED PANACEA",
204
+ "spiky_tower_meta_span": "FAERIE CORNUCOPIA",
205
+ "atlantis_meta_meta_plot_span": "the Four Seahorsemen of the Apocalypse",
206
+ "atlantis_meta_meta_span": "TOP OF TALLEST TOWER"};
207
+ $('.meta_answer').click(function(e) {
208
+ $(e.target).text(metas[e.target.id]);});});
209
+ </script>
210
+
211
+
212
+ </body>
213
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/toc.html ADDED
@@ -0,0 +1,831 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Table of Contents &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Known Locations</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+
74
+
75
+ <h2>Machine Room</h2> <!-- TODO: metas?! Phases? -->
76
+ <!-- TODO: are these in DEEP order? They should be... -->
77
+ <ul>
78
+
79
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/imba">Imba</a>
80
+
81
+ </li>
82
+
83
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/beth">Beth</a>
84
+
85
+ </li>
86
+
87
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/erraticism">Erraticism</a>
88
+
89
+ </li>
90
+
91
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_on_the_move">Back on the Move</a>
92
+
93
+ </li>
94
+
95
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/loony_playhouse_actors">Loony Playhouse Actors</a>
96
+
97
+ </li>
98
+
99
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nautiluss_duplicated_quest">Nautilus's Duplicated Quest</a>
100
+
101
+ </li>
102
+
103
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/takeout_ordering">Takeout Ordering</a>
104
+
105
+ </li>
106
+
107
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nope">Nope!</a>
108
+
109
+ </li>
110
+
111
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_rare_teak">A Rare Teak</a>
112
+
113
+ </li>
114
+
115
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/machine_room_meta">Machine Room Meta</a>
116
+
117
+ </li>
118
+
119
+ </ul>
120
+
121
+
122
+
123
+ <h2>Optics Lab</h2> <!-- TODO: metas?! Phases? -->
124
+ <!-- TODO: are these in DEEP order? They should be... -->
125
+ <ul>
126
+
127
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_puzzle_has_no_errata">This Puzzle Has No Errata</a>
128
+
129
+ </li>
130
+
131
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wait_what_did_you_say">Wait, What Did You Say?</a>
132
+
133
+ </li>
134
+
135
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_is_out_of_joint">Time Is Out of Joint</a>
136
+
137
+ </li>
138
+
139
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wizardly_tales">Wizardly Tales</a>
140
+
141
+ </li>
142
+
143
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_agers_puzzling_adventure">Captain Ager's Puzzling Adventure</a>
144
+
145
+ </li>
146
+
147
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/montages">Montages</a>
148
+
149
+ </li>
150
+
151
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nina">Nina</a>
152
+
153
+ </li>
154
+
155
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/optics_lab_meta">Optics Lab Meta</a>
156
+
157
+ </li>
158
+
159
+ </ul>
160
+
161
+
162
+
163
+ <h2>Chemistry Lab</h2> <!-- TODO: metas?! Phases? -->
164
+ <!-- TODO: are these in DEEP order? They should be... -->
165
+ <ul>
166
+
167
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/escape_from_the_classroom">Escape from the Classroom</a>
168
+
169
+ </li>
170
+
171
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mythological_connections">Mythological Connections</a>
172
+
173
+ </li>
174
+
175
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_misspelled_insects">The Misspelled Insects</a>
176
+
177
+ </li>
178
+
179
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/people_and_places">People and Places</a>
180
+
181
+ </li>
182
+
183
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/finsey_gillhone">Finsey Gillhone</a>
184
+
185
+ </li>
186
+
187
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wordsearches_are_a_piece_of_cake">Wordsearches Are a Piece of Cake</a>
188
+
189
+ </li>
190
+
191
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/speak_of_the_devil_fruit">Speak of the Devil Fruit</a>
192
+
193
+ </li>
194
+
195
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_accumulator">The Accumulator</a>
196
+
197
+ </li>
198
+
199
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/chemistry_lab_meta">Chemistry Lab Meta</a>
200
+
201
+ </li>
202
+
203
+ </ul>
204
+
205
+
206
+
207
+ <h2>School of Fish</h2> <!-- TODO: metas?! Phases? -->
208
+ <!-- TODO: are these in DEEP order? They should be... -->
209
+ <ul>
210
+
211
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/denizen_of_the_deep">Denizen of the Deep</a>
212
+
213
+ </li>
214
+
215
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/eh">Eh?</a>
216
+
217
+ </li>
218
+
219
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/feeling_bluefin">Feeling Bluefin</a>
220
+
221
+ </li>
222
+
223
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tournament">Tournament</a>
224
+
225
+ </li>
226
+
227
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_cats_meow">The Cat's Meow</a>
228
+
229
+ </li>
230
+
231
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_short_transmission">A Short Transmission</a>
232
+
233
+ </li>
234
+
235
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hash">Hash</a>
236
+
237
+ </li>
238
+
239
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ready_set_go">Ready Set Go</a>
240
+
241
+ </li>
242
+
243
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/frequency_distribution_tank">Frequency Distribution Tank</a>
244
+
245
+ </li>
246
+
247
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/headshots">Headshots</a>
248
+
249
+ </li>
250
+
251
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/watch_me_blow_this">Watch Me Blow This!</a>
252
+
253
+ </li>
254
+
255
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blocks">Blocks</a>
256
+
257
+ </li>
258
+
259
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_last_airbender">The Last Airbender</a>
260
+
261
+ </li>
262
+
263
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rid_fill">Rid Fill</a>
264
+
265
+ </li>
266
+
267
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/moves">Moves</a>
268
+
269
+ </li>
270
+
271
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/twelve_grids_of_pictures">Twelve Grids of Pictures</a>
272
+
273
+ </li>
274
+
275
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_acerbic_sixteen">The Acerbic Sixteen</a>
276
+
277
+ </li>
278
+
279
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_story_is_canon">This Story is Canon</a>
280
+
281
+ </li>
282
+
283
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/p1ctures">p1ctures</a>
284
+
285
+ </li>
286
+
287
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tickle_me_pink">Tickle Me Pink</a>
288
+
289
+ </li>
290
+
291
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/memory_lane">Memory Lane</a>
292
+
293
+ </li>
294
+
295
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ride_em_in">Ride 'Em In</a>
296
+
297
+ </li>
298
+
299
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_hidden_city">The Hidden City</a>
300
+
301
+ </li>
302
+
303
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/trivia_round">Trivia Round</a>
304
+
305
+ </li>
306
+
307
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_at_it">Go At It!</a>
308
+
309
+ </li>
310
+
311
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/goldfish_memory">Goldfish Memory</a>
312
+
313
+ </li>
314
+
315
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bubbles">Bubbles</a>
316
+
317
+ </li>
318
+
319
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bookshelves">Bookshelves</a>
320
+
321
+ </li>
322
+
323
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/threes_the_charm">Three's the Charm</a>
324
+
325
+ </li>
326
+
327
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/starfish">Starfish</a>
328
+
329
+ </li>
330
+
331
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/toasting_the_bagel">Toasting the Bagel</a>
332
+
333
+ </li>
334
+
335
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rectangles">Rectangles</a>
336
+
337
+ </li>
338
+
339
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fjf_s">FJF,S</a>
340
+
341
+ </li>
342
+
343
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fencing">Fencing</a>
344
+
345
+ </li>
346
+
347
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/striptease">Striptease</a>
348
+
349
+ </li>
350
+
351
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/siamese_quintuplets">Siamese Quintuplets</a>
352
+
353
+ </li>
354
+
355
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/not_all_there">Not All There</a>
356
+
357
+ </li>
358
+
359
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/no_pluto">No Pluto</a>
360
+
361
+ </li>
362
+
363
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_resistance">The Resistance</a>
364
+
365
+ </li>
366
+
367
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_fish">Go Fish!</a>
368
+
369
+ </li>
370
+
371
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fill_in_the_blanks">Fill in the Blanks</a>
372
+
373
+ </li>
374
+
375
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_toast">A Toast</a>
376
+
377
+ </li>
378
+
379
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/be_a_star">Be a Star!</a>
380
+
381
+ </li>
382
+
383
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/i_know_thats_a_pisser_baby">I Know That's a Pisser Baby </a>
384
+
385
+ </li>
386
+
387
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/word_fork">Word Fork</a>
388
+
389
+ </li>
390
+
391
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_poem_by_shell_silverstein">A Poem by Shell Silverstein </a>
392
+
393
+ </li>
394
+
395
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/even_the_blossoming_flowers">Even the Blossoming Flowers...</a>
396
+
397
+ </li>
398
+
399
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spittle_loon">Spittle Loon</a>
400
+
401
+ </li>
402
+
403
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/flat_containers">Flat Containers</a>
404
+
405
+ </li>
406
+
407
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_er_of_men">The ____er of Men</a>
408
+
409
+ </li>
410
+
411
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_wheels_go_round_and_round">The Wheels Go Round and Round</a>
412
+
413
+ </li>
414
+
415
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/munchies">Munchies</a>
416
+
417
+ </li>
418
+
419
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_and_forth">Back and Forth</a>
420
+
421
+ </li>
422
+
423
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/encephalon">Encephalon</a>
424
+
425
+ </li>
426
+
427
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/funny_shapes">Funny Shapes</a>
428
+
429
+ </li>
430
+
431
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/les_faux_amis_valent_rien">Les Faux Amis Valent Rien</a>
432
+
433
+ </li>
434
+
435
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/school_of_fish_meta">School of Fish Meta</a>
436
+
437
+ </li>
438
+
439
+ </ul>
440
+
441
+
442
+
443
+ <h2>Pod of Dolphins</h2> <!-- TODO: metas?! Phases? -->
444
+ <!-- TODO: are these in DEEP order? They should be... -->
445
+ <ul>
446
+
447
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/per_verse_poetry">Per-verse Poetry</a>
448
+
449
+ </li>
450
+
451
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/representative_characters">Representative Characters</a>
452
+
453
+ </li>
454
+
455
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/constraint_chef">Constraint Chef</a>
456
+
457
+ </li>
458
+
459
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/something_looks_fishy">Something Looks Fishy</a>
460
+
461
+ </li>
462
+
463
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/field_trip">Field Trip</a>
464
+
465
+ </li>
466
+
467
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mit_mystery_hunt">MiT MYSTERY HUNT</a>
468
+
469
+ </li>
470
+
471
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/choose_your_language">Choose Your Language</a>
472
+
473
+ </li>
474
+
475
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/its_play_time">It's Play Time</a>
476
+
477
+ </li>
478
+
479
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dr_nautiluss_secret_notes">Dr. Nautilus's Secret Notes</a>
480
+
481
+ </li>
482
+
483
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pod_of_dolphins_meta">Pod of Dolphins Meta</a>
484
+
485
+ </li>
486
+
487
+ </ul>
488
+
489
+
490
+
491
+ <h2>Coral Reef</h2> <!-- TODO: metas?! Phases? -->
492
+ <!-- TODO: are these in DEEP order? They should be... -->
493
+ <ul>
494
+
495
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hashi_it_out">Hashi It Out</a>
496
+
497
+ </li>
498
+
499
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ariels_scavenger_hunt">Ariel's Scavenger Hunt</a>
500
+
501
+ </li>
502
+
503
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_puzzle_consisting_entirely_of_random_anagrams">A Puzzle Consisting Entirely of Random Anagrams</a>
504
+
505
+ </li>
506
+
507
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/jack_and_jill_or_janet">Jack and Jill or Janet</a>
508
+
509
+ </li>
510
+
511
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_thousand_words">A Thousand Words</a>
512
+
513
+ </li>
514
+
515
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pipe">Pipe</a>
516
+
517
+ </li>
518
+
519
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/polyglot">Polyglot</a>
520
+
521
+ </li>
522
+
523
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_10_000_puzzle_pyramid">The 10,000 Puzzle Pyramid</a>
524
+
525
+ </li>
526
+
527
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coral_reef_meta">Coral Reef Meta</a>
528
+
529
+ </li>
530
+
531
+ </ul>
532
+
533
+
534
+
535
+ <h2>Treasure Chest</h2> <!-- TODO: metas?! Phases? -->
536
+ <!-- TODO: are these in DEEP order? They should be... -->
537
+ <ul>
538
+
539
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cube">Cube</a>
540
+
541
+ </li>
542
+
543
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/game">Game</a>
544
+
545
+ </li>
546
+
547
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/knit_square">Knit Square</a>
548
+
549
+ </li>
550
+
551
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ropes">Ropes</a>
552
+
553
+ </li>
554
+
555
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/paper_jigsaw">Paper Jigsaw</a>
556
+
557
+ </li>
558
+
559
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/locks">Locks</a>
560
+
561
+ </li>
562
+
563
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wood">Wood</a>
564
+
565
+ </li>
566
+
567
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coins">Coins</a>
568
+
569
+ </li>
570
+
571
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/treasure_chest_meta">Treasure Chest Meta</a>
572
+
573
+ </li>
574
+
575
+ </ul>
576
+
577
+
578
+
579
+ <h2>Graveyard</h2> <!-- TODO: metas?! Phases? -->
580
+ <!-- TODO: are these in DEEP order? They should be... -->
581
+ <ul>
582
+
583
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/shark_blood">Shark Blood</a>
584
+
585
+ </li>
586
+
587
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/welcome_to_dead_waters">Welcome to Dead Waters</a>
588
+
589
+ </li>
590
+
591
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/say_cheese_and_dive">Say Cheese and Dive!</a>
592
+
593
+ </li>
594
+
595
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lets_get_submersible">Let's Get Submersible!</a>
596
+
597
+ </li>
598
+
599
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/night_of_the_living_kraken">Night of the Living Kraken</a>
600
+
601
+ </li>
602
+
603
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_curse_of_the_atlanteans_tomb">The Curse of the Atlantean's Tomb</a>
604
+
605
+ </li>
606
+
607
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/stay_out_of_the_trench">Stay Out of the Trench</a>
608
+
609
+ </li>
610
+
611
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/graveyard_meta">Graveyard Meta</a>
612
+
613
+ </li>
614
+
615
+ </ul>
616
+
617
+
618
+
619
+ <h2>Aquatic Acquaintances</h2> <!-- TODO: metas?! Phases? -->
620
+ <!-- TODO: are these in DEEP order? They should be... -->
621
+ <ul>
622
+
623
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spongebob">Spongebob</a>
624
+
625
+ </li>
626
+
627
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_planet">Captain Planet</a>
628
+
629
+ </li>
630
+
631
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dory">Dory</a>
632
+
633
+ </li>
634
+
635
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cthulhu">Cthulhu</a>
636
+
637
+ </li>
638
+
639
+ </ul>
640
+
641
+
642
+
643
+ <h2>Colorful Tower</h2> <!-- TODO: metas?! Phases? -->
644
+ <!-- TODO: are these in DEEP order? They should be... -->
645
+ <ul>
646
+
647
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/smiling_vessel">Smiling Vessel</a>
648
+
649
+ </li>
650
+
651
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/image">Image</a>
652
+
653
+ </li>
654
+
655
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blue_bomber">Blue Bomber</a>
656
+
657
+ </li>
658
+
659
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/steves_parable">Steve's Parable</a>
660
+
661
+ </li>
662
+
663
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_amp_place">Time &amp; Place</a>
664
+
665
+ </li>
666
+
667
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_push_in_the_right_direction">A Push in the Right Direction</a>
668
+
669
+ </li>
670
+
671
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/suns_of_china">Suns of China</a>
672
+
673
+ </li>
674
+
675
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/colorful_tower_meta">Colorful Tower Meta</a>
676
+
677
+ </li>
678
+
679
+ </ul>
680
+
681
+
682
+
683
+ <h2>Spotted Tower</h2> <!-- TODO: metas?! Phases? -->
684
+ <!-- TODO: are these in DEEP order? They should be... -->
685
+ <ul>
686
+
687
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/topsy_turvy">Topsy-Turvy</a>
688
+
689
+ </li>
690
+
691
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hunt_life_3_confirmed">Hunt-Life 3 Confirmed!</a>
692
+
693
+ </li>
694
+
695
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantean_graves">Atlantean Graves</a>
696
+
697
+ </li>
698
+
699
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/foamy">Foamy</a>
700
+
701
+ </li>
702
+
703
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/benny_lava">Benny Lava</a>
704
+
705
+ </li>
706
+
707
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spotted_tower_meta">Spotted Tower Meta</a>
708
+
709
+ </li>
710
+
711
+ </ul>
712
+
713
+
714
+
715
+ <h2>Spiky Tower</h2> <!-- TODO: metas?! Phases? -->
716
+ <!-- TODO: are these in DEEP order? They should be... -->
717
+ <ul>
718
+
719
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_case_of_the_monday_crosswords">A Case of the Monday Crosswords</a>
720
+
721
+ </li>
722
+
723
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lead_right">Lead Right</a>
724
+
725
+ </li>
726
+
727
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/floating_crossword">Floating Crossword</a>
728
+
729
+ </li>
730
+
731
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/quodlibet">Quodlibet</a>
732
+
733
+ </li>
734
+
735
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptochains">Cryptochains</a>
736
+
737
+ </li>
738
+
739
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_sun_will_come_out">The Sun Will Come Out</a>
740
+
741
+ </li>
742
+
743
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ukacd">UKACD</a>
744
+
745
+ </li>
746
+
747
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/read_between_the_lines">Read Between the Lines</a>
748
+
749
+ </li>
750
+
751
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/follow_the_bees">Follow the Bees!</a>
752
+
753
+ </li>
754
+
755
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spiky_tower_meta">Spiky Tower Meta</a>
756
+
757
+ </li>
758
+
759
+ </ul>
760
+
761
+
762
+
763
+ <h2>Golden Tower</h2> <!-- TODO: metas?! Phases? -->
764
+ <!-- TODO: are these in DEEP order? They should be... -->
765
+ <ul>
766
+
767
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tantalum">Tantalum</a>
768
+
769
+ </li>
770
+
771
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/check_out_this_sticked_asiatic_music">Check Out This Sticked Asiatic Music</a>
772
+
773
+ </li>
774
+
775
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/practice_in_theory">Practice in Theory</a>
776
+
777
+ </li>
778
+
779
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptic_golf">Cryptic Golf</a>
780
+
781
+ </li>
782
+
783
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mashup">Mashup</a>
784
+
785
+ </li>
786
+
787
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/connect_the_ducks">Connect the Ducks</a>
788
+
789
+ </li>
790
+
791
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/golden_tower_meta">Golden Tower Meta</a>
792
+
793
+ </li>
794
+
795
+ </ul>
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+ <h2>Hunt Round (Metametas)</h2> <!-- TODO: metas?! Phases? -->
804
+ <!-- TODO: are these in DEEP order? They should be... -->
805
+ <ul>
806
+
807
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/workshop_meta_meta">Workshop Meta Meta</a>
808
+
809
+ </li>
810
+
811
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ocean_meta_meta">Ocean Meta Meta</a>
812
+
813
+ </li>
814
+
815
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantis_meta_meta">Atlantis Meta Meta</a>
816
+
817
+ </li>
818
+
819
+ </ul>
820
+
821
+
822
+ </div>
823
+
824
+
825
+
826
+
827
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
828
+
829
+
830
+ </body>
831
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_headshots/updates.html ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Updates &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css"/>
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Updates from Sealab</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p style="font-style:italic">
74
+ Errata, major news, etc. will be posted here as well as delivered via email.
75
+ </p>
76
+
77
+ <p class="hqupdate">
78
+ <h3>Friday at 2:40 PM</h3>
79
+ First, a reminder about our scheduled events and study breaks. See them <a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">here</a>.
80
+ <br/><br/>
81
+ Additionally, some explorers have expressed confusion that they did not receive a packet, in addition to the Adventure Starter Kit (Bag of Swag) after Dr. Nautilus's presentation. There is not in fact a separate packet; everything is included in your Adventure Starter Kit.
82
+ </p>
83
+
84
+ <p class="hqupdate">
85
+ <h3>Friday at 4:00 PM</h3>
86
+ Please check the puzzle "Back on the Move" again for an update about which Twitter account is being used (due to Twitter's rate-limiting).
87
+ </p>
88
+
89
+ <p class="hqupdate">
90
+ <h3>Friday at 5:20 PM</h3>
91
+ Dr. Nautilus has generously given you access to the entirety of the Machine Room. Happy puzzling!
92
+ </p>
93
+
94
+ <p class="hqupdate">
95
+ <h3>Friday at 7:00 PM</h3>
96
+ Hi Teams,<br/>
97
+ Julie asked me to remind you about the "Ask the Oracle" function on the website! Each puzzle page has a link on the upper-right to ask a yes or no question. More details are available there.
98
+ <br/>
99
+ Charge will continue to build up as you explore (and attend events!), so don't be shy to ask questions of the Oracle when you are feeling stuck or not having a fun on a puzzle!<br/>
100
+ -Dr. N
101
+ </p>
102
+ <p class="hqupdate">
103
+ <h3>Saturday at 12:20 AM</h3>
104
+ Dr. Nautilus has generously given you access to the entirety of the Optics Lab. Happy puzzling!
105
+ </p>
106
+ <p class="hqupdate">
107
+ <h3>Saturday at 1:12 AM</h3>
108
+ For the puzzle "A Thousand Words", we have added an "E" to the fifth
109
+ row of the grid; the version on the website now reflects this
110
+ correction.
111
+ </p>
112
+ <p class="hqupdate">
113
+ <h3>Saturday at 3:31 AM</h3>
114
+ For the puzzle "Choose Your Language", the line beginning "The four ninja warrior turtles..." was
115
+ extraneous and has been removed.
116
+ </p>
117
+ <p class="hqupdate">
118
+ <h3>Saturday at 4:31 AM</h3>
119
+ For the puzzle "Welcome to Dead Waters", the last line has been changed.
120
+ </p>
121
+ <p class="hqupdate">
122
+ <h3>Saturday at 9:17 AM</h3>
123
+ For the puzzle "Ocean Meta Meta", the letter I should be included in the list of letters that contain a vertical mirror plane.
124
+ </p>
125
+ <p class="hqupdate">
126
+ <h3>Saturday at 12:40 PM</h3>
127
+ Dr. Nautilus wants to make sure that you have all noticed the puzzle "Field Trip", which you should now be able to see. She thought you might be interested in taking a look at it soon if you haven't already!
128
+ </p>
129
+
130
+ <p class="hqupdate">
131
+ <h3>Saturday at 05:28 PM</h3>
132
+ <p>The tombstone for Neptune III should have the text &quot;Neptune III&quot; or just &quot;Neptune&quot; replaced with &quot;Blue Stream&quot; each place it appears. This update should be live on the website now.</p>
133
+ </p>
134
+
135
+ <p class="hqupdate">
136
+ <h3>Saturday at 06:06 PM</h3>
137
+ <p>Dr. Nautilus has generously given you access to the entirety of the Chemistry Lab. Happy puzzling!<br /></p>
138
+ </p>
139
+
140
+ <p class="hqupdate">
141
+ <h3>Saturday at 11:51 PM</h3>
142
+ <p>Hi teams,</p>
143
+
144
+ <p>We&#39;ve fixed the bug that was causing display issues on the hints page. Please refresh your page and check for anything you might have missed.</p>
145
+
146
+ <p>Sealab</p>
147
+ </p>
148
+
149
+ <p class="hqupdate">
150
+ <h3>Sunday at 05:12 AM</h3>
151
+ <p>I am pleased to announce that the Nautilodestone was found by Luck, I Am Your Father at 5:02 AM on Sunday, January 18, 2015.</p>
152
+
153
+ <p>Sealab will remain open until 6:00 PM today. Wrapup will be tomorrow, Monday, January 19, at 12:17 PM, in Kresge Auditorium.</p>
154
+
155
+ <p>Congratulations to Luck, I Am Your Father! I look forward to learning of their plans for future exploration.</p>
156
+
157
+ <p>Dr. Nautilus</p>
158
+ </p>
159
+
160
+ <p class="hqupdate">
161
+ <h3>Sunday at 08:34 AM</h3>
162
+ <p>Sealab is happy to report that the Oracle is now able to answer questions about meta puzzles and metameta puzzles.</p>
163
+ </p>
164
+
165
+ <p class="hqupdate">
166
+ <h3>Sunday at 12:31 PM</h3>
167
+ <p>Hello hunters,</p>
168
+
169
+ <p>The pizza for the study break sponsored by Hudson River Trading arrived early, so come get it while it&#39;s hot! The study break is on the third floor of the student center.</p>
170
+
171
+ <p>I&#39;ll be closing Sealab at 6:17pm tonight. After you finish solving, if you got a team base from us, please make sure to clean up the room, make sure the desks or chairs are arranged the way they were when you got the room -- set up for a class -- and that anything you brought to the room is removed. We&#39;d like all of that to be completed by Monday at 9am, but let Sealab know if your team will need more time to clean up.</p>
172
+
173
+ <p>Finally, wrap-up will be at 12:17pm on Monday in Kresge Auditorium (W16). I hope to see you there!</p>
174
+
175
+ <p>-Dr. N.</p>
176
+ </p>
177
+
178
+ <p class="hqupdate">
179
+ <h3>Sunday at 06:24 PM</h3>
180
+ <p>Hello hunters,</p>
181
+
182
+ <p>Sealab is now closed, but Dr. Nautilus wanted to remind you to submit puzzle feedback surveys! In case you missed it, there&#39;s a &quot;Submit Feedback&quot; link in the corner of every puzzle page, and we&#39;d love to know what you loved and didn&#39;t love about the puzzles.</p>
183
+
184
+ <p>Wrapup will be tomorrow (Monday) at 12:17 pm in Kresge Auditorium.</p>
185
+
186
+ <p>As a reminder, please please clean up your rooms if you have rooms reserved on campus. Make sure that all of the trash is picked up, the surfaces are clean, the chairs and tables are arranged normally as when you found them, and the boards are erased. Failure to do so will endanger the Mystery Hunt&#39;s ability to continue to reserve space on campus in future hunts.</p>
187
+
188
+ <p>Thanks!</p>
189
+
190
+ <p>-Sealab</p>
191
+ </p>
192
+
193
+ <p class="hqupdate">
194
+ <h3>Sunday at 07:51 PM</h3>
195
+ <p>Hello hunters,</p>
196
+
197
+ <p>Now that the Nautilodestones have been found and Sealab is packing up, I&#39;ve posted the solutions to all of the puzzles you found in the ocean on the M.Y.S.T.E.R.Y. H.U.N.T. website. Thanks for joining my exploration!</p>
198
+
199
+ <p>We will be selling more M.Y.S.T.E.R.Y. H.U.N.T. shirts at Wrap-up tomorrow, so if you didn&#39;t get a chance to buy them, you can do so then. And we can now confirm that, indeed, they are (part of) a puzzle.</p>
200
+
201
+ <p>-Dr. N.</p>
202
+ </p>
203
+
204
+
205
+ </div>
206
+
207
+
208
+
209
+
210
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
211
+
212
+
213
+ </body>
214
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/atlantis.css ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* line 3, ../../sass/atlantis.scss */
2
+ body {
3
+ background: url("../images/hunt/atlantis_bg.png") repeat-y calc(50% - 700px) 100px, -webkit-gradient(linear, to bottom, to top, color-stop(0%, #2e1b59), color-stop(100%, #01012a)) repeat-x;
4
+ background: url("../images/hunt/atlantis_bg.png") repeat-y calc(50% - 700px) 100px, -webkit-linear-gradient(to bottom, #2e1b59, #01012a) repeat-x;
5
+ background: url("../images/hunt/atlantis_bg.png") repeat-y calc(50% - 700px) 100px, -moz-linear-gradient(to bottom, #2e1b59, #01012a) repeat-x;
6
+ background: url("../images/hunt/atlantis_bg.png") repeat-y calc(50% - 700px) 100px, -o-linear-gradient(to bottom, #2e1b59, #01012a) repeat-x;
7
+ background: url("../images/hunt/atlantis_bg.png") repeat-y calc(50% - 700px) 100px, linear-gradient(to bottom, #2e1b59, #01012a) repeat-x;
8
+ }
9
+
10
+ /* line 9, ../../sass/atlantis.scss */
11
+ html {
12
+ height: auto;
13
+ min-height: 100%;
14
+ }
15
+
16
+ /* line 14, ../../sass/atlantis.scss */
17
+ body {
18
+ height: 100%;
19
+ background-color: #20124A;
20
+ }
21
+
22
+ /* line 19, ../../sass/atlantis.scss */
23
+ #paper {
24
+ z-index: 9;
25
+ background: #B7EAE6;
26
+ margin-top: 347px;
27
+ min-height: 210px;
28
+ }
29
+
30
+ /* line 25, ../../sass/atlantis.scss */
31
+ #artstuff {
32
+ margin-left: auto;
33
+ margin-right: auto;
34
+ margin-top: 42px;
35
+ width: 1000px;
36
+ height: 1px;
37
+ }
38
+
39
+ /* line 33, ../../sass/atlantis.scss */
40
+ #atlantiscontainer {
41
+ width: 1000px;
42
+ height: 0px;
43
+ margin-left: auto;
44
+ margin-right: auto;
45
+ }
46
+
47
+ /* line 40, ../../sass/atlantis.scss */
48
+ #atlantisdecor {
49
+ z-index: 10;
50
+ position: relative;
51
+ left: -19px;
52
+ background-image: url("../images/hunt/atlantis_toponly.png");
53
+ height: 389px;
54
+ width: 1030px;
55
+ background-repeat: no-repeat;
56
+ margin-left: auto;
57
+ margin-right: auto;
58
+ }
59
+
60
+ /* line 52, ../../sass/atlantis.scss */
61
+ #leftdecor {
62
+ position: relative;
63
+ top: 356px;
64
+ left: -32px;
65
+ z-index: 10;
66
+ width: 101px;
67
+ height: 205px;
68
+ background-repeat: no-repeat;
69
+ background-image: url("../images/hunt/atlantis_sideL.png");
70
+ }
71
+
72
+ /* line 63, ../../sass/atlantis.scss */
73
+ #rightdecor {
74
+ position: relative;
75
+ left: 960px;
76
+ top: 150px;
77
+ z-index: 10;
78
+ width: 102px;
79
+ height: 205px;
80
+ background-repeat: no-repeat;
81
+ background-image: url("../images/hunt/atlantis_sideR.png");
82
+ }
83
+
84
+ /* line 74, ../../sass/atlantis.scss */
85
+ #puzzle-obj {
86
+ width: 335px;
87
+ height: 336px;
88
+ z-index: 11;
89
+ margin-left: 30px;
90
+ margin-top: 10px;
91
+ }
92
+
93
+ /* line 82, ../../sass/atlantis.scss */
94
+ #puzzle-obj img {
95
+ top: 50%;
96
+ left: 50%;
97
+ margin-right: -50%;
98
+ -webkit-transform: translate(-50%, -50%);
99
+ -moz-transform: translate(-50%, -50%);
100
+ -ms-transform: translate(-50%, -50%);
101
+ -o-transform: translate(-50%, -50%);
102
+ transform: translate(-50%, -50%);
103
+ position: relative;
104
+ }
105
+
106
+ /* line 90, ../../sass/atlantis.scss */
107
+ #infowindow {
108
+ z-index: 10;
109
+ position: absolute;
110
+ width: 320px;
111
+ top: 210px;
112
+ left: 640px;
113
+ padding: 12px;
114
+ }
115
+
116
+ @media print {
117
+ /* line 100, ../../sass/atlantis.scss */
118
+ #infowindow {
119
+ top: 0px;
120
+ }
121
+
122
+ /* line 103, ../../sass/atlantis.scss */
123
+ #paper {
124
+ margin-top: 10px;
125
+ }
126
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/bootstrap.js ADDED
@@ -0,0 +1,2107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * Bootstrap: affix.js v3.2.0
3
+ * http://getbootstrap.com/javascript/#affix
4
+ * ========================================================================
5
+ * Copyright 2011-2014 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // AFFIX CLASS DEFINITION
14
+ // ======================
15
+
16
+ var Affix = function (element, options) {
17
+ this.options = $.extend({}, Affix.DEFAULTS, options)
18
+
19
+ this.$target = $(this.options.target)
20
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
21
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
22
+
23
+ this.$element = $(element)
24
+ this.affixed =
25
+ this.unpin =
26
+ this.pinnedOffset = null
27
+
28
+ this.checkPosition()
29
+ }
30
+
31
+ Affix.VERSION = '3.2.0'
32
+
33
+ Affix.RESET = 'affix affix-top affix-bottom'
34
+
35
+ Affix.DEFAULTS = {
36
+ offset: 0,
37
+ target: window
38
+ }
39
+
40
+ Affix.prototype.getPinnedOffset = function () {
41
+ if (this.pinnedOffset) return this.pinnedOffset
42
+ this.$element.removeClass(Affix.RESET).addClass('affix')
43
+ var scrollTop = this.$target.scrollTop()
44
+ var position = this.$element.offset()
45
+ return (this.pinnedOffset = position.top - scrollTop)
46
+ }
47
+
48
+ Affix.prototype.checkPositionWithEventLoop = function () {
49
+ setTimeout($.proxy(this.checkPosition, this), 1)
50
+ }
51
+
52
+ Affix.prototype.checkPosition = function () {
53
+ if (!this.$element.is(':visible')) return
54
+
55
+ var scrollHeight = $(document).height()
56
+ var scrollTop = this.$target.scrollTop()
57
+ var position = this.$element.offset()
58
+ var offset = this.options.offset
59
+ var offsetTop = offset.top
60
+ var offsetBottom = offset.bottom
61
+
62
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
63
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
64
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
65
+
66
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
67
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
68
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
69
+
70
+ if (this.affixed === affix) return
71
+ if (this.unpin != null) this.$element.css('top', '')
72
+
73
+ var affixType = 'affix' + (affix ? '-' + affix : '')
74
+ var e = $.Event(affixType + '.bs.affix')
75
+
76
+ this.$element.trigger(e)
77
+
78
+ if (e.isDefaultPrevented()) return
79
+
80
+ this.affixed = affix
81
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
82
+
83
+ this.$element
84
+ .removeClass(Affix.RESET)
85
+ .addClass(affixType)
86
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
87
+
88
+ if (affix == 'bottom') {
89
+ this.$element.offset({
90
+ top: scrollHeight - this.$element.height() - offsetBottom
91
+ })
92
+ }
93
+ }
94
+
95
+
96
+ // AFFIX PLUGIN DEFINITION
97
+ // =======================
98
+
99
+ function Plugin(option) {
100
+ return this.each(function () {
101
+ var $this = $(this)
102
+ var data = $this.data('bs.affix')
103
+ var options = typeof option == 'object' && option
104
+
105
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
106
+ if (typeof option == 'string') data[option]()
107
+ })
108
+ }
109
+
110
+ var old = $.fn.affix
111
+
112
+ $.fn.affix = Plugin
113
+ $.fn.affix.Constructor = Affix
114
+
115
+
116
+ // AFFIX NO CONFLICT
117
+ // =================
118
+
119
+ $.fn.affix.noConflict = function () {
120
+ $.fn.affix = old
121
+ return this
122
+ }
123
+
124
+
125
+ // AFFIX DATA-API
126
+ // ==============
127
+
128
+ $(window).on('load', function () {
129
+ $('[data-spy="affix"]').each(function () {
130
+ var $spy = $(this)
131
+ var data = $spy.data()
132
+
133
+ data.offset = data.offset || {}
134
+
135
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
136
+ if (data.offsetTop) data.offset.top = data.offsetTop
137
+
138
+ Plugin.call($spy, data)
139
+ })
140
+ })
141
+
142
+ }(jQuery);
143
+
144
+ /* ========================================================================
145
+ * Bootstrap: alert.js v3.2.0
146
+ * http://getbootstrap.com/javascript/#alerts
147
+ * ========================================================================
148
+ * Copyright 2011-2014 Twitter, Inc.
149
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
150
+ * ======================================================================== */
151
+
152
+
153
+ +function ($) {
154
+ 'use strict';
155
+
156
+ // ALERT CLASS DEFINITION
157
+ // ======================
158
+
159
+ var dismiss = '[data-dismiss="alert"]'
160
+ var Alert = function (el) {
161
+ $(el).on('click', dismiss, this.close)
162
+ }
163
+
164
+ Alert.VERSION = '3.2.0'
165
+
166
+ Alert.prototype.close = function (e) {
167
+ var $this = $(this)
168
+ var selector = $this.attr('data-target')
169
+
170
+ if (!selector) {
171
+ selector = $this.attr('href')
172
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
173
+ }
174
+
175
+ var $parent = $(selector)
176
+
177
+ if (e) e.preventDefault()
178
+
179
+ if (!$parent.length) {
180
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
181
+ }
182
+
183
+ $parent.trigger(e = $.Event('close.bs.alert'))
184
+
185
+ if (e.isDefaultPrevented()) return
186
+
187
+ $parent.removeClass('in')
188
+
189
+ function removeElement() {
190
+ // detach from parent, fire event then clean up data
191
+ $parent.detach().trigger('closed.bs.alert').remove()
192
+ }
193
+
194
+ $.support.transition && $parent.hasClass('fade') ?
195
+ $parent
196
+ .one('bsTransitionEnd', removeElement)
197
+ .emulateTransitionEnd(150) :
198
+ removeElement()
199
+ }
200
+
201
+
202
+ // ALERT PLUGIN DEFINITION
203
+ // =======================
204
+
205
+ function Plugin(option) {
206
+ return this.each(function () {
207
+ var $this = $(this)
208
+ var data = $this.data('bs.alert')
209
+
210
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
211
+ if (typeof option == 'string') data[option].call($this)
212
+ })
213
+ }
214
+
215
+ var old = $.fn.alert
216
+
217
+ $.fn.alert = Plugin
218
+ $.fn.alert.Constructor = Alert
219
+
220
+
221
+ // ALERT NO CONFLICT
222
+ // =================
223
+
224
+ $.fn.alert.noConflict = function () {
225
+ $.fn.alert = old
226
+ return this
227
+ }
228
+
229
+
230
+ // ALERT DATA-API
231
+ // ==============
232
+
233
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
234
+
235
+ }(jQuery);
236
+
237
+ /* ========================================================================
238
+ * Bootstrap: button.js v3.2.0
239
+ * http://getbootstrap.com/javascript/#buttons
240
+ * ========================================================================
241
+ * Copyright 2011-2014 Twitter, Inc.
242
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
243
+ * ======================================================================== */
244
+
245
+
246
+ +function ($) {
247
+ 'use strict';
248
+
249
+ // BUTTON PUBLIC CLASS DEFINITION
250
+ // ==============================
251
+
252
+ var Button = function (element, options) {
253
+ this.$element = $(element)
254
+ this.options = $.extend({}, Button.DEFAULTS, options)
255
+ this.isLoading = false
256
+ }
257
+
258
+ Button.VERSION = '3.2.0'
259
+
260
+ Button.DEFAULTS = {
261
+ loadingText: 'loading...'
262
+ }
263
+
264
+ Button.prototype.setState = function (state) {
265
+ var d = 'disabled'
266
+ var $el = this.$element
267
+ var val = $el.is('input') ? 'val' : 'html'
268
+ var data = $el.data()
269
+
270
+ state = state + 'Text'
271
+
272
+ if (data.resetText == null) $el.data('resetText', $el[val]())
273
+
274
+ $el[val](data[state] == null ? this.options[state] : data[state])
275
+
276
+ // push to event loop to allow forms to submit
277
+ setTimeout($.proxy(function () {
278
+ if (state == 'loadingText') {
279
+ this.isLoading = true
280
+ $el.addClass(d).attr(d, d)
281
+ } else if (this.isLoading) {
282
+ this.isLoading = false
283
+ $el.removeClass(d).removeAttr(d)
284
+ }
285
+ }, this), 0)
286
+ }
287
+
288
+ Button.prototype.toggle = function () {
289
+ var changed = true
290
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
291
+
292
+ if ($parent.length) {
293
+ var $input = this.$element.find('input')
294
+ if ($input.prop('type') == 'radio') {
295
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
296
+ else $parent.find('.active').removeClass('active')
297
+ }
298
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
299
+ }
300
+
301
+ if (changed) this.$element.toggleClass('active')
302
+ }
303
+
304
+
305
+ // BUTTON PLUGIN DEFINITION
306
+ // ========================
307
+
308
+ function Plugin(option) {
309
+ return this.each(function () {
310
+ var $this = $(this)
311
+ var data = $this.data('bs.button')
312
+ var options = typeof option == 'object' && option
313
+
314
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
315
+
316
+ if (option == 'toggle') data.toggle()
317
+ else if (option) data.setState(option)
318
+ })
319
+ }
320
+
321
+ var old = $.fn.button
322
+
323
+ $.fn.button = Plugin
324
+ $.fn.button.Constructor = Button
325
+
326
+
327
+ // BUTTON NO CONFLICT
328
+ // ==================
329
+
330
+ $.fn.button.noConflict = function () {
331
+ $.fn.button = old
332
+ return this
333
+ }
334
+
335
+
336
+ // BUTTON DATA-API
337
+ // ===============
338
+
339
+ $(document).on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
340
+ var $btn = $(e.target)
341
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
342
+ Plugin.call($btn, 'toggle')
343
+ e.preventDefault()
344
+ })
345
+
346
+ }(jQuery);
347
+
348
+ /* ========================================================================
349
+ * Bootstrap: carousel.js v3.2.0
350
+ * http://getbootstrap.com/javascript/#carousel
351
+ * ========================================================================
352
+ * Copyright 2011-2014 Twitter, Inc.
353
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
354
+ * ======================================================================== */
355
+
356
+
357
+ +function ($) {
358
+ 'use strict';
359
+
360
+ // CAROUSEL CLASS DEFINITION
361
+ // =========================
362
+
363
+ var Carousel = function (element, options) {
364
+ this.$element = $(element).on('keydown.bs.carousel', $.proxy(this.keydown, this))
365
+ this.$indicators = this.$element.find('.carousel-indicators')
366
+ this.options = options
367
+ this.paused =
368
+ this.sliding =
369
+ this.interval =
370
+ this.$active =
371
+ this.$items = null
372
+
373
+ this.options.pause == 'hover' && this.$element
374
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
375
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
376
+ }
377
+
378
+ Carousel.VERSION = '3.2.0'
379
+
380
+ Carousel.DEFAULTS = {
381
+ interval: 5000,
382
+ pause: 'hover',
383
+ wrap: true
384
+ }
385
+
386
+ Carousel.prototype.keydown = function (e) {
387
+ switch (e.which) {
388
+ case 37: this.prev(); break
389
+ case 39: this.next(); break
390
+ default: return
391
+ }
392
+
393
+ e.preventDefault()
394
+ }
395
+
396
+ Carousel.prototype.cycle = function (e) {
397
+ e || (this.paused = false)
398
+
399
+ this.interval && clearInterval(this.interval)
400
+
401
+ this.options.interval
402
+ && !this.paused
403
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
404
+
405
+ return this
406
+ }
407
+
408
+ Carousel.prototype.getItemIndex = function (item) {
409
+ this.$items = item.parent().children('.item')
410
+ return this.$items.index(item || this.$active)
411
+ }
412
+
413
+ Carousel.prototype.to = function (pos) {
414
+ var that = this
415
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
416
+
417
+ if (pos > (this.$items.length - 1) || pos < 0) return
418
+
419
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
420
+ if (activeIndex == pos) return this.pause().cycle()
421
+
422
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
423
+ }
424
+
425
+ Carousel.prototype.pause = function (e) {
426
+ e || (this.paused = true)
427
+
428
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
429
+ this.$element.trigger($.support.transition.end)
430
+ this.cycle(true)
431
+ }
432
+
433
+ this.interval = clearInterval(this.interval)
434
+
435
+ return this
436
+ }
437
+
438
+ Carousel.prototype.next = function () {
439
+ if (this.sliding) return
440
+ return this.slide('next')
441
+ }
442
+
443
+ Carousel.prototype.prev = function () {
444
+ if (this.sliding) return
445
+ return this.slide('prev')
446
+ }
447
+
448
+ Carousel.prototype.slide = function (type, next) {
449
+ var $active = this.$element.find('.item.active')
450
+ var $next = next || $active[type]()
451
+ var isCycling = this.interval
452
+ var direction = type == 'next' ? 'left' : 'right'
453
+ var fallback = type == 'next' ? 'first' : 'last'
454
+ var that = this
455
+
456
+ if (!$next.length) {
457
+ if (!this.options.wrap) return
458
+ $next = this.$element.find('.item')[fallback]()
459
+ }
460
+
461
+ if ($next.hasClass('active')) return (this.sliding = false)
462
+
463
+ var relatedTarget = $next[0]
464
+ var slideEvent = $.Event('slide.bs.carousel', {
465
+ relatedTarget: relatedTarget,
466
+ direction: direction
467
+ })
468
+ this.$element.trigger(slideEvent)
469
+ if (slideEvent.isDefaultPrevented()) return
470
+
471
+ this.sliding = true
472
+
473
+ isCycling && this.pause()
474
+
475
+ if (this.$indicators.length) {
476
+ this.$indicators.find('.active').removeClass('active')
477
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
478
+ $nextIndicator && $nextIndicator.addClass('active')
479
+ }
480
+
481
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
482
+ if ($.support.transition && this.$element.hasClass('slide')) {
483
+ $next.addClass(type)
484
+ $next[0].offsetWidth // force reflow
485
+ $active.addClass(direction)
486
+ $next.addClass(direction)
487
+ $active
488
+ .one('bsTransitionEnd', function () {
489
+ $next.removeClass([type, direction].join(' ')).addClass('active')
490
+ $active.removeClass(['active', direction].join(' '))
491
+ that.sliding = false
492
+ setTimeout(function () {
493
+ that.$element.trigger(slidEvent)
494
+ }, 0)
495
+ })
496
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
497
+ } else {
498
+ $active.removeClass('active')
499
+ $next.addClass('active')
500
+ this.sliding = false
501
+ this.$element.trigger(slidEvent)
502
+ }
503
+
504
+ isCycling && this.cycle()
505
+
506
+ return this
507
+ }
508
+
509
+
510
+ // CAROUSEL PLUGIN DEFINITION
511
+ // ==========================
512
+
513
+ function Plugin(option) {
514
+ return this.each(function () {
515
+ var $this = $(this)
516
+ var data = $this.data('bs.carousel')
517
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
518
+ var action = typeof option == 'string' ? option : options.slide
519
+
520
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
521
+ if (typeof option == 'number') data.to(option)
522
+ else if (action) data[action]()
523
+ else if (options.interval) data.pause().cycle()
524
+ })
525
+ }
526
+
527
+ var old = $.fn.carousel
528
+
529
+ $.fn.carousel = Plugin
530
+ $.fn.carousel.Constructor = Carousel
531
+
532
+
533
+ // CAROUSEL NO CONFLICT
534
+ // ====================
535
+
536
+ $.fn.carousel.noConflict = function () {
537
+ $.fn.carousel = old
538
+ return this
539
+ }
540
+
541
+
542
+ // CAROUSEL DATA-API
543
+ // =================
544
+
545
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
546
+ var href
547
+ var $this = $(this)
548
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
549
+ if (!$target.hasClass('carousel')) return
550
+ var options = $.extend({}, $target.data(), $this.data())
551
+ var slideIndex = $this.attr('data-slide-to')
552
+ if (slideIndex) options.interval = false
553
+
554
+ Plugin.call($target, options)
555
+
556
+ if (slideIndex) {
557
+ $target.data('bs.carousel').to(slideIndex)
558
+ }
559
+
560
+ e.preventDefault()
561
+ })
562
+
563
+ $(window).on('load', function () {
564
+ $('[data-ride="carousel"]').each(function () {
565
+ var $carousel = $(this)
566
+ Plugin.call($carousel, $carousel.data())
567
+ })
568
+ })
569
+
570
+ }(jQuery);
571
+
572
+ /* ========================================================================
573
+ * Bootstrap: collapse.js v3.2.0
574
+ * http://getbootstrap.com/javascript/#collapse
575
+ * ========================================================================
576
+ * Copyright 2011-2014 Twitter, Inc.
577
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
578
+ * ======================================================================== */
579
+
580
+
581
+ +function ($) {
582
+ 'use strict';
583
+
584
+ // COLLAPSE PUBLIC CLASS DEFINITION
585
+ // ================================
586
+
587
+ var Collapse = function (element, options) {
588
+ this.$element = $(element)
589
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
590
+ this.transitioning = null
591
+
592
+ if (this.options.parent) this.$parent = $(this.options.parent)
593
+ if (this.options.toggle) this.toggle()
594
+ }
595
+
596
+ Collapse.VERSION = '3.2.0'
597
+
598
+ Collapse.DEFAULTS = {
599
+ toggle: true
600
+ }
601
+
602
+ Collapse.prototype.dimension = function () {
603
+ var hasWidth = this.$element.hasClass('width')
604
+ return hasWidth ? 'width' : 'height'
605
+ }
606
+
607
+ Collapse.prototype.show = function () {
608
+ if (this.transitioning || this.$element.hasClass('in')) return
609
+
610
+ var startEvent = $.Event('show.bs.collapse')
611
+ this.$element.trigger(startEvent)
612
+ if (startEvent.isDefaultPrevented()) return
613
+
614
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
615
+
616
+ if (actives && actives.length) {
617
+ var hasData = actives.data('bs.collapse')
618
+ if (hasData && hasData.transitioning) return
619
+ Plugin.call(actives, 'hide')
620
+ hasData || actives.data('bs.collapse', null)
621
+ }
622
+
623
+ var dimension = this.dimension()
624
+
625
+ this.$element
626
+ .removeClass('collapse')
627
+ .addClass('collapsing')[dimension](0)
628
+
629
+ this.transitioning = 1
630
+
631
+ var complete = function () {
632
+ this.$element
633
+ .removeClass('collapsing')
634
+ .addClass('collapse in')[dimension]('')
635
+ this.transitioning = 0
636
+ this.$element
637
+ .trigger('shown.bs.collapse')
638
+ }
639
+
640
+ if (!$.support.transition) return complete.call(this)
641
+
642
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
643
+
644
+ this.$element
645
+ .one('bsTransitionEnd', $.proxy(complete, this))
646
+ .emulateTransitionEnd(350)[dimension](this.$element[0][scrollSize])
647
+ }
648
+
649
+ Collapse.prototype.hide = function () {
650
+ if (this.transitioning || !this.$element.hasClass('in')) return
651
+
652
+ var startEvent = $.Event('hide.bs.collapse')
653
+ this.$element.trigger(startEvent)
654
+ if (startEvent.isDefaultPrevented()) return
655
+
656
+ var dimension = this.dimension()
657
+
658
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
659
+
660
+ this.$element
661
+ .addClass('collapsing')
662
+ .removeClass('collapse')
663
+ .removeClass('in')
664
+
665
+ this.transitioning = 1
666
+
667
+ var complete = function () {
668
+ this.transitioning = 0
669
+ this.$element
670
+ .trigger('hidden.bs.collapse')
671
+ .removeClass('collapsing')
672
+ .addClass('collapse')
673
+ }
674
+
675
+ if (!$.support.transition) return complete.call(this)
676
+
677
+ this.$element
678
+ [dimension](0)
679
+ .one('bsTransitionEnd', $.proxy(complete, this))
680
+ .emulateTransitionEnd(350)
681
+ }
682
+
683
+ Collapse.prototype.toggle = function () {
684
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
685
+ }
686
+
687
+
688
+ // COLLAPSE PLUGIN DEFINITION
689
+ // ==========================
690
+
691
+ function Plugin(option) {
692
+ return this.each(function () {
693
+ var $this = $(this)
694
+ var data = $this.data('bs.collapse')
695
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
696
+
697
+ if (!data && options.toggle && option == 'show') option = !option
698
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
699
+ if (typeof option == 'string') data[option]()
700
+ })
701
+ }
702
+
703
+ var old = $.fn.collapse
704
+
705
+ $.fn.collapse = Plugin
706
+ $.fn.collapse.Constructor = Collapse
707
+
708
+
709
+ // COLLAPSE NO CONFLICT
710
+ // ====================
711
+
712
+ $.fn.collapse.noConflict = function () {
713
+ $.fn.collapse = old
714
+ return this
715
+ }
716
+
717
+
718
+ // COLLAPSE DATA-API
719
+ // =================
720
+
721
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
722
+ var href
723
+ var $this = $(this)
724
+ var target = $this.attr('data-target')
725
+ || e.preventDefault()
726
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
727
+ var $target = $(target)
728
+ var data = $target.data('bs.collapse')
729
+ var option = data ? 'toggle' : $this.data()
730
+ var parent = $this.attr('data-parent')
731
+ var $parent = parent && $(parent)
732
+
733
+ if (!data || !data.transitioning) {
734
+ if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
735
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
736
+ }
737
+
738
+ Plugin.call($target, option)
739
+ })
740
+
741
+ }(jQuery);
742
+
743
+ /* ========================================================================
744
+ * Bootstrap: dropdown.js v3.2.0
745
+ * http://getbootstrap.com/javascript/#dropdowns
746
+ * ========================================================================
747
+ * Copyright 2011-2014 Twitter, Inc.
748
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
749
+ * ======================================================================== */
750
+
751
+
752
+ +function ($) {
753
+ 'use strict';
754
+
755
+ // DROPDOWN CLASS DEFINITION
756
+ // =========================
757
+
758
+ var backdrop = '.dropdown-backdrop'
759
+ var toggle = '[data-toggle="dropdown"]'
760
+ var Dropdown = function (element) {
761
+ $(element).on('click.bs.dropdown', this.toggle)
762
+ }
763
+
764
+ Dropdown.VERSION = '3.2.0'
765
+
766
+ Dropdown.prototype.toggle = function (e) {
767
+ var $this = $(this)
768
+
769
+ if ($this.is('.disabled, :disabled')) return
770
+
771
+ var $parent = getParent($this)
772
+ var isActive = $parent.hasClass('open')
773
+
774
+ clearMenus()
775
+
776
+ if (!isActive) {
777
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
778
+ // if mobile we use a backdrop because click events don't delegate
779
+ $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
780
+ }
781
+
782
+ var relatedTarget = { relatedTarget: this }
783
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
784
+
785
+ if (e.isDefaultPrevented()) return
786
+
787
+ $this.trigger('focus')
788
+
789
+ $parent
790
+ .toggleClass('open')
791
+ .trigger('shown.bs.dropdown', relatedTarget)
792
+ }
793
+
794
+ return false
795
+ }
796
+
797
+ Dropdown.prototype.keydown = function (e) {
798
+ if (!/(38|40|27)/.test(e.keyCode)) return
799
+
800
+ var $this = $(this)
801
+
802
+ e.preventDefault()
803
+ e.stopPropagation()
804
+
805
+ if ($this.is('.disabled, :disabled')) return
806
+
807
+ var $parent = getParent($this)
808
+ var isActive = $parent.hasClass('open')
809
+
810
+ if (!isActive || (isActive && e.keyCode == 27)) {
811
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
812
+ return $this.trigger('click')
813
+ }
814
+
815
+ var desc = ' li:not(.divider):visible a'
816
+ var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
817
+
818
+ if (!$items.length) return
819
+
820
+ var index = $items.index($items.filter(':focus'))
821
+
822
+ if (e.keyCode == 38 && index > 0) index-- // up
823
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
824
+ if (!~index) index = 0
825
+
826
+ $items.eq(index).trigger('focus')
827
+ }
828
+
829
+ function clearMenus(e) {
830
+ if (e && e.which === 3) return
831
+ $(backdrop).remove()
832
+ $(toggle).each(function () {
833
+ var $parent = getParent($(this))
834
+ var relatedTarget = { relatedTarget: this }
835
+ if (!$parent.hasClass('open')) return
836
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
837
+ if (e.isDefaultPrevented()) return
838
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
839
+ })
840
+ }
841
+
842
+ function getParent($this) {
843
+ var selector = $this.attr('data-target')
844
+
845
+ if (!selector) {
846
+ selector = $this.attr('href')
847
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
848
+ }
849
+
850
+ var $parent = selector && $(selector)
851
+
852
+ return $parent && $parent.length ? $parent : $this.parent()
853
+ }
854
+
855
+
856
+ // DROPDOWN PLUGIN DEFINITION
857
+ // ==========================
858
+
859
+ function Plugin(option) {
860
+ return this.each(function () {
861
+ var $this = $(this)
862
+ var data = $this.data('bs.dropdown')
863
+
864
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
865
+ if (typeof option == 'string') data[option].call($this)
866
+ })
867
+ }
868
+
869
+ var old = $.fn.dropdown
870
+
871
+ $.fn.dropdown = Plugin
872
+ $.fn.dropdown.Constructor = Dropdown
873
+
874
+
875
+ // DROPDOWN NO CONFLICT
876
+ // ====================
877
+
878
+ $.fn.dropdown.noConflict = function () {
879
+ $.fn.dropdown = old
880
+ return this
881
+ }
882
+
883
+
884
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
885
+ // ===================================
886
+
887
+ $(document)
888
+ .on('click.bs.dropdown.data-api', clearMenus)
889
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
890
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
891
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
892
+
893
+ }(jQuery);
894
+
895
+ /* ========================================================================
896
+ * Bootstrap: tab.js v3.2.0
897
+ * http://getbootstrap.com/javascript/#tabs
898
+ * ========================================================================
899
+ * Copyright 2011-2014 Twitter, Inc.
900
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
901
+ * ======================================================================== */
902
+
903
+
904
+ +function ($) {
905
+ 'use strict';
906
+
907
+ // TAB CLASS DEFINITION
908
+ // ====================
909
+
910
+ var Tab = function (element) {
911
+ this.element = $(element)
912
+ }
913
+
914
+ Tab.VERSION = '3.2.0'
915
+
916
+ Tab.prototype.show = function () {
917
+ var $this = this.element
918
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
919
+ var selector = $this.data('target')
920
+
921
+ if (!selector) {
922
+ selector = $this.attr('href')
923
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
924
+ }
925
+
926
+ if ($this.parent('li').hasClass('active')) return
927
+
928
+ var previous = $ul.find('.active:last a')[0]
929
+ var e = $.Event('show.bs.tab', {
930
+ relatedTarget: previous
931
+ })
932
+
933
+ $this.trigger(e)
934
+
935
+ if (e.isDefaultPrevented()) return
936
+
937
+ var $target = $(selector)
938
+
939
+ this.activate($this.closest('li'), $ul)
940
+ this.activate($target, $target.parent(), function () {
941
+ $this.trigger({
942
+ type: 'shown.bs.tab',
943
+ relatedTarget: previous
944
+ })
945
+ })
946
+ }
947
+
948
+ Tab.prototype.activate = function (element, container, callback) {
949
+ var $active = container.find('> .active')
950
+ var transition = callback
951
+ && $.support.transition
952
+ && $active.hasClass('fade')
953
+
954
+ function next() {
955
+ $active
956
+ .removeClass('active')
957
+ .find('> .dropdown-menu > .active')
958
+ .removeClass('active')
959
+
960
+ element.addClass('active')
961
+
962
+ if (transition) {
963
+ element[0].offsetWidth // reflow for transition
964
+ element.addClass('in')
965
+ } else {
966
+ element.removeClass('fade')
967
+ }
968
+
969
+ if (element.parent('.dropdown-menu')) {
970
+ element.closest('li.dropdown').addClass('active')
971
+ }
972
+
973
+ callback && callback()
974
+ }
975
+
976
+ transition ?
977
+ $active
978
+ .one('bsTransitionEnd', next)
979
+ .emulateTransitionEnd(150) :
980
+ next()
981
+
982
+ $active.removeClass('in')
983
+ }
984
+
985
+
986
+ // TAB PLUGIN DEFINITION
987
+ // =====================
988
+
989
+ function Plugin(option) {
990
+ return this.each(function () {
991
+ var $this = $(this)
992
+ var data = $this.data('bs.tab')
993
+
994
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
995
+ if (typeof option == 'string') data[option]()
996
+ })
997
+ }
998
+
999
+ var old = $.fn.tab
1000
+
1001
+ $.fn.tab = Plugin
1002
+ $.fn.tab.Constructor = Tab
1003
+
1004
+
1005
+ // TAB NO CONFLICT
1006
+ // ===============
1007
+
1008
+ $.fn.tab.noConflict = function () {
1009
+ $.fn.tab = old
1010
+ return this
1011
+ }
1012
+
1013
+
1014
+ // TAB DATA-API
1015
+ // ============
1016
+
1017
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
1018
+ e.preventDefault()
1019
+ Plugin.call($(this), 'show')
1020
+ })
1021
+
1022
+ }(jQuery);
1023
+
1024
+ /* ========================================================================
1025
+ * Bootstrap: transition.js v3.2.0
1026
+ * http://getbootstrap.com/javascript/#transitions
1027
+ * ========================================================================
1028
+ * Copyright 2011-2014 Twitter, Inc.
1029
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1030
+ * ======================================================================== */
1031
+
1032
+
1033
+ +function ($) {
1034
+ 'use strict';
1035
+
1036
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
1037
+ // ============================================================
1038
+
1039
+ function transitionEnd() {
1040
+ var el = document.createElement('bootstrap')
1041
+
1042
+ var transEndEventNames = {
1043
+ WebkitTransition : 'webkitTransitionEnd',
1044
+ MozTransition : 'transitionend',
1045
+ OTransition : 'oTransitionEnd otransitionend',
1046
+ transition : 'transitionend'
1047
+ }
1048
+
1049
+ for (var name in transEndEventNames) {
1050
+ if (el.style[name] !== undefined) {
1051
+ return { end: transEndEventNames[name] }
1052
+ }
1053
+ }
1054
+
1055
+ return false // explicit for ie8 ( ._.)
1056
+ }
1057
+
1058
+ // http://blog.alexmaccaw.com/css-transitions
1059
+ $.fn.emulateTransitionEnd = function (duration) {
1060
+ var called = false
1061
+ var $el = this
1062
+ $(this).one('bsTransitionEnd', function () { called = true })
1063
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
1064
+ setTimeout(callback, duration)
1065
+ return this
1066
+ }
1067
+
1068
+ $(function () {
1069
+ $.support.transition = transitionEnd()
1070
+
1071
+ if (!$.support.transition) return
1072
+
1073
+ $.event.special.bsTransitionEnd = {
1074
+ bindType: $.support.transition.end,
1075
+ delegateType: $.support.transition.end,
1076
+ handle: function (e) {
1077
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
1078
+ }
1079
+ }
1080
+ })
1081
+
1082
+ }(jQuery);
1083
+
1084
+ /* ========================================================================
1085
+ * Bootstrap: scrollspy.js v3.2.0
1086
+ * http://getbootstrap.com/javascript/#scrollspy
1087
+ * ========================================================================
1088
+ * Copyright 2011-2014 Twitter, Inc.
1089
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1090
+ * ======================================================================== */
1091
+
1092
+
1093
+ +function ($) {
1094
+ 'use strict';
1095
+
1096
+ // SCROLLSPY CLASS DEFINITION
1097
+ // ==========================
1098
+
1099
+ function ScrollSpy(element, options) {
1100
+ var process = $.proxy(this.process, this)
1101
+
1102
+ this.$body = $('body')
1103
+ this.$scrollElement = $(element).is('body') ? $(window) : $(element)
1104
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1105
+ this.selector = (this.options.target || '') + ' .nav li > a'
1106
+ this.offsets = []
1107
+ this.targets = []
1108
+ this.activeTarget = null
1109
+ this.scrollHeight = 0
1110
+
1111
+ this.$scrollElement.on('scroll.bs.scrollspy', process)
1112
+ this.refresh()
1113
+ this.process()
1114
+ }
1115
+
1116
+ ScrollSpy.VERSION = '3.2.0'
1117
+
1118
+ ScrollSpy.DEFAULTS = {
1119
+ offset: 10
1120
+ }
1121
+
1122
+ ScrollSpy.prototype.getScrollHeight = function () {
1123
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1124
+ }
1125
+
1126
+ ScrollSpy.prototype.refresh = function () {
1127
+ var offsetMethod = 'offset'
1128
+ var offsetBase = 0
1129
+
1130
+ if (!$.isWindow(this.$scrollElement[0])) {
1131
+ offsetMethod = 'position'
1132
+ offsetBase = this.$scrollElement.scrollTop()
1133
+ }
1134
+
1135
+ this.offsets = []
1136
+ this.targets = []
1137
+ this.scrollHeight = this.getScrollHeight()
1138
+
1139
+ var self = this
1140
+
1141
+ this.$body
1142
+ .find(this.selector)
1143
+ .map(function () {
1144
+ var $el = $(this)
1145
+ var href = $el.data('target') || $el.attr('href')
1146
+ var $href = /^#./.test(href) && $(href)
1147
+
1148
+ return ($href
1149
+ && $href.length
1150
+ && $href.is(':visible')
1151
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1152
+ })
1153
+ .sort(function (a, b) { return a[0] - b[0] })
1154
+ .each(function () {
1155
+ self.offsets.push(this[0])
1156
+ self.targets.push(this[1])
1157
+ })
1158
+ }
1159
+
1160
+ ScrollSpy.prototype.process = function () {
1161
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1162
+ var scrollHeight = this.getScrollHeight()
1163
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1164
+ var offsets = this.offsets
1165
+ var targets = this.targets
1166
+ var activeTarget = this.activeTarget
1167
+ var i
1168
+
1169
+ if (this.scrollHeight != scrollHeight) {
1170
+ this.refresh()
1171
+ }
1172
+
1173
+ if (scrollTop >= maxScroll) {
1174
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1175
+ }
1176
+
1177
+ if (activeTarget && scrollTop <= offsets[0]) {
1178
+ return activeTarget != (i = targets[0]) && this.activate(i)
1179
+ }
1180
+
1181
+ for (i = offsets.length; i--;) {
1182
+ activeTarget != targets[i]
1183
+ && scrollTop >= offsets[i]
1184
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
1185
+ && this.activate(targets[i])
1186
+ }
1187
+ }
1188
+
1189
+ ScrollSpy.prototype.activate = function (target) {
1190
+ this.activeTarget = target
1191
+
1192
+ $(this.selector)
1193
+ .parentsUntil(this.options.target, '.active')
1194
+ .removeClass('active')
1195
+
1196
+ var selector = this.selector +
1197
+ '[data-target="' + target + '"],' +
1198
+ this.selector + '[href="' + target + '"]'
1199
+
1200
+ var active = $(selector)
1201
+ .parents('li')
1202
+ .addClass('active')
1203
+
1204
+ if (active.parent('.dropdown-menu').length) {
1205
+ active = active
1206
+ .closest('li.dropdown')
1207
+ .addClass('active')
1208
+ }
1209
+
1210
+ active.trigger('activate.bs.scrollspy')
1211
+ }
1212
+
1213
+
1214
+ // SCROLLSPY PLUGIN DEFINITION
1215
+ // ===========================
1216
+
1217
+ function Plugin(option) {
1218
+ return this.each(function () {
1219
+ var $this = $(this)
1220
+ var data = $this.data('bs.scrollspy')
1221
+ var options = typeof option == 'object' && option
1222
+
1223
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
1224
+ if (typeof option == 'string') data[option]()
1225
+ })
1226
+ }
1227
+
1228
+ var old = $.fn.scrollspy
1229
+
1230
+ $.fn.scrollspy = Plugin
1231
+ $.fn.scrollspy.Constructor = ScrollSpy
1232
+
1233
+
1234
+ // SCROLLSPY NO CONFLICT
1235
+ // =====================
1236
+
1237
+ $.fn.scrollspy.noConflict = function () {
1238
+ $.fn.scrollspy = old
1239
+ return this
1240
+ }
1241
+
1242
+
1243
+ // SCROLLSPY DATA-API
1244
+ // ==================
1245
+
1246
+ $(window).on('load.bs.scrollspy.data-api', function () {
1247
+ $('[data-spy="scroll"]').each(function () {
1248
+ var $spy = $(this)
1249
+ Plugin.call($spy, $spy.data())
1250
+ })
1251
+ })
1252
+
1253
+ }(jQuery);
1254
+
1255
+ /* ========================================================================
1256
+ * Bootstrap: modal.js v3.2.0
1257
+ * http://getbootstrap.com/javascript/#modals
1258
+ * ========================================================================
1259
+ * Copyright 2011-2014 Twitter, Inc.
1260
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1261
+ * ======================================================================== */
1262
+
1263
+
1264
+ +function ($) {
1265
+ 'use strict';
1266
+
1267
+ // MODAL CLASS DEFINITION
1268
+ // ======================
1269
+
1270
+ var Modal = function (element, options) {
1271
+ this.options = options
1272
+ this.$body = $(document.body)
1273
+ this.$element = $(element)
1274
+ this.$backdrop =
1275
+ this.isShown = null
1276
+ this.scrollbarWidth = 0
1277
+
1278
+ if (this.options.remote) {
1279
+ this.$element
1280
+ .find('.modal-content')
1281
+ .load(this.options.remote, $.proxy(function () {
1282
+ this.$element.trigger('loaded.bs.modal')
1283
+ }, this))
1284
+ }
1285
+ }
1286
+
1287
+ Modal.VERSION = '3.2.0'
1288
+
1289
+ Modal.DEFAULTS = {
1290
+ backdrop: true,
1291
+ keyboard: true,
1292
+ show: true
1293
+ }
1294
+
1295
+ Modal.prototype.toggle = function (_relatedTarget) {
1296
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
1297
+ }
1298
+
1299
+ Modal.prototype.show = function (_relatedTarget) {
1300
+ var that = this
1301
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
1302
+
1303
+ this.$element.trigger(e)
1304
+
1305
+ if (this.isShown || e.isDefaultPrevented()) return
1306
+
1307
+ this.isShown = true
1308
+
1309
+ this.checkScrollbar()
1310
+ this.$body.addClass('modal-open')
1311
+
1312
+ this.setScrollbar()
1313
+ this.escape()
1314
+
1315
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
1316
+
1317
+ this.backdrop(function () {
1318
+ var transition = $.support.transition && that.$element.hasClass('fade')
1319
+
1320
+ if (!that.$element.parent().length) {
1321
+ that.$element.appendTo(that.$body) // don't move modals dom position
1322
+ }
1323
+
1324
+ that.$element
1325
+ .show()
1326
+ .scrollTop(0)
1327
+
1328
+ if (transition) {
1329
+ that.$element[0].offsetWidth // force reflow
1330
+ }
1331
+
1332
+ that.$element
1333
+ .addClass('in')
1334
+ .attr('aria-hidden', false)
1335
+
1336
+ that.enforceFocus()
1337
+
1338
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
1339
+
1340
+ transition ?
1341
+ that.$element.find('.modal-dialog') // wait for modal to slide in
1342
+ .one('bsTransitionEnd', function () {
1343
+ that.$element.trigger('focus').trigger(e)
1344
+ })
1345
+ .emulateTransitionEnd(300) :
1346
+ that.$element.trigger('focus').trigger(e)
1347
+ })
1348
+ }
1349
+
1350
+ Modal.prototype.hide = function (e) {
1351
+ if (e) e.preventDefault()
1352
+
1353
+ e = $.Event('hide.bs.modal')
1354
+
1355
+ this.$element.trigger(e)
1356
+
1357
+ if (!this.isShown || e.isDefaultPrevented()) return
1358
+
1359
+ this.isShown = false
1360
+
1361
+ this.$body.removeClass('modal-open')
1362
+
1363
+ this.resetScrollbar()
1364
+ this.escape()
1365
+
1366
+ $(document).off('focusin.bs.modal')
1367
+
1368
+ this.$element
1369
+ .removeClass('in')
1370
+ .attr('aria-hidden', true)
1371
+ .off('click.dismiss.bs.modal')
1372
+
1373
+ $.support.transition && this.$element.hasClass('fade') ?
1374
+ this.$element
1375
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
1376
+ .emulateTransitionEnd(300) :
1377
+ this.hideModal()
1378
+ }
1379
+
1380
+ Modal.prototype.enforceFocus = function () {
1381
+ $(document)
1382
+ .off('focusin.bs.modal') // guard against infinite focus loop
1383
+ .on('focusin.bs.modal', $.proxy(function (e) {
1384
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1385
+ this.$element.trigger('focus')
1386
+ }
1387
+ }, this))
1388
+ }
1389
+
1390
+ Modal.prototype.escape = function () {
1391
+ if (this.isShown && this.options.keyboard) {
1392
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
1393
+ e.which == 27 && this.hide()
1394
+ }, this))
1395
+ } else if (!this.isShown) {
1396
+ this.$element.off('keyup.dismiss.bs.modal')
1397
+ }
1398
+ }
1399
+
1400
+ Modal.prototype.hideModal = function () {
1401
+ var that = this
1402
+ this.$element.hide()
1403
+ this.backdrop(function () {
1404
+ that.$element.trigger('hidden.bs.modal')
1405
+ })
1406
+ }
1407
+
1408
+ Modal.prototype.removeBackdrop = function () {
1409
+ this.$backdrop && this.$backdrop.remove()
1410
+ this.$backdrop = null
1411
+ }
1412
+
1413
+ Modal.prototype.backdrop = function (callback) {
1414
+ var that = this
1415
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
1416
+
1417
+ if (this.isShown && this.options.backdrop) {
1418
+ var doAnimate = $.support.transition && animate
1419
+
1420
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
1421
+ .appendTo(this.$body)
1422
+
1423
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1424
+ if (e.target !== e.currentTarget) return
1425
+ this.options.backdrop == 'static'
1426
+ ? this.$element[0].focus.call(this.$element[0])
1427
+ : this.hide.call(this)
1428
+ }, this))
1429
+
1430
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1431
+
1432
+ this.$backdrop.addClass('in')
1433
+
1434
+ if (!callback) return
1435
+
1436
+ doAnimate ?
1437
+ this.$backdrop
1438
+ .one('bsTransitionEnd', callback)
1439
+ .emulateTransitionEnd(150) :
1440
+ callback()
1441
+
1442
+ } else if (!this.isShown && this.$backdrop) {
1443
+ this.$backdrop.removeClass('in')
1444
+
1445
+ var callbackRemove = function () {
1446
+ that.removeBackdrop()
1447
+ callback && callback()
1448
+ }
1449
+ $.support.transition && this.$element.hasClass('fade') ?
1450
+ this.$backdrop
1451
+ .one('bsTransitionEnd', callbackRemove)
1452
+ .emulateTransitionEnd(150) :
1453
+ callbackRemove()
1454
+
1455
+ } else if (callback) {
1456
+ callback()
1457
+ }
1458
+ }
1459
+
1460
+ Modal.prototype.checkScrollbar = function () {
1461
+ if (document.body.clientWidth >= window.innerWidth) return
1462
+ this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
1463
+ }
1464
+
1465
+ Modal.prototype.setScrollbar = function () {
1466
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1467
+ if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1468
+ }
1469
+
1470
+ Modal.prototype.resetScrollbar = function () {
1471
+ this.$body.css('padding-right', '')
1472
+ }
1473
+
1474
+ Modal.prototype.measureScrollbar = function () { // thx walsh
1475
+ var scrollDiv = document.createElement('div')
1476
+ scrollDiv.className = 'modal-scrollbar-measure'
1477
+ this.$body.append(scrollDiv)
1478
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1479
+ this.$body[0].removeChild(scrollDiv)
1480
+ return scrollbarWidth
1481
+ }
1482
+
1483
+
1484
+ // MODAL PLUGIN DEFINITION
1485
+ // =======================
1486
+
1487
+ function Plugin(option, _relatedTarget) {
1488
+ return this.each(function () {
1489
+ var $this = $(this)
1490
+ var data = $this.data('bs.modal')
1491
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1492
+
1493
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1494
+ if (typeof option == 'string') data[option](_relatedTarget)
1495
+ else if (options.show) data.show(_relatedTarget)
1496
+ })
1497
+ }
1498
+
1499
+ var old = $.fn.modal
1500
+
1501
+ $.fn.modal = Plugin
1502
+ $.fn.modal.Constructor = Modal
1503
+
1504
+
1505
+ // MODAL NO CONFLICT
1506
+ // =================
1507
+
1508
+ $.fn.modal.noConflict = function () {
1509
+ $.fn.modal = old
1510
+ return this
1511
+ }
1512
+
1513
+
1514
+ // MODAL DATA-API
1515
+ // ==============
1516
+
1517
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1518
+ var $this = $(this)
1519
+ var href = $this.attr('href')
1520
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1521
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1522
+
1523
+ if ($this.is('a')) e.preventDefault()
1524
+
1525
+ $target.one('show.bs.modal', function (showEvent) {
1526
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1527
+ $target.one('hidden.bs.modal', function () {
1528
+ $this.is(':visible') && $this.trigger('focus')
1529
+ })
1530
+ })
1531
+ Plugin.call($target, option, this)
1532
+ })
1533
+
1534
+ }(jQuery);
1535
+
1536
+ /* ========================================================================
1537
+ * Bootstrap: tooltip.js v3.2.0
1538
+ * http://getbootstrap.com/javascript/#tooltip
1539
+ * Inspired by the original jQuery.tipsy by Jason Frame
1540
+ * ========================================================================
1541
+ * Copyright 2011-2014 Twitter, Inc.
1542
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1543
+ * ======================================================================== */
1544
+
1545
+
1546
+ +function ($) {
1547
+ 'use strict';
1548
+
1549
+ // TOOLTIP PUBLIC CLASS DEFINITION
1550
+ // ===============================
1551
+
1552
+ var Tooltip = function (element, options) {
1553
+ this.type =
1554
+ this.options =
1555
+ this.enabled =
1556
+ this.timeout =
1557
+ this.hoverState =
1558
+ this.$element = null
1559
+
1560
+ this.init('tooltip', element, options)
1561
+ }
1562
+
1563
+ Tooltip.VERSION = '3.2.0'
1564
+
1565
+ Tooltip.DEFAULTS = {
1566
+ animation: true,
1567
+ placement: 'top',
1568
+ selector: false,
1569
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1570
+ trigger: 'hover focus',
1571
+ title: '',
1572
+ delay: 0,
1573
+ html: false,
1574
+ container: false,
1575
+ viewport: {
1576
+ selector: 'body',
1577
+ padding: 0
1578
+ }
1579
+ }
1580
+
1581
+ Tooltip.prototype.init = function (type, element, options) {
1582
+ this.enabled = true
1583
+ this.type = type
1584
+ this.$element = $(element)
1585
+ this.options = this.getOptions(options)
1586
+ this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1587
+
1588
+ var triggers = this.options.trigger.split(' ')
1589
+
1590
+ for (var i = triggers.length; i--;) {
1591
+ var trigger = triggers[i]
1592
+
1593
+ if (trigger == 'click') {
1594
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1595
+ } else if (trigger != 'manual') {
1596
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1597
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1598
+
1599
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1600
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1601
+ }
1602
+ }
1603
+
1604
+ this.options.selector ?
1605
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1606
+ this.fixTitle()
1607
+ }
1608
+
1609
+ Tooltip.prototype.getDefaults = function () {
1610
+ return Tooltip.DEFAULTS
1611
+ }
1612
+
1613
+ Tooltip.prototype.getOptions = function (options) {
1614
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1615
+
1616
+ if (options.delay && typeof options.delay == 'number') {
1617
+ options.delay = {
1618
+ show: options.delay,
1619
+ hide: options.delay
1620
+ }
1621
+ }
1622
+
1623
+ return options
1624
+ }
1625
+
1626
+ Tooltip.prototype.getDelegateOptions = function () {
1627
+ var options = {}
1628
+ var defaults = this.getDefaults()
1629
+
1630
+ this._options && $.each(this._options, function (key, value) {
1631
+ if (defaults[key] != value) options[key] = value
1632
+ })
1633
+
1634
+ return options
1635
+ }
1636
+
1637
+ Tooltip.prototype.enter = function (obj) {
1638
+ var self = obj instanceof this.constructor ?
1639
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1640
+
1641
+ if (!self) {
1642
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1643
+ $(obj.currentTarget).data('bs.' + this.type, self)
1644
+ }
1645
+
1646
+ clearTimeout(self.timeout)
1647
+
1648
+ self.hoverState = 'in'
1649
+
1650
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1651
+
1652
+ self.timeout = setTimeout(function () {
1653
+ if (self.hoverState == 'in') self.show()
1654
+ }, self.options.delay.show)
1655
+ }
1656
+
1657
+ Tooltip.prototype.leave = function (obj) {
1658
+ var self = obj instanceof this.constructor ?
1659
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1660
+
1661
+ if (!self) {
1662
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1663
+ $(obj.currentTarget).data('bs.' + this.type, self)
1664
+ }
1665
+
1666
+ clearTimeout(self.timeout)
1667
+
1668
+ self.hoverState = 'out'
1669
+
1670
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1671
+
1672
+ self.timeout = setTimeout(function () {
1673
+ if (self.hoverState == 'out') self.hide()
1674
+ }, self.options.delay.hide)
1675
+ }
1676
+
1677
+ Tooltip.prototype.show = function () {
1678
+ var e = $.Event('show.bs.' + this.type)
1679
+
1680
+ if (this.hasContent() && this.enabled) {
1681
+ this.$element.trigger(e)
1682
+
1683
+ var inDom = $.contains(document.documentElement, this.$element[0])
1684
+ if (e.isDefaultPrevented() || !inDom) return
1685
+ var that = this
1686
+
1687
+ var $tip = this.tip()
1688
+
1689
+ var tipId = this.getUID(this.type)
1690
+
1691
+ this.setContent()
1692
+ $tip.attr('id', tipId)
1693
+ this.$element.attr('aria-describedby', tipId)
1694
+
1695
+ if (this.options.animation) $tip.addClass('fade')
1696
+
1697
+ var placement = typeof this.options.placement == 'function' ?
1698
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1699
+ this.options.placement
1700
+
1701
+ var autoToken = /\s?auto?\s?/i
1702
+ var autoPlace = autoToken.test(placement)
1703
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1704
+
1705
+ $tip
1706
+ .detach()
1707
+ .css({ top: 0, left: 0, display: 'block' })
1708
+ .addClass(placement)
1709
+ .data('bs.' + this.type, this)
1710
+
1711
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1712
+
1713
+ var pos = this.getPosition()
1714
+ var actualWidth = $tip[0].offsetWidth
1715
+ var actualHeight = $tip[0].offsetHeight
1716
+
1717
+ if (autoPlace) {
1718
+ var orgPlacement = placement
1719
+ var $parent = this.$element.parent()
1720
+ var parentDim = this.getPosition($parent)
1721
+
1722
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - parentDim.scroll > parentDim.height ? 'top' :
1723
+ placement == 'top' && pos.top - parentDim.scroll - actualHeight < 0 ? 'bottom' :
1724
+ placement == 'right' && pos.right + actualWidth > parentDim.width ? 'left' :
1725
+ placement == 'left' && pos.left - actualWidth < parentDim.left ? 'right' :
1726
+ placement
1727
+
1728
+ $tip
1729
+ .removeClass(orgPlacement)
1730
+ .addClass(placement)
1731
+ }
1732
+
1733
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1734
+
1735
+ this.applyPlacement(calculatedOffset, placement)
1736
+
1737
+ var complete = function () {
1738
+ that.$element.trigger('shown.bs.' + that.type)
1739
+ that.hoverState = null
1740
+ }
1741
+
1742
+ $.support.transition && this.$tip.hasClass('fade') ?
1743
+ $tip
1744
+ .one('bsTransitionEnd', complete)
1745
+ .emulateTransitionEnd(150) :
1746
+ complete()
1747
+ }
1748
+ }
1749
+
1750
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
1751
+ var $tip = this.tip()
1752
+ var width = $tip[0].offsetWidth
1753
+ var height = $tip[0].offsetHeight
1754
+
1755
+ // manually read margins because getBoundingClientRect includes difference
1756
+ var marginTop = parseInt($tip.css('margin-top'), 10)
1757
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
1758
+
1759
+ // we must check for NaN for ie 8/9
1760
+ if (isNaN(marginTop)) marginTop = 0
1761
+ if (isNaN(marginLeft)) marginLeft = 0
1762
+
1763
+ offset.top = offset.top + marginTop
1764
+ offset.left = offset.left + marginLeft
1765
+
1766
+ // $.fn.offset doesn't round pixel values
1767
+ // so we use setOffset directly with our own function B-0
1768
+ $.offset.setOffset($tip[0], $.extend({
1769
+ using: function (props) {
1770
+ $tip.css({
1771
+ top: Math.round(props.top),
1772
+ left: Math.round(props.left)
1773
+ })
1774
+ }
1775
+ }, offset), 0)
1776
+
1777
+ $tip.addClass('in')
1778
+
1779
+ // check to see if placing tip in new offset caused the tip to resize itself
1780
+ var actualWidth = $tip[0].offsetWidth
1781
+ var actualHeight = $tip[0].offsetHeight
1782
+
1783
+ if (placement == 'top' && actualHeight != height) {
1784
+ offset.top = offset.top + height - actualHeight
1785
+ }
1786
+
1787
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1788
+
1789
+ if (delta.left) offset.left += delta.left
1790
+ else offset.top += delta.top
1791
+
1792
+ var arrowDelta = delta.left ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1793
+ var arrowPosition = delta.left ? 'left' : 'top'
1794
+ var arrowOffsetPosition = delta.left ? 'offsetWidth' : 'offsetHeight'
1795
+
1796
+ $tip.offset(offset)
1797
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], arrowPosition)
1798
+ }
1799
+
1800
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
1801
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
1802
+ }
1803
+
1804
+ Tooltip.prototype.setContent = function () {
1805
+ var $tip = this.tip()
1806
+ var title = this.getTitle()
1807
+
1808
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1809
+ $tip.removeClass('fade in top bottom left right')
1810
+ }
1811
+
1812
+ Tooltip.prototype.hide = function () {
1813
+ var that = this
1814
+ var $tip = this.tip()
1815
+ var e = $.Event('hide.bs.' + this.type)
1816
+
1817
+ this.$element.removeAttr('aria-describedby')
1818
+
1819
+ function complete() {
1820
+ if (that.hoverState != 'in') $tip.detach()
1821
+ that.$element.trigger('hidden.bs.' + that.type)
1822
+ }
1823
+
1824
+ this.$element.trigger(e)
1825
+
1826
+ if (e.isDefaultPrevented()) return
1827
+
1828
+ $tip.removeClass('in')
1829
+
1830
+ $.support.transition && this.$tip.hasClass('fade') ?
1831
+ $tip
1832
+ .one('bsTransitionEnd', complete)
1833
+ .emulateTransitionEnd(150) :
1834
+ complete()
1835
+
1836
+ this.hoverState = null
1837
+
1838
+ return this
1839
+ }
1840
+
1841
+ Tooltip.prototype.fixTitle = function () {
1842
+ var $e = this.$element
1843
+ if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
1844
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1845
+ }
1846
+ }
1847
+
1848
+ Tooltip.prototype.hasContent = function () {
1849
+ return this.getTitle()
1850
+ }
1851
+
1852
+ Tooltip.prototype.getPosition = function ($element) {
1853
+ $element = $element || this.$element
1854
+ var el = $element[0]
1855
+ var isBody = el.tagName == 'BODY'
1856
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : null, {
1857
+ scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop(),
1858
+ width: isBody ? $(window).width() : $element.outerWidth(),
1859
+ height: isBody ? $(window).height() : $element.outerHeight()
1860
+ }, isBody ? { top: 0, left: 0 } : $element.offset())
1861
+ }
1862
+
1863
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1864
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1865
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1866
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1867
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1868
+
1869
+ }
1870
+
1871
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1872
+ var delta = { top: 0, left: 0 }
1873
+ if (!this.$viewport) return delta
1874
+
1875
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1876
+ var viewportDimensions = this.getPosition(this.$viewport)
1877
+
1878
+ if (/right|left/.test(placement)) {
1879
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1880
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1881
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
1882
+ delta.top = viewportDimensions.top - topEdgeOffset
1883
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1884
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1885
+ }
1886
+ } else {
1887
+ var leftEdgeOffset = pos.left - viewportPadding
1888
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1889
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1890
+ delta.left = viewportDimensions.left - leftEdgeOffset
1891
+ } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
1892
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1893
+ }
1894
+ }
1895
+
1896
+ return delta
1897
+ }
1898
+
1899
+ Tooltip.prototype.getTitle = function () {
1900
+ var title
1901
+ var $e = this.$element
1902
+ var o = this.options
1903
+
1904
+ title = $e.attr('data-original-title')
1905
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1906
+
1907
+ return title
1908
+ }
1909
+
1910
+ Tooltip.prototype.getUID = function (prefix) {
1911
+ do prefix += ~~(Math.random() * 1000000)
1912
+ while (document.getElementById(prefix))
1913
+ return prefix
1914
+ }
1915
+
1916
+ Tooltip.prototype.tip = function () {
1917
+ return (this.$tip = this.$tip || $(this.options.template))
1918
+ }
1919
+
1920
+ Tooltip.prototype.arrow = function () {
1921
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1922
+ }
1923
+
1924
+ Tooltip.prototype.validate = function () {
1925
+ if (!this.$element[0].parentNode) {
1926
+ this.hide()
1927
+ this.$element = null
1928
+ this.options = null
1929
+ }
1930
+ }
1931
+
1932
+ Tooltip.prototype.enable = function () {
1933
+ this.enabled = true
1934
+ }
1935
+
1936
+ Tooltip.prototype.disable = function () {
1937
+ this.enabled = false
1938
+ }
1939
+
1940
+ Tooltip.prototype.toggleEnabled = function () {
1941
+ this.enabled = !this.enabled
1942
+ }
1943
+
1944
+ Tooltip.prototype.toggle = function (e) {
1945
+ var self = this
1946
+ if (e) {
1947
+ self = $(e.currentTarget).data('bs.' + this.type)
1948
+ if (!self) {
1949
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1950
+ $(e.currentTarget).data('bs.' + this.type, self)
1951
+ }
1952
+ }
1953
+
1954
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1955
+ }
1956
+
1957
+ Tooltip.prototype.destroy = function () {
1958
+ clearTimeout(this.timeout)
1959
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
1960
+ }
1961
+
1962
+
1963
+ // TOOLTIP PLUGIN DEFINITION
1964
+ // =========================
1965
+
1966
+ function Plugin(option) {
1967
+ return this.each(function () {
1968
+ var $this = $(this)
1969
+ var data = $this.data('bs.tooltip')
1970
+ var options = typeof option == 'object' && option
1971
+
1972
+ if (!data && option == 'destroy') return
1973
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1974
+ if (typeof option == 'string') data[option]()
1975
+ })
1976
+ }
1977
+
1978
+ var old = $.fn.tooltip
1979
+
1980
+ $.fn.tooltip = Plugin
1981
+ $.fn.tooltip.Constructor = Tooltip
1982
+
1983
+
1984
+ // TOOLTIP NO CONFLICT
1985
+ // ===================
1986
+
1987
+ $.fn.tooltip.noConflict = function () {
1988
+ $.fn.tooltip = old
1989
+ return this
1990
+ }
1991
+
1992
+ }(jQuery);
1993
+
1994
+ /* ========================================================================
1995
+ * Bootstrap: popover.js v3.2.0
1996
+ * http://getbootstrap.com/javascript/#popovers
1997
+ * ========================================================================
1998
+ * Copyright 2011-2014 Twitter, Inc.
1999
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2000
+ * ======================================================================== */
2001
+
2002
+
2003
+ +function ($) {
2004
+ 'use strict';
2005
+
2006
+ // POPOVER PUBLIC CLASS DEFINITION
2007
+ // ===============================
2008
+
2009
+ var Popover = function (element, options) {
2010
+ this.init('popover', element, options)
2011
+ }
2012
+
2013
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
2014
+
2015
+ Popover.VERSION = '3.2.0'
2016
+
2017
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
2018
+ placement: 'right',
2019
+ trigger: 'click',
2020
+ content: '',
2021
+ template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
2022
+ })
2023
+
2024
+
2025
+ // NOTE: POPOVER EXTENDS tooltip.js
2026
+ // ================================
2027
+
2028
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
2029
+
2030
+ Popover.prototype.constructor = Popover
2031
+
2032
+ Popover.prototype.getDefaults = function () {
2033
+ return Popover.DEFAULTS
2034
+ }
2035
+
2036
+ Popover.prototype.setContent = function () {
2037
+ var $tip = this.tip()
2038
+ var title = this.getTitle()
2039
+ var content = this.getContent()
2040
+
2041
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
2042
+ $tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
2043
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
2044
+ ](content)
2045
+
2046
+ $tip.removeClass('fade top bottom left right in')
2047
+
2048
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
2049
+ // this manually by checking the contents.
2050
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
2051
+ }
2052
+
2053
+ Popover.prototype.hasContent = function () {
2054
+ return this.getTitle() || this.getContent()
2055
+ }
2056
+
2057
+ Popover.prototype.getContent = function () {
2058
+ var $e = this.$element
2059
+ var o = this.options
2060
+
2061
+ return $e.attr('data-content')
2062
+ || (typeof o.content == 'function' ?
2063
+ o.content.call($e[0]) :
2064
+ o.content)
2065
+ }
2066
+
2067
+ Popover.prototype.arrow = function () {
2068
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
2069
+ }
2070
+
2071
+ Popover.prototype.tip = function () {
2072
+ if (!this.$tip) this.$tip = $(this.options.template)
2073
+ return this.$tip
2074
+ }
2075
+
2076
+
2077
+ // POPOVER PLUGIN DEFINITION
2078
+ // =========================
2079
+
2080
+ function Plugin(option) {
2081
+ return this.each(function () {
2082
+ var $this = $(this)
2083
+ var data = $this.data('bs.popover')
2084
+ var options = typeof option == 'object' && option
2085
+
2086
+ if (!data && option == 'destroy') return
2087
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
2088
+ if (typeof option == 'string') data[option]()
2089
+ })
2090
+ }
2091
+
2092
+ var old = $.fn.popover
2093
+
2094
+ $.fn.popover = Plugin
2095
+ $.fn.popover.Constructor = Popover
2096
+
2097
+
2098
+ // POPOVER NO CONFLICT
2099
+ // ===================
2100
+
2101
+ $.fn.popover.noConflict = function () {
2102
+ $.fn.popover = old
2103
+ return this
2104
+ }
2105
+
2106
+ }(jQuery);
2107
+
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/checkanswer.js ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Do this first so that layout shift isn't too bad:
2
+ const container = document.createElement("div");
3
+ container.style = `
4
+ font-size: 16px;
5
+ font-size: clamp(16px, 2.4vw, 21px);
6
+ height: 2.5em;
7
+ `;
8
+ document.body.prepend(container);
9
+
10
+ import { React, html, css, render } from "./package.js";
11
+
12
+ /**
13
+ * Remove non-alphanumeric characters.
14
+ */
15
+ const normalizeAnswer = (answer) => {
16
+ if (getYear() === 2003) {
17
+ if (document.URL.includes("teamGuest/2")) {
18
+ // Special case: 2003 R2, whose answers are emoji.
19
+ return answer.trim();
20
+ } else if (document.URL.includes("6_3")) {
21
+ // Special case: Answer is literal Greek letter.
22
+ return answer.trim();
23
+ }
24
+ }
25
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
26
+ };
27
+
28
+ /**
29
+ * Returns the year of the hunt we're in.
30
+ */
31
+ const getYear = () => {
32
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
33
+ };
34
+
35
+ /**
36
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
37
+ */
38
+ const getData = async () => {
39
+ const res = await fetch("/answers.tsv");
40
+ const data = await res.text();
41
+ const [header, ...body] = data.split("\n");
42
+ const headers = header.trim().split("\t");
43
+ return body.map((row) => {
44
+ const res = {};
45
+ row.split("\t").forEach((item, i) => {
46
+ res[headers[i]] = item.trim();
47
+ });
48
+ return res;
49
+ });
50
+ };
51
+
52
+ /**
53
+ * Gets the base URL; removes trailing index.html and .html, removes everything
54
+ * before the year, and then removes trailing slash.
55
+ */
56
+ const getBase = (url) => {
57
+ const root =
58
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
59
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
60
+ url;
61
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
62
+ return base.endsWith("/") ? base.slice(0, -1) : base;
63
+ };
64
+
65
+ /**
66
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
67
+ */
68
+ const getAnswers = (data, url) => {
69
+ const base = getBase(url);
70
+ const rows = data.filter((row) => getBase(row.url) === base);
71
+ const prompts = [];
72
+ for (const row of rows) {
73
+ const { prompt } = row;
74
+ const group = prompts.find((group) => group.prompt === prompt);
75
+ if (group) {
76
+ group.rows.push(row);
77
+ } else {
78
+ prompts.push({ prompt, rows: [row] });
79
+ }
80
+ }
81
+ return prompts;
82
+ };
83
+
84
+ /**
85
+ * A single textbox and submit button in the rows of possible responses.
86
+ */
87
+ const ResponseRow = ({ prompt, rows, setFeedback }) => {
88
+ const [response, setResponse] = React.useState("");
89
+
90
+ const form = css`
91
+ align-items: baseline;
92
+ display: flex;
93
+ justify-content: right;
94
+ margin-bottom: 0.5em;
95
+
96
+ @media (max-width: 600px) {
97
+ align-items: flex-start;
98
+ flex-direction: column;
99
+ }
100
+ `;
101
+
102
+ const input = css`
103
+ background: #fafafa;
104
+ border: 1px solid #aaa;
105
+ border-radius: 2px;
106
+ color: #121212;
107
+ font-family: inherit;
108
+ font-size: 100%;
109
+ line-height: 1.2;
110
+ margin: 0 0.5em;
111
+ padding: 0.25em 0.5em;
112
+
113
+ @media (max-width: 600px) {
114
+ margin: 0 0 0.25em;
115
+ }
116
+ `;
117
+
118
+ const onSubmit = (e) => {
119
+ e.preventDefault();
120
+ let set = false;
121
+ for (const row of rows) {
122
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
123
+ if (correct) {
124
+ setFeedback(
125
+ row.intermediate?.trim() === "TRUE"
126
+ ? "Correct! See the solution page for the answer."
127
+ : `Solved! The answer was ${row.answer}.`
128
+ );
129
+ set = true;
130
+ break;
131
+ }
132
+ }
133
+ if (!set) {
134
+ setFeedback("Incorrect.");
135
+ }
136
+ };
137
+
138
+ const onChange = (e) => setResponse(e.target.value);
139
+
140
+ return html`
141
+ <form class=${form} onSubmit=${onSubmit}>
142
+ <label htmlFor=${prompt + " prompt"}>
143
+ ${prompt || "Enter your guess"}:
144
+ </label>
145
+ <input
146
+ class=${input}
147
+ id=${prompt + " prompt"}
148
+ onChange=${onChange}
149
+ required
150
+ type="text"
151
+ value=${response}
152
+ />
153
+ <button type="submit">Submit</button>
154
+ </form>
155
+ `;
156
+ };
157
+
158
+ /**
159
+ * Check answer button, rendered at top of page.
160
+ */
161
+ const CheckButton = ({ prompts }) => {
162
+ const [open, setOpen] = React.useState(false);
163
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
164
+
165
+ const wrapper = css`
166
+ font-family: "PT Sans", sans-serif;
167
+ font-size: 16px;
168
+ font-size: clamp(16px, 2.4vw, 21px);
169
+ height: 2.5em;
170
+
171
+ button {
172
+ background: #555;
173
+ border: none;
174
+ border-radius: 2px;
175
+ color: #fff;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ font-size: 1em;
179
+ font-family: "PT Sans", sans-serif;
180
+ font-weight: bold;
181
+ line-height: 1.2;
182
+ padding: 0.25em 1em;
183
+ text-align: center;
184
+ text-decoration: none;
185
+ text-transform: none;
186
+ }
187
+
188
+ p {
189
+ margin: 0 0 1em;
190
+ }
191
+
192
+ a {
193
+ color: inherit !important;
194
+ }
195
+ `;
196
+
197
+ const btnTop = [2015, 2016].includes(getYear())
198
+ ? "50px"
199
+ : [2012].includes(getYear())
200
+ ? "-2.5em"
201
+ : "0px";
202
+
203
+ const button = css`
204
+ box-sizing: border-box;
205
+ height: 2.5em;
206
+ left: 0;
207
+ position: absolute;
208
+ top: ${btnTop};
209
+ width: 100%;
210
+ z-index: 9999;
211
+ `;
212
+
213
+ const dropdownWrapper = css`
214
+ background: #edeff0;
215
+ color: #121212;
216
+ left: 0;
217
+ position: absolute;
218
+ right: 0;
219
+ top: calc(2.5em + ${btnTop});
220
+ z-index: 9999;
221
+ `;
222
+
223
+ const dropdown = css`
224
+ margin: 0 auto;
225
+ max-width: 40em;
226
+ padding: 1em;
227
+ z-index: 9999;
228
+ `;
229
+
230
+ const responses = css`
231
+ margin: 0 auto;
232
+ width: fit-content;
233
+
234
+ @media (max-width: 600px) {
235
+ width: auto;
236
+ }
237
+ `;
238
+
239
+ const onClick = () => setOpen(!open);
240
+
241
+ const body =
242
+ prompts.length > 0
243
+ ? prompts.map(
244
+ (group) =>
245
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
246
+ )
247
+ : html`<p>
248
+ No answers found on this page. Please report this to${" "}
249
+ <a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
250
+ </p>`;
251
+
252
+ return html`
253
+ <style>
254
+ @import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
255
+
256
+ ${[2015, 2016].includes(getYear()) &&
257
+ ".navbar-fixed-top { z-index: 10000 }"}
258
+ ${[2012].includes(getYear()) &&
259
+ "body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
260
+ ${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
261
+ </style>
262
+ <div class=${wrapper}>
263
+ <button class=${button} onClick=${onClick}>
264
+ Check your answers spoiler-free
265
+ </button>
266
+ ${open &&
267
+ html`
268
+ <div class=${dropdownWrapper}>
269
+ <div class=${dropdown}>
270
+ <p>${feedback}</p>
271
+ <div class=${responses}>${body}</div>
272
+ </div>
273
+ </div>
274
+ `}
275
+ </div>
276
+ `;
277
+ };
278
+
279
+ const data = await getData();
280
+ const prompts = getAnswers(data, document.URL);
281
+ render(html`<${CheckButton} prompts=${prompts} />`, container);
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/completelog.html ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Full Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Full Log</h2></div>
71
+ </div>
72
+
73
+ <div class="form-container nav-related-container">
74
+
75
+ </div>
76
+
77
+
78
+
79
+
80
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
81
+
82
+
83
+ </body>
84
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/eventschedule.html ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Event Schedule &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Schedule of Events</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="eventexplain">
74
+ We know how tough it is to be an intrepid explorer, researching complex technology and navigating uncharted waters. Come take a break and refresh your mind. Events are a chance to complete fun and interesting challenges with people from other teams; additionally, taking a step back from all your hard work might give you a new insight on something that was puzzling you! (i.e. completing event challenges will earn you points to spend on questions for the Oracle)
75
+ </div>
76
+
77
+ <h3 class="eventtitle"><a href="/2015/puzzle/write_it_build_it">Write-it Build-it</a></h3>
78
+ Time: <b>Friday at 6:17pm</b><br/>
79
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
80
+ <div class="eventdesc">
81
+ Prove your skill at building contraptions in the workshop. Bring two people with good spatial intuition and a knack for writing and following precise directions.
82
+ </div>
83
+
84
+ <h3 class="eventtitle"><a href="/2015/puzzle/blub_blub_pub_trivia">Blub Blub Pub Trivia</a></h3>
85
+ Time: <b>Friday at 11:17pm</b><br />
86
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
87
+ <div class="eventdesc">
88
+ Arr, mateys! It's trivia night at the pub! Bring up to two teammates who like trivia, beverage pong, and having a good time.
89
+ </div>
90
+
91
+ <h3 class="eventtitle"><a href="/2015/puzzle/steamteam">Steamteam</a></h3>
92
+ Time: <b>Saturday at 10:17am</b><br />
93
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b><br/>
94
+ <div class="eventdesc">
95
+ It's time for submarine operator training! Bring a handful of people who like technobabble, random shouting, and teamwork. (You and your teammates will take turns playing while the others observe. Up to five people is reasonable.)
96
+ </div>
97
+
98
+ <h3 class="eventtitle"><a href="/2015/puzzle/sunken_treasure">Sunken Treasure</a></h3>
99
+ Time: <b>Saturday at 1:17pm</b><br />
100
+ Location: <b><a href=https://whereis.mit.edu/?go=W35>Z-Center</a>, second-floor entrance to pool gallery</b><br/>
101
+ <div class="eventdesc">
102
+ Rescue sunken treasure and bring it back to your team! Bring two people: one strong swimmer (with swimsuit, towel, and non-optional goggles), and one dextrous dry-land teammate. Non-students will need to sign a waiver at the Z-center desk on the second floor entrance to the pool gallery.
103
+ </div>
104
+ <h3 class="eventtitle"><a href="/2015/puzzle/charybdis_charades">Charybdis Charades</a></h3>
105
+ Time: <b>Saturday at 4:17pm</b><br/>
106
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Lobdell</a></b>
107
+ <div class="eventdesc">
108
+ The sea monster Charybdis is hungry! Bring up to two people who enjoy communicating silently so you can stealthily work together to figure out what you need to feed her.
109
+ </div>
110
+ <br/>
111
+ <br/>
112
+ <h3 class="eventtitle">Study Breaks</h3>
113
+ <div>Additionally, we will have to study breaks, to take a break and eat food. These will be on the third floor of the student center.</div>
114
+ <p>
115
+ <h4>Battlecode Study Break</h4>
116
+ Time: <b>Saturday at 9:17pm</b><br/>
117
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
118
+ There will be desserts of various types.
119
+ </p>
120
+ <p>
121
+ <h4>HRT Study Break</h4>
122
+ Time:<b>Sunday at 1:17 pm</b><br/>
123
+ Location: <b><a href=https://whereis.mit.edu/?go=W20>Third floor of student center</a></b><br/>
124
+ There will be pizza.
125
+ </p>
126
+
127
+ </div>
128
+
129
+
130
+
131
+
132
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
133
+
134
+
135
+ </body>
136
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/faq.html ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>FAQ &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>FAQ</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p>
74
+ Q: Can we break the physical puzzles?<br/>
75
+ A: Generally yes. Please don't do anything unsafe — in particular, it you see something papery, you may not want to heat it. Contact us if you think you're being instructed to do anything unsafe.
76
+ </p>
77
+ <p>
78
+ Q: Can we use Google?<br/>
79
+ A: Definitely.
80
+ </p>
81
+ <p>
82
+ Q: Can we try to use metadata in the puzzle files or the source code of the puzzle to get extra information?<br/>
83
+ A: Yep.
84
+ </p>
85
+ <p>
86
+ Q: Can we try to hack the hunt site to get extra info?<br/>
87
+ A: Please don't :(
88
+ </p>
89
+ <p>
90
+ Q: Can we ask other teams for help on a puzzle? <br/>
91
+ A: Please don't. If you're not having fun, please let us know and we will help!
92
+ </p>
93
+ <p>
94
+ Q: Can we have a hint?<br/>
95
+ A: Click "Ask the Oracle" on the top right to ask yes / no questions. If you need more help, please contact us.
96
+ </p>
97
+ <p>
98
+ Q: How long will Sealab be open?<br/>
99
+ A: Until 6pm on Sunday.
100
+ </p>
101
+ <p>
102
+ Q: How do I contact Sealab?<br/>
103
+ A: Use the Contact Sealab form on the website, please. If that is absolutely not working, email us at puzzle@mit.edu, or call us at (617) 324-8310.
104
+ </p>
105
+ <p>
106
+ Q: Help! We don't know where to start!<br/>
107
+ A: That's not a question, but I'll let it slide. You should check out the helpful resources on <a href="https://www.mit.edu/~puzzle/resources.html">this page</a>. <a href="http://www.mit.edu/~puzzle/resources/haveyoutried.pdf">ACME's "Have You Tried?" list</a> may be particularly helpful.</p>
108
+ <p>
109
+ <br/>
110
+ <p>
111
+ More questions? Contact Sealab.
112
+ </p>
113
+ </div>
114
+
115
+
116
+
117
+
118
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
119
+
120
+
121
+ </body>
122
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/hunt_life_3_confirmed ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Hunt-Life 3 Confirmed! &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/atlantis.css" />
18
+
19
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
20
+ </head>
21
+
22
+ <body>
23
+
24
+
25
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
26
+ <div class="container-fluid">
27
+ <!-- Brand and toggle get grouped for better mobile display -->
28
+ <div class="navbar-header">
29
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
30
+ <span class="sr-only">Toggle navigation</span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ </button>
35
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
36
+ </div>
37
+
38
+ <!-- Collect the nav links, forms, and other content for toggling -->
39
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
40
+ <ul class="nav navbar-nav">
41
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
42
+ <li class="dropdown">
43
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
44
+ <ul class="dropdown-menu">
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
47
+
48
+ <li></li>
49
+
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
55
+ </ul>
56
+ </li>
57
+ </ul>
58
+ <ul class="nav navbar-nav navbar-right">
59
+
60
+
61
+
62
+ <li></li>
63
+
64
+
65
+
66
+
67
+ </ul>
68
+ </div><!-- /.navbar-collapse -->
69
+ </div>
70
+ </nav>
71
+
72
+
73
+ <div id="artstuff">
74
+ <div id="atlantiscontainer">
75
+ <div id="leftdecor"></div>
76
+ <div id="rightdecor"></div>
77
+ </div>
78
+ <div id="atlantisdecor">
79
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/354.png"></img></div>
80
+ <div id="infowindow">Location: Atlantis, Spotted Tower <br />Depth: 415</div>
81
+ </div>
82
+ </div>
83
+
84
+ <div id="paper">
85
+ <div class="puzzle-page-header">
86
+
87
+ <div class="sol"><a href="solution/">View Solution</a></div>
88
+
89
+ <h1>Hunt-Life 3 Confirmed!</h1>
90
+
91
+
92
+ <p class="answer" id="answer_354"> Answer: click here to reveal</p>
93
+
94
+
95
+ </div>
96
+ <div class='puzzle'>
97
+ <!-- Puzzle content begins here -->
98
+ <center>
99
+ <p><img src="images/1.png" border="1"></p>
100
+ <br><br>
101
+ <p><img src="images/2.png" border="1"></p>
102
+ <br><br>
103
+ <p><img src="images/3.png" border="1"></p>
104
+ <br><br>
105
+ <p><img src="images/4.png" border="1"></p>
106
+ </center>
107
+
108
+ <!-- Puzzle content ends here -->
109
+ </div>
110
+ </div>
111
+
112
+
113
+
114
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
115
+
116
+ <script type="text/javascript">
117
+ $(document).ready(function(e) { $('#answer_354').click(function(e) { $('#answer_354').text("Answer: " + "DISLOCATED TAILBONE");});});
118
+ </script>
119
+
120
+
121
+ </body><script type="module" src="/checkanswer.js"></script>
122
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/index.html ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Hunt-Life 3 Confirmed! &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/logbook.css" />
17
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/atlantis.css" />
18
+
19
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
20
+ </head>
21
+
22
+ <body>
23
+
24
+
25
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
26
+ <div class="container-fluid">
27
+ <!-- Brand and toggle get grouped for better mobile display -->
28
+ <div class="navbar-header">
29
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
30
+ <span class="sr-only">Toggle navigation</span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ <span class="icon-bar"></span>
34
+ </button>
35
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
36
+ </div>
37
+
38
+ <!-- Collect the nav links, forms, and other content for toggling -->
39
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
40
+ <ul class="nav navbar-nav">
41
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
42
+ <li class="dropdown">
43
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
44
+ <ul class="dropdown-menu">
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
46
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
47
+
48
+ <li></li>
49
+
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
54
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
55
+ </ul>
56
+ </li>
57
+ </ul>
58
+ <ul class="nav navbar-nav navbar-right">
59
+
60
+
61
+
62
+ <li></li>
63
+
64
+
65
+
66
+
67
+ </ul>
68
+ </div><!-- /.navbar-collapse -->
69
+ </div>
70
+ </nav>
71
+
72
+
73
+ <div id="artstuff">
74
+ <div id="atlantiscontainer">
75
+ <div id="leftdecor"></div>
76
+ <div id="rightdecor"></div>
77
+ </div>
78
+ <div id="atlantisdecor">
79
+ <div id="puzzle-obj"><img src="https://web.mit.edu/puzzle/www/2015//assets/puzzimages/354.png"></img></div>
80
+ <div id="infowindow">Location: Atlantis, Spotted Tower <br />Depth: 415</div>
81
+ </div>
82
+ </div>
83
+
84
+ <div id="paper">
85
+ <div class="puzzle-page-header">
86
+
87
+ <div class="sol"><a href="solution/">View Solution</a></div>
88
+
89
+ <h1>Hunt-Life 3 Confirmed!</h1>
90
+
91
+
92
+ <p class="answer" id="answer_354"> Answer: click here to reveal</p>
93
+
94
+
95
+ </div>
96
+ <div class='puzzle'>
97
+ <!-- Puzzle content begins here -->
98
+ <center>
99
+ <p><img src="images/1.png" border="1"></p>
100
+ <br><br>
101
+ <p><img src="images/2.png" border="1"></p>
102
+ <br><br>
103
+ <p><img src="images/3.png" border="1"></p>
104
+ <br><br>
105
+ <p><img src="images/4.png" border="1"></p>
106
+ </center>
107
+
108
+ <!-- Puzzle content ends here -->
109
+ </div>
110
+ </div>
111
+
112
+
113
+
114
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
115
+
116
+ <script type="text/javascript">
117
+ $(document).ready(function(e) { $('#answer_354').click(function(e) { $('#answer_354').text("Answer: " + "DISLOCATED TAILBONE");});});
118
+ </script>
119
+
120
+
121
+ </body><script type="module" src="/checkanswer.js"></script>
122
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/intro.html ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/logbook.css ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'im_fell_double_pica_scregular';
3
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot");
4
+ src: url("../fonts/hunt/imfedpsc28p-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/hunt/imfedpsc28p-webfont.woff2") format("woff2"), url("../fonts/hunt/imfedpsc28p-webfont.woff") format("woff"), url("../fonts/hunt/imfedpsc28p-webfont.ttf") format("truetype"), url("../fonts/hunt/imfedpsc28p-webfont.svg#im_fell_double_pica_scregular") format("svg");
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+
9
+ /* line 14, ../../sass/logbook.scss */
10
+ body {
11
+ margin: 0px;
12
+ border: 0px;
13
+ padding: 0px;
14
+ }
15
+
16
+ /* line 19, ../../sass/logbook.scss */
17
+ .headerbutton {
18
+ padding: 0 12px 0 12px;
19
+ float: right;
20
+ }
21
+
22
+ /* line 24, ../../sass/logbook.scss */
23
+ .sol {
24
+ height: 0px;
25
+ text-align: right;
26
+ margin-top: 35px;
27
+ margin-bottom: -35px;
28
+ }
29
+
30
+ /* line 31, ../../sass/logbook.scss */
31
+ #paper {
32
+ z-index: 9;
33
+ width: 1000px;
34
+ padding: 37px 55px 72px;
35
+ position: relative;
36
+ border: 1px solid #333333;
37
+ background: #dbc397;
38
+ -webkit-background-size: 100% 30px;
39
+ -moz-background-size: 100% 30px;
40
+ -ms-background-size: 100% 30px;
41
+ background-size: 100% 30px;
42
+ box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.5);
43
+ border-radius: 4px 4px 4px 4px;
44
+ color: #282625;
45
+ margin: 0 auto;
46
+ margin-bottom: 60px;
47
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
48
+ text-rendering: optimizeLegibility;
49
+ font-feature-settings: "kern";
50
+ -webkit-font-feature-settings: "kern";
51
+ -moz-font-feature-settings: "kern";
52
+ -moz-font-feature-settings: "kern=1";
53
+ }
54
+
55
+ /* line 57, ../../sass/logbook.scss */
56
+ #infowindow {
57
+ font: 16px "Crimson Text", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
58
+ }
59
+
60
+ /* line 61, ../../sass/logbook.scss */
61
+ .form-container {
62
+ top: 50px;
63
+ }
64
+
65
+ /* line 64, ../../sass/logbook.scss */
66
+ h1, h2, h3 {
67
+ font-family: 'im_fell_double_pica_scregular', serif;
68
+ }
69
+
70
+ /* line 67, ../../sass/logbook.scss */
71
+ .logheader {
72
+ font-size: larger;
73
+ font-weight: bold;
74
+ }
75
+
76
+ /* line 71, ../../sass/logbook.scss */
77
+ .logentry {
78
+ padding-left: 25px;
79
+ padding-right: 25px;
80
+ border-bottom: 1px solid #282625;
81
+ }
82
+
83
+ /* line 76, ../../sass/logbook.scss */
84
+ .logentry2 {
85
+ padding-left: 100px;
86
+ padding-right: 100px;
87
+ border-bottom: 1px solid #282625;
88
+ }
89
+
90
+ /* line 81, ../../sass/logbook.scss */
91
+ ul {
92
+ list-style: square inside url("../images/hunt/bullet3.png");
93
+ }
94
+
95
+ /* line 84, ../../sass/logbook.scss */
96
+ table.fancy {
97
+ padding: 0;
98
+ margin: 0;
99
+ width: 100%;
100
+ border-collapse: collapse;
101
+ border-style: double;
102
+ border-color: #282625;
103
+ border-left: 0;
104
+ border-right: 0;
105
+ }
106
+
107
+ /* line 94, ../../sass/logbook.scss */
108
+ table.fancy th, tr {
109
+ padding: 0;
110
+ margin: 0;
111
+ }
112
+
113
+ /* line 98, ../../sass/logbook.scss */
114
+ table.fancy td {
115
+ padding-left: 10px;
116
+ margin: 0;
117
+ border: 1px solid #282625;
118
+ border-right: 0;
119
+ }
120
+
121
+ /* line 104, ../../sass/logbook.scss */
122
+ .tdleft {
123
+ padding: 0;
124
+ width: 10%;
125
+ border-left: 0;
126
+ }
127
+
128
+ /* line 109, ../../sass/logbook.scss */
129
+ .caption {
130
+ font-style: italic;
131
+ border-top: 0px;
132
+ margin-top: 0px;
133
+ padding-top: 0px;
134
+ }
135
+
136
+ /* line 116, ../../sass/logbook.scss */
137
+ .puzzle-sans {
138
+ font-family: sans-serif;
139
+ }
140
+
141
+ /* line 120, ../../sass/logbook.scss */
142
+ .puzzle {
143
+ display: table;
144
+ width: 100%;
145
+ }
146
+
147
+ /* line 125, ../../sass/logbook.scss */
148
+ .puzzle-page-header {
149
+ margin-bottom: 20px;
150
+ }
151
+
152
+ /* line 129, ../../sass/logbook.scss */
153
+ .answer {
154
+ margin-bottom: 30px;
155
+ }
156
+
157
+ /* line 133, ../../sass/logbook.scss */
158
+ .puzzle li {
159
+ list-style-position: inside;
160
+ text-indent: -1.1em;
161
+ }
162
+
163
+ /* line 138, ../../sass/logbook.scss */
164
+ .sol {
165
+ height: 0px;
166
+ text-align: right;
167
+ margin-top: 35px;
168
+ margin-bottom: -35px;
169
+ }
170
+
171
+ /* line 145, ../../sass/logbook.scss */
172
+ .clickbaitbannerbox {
173
+ width: 320px;
174
+ margin-right: 20px;
175
+ margin-left: auto;
176
+ margin-bottom: 20px;
177
+ margin-top: -30px;
178
+ }
179
+
180
+ @media print {
181
+ /* line 154, ../../sass/logbook.scss */
182
+ .clickbaitbannerbox {
183
+ margin-top: 50px;
184
+ }
185
+ }
186
+ /* line 159, ../../sass/logbook.scss */
187
+ .clickbaitbanner {
188
+ background-color: white;
189
+ padding: 10px;
190
+ }
191
+
192
+ /* line 163, ../../sass/logbook.scss */
193
+ .attop {
194
+ position: absolute;
195
+ top: 0px;
196
+ left: 0px;
197
+ }
198
+
199
+ /* line 169, ../../sass/logbook.scss */
200
+ .byline {
201
+ font-family: 'Times New Roman', serif;
202
+ font-style: italic;
203
+ }
204
+
205
+ /* line 173, ../../sass/logbook.scss */
206
+ .clickbaitlink {
207
+ font-family: Helvetica, Arial, sans-serif;
208
+ font-size: 20px;
209
+ }
210
+
211
+ /* line 177, ../../sass/logbook.scss */
212
+ .clickbaitlink a {
213
+ text-decoration: none;
214
+ }
215
+
216
+ /* line 181, ../../sass/logbook.scss */
217
+ .puzzle p, .puzzle li {
218
+ line-height: 1.4em;
219
+ }
220
+
221
+ /* line 185, ../../sass/logbook.scss */
222
+ .solution-table td, .solution-table th {
223
+ padding-right: 15px;
224
+ }
225
+
226
+ @media print {
227
+ /* line 190, ../../sass/logbook.scss */
228
+ #puzzle-obj img {
229
+ display: none;
230
+ }
231
+
232
+ /* line 194, ../../sass/logbook.scss */
233
+ .no-page-break {
234
+ page-break-inside: avoid;
235
+ }
236
+
237
+ /* line 197, ../../sass/logbook.scss */
238
+ #paper {
239
+ width: 100%;
240
+ margin-bottom: 0px !important;
241
+ padding-bottom: 0px !important;
242
+ border: 0px !important;
243
+ }
244
+ }
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/puzzle.css ADDED
The diff for this file is too large to render. See raw diff
 
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/sponsors.html ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Sponsors &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Our Generous Sponsors</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <h3><a href="https://www.akamai.com">Akamai</a></h3>
74
+ <h3 style="display:inline;"><a href="https://www.axcelx.com/">Axcelx</a></h3> (discount code HAPPYHUNTING for 20% off)
75
+ <h3><a href="https://www.battlecode.org/">Battlecode</a></h3>
76
+ <h3><a href="https://www.counsyl.com/">Counsyl</a></h3>
77
+ <h3><a href="https://www.dropbox.com/">Dropbox</a></h3>
78
+ <h3><a href="https://www.hudson-trading.com/">HRT</a></h3>
79
+ <h3><a href="https://kyruus.com">Kyruus</a></h3>
80
+ <h3><a href="https://web.mit.edu/asa/resources/large-events.html">LEF</a></h3>
81
+ <h3 style="display:inline;"><a href="https://www.neaq.org/index.php">New England Aquarium</a></h3> (initially listed as "Mystery Sponsor" because of the puzzle <a href="/2015/puzzle/field_trip/">"Field Trip"</a>)
82
+ <h3><a href="https://www.oliverwyman.com/">Oliver Wyman</a></h3>
83
+ <h3><a href="https://ua.mit.edu/funding/finboard/">UA Finboard</a></h3>
84
+ </div>
85
+
86
+
87
+
88
+
89
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
90
+
91
+
92
+ </body>
93
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/storylog.html ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Story Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>The Story So Far...</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <div class="storyexplain">
74
+ This page provides a summary of the important events and plot information which your team has experienced so far. It is not a puzzle, nor is anything on this page intended to provide additional information for completing other puzzles.
75
+ </div>
76
+
77
+ <h2>Kickoff</h2>
78
+ <p>
79
+ Dr. Nautilus, a steam-era inventor, is designing new technologies that work by harnessing the power of the previously-undeveloped “magnetonomic force”. She needs help obtaining a sufficiently powerful store of magnetonomic force. Her assistant Julie Verne has discovered that a store of powerful “Nautilodestones” exists somewhere in the ocean. Teams of daring adventurers are invited to embark on the world’s first-ever undersea exploration mission. The purpose: finding and retrieving a Nautilodestone. The first team to complete this mission will be rewarded handsomely with coin. Solving puzzles and discovering submarine upgrades will enable you to descend deeper into the ocean. The challenges that await you down there remain a mystery...
80
+ </p>
81
+
82
+ <h2>Workshop</h2>
83
+ <p class="storyexplain">
84
+ You can’t go underwater without a proper vessel. You go into Dr. Nautilus’s Workshop and start working on upgrading your submarine.
85
+ </p>
86
+
87
+ <h3>Submarine upgrades:</h3>
88
+ <p>
89
+
90
+ In the optics lab, you construct a <span class="meta_answer" id="optics_lab_meta_span">Click here to reveal meta answer</span>.<br/>
91
+
92
+ In the chemistry lab, you concoct some <span class="meta_answer" id="chemistry_lab_meta_span">Click here to reveal meta answer</span>.<br/>
93
+
94
+ In the machine room, you build a set of <span class="meta_answer" id="machine_room_meta_span">Click here to reveal answer</span>.
95
+ </p>
96
+
97
+
98
+ <h3>Final workshop challenge:</h3>
99
+ <p>
100
+ You complete Dr. Nautilus’s unfinished device. The finished machine indicates that you should go to <span class="meta_answer" id="workshop_meta_meta_span">Click here to reveal meta answer</span>, where you will start building a Nautilodestone detector. After collecting and assembling pieces from throughout the workshop, you build a <span class="storyitem">Magnetonomic Adjacency Detector</span>, which you will need to find the stone.
101
+ </p>
102
+
103
+
104
+
105
+
106
+ <h2>Ocean</h2>
107
+ <p class="storyexplain">Your submarine dives into the Ocean. Nobody knows what creatures and discoveries you might find!</p>
108
+
109
+ <h3>Submarine upgrades:</h3>
110
+ <p>
111
+
112
+ Playing with the pod of dolphins earns you a <span class="meta_answer" id="pod_of_dolphins_meta_span">Click here to reveal meta answer</span>.<br/>
113
+
114
+ Exploring the coral reef uncovers <span class="meta_answer" id="coral_reef_meta_span">Click here to reveal meta answer</span>.<br/>
115
+
116
+ After sorting through the contents of the treasure chest, you equip your sub with <span class="meta_answer" id="treasure_chest_meta_span">Click here to reveal meta answer</span>.<br/>
117
+
118
+ Your adventure with the school of fish enables you to build <span class="meta_answer" id="school_of_fish_meta_span">Click here to reveal meta answer</span>.<br/>
119
+
120
+ The spooky graveyard gives you a <span class="meta_answer" id="graveyard_meta_span">Click here to reveal meta answer</span>.
121
+ </p>
122
+
123
+
124
+ <h3>Aquatic Acquaintances:</h3>
125
+ <p class="aqua">
126
+ You meet Spongebob. His dance class got tangled up in a giant conga line knot. After helping him <span class="meta_answer" id="spongebob_span">Click here to reveal meta answer</span>, he gives you a Golden Shell.
127
+ </p>
128
+ <p class="aqua">
129
+ You meet Captain Planet who is struggling with pollution from clickbait articles. After helping him <span class="meta_answer" id="captain_planet_span">Click here to reveal meta answer</span>, he gives you a Spotted Shell.
130
+ </p>
131
+ <p class="aqua">
132
+ You meet Dory, who lost track of Nemo on her way to delivering you some errata for various puzzles. After telling her <span class="meta_answer" id="dory_span">Click here to reveal meta answer</span>, she finds Nemo and gives you a Colorful Shell.
133
+ </p>
134
+ <p class="aqua">
135
+ You meet Cthulhu, who has awoken from his slumber and is very grumpy. He instructs you to <span class="meta_answer" id="cthulhu_span">Click here to reveal meta answer</span>; once you do so, he happily falls back to sleep and his cultist gives you a Spiky Shell.
136
+ </p>
137
+
138
+
139
+ <h3>Ocean Final Challenge:</h3>
140
+ <p>
141
+ You encounter a turtle. After placing markings on its shell, you are instructed to go to the <span class="meta_answer" id="ocean_meta_meta_span">Click here to reveal meta answer</span>. At the shipwreck, you help an enormous blue whale with its digestive troubles. In return, it gives you a <span class="storyitem">Legendary Swordfish</span>, which will help you clear obstacles on your way to the stone.
142
+ </p>
143
+
144
+
145
+
146
+
147
+ <h2>Atlantis</h2>
148
+ <p class="storyexplain">You find a mysterious underwater city, full of ancient power. It seems oddly deserted, as though something is wrong.</p>
149
+
150
+ <h3>Submarine upgrades:</h3>
151
+ <p>
152
+ You use the Golden Shell to unlock the top floor of the Golden Tower.<br/>
153
+ In order to help the Golden Tower, you equip your ship with a <span class="meta_answer" id="golden_tower_meta_span">Click here to reveal meta answer</span>!
154
+ </p>
155
+ <p>
156
+ You use the Colorful Shell to unlock the top floor of the Colorful Tower.<br/>
157
+ In order to help the Colorful Tower, you equip your ship with an <span class="meta_answer" id="colorful_tower_meta_span">Click here to reveal meta answer</span>!
158
+ </p>
159
+ <p>
160
+ You use the Spiky Shell to unlock the top floor of the Spiky Tower.<br/>
161
+ In order to help the Spiky Tower, you equip your ship with a <span class="meta_answer" id="spiky_tower_meta_span">Click here to reveal meta answer</span>!
162
+ </p>
163
+ <p>
164
+ You use the Spotted Shell to unlock the top floor of the Spotted Tower.<br/>
165
+ In order to help the Spotted Tower, you equip your ship with an <span class="meta_answer" id="spotted_tower_meta_span">Click here to reveal meta answer</span>!
166
+ </p>
167
+
168
+
169
+ <h3>Atlantis Final Challenge:</h3>
170
+ <p>
171
+ You discover that Atlantis has been overrun by <span class="meta_answer" id="atlantis_meta_meta_plot_span">Click here to reveal meta-spoiling plot information</span>. You go to the <span class="meta_answer" id="atlantis_meta_meta_span">Click here to reveal meta answer</span>. There, you defeat them and save Atlantis. In return, the monarch of Atlantis gives you a <span class="storyitem">Navigational Chart</span> showing the stones’ location, and promises to send you an Atlantean guide to help you navigate the trench.
172
+ </p>
173
+
174
+
175
+
176
+
177
+ </div>
178
+
179
+
180
+
181
+
182
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
183
+
184
+ <script type="text/javascript">
185
+ $(document).ready(function() {
186
+ var answer_map = {};
187
+ var metas = {"optics_lab_meta_span": "PRISMATIC PERISCOPE",
188
+ "chemistry_lab_meta_span": "COOL FUEL",
189
+ "machine_room_meta_span": "AETHER BALLAST TANK",
190
+ "workshop_meta_meta_span": "STEAM LAB",
191
+ "pod_of_dolphins_meta_span": "BELUGA PAL",
192
+ "coral_reef_meta_span": "ELECTRIC EEL POWER",
193
+ "treasure_chest_meta_span": "MANTA RAY VISION",
194
+ "school_of_fish_meta_span": "SARDINE CANNONS",
195
+ "graveyard_meta_span": "MECHANICAL SEA MONSTER",
196
+ "spongebob_span": "UNTANGLE LINES",
197
+ "captain_planet_span": "RECYCLE CONTENT",
198
+ "dory_span": "LOOK BEHIND YOU",
199
+ "cthulhu_span": "FEED ME YOUR SOLES",
200
+ "ocean_meta_meta_span": "SHIPWRECK",
201
+ "golden_tower_meta_span": "TRIDENT OF HARMONY",
202
+ "colorful_tower_meta_span": "IMMORTAL IRON KEEL",
203
+ "spotted_tower_meta_span": "ENCHANTED PANACEA",
204
+ "spiky_tower_meta_span": "FAERIE CORNUCOPIA",
205
+ "atlantis_meta_meta_plot_span": "the Four Seahorsemen of the Apocalypse",
206
+ "atlantis_meta_meta_span": "TOP OF TALLEST TOWER"};
207
+ $('.meta_answer').click(function(e) {
208
+ $(e.target).text(metas[e.target.id]);});});
209
+ </script>
210
+
211
+
212
+ </body>
213
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/toc.html ADDED
@@ -0,0 +1,831 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Table of Contents &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Known Locations</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+
74
+
75
+ <h2>Machine Room</h2> <!-- TODO: metas?! Phases? -->
76
+ <!-- TODO: are these in DEEP order? They should be... -->
77
+ <ul>
78
+
79
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/imba">Imba</a>
80
+
81
+ </li>
82
+
83
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/beth">Beth</a>
84
+
85
+ </li>
86
+
87
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/erraticism">Erraticism</a>
88
+
89
+ </li>
90
+
91
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_on_the_move">Back on the Move</a>
92
+
93
+ </li>
94
+
95
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/loony_playhouse_actors">Loony Playhouse Actors</a>
96
+
97
+ </li>
98
+
99
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nautiluss_duplicated_quest">Nautilus's Duplicated Quest</a>
100
+
101
+ </li>
102
+
103
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/takeout_ordering">Takeout Ordering</a>
104
+
105
+ </li>
106
+
107
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nope">Nope!</a>
108
+
109
+ </li>
110
+
111
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_rare_teak">A Rare Teak</a>
112
+
113
+ </li>
114
+
115
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/machine_room_meta">Machine Room Meta</a>
116
+
117
+ </li>
118
+
119
+ </ul>
120
+
121
+
122
+
123
+ <h2>Optics Lab</h2> <!-- TODO: metas?! Phases? -->
124
+ <!-- TODO: are these in DEEP order? They should be... -->
125
+ <ul>
126
+
127
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_puzzle_has_no_errata">This Puzzle Has No Errata</a>
128
+
129
+ </li>
130
+
131
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wait_what_did_you_say">Wait, What Did You Say?</a>
132
+
133
+ </li>
134
+
135
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_is_out_of_joint">Time Is Out of Joint</a>
136
+
137
+ </li>
138
+
139
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wizardly_tales">Wizardly Tales</a>
140
+
141
+ </li>
142
+
143
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_agers_puzzling_adventure">Captain Ager's Puzzling Adventure</a>
144
+
145
+ </li>
146
+
147
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/montages">Montages</a>
148
+
149
+ </li>
150
+
151
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/nina">Nina</a>
152
+
153
+ </li>
154
+
155
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/optics_lab_meta">Optics Lab Meta</a>
156
+
157
+ </li>
158
+
159
+ </ul>
160
+
161
+
162
+
163
+ <h2>Chemistry Lab</h2> <!-- TODO: metas?! Phases? -->
164
+ <!-- TODO: are these in DEEP order? They should be... -->
165
+ <ul>
166
+
167
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/escape_from_the_classroom">Escape from the Classroom</a>
168
+
169
+ </li>
170
+
171
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mythological_connections">Mythological Connections</a>
172
+
173
+ </li>
174
+
175
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_misspelled_insects">The Misspelled Insects</a>
176
+
177
+ </li>
178
+
179
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/people_and_places">People and Places</a>
180
+
181
+ </li>
182
+
183
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/finsey_gillhone">Finsey Gillhone</a>
184
+
185
+ </li>
186
+
187
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wordsearches_are_a_piece_of_cake">Wordsearches Are a Piece of Cake</a>
188
+
189
+ </li>
190
+
191
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/speak_of_the_devil_fruit">Speak of the Devil Fruit</a>
192
+
193
+ </li>
194
+
195
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_accumulator">The Accumulator</a>
196
+
197
+ </li>
198
+
199
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/chemistry_lab_meta">Chemistry Lab Meta</a>
200
+
201
+ </li>
202
+
203
+ </ul>
204
+
205
+
206
+
207
+ <h2>School of Fish</h2> <!-- TODO: metas?! Phases? -->
208
+ <!-- TODO: are these in DEEP order? They should be... -->
209
+ <ul>
210
+
211
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/denizen_of_the_deep">Denizen of the Deep</a>
212
+
213
+ </li>
214
+
215
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/eh">Eh?</a>
216
+
217
+ </li>
218
+
219
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/feeling_bluefin">Feeling Bluefin</a>
220
+
221
+ </li>
222
+
223
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tournament">Tournament</a>
224
+
225
+ </li>
226
+
227
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_cats_meow">The Cat's Meow</a>
228
+
229
+ </li>
230
+
231
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_short_transmission">A Short Transmission</a>
232
+
233
+ </li>
234
+
235
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hash">Hash</a>
236
+
237
+ </li>
238
+
239
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ready_set_go">Ready Set Go</a>
240
+
241
+ </li>
242
+
243
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/frequency_distribution_tank">Frequency Distribution Tank</a>
244
+
245
+ </li>
246
+
247
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/headshots">Headshots</a>
248
+
249
+ </li>
250
+
251
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/watch_me_blow_this">Watch Me Blow This!</a>
252
+
253
+ </li>
254
+
255
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blocks">Blocks</a>
256
+
257
+ </li>
258
+
259
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_last_airbender">The Last Airbender</a>
260
+
261
+ </li>
262
+
263
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rid_fill">Rid Fill</a>
264
+
265
+ </li>
266
+
267
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/moves">Moves</a>
268
+
269
+ </li>
270
+
271
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/twelve_grids_of_pictures">Twelve Grids of Pictures</a>
272
+
273
+ </li>
274
+
275
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_acerbic_sixteen">The Acerbic Sixteen</a>
276
+
277
+ </li>
278
+
279
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/this_story_is_canon">This Story is Canon</a>
280
+
281
+ </li>
282
+
283
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/p1ctures">p1ctures</a>
284
+
285
+ </li>
286
+
287
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tickle_me_pink">Tickle Me Pink</a>
288
+
289
+ </li>
290
+
291
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/memory_lane">Memory Lane</a>
292
+
293
+ </li>
294
+
295
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ride_em_in">Ride 'Em In</a>
296
+
297
+ </li>
298
+
299
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_hidden_city">The Hidden City</a>
300
+
301
+ </li>
302
+
303
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/trivia_round">Trivia Round</a>
304
+
305
+ </li>
306
+
307
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_at_it">Go At It!</a>
308
+
309
+ </li>
310
+
311
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/goldfish_memory">Goldfish Memory</a>
312
+
313
+ </li>
314
+
315
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bubbles">Bubbles</a>
316
+
317
+ </li>
318
+
319
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/bookshelves">Bookshelves</a>
320
+
321
+ </li>
322
+
323
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/threes_the_charm">Three's the Charm</a>
324
+
325
+ </li>
326
+
327
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/starfish">Starfish</a>
328
+
329
+ </li>
330
+
331
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/toasting_the_bagel">Toasting the Bagel</a>
332
+
333
+ </li>
334
+
335
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/rectangles">Rectangles</a>
336
+
337
+ </li>
338
+
339
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fjf_s">FJF,S</a>
340
+
341
+ </li>
342
+
343
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fencing">Fencing</a>
344
+
345
+ </li>
346
+
347
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/striptease">Striptease</a>
348
+
349
+ </li>
350
+
351
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/siamese_quintuplets">Siamese Quintuplets</a>
352
+
353
+ </li>
354
+
355
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/not_all_there">Not All There</a>
356
+
357
+ </li>
358
+
359
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/no_pluto">No Pluto</a>
360
+
361
+ </li>
362
+
363
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_resistance">The Resistance</a>
364
+
365
+ </li>
366
+
367
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/go_fish">Go Fish!</a>
368
+
369
+ </li>
370
+
371
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/fill_in_the_blanks">Fill in the Blanks</a>
372
+
373
+ </li>
374
+
375
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_toast">A Toast</a>
376
+
377
+ </li>
378
+
379
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/be_a_star">Be a Star!</a>
380
+
381
+ </li>
382
+
383
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/i_know_thats_a_pisser_baby">I Know That's a Pisser Baby </a>
384
+
385
+ </li>
386
+
387
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/word_fork">Word Fork</a>
388
+
389
+ </li>
390
+
391
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_poem_by_shell_silverstein">A Poem by Shell Silverstein </a>
392
+
393
+ </li>
394
+
395
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/even_the_blossoming_flowers">Even the Blossoming Flowers...</a>
396
+
397
+ </li>
398
+
399
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spittle_loon">Spittle Loon</a>
400
+
401
+ </li>
402
+
403
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/flat_containers">Flat Containers</a>
404
+
405
+ </li>
406
+
407
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_er_of_men">The ____er of Men</a>
408
+
409
+ </li>
410
+
411
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_wheels_go_round_and_round">The Wheels Go Round and Round</a>
412
+
413
+ </li>
414
+
415
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/munchies">Munchies</a>
416
+
417
+ </li>
418
+
419
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/back_and_forth">Back and Forth</a>
420
+
421
+ </li>
422
+
423
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/encephalon">Encephalon</a>
424
+
425
+ </li>
426
+
427
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/funny_shapes">Funny Shapes</a>
428
+
429
+ </li>
430
+
431
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/les_faux_amis_valent_rien">Les Faux Amis Valent Rien</a>
432
+
433
+ </li>
434
+
435
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/school_of_fish_meta">School of Fish Meta</a>
436
+
437
+ </li>
438
+
439
+ </ul>
440
+
441
+
442
+
443
+ <h2>Pod of Dolphins</h2> <!-- TODO: metas?! Phases? -->
444
+ <!-- TODO: are these in DEEP order? They should be... -->
445
+ <ul>
446
+
447
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/per_verse_poetry">Per-verse Poetry</a>
448
+
449
+ </li>
450
+
451
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/representative_characters">Representative Characters</a>
452
+
453
+ </li>
454
+
455
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/constraint_chef">Constraint Chef</a>
456
+
457
+ </li>
458
+
459
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/something_looks_fishy">Something Looks Fishy</a>
460
+
461
+ </li>
462
+
463
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/field_trip">Field Trip</a>
464
+
465
+ </li>
466
+
467
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mit_mystery_hunt">MiT MYSTERY HUNT</a>
468
+
469
+ </li>
470
+
471
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/choose_your_language">Choose Your Language</a>
472
+
473
+ </li>
474
+
475
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/its_play_time">It's Play Time</a>
476
+
477
+ </li>
478
+
479
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dr_nautiluss_secret_notes">Dr. Nautilus's Secret Notes</a>
480
+
481
+ </li>
482
+
483
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pod_of_dolphins_meta">Pod of Dolphins Meta</a>
484
+
485
+ </li>
486
+
487
+ </ul>
488
+
489
+
490
+
491
+ <h2>Coral Reef</h2> <!-- TODO: metas?! Phases? -->
492
+ <!-- TODO: are these in DEEP order? They should be... -->
493
+ <ul>
494
+
495
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hashi_it_out">Hashi It Out</a>
496
+
497
+ </li>
498
+
499
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ariels_scavenger_hunt">Ariel's Scavenger Hunt</a>
500
+
501
+ </li>
502
+
503
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_puzzle_consisting_entirely_of_random_anagrams">A Puzzle Consisting Entirely of Random Anagrams</a>
504
+
505
+ </li>
506
+
507
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/jack_and_jill_or_janet">Jack and Jill or Janet</a>
508
+
509
+ </li>
510
+
511
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_thousand_words">A Thousand Words</a>
512
+
513
+ </li>
514
+
515
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/pipe">Pipe</a>
516
+
517
+ </li>
518
+
519
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/polyglot">Polyglot</a>
520
+
521
+ </li>
522
+
523
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_10_000_puzzle_pyramid">The 10,000 Puzzle Pyramid</a>
524
+
525
+ </li>
526
+
527
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coral_reef_meta">Coral Reef Meta</a>
528
+
529
+ </li>
530
+
531
+ </ul>
532
+
533
+
534
+
535
+ <h2>Treasure Chest</h2> <!-- TODO: metas?! Phases? -->
536
+ <!-- TODO: are these in DEEP order? They should be... -->
537
+ <ul>
538
+
539
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cube">Cube</a>
540
+
541
+ </li>
542
+
543
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/game">Game</a>
544
+
545
+ </li>
546
+
547
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/knit_square">Knit Square</a>
548
+
549
+ </li>
550
+
551
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ropes">Ropes</a>
552
+
553
+ </li>
554
+
555
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/paper_jigsaw">Paper Jigsaw</a>
556
+
557
+ </li>
558
+
559
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/locks">Locks</a>
560
+
561
+ </li>
562
+
563
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/wood">Wood</a>
564
+
565
+ </li>
566
+
567
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/coins">Coins</a>
568
+
569
+ </li>
570
+
571
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/treasure_chest_meta">Treasure Chest Meta</a>
572
+
573
+ </li>
574
+
575
+ </ul>
576
+
577
+
578
+
579
+ <h2>Graveyard</h2> <!-- TODO: metas?! Phases? -->
580
+ <!-- TODO: are these in DEEP order? They should be... -->
581
+ <ul>
582
+
583
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/shark_blood">Shark Blood</a>
584
+
585
+ </li>
586
+
587
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/welcome_to_dead_waters">Welcome to Dead Waters</a>
588
+
589
+ </li>
590
+
591
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/say_cheese_and_dive">Say Cheese and Dive!</a>
592
+
593
+ </li>
594
+
595
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lets_get_submersible">Let's Get Submersible!</a>
596
+
597
+ </li>
598
+
599
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/night_of_the_living_kraken">Night of the Living Kraken</a>
600
+
601
+ </li>
602
+
603
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_curse_of_the_atlanteans_tomb">The Curse of the Atlantean's Tomb</a>
604
+
605
+ </li>
606
+
607
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/stay_out_of_the_trench">Stay Out of the Trench</a>
608
+
609
+ </li>
610
+
611
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/graveyard_meta">Graveyard Meta</a>
612
+
613
+ </li>
614
+
615
+ </ul>
616
+
617
+
618
+
619
+ <h2>Aquatic Acquaintances</h2> <!-- TODO: metas?! Phases? -->
620
+ <!-- TODO: are these in DEEP order? They should be... -->
621
+ <ul>
622
+
623
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spongebob">Spongebob</a>
624
+
625
+ </li>
626
+
627
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/captain_planet">Captain Planet</a>
628
+
629
+ </li>
630
+
631
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/dory">Dory</a>
632
+
633
+ </li>
634
+
635
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cthulhu">Cthulhu</a>
636
+
637
+ </li>
638
+
639
+ </ul>
640
+
641
+
642
+
643
+ <h2>Colorful Tower</h2> <!-- TODO: metas?! Phases? -->
644
+ <!-- TODO: are these in DEEP order? They should be... -->
645
+ <ul>
646
+
647
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/smiling_vessel">Smiling Vessel</a>
648
+
649
+ </li>
650
+
651
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/image">Image</a>
652
+
653
+ </li>
654
+
655
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/blue_bomber">Blue Bomber</a>
656
+
657
+ </li>
658
+
659
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/steves_parable">Steve's Parable</a>
660
+
661
+ </li>
662
+
663
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/time_amp_place">Time &amp; Place</a>
664
+
665
+ </li>
666
+
667
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_push_in_the_right_direction">A Push in the Right Direction</a>
668
+
669
+ </li>
670
+
671
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/suns_of_china">Suns of China</a>
672
+
673
+ </li>
674
+
675
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/colorful_tower_meta">Colorful Tower Meta</a>
676
+
677
+ </li>
678
+
679
+ </ul>
680
+
681
+
682
+
683
+ <h2>Spotted Tower</h2> <!-- TODO: metas?! Phases? -->
684
+ <!-- TODO: are these in DEEP order? They should be... -->
685
+ <ul>
686
+
687
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/topsy_turvy">Topsy-Turvy</a>
688
+
689
+ </li>
690
+
691
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/hunt_life_3_confirmed">Hunt-Life 3 Confirmed!</a>
692
+
693
+ </li>
694
+
695
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantean_graves">Atlantean Graves</a>
696
+
697
+ </li>
698
+
699
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/foamy">Foamy</a>
700
+
701
+ </li>
702
+
703
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/benny_lava">Benny Lava</a>
704
+
705
+ </li>
706
+
707
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spotted_tower_meta">Spotted Tower Meta</a>
708
+
709
+ </li>
710
+
711
+ </ul>
712
+
713
+
714
+
715
+ <h2>Spiky Tower</h2> <!-- TODO: metas?! Phases? -->
716
+ <!-- TODO: are these in DEEP order? They should be... -->
717
+ <ul>
718
+
719
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/a_case_of_the_monday_crosswords">A Case of the Monday Crosswords</a>
720
+
721
+ </li>
722
+
723
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/lead_right">Lead Right</a>
724
+
725
+ </li>
726
+
727
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/floating_crossword">Floating Crossword</a>
728
+
729
+ </li>
730
+
731
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/quodlibet">Quodlibet</a>
732
+
733
+ </li>
734
+
735
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptochains">Cryptochains</a>
736
+
737
+ </li>
738
+
739
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/the_sun_will_come_out">The Sun Will Come Out</a>
740
+
741
+ </li>
742
+
743
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ukacd">UKACD</a>
744
+
745
+ </li>
746
+
747
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/read_between_the_lines">Read Between the Lines</a>
748
+
749
+ </li>
750
+
751
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/follow_the_bees">Follow the Bees!</a>
752
+
753
+ </li>
754
+
755
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/spiky_tower_meta">Spiky Tower Meta</a>
756
+
757
+ </li>
758
+
759
+ </ul>
760
+
761
+
762
+
763
+ <h2>Golden Tower</h2> <!-- TODO: metas?! Phases? -->
764
+ <!-- TODO: are these in DEEP order? They should be... -->
765
+ <ul>
766
+
767
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/tantalum">Tantalum</a>
768
+
769
+ </li>
770
+
771
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/check_out_this_sticked_asiatic_music">Check Out This Sticked Asiatic Music</a>
772
+
773
+ </li>
774
+
775
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/practice_in_theory">Practice in Theory</a>
776
+
777
+ </li>
778
+
779
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/cryptic_golf">Cryptic Golf</a>
780
+
781
+ </li>
782
+
783
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/mashup">Mashup</a>
784
+
785
+ </li>
786
+
787
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/connect_the_ducks">Connect the Ducks</a>
788
+
789
+ </li>
790
+
791
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/golden_tower_meta">Golden Tower Meta</a>
792
+
793
+ </li>
794
+
795
+ </ul>
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+ <h2>Hunt Round (Metametas)</h2> <!-- TODO: metas?! Phases? -->
804
+ <!-- TODO: are these in DEEP order? They should be... -->
805
+ <ul>
806
+
807
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/workshop_meta_meta">Workshop Meta Meta</a>
808
+
809
+ </li>
810
+
811
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/ocean_meta_meta">Ocean Meta Meta</a>
812
+
813
+ </li>
814
+
815
+ <li><a href="https://web.mit.edu/puzzle/www/2015/puzzle/atlantis_meta_meta">Atlantis Meta Meta</a>
816
+
817
+ </li>
818
+
819
+ </ul>
820
+
821
+
822
+ </div>
823
+
824
+
825
+
826
+
827
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
828
+
829
+
830
+ </body>
831
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_hunt_life_3_confirmed/updates.html ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Updates &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css"/>
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Updates from Sealab</h2></div>
71
+ </div>
72
+ <div class="form-container nav-related-container">
73
+ <p style="font-style:italic">
74
+ Errata, major news, etc. will be posted here as well as delivered via email.
75
+ </p>
76
+
77
+ <p class="hqupdate">
78
+ <h3>Friday at 2:40 PM</h3>
79
+ First, a reminder about our scheduled events and study breaks. See them <a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">here</a>.
80
+ <br/><br/>
81
+ Additionally, some explorers have expressed confusion that they did not receive a packet, in addition to the Adventure Starter Kit (Bag of Swag) after Dr. Nautilus's presentation. There is not in fact a separate packet; everything is included in your Adventure Starter Kit.
82
+ </p>
83
+
84
+ <p class="hqupdate">
85
+ <h3>Friday at 4:00 PM</h3>
86
+ Please check the puzzle "Back on the Move" again for an update about which Twitter account is being used (due to Twitter's rate-limiting).
87
+ </p>
88
+
89
+ <p class="hqupdate">
90
+ <h3>Friday at 5:20 PM</h3>
91
+ Dr. Nautilus has generously given you access to the entirety of the Machine Room. Happy puzzling!
92
+ </p>
93
+
94
+ <p class="hqupdate">
95
+ <h3>Friday at 7:00 PM</h3>
96
+ Hi Teams,<br/>
97
+ Julie asked me to remind you about the "Ask the Oracle" function on the website! Each puzzle page has a link on the upper-right to ask a yes or no question. More details are available there.
98
+ <br/>
99
+ Charge will continue to build up as you explore (and attend events!), so don't be shy to ask questions of the Oracle when you are feeling stuck or not having a fun on a puzzle!<br/>
100
+ -Dr. N
101
+ </p>
102
+ <p class="hqupdate">
103
+ <h3>Saturday at 12:20 AM</h3>
104
+ Dr. Nautilus has generously given you access to the entirety of the Optics Lab. Happy puzzling!
105
+ </p>
106
+ <p class="hqupdate">
107
+ <h3>Saturday at 1:12 AM</h3>
108
+ For the puzzle "A Thousand Words", we have added an "E" to the fifth
109
+ row of the grid; the version on the website now reflects this
110
+ correction.
111
+ </p>
112
+ <p class="hqupdate">
113
+ <h3>Saturday at 3:31 AM</h3>
114
+ For the puzzle "Choose Your Language", the line beginning "The four ninja warrior turtles..." was
115
+ extraneous and has been removed.
116
+ </p>
117
+ <p class="hqupdate">
118
+ <h3>Saturday at 4:31 AM</h3>
119
+ For the puzzle "Welcome to Dead Waters", the last line has been changed.
120
+ </p>
121
+ <p class="hqupdate">
122
+ <h3>Saturday at 9:17 AM</h3>
123
+ For the puzzle "Ocean Meta Meta", the letter I should be included in the list of letters that contain a vertical mirror plane.
124
+ </p>
125
+ <p class="hqupdate">
126
+ <h3>Saturday at 12:40 PM</h3>
127
+ Dr. Nautilus wants to make sure that you have all noticed the puzzle "Field Trip", which you should now be able to see. She thought you might be interested in taking a look at it soon if you haven't already!
128
+ </p>
129
+
130
+ <p class="hqupdate">
131
+ <h3>Saturday at 05:28 PM</h3>
132
+ <p>The tombstone for Neptune III should have the text &quot;Neptune III&quot; or just &quot;Neptune&quot; replaced with &quot;Blue Stream&quot; each place it appears. This update should be live on the website now.</p>
133
+ </p>
134
+
135
+ <p class="hqupdate">
136
+ <h3>Saturday at 06:06 PM</h3>
137
+ <p>Dr. Nautilus has generously given you access to the entirety of the Chemistry Lab. Happy puzzling!<br /></p>
138
+ </p>
139
+
140
+ <p class="hqupdate">
141
+ <h3>Saturday at 11:51 PM</h3>
142
+ <p>Hi teams,</p>
143
+
144
+ <p>We&#39;ve fixed the bug that was causing display issues on the hints page. Please refresh your page and check for anything you might have missed.</p>
145
+
146
+ <p>Sealab</p>
147
+ </p>
148
+
149
+ <p class="hqupdate">
150
+ <h3>Sunday at 05:12 AM</h3>
151
+ <p>I am pleased to announce that the Nautilodestone was found by Luck, I Am Your Father at 5:02 AM on Sunday, January 18, 2015.</p>
152
+
153
+ <p>Sealab will remain open until 6:00 PM today. Wrapup will be tomorrow, Monday, January 19, at 12:17 PM, in Kresge Auditorium.</p>
154
+
155
+ <p>Congratulations to Luck, I Am Your Father! I look forward to learning of their plans for future exploration.</p>
156
+
157
+ <p>Dr. Nautilus</p>
158
+ </p>
159
+
160
+ <p class="hqupdate">
161
+ <h3>Sunday at 08:34 AM</h3>
162
+ <p>Sealab is happy to report that the Oracle is now able to answer questions about meta puzzles and metameta puzzles.</p>
163
+ </p>
164
+
165
+ <p class="hqupdate">
166
+ <h3>Sunday at 12:31 PM</h3>
167
+ <p>Hello hunters,</p>
168
+
169
+ <p>The pizza for the study break sponsored by Hudson River Trading arrived early, so come get it while it&#39;s hot! The study break is on the third floor of the student center.</p>
170
+
171
+ <p>I&#39;ll be closing Sealab at 6:17pm tonight. After you finish solving, if you got a team base from us, please make sure to clean up the room, make sure the desks or chairs are arranged the way they were when you got the room -- set up for a class -- and that anything you brought to the room is removed. We&#39;d like all of that to be completed by Monday at 9am, but let Sealab know if your team will need more time to clean up.</p>
172
+
173
+ <p>Finally, wrap-up will be at 12:17pm on Monday in Kresge Auditorium (W16). I hope to see you there!</p>
174
+
175
+ <p>-Dr. N.</p>
176
+ </p>
177
+
178
+ <p class="hqupdate">
179
+ <h3>Sunday at 06:24 PM</h3>
180
+ <p>Hello hunters,</p>
181
+
182
+ <p>Sealab is now closed, but Dr. Nautilus wanted to remind you to submit puzzle feedback surveys! In case you missed it, there&#39;s a &quot;Submit Feedback&quot; link in the corner of every puzzle page, and we&#39;d love to know what you loved and didn&#39;t love about the puzzles.</p>
183
+
184
+ <p>Wrapup will be tomorrow (Monday) at 12:17 pm in Kresge Auditorium.</p>
185
+
186
+ <p>As a reminder, please please clean up your rooms if you have rooms reserved on campus. Make sure that all of the trash is picked up, the surfaces are clean, the chairs and tables are arranged normally as when you found them, and the boards are erased. Failure to do so will endanger the Mystery Hunt&#39;s ability to continue to reserve space on campus in future hunts.</p>
187
+
188
+ <p>Thanks!</p>
189
+
190
+ <p>-Sealab</p>
191
+ </p>
192
+
193
+ <p class="hqupdate">
194
+ <h3>Sunday at 07:51 PM</h3>
195
+ <p>Hello hunters,</p>
196
+
197
+ <p>Now that the Nautilodestones have been found and Sealab is packing up, I&#39;ve posted the solutions to all of the puzzles you found in the ocean on the M.Y.S.T.E.R.Y. H.U.N.T. website. Thanks for joining my exploration!</p>
198
+
199
+ <p>We will be selling more M.Y.S.T.E.R.Y. H.U.N.T. shirts at Wrap-up tomorrow, so if you didn&#39;t get a chance to buy them, you can do so then. And we can now confirm that, indeed, they are (part of) a puzzle.</p>
200
+
201
+ <p>-Dr. N.</p>
202
+ </p>
203
+
204
+
205
+ </div>
206
+
207
+
208
+
209
+
210
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
211
+
212
+
213
+ </body>
214
+ </html>
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/bootstrap.js ADDED
@@ -0,0 +1,2107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ========================================================================
2
+ * Bootstrap: affix.js v3.2.0
3
+ * http://getbootstrap.com/javascript/#affix
4
+ * ========================================================================
5
+ * Copyright 2011-2014 Twitter, Inc.
6
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
7
+ * ======================================================================== */
8
+
9
+
10
+ +function ($) {
11
+ 'use strict';
12
+
13
+ // AFFIX CLASS DEFINITION
14
+ // ======================
15
+
16
+ var Affix = function (element, options) {
17
+ this.options = $.extend({}, Affix.DEFAULTS, options)
18
+
19
+ this.$target = $(this.options.target)
20
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
21
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
22
+
23
+ this.$element = $(element)
24
+ this.affixed =
25
+ this.unpin =
26
+ this.pinnedOffset = null
27
+
28
+ this.checkPosition()
29
+ }
30
+
31
+ Affix.VERSION = '3.2.0'
32
+
33
+ Affix.RESET = 'affix affix-top affix-bottom'
34
+
35
+ Affix.DEFAULTS = {
36
+ offset: 0,
37
+ target: window
38
+ }
39
+
40
+ Affix.prototype.getPinnedOffset = function () {
41
+ if (this.pinnedOffset) return this.pinnedOffset
42
+ this.$element.removeClass(Affix.RESET).addClass('affix')
43
+ var scrollTop = this.$target.scrollTop()
44
+ var position = this.$element.offset()
45
+ return (this.pinnedOffset = position.top - scrollTop)
46
+ }
47
+
48
+ Affix.prototype.checkPositionWithEventLoop = function () {
49
+ setTimeout($.proxy(this.checkPosition, this), 1)
50
+ }
51
+
52
+ Affix.prototype.checkPosition = function () {
53
+ if (!this.$element.is(':visible')) return
54
+
55
+ var scrollHeight = $(document).height()
56
+ var scrollTop = this.$target.scrollTop()
57
+ var position = this.$element.offset()
58
+ var offset = this.options.offset
59
+ var offsetTop = offset.top
60
+ var offsetBottom = offset.bottom
61
+
62
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
63
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
64
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
65
+
66
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
67
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
68
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
69
+
70
+ if (this.affixed === affix) return
71
+ if (this.unpin != null) this.$element.css('top', '')
72
+
73
+ var affixType = 'affix' + (affix ? '-' + affix : '')
74
+ var e = $.Event(affixType + '.bs.affix')
75
+
76
+ this.$element.trigger(e)
77
+
78
+ if (e.isDefaultPrevented()) return
79
+
80
+ this.affixed = affix
81
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
82
+
83
+ this.$element
84
+ .removeClass(Affix.RESET)
85
+ .addClass(affixType)
86
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
87
+
88
+ if (affix == 'bottom') {
89
+ this.$element.offset({
90
+ top: scrollHeight - this.$element.height() - offsetBottom
91
+ })
92
+ }
93
+ }
94
+
95
+
96
+ // AFFIX PLUGIN DEFINITION
97
+ // =======================
98
+
99
+ function Plugin(option) {
100
+ return this.each(function () {
101
+ var $this = $(this)
102
+ var data = $this.data('bs.affix')
103
+ var options = typeof option == 'object' && option
104
+
105
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
106
+ if (typeof option == 'string') data[option]()
107
+ })
108
+ }
109
+
110
+ var old = $.fn.affix
111
+
112
+ $.fn.affix = Plugin
113
+ $.fn.affix.Constructor = Affix
114
+
115
+
116
+ // AFFIX NO CONFLICT
117
+ // =================
118
+
119
+ $.fn.affix.noConflict = function () {
120
+ $.fn.affix = old
121
+ return this
122
+ }
123
+
124
+
125
+ // AFFIX DATA-API
126
+ // ==============
127
+
128
+ $(window).on('load', function () {
129
+ $('[data-spy="affix"]').each(function () {
130
+ var $spy = $(this)
131
+ var data = $spy.data()
132
+
133
+ data.offset = data.offset || {}
134
+
135
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
136
+ if (data.offsetTop) data.offset.top = data.offsetTop
137
+
138
+ Plugin.call($spy, data)
139
+ })
140
+ })
141
+
142
+ }(jQuery);
143
+
144
+ /* ========================================================================
145
+ * Bootstrap: alert.js v3.2.0
146
+ * http://getbootstrap.com/javascript/#alerts
147
+ * ========================================================================
148
+ * Copyright 2011-2014 Twitter, Inc.
149
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
150
+ * ======================================================================== */
151
+
152
+
153
+ +function ($) {
154
+ 'use strict';
155
+
156
+ // ALERT CLASS DEFINITION
157
+ // ======================
158
+
159
+ var dismiss = '[data-dismiss="alert"]'
160
+ var Alert = function (el) {
161
+ $(el).on('click', dismiss, this.close)
162
+ }
163
+
164
+ Alert.VERSION = '3.2.0'
165
+
166
+ Alert.prototype.close = function (e) {
167
+ var $this = $(this)
168
+ var selector = $this.attr('data-target')
169
+
170
+ if (!selector) {
171
+ selector = $this.attr('href')
172
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
173
+ }
174
+
175
+ var $parent = $(selector)
176
+
177
+ if (e) e.preventDefault()
178
+
179
+ if (!$parent.length) {
180
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
181
+ }
182
+
183
+ $parent.trigger(e = $.Event('close.bs.alert'))
184
+
185
+ if (e.isDefaultPrevented()) return
186
+
187
+ $parent.removeClass('in')
188
+
189
+ function removeElement() {
190
+ // detach from parent, fire event then clean up data
191
+ $parent.detach().trigger('closed.bs.alert').remove()
192
+ }
193
+
194
+ $.support.transition && $parent.hasClass('fade') ?
195
+ $parent
196
+ .one('bsTransitionEnd', removeElement)
197
+ .emulateTransitionEnd(150) :
198
+ removeElement()
199
+ }
200
+
201
+
202
+ // ALERT PLUGIN DEFINITION
203
+ // =======================
204
+
205
+ function Plugin(option) {
206
+ return this.each(function () {
207
+ var $this = $(this)
208
+ var data = $this.data('bs.alert')
209
+
210
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
211
+ if (typeof option == 'string') data[option].call($this)
212
+ })
213
+ }
214
+
215
+ var old = $.fn.alert
216
+
217
+ $.fn.alert = Plugin
218
+ $.fn.alert.Constructor = Alert
219
+
220
+
221
+ // ALERT NO CONFLICT
222
+ // =================
223
+
224
+ $.fn.alert.noConflict = function () {
225
+ $.fn.alert = old
226
+ return this
227
+ }
228
+
229
+
230
+ // ALERT DATA-API
231
+ // ==============
232
+
233
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
234
+
235
+ }(jQuery);
236
+
237
+ /* ========================================================================
238
+ * Bootstrap: button.js v3.2.0
239
+ * http://getbootstrap.com/javascript/#buttons
240
+ * ========================================================================
241
+ * Copyright 2011-2014 Twitter, Inc.
242
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
243
+ * ======================================================================== */
244
+
245
+
246
+ +function ($) {
247
+ 'use strict';
248
+
249
+ // BUTTON PUBLIC CLASS DEFINITION
250
+ // ==============================
251
+
252
+ var Button = function (element, options) {
253
+ this.$element = $(element)
254
+ this.options = $.extend({}, Button.DEFAULTS, options)
255
+ this.isLoading = false
256
+ }
257
+
258
+ Button.VERSION = '3.2.0'
259
+
260
+ Button.DEFAULTS = {
261
+ loadingText: 'loading...'
262
+ }
263
+
264
+ Button.prototype.setState = function (state) {
265
+ var d = 'disabled'
266
+ var $el = this.$element
267
+ var val = $el.is('input') ? 'val' : 'html'
268
+ var data = $el.data()
269
+
270
+ state = state + 'Text'
271
+
272
+ if (data.resetText == null) $el.data('resetText', $el[val]())
273
+
274
+ $el[val](data[state] == null ? this.options[state] : data[state])
275
+
276
+ // push to event loop to allow forms to submit
277
+ setTimeout($.proxy(function () {
278
+ if (state == 'loadingText') {
279
+ this.isLoading = true
280
+ $el.addClass(d).attr(d, d)
281
+ } else if (this.isLoading) {
282
+ this.isLoading = false
283
+ $el.removeClass(d).removeAttr(d)
284
+ }
285
+ }, this), 0)
286
+ }
287
+
288
+ Button.prototype.toggle = function () {
289
+ var changed = true
290
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
291
+
292
+ if ($parent.length) {
293
+ var $input = this.$element.find('input')
294
+ if ($input.prop('type') == 'radio') {
295
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
296
+ else $parent.find('.active').removeClass('active')
297
+ }
298
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
299
+ }
300
+
301
+ if (changed) this.$element.toggleClass('active')
302
+ }
303
+
304
+
305
+ // BUTTON PLUGIN DEFINITION
306
+ // ========================
307
+
308
+ function Plugin(option) {
309
+ return this.each(function () {
310
+ var $this = $(this)
311
+ var data = $this.data('bs.button')
312
+ var options = typeof option == 'object' && option
313
+
314
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
315
+
316
+ if (option == 'toggle') data.toggle()
317
+ else if (option) data.setState(option)
318
+ })
319
+ }
320
+
321
+ var old = $.fn.button
322
+
323
+ $.fn.button = Plugin
324
+ $.fn.button.Constructor = Button
325
+
326
+
327
+ // BUTTON NO CONFLICT
328
+ // ==================
329
+
330
+ $.fn.button.noConflict = function () {
331
+ $.fn.button = old
332
+ return this
333
+ }
334
+
335
+
336
+ // BUTTON DATA-API
337
+ // ===============
338
+
339
+ $(document).on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
340
+ var $btn = $(e.target)
341
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
342
+ Plugin.call($btn, 'toggle')
343
+ e.preventDefault()
344
+ })
345
+
346
+ }(jQuery);
347
+
348
+ /* ========================================================================
349
+ * Bootstrap: carousel.js v3.2.0
350
+ * http://getbootstrap.com/javascript/#carousel
351
+ * ========================================================================
352
+ * Copyright 2011-2014 Twitter, Inc.
353
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
354
+ * ======================================================================== */
355
+
356
+
357
+ +function ($) {
358
+ 'use strict';
359
+
360
+ // CAROUSEL CLASS DEFINITION
361
+ // =========================
362
+
363
+ var Carousel = function (element, options) {
364
+ this.$element = $(element).on('keydown.bs.carousel', $.proxy(this.keydown, this))
365
+ this.$indicators = this.$element.find('.carousel-indicators')
366
+ this.options = options
367
+ this.paused =
368
+ this.sliding =
369
+ this.interval =
370
+ this.$active =
371
+ this.$items = null
372
+
373
+ this.options.pause == 'hover' && this.$element
374
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
375
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
376
+ }
377
+
378
+ Carousel.VERSION = '3.2.0'
379
+
380
+ Carousel.DEFAULTS = {
381
+ interval: 5000,
382
+ pause: 'hover',
383
+ wrap: true
384
+ }
385
+
386
+ Carousel.prototype.keydown = function (e) {
387
+ switch (e.which) {
388
+ case 37: this.prev(); break
389
+ case 39: this.next(); break
390
+ default: return
391
+ }
392
+
393
+ e.preventDefault()
394
+ }
395
+
396
+ Carousel.prototype.cycle = function (e) {
397
+ e || (this.paused = false)
398
+
399
+ this.interval && clearInterval(this.interval)
400
+
401
+ this.options.interval
402
+ && !this.paused
403
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
404
+
405
+ return this
406
+ }
407
+
408
+ Carousel.prototype.getItemIndex = function (item) {
409
+ this.$items = item.parent().children('.item')
410
+ return this.$items.index(item || this.$active)
411
+ }
412
+
413
+ Carousel.prototype.to = function (pos) {
414
+ var that = this
415
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
416
+
417
+ if (pos > (this.$items.length - 1) || pos < 0) return
418
+
419
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
420
+ if (activeIndex == pos) return this.pause().cycle()
421
+
422
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
423
+ }
424
+
425
+ Carousel.prototype.pause = function (e) {
426
+ e || (this.paused = true)
427
+
428
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
429
+ this.$element.trigger($.support.transition.end)
430
+ this.cycle(true)
431
+ }
432
+
433
+ this.interval = clearInterval(this.interval)
434
+
435
+ return this
436
+ }
437
+
438
+ Carousel.prototype.next = function () {
439
+ if (this.sliding) return
440
+ return this.slide('next')
441
+ }
442
+
443
+ Carousel.prototype.prev = function () {
444
+ if (this.sliding) return
445
+ return this.slide('prev')
446
+ }
447
+
448
+ Carousel.prototype.slide = function (type, next) {
449
+ var $active = this.$element.find('.item.active')
450
+ var $next = next || $active[type]()
451
+ var isCycling = this.interval
452
+ var direction = type == 'next' ? 'left' : 'right'
453
+ var fallback = type == 'next' ? 'first' : 'last'
454
+ var that = this
455
+
456
+ if (!$next.length) {
457
+ if (!this.options.wrap) return
458
+ $next = this.$element.find('.item')[fallback]()
459
+ }
460
+
461
+ if ($next.hasClass('active')) return (this.sliding = false)
462
+
463
+ var relatedTarget = $next[0]
464
+ var slideEvent = $.Event('slide.bs.carousel', {
465
+ relatedTarget: relatedTarget,
466
+ direction: direction
467
+ })
468
+ this.$element.trigger(slideEvent)
469
+ if (slideEvent.isDefaultPrevented()) return
470
+
471
+ this.sliding = true
472
+
473
+ isCycling && this.pause()
474
+
475
+ if (this.$indicators.length) {
476
+ this.$indicators.find('.active').removeClass('active')
477
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
478
+ $nextIndicator && $nextIndicator.addClass('active')
479
+ }
480
+
481
+ var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
482
+ if ($.support.transition && this.$element.hasClass('slide')) {
483
+ $next.addClass(type)
484
+ $next[0].offsetWidth // force reflow
485
+ $active.addClass(direction)
486
+ $next.addClass(direction)
487
+ $active
488
+ .one('bsTransitionEnd', function () {
489
+ $next.removeClass([type, direction].join(' ')).addClass('active')
490
+ $active.removeClass(['active', direction].join(' '))
491
+ that.sliding = false
492
+ setTimeout(function () {
493
+ that.$element.trigger(slidEvent)
494
+ }, 0)
495
+ })
496
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
497
+ } else {
498
+ $active.removeClass('active')
499
+ $next.addClass('active')
500
+ this.sliding = false
501
+ this.$element.trigger(slidEvent)
502
+ }
503
+
504
+ isCycling && this.cycle()
505
+
506
+ return this
507
+ }
508
+
509
+
510
+ // CAROUSEL PLUGIN DEFINITION
511
+ // ==========================
512
+
513
+ function Plugin(option) {
514
+ return this.each(function () {
515
+ var $this = $(this)
516
+ var data = $this.data('bs.carousel')
517
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
518
+ var action = typeof option == 'string' ? option : options.slide
519
+
520
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
521
+ if (typeof option == 'number') data.to(option)
522
+ else if (action) data[action]()
523
+ else if (options.interval) data.pause().cycle()
524
+ })
525
+ }
526
+
527
+ var old = $.fn.carousel
528
+
529
+ $.fn.carousel = Plugin
530
+ $.fn.carousel.Constructor = Carousel
531
+
532
+
533
+ // CAROUSEL NO CONFLICT
534
+ // ====================
535
+
536
+ $.fn.carousel.noConflict = function () {
537
+ $.fn.carousel = old
538
+ return this
539
+ }
540
+
541
+
542
+ // CAROUSEL DATA-API
543
+ // =================
544
+
545
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
546
+ var href
547
+ var $this = $(this)
548
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
549
+ if (!$target.hasClass('carousel')) return
550
+ var options = $.extend({}, $target.data(), $this.data())
551
+ var slideIndex = $this.attr('data-slide-to')
552
+ if (slideIndex) options.interval = false
553
+
554
+ Plugin.call($target, options)
555
+
556
+ if (slideIndex) {
557
+ $target.data('bs.carousel').to(slideIndex)
558
+ }
559
+
560
+ e.preventDefault()
561
+ })
562
+
563
+ $(window).on('load', function () {
564
+ $('[data-ride="carousel"]').each(function () {
565
+ var $carousel = $(this)
566
+ Plugin.call($carousel, $carousel.data())
567
+ })
568
+ })
569
+
570
+ }(jQuery);
571
+
572
+ /* ========================================================================
573
+ * Bootstrap: collapse.js v3.2.0
574
+ * http://getbootstrap.com/javascript/#collapse
575
+ * ========================================================================
576
+ * Copyright 2011-2014 Twitter, Inc.
577
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
578
+ * ======================================================================== */
579
+
580
+
581
+ +function ($) {
582
+ 'use strict';
583
+
584
+ // COLLAPSE PUBLIC CLASS DEFINITION
585
+ // ================================
586
+
587
+ var Collapse = function (element, options) {
588
+ this.$element = $(element)
589
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
590
+ this.transitioning = null
591
+
592
+ if (this.options.parent) this.$parent = $(this.options.parent)
593
+ if (this.options.toggle) this.toggle()
594
+ }
595
+
596
+ Collapse.VERSION = '3.2.0'
597
+
598
+ Collapse.DEFAULTS = {
599
+ toggle: true
600
+ }
601
+
602
+ Collapse.prototype.dimension = function () {
603
+ var hasWidth = this.$element.hasClass('width')
604
+ return hasWidth ? 'width' : 'height'
605
+ }
606
+
607
+ Collapse.prototype.show = function () {
608
+ if (this.transitioning || this.$element.hasClass('in')) return
609
+
610
+ var startEvent = $.Event('show.bs.collapse')
611
+ this.$element.trigger(startEvent)
612
+ if (startEvent.isDefaultPrevented()) return
613
+
614
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
615
+
616
+ if (actives && actives.length) {
617
+ var hasData = actives.data('bs.collapse')
618
+ if (hasData && hasData.transitioning) return
619
+ Plugin.call(actives, 'hide')
620
+ hasData || actives.data('bs.collapse', null)
621
+ }
622
+
623
+ var dimension = this.dimension()
624
+
625
+ this.$element
626
+ .removeClass('collapse')
627
+ .addClass('collapsing')[dimension](0)
628
+
629
+ this.transitioning = 1
630
+
631
+ var complete = function () {
632
+ this.$element
633
+ .removeClass('collapsing')
634
+ .addClass('collapse in')[dimension]('')
635
+ this.transitioning = 0
636
+ this.$element
637
+ .trigger('shown.bs.collapse')
638
+ }
639
+
640
+ if (!$.support.transition) return complete.call(this)
641
+
642
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
643
+
644
+ this.$element
645
+ .one('bsTransitionEnd', $.proxy(complete, this))
646
+ .emulateTransitionEnd(350)[dimension](this.$element[0][scrollSize])
647
+ }
648
+
649
+ Collapse.prototype.hide = function () {
650
+ if (this.transitioning || !this.$element.hasClass('in')) return
651
+
652
+ var startEvent = $.Event('hide.bs.collapse')
653
+ this.$element.trigger(startEvent)
654
+ if (startEvent.isDefaultPrevented()) return
655
+
656
+ var dimension = this.dimension()
657
+
658
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight
659
+
660
+ this.$element
661
+ .addClass('collapsing')
662
+ .removeClass('collapse')
663
+ .removeClass('in')
664
+
665
+ this.transitioning = 1
666
+
667
+ var complete = function () {
668
+ this.transitioning = 0
669
+ this.$element
670
+ .trigger('hidden.bs.collapse')
671
+ .removeClass('collapsing')
672
+ .addClass('collapse')
673
+ }
674
+
675
+ if (!$.support.transition) return complete.call(this)
676
+
677
+ this.$element
678
+ [dimension](0)
679
+ .one('bsTransitionEnd', $.proxy(complete, this))
680
+ .emulateTransitionEnd(350)
681
+ }
682
+
683
+ Collapse.prototype.toggle = function () {
684
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
685
+ }
686
+
687
+
688
+ // COLLAPSE PLUGIN DEFINITION
689
+ // ==========================
690
+
691
+ function Plugin(option) {
692
+ return this.each(function () {
693
+ var $this = $(this)
694
+ var data = $this.data('bs.collapse')
695
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
696
+
697
+ if (!data && options.toggle && option == 'show') option = !option
698
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
699
+ if (typeof option == 'string') data[option]()
700
+ })
701
+ }
702
+
703
+ var old = $.fn.collapse
704
+
705
+ $.fn.collapse = Plugin
706
+ $.fn.collapse.Constructor = Collapse
707
+
708
+
709
+ // COLLAPSE NO CONFLICT
710
+ // ====================
711
+
712
+ $.fn.collapse.noConflict = function () {
713
+ $.fn.collapse = old
714
+ return this
715
+ }
716
+
717
+
718
+ // COLLAPSE DATA-API
719
+ // =================
720
+
721
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
722
+ var href
723
+ var $this = $(this)
724
+ var target = $this.attr('data-target')
725
+ || e.preventDefault()
726
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
727
+ var $target = $(target)
728
+ var data = $target.data('bs.collapse')
729
+ var option = data ? 'toggle' : $this.data()
730
+ var parent = $this.attr('data-parent')
731
+ var $parent = parent && $(parent)
732
+
733
+ if (!data || !data.transitioning) {
734
+ if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
735
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
736
+ }
737
+
738
+ Plugin.call($target, option)
739
+ })
740
+
741
+ }(jQuery);
742
+
743
+ /* ========================================================================
744
+ * Bootstrap: dropdown.js v3.2.0
745
+ * http://getbootstrap.com/javascript/#dropdowns
746
+ * ========================================================================
747
+ * Copyright 2011-2014 Twitter, Inc.
748
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
749
+ * ======================================================================== */
750
+
751
+
752
+ +function ($) {
753
+ 'use strict';
754
+
755
+ // DROPDOWN CLASS DEFINITION
756
+ // =========================
757
+
758
+ var backdrop = '.dropdown-backdrop'
759
+ var toggle = '[data-toggle="dropdown"]'
760
+ var Dropdown = function (element) {
761
+ $(element).on('click.bs.dropdown', this.toggle)
762
+ }
763
+
764
+ Dropdown.VERSION = '3.2.0'
765
+
766
+ Dropdown.prototype.toggle = function (e) {
767
+ var $this = $(this)
768
+
769
+ if ($this.is('.disabled, :disabled')) return
770
+
771
+ var $parent = getParent($this)
772
+ var isActive = $parent.hasClass('open')
773
+
774
+ clearMenus()
775
+
776
+ if (!isActive) {
777
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
778
+ // if mobile we use a backdrop because click events don't delegate
779
+ $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
780
+ }
781
+
782
+ var relatedTarget = { relatedTarget: this }
783
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
784
+
785
+ if (e.isDefaultPrevented()) return
786
+
787
+ $this.trigger('focus')
788
+
789
+ $parent
790
+ .toggleClass('open')
791
+ .trigger('shown.bs.dropdown', relatedTarget)
792
+ }
793
+
794
+ return false
795
+ }
796
+
797
+ Dropdown.prototype.keydown = function (e) {
798
+ if (!/(38|40|27)/.test(e.keyCode)) return
799
+
800
+ var $this = $(this)
801
+
802
+ e.preventDefault()
803
+ e.stopPropagation()
804
+
805
+ if ($this.is('.disabled, :disabled')) return
806
+
807
+ var $parent = getParent($this)
808
+ var isActive = $parent.hasClass('open')
809
+
810
+ if (!isActive || (isActive && e.keyCode == 27)) {
811
+ if (e.which == 27) $parent.find(toggle).trigger('focus')
812
+ return $this.trigger('click')
813
+ }
814
+
815
+ var desc = ' li:not(.divider):visible a'
816
+ var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
817
+
818
+ if (!$items.length) return
819
+
820
+ var index = $items.index($items.filter(':focus'))
821
+
822
+ if (e.keyCode == 38 && index > 0) index-- // up
823
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
824
+ if (!~index) index = 0
825
+
826
+ $items.eq(index).trigger('focus')
827
+ }
828
+
829
+ function clearMenus(e) {
830
+ if (e && e.which === 3) return
831
+ $(backdrop).remove()
832
+ $(toggle).each(function () {
833
+ var $parent = getParent($(this))
834
+ var relatedTarget = { relatedTarget: this }
835
+ if (!$parent.hasClass('open')) return
836
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
837
+ if (e.isDefaultPrevented()) return
838
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
839
+ })
840
+ }
841
+
842
+ function getParent($this) {
843
+ var selector = $this.attr('data-target')
844
+
845
+ if (!selector) {
846
+ selector = $this.attr('href')
847
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
848
+ }
849
+
850
+ var $parent = selector && $(selector)
851
+
852
+ return $parent && $parent.length ? $parent : $this.parent()
853
+ }
854
+
855
+
856
+ // DROPDOWN PLUGIN DEFINITION
857
+ // ==========================
858
+
859
+ function Plugin(option) {
860
+ return this.each(function () {
861
+ var $this = $(this)
862
+ var data = $this.data('bs.dropdown')
863
+
864
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
865
+ if (typeof option == 'string') data[option].call($this)
866
+ })
867
+ }
868
+
869
+ var old = $.fn.dropdown
870
+
871
+ $.fn.dropdown = Plugin
872
+ $.fn.dropdown.Constructor = Dropdown
873
+
874
+
875
+ // DROPDOWN NO CONFLICT
876
+ // ====================
877
+
878
+ $.fn.dropdown.noConflict = function () {
879
+ $.fn.dropdown = old
880
+ return this
881
+ }
882
+
883
+
884
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
885
+ // ===================================
886
+
887
+ $(document)
888
+ .on('click.bs.dropdown.data-api', clearMenus)
889
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
890
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
891
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
892
+
893
+ }(jQuery);
894
+
895
+ /* ========================================================================
896
+ * Bootstrap: tab.js v3.2.0
897
+ * http://getbootstrap.com/javascript/#tabs
898
+ * ========================================================================
899
+ * Copyright 2011-2014 Twitter, Inc.
900
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
901
+ * ======================================================================== */
902
+
903
+
904
+ +function ($) {
905
+ 'use strict';
906
+
907
+ // TAB CLASS DEFINITION
908
+ // ====================
909
+
910
+ var Tab = function (element) {
911
+ this.element = $(element)
912
+ }
913
+
914
+ Tab.VERSION = '3.2.0'
915
+
916
+ Tab.prototype.show = function () {
917
+ var $this = this.element
918
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
919
+ var selector = $this.data('target')
920
+
921
+ if (!selector) {
922
+ selector = $this.attr('href')
923
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
924
+ }
925
+
926
+ if ($this.parent('li').hasClass('active')) return
927
+
928
+ var previous = $ul.find('.active:last a')[0]
929
+ var e = $.Event('show.bs.tab', {
930
+ relatedTarget: previous
931
+ })
932
+
933
+ $this.trigger(e)
934
+
935
+ if (e.isDefaultPrevented()) return
936
+
937
+ var $target = $(selector)
938
+
939
+ this.activate($this.closest('li'), $ul)
940
+ this.activate($target, $target.parent(), function () {
941
+ $this.trigger({
942
+ type: 'shown.bs.tab',
943
+ relatedTarget: previous
944
+ })
945
+ })
946
+ }
947
+
948
+ Tab.prototype.activate = function (element, container, callback) {
949
+ var $active = container.find('> .active')
950
+ var transition = callback
951
+ && $.support.transition
952
+ && $active.hasClass('fade')
953
+
954
+ function next() {
955
+ $active
956
+ .removeClass('active')
957
+ .find('> .dropdown-menu > .active')
958
+ .removeClass('active')
959
+
960
+ element.addClass('active')
961
+
962
+ if (transition) {
963
+ element[0].offsetWidth // reflow for transition
964
+ element.addClass('in')
965
+ } else {
966
+ element.removeClass('fade')
967
+ }
968
+
969
+ if (element.parent('.dropdown-menu')) {
970
+ element.closest('li.dropdown').addClass('active')
971
+ }
972
+
973
+ callback && callback()
974
+ }
975
+
976
+ transition ?
977
+ $active
978
+ .one('bsTransitionEnd', next)
979
+ .emulateTransitionEnd(150) :
980
+ next()
981
+
982
+ $active.removeClass('in')
983
+ }
984
+
985
+
986
+ // TAB PLUGIN DEFINITION
987
+ // =====================
988
+
989
+ function Plugin(option) {
990
+ return this.each(function () {
991
+ var $this = $(this)
992
+ var data = $this.data('bs.tab')
993
+
994
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
995
+ if (typeof option == 'string') data[option]()
996
+ })
997
+ }
998
+
999
+ var old = $.fn.tab
1000
+
1001
+ $.fn.tab = Plugin
1002
+ $.fn.tab.Constructor = Tab
1003
+
1004
+
1005
+ // TAB NO CONFLICT
1006
+ // ===============
1007
+
1008
+ $.fn.tab.noConflict = function () {
1009
+ $.fn.tab = old
1010
+ return this
1011
+ }
1012
+
1013
+
1014
+ // TAB DATA-API
1015
+ // ============
1016
+
1017
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
1018
+ e.preventDefault()
1019
+ Plugin.call($(this), 'show')
1020
+ })
1021
+
1022
+ }(jQuery);
1023
+
1024
+ /* ========================================================================
1025
+ * Bootstrap: transition.js v3.2.0
1026
+ * http://getbootstrap.com/javascript/#transitions
1027
+ * ========================================================================
1028
+ * Copyright 2011-2014 Twitter, Inc.
1029
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1030
+ * ======================================================================== */
1031
+
1032
+
1033
+ +function ($) {
1034
+ 'use strict';
1035
+
1036
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
1037
+ // ============================================================
1038
+
1039
+ function transitionEnd() {
1040
+ var el = document.createElement('bootstrap')
1041
+
1042
+ var transEndEventNames = {
1043
+ WebkitTransition : 'webkitTransitionEnd',
1044
+ MozTransition : 'transitionend',
1045
+ OTransition : 'oTransitionEnd otransitionend',
1046
+ transition : 'transitionend'
1047
+ }
1048
+
1049
+ for (var name in transEndEventNames) {
1050
+ if (el.style[name] !== undefined) {
1051
+ return { end: transEndEventNames[name] }
1052
+ }
1053
+ }
1054
+
1055
+ return false // explicit for ie8 ( ._.)
1056
+ }
1057
+
1058
+ // http://blog.alexmaccaw.com/css-transitions
1059
+ $.fn.emulateTransitionEnd = function (duration) {
1060
+ var called = false
1061
+ var $el = this
1062
+ $(this).one('bsTransitionEnd', function () { called = true })
1063
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
1064
+ setTimeout(callback, duration)
1065
+ return this
1066
+ }
1067
+
1068
+ $(function () {
1069
+ $.support.transition = transitionEnd()
1070
+
1071
+ if (!$.support.transition) return
1072
+
1073
+ $.event.special.bsTransitionEnd = {
1074
+ bindType: $.support.transition.end,
1075
+ delegateType: $.support.transition.end,
1076
+ handle: function (e) {
1077
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
1078
+ }
1079
+ }
1080
+ })
1081
+
1082
+ }(jQuery);
1083
+
1084
+ /* ========================================================================
1085
+ * Bootstrap: scrollspy.js v3.2.0
1086
+ * http://getbootstrap.com/javascript/#scrollspy
1087
+ * ========================================================================
1088
+ * Copyright 2011-2014 Twitter, Inc.
1089
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1090
+ * ======================================================================== */
1091
+
1092
+
1093
+ +function ($) {
1094
+ 'use strict';
1095
+
1096
+ // SCROLLSPY CLASS DEFINITION
1097
+ // ==========================
1098
+
1099
+ function ScrollSpy(element, options) {
1100
+ var process = $.proxy(this.process, this)
1101
+
1102
+ this.$body = $('body')
1103
+ this.$scrollElement = $(element).is('body') ? $(window) : $(element)
1104
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
1105
+ this.selector = (this.options.target || '') + ' .nav li > a'
1106
+ this.offsets = []
1107
+ this.targets = []
1108
+ this.activeTarget = null
1109
+ this.scrollHeight = 0
1110
+
1111
+ this.$scrollElement.on('scroll.bs.scrollspy', process)
1112
+ this.refresh()
1113
+ this.process()
1114
+ }
1115
+
1116
+ ScrollSpy.VERSION = '3.2.0'
1117
+
1118
+ ScrollSpy.DEFAULTS = {
1119
+ offset: 10
1120
+ }
1121
+
1122
+ ScrollSpy.prototype.getScrollHeight = function () {
1123
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
1124
+ }
1125
+
1126
+ ScrollSpy.prototype.refresh = function () {
1127
+ var offsetMethod = 'offset'
1128
+ var offsetBase = 0
1129
+
1130
+ if (!$.isWindow(this.$scrollElement[0])) {
1131
+ offsetMethod = 'position'
1132
+ offsetBase = this.$scrollElement.scrollTop()
1133
+ }
1134
+
1135
+ this.offsets = []
1136
+ this.targets = []
1137
+ this.scrollHeight = this.getScrollHeight()
1138
+
1139
+ var self = this
1140
+
1141
+ this.$body
1142
+ .find(this.selector)
1143
+ .map(function () {
1144
+ var $el = $(this)
1145
+ var href = $el.data('target') || $el.attr('href')
1146
+ var $href = /^#./.test(href) && $(href)
1147
+
1148
+ return ($href
1149
+ && $href.length
1150
+ && $href.is(':visible')
1151
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
1152
+ })
1153
+ .sort(function (a, b) { return a[0] - b[0] })
1154
+ .each(function () {
1155
+ self.offsets.push(this[0])
1156
+ self.targets.push(this[1])
1157
+ })
1158
+ }
1159
+
1160
+ ScrollSpy.prototype.process = function () {
1161
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
1162
+ var scrollHeight = this.getScrollHeight()
1163
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
1164
+ var offsets = this.offsets
1165
+ var targets = this.targets
1166
+ var activeTarget = this.activeTarget
1167
+ var i
1168
+
1169
+ if (this.scrollHeight != scrollHeight) {
1170
+ this.refresh()
1171
+ }
1172
+
1173
+ if (scrollTop >= maxScroll) {
1174
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
1175
+ }
1176
+
1177
+ if (activeTarget && scrollTop <= offsets[0]) {
1178
+ return activeTarget != (i = targets[0]) && this.activate(i)
1179
+ }
1180
+
1181
+ for (i = offsets.length; i--;) {
1182
+ activeTarget != targets[i]
1183
+ && scrollTop >= offsets[i]
1184
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
1185
+ && this.activate(targets[i])
1186
+ }
1187
+ }
1188
+
1189
+ ScrollSpy.prototype.activate = function (target) {
1190
+ this.activeTarget = target
1191
+
1192
+ $(this.selector)
1193
+ .parentsUntil(this.options.target, '.active')
1194
+ .removeClass('active')
1195
+
1196
+ var selector = this.selector +
1197
+ '[data-target="' + target + '"],' +
1198
+ this.selector + '[href="' + target + '"]'
1199
+
1200
+ var active = $(selector)
1201
+ .parents('li')
1202
+ .addClass('active')
1203
+
1204
+ if (active.parent('.dropdown-menu').length) {
1205
+ active = active
1206
+ .closest('li.dropdown')
1207
+ .addClass('active')
1208
+ }
1209
+
1210
+ active.trigger('activate.bs.scrollspy')
1211
+ }
1212
+
1213
+
1214
+ // SCROLLSPY PLUGIN DEFINITION
1215
+ // ===========================
1216
+
1217
+ function Plugin(option) {
1218
+ return this.each(function () {
1219
+ var $this = $(this)
1220
+ var data = $this.data('bs.scrollspy')
1221
+ var options = typeof option == 'object' && option
1222
+
1223
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
1224
+ if (typeof option == 'string') data[option]()
1225
+ })
1226
+ }
1227
+
1228
+ var old = $.fn.scrollspy
1229
+
1230
+ $.fn.scrollspy = Plugin
1231
+ $.fn.scrollspy.Constructor = ScrollSpy
1232
+
1233
+
1234
+ // SCROLLSPY NO CONFLICT
1235
+ // =====================
1236
+
1237
+ $.fn.scrollspy.noConflict = function () {
1238
+ $.fn.scrollspy = old
1239
+ return this
1240
+ }
1241
+
1242
+
1243
+ // SCROLLSPY DATA-API
1244
+ // ==================
1245
+
1246
+ $(window).on('load.bs.scrollspy.data-api', function () {
1247
+ $('[data-spy="scroll"]').each(function () {
1248
+ var $spy = $(this)
1249
+ Plugin.call($spy, $spy.data())
1250
+ })
1251
+ })
1252
+
1253
+ }(jQuery);
1254
+
1255
+ /* ========================================================================
1256
+ * Bootstrap: modal.js v3.2.0
1257
+ * http://getbootstrap.com/javascript/#modals
1258
+ * ========================================================================
1259
+ * Copyright 2011-2014 Twitter, Inc.
1260
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1261
+ * ======================================================================== */
1262
+
1263
+
1264
+ +function ($) {
1265
+ 'use strict';
1266
+
1267
+ // MODAL CLASS DEFINITION
1268
+ // ======================
1269
+
1270
+ var Modal = function (element, options) {
1271
+ this.options = options
1272
+ this.$body = $(document.body)
1273
+ this.$element = $(element)
1274
+ this.$backdrop =
1275
+ this.isShown = null
1276
+ this.scrollbarWidth = 0
1277
+
1278
+ if (this.options.remote) {
1279
+ this.$element
1280
+ .find('.modal-content')
1281
+ .load(this.options.remote, $.proxy(function () {
1282
+ this.$element.trigger('loaded.bs.modal')
1283
+ }, this))
1284
+ }
1285
+ }
1286
+
1287
+ Modal.VERSION = '3.2.0'
1288
+
1289
+ Modal.DEFAULTS = {
1290
+ backdrop: true,
1291
+ keyboard: true,
1292
+ show: true
1293
+ }
1294
+
1295
+ Modal.prototype.toggle = function (_relatedTarget) {
1296
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
1297
+ }
1298
+
1299
+ Modal.prototype.show = function (_relatedTarget) {
1300
+ var that = this
1301
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
1302
+
1303
+ this.$element.trigger(e)
1304
+
1305
+ if (this.isShown || e.isDefaultPrevented()) return
1306
+
1307
+ this.isShown = true
1308
+
1309
+ this.checkScrollbar()
1310
+ this.$body.addClass('modal-open')
1311
+
1312
+ this.setScrollbar()
1313
+ this.escape()
1314
+
1315
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
1316
+
1317
+ this.backdrop(function () {
1318
+ var transition = $.support.transition && that.$element.hasClass('fade')
1319
+
1320
+ if (!that.$element.parent().length) {
1321
+ that.$element.appendTo(that.$body) // don't move modals dom position
1322
+ }
1323
+
1324
+ that.$element
1325
+ .show()
1326
+ .scrollTop(0)
1327
+
1328
+ if (transition) {
1329
+ that.$element[0].offsetWidth // force reflow
1330
+ }
1331
+
1332
+ that.$element
1333
+ .addClass('in')
1334
+ .attr('aria-hidden', false)
1335
+
1336
+ that.enforceFocus()
1337
+
1338
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
1339
+
1340
+ transition ?
1341
+ that.$element.find('.modal-dialog') // wait for modal to slide in
1342
+ .one('bsTransitionEnd', function () {
1343
+ that.$element.trigger('focus').trigger(e)
1344
+ })
1345
+ .emulateTransitionEnd(300) :
1346
+ that.$element.trigger('focus').trigger(e)
1347
+ })
1348
+ }
1349
+
1350
+ Modal.prototype.hide = function (e) {
1351
+ if (e) e.preventDefault()
1352
+
1353
+ e = $.Event('hide.bs.modal')
1354
+
1355
+ this.$element.trigger(e)
1356
+
1357
+ if (!this.isShown || e.isDefaultPrevented()) return
1358
+
1359
+ this.isShown = false
1360
+
1361
+ this.$body.removeClass('modal-open')
1362
+
1363
+ this.resetScrollbar()
1364
+ this.escape()
1365
+
1366
+ $(document).off('focusin.bs.modal')
1367
+
1368
+ this.$element
1369
+ .removeClass('in')
1370
+ .attr('aria-hidden', true)
1371
+ .off('click.dismiss.bs.modal')
1372
+
1373
+ $.support.transition && this.$element.hasClass('fade') ?
1374
+ this.$element
1375
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
1376
+ .emulateTransitionEnd(300) :
1377
+ this.hideModal()
1378
+ }
1379
+
1380
+ Modal.prototype.enforceFocus = function () {
1381
+ $(document)
1382
+ .off('focusin.bs.modal') // guard against infinite focus loop
1383
+ .on('focusin.bs.modal', $.proxy(function (e) {
1384
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
1385
+ this.$element.trigger('focus')
1386
+ }
1387
+ }, this))
1388
+ }
1389
+
1390
+ Modal.prototype.escape = function () {
1391
+ if (this.isShown && this.options.keyboard) {
1392
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
1393
+ e.which == 27 && this.hide()
1394
+ }, this))
1395
+ } else if (!this.isShown) {
1396
+ this.$element.off('keyup.dismiss.bs.modal')
1397
+ }
1398
+ }
1399
+
1400
+ Modal.prototype.hideModal = function () {
1401
+ var that = this
1402
+ this.$element.hide()
1403
+ this.backdrop(function () {
1404
+ that.$element.trigger('hidden.bs.modal')
1405
+ })
1406
+ }
1407
+
1408
+ Modal.prototype.removeBackdrop = function () {
1409
+ this.$backdrop && this.$backdrop.remove()
1410
+ this.$backdrop = null
1411
+ }
1412
+
1413
+ Modal.prototype.backdrop = function (callback) {
1414
+ var that = this
1415
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
1416
+
1417
+ if (this.isShown && this.options.backdrop) {
1418
+ var doAnimate = $.support.transition && animate
1419
+
1420
+ this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
1421
+ .appendTo(this.$body)
1422
+
1423
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
1424
+ if (e.target !== e.currentTarget) return
1425
+ this.options.backdrop == 'static'
1426
+ ? this.$element[0].focus.call(this.$element[0])
1427
+ : this.hide.call(this)
1428
+ }, this))
1429
+
1430
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
1431
+
1432
+ this.$backdrop.addClass('in')
1433
+
1434
+ if (!callback) return
1435
+
1436
+ doAnimate ?
1437
+ this.$backdrop
1438
+ .one('bsTransitionEnd', callback)
1439
+ .emulateTransitionEnd(150) :
1440
+ callback()
1441
+
1442
+ } else if (!this.isShown && this.$backdrop) {
1443
+ this.$backdrop.removeClass('in')
1444
+
1445
+ var callbackRemove = function () {
1446
+ that.removeBackdrop()
1447
+ callback && callback()
1448
+ }
1449
+ $.support.transition && this.$element.hasClass('fade') ?
1450
+ this.$backdrop
1451
+ .one('bsTransitionEnd', callbackRemove)
1452
+ .emulateTransitionEnd(150) :
1453
+ callbackRemove()
1454
+
1455
+ } else if (callback) {
1456
+ callback()
1457
+ }
1458
+ }
1459
+
1460
+ Modal.prototype.checkScrollbar = function () {
1461
+ if (document.body.clientWidth >= window.innerWidth) return
1462
+ this.scrollbarWidth = this.scrollbarWidth || this.measureScrollbar()
1463
+ }
1464
+
1465
+ Modal.prototype.setScrollbar = function () {
1466
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
1467
+ if (this.scrollbarWidth) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
1468
+ }
1469
+
1470
+ Modal.prototype.resetScrollbar = function () {
1471
+ this.$body.css('padding-right', '')
1472
+ }
1473
+
1474
+ Modal.prototype.measureScrollbar = function () { // thx walsh
1475
+ var scrollDiv = document.createElement('div')
1476
+ scrollDiv.className = 'modal-scrollbar-measure'
1477
+ this.$body.append(scrollDiv)
1478
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
1479
+ this.$body[0].removeChild(scrollDiv)
1480
+ return scrollbarWidth
1481
+ }
1482
+
1483
+
1484
+ // MODAL PLUGIN DEFINITION
1485
+ // =======================
1486
+
1487
+ function Plugin(option, _relatedTarget) {
1488
+ return this.each(function () {
1489
+ var $this = $(this)
1490
+ var data = $this.data('bs.modal')
1491
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
1492
+
1493
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
1494
+ if (typeof option == 'string') data[option](_relatedTarget)
1495
+ else if (options.show) data.show(_relatedTarget)
1496
+ })
1497
+ }
1498
+
1499
+ var old = $.fn.modal
1500
+
1501
+ $.fn.modal = Plugin
1502
+ $.fn.modal.Constructor = Modal
1503
+
1504
+
1505
+ // MODAL NO CONFLICT
1506
+ // =================
1507
+
1508
+ $.fn.modal.noConflict = function () {
1509
+ $.fn.modal = old
1510
+ return this
1511
+ }
1512
+
1513
+
1514
+ // MODAL DATA-API
1515
+ // ==============
1516
+
1517
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
1518
+ var $this = $(this)
1519
+ var href = $this.attr('href')
1520
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
1521
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
1522
+
1523
+ if ($this.is('a')) e.preventDefault()
1524
+
1525
+ $target.one('show.bs.modal', function (showEvent) {
1526
+ if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
1527
+ $target.one('hidden.bs.modal', function () {
1528
+ $this.is(':visible') && $this.trigger('focus')
1529
+ })
1530
+ })
1531
+ Plugin.call($target, option, this)
1532
+ })
1533
+
1534
+ }(jQuery);
1535
+
1536
+ /* ========================================================================
1537
+ * Bootstrap: tooltip.js v3.2.0
1538
+ * http://getbootstrap.com/javascript/#tooltip
1539
+ * Inspired by the original jQuery.tipsy by Jason Frame
1540
+ * ========================================================================
1541
+ * Copyright 2011-2014 Twitter, Inc.
1542
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1543
+ * ======================================================================== */
1544
+
1545
+
1546
+ +function ($) {
1547
+ 'use strict';
1548
+
1549
+ // TOOLTIP PUBLIC CLASS DEFINITION
1550
+ // ===============================
1551
+
1552
+ var Tooltip = function (element, options) {
1553
+ this.type =
1554
+ this.options =
1555
+ this.enabled =
1556
+ this.timeout =
1557
+ this.hoverState =
1558
+ this.$element = null
1559
+
1560
+ this.init('tooltip', element, options)
1561
+ }
1562
+
1563
+ Tooltip.VERSION = '3.2.0'
1564
+
1565
+ Tooltip.DEFAULTS = {
1566
+ animation: true,
1567
+ placement: 'top',
1568
+ selector: false,
1569
+ template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
1570
+ trigger: 'hover focus',
1571
+ title: '',
1572
+ delay: 0,
1573
+ html: false,
1574
+ container: false,
1575
+ viewport: {
1576
+ selector: 'body',
1577
+ padding: 0
1578
+ }
1579
+ }
1580
+
1581
+ Tooltip.prototype.init = function (type, element, options) {
1582
+ this.enabled = true
1583
+ this.type = type
1584
+ this.$element = $(element)
1585
+ this.options = this.getOptions(options)
1586
+ this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1587
+
1588
+ var triggers = this.options.trigger.split(' ')
1589
+
1590
+ for (var i = triggers.length; i--;) {
1591
+ var trigger = triggers[i]
1592
+
1593
+ if (trigger == 'click') {
1594
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
1595
+ } else if (trigger != 'manual') {
1596
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
1597
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
1598
+
1599
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
1600
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
1601
+ }
1602
+ }
1603
+
1604
+ this.options.selector ?
1605
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
1606
+ this.fixTitle()
1607
+ }
1608
+
1609
+ Tooltip.prototype.getDefaults = function () {
1610
+ return Tooltip.DEFAULTS
1611
+ }
1612
+
1613
+ Tooltip.prototype.getOptions = function (options) {
1614
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
1615
+
1616
+ if (options.delay && typeof options.delay == 'number') {
1617
+ options.delay = {
1618
+ show: options.delay,
1619
+ hide: options.delay
1620
+ }
1621
+ }
1622
+
1623
+ return options
1624
+ }
1625
+
1626
+ Tooltip.prototype.getDelegateOptions = function () {
1627
+ var options = {}
1628
+ var defaults = this.getDefaults()
1629
+
1630
+ this._options && $.each(this._options, function (key, value) {
1631
+ if (defaults[key] != value) options[key] = value
1632
+ })
1633
+
1634
+ return options
1635
+ }
1636
+
1637
+ Tooltip.prototype.enter = function (obj) {
1638
+ var self = obj instanceof this.constructor ?
1639
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1640
+
1641
+ if (!self) {
1642
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1643
+ $(obj.currentTarget).data('bs.' + this.type, self)
1644
+ }
1645
+
1646
+ clearTimeout(self.timeout)
1647
+
1648
+ self.hoverState = 'in'
1649
+
1650
+ if (!self.options.delay || !self.options.delay.show) return self.show()
1651
+
1652
+ self.timeout = setTimeout(function () {
1653
+ if (self.hoverState == 'in') self.show()
1654
+ }, self.options.delay.show)
1655
+ }
1656
+
1657
+ Tooltip.prototype.leave = function (obj) {
1658
+ var self = obj instanceof this.constructor ?
1659
+ obj : $(obj.currentTarget).data('bs.' + this.type)
1660
+
1661
+ if (!self) {
1662
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
1663
+ $(obj.currentTarget).data('bs.' + this.type, self)
1664
+ }
1665
+
1666
+ clearTimeout(self.timeout)
1667
+
1668
+ self.hoverState = 'out'
1669
+
1670
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
1671
+
1672
+ self.timeout = setTimeout(function () {
1673
+ if (self.hoverState == 'out') self.hide()
1674
+ }, self.options.delay.hide)
1675
+ }
1676
+
1677
+ Tooltip.prototype.show = function () {
1678
+ var e = $.Event('show.bs.' + this.type)
1679
+
1680
+ if (this.hasContent() && this.enabled) {
1681
+ this.$element.trigger(e)
1682
+
1683
+ var inDom = $.contains(document.documentElement, this.$element[0])
1684
+ if (e.isDefaultPrevented() || !inDom) return
1685
+ var that = this
1686
+
1687
+ var $tip = this.tip()
1688
+
1689
+ var tipId = this.getUID(this.type)
1690
+
1691
+ this.setContent()
1692
+ $tip.attr('id', tipId)
1693
+ this.$element.attr('aria-describedby', tipId)
1694
+
1695
+ if (this.options.animation) $tip.addClass('fade')
1696
+
1697
+ var placement = typeof this.options.placement == 'function' ?
1698
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
1699
+ this.options.placement
1700
+
1701
+ var autoToken = /\s?auto?\s?/i
1702
+ var autoPlace = autoToken.test(placement)
1703
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
1704
+
1705
+ $tip
1706
+ .detach()
1707
+ .css({ top: 0, left: 0, display: 'block' })
1708
+ .addClass(placement)
1709
+ .data('bs.' + this.type, this)
1710
+
1711
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
1712
+
1713
+ var pos = this.getPosition()
1714
+ var actualWidth = $tip[0].offsetWidth
1715
+ var actualHeight = $tip[0].offsetHeight
1716
+
1717
+ if (autoPlace) {
1718
+ var orgPlacement = placement
1719
+ var $parent = this.$element.parent()
1720
+ var parentDim = this.getPosition($parent)
1721
+
1722
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - parentDim.scroll > parentDim.height ? 'top' :
1723
+ placement == 'top' && pos.top - parentDim.scroll - actualHeight < 0 ? 'bottom' :
1724
+ placement == 'right' && pos.right + actualWidth > parentDim.width ? 'left' :
1725
+ placement == 'left' && pos.left - actualWidth < parentDim.left ? 'right' :
1726
+ placement
1727
+
1728
+ $tip
1729
+ .removeClass(orgPlacement)
1730
+ .addClass(placement)
1731
+ }
1732
+
1733
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
1734
+
1735
+ this.applyPlacement(calculatedOffset, placement)
1736
+
1737
+ var complete = function () {
1738
+ that.$element.trigger('shown.bs.' + that.type)
1739
+ that.hoverState = null
1740
+ }
1741
+
1742
+ $.support.transition && this.$tip.hasClass('fade') ?
1743
+ $tip
1744
+ .one('bsTransitionEnd', complete)
1745
+ .emulateTransitionEnd(150) :
1746
+ complete()
1747
+ }
1748
+ }
1749
+
1750
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
1751
+ var $tip = this.tip()
1752
+ var width = $tip[0].offsetWidth
1753
+ var height = $tip[0].offsetHeight
1754
+
1755
+ // manually read margins because getBoundingClientRect includes difference
1756
+ var marginTop = parseInt($tip.css('margin-top'), 10)
1757
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
1758
+
1759
+ // we must check for NaN for ie 8/9
1760
+ if (isNaN(marginTop)) marginTop = 0
1761
+ if (isNaN(marginLeft)) marginLeft = 0
1762
+
1763
+ offset.top = offset.top + marginTop
1764
+ offset.left = offset.left + marginLeft
1765
+
1766
+ // $.fn.offset doesn't round pixel values
1767
+ // so we use setOffset directly with our own function B-0
1768
+ $.offset.setOffset($tip[0], $.extend({
1769
+ using: function (props) {
1770
+ $tip.css({
1771
+ top: Math.round(props.top),
1772
+ left: Math.round(props.left)
1773
+ })
1774
+ }
1775
+ }, offset), 0)
1776
+
1777
+ $tip.addClass('in')
1778
+
1779
+ // check to see if placing tip in new offset caused the tip to resize itself
1780
+ var actualWidth = $tip[0].offsetWidth
1781
+ var actualHeight = $tip[0].offsetHeight
1782
+
1783
+ if (placement == 'top' && actualHeight != height) {
1784
+ offset.top = offset.top + height - actualHeight
1785
+ }
1786
+
1787
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
1788
+
1789
+ if (delta.left) offset.left += delta.left
1790
+ else offset.top += delta.top
1791
+
1792
+ var arrowDelta = delta.left ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
1793
+ var arrowPosition = delta.left ? 'left' : 'top'
1794
+ var arrowOffsetPosition = delta.left ? 'offsetWidth' : 'offsetHeight'
1795
+
1796
+ $tip.offset(offset)
1797
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], arrowPosition)
1798
+ }
1799
+
1800
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
1801
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
1802
+ }
1803
+
1804
+ Tooltip.prototype.setContent = function () {
1805
+ var $tip = this.tip()
1806
+ var title = this.getTitle()
1807
+
1808
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
1809
+ $tip.removeClass('fade in top bottom left right')
1810
+ }
1811
+
1812
+ Tooltip.prototype.hide = function () {
1813
+ var that = this
1814
+ var $tip = this.tip()
1815
+ var e = $.Event('hide.bs.' + this.type)
1816
+
1817
+ this.$element.removeAttr('aria-describedby')
1818
+
1819
+ function complete() {
1820
+ if (that.hoverState != 'in') $tip.detach()
1821
+ that.$element.trigger('hidden.bs.' + that.type)
1822
+ }
1823
+
1824
+ this.$element.trigger(e)
1825
+
1826
+ if (e.isDefaultPrevented()) return
1827
+
1828
+ $tip.removeClass('in')
1829
+
1830
+ $.support.transition && this.$tip.hasClass('fade') ?
1831
+ $tip
1832
+ .one('bsTransitionEnd', complete)
1833
+ .emulateTransitionEnd(150) :
1834
+ complete()
1835
+
1836
+ this.hoverState = null
1837
+
1838
+ return this
1839
+ }
1840
+
1841
+ Tooltip.prototype.fixTitle = function () {
1842
+ var $e = this.$element
1843
+ if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
1844
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
1845
+ }
1846
+ }
1847
+
1848
+ Tooltip.prototype.hasContent = function () {
1849
+ return this.getTitle()
1850
+ }
1851
+
1852
+ Tooltip.prototype.getPosition = function ($element) {
1853
+ $element = $element || this.$element
1854
+ var el = $element[0]
1855
+ var isBody = el.tagName == 'BODY'
1856
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : null, {
1857
+ scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop(),
1858
+ width: isBody ? $(window).width() : $element.outerWidth(),
1859
+ height: isBody ? $(window).height() : $element.outerHeight()
1860
+ }, isBody ? { top: 0, left: 0 } : $element.offset())
1861
+ }
1862
+
1863
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
1864
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1865
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
1866
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
1867
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
1868
+
1869
+ }
1870
+
1871
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
1872
+ var delta = { top: 0, left: 0 }
1873
+ if (!this.$viewport) return delta
1874
+
1875
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
1876
+ var viewportDimensions = this.getPosition(this.$viewport)
1877
+
1878
+ if (/right|left/.test(placement)) {
1879
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
1880
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
1881
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
1882
+ delta.top = viewportDimensions.top - topEdgeOffset
1883
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
1884
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
1885
+ }
1886
+ } else {
1887
+ var leftEdgeOffset = pos.left - viewportPadding
1888
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth
1889
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
1890
+ delta.left = viewportDimensions.left - leftEdgeOffset
1891
+ } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
1892
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
1893
+ }
1894
+ }
1895
+
1896
+ return delta
1897
+ }
1898
+
1899
+ Tooltip.prototype.getTitle = function () {
1900
+ var title
1901
+ var $e = this.$element
1902
+ var o = this.options
1903
+
1904
+ title = $e.attr('data-original-title')
1905
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
1906
+
1907
+ return title
1908
+ }
1909
+
1910
+ Tooltip.prototype.getUID = function (prefix) {
1911
+ do prefix += ~~(Math.random() * 1000000)
1912
+ while (document.getElementById(prefix))
1913
+ return prefix
1914
+ }
1915
+
1916
+ Tooltip.prototype.tip = function () {
1917
+ return (this.$tip = this.$tip || $(this.options.template))
1918
+ }
1919
+
1920
+ Tooltip.prototype.arrow = function () {
1921
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
1922
+ }
1923
+
1924
+ Tooltip.prototype.validate = function () {
1925
+ if (!this.$element[0].parentNode) {
1926
+ this.hide()
1927
+ this.$element = null
1928
+ this.options = null
1929
+ }
1930
+ }
1931
+
1932
+ Tooltip.prototype.enable = function () {
1933
+ this.enabled = true
1934
+ }
1935
+
1936
+ Tooltip.prototype.disable = function () {
1937
+ this.enabled = false
1938
+ }
1939
+
1940
+ Tooltip.prototype.toggleEnabled = function () {
1941
+ this.enabled = !this.enabled
1942
+ }
1943
+
1944
+ Tooltip.prototype.toggle = function (e) {
1945
+ var self = this
1946
+ if (e) {
1947
+ self = $(e.currentTarget).data('bs.' + this.type)
1948
+ if (!self) {
1949
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions())
1950
+ $(e.currentTarget).data('bs.' + this.type, self)
1951
+ }
1952
+ }
1953
+
1954
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
1955
+ }
1956
+
1957
+ Tooltip.prototype.destroy = function () {
1958
+ clearTimeout(this.timeout)
1959
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
1960
+ }
1961
+
1962
+
1963
+ // TOOLTIP PLUGIN DEFINITION
1964
+ // =========================
1965
+
1966
+ function Plugin(option) {
1967
+ return this.each(function () {
1968
+ var $this = $(this)
1969
+ var data = $this.data('bs.tooltip')
1970
+ var options = typeof option == 'object' && option
1971
+
1972
+ if (!data && option == 'destroy') return
1973
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
1974
+ if (typeof option == 'string') data[option]()
1975
+ })
1976
+ }
1977
+
1978
+ var old = $.fn.tooltip
1979
+
1980
+ $.fn.tooltip = Plugin
1981
+ $.fn.tooltip.Constructor = Tooltip
1982
+
1983
+
1984
+ // TOOLTIP NO CONFLICT
1985
+ // ===================
1986
+
1987
+ $.fn.tooltip.noConflict = function () {
1988
+ $.fn.tooltip = old
1989
+ return this
1990
+ }
1991
+
1992
+ }(jQuery);
1993
+
1994
+ /* ========================================================================
1995
+ * Bootstrap: popover.js v3.2.0
1996
+ * http://getbootstrap.com/javascript/#popovers
1997
+ * ========================================================================
1998
+ * Copyright 2011-2014 Twitter, Inc.
1999
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
2000
+ * ======================================================================== */
2001
+
2002
+
2003
+ +function ($) {
2004
+ 'use strict';
2005
+
2006
+ // POPOVER PUBLIC CLASS DEFINITION
2007
+ // ===============================
2008
+
2009
+ var Popover = function (element, options) {
2010
+ this.init('popover', element, options)
2011
+ }
2012
+
2013
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
2014
+
2015
+ Popover.VERSION = '3.2.0'
2016
+
2017
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
2018
+ placement: 'right',
2019
+ trigger: 'click',
2020
+ content: '',
2021
+ template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
2022
+ })
2023
+
2024
+
2025
+ // NOTE: POPOVER EXTENDS tooltip.js
2026
+ // ================================
2027
+
2028
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
2029
+
2030
+ Popover.prototype.constructor = Popover
2031
+
2032
+ Popover.prototype.getDefaults = function () {
2033
+ return Popover.DEFAULTS
2034
+ }
2035
+
2036
+ Popover.prototype.setContent = function () {
2037
+ var $tip = this.tip()
2038
+ var title = this.getTitle()
2039
+ var content = this.getContent()
2040
+
2041
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
2042
+ $tip.find('.popover-content').empty()[ // we use append for html objects to maintain js events
2043
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
2044
+ ](content)
2045
+
2046
+ $tip.removeClass('fade top bottom left right in')
2047
+
2048
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
2049
+ // this manually by checking the contents.
2050
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
2051
+ }
2052
+
2053
+ Popover.prototype.hasContent = function () {
2054
+ return this.getTitle() || this.getContent()
2055
+ }
2056
+
2057
+ Popover.prototype.getContent = function () {
2058
+ var $e = this.$element
2059
+ var o = this.options
2060
+
2061
+ return $e.attr('data-content')
2062
+ || (typeof o.content == 'function' ?
2063
+ o.content.call($e[0]) :
2064
+ o.content)
2065
+ }
2066
+
2067
+ Popover.prototype.arrow = function () {
2068
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
2069
+ }
2070
+
2071
+ Popover.prototype.tip = function () {
2072
+ if (!this.$tip) this.$tip = $(this.options.template)
2073
+ return this.$tip
2074
+ }
2075
+
2076
+
2077
+ // POPOVER PLUGIN DEFINITION
2078
+ // =========================
2079
+
2080
+ function Plugin(option) {
2081
+ return this.each(function () {
2082
+ var $this = $(this)
2083
+ var data = $this.data('bs.popover')
2084
+ var options = typeof option == 'object' && option
2085
+
2086
+ if (!data && option == 'destroy') return
2087
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
2088
+ if (typeof option == 'string') data[option]()
2089
+ })
2090
+ }
2091
+
2092
+ var old = $.fn.popover
2093
+
2094
+ $.fn.popover = Plugin
2095
+ $.fn.popover.Constructor = Popover
2096
+
2097
+
2098
+ // POPOVER NO CONFLICT
2099
+ // ===================
2100
+
2101
+ $.fn.popover.noConflict = function () {
2102
+ $.fn.popover = old
2103
+ return this
2104
+ }
2105
+
2106
+ }(jQuery);
2107
+
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/checkanswer.js ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Do this first so that layout shift isn't too bad:
2
+ const container = document.createElement("div");
3
+ container.style = `
4
+ font-size: 16px;
5
+ font-size: clamp(16px, 2.4vw, 21px);
6
+ height: 2.5em;
7
+ `;
8
+ document.body.prepend(container);
9
+
10
+ import { React, html, css, render } from "./package.js";
11
+
12
+ /**
13
+ * Remove non-alphanumeric characters.
14
+ */
15
+ const normalizeAnswer = (answer) => {
16
+ if (getYear() === 2003) {
17
+ if (document.URL.includes("teamGuest/2")) {
18
+ // Special case: 2003 R2, whose answers are emoji.
19
+ return answer.trim();
20
+ } else if (document.URL.includes("6_3")) {
21
+ // Special case: Answer is literal Greek letter.
22
+ return answer.trim();
23
+ }
24
+ }
25
+ return answer.toUpperCase().replaceAll(/[^A-Z0-9]/g, "");
26
+ };
27
+
28
+ /**
29
+ * Returns the year of the hunt we're in.
30
+ */
31
+ const getYear = () => {
32
+ return Number(RegExp(`^.*/([0-9]{4})/.*$`).exec(document.URL)?.[1] ?? 0);
33
+ };
34
+
35
+ /**
36
+ * Fetches the answers as a list of {url, answer, prompt, intermediate}.
37
+ */
38
+ const getData = async () => {
39
+ const res = await fetch("/answers.tsv");
40
+ const data = await res.text();
41
+ const [header, ...body] = data.split("\n");
42
+ const headers = header.trim().split("\t");
43
+ return body.map((row) => {
44
+ const res = {};
45
+ row.split("\t").forEach((item, i) => {
46
+ res[headers[i]] = item.trim();
47
+ });
48
+ return res;
49
+ });
50
+ };
51
+
52
+ /**
53
+ * Gets the base URL; removes trailing index.html and .html, removes everything
54
+ * before the year, and then removes trailing slash.
55
+ */
56
+ const getBase = (url) => {
57
+ const root =
58
+ RegExp(`^(.*/)index.html`).exec(url)?.[1] ??
59
+ RegExp(`^(.*).html`).exec(url)?.[1] ??
60
+ url;
61
+ const base = RegExp(`^.*/([0-9]{4}/.*)$`).exec(root)?.[1] ?? root;
62
+ return base.endsWith("/") ? base.slice(0, -1) : base;
63
+ };
64
+
65
+ /**
66
+ * Get all rows in the data corresponding to a given URL. Group by same prompt.
67
+ */
68
+ const getAnswers = (data, url) => {
69
+ const base = getBase(url);
70
+ const rows = data.filter((row) => getBase(row.url) === base);
71
+ const prompts = [];
72
+ for (const row of rows) {
73
+ const { prompt } = row;
74
+ const group = prompts.find((group) => group.prompt === prompt);
75
+ if (group) {
76
+ group.rows.push(row);
77
+ } else {
78
+ prompts.push({ prompt, rows: [row] });
79
+ }
80
+ }
81
+ return prompts;
82
+ };
83
+
84
+ /**
85
+ * A single textbox and submit button in the rows of possible responses.
86
+ */
87
+ const ResponseRow = ({ prompt, rows, setFeedback }) => {
88
+ const [response, setResponse] = React.useState("");
89
+
90
+ const form = css`
91
+ align-items: baseline;
92
+ display: flex;
93
+ justify-content: right;
94
+ margin-bottom: 0.5em;
95
+
96
+ @media (max-width: 600px) {
97
+ align-items: flex-start;
98
+ flex-direction: column;
99
+ }
100
+ `;
101
+
102
+ const input = css`
103
+ background: #fafafa;
104
+ border: 1px solid #aaa;
105
+ border-radius: 2px;
106
+ color: #121212;
107
+ font-family: inherit;
108
+ font-size: 100%;
109
+ line-height: 1.2;
110
+ margin: 0 0.5em;
111
+ padding: 0.25em 0.5em;
112
+
113
+ @media (max-width: 600px) {
114
+ margin: 0 0 0.25em;
115
+ }
116
+ `;
117
+
118
+ const onSubmit = (e) => {
119
+ e.preventDefault();
120
+ let set = false;
121
+ for (const row of rows) {
122
+ const correct = normalizeAnswer(row.answer) === normalizeAnswer(response);
123
+ if (correct) {
124
+ setFeedback(
125
+ row.intermediate?.trim() === "TRUE"
126
+ ? "Correct! See the solution page for the answer."
127
+ : `Solved! The answer was ${row.answer}.`
128
+ );
129
+ set = true;
130
+ break;
131
+ }
132
+ }
133
+ if (!set) {
134
+ setFeedback("Incorrect.");
135
+ }
136
+ };
137
+
138
+ const onChange = (e) => setResponse(e.target.value);
139
+
140
+ return html`
141
+ <form class=${form} onSubmit=${onSubmit}>
142
+ <label htmlFor=${prompt + " prompt"}>
143
+ ${prompt || "Enter your guess"}:
144
+ </label>
145
+ <input
146
+ class=${input}
147
+ id=${prompt + " prompt"}
148
+ onChange=${onChange}
149
+ required
150
+ type="text"
151
+ value=${response}
152
+ />
153
+ <button type="submit">Submit</button>
154
+ </form>
155
+ `;
156
+ };
157
+
158
+ /**
159
+ * Check answer button, rendered at top of page.
160
+ */
161
+ const CheckButton = ({ prompts }) => {
162
+ const [open, setOpen] = React.useState(false);
163
+ const [feedback, setFeedback] = React.useState("Call in an answer.");
164
+
165
+ const wrapper = css`
166
+ font-family: "PT Sans", sans-serif;
167
+ font-size: 16px;
168
+ font-size: clamp(16px, 2.4vw, 21px);
169
+ height: 2.5em;
170
+
171
+ button {
172
+ background: #555;
173
+ border: none;
174
+ border-radius: 2px;
175
+ color: #fff;
176
+ cursor: pointer;
177
+ display: inline-block;
178
+ font-size: 1em;
179
+ font-family: "PT Sans", sans-serif;
180
+ font-weight: bold;
181
+ line-height: 1.2;
182
+ padding: 0.25em 1em;
183
+ text-align: center;
184
+ text-decoration: none;
185
+ text-transform: none;
186
+ }
187
+
188
+ p {
189
+ margin: 0 0 1em;
190
+ }
191
+
192
+ a {
193
+ color: inherit !important;
194
+ }
195
+ `;
196
+
197
+ const btnTop = [2015, 2016].includes(getYear())
198
+ ? "50px"
199
+ : [2012].includes(getYear())
200
+ ? "-2.5em"
201
+ : "0px";
202
+
203
+ const button = css`
204
+ box-sizing: border-box;
205
+ height: 2.5em;
206
+ left: 0;
207
+ position: absolute;
208
+ top: ${btnTop};
209
+ width: 100%;
210
+ z-index: 9999;
211
+ `;
212
+
213
+ const dropdownWrapper = css`
214
+ background: #edeff0;
215
+ color: #121212;
216
+ left: 0;
217
+ position: absolute;
218
+ right: 0;
219
+ top: calc(2.5em + ${btnTop});
220
+ z-index: 9999;
221
+ `;
222
+
223
+ const dropdown = css`
224
+ margin: 0 auto;
225
+ max-width: 40em;
226
+ padding: 1em;
227
+ z-index: 9999;
228
+ `;
229
+
230
+ const responses = css`
231
+ margin: 0 auto;
232
+ width: fit-content;
233
+
234
+ @media (max-width: 600px) {
235
+ width: auto;
236
+ }
237
+ `;
238
+
239
+ const onClick = () => setOpen(!open);
240
+
241
+ const body =
242
+ prompts.length > 0
243
+ ? prompts.map(
244
+ (group) =>
245
+ html`<${ResponseRow} setFeedback=${setFeedback} ...${group} />`
246
+ )
247
+ : html`<p>
248
+ No answers found on this page. Please report this to${" "}
249
+ <a href="mailto:puzzle@mit.edu">puzzle@mit.edu</a>.
250
+ </p>`;
251
+
252
+ return html`
253
+ <style>
254
+ @import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap");
255
+
256
+ ${[2015, 2016].includes(getYear()) &&
257
+ ".navbar-fixed-top { z-index: 10000 }"}
258
+ ${[2012].includes(getYear()) &&
259
+ "body { top: 2.5em } #check-answer, #shortcuts { z-index: 10000 !important }"}
260
+ ${[2006].includes(getYear()) && 'img[alt="Check Answer"] { display: none }'}
261
+ </style>
262
+ <div class=${wrapper}>
263
+ <button class=${button} onClick=${onClick}>
264
+ Check your answers spoiler-free
265
+ </button>
266
+ ${open &&
267
+ html`
268
+ <div class=${dropdownWrapper}>
269
+ <div class=${dropdown}>
270
+ <p>${feedback}</p>
271
+ <div class=${responses}>${body}</div>
272
+ </div>
273
+ </div>
274
+ `}
275
+ </div>
276
+ `;
277
+ };
278
+
279
+ const data = await getData();
280
+ const prompts = getAnswers(data, document.URL);
281
+ render(html`<${CheckButton} prompts=${prompts} />`, container);
benchmark/MIT_Mystery_Hunt/puzzles/by_tsv/2015/2015_puzzle_i_know_thats_a_pisser_baby/completelog.html ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
+ <meta name="viewport" content="width=1240, user-scalable=yes"></meta>
7
+
8
+ <meta name="robots" content="noindex, nofollow">
9
+
10
+ <link rel="icon" href="https://web.mit.edu/puzzle/www/2015/static/images/hunt/icon32.png" type="image/x-icon" />
11
+ <title>Full Log &mdash; MIT Mystery Hunt 2015</title>
12
+
13
+ <link href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/puzzle.css" rel="stylesheet" type="text/css" />
14
+
15
+
16
+ <link rel="stylesheet" href="https://web.mit.edu/puzzle/www/2015/static/stylesheets/submit-pages.css" />
17
+
18
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
19
+ </head>
20
+
21
+ <body>
22
+
23
+
24
+ <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
25
+ <div class="container-fluid">
26
+ <!-- Brand and toggle get grouped for better mobile display -->
27
+ <div class="navbar-header">
28
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
29
+ <span class="sr-only">Toggle navigation</span>
30
+ <span class="icon-bar"></span>
31
+ <span class="icon-bar"></span>
32
+ <span class="icon-bar"></span>
33
+ </button>
34
+ <a class="navbar-brand" href="https://web.mit.edu/puzzle/www/2015/intro.html">World Map</a>
35
+ </div>
36
+
37
+ <!-- Collect the nav links, forms, and other content for toggling -->
38
+ <div class="collapse navbar-collapse navbar-ex1-collapse">
39
+ <ul class="nav navbar-nav">
40
+ <li><a href="https://web.mit.edu/puzzle/www/2015/storylog.html">The Story So Far...</a></li>
41
+ <li class="dropdown">
42
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Useful links <b class="caret"></b></a>
43
+ <ul class="dropdown-menu">
44
+ <li><a href="https://web.mit.edu/puzzle/www/2015/toc.html">List of Puzzles</a></li>
45
+ <li><a href="https://web.mit.edu/puzzle/www/2015/eventschedule.html">Events Schedule</a></li>
46
+
47
+ <li></li>
48
+
49
+ <li><a href="https://web.mit.edu/puzzle/www/2015/updates.html">Updates from Sealab</a></li>
50
+ <li><a href="https://web.mit.edu/puzzle/www/2015/completelog.html">Full team log</a></li>
51
+ <li><a href="https://web.mit.edu/puzzle/www/2015/faq.html">FAQ</a></li>
52
+ <li><a href="https://web.mit.edu/puzzle/www/2015/sponsors.html">Sponsors</a></li>
53
+ <li><a href="https://web.mit.edu/puzzle/www/2015/">2015 Archive Overview</a></li>
54
+ </ul>
55
+ </li>
56
+ </ul>
57
+ <ul class="nav navbar-nav navbar-right">
58
+
59
+
60
+
61
+
62
+
63
+ </ul>
64
+ </div><!-- /.navbar-collapse -->
65
+ </div>
66
+ </nav>
67
+
68
+
69
+ <div class="heading withnavbar">
70
+ <div class="title"><h2>Full Log</h2></div>
71
+ </div>
72
+
73
+ <div class="form-container nav-related-container">
74
+
75
+ </div>
76
+
77
+
78
+
79
+
80
+ <script type="text/javascript" src="https://web.mit.edu/puzzle/www/2015/static/bootstrap/javascripts/bootstrap.js" charset="utf-8"></script>
81
+
82
+
83
+ </body>
84
+ </html>