├── CNAME
├── favicon.ico
├── images
├── wires.png
├── Facebook.png
├── OtterSec.png
├── TOB_Grey.jpg
├── educoin.gif
├── HSCTF_Logo.png
├── hsctf-icon.png
├── facebook-logo.png
├── sample-recon.jpg
├── trailOfBits.png
├── wires-mobile.png
├── bloomberg-logo.jpg
├── website-arrows.png
├── Google_Cloud_logo.png
├── Digital-ocean-logo-4x3.png
├── Google_Cloud_logo_small.png
└── wolfram-corporate-logo-stacked-med.png
├── fancybox
├── blank.gif
├── fancybox_loading.gif
├── fancybox_overlay.png
├── fancybox_sprite.png
├── fancybox_sprite@2x.png
├── fancybox_loading@2x.gif
├── jquery.fancybox-v=2.1.5.css
└── jquery.fancybox.pack-v=2.1.5.js
├── favicon-16x16.png
├── favicon-32x32.png
├── mstile-150x150.png
├── apple-touch-icon.png
├── android-chrome-192x192.png
├── android-chrome-384x384.png
├── font
├── fontawesome-webfont-.eot
├── fontawesome-webfont-v=3.2.1.eot
├── fontawesome-webfont-v=3.2.1.ttf
└── fontawesome-webfont-v=3.2.1.woff
├── browserconfig.xml
├── site.webmanifest
├── css
├── styles2.css
├── styles.css
└── font-awesome.min.css
├── js
├── jquery-migrate-1.2.1.min.js
├── script.js
├── jquery.easing.1.3.js
├── html5shiv.js
└── bootstrap.min.js
└── index.html
/CNAME:
--------------------------------------------------------------------------------
1 | hsctf.com
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/favicon.ico
--------------------------------------------------------------------------------
/images/wires.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/wires.png
--------------------------------------------------------------------------------
/fancybox/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/blank.gif
--------------------------------------------------------------------------------
/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/favicon-16x16.png
--------------------------------------------------------------------------------
/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/favicon-32x32.png
--------------------------------------------------------------------------------
/images/Facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/Facebook.png
--------------------------------------------------------------------------------
/images/OtterSec.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/OtterSec.png
--------------------------------------------------------------------------------
/images/TOB_Grey.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/TOB_Grey.jpg
--------------------------------------------------------------------------------
/images/educoin.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/educoin.gif
--------------------------------------------------------------------------------
/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/mstile-150x150.png
--------------------------------------------------------------------------------
/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/apple-touch-icon.png
--------------------------------------------------------------------------------
/images/HSCTF_Logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/HSCTF_Logo.png
--------------------------------------------------------------------------------
/images/hsctf-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/hsctf-icon.png
--------------------------------------------------------------------------------
/images/facebook-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/facebook-logo.png
--------------------------------------------------------------------------------
/images/sample-recon.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/sample-recon.jpg
--------------------------------------------------------------------------------
/images/trailOfBits.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/trailOfBits.png
--------------------------------------------------------------------------------
/images/wires-mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/wires-mobile.png
--------------------------------------------------------------------------------
/android-chrome-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/android-chrome-192x192.png
--------------------------------------------------------------------------------
/android-chrome-384x384.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/android-chrome-384x384.png
--------------------------------------------------------------------------------
/images/bloomberg-logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/bloomberg-logo.jpg
--------------------------------------------------------------------------------
/images/website-arrows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/website-arrows.png
--------------------------------------------------------------------------------
/fancybox/fancybox_loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/fancybox_loading.gif
--------------------------------------------------------------------------------
/fancybox/fancybox_overlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/fancybox_overlay.png
--------------------------------------------------------------------------------
/fancybox/fancybox_sprite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/fancybox_sprite.png
--------------------------------------------------------------------------------
/font/fontawesome-webfont-.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/font/fontawesome-webfont-.eot
--------------------------------------------------------------------------------
/images/Google_Cloud_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/Google_Cloud_logo.png
--------------------------------------------------------------------------------
/fancybox/fancybox_sprite@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/fancybox_sprite@2x.png
--------------------------------------------------------------------------------
/fancybox/fancybox_loading@2x.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/fancybox/fancybox_loading@2x.gif
--------------------------------------------------------------------------------
/images/Digital-ocean-logo-4x3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/Digital-ocean-logo-4x3.png
--------------------------------------------------------------------------------
/images/Google_Cloud_logo_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/Google_Cloud_logo_small.png
--------------------------------------------------------------------------------
/font/fontawesome-webfont-v=3.2.1.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/font/fontawesome-webfont-v=3.2.1.eot
--------------------------------------------------------------------------------
/font/fontawesome-webfont-v=3.2.1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/font/fontawesome-webfont-v=3.2.1.ttf
--------------------------------------------------------------------------------
/font/fontawesome-webfont-v=3.2.1.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/font/fontawesome-webfont-v=3.2.1.woff
--------------------------------------------------------------------------------
/images/wolfram-corporate-logo-stacked-med.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hsncsclub/hsctf-splash-site/master/images/wolfram-corporate-logo-stacked-med.png
--------------------------------------------------------------------------------
/browserconfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | #da532c
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/site.webmanifest:
--------------------------------------------------------------------------------
1 | {
2 | "name": "",
3 | "short_name": "",
4 | "icons": [
5 | {
6 | "src": "/android-chrome-192x192.png",
7 | "sizes": "192x192",
8 | "type": "image/png"
9 | },
10 | {
11 | "src": "/android-chrome-384x384.png",
12 | "sizes": "384x384",
13 | "type": "image/png"
14 | }
15 | ],
16 | "theme_color": "#ffffff",
17 | "background_color": "#ffffff",
18 | "display": "standalone"
19 | }
20 |
--------------------------------------------------------------------------------
/css/styles2.css:
--------------------------------------------------------------------------------
1 | /* Template courtesy:;
2 | * Author: Carlos Alvarez
3 | * URL: http://alvarez.is
4 | *
5 | * Project Name: Munter - Free Bootstrap 3 Theme
6 | * Version: 1.0
7 | * URL: http://blacktie.co
8 | */
9 |
10 | .navbar {
11 | background-color: #e4e6e5;
12 | background-color: rgba( 228, 230, 229, .85 );
13 | border-bottom: 0 none;
14 | font-size: 12px;
15 | transition: .25s all linear;
16 | min-width: 37px;
17 | }
18 |
19 | .navbar.inv {
20 | background-color: rgba( 0, 0, 0, .5 );
21 | border-bottom: 1px solid #bfbfbf;
22 | }
23 |
24 | .navbar .nav a {
25 | color: #5f5f5f;
26 | font-family: "Titillium Web", sans-serif;
27 | font-weight: 600;
28 | transition: all .5 linear;
29 | }
30 |
31 | .navbar.inv a {
32 | color: #e4e6e5;
33 | }
34 |
35 |
36 | .navbar-responsive-collapse {
37 | margin: 0 auto;
38 | width: 80%;
39 | }
40 |
41 | .nav li {
42 | text-align: center;
43 | white-space: nowrap;
44 | }
45 |
46 | .nav > li > a:hover,
47 | .nav > li > a:focus {
48 | background-color: inherit;
49 | outline: none;
50 | }/* .navbar-brand {
51 | padding: 8px; */
--------------------------------------------------------------------------------
/fancybox/jquery.fancybox-v=2.1.5.css:
--------------------------------------------------------------------------------
1 | /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
2 | .fancybox-wrap,
3 | .fancybox-skin,
4 | .fancybox-outer,
5 | .fancybox-inner,
6 | .fancybox-image,
7 | .fancybox-wrap iframe,
8 | .fancybox-wrap object,
9 | .fancybox-nav,
10 | .fancybox-nav span,
11 | .fancybox-tmp
12 | {
13 | padding: 0;
14 | margin: 0;
15 | border: 0;
16 | outline: none;
17 | vertical-align: top;
18 | }
19 |
20 | .fancybox-wrap {
21 | position: absolute;
22 | top: 0;
23 | left: 0;
24 | z-index: 8020;
25 | }
26 |
27 | .fancybox-skin {
28 | position: relative;
29 | background: #f9f9f9;
30 | color: #444;
31 | text-shadow: none;
32 | -webkit-border-radius: 4px;
33 | -moz-border-radius: 4px;
34 | border-radius: 4px;
35 | }
36 |
37 | .fancybox-opened {
38 | z-index: 8030;
39 | }
40 |
41 | .fancybox-opened .fancybox-skin {
42 | -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
43 | -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
44 | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
45 | }
46 |
47 | .fancybox-outer, .fancybox-inner {
48 | position: relative;
49 | }
50 |
51 | .fancybox-inner {
52 | overflow: hidden;
53 | }
54 |
55 | .fancybox-type-iframe .fancybox-inner {
56 | -webkit-overflow-scrolling: touch;
57 | }
58 |
59 | .fancybox-error {
60 | color: #444;
61 | font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
62 | margin: 0;
63 | padding: 15px;
64 | white-space: nowrap;
65 | }
66 |
67 | .fancybox-image, .fancybox-iframe {
68 | display: block;
69 | width: 100%;
70 | height: 100%;
71 | }
72 |
73 | .fancybox-image {
74 | max-width: 100%;
75 | max-height: 100%;
76 | }
77 |
78 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
79 | background-image: url('fancybox_sprite.png');
80 | }
81 |
82 | #fancybox-loading {
83 | position: fixed;
84 | top: 50%;
85 | left: 50%;
86 | margin-top: -22px;
87 | margin-left: -22px;
88 | background-position: 0 -108px;
89 | opacity: 0.8;
90 | cursor: pointer;
91 | z-index: 8060;
92 | }
93 |
94 | #fancybox-loading div {
95 | width: 44px;
96 | height: 44px;
97 | background: url('fancybox_loading.gif') center center no-repeat;
98 | }
99 |
100 | .fancybox-close {
101 | position: absolute;
102 | top: -18px;
103 | right: -18px;
104 | width: 36px;
105 | height: 36px;
106 | cursor: pointer;
107 | z-index: 8040;
108 | }
109 |
110 | .fancybox-nav {
111 | position: absolute;
112 | top: 0;
113 | width: 40%;
114 | height: 100%;
115 | cursor: pointer;
116 | text-decoration: none;
117 | background: transparent url('blank.gif'); /* helps IE */
118 | -webkit-tap-highlight-color: rgba(0,0,0,0);
119 | z-index: 8040;
120 | }
121 |
122 | .fancybox-prev {
123 | left: 0;
124 | }
125 |
126 | .fancybox-next {
127 | right: 0;
128 | }
129 |
130 | .fancybox-nav span {
131 | position: absolute;
132 | top: 50%;
133 | width: 36px;
134 | height: 34px;
135 | margin-top: -18px;
136 | cursor: pointer;
137 | z-index: 8040;
138 | visibility: hidden;
139 | }
140 |
141 | .fancybox-prev span {
142 | left: 10px;
143 | background-position: 0 -36px;
144 | }
145 |
146 | .fancybox-next span {
147 | right: 10px;
148 | background-position: 0 -72px;
149 | }
150 |
151 | .fancybox-nav:hover span {
152 | visibility: visible;
153 | }
154 |
155 | .fancybox-tmp {
156 | position: absolute;
157 | top: -99999px;
158 | left: -99999px;
159 | visibility: hidden;
160 | max-width: 99999px;
161 | max-height: 99999px;
162 | overflow: visible !important;
163 | }
164 |
165 | /* Overlay helper */
166 |
167 | .fancybox-lock {
168 | overflow: hidden !important;
169 | width: auto;
170 | }
171 |
172 | .fancybox-lock body {
173 | overflow: hidden !important;
174 | }
175 |
176 | .fancybox-lock-test {
177 | overflow-y: hidden !important;
178 | }
179 |
180 | .fancybox-overlay {
181 | position: absolute;
182 | top: 0;
183 | left: 0;
184 | overflow: hidden;
185 | display: none;
186 | z-index: 8010;
187 | background: url('fancybox_overlay.png');
188 | }
189 |
190 | .fancybox-overlay-fixed {
191 | position: fixed;
192 | bottom: 0;
193 | right: 0;
194 | }
195 |
196 | .fancybox-lock .fancybox-overlay {
197 | overflow: auto;
198 | overflow-y: scroll;
199 | }
200 |
201 | /* Title helper */
202 |
203 | .fancybox-title {
204 | visibility: hidden;
205 | font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
206 | position: relative;
207 | text-shadow: none;
208 | z-index: 8050;
209 | }
210 |
211 | .fancybox-opened .fancybox-title {
212 | visibility: visible;
213 | }
214 |
215 | .fancybox-title-float-wrap {
216 | position: absolute;
217 | bottom: 0;
218 | right: 50%;
219 | margin-bottom: -35px;
220 | z-index: 8050;
221 | text-align: center;
222 | }
223 |
224 | .fancybox-title-float-wrap .child {
225 | display: inline-block;
226 | margin-right: -100%;
227 | padding: 2px 20px;
228 | background: transparent; /* Fallback for web browsers that doesn't support RGBa */
229 | background: rgba(0, 0, 0, 0.8);
230 | -webkit-border-radius: 15px;
231 | -moz-border-radius: 15px;
232 | border-radius: 15px;
233 | text-shadow: 0 1px 2px #222;
234 | color: #FFF;
235 | font-weight: bold;
236 | line-height: 24px;
237 | white-space: nowrap;
238 | }
239 |
240 | .fancybox-title-outside-wrap {
241 | position: relative;
242 | margin-top: 10px;
243 | color: #fff;
244 | }
245 |
246 | .fancybox-title-inside-wrap {
247 | padding-top: 10px;
248 | }
249 |
250 | .fancybox-title-over-wrap {
251 | position: absolute;
252 | bottom: 0;
253 | left: 0;
254 | color: #fff;
255 | padding: 10px;
256 | background: #000;
257 | background: rgba(0, 0, 0, .8);
258 | }
259 |
260 | /*Retina graphics!*/
261 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
262 | only screen and (min--moz-device-pixel-ratio: 1.5),
263 | only screen and (min-device-pixel-ratio: 1.5){
264 |
265 | #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
266 | background-image: url('fancybox_sprite@2x.png');
267 | background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
268 | }
269 |
270 | #fancybox-loading div {
271 | background-image: url('fancybox_loading@2x.gif');
272 | background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
273 | }
274 | }
--------------------------------------------------------------------------------
/js/jquery-migrate-1.2.1.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
2 | jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e(" ",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
--------------------------------------------------------------------------------
/js/script.js:
--------------------------------------------------------------------------------
1 |
2 | $(document).ready(function(e) {
3 | $('.with-hover-text, .regular-link').click(function(e){
4 | e.stopPropagation();
5 | });
6 |
7 | /***************
8 | * = Hover text *
9 | * Hover text for the last slide
10 | ***************/
11 | $('.with-hover-text').hover(
12 | function(e) {
13 | $(this).css('overflow', 'visible');
14 | $(this).find('.hover-text')
15 | .show()
16 | .css('opacity', 0)
17 | .delay(200)
18 | .animate(
19 | {
20 | paddingTop: '25px',
21 | opacity: 1
22 | },
23 | 'fast',
24 | 'linear'
25 | );
26 | },
27 | function(e) {
28 | var obj = $(this);
29 | $(this).find('.hover-text')
30 | .animate(
31 | {
32 | paddingTop: '0',
33 | opacity: 0
34 | },
35 | 'fast',
36 | 'linear',
37 | function() {
38 | $(this).hide();
39 | $( obj ).css('overflow', 'hidden');
40 | }
41 | );
42 | }
43 | );
44 |
45 | var img_loaded = 0;
46 | var j_images = [];
47 |
48 | /*************************
49 | * = Controls active menu *
50 | * Hover text for the last slide
51 | *************************/
52 |
53 | $('#slide-3 img').each(function(index, element) {
54 | var time = new Date().getTime();
55 | var oldHref = $(this).attr('src');
56 | var myImg = $(' ').attr('src', oldHref + '?' + time );
57 |
58 | myImg.load(function(e) {
59 | img_loaded += 1;;
60 | if ( img_loaded == $('#slide-3 img').length ) {
61 | $(function() {
62 | var pause = 10;
63 | $(document).scroll(function(e) {
64 | delay(function() {
65 |
66 | var tops = [];
67 |
68 | $('.story').each(function(index, element) {
69 | tops.push( $(element).offset().top - 200 );
70 | });
71 |
72 | var scroll_top = $(this).scrollTop();
73 |
74 | var lis = $('.nav > li');
75 |
76 | for ( var i=tops.length-1; i>=0; i-- ) {
77 | if ( scroll_top >= tops[i] ) {
78 | menu_focus( lis[i], i+1 );
79 | break;
80 | }
81 | }
82 | },
83 | pause);
84 | });
85 | $(document).scroll();
86 | });
87 | }
88 | });
89 | });
90 |
91 | });
92 |
93 | /******************
94 | * = Gallery width *
95 | ******************/
96 |
97 |
98 | var delay = (function(){
99 | var timer = 0;
100 | return function(callback, ms){
101 | clearTimeout (timer);
102 | timer = setTimeout(callback, ms);
103 | };
104 | })();
105 |
106 | function menu_focus( element, i ) {
107 | if ( $(element).hasClass('active') ) {
108 | if ( i == 6 ) {
109 | if ( $('.navbar').hasClass('inv') == false )
110 | return;
111 | } else {
112 | return;
113 | }
114 | }
115 |
116 | enable_arrows( i );
117 |
118 | if ( i == 1 || i == 6 )
119 | $('.navbar').removeClass('inv');
120 | else
121 | $('.navbar').addClass('inv');
122 |
123 | $('.nav > li').removeClass('active');
124 | $(element).addClass('active');
125 |
126 | var icon = $(element).find('.icon');
127 |
128 | var left_pos = icon.offset().left - $('.nav').offset().left;
129 | var el_width = icon.width() + $(element).find('.text').width() + 10;
130 |
131 | $('.active-menu').stop(false, false).animate(
132 | {
133 | left: left_pos,
134 | width: el_width
135 | },
136 | 1500,
137 | 'easeInOutQuart'
138 | );
139 | }
140 |
141 | function enable_arrows( dataslide ) {
142 | $('#arrows div').addClass('disabled');
143 | if ( dataslide != 1 ) {
144 | $('#arrow-up').removeClass('disabled');
145 | }
146 | if ( dataslide != 6 ) {
147 | $('#arrow-down').removeClass('disabled');
148 | }
149 | if ( dataslide == 3 ) {
150 | $('#arrow-left').removeClass('disabled');
151 | $('#arrow-right').removeClass('disabled');
152 | }
153 | }
154 |
155 | /*************
156 | * = Parallax *
157 | *************/
158 | jQuery(document).ready(function ($) {
159 | //Cache some variables
160 | var links = $('.nav').find('li');
161 | slide = $('.slide');
162 | button = $('.button');
163 | mywindow = $(window);
164 | htmlbody = $('html,body');
165 |
166 | //Create a function that will be passed a slide number and then will scroll to that slide using jquerys animate. The Jquery
167 | //easing plugin is also used, so we passed in the easing method of 'easeInOutQuint' which is available throught the plugin.
168 | function goToByScroll(dataslide) {
169 | var offset_top = ( dataslide == 1 ) ? '0px' : $('.slide[data-slide="' + dataslide + '"]').offset().top;
170 |
171 | htmlbody.stop(false, false).animate({
172 | scrollTop: offset_top
173 | }, 1500, 'easeInOutQuart');
174 | }
175 |
176 | //When the user clicks on the navigation links, get the data-slide attribute value of the link and pass that variable to the goToByScroll function
177 | links.click(function (e) {
178 | e.preventDefault();
179 | dataslide = $(this).attr('data-slide');
180 | goToByScroll(dataslide);
181 | $(".nav-collapse").collapse('hide');
182 | });
183 |
184 | //When the user clicks on the navigation links, get the data-slide attribute value of the link and pass that variable to the goToByScroll function
185 | $('.navigation-slide').click(function (e) {
186 | e.preventDefault();
187 | dataslide = $(this).attr('data-slide');
188 | goToByScroll(dataslide);
189 | $(".nav-collapse").collapse('hide');
190 | });
191 | });
192 |
193 | /***************
194 | * = Menu hover *
195 | ***************/
196 | jQuery(document).ready(function ($) {
197 | //Cache some variables
198 | var menu_item = $('.nav').find('li');
199 |
200 | menu_item.hover(
201 | function(e) {
202 | var icon = $(this).find('.icon');
203 |
204 | var left_pos = icon.offset().left - $('.nav').offset().left;
205 | var el_width = icon.width() + $(this).find('.text').width() + 10;
206 |
207 | var hover_bar = $('
')
208 | .css('left', left_pos)
209 | .css('width', el_width)
210 | .attr('id', 'special-active-menu-' + $(this).data('slide') );
211 |
212 | $('.active-menu').after( hover_bar );
213 | },
214 | function(e) {
215 | $('.special-active-menu').remove();
216 | }
217 | );
218 | });
219 |
220 | /******************
221 | * = Gallery hover *
222 | ******************/
223 | //jQuery(document).ready(function ($) {
224 | //Cache some variables
225 | //var images = $('#slide-3 a');
226 |
227 | /**images.hover(
228 | function(e) {
229 | var asta = $(this).find('img');
230 | $('#slide-3 img').not( asta ).stop(false, false).animate(
231 | {
232 | opacity: .5
233 | },
234 | 'fast',
235 | 'linear'
236 | );
237 | var zoom = $('
');
238 | if ( $(this).hasClass('video') ) {
239 | zoom.addClass('video');
240 | }
241 | $(this).prepend(zoom);
242 | },
243 | function(e) {
244 | $('#slide-3 img').stop(false, false).animate(
245 | {
246 | opacity: 1
247 | },
248 | 'fast',
249 | 'linear'
250 | );
251 | $('.zoom').remove();
252 | }
253 | );
254 | });**/
255 |
256 | /******************
257 | * = Arrows click *
258 | ******************/
259 | jQuery(document).ready(function ($) {
260 | //Cache some variables
261 | var arrows = $('#arrows div');
262 |
263 | arrows.click(function(e) {
264 | e.preventDefault();
265 |
266 | if ( $(this).hasClass('disabled') )
267 | return;
268 |
269 | var slide = null;
270 | var datasheet = $('.nav > li.active').data('slide');
271 | var offset_top = false;
272 | var offset_left = false;
273 |
274 |
275 | switch( $(this).attr('id') ) {
276 | case 'arrow-up':
277 | offset_top = ( datasheet - 1 == 1 ) ? '0px' : $('.slide[data-slide="' + (datasheet-1) + '"]').offset().top;
278 | break;
279 | case 'arrow-down':
280 | offset_top = $('.slide[data-slide="' + (datasheet+1) + '"]').offset().top;
281 | break;
282 | case 'arrow-left':
283 | offset_left = $('#slide-3 .row').offset().left + 452;
284 | if ( offset_left > 0 ) {
285 | offset_left = '0px';
286 | }
287 | break;
288 | case 'arrow-right':
289 | offset_left = $('#slide-3 .row').offset().left - 452;
290 | if ( offset_left < $('body').width() - $('#slide-3 .row').width() ) {
291 | offset_left = $('body').width() - $('#slide-3 .row').width();
292 | }
293 | break;
294 | }
295 |
296 | if ( offset_top != false ) {
297 | htmlbody.stop(false, false).animate({
298 | scrollTop: offset_top
299 | }, 1500, 'easeInOutQuart');
300 | }
301 |
302 | if ( offset_left != false ) {
303 | if ( $('#slide-3 .row').width() != $('body').width() ) {
304 | $('#slide-3 .row').stop(false, false).animate({
305 | left: offset_left
306 | }, 1500, 'easeInOutQuart');
307 | }
308 | }
309 | });
310 | });
--------------------------------------------------------------------------------
/js/jquery.easing.1.3.js:
--------------------------------------------------------------------------------
1 | /*
2 | * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3 | *
4 | * Uses the built in easing capabilities added In jQuery 1.1
5 | * to offer multiple easing options
6 | *
7 | * TERMS OF USE - jQuery Easing
8 | *
9 | * Open source under the BSD License.
10 | *
11 | * Copyright © 2008 George McGinley Smith
12 | * All rights reserved.
13 | *
14 | * Redistribution and use in source and binary forms, with or without modification,
15 | * are permitted provided that the following conditions are met:
16 | *
17 | * Redistributions of source code must retain the above copyright notice, this list of
18 | * conditions and the following disclaimer.
19 | * Redistributions in binary form must reproduce the above copyright notice, this list
20 | * of conditions and the following disclaimer in the documentation and/or other materials
21 | * provided with the distribution.
22 | *
23 | * Neither the name of the author nor the names of contributors may be used to endorse
24 | * or promote products derived from this software without specific prior written permission.
25 | *
26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34 | * OF THE POSSIBILITY OF SUCH DAMAGE.
35 | *
36 | */
37 |
38 | // t: current time, b: begInnIng value, c: change In value, d: duration
39 | jQuery.easing['jswing'] = jQuery.easing['swing'];
40 |
41 | jQuery.extend( jQuery.easing,
42 | {
43 | def: 'easeOutQuad',
44 | swing: function (x, t, b, c, d) {
45 | //alert(jQuery.easing.default);
46 | return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47 | },
48 | easeInQuad: function (x, t, b, c, d) {
49 | return c*(t/=d)*t + b;
50 | },
51 | easeOutQuad: function (x, t, b, c, d) {
52 | return -c *(t/=d)*(t-2) + b;
53 | },
54 | easeInOutQuad: function (x, t, b, c, d) {
55 | if ((t/=d/2) < 1) return c/2*t*t + b;
56 | return -c/2 * ((--t)*(t-2) - 1) + b;
57 | },
58 | easeInCubic: function (x, t, b, c, d) {
59 | return c*(t/=d)*t*t + b;
60 | },
61 | easeOutCubic: function (x, t, b, c, d) {
62 | return c*((t=t/d-1)*t*t + 1) + b;
63 | },
64 | easeInOutCubic: function (x, t, b, c, d) {
65 | if ((t/=d/2) < 1) return c/2*t*t*t + b;
66 | return c/2*((t-=2)*t*t + 2) + b;
67 | },
68 | easeInQuart: function (x, t, b, c, d) {
69 | return c*(t/=d)*t*t*t + b;
70 | },
71 | easeOutQuart: function (x, t, b, c, d) {
72 | return -c * ((t=t/d-1)*t*t*t - 1) + b;
73 | },
74 | easeInOutQuart: function (x, t, b, c, d) {
75 | if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76 | return -c/2 * ((t-=2)*t*t*t - 2) + b;
77 | },
78 | easeInQuint: function (x, t, b, c, d) {
79 | return c*(t/=d)*t*t*t*t + b;
80 | },
81 | easeOutQuint: function (x, t, b, c, d) {
82 | return c*((t=t/d-1)*t*t*t*t + 1) + b;
83 | },
84 | easeInOutQuint: function (x, t, b, c, d) {
85 | if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86 | return c/2*((t-=2)*t*t*t*t + 2) + b;
87 | },
88 | easeInSine: function (x, t, b, c, d) {
89 | return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90 | },
91 | easeOutSine: function (x, t, b, c, d) {
92 | return c * Math.sin(t/d * (Math.PI/2)) + b;
93 | },
94 | easeInOutSine: function (x, t, b, c, d) {
95 | return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96 | },
97 | easeInExpo: function (x, t, b, c, d) {
98 | return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99 | },
100 | easeOutExpo: function (x, t, b, c, d) {
101 | return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102 | },
103 | easeInOutExpo: function (x, t, b, c, d) {
104 | if (t==0) return b;
105 | if (t==d) return b+c;
106 | if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107 | return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108 | },
109 | easeInCirc: function (x, t, b, c, d) {
110 | return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111 | },
112 | easeOutCirc: function (x, t, b, c, d) {
113 | return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114 | },
115 | easeInOutCirc: function (x, t, b, c, d) {
116 | if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117 | return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118 | },
119 | easeInElastic: function (x, t, b, c, d) {
120 | var s=1.70158;var p=0;var a=c;
121 | if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
122 | if (a < Math.abs(c)) { a=c; var s=p/4; }
123 | else var s = p/(2*Math.PI) * Math.asin (c/a);
124 | return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125 | },
126 | easeOutElastic: function (x, t, b, c, d) {
127 | var s=1.70158;var p=0;var a=c;
128 | if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
129 | if (a < Math.abs(c)) { a=c; var s=p/4; }
130 | else var s = p/(2*Math.PI) * Math.asin (c/a);
131 | return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132 | },
133 | easeInOutElastic: function (x, t, b, c, d) {
134 | var s=1.70158;var p=0;var a=c;
135 | if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
136 | if (a < Math.abs(c)) { a=c; var s=p/4; }
137 | else var s = p/(2*Math.PI) * Math.asin (c/a);
138 | if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139 | return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140 | },
141 | easeInBack: function (x, t, b, c, d, s) {
142 | if (s == undefined) s = 1.70158;
143 | return c*(t/=d)*t*((s+1)*t - s) + b;
144 | },
145 | easeOutBack: function (x, t, b, c, d, s) {
146 | if (s == undefined) s = 1.70158;
147 | return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148 | },
149 | easeInOutBack: function (x, t, b, c, d, s) {
150 | if (s == undefined) s = 1.70158;
151 | if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152 | return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153 | },
154 | easeInBounce: function (x, t, b, c, d) {
155 | return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156 | },
157 | easeOutBounce: function (x, t, b, c, d) {
158 | if ((t/=d) < (1/2.75)) {
159 | return c*(7.5625*t*t) + b;
160 | } else if (t < (2/2.75)) {
161 | return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162 | } else if (t < (2.5/2.75)) {
163 | return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164 | } else {
165 | return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166 | }
167 | },
168 | easeInOutBounce: function (x, t, b, c, d) {
169 | if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170 | return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171 | }
172 | });
173 |
174 | /*
175 | *
176 | * TERMS OF USE - EASING EQUATIONS
177 | *
178 | * Open source under the BSD License.
179 | *
180 | * Copyright © 2001 Robert Penner
181 | * All rights reserved.
182 | *
183 | * Redistribution and use in source and binary forms, with or without modification,
184 | * are permitted provided that the following conditions are met:
185 | *
186 | * Redistributions of source code must retain the above copyright notice, this list of
187 | * conditions and the following disclaimer.
188 | * Redistributions in binary form must reproduce the above copyright notice, this list
189 | * of conditions and the following disclaimer in the documentation and/or other materials
190 | * provided with the distribution.
191 | *
192 | * Neither the name of the author nor the names of contributors may be used to endorse
193 | * or promote products derived from this software without specific prior written permission.
194 | *
195 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198 | * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201 | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202 | * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203 | * OF THE POSSIBILITY OF SUCH DAMAGE.
204 | *
205 | */
--------------------------------------------------------------------------------
/js/html5shiv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @preserve HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3 | */
4 | ;(function(window, document) {
5 | /*jshint evil:true */
6 | /** version */
7 | var version = '3.6.2';
8 |
9 | /** Preset options */
10 | var options = window.html5 || {};
11 |
12 | /** Used to skip problem elements */
13 | var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;
14 |
15 | /** Not all elements can be cloned in IE **/
16 | var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;
17 |
18 | /** Detect whether the browser supports default html5 styles */
19 | var supportsHtml5Styles;
20 |
21 | /** Name of the expando, to work with multiple documents or to re-shiv one document */
22 | var expando = '_html5shiv';
23 |
24 | /** The id for the the documents expando */
25 | var expanID = 0;
26 |
27 | /** Cached data for each document */
28 | var expandoData = {};
29 |
30 | /** Detect whether the browser supports unknown elements */
31 | var supportsUnknownElements;
32 |
33 | (function() {
34 | try {
35 | var a = document.createElement('a');
36 | a.innerHTML = ' ';
37 | //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles
38 | supportsHtml5Styles = ('hidden' in a);
39 |
40 | supportsUnknownElements = a.childNodes.length == 1 || (function() {
41 | // assign a false positive if unable to shiv
42 | (document.createElement)('a');
43 | var frag = document.createDocumentFragment();
44 | return (
45 | typeof frag.cloneNode == 'undefined' ||
46 | typeof frag.createDocumentFragment == 'undefined' ||
47 | typeof frag.createElement == 'undefined'
48 | );
49 | }());
50 | } catch(e) {
51 | // assign a false positive if detection fails => unable to shiv
52 | supportsHtml5Styles = true;
53 | supportsUnknownElements = true;
54 | }
55 |
56 | }());
57 |
58 | /*--------------------------------------------------------------------------*/
59 |
60 | /**
61 | * Creates a style sheet with the given CSS text and adds it to the document.
62 | * @private
63 | * @param {Document} ownerDocument The document.
64 | * @param {String} cssText The CSS text.
65 | * @returns {StyleSheet} The style element.
66 | */
67 | function addStyleSheet(ownerDocument, cssText) {
68 | var p = ownerDocument.createElement('p'),
69 | parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;
70 |
71 | p.innerHTML = 'x';
72 | return parent.insertBefore(p.lastChild, parent.firstChild);
73 | }
74 |
75 | /**
76 | * Returns the value of `html5.elements` as an array.
77 | * @private
78 | * @returns {Array} An array of shived element node names.
79 | */
80 | function getElements() {
81 | var elements = html5.elements;
82 | return typeof elements == 'string' ? elements.split(' ') : elements;
83 | }
84 |
85 | /**
86 | * Returns the data associated to the given document
87 | * @private
88 | * @param {Document} ownerDocument The document.
89 | * @returns {Object} An object of data.
90 | */
91 | function getExpandoData(ownerDocument) {
92 | var data = expandoData[ownerDocument[expando]];
93 | if (!data) {
94 | data = {};
95 | expanID++;
96 | ownerDocument[expando] = expanID;
97 | expandoData[expanID] = data;
98 | }
99 | return data;
100 | }
101 |
102 | /**
103 | * returns a shived element for the given nodeName and document
104 | * @memberOf html5
105 | * @param {String} nodeName name of the element
106 | * @param {Document} ownerDocument The context document.
107 | * @returns {Object} The shived element.
108 | */
109 | function createElement(nodeName, ownerDocument, data){
110 | if (!ownerDocument) {
111 | ownerDocument = document;
112 | }
113 | if(supportsUnknownElements){
114 | return ownerDocument.createElement(nodeName);
115 | }
116 | if (!data) {
117 | data = getExpandoData(ownerDocument);
118 | }
119 | var node;
120 |
121 | if (data.cache[nodeName]) {
122 | node = data.cache[nodeName].cloneNode();
123 | } else if (saveClones.test(nodeName)) {
124 | node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();
125 | } else {
126 | node = data.createElem(nodeName);
127 | }
128 |
129 | // Avoid adding some elements to fragments in IE < 9 because
130 | // * Attributes like `name` or `type` cannot be set/changed once an element
131 | // is inserted into a document/fragment
132 | // * Link elements with `src` attributes that are inaccessible, as with
133 | // a 403 response, will cause the tab/window to crash
134 | // * Script elements appended to fragments will execute when their `src`
135 | // or `text` property is set
136 | return node.canHaveChildren && !reSkip.test(nodeName) ? data.frag.appendChild(node) : node;
137 | }
138 |
139 | /**
140 | * returns a shived DocumentFragment for the given document
141 | * @memberOf html5
142 | * @param {Document} ownerDocument The context document.
143 | * @returns {Object} The shived DocumentFragment.
144 | */
145 | function createDocumentFragment(ownerDocument, data){
146 | if (!ownerDocument) {
147 | ownerDocument = document;
148 | }
149 | if(supportsUnknownElements){
150 | return ownerDocument.createDocumentFragment();
151 | }
152 | data = data || getExpandoData(ownerDocument);
153 | var clone = data.frag.cloneNode(),
154 | i = 0,
155 | elems = getElements(),
156 | l = elems.length;
157 | for(;i li > a:hover,
89 | .nav > li > a:focus {
90 | background-color: inherit;
91 | outline: none;
92 | }
93 |
94 | .navbar-brand {
95 | padding: 8px;
96 | }
97 |
98 | .active-menu {
99 | background-color: #4e4e4e;
100 | content: '.';
101 | display: block;
102 | height: 5px;
103 | left: 0;
104 | position: absolute;
105 | top: 0;
106 | transition: all .5 linear;
107 | width: 1%;
108 | z-index: 9;
109 | }
110 |
111 | .inv .active-menu {
112 | background-color: #e4e6e5;
113 | }
114 |
115 | .special-active-menu {
116 | z-index: 10;
117 | }
118 |
119 | #special-active-menu-1,
120 | #special-active-menu-6 {
121 | background-color: #4e4e4e !important;
122 | }
123 |
124 | #special-active-menu-2 {
125 | background-color: #1abc9c !important;
126 | }
127 |
128 | #special-active-menu-3 {
129 | background-color: #e74c3c !important;
130 | }
131 |
132 | #special-active-menu-4 {
133 | background-color: #34495e !important;
134 | }
135 |
136 | #special-active-menu-5 {
137 | background-color: #e67e22 !important;
138 | }
139 |
140 | @media (min-width: 768px) and (max-width: 991px) {
141 | #slide-4 .content-row h2 {
142 | min-height: 6em;
143 | }
144 | }
145 |
146 | @media (max-width: 767px) {
147 |
148 | .nav li {
149 | text-align: left;
150 | white-space: nowrap;
151 | }
152 |
153 | .navbar-responsive-collapse {
154 | width: 100%;
155 | }
156 |
157 | .active-menu {
158 | display: none !important;
159 | }
160 |
161 | .navbar-toggle {
162 | margin-right: 10px;
163 | }
164 |
165 | .navbar {
166 | background-color: #e4e6e5 !important;
167 | padding: 0;
168 | }
169 |
170 | .navbar .nav a {
171 | color: #e4e6e5;
172 | font-size: 16px;
173 | padding-left: 0;
174 | }
175 |
176 | .icon {
177 | margin-right: 12px;
178 | }
179 |
180 | .nav li[data-slide="1"],
181 | .nav li[data-slide="6"] {
182 | background-color: #2f2f2f;
183 | }
184 |
185 | .nav li[data-slide="2"] {
186 | background-color: #1abc9c;
187 | }
188 |
189 | .nav li[data-slide="3"] {
190 | background-color: #e74c3c;
191 | }
192 |
193 | .nav li[data-slide="4"] {
194 | background-color: #34495e;
195 | }
196 |
197 | .nav li[data-slide="5"] {
198 | background-color: #e67e22;
199 | }
200 |
201 | .navbar-brand {
202 | margin: 0;
203 | text-align: left;
204 | }
205 | }
206 |
207 | :focus {outline:none;}
208 | ::-moz-focus-inner {border:0;}
209 |
210 | .slide {
211 | background-position: center center;
212 | background-repeat: no-repeat;
213 | padding-bottom: 65px;
214 | padding-top: 50px;
215 | text-align: center;
216 | }
217 |
218 | #slide-1 {
219 | color: #ffffff;
220 | background-color: #2f2f2f;
221 | width: 100%;
222 |
223 | }
224 | #slide-1 .container {
225 | max-width: 100%;
226 | }
227 | iframe#mc_signup_form {
228 | width: 30%;
229 | max-width: 500px;
230 | float: right;
231 | margin-right: 10%;
232 | }
233 | iframe#mc_signup_form {
234 | border: none;
235 | }
236 | @media (max-width: 767px) {
237 | iframe#mc_signup_form {
238 | width: 100%;
239 | max-width: 500px;
240 | margin: 0 auto 0 auto;
241 | right: 0;
242 | position: relative;
243 | z-index: 2;
244 | /*height: 100%;*/
245 | min-width: 150px;
246 | margin-top: 30px;
247 | }
248 | }
249 |
250 | @media (max-width: 767px) {
251 | #slide-1 {
252 | background-image: none;
253 | background-color: #353535;
254 | height: auto;
255 | padding-bottom: none;
256 | padding-bottom: 0px;
257 | }
258 |
259 | #slide-1 img {
260 | display: inline;
261 | margin: -30px 0px;
262 | }
263 | }
264 |
265 | #slide-1 h1 {
266 | padding-top: 10px;
267 | }
268 |
269 | #home-row-1,
270 | #home-row-2 {
271 | padding-top: 25px;
272 | }
273 |
274 | #home-row-1 h1 {
275 | font-size: 54px;
276 | }
277 |
278 | #home-row-1 h4 {
279 | font-size: 32px;
280 | }
281 |
282 | #home-row-2 {
283 | font-size: 25px;
284 | }
285 |
286 | #home-row-2 .col-12 {
287 | height: 232px;
288 | padding-top: 30px;
289 | }
290 |
291 | @media (max-width: 767px) {
292 | #home-row-1,
293 | #home-row-2 {
294 | padding-top: 16px;
295 | }
296 |
297 | #home-row-1 h1 {
298 | font-size: 35px;
299 | }
300 |
301 | #home-row-1 h4 {
302 | font-size: 21px;
303 | }
304 |
305 | #home-row-2 {
306 | font-size: 16px;
307 | }
308 | }
309 |
310 | #slide-2 {
311 | background-color: #3c98d8;
312 | color: #e4e6e5;
313 | padding-top:20px;
314 | }
315 |
316 | .title-row {
317 | font-size: 45px;
318 | padding-bottom: 50px;
319 | }
320 |
321 | .line-row .hr {
322 | background-color: #e4e6e5;
323 | height: 5px;
324 | margin: 0 auto;
325 | width: 33%;
326 | }
327 |
328 | .subtitle-row {
329 | font-size: 35px;
330 | padding-bottom: 40px;
331 | padding-top: 0px;
332 | }
333 |
334 | .content-row {
335 | padding-top: 45px;
336 | }
337 |
338 | .content-row i,
339 | #about-row-5 i {
340 | display: block;
341 | margin: 0 auto;
342 | max-height: 100%;
343 | max-width: 100%;
344 | }
345 |
346 | .content-row h2 {
347 | font-size: 28px;
348 | padding-bottom: 40px;
349 | }
350 |
351 | .content-row h4 {
352 | font-family: "Titillium Web", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
353 | font-size: 20px;
354 | font-weight: 300;
355 | }
356 |
357 | i {
358 | font-size: 80px;
359 | color: white;
360 | }
361 |
362 | #slide-2 a {
363 | color: #ffffff;
364 | }
365 |
366 |
367 | @media (max-width: 767px) {
368 | .title-row {
369 | font-size: 34px;
370 | padding-bottom: 33px;
371 | }
372 |
373 | .subtitle-row {
374 | font-size: 26px;
375 | }
376 |
377 | .content-row {
378 | padding-top: 29px;
379 | }
380 |
381 | .content-row h2 {
382 | font-size: 24px;
383 | padding-bottom: 26px;
384 | }
385 |
386 | .content-row h4 {
387 | font-size: 20px;
388 | }
389 | }
390 |
391 | #slide-3 {
392 | background-color: #ffffff;
393 | color: #1c1c1c;
394 | padding-top: 90px;
395 | }
396 |
397 | #slide-3 img {
398 | max-width: 100%;
399 | max-height: 300px;
400 | padding-bottom: 20px;
401 | }
402 |
403 | #slide-4 {
404 | background-color: #34495e;
405 | color: #e4e6e5;
406 | padding-top: 90px;
407 | }
408 |
409 | #slide-4 i {
410 | font-size: 80px;
411 | color: white;
412 | }
413 |
414 |
415 | #slide-5 {
416 | background-color: #448D5A;
417 | color: #e4e6e5;
418 | padding-top: 90px;
419 | }
420 |
421 | #slide-5 img {
422 | max-width: 100%;
423 | max-height: 100%;
424 | }
425 |
426 | #slide-5 a {
427 | color: #82FA58;
428 | font-weight: normal;
429 | }
430 |
431 | #slide-6 {
432 | background-color: #2f2f2f;
433 | color: #e4e6e5;
434 | padding-bottom: 350px;
435 | padding-top: 90px;
436 | }
437 |
438 | @media (max-width: 767px) {
439 | #slide-6 {
440 | background-image: none;
441 | }
442 | }
443 |
444 | #slide-6 .line-row .hr {
445 | background-color: #4e4e4e;
446 | color: #4e4e4e;
447 | }
448 |
449 | #slide-6 a {
450 | color: inherit;
451 | outline: none;
452 | text-decoration: none;
453 | }
454 |
455 | @media (max-width: 767px) {
456 | .with-hover-text{
457 | margin-bottom: 2em;
458 | margin-top: 1em;
459 | }
460 | }
461 |
462 | #contact-row-4 {
463 | padding-top: 125px;
464 | }
465 |
466 | #contact-row-4 .col-12 {
467 | height: 175px;
468 | overflow: hidden;
469 | padding-top: 20px;
470 | transition: all ease-in .5s;
471 | }
472 |
473 | #contact-row-4 img {
474 | display: block;
475 | margin: 0 auto;
476 | max-height: 100%;
477 | max-width: 100%;
478 | }
479 |
480 | #contact-row-4 .col-12:hover {
481 | height: 175px;
482 | padding-top: 0;
483 | }
484 |
485 | #contact-row-4 .col-12 .hover-text {
486 | display: none;
487 | font-size: 20px;
488 | }
489 |
490 | #slide-7 {
491 | background-color: #e4e6e5;
492 | color: #4e4e4e;
493 | font-size: 35px;
494 | line-height: 50px;
495 | text-align: center;
496 | }
497 |
498 | #lightbox-out {
499 | background-color: rgba( 0, 0, 0, 0.7 );
500 | height: 100%;
501 | position: fixed;
502 | width: 100%;
503 | z-index: 99999;
504 | }
505 |
506 | #arrows {
507 | bottom: 5%;
508 | height: 80px;
509 | position: fixed;
510 | right: 5%;
511 | width: 80px;
512 | z-index: 1000;
513 | }
514 |
515 | #arrows div {
516 | background-image: url('../images/website-arrows.png');
517 | cursor: pointer;
518 | height: 30px;
519 | position: absolute;
520 | width: 30px;
521 | }
522 |
523 | #arrows div.disabled {
524 | cursor: default;
525 | }
526 |
527 | #arrow-up {
528 | background-position: 30px 0;
529 | left: 25px;
530 | top: 0;
531 | }
532 |
533 | #arrow-up.disabled {
534 | background-position: 0 0;
535 | }
536 |
537 | #arrow-down {
538 | background-position: 30px -30px;
539 | left: 25px;
540 | bottom: 0;
541 | }
542 |
543 | #arrow-down.disabled {
544 | background-position: 0 -30px;
545 | }
546 |
547 | #arrow-left {
548 | background-position: 30px -60px;
549 | left: 0;
550 | top: 25px;
551 | }
552 |
553 | #arrow-left.disabled {
554 | background-position: 0 -60px;
555 | }
556 |
557 | #arrow-right {
558 | background-position: 30px -90px;
559 | right: 0;
560 | top: 25px;
561 | }
562 |
563 | #arrow-right.disabled {
564 | background-position: 0 -90px;
565 | }
566 |
567 | .navigation-slide {
568 | cursor: pointer;
569 | }
570 |
571 | pre {
572 | text-align: left;
573 | background-color: #D8D8D8;
574 | }
575 |
576 | .mono {
577 | font-family: monospace;
578 | }
579 |
580 | #faq p{
581 | text-align: left;
582 | font-size: 16px;
583 | }
584 |
585 | #faq h2{
586 | padding: 0px;
587 | }
588 |
589 | #notice {
590 | border: 2px solid white;
591 | padding: 10px;
592 | width: 100%;
593 | min-height: 50px;
594 | margin: 10px 0px;
595 | background-color: #2F79AD;
596 | }
597 |
598 | #prizes {
599 | max-width: 100%;
600 | margin-left: 0px;
601 | }
602 |
--------------------------------------------------------------------------------
/fancybox/jquery.fancybox.pack-v=2.1.5.js:
--------------------------------------------------------------------------------
1 | /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
2 | (function(r,G,f,v){var J=f("html"),n=f(r),p=f(G),b=f.fancybox=function(){b.open.apply(this,arguments)},I=navigator.userAgent.match(/msie/i),B=null,s=G.createTouch!==v,t=function(a){return a&&a.hasOwnProperty&&a instanceof f},q=function(a){return a&&"string"===f.type(a)},E=function(a){return q(a)&&0',image:' ',iframe:'',error:'The requested content cannot be loaded. Please try again later.
',closeBtn:' ',next:' ',prev:' '},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,
5 | openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,
6 | isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=t(a)?f(a).get():[a]),f.each(a,function(e,c){var k={},g,h,j,m,l;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),t(c)?(k={href:c.data("fancybox-href")||c.attr("href"),title:c.data("fancybox-title")||c.attr("title"),isDom:!0,element:c},f.metadata&&f.extend(!0,k,
7 | c.metadata())):k=c);g=d.href||k.href||(q(c)?c:null);h=d.title!==v?d.title:k.title||"";m=(j=d.content||k.content)?"html":d.type||k.type;!m&&k.isDom&&(m=c.data("fancybox-type"),m||(m=(m=c.prop("class").match(/fancybox\.(\w+)/))?m[1]:null));q(g)&&(m||(b.isImage(g)?m="image":b.isSWF(g)?m="swf":"#"===g.charAt(0)?m="inline":q(c)&&(m="html",j=c)),"ajax"===m&&(l=g.split(/\s+/,2),g=l.shift(),l=l.shift()));j||("inline"===m?g?j=f(q(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):k.isDom&&(j=c):"html"===m?j=g:!m&&(!g&&
8 | k.isDom)&&(m="inline",j=c));f.extend(k,{href:g,type:m,content:j,title:h,selector:l});a[e]=k}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==v&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1!==b.trigger("onCancel")&&(b.hideLoading(),b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),b.coming=null,b.current||
9 | b._afterZoomOut(a))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(!b.isOpen||!0===a?(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut()):(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&&(b.player.timer=
10 | setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};if(!0===a||!b.player.isActive&&!1!==a){if(b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==v&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,k;c&&(k=b._getPosition(d),a&&"scroll"===a.type?(delete k.position,c.stop(!0,!0).animate(k,200)):(c.css(k),e.pos=f.extend({},e.dim,k)))},update:function(a){var d=
12 | a&&a.type,e=!d||"orientationchange"===d;e&&(clearTimeout(B),B=null);b.isOpen&&!B&&(B=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),B=null)},e&&!s?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,s&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"),b.trigger("onUpdate")),
13 | b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){if(27===(a.which||a.keyCode))a.preventDefault(),b.cancel()});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}))},getViewport:function(){var a=b.current&&b.current.locked||!1,d={x:n.scrollLeft(),
14 | y:n.scrollTop()};a?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=s&&r.innerWidth?r.innerWidth:n.width(),d.h=s&&r.innerHeight?r.innerHeight:n.height());return d},unbindEvents:function(){b.wrap&&t(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");n.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(n.bind("orientationchange.fb"+(s?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c=e.which||e.keyCode,k=e.target||e.srcElement;
15 | if(27===c&&b.coming)return!1;!e.ctrlKey&&(!e.altKey&&!e.shiftKey&&!e.metaKey&&(!k||!k.type&&!f(k).is("[contenteditable]")))&&f.each(d,function(d,k){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();if(0!==c&&!j&&1g||0>k)b.next(0>g?"up":"right");d.preventDefault()}}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&&b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,
17 | {},b.helpers[d].defaults,e),c)});p.trigger(a)}},isImage:function(a){return q(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return q(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=l(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c,c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,
18 | mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"===c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=
19 | !0);"iframe"===c&&s&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(s?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,w(d.padding[a]))});b.trigger("onReady");if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");
20 | "image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width=this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=
21 | this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming,d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",s?"auto":a.iframe.scrolling).attr("src",a.href);
22 | f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);s||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload||b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,
23 | e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,k,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove());b.unbindEvents();e=a.content;c=a.type;k=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,
24 | outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("").html(e).find(a.selector):t(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder",!1)}));break;case "image":e=a.tpl.image.replace("{href}",
25 | g);break;case "swf":e='
',h="",f.each(a.swf,function(a,b){e+=' ';h+=" "+a+'="'+b+'"'}),e+='"}(!t(e)||!e.parent().is(a.inner))&&a.inner.append(e);b.trigger("beforeShow");a.inner.css("overflow","yes"===k?"scroll":
26 | "no"===k?"hidden":k);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(b.isOpened){if(d.prevMethod)b.transitions[d.prevMethod]()}else f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,k=b.skin,g=b.inner,h=b.current,c=h.width,j=h.height,m=h.minWidth,u=h.minHeight,n=h.maxWidth,p=h.maxHeight,s=h.scrolling,q=h.scrollOutside?
27 | h.scrollbarWidth:0,x=h.margin,y=l(x[1]+x[3]),r=l(x[0]+x[2]),v,z,t,C,A,F,B,D,H;e.add(k).add(g).width("auto").height("auto").removeClass("fancybox-tmp");x=l(k.outerWidth(!0)-k.width());v=l(k.outerHeight(!0)-k.height());z=y+x;t=r+v;C=E(c)?(a.w-z)*l(c)/100:c;A=E(j)?(a.h-t)*l(j)/100:j;if("iframe"===h.type){if(H=h.content,h.autoHeight&&1===H.data("ready"))try{H[0].contentWindow.document.location&&(g.width(C).height(9999),F=H.contents().find("body"),q&&F.css("overflow-x","hidden"),A=F.outerHeight(!0))}catch(G){}}else if(h.autoWidth||
28 | h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(C),h.autoHeight||g.height(A),h.autoWidth&&(C=g.width()),h.autoHeight&&(A=g.height()),g.removeClass("fancybox-tmp");c=l(C);j=l(A);D=C/A;m=l(E(m)?l(m,"w")-z:m);n=l(E(n)?l(n,"w")-z:n);u=l(E(u)?l(u,"h")-t:u);p=l(E(p)?l(p,"h")-t:p);F=n;B=p;h.fitToView&&(n=Math.min(a.w-z,n),p=Math.min(a.h-t,p));z=a.w-y;r=a.h-r;h.aspectRatio?(c>n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),c
z||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j
').appendTo(b.coming?b.coming.parent:a.parent);this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(n.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay",function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?
39 | b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){var a,b;n.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),a=n.scrollTop(),b=n.scrollLeft(),this.el.removeClass("fancybox-lock"),n.scrollTop(a).scrollLeft(b));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%");I?(b=Math.max(G.documentElement.offsetWidth,G.body.offsetWidth),
40 | p.width()>b&&(a=p.width())):p.width()>n.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&(this.fixed&&b.fixed)&&(e||(this.margin=p.height()>n.height()?f("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){var e,c;b.locked&&(!1!==this.margin&&(f("*").filter(function(){return"fixed"===
41 | f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),e=n.scrollTop(),c=n.scrollLeft(),this.el.addClass("fancybox-lock"),n.scrollTop(e).scrollLeft(c));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var d=
42 | b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(q(e)&&""!==f.trim(e)){d=f(''+e+"
");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),I&&d.width(d.width()),d.wrapInner(' '),b.current.margin[2]+=Math.abs(l(d.css("margin-bottom")))}d["top"===a.position?"prependTo":"appendTo"](c)}}};f.fn.fancybox=function(a){var d,
43 | e=f(this),c=this.selector||"",k=function(g){var h=f(this).blur(),j=d,k,l;!g.ctrlKey&&(!g.altKey&&!g.shiftKey&&!g.metaKey)&&!h.is(".fancybox-wrap")&&(k=a.groupAttr||"data-fancybox-group",l=h.attr(k),l||(k="rel",l=h.get(0)[k]),l&&(""!==l&&"nofollow"!==l)&&(h=c.length?f(c):e,h=h.filter("["+k+'="'+l+'"]'),j=h.index(this)),a.index=j,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;!c||!1===a.live?e.unbind("click.fb-start").bind("click.fb-start",k):p.undelegate(c,"click.fb-start").delegate(c+
44 | ":not('.fancybox-item, .fancybox-nav')","click.fb-start",k);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===v&&(f.scrollbarWidth=function(){var a=f('').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});if(f.support.fixedPosition===v){a=f.support;d=f('
').appendTo("body");var e=20===
45 | d[0].offsetTop||15===d[0].offsetTop;d.remove();a.fixedPosition=e}f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(r).width();J.addClass("fancybox-lock-test");d=f(r).width();J.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery);
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | HSCTF - The First CTF by High Schoolers, for High Schoolers.
13 |
14 |
15 |
16 |
17 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
36 |
38 |
40 |
42 |
44 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
HSCTF 10
67 |
June 3 - June 8, 2023
68 |
70 |
Register
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
HSCTF is an international online hacking
82 | competition designed to educate high schoolers in computer science.
83 |
84 |
87 |
88 |
Teams of up to 5 students will be challenged to....
89 |
90 |
91 |
92 |
93 |
Crack Codes
94 |
95 |
96 |
97 |
Reverse Engineer
98 |
99 |
100 |
101 |
Design Algorithms
102 |
103 |
104 |
105 |
Master The Internet
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
116 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
Prizes
139 |
140 |
141 |
Eligibility
142 |
To be eligible for prizes, teams must consist of up to five US high school students. Teams do not have to consist of students from the same high school. Students on the winning teams must complete a verification process to ensure that all members are eligible for prizes. If you graduated this year, you are still eligible for prizes.
143 |
1st Place
144 |
$500 Amazon gift card
145 |
2nd Place
146 |
147 |
$300 Amazon gift card
148 |
3rd Place
149 |
150 |
$200 Amazon gift card
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
161 |
164 |
165 |
What is a CTF?
166 |
CTF stands for "Capture the Flag". CTFs are a type of computer security competition (but HSCTF extends
167 | beyond computer security to include other areas of computer science). Certain pieces of information, called
168 | "flags", are placed on servers, encrypted, hidden, or otherwise stored somewhere difficult to access. During
169 | the competition, different challenges are released which allow the participants to reverse engineer, break,
170 | hack, decrypt, and do whatever it takes to capture that flag. When a team submits this flag to a scoring
171 | page, they will get points.
172 |
What is HSCTF?
173 |
HSCTF ("High School Capture the Flag") is the first CTF designed by high schoolers for high schoolers.
174 |
Unlike other CTFs, HSCTF isn't purely about computer security. It extends the CTF model of competition to
175 | other areas of computer science such as the design and analysis of algorithms and programming languages.
176 | Each challenge will still have a flag, and most of our challenges will fall into the traditional CTF
177 | categories of cryptography, reverse engineering, web exploitation, and binary exploitation.
178 |
Capture the Flag (CTF) competitions are traditionally targeted at college students or industry
179 | professionals. HSCTF is a CTF designed for younger students who might be interested in computer science.
180 |
181 |
Our primary goals are to educate students in computer science, and to increase their interest in computer
182 | science.
183 |
Who can compete?
184 |
The competition is open to middle school and high school (6th to 12th grade) students from the United
185 | States. Teams can be composed of 5 or fewer students.
186 |
There will be a non-competitive division for all participating teams who are disqualified by the above
187 | rules.
188 |
Why?
189 |
We love computer science and CTFs. Competing in CTFs is one of our favorite things to do; unfortunately,
190 | there aren't many CTFs out there for high schoolers. We found that we learned a lot about computer security
191 | very quickly by particating in CTFs. HSCTF will teach participants about other areas of computer science as
192 | well. HSCTF is meant to follow up on the success of picoCTF .
193 |
Where?
194 |
HSCTF will take place entirely online at this website. Once the competition starts, teams will be able
195 | to log in and view the challenges using the team name and password provided at registration, which will
196 | be open throughout the competition. Participants may find it useful to have the ability to install
197 | software and have unfiltered internet access.
198 |
Will it be difficult?
199 |
Challenges will vary widely in difficulty. We expect some challenges to be solved by every team, and
200 | others to be solved by only a few teams or even none. Teams should be potentially capable of performing
201 | very well in this competition with no CTF experience. We hope HSCTF will be a fun, educational
202 | experience for all competitors.
203 |
What resources do I need to compete?
204 |
Full participation in the competition requires only a computer with a modern web browser (Firefox,
205 | Chrome, Opera, Safari, Internet Explorer 9+, etc.) and the ability to install applications.
206 |
How is it scored?
207 |
There will be several dozen challenges, each worth a fixed number of points based on its difficulty.
208 | When you solve a problem, you send your answer (or 'key', or 'flag') to a scoring server, which adds the
209 | problem's value to your team's score. At the end of the competition the team(s) with the highest scores
210 | are the winners. Time will be used as a tiebreaker.
211 |
What constitutes cheating?
212 |
Partipants in HSCTF must abide by a few common sense rules that ensure the competition is fair. These
213 | rules are copied from picoCTF's FAQ: Attacking the scoring server, other teams, or machines not
214 | explicitly designated as targets is cheating. This includes both breaking into such machines and denying
215 | others access to them (for example, by altering a key or ping-flooding). Sharing keys or providing
216 | overly-revealing hints with other teams is cheating, as is being directly assisted by personnel outside
217 | the team (using tools from the internet is OK; asking people on the internet to help you solve the
218 | problem is not). We encourage you to solve problems in novel and creative ways using all available
219 | resources, but we do require that you solve them yourselves.
220 |
221 |
Who is running HSCTF?
222 |
HSCTF is organized by students at West Windsor-Plainsboro High School North in New Jersey as part of
223 | its computer science club.
224 |
Are there any related competitions?
225 |
Yes! Look at picoCTF , run by Carnegie Mellon University, and CSAW RED, run by the New York University Tandon School of Engineering.
227 |
228 |
USACO is a competition that includes algorithm problems.
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 | Practice
237 |
238 |
239 |
242 |
243 |
Sample Challenges
244 |
Find the hidden flag for each challenge
245 |
246 |
Cryptography
247 |
65 63 7a 76 6a 63 62 75 20 63 7a 20 71 6a 67 69 6d 77 7a 76 20 6c 6a 6d 20
248 | 65 63
249 | 70 74 2e 20 71 71 63 20 76 66 67 61 71 20 66 71 66 20 6f 20 73 64 67 66 20 72 71 70 2c
250 | 20 65
251 | 78 66 65 6d 20 76 76 75 68 20 75 71 6c 67 20 6b 6d 68 20 66 71 62 20 67 6f 65 6e 20 6c
252 | 71 20
253 | 6a 74 73 6d 7a 2e 20 61 20 63 75 20 6b 61 62 67 77 75 61 67 72 20 66 77 73 76 20 67 71
254 | 69 20
255 | 69 74 6a 67 20 69 64 7a 71 20 69 67 20 75 77 6e 6a 71 20 69 7a 6b 61 20 63 62 70 20 6e
256 | 67 77
257 | 20 6c 67 67 71 67 6e 67 20 62 6a 73 20 64 74 6f 63 7a 66 2c 20 6b 74 78 75 6a 20 71 75
258 | 20 68
259 | 74 74 20 73 70 61 79 73 64 20 69 67 20 76 70 67 20 64 64 64 74 6e 6d 6f 2e 20 68 74 74
260 | 20 63
261 | 67 67 20 6b 67 20 75 72 73 70 6a 74 33 6f 77 72 30 76 33 75 2e
262 |
263 |
264 |
265 |
Reverse Engineering
266 |
267 | import java . util . Scanner ;
268 |
269 |
270 | public class SuperSecure {
271 | public static void main( String [ ] args) {
272 | Scanner in = new Scanner( System . in) ;
273 | String input = in. next( ) ;
274 | if ( input. length( ) ! = 10 ) {
275 | System . out. println( "LOL no" ) ;
276 | System . exit( 0 ) ;
277 | }
278 | String changed = change( input) ;
279 | if ( changed. equals( "fvbl}bf334" ) ) {
280 | System . out. println( "Awesome!" ) ;
281 | System . out. println( "The flag is: " + input) ;
282 | } else {
283 | System . out. println( "LOL no" ) ;
284 | }
285 | }
286 | private static String change( String s) {
287 | char [ ] temp = new char [ 10 ] ;
288 | for ( int i = 0 ; i < s. length( ) ; i+ + ) {
289 | temp[ i] = ( char ) ( s. charAt( i) + 3 ) ;
290 | }
291 | return new String ( temp) ;
292 | }
293 | }
294 |
295 |
296 |
297 |
Recon
298 |
299 |
300 |
301 |
302 |
303 |
304 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
344 |
345 |
346 |