PageSourceSearch

https://www.searchonek9.org/wp-content/cache/autoptimize/js/autoptimize_1238a2731668d426fd156f21cb10bc0d.js

js searchonek9.org collected 2026-10-05 06:25:23 UTC 118,825 bytes, 111 lines download raw bytes

1/*! jQuery Migrate v1.4.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
2"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(a,b,c){function d(c){var d=b.console;f[c]||(f[c]=!0,a.migrateWarnings.push(c),d&&d.warn&&!a.migrateMute&&(d.warn("JQMIGRATE: "+c),a.migrateTrace&&d.trace&&d.trace()))}function e(b,c,e,f){if(Object.defineProperty)try{return void Object.defineProperty(b,c,{configurable:!0,enumerable:!0,get:function(){return d(f),e},set:function(a){d(f),e=a}})}catch(g){}a._definePropertyBroken=!0,b[c]=e}a.migrateVersion="1.4.1";var f={};a.migrateWarnings=[],b.console&&b.console.log&&b.console.log("JQMIGRATE: Migrate is installed"+(a.migrateMute?"":" with logging active")+", version "+a.migrateVersion),a.migrateTrace===c&&(a.migrateTrace=!0),a.migrateReset=function(){f={},a.migrateWarnings.length=0},"BackCompat"===document.compatMode&&d("jQuery is not compatible with Quirks Mode");var g=a("<input/>",{size:1}).attr("size")&&a.attrFn,h=a.attr,i=a.attrHooks.value&&a.attrHooks.value.get||function(){return null},j=a.attrHooks.value&&a.attrHooks.value.set||function(){return c},k=/^(?:input|button)$/i,l=/^[238]$/,m=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,n=/^(?:checked|selected)$/i;e(a,"attrFn",g||{},"jQuery.attrFn is deprecated"),a.attr=function(b,e,f,i){var j=e.toLowerCase(),o=b&&b.nodeType;return i&&(h.length<4&&d("jQuery.fn.attr( props, pass ) is deprecated"),b&&!l.test(o)&&(g?e in g:a.isFunction(a.fn[e])))?a(b)[e](f):("type"===e&&f!==c&&k.test(b.nodeName)&&b.parentNode&&d("Can't change the 'type' of an input or button in IE 6/7/8"),!a.attrHooks[j]&&m.test(j)&&(a.attrHooks[j]={get:function(b,d){var e,f=a.prop(b,d);return f===!0||"boolean"!=typeof f&&(e=b.getAttributeNode(d))&&e.nodeValue!==!1?d.toLowerCase():c},set:function(b,c,d){var e;return c===!1?a.removeAttr(b,d):(e=a.propFix[d]||d,e in b&&(b[e]=!0),b.setAttribute(d,d.toLowerCase())),d}},n.test(j)&&d("jQuery.fn.attr('"+j+"') might use property instead of attribute")),h.call(a,b,e,f))},a.attrHooks.value={get:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?i.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value') no longer gets properties"),b in a?a.value:null)},set:function(a,b){var c=(a.nodeName||"").toLowerCase();return"button"===c?j.apply(this,arguments):("input"!==c&&"option"!==c&&d("jQuery.fn.attr('value', val) no longer sets properties"),void(a.value=b))}};var o,p,q=a.fn.init,r=a.find,s=a.parseJSON,t=/^\s*</,u=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,v=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,w=/^([^<]*)(<[\w\W]+>)([^>]*)$/;a.fn.init=function(b,e,f){var g,h;return b&&"string"==typeof b&&!a.isPlainObject(e)&&(g=w.exec(a.trim(b)))&&g[0]&&(t.test(b)||d("$(html) HTML strings must start with '<' character"),g[3]&&d("$(html) HTML text after last tag is ignored"),"#"===g[0].charAt(0)&&(d("HTML string cannot start with a '#' character"),a.error("JQMIGRATE: Invalid selector string (XSS)")),e&&e.context&&e.context.nodeType&&(e=e.context),a.parseHTML)?q.call(this,a.parseHTML(g[2],e&&e.ownerDocument||e||document,!0),e,f):(h=q.apply(this,arguments),b&&b.selector!==c?(h.selector=b.selector,h.context=b.context):(h.selector="string"==typeof b?b:"",b&&(h.context=b.nodeType?b:e||document)),h)},a.fn.init.prototype=a.fn,a.find=function(a){var b=Array.prototype.slice.call(arguments);if("string"==typeof a&&u.test(a))try{document.querySelector(a)}catch(c){a=a.replace(v,function(a,b,c,d){return"["+b+c+'"'+d+'"]'});try{document.querySelector(a),d("Attribute selector with '#' must be quoted: "+b[0]),b[0]=a}catch(e){d("Attribute selector with '#' was not fixed: "+b[0])}}return r.apply(this,b)};var x;for(x in r)Object.prototype.hasOwnProperty.call(r,x)&&(a.find[x]=r[x]);a.parseJSON=function(a){return a?s.apply(this,arguments):(d("jQuery.parseJSON requires a valid JSON string"),null)},a.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a.browser||(o=a.uaMatch(navigator.userAgent),p={},o.browser&&(p[o.browser]=!0,p.version=o.version),p.chrome?p.webkit=!0:p.webkit&&(p.safari=!0),a.browser=p),e(a,"browser",a.browser,"jQuery.browser is deprecated"),a.boxModel=a.support.boxModel="CSS1Compat"===document.compatMode,e(a,"boxModel",a.boxModel,"jQuery.boxModel is deprecated"),e(
2a.support,"boxModel",a.support.boxModel,"jQuery.support.boxModel is deprecated"),a.sub=function(){function b(a,c){return new b.fn.init(a,c)}a.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(d,e){var f=a.fn.init.call(this,d,e,c);return f instanceof b?f:b(f)},b.fn.init.prototype=b.fn;var c=b(document);return d("jQuery.sub() is deprecated"),b},a.fn.size=function(){return d("jQuery.fn.size() is deprecated; use the .length property"),this.length};var y=!1;a.swap&&a.each(["height","width","reliableMarginRight"],function(b,c){var d=a.cssHooks[c]&&a.cssHooks[c].get;d&&(a.cssHooks[c].get=function(){var a;return y=!0,a=d.apply(this,arguments),y=!1,a})}),a.swap=function(a,b,c,e){var f,g,h={};y||d("jQuery.swap() is undocumented and deprecated");for(g in b)h[g]=a.style[g],a.style[g]=b[g];f=c.apply(a,e||[]);for(g in b)a.style[g]=h[g];return f},a.ajaxSetup({converters:{"text json":a.parseJSON}});var z=a.fn.data;a.fn.data=function(b){var e,f,g=this[0];return!g||"events"!==b||1!==arguments.length||(e=a.data(g,b),f=a._data(g,b),e!==c&&e!==f||f===c)?z.apply(this,arguments):(d("Use of jQuery.fn.data('events') is deprecated"),f)};var A=/\/(java|ecma)script/i;a.clean||(a.clean=function(b,c,e,f){c=c||document,c=!c.nodeType&&c[0]||c,c=c.ownerDocument||c,d("jQuery.clean() is deprecated");var g,h,i,j,k=[];if(a.merge(k,a.buildFragment(b,c).childNodes),e)for(i=function(a){return!a.type||A.test(a.type)?f?f.push(a.parentNode?a.parentNode.removeChild(a):a):e.appendChild(a):void 0},g=0;null!=(h=k[g]);g++)a.nodeName(h,"script")&&i(h)||(e.appendChild(h),"undefined"!=typeof h.getElementsByTagName&&(j=a.grep(a.merge([],h.getElementsByTagName("script")),i),k.splice.apply(k,[g+1,0].concat(j)),g+=j.length));return k});var B=a.event.add,C=a.event.remove,D=a.event.trigger,E=a.fn.toggle,F=a.fn.live,G=a.fn.die,H=a.fn.load,I="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",J=new RegExp("\\b(?:"+I+")\\b"),K=/(?:^|\s)hover(\.\S+|)\b/,L=function(b){return"string"!=typeof b||a.event.special.hover?b:(K.test(b)&&d("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(K,"mouseenter$1 mouseleave$1"))};a.event.props&&"attrChange"!==a.event.props[0]&&a.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),a.event.dispatch&&e(a.event,"handle",a.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),a.event.add=function(a,b,c,e,f){a!==document&&J.test(b)&&d("AJAX events should be attached to document: "+b),B.call(this,a,L(b||""),c,e,f)},a.event.remove=function(a,b,c,d,e){C.call(this,a,L(b)||"",c,d,e)},a.each(["load","unload","error"],function(b,c){a.fn[c]=function(){var a=Array.prototype.slice.call(arguments,0);return"load"===c&&"string"==typeof a[0]?H.apply(this,a):(d("jQuery.fn."+c+"() is deprecated"),a.splice(0,0,c),arguments.length?this.bind.apply(this,a):(this.triggerHandler.apply(this,a),this))}}),a.fn.toggle=function(b,c){if(!a.isFunction(b)||!a.isFunction(c))return E.apply(this,arguments);d("jQuery.fn.toggle(handler, handler...) is deprecated");var e=arguments,f=b.guid||a.guid++,g=0,h=function(c){var d=(a._data(this,"lastToggle"+b.guid)||0)%g;return a._data(this,"lastToggle"+b.guid,d+1),c.preventDefault(),e[d].apply(this,arguments)||!1};for(h.guid=f;g<e.length;)e[g++].guid=f;return this.click(h)},a.fn.live=function(b,c,e){return d("jQuery.fn.live() is deprecated"),F?F.apply(this,arguments):(a(this.context).on(b,this.selector,c,e),this)},a.fn.die=function(b,c){return d("jQuery.fn.die() is deprecated"),G?G.apply(this,arguments):(a(this.context).off(b,this.selector||"**",c),this)},a.event.trigger=function(a,b,c,e){return c||J.test(a)||d("Global events are undocumented and deprecated"),D.call(this,a,b,c||document,e)},a.each(I.split("|"),function(b,c){a.event.special[c]={setup:function(){var b=this;return b!==document&&(a.event.add(document,c+"."+a.guid,function(){a.event.trigger(c,Array.prototype.slice.call(arguments,1),b,!0)}),a._data(this,c,a.guid++)),!1},teardown:function(){return this!==document&&a.event.remove(document,c+"."+a._data(this,c)),!1}}}),a.event.special.ready={setup:function(){this===document&&d("'ready' event is deprecated")}};var M=a.fn.andSelf||a.fn.addBack,N=a.fn.find;if(a.fn.andSelf=function(){return d("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),M.apply(this,arguments)},a.fn.find=function(a){var b=N.apply(this,arguments);return b.context=this.context,b.selector=this.selector?this.selector+" "+a:a,b},a.Callbacks){var O=a.Deferred,P=[["resolve","done",a.Callbacks("once memory"),a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory"),a.Callbacks("memory")]];a.Deferred=function(b){var c=O(),e=c.promise();return c.pipe=e.pipe=function(){var b=arguments;return d("deferred.pipe() is deprecated"),a.Deferred(function(d){a.each(P,function(f,g){var h=a.isFunction(b[f])&&b[f];c[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},c.isResolved=function(){return d("deferred.isResolved is deprecated"),"resolved"===c.state()},c.isRejected=function(){return d("deferred.isRejected is deprecated"),"rejected"===c.state()},b&&b.call(c,c),c}}}(jQuery,window);
3
4(function(a){a.fn.lightpop=function(O,B,z,f,g,t){document._write=document.write;z=z||"lightpop";f=f||"images/";g=g||f+z+"-";t=t||f+"icon-";O=a.extend(true,{overlayBgColor:"#000",overlayOpacity:0.7,contentFrameType:"border",contentBorder:"none",boxBorderSize:6,containerBorderSize:10,
4containerResizeSpeed:"normal",contentBgColor:"#FFF",imageBox:g+"box.gif",imageBorderL:g+"border-l.gif",imageBorderR:g+"border-r.gif",imageLoading:g+"ico-loading.gif",imageBtnPrev:g+"btn-prev.gif",imageBtnNext:g+"btn-next.gif",imageBtnClose:g+"btn-close.gif",imageBlank:g+"blank.gif",imageBtnPrevWidth:63,imageBtnNextWidth:63,imageBtnCloseWidth:66,txtImage:null,txtOf:"of",setLinkToTitle:false,keyToClose:"c",keyToPrev:"p",keyToNext:"n",filter:"a,area",flvplayer:"flvplayer.swf",iconAdd:true,detailsEnabled:true,initSize:250,defaultLater:1500,grouping:true,Image:{enabled:true,icon:t+"image.png",param:{},size:[0,0]},Contents:{enabled:true,icon:t+"contents.png",param:{},size:[0,0],iframeEnabled:true,scrolling:"no",style:"border:solid 1px #CCC;"},Video:{enabled:true,icon:t+"video.png",param:{},size:[320,240]},YouTube:{enabled:true,icon:t+"youtube.png",param:{hl:"ja"},size:[425,355]},Metacafe:{enabled:true,icon:t+"metacafe.png",param:{},size:[400,345]},LiveLeak:{enabled:true,icon:t+"liveleak.png",param:{},size:[450,370]},GoogleVideo:{enabled:true,icon:t+"googlevideo.png",param:{hl:"ja"},size:[400,326]},Dailymotion:{enabled:true,icon:t+"dailymotion.png",param:{},size:[420,330]},superdeluxe:{enabled:true,icon:t+"superdeluxe.png",param:{},size:[400,350]},nicovideo:{enabled:true,icon:t+"nicovideo.png",param:{},size:[485,385]}},O);if(O.imageMaxWidth||O.imageMaxHeight){O=a.extend(true,O,{Image:{size:[(O.imageMaxWidth||0),(O.imageMaxHeight||0)]}})}var i=/^border$/i.test(O.contentFrameType);var H=[];var S=document,G=window;var T=S.body,Q=S.documentElement,k=S.images;var l=a.browser.msie,F=a.browser.mozilla,C=a.browser.opera,m=a.browser.safari;var E=a.support.boxModel;B=a.extend(true,{Image:{match:function(b){return(O.Image.enabled&&/\.(jpe?g|gif|png|bmp)$/i.test(b))},defaultSize:O.Image.size,set:function(b){x(b,true)},preload:function(b){x(b,false)}},Video:{match:function(b){return(O.Video.enabled&&/\.(flv|swf|rm|mov|3gp|mp4|asf|avi|mpg|wmv)$/i.test(b))},defaultSize:O.Video.size,getInfo:function(Z,W,aa,ab,d,Y){Y=Y||Z.replace(/\?.*$/,"");var X={};var ac="true";var e=false;var b={rm:{id:"CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA",type:"audio/x-pn-realaudio-plugin"},mp4:{id:"02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",type:"video/quicktime",url:"http://www.apple.com/qtactivex/qtplugin.cab"},wmv:{id:"6BF52A52-394A-11d3-B153-00C04F79FAA6",type:"application/x-oleobject",url:"http://www.microsoft.com/windows/windowsmedia"}};var w=Y.toLowerCase().match(/\.(flv|swf|rm|mov|3gp|mp4|asf|avi|mpg|wmv)$/i)[1];switch(w){case"flv":aa+=22;X={flashvars:"movieURL="+Y+"&autoStart="+ac};Y=O.flvplayer+"?file="+Y;case"swf":X=a.extend(true,X,{quality:"high",bgcolor:"#000"});Y=v(Y,W,aa,X);break;case"rm":X={autostart:ac,controls:"imagewindow,controlpanel"};Y=c(Y,b.rm.id,b.rm.type,W,aa,X,"","",e,true);break;case"mov":case"mp4":case"3gp":aa+=20;X={href:Y,controller:"true",pluginspage:"http://www.apple.com/quicktime/download/",autoplay:ac,bgcolor:"000000"};Y=c(Y,b.mp4.id,b.mp4.type,W,aa,X,' codebase="'+b.mp4.url+'"',"",e,true);break;case"wmv":default:aa+=20;if(w=="wmv"){X={URL:Y,AutoStart:ac,uiMode:"full"};e='src="'+Y+'" name="player" width="'+W+'" height="'+aa+'" type="'+b.wmv.type+'" pluginurl="'+b.wmv.url+'" allowchangedisplaysize="1" autosize="1" displaysize="1" showcontrols="1" showstatusbar="0" autorewind="1" autostart="'+(ac=="false"?"0":"1")+'"'}else{X={href:Y,autostart:ac,uiMode:"full"}}Y=c(Y,b.wmv.id,b.wmv.type,W,aa,X,"","",e,false);break}return{content:Y,width:W,height:aa,later:Math.round(O.defaultLater*2/3)}}},YouTube:{match:function(b){return(O.YouTube.enabled&&/\.youtube\.com\/watch/i.test(b))},base:"www.youtube.com/v/",defaultSize:O.YouTube.size,getInfo:function(W,d,X,Y,b,Z,w){Z=Z||W.replace(/^.*\?v=(.*)$/i,"$1");w=w||b.base+Z;var e={allowFullScreen:"true"};for(var aa in Y){if(/^fmt$/i.test(aa)){w+="&ap=%2526fmt%3D"+Y[aa]}else{w+="&"+aa+"="+Y[aa];if(!/^hl$/i.test(aa)){e[aa]=Y[aa]}if(!/^fs$/i.test(aa)){e.allowFullScreen=(Y[aa]=="1"?"true":"false")}}}w=v(w,d,X,e);return{content:w,width:d,height:X,later:O.defaultLater}}},Metacafe:{match:function(b){return(O.Metacafe.enabled&&/\.metacafe\.com\/watch/i.test(b))},base:"www.metacafe.com/fplayer/",defaultSize:O.Metacafe.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\/watch\/([\d]+\/[^\/]*)\/?.*$/i,"$1");w=w||W.base+b+".swf";var d={};w=v(w,X,e,d,Z);return{content:w,width:X,height:e,later:O.defaultLater}}},LiveLeak:{match:function(b){return(O.LiveLeak.enabled&&/\.liveleak\.com\/view/i.test(b))},base:"www.liveleak.com/player.swf?autostart=false&amp;token=",defaultSize:O.LiveLeak.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\?i=(.*)$/i,"$1");w=w||W.base+b;var d={quality:"high"};w=v(w,X,e,d,Z);return{content:w,width:X,height:e,later:O.defaultLater}}},GoogleVideo:{match:function(b){return(O.GoogleVideo.enabled&&/video\.google\.com\/videoplay/i.test(b))},base:"video.google.com/googleplayer.swf?docId=",defaultSize:O.GoogleVideo.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\?docid=([a-z\d\-]+).*$/i,"$1");w=w||W.base+b;var d={flashvars:""};w=v(w,X,e,d,Z);return{content:w,width:X,height:e,later:O.defaultLater}}},Dailymotion:{match:function(b){return(O.Dailymotion.enabled&&/\.dailymotion\.com\/video/i.test(b))},base:"www.dailymotion.com/swf/",defaultSize:O.Dailymotion.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\/video\/([^_]*).*$/i,"$1");w=w||W.base+b;var d={allowFullScreen:"true",allowScriptAccess:"always"};w=v(w,X,e,d,Z);return{content:w,width:X,height:e,later:O.defaultLater}}},superdeluxe:{match:function(b){return(O.superdeluxe.enabled&&/\.superdeluxe\.com\/sd/i.test(b))},base:"i.cdn.turner.com/sdx/static/swf/share_vidplayer.swf",defaultSize:O.superdeluxe.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\?id=(.*)$/i,"$1");w=w||W.base;var d={allowFullScreen:"true",FlashVars:"id="+b};w=v(w,X,e,d,Z);return{content:w,width:X,height:e,later:O.defaultLater}}},nicovideo:{match:function(b){return(O.nicovideo.enabled&&/\.nicovideo\.jp\/watch/i.test(b))},base:"www.nicovideo.jp/watch/",defaultSize:O.nicovideo.size,getInfo:function(Y,X,e,Z,W,b,w){b=b||Y.replace(/^.*\/watch\/(.*)$/i,"$1");w=w||W.base+b;w='<iframe width="'+X+'" height="'+e+'" src="http://www.nicovideo.jp/thumb/'+b+'" scrolling="no" style="border:solid 1px #CCC;" frameborder="0"><a href="'+w+'">'+W.tytle+"</iframe>";var d=[];document.write=function(aa){d.push(aa)};a.getScript("http://ext.nicovideo.jp/thumb_watch/"+b,function(){W.content=d.join("");a("#lightpop-content").html(W.content);d=[];document.write=document._write});
4return{content:w,width:X,height:e,later:Math.round(O.defaultLater/3)}}},Contents:{match:function(b){return(O.Contents.enabled&&RegExp(G.location.host,"i").test(b)&&!/\.(jpe?g|gif|png|bmp)$/i.test(b))},defaultSize:O.Contents.size,set:function(e,b){var w=q(H[e].href,O.Contents.size);var d='width="'+w[0]+'" height="'+w[1]+'"';if(O.Contents.iframeEnabled){b="<iframe "+d+' src="'+H[e].href+'" scrolling="'+O.Contents.scrolling+'" style="'+O.Contents.style+'" frameborder="0"><a href="'+H[e].href+'">'+H[e].tytle+"</a></iframe>";H[e]=a.extend(H[e],{content:b,width:w[0],height:w[1],later:500});N(e)}else{a.get(H[e].href,function(X,W){b="<div "+d+">"+X.replace(/[\r\n]/g,"").replace(/.*<body.*?>(.*?)<\/body>.*$/,"$1").replace(/<script.*?>.*<\/script>/g,"")+"</div>";H[e]=a.extend(H[e],{content:b,width:w[0],height:w[1],later:500});N(e)})}},preload:function(b){},content_css:{"text-align":"left","line-height":"1.2em"}}},B);var j={overlay:"overlay",lightpop:z,box:z+"-box",inner:z+"-box-inner",content:z+"-content",nav:z+"-nav",next:z+"-nav-prev",prev:z+"-nav-next",data:z+"-data",wrap:z+"-data-wrap",close:z+"-data-close",details:z+"-details",caption:z+"-details-caption",number:z+"-details-number",loading:z+"-loading"},P={};for(var r in j){P[r]="#"+j[r]}var L=function(b,e){V(O.imageBtnPrev,function(w){O.imageBtnPrevWidth=(w.width>0?w.width:O.imageBtnPrevWidth);V(O.imageBtnNext,function(W){O.imageBtnNextWidth=(W.width>0?W.width:O.imageBtnNextWidth);V(O.imageBtnClose,function(X){O.imageBtnCloseWidth=(X.width>0?X.width:O.imageBtnCloseWidth);if(!i){V(O.imageBox,function(Y){V(O.imageBorderL,function(Z){V(O.imageBorderR,function(aa){O.contentBorder="none"})})})}})})});e=e||[];var d=0;b.filter(O.filter).each(function(){var w=G.location;var Z=a(this);if(!/^https?:/i.test(Z.attr("href"))&&/^https?:/i.test(w.protocol)){Z.attr("href",(/^\//i.test(Z.attr("href"))?w.protocol+"//"+w.hostname+"/"+Z.attr("href"):w.href.replace(/^(.*\/).*$/i,"$1")+Z.attr("href").replace(/^\/?(.*)$/i,"$1")))}for(var X in B){var W=B[X];if(W.match(Z.attr("href").replace(/\?.*$/,""))){var Y=O[X];if(O.iconAdd&&Z.children("img").length===0){Z.css({background:"transparent url("+Y.icon+") no-repeat scroll 1px 0pt",paddingLeft:"20px"})}H.push({type:X,href:Z.attr("href"),title:Z.attr("title")||Z.html().replace(/<[^>]*>/ig,""),base:(W.base?"http://"+W.base:"/")});Z.unbind("click").click((function(aa){return function(){u(aa);return false}})(d));e.push(this);d++;break}}});return new a(e)};var u=function(Z,Y,w,X,e){O.grouping=(H.length>1?O.grouping:false);h(a("embed, object, select"),false);Y=Y||'<div id="'+j.content+'-wrap"><div id="'+j.content+'" /></div>';w=w||(O.detailsEnabled?'<div id="'+j.wrap+'"><div id="'+j.data+'"><div id="'+j.details+'"><div id="'+j.caption+'" /><div id="'+j.number+'" /></div><div id="'+j.data+'-nav"><a href="#" id="'+j.close+'"><img src="'+O.imageBtnClose+'" /></a></div></div></div>':"");X=X||'<div id="'+j.nav+'"><a href="#" id="'+j.prev+'" /><a href="#" id="'+j.next+'" /></div><div id="'+j.loading+'"><a href="#" id="'+j.loading+'-link"><img src="'+O.imageLoading+'" /></a></div>';e=e||'<div id="'+j.overlay+'" /><div id="'+j.lightpop+'"><div id="'+j.box+'"><div id="'+j.inner+'">'+(i?Y+"</div>"+w:'<div id="'+j.box+'-hd"><div id="'+j.box+'-hdc" /></div><div id="'+j.box+'-bd"><div id="'+j.box+'-bdc">'+Y+w+'</div></div><div id="'+j.box+'-ft"><div id="'+j.box+'-ftc" /></div></div>')+X+"</div></div>";a("body").children(":first").before(a(e).hide());var aa=K();var b=M();var d=O.containerBorderSize;a(P.overlay+","+P.lightpop+","+P.nav+","+P.loading).css({position:"absolute"});a(P.box+","+P.data).css({position:"relative"});var ab=D(aa,b);a(P.overlay).css({top:0,left:0,backgroundColor:O.overlayBgColor,opacity:O.overlayOpacity,width:aa.page.width,height:aa.page.height,zIndex:90});a(P.lightpop).css({width:"100%",height:0,top:ab.top,left:ab.left,overflow:"visible","text-align":"center","line-height":0,border:"none",zIndex:100});a(P.lightpop+" a img").css({border:"none"});a(P.box).css({width:O.initSize,height:O.initSize,top:0,margin:"0 auto",padding:0,backgroundColor:O.contentBgColor,border:O.contentBorder,overflow:(i?"hidden":"visible")});a(P.inner).css({width:O.initSize,height:O.initSize,backgroundColor:"transparent",margin:"0 auto",padding:(i?d:0),overflow:(i?"hidden":"visible")});a(P.content+"-wrap").css({backgroundColor:"transparent"});a(P.content).css({margin:(i?0:"0 auto"),padding:(i?0:d+"px 0"),zIndex:110});if(!i){var W=O.boxBorderSize;y(false).css({position:"relative"}).hide();a(P.box+"-hd,"+P.box+"-hdc").css({height:W,top:0});a(P.box+"-ft,"+P.box+"-ftc").css({height:W,bottom:0});a(P.box+"-hd,"+P.box+"-ft").css({margin:"0 "+W+"px 0 0"});a(P.box+"-hdc,"+P.box+"-ftc").css({margin:"0 "+W*-1+"px 0 "+W+"px"})}a(P.nav).css({top:0,left:0,height:"10px",width:"100%",padding:0,margin:(i?"0":O.boxBorderSize+"px")+" auto",zIndex:10});a(P.nav+" a").css({display:"block",height:"100%",zoom:1,margin:(i?0:"0 "+O.boxBorderSize+"px"),outline:"none"});if(O.grouping){a(P.prev).css({width:O.imageBtnPrevWidth,left:0,"float":"left"});a(P.next).css({width:O.imageBtnNextWidth,right:0,"float":"right"})}else{a(P.prev+","+P.next).css({display:"none"})}a(P.loading).css({top:"40%",left:0,height:"20%",width:"100%",margin:"0 auto","text-align":"center","line-height":0});if(O.detailsEnabled){a(P.wrap).css({font:"10px Verdana, Helvetica, sans-serif",backgroundColor:O.contentBgColor,"line-height":"1.4em",width:"100%",margin:"0 auto",padding:"0 "+d+"px 0",overflow:"hidden"}).hide();a(P.data).css({padding:"0 "+d+"px",color:"#666",left:0,bottom:0});a(P.details).css({width:"70%","float":"left","text-align":"left"});a(P.caption).css({"float":"left","font-weight":"bold",width:"100%"});a(P.number).css({"float":"left",clear:"left",width:"100%","padding-bottom":"1em"});
4a(P.close).css({"float":"right",width:O.imageBtnCloseWidth,padding:".35em 0"})}a(P.overlay).fadeIn(O.containerResizeSpeed,function(){a(P.lightpop).show()});a(P.overlay+","+P.loading+"-link,"+P.close).click(function(){A();return false});U(true);p(Z)};var p=function(b){h(a(P.data+","+P.details+","+P.caption+","+P.number+","+P.close),false);a(P.nav+","+P.prev+","+P.next).hide();a(P.content).hide().children().remove();a(P.loading+","+P.box+","+P.inner).show();y(false);if(O.detailsEnabled&&!i&&m){a(P.wrap).height("auto")}N(b)};var N=function(b){(H[b].content?function(d){a(P.content).append(a(H[d].content));setTimeout(function(){R(d)},H[d].later)}:(B[H[b].type].set?B[H[b].type].set:(function(d){n(d);N(d)})))(b)};var J=function(e,d,b,w){if(O.detailsEnabled){w=(w<28?28:w);b+=w}(i?(function(W){a(P.box).animate({width:d,height:b},"fast",function(){h(W,true)})}):(function(W){if(O.detailsEnabled&&m){a(P.wrap).height(w)}h(W,true)}))(e)};var R=function(Z){var w=O.containerBorderSize,Y=O.boxBorderSize,d=H[Z],b=K(),X=M();var W=d.width+(w+(i?0:Y))*2,e=d.height+w*2;a(P.lightpop).animate(D(b,X),O.containerResizeSpeed,function(){a(P.box).animate({width:W,height:e},O.containerResizeSpeed,function(){var aa=B[d.type];a(P.inner).css({width:(i?d.width:W),height:d.height});a(P.content).css({width:d.width,height:d.height});if(O.detailsEnabled){a(P.wrap).css({width:d.width})}if(aa.content_css){a(P.content).children().css(aa.content_css)}a(P.loading).hide();if(/<object.*>/i.test(d.content)){a(P.content).show()}else{a(P.content).fadeIn()}a(P.overlay).css(b.page);y(true);a(P.caption).html((O.setLinkToTitle?'<a href="'+d.href+'" title="'+d.title+'">'+d.title+"</a>":d.title));a(P.number).html((O.txtImage||d.type)+(O.grouping&&H.length>1?" "+(Z+1)+" "+O.txtOf+" "+H.length:""));var ab=h(a(P.data+","+P.details+","+P.caption+","+P.number+","+P.close),false).show();(O.detailsEnabled?function(ae,ac,ad){a(P.wrap).slideDown("fast",function(){J(ae,ac,ad,(!m?a(this).height():this.scrollHeight))})}:function(ae,ac,ad){J(ae,ac,ad)})(ab,W,e);a(P.nav).css({width:W}).show(function(){if(O.grouping){a(P.prev+","+P.next).css({height:Math.round(e/3),background:"transparent url("+O.imageBlank+") no-repeat"}).unbind();if(Z!=0){a(P.prev).hover(function(){a(this).css({background:"url("+O.imageBtnPrev+") left 30% no-repeat"})},function(){a(this).css({background:"transparent url("+O.imageBlank+") no-repeat"})}).show().click((function(ac){return function(){p(ac);return false}})(Z-1))}if(Z!=(H.length-1)){a(P.next).hover(function(){a(this).css({background:"url("+O.imageBtnNext+") right 30% no-repeat"})},function(){a(this).css({background:"transparent url("+O.imageBlank+") no-repeat"})}).show().click((function(ac){return function(){p(ac);return false}})(Z+1))}}I(true,Z)});if(H.length-1>Z){o(Z+1)}if(Z>0){o(Z-1)}})})};var o=function(b){if(!H[b].content){(B[H[b].type].preload?B[H[b].type].preload:(function(d){n(d)}))(b)}};var q=function(e,d,Y){var X=0,b=0;var W=e.toLowerCase().replace(/[\r\n]/g,"").replace(/["']/g,"").match(/(width|height)=(\d+)/ig);if(W){a.each(W,function(){if(/^width=\d+$/i.test(this)){X=Number(this.replace(/^width=(\d+)$/,"$1"))}if(/^height=\d+$/i.test(this)){b=Number(this.replace(/^height=(\d+)$/,"$1"))}})}if(X===0||b===0){if(d){X=d[0];b=d[1]}else{var w=K();X=w.page.width/4;b=w.page.height/4}}if(Y){if(Y[0]!=0&&X>Y[0]){b=b*(Y[0]/X);X=Y[0]}if(Y[1]!=0&&b>Y[1]){X=X*(Y[1]/b);b=Y[1]}}return[Math.round(X),Math.round(b)]};var n=function(aa,Z,W){var d,Y={},e=H[aa];var b=O[e.type],w=B[e.type],X=e.href.replace(/&.*$/i,"");if(/\?.*$/.test(e.href)){var ab=e.href.replace(/^.*\?/,"").split("&");if(ab.length>0){a.each(ab,function(){var ad,ac=this.toString();if(!/^(width|height|v|i|docid|id)\=.*$/i.test(ac)){ad=(ac).match(/^([^=]*)=(.*)$/i);if(ad.length>2){Y[ad[1]]=ad[2]}}})}}Y=a.extend(Y,b.param);d=q(e.href,w.defaultSize);H[aa]=a.extend(e,w.getInfo(X,d[0],d[1],Y,e))};var v=function(d,W,b,Y,X,w){if(typeof X==="object"){a.each(X,function(Z){d+=(d.indexOf(Z+"=")<0?(d.indexOf("?")<0?"?":"&")+Z+"="+this:"")})}var e={movie:d,wmode:"transparent"};Y=(Y?a.extend(e,Y):e);w=w||'<object width="'+W+'" height="'+b+'" data="'+d+'" wmode="'+Y.wmode+'" type="application/x-shockwave-flash">';a.each(Y,function(Z){w+='<param name="'+Z+'" value="'+this+'" />'});w+="</object>";return w};var c=function(d,X,ac,e,ad,W,ae,b,ab,aa){var Z="",w="",Y={src:d,width:e,height:ad,type:ac};W=(W?a.extend(Y,W):Y);Z+='<object width="'+e+'" height="'+ad+'"'+(X!=" "?'classid="clsid:'+X+'"':"")+' type="'+ac+'" '+b+">";a.each(W,function(af){Z+='<param name="'+af+'" value="'+this+'" />'});w+="<embed "+(ab!==false?ab:'width="'+e+'" height="'+ad+'"');if(ab===false){a.each(W,function(af){w+=" "+af+'="'+this+'"'})}w+=">"+(aa?'<noembed><a href="'+d+'">'+d+"</a></noembed>":"")+"</embed>";Z+=w+"</object>";return Z};var y=function(w){if(!i){var e=a(P.box+"-hd, "+P.box+"-hdc, "+P.box+"-bd, "+P.box+"-bdc, "+P.box+"-ft, "+P.box+"-ftc"),d="transparent",b=d+" url("+O.imageBox+")",W=O.contentBgColor;if(w){a(P.box).css({backgroundColor:d});a(P.box+"-hd").css({background:b+" left top no-repeat"});a(P.box+"-hdc").css({background:b+" right top no-repeat"});a(P.box+"-bd").css({background:W+" url("+O.imageBorderL+") left top repeat-y"});a(P.box+"-bdc").css({background:d+" url("+O.imageBorderR+") right top repeat-y"});a(P.box+"-ft").css({background:b+" left bottom no-repeat"});a(P.box+"-ftc").css({background:b+" right bottom no-repeat"});e.show()}else{a(P.box).css({backgroundColor:W});e.css({background:d})}return e}};var s=function(X){var b=X.width,d=X.height;
4if(typeof X.naturalWidth!=="undefined"){b=X.naturalWidth;d=X.naturalHeight}else{if(typeof X.runtimeStyle!=="undefined"){var W=X.runtimeStyle;var e={w:W.width,h:W.height};W.width="auto";W.height="auto";b=X.width;d=X.height;W.width=e.w;W.height=e.h}else{var e={w:X.width,h:X.height};X.removeAttribute("width");X.removeAttribute("height");b=X.width;d=X.height;X.width=e.w;X.height=e.h}}return{width:b,height:d,src:X.src}};var x=function(d,b){V(H[d].href,(function(w,e){return function(W){var X=q(W.src,[W.width,W.height],O.Image.size);H[w]=a.extend(H[w],{content:'<img src="'+W.src.replace(/\?.*$/,"")+'" width="'+X[0]+'" height="'+X[1]+'" />',width:X[0],height:X[1],later:(l?250:100)});if(e){N(w)}}})(d,b))};var V=function(b,Z,X,e,aa){Z=Z||function(){};X=X||function(){};e=e||10;aa=aa||2000;for(var d=0,Y=k.length;d<Y;++d){if(k[d].src===b&&k[d].complete){Z(s(k[d]));return}}var w=new Image(),W=0;w.finish=false;w.onabort=w.onerror=function(){if(w.finish){return}w.finish=true;X(b)};w.onload=function(){w.finish=true;if(C&&!w.complete){X(b);return}Z(s(w))};w.src=b;if(!w.finish&&aa){setTimeout(function(){if(w.finish){return}if(w.complete){w.finish=true;if(w.width){return}X(b);return}if((W+=e)>aa){w.finish=true;X(b);return}setTimeout(arguments.callee,e)},0)}};var h=function(d,b){return d.css({visibility:(b?"visible":"hidden")})};var I=function(b,d){a(S).unbind("keydown");if(b){a(S).keydown(function(w){var e=(w||event).keyCode;var W=String.fromCharCode(e).toLowerCase();if(W==O.keyToClose){A()}else{if(O.grouping){if(W==O.keyToPrev&&d!=0){p(d-1)}else{if(W==O.keyToNext&&d!=(H.length-1)){p(d+1)}}}}})}};var D=function(b,d){b=b||K();d=d||M();var e={top:d.top+Math.round(b.window.height/10),left:d.left};var w=(typeof a.fn.lightpop.position!="undefined"?a.fn.lightpop.position:e);return({top:typeof w.top!="undefined"?w.top:e.top,left:typeof w.left!="undefined"?w.left:e.left})};var U=function(b){a(G).unbind("resize");if(b){a(G).resize(function(){var d=K();a(P.overlay).css(d.page);a(P.lightpop).css(D(d,M()))})}};var K=function(){var w=(E?Q:T);var b=w.scrollWidth,e=w.scrollHeight,d=w.clientWidth,W=w.clientHeight;return{page:{width:(b<d?d:b),height:(e<W?W:e)},window:{width:d,height:W}}};var M=function(){var b=(Q&&Q.scrollTop?Q:T);return{left:b.scrollLeft,top:b.scrollTop}};var A=function(){h(a("object,embed",a(P.lightpop)),false).remove();a(P.lightpop).height(a(P.box).height()).slideUp(function(){a(this).remove();a(P.overlay).fadeOut(function(){a(this).remove();h(a("embed, object, select"),true)})});I(false);U(false);document.write=document._write};(function(){if(!l||(a.browser.version>6&&E)){return}var b=a(E?"html":"body");var d=b.css("background-image");if(d=="none"){b.css({"background-image":"url(null)"})}else{if(E){b.css({"background-image":"url(null)"});a("body").css({"background-image":d,"background-attachment":b.css("background-attachment")})}}b.css({"background-attachment":"fixed"})})();return L(this)}})(jQuery);
5jQuery(function($){var watermarkClass='watermark';$('.watermark-text').each(function(){var watermarkText=this.defaultValue;var element=$(this);element.focus(function(){if(element.val()===watermarkText){element.val('').removeClass(watermarkClass);}}).blur(function(){if(element.val()===''){element.val(watermarkText).addClass(watermarkClass);}});if(element.val()===watermarkText){element.addClass(watermarkClass);}});});
6jQuery(function($){var replaceWidth=640;var timer=false;chocolat_navi_menu();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
7timer=setTimeout(function(){chocolat_navi_menu();},200);});function chocolat_navi_menu(){var windowWidth=parseInt($(window).width());if(windowWidth>replaceWidth){chocolat_menu_slide();}else if(windowWidth<=replaceWidth){$('.globalnav > ul li').unbind('hover');$('div.globalnav ul ul').show();}}
8function chocolat_menu_slide(){$('.globalnav > ul li').hover(function(){if($('>ul',this).size()){$('>ul:not(:animated)',this).slideDown('fast');}},function(){if($('>ul',this).size()){$('>ul',this).slideUp('fast');}});}});
9jQuery(function($){var replaceWidth=640;var timer=false;var nav_control=$('#nav-control');var globalnav=$('div.globalnav');var search_label=$('.header-links .search-box label');var search_field=$('.header-links .search-box .search-field');chocolat_global_menu();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
10timer=setTimeout(function(){if(nav_control.attr('class')=='close'){chocolat_global_menu();}},200);});
10$(nav_control).click(function(){search_field.slideUp();if($(this).attr('class')=='close'){globalnav.slideDown();$(this).removeClass().addClass('active');$('span',nav_control).attr('class','icon-cancel');}else{globalnav.slideUp();$(this).removeClass().addClass('close');$('span',nav_control).attr('class','icon-menu');}
11return false;});search_label.click(function(){if($(nav_control).attr('class')!='close'){globalnav.slideUp();$(nav_control).removeClass().addClass('close');$('span',nav_control).attr('class','icon-menu');}
12search_field.slideToggle();});function chocolat_global_menu(){var windowWidth=parseInt($(window).width());if(windowWidth<=replaceWidth){globalnav.css('display','none');search_field.css('display','none');}else if(windowWidth>replaceWidth){globalnav.css('display','inline');search_field.css('display','inline');}}});
13jQuery(function($){var sp='300';var elm=$('.rollover a');elm.each(function(){var txt=$(this).html();$(this).append('<span class="ro-off">'+txt+'</span>');$(this).append('<span class="ro-on">'+txt+'</span>');$('span.ro-off, span.ro-on',elm).css({cursor:'pointer',display:'block',height:'100%',opacity:'0',position:'absolute',left:'0',top:'0',width:'100%',});$(this).css({display:'block',overflow:'hidden',position:'relative',});elm.css('background','none');$('span.ro-off',elm).css('opacity','1');$('span.ro-on',elm).css('opacity','0');});elm.hover(function(){var elm_class=$(this).attr('class');if(elm_class=='pagetop-btn'){$(this).children('span.ro-on').stop().animate({opacity:'1'},sp,function(){$(this).children('span.ro-off').stop().animate({opacity:'0'},sp);});}else{$(this).children('span.ro-on').stop().animate({opacity:'1'},sp);$(this).children('span.ro-off').stop().animate({opacity:'0'},sp);}},function(){$(this).children('span.ro-off').stop().animate({opacity:'1'},sp);$(this).children('span.ro-on').stop().animate({opacity:'0'},sp);});});
14jQuery(function($){var timer=false;if($('.related-contents li img.no-thumbnail-image').size()){chocolat_related_image_hieght();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
15timer=setTimeout(function(){chocolat_related_image_hieght();},200);});}
16function chocolat_related_image_hieght(){var thumbnail_size=$('.related-contents li img').width();$('.related-contents li img').height(thumbnail_size);}
17if($('.new-contents li img.no-thumbnail-image').size()){chocolat_newcontents_image_hieght();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
18timer=setTimeout(function(){chocolat_newcontents_image_hieght();},200);});}
19function chocolat_newcontents_image_hieght(){var thumbnail_size=$('.new-contents li img').width();$('.new-contents li img').height(thumbnail_size);}
20if($('.sidebar-thumbnail span img.no-thumbnail-image').size()){chocolat_widget_image_hieght();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
21timer=setTimeout(function(){chocolat_widget_image_hieght();},200);});}
22function chocolat_widget_image_hieght(){var thumbnail_size=$('.sidebar-thumbnail span img').width();$('.sidebar-thumbnail span img').height(thumbnail_size);}});
23
24if(jQuery)(function(c){function E(a){k.formatter=F;return c(this).on("click.boxer",c.extend({},k,a||{}),u)}function u(b){b.preventDefault();b.stopPropagation();var d=c(this),e=b.data.$object,f=d[0].attributes?d.attr("href")||"":"",l=f.toLowerCase().split("."),l=l[l.length-1],h=d.data("type")||"",m="image"==h||"jpeg"==l||"jpg"==l||"gif"==l||"png"==l||"data:image"==f.substr(0,10),n=-1<f.indexOf("youtube.com/embed")||-1<f.indexOf("player.vimeo.com/video"),g="url"==h||!m&&!n&&"http"==f.substr(0,4),p="element"== h||!m&&!n&&!g&&"#"==f.substr(0,1),q="undefined"!==typeof e;if(1>c("#boxer").length&&(m||n||g||p||q)){a={$target:d,$object:e,visible:!1,resizeTimer:null,touchTimer:null,gallery:{active:!1},options:b.data,isMobile:(G||b.data.mobile)&&!p};a.type=m?"image":n?"video":"element";if(m||n)b=a.$target.attr("rel"),"undefined"!==typeof b&&!1!==b&&(a.gallery.active=!0,a.gallery.rel=b,a.gallery.$items=c("a[rel= "+a.gallery.rel+"]"),a.gallery.index=a.gallery.$items.index(a.$target),a.gallery.total=a.gallery.$items.length- 1);b="";a.isMobile||(b+='<div id="boxer-overlay" class="'+a.options.customClass+'" style="opacity: 0"></div>');b+='<div id="boxer" class="loading '+a.options.customClass;a.isMobile&&(b+=" mobile");g&&(b+=" iframe");
24if(p||q)b+=" inline";b+='" style="opacity: 0;';!0===a.options.fixed&&(b+=" position: fixed;");b=b+'">'+('<span class="boxer-close">'+a.options.labels.close+"</span>");b+='<div class="boxer-container" style="';b=a.isMobile?b+"height: 100%; width: 100%":b+("height: "+a.options.height+"px; width: "+ a.options.width+"px");b+='">';b+='<div class="boxer-content" style="opacity: 0;">';if(m||n)b+='<div class="boxer-meta">',a.gallery.active?(b+='<div class="boxer-arrow previous">'+a.options.labels.previous+"</div>",b+='<div class="boxer-arrow next">'+a.options.labels.next+"</div>",b+='<p class="boxer-position"',1>a.gallery.total&&(b+=' style="display: none;"'),b+=">",b+='<span class="current">'+(a.gallery.index+1)+"</span> "+a.options.labels.count+' <span class="total">'+(a.gallery.total+1)+"</span>", b+="</p>",b+='<div class="boxer-caption gallery">'):b+='<div class="boxer-caption">',b+=a.options.formatter.apply(c("body"),[a.$target]),b+="</div></div>";b+="</div></div></div>";c("body").append(b);a.$overlay=c("#boxer-overlay");a.$boxer=c("#boxer");a.$container=a.$boxer.find(".boxer-container");a.$content=a.$boxer.find(".boxer-content");a.$meta=a.$boxer.find(".boxer-meta");a.$position=a.$boxer.find(".boxer-position");a.$caption=a.$boxer.find(".boxer-caption");a.$arrows=a.$boxer.find(".boxer-arrow"); a.$animatables=c("#boxer-overlay, #boxer, .boxer-container");a.padding=2*parseInt(a.$boxer.css("paddingTop"),10);H();a.gallery.active&&v();c(window).on("resize.boxer",I).on("keydown.boxer",J);c("body").on("click.boxer","#boxer-overlay, #boxer .boxer-close",w);if(a.gallery.active)a.$boxer.on("click.boxer",".boxer-arrow",K);a.$overlay.stop().animate({opacity:a.options.opacity},a.options.duration);a.$boxer.stop().animate({opacity:1},a.options.duration,function(){if(m)x(f);else if(n)y(f);else if(g){var b= f,b=b+(-1<b.indexOf("?")?"&"+k.requestKey+"=true":"?"+k.requestKey+"=true"),b=c('<iframe class="boxer-iframe" src="'+b+'" />');r(b)}else p?(b=c(f).find(">:first-child").clone(),r(b)):q?r(a.$object):c.error("BOXER: '"+f+"' is not valid.")})}if(q)return a.$boxer}function s(){if(a.isMobile)var b=0,d=0;else{var b=(c(window).width()-a.contentWidth-a.padding)/2,d=0>=a.options.top?(c(window).height()-a.contentHeight-a.padding)/2:a.options.top,e=a.$arrows.outerHeight();!0!==a.options.fixed&&(d+=c(window).scrollTop()); a.$arrows.css({marginTop:(a.contentHeight-a.metaHeight-e)/2})}e=a.isMobile?0:a.options.duration;if(!a.visible&&a.isMobile&&(c("html, body").css({height:"100%",overflow:"hidden",width:"100%"}),"image"==a.type&&a.gallery.active))a.$content.on("touchstart.boxer",".boxer-image",L);a.$boxer.stop().animate({left:b,top:d},e);a.$container.show().stop().animate({height:a.contentHeight,width:a.contentWidth},e,function(b){a.$content.stop().animate({opacity:1},a.options.duration);a.$boxer.removeClass("loading").find(".boxer-close").stop().animate({opacity:1}, a.options.duration);a.options.callback.apply(a.$boxer);a.visible=!0;c(window).trigger("boxer.open")})}function w(b){b.preventDefault&&(b.preventDefault(),b.stopPropagation());"undefined"!==typeof a.$animatables&&(a.$animatables.stop().animate({opacity:0}
24,a.options.duration,function(){c(this).remove()}),g(a.resizeTimer),c(window).off(".boxer"),c("body").off(".boxer"),a.gallery.active&&a.$boxer.off(".boxer"),a.isMobile&&(c("html, body").css({height:"",overflow:"",width:""}),"image"==a.type&&a.gallery.active&& a.$container.off(".boxer")),a={},c(window).trigger("boxer.close"))}function I(){h.resize()}function H(){if(a.isMobile)var b=0,d=0;else b=(c(window).width()-a.$boxer.width()-a.padding)/2,d=0>=a.options.top?(c(window).height()-a.$boxer.height()-a.padding)/2:a.options.top,!0!==a.options.fixed&&(d+=c(window).scrollTop());a.$boxer.css({left:b,top:d})}function x(b){a.$image=c("<img />");a.$image.one("load.boxer",function(){var b;b=a.$image[0];var c=new Image;"undefined"!=typeof b.naturalHeight?b={naturalHeight:b.naturalHeight, naturalWidth:b.naturalWidth}:"img"===b.tagName.toLowerCase()?(c.src=b.src,b={naturalHeight:c.height,naturalWidth:c.width}):b=!1;a.naturalHeight=b.naturalHeight;a.naturalWidth=b.naturalWidth;a.options.retina&&(a.naturalHeight/=2,a.naturalWidth/=2);a.$content.prepend(a.$image);""==a.$caption.html()?a.$caption.hide():a.$caption.show();t(0)&&s()}).attr("src",b).addClass("boxer-image");(a.$image[0].complete||4===a.$image[0].readyState)&&a.$image.trigger("load")}function y(b){a.$videoWrapper=c('<div class="boxer-video-wrapper" />'); a.$video=c('<iframe class="boxer-video" />');a.$video.attr("src",b).addClass("boxer-video").prependTo(a.$videoWrapper);a.$content.prepend(a.$videoWrapper);z();s()}function F(a){a=a.attr("title");return""!=a&&void 0!==a?'<p class="caption">'+a+"</p>":""}function t(b){a.windowHeight=a.viewportHeight=0==b?c(window).height():a.windowHeight;a.windowWidth=a.viewportWidth=0==b?c(window).width():a.windowWidth;a.imageHeight=0==b?a.naturalHeight:a.$image.outerHeight();a.imageWidth=0==b?a.naturalWidth:a.$image.outerWidth(); a.metaHeight=0==b?0:a.metaHeight;0==b&&(a.ratioHorizontal=a.imageHeight/a.imageWidth,a.ratioVertical=a.imageWidth/a.imageHeight,a.isWide=a.imageWidth>a.imageHeight);a.imageHeight<a.options.minHeight&&(a.options.minHeight=a.imageHeight);a.imageWidth<a.options.minWidth&&(a.options.minWidth=a.imageWidth);a.isMobile?(a.viewportHeight-=a.padding,a.viewportWidth-=a.padding,a.contentHeight=a.viewportHeight,a.contentWidth=a.viewportWidth,a=A(a),a.imageMarginTop=(a.contentHeight-a.targetImageHeight)/2,a.imageMarginLeft= (a.contentWidth-a.targetImageWidth)/2):(a.viewportHeight-=a.options.margin+a.padding+a.metaHeight,a.viewportWidth-=a.options.margin+a.padding,a=A(a),a.contentHeight=a.targetImageHeight,a.contentWidth=a.targetImageWidth,a.imageMarginTop=0,a.imageMarginLeft=0);a.$content.css({height:a.isMobile?a.contentHeight:"auto",width:a.contentWidth});a.$meta.css({width:a.contentWidth});a.$image.css({height:a.targetImageHeight,width:a.targetImageWidth,marginTop:a.imageMarginTop,marginLeft:a.imageMarginLeft});return!a.isMobile&& (a.metaHeight=a.$meta.outerHeight(!0),a.contentHeight+=a.metaHeight,a.contentHeight>a.viewportHeight&&2>b)?t(b+1):!0}function A(a){a.isWide?(a.targetImageWidth=a.viewportWidth,a.targetImageHeight=a.targetImageWidth*a.ratioHorizontal,a.targetImageHeight>a.viewportHeight&&(a.targetImageHeight=a.viewportHeight,a.targetImageWidth=a.targetImageHeight*a.ratioVertical)):(a.targetImageHeight=a.viewportHeight,a.targetImageWidth=a.targetImageHeight*a.ratioVertical,a.targetImageWidth>a.viewportWidth&&(a.targetImageWidth= a.viewportWidth,a.targetImageHeight=a.targetImageWidth*a.ratioHorizontal));if(a.targetImageWidth>a.imageWidth||a.targetImageHeight>a.imageHeight)a.targetImageWidth=a.imageWidth,a.targetImageHeight=a.imageHeight;if(a.targetImageWidth<a.options.minWidth||a.targetImageHeight<a.options.minHeight)a.targetImageWidth<a.options.minWidth?(a.targetImageWidth=a.options.minWidth,a.targetImageHeight=a.targetImageWidth*a.ratioHorizontal):(a.targetImageHeight=a.options.minHeight,a.targetImageWidth=a.targetImageHeight* a.ratioVertical);return a}function z(){a.windowHeight=c(window).height()-a.padding;a.windowWidth=c(window).width()-a.padding;a.videoMarginTop=0;a.videoMarginLeft=0;a.isMobile?(a.$meta.css({width:a.windowWidth}),a.metaHeight=a.$meta.outerHeight(!0),a.contentHeight=a.windowHeight,a.contentWidth=a.windowWidth,a.videoWidth=a.windowWidth,a.videoHeight=a.videoWidth*a.options.videoRatio,a.videoHeight>a.windowHeight-a.metaHeight&&(a.videoHeight=a.windowHeight-a.metaHeight,a.videoWidth=a.videoHeight*a.options.videoRatio), a.videoMarginTop=(a.contentHeight-a.videoHeight)/2,a.videoMarginLeft=(a.contentWidth-a.videoWidth)/2):(a.windowHeight-=a.options.margin,a.windowWidth-=a.options.margin,a.videoWidth=a.options.videoWidth>a.windowWidth?a.windowWidth:a.options.videoWidth,a.videoHeight=a.videoWidth*a.options.videoRatio,a.contentHeight=a.videoHeight,a.contentWidth=a.videoWidth);a.$content.css({height:a.isMobile?a.contentHeight:"auto",width:a.contentWidth}
24);a.$meta.css({width:a.contentWidth});a.$videoWrapper.css({height:a.videoHeight, width:a.videoWidth,marginTop:a.videoMarginTop,marginLeft:a.videoMarginLeft});a.isMobile||(a.metaHeight=a.$meta.outerHeight(!0),a.contentHeight=a.videoHeight+a.metaHeight);a.contentWidth=a.videoWidth}function K(b){b.preventDefault();b.stopPropagation();b=c(this);b.hasClass("disabled")||(a.$boxer.addClass("loading"),a.gallery.index+=b.hasClass("next")?1:-1,a.gallery.index>a.gallery.total&&(a.gallery.index=a.gallery.total),0>a.gallery.index&&(a.gallery.index=0),a.$content.stop().animate({opacity:0}, a.options.duration,function(){"undefined"!==typeof a.$image&&a.$image.remove();"undefined"!==typeof a.$videoWrapper&&a.$videoWrapper.remove();a.$target=a.gallery.$items.eq(a.gallery.index);a.$caption.html(a.options.formatter.apply(c("body"),[a.$target]));a.$position.find(".current").html(a.gallery.index+1);var b=a.$target.attr("href");-1<b.indexOf("youtube.com/embed")||-1<b.indexOf("player.vimeo.com/video")?y(b):x(b);v()}))}function v(){a.$arrows.removeClass("disabled");0==a.gallery.index&&a.$arrows.filter(".previous").addClass("disabled"); a.gallery.index==a.gallery.total&&a.$arrows.filter(".next").addClass("disabled")}function J(b){!a.gallery.active||37!=b.keyCode&&39!=b.keyCode?27==b.keyCode&&a.$boxer.find(".boxer-close").trigger("click"):(b.preventDefault(),b.stopPropagation(),a.$arrows.filter(37==b.keyCode?".previous":".next").trigger("click"))}function r(b){a.$content.append(b);B(b);s()}function B(b){a.objectHeight=b.outerHeight(!0);a.objectWidth=b.outerWidth(!0);a.windowHeight=c(window).height()-a.padding;a.windowWidth=c(window).width()- a.padding;a.dataHeight=a.$target.data("height");a.dataWidth=a.$target.data("width");a.maxHeight=0>a.windowHeight?k.minHeight:a.windowHeight;a.isIframe=b.is("iframe");a.objectMarginTop=0;a.objectMarginLeft=0;a.isMobile||(a.windowHeight-=a.options.margin,a.windowWidth-=a.options.margin);a.contentHeight=void 0!=a.dataHeight?a.dataHeight:a.isIframe?a.windowHeight:a.objectHeight;a.contentWidth=void 0!=a.dataWidth?a.dataWidth:a.isIframe?a.windowWidth:a.objectWidth;a.isIframe&&a.isMobile&&(a.contentHeight= a.windowHeight,a.contentWidth=a.windowWidth);a.isIframe||(a.contentHeight>a.maxHeight&&(a.contentHeight=a.maxHeight),a.$content.css({}));a.$content.css({height:a.contentHeight,width:a.contentWidth})}function L(b){b.preventDefault();b.stopPropagation();g(a.touchTimer);if(!a.isAnimating){var d="undefined"!==typeof b.originalEvent.targetTouches?b.originalEvent.targetTouches[0]:null;a.xStart=d?d.pageX:b.clientX;a.leftPosition=0;a.touchMax=Infinity;a.touchMin=-Infinity;a.edge=0.25*a.contentWidth;0==a.gallery.index&& (a.touchMax=0);a.gallery.index==a.gallery.total&&(a.touchMin=0);c(window).on("touchmove.boxer",M).one("touchend.boxer",C)}}function M(b){var c="undefined"!==typeof b.originalEvent.targetTouches?b.originalEvent.targetTouches[0]:null;a.delta=a.xStart-(c?c.pageX:b.clientX);20<a.delta&&(b.preventDefault(),b.stopPropagation());a.canSwipe=!0;c=-a.delta;c<a.touchMin&&(c=a.touchMin,a.canSwipe=!1);c>a.touchMax&&(c=a.touchMax,a.canSwipe=!1);a.$image.css({transform:"translate3D("+c+"px,0,0)"});a.touchTimer= D(a.touchTimer,300,function(){C(b)})}function C(b){b.preventDefault();b.stopPropagation();g(a.touchTimer);c(window).off("touchmove.boxer").off("touchend.boxer");a.delta&&(a.$boxer.addClass("animated"),a.swipe=!1,a.canSwipe&&(a.delta>a.edge||a.delta<-a.edge)?(a.swipe=!0,a.delta<=a.leftPosition?a.$image.css({transform:"translate3D("+a.contentWidth+"px,0,0)"}):a.$image.css({transform:"translate3D("+-a.contentWidth+"px,0,0)"})):a.$image.css({transform:"translate3D(0,0,0)"}),a.swipe&&a.$arrows.filter(a.delta<= a.leftPosition?".previous":".next").trigger("click"),D(a.resetTimer,a.options.duration,function(){a.$boxer.removeClass("animated")}))}function D(a,c,e){g(a);return setTimeout(e,c)}function g(a){a&&clearTimeout(a)}var k={callback:c.noop,customClass:"",duration:250,fixed:!1,formatter:c.noop,height:100,labels:{close:"Close",count:"of",next:"Next",previous:"Previous"},margin:100,minHeight:100,minWidth:100,mobile:!1,opacity:0.75,retina:!1,requestKey:"boxer",top:0,videoRatio:0.5625,videoWidth:600,width:100}, a={},G=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||window.opera),h={defaults:function(a){k=c.extend(k,a||{});return c(this)},destroy:function(){w();return c(this).off(".boxer")},resize:function(b){if("undefined"!=typeof a.$boxer&&("element"==a.type?B(a.$content.find(">:first-child")):"image"==a.type?t(0):"video"==a.type&&z(),b=!1,a.visible)){if(a.isMobile)var d=0,e=0;else{var d=(c(window).width()-a.contentWidth-a.padding)/2,e=0>=a.options.top?(c(window).height()- a.contentHeight-a.padding)/2:a.options.top,f=a.$arrows.outerHeight();!0!==a.options.fixed&&(e+=c(window).scrollTop());a.$arrows.css({marginTop:(a.contentHeight-a.metaHeight-f)/2})}b?(a.$boxer.stop().animate({left:d,top:e},a.options.duration),a.$container.show().stop().animate({height:a.contentHeight,width:a.contentWidth}
vendor: 5,194 bytes, lines 24-47
24)):(a.$boxer.css({left:d,top:e}),a.$container.css({height:a.contentHeight,width:a.contentWidth}))}return c(this)}};c.fn.boxer=function(a){return h[a]?h[a].apply(this,Array.prototype.slice.call(arguments, 1)):"object"!==typeof a&&a?this:E.apply(this,arguments)};c.boxer=function(a,d){return h[a]?h[a].apply(window,Array.prototype.slice.call(arguments,1)):u(c.Event("click",{data:c.extend({$object:a},k,d||{})}))}})(jQuery);
25jQuery(function($){$('.boxer').boxer();});
26/*!
27 * jQuery UI Core 1.11.4
28 * http://jqueryui.com
29 *
30 * Copyright jQuery Foundation and other contributors
31 * Released under the MIT license.
32 * http://jquery.org/license
33 *
34 * http://api.jqueryui.com/category/ui-core/
35 */
36!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b,d){var e,f,g,h=b.nodeName.toLowerCase();return"area"===h?(e=b.parentNode,f=e.name,!(!b.href||!f||"map"!==e.nodeName.toLowerCase())&&(g=a("img[usemap='#"+f+"']")[0],!!g&&c(g))):(/^(input|select|textarea|button|object)$/.test(h)?!b.disabled:"a"===h?b.href||d:d)&&c(b)}function c(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.extend(a.ui,{version:"1.11.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({scrollParent:function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return(!d||"static"!==b.css("position"))&&e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)},uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(c){return!!a.data(c,b)}}):function(b,c,d){return!!a.data(b,d[3])},focusable:function(c){return b(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var d=a.attr(c,"tabindex"),e=isNaN(d);return(e||d>=0)&&b(c,!e)}}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}}});
37/*!
38 * jQuery UI Widget 1.11.4
39 * http://jqueryui.com
40 *
41 * Copyright jQuery Foundation and other contributors
42 * Released under the MIT license.
43 * http://jquery.org/license
44 *
45 * http://api.jqueryui.com/jQuery.widget/
46 */
47!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){var b=0,c=Array.prototype.slice;return a.cleanData=function(b){return function(c){var d,e,f;for(f=0;null!=(e=c[f]);f++)try{d=a._data(e,"events"),d&&d.remove&&a(e).triggerHandler("remove")}catch(g){}b(c)}}(a.cleanData),a.widget=function(b,c,d){var e,f,g,h,i={},j=b.split(".")[0];return b=b.split(".")[1],e=j+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][e.toLowerCase()]=function(b){return!!a.data(b,e)},a[j]=a[j]||{}
vendor: 6,697 bytes, lines 47-58
47,f=a[j][b],g=a[j][b]=function(a,b){return this._createWidget?void(arguments.length&&this._createWidget(a,b)):new g(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=new c,h.options=a.widget.extend({},h.options),a.each(d,function(b,d){return a.isFunction(d)?void(i[b]=function(){var a=function(){return c.prototype[b].apply(this,arguments)},e=function(a){return c.prototype[b].apply(this,a)};return function(){var b,c=this._super,f=this._superApply;return this._super=a,this._superApply=e,b=d.apply(this,arguments),this._super=c,this._superApply=f,b}}()):void(i[b]=d)}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix||b:b},i,{constructor:g,namespace:j,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,function(b,c){var d=c.prototype;a.widget(d.namespace+"."+d.widgetName,g,c._proto)}),delete f._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g),g},a.widget.extend=function(b){for(var d,e,f=c.call(arguments,1),g=0,h=f.length;g<h;g++)for(d in f[g])e=f[g][d],f[g].hasOwnProperty(d)&&void 0!==e&&(a.isPlainObject(e)?b[d]=a.isPlainObject(b[d])?a.widget.extend({},b[d],e):a.widget.extend({},e):b[d]=e);return b},a.widget.bridge=function(b,d){var e=d.prototype.widgetFullName||b;a.fn[b]=function(f){var g="string"==typeof f,h=c.call(arguments,1),i=this;return g?this.each(function(){var c,d=a.data(this,e);return"instance"===f?(i=d,!1):d?a.isFunction(d[f])&&"_"!==f.charAt(0)?(c=d[f].apply(d,h),c!==d&&void 0!==c?(i=c&&c.jquery?i.pushStack(c.get()):c,!1):void 0):a.error("no such method '"+f+"' for "+b+" widget instance"):a.error("cannot call methods on "+b+" prior to initialization; attempted to call method '"+f+"'")}):(h.length&&(f=a.widget.extend.apply(null,[f].concat(h))),this.each(function(){var b=a.data(this,e);b?(b.option(f||{}),b._init&&b._init()):a.data(this,e,new d(f,this))})),i}},a.Widget=function(){},a.Widget._childConstructors=[],a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(c,d){d=a(d||this.defaultElement||this)[0],this.element=a(d),this.uuid=b++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=a(),this.hoverable=a(),this.focusable=a(),d!==this&&(a.data(d,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===d&&this.destroy()}}),this.document=a(d.style?d.ownerDocument:d.document||d),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this.options=a.widget.extend({},this.options,this._getCreateOptions(),c),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){return this.element},option:function(b,c){var d,e,f,g=b;if(0===arguments.length)return a.widget.extend({},this.options);if("string"==typeof b)if(g={},d=b.split("."),b=d.shift(),d.length){for(e=g[b]=a.widget.extend({},this.options[b]),f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];if(b=d.pop(),1===arguments.length)return void 0===e[b]?null:e[b];e[b]=c}else{if(1===arguments.length)return void 0===this.options[b]?null:this.options[b];g[b]=c}return this._setOptions(g),this},_setOptions:function(a){var b;for(b in a)this._setOption(b,a[b]);return this},_setOption:function(a,b){return this.options[a]=b,"disabled"===a&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!b),b&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(b,c,d){var e,f=this;"boolean"!=typeof b&&(d=c,c=b,b=!1),d?(c=e=a(c),this.bindings=this.bindings.add(c)):(d=c,c=this.element,e=this.widget()),a.each(d,function(d,g){function h(){if(b||f.options.disabled!==!0&&!a(this).hasClass("ui-state-disabled"))return("string"==typeof g?f[g]:g).apply(f,arguments)}"string"!=typeof g&&(h.guid=g.guid=g.guid||h.guid||a.guid++);var i=d.match(/^([\w:-]*)\s*(.*)$/),j=i[1]+f.eventNamespace,k=i[2];k?e.delegate(k,j,h):c.bind(j,h)})},_off:function(b,c){c=(c||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,b.unbind(c).undelegate(c),this.bindings=a(this.bindings.not(b).get()),this.focusable=a(this.focusable.not(b).get()),this.hoverable=a(this.hoverable.not(b).get())},_delay:function(a,b){function c(){return("string"==typeof a?d[a]:a).apply(d,arguments)}var d=this;return setTimeout(c,b||0)},_hoverable:function(b){this.hoverable=this.hoverable.add(b),this._on(b,{mouseenter:function(b){a(b.currentTarget).addClass("ui-state-hover")},mouseleave:function(b){a(b.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(b){this.focusable=this.focusable.add(b),this._on(b,{focusin:function(b){a(b.currentTarget).addClass("ui-state-focus")},focusout:function(b){a(b.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(b,c,d){var e,f,g=this.options[b];if(d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent)for(e in f)e in c||(c[e]=f[e]);return this.element.trigger(c,d),!(a.isFunction(g)&&g.apply(this.element[0],[c].concat(d))===!1||c.isDefaultPrevented())}},a.each({show:"fadeIn",hide:"fadeOut"},function(b,c){a.Widget.prototype["_"+b]=function(d,e,f){"string"==typeof e&&(e={effect:e});var g,h=e?e===!0||"number"==typeof e?c:e.effect||c:b;e=e||{},"number"==typeof e&&(e={duration:e}),g=!a.isEmptyObject(e),e.complete=f,e.delay&&d.delay(e.delay),g&&a.effects&&a.effects.effect[h]?d[b](e):h!==b&&d[h]?d[h](e.duration,e.easing,f):d.queue(function(c){a(this)[b](),f&&f.call(d[0]),c()})}}),a.widget});
48/*!
49 * jQuery UI Position 1.11.4
50 * http://jqueryui.com
51 *
52 * Copyright jQuery Foundation and other contributors
53 * Released under the MIT license.
54 * http://jquery.org/license
55 *
56 * http://api.jqueryui.com/position/
57 */
58!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){return function(){function b(a,b,c){return[parseFloat(a[0])*(n.test(a[0])?b/100:1),parseFloat(a[1])*(n.test(a[1])?c/100:1)]}function c(b,c){return parseInt(a.css(b,c),10)||0}function d(b){var c=b[0];
vendor: 12,832 bytes, lines 58-72
58return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var e,f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,m=/^\w+/,n=/%$/,o=a.fn.position;a.position={scrollbarWidth:function(){if(void 0!==e)return e;var b,c,d=a("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),f=d.children()[0];return a("body").append(d),b=f.offsetWidth,d.css("overflow","scroll"),c=f.offsetWidth,b===c&&(c=d[0].clientWidth),d.remove(),e=b-c},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width<b.element[0].scrollWidth,f="scroll"===d||"auto"===d&&b.height<b.element[0].scrollHeight;return{width:f?a.position.scrollbarWidth():0,height:e?a.position.scrollbarWidth():0}},getWithinInfo:function(b){var c=a(b||window),d=a.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:c.offset()||{left:0,top:0},scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:d||e?c.width():c.outerWidth(),height:d||e?c.height():c.outerHeight()}}},a.fn.position=function(e){if(!e||!e.of)return o.apply(this,arguments);e=a.extend({},e);var n,p,q,r,s,t,u=a(e.of),v=a.position.getWithinInfo(e.within),w=a.position.getScrollInfo(v),x=(e.collision||"flip").split(" "),y={};return t=d(u),u[0].preventDefault&&(e.at="left top"),p=t.width,q=t.height,r=t.offset,s=a.extend({},r),a.each(["my","at"],function(){var a,b,c=(e[this]||"").split(" ");1===c.length&&(c=j.test(c[0])?c.concat(["center"]):k.test(c[0])?["center"].concat(c):["center","center"]),c[0]=j.test(c[0])?c[0]:"center",c[1]=k.test(c[1])?c[1]:"center",a=l.exec(c[0]),b=l.exec(c[1]),y[this]=[a?a[0]:0,b?b[0]:0],e[this]=[m.exec(c[0])[0],m.exec(c[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?s.left+=p:"center"===e.at[0]&&(s.left+=p/2),"bottom"===e.at[1]?s.top+=q:"center"===e.at[1]&&(s.top+=q/2),n=b(y.at,p,q),s.left+=n[0],s.top+=n[1],this.each(function(){var d,j,k=a(this),l=k.outerWidth(),m=k.outerHeight(),o=c(this,"marginLeft"),t=c(this,"marginTop"),z=l+o+c(this,"marginRight")+w.width,A=m+t+c(this,"marginBottom")+w.height,B=a.extend({},s),C=b(y.my,k.outerWidth(),k.outerHeight());"right"===e.my[0]?B.left-=l:"center"===e.my[0]&&(B.left-=l/2),"bottom"===e.my[1]?B.top-=m:"center"===e.my[1]&&(B.top-=m/2),B.left+=C[0],B.top+=C[1],f||(B.left=i(B.left),B.top=i(B.top)),d={marginLeft:o,marginTop:t},a.each(["left","top"],function(b,c){a.ui.position[x[b]]&&a.ui.position[x[b]][c](B,{targetWidth:p,targetHeight:q,elemWidth:l,elemHeight:m,collisionPosition:d,collisionWidth:z,collisionHeight:A,offset:[n[0]+C[0],n[1]+C[1]],my:e.my,at:e.at,within:v,elem:k})}),e.using&&(j=function(a){var b=r.left-B.left,c=b+p-l,d=r.top-B.top,f=d+q-m,i={target:{element:u,left:r.left,top:r.top,width:p,height:q},element:{element:k,left:B.left,top:B.top,width:l,height:m},horizontal:c<0?"left":b>0?"right":"center",vertical:f<0?"top":d>0?"bottom":"middle"};p<l&&h(b+c)<p&&(i.horizontal="center"),q<m&&h(d+f)<q&&(i.vertical="middle"),g(h(b),h(c))>g(h(d),h(f))?i.important="horizontal":i.important="vertical",e.using.call(this,a,i)}),k.offset(a.extend(B,{using:j}))})},a.ui.position={fit:{left:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollLeft:d.offset.left,f=d.width,h=a.left-b.collisionPosition.marginLeft,i=e-h,j=h+b.collisionWidth-f-e;b.collisionWidth>f?i>0&&j<=0?(c=a.left+i+b.collisionWidth-f-e,a.left+=i-c):j>0&&i<=0?a.left=e:i>j?a.left=e+f-b.collisionWidth:a.left=e:i>0?a.left+=i:j>0?a.left-=j:a.left=g(a.left-h,a.left)},top:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollTop:d.offset.top,f=b.within.height,h=a.top-b.collisionPosition.marginTop,i=e-h,j=h+b.collisionHeight-f-e;b.collisionHeight>f?i>0&&j<=0?(c=a.top+i+b.collisionHeight-f-e,a.top+=i-c):j>0&&i<=0?a.top=e:i>j?a.top=e+f-b.collisionHeight:a.top=e:i>0?a.top+=i:j>0?a.top-=j:a.top=g(a.top-h,a.top)}},flip:{left:function(a,b){var c,d,e=b.within,f=e.offset.left+e.scrollLeft,g=e.width,i=e.isWindow?e.scrollLeft:e.offset.left,j=a.left-b.collisionPosition.marginLeft,k=j-i,l=j+b.collisionWidth-g-i,m="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0,n="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,o=-2*b.offset[0];k<0?(c=a.left+m+n+o+b.collisionWidth-g-f,(c<0||c<h(k))&&(a.left+=m+n+o)):l>0&&(d=a.left-b.collisionPosition.marginLeft+m+n+o-i,(d>0||h(d)<l)&&(a.left+=m+n+o))},top:function(a,b){var c,d,e=b.within,f=e.offset.top+e.scrollTop,g=e.height,i=e.isWindow?e.scrollTop:e.offset.top,j=a.top-b.collisionPosition.marginTop,k=j-i,l=j+b.collisionHeight-g-i,m="top"===b.my[1],n=m?-b.elemHeight:"bottom"===b.my[1]?b.elemHeight:0,o="top"===b.at[1]?b.targetHeight:"bottom"===b.at[1]?-b.targetHeight:0,p=-2*b.offset[1];k<0?(d=a.top+n+o+p+b.collisionHeight-g-f,(d<0||d<h(k))&&(a.top+=n+o+p)):l>0&&(c=a.top-b.collisionPosition.marginTop+n+o+p-i,(c>0||h(c)<l)&&(a.top+=n+o+p))}},flipfit:{left:function(){a.ui.position.flip.left.apply(this,arguments),a.ui.position.fit.left.apply(this,arguments)},top:function(){a.ui.position.flip.top.apply(this,arguments),a.ui.position.fit.top.apply(this,arguments)}}},function(){var b,c,d,e,g,h=document.getElementsByTagName("body")[0],i=document.createElement("div");b=document.createElement(h?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},h&&a.extend(d,{position:"absolute",left:"-1000px",top:"-1000px"});for(g in d)b.style[g]=d[g];b.appendChild(i),c=h||document.documentElement,c.insertBefore(b,c.firstChild),i.style.cssText="position: absolute; left: 10.7432222px;",e=a(i).offset().left,f=e>10&&e<11,b.innerHTML="",c.removeChild(b)}()}(),a.ui.position});
59/*!
60 * jQuery UI Tooltip 1.11.4
61 * http://jqueryui.com
62 *
63 * Copyright jQuery Foundation and other contributors
64 * Released under the MIT license.
65 * http://jquery.org/license
66 *
67 * http://api.jqueryui.com/tooltip/
68 */
69!function(a){"function"==typeof define&&define.amd?define(["jquery","./core","./widget","./position"],a):a(jQuery)}(function(a){return a.widget("ui.tooltip",{version:"1.11.4",options:{content:function(){var b=a(this).attr("title")||"";return a("<a>").text(b).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(b,c){var d=(b.attr("aria-describedby")||"").split(/\s+/);d.push(c),b.data("ui-tooltip-id",c).attr("aria-describedby",a.trim(d.join(" ")))},_removeDescribedBy:function(b){var c=b.data("ui-tooltip-id"),d=(b.attr("aria-describedby")||"").split(/\s+/),e=a.inArray(c,d);e!==-1&&d.splice(e,1),b.removeData("ui-tooltip-id"),d=a.trim(d.join(" ")),d?b.attr("aria-describedby",d):b.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=a("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(b,c){var d=this;return"disabled"===b?(this[c?"_disable":"_enable"](),void(this.options[b]=c)):(this._super(b,c),void("content"===b&&a.each(this.tooltips,function(a,b){d._updateContent(b.element)})))},_disable:function(){var b=this;a.each(this.tooltips,function(c,d){var e=a.Event("blur");e.target=e.currentTarget=d.element[0],b.close(e,!0)}),this.element.find(this.options.items).addBack().each(function(){var b=a(this);b.is("[title]")&&b.data("ui-tooltip-title",b.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var b=a(this);b.data("ui-tooltip-title")&&b.attr("title",b.data("ui-tooltip-title"))})},open:function(b){var c=this,d=a(b?b.target:this.element).closest(this.options.items);d.length&&!d.data("ui-tooltip-id")&&(d.attr("title")&&d.data("ui-tooltip-title",d.attr("title")),d.data("ui-tooltip-open",!0),b&&"mouseover"===b.type&&d.parents().each(function(){var b,d=a(this);d.data("ui-tooltip-open")&&(b=a.Event("blur"),b.target=b.currentTarget=this,c.close(b,!0)),d.attr("title")&&(d.uniqueId(),c.parents[this.id]={element:this,title:d.attr("title")},d.attr("title",""))}),this._registerCloseHandlers(b,d),this._updateContent(d,b))},_updateContent:function(a,b){var c,d=this.options.content,e=this,f=b?b.type:null;return"string"==typeof d?this._open(b,a,d):(c=d.call(a[0],function(c){e._delay(function(){a.data("ui-tooltip-open")&&(b&&(b.type=f),this._open(b,a,c))})}),void(c&&this._open(b,a,c)))},_open:function(b,c,d){function e(a){j.of=a,g.is(":hidden")||g.position(j)}var f,g,h,i,j=a.extend({},this.options.position);if(d){if(f=this._find(c))return void f.tooltip.find(".ui-tooltip-content").html(d);c.is("[title]")&&(b&&"mouseover"===b.type?c.attr("title",""):c.removeAttr("title")),f=this._tooltip(c),g=f.tooltip,this._addDescribedBy(c,g.attr("id")),g.find(".ui-tooltip-content").html(d),this.liveRegion.children().hide(),d.clone?(i=d.clone(),i.removeAttr("id").find("[id]").removeAttr("id")):i=d,a("<div>").html(i).appendTo(this.liveRegion),this.options.track&&b&&/^mouse/.test(b.type)?(this._on(this.document,{mousemove:e}),e(b)):g.position(a.extend({of:c},this.options.position)),g.hide(),this._show(g,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){g.is(":visible")&&(e(j.of),clearInterval(h))},a.fx.interval)),this._trigger("open",b,{tooltip:g})}},_registerCloseHandlers:function(b,c){var d={keyup:function(b){if(b.keyCode===a.ui.keyCode.ESCAPE){var d=a.Event(b);d.currentTarget=c[0],this.close(d,!0)}}};c[0]!==this.element[0]&&(d.remove=function(){this._removeTooltip(this._find(c).tooltip)}),b&&"mouseover"!==b.type||(d.mouseleave="close"),b&&"focusin"!==b.type||(d.focusout="close"),this._on(!0,c,d)},close:function(b){var c,d=this,e=a(b?b.currentTarget:this.element),f=this._find(e);return f?(c=f.tooltip,void(f.closing||(clearInterval(this.delayedShow),e.data("ui-tooltip-title")&&!e.attr("title")&&e.attr("title",e.data("ui-tooltip-title")),this._removeDescribedBy(e),f.hiding=!0,c.stop(!0),this._hide(c,this.options.hide,function(){d._removeTooltip(a(this))}),e.removeData("ui-tooltip-open"),this._off(e,"mouseleave focusout keyup"),e[0]!==this.element[0]&&this._off(e,"remove"),this._off(this.document,"mousemove"),b&&"mouseleave"===b.type&&a.each(this.parents,function(b,c){a(c.element).attr("title",c.title),delete d.parents[b]}),f.closing=!0,this._trigger("close",b,{tooltip:c}),f.hiding||(f.closing=!1)))):void e.removeData("ui-tooltip-open")},_tooltip:function(b){var c=a("<div>").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),d=c.uniqueId().attr("id");return a("<div>").addClass("ui-tooltip-content").appendTo(c),c.appendTo(this.document[0].body),this.tooltips[d]={element:b,tooltip:c}},_find:function(a){var b=a.data("ui-tooltip-id");return b?this.tooltips[b]:null},_removeTooltip:function(a){a.remove(),delete this.tooltips[a.attr("id")]},_destroy:function(){var b=this;a.each(this.tooltips,function(c,d){var e=a.Event("blur"),f=d.element;e.target=e.currentTarget=f[0],b.close(e,!0),a("#"+c).remove(),f.data("ui-tooltip-title")&&(f.attr("title")||f.attr("title",f.data("ui-tooltip-title")),f.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}})});
70jQuery(function($){$('.contactlink-top li, .contactlink-bottom li').addClass('tooltip');$('.contactlink-top li, .contactlink-bottom li').each(function(){var li_text=$(this).text();$(this).attr('title',li_text);});$('.tooltip').tooltip({position:{my:'left bottom-10',at:'left top',collision:'none',}});});
71jQuery(function($){var replaceWidth=640;var timer=false;chocolat_link_position();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
72timer=setTimeout(function(){chocolat_link_position();},200);});function chocolat_link_position(){var windowWidth=parseInt($(window).width());if(replaceWidth<windowWidth){var header_width=$('#header-top').width();var title_width=$('#header #site-title').width();var sns_width=$('#header .contactlink-top').outerWidth(true);var search_width=$('#header .search-box').outerWidth(true);var links_width=sns_width+search_width+20;if($('#header #site-description').size()){var desc_width=$('#header #site-description').width();if(links_width<(header_width-desc_width)){if((header_width-title_width)<links_width){$('#header #site-title').css('margin-bottom','37px');}}
72else{if((header_width-title_width)<links_width){$('#header #site-description').css('margin-bottom','50px');}else{$('#header .contactlink-top').css('top','1px');$('#header .header-links .search-box').css('top','-2px');}}}else{if((header_width-title_width)<links_width){$('#header #site-title').css('margin-bottom','50px');}}}else if(windowWidth<=replaceWidth){$('#header #site-title').css('margin-bottom','auto');$('#header #site-description').css('margin-bottom','auto');}}});
73/*!
74 * imagesLoaded PACKAGED v3.2.0
75 * JavaScript is all like "You images are done yet or what?"
76 * MIT License
77 */
78(function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,s=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),s="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(s?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,s=this.getListenersAsObject(e);for(r in s)s.hasOwnProperty(r)&&(i=t(s[r],n),-1!==i&&s[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,s=e?this.removeListener:this.addListener,o=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)s.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?s.call(this,i,r):o.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,s,o=this.getListenersAsObject(e);for(r in o)if(o.hasOwnProperty(r))for(i=o[r].length;i--;)n=o[r][i],n.once===!0&&this.removeListener(e,n.listener),s=n.listener.apply(this,t||[]),s===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=s,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var s={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",s):e.eventie=s}(this),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"==f.call(e)}function s(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=s(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),u&&(this.jqDeferred=new u.Deferred);var r=this;setTimeout(function(){r.check()})}function h(e){this.img=e}function a(e,t){this.url=e,this.element=t,this.img=new Image}var u=e.jQuery,c=e.console,f=Object.prototype.toString;o.prototype=new t,o.prototype.options={},o.prototype.getImages=function(){this.images=[];for(var e=0;e<this.elements.length;e++){var t=this.elements[e];this.addElementImages(t)}},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroun
78dImages(e);var t=e.nodeType;if(t&&d[t]){for(var n=e.querySelectorAll("img"),i=0;i<n.length;i++){var r=n[i];this.addImage(r)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(i=0;i<s.length;i++){var o=s[i];this.addElementBackgroundImages(o)}}}};var d={1:!0,9:!0,11:!0};o.prototype.addElementBackgroundImages=function(e){for(var t=m(e),n=/url\(['"]*([^'"\)]+)['"]*\)/gi,i=n.exec(t.backgroundImage);null!==i;){var r=i&&i[1];r&&this.addBackground(r,e),i=n.exec(t.backgroundImage)}};var m=e.getComputedStyle||function(e){return e.currentStyle};return o.prototype.addImage=function(e){var t=new h(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new a(e,t);this.images.push(n)},o.prototype.check=function(){function e(e,n,i){setTimeout(function(){t.progress(e,n,i)})}var t=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();for(var n=0;n<this.images.length;n++){var i=this.images[n];i.once("progress",e),i.check()}},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emit("progress",this,e,t),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&c&&c.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emit(e,this),this.emit("always",this),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=new t,h.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,n.bind(this.proxyImage,"load",this),n.bind(this.proxyImage,"error",this),n.bind(this.img,"load",this),n.bind(this.img,"error",this),void(this.proxyImage.src=this.img.src))},h.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},h.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.img,t)},h.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){n.unbind(this.proxyImage,"load",this),n.unbind(this.proxyImage,"error",this),n.unbind(this.img,"load",this),n.unbind(this.img,"error",this)},a.prototype=new h,a.prototype.check=function(){n.bind(this.img,"load",this),n.bind(this.img,"error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){n.unbind(this.img,"load",this),n.unbind(this.img,"error",this)},a.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("progress",this,this.element,t)},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(u=t,u.fn.imagesLoaded=function(e,t){var n=new o(this,e,t);return n.jqDeferred.promise(u(this))})},o.makeJQueryPlugin(),o});
79/*!
80 * Masonry PACKAGED v3.3.2
81 * Cascading grid layout library
82 * http://masonry.desandro.com
83 * MIT License
84 * by David DeSandro
85 */
86!function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if("string"==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&"_"!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f("no such method '"+e+"' for "+b+" instance");else f("cannot call methods on "+b+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f="undefined"==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],c):c("object"==typeof exports?require("jquery"):a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent("on"+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent("on"+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};"function"==typeof define&&define.amd?define("eventie/eventie",f):"object"==typeof exports?module.exports=f:a.eventie=f}(window),function(){function a(){}function b(a,b){for(var c=a.length;c--;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty(c)&&a.test(c)&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;b<a.length;b+=1)c.push(a[b].listener);return c},d.getListenersAsObject=function(a){var b,c=this.getListeners(a);return c instanceof Array&&(b={},b[a]=c),b||c},d.addListener=function(a,c){var d,e=this.getListenersAsObject(a),f="object"==typeof c;for(d in e)e.hasOwnProperty(d)&&-1===b(e[d],c)&&e[d].push(f?c:{listener:c,once:!1});return this},d.on=c("addListener"),d.addOnceListener=function(a,b){return this.addListener(a,{listener:b,once:!0})},d.once=c("addOnceListener"),d.defineEvent=function(a){return this.getListeners(a),this},d.defineEvents=function(a){for(var b=0;b<a.length;b+=1)this.defineEvent(a[b]);return this},d.removeListener=function(a,c){var d,e,f=this.getListenersAsObject(a);for(e in f)f.hasOwnProperty(e)&&(d=b(f[e],c),-1!==d&&f[e].splice(d,1));return this},d.off=c("removeListener"),d.addListeners=function(a,b){return this.manipulateListeners(!1,a,b)},d.removeListeners=function(a,b){return this.manipulateListeners(!0,a,b)},d.manipulateListeners=function(a,b,c){var d,e,f=a?this.removeListener:this.addListener,g=a?this.removeListeners:this.addListeners;if("object"!=typeof b||b instanceof RegExp)for(d=c.length;d--;)f.call(this,b,c[d]);
86else for(d in b)b.hasOwnProperty(d)&&(e=b[d])&&("function"==typeof e?f.call(this,d,e):g.call(this,d,e));return this},d.removeEvent=function(a){var b,c=typeof a,d=this._getEvents();if("string"===c)delete d[a];else if(a instanceof RegExp)for(b in d)d.hasOwnProperty(b)&&a.test(b)&&delete d[b];else delete this._events;return this},d.removeAllListeners=c("removeEvent"),d.emitEvent=function(a,b){var c,d,e,f,g=this.getListenersAsObject(a);for(e in g)if(g.hasOwnProperty(e))for(d=g[e].length;d--;)c=g[e][d],c.once===!0&&this.removeListener(a,c.listener),f=c.listener.apply(this,b||[]),f===this._getOnceReturnValue()&&this.removeListener(a,c.listener);return this},d.trigger=c("emitEvent"),d.emit=function(a){var b=Array.prototype.slice.call(arguments,1);return this.emitEvent(a,b)},d.setOnceReturnValue=function(a){return this._onceReturnValue=a,this},d._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},d._getEvents=function(){return this._events||(this._events={})},a.noConflict=function(){return e.EventEmitter=f,a},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return a}):"object"==typeof module&&module.exports?module.exports=a:e.EventEmitter=a}.call(this),function(a){function b(a){if(a){if("string"==typeof d[a])return a;a=a.charAt(0).toUpperCase()+a.slice(1);for(var b,e=0,f=c.length;f>e;e++)if(b=c[e]+a,"string"==typeof d[b])return b}}var c="Webkit Moz ms Ms O".split(" "),d=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return b}):"object"==typeof exports?module.exports=b:a.getStyleProperty=b}(window),function(a){function b(a){var b=parseFloat(a),c=-1===a.indexOf("%")&&!isNaN(b);return c&&b}function c(){}function d(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0,c=g.length;c>b;b++){var d=g[b];a[d]=0}return a}function e(c){function e(){if(!m){m=!0;var d=a.getComputedStyle;if(j=function(){var a=d?function(a){return d(a,null)}:function(a){return a.currentStyle};return function(b){var c=a(b);return c||f("Style returned "+c+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),c}}(),k=c("boxSizing")){var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style[k]="border-box";var g=document.body||document.documentElement;g.appendChild(e);var h=j(e);l=200===b(h.width),g.removeChild(e)}}}function h(a){if(e(),"string"==typeof a&&(a=document.querySelector(a)),a&&"object"==typeof a&&a.nodeType){var c=j(a);if("none"===c.display)return d();var f={};f.width=a.offsetWidth,f.height=a.offsetHeight;for(var h=f.isBorderBox=!(!k||!c[k]||"border-box"!==c[k]),m=0,n=g.length;n>m;m++){var o=g[m],p=c[o];p=i(a,p);var q=parseFloat(p);f[o]=isNaN(q)?0:q}var r=f.paddingLeft+f.paddingRight,s=f.paddingTop+f.paddingBottom,t=f.marginLeft+f.marginRight,u=f.marginTop+f.marginBottom,v=f.borderLeftWidth+f.borderRightWidth,w=f.borderTopWidth+f.borderBottomWidth,x=h&&l,y=b(c.width);y!==!1&&(f.width=y+(x?0:r+v));var z=b(c.height);return z!==!1&&(f.height=z+(x?0:s+w)),f.innerWidth=f.width-(r+v),f.innerHeight=f.height-(s+w),f.outerWidth=f.width+t,f.outerHeight=f.height+u,f}}function i(b,c){if(a.getComputedStyle||-1===c.indexOf("%"))return c;var d=b.style,e=d.left,f=b.runtimeStyle,g=f&&f.left;return g&&(f.left=b.currentStyle.left),d.left=c,c=d.pixelLeft,d.left=e,g&&(f.left=g),c}var j,k,l,m=!1;return h}var f="undefined"==typeof console?c:function(a){console.error(a)},g=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property")):a.getSize=e(a.getStyleProperty)}(window),function(a){function b(a){"function"==typeof a&&(b.isReady?a():g.push(a))}function c(a){var c="readystatechange"===a.type&&"complete"!==f.readyState;b.isReady||c||d()}function d(){b.isReady=!0;for(var a=0,c=g.length;c>a;a++){var d=g[a];d()}}function e(e){return"complete"===f.readyState?d():(e.bind(f,"DOMContentLoaded",c),e.bind(f,"readystatechange",c),e.bind(a,"load",c)
86),b}var f=a.document,g=[];b.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],e):"object"==typeof exports?module.exports=e(require("eventie")):a.docReady=e(a.eventie)}(window),function(a){function b(a,b){return a[g](b)}function c(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function d(a,b){c(a);for(var d=a.parentNode.querySelectorAll(b),e=0,f=d.length;f>e;e++)if(d[e]===a)return!0;return!1}function e(a,d){return c(a),b(a,d)}var f,g=function(){if(a.matches)return"matches";if(a.matchesSelector)return"matchesSelector";for(var b=["webkit","moz","ms","o"],c=0,d=b.length;d>c;c++){var e=b[c],f=e+"MatchesSelector";if(a[f])return f}}();if(g){var h=document.createElement("div"),i=b(h,"div");f=i?b:e}else f=d;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return f}):"object"==typeof exports?module.exports=f:window.matchesSelector=f}(Element.prototype),function(a,b){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(c,d){return b(a,c,d)}):"object"==typeof exports?module.exports=b(a,require("doc-ready"),require("desandro-matches-selector")):a.fizzyUIUtils=b(a,a.docReady,a.matchesSelector)}(window,function(a,b,c){var d={};d.extend=function(a,b){for(var c in b)a[c]=b[c];return a},d.modulo=function(a,b){return(a%b+b)%b};var e=Object.prototype.toString;d.isArray=function(a){return"[object Array]"==e.call(a)},d.makeArray=function(a){var b=[];if(d.isArray(a))b=a;else if(a&&"number"==typeof a.length)for(var c=0,e=a.length;e>c;c++)b.push(a[c]);else b.push(a);return b},d.indexOf=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},d.removeFrom=function(a,b){var c=d.indexOf(a,b);-1!=c&&a.splice(c,1)},d.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&"object"==typeof a&&1==a.nodeType&&"string"==typeof a.nodeName},d.setText=function(){function a(a,c){b=b||(void 0!==document.documentElement.textContent?"textContent":"innerText"),a[b]=c}var b;return a}(),d.getParent=function(a,b){for(;a!=document.body;)if(a=a.parentNode,c(a,b))return a},d.getQueryElement=function(a){return"string"==typeof a?document.querySelector(a):a},d.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},d.filterFindElements=function(a,b){a=d.makeArray(a);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f];if(d.isElement(h))if(b){c(h,b)&&e.push(h);for(var i=h.querySelectorAll(b),j=0,k=i.length;k>j;j++)e.push(i[j])}else e.push(h)}return e},d.debounceMethod=function(a,b,c){var d=a.prototype[b],e=b+"Timeout";a.prototype[b]=function(){var a=this[e];a&&clearTimeout(a);var b=arguments,f=this;this[e]=setTimeout(function(){d.apply(f,b),delete f[e]},c||100)}},d.toDashed=function(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+"-"+c}).toLowerCase()};var f=a.console;return d.htmlInit=function(c,e){b(function(){for(var b=d.toDashed(e),g=document.querySelectorAll(".js-"+b),h="data-"+b+"-options",i=0,j=g.length;j>i;i++){var k,l=g[i],m=l.getAttribute(h);try{k=m&&JSON.parse(m)}catch(n){f&&f.error("Error parsing "+h+" on "+l.nodeName.toLowerCase()+(l.id?"#"+l.id:"")+": "+n);continue}var o=new c(l,k),p=a.jQuery;p&&p.data(l,e,o)}})},d}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(c,d,e,f){return b(a,c,d,e,f)}):"object"==typeof exports?module.exports=b(a,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(a.Outlayer={},a.Outlayer.Item=b(a,a.EventEmitter,a.getSize,a.getStyleProperty,a.fizzyUIUtils))}(window,function(a,b,c,d,e){function f(a){for(var b in a)return!1;return b=null,!0}function g(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}function h(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}var i=a.getComputedStyle,j=i?function(a){return i(a,null)}:function(a){return a.currentStyle},k=d("transition"),l=d("transform"),m=k&&l,n=!!d("perspective"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[k],p=["transform","transition","transitionDuration","transitionProperty"],q=function(){for(var a={},b=0,c=p.length;c>b;b++){var e=p[b],f=d(e);f&&f!==e&&(a[e]=f)}return a}();e.extend(g.prototype,b.prototype),g.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},g.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},g.prototype.getSize=function(){this.size=c(this.element)},g.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=q[c]||c;b[d]=a[c]}},g.prototype.getPosition=function(){var a=j(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=a[c?"left":"right"],f=a[d?"top":"bottom"],g=this.layout.size,h=-1!=e.indexOf("%")?parseFloat(e)/100*g.width:parseInt(e,10),i=-1!=f.indexOf("%")?parseFloat(f)/100*g.height:parseInt(f,10);h=isNaN(h)?0:h,i=isNaN(i)?0:i,h-=c?g.paddingLeft:g.paddingRight,i-=d?g.paddingTop:g.paddingBottom,this.position.x=h,this.position.y=i},g.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={},d=b.isOriginLeft?"paddingLeft":"paddingRight",e=b.isOriginLeft?"left"
86:"right",f=b.isOriginLeft?"right":"left",g=this.position.x+a[d];c[e]=this.getXValue(g),c[f]="";var h=b.isOriginTop?"paddingTop":"paddingBottom",i=b.isOriginTop?"top":"bottom",j=b.isOriginTop?"bottom":"top",k=this.position.y+a[h];c[i]=this.getYValue(k),c[j]="",this.css(c),this.emitEvent("layout",[this])},g.prototype.getXValue=function(a){var b=this.layout.options;return b.percentPosition&&!b.isHorizontal?a/this.layout.size.width*100+"%":a+"px"},g.prototype.getYValue=function(a){var b=this.layout.options;return b.percentPosition&&b.isHorizontal?a/this.layout.size.height*100+"%":a+"px"},g.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={};j.transform=this.getTranslate(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},g.prototype.getTranslate=function(a,b){var c=this.layout.options;return a=c.isOriginLeft?a:-a,b=c.isOriginTop?b:-b,n?"translate3d("+a+"px, "+b+"px, 0)":"translate("+a+"px, "+b+"px)"},g.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},g.prototype.moveTo=m?g.prototype._transitionTo:g.prototype.goTo,g.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},g.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},g.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var r="opacity,"+h(q.transform||"transform");g.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:r,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(o,this,!1))},g.prototype.transition=g.prototype[k?"_transition":"_nonTransition"],g.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},g.prototype.onotransitionend=function(a){this.ontransitionend(a)};var s={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};g.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,c=s[a.propertyName]||a.propertyName;if(delete b.ingProperties[c],f(b.ingProperties)&&this.disableTransition(),c in b.clean&&(this.element.style[a.propertyName]="",delete b.clean[c]),c in b.onEnd){var d=b.onEnd[c];d.call(this),delete b.onEnd[c]}this.emitEvent("transitionEnd",[this])}},g.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},g.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]="";this.css(b)};var t={transitionProperty:"",transitionDuration:""};return g.prototype.removeTransitionStyles=function(){this.css(t)},g.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},g.prototype.remove=function(){if(!k||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.once("transitionEnd",function(){a.removeElem()}),this.hide()},g.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty("visibleStyle");b[c]=this.onRevealTransitionEnd,this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},g.prototype.getHideRevealTransitionEndProperty=function(a){var b=this.layout.options[a];if(b.opacity)return"opacity";for(var c in b)return c},g.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var a=this.layout.options,b={}
86,c=this.getHideRevealTransitionEndProperty("hiddenStyle");b[c]=this.onHideTransitionEnd,this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},g.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},g}),function(a,b){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(c,d,e,f,g){return b(a,c,d,e,f,g)}):"object"==typeof exports?module.exports=b(a,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):a.Outlayer=b(a,a.eventie,a.EventEmitter,a.getSize,a.fizzyUIUtils,a.Outlayer.Item)}(window,function(a,b,c,d,e,f){function g(a,b){var c=e.getQueryElement(a);if(!c)return void(h&&h.error("Bad element for "+this.constructor.namespace+": "+(c||a)));this.element=c,i&&(this.$element=i(this.element)),this.options=e.extend({},this.constructor.defaults),this.option(b);var d=++k;this.element.outlayerGUID=d,l[d]=this,this._create(),this.options.isInitLayout&&this.layout()}var h=a.console,i=a.jQuery,j=function(){},k=0,l={};return g.namespace="outlayer",g.Item=f,g.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},e.extend(g.prototype,c.prototype),g.prototype.option=function(a){e.extend(this.options,a)},g.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},g.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},g.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},g.prototype._filterFindItemElements=function(a){return e.filterFindElements(a,this.options.itemSelector)},g.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},g.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},g.prototype._init=g.prototype.layout,g.prototype._resetLayout=function(){this.getSize()},g.prototype.getSize=function(){this.size=d(this.element)},g.prototype._getMeasurement=function(a,b){var c,f=this.options[a];f?("string"==typeof f?c=this.element.querySelector(f):e.isElement(f)&&(c=f),this[a]=c?d(c)[b]:f):this[a]=0},g.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},g.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},g.prototype._layoutItems=function(a,b){if(this._emitCompleteOnItems("layout",a),a&&a.length){for(var c=[],d=0,e=a.length;e>d;d++){var f=a[d],g=this._getItemLayoutPosition(f);g.item=f,g.isInstant=b||f.isLayoutInstant,c.push(g)}this._processLayoutQueue(c)}},g.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},g.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},g.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},g.prototype._postLayout=function(){this.resizeContainer()},g.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},g.prototype._getContainerSize=j,g.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?"width":"height"]=a+"px"}},g.prototype._emitCompleteOnItems=function(a,b){function c(){e.dispatchEvent(a+"Complete",null,[b])}function d(){g++,g===f&&c()}var e=this,f=b.length;if(!b||!f)return void c();for(var g=0,h=0,i=b.length;i>h;h++){var j=b[h];j.once(a,d)}},g.prototype.dispatchEvent=function(a,b,c){var d=b?[b].concat(c):c;if(this.emitEvent(a,d),i)if(this.$element=this.$element||i(this.element),b){var e=i.Event(b);e.type=a,this.$element.trigger(e,c)}else this.$element.trigger(a,c)},g.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},g.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored}
86,g.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},g.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e.removeFrom(this.stamps,d),this.unignore(d)}},g.prototype._find=function(a){return a?("string"==typeof a&&(a=this.element.querySelectorAll(a)),a=e.makeArray(a)):void 0},g.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp(c)}}},g.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},g.prototype._manageStamp=j,g.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,e=d(a),f={left:b.left-c.left-e.marginLeft,top:b.top-c.top-e.marginTop,right:c.right-b.right-e.marginRight,bottom:c.bottom-b.bottom-e.marginBottom};return f},g.prototype.handleEvent=function(a){var b="on"+a.type;this[b]&&this[b](a)},g.prototype.bindResize=function(){this.isResizeBound||(b.bind(a,"resize",this),this.isResizeBound=!0)},g.prototype.unbindResize=function(){this.isResizeBound&&b.unbind(a,"resize",this),this.isResizeBound=!1},g.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},g.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},g.prototype.needsResizeLayout=function(){var a=d(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},g.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},g.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},g.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat(c),this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems(c)}},g.prototype.reveal=function(a){this._emitCompleteOnItems("reveal",a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.reveal()}},g.prototype.hide=function(a){this._emitCompleteOnItems("hide",a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.hide()}},g.prototype.revealItemElements=function(a){var b=this.getItems(a);this.reveal(b)},g.prototype.hideItemElements=function(a){var b=this.getItems(a);this.hide(b)},g.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},g.prototype.getItems=function(a){a=e.makeArray(a);for(var b=[],c=0,d=a.length;d>c;c++){var f=a[c],g=this.getItem(f);g&&b.push(g)}return b},g.prototype.remove=function(a){var b=this.getItems(a);if(this._emitCompleteOnItems("remove",b),b&&b.length)for(var c=0,d=b.length;d>c;c++){var f=b[c];f.remove(),e.removeFrom(this.items,f)}},g.prototype.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="";for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,i&&i.removeData(this.element,this.constructor.namespace)},g.data=function(a){a=e.getQueryElement(a);var b=a&&a.outlayerGUID;return b&&l[b]}
86,g.create=function(a,b){function c(){g.apply(this,arguments)}return Object.create?c.prototype=Object.create(g.prototype):e.extend(c.prototype,g.prototype),c.prototype.constructor=c,c.defaults=e.extend({},g.defaults),e.extend(c.defaults,b),c.prototype.settings={},c.namespace=a,c.data=g.data,c.Item=function(){f.apply(this,arguments)},c.Item.prototype=new f,e.htmlInit(c,a),i&&i.bridget&&i.bridget(a,c),c},g.Item=f,g}),function(a,b){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],b):"object"==typeof exports?module.exports=b(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):a.Masonry=b(a.Outlayer,a.getSize,a.fizzyUIUtils)}(window,function(a,b,c){var d=a.create("masonry");return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var a=this.cols;for(this.colYs=[];a--;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b(c).outerWidth||this.containerWidth}var d=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,f=e/d,g=d-e%d,h=g&&1>g?"round":"floor";f=Math[h](f),this.cols=Math.max(f,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?"round":"ceil",e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c.indexOf(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;--b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var a=this.containerWidth;return this.getContainerWidth(),a!==this.containerWidth},d});
87/*!
88 * Masonry v2 shim
89 * to maintain backwards compatibility
90 * as of Masonry v3.1.2
91 *
92 * Cascading grid layout library
93 * http://masonry.desandro.com
94 * MIT License
95 * by David DeSandro
96 */
97!function(a){"use strict";var b=a.Masonry;b.prototype._remapV2Options=function(){this._remapOption("gutterWidth","gutter"),this._remapOption("isResizable","isResizeBound"),this._remapOption("isRTL","isOriginLeft",function(a){return!a});var a=this.options.isAnimated;if(void 0!==a&&(this.options.transitionDuration=a?this.options.transitionDuration:0),void 0===a||a){var b=this.options.animationOptions,c=b&&b.duration;c&&(this.options.transitionDuration="string"==typeof c?c:c+"ms")}},b.prototype._remapOption=function(a,b,c){var d=this.options[a];void 0!==d&&(this.options[b]=c?c(d):d)};var c=b.prototype._create;b.prototype._create=function(){var a=this;this._remapV2Options(),c.apply(this,arguments),setTimeout(function(){jQuery(a.element).addClass("masonry")},0)};var d=b.prototype.layout;b.prototype.layout=function(){this._remapV2Options(),d.apply(this,arguments)};var e=b.prototype.option;b.prototype.option=function(){e.apply(this,arguments),this._remapV2Options()};var f=b.prototype._itemize;b.prototype._itemize=function(a){var b=f.apply(this,arguments);return jQuery(a).addClass("masonry-brick"),b};var g=b.prototype.measureColumns;b.prototype.measureColumns=function(){var a=this.options.columnWidth;a&&"function"==typeof a&&(this.getContainerWidth(),this.columnWidth=a(this.containerWidth)),g.apply(this,arguments)},b.prototype.reload=function(){this.reloadItems.apply(this,arguments),this.layout.apply(this)};var h=b.prototype.destroy;b.prototype.destroy=function(){var a=this.getItemElements();jQuery(this.element).removeClass("masonry"),jQuery(a).removeClass("masonry-brick"),h.apply(this,arguments)}}(window);
98jQuery(function($){var sidebar_flag;var replaceWidth=800;var maxWidth=1000;var timer=false;var column;var column_size;var wrapper_width;if($('#wrapper').outerHeight(true)>$(window).height()){maxWidth=maxWidth-15;}
99chocolat_set_masonry();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
100timer=setTimeout(function(){chocolat_set_masonry();},200);});function chocolat_set_masonry(){if($(window).width()<maxWidth){if($(window).width()<=replaceWidth){column=2;column_size=10;}else if(replaceWidth<$(window).width()){column=3;column_size=20;}
101if($('#widget-footer-inner').size()){wrapper_width=parseInt($('#widget-footer-inner').width());}else if($('#sidebar .widget-inner').size()){wrapper_width=parseInt($('#sidebar .widget-inner').width());}else{return;}
102var column_width=parseInt((wrapper_width-column_size)/column);chocolat_set_widget_footer(column_width,10);chocolat_set_widget_sidebar(column_width,10);}else if(maxWidth<=$(window).width()){if(sidebar_flag){$('#sidebar .sidebar-widget').removeClass('widget-masonry');$('#sidebar .widget-inner').masonry('destroy');sidebar_flag=false;}
103chocolat_set_widget_footer(300,40);}}
104function chocolat_set_widget_footer(column_width,gutter_size){$('#widget-footer .footer-widget').addClass('widget-masonry');$('#widget-footer .widget-inner').imagesLoaded(function(){$('#widget-footer .widget-inner').masonry({columnWidth:column_width,itemSelector:'.footer-widget',isAnimated:'true',gutterWidth:gutter_size,gutter:gutter_size,});});}
105function chocolat_set_widget_sidebar(column_width,gutter_size){$('#sidebar .sidebar-widget').addClass('widget-masonry');$('#sidebar .widget-inner').imagesLoaded(function(){$('#sidebar .widget-inner').masonry({columnWidth:column_width,itemSelector:'.sidebar-widget',isAnimated:'true',gutterWidth:gutter_size,gutter:gutter_size,});});sidebar_flag=true;}});
106jQuery(function($){var conHeight=$('#wrapper').outerHeight(true);var maxWidth=1000;var timer=false;var footer_content;chocolat_footer_fixed();$(window).resize(function(){if(timer!==false){clearTimeout(timer);}
107timer=setTimeout(function(){chocolat_fixed_remove();conHeight=$('#wrapper').outerHeight(true);chocolat_footer_fixed();},200);});function chocolat_footer_fixed(){var windowHeight=parseInt($(window).height());var topPos=0;if(conHeight<windowHeight){topPos=windowHeight-conHeight;topPos=topPos+'px';if($(window).width()<maxWidth){footer_content=$('#content-inner');}else if($(window).width()>=maxWidth){footer_content=$('#contents');}
108footer_content.after('<div class="footer-fixed"></div>');$('.footer-fixed').css({content:'',display:'block',height:topPos,});}else if(conHeight>windowHeight){chocolat_fixed_remove();}}
109function chocolat_fixed_remove(){if($('.footer-fixed').size()){$('.footer-fixed').remove();}}});
110jQuery(function($){var top_btn=$('#pagetop');var is_hidden=true;top_btn.hide();$(window).scroll(function(){chocolat_getbg_position($(this));});$('a[href^=#]').not('[href="#"]').click(function(e){var obj_hash=$(this.hash);var hash_offset=obj_hash.offset().top;$('html, body').animate({scrollTop:hash_offset},'swing');return false;e.preventDefault();});
110function chocolat_getbg_position(obj){if($(this).scrollTop()>300){if(is_hidden){top_btn.stop(true,true).fadeIn();is_hidden=false;}}else if(!is_hidden){top_btn.stop(true,true).fadeOut();is_hidden=true;}}});
111!function(a,b){"use strict";function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf("MSIE 10"),h=!!navigator.userAgent.match(/Trident.*rv:11\./),i=b.querySelectorAll("iframe.wp-embedded-content");for(c=0;c<i.length;c++){if(d=i[c],!d.getAttribute("data-secret"))f=Math.random().toString(36).substr(2,10),d.src+="#?secret="+f,d.setAttribute("data-secret",f);if(g||h)a=d.cloneNode(!0),a.removeAttribute("security"),d.parentNode.replaceChild(a,d)}}}var d=!1,e=!1;if(b.querySelector)if(a.addEventListener)d=!0;if(a.wp=a.wp||{},!a.wp.receiveEmbedMessage)if(a.wp.receiveEmbedMessage=function(c){var d=c.data;if(d)if(d.secret||d.message||d.value)if(!/[^a-zA-Z0-9]/.test(d.secret)){var e,f,g,h,i,j=b.querySelectorAll('iframe[data-secret="'+d.secret+'"]'),k=b.querySelectorAll('blockquote[data-secret="'+d.secret+'"]');for(e=0;e<k.length;e++)k[e].style.display="none";for(e=0;e<j.length;e++)if(f=j[e],c.source===f.contentWindow){if(f.removeAttribute("style"),"height"===d.message){if(g=parseInt(d.value,10),g>1e3)g=1e3;else if(~~g<200)g=200;f.height=g}if("link"===d.message)if(h=b.createElement("a"),i=b.createElement("a"),h.href=f.getAttribute("src"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener("message",a.wp.receiveEmbedMessage,!1),b.addEventListener("DOMContentLoaded",c,!1),a.addEventListener("load",c,!1)}(window,document);

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.