PageSourceSearch

https://sailuniverse.com/wp-content/uploads/hummingbird-assets/57732f2fea301ec70349745d6ab014ae.js

js sailuniverse.com collected 2026-10-02 19:57:54 UTC 79,795 bytes, 2 lines download raw bytes

1/**handles:tie-js-ilightbox**/
2!function(g,p,Q){function F(e,t){return parseInt(e.css(t),10)||0}function J(){var e=p,t="inner";return"innerWidth"in p||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function ia(){var e=L();p.location.hash="",p.scrollTo(e.x,e.y)}function ja(e,t){e="//ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),g.ajax({url:e,dataType:"jsonp"}),iLCallback=function(e){t.call(this,e)}}function R(e){var o=[];return g("*",e).each(function(){var e="";if("none"!=g(this).css("background-image")?e=g(this).css("background-image"):void 0!==g(this).attr("src")&&"img"==this.nodeName.toLowerCase()&&(e=g(this).attr("src")),-1==e.indexOf("gradient"))for(var e=(e=(e=(e=(e=e.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(","),t=0,i;t<e.length;t++){0<e[t].length&&-1==g.inArray(e[t],o)&&(i="",D.msie&&D.version<9&&(i="?"+M(3e3*S())),o.push(e[t]+i))}}),o}function Z(e){var t;return 0<=e.indexOf(".jpg")&&0<=e.indexOf("?")&&0<=e.indexOf("instagram.com")||/\.(jpg|jpeg|png|gif|webp|avif)$/.test(e.replace("?ssl=1",""))?"jpg":(t=-1!==(e=e.split(".").pop().toLowerCase()).indexOf("?")?e.split("?").pop():"",e.replace(t,""))}function aa(e){return e=Z(e),-1!==T.image.indexOf(e)?"image":-1!==T.flash.indexOf(e)?"flash":-1!==T.video.indexOf(e)?"video":"iframe"}function ba(e,t){return parseInt(t/100*e)}function U(e){return(e=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/))?{href:e[0]||"",protocol:e[1]||"",authority:e[2]||"",host:e[3]||"",hostname:e[4]||"",port:e[5]||"",pathname:e[6]||"",search:e[7]||"",hash:e[8]||""}:null}function N(e,t){function i(e){var t=[];return e.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),t.join("").replace(/^\//,"/"===e.charAt(0)?"/":"")}return t=U(t||""),e=U(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t:e).authority+i(t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname)+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function ka(e,t,i){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var o=0,n=0,a=0,s={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},o,r=function(e){return e?isNaN(e)?s[e]||-7:parseInt(e,10):0};for(e=(o=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]})(e),t=o(t),n=ca(e.length,t.length),o=0;o<n;o++)if(e[o]!=t[o]){if(e[o]=r(e[o]),t[o]=r(t[o]),e[o]<t[o]){a=-1;break}if(e[o]>t[o]){a=1;break}}if(!i)return a;switch(i){case">":case"gt":return 0<a;case">=":case"ge":return 0<=a;case"<=":case"le":return a<=0;case"==":case"=":case"eq":return 0===a;case"<>":case"!=":case"ne":return 0!==a;case"":case"<":case"lt":return a<0;default:return}}function L(){var e=0,t=0;return"number"==typeof p.pageYOffset?(t=p.pageYOffset,e=p.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:t}}function da(e,t,i){var o=r[e+t];return null!=(o=null==o?r[t]:o)?(i=null==(i=0==t.indexOf(e)&&null==i?t.substring(e.length):i)?t:i)+'="'+o+'" ':""}function A(e,t){return 0==e.indexOf("emb#")?"":(0==e.indexOf("obj#")&&null==t&&(t=e.substring(4)),da("obj#",e,t))}function G(e,t){return 0==e.indexOf("obj#")?"":(0==e.indexOf("emb#")&&null==t&&(t=e.substring(4)),da("emb#",e,t))}function ea(e,t){var i,o="",t=t?" />":">";return o=-1==e.indexOf("emb#")&&(null==(i=r["obj#"+e])&&(i=r[e]),0==e.indexOf("obj#")&&(e=e.substring(4)),null!=i)?'  <param name="'+e+'" value="'+i+'"'+t+"\n":o}function la(){for(var e=0;e<arguments.length;e++){var t=arguments[e];delete r[t],delete r["emb#"+t],delete r["obj#"+t]}}function ma(){var e="QT_GenerateOBJECTText",t=arguments;if(t.length<4||0!=t.length%2)t=(t=na).replace("%%",e),alert(t),e="";else{(r=[]).src=t[0],r.width=t[1],r.height=t[2],r.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",r.pluginspage="http://www.apple.com/quicktime/download/",e=t[3],r.codebase="http://www.apple.com/qtactivex/qtplugin.cab#ver
2sion="+(e=null!=e&&""!=e?e:"6,0,2,0");for(var i,o=4;o<t.length;o+=2)i=t[o].toLowerCase(),e=t[o+1],"name"==i||"id"==i?r.name=e:r[i]=e;for(i in t="<object "+A("classid")+A("width")+A("height")+A("codebase")+A("name","id")+A("tabindex")+A("hspace")+A("vspace")+A("border")+A("align")+A("class")+A("title")+A("accesskey")+A("noexternaldata")+">\n"+ea("src",!1),o="  <embed "+G("src")+G("width")+G("height")+G("pluginspage")+G("name")+G("align")+G("tabindex"),la("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey"),r)e=r[i],null!=e&&(o+=G(i),t+=ea(i,!1));e=t+o+"> </embed>\n</object>"}return e}var T={flash:["swf"],image:"bmp gif jpeg jpg png tiff tif jfif jpe webp avif".split(" "),iframe:"asp aspx cgi cfm htm html jsp php pl php3 php4 php5 phtml rb rhtml shtml txt".split(" "),video:"avi mov mpg mpeg movie mp4 webm ogv ogg 3gp m4v".split(" ")},O=g(p),E=g(document),D,B,H,t="",V=navigator.userAgent||navigator.vendor||p.opera,z=!!("ontouchstart"in p)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(V),oa=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(V)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(V.substr(0,4)),K=z?"itap.iLightBox":"click.iLightBox",pa=z?"touchstart.iLightBox":"mousedown.iLightBox",qa=z?"touchend.iLightBox":"mouseup.iLightBox",W=z?"touchmove.iLightBox":"mousemove.iLightBox",I=Math.abs,P=Math.sqrt,X=Math.round,ca=Math.max,Y=Math.min,M=Math.floor,S=Math.random,fa=function(e,t,i,o){var n=this;n.options=t,n.selector=e.selector||e,n.context=e.context,n.instant=o,i.length<1?n.attachItems():n.items=i,n.vars={total:n.items.length,start:0,current:null,next:null,prev:null,BODY:g("body"),loadRequests:0,overlay:g('<div class="ilightbox-overlay"></div>'),loader:g('<div class="ilightbox-loader"><div></div></div>'),toolbar:g('<div class="ilightbox-toolbar"></div>'),innerToolbar:g('<div class="ilightbox-inner-toolbar"></div>'),title:g('<div class="ilightbox-title"></div>'),closeButton:g('<a class="ilightbox-close" title="'+n.options.text.close+'"></a>'),fullScreenButton:g('<a class="ilightbox-fullscreen" title="'+n.options.text.enterFullscreen+'"></a>'),innerPlayButton:g('<a class="ilightbox-play" title="'+n.options.text.slideShow+'"></a>
2'),innerNextButton:g('<a class="ilightbox-next-button" title="'+n.options.text.next+'"></a>'),innerPrevButton:g('<a class="ilightbox-prev-button" title="'+n.options.text.previous+'"></a>'),holder:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+'" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextPhoto:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+' ilightbox-next" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),prevPhoto:g('<div class="ilightbox-holder'+(z?" supportTouch":"")+' ilightbox-prev" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextButton:g('<a class="ilightbox-button ilightbox-next-button" ondragstart="return false;" title="'+n.options.text.next+'"><span></span></a>'),prevButton:g('<a class="ilightbox-button ilightbox-prev-button" ondragstart="return false;" title="'+n.options.text.previous+'"><span></span></a>'),thumbnails:g('<div class="ilightbox-thumbnails" ondragstart="return false;"><div class="ilightbox-thumbnails-container"><a class="ilightbox-thumbnails-dragger"></a><div class="ilightbox-thumbnails-grid"></div></div></div>'),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},n.vars.hideableElements=n.vars.nextButton.add(n.vars.prevButton),n.normalizeItems(),n.availPlugins(),n.options.startFrom=0<n.options.startFrom&&n.options.startFrom>=n.vars.total?n.vars.total-1:n.options.startFrom,n.options.startFrom=n.options.randomStart?M(S()*n.vars.total):n.options.startFrom,n.vars.start=n.options.startFrom,o?n.instantCall():n.patchItemsEvents(),n.options.linkId&&(n.hashChangeHandler(),O.iLightBoxHashChange(function(){n.hashChangeHandler()})),z&&(n.options.caption.show=n.options.caption.show.replace(e=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi,"itap"),n.options.caption.hide=n.options.caption.hide.replace(e,"itap"),n.options.social.show=n.options.social.show.replace(e,"itap"),n.options.social.hide=n.options.social.hide.replace(e,"itap")),n.options.controls.arrows&&g.extend(n.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})},ha=(fa.prototype={showLoader:function(){this.vars.loadRequests+=1,"horizontal"==this.options.path.toLowerCase()?this.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},this.options.show.speed,"easeOutCirc"):this.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},this.options.show.speed,"easeOutCirc")},hideLoader:function(){--this.vars.loadRequests,this.vars.loadRequests=this.vars.loadRequests<0?0:this.vars.loadRequests,"horizontal"==this.options.path.toLowerCase()?this.vars.loadRequests<=0&&this.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},this.options.show.speed,"easeInCirc"):this.vars.loadRequests<=0&&this.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},this.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){0<arguments.length?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var a=this,b=[],c=[];g(a.selector,a.context).each(function(){var d=g(this),e=d.attr(a.options.attr)||null,f=d.data("options")&&eval("({"+d.data("options")+"})")||{},h=d.data("caption"),l=d.data("title"),k=d.data("type")||aa(e);c.push({URL:e,caption:h,title:l,type:k,options:f}),a.instant||b.push(d)}),a.items=c,a.itemsObject=b},normalizeItems:function(){var l=this,c=[];g.each(l.items,function(e,t){var i=(t="string"==typeof t?{url:t}:t).url||t.URL||null,o=t.options||{},n=t.caption||null,a=t.title||null,s=t.type?t.type.toLowerCase():aa(i),r="object"!=typeof i?Z(i):"";o.thumbnail=o.thumbnail||("image"==s?i:null),o.videoType=o.videoType||null,o.skin=o.skin||l.options.skin,o.width=o.width||null,o.height=o.height||null,o.mousewheel=void 0===o.mousewheel||o.mousewheel,o.swipe=void 0===o.swipe||o.swipe,o.social=void 0!==o.social?o.social:l.options.social.buttons&&g.extend({},{},l.options.social.buttons),"video"==s&&(o.html5video=void 0!==o.html5video?o.html5video:{},o.html5video.webm=o.html5video.webm||o.html5video.WEBM||null,o.html5video.controls=void 0!==o.html5video.controls?o.html5video.controls:"controls",o.html5video.preload=o.html5video.preload||"metadata",o.html5video.autoplay=void 0!==o.html5video.autoplay&&o.html5video.autoplay),o.width&&o.height||("video"==s?(o.width=1280,o.height=720):"iframe"==s?(o.width="100%",o.height="90%"):"flash"==s&&(o.width=1280,o.height=720)),delete t.url,t.index=e,t.URL=i,t.caption=n,t.title=a,t.type=s,t.options=o,t.ext=r,c.push(t)}),l.items=c},instantCall:function(){var e=this.vars.start;this.vars.current=e,this.vars.next=this.items[e+1]?e+1:null,this.vars.prev=this.items[e-1]?e-1:null,this.addContents(),this.patchEvents()},addContents:function(){var i=this,a=i.vars,s=i.options,e=J(),t=s.path.toLowerCase(),o=0<a.total&&i.items.filter(function(e,t,i){return-1===["image","flash","video"].indexOf(e.type)&&void 0===e.recognized&&(s.smartRecognition||e.options.smartRecognition)}),n=0<o.length,r=(s.mobileOptimizer&&!s.innerToolbar&&(a.isMobile=e.width<=a.mobileMaxWidth),a.overlay.addClass(s.skin).hide().css("opacity",s.overlay.opacity),s.linkId&&a.overlay[0].setAttribute("linkid",s.linkId),s.controls.toolbar&&(a.toolbar.addClass(s.skin).append(a.closeButton),s.controls.fullscreen&&a.toolbar.append(a.fullScreenButton),s.controls.slideshow&&a.toolbar.append(a.innerPlayButton),1<a.total)&&a.toolbar.append(a.innerPrevButton).append(a.innerNextButton),a.BODY.addClass("ilightbox-noscroll").append(a.overlay).append(a.loader).append(a.holder).append(a.nextPhoto).append(a.prevPhoto),s.innerToolbar||a.BODY.append(a.toolbar),s.controls.arrows&&a.BODY.append(a.nextButton).append(a.prevButton),s.controls.thumbnail&&1<a.total&&(a.BODY.append(a.thumbnails),a.thumbnails.addClass(s.skin).addClass("ilightbox-"+t),g("div.ilightbox-thumbn
2ails-grid",a.thumbnails).empty(),a.thumbs=!0),e="horizontal"==s.path.toLowerCase()?{left:parseInt(e.width/2-a.loader.outerWidth()/2)}:{top:parseInt(e.height/2-a.loader.outerHeight()/2)},a.loader.addClass(s.skin).css(e),a.nextButton.add(a.prevButton).addClass(s.skin),"horizontal"==t&&a.loader.add(a.nextButton).add(a.prevButton).addClass("horizontal"),a.BODY[a.isMobile?"addClass":"removeClass"]("isMobile"),s.infinite||(a.prevButton.add(a.prevButton).add(a.innerPrevButton).add(a.innerNextButton).removeClass("disabled"),0==a.current&&a.prevButton.add(a.innerPrevButton).addClass("disabled"),a.current>=a.total-1&&a.nextButton.add(a.innerNextButton).addClass("disabled")),s.show.effect?(a.overlay.stop().fadeIn(s.show.speed),a.toolbar.stop().fadeIn(s.show.speed)):(a.overlay.show(),a.toolbar.show()),o.length);n?(i.showLoader(),g.each(o,function(e,t){i.ogpRecognition(this,function(o){console.log(o);var n=-1,e=(i.items.filter(function(e,t,i){return e.URL==o.url&&(n=t),e.URL==o.url}),i.items[n]);o&&g.extend(!0,e,{URL:o.source,type:o.type,recognized:!0,options:{html5video:o.html5video,width:"image"==o.type?0:o.width||e.width,height:"image"==o.type?0:o.height||e.height,thumbnail:e.options.thumbnail||o.thumbnail}}),0==--r&&(i.hideLoader(),a.dontGenerateThumbs=!1,i.generateThumbnails(),s.show.effect?setTimeout(function(){i.generateBoxes()},s.show.speed):i.generateBoxes())})})):s.show.effect?setTimeout(function(){i.generateBoxes()},s.show.speed):i.generateBoxes(),i.createUI(),p.iLightBox={close:function(){i.closeAction()},fullscreen:function(){i.fullScreenAction()},moveNext:function(){i.moveTo("next")},movePrev:function(){i.moveTo("prev")},goTo:function(e){i.goTo(e)},refresh:function(){i.refresh()},reposition:function(){0<arguments.length?i.repositionPhoto(!0):i.repositionPhoto()},setOption:function(e){i.setOption(e)},destroy:function(){i.closeAction(),i.dispatchItemsEvents()}},s.linkId&&(a.hashLock=!0,p.location.hash=s.linkId+"/"+a.current,setTimeout(function(){a.hashLock=!1},55)),s.slideshow.startPaused||(i.resume(),a.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof i.options.callback.onOpen&&i.options.callback.onOpen.call(i)},loadContent:function(e,t,i){switch(this.createUI(),e.speed=i||this.options.effects.loadedFadeSpeed,"current"==t&&(this.vars.lockWheel=!e.options.mousewheel,this.vars.lockSwipe=!e.options.swipe),t){case"current":var o=this.vars.holder,n=this.vars.current;break;case"next":o=this.vars.nextPhoto,n=this.vars.next;break;case"prev":o=this.vars.prevPhoto,n=this.vars.prev}var i,a;o.removeAttr("style class").addClass("ilightbox-holder"+(z?" supportTouch":"")).addClass(e.options.skin),g("div.ilightbox-inner-toolbar",o).remove(),(e.title||this.options.innerToolbar)&&(i=this.vars.innerToolbar.clone(),e.title&&this.options.show.title&&((a=this.vars.title.clone()).empty().html(e.title),i.append(a)),this.options.innerToolbar&&i.append(1<this.vars.total?this.vars.toolbar.clone():this.vars.toolbar),o.prepend(i)),this.loadSwitcher(e,o,n,t)},loadSwitcher:function(l,c,h,u){var p=this,d=p.options,f={element:c,position:h},e;switch(l.type){case"image":"function"==typeof d.callback.onBeforeLoad&&d.callback.onBeforeLoad.call(p,p.ui,h),"function"==typeof l.options.onBeforeLoad&&l.options.onBeforeLoad.call(p,f),p.loadImage(l.URL,function(e){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),c.data({naturalWidth:e?e.width:400,naturalHeight:e?e.height:200}),g("div.ilightbox-container",c).empty().append(e?'<img src="'+l.URL+'" class="ilightbox-image" />':'<span class="ilightbox-alert">'+d.errors.loadImage+"</span>"),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),p.configureHolder(l,u,c)});break;case"video":c.data({naturalWidth:l.options.width,naturalHeight:l.options.height}),"current"===u?(p.addContent(c,l),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.o
2ptions.onRender.call(p,f)):g("div.ilightbox-container",c).empty(),p.configureHolder(l,u,c);break;case"iframe":c.data({naturalWidth:l.options.width,naturalHeight:l.options.height}),p.configureHolder(l,u,c),"current"===u?(e=p.addContent(c,l),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),"function"==typeof d.callback.onBeforeLoad&&d.callback.onBeforeLoad.call(p,p.ui,h),"function"==typeof l.options.onBeforeLoad&&l.options.onBeforeLoad.call(p,f),e.bind("load",function(){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),e.unbind("load")})):g("div.ilightbox-container",c).empty();break;case"inline":var e=g(l.URL),t=p.addContent(c,l),i=R(c);c.data({naturalWidth:p.items[h].options.width||e.outerWidth(),naturalHeight:p.items[h].options.height||e.outerHeight()}),t.children().eq(0).show(),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),"function"==typeof d.callback.onBeforeLoad&&d.callback.onBeforeLoad.call(p,p.ui,h),"function"==typeof l.options.onBeforeLoad&&l.options.onBeforeLoad.call(p,f),p.loadImage(i,function(){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),p.configureHolder(l,u,c)});break;case"flash":e=p.addContent(c,l),c.data({naturalWidth:p.items[h].options.width||e.outerWidth(),naturalHeight:p.items[h].options.height||e.outerHeight()}),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),p.configureHolder(l,u,c);break;case"ajax":var m=l.options.ajax||{};"function"==typeof d.callback.onBeforeLoad&&d.callback.onBeforeLoad.call(p,p.ui,h),"function"==typeof l.options.onBeforeLoad&&l.options.onBeforeLoad.call(p,f),p.showLoader(),g.ajax({url:l.URL||d.ajaxSetup.url,data:m.data||null,dataType:m.dataType||"html",type:m.type||d.ajaxSetup.type,cache:m.cache||d.ajaxSetup.cache,crossDomain:m.crossDomain||d.ajaxSetup.crossDomain,global:m.global||d.ajaxSetup.global,ifModified:m.ifModified||d.ajaxSetup.ifModified,username:m.username||d.ajaxSetup.username,password:m.password||d.ajaxSetup.password,beforeSend:m.beforeSend||d.ajaxSetup.beforeSend,complete:m.complete||d.aja
2xSetup.complete,success:function(e,t,i){p.hideLoader();var o=g(e),n=g("div.ilightbox-container",c),a=p.items[h].options.width||parseInt(o[0].getAttribute("width")),s=p.items[h].options.height||parseInt(o[0].getAttribute("height")),r=o[0].getAttribute("width")&&o[0].getAttribute("height")?{overflow:"hidden"}:{};n.empty().append(g('<div class="ilightbox-wrapper"></div>').css(r).html(o)),c.show().data({naturalWidth:a||n.outerWidth(),naturalHeight:s||n.outerHeight()}).hide(),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),o=R(c),p.loadImage(o,function(){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),p.configureHolder(l,u,c)}),d.ajaxSetup.success(e,t,i),"function"==typeof m.success&&m.success(e,t,i)},error:function(e,t,i){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),p.hideLoader(),g("div.ilightbox-container",c).empty().append('<span class="ilightbox-alert">'+d.errors.loadContents+"</span>
2"),p.configureHolder(l,u,c),d.ajaxSetup.error(e,t,i),"function"==typeof m.error&&m.error(e,t,i)}});break;case"html":t=l.URL,container=g("div.ilightbox-container",c),e=t[0].nodeName?t.clone():(t=g(t)).selector?g("<div>"+t+"</div>"):t;var o=p.items[h].options.width||parseInt(e.attr("width")),n=p.items[h].options.height||parseInt(e.attr("height"));p.addContent(c,l),e.appendTo(document.documentElement).hide(),"function"==typeof d.callback.onRender&&d.callback.onRender.call(p,p.ui,h),"function"==typeof l.options.onRender&&l.options.onRender.call(p,f),i=R(c),"function"==typeof d.callback.onBeforeLoad&&d.callback.onBeforeLoad.call(p,p.ui,h),"function"==typeof l.options.onBeforeLoad&&l.options.onBeforeLoad.call(p,f),p.loadImage(i,function(){"function"==typeof d.callback.onAfterLoad&&d.callback.onAfterLoad.call(p,p.ui,h),"function"==typeof l.options.onAfterLoad&&l.options.onAfterLoad.call(p,f),c.show().data({naturalWidth:o||container.outerWidth(),naturalHeight:n||container.outerHeight()}).hide(),e.remove(),p.configureHolder(l,u,c)})}},configureHolder:function(i,e,o){var n=this,t=n.vars,a=n.options,s,r,s,l=("current"!=e&&("next"==e?o.addClass("ilightbox-next"):o.addClass("ilightbox-prev")),s="current"==e?t.current:"next"==e?(r=a.styles.nextOpacity,t.next):(r=a.styles.prevOpacity,t.prev),{element:o,position:s});n.items[s].options.width=n.items[s].options.width||0,n.items[s].options.height=n.items[s].options.height||0,"current"==e?a.show.effect?o.css(B,H).fadeIn(i.speed,function(){var e,t;o.css(B,""),i.caption&&(n.setCaption(i,o),e=g("div.ilightbox-caption",o),t=parseInt(e.outerHeight()/o.outerHeight()*100),a.caption.start&t<=50)&&e.fadeIn(a.effects.fadeSpeed),(e=i.options.social)&&(n.setSocial(e,i.URL,o),a.social.start)&&g("div.ilightbox-social",o).fadeIn(a.effects.fadeSpeed),n.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(n,n.ui,s),"function"==typeof i.options.onShow&&i.options.onShow.call(n,l)}):(o.show(),n.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(n,n.ui,s),"function"==typeof i.options.onShow&&i.options.onShow.call(n,l)):a.show.effect?o.fadeTo(i.speed,r,function(){"next"==e?t.nextLock=!1:t.prevLock=!1,n.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(n,n.ui,s),"function"==typeof i.options.onShow&&i.options.onShow.call(n,l)}):(o.css({opacity:r}).show(),"next"==e?t.nextLock=!1:t.prevLock=!1,n.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(n,n.ui,s),"function"==typeof i.options.onShow&&i.options.onShow.call(n,l)),setTimeout(function(){n.repositionPhoto()},0)},generateBoxes:function(){var e=this.vars,t=this.options;t.infinite&&3<=e.total?(e.current==e.total-1&&(e.next=0),0==e.current&&(e.prev=e.total-1)):t.infinite=!1,this.loadContent(this.items[e.current],"current",t.show.speed),this.items[e.next]&&this.loadContent(this.items[e.next],"next",t.show.speed),this.items[e.prev]&&this.loadContent(this.items[e.prev],"prev",t.show.speed)},generateThumbnails:function(){var s=this,r=s.vars,l=s.options,c=null,h,u,p,d;r.thumbs&&!s.vars.dontGenerateThumbs&&(h=r.thumbnails,u=g("div.ilightbox-thumbnails-container",h),p=g("div.ilightbox-thumbnails-grid",u),d=0,p.removeAttr("style").empty(),g.each(s.items,function(e,t){var i=r.current==e?"ilightbox-active":"",o=r.current==e?l.thumbnails.activeOpacity:l.thumbnails.normalOpacity,n=t.options.thumbnail,a=g('<div class="ilightbox-thumbnail"></div>'),e=g('<div class="ilightbox-thumbnail-icon"></div>');a.css({opacity:0}).addClass(i),"video"!=t.type&&"flash"!=t.type||void 0!==t.options.icon?t.options.icon&&(e.addClass("ilightbox-thumbnail-"+t.options.icon),a.append(e)):(e.addClass("ilightbox-thumbnail-video"),a.append(e)),n&&s.loadImage(n,function(e){d++,e?a.data({naturalWidth:e.width,naturalHeight:e.height}).append('<img src="'+n+'" border="0" />'):a.data({naturalWidth:l.thumbnails.maxWidth,naturalHeight:l.thumbnails.maxHeight}),clearTimeout(c),c=setTimeout(function(){s.positionThumbnails(h,u,p)},20),setTimeout(function(){a.fadeTo(l.effects.loadedFadeSpeed,o)},20*d)}),p.append(a)}),s.vars.dontGenerateThumbs=!0)},positionThumbnails:function(e,t,i){var o=this,n=o.vars,a=o.options,s=J(),r=a.path.toLowerCase(),e=(e=e||n.thumbnails,t=t||g("div.ilightbox-thumbn
2ails-container",e),i=i||g("div.ilightbox-thumbnails-grid",t),g(".ilightbox-thumbnail",i)),n="horizontal"==r?s.width-a.styles.pageOffsetX:e.eq(0).outerWidth()-a.styles.pageOffsetX,s="horizontal"==r?e.eq(0).outerHeight()-a.styles.pageOffsetY:s.height-a.styles.pageOffsetY,l="horizontal"==r?0:n,c="horizontal"==r?s:0,t=g(".ilightbox-active",i),h={},u=(arguments.length<3&&(e.css({opacity:a.thumbnails.normalOpacity}),t.css({opacity:a.thumbnails.activeOpacity})),e.each(function(e){var t=(e=g(this)).data(),i="horizontal"==r?0:a.thumbnails.maxWidth;height="horizontal"==r?a.thumbnails.maxHeight:0,dims=o.getNewDimenstions(i,height,t.naturalWidth,t.naturalHeight,!0),e.css({width:dims.width,height:dims.height}),"horizontal"==r&&e.css({float:"left"}),"horizontal"==r?l+=e.outerWidth():c+=e.outerHeight()}),h={width:l,height:c},i.css(h),h={},e=i.offset(),t.length?t.offset():{top:parseInt(s/2),left:parseInt(n/2)});e.top-=E.scrollTop(),e.left-=E.scrollLeft(),u.top=u.top-e.top-E.scrollTop(),u.left=u.left-e.left-E.scrollLeft(),"horizontal"==r?(h.top=0,h.left=parseInt(n/2-u.left-t.outerWidth()/2)):(h.top=parseInt(s/2-u.top-t.outerHeight()/2),h.left=0),arguments.length<3?i.stop().animate(h,a.effects.repositionSpeed,"easeOutCirc"):i.css(h)},loadImage:function(o,n){g.isArray(o)||(o=[o]);var a=this,s=o.length;0<s?(a.showLoader(),g.each(o,function(e,t){var i=new Image;i.onload=function(){0==--s&&(a.hideLoader(),n(i))},i.onerror=i.onabort=function(){0==--s&&(a.hideLoader(),n(!1))},i.src=o[e]})):n(!1)},patchItemsEvents:function(){var i=this,o=i.vars,n=z?"itap.iL":"click.iL",a=z?"click.iL":"itap.iL",t;i.context&&i.selector?(t=g(i.selector,i.context),g(i.context).on(n,i.selector,function(){var e=g(this),e=t.index(e);return o.current=e,o.next=i.items[e+1]?e+1:null,o.prev=i.items[e-1]?e-1:null,i.addContents(),i.patchEvents(),!1}).on(a,i.selector,function(){return!1})):g.each(i.itemsObject,function(e,t){t.on(n,function(){return o.current=e,o.next=i.items[e+1]?e+1:null,o.prev=i.items[e-1]?e-1:null,i.addContents(),i.patchEvents(),!1}).on(a,function(){return!1})})},dispatchItemsEvents:function(){this.context&&this.selector?g(this.context).off(".iL",this.selector):g.each(this.itemsObject,function(e,t){t.off(".iL")})},refresh:function(){this.dispatchItemsEvents(),this.attachItems(),this.normalizeItems(),this.patchItemsEvents()},patchEvents:function(){function e(e){u.isMobile||(u.mouseID||u.hideableElements.show(),u.mouseID=clearTimeout(u.mouseID),-1===o.indexOf(e.target)&&(u.mouseID=setTimeout(function(){u.hideableElements.hide(),u.mouseID=clearTimeout(u.mouseID)},3e3)))}var h=this,u=h.vars,d=h.options,f=d.path.toLowerCase(),m=g(".ilightbox-holder"),i=t.fullScreenEventName+".iLightBox",v=verticalDistanceThreshold=100,o=[u.nextButton[0],u.prevButton[0],u.nextButton[0].firstChild,u.prevButton[0].firstChild],n=(O.bind("resize.iLightBox",function(){var e=J();d.mobileOptimizer&&!d.innerToolbar&&(u.isMobile=e.width<=u.mobileMaxWidth),u.BODY[u.isMobile?"addClass":"removeClass"]("isMobile"),h.repositionPhoto(null),z&&(clearTimeout(u.setTime),u.setTime=setTimeout(function(){var e=L().y;p.scrollTo(0,e-30),p.scrollTo(0,e+30),p.scrollTo(0,e)},2e3)),u.thumbs&&h.positionThumbnails()}).bind("keydown.iLightBox",function(e){if(d.controls.keyboard)switch(e.keyCode){case 13:e.shiftKey&&d.keyboard.shift_enter&&h.fullScreenAction();break;case 27:d.keyboard.esc&&h.closeAction();break;case 37:d.keyboard.left&&!u.lockKey&&h.moveTo("prev");break;case 38:d.keyboard.up&&!u.lockKey&&h.moveTo("prev");break;case 39:d.keyboard.right&&!u.lockKey&&h.moveTo("next");break;case 40:d.keyboard.down&&!u.lockKey&&h.moveTo("next")}}),t.supportsFullScreen&&O.bind(i,function(){h.doFullscreen()}),i=[d.caption.show+".iLightBox",d.caption.hide+".iLightBox",d.social.show+".iLightBox",d.social.hide+".iLightBox"].filter(function(e,t,i){return i.lastIndexOf(e)===t}),"");g.each(i,function(e,t){0!=e&&(n+=" "),n+=t}),E.on(K,".ilightbox-overlay",function(){d.overlay.blur&&h.closeAction()}).on(K,".ilightbox-next, .ilightbox-next-button",function(){h.moveTo("next")}).on(K,".ilightbox-prev, .ilightbox-prev-button",function(){h.moveTo("prev")}
2).on(K,".ilightbox-thumbnail",function(){var e=g(this),e;(e=g(".ilightbox-thumbnail",u.thumbnails).index(e))!=u.current&&h.goTo(e)}).on(n,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(e){var t=g("div.ilightbox-caption",u.holder),i=g("div.ilightbox-social",u.holder),o=d.effects.fadeSpeed;u.nextLock||u.prevLock?(e.type!=d.caption.show||t.is(":visible")?e.type==d.caption.hide&&t.is(":visible")&&t.fadeOut(o):t.fadeIn(o),e.type!=d.social.show||i.is(":visible")?e.type==d.social.hide&&i.is(":visible")&&i.fadeOut(o):i.fadeIn(o)):(e.type!=d.caption.show||t.is(":visible")?e.type==d.caption.hide&&t.is(":visible")&&t.stop().fadeOut(o):t.stop().fadeIn(o),e.type!=d.social.show||i.is(":visible")?e.type==d.social.hide&&i.is(":visible")&&i.stop().fadeOut(o):i.stop().fadeIn(o))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(e){u.lockWheel="mouseenter"==e.type}).on(K,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",function(){var e=g(this);e.hasClass("ilightbox-fullscreen")?h.fullScreenAction():e.hasClass("ilightbox-play")?(h.resume(),e.addClass("ilightbox-pause").removeClass("ilightbox-play")):e.hasClass("ilightbox-pause")?(h.pause(),e.addClass("ilightbox-play").removeClass("ilightbox-pause")):h.closeAction()}).on(W,".ilightbox-overlay, .ilightbox-thumbnails-container",function(e){e.preventDefault()}),d.controls.arrows&&!z&&E.on("mousemove.iLightBox",e),d.controls.slideshow&&d.slideshow.pauseOnHover&&E.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(e){"mouseenter"==e.type&&u.cycleID?h.pause():"mouseleave"==e.type&&u.isPaused&&h.resume()}),i=g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails"),d.controls.mousewheel&&i.on("mousewheel.iLightBox",function(e,t){u.lockWheel||(e.preventDefault(),t<0?h.moveTo("next"):0<t&&h.moveTo("prev"))}),d.controls.swipe&&m.on(pa,function(e){function i(e){var t=g(this),i=(e=r[e],[l.coords[0]-c.coords[0],l.coords[1]-c.coords[1]]);t[0].style["horizontal"==f?"left":"top"]=("horizontal"==f?e.left-i[0]:e.top-i[1])+"px"}function t(e){var t;l&&(t=e.originalEvent.touches?e.originalEvent.touches[0]:e,c={time:(new Date).getTime(),coords:[t.pageX-a,t.pageY-n]},m.each(i),e.preventDefault())}function o(){m.each(function(){var e=g(this),t,i=(t=e.data("offset")||{top:e.offset().top-n,left:e.offset().left-a}).top,t=t.left;e.css(B,H).stop().animate({top:i,left:t},500,"easeOutCirc",function(){e.css(B,"")})})}var n,a,s,r,l,c;u.nextLock||u.prevLock||1==u.total||u.lockSwipe||(u.BODY.addClass("ilightbox-closedhand"),e=e.originalEvent.touches?e.originalEvent.touches[0]:e,n=E.scrollTop(),a=E.scrollLeft(),s=[m.eq(0).offset(),m.eq(1).offset(),m.eq(2).offset()],r=[{top:s[0].top-n,left:s[0].left-a},{top:s[1].top-n,left:s[1].left-a},{top:s[2].top-n,left:s[2].left-a}],l={time:(new Date).getTime(),coords:[e.pageX-a,e.pageY-n]},m.bind(W,t),E.one(qa,function(e){m.unbind(W,t),u.BODY.removeClass("ilightbox-closedhand"),l&&c&&("horizontal"==f&&c.time-l.time<1e3&&I(l.coords[0]-c.coords[0])>v&&I(l.coords[1]-c.coords[1])<verticalDistanceThreshold?l.coords[0]>c.coords[0]?u.current!=u.total-1||d.infinite?(u.isSwipe=!0,h.moveTo("next")):o():0!=u.current||d.infinite?(u.isSwipe=!0,h.moveTo("prev")):o():"vertical"==f&&c.time-l.time<1e3&&I(l.coords[1]-c.coords[1])>v&&I(l.coords[0]-c.coords[0])<verticalDistanceThreshold?l.coords[1]>c.coords[1]?u.current!=u.total-1||d.infinite?(u.isSwipe=!0,h.moveTo("next")):o():0!=u.current||d.infinite?(u.isSwipe=!0,h.moveTo("prev")):o():o()),l=c=Q}))})},goTo:function(e){var t=this,i=t.vars,o=t.options,n=e-i.current;if(1==(n=o.infinite&&(e==i.total-1&&0==i.current&&(n=-1),i.current==i.total-1)&&0==e?1:n))t.moveTo("next");else if(-1==n)t.moveTo("prev");else{if(i.nextLock||i.prevLock)return!1;"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),o.linkId&&(i.hashLock=!0,p.location.hash=o.linkId+"/"+e),t.items[e]&&(t.items[e].options.mousewheel?t.vars.lockWheel=!1:i.lockWheel=!0,i.lockSwipe=!t.items[e].options.swipe),g.each([i.holder,i.nextPhoto,i.prevPhoto],function(e,t){t.css(B,H).fadeOut(o.effects.loadedFadeSpeed)}),i.current=e,i.next=e+1,i.prev=e-1,t.createUI(),setTimeout(function(){t.generateBoxes()}
2,o.effects.loadedFadeSpeed+50),g(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(e).addClass("ilightbox-active"),t.positionThumbnails(),o.linkId&&setTimeout(function(){i.hashLock=!1},55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)}},moveTo:function(e){var t=this,i=t.vars,o=t.options,n=o.path.toLowerCase(),a=J(),s=o.effects.switchSpeed;if(i.nextLock||i.prevLock)return!1;var r="next"==e?i.next:i.prev;if(o.linkId&&(i.hashLock=!0,p.location.hash=o.linkId+"/"+r),"next"==e){if(!t.items[r])return!1;var l=i.nextPhoto,c=i.holder,h=i.prevPhoto,u="ilightbox-prev",d="ilightbox-next"}else if("prev"==e){if(!t.items[r])return!1;l=i.prevPhoto,c=i.holder,h=i.nextPhoto,u="ilightbox-next",d="ilightbox-prev"}"function"==typeof o.callback.onBeforeChange&&o.callback.onBeforeChange.call(t,t.ui),"next"==e?i.nextLock=!0:i.prevLock=!0;var f=g("div.ilightbox-caption",c),m=g("div.ilightbox-social",c),v=(f.length&&f.stop().fadeOut(s,function(){g(this).remove()}),m.length&&m.stop().fadeOut(s,function(){g(this).remove()}),t.items[r].caption&&(t.setCaption(t.items[r],l),f=g("div.ilightbox-caption",l),m=parseInt(f.outerHeight()/l.outerHeight()*100),o.caption.start)&&m<=50&&f.fadeIn(s),(f=t.items[r].options.social)&&(t.setSocial(f,t.items[r].URL,l),o.social.start)&&g("div.ilightbox-social",l).fadeIn(o.effects.fadeSpeed),g.each([l,c,h],function(e,t){t.removeClass("ilightbox-next ilightbox-prev")}),l.data("offset")),f=a.width-o.styles.pageOffsetX,a=a.height-o.styles.pageOffsetY,m=v.newDims.width,b=v.newDims.height,x=v.thumbsOffset,v=v.diff,y=parseInt(a/2-b/2-v.H-x.H/2),w=(v=parseInt(f/2-m/2-v.W-x.W/2),l.css(B,H).animate({top:y,left:v,opacity:1},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){l.css(B,"")}),g("div.ilightbox-container",l).animate({width:m,height:b},s,i.isSwipe?"easeOutCirc":"easeInOutCirc"),(b=c.data("offset")).object);v=b.diff,m=b.newDims.width,b=b.newDims.height,m=parseInt(m*o.styles["next"==e?"prevScale":"nextScale"]),b=parseInt(b*o.styles["next"==e?"prevScale":"nextScale"]),y="horizontal"==n?parseInt(a/2-w.offsetY-b/2-v.H-x.H/2):parseInt(a-w.offsetX-v.H-x.H/2),v="prev"==e?"horizontal"==n?parseInt(f-w.offsetX-v.W-x.W/2):parseInt(f/2-m/2-v.W-w.offsetY-x.W/2):(y="horizontal"==n?y:parseInt(w.offsetX-v.H-b-x.H/2),"horizontal"==n?parseInt(w.offsetX-v.W-m-x.W/2):parseInt(f/2-w.offsetY-m/2-v.W-x.W/2)),g("div.ilightbox-container",c).animate({width:m,height:b},s,i.isSwipe?"easeOutCirc":"easeInOutCirc"),c.addClass(u).css(B,H).animate({top:y,left:v,opacity:o.styles.prevOpacity},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){c.css(B,""),g(".ilightbox-thumbnail",i.thumbnails).removeClass("ilightbox-active").eq(r).addClass("ilightbox-active"),t.positionThumbnails(),t.items[r]&&(i.lockWheel=!t.items[r].options.mousewheel,i.lockSwipe=!t.items[r].options.swipe),i.isSwipe=!1,-1!==["iframe","video"].indexOf(t.items[i.current].type)&&g("div.ilightbox-container",c).empty(),"next"==e?(i.nextPhoto=h,i.prevPhoto=c,i.holder=l,i.nextPhoto.hide(),i.next+=1,i.prev=i.current,i.current+=1,o.infinite&&(i.current>i.total-1&&(i.current=0),i.current==i.total-1&&(i.next=0),0==i.current)&&(i.prev=i.total-1),t.createUI(),t.items[i.next]?t.loadContent(t.items[i.next],"next"):i.nextLock=!1):(i.prevPhoto=h,i.nextPhoto=c,i.holder=l,i.prevPhoto.hide(),i.next=i.current,i.current=i.prev,i.prev=i.current-1,o.infinite&&(i.current==i.total-1&&(i.next=0),0==i.current)&&(i.prev=i.total-1),t.createUI(),t.items[i.prev]?t.loadContent(t.items[i.prev],"prev"):i.prevLock=!1),-1!==["iframe","video"].indexOf(t.items[i.current].type)&&t.loadContent(t.items[i.current],"current"),o.linkId&&setTimeout(function(){i.hashLock=!1},55),o.infinite||(i.nextButton.add(i.prevButton).add(i.innerPrevButton).add(i.innerNextButton).removeClass("disabled"),0==i.current&&i.prevButton.add(i.innerPrevButton).addClass("disabled"),i.current>
2=i.total-1&&i.nextButton.add(i.innerNextButton).addClass("disabled")),t.repositionPhoto(),t.resetCycle(),"function"==typeof o.callback.onAfterChange&&o.callback.onAfterChange.call(t,t.ui)}),y="horizontal"==n?F(h,"top"):"next"==e?parseInt(-a/2-h.outerHeight()):parseInt(2*y),v="horizontal"==n?"next"==e?parseInt(-f/2-h.outerWidth()):parseInt(2*v):F(h,"left"),h.css(B,H).animate({top:y,left:v,opacity:o.styles.nextOpacity},s,i.isSwipe?"easeOutCirc":"easeInOutCirc",function(){h.css(B,"")}).addClass(d)},setCaption:function(e,t){var i=g('<div class="ilightbox-caption"></div>');e.caption&&(i.html(e.caption),g("div.ilightbox-container",t).append(i))},normalizeSocial:function(n,a){var s=this.options,r=p.location.href;return g.each(n,function(e,t){if(!t)return!0;switch(e.toLowerCase()){case"facebook":var i="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",o="Share on Facebook";break;case"twitter":i="http://twitter.com/home?status={URL}",o="Share on Twitter";break;case"googleplus":i="https://plus.google.com/share?url={URL}",o="Share on Google+";break;case"delicious":i="http://delicious.com/post?url={URL}",o="Share on Delicious";break;case"digg":i="http://digg.com/submit?phase=2&url={URL}",o="Share on Digg";break;case"reddit":i="http://reddit.com/submit?url={URL}",o="Share on reddit"}n[e]={URL:t.URL&&N(r,t.URL)||s.linkId&&p.location.href||"string"!=typeof a&&r||a&&N(r,a)||r,source:t.source||i||t.URL&&N(r,t.URL)||a&&N(r,a),text:t.text||o||"Share on "+e,width:void 0===t.width||isNaN(t.width)?640:parseInt(t.width),height:t.height||360}}),n},setSocial:function(e,t,i){var o=g('<div class="ilightbox-social"></div>'),n="<ul>";e=this.normalizeSocial(e,t),g.each(e,function(e,t){e.toLowerCase();var i=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+"));n+='<li class="'+e+'"><a href="'+i+'" onclick="javascript:window.open(this.href'+(t.width<=0||t.height<=0?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+');return false;" title="'+t.text+'" target="_blank"></a></li>'}),n+="</ul>",o.html(n),g("div.ilightbox-container",i).append(o)},fullScreenAction:function(){t.supportsFullScreen?t.isFullScreen()?t.cancelFullScreen(document.documentElement):t.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var e=this.vars,t=J(),i=this.options,o,n,a,s,r,t,e,n,a,l;i.fullAlone?(o=e.holder,n=this.items[e.current],a=t.width,s=t.height,r=[o,e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.overlay,e.toolbar,e.thumbnails,e.loader],t=[e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.loader,e.thumbnails],e.isInFullScreen?(e.isInFullScreen=e.lockKey=e.lockWheel=e.lockSwipe=!1,e.overlay.css({opacity:this.options.overlay.opacity}),g.each(t,function(e,t){t.show()}),e.fullScreenButton.attr("title",i.text.enterFullscreen),o.data({naturalWidth:o.data("naturalWidthOld"),naturalHeight:o.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),g.each(r,function(e,t){t.removeClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onExitFullScreen&&i.callback.onExitFullScreen.call(this,this.ui)):(e.isInFullScreen=e.lockKey=e.lockWheel=e.lockSwipe=!0,e.overlay.css({opacity:1}),g.each(t,function(e,t){t.hide()}),e.fullScreenButton.attr("title",i.text.exitFullscreen),-1!=i.fullStretchTypes.indexOf(n.type)?o.data({naturalWidthOld:o.data("naturalWidth"),naturalHeightOld:o.data("naturalHeight"),naturalWidth:a,naturalHeight:s}):(t=n.options.fullViewPort||i.fullViewPort||"",e=a,n=s,a=o.data("naturalWidth"),l=o.data("naturalHeight"),"fill"==t.toLowerCase()?(n=e/a*l)<s&&(e=s/l*a,n=s):"fit"==t.toLowerCase()?(e=(s=this.getNewDimenstions(e,n,a,l,!0)).width,n=s.height):"stretch"!=t.toLowerCase()&&(e=(s=this.getNewDimenstions(e,n,a,l,e<a||n<l)).width,n=s.height),o.data({naturalWidthOld:o.data("naturalWidth"),naturalHeightOld:o.data("naturalHeight"),naturalWidth:e,naturalHeight:n})),g.each(r,function(e,t){t.addClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onEnterFullScreen&&i.callback.onEnterFullScreen.call(this,this.ui))):e.isInFullScreen=!e.isInFullScreen,this.repositionPhoto(!0)},closeAction:function(){var e=this.vars,i=this.options;O.unbind(".iLightBox"),E.off(".iLightBox"),e.isInFullScreen&&t.cancelFullScreen(document.documentElement),g(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbn
2ails").off(".iLightBox"),i.hide.effect?e.overlay.stop().fadeOut(i.hide.speed,function(){e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")),g.each([e.toolbar,e.holder,e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.loader,e.thumbnails],function(e,t){t.removeAttr("style").remove()}),e.dontGenerateThumbs=e.isInFullScreen=!1,p.iLightBox=null,i.linkId&&(e.hashLock=!0,ia(),setTimeout(function(){e.hashLock=!1},55)),"function"==typeof i.callback.onHide&&i.callback.onHide.call(this,this.ui)},repositionPhoto:function(){var e=this.vars,t=this.options,i=t.path.toLowerCase(),o,n=(o=J()).width,a=o.height,o=e.isInFullScreen&&t.fullAlone||e.isMobile||"horizontal"==i?0:e.thumbnails.outerWidth(),s=e.isMobile?e.toolbar.outerHeight():!(e.isInFullScreen&&t.fullAlone||"horizontal"!=i)?e.thumbnails.outerHeight():0,n=e.isInFullScreen&&t.fullAlone?n:n-t.styles.pageOffsetX,a=e.isInFullScreen&&t.fullAlone?a:a-t.styles.pageOffsetY,r="horizontal"==i?parseInt(this.items[e.next]||this.items[e.prev]?2*(t.styles.nextOffsetX+t.styles.prevOffsetX):n/10<=30?30:n/10):parseInt(n/10<=30?30:n/10)+o,l="horizontal"==i?parseInt(a/10<=30?30:a/10)+s:parseInt(this.items[e.next]||this.items[e.prev]?2*(t.styles.nextOffsetX+t.styles.prevOffsetX):a/10<=30?30:a/10);o={type:"current",width:n,height:a,item:this.items[e.current],offsetW:r,offsetH:l,thumbsOffsetW:o,thumbsOffsetH:s,animate:arguments.length,holder:e.holder},this.repositionEl(o),this.items[e.next]&&(o=g.extend(o,{type:"next",item:this.items[e.next],offsetX:t.styles.nextOffsetX,offsetY:t.styles.nextOffsetY,holder:e.nextPhoto}),this.repositionEl(o)),this.items[e.prev]&&(o=g.extend(o,{type:"prev",item:this.items[e.prev],offsetX:t.styles.prevOffsetX,offsetY:t.styles.prevOffsetY,holder:e.prevPhoto}),this.repositionEl(o)),t="horizontal"==i?{left:parseInt(n/2-e.loader.outerWidth()/2)}:{top:parseInt(a/2-e.loader.outerHeight()/2)},e.loader.css(t)},repositionEl:function(e){var t=this.vars,i=this.options,o=i.path.toLowerCase(),n="current"==e.type&&t.isInFullScreen&&i.fullAlone?e.width:e.width-e.offsetW,a="current"==e.type&&t.isInFullScreen&&i.fullAlone?e.height:e.height-e.offsetH,s=e.item,r=e.item.options,l=e.holder,c=e.offsetX||0,h=e.offsetY||0,u=e.thumbsOffsetW,p=e.thumbsOffsetH;switch("current"==e.type?("number"==typeof r.width&&r.width&&(n=t.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(s.type)||r.fullViewPort||i.fullViewPort)||r.width>n?n:r.width),"number"==typeof r.height&&r.height&&(a=t.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(s.type)||r.fullViewPort||i.fullViewPort)||r.height>a?a:r.height)):("number"==typeof r.width&&r.width&&(n=r.width>n?n:r.width),"number"==typeof r.height&&r.height&&(a=r.height>a?a:r.height)),i.innerToolbar&&(a=parseInt(a-g(".ilightbox-inner-toolbar",l).outerHeight())),t="string"==typeof r.width&&-1!=r.width.indexOf("%")?ba(parseInt(r.width.replace("%","")),e.width):l.data("naturalWidth"),s="string"==typeof r.height&&-1!=r.height.indexOf("%")?ba(parseInt(r.height.replace("%","")),e.height):l.data("naturalHeight"),s="string"==typeof r.width&&-1!=r.width.indexOf("%")||"string"==typeof r.height&&-1!=r.height.indexOf("%")?{width:t,height:s}:this.getNewDimenstions(n,a,t,s),n=g.extend({},s,{}),s="prev"==e.type||"next"==e.type?(t=parseInt(s.width*("next"==e.type?i.styles.nextScale:i.styles.prevScale)),parseInt(s.height*("next"==e.type?i.styles.nextScale:i.styles.prevScale))):(t=s.width,s.height),a=parseInt((F(l,"padding-left")+F(l,"padding-right")+F(l,"border-left-width")+F(l,"border-right-width"))/2),r=parseInt((F(l,"padding-top")+F(l,"padding-bottom")+F(l,"border-top-width")+F(l,"border-bottom-width")+(g(".ilightbox-inner-toolbar",l).outerHeight()||0))/2),e.type){case"current":var d=parseInt(e.height/2-s/2-r-p/2),f=parseInt(e.width/2-t/2-a-u/2);break;case"next":d="horizontal"==o?parseInt(e.height/2-h-s/2-r-p/2):parseInt(e.height-c-r-p/2),f="horizontal"==o?parseInt(e.width-c-a-u/2):parseInt(e.width/2-t/2-a-h-u/2);break;case"prev":d="horizontal"==o?parseInt(e.height/2-h-s/2-r-p/2):parseInt(c-r-s-p/2),f="horizontal"==o?parseInt(c-a-t-u/2):parseInt(e.width/2-h-t/2-a-u/2)}l.data("offset",{top:d,left:f,newDims:n,diff:{W:a,H:r},thumbsOffset:{W:u,H:p},object:e}),0<e.animate&&i.effects.reposition?(l.css(B,H).stop().animate({top:d,left:f},i.effects.repositionSpeed,"easeOutCirc",function(){l.css(B,"")}),g("div.ilightbox-container",l).stop().animate({width:t,height:s},i.effects.repositionSpeed,"easeOutCirc"),g("div.ilightbox-inner-toolbar",l).stop().animate({width:t},i.effects.repositionSpeed,"easeOutCirc",function(){g(this).css("overflow","visible")})):(l.css({top:d,left:f}),g("div.ilightbox-container",l).css({width:t,height:s}),g("div.ilightbox-inner-toolbar",l).css({width:t}))},resume:function(e){var t=this,i=t.vars,o=t.options;!o.slideshow.pauseTime||o.controls.slideshow&&i.total<=1||e<i.isPaused||(i.isPaused=0,i.cycleID&&(i.cycleID=clearTimeout(i.cycleID)),i.cycleID=setTimeout(function(){i.current==i.total-1?t.goTo(0):t.moveTo("next")},o.slideshow.pauseTime))},pause:function(e){var t=this.vars;e<t.isPaused||(t.isPaused=e||100,t.cycleID&&(t.cycleID=clearTimeout(t.cycleID)))},resetCycle:function(){var e=this.vars;this.options.controls.slideshow&&e.cycleID&&!e.isPaused&&this.resume()},getNewDimenstions:function(e,t,i,o,n){return factor=e?t?Y(e/i,t/o):e/i:t/o,n||(factor>this.options.maxScale?factor=this.options.maxScale:factor<this.options.minScale&&(factor=this.options.minScale)),{width:e=this.options.keepAspectRatio?X(i*factor):e,height:t=this.options.keepAspectRatio?X(o*factor):t,ratio:factor}},setOption:function(e){this.options=g.extend(!0,this.options,e||{}),this.refresh()},availPlugins:function(){var e=document.createElement("video");this.plugins={flash:!oa,quicktime:0<=parseInt(ha.getVersion("QuickTime")),html5H264:!(!e.canPlayType||!e.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!e.canPlayType||!e.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!e.canPlayType||!e.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!e.canPlayType||!e.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(e,t){switch(t.type){case"video":var i=!1,o=t.videoType,n=t.options.html5video,a;("video/mp4"==o||"mp4"==t.ext||"m4v"==t.ext||n.h264)&&this.plugins.html5H264?(t.ext="mp4",t.URL=n.h264||t.URL):n.webm&&this.plugins.html5WebM?(t.ext="webm",t.URL=n.webm||t.URL):n.ogg&&this.plugins.html5Vorbis&&(t.ext="ogv",t.URL=n.ogg||t.URL),!this.plugins.html5H264||"video/mp4"!=o&&"mp4"!=t.ext&&"m4v"!=t.ext?!this.plugins.html5WebM||"video/webm"!=o&&"webm"!=t.ext?!this.plugins.html5Vorbis||"video/ogg"!=o&&"ogv"!=t.ext?!this.plugins.html5QuickTime||"video/quicktime"!=o&&"mov"!=t.ext&&"qt"!=t.ext||(i=!0,o="video/quicktime"):(i=!0,o="video/ogg"):(i=!0,o="video/webm"):(i=!0,o="video/mp4"),i?a=g("<video />
2",{width:"100%",height:"100%",preload:n.preload,autoplay:n.autoplay,poster:n.poster,controls:n.controls}).append(g("<source />",{src:t.URL,type:o})):this.plugins.quicktime?(a=g("<object />",{type:"video/quicktime",pluginspage:"http://www.apple.com/quicktime/download"}).attr({data:t.URL,width:"100%",height:"100%"}).append(g("<param />",{name:"src",value:t.URL})).append(g("<param />",{name:"autoplay",value:"false"})).append(g("<param />",{name:"loop",value:"false"})).append(g("<param />",{name:"scale",value:"tofit"})),D.msie&&(a=ma(t.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):a=g("<span />",{class:"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.apple.com/quicktime/download").replace("{type}","QuickTime")});break;case"flash":var s,r,a=this.plugins.flash?(s="",r=0,t.options.flashvars?g.each(t.options.flashvars,function(e,t){0!=r&&(s+="&"),s+=e+"="+encodeURIComponent(t),r++}):s=null,g("<embed />").attr({type:"application/x-shockwave-flash",src:t.URL,width:"number"==typeof t.options.width&&t.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:s,fullscreen:"yes"})):g("<span />",{class:"ilightbox-alert",html:this.options.errors.missingPlugin.replace("{pluginspage}","http://www.adobe.com/go/getflash").replace("{type}","Adobe Flash player")});break;case"iframe":a=g("<iframe />").attr({width:"number"==typeof t.options.width&&t.options.width&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==this.options.minScale&&"1"==this.options.maxScale?t.options.height:"100%",src:t.URL,frameborder:0,hspace:0,vspace:0,scrolling:z?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:""});break;case"inline":a=g('<div class="ilightbox-wrapper"></div>').html(g(t.URL).clone(!0));break;case"html":(i=t.URL)[0].nodeName||(i=(i=g(t.URL)).selector?g("<div>"+i+"</div>"):i),a=g('<div class="ilightbox-wrapper"></div>').html(i)}return g("div.ilightbox-container",e).empty().html(a),"video"===a[0].tagName.toLowerCase()&&D.webkit&&setTimeout(function(){var e=a[0].currentSrc+"?"+M(3e4*S());a[0].currentSrc=e,a[0].src=e}),a},ogpRecognition:function(e,n){var a=this,e=e.URL;a.showLoader(),ja(e,function(e){if(a.hideLoader(),e){var t={length:!1};if(t.url=e.url,200==e.status){var i=(e=e.results).type,o=e.source;t.source=o.src,t.width=o.width&&parseInt(o.width)||0,t.height=o.height&&parseInt(o.height)||0,t.type=i,t.thumbnail=o.thumbnail||e.images&&e.images[0],t.html5video=e.html5video||{},t.length=!0,"application/x-shockwave-flash"==o.type?t.type="flash":-1!=o.type.indexOf("video/")?t.type="video":-1!=o.type.indexOf("/html")?t.type="iframe":-1!=o.type.indexOf("image/")&&(t.type="image")}else if(void 0!==e.response)throw e.response;n.call(this,!!t.length&&t)}})},hashChangeHandler:function(e){var t=this.vars,i=this.options,o=(e=U(e||p.location.href).hash).split("/");t.hashLock||"#"+i.linkId!=o[0]&&1<e.length||(o[1]&&(t=o[1]||0,this.items[t])?(e=g(".ilightbox-overlay")).length&&e.attr("linkid")==i.linkId?this.goTo(t):this.itemsObject[t].trigger(z?"itap":"click"):(e=g(".ilightbox-overlay")).length&&this.closeAction())}},g.fn.iLightBox=function(){var e=arguments,t=g.isPlainObject(e[0])?e[0]:e[1],i=g.isArray(e[0])||"string"==typeof e[0]?e[0]:e[1],t=t||{},o=(t=g.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0}
2,keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5e3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(e,t){},cache:!1,complete:function(e,t){},crossDomain:!1,error:function(e,t,i){},success:function(e,t,i){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},t),!(!g.isArray(i)&&"string"!=typeof i)),n,i=g.isArray(i)?i:[];if("string"==typeof e[0]&&(i[0]=e[0]),ka(g.fn.jquery,"1.8",">="))return n=new fa(g(this),t,i,o),{close:function(){n.closeAction()},fullscreen:function(){n.fullScreenAction()},moveNext:function(){n.moveTo("next")},movePrev:function(){n.moveTo("prev")},goTo:function(e){n.goTo(e)},refresh:function(){n.refresh()},reposition:function(){0<arguments.length?n.repositionPhoto(!0):n.repositionPhoto()},setOption:function(e){n.setOption(e)},destroy:function(){n.closeAction(),n.dispatchItemsEvents()}};throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+"},g.iLightBox=function(e,t){return g.fn.iLightBox(e,t)},g.extend(g.easing,{easeInCirc:function(e,t,i,o,n){return-o*(P(1-(t/=n)*t)-1)+i},easeOutCirc:function(e,t,i,o,n){return o*P(1-(t=t/n-1)*t)+i},easeInOutCirc:function(e,t,i,o,n){return(t/=n/2)<1?-o/2*(P(1-t*t)-1)+i:o/2*(P(1-(t-=2)*t)+1)+i}}),g.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(e,t){g.fn[t]=function(e){return e?this.bind(t,e):this.trigger(t)},g.attrFn&&(g.attrFn[t]=!0)}),g.event.special.itap={setup:function(){var t=this,i=g(this),o,n;i.bind("touchstart.iTap",function(e){o=L(),i.one("touchend.iTap",function(e){n=L(),(e=g.event.fix(e||p.event)).type="itap",o&&n&&o.x==n.x&&o.y==n.y&&(g.event.dispatch||g.event.handle).call(t,e),o=n=Q})})},teardown:function(){g(this).unbind("touchstart.iTap")}},(()=>{if(t={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},browserPrefixes=["webkit","moz","o","ms","khtml"],void 0!==document.cancelFullScreen)t.supportsFullScreen=!0;else for(var e=0,i=browserPrefixes.length;e<i;e++)if(t.prefix=browserPrefixes[e],void 0!==document[t.prefix+"CancelFullScreen"]){t.supportsFullScreen=!0;break}t.supportsFullScreen&&(t.fullScreenEventName=t.prefix+"fullscreenchange",t.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},t.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},t.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})})(),(()=>{var e,e=(e=navigator.userAgent).toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];e=t[1]||"",t=t[2]||"0",D={},e&&(D[e]=!0,D.version=t),D.chrome?D.webkit=!0:D.webkit&&(D.safari=!0)})(),(()=>{function e(e){for(var t=0,i=n.length;t<i;t++){var o=n[t]?n[t]+e.charAt(0).toUpperCase()+e.slice(1):e;if(a.style[o]!==Q)return o}}var n=["","webkit","moz","ms","o"],a=document.createElement("div");B=e("transform")||"",H=e("perspective")?"translateZ(0) ":""})(),{version:"0.7.9",name:"PluginDetect",handler:function(e,t,i){return function(){e(t,i)}},openTag:"<",isDefined:function(e){return void 0!==e},isArray:function(e){return/array/i.test(Object.prototype.toString.call(e))},isFunc:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isNum:function(e){return"number"==typeof e},isStrNum:function(e){return"string"==typeof e&&/\d/.test(e)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(e,t){var t=this.isStrNum(e)?(this.isDefined(t)?new RegExp(t):this.getNumRegx).exec(e):null;return t?t[0]:null},compareNums:function(e,t,i){var o=parseInt;if(this.isStrNum(e)&&this.isStrNum(t)){if(this.isDefined(i)&&i.compareNums)return i.compareNums(e,t);for(e=e.split(this.splitNumRegx),t=t.split(this.splitNumRegx),i=0;i<Y(e.length,t.length);i++){if(o(e[i],10)>o(t[i],10))return 1;if(o(e[i],10)<o(t[i],10))return-1}}return 0},formatNum:function(e,t){var i;if(!this.isStrNum(e))return null;this.isNum(t)||(t=4),t--;for(var o=e.replace(/\s/g,"").split(this.splitNumRegx).concat(["0","0","0","0"]),i=0;i<4;i++)/^(0+)(.+)$/.test(o[i])&&(o[i]=RegExp.$2),(t<i||!/\d/.test(o[i]))&&(o[i]="0");return o.slice(0,4).join(",")},$$hasMimeType:function(n){return function(e){if(!n.isIE&&e)for(var t,i,o=n.isArray(e)?e:n.isString(e)?[e]:[],i=0;i<o.length;i++)if(n.isString(o[i])&&/[^\s]/.test(o[i])&&(t=(e=navigator.mimeTypes[o[i]])?e.enabledPlugin:0)&&(t.name||t.description))return e;return null}},findNavPlugin:function(e,t,i){e=new RegExp(e,"i"),t=!this.isDefined(t)||t?/\d/:0,i=i?new RegExp(i,"i"):0;for(var o=navigator.plugins,n,n=0;n<o.length;n++){var a=o[n].description||"",s=o[n].name||"";if((e.test(a)&&(!t||t.test(RegExp.leftContext+RegExp.rightContext))||e.test(s)&&(!t||t.test(RegExp.leftContext+RegExp.rightContext)))&&(!i||!i.test(a)&&!i.test(s)))return o[n]}return null},getMimeEnabledPlugin:function(e,t,i){var o;t=new RegExp(t,"i"),i=i?new RegExp(i,"i"):0;for(var n,a=this.isString(e)?[e]:e,n=0;n<a.length;n++)if(o=(o=this.hasMimeType(a[n]))&&o.enabledPlugin){var s=o.description||"";if(e=o.name||"",(t.test(s)||t.test(e))&&(!i||!i.test(s)&&!i.test(e)))return o}return 0},getPluginFileVersion:function(e,t){var i,o,n=-1;if(2<this.OS||!e||!e.version||!(i=this.getNum(e.version)))return t;
2if(t)for(var i=this.formatNum(i),a=(t=this.formatNum(t)).split(this.splitNumRegx),s=i.split(this.splitNumRegx),o=0;o<a.length;o++)if(-1<n&&n<o&&"0"!=a[o]||s[o]!=a[o]&&(-1==n&&(n=o),"0"!=a[o]))return t;return i},AXO:p.ActiveXObject,getAXO:function(e){var t=null;try{t=new this.AXO(e)}catch(e){}return t},convertFuncs:function(e){var t,i=/^[\$][\$]/;for(t in e)if(i.test(t))try{var o=t.slice(2);0<o.length&&!e[o]&&(e[o]=e[t](e),delete e[t])}catch(e){}},initObj:function(e,t,i){var o;if(e){if(1==e[t[0]]||i)for(o=0;o<t.length;o+=2)e[t[o]]=t[o+1];for(o in e)(i=e[o])&&1==i[t[0]]&&this.initObj(i,t)}},initScript:function(){var e=navigator,t,i=document,o=e.userAgent||"",n=e.vendor||"",a=e.platform||"",e=e.product||"";for(t in this.initObj(this,["$",this]),this.Plugins)this.Plugins[t]&&this.initObj(this.Plugins[t],["$",this,"$$",this.Plugins[t]],1);if(this.convertFuncs(this),this.OS=100,a)for(var s=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100],t=s.length-2;0<=t;t-=2)if(s[t]&&new RegExp(s[t],"i").test(a)){this.OS=s[t+1];break}if(this.head=i.getElementsByTagName("head")[0]||i.getElementsByTagName("body")[0]||i.body||null,this.verIE=(this.isIE=new Function("return/*@cc_on!@*/!1")())&&/MSIE\s*(\d+\.?\d*)/i.test(o)?parseFloat(RegExp.$1,10):null,this.docModeIE=this.verIEfull=null,this.isIE){t=document.createElement("div");try{t.style.behavior="url(#default#clientcaps)",this.verIEfull=t.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(e){}t=parseFloat(this.verIEfull||"0",10),this.docModeIE=i.documentMode||(/back/i.test(i.compatMode||"")?5:t)||this.verIE,this.verIE=t||this.docModeIE}if(this.ActiveXEnabled=!1,this.isIE)for(i="Msxml2.XMLHTTP Msxml2.DOMDocument Microsoft.XMLDOM ShockwaveFlash.ShockwaveFlash TDCCtl.TDCCtl Shell.UIHelper Scripting.Dictionary wmplayer.ocx".split(" "),t=0;t<i.length;t++)if(this.getAXO(i[t])){this.ActiveXEnabled=!0;break}this.verGecko=(this.isGecko=/Gecko/i.test(e)&&/Gecko\s*\/\s*\d/i.test(o))?this.formatNum
2(/rv\s*\:\s*([\.\,\d]+)/i.test(o)?RegExp.$1:"0.9"):null,this.verChrome=(this.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(o))?this.formatNum(RegExp.$1):null,this.verSafari=(this.isSafari=(/Apple/i.test(n)||!n&&!this.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(o))&&/Version\s*\/\s*(\d[\d\.]*)/i.test(o)?this.formatNum(RegExp.$1):null,this.verOpera=(this.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(o))&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(o),1)?parseFloat(RegExp.$1,10):null,this.addWinEvent("load",this.handler(this.runWLfuncs,this))},init:function(e){var t={status:-3,plugin:0},i;return this.isString(e)&&(1==e.length?this.getVersionDelimiter=e:(e=e.toLowerCase().replace(/\s/g,""),(i=this.Plugins[e])&&i.getVersion&&(this.isDefined((t.plugin=i).installed)||(i.installed=null,i.version=null,i.version0=null,i.getVersionDone=null,i.pluginName=e),this.garbage=!1,this.isIE&&!this.ActiveXEnabled&&"java"!==e?t.status=-2:t.status=1))),t},fPush:function(e,t){this.isArray(t)&&(this.isFunc(e)||this.isArray(e)&&0<e.length&&this.isFunc(e[0]))&&t.push(e)},callArray:function(e){var t;if(this.isArray(e))for(t=0;t<e.length&&null!==e[t];t++)this.call(e[t]),e[t]=null},call:function(e){var t=this.isArray(e)?e.length:-1;0<t&&this.isFunc(e[0])?e[0](this,1<t?e[1]:0,2<t?e[2]:0,3<t?e[3]:0):this.isFunc(e)&&e(this)},getVersionDelimiter:",",$$getVersion:function(o){return function(e,t,i){return(e=o.init(e)).status<0?null:(1!=(e=e.plugin).getVersionDone&&(e.getVersion(null,t,i),null===e.getVersionDone)&&(e.getVersionDone=1),o.cleanup(),(t=e.version||e.version0)&&t.replace(o.splitNumRegx,o.getVersionDelimiter))}},cleanup:function(){this.garbage&&this.isDefined(p.CollectGarbage)&&p.CollectGarbage()},isActiveXObject:function(e,t){var i=!1,t='<object width="1" height="1" style="display:none" '+e.getCodeBaseVersion(t)+">"+e.HTML+this.openTag+"/object>";if(this.head){this.head.insertBefore(document.createElement("object"),this.head.firstChild),this.head.firstChild.outerHTML=t;try{this.head.firstChild.classid=e.classID}catch(e){}try{this.head.firstChild.object&&(i=!0)}catch(e){}try{i&&this.head.firstChild.readyState<4&&(this.garbage=!0)}catch(e){}this.head.removeChild(this.head.firstChild)}return i},codebaseSearch:function(o,e){var n=this;if(!n.ActiveXEnabled||!o)return null;o.BIfuncs&&o.BIfuncs.length&&null!==o.BIfuncs[o.BIfuncs.length-1]&&n.callArray(o.BIfuncs);var t,i=o.SEARCH;if(n.isStrNum(e))return!!(i.match&&i.min&&n.compareNums(e,i.min)<=0)||!(i.match&&i.max&&0<=n.compareNums(e,i.max))&&((t=n.isActiveXObject(o,e))&&(!i.min||0<n.compareNums(e,i.min))&&(i.min=e),t||i.max&&!(n.compareNums(e,i.max)<0)||(i.max=e),t);var a=[0,0,0,0],s=[].concat(i.digits),r=i.min?1:0,l,c=function(e,t){var i=[].concat(a);return i[e]=t,n.isActiveXObject(o,i.join(","))};if(i.max){for(t=i.max.split(n.splitNumRegx),l=0;l<t.length;l++)t[l]=parseInt(t[l],10);t[0]<s[0]&&(s[0]=t[0])}if(i.min){for(var h=i.min.split(n.splitNumRegx),l=0;l<h.length;l++)h[l]=parseInt(h[l],10);h[0]>a[0]&&(a[0]=h[0])}if(h&&t)for(l=1;l<h.length&&h[l-1]==t[l-1];l++)t[l]<s[l]&&(s[l]=t[l]),h[l]>a[l]&&(a[l]=h[l]);if(i.max)for(l=1;l<s.length;l++)if(0<t[l]&&0==s[l]&&s[l-1]<i.digits[l-1]){s[l-1]+=1;break}for(l=0;l<s.length;l++){for(h={},i=0;i<20&&!(s[l]-a[l]<1)&&!h["a"+(t=X((s[l]+a[l])/2))];i++)h["a"+t]=1,c(l,t)?(a[l]=t,r=1):s[l]=t;if(s[l]=a[l],!(r=!r&&c(l,a[l])?1:r))break}return r?a.join(","):null},addWinEvent:function(e,t){var i;this.isFunc(t)&&(p.addEventListener?p.addEventListener(e,t,!1):p.attachEvent?p.attachEvent("on"+e,t):(i=p["on"+e],p["on"+e]=this.winHandler(t,i)))},winHandler:function(e,t){return function(){e(),"function"==typeof t&&t()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(e){e.winLoaded=!0,e.callArray(e.WLfuncs0),e.callArray(e.WLfuncs),e.onDoneEmptyDiv&&e.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(t){return function(e){t.winLoaded?t.call(e):t.fPush(e,t.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var e,t,i;if(this.div&&this.div.childNodes)for(e=this.div.childNodes.length-1;0<=e;e--){if((i=this.div.childNodes[e])&&i.childNodes)for(t=i.childNodes.length-1;0<=t;t--){var o=i.childNodes[t];try{i.removeChild(o)}catch(e){}}if(i)try{this.div.removeChild(i)}catch(e){}}if(!this.div&&(e=document.getElementById(this.divID))&&(this.div=e),this.div&&this.div.parentNode){try{this.div.parentNode.removeChild(this.div)}catch(e){}this.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var e,t;if(this.winLoaded&&(!this.WLfuncs||!this.WLfuncs.length||null===this.WLfuncs[this.WLfuncs.length-1])){for(e in this)if((t=this[e])&&t.funcs&&(3==t.OTF||t.funcs.length&&null!==t.funcs[t.funcs.length-1]))return;for(e=0;e<this.DONEfuncs.length;e++)this.callArray(this.DONEfuncs);
2this.emptyDiv()}},getWidth:function(e){return e&&(e=e.scrollWidth||e.offsetWidth,this.isNum(e))?e:-1},getTagStatus:function(e,t,i,o){var n=e.span,a=this.getWidth(n),s=(i=i.span,this.getWidth(i)),r=(t=t.span,this.getWidth(t));if(!(n&&i&&t&&this.getDOMobj(e)))return-2;if(!(s<r||a<0||s<0||r<0||r<=this.pluginSize||this.pluginSize<1)){if(r<=a)return-1;try{if(a==this.pluginSize&&(!this.isIE||4==this.getDOMobj(e).readyState)&&(!e.winLoaded&&this.winLoaded||e.winLoaded&&this.isNum(o)&&(this.isNum(e.count)||(e.count=o),10<=o-e.count)))return 1}catch(e){}}return 0},getDOMobj:function(e,t){var e=e?e.span:0,i=e&&e.firstChild?1:0;try{i&&t&&this.div.focus()}catch(e){}return i?e.firstChild:null},setStyle:function(e,t){var i=e.style,o;if(i&&t)for(o=0;o<t.length;o+=2)try{i[t[o]]=t[o+1]}catch(e){}},insertDivInBody:function(e,t){var i=null,t=(t?p.top:p).document,o=t.getElementsByTagName("body")[0]||t.body;if(!o)try{t.write('<div id="pd33993399">.'+this.openTag+"/div>"),i=t.getElementById("pd33993399")}catch(e){}(o=t.getElementsByTagName("body")[0]||t.body)&&(o.insertBefore(e,o.firstChild),i)&&o.removeChild(i)},insertHTML:function(e,t,i,o,n){var a=(n=document).createElement("span"),s,r="outlineStyle none borderStyle none padding 0px margin 0px visibility visible".split(" ");if(this.isDefined(o)||(o=""),this.isString(e)&&/[^\s]/.test(e)){e=e.toLowerCase().replace(/\s/g,"");var l=this.openTag+e+' width="'+this.pluginSize+'" height="'+this.pluginSize+'" ';for(l+='style="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;display:inline;" ',s=0;s<t.length;s+=2)/[^\s]/.test(t[s+1])&&(l+=t[s]+'="'+t[s+1]+'" ');for(l+=">",s=0;s<i.length;s+=2)/[^\s]/.test(i[s+1])&&(l+=this.openTag+'param name="'+i[s]+'" value="'+i[s+1]+'" />');l+=o+this.openTag+"/"+e+">"}else l=o;if(this.div||((t=n.getElementById(this.divID))?this.div=t:(this.div=n.createElement("div"),this.div.id=this.divID),this.setStyle(this.div,r.concat(["width",this.divWidth+"px","height",this.pluginSize+3+"px","fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","block"])),t)||(this.setStyle(this.div,"position absolute right 0px top 0px".split(" ")),this.insertDivInBody(this.div)),this.div&&this.div.parentNode){this.setStyle(a,r.concat(["fontSize",this.pluginSize+3+"px","lineHeight",this.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{a.innerHTML=l}catch(e){}try{this.div.appendChild(a)}catch(e){}return{span:a,winLoaded:this.winLoaded,tagName:e,outerHTML:l}}return{span:null,winLoaded:this.winLoaded,tagName:"",outerHTML:l}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="" /><param name="controller" value="false" />',getCodeBaseVersion:function(e){return'codebase="#version='+e+'"'},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(e){var t=this.$,i=null,o=null;if(t.isIE){if(t.isStrNum(e)&&(3<(e=e.split(t.splitNumRegx)).length&&0<parseInt(e[3],10)&&(e[3]="9999"),e=e.join(",")),t.isStrNum(e)&&t.verIE>=this.minIEver&&0<this.canUseIsMin())return this.installed=this.isMin(e),void(this.getVersionDone=0);this.getVersionDone=1,(i=!i&&t.verIE>=this.minIEver?this.CDBASE2VER(t.codebaseSearch(this)):i)||(o=t.getAXO(this.progID))&&o.QuickTimeVersion&&(i=o.QuickTimeVersion.toString(16),i=parseInt(i.charAt(0),16)+"."+parseInt(i.charAt(1),16)+"."+parseInt(i.charAt(2),16))}else t.hasMimeType(this.mimeType)&&(o=3!=t.OS?t.findNavPlugin("QuickTime.*Plug-?in",0):null)&&o.name&&(i=t.getNum(o.name));this.installed=i?1:o?0:-1,this.version=t.formatNum(i,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(e,t){var t=t.split(e.$.splitNumRegx);return[t[0],t[1].charAt(0),t[1].charAt(1),t[2]].join()},null],CDBASE2VER:function(e){var t=this.$,i,o=this.cdbaseUpper,n=this.cdbaseLower;if(e)for(e=t.formatNum(e),i=0;i<o.length;i++)if(o[i]&&t.compareNums(e,o[i])<0&&n[i]&&0<=t.compareNums(e,n[i])&&this.cdbase2ver[
2i])return this.cdbase2ver[i](this,e);return e},canUseIsMin:function(){var e=this.$,t,i=this.canUseIsMin,o=this.cdbaseUpper,n=this.cdbaseLower;if(!i.value)for(i.value=-1,t=0;t<o.length;t++){if(o[t]&&e.codebaseSearch(this,o[t])){i.value=1;break}if(n[t]&&e.codebaseSearch(this,n[t])){i.value=-1;break}}return this.SEARCH.match=1==i.value?1:0,i.value},isMin:function(e){return this.$.codebaseSearch(this,e)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var e=function(e){return(e=e&&/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(e))?e[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null},t=this.$,i,o=null,n=null,a=null;if(t.isIE){for(i=15;2<i;i--)if(n=t.getAXO(this.progID+"."+i)){a=i.toString();break}if(n=n||t.getAXO(this.progID),"6"==a)try{n.AllowScriptAccess="always"}catch(e){return"6,0,21,0"}try{o=e(n.GetVariable("$version"))}catch(e){}!o&&a&&(o=a)}else{if(n=t.hasMimeType(this.mimeType)){i=t.getDOMobj(t.insertHTML("object",["type",this.mimeType],[],"",this));try{o=t.getNum(i.GetVariable("$version"))}catch(e){}}o||(o=(o=(i=n?n.enabledPlugin:null)&&i.description?e(i.description):o)&&t.getPluginFileVersion(i,o))}return this.installed=o?1:-1,this.version=t.formatNum(o),!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var e=null,t=null,i=this.$;if(i.isIE){try{t=i.getAXO(this.progID).ShockwaveVersion("")}catch(e){}i.isString(t)&&0<t.length?e=i.getNum(t):i.getAXO(this.progID+".8")?e="8":i.getAXO(this.progID+".7")?e="7":i.getAXO(this.progID+".1")&&(e="6")}else e=(e=(t=i.findNavPlugin("Shockwave\\s*for\\s*Director"))&&t.description&&i.hasMimeType(this.mimeType)?i.getNum(t.description):e)&&i.getPluginFileVersion(t,e);
2this.installed=e?1:-1,this.version=i.formatNum(e)}},zz:0}}),na=(ha.initScript(),'The "%%" function requires an even number of arguments.\nArguments should be in the form "atttributeName", "attributeValue", ...'),r=null;(()=>{function i(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var n=document,e=g.event.special,t=n.documentMode,o="oniLightBoxHashChange"in p&&(void 0===t||7<t),a=(g.fn.iLightBoxHashChange=function(e){return e?this.bind("iLightBoxHashChange",e):this.trigger("iLightBoxHashChange")},g.fn.iLightBoxHashChange.delay=50,e.iLightBoxHashChange=g.extend(e.iLightBoxHashChange,{setup:function(){if(o)return!1;g(a.start)},teardown:function(){if(o)return!1;g(a.stop)}}),t={},r=i(),c=l=e=function(e){return e},t.start=function(){s||d()},t.stop=function(){s&&clearTimeout(s),s=void 0},D.msie&&!o&&(t.start=function(){h||(u=(u=g.fn.iLightBoxHashChange.src)&&u+i(),h=g('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){u||l(i()),d()}).attr("src",u||"javascript:0").insertAfter("body")[0].contentWindow,n.onpropertychange=function(){try{"title"===event.propertyName&&(h.document.title=n.title)}catch(e){}})},t.stop=e,c=function(){return i(h.location.href)},l=function(e,t){var i=h.document,o=g.fn.iLightBoxHashChange.domain;e!==t&&(i.title=n.title,i.open(),o&&i.write('<script>document.domain="'+o+'"<\/script>'),i.close(),h.location.hash=e)}),t),t,s,r,e,l,c,h,u;function d(){var e=i(),t=c(r);e!==r?(l(r=e,t),g(p).trigger("iLightBoxHashChange")):t!==r&&(location.href=location.href.replace(/#.*/,"")+t),s=setTimeout(d,g.fn.iLightBoxHashChange.delay)}})(),Array.prototype.filter||(Array.prototype.filter=function(e,t){if(null==this)throw new TypeError;var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError;for(var n=[],a=0,s;a<o;a++){a in i&&(s=i[a],e.call(t,s,a,i))&&n.push(s)}return n}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),o=i.length>>>0;if(0!=o){var n=+t||0;if(!(o<=(n=1/0===I(n)?0:n)))for(n=ca(0<=n?n:o-I(n),0);n<o;){if(n in i&&i[n]===e)return n;n++}}return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){if(null==this)throw new TypeError;var t=Object(this),i=t.length>>>0;if(0!==i){var o=i;for(1<arguments.length&&((o=Number(arguments[1]))!=o?o=0:0!=o&&o!=1/0&&o!=-1/0&&(o=(0<o||-1)*M(I(o)))),i=0<=o?Y(o,i-1):i-I(o);0<=i;i--)if(i in t&&t[i]===e)return i}return-1})}(jQuery,this),(s=>{function t(e){var t=e||window.event,i=[].slice.call(arguments,1),o=0,n=0,a=0;return(e=s.event.fix(t)).type="mousewheel",t.wheelDelta&&(o=t.wheelDelta/120),a=o=t.detail?-t.detail/3:o,void 0!==t.axis&&t.axis===t.HORIZONTAL_AXIS&&(a=0,n=-1*o),void 0!==t.wheelDeltaY&&(a=t.wheelDeltaY/120),void 0!==t.wheelDeltaX&&(n=-1*t.wheelDeltaX/120),i.unshift(e,o,n,a),(s.event.dispatch||s.event.handle).apply(this,i)}var i=["DOMMouseScroll","mousewheel"];if(s.event.fixHooks)for(var e=i.length;e;)s.event.fixHooks[i[--e]]=s.event.mouseHooks;s.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null}},s.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})})(jQuery),((e,a,t)=>{for(var i,s=0,o=function(e){i&&(a.requestAnimationFrame(o,e),jQuery.fx.tick())},n=["ms","moz","webkit","o"],r=0,l=n.length;r<l&&!a.requestAnimationFrame;++r)a.requestAnimationFrame=a[n[r]+"RequestAnimationFrame"],a.cancelAnimationFrame=a[n[r]+"CancelAnimationFrame"]||a[n[r]+"CancelRequestAnimationFrame"];a.requestAnimationFrame||(a.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),o=i-s,n=Math.max(0,16-o),o=a.setTimeout(function(){e(i+n)},n);return s=i+n,o}),a.cancelAnimationFrame||(a.cancelAnimationFrame=function(e){clearTimeout(e)}),jQuery.fx.timer=function(e){e()&&jQuery.timers.push(e)&&!i&&(i=!0,o(e.elem))},jQuery.fx.stop=function(){i=!1}})(jQuery,this),jQuery(document).ready(function(){var e=jQuery("div.entry");jQuery("a.lightbox-enabled").iLightBox({skin:tie.lightbox_skin,path:tie.lightbox_thumb,controls:{arrows:tie.lightbox_arrows},callback:{onHide:function(){setTimeout(function(){jQuery("html").removeAttr("style")},300)}}}),tie.lightbox_all&&(e.find("a").not(".gallery a").not(".wp-block-gallery a").not(".tiled-gallery a").each(function(e,t){var t=t.href;/\.(jpg|jpeg|png|gif|webp|avif)$/.test(t.replace("?ssl=1",""))&&jQuery(this).iLightBox({skin:tie.lightbox_skin,callback:{onHide:function(){setTimeout(function(){jQuery("html").removeAttr("style")},300)}}})}),tie.lightbox_gallery)&&(e.find(".gallery a, .wp-block-gallery a, .tiled-gallery a").each(function(e,t){var t=t.href;/\.(jpg|jpeg|png|gif|webp|avif)$/.test(t.replace("?ssl=1",""))&&jQuery(this).addClass("ilightbox-gallery")}
2),e.find(".ilightbox-gallery").iLightBox({skin:tie.lightbox_skin,path:tie.lightbox_thumb,controls:{arrows:tie.lightbox_arrows},callback:{onHide:function(){setTimeout(function(){jQuery("html").removeAttr("style")},300)}}}))});

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.