1 2document.addEventListener('DOMContentLoaded',function(){var elements_to_remove=['#pw-weak','.pw-weak'];var elements_to_remove_length=elements_to_remove.length;for(var i=0;i<elements_to_remove_length;i++){var nodes=document.querySelectorAll(elements_to_remove[i]);var nodes_length=nodes.length;for(var j=0;j<nodes_length;j++){if(nodes[j].parentNode){nodes[j].parentNode.removeChild(nodes[j])}}}}); 3 4 5 6!function(){const o=window.navigator.userAgent;Object.entries({android:/android/i,iphone:/iPhone/i,ipad:/iPad/i}).forEach((([n,i])=>{o.match(i)&&document.body.classList.add(`tec-is-${n}`)}))}(),window.tec=window.tec||{},window.tec.common=window.tec.common||{},window.tec.common.userAgent={}; 7 8 9 10if(typeof jQuery!="undefined"){(function($){"use strict";$(function(){var LSOW_Frontend={init:function(){this.output_custom_css();this.carousel();this.setup_parallax();this.setup_ytp();this.setup_animations()},setup_animations:function(){$(".lsow-visible-on-scroll:not(.animated)").css("opacity",0);"function"!=typeof window.lsow_animate_widgets&&(window.lsow_animate_widgets=function(){"undefined"!=typeof $.fn.livemeshWaypoint&&$(".lsow-animate-on-scroll:not(.animated)").livemeshWaypoint(function(){var animateClass=$(this.element).data("animation");$(this.element).addClass("animated "+animateClass).css("opacity",1)},{offset:"85%"})});window.setTimeout(lsow_animate_widgets,500)},output_custom_css:function(){var custom_css=lsow_settings["custom_css"];if(custom_css!==undefined&&custom_css!=""){custom_css='<style type="text/css">'+custom_css+"</style>";$("head").append(custom_css)}},isMobile:function(){"use strict";if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){return true}return false},vendor_prefix:function(){var prefix;function prefix(){var styles=window.getComputedStyle(document.documentElement,"");prefix=(Array.prototype.slice.call(styles).join("").match(/-(moz|webkit|ms)-/)||styles.OLink===""&&["","o"])[1];return prefix}prefix();return prefix},carousel:function(){if($().slick===undefined){return}var carousel_elements=$(".lsow-carousel, .lsow-posts-carousel,.lsow-gallery-carousel");carousel_elements.each(function(){var carousel_elem=$(this);var rtl=carousel_elem.attr("dir")==="rtl";var settings=carousel_elem.data("settings");var arrows=settings["arrows"];var dots=settings["dots"];var autoplay=settings["autoplay"];var adaptive_height=settings["adaptive_height"];var autoplay_speed=parseInt(settings["autoplay_speed"])||3e3;var animation_speed=parseInt(settings["animation_speed"])||300;var fade="fade"in settings&&settings["fade"]===true;var vertical="vertical"in settings&&settings["vertical"]===true;var pause_on_hover=settings["pause_on_hover"];var pause_on_focus="pause_on_focus"in settings&&settings["pause_on_focus"]==true;var display_columns=parseInt(settings["display_columns"])||4;var scroll_columns=parseInt(settings["scroll_columns"])||4;var tablet_width=parseInt(settings["tablet_width"])||800;var tablet_display_columns=parseInt(settings["tablet_display_columns"])||2;var tablet_scroll_columns=parseInt(settings["tablet_scroll_columns"])||2;var mobile_width=parseInt(settings["mobile_width"])||480;var mobile_display_columns=parseInt(settings["mobile_display_columns"])||1;var mobile_scroll_columns=parseInt(settings["mobile_scroll_columns"])||1;carousel_elem.slick({arrows:arrows,dots:dots,infinite:true,autoplay:autoplay,autoplaySpeed:autoplay_speed,speed:animation_speed,fade:false,vertical:vertical,pauseOnHover:pause_on_hover,pauseOnFocus:pause_on_focus,adaptiveHeight:adaptive_height,slidesToShow:display_columns,slidesToScroll:scroll_columns,rtl:rtl,responsive:[{breakpoint:tablet_width,settings:{slidesToShow:tablet_display_columns,slidesToScroll:tablet_scroll_columns}},{breakpoint:mobile_width,settings:{slidesToShow:mobile_display_columns,slidesToScroll:mobile_scroll_columns}}]})})},setup_parallax:function(){var scroll=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(callback){window.setTimeout(callback,1e3/600)};function init_parallax(){if(LSOW_Frontend.isMobile()===false){var windowHeight=$(window).height();$(".lsow-section-bg-parallax").each(function(){var segment=$(this);var elementHeight=segment.outerHeight(true);var boundingRect=segment[0].getBoundingClientRect();if(boundingRect.bottom>=0&&boundingRect.top<=windowHeight){var distanceToCover=windowHeight+elementHeight;var pixelsMoved=windowHeight-boundingRect.top;var toTransform=50;var transformPercent=toTransform*Math.abs(pixelsMoved/distanceToCover);transformPercent=-transformPercent.toFixed(2);segment.find(".lsow-parallax-bg").css("-"+LSOW_Frontend.vendor_prefix()+"-transform","translate3d(0px, "+transformPercent+"%, 0px)")}})}}if(this.isMobile()===false){scroll(init_parallax);$(window).on("scroll",function(){scroll(init_parallax)})}},setup_ytp:function(){if(this.isMobile()||$().youtube_background===un
10defined){return}jQuery("[data-vbg]").youtube_background()}};LSOW_Frontend.init()})})(jQuery)}; 11 12 13 14jQuery(document).ready(function($){var map=$('.mapplic-routes'),self=map.data('mapplic'),wayfinding=null;var buildFloors=function(){wayfinding=new Wayfinding().init();map.on('svgloaded',function(e,svg,id){wayfinding.build($('[id^=route]',svg),id)})} 15if(self)buildFloors();else{map.on('mapready',function(e,s){self=s;buildFloors()})} 16function Wayfinding(){this.waypoints=[];this.element=null;this.path=null;this.el=null;this.submit=null;this.button=null;this.color='#f23543';this.fromfixed=null;this.strokewidth=3;this.timeouts=[];this.init=function(){this.el=this.markup();self.container.el.append(this.el);return this} 17this.markup=function(){var s=this;this.button=$('<a>-></a>').attr('href','#').addClass('mapplic-ui-button mapplic-routes-button').appendTo(self.container.el);this.button.on('click touchstart',function(e){e.preventDefault();s.el.fadeIn(100);$(this).fadeOut(100)});this.el=$('<div></div>').addClass('mapplic-routes-panel');var close=$('<div></div>').addClass('mapplic-routes-close').appendTo(this.el);var fromselect=$('<div></div').addClass('mapplic-routes-select').appendTo(this.el);$('<small>From:</small>').appendTo(fromselect);if(self.o.landmark){var location=self.getLocationData(self.o.landmark);var locationDiv=$('<div></div>').addClass('mapplic-routes-loc').text(location.title).attr('data-location',location.id);$('<div></div>').append(locationDiv).appendTo(fromselect)}else{$('<div></div>').appendTo(fromselect)} 18var toselect=$('<div></div>').addClass('mapplic-routes-select').appendTo(this.el);$('<small>To:</small>').appendTo(toselect);$('<div></div').appendTo(toselect);var swap=$('<div></div>').addClass('mapplic-routes-swap').appendTo(this.el);swap.on('click',function(){$(this).toggleClass('rotate');var from=$('> div',fromselect);$('> div',toselect).appendTo(fromselect);from.appendTo(toselect)});if(s.fromfixed){this.el.addClass('mapplic-routes-fromfixed');fromselect.hide();swap.hide()} 19$(document).on('click','.mapplic-routes-select',function(){$('.active',s.el).removeClass('active');$(this).addClass('active');$('.mapplic-sidebar').css('display','block')});close.on('click touchstart',function(){s.clear();$('.mapplic-routes-select > div',self.el).empty();s.hidePanel(s)});this.submit=$('<a></a>').attr('href','#').text('Go').addClass('mapplic-routes-submit').attr('type','submit').appendTo(this.el);this.submit.on('click touchstart',function(e){e.preventDefault();$('.mapplic-sidebar').css('display','none');var f=$('.mapplic-routes-loc',fromselect).data('location'),t=$('.mapplic-routes-loc',toselect).data('location');console.log('from:',f);console.log('to:',t);if(s.fromfixed)f=s.fromfixed;$('.active',s.el).removeClass('active');if(f&&t)wayfinding.showPath(f,t);else if(!f)fromselect.addClass('active');else if(!t)toselect.addClass('active');self.hideLocation()});$(document).on('click','.mapplic-routes-icon',function(){var loc=$('<div></div>').addClass('mapplic-routes-loc').text($(this).siblings('a').children('h4').text()).attr('data-location',$(this).closest('li').attr('data-location'));$('.mapplic-routes-select.active > div',s.el).empty().append(loc);fromselect.trigger('click');s.showPanel(s);$('.mapplic-sidebar').css('display','none');document.activeElement.blur()});self.el.on('locationopened',function(e,location){var loc=$('<div></div>').addClass('mapplic-routes-loc').text(location.title).attr('data-location',location.id);$('.mapplic-routes-select.active > div',s.el).empty().append(loc)});return this.el} 20this.showPanel=function(s){s.el.fadeIn(100);s.button.fadeOut(100)} 21this.hidePanel=function(s){s.el.fadeOut(100);s.button.fadeIn(100);$('.active',s.el).removeClass('active')} 22this.build=function(routes,fid){var s=this;this.element=routes;$('> *',routes).each(function(){var id=$(this).attr('id');switch(this.tagName){case 'line':var a=s.addPoint($(this).attr('x1'),$(this).attr('y1'),id,routes,fid),b=s.addPoint($(this).attr('x2'),$(this).attr('y2'),id,routes,fid);val=s.distance(a,b);s.linkPoint(a,b,val);s.linkPoint(b,a,val);break;case 'polygon':case 'polyline':var pairs=$(this).attr('points').replace(/\s\s+/g,' ').trim().split(' ');var first=null,prev=null;for(var i=0;i<pairs.length;i++){var pair=pairs[i].split(','),point=s.addPoint(pair[0],pair[1],id,routes,fid);if(prev){var val=s.distance(point,prev);s.linkPoint(point,prev,val);s.linkPoint(prev,point,val)}else first=point;prev=point} 23if(this.tagName=='polygon'){var val=s.distance(first,point);s.linkPoint(point,first,val);s.linkPoint(first,point,val)} 24break;default:console.log('Warning: Invalid element in routes: '+this.tagName+'. Valid types are line, polyline and polygon.')}});if(routes.length>0){for(var i=0;i<this.waypoints.length;i++){if(this.waypoints[i].id&&(this.waypoints[i].id.indexOf('pf-')==0)){var g=this.waypoints[i].id.split('-').slice(0,2).join('-');for(var j=i+1;j<this.waypoints.length;j++){if(this.waypoints[j].id&&this.waypoints[j].id.indexOf(g)==0){s.linkPoint(this.waypoints[i],this.waypoints[j],20);s.linkPoint(this.waypoints[j],this.waypoints[i],20)}}}}}} 25this.showPath=function(a,b){var wpa=this.getPoint('p-'+a),wpb=this.getPoint('p-'+b),path=this.shortestPath(wpa,wpb),start=0,dist=0;this.clear();for(var i=1;i<path.length;i++){if(path[i-1].fid!=path[i].fid){this.showSubPath(path.slice(start,i
25),path[i].dist-dist,dist,path[start].fid);dist=path[i].dist;start=i}} 26this.showSubPath(path.slice(start,path.length),wpb.dist-dist,dist,path[start].fid)} 27this.showSubPath=function(subpath,dist,dur,fid){var s=this;var t=setTimeout(function(){self.switchLevel(fid);var path=s.drawPath(subpath,dist),bbox=path[0].getBBox();self.moveTo((bbox.x+bbox.width/2)/self.contentWidth,(bbox.y+bbox.height/2)/self.contentHeight,s.bboxZoom(bbox))},dur*10+s.timeouts.length*600);s.timeouts.push(t)} 28this.bboxZoom=function(bbox){var padding=80,wr=self.container.el.width()/(bbox.width+padding),hr=self.container.el.height()/(bbox.height+padding);return Math.min(wr,hr)} 29this.drawCircle=function(wp,color){color=typeof color!=='undefined'?color:'red';var circle=$(this.svg('circle')).attr('cx',wp.x).attr('cy',wp.y).attr('r',2).attr('fill',color).attr('stroke','none').appendTo(wp.floor)} 30this.drawPath=function(list,dist){var d='M '+list[0].x+','+list[0].y;for(var i=0;i<list.length;i++)d+=' L'+list[i].x+','+list[i].y;this.path=$(this.svg('path')).attr('class','mapplic-routes-path').attr('stroke',this.color).attr('stroke-width',this.strokewidth).attr('stroke-linecap','round').attr('stroke-linejoin','round').attr('d',d).attr('fill','none').css('display','block').appendTo(list[0].floor.parent());var p=this.path.get(0),length=p.getTotalLength();p.style.strokeDasharray=length+' '+length;p.style.strokeDashoffset=length;p.getBoundingClientRect();p.style.transition=p.style.WebkitTransition='stroke-dashoffset '+dist/300+'s ease-in-out';p.style.strokeDashoffset='0';return this.path} 31this.clear=function(){$('.mapplic-routes-path',map).remove();for(var i=0;i<this.timeouts.length;i++){clearTimeout(this.timeouts[i])} 32this.timeouts=[]} 33this.shortestPath=function(a,b){for(var i=0;i<this.waypoints.length;i++){this.waypoints[i].dist=Number.POSITIVE_INFINITY;this.waypoints[i].prev=undefined} 34a.dist=0;var q=this.waypoints.slice();while(q.length>0){var min=Number.POSITIVE_INFINITY,u=0;for(var i=0;i<q.length;i++){if(q[i].dist<min){u=i;min=q[i].dist}} 35var p=q[u];q.splice(u,1);for(var i=0;i<p.n.length;i++){var alt=p.dist+p.n[i].val;if(alt<p.n[i].to.dist){p.n[i].to.dist=alt;p.n[i].to.prev=p}}} 36var target=b,path=[target];while(target.prev!==undefined){target=target.prev;path.unshift(target)} 37return path} 38this.addPoint=function(x,y,id,floor,fid){var point=this.pointExists(this.waypoints,x,y);if(!point){this.waypoints.push({id:id,x:x,y:y,floor:floor,fid:fid,n:[]});point=this.waypoints[this.waypoints.length-1];if(id)$('<div></div>').addClass('mapplic-routes-icon').appendTo($('.mapplic-list-location[data-location='+id.replace('p-','')+']',self.el));} 39return point} 40this.getPoint=function(id){for(var i=0;i<this.waypoints.length;i++){if(this.waypoints[i].id==id)return this.waypoints[i]} 41return null} 42this.linkPoint=function(a,b,val){val=typeof val!=='undefined'?val:0;if(!this.pointExists(a.n,b.x,b.y)){a.n.push({to:b,val:val})}} 43this.pointExists=function(list,x,y){for(var i=0;i<list.length;i++){if((list[i].x==parseFloat(x))&&(list[i].y==parseFloat(y))){return list[i]}} 44return null} 45this.distance=function(a,b){return Math.sqrt(Math.pow((a.x-b.x),2)+Math.pow((a.y-b.y),2))} 46this.svg=function(tag){return document.createElementNS('http://www.w3.org/2000/svg',tag)}}}); 47 48 49 50jQuery(function(){jQuery('.wom-sales-archive-info').on('click',function(e){if(!jQuery(e.target).is("a")){var staus=jQuery('.wom-sales-content',this).css('display');if(staus=='block'){jQuery('.wom-sales-content',this).hide(500);jQuery('.wom-sales-expand',this).removeClass('open')}else{jQuery('.wom-sales-content',this).show(500);jQuery('.wom-sales-expand',this).addClass('open')}}});if(window.location.hash){var hash=window.location.hash.substring(1);jQuery('.wom-sales-archive-info','#'+hash).trigger('click')}}); 51 52 53 54jQuery(function(){jQuery('.wom-stores-catSelect').click(function(){womStoresToggleCategories();var id=jQuery(this).data('id');var name=jQuery(this).data('name');console.log(name);jQuery('.wom-store-archive').css('opacity','0');jQuery('#wom-stores-loader').css('display','block');if(jQuery(this).data('id')!='0'){var sel='.'+jQuery(this).data('id');jQuery('.wom-store-archive').removeClass('active');jQuery(sel).addClass('active')}else{jQuery('.wom-store-archive').addClass('active')} 55jQuery('#storeSeach').val('') 56jQuery('#wom-stores-button span.name').html(name);setTimeout(function(){jQuery('#wom-stores-loader').css('display','none');jQuery('.wom-store-archive').css('opacity','1')},200)});if(window.location.hash){var hash=window.location.hash.substring(1);jQuery('*[data-name="'+hash+'"]').trigger('click')} 57jQuery('#storeSeach').on('keyup change',function(){var search=jQuery(this).val();console.log('search:',search);jQuery('#wom-stores-button span.name').html('All Categories');if(search==''){jQuery('.wom-store-archive').addClass('active')}else{jQuery('.wom-store-archive').removeClass('active');jQuery(".wom-store-archive h2:contains('"+search+"')").closest('.wom-store-archive').addClass('active')}})});jQuery.expr[":"].contains=jQuery.expr.createPseudo(function(arg){return function(elem){return jQuery(elem).text().toUpperCase().indexOf(arg.toUpperCase())>=0}});function womStoresToggleCategories(){var position=jQuery('#wom-stores-category').position();if(jQuery('#wom-stores-catListing').css('display')!='block'){jQuery('#wom-stores-catListing').css('display','block');jQuery('#wom-stores-button span.icon').html('▲')}else{jQuery('#wom-stores-catListing').css('display','none');jQuery('#wom-stores-button span.icon').html('▼')}}; 58 59 60 61(function(){var container,button,menu,links,i,len;container=document.getElementById('site-navigation');pagehead=document.getElementById('masthead');if(!container){return} 62button=container.getElementsByTagName('button')[0];if('undefined'===typeof button){return} 63menu=container.getElementsByTagName('ul')[0];if('undefined'===typeof menu){button.style.display='none';return} 64menu.setAttribute('aria-expanded','false');
64if(-1===menu.className.indexOf('nav-menu')){menu.className+=' nav-menu'} 65button.onclick=function(){if(-1!==container.className.indexOf('toggled')){container.className=container.className.replace(' toggled','');pagehead.className=pagehead.className.replace(' toggled','');button.setAttribute('aria-expanded','false');menu.setAttribute('aria-expanded','false')}else{container.className+=' toggled';pagehead.className+=' toggled';button.setAttribute('aria-expanded','true');menu.setAttribute('aria-expanded','true')}};links=menu.getElementsByTagName('a');for(i=0,len=links.length;i<len;i++){links[i].addEventListener('focus',toggleFocus,!0);links[i].addEventListener('blur',toggleFocus,!0)} 66function toggleFocus(){var self=this;while(-1===self.className.indexOf('nav-menu')){if('li'===self.tagName.toLowerCase()){if(-1!==self.className.indexOf('focus')){self.className=self.className.replace(' focus','')}else{self.className+=' focus'}} 67self=self.parentElement}}(function(container){var touchStartFn,i,parentLink=container.querySelectorAll('.menu-item-has-children > a, .page_item_has_children > a');if('ontouchstart' in window){touchStartFn=function(e){var menuItem=this.parentNode,i;if(!menuItem.classList.contains('focus')){e.preventDefault();for(i=0;i<menuItem.parentNode.children.length;++i){if(menuItem===menuItem.parentNode.children[i]){continue} 68menuItem.parentNode.children[i].classList.remove('focus')} 69menuItem.classList.add('focus')}else{menuItem.classList.remove('focus')}};for(i=0;i<parentLink.length;++i){parentLink[i].addEventListener('touchstart',touchStartFn,!1)}}}(container))})(); 70 71 72 73(function(factory){if(typeof define==='function'&&define.amd){define(['jquery','hammerjs'],factory)}else if(typeof exports==='object'){factory(require('jquery'),require('hammerjs'))}else{factory(jQuery,Hammer)}}(function($,Hammer){function hammerify(el,options){var $el=$(el);if(!$el.data("hammer")){$el.data("hammer",new Hammer($el[0],options))}} 74$.fn.hammer=function(options){return this.each(function(){hammerify(this,options)})};Hammer.Manager.prototype.emit=(function(originalEmit){return function(type,data){originalEmit.call(this,type,data);$(this.element).trigger({type:type,gesture:data})}})(Hammer.Manager.prototype.emit)})); 75 76 77 78if(typeof jwa_home_slider_seconds==='undefined'){var jwa_home_slider_seconds=8000} 79var jwa_home_slider_timer=setTimeout(nextSlide,jwa_home_slider_seconds);var jwa_home_slider_in_bottom=0;var jwa_home_slider_out_bottom='-700px';jQuery(function(){jQuery('.home-slider-frame').eq(0).addClass('active');var mq=window.matchMedia("(max-width: 600px)");if(mq.matches){jQuery('.home-slider-frames').hammer().bind("swipeleft",function(e){nextSlide()});jQuery('.home-slider-frames').hammer().bind("swiperight",function(e){prevSlide()})}});function nextSlide(){var index=jQuery('.home-slider-frame.active').index();index++;if(index>=jQuery('.home-slider-frame').length){index=0} 80showSlide(index)} 81function prevSlide(){var index=jQuery('.home-slider-frame.active').index();index--;if(index<0){index=jQuery('.home-slider-frame').length-1} 82showSlide(index)} 83function showSlide(index){if(typeof showSlide.blIsRunning=='undefined'){showSlide.blIsRunning=!1} 84if(!showSlide.blIsRunning){showSlide.blIsRunning=!0;clearTimeout(jwa_home_slider_timer);var mq=window.matchMedia("(max-width: 600px)");if(mq.matches){jQuery('.home-slider-frame').css('z-index','1');jQuery('.home-slider-frame').eq(index).addClass('active');jQuery('.home-slider-frame').not(':eq('+index+')').removeClass('active');showSlide.blIsRunning=!1}else{jQuery('.home-slider-frame').css('z-index','1');jQuery('.home-slider-frame').eq(index).addClass('active').css('z-index','0').css('bottom',jwa_home_slider_in_bottom);jQuery('.home-slider-frame').not(':eq('+index+')').removeClass('active').animate({'bottom':jwa_home_slider_out_bottom},350,function(){showSlide.blIsRunning=!1})} 85jwa_home_slider_timer=setTimeout(nextSlide,jwa_home_slider_seconds)}}; 86 87 88 89/*! 90 Colorbox 1.6.4 91 license: MIT 92 http://www.jacklmoore.com/colorbox 93*/ 94(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}
vendor: 8,653 bytes, line 94
94function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),A=W.index(_.el),-1===A&&(W=W.add(_.el),A=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new r(i,o),g(_.get("rel")),!U){U=$=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+k.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=Math.max((l!==!1?Math.min(h,a(l,"x")):h)-z-D,0),_.h=Math.max((f!==!1?Math.min(s,a(f,"y")):s)-N-j,0),I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(F).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){x||(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),L=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(F=n(se,"Title"),R=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),S=t('<button type="button"/>').attr({id:Z+"Slideshow"}),L),B=t('<button type="button"/>').attr({id:Z+"Close"}),y.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),k=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),M=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(R).add(S)),e.body&&!x.parent().length&&t(e.body).append(v,x.append(y,M))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return x?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;U&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),U&&_.get("arrowKey")&&W[1]&&!t.altKey&&(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,r,h=J.prep,d=++le;if($=!0,q=!1,u(he),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){L.show()},100),_.get("inline")){var c=t(e).eq(0);r=t("<div>").hide().insertBefore(c),ae.one(he,function(){r.replaceWith(c)}),h(c)}else _.get("iframe")?h(" "):_.get("html")?h(_.get("html")):s(_,e)?(e=l(_,e),q=_.get("createImg"),t(q).addClass(Z+"Photo").bind("error."+Z,function(){h(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(q.height=q.height/i.devicePixelRatio,q.width=q.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){q.height-=q.height*e,q.width-=q.width*e},_.mw&&q.width>_.mw&&(e=(q.width-_.mw)/q.width,o()),_.mh&&q.height>_.mh&&(e=(q.height-_.mh)/q.height,o())),_.h&&(q.style.marginTop=Math.max(_.mh-q.height,0)/2+"px"),W[1]&&(_.get("loop")||W[A+1])&&(q.style.cursor="pointer",t(q).bind("click."+Z,function(){J.next()})),q.style.width=q.width+"px",q.style.height=q.height+"px",h(q)},1)}),q.src=e):e&&M.load(e,_.get("data"),function(e,i){d===le&&h("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B,O,_,j,D,N,z,A,q,U,$,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",re=Z+"_closed",he=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(h)}function e(){(_.get("loop")||W[A+1])&&(t(),h=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){S.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),x.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),S.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),x.removeClass(a+"on").addClass(a+"off")}function o(){r=!1,S.hide(),t(),ae.unbind(ne,e).unbind(ie,t),x.removeClass(a+"off "+a+"on")}var r,h,a=Z+"Slideshow_",s="click."+Z;return function(){r?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&W[1]&&(r=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),S.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new r(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=k[0].style.width=b[0].style.width=parseInt(x[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(x[0].style.height,10)-j+"px"}var r,h,s,l=0,d=0,c=x.offset();if(E.unbind("resize."+Z),x.css({top:-9e4,left:-9e4}),h=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=h,c.left-=s,x.css({position:"fixed"})):(l=h,d=s,x.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),x.css({top:c.top,left:c.left,visibility:"visible"}),y[0].style.width=y[0].style.height="9999px",r={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(r,function(t){return r[t]!==de[t]?(g=e,void 0):void 0}),e=g}de=r,e||x.css(r),x.dequeue().animate(r,{duration:e||0,complete:function(){n(),$=!1,y[0].style.width=_.w+z+D+"px",y[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;U&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}
94),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function a(){return _.h=_.h||I.height(),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if(U){var d,g="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(M.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:a()}).prependTo(b),M.hide(),t(q).css({"float":"none"}),c(_.get("className")),d=function(){function i(){t.support.opacity===!1&&x[0].style.removeAttribute("filter")}var n,o,a=W.length;U&&(o=function(){clearTimeout(Q),L.hide(),u(ne),_.get("onComplete")},F.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&R.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([h(-1),h(1)],function(){var i,n=W[this],o=new r(n,t.data(n,Y)),h=o.get("href");h&&s(o,h)&&(h=l(o,h),i=e.createElement("img"),i.src=h)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(he,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?x.fadeTo(g,1,i):i())},"fade"===_.get("transition")?x.fadeTo(g,0,function(){J.position(0,d)}):J.position(g,d)}},J.next=function(){!$&&W[1]&&(_.get("loop")||W[A+1])&&(A=h(1),f(W[A]))},J.prev=function(){!$&&W[1]&&(_.get("loop")||A)&&(A=h(-1),f(W[A]))},J.close=function(){U&&!G&&(G=!0,U=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),x.stop().fadeTo(_.get("fadeOut")||0,0,function(){x.hide(),v.hide(),u(he),I.remove(),setTimeout(function(){G=!1,u(re),_.get("onClosed")},1)}))},J.remove=function(){x&&(x.stop(),t[Y].close(),x.stop(!1,!0).remove(),v.remove(),G=!1,x=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)})(jQuery,document,window); 95 96 97 98if(typeof jwa_home_sign_up_path==='undefined'){var jwa_home_sign_up_path=''} 99jQuery(function(){jQuery('a#signup').colorbox({inline:!0,width:"90%",maxWidth:"400px",onLoad:function(){turnstile.render(".cf-turnstile-pop",{sitekey:"0x4AAAAAAAIegarM5KbnLoGv"})}});jQuery('#jwa-sign-up-form-full').submit(function(e){e.preventDefault();jQuery('#jwa_home_sign_up_path-loader').css('display','block');console.log('path:',jwa_home_sign_up_path);jQuery.ajax({type:'POST',url:jwa_home_sign_up_path+'/inc/signup.php',crossDomain:!0,data:jQuery("#jwa-sign-up-form-full").serializeArray(),success:function(data,textStatus,jqXHR){jQuery('#jwa_home_sign_up_path-loader').css('display','none');if(data.result=='success'){console.log(data);jQuery('#jwa-sign-up-form-full').after('<p class="success">'+data.message+'</p>');jQuery('#jwa-sign-up-form-full').remove();jQuery('a#signup').colorbox.resize()}else{console.log(data);jQuery('#jwa-sign-up-form-full p.error').html(data.message)}},error:function(responseData,textStatus,errorThrown){jQuery('#jwa_home_sign_up_path-loader').css('display','none');alert('There was an error processing your request.\n'+errorThrown)}})})}); 100 101
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.