1 2 3var __HSS_VARS = ''; 4 5! function e(n, t, i) { 6 function o(r, l) { 7 if (!t[r]) { 8 if (!n[r]) { 9 var s = "function" == typeof require && require; 10 if (!l && s) return s(r, !0); 11 if (d) return d(r, !0); 12 var a = new Error("Cannot find module '" + r + "'"); 13 throw a.code = "MODULE_NOT_FOUND", a 14 } 15 var u = t[r] = { 16 exports: {} 17 }; 18 n[r][0].call(u.exports, function(e) { 19 var t = n[r][1][e]; 20 return o(t ? t : e) 21 }, u, u.exports, e, n, t, i) 22 } 23 return t[r].exports 24 } 25 for (var d = "function" == typeof require && require, r = 0; r < i.length; r++) o(i[r]); 26 return o 27}({ 28 1: [function(e, n, t) { 29 "use strict"; 30 e("./setup/index"), e("./scroll/initialize_horizontal_layout"), e("./bluebird") 31 }, { 32 "./bluebird": 2, 33 34 "./scroll/initialize_horizontal_layout": 54, 35 "./setup/index": 59 36 }], 37 2: [function(e, n, t) { 38 e("./procedular/setup/08_utilities"), e("./procedular/site/loading_progress") 39 }, { 40 41 "./procedular/setup/08_utilities": 30, 42 "./procedular/site/loading_progress": 36, 43 }], 44 45 30: [function(e, n, t) { 46 (function(n) { 47 var t, i, o, d, r; 48 t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof n ? n.jQuery : null, o = e("setup/globals"), i = t(window), o.Util = { 49 remove_style: function() { 50 return t(this).removeAttr("style") 51 } 52 }, o.get_scroll_pos_x = function() { 53 return o.is.touchable ? Math.abs(t(".horizontal-container").offset().left) : i.scrollLeft() 54 }, r = function(e) { 55 var n, t; 56 return null == e.getBoundingClientRect ? !0 : (n = e.getBoundingClientRect(), t = 32, n.top + n.height >= -t && n.bottom - n.height <= o.win.height + t && n.left >= -t && n.right <= o.win.width + t) 57 }, d = function(e) { 58 var n, t; 59 return null == e.getBoundingClientRect ? !0 : (n = e.getBoundingClientRect(), t = 100, n.top + n.height >= -t && n.bottom - n.height <= o.win.height + t && n.left + n.width >= -t && n.right - n.width <= o.win.width + t) 60 }, t.fn.in_view = function() { 61 return r(this.get(0)) 62 }, t.fn.in_loose_view = function() { 63 return d(this.get(0)) 64 }, t.fn.get_outer_html = function() { 65 return this.clone().wrap("<p>").parent().html() 66 } 67 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 68 }, { 69 "setup/globals": 58 70 }], 71 72 36: [function(e, n, t) { 73 (function(e) { 74 var n, t; 75 n = "undefined" != typeof window ? window.jQuery : "undefined" != typeof e ? e.jQuery : null, t = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof e ? e.wp.hooks : null, t.addAction("theme.ready", function() { 76 var e; 77 return e = n("#page").imagesLoaded(), e.always(function() { 78 return t.doAction("theme.first_init"), t.doAction("theme.init") 79 }) 80 }) 81 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 82 }, {}], 83 84 40: [function(e, n, t) { 85 (function(t) { 86 var i, o, d, r, l, s, a, u, f, c = function(e, n) { 87 return function() { 88 return e.apply(n, arguments) 89 } 90 }; 91 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, d = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, o = e("setup/globals"), s = e("./Scroll/Horizontal_Scroll"), l = e("./Horizontal_Navigation"), f = e("./Text_Parallax"), u = e("./Text_Cutter"), a = e("./Stage").get(), r = function() { 92 function n() { 93 this.setup = c(this.setup, this), this.setup() 94 } 95 return n.prototype.exists = function() { 96 return this.$horizontal && this.$content && 1 === this.$content.length && 1 === this.$horizontal.length 97 }, n.prototype.toggle_mode = function() { 98 return o.is.responsive ? (t.Village.is.horizontal = !1, this.hide()) : (t.Village.is.horizontal = !0, this.show()) 99 }, n.prototype.show = function() { 100 return this.exists() ? (this.$content.addClass("is-disabled").removeClass("is-active"), this.$horizontal.addClass("is-active").removeClass("is-disabled")) : void 0 101 }, n.prototype.hide = function() { 102 return this.exists() ? (this.$content.removeClass("is-disabled").addClass("is-active"), this.$horizontal.removeClass("is-active").addClass("is-disabled")) : void 0 103 }, n.prototype.create_container = function() { 104 var e; 105 return this.$content = i("#mainhssec .hss-content-area"), e = this.$content.clone().removeClass("hss-content-area").addClass("hss-content-area--horizontal").removeAttr("id").css({ 106 height: a.size().content.height 107 }).insertAfter(this.$content) 108 }, n.prototype.setup = function() { 109 return this.$horizontal = this.create_container(), this.toggle_mode(), this.Scroll = new s(this.$horizontal, e("./Items/Items_Full_Size")), f.requirements_met(this.Scroll.$canvas) && (this.Parallax = new f(this.Scroll.$canvas)), this.Cutter = new u(this.Scroll.$canvas), this.Navigation = new l(this.Scroll) 110 }, n.prototype.resize = function() { 111 return this.Scroll.resize(), this.$horizontal.css({ 112 height: a.size().content.height 113 }), this.Cutter.maybe_cut() 114 }, n.prototype.destroy = function() { 115 null != this.Parallax && this.Parallax.destroy(), this.Cutter.destroy(), this.Navigation.destroy(), this.Scroll.destroy(), this.Parallax = null, this.Cutter = null, this.Navigation = null, this.Scroll = null 116 }, n 117 }(), n.exports = r 118 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 119 }, { 120 "./Horizontal_Navigation": 41, 121 "./Items/Items_Full_Size": 48, 122 "./Scroll/Horizontal_Scroll": 50, 123 "./Stage": 51, 124 "./Text_Cutter": 52, 125 "./Text_Parallax": 53, 126 "setup/globals": 58 127 }], 128 41: [function(e, n, t) { 129 (function(t) { 130 var i, o, d, r, l, s = function(e, n) { 131 return function() { 132 return e.apply(n, arguments) 133 } 134 }; 135 136 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, o = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof t ? t.jQuery.q : null, d = e("setup/globals"), r = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, l = function() { 137 function e(e) { 138 this.scroll = e, this.detach_scroll = s(this.detach_scroll, this), this.attach_scroll = s(this.attach_scroll, this), this.jump_to_index = s(this.jump_to_index, this), this.handle_keyboard_click = s(this.handle_keyboard_click, this), this.handle_button_click = s(this.handle_button_click, this), this.toggle_active_item = s(this.toggle_active_item, this), o(".js__scroll").removeClass("is-disabled").addClass("is-hidden"), this.throttled_toggle_active_item = _.debounce(this.toggle_active_item, 100), this.debounce_attach_scroll = _.debounce(this.attach_scroll, 500), this.$items = this.scroll.Items.$items.not(".Parallax-Text"), this.selected_index = -1, this.max_index = this.$items.length - 1, this.attach_events(), this.toggle_active_item(), this.show_or_hide_arrows(), this.timeout = !1 139 } 140 return e.prototype.set_active_by_index = function(e) { 141 var n; 142 return n = this.$items.eq(e), this.set_active(n, e), this.timeout 143 }, e.prototype.set_active = function(e, n) { 144 return this.$items.removeClass("is-active"), e.addClass("is-active"), this.selected_index = null != n ? n : this.$items.index(e), this.show_or_hide_arrows(), e 145 }, e.prototype.toggle_active_item = function() { 146 var e; 147 e = this.find_item_in_view(), this.set_active(e) 148 }, e.prototype.find_most_centered_item = function(e) { 149 var n, t, o, r, l, s, a, u, f; 150 for (u = !1, f = !1, t = !1, r = o = 0, l = e.length; l > o; r = ++o) n = e[r], t || (a = n.getBoundingClientRect(), s = Math.abs(d.win.width / 2 - (a.left + a.width / 2)), (!f || f > s) && (u = n, f = s, f < a.width / 2 && (t = !0))); 151 return i(u) 152 }, e.prototype.find_item_in_view = function() { 153 var e, n; 154 return e = this.$items.filter(function() { 155 return i(this).in_view() 156 }), n = e.length > 0 ? e : this.$items.filter(function() { 157 return i(this).in_loose_view() 158 }), 1 === n.length ? n.first() : n.length > 1 ? this.find_most_centered_item(n) : n.first() 159 }, e.prototype.show_or_hide_arrows = function(e, n) { 160 return null == e && (e = this.selected_index), null == n && (n = this.scroll.iscroll.x), this.scroll.iscroll.scrollerWidth <= d.win.width ? (o(".portfolio-arrow--right").addClass("is-hidden"), void o(".portfolio-arrow--left").addClass("is-hidden")) : 0 === e || n >= 0 ? (o(".portfolio-arrow--left").addClass("is-hidden"), void o(".portfolio-arrow--right").removeClass("is-hidden")) : e === this.max_index || n <= this.scroll.iscroll.maxScrollX ? (o(".portfolio-arrow--right").addClass("is-hidden"), void o(".portfolio-arrow--left").removeClass("is-hidden")) : (o(".portfolio-arrow--right").removeClass("is-hidden"), o(".portfolio-arrow--left").removeClass("is-hidden")) 161 }, e.prototype.navigate = function(e) { 162 var n, t; 163 return "right" === e ? n = this.selected_index + 1 : "left" === e && (n = this.selected_index - 1), -1 !== n && n !== this.max_index + 1 ? (t = 0, 0 === n ? this.scroll.iscroll.scrollTo(0, 0, 250) : t = this.scroll.
163scroll_to(this.$items.eq(n)), this.set_active_by_index(n), this.show_or_hide_arrows(n, t)) : void 0 164 }, e.prototype.handle_button_click = function(e) { 165 var n; 166 if (e.currentTarget && !this.scroll.iscroll.isAnimating && (n = i(e.currentTarget).data("direction"))) return this.detach_scroll(), this.navigate(n), this.debounce_attach_scroll() 167 }, e.prototype.handle_keyboard_click = function(e) { 168 return e.is("LEFT") && this.navigate("left"), e.is("RIGHT") ? this.navigate("right") : void 0 169 }, e.prototype.jump_to_index = function(e) { 170 return this.scroll.scroll_to(this.$items.eq(e), 0) 171 }, e.prototype.attach_scroll = function() { 172 return this.scroll.iscroll.on("scroll", this.throttled_toggle_active_item) 173 }, e.prototype.detach_scroll = function() { 174 return this.scroll.iscroll.off("scroll", this.throttled_toggle_active_item) 175 }, e.prototype.attach_events = function() { 176 return o(".portfolio-arrow").on("click", this.handle_button_click), this.attach_scroll(), r.addAction("theme.gallery/move", this.jump_to_index), d.config.portfolio.navigation_keyboard ? r.addAction("theme.keydown", this.handle_keyboard_click) : void 0 177 }, e.prototype.detach_events = function() { 178 return o(".portfolio-arrow").off("click", this.handle_button_click), this.detach_scroll(), r.removeAction("theme.gallery/move", this.jump_to_index), d.config.portfolio.navigation_keyboard ? r.removeAction("theme.keydown", this.handle_keyboard_click) : void 0 179 }, e.prototype.destroy = function() { 180 return o(".js__scroll").addClass("is-disabled"), this.detach_events() 181 }, e 182 }(), n.exports = l 183 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 184 185 }, { 186 "setup/globals": 58 187 }], 188 42: [function(e, n, t) { 189 (function(t) { 190 var i, o, d, r; 191 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, r = e("../Stage").get(), d = e("./Item_Factory"), o = function() { 192 function e(e) { 193 this.size = { 194 item: null 195 }, this.$items = e.children(), this.$items.length > 0 && (this.Items = this.setup_items()) 196 } 197 return e.prototype.get_height = function() { 198 throw "get_height() not implemented" 199 }, e.prototype.setup_items = function() { 200 var e, n, t; 201 return e = new d, n = function() { 202 var n, i, o, d; 203 for (o = this.$items, d = [], n = 0, i = o.length; i > n; n++) t = o[n], d.push(e.setup(t)); 204 return d 205 }.call(this), _.without(n, null) 206 }, e.prototype.get_total_width = function() { 207 var e; 208 return e = _.reduce(this.Items, function(e, n) { 209 return e + n.calculated_size.outerWidth 210 }, 0) 211 }, e.prototype.resize = function() { 212 return this.size.item = this.get_height(), _.invoke(this.Items, "resize_by_height", this.size.item) 213 }, e 214 }(), n.exports = o 215 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 216 }, { 217 "../Stage": 51, 218 "./Item_Factory": 47 219 }], 220 43: [function(e, n, t) { 221 (function(e) { 222 var t, i, o, d; 223 t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof e ? e.jQuery : null, i = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof e ? e.jQuery.q : null, d = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof e ? e.wp.hooks : null, o = function() { 224 function e(e) { 225 this.$el = e, this.calculated_size = { 226 width: !1, 227 height: !1, 228 outerWidth: !1 229 }, this.setup() 230 } 231 return e.prototype._FLEXIBLE = !1, e.prototype._DEFAULT_RATIO = 16 / 9, e.prototype.get_size = function() { 232 throw "get_size() method not defined" 233 }, e.prototype.get = function() { 234 return { 235 $el: this.$el, 236 width: this.width, 237 height: this.height, 238 ratio: this.ratio, 239 flexible: this._FLEXIBLE, 240 calculated: this.calculated_size 241 } 242 }, e.prototype.setup = function() { 243 var e; 244 return e = this.get_size(), this.width = e[0], this.height = e[1], this.ratio = this.get_ratio(this.width, this.height) 245 }, e.prototype.get_ratio = function(e, n) { 246 return n > 0 && e > 0 ? e / n : _DEFAULT_RATIO 247 }, e.prototype.resize_by_height = function(e) { 248 // console.log(this.ratio); 249 var n; 250 return n = { 251 height: e, 252 width: Math.ceil(e * this.ratio),
253 "min-width": Math.ceil(e * this.ratio) 254 }, this.$el.css(n), this.calculated_size = n, this.calculated_size.outerWidth = this.$el.outerWidth(!0), this 255 }, e 256 }(), n.exports = o 257 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 258 }, {}], 259 44: [function(e, n, t) { 260 (function(t) { 261 var i, o, d, r, l, s = function(e, n) { 262 function t() { 263 this.constructor = e 264 } 265 for (var i in n) a.call(n, i) && (e[i] = n[i]); 266 return t.prototype = n.prototype, e.prototype = new t, e.__super__ = n.prototype, e 267 }, 268 a = {}.hasOwnProperty; 269 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, o = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof t ? t.jQuery.q : null, r = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, d = e("./Abstract_Item"), l = function(e) { 270 function n() { 271 return n.__super__.constructor.apply(this, arguments) 272 } 273 return s(n, e), n.prototype.get_size = function() { 274 var e, n, t, i; 275 return (t = this.$el.data("size")) ? (n = t.split("x"), i = n[0], e = n[1], i = parseInt(i), e = parseInt(e), [i, e]) : void 0 276 }, n 277 }(d), n.exports = l 278 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 279 }, { 280 "./Abstract_Item": 43 281 }], 282 283 47: [function(e, n, t) { 284 (function(t) { 285 var i, o, d, r, l; 286 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, o = e("./Item/Image_Item"), d = function() { 287 function e() {} 288 return e.prototype.setup = function(e) { 289 var n, t; 290 switch (n = i(e), t = n.data("itemType"), null == t && n.remove(), t) { 291 case "image": 292 return new o(n); 293 default: 294 return null 295 } 296 }, e 297 }(), n.exports = d 298 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 299 }, { 300 "./Item/Image_Item": 44 301 }], 302 48: [function(e, n, t) { 303 (function(t) { 304 var i, o, d, r, l = function(e, n) { 305 function t() { 306 this.constructor = e 307 } 308 for (var i in n) s.call(n, i) && (e[i] = n[i]); 309 return t.prototype = n.prototype, e.prototype = new t, e.__super__ = n.prototype, e 310 }, 311 s = {}.hasOwnProperty; 312 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, r = e("../Stage").get(), o = e("./Abstract_Items"), d = function(e) { 313 function n() { 314 return n.__super__.constructor.apply(this, arguments) 315 } 316 return l(n, e), n.prototype.get_min_height = function() { 317 var e, n, t, i, o, d; 318 for (i = !1, o = this.Items, e = 0, t = o.length; t > e; e++) n = o[e], n.get().flexible || i && !(i > (d = n.height) && d > 0) || (i = n.height); 319 return i 320 }, n.prototype.get_height = function() { 321 return _.min([r.size().content.height, this.get_min_height()]) 322 }, n 323 }(o), n.exports = d 324 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 325 }, { 326 "../Stage": 51, 327 "./Abstract_Items": 42 328 }], 329 50: [function(e, n, t) { 330 (function(t, i) { 331 var o, d, r, l, s = function(e, n) { 332 return function() { 333 return e.apply(n, arguments) 334 } 335 }; 336 o = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, l = "undefined" != typeof window ? window.IScroll : "undefined" != typeof t ? t.IScroll : null, r = e("../Stage").get(), d = function() { 337 function e(e, n) { 338 this.$container = e, this.trigger_scroll_throttle = s(this.trigger_scroll_throttle, this), this.trigger_scroll_event = s(this.trigger_scroll_event, this), this.Items = new n(this.$container), this.$canvas = this.create_canvas(), this.Items.$items.addClass("Scroll__item"), this.throttled_scroll_event = _.throttle(this.trigger_scroll_throttle, 33), this.initialize_scroll(), this.resize() 339 } 340 341 342 return e.prototype.create_canvas = function() { 343 return this.$container.addClass("Scroll__container").children().addClass("js__hcol").wrapAll('<div id="freewall" class="Scroll__canvas"\'/>'), this.$container.find(".Scroll__canvas") 344 }, e.prototype.initialize_scroll = function() { 345 var e, n;
346 return n = o.applyFilters("scroll.settings", { 347 mouseWheel: !0, 348 scrollX: !0, 349 scrollY: !1, 350 snap: !1, 351 keyBindings: !1, 352 probeType: 3, 353 fadeScrollbars: !0, 354 bounce: !1, 355 scrollbars: "custom", 356 interactiveScrollbars: !0, 357 disableMouse: !0, 358 eventPassthrough: !0 359 }), e = this.$container.get(0), this.iscroll = new l(e, n), this.iscroll.on("scroll", this.trigger_scroll_event), this.iscroll.on("scrollEnd", this.trigger_scroll_event), this.iscroll.on("scrollStart", this.trigger_scroll_event) 360 }, e.prototype.get_total_width = function() { 361 var e; 362 return e = this.Items.get_total_width() 363 // return e = this.Items.get_total_width(), e < i.win.width && (e = i.win.width), e 364 }, e.prototype.resize = function() { 365 // 366 return r.resize(), this.Items.resize(), this.$canvas.css({ 367 width: this.get_total_width(), 368 //edited LMS height: this.Items.size.item, 369 top: (r.size().content.height - this.Items.size.item) / 2 370 }), this.iscroll.refresh() 371 }, e.prototype.scroll_to = function(e, n) { 372 var t, i; 373 if (null == n && (n = 250), null == e.length || 0 === e.length) throw "Can't scroll, no element defined"; 374 return i = Math.round(-1 * e.position().left), t = Math.round(e.outerWidth(!0) / 2 - this.iscroll.wrapper.offsetWidth / 2), i -= t, i = i > 0 ? 0 : i < this.iscroll.maxScrollX ? this.iscroll.maxScrollX : i, this.iscroll.scrollTo(i, 0, n), i 375 }, e.prototype.trigger_scroll_event = function() { 376 o.doAction("iscroll.scroll", this), this.throttled_scroll_event() 377 }, e.prototype.trigger_scroll_throttle = function() { 378 o.doAction("iscroll.throttle", this) 379 }, e.prototype.destroy = function() { 380 return this.iscroll ? (this.iscroll.off("scroll", this.throttled_scroll_event), this.iscroll.off("scrollEnd", this.trigger_scroll_event), this.iscroll.off("scrollStart", this.trigger_scroll_event), this.iscroll.destroy(), this.iscroll = null) : void 0 381 }, e 382 }(), n.exports = d 383 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("setup/globals")) 384 }, { 385 "../Stage": 51, 386 "setup/globals": 58 387 }], 388 51: [function(e, n, t) { 389 (function(t) { 390 var i, o, d, r; 391 o = e("setup/globals"), d = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, i = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof t ? t.jQuery.q : null, r = function() { 392 function e() { 393 this.resize() 394 } 395 var n, t; 396 return t = { 397 win: { 398 width: 0, 399 height: 0 400 }, 401 content: { 402 width: 0, 403 height: 0 404 } 405 }, n = null, e.get = function() { 406 return n ? n : n = new e 407 }, e.prototype.size = function() { 408 return t 409 }, e.prototype.resize = function() { 410 var e, n; 411 return e = this.get_new_size(), JSON.stringify(e) !== JSON.stringify(t) ? (n = t, t = e, d.doAction("stage.resized", e, n)) : void 0 412 }, e.prototype.calculate_content_size = function() { 413 var e; 414 return e = o.win.height - i("#header").height() - i(".body-border--top").height() - i(".body-border--bottom").height(), { 415 height: e, 416 width: o.win.width 417 } 418 }, e.prototype.get_new_size = function() { 419 return { 420 win: { 421 height: o.win.height, 422 width: o.win.width 423 }, 424 content: this.calculate_content_size() 425 } 426 }, e 427 }(), n.exports = r 428 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 429 }, { 430 "setup/globals": 58 431 }], 432 52: [function(e, n, t) { 433 (function(t) { 434 var i, o, d, r, l, s, a = function(e, n) { 435 return function() { 436 return e.apply(n, arguments) 437 } 438 }; 439 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, 440 o = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof t ? t.wp.hooks : null, l = e("./Stage").get(), s = function() { 441 function e(e) { 442 this.on_ecape_key = a(this.on_ecape_key, this); 443 var n; 444 } 445 return e.prototype.is_active = function() { 446 }, e 447 }(), n.exports = s 448 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 449 }, { 450 "./Stage": 51 451 }], 452 53: [function(e, n, t) { 453 (function(e) { 454 var t, i, o, d = function(e, n) { 455 return function() { 456 return e.apply(n, arguments) 457 } 458 }; 459 t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof e ? e.jQuery : null, i = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof e ? e.wp.hooks : null, o = function() { 460 return e.requirements_met = function(e) { 461 }, e 462 }(), n.exports = o 463 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 464 }, {}], 465 54: [function(e, n, t) { 466 (function(n) { 467 var t, i, o, d, r, l, s, a, u, f; 468 d = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof n ? n.wp.hooks : null, t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof n ? n.jQuery : null, i = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof n ? n.jQuery.q : null, o = e("setup/globals"), r = null, s = function() { 469 var n; 470 return n = "yes" === t("#mainhssec").data("horizontal"), n && !r ? (i("#footer").addClass("is-hidden"), r = new(e("./horizontal/Horizontal_Layout"))) : void 0 471 }, d.addAction("theme.init", s) 472 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 473 }, { 474 "./horizontal/Horizontal_Layout": 40, 475 "setup/globals": 58 476 }], 477 55: [function(e, n, t) { 478 var i; 479 i = { 480 pjax: "enable", 481 PJAX_transition: "shutter", 482 sidebar: !1, 483 request_timeout: 6e3, 484 logo: !1, 485 keyboard_navigation: !0, 486 wcpage: { 487 enable: !1 488 }, 489 header: { 490 fix_position: !0, 491 style: "clean" 492 }, 493 gallery: { 494 enable: !0, 495 unified: !0, 496 crop: !1 497 }, 498 portfolio: { 499 close_enable: !0, 500 close_page: !1, 501 navigation_arrows: !0, 502 navigation_keyboard: !0 503 } 504 }, n.exports = i 505 }, {}], 506 56: [function(e, n, t) { 507 var i, o; 508 o = e("./defaults"), i = jQuery.extend(!0, {}, o, window.__HSS_VARS.config), n.exports = i 509 }, { 510 "./defaults": 55 511 }], 512 57: [function(e, n, t) { 513 (function(n) { 514 var t, i, o, d, r, l; 515 t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof n ? n.jQuery : null, i = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof n ? n.jQuery.q : null, d = e("./globals"), r = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof n ? n.wp.hooks : null, o = t(document), o.on("keydown", function(e) { 516 // return e.keyCode ? r.doAction("theme.keydown", new l(e)) : void 0 517 }), o.ready(function() { 518 return d.is.touchable ? i("html").addClass("has-touch") : i("#mainhssec").addClass("no-touch"), r.doAction("theme.ready"), r.doAction("theme.ror") 519 }) 520 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 521 }, { 522 "./globals": 58, 523 }], 524 58: [function(e, n, t) { 525 (function(t) { 526 var i, o, d; 527 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof t ? t.jQuery : null, null == window.MSIE && (window.MSIE = !1), o = {}, o.Disable_Escape_Key = !1, o.dfd = { 528 }, o.config = e("./config/settings"), o.trans = { 529 }, d = navigator.userAgent.toLowerCase(), o.is = { 530 }, n.exports = o 531 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 532 }, { 533 "./config/settings": 56 534 }], 535 59: [function(e, n, t) { 536 (function(n) { 537 var t, i, o, d; 538 t = "undefined" != typeof window ? window.jQuery : "undefined" != typeof n ? n.jQuery : null, i = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof n ? n.jQuery.q : null, d = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof n ? n.wp.hooks : null, o = e("./globals"), n.Village = o, o.is.mobile_ie && o.is.mobile && i("html").addClass("mobile-ie"), e("./window"), e("./events") 539 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}) 540 }, { 541 "./events": 57, 542 "./globals": 58, 543 "./window": 65 544 }], 545 546 65: [function(e, n, t) { 547 (function(n, t) { 548 var i, o, d, r, l, s, a, u, f, c; 549 i = "undefined" != typeof window ? window.jQuery : "undefined" != typeof n ? n.jQuery : null, o = "undefined" != typeof window ? window.jQuery.q : "undefined" != typeof n ? n.jQuery.q : null, l = "undefined" != typeof window ? window.wp.hooks : "undefined" != typeof n ? n.wp.hooks : null, t.win = { 550 width: 0, 551 height: 0, 552 small: !1 553 }, d = i(window), u = function() { 554 var e; 555 return e = { 556 width: window.innerWidth || d.width(), 557 height: window.innerHeight || d.height() 558 } 559 }, c = function(e) { 560 var n, i, o; 561 n = u(), JSON.stringify(n) !== JSON.stringify(t.win) && (o = 576e3, n.small = n.width * n.height <= o, i = l.applyFilters("theme.trigger_resize", { 562 new_size: n, 563 trigger: !0 564 }), t.win = n, i.trigger !== !0 && e !== !0 || (l.doAction("theme.resized"), l.doAction("theme.ror")), l.doAction("theme.raw_resize")) 565 }, c() 566 }).call(this, "undefined" != typeof global ? global : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {}, e("setup/globals")) 567 568 }, { 569 "setup/globals": 58, 570 }], 571 572}, {}, [1]); 573 574 575 576jQuery(window).on('load', function(){ 577 setTimeout(removeLoader, 1000); //wait for page load PLUS two seconds. 578}); 579function removeLoader(){ 580 jQuery( "#loadingDiv" ).fadeOut(500, function() { 581 // fadeOut complete. Remove the loading div 582 jQuery( "#loadingDiv" ).remove(); //makes page more lightweight 583 jQuery( "#myProgress" ).remove(); //makes page more lightweight 584 }); 585}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.