1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10/** 11 * File: spb-video-parallax.js 12 * Author: MegaDrupal 13 */ 14(function($) { 15 $(document).ready(function() { 16 window.onYouTubeIframeAPIReady = function() { 17 $("#mdpb-live-content .md-section").each(function() { 18 if ($(this).data("video-id")) { 19 var $section = $(this), 20 isDevice = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? true : false, 21 videoId = $(this).data("video-id"), 22 mute = ($(this).data("video-mute")) ? $(this).data("video-mute") : 0, 23 player; 24 25 if (!isDevice) { 26 $('md-section-' + $section.index(), $section).remove(); 27 $section.prepend('<div class="section-overlay"></div><div class="video-bg"><div id="md-content-section-' + $section.index() + '"></div></div>'); 28 player = new YT.Player('md-content-section-' + $section.index(), { 29 width: 640, 30 height: 350, 31 videoId: videoId, 32 playerVars: { 33 "autoplay": 1, 34 "loop": 1, 35 "controls": 0, 36 "showinfo": 0, 37 "playlist": videoId, 38 "modestbranding": 1, 39 "disablekb": 1 40 }, 41 events: { 42 onReady: function(event) { 43 if (mute) 44 player.mute(); 45 46 // Resize video background 47 var frameWidth = $section.width() + 50, 48 frameHeight = frameWidth*350/640; 49 50 if ($section.height() > frameHeight) { 51 frameHeight = $section.height() + 50; 52 frameWidth = frameHeight*640/350; 53 } 54 55 $("iframe", $section).width(frameWidth).height(frameHeight).css("left", ($section.width() - frameWidth)/2); 56 } 57 } 58 }); 59 60 } 61 } 62 }); 63 } 64 65 }); 66})(jQuery) 67; 68(function ($) { 69 70 $(document).ready(function(){ 71 function custom_md_phoenix_count (md_class) { 72 $.each($('.'+ md_class), function(){ 73 var data = $(this).data('settings'); 74 //console.log(data); 75 $(this).countTo ({ 76 from: 0, 77 to: data[0].value, 78 speed : data[1].value, 79 refreshInterval: data[2].value 80 }); 81 }); 82 } 83 if($('.custom-md-phoenix-count').length > 0){ 84 $.each($('.custom-md-phoenix-count'), function(){ 85 var md_parent = $(this).closest('.md-section'); 86 var md_parent_row = $(this).closest('.row'); 87 md_parent.addClass('custom-phoenix-count-echo'); 88 md_parent_row.addClass('text-center'); 89 md_parent_row.addClass('timerWrapper'); 90 }); 91 $('.custom-phoenix-count-echo').waypoint(function() { 92 custom_md_phoenix_count('custom-md-phoenix-count'); 93 },{ offset: $(window).height() }); 94 } 95 96 }); 97})(jQuery);; 98/** 99 * File: spb-node-form.js 100 * Author: MegaDrupal 101 * Website: http://www.megadrupal.com/ 102 */ 103(function($) { 104 Drupal.behaviors.spb_node_form = { 105 attach: function(context, settings) { 106 if ($(".node-portfolio-form").length == 0) { 107 $("#edit-spb-enabled").attr("disabled", false); 108 }else { 109 $("#edit-spb-enabled").attr("disabled", true); 110 } 111 112 $("#edit-spb-enabled", context).change(function() { 113 if ($("#mdpb-live-content").length == 0) { 114 if ($(this).is(":checked")) { 115 $(settings.spb_disable_fields, context).hide(); 116 $(".form-item-page-wrapper-width", context).show(); 117 } 118 else { 119 if ($(".node-portfolio-form").length == 0) { 120 $(settings.spb_disable_fields, context).show(); 121 } 122 $(".form-item-page-wrapper-width", context).hide(); 123 } 124 } 125 }).trigger("change"); 126 127 $("#edit-spb-builder a.spb-add-layout", context).click(function(event) {
128 $(".layout-settings-dialog", context).show(); 129 event.preventDefault(); 130 }); 131 } 132 } 133})(jQuery); 134; 135// JavaScript Document 136 137var $ = jQuery.noConflict(); 138 139$(document).ready(function($) { 140 "use strict"; 141 if ($(".aboutItem").find(".aboutText").length == 0){ 142 $(".aboutItem").css('margin', '0'); 143 } 144});; 145 146 147window.google = window.google || {}; 148google.maps = google.maps || {}; 149(function() { 150 151 function getScript(src) { 152 document.write('<' + 'script src="' + src + '"><' + '/script>'); 153 } 154 155 var modules = google.maps.modules = {}; 156 google.maps.__gjsload__ = function(name, text) { 157 modules[name] = text; 158 }; 159 160 google.maps.Load = function(apiLoad) { 161 delete google.maps.Load; 162 apiLoad([0.009999999776482582,[null,[["http://khm0.googleapis.com/kh?v=733\u0026hl=en-US\u0026","http://khm1.googleapis.com/kh?v=733\u0026hl=en-US\u0026"],null,null,null,1,"733",["https://khms0.google.com/kh?v=733\u0026hl=en-US\u0026","https://khms1.google.com/kh?v=733\u0026hl=en-US\u0026"]],null,null,null,null,[["http://cbk0.googleapis.com/cbk?","http://cbk1.googleapis.com/cbk?"]],[["http://khm0.googleapis.com/kh?v=108\u0026hl=en-US\u0026","http://khm1.googleapis.com/kh?v=108\u0026hl=en-US\u0026"],null,null,null,null,"108",["https://khms0.google.com/kh?v=108\u0026hl=en-US\u0026","https://khms1.google.com/kh?v=108\u0026hl=en-US\u0026"]],[["http://mt0.googleapis.com/mapslt?hl=en-US\u0026","http://mt1.googleapis.com/mapslt?hl=en-US\u0026"]],null,null,null,[["https://mts0.googleapis.com/mapslt?hl=en-US\u0026","https://mts1.googleapis.com/mapslt?hl=en-US\u0026"]]],["en-US","US",null,0,null,null,"http://maps.gstatic.com/mapfiles/","http://csi.gstatic.com","https://maps.googleapis.com","http://maps.googleapis.com",null,"https://maps.google.com","https://gg.google.com","http://maps.gstatic.com/maps-api-v3/api/images/","https://www.google.com/maps",0,"https://www.google.com"],["http://maps.google.com/maps-api-v3/api/js/30/3","3.30.3"],[3082394920],1,null,null,null,null,null,"",null,null,0,"http://khm.googleapis.com/mz?v=733\u0026",null,"https://earthbuilder.googleapis.com","https://earthbuilder.googleapis.com",null,"http://mt.googleapis.com/maps/vt/icon",[["http://maps.google.com/maps/vt"],["https://maps.google.com/maps/vt"],null,null,null,null,null,null,null,null,null,null,["https://www.google.com/maps/vt"],"/maps/vt",388000000,388],2,500,[null,null,null,null,"http://www.google.com/maps/preview/log204","","http://static.panoramio.com.storage.googleapis.com/photos/",["http://geo0.ggpht.com/cbk","http://geo1.ggpht.com/cbk","http://geo2.ggpht.com/cbk","http://geo3.ggpht.com/cbk"],"https://maps.googleapis.com/maps/api/js/GeoPhotoService.GetMetadata","https://maps.googleapis.com/maps/api/js/GeoPhotoService.SingleImageSearch",["https://lh3.ggpht.com/","https://lh4.ggpht.com/","https://lh5.ggpht.com/","https://lh6.ggpht.com/"]],["https://www.google.com/maps/api/js/master?pb=!1m2!1u30!2s3!2sen-US!3sUS!4s30/3","https://www.google.com/maps/api/js/widget?pb=!1m2!1u30!2s3!2sen-US"],null,0,null,"/maps/api/js/ApplicationService.GetEntityDetails",0,null,null,[null,null,null,null,null,null,null,null,null,[0,0]],null,[],["30.3"]], loadScriptTime); 163 }; 164 var loadScriptTime = (new Date).getTime(); 165})(); 166// inlined 167(function(_){var xa,La,Ma,Ra,Ua,mb,sb,tb,ub,vb,zb,Ab,Db,Gb,Cb,Kb,Qb,Sb,Vb,Xb,bc,ac,cc,dc,gc,kc,wc,Ac,Bc,Ic,Lc,Mc,Oc,Qc,Sc,Nc,Pc,Uc,Xc,Yc,Zc,cd,od,td,ud,vd,Cd,Fd,Id,Kd,Md,Pd,Yd,$d,Zd,ee,ge,he,ie,Ae,Be,Ce,Ee,Fe,He,Ie,Me,Ne,Oe,Pe,Se,Ue,Ve,ff,gf,hf,jf,kf,lf,nf,of,pf,uf,zf,Bf,If,Jf,Kf,Yf,Zf,$f,ag,bg,cg,eg,fg,gg,hg,og,mg,pg,qg,sg,vg,xg,wg,zg,Dg,Gg,Hg,Lg,Qg,Tg,Ug,Vg,Wg,Xg,Zg,Ia,Ja;_.aa="ERROR";_.ba="INVALID_REQUEST";_.ca="MAX_DIMENSIONS_EXCEEDED";_.da="MAX_ELEMENTS_EXCEEDED";_.ea="MAX_WAYPOINTS_EXCEEDED";_.fa="NOT_FOUND"; 168_.ia="OK";_.ja="OVER_QUERY_LIMIT";_.ka="REQUEST_DENIED";_.la="UNKNOWN_ERROR";_.ma="ZERO_RESULTS";_.na=function(){return function(a){return a}};_.oa=function(){return function(){}};_.pa=function(a){return function(b){this[a]=b}};_.qa=function(a){return function(){return this[a]}};_.ra=function(a){return function(){return a}};_.ua=function(a){return function(){return _.sa[a].apply(this,arguments)}}; 169xa=function(a,b){if(b){var c=_.va;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&(0,_.wa)(c,a,{configurable:!0,writable:!0,value:b})}};_.m=function(a){return void 0!==a};
169_.ya=function(a){return"string"==typeof a};_.Aa=function(a){return"number"==typeof a};_.Ca=_.oa(); 170_.Da=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; 171else if("function"==b&&"undefined"==typeof a.call)return"object";return b};_.Ea=function(a){return"array"==_.Da(a)};_.Fa=function(a){var b=_.Da(a);return"array"==b||"object"==b&&"number"==typeof a.length};_.Ga=function(a){return"function"==_.Da(a)};_.Ha=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};_.Ka=function(a){return a[Ia]||(a[Ia]=++Ja)};La=function(a,b,c){return a.call.apply(a.bind,arguments)}; 172Ma=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};_.p=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?_.p=La:_.p=Ma;return _.p.apply(null,arguments)};_.Na=function(){return+new Date}; 173_.t=function(a,b){function c(){}c.prototype=b.prototype;a.lb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Je=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];b.prototype[c].apply(a,d)}};_.Oa=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};_.Qa=function(){return-1!=_.Pa.toLowerCase().indexOf("webkit")}; 174_.Sa=function(a,b){var c=0;a=_.Oa(String(a)).split(".");b=_.Oa(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=Ra(0==f[1].length?0:(0,window.parseInt)(f[1],10),0==g[1].length?0:(0,window.parseInt)(g[1],10))||Ra(0==f[2].length,0==g[2].length)||Ra(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c}; 175Ra=function(a,b){return a<b?-1:a>b?1:0};_.Ta=function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(_.ya(a))return _.ya(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};_.v=function(a,b,c){for(var d=a.length,e=_.ya(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};Ua=function(a,b){for(var c=a.length,d=_.ya(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1}; 176_.Wa=function(a,b){b=_.Ta(a,b);var c;(c=0<=b)&&_.Va(a,b);return c};_.Va=function(a,b){Array.prototype.splice.call(a,b,1)};_.Xa=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.w=function(a){return a?a.length:0};_.$a=function(a,b){_.Ya(b,function(c){a[c]=b[c]})};_.ab=function(a){for(var b in a)return!1;return!0};_.bb=function(a,b,c){null!=b&&(a=Math.max(a,b));null!=c&&(a=Math.min(a,c));return a}; 177_.cb=function(a,b,c){c-=b;return((a-b)%c+c)%c+b};_.db=function(a,b,c){return Math.abs(a-b)<=(c||1E-9)};_.eb=function(a,b){for(var c=[],d=_.w(a),e=0;e<d;++e)c.push(b(a[e],e));return c};_.gb=function(a,b){for(var c=_.fb(void 0,_.w(b)),d=_.fb(void 0,0);d<c;++d)a.push(b[d])};_.y=function(a){return"number"==typeof a};_.hb=function(a){return"object"==typeof a};_.fb=function(a,b){return null==a?b:a};_.ib=function(a){return"string"==typeof a};_.jb=function(a){return a===!!a}; 178_.Ya=function(a,b){for(var c in a)b(c,a[c])};_.lb=function(a){return function(){var b=this,c=arguments;_.kb(function(){a.apply(b,c)})}};_.kb=function(a){return window.setTimeout(a,0)};mb=function(a,b){if(Object.prototype.hasOwnProperty.call(a,b))return a[b]};_.nb=function(a){window.console&&window.console.error&&window.console.error(a)};_.ob=function(a){a.cancelBubble=!0;a.stopPropagation&&a.stopPropagation()}; 179_.pb=function(a){a.preventDefault&&_.m(a.defaultPrevented)?a.preventDefault():a.returnValue=!1};_.qb=function(a){a=a||window.event;_.ob(a);_.pb(a)};_.rb=function(a){a.handled=!0;void 0===a.bubbles&&(a.returnValue="handled")};sb=function(a,b){a.__e3_||(a.__e3_={});a=a.__e3_;a[b]||(a[b]={});return a[b]};tb=function(a,b){var c=a.__e3_||{};if(b)a=c[b]||{};else for(b in a={},c)_.$a(a,c[b]);return a};ub=function(a,b){return function(c){return b.call(a,c,this)}}; 180vb=function(a,b,c){return function(d){var e=[b,a];_.gb(e,arguments);_.A.trigger.apply(this,e);c&&_.rb.apply(null,arguments)}};zb=function(a,b,c,d){this.f=a;this.b=b;this.j=c;this.l=null;this.m=d;this.id=++wb;sb(a,b)[this.id]=this;xb&&"tagName"in a&&(yb[this.id]=this)};Ab=function(a){return a.l=function(b){b||(b=window.event);if(b&&!b.target)try{b.target=b.srcElement}catch(d){}var c=a.j.apply(a.f,[b]);return b&&"click"==b.type&&(b=b.srcElement)&&"A"==b.tagName&&"javascript:void(0)"==b.href?!1:c}}; 181_.Bb=function(a){return""+(_.Ha(a)?_.Ka(a):a)};_.D=_.oa();Db=function(a,b){var c=b+"_changed";if(a[c])a[c]();else a.changed(b);c=Cb(a,b);for(var d in c){var e=c[d];Db(e.Gc,e.kb)}_.A.trigger(a,b.toLowerCase()+"_changed")};_.Fb=function(a){return Eb[a]||(Eb[a]=a.substr(0,1).toUpperCase()+a.substr(1))};Gb=function(a){a.gm_accessors_||(a.gm_accessors_={});return a.gm_accessors_};Cb=function(a,b){a.gm_bindings_||(a.gm_bindings_={});a.gm_bindings_.hasOwnProperty(b)||(a.gm_bindings_[b]={});return a.gm_bindings_[b]}; 182_.Hb=function(a){return-1!=_.Pa.indexOf(a)};_.Ib=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};_.Jb=function(){return _.Hb("Trident")||_.Hb("MSIE")};_.Lb=function(){return _.Hb("Safari")&&!(Kb()||_.Hb("Coast")||_.Hb("Opera")||_.Hb("Edge")||_.Hb("Silk")||_.Hb("Android"))};Kb=function(){return(_.Hb("Chrome")||_.Hb("CriOS"))&&!_.Hb("Edge")};_.Mb=function(){return _.Hb("Android")&&!(Kb()||_.Hb("Firefox")||_.Hb("Opera")||_.Hb("Silk"))};_.Nb=function(){return _.Hb("iPhone")&&!_.Hb("iPod")&&!_.Hb("iPad")}; 183_.Ob=function(a){_.Ob[" "](a);return a};Qb=function(a,b){var c=Pb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};Sb=function(){var a=_.Rb.document;return a?a.documentMode:void 0};
183_.Ub=function(a){return Qb(a,function(){return 0<=_.Sa(_.Tb,a)})};Vb=function(a,b,c){this.l=c;this.j=a;this.m=b;this.f=0;this.b=null};_.Wb=_.na();Xb=function(a){_.Rb.setTimeout(function(){throw a;},0)}; 184bc=function(){var a=_.Yb.f;a=Zb(a);!_.Ga(_.Rb.setImmediate)||_.Rb.Window&&_.Rb.Window.prototype&&!_.Hb("Edge")&&_.Rb.Window.prototype.setImmediate==_.Rb.setImmediate?($b||($b=ac()),$b(a)):_.Rb.setImmediate(a)}; 185ac=function(){var a=_.Rb.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.Hb("Presto")&&(a=function(){var a=window.document.createElement("IFRAME");a.style.display="none";a.src="";window.document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host;a=(0,_.p)(function(a){if(("*"== 186d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!_.Jb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(_.m(c.next)){c=c.next;var a=c.xg;c.xg=null;a()}};return function(a){d.next={xg:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof window.document&&"onreadystatechange"in window.document.createElement("SCRIPT")?function(a){var b=window.document.createElement("SCRIPT"); 187b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};window.document.documentElement.appendChild(b)}:function(a){_.Rb.setTimeout(a,0)}};cc=function(){this.f=this.b=null};dc=function(){this.next=this.b=this.Dc=null};_.Yb=function(a,b){_.Yb.b||_.Yb.m();_.Yb.j||(_.Yb.b(),_.Yb.j=!0);_.Yb.l.add(a,b)};_.ec=function(a){return a*Math.PI/180};_.fc=function(a){return 180*a/Math.PI};gc=function(a){this.message=a;this.name="InvalidValueError";this.stack=Error().stack}; 188_.hc=function(a,b){var c="";if(null!=b){if(!(b instanceof gc))return b;c=": "+b.message}return new gc(a+c)};_.ic=function(a){if(!(a instanceof gc))throw a;_.nb(a.name+": "+a.message)}; 189_.jc=function(a,b){var c=c?c+": ":"";return function(d){if(!d||!_.hb(d))throw _.hc(c+"not an Object");var e={},f;for(f in d)if(e[f]=d[f],!b&&!a[f])throw _.hc(c+"unknown property "+f);for(f in a)try{var g=a[f](e[f]);if(_.m(g)||Object.prototype.hasOwnProperty.call(d,f))e[f]=a[f](e[f])}catch(h){throw _.hc(c+"in property "+f,h);}return e}};kc=function(a){try{return!!a.cloneNode}catch(b){return!1}}; 190_.lc=function(a,b,c){return c?function(c){if(c instanceof a)return c;try{return new a(c)}catch(e){throw _.hc("when calling new "+b,e);}}:function(c){if(c instanceof a)return c;throw _.hc("not an instance of "+b);}};_.pc=function(a){return function(b){for(var c in a)if(a[c]==b)return b;throw _.hc(b);}};_.qc=function(a){return function(b){if(!_.Ea(b))throw _.hc("not an Array");return _.eb(b,function(b,d){try{return a(b)}catch(e){throw _.hc("at index "+d,e);}})}}; 191_.rc=function(a,b){return function(c){if(a(c))return c;throw _.hc(b||""+c);}};_.sc=function(a){return function(b){for(var c=[],d=0,e=a.length;d<e;++d){var f=a[d];try{(f.Pf||f)(b)}catch(g){if(!(g instanceof gc))throw g;c.push(g.message);continue}return(f.then||f)(b)}throw _.hc(c.join("; and "));}};_.tc=function(a,b){return function(c){return b(a(c))}};_.vc=function(a){return function(b){return null==b?b:a(b)}}; 192wc=function(a){return function(b){if(b&&null!=b[a])return b;throw _.hc("no "+a+" property");}};_.F=function(a,b,c){if(a&&(void 0!==a.lat||void 0!==a.lng))try{xc(a),b=a.lng,a=a.lat,c=!1}catch(d){_.ic(d)}a-=0;b-=0;c||(a=_.bb(a,-90,90),180!=b&&(b=_.cb(b,-180,180)));this.lat=function(){return a};this.lng=function(){return b}};_.yc=function(a){return _.ec(a.lat())};_.zc=function(a){return _.ec(a.lng())};Ac=function(a,b){b=Math.pow(10,b);return Math.round(a*b)/b};Bc=_.oa(); 193_.Cc=function(a){try{if(a instanceof _.F)return a;a=xc(a);return new _.F(a.lat,a.lng)}catch(b){throw _.hc("not a LatLng or LatLngLiteral",b);}};_.Dc=function(a){this.b=_.Cc(a)};
193Ic=function(a){if(a instanceof Bc)return a;try{return new _.Dc(_.Cc(a))}catch(b){}throw _.hc("not a Geometry or LatLng or LatLngLiteral object");};_.Jc=function(a,b){if(a)return function(){--a||b()};b();return _.Ca}; 194_.Kc=function(a,b,c){var d=a.getElementsByTagName("head")[0];a=a.createElement("script");a.type="text/javascript";a.charset="UTF-8";a.src=b;c&&(a.onerror=c);d.appendChild(a);return a};Lc=function(a){for(var b="",c=0,d=arguments.length;c<d;++c){var e=arguments[c];e.length&&"/"==e[0]?b=e:(b&&"/"!=b[b.length-1]&&(b+="/"),b+=e)}return b};Mc=function(a){this.j=window.document;this.b={};this.f=a};Oc=function(){this.l={};this.f={};this.m={};this.b={};this.j=new Nc}; 195Qc=function(a,b){a.l[b]||(a.l[b]=!0,Pc(a.j,function(c){for(var d=c.b[b],e=d?d.length:0,f=0;f<e;++f){var g=d[f];a.b[g]||Qc(a,g)}c=c.j;c.b[b]||_.Kc(c.j,Lc(c.f,b)+".js")}))};Sc=function(a,b){var c=Rc;this.j=a;this.b=c;a={};for(var d in c)for(var e=c[d],f=0,g=e.length;f<g;++f){var h=e[f];a[h]||(a[h]=[]);a[h].push(d)}this.l=a;this.f=b};Nc=function(){this.b=[]};
195Pc=function(a,b){a.f?b(a.f):a.b.push(b)};_.H=function(a,b,c){var d=Oc.b();a=""+a;d.b[a]?b(d.b[a]):((d.f[a]=d.f[a]||[]).push(b),c||Qc(d,a))}; 196_.Tc=function(a,b){Oc.b().b[""+a]=b};Uc=function(a,b,c){var d=[],e=_.Jc(a.length,function(){b.apply(null,d)});_.v(a,function(a,b){_.H(a,function(a){d[b]=a;e()},c)})};_.Vc=function(a){a=a||{};this.j=a.id;this.b=null;try{this.b=a.geometry?Ic(a.geometry):null}catch(b){_.ic(b)}this.f=a.properties||{}};_.K=function(a,b){this.x=a;this.y=b};Xc=function(a){if(a instanceof _.K)return a;try{_.jc({x:_.Wc,y:_.Wc},!0)(a)}catch(b){throw _.hc("not a Point",b);}return new _.K(a.x,a.y)}; 197_.L=function(a,b,c,d){this.width=a;this.height=b;this.f=c||"px";this.b=d||"px"};Yc=function(a){if(a instanceof _.L)return a;try{_.jc({height:_.Wc,width:_.Wc},!0)(a)}catch(b){throw _.hc("not a Size",b);}return new _.L(a.width,a.height)};Zc=function(a,b){-180==a&&180!=b&&(a=180);-180==b&&180!=a&&(b=180);this.b=a;this.f=b};_.$c=function(a){return a.b>a.f};_.ad=function(a,b){var c=b-a;return 0<=c?c:b+180-(a-180)};_.bd=function(a){return a.isEmpty()?0:_.$c(a)?360-(a.b-a.f):a.f-a.b}; 198cd=function(a,b){this.b=a;this.f=b};_.dd=function(a){return a.isEmpty()?0:a.f-a.b};_.ed=function(a,b){a=a&&_.Cc(a);b=b&&_.Cc(b);if(a){b=b||a;var c=_.bb(a.lat(),-90,90),d=_.bb(b.lat(),-90,90);this.f=new cd(c,d);a=a.lng();b=b.lng();360<=b-a?this.b=new Zc(-180,180):(a=_.cb(a,-180,180),b=_.cb(b,-180,180),this.b=new Zc(a,b))}else this.f=new cd(1,-1),this.b=new Zc(180,-180)};_.fd=function(a,b,c,d){return new _.ed(new _.F(a,b,!0),new _.F(c,d,!0))}; 199_.hd=function(a){if(a instanceof _.ed)return a;try{return a=gd(a),_.fd(a.south,a.west,a.north,a.east)}catch(b){throw _.hc("not a LatLngBounds or LatLngBoundsLiteral",b);}};_.id=function(a,b){this.f=a||0;this.j=b||0};_.jd=function(a){return function(){return this.get(a)}};_.md=function(a,b){return b?function(c){try{this.set(a,b(c))}catch(d){_.ic(_.hc("set"+_.Fb(a),d))}}:function(b){this.set(a,b)}}; 200_.nd=function(a,b){_.Ya(b,function(b,d){var c=_.jd(b);a["get"+_.Fb(b)]=c;d&&(d=_.md(b,d),a["set"+_.Fb(b)]=d)})};_.pd=function(a){this.b=a||[];od(this)};od=function(a){a.set("length",a.b.length)};_.qd=function(a){this.j=a||_.Bb;this.f={}};_.rd=function(a,b){var c=a.f,d=a.j(b);c[d]||(c[d]=b,_.A.trigger(a,"insert",b),a.b&&a.b(b))};_.sd=_.pa("b");td=function(a,b){this.b=a;this.f=b}; 201ud=function(a,b,c){var d=Math.pow(2,Math.round(Math.log(a)/Math.LN2))/256;this.b=Math.round(a/d)*d;a=Math.cos(b*Math.PI/180);b=Math.cos(c*Math.PI/180);c=Math.sin(c*Math.PI/180);this.m11=this.b*b;this.m12=this.b*c;this.m21=-this.b*a*c;this.m22=this.b*a*b;this.f=this.m11*this.m22-this.m12*this.m21};vd=function(a,b){return new td((a.m22*b.Za-a.m12*b.ab)/a.f,(-a.m21*b.Za+a.m11*b.ab)/a.f)};_.wd=function(a){this.J=this.I=window.Infinity;this.L=this.K=-window.Infinity;
201_.v(a||[],this.extend,this)}; 202_.xd=function(a,b,c,d){var e=new _.wd;e.I=a;e.J=b;e.K=c;e.L=d;return e};_.yd=function(a,b,c){this.heading=a;this.pitch=_.bb(b,-90,90);this.zoom=Math.max(0,c)};_.Bd=function(){this.__gm=new _.D;this.l=null};Cd=function(a){this.P=[];this.b=a&&a.kd||_.Ca;this.f=a&&a.ld||_.Ca};_.Ed=function(a,b,c,d){function e(){_.v(f,function(a){b.call(c||null,function(b){if(a.once){if(a.once.vg)return;a.once.vg=!0;_.Wa(g.P,a);g.P.length||g.b()}a.Dc.call(a.context,b)})})}var f=a.P.slice(0),g=a;d&&d.sync?e():Dd(e)}; 203Fd=function(a,b){return function(c){return c.Dc==a&&c.context==(b||null)}};_.Gd=function(){this.P=new Cd({kd:(0,_.p)(this.kd,this),ld:(0,_.p)(this.ld,this)})};_.Hd=function(a){_.Gd.call(this);this.m=!!a};_.Jd=function(a){return new Id(a,void 0)};Id=function(a,b){_.Hd.call(this,b);this.b=a};Kd=_.oa();_.Ld=function(a,b){a[b]||(a[b]=[]);return a[b]}; 204_.Nd=function(a,b){if(null==a||null==b)return null==a==(null==b);if(a.constructor!=Array&&a.constructor!=Object)throw Error("Invalid object type passed into jsproto.areObjectsEqual()");if(a===b)return!0;if(a.constructor!=b.constructor)return!1;for(var c in a)if(!(c in b&&Md(a[c],b[c])))return!1;for(var d in b)if(!(d in a))return!1;return!0}; 205Md=function(a,b){if(a===b||!(!0!==a&&1!==a||!0!==b&&1!==b)||!(!1!==a&&0!==a||!1!==b&&0!==b))return!0;if(a instanceof Object&&b instanceof Object){if(!_.Nd(a,b))return!1}else return!1;return!0};_.Od=function(a,b,c,d){this.type=a;this.label=b;this.Sk=c;this.Bc=d};Pd=function(a){switch(a){case "d":case "f":case "i":case "j":case "u":case "v":case "x":case "y":case "g":case "h":case "n":case "o":case "e":return 0;case "s":case "z":case "B":return"";case "b":return!1;default:return null}}; 206_.Qd=function(a,b,c){return new _.Od(a,1,_.m(b)?b:Pd(a),c)};_.Rd=function(a,b,c){return new _.Od(a,2,_.m(b)?b:Pd(a),c)};_.Sd=function(a){return _.Qd("i",a)};_.Td=function(a){return _.Qd("v",a)};_.Ud=function(a){return _.Qd("b",a)};_.Vd=function(a){return _.Qd("e",a)};_.M=function(a,b){return _.Qd("m",a,b)};Yd=_.oa();$d=function(a,b,c){for(var d=1;d<b.A.length;++d){var e=b.A[d],f=a[d+b.b];if(e&&null!=f)if(3==e.label)for(var g=0;g<f.length;++g)Zd(f[g],d,e,c);else Zd(f,d,e,c)}}; 207Zd=function(a,b,c,d){if("m"==c.type){var e=d.length;$d(a,c.Bc,d);d.splice(e,0,[b,"m",d.length-e].join(""))}else"b"==c.type&&(a=a?"1":"0"),a=[b,c.type,(0,window.encodeURIComponent)(a)].join(""),d.push(a)};_.N=function(a){this.data=a||[]};_.ae=function(a,b,c){a=a.data[b];return null!=a?a:c};_.O=function(a,b,c){return _.ae(a,b,c||0)};_.P=function(a,b,c){return _.ae(a,b,c||"")};_.Q=function(a,b){var c=a.data[b];c||(c=a.data[b]=[]);return c};_.be=function(a,b){return _.Ld(a.data,b)}; 208_.ce=function(a,b,c){return _.be(a,b)[c]};_.de=function(a,b){return a.data[b]?a.data[b].length:0};ee=_.oa();_.fe=_.pa("__gm");ge=function(){this.b={};this.j={};this.f={}};he=function(){this.b={}};ie=function(a){this.b=new he;var b=this;_.A.addListenerOnce(a,"addfeature",function(){_.H("data",function(c){c.b(b,a,b.b)})})};_.ke=function(a){this.b=[];try{this.b=je(a)}catch(b){_.ic(b)}};_.me=function(a){this.b=(0,_.le)(a)};_.ne=function(a){this.b=(0,_.le)(a)};_.pe=function(a){this.b=oe(a)}; 209_.qe=function(a){this.b=(0,_.le)(a)};_.se=function(a){this.b=re(a)};_.xe=function(a){this.b=te(a)}; 210_.ye=function(a,b,c){function d(a){if(!a)throw _.hc("not a Feature");if("Feature"!=a.type)throw _.hc('type != "Feature"');var b=a.geometry;try{b=null==b?null:e(b)}catch(G){throw _.hc('in property "geometry"',G);}var d=a.properties||{};if(!_.hb(d))throw _.hc("properties is not an Object");var f=c.idPropertyName;a=f?d[f]:a.id;if(null!=a&&!_.y(a)&&!_.ib(a))throw _.hc((f||"id")+" is not a string or number");return{id:a,geometry:b,properties:d}}function e(a){if(null==a)throw _.hc("is null");var b=(a.type+ 211"").toLowerCase(),c=a.coordinates;try{switch(b){case "point":return new _.Dc(h(c));case "multipoint":return new _.qe(n(c));case "linestring":return g(c);case "multilinestring":return new _.pe(q(c));case "polygon":return f(c);case "multipolygon":return new _.xe(u(c))}}catch(I){throw _.hc('in property "coordinates"',I);}if("geometrycollection"==b)try{return new _.ke(C(a.geometries))}catch(I){throw _.hc('in property "geometries"',I);}throw _.hc("invalid type");}function f(a){return new _.se(r(a))}
211function g(a){return new _.me(n(a))} 212function h(a){a=l(a);return _.Cc({lat:a[1],lng:a[0]})}if(!b)return[];c=c||{};var l=_.qc(_.Wc),n=_.qc(h),q=_.qc(g),r=_.qc(function(a){a=n(a);if(!a.length)throw _.hc("contains no elements");if(!a[0].V(a[a.length-1]))throw _.hc("first and last positions are not equal");return new _.ne(a.slice(0,-1))}),u=_.qc(f),C=_.qc(e),z=_.qc(d);if("FeatureCollection"==b.type){b=b.features;try{return _.eb(z(b),function(b){return a.add(b)})}catch(x){throw _.hc('in property "features"',x);}}if("Feature"==b.type)return[a.add(d(b))]; 213throw _.hc("not a Feature or FeatureCollection");};Ae=function(a){var b=this;a=a||{};this.setValues(a);this.b=new ge;_.A.forward(this.b,"addfeature",this);_.A.forward(this.b,"removefeature",this);_.A.forward(this.b,"setgeometry",this);_.A.forward(this.b,"setproperty",this);_.A.forward(this.b,"removeproperty",this);this.f=new ie(this.b);this.f.bindTo("map",this);this.f.bindTo("style",this);_.v(_.ze,function(a){_.A.forward(b.f,a,b)});this.j=!1};Be=function(a){a.j||(a.j=!0,_.H("drawing_impl",function(b){b.Ql(a)}))}; 214Ce=function(a){if(!a)return null;if(_.ya(a)){var b=window.document.createElement("div");b.style.overflow="auto";b.innerHTML=a}else 3==a.nodeType?(b=window.document.createElement("div"),b.appendChild(a)):b=a;return b};Ee=function(a){var b=De,c=Oc.b().j;a=c.f=new Sc(new Mc(a),b);b=0;for(var d=c.b.length;b<d;++b)c.b[b](a);c.b.length=0};Fe=function(a){a=a||{};a.clickable=_.fb(a.clickable,!0);a.visible=_.fb(a.visible,!0);this.setValues(a);_.H("marker",_.Ca)}; 215_.Ge=function(a){this.__gm={set:null,Jd:null,Pb:{map:null,ce:null}};Fe.call(this,a)};He=function(a,b){this.b=a;this.f=b;a.addListener("map_changed",(0,_.p)(this.Mm,this));this.bindTo("map",a);this.bindTo("disableAutoPan",a);this.bindTo("maxWidth",a);this.bindTo("position",a);this.bindTo("zIndex",a);this.bindTo("internalAnchor",a,"anchor");this.bindTo("internalContent",a,"content");this.bindTo("internalPixelOffset",a,"pixelOffset")};Ie=function(a,b,c,d){c?a.bindTo(b,c,d):(a.unbind(b),a.set(b,void 0))}; 216_.Je=function(a){function b(){e||(e=!0,_.H("infowindow",function(a){a.qk(d)}))}window.setTimeout(function(){_.H("infowindow",_.Ca)},100);a=a||{};var c=!!a.b;delete a.b;var d=new He(this,c),e=!1;_.A.addListenerOnce(this,"anchor_changed",b);_.A.addListenerOnce(this,"map_changed",b);this.setValues(a)};_.Le=function(a){_.Ke&&a&&_.Ke.push(a)};Me=function(a){this.setValues(a)};Ne=_.oa();Oe=_.oa();Pe=_.oa();_.Qe=function(){_.H("geocoder",_.Ca)}; 217_.Re=function(a,b,c){this.H=null;this.set("url",a);this.set("bounds",_.vc(_.hd)(b));this.setValues(c)};Se=function(a,b){_.ib(a)?(this.set("url",a),this.setValues(b)):this.setValues(a)};_.Te=function(){var a=this;_.H("layers",function(b){b.b(a)})};Ue=function(a){this.setValues(a);var b=this;_.H("layers",function(a){a.f(b)})};Ve=function(){var a=this;_.H("layers",function(b){b.j(a)})};_.Xe=function(){this.b="";this.f=_.We};_.Ye=function(a){var b=new _.Xe;b.b=a;return b}; 218_.af=function(){this.Ye="";this.Jj=_.Ze;this.b=null};_.bf=function(a,b){var c=new _.af;c.Ye=a;c.b=b;return c};_.cf=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.df=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)};_.ef=_.oa();ff=function(a,b,c,d,e){this.b=!!b;this.node=null;this.f=0;this.j=!1;this.l=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?e:this.f||0;this.b&&(this.depth*=-1)};gf=function(a,b,c,d){ff.call(this,a,b,c,null,d)}; 219hf=function(a){this.data=a||[]};jf=function(a){this.data=a||[]};kf=function(a){this.data=a||[]};lf=function(a){this.data=a||[]};_.mf=function(a){this.data=a||[]};nf=function(a){this.data=a||[]};of=function(a){this.data=a||[]};pf=function(a){this.data=a||[]};_.qf=function(a){return _.P(a,0)};_.rf=function(a){return _.P(a,1)};_.sf=function(){return _.P(_.R,16)};_.tf=function(a){return new lf(a.data[2])}; 220uf=function(a,b,c,d,e){var f=_.P(_.tf(_.R),7);this.b=a;this.f=d;this.j=_.m(e)?e:_.Na();var g=f+"/csi?v=2&s=mapsapi3&v3v="+_.P(new pf(_.R.data[36]),0)+"&action="+a;_.Ib(c,function(a,b){g+="&"+(0,window.encodeURIComponent)(b)+"="+(0,window.encodeURIComponent)(a)});b&&(g+="&e="+b);this.l=g};_.wf=function(a,b){var c={};c[b]=void 0;_.vf(a,c)}; 221_.vf=function(a,b){var c="";_.Ib(b,function(a,b){var d=(null!=a?a:_.Na())-this.j;c&&(c+=",");c+=b+"."+Math.round(d);null==a&&window.performance&&window.performance.mark&&window.performance.mark("mapsapi:"+this.b+":"+b)},a);b=a.l+"&rt="+c;a.f.createElement("img").src=b;(a=_.Rb.__gm_captureCSI)&&a(b)}; 222_.xf=function(a,b){b=b||{};var c=b.fn||{},d=_.be(_.R,12).join(",");d&&(c.libraries=d);d=_.P(_.R,6);var e=new hf(_.R.data[33]),f=[];d&&f.push(d);_.v(e.data,function(a,b){a&&_.v(a,function(a,c){null!=a&&f.push(b+1+"_"+(c+1)+"_"+a)})});b.fl&&(f=f.concat(b.fl));return new uf(a,f.join(","),c,b.document||window.document,b.startTime)};zf=function(){this.f=_.xf("apiboot2",{startTime:_.yf});_.wf(this.f,"main");this.b=!1};Bf=function(){var a=Af;a.b||(a.b=!0,_.wf(a.f,"firstmap"))}; 223_.Cf=function(a,b){this.size=new td(256,256);
223this.b=a;this.heading=b};_.Df=function(){this.b=new _.K(128,128);this.j=256/360;this.l=256/(2*Math.PI);this.f=!0};_.Ef=function(a,b,c){if(a=a.fromLatLngToPoint(b))c=Math.pow(2,c),a.x*=c,a.y*=c;return a}; 224_.Ff=function(a,b){var c=a.lat()+_.fc(b);90<c&&(c=90);var d=a.lat()-_.fc(b);-90>d&&(d=-90);b=Math.sin(b);var e=Math.cos(_.ec(a.lat()));if(90==c||-90==d||1E-6>e)return new _.ed(new _.F(d,-180),new _.F(c,180));b=_.fc(Math.asin(b/e));return new _.ed(new _.F(d,a.lng()-b),new _.F(c,a.lng()+b))}; 225If=function(a,b){_.Bd.call(this);_.Le(a);this.__gm=new _.D;this.f=null;b&&b.client&&(this.f=_.Gf[b.client]||null);var c=this.controls=[];_.Ya(_.Hf,function(a,b){c[b]=new _.pd});this.j=!0;this.b=a;this.m=!1;this.__gm.fa=b&&b.fa||new _.qd;this.set("standAlone",!0);this.setPov(new _.yd(0,0,1));b&&b.nd&&!_.y(b.nd.zoom)&&(b.nd.zoom=_.y(b.zoom)?b.zoom:1);this.setValues(b);void 0==this.getVisible()&&this.setVisible(!0);_.A.addListenerOnce(this,"pano_changed",_.lb(function(){_.H("marker",(0,_.p)(function(a){a.b(this.__gm.fa, 226this)},this))}))};Jf=function(){this.l=[];this.j=this.b=this.f=null};Kf=function(a,b,c){this.R=b;this.Wn=null;this.b=_.Jd(new _.sd([]));this.B=new _.qd;new _.pd;this.D=new _.qd;this.G=new _.qd;this.l=new _.qd;var d=this.fa=new _.qd;d.b=function(){delete d.b;_.H("marker",_.lb(function(b){b.b(d,a)}))};this.j=new If(c,{visible:!1,enableCloseButton:!0,fa:d});this.j.bindTo("reportErrorControl",a);this.j.j=!1;this.f=new Jf;this.overlayLayer=null};_.Uf=function(){this.P=new Cd}; 227_.Vf=function(a){this.lk=a||0;_.A.bind(this,"forceredraw",this,this.C)};_.Wf=function(a,b){a=a.style;a.width=b.width+b.f;a.height=b.height+b.b};_.Xf=function(a){return new _.L(a.offsetWidth,a.offsetHeight)};Yf=function(a){this.data=a||[]};Zf=function(a){this.data=a||[]};$f=function(a){this.data=a||[]};ag=function(a){this.data=a||[]};bg=function(a){this.data=a||[]}; 228cg=function(a,b,c,d,e){_.Vf.call(this);this.F=b;this.D=new _.Df;this.O=c+"/maps/api/js/StaticMapService.GetMapImage";this.b=this.f=null;this.B=d;this.j=e?new Id(null,void 0):null;this.l=null;this.m=!1;this.set("div",a);this.set("loading",!0)};eg=function(a){var b=a.get("tilt")||_.w(a.get("styles"));a=a.get("mapTypeId");return b?null:dg[a]};fg=function(a){a.parentNode&&a.parentNode.removeChild(a)}; 229gg=function(a,b){var c=a.b;c.onload=null;c.onerror=null;var d=a.get("size");d&&(b&&(c.parentNode||a.f.appendChild(c),a.j||_.Wf(c,d),_.A.trigger(a,"staticmaploaded"),a.B.set(_.Na())),a.set("loading",!1))};hg=function(a,b){var c=a.b;b!=c.src?(a.j||fg(c),c.onload=function(){gg(a,!0)},c.onerror=function(){gg(a,!1)},c.src=b):!c.parentNode&&b&&a.f.appendChild(c)};_.jg=function(a){for(var b;b=a.firstChild;)_.ig(b),a.removeChild(b)}; 230_.ig=function(a){a=new gf(a);try{for(;;)_.A.clearInstanceListeners(a.next())}catch(b){if(b!==_.kg)throw b;}}; 231og=function(a,b){var c=_.Na();Af&&Bf();var d=new _.Uf,e=b||{};e.noClear||_.jg(a);var f="undefined"==typeof window.document?null:window.document.createElement("div");f&&a.appendChild&&(a.appendChild(f),f.style.width=f.style.height="100%");if(![].forEach)throw _.H("controls",function(b){b.Kf(a)}),Error("The Google Maps API does not support this browser.");_.fe.call(this,new Kf(this,a,f));_.m(e.mapTypeId)||(e.mapTypeId="roadmap");this.setValues(e);this.W=_.lg[15]&&e.noControlsOrLogging;this.mapTypes= 232new ee;this.features=new _.D;_.Le(f);this.notify("streetView");b=_.Xf(f);var g=null;_.R&&mg(e.useStaticMap,b)&&(g=new cg(f,_.ng,_.P(_.tf(_.R),9),new Id(null,void 0),!1),_.A.forward(g,"staticmaploaded",this),g.set("size",b),g.bindTo("center",this),g.bindTo("zoom",this),g.bindTo("mapTypeId",this),g.bindTo("styles",this));this.overlayMapTypes=new _.pd;var h=this.controls=[];_.Ya(_.Hf,function(a,b){h[b]=new _.pd});var l=this,n=!0;_.H("map",function(a){l.getDiv()&&f&&a.f(l,e,f,g,n,c,d)});n=!1;this.data= 233new Ae({map:this})};mg=function(a,b){if(_.m(a))return!!a;a=b.width;b=b.height;return 384E3>=a*b&&800>=a&&800>=b};pg=function(){_.H("maxzoom",_.Ca)};qg=function(a,b){!a||_.ib(a)||_.y(a)?(this.set("tableId",a),this.setValues(b)):this.setValues(a)};_.rg=_.oa();sg=function(a){a=a||{};a.visible=_.fb(a.visible,!0);return a};_.tg=function(a){return a&&a.radius||6378137};vg=function(a){return a instanceof _.pd?ug(a):new _.pd((0,_.le)(a))};
234xg=function(a){if(_.Ea(a)||a instanceof _.pd)if(0==_.w(a))var b=!0;else b=a instanceof _.pd?a.getAt(0):a[0],b=_.Ea(b)||b instanceof _.pd;else b=!1;return b?a instanceof _.pd?wg(ug)(a):new _.pd(_.qc(vg)(a)):new _.pd([vg(a)])};wg=function(a){return function(b){if(!(b instanceof _.pd))throw _.hc("not an MVCArray");b.forEach(function(b,d){try{a(b)}catch(e){throw _.hc("at index "+d,e);}});return b}};_.yg=function(a){this.setValues(sg(a));_.H("poly",_.Ca)}; 235zg=function(a){this.set("latLngs",new _.pd([new _.pd]));this.setValues(sg(a));_.H("poly",_.Ca)};_.Ag=function(a){zg.call(this,a)};_.Bg=function(a){zg.call(this,a)};_.Cg=function(a){this.setValues(sg(a));_.H("poly",_.Ca)};Dg=function(){this.b=null};_.Eg=function(){this.b=null}; 236_.Fg=function(a){var b=this;this.tileSize=a.tileSize||new _.L(256,256);this.name=a.name;this.alt=a.alt;this.minZoom=a.minZoom;this.maxZoom=a.maxZoom;this.j=(0,_.p)(a.getTileUrl,a);this.b=new _.qd;this.f=null;this.set("opacity",a.opacity);_.H("map",function(a){var c=b.f=a.b,e=b.tileSize||new _.L(256,256);b.b.forEach(function(a){var d=a.__gmimt,f=d.X,l=d.zoom,n=b.j(f,l);d.Rb=c({ca:f.x,Z:f.y,da:l},e,a,n,function(){return _.A.trigger(a,"load")})})})}; 237Gg=function(a,b){null!=a.style.opacity?a.style.opacity=b:a.style.filter=b&&"alpha(opacity="+Math.round(100*b)+")"};Hg=function(a){a=a.get("opacity");return"number"==typeof a?a:1};_.Ig=function(){_.Ig.Je(this,"constructor")};_.Jg=function(a,b){_.Jg.Je(this,"constructor");this.set("styles",a);a=b||{};this.f=a.baseMapTypeId||"roadmap";this.minZoom=a.minZoom;this.maxZoom=a.maxZoom||20;this.name=a.name;this.alt=a.alt;this.projection=null;this.tileSize=new _.L(256,256)}; 238_.Kg=function(a,b){_.rc(kc,"container is not a Node")(a);this.setValues(b);_.H("controls",(0,_.p)(function(b){b.gm(this,a)},this))};Lg=_.pa("b");Qg=function(a,b,c){for(var d=Array(b.length),e=0,f=b.length;e<f;++e)d[e]=b.charCodeAt(e);d.unshift(c);a=a.b;c=b=0;for(e=d.length;c<e;++c)b*=1729,b+=d[c],b%=a;return b}; 239Tg=function(){var a=_.O(new nf(_.R.data[4]),0),b=new Lg(131071),c=(0,window.unescape)("%26%74%6F%6B%65%6E%3D");return function(d){d=d.replace(Rg,"%27");var e=d+c;Sg||(Sg=/(?:https?:\/\/[^/]+)?(.*)/);d=Sg.exec(d);return e+Qg(b,d&&d[1],a)}};Ug=function(){var a=new Lg(2147483647);return function(b){return Qg(a,b,0)}};Vg=function(a){for(var b=a.split("."),c=window,d=window,e=0;e<b.length;e++)if(d=c,c=c[b[e]],!c)throw _.hc(a+" is not a function");return function(){c.apply(d)}}; 240Wg=function(){for(var a in Object.prototype)window.console&&window.console.error("This site adds property <"+a+"> to Object.prototype. Extending Object.prototype breaks JavaScript for..in loops, which are used heavily in Google Maps API v3.")};Xg=function(a){(a="version"in a)&&window.console&&window.console.error("You have included the Google Maps API multiple times on this page. This may cause unexpected errors.");return a};_.sa=[]; 241_.va="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;_.Yg="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b};if("function"==typeof Object.setPrototypeOf)Zg=Object.setPrototypeOf;else{var $g;a:{var ah={kk:!0},bh={};try{bh.__proto__=ah;$g=bh.kk;break a}catch(a){}$g=!1}Zg=$g?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} 242_.ch=Zg;_.wa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};_.dh=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}();xa("Array.prototype.findIndex",function(a){return a?a:function(a,c){a:{var b=this;b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++)if(a.call(c,b[f],f,b)){a=f;break a}a=-1}return a}}); 243xa("Array.prototype.fill",function(a){return a?a:function(a,c,d){var b=this.length||0;0>c&&(c=Math.max(0,b+c));if(null==d||d>b)d=b;d=Number(d);0>d&&(d=Math.max(0,b+d));for(c=Number(c||0);c<d;c++)this[c]=a;return this}});_.Rb=this;Ia="closure_uid_"+(1E9*Math.random()>>>0);Ja=0;var xb,yb;_.A={};xb="undefined"!=typeof window.navigator&&-1!=window.navigator.userAgent.toLowerCase().indexOf("msie");yb={};_.A.addListener=function(a,b,c){return new zb(a,b,c,0)};_.A.hasListeners=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&!_.ab(b)};_.A.removeListener=function(a){a&&a.remove()};_.A.clearListeners=function(a,b){_.Ya(tb(a,b),function(a,b){b&&b.remove()})};_.A.clearInstanceListeners=function(a){_.Ya(tb(a),function(a,c){c&&c.remove()})}; 244_.A.trigger=function(a,b,c){if(_.A.hasListeners(a,b)){var d=_.Xa(arguments,2),e=tb(a,b),f;for(f in e){var g=e[f];g&&g.j.apply(g.f,d)}}};_.A.addDomListener=function(a,b,c,d){if(a.addEventListener){var e=d?4:1;a.addEventListener(b,c,d);c=new zb(a,b,c,e)}else a.attachEvent?(c=new zb(a,b,c,2),a.attachEvent("on"+b,Ab(c))):(a["on"+b]=c,c=new zb(a,b,c,3));return c};_.A.addDomListenerOnce=function(a,b,c,d){var e=_.A.addDomListener(a,b,function(){e.remove();return c.apply(this,arguments)},d);return e}; 245_.A.U=function(a,b,c,d){return _.A.addDomListener(a,b,ub(c,d))};_.A.bind=function(a,b,c,d){return _.A.addListener(a,b,(0,_.p)(d,c))};_.A.addListenerOnce=function(a,b,c){var d=_.A.addListener(a,b,function(){d.remove();return c.apply(this,arguments)});return d};_.A.forward=function(a,b,c){return _.A.addListener(a,b,vb(b,c))};_.A.Oa=function(a,b,c,d){return _.A.addDomListener(a,b,vb(b,c,!d))};_.A.ei=function(){var a=yb,b;for(b in a)a[b].remove();yb={};(a=_.Rb.CollectGarbage)&&a()}; 246_.A.wn=function(){xb&&_.A.addDomListener(window,"unload",_.A.ei)};var wb=0;zb.prototype.remove=function(){if(this.f){switch(this.m){case 1:this.f.removeEventListener(this.b,this.j,!1);break;case 4:this.f.removeEventListener(this.b,this.j,!0);break;case 2:this.f.detachEvent("on"+this.b,this.l);break;case 3:this.f["on"+this.b]=null}delete sb(this.f,this.b)[this.id];this.l=this.j=this.f=null;delete yb[this.id]}};_.k=_.D.prototype;_.k.get=function(a){var b=Gb(this);a+="";b=mb(b,a);if(_.m(b)){if(b){a=b.kb;b=b.Gc;var c="get"+_.Fb(a);return b[c]?b[c]():b.get(a)}return this[a]}};_.k.set=function(a,b){var c=Gb(this);a+="";var d=mb(c,a);if(d)if(a=d.kb,d=d.Gc,c="set"+_.Fb(a),d[c])d[c](b);else d.set(a,b);else this[a]=b,c[a]=null,Db(this,a)};_.k.notify=function(a){var b=Gb(this);a+="";(b=mb(b,a))?b.Gc.notify(b.kb):Db(this,a)}; 247_.k.setValues=function(a){for(var b in a){var c=a[b],d="set"+_.Fb(b);if(this[d])this[d](c);else this.set(b,c)}};_.k.setOptions=_.D.prototype.setValues;_.k.changed=_.oa();var Eb={};_.D.prototype.bindTo=function(a,b,c,d){a+="";c=(c||a)+"";this.unbind(a);var e={Gc:this,kb:a},f={Gc:b,kb:c,ug:e};Gb(this)[a]=f;Cb(b,c)[_.Bb(e)]=e;d||Db(this,a)};_.D.prototype.unbind=function(a){var b=Gb(this),c=b[a];c&&(c.ug&&delete Cb(c.Gc,c.kb)[_.Bb(c.ug)],this[a]=this.get(a),b[a]=null)}; 248_.D.prototype.unbindAll=function(){var a=(0,_.p)(this.unbind,this),b=Gb(this),c;for(c in b)a(c)};_.D.prototype.addListener=function(a,b){return _.A.addListener(this,a,b)};_.eh={ROADMAP:"roadmap",SATELLITE:"satellite",HYBRID:"hybrid",TERRAIN:"terrain"};_.Hf={TOP_LEFT:1,TOP_CENTER:2,TOP:2,TOP_RIGHT:3,LEFT_CENTER:4,LEFT_TOP:5,LEFT:5,LEFT_BOTTOM:6,RIGHT_TOP:7,RIGHT:7,RIGHT_CENTER:8,RIGHT_BOTTOM:9,BOTTOM_LEFT:10,BOTTOM_CENTER:11,BOTTOM:11,BOTTOM_RIGHT:12,CENTER:13};a:{var fh=_.Rb.navigator;if(fh){var gh=fh.userAgent;if(gh){_.Pa=gh;break a}}_.Pa=""};_.Ob[" "]=_.Ca;var th,Pb;_.hh=_.Hb("Opera");_.ih=_.Jb();_.jh=_.Hb("Edge");_.kh=_.Hb("Gecko")&&!(_.Qa()&&!_.Hb("Edge"))&&!(_.Hb("Trident")||_.Hb("MSIE"))&&!_.Hb("Edge");_.lh=_.Qa()&&!_.Hb("Edge");_.mh=_.Hb("Macintosh");_.nh=_.Hb("Windows");_.oh=_.Hb("Linux")||_.Hb("CrOS");_.ph=_.Hb("Android");_.qh=_.Nb();_.rh=_.Hb("iPad");_.sh=_.Hb("iPod"); 249a:{var uh="",vh=function(){var a=_.Pa;if(_.kh)return/rv\:([^\);]+)(\)|;)/.exec(a);if(_.jh)return/Edge\/([\d\.]+)/.exec(a);if(_.ih)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.lh)return/WebKit\/(\S+)/.exec(a);if(_.hh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();vh&&(uh=vh?vh[1]:"");if(_.ih){var wh=Sb();if(null!=wh&&wh>(0,window.parseFloat)(uh)){th=String(wh);break a}}th=uh}_.Tb=th;Pb={};var yh=_.Rb.document;_.xh=yh&&_.ih?Sb()||("CSS1Compat"==yh.compatMode?(0,window.parseInt)(_.Tb,10):5):void 0;_.zh=_.Hb("Firefox");
249_.Ah=_.Nb()||_.Hb("iPod");_.Bh=_.Hb("iPad");_.Ch=_.Mb();_.Dh=Kb();_.Eh=_.Lb()&&!(_.Nb()||_.Hb("iPad")||_.Hb("iPod"));var Fh;Fh=_.kh||_.lh&&!_.Eh||_.hh;_.Gh=Fh||"function"==typeof _.Rb.btoa;_.Hh=Fh||!_.Eh&&!_.ih&&"function"==typeof _.Rb.atob;Vb.prototype.get=function(){if(0<this.f){this.f--;var a=this.b;this.b=a.next;a.next=null}else a=this.j();return a};var Ih=function(a){return function(){return a}}(null);var $b,Zb=_.Wb;var Jh=new Vb(function(){return new dc},function(a){a.reset()},100);cc.prototype.add=function(a,b){var c=Jh.get();c.set(a,b);this.f?this.f.next=c:this.b=c;this.f=c};cc.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.f=null),a.next=null);return a};dc.prototype.set=function(a,b){this.Dc=a;this.b=b;this.next=null};dc.prototype.reset=function(){this.next=this.b=this.Dc=null};_.Yb.m=function(){if(-1!=String(_.Rb.Promise).indexOf("[native code]")){var a=_.Rb.Promise.resolve(void 0);_.Yb.b=function(){a.then(_.Yb.f)}}else _.Yb.b=function(){bc()}};_.Yb.B=function(a){_.Yb.b=function(){bc();a&&a(_.Yb.f)}};_.Yb.j=!1;_.Yb.l=new cc;_.Yb.f=function(){for(var a;a=_.Yb.l.remove();){try{a.Dc.call(a.b)}catch(b){Xb(b)}Jh.m(a);Jh.f<Jh.l&&(Jh.f++,a.next=Jh.b,Jh.b=a)}_.Yb.j=!1};_.t(gc,Error);var Kh,Mh;_.Wc=_.rc(_.y,"not a number");Kh=_.tc(_.Wc,function(a){if((0,window.isNaN)(a))throw _.hc("NaN is not an accepted value");return a});_.Lh=_.rc(_.ib,"not a string");Mh=_.rc(_.jb,"not a boolean");_.Nh=_.vc(_.Wc);_.Oh=_.vc(_.Lh);_.Ph=_.vc(Mh);var xc=_.jc({lat:_.Wc,lng:_.Wc},!0);_.F.prototype.toString=function(){return"("+this.lat()+", "+this.lng()+")"};_.F.prototype.toJSON=function(){return{lat:this.lat(),lng:this.lng()}};_.F.prototype.V=function(a){return a?_.db(this.lat(),a.lat())&&_.db(this.lng(),a.lng()):!1};_.F.prototype.equals=_.F.prototype.V;_.F.prototype.toUrlValue=function(a){a=_.m(a)?a:6;return Ac(this.lat(),a)+","+Ac(this.lng(),a)};_.le=_.qc(_.Cc);_.t(_.Dc,Bc);_.Dc.prototype.getType=_.ra("Point");_.Dc.prototype.forEachLatLng=function(a){a(this.b)};_.Dc.prototype.get=_.qa("b");var je=_.qc(Ic);Oc.f=void 0;Oc.b=function(){return Oc.f?Oc.f:Oc.f=new Oc};Oc.prototype.sa=function(a,b){var c=this,d=c.m;Pc(c.j,function(e){for(var f=e.b[a]||[],g=e.l[a]||[],h=d[a]=_.Jc(f.length,function(){delete d[a];b(e.f);for(var f=c.f[a],h=f?f.length:0,l=0;l<h;++l)f[l](c.b[a]);delete c.f[a];l=0;for(f=g.length;l<f;++l)h=g[l],d[h]&&d[h]()}),l=0,n=f.length;l<n;++l)c.b[f[l]]&&h()})};_.k=_.Vc.prototype;_.k.getId=_.qa("j");_.k.getGeometry=_.qa("b");_.k.setGeometry=function(a){var b=this.b;try{this.b=a?Ic(a):null}catch(c){_.ic(c);return}_.A.trigger(this,"setgeometry",{feature:this,newGeometry:this.b,oldGeometry:b})};_.k.getProperty=function(a){return mb(this.f,a)};_.k.setProperty=function(a,b){if(void 0===b)this.removeProperty(a);else{var c=this.getProperty(a);this.f[a]=b;_.A.trigger(this,"setproperty",{feature:this,name:a,newValue:b,oldValue:c})}}; 250_.k.removeProperty=function(a){var b=this.getProperty(a);delete this.f[a];_.A.trigger(this,"removeproperty",{feature:this,name:a,oldValue:b})};_.k.forEachProperty=function(a){for(var b in this.f)a(this.getProperty(b),b)};_.k.toGeoJson=function(a){var b=this;_.H("data",function(c){c.f(b,a)})};var Qh={Xo:"Point",To:"LineString",POLYGON:"Polygon"};_.Rh=new _.K(0,0);_.K.prototype.toString=function(){return"("+this.x+", "+this.y+")"};_.K.prototype.V=function(a){return a?a.x==this.x&&a.y==this.y:!1};_.K.prototype.equals=_.K.prototype.V;_.K.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y)};_.K.prototype.Od=_.ua(0);_.Sh=new _.L(0,0);_.L.prototype.toString=function(){return"("+this.width+", "+this.height+")"};_.L.prototype.V=function(a){return a?a.width==this.width&&a.height==this.height:!1};_.L.prototype.equals=_.L.prototype.V;var Th={CIRCLE:0,FORWARD_CLOSED_ARROW:1,FORWARD_OPEN_ARROW:2,BACKWARD_CLOSED_ARROW:3,BACKWARD_OPEN_ARROW:4};_.k=Zc.prototype;_.k.isEmpty=function(){return 360==this.b-this.f};_.k.intersects=function(a){var b=this.b,c=this.f;return this.isEmpty()||a.isEmpty()?!1:_.$c(this)?_.$c(a)||a.b<=this.f||a.f>=b:_.$c(a)?a.b<=c||a.f>=b:a.b<=c&&a.f>=b};_.k.contains=function(a){-180==a&&(a=180);var b=this.b,c=this.f;return _.$c(this)?(a>=b||a<=c)&&!this.isEmpty():a>=b&&a<=c};_.k.extend=function(a){this.contains(a)||(this.isEmpty()?this.b=this.f=
250a:_.ad(a,this.b)<_.ad(this.f,a)?this.b=a:this.f=a)}; 251_.k.V=function(a){return 1E-9>=Math.abs(a.b-this.b)%360+Math.abs(_.bd(a)-_.bd(this))};_.k.Hb=function(){var a=(this.b+this.f)/2;_.$c(this)&&(a=_.cb(a+180,-180,180));return a};_.k=cd.prototype;_.k.isEmpty=function(){return this.b>this.f};_.k.intersects=function(a){var b=this.b,c=this.f;return b<=a.b?a.b<=c&&a.b<=a.f:b<=a.f&&b<=c};_.k.contains=function(a){return a>=this.b&&a<=this.f};_.k.extend=function(a){this.isEmpty()?this.f=this.b=a:a<this.b?this.b=a:a>this.f&&(this.f=a)}; 252_.k.V=function(a){return this.isEmpty()?a.isEmpty():1E-9>=Math.abs(a.b-this.b)+Math.abs(this.f-a.f)};_.k.Hb=function(){return(this.f+this.b)/2};_.k=_.ed.prototype;_.k.getCenter=function(){return new _.F(this.f.Hb(),this.b.Hb())};_.k.toString=function(){return"("+this.getSouthWest()+", "+this.getNorthEast()+")"};_.k.toJSON=function(){return{south:this.f.b,west:this.b.b,north:this.f.f,east:this.b.f}};_.k.toUrlValue=function(a){var b=this.getSouthWest(),c=this.getNorthEast();return[b.toUrlValue(a),c.toUrlValue(a)].join()};_.k.V=function(a){if(!a)return!1;a=_.hd(a);return this.f.V(a.f)&&this.b.V(a.b)};_.ed.prototype.equals=_.ed.prototype.V; 253_.k=_.ed.prototype;_.k.contains=function(a){a=_.Cc(a);return this.f.contains(a.lat())&&this.b.contains(a.lng())};_.k.intersects=function(a){a=_.hd(a);return this.f.intersects(a.f)&&this.b.intersects(a.b)};_.k.extend=function(a){a=_.Cc(a);this.f.extend(a.lat());this.b.extend(a.lng());return this};_.k.union=function(a){a=_.hd(a);if(!a||a.isEmpty())return this;
253this.extend(a.getSouthWest());this.extend(a.getNorthEast());return this};_.k.getSouthWest=function(){return new _.F(this.f.b,this.b.b,!0)}; 254_.k.getNorthEast=function(){return new _.F(this.f.f,this.b.f,!0)};_.k.toSpan=function(){return new _.F(_.dd(this.f),_.bd(this.b),!0)};_.k.isEmpty=function(){return this.f.isEmpty()||this.b.isEmpty()};var gd=_.jc({south:_.Wc,west:_.Wc,north:_.Wc,east:_.Wc},!1);_.id.prototype.heading=_.qa("f");_.id.prototype.b=_.qa("j");_.id.prototype.toString=function(){return this.f+","+this.j};_.Uh=new _.id;_.t(_.pd,_.D);_.k=_.pd.prototype;_.k.getAt=function(a){return this.b[a]};_.k.indexOf=function(a){for(var b=0,c=this.b.length;b<c;++b)if(a===this.b[b])return b;return-1};_.k.forEach=function(a){for(var b=0,c=this.b.length;b<c;++b)a(this.b[b],b)};_.k.setAt=function(a,b){var c=this.b[a],d=this.b.length;if(a<d)this.b[a]=b,_.A.trigger(this,"set_at",a,c),this.l&&this.l(a,c);else{for(c=d;c<a;++c)this.insertAt(c,void 0);this.insertAt(a,b)}}; 255_.k.insertAt=function(a,b){this.b.splice(a,0,b);od(this);_.A.trigger(this,"insert_at",a);this.f&&this.f(a)};_.k.removeAt=function(a){var b=this.b[a];this.b.splice(a,1);od(this);_.A.trigger(this,"remove_at",a,b);this.j&&this.j(a,b);return b};_.k.push=function(a){this.insertAt(this.b.length,a);return this.b.length};_.k.pop=function(){return this.removeAt(this.b.length-1)};_.k.getArray=_.qa("b");_.k.clear=function(){for(;this.get("length");)this.pop()};_.nd(_.pd.prototype,{length:null});_.qd.prototype.remove=function(a){var b=this.f,c=this.j(a);b[c]&&(delete b[c],_.A.trigger(this,"remove",a),this.onRemove&&this.onRemove(a))};_.qd.prototype.contains=function(a){return!!this.f[this.j(a)]};_.qd.prototype.forEach=function(a){var b=this.f,c;for(c in b)a.call(this,b[c])};_.sd.prototype.eb=_.ua(1);_.sd.prototype.forEach=function(a,b){_.v(this.b,function(c,d){a.call(b,c,d)})};td.prototype.V=function(a){return a?this.b==a.b&&this.f==a.f:!1};ud.prototype.V=function(a){return a?this.m11==a.m11&&this.m12==a.m12&&this.m21==a.m21&&this.m22==a.m22:!1};_.wd.prototype.isEmpty=function(){return!(this.I<this.K&&this.J<this.L)};_.wd.prototype.extend=function(a){a&&(this.I=Math.min(this.I,a.x),this.K=Math.max(this.K,a.x),this.J=Math.min(this.J,a.y),this.L=Math.max(this.L,a.y))};_.wd.prototype.getCenter=function(){return new _.K((this.I+this.K)/2,(this.J+this.L)/2)};_.wd.prototype.V=function(a){return a?this.I==a.I&&this.J==a.J&&this.K==a.K&&this.L==a.L:!1};_.Vh=_.xd(-window.Infinity,-window.Infinity,window.Infinity,window.Infinity);_.Wh=_.xd(0,0,0,0);var Xh=_.jc({zoom:_.vc(Kh),heading:Kh,pitch:Kh});_.t(_.Bd,_.D);Cd.prototype.addListener=function(a,b,c){c=c?{vg:!1}:null;var d=!this.P.length;var e=this.P;var f=Ua(e,Fd(a,b));(e=0>f?null:_.ya(e)?e.charAt(f):e[f])?e.once=e.once&&c:this.P.push({Dc:a,context:b||null,once:c});d&&this.f();return a};Cd.prototype.addListenerOnce=function(a,b){this.addListener(a,b,!0);return a};Cd.prototype.removeListener=function(a,b){if(this.P.length){var c=this.P;a=Ua(c,Fd(a,b));0<=a&&_.Va(c,a);this.P.length||this.b()}};var Dd=_.Yb;_.k=_.Gd.prototype;_.k.ld=_.oa();_.k.kd=_.oa();_.k.addListener=function(a,b){return this.P.addListener(a,b)};_.k.addListenerOnce=function(a,b){return this.P.addListenerOnce(a,b)};_.k.removeListener=function(a,b){return this.P.removeListener(a,b)};_.k.notify=function(a){_.Ed(this.P,function(a){a(this.get())},this,a)};_.t(_.Hd,_.Gd);_.Hd.prototype.set=function(a){this.m&&this.get()===a||(this.Rh(a),this.notify())};_.t(Id,_.Hd);Id.prototype.get=_.qa("b");Id.prototype.Rh=_.pa("b");_.t(Kd,_.D);_.Yh=_.Qd("d",void 0);_.Zh=_.Qd("f",void 0);_.S=_.Sd();_.$h=_.Rd("i",void 0);_.ai=new _.Od("i",3,void 0,void 0);_.bi=new _.Od("j",3,"",void 0);_.ci=_.Qd("u",void 0);_.di=_.Rd("u",void 0);_.ei=new _.Od("u",3,void 0,void 0);_.fi=_.Td();_.T=_.Ud();_.U=_.Vd();_.gi=new _.Od("e",3,void 0,void 0);_.V=_.Qd("s",void 0);_.hi=_.Rd("s",void 0);_.ii=new _.Od("s",3,void 0,void 0);_.ji=_.Qd("B",void 0);_.ki=_.Qd("x",void 0);_.li=_.Rd("x",void 0);_.mi=new _.Od("x",3,void 0,void 0);_.ni=new _.Od("y",3,void 0,void 0);var pi;_.oi=new Yd;pi=/'/g;Yd.prototype.b=function(a,b){var c=[];$d(a,b,c);return c.join("&").replace(pi,"%27")};_.N.prototype.V=function(a){return _.Nd(this.data,a?(a&&a).data:null)};_.N.prototype.ci=_.ua(2);_.t(ee,_.D);ee.prototype.set=function(a,b){if(null!=b&&!(b&&_.y(b.maxZoom)&&b.tileSize&&b.tileSize.width&&b.tileSize.height&&b.getTile&&b.getTile.apply))throw Error("Expected value implementing google.maps.MapType");return _.D.prototype.set.apply(this,arguments)};_.t(_.fe,_.D);_.k=ge.prototype;_.k.contains=function(a){return this.b.hasOwnProperty(_.Bb(a))};_.k.getFeatureById=function(a){return mb(this.f,a)}; 256_.k.add=function(a){a=a||{};a=a instanceof _.Vc?a:new _.Vc(a);if(!this.contains(a)){var b=a.getId();if(b){var c=this.getFeatureById(b);c&&this.remove(c)}c=_.Bb(a);this.b[c]=a;b&&(this.f[b]=a);var d=_.A.forward(a,"setgeometry",this),e=_.A.forward(a,"setproperty",this),f=_.A.forward(a,"removeproperty",this);this.j[c]=function(){_.A.removeListener(d);_.A.removeListener(e);_.A.removeListener(f)};_.A.trigger(this,"addfeature",{feature:a})}return a}; 257_.k.remove=function(a){var b=_.Bb(a),c=a.getId();if(this.b[b]){delete this.b[b];c&&delete this.f[c];if(c=this.j[b])delete this.j[b],c();_.A.trigger(this,"removefeature",{feature:a})}};
257_.k.forEach=function(a){for(var b in this.b)a(this.b[b])};_.ze="click dblclick mousedown mousemove mouseout mouseover mouseup rightclick".split(" ");he.prototype.get=function(a){return this.b[a]};he.prototype.set=function(a,b){var c=this.b;c[a]||(c[a]={});_.$a(c[a],b);_.A.trigger(this,"changed",a)};he.prototype.reset=function(a){delete this.b[a];_.A.trigger(this,"changed",a)};he.prototype.forEach=function(a){_.Ya(this.b,a)};_.t(ie,_.D);ie.prototype.overrideStyle=function(a,b){this.b.set(_.Bb(a),b)};ie.prototype.revertStyle=function(a){a?this.b.reset(_.Bb(a)):this.b.forEach((0,_.p)(this.b.reset,this.b))};_.t(_.ke,Bc);_.k=_.ke.prototype;_.k.getType=_.ra("GeometryCollection");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(function(b){b.forEachLatLng(a)})};_.t(_.me,Bc);_.k=_.me.prototype;_.k.getType=_.ra("LineString");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(a)};var oe=_.qc(_.lc(_.me,"google.maps.Data.LineString",!0));_.t(_.ne,Bc);_.k=_.ne.prototype;_.k.getType=_.ra("LinearRing");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(a)};var re=_.qc(_.lc(_.ne,"google.maps.Data.LinearRing",!0));_.t(_.pe,Bc);_.k=_.pe.prototype;_.k.getType=_.ra("MultiLineString");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(function(b){b.forEachLatLng(a)})};_.t(_.qe,Bc);_.k=_.qe.prototype;_.k.getType=_.ra("MultiPoint");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(a)};_.t(_.se,Bc);_.k=_.se.prototype;_.k.getType=_.ra("Polygon");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(function(b){b.forEachLatLng(a)})};var te=_.qc(_.lc(_.se,"google.maps.Data.Polygon",!0));_.t(_.xe,Bc);_.k=_.xe.prototype;_.k.getType=_.ra("MultiPolygon");_.k.getLength=function(){return this.b.length};_.k.getAt=function(a){return this.b[a]};_.k.getArray=function(){return this.b.slice()};_.k.forEachLatLng=function(a){this.b.forEach(function(b){b.forEachLatLng(a)})};_.qi=_.vc(_.lc(_.fe,"Map"));_.t(Ae,_.D);_.k=Ae.prototype;_.k.contains=function(a){return this.b.contains(a)};_.k.getFeatureById=function(a){return this.b.getFeatureById(a)};_.k.add=function(a){return this.b.add(a)};_.k.remove=function(a){this.b.remove(a)};_.k.forEach=function(a){this.b.forEach(a)};_.k.addGeoJson=function(a,b){return _.ye(this.b,a,b)};_.k.loadGeoJson=function(a,b,c){var d=this.b;_.H("data",function(e){e.kl(d,a,b,c)})};_.k.toGeoJson=function(a){var b=this.b;_.H("data",function(c){c.el(b,a)})}; 258_.k.overrideStyle=function(a,b){this.f.overrideStyle(a,b)};_.k.revertStyle=function(a){this.f.revertStyle(a)};_.k.controls_changed=function(){this.get("controls")&&Be(this)};_.k.drawingMode_changed=function(){this.get("drawingMode")&&Be(this)};_.nd(Ae.prototype,{map:_.qi,style:_.Wb,controls:_.vc(_.qc(_.pc(Qh))),controlPosition:_.vc(_.pc(_.Hf)),drawingMode:_.vc(_.pc(Qh))});_.ri={METRIC:0,IMPERIAL:1};_.si={DRIVING:"DRIVING",WALKING:"WALKING",BICYCLING:"BICYCLING",TRANSIT:"TRANSIT"};_.ti={BEST_GUESS:"bestguess",OPTIMISTIC:"optimistic",PESSIMISTIC:"pessimistic"};_.ui={BUS:"BUS",RAIL:"RAIL",SUBWAY:"SUBWAY",TRAIN:"TRAIN",TRAM:"TRAM"};_.vi={LESS_WALKING:"LESS_WALKING",FEWER_TRANSFERS:"FEWER_TRANSFERS"};var wi=_.jc({routes:_.qc(_.rc(_.hb))},!0);var Rc={main:[],common:["main"],util:["common"],adsense:["main"],controls:["util"],data:["util"],directions:["util","geometry"],distance_matrix:["util"],drawing:["main"],drawing_impl:["controls"],elevation:["util","geometry"],geocoder:["util"],geojson:["main"],imagery_viewer:["main"],geometry:["main"],infowindow:["util"],kml:["onion","util","map"],layers:["map"],map:["common"],marker:["util"],maxzoom:["util"],onion:["util","map"],overlay:["common"],panoramio:["main"],places:["main"],places_impl:["controls"], 259poly:["util","map","geometry"],search:["main"],search_impl:["onion"],stats:["util"],streetview:["util","geometry"],usage:["util"],visualization:["main"],visualization_impl:["onion"],weather:["main"],zombie:["main"]};var xi=_.Rb.google.maps,yi=Oc.b(),zi=(0,_.p)(yi.sa,yi);xi.__gjsload__=zi;_.Ya(xi.modules,zi);delete xi.modules;var Ai=_.jc({source:_.Lh,webUrl:_.Oh,iosDeepLinkId:_.Oh});var Bi=_.tc(_.jc({placeId:_.Oh,query:_.Oh,location:_.Cc}
259),function(a){if(a.placeId&&a.query)throw _.hc("cannot set both placeId and query");if(!a.placeId&&!a.query)throw _.hc("must set one of placeId or query");return a});_.t(Fe,_.D); 260_.nd(Fe.prototype,{position:_.vc(_.Cc),title:_.Oh,icon:_.vc(_.sc([_.Lh,{Pf:wc("url"),then:_.jc({url:_.Lh,scaledSize:_.vc(Yc),size:_.vc(Yc),origin:_.vc(Xc),anchor:_.vc(Xc),labelOrigin:_.vc(Xc),path:_.rc(function(a){return null==a})},!0)},{Pf:wc("path"),then:_.jc({path:_.sc([_.Lh,_.pc(Th)]),anchor:_.vc(Xc),labelOrigin:_.vc(Xc),fillColor:_.Oh,fillOpacity:_.Nh,rotation:_.Nh,scale:_.Nh,strokeColor:_.Oh,strokeOpacity:_.Nh,strokeWeight:_.Nh,url:_.rc(function(a){return null==a})},!0)}])),label:_.vc(_.sc([_.Lh,{Pf:wc("text"), 261then:_.jc({text:_.Lh,fontSize:_.Oh,fontWeight:_.Oh,fontFamily:_.Oh},!0)}])),shadow:_.Wb,shape:_.Wb,cursor:_.Oh,clickable:_.Ph,animation:_.Wb,draggable:_.Ph,visible:_.Ph,flat:_.Wb,zIndex:_.Nh,opacity:_.Nh,place:_.vc(Bi),attribution:_.vc(Ai)});var Ci=_.vc(_.lc(_.Bd,"StreetViewPanorama"));_.t(_.Ge,Fe);_.Ge.prototype.map_changed=function(){this.__gm.set&&this.__gm.set.remove(this);var a=this.get("map");this.__gm.set=a&&a.__gm.fa;this.__gm.set&&_.rd(this.__gm.set,this)};_.Ge.MAX_ZINDEX=1E6;_.nd(_.Ge.prototype,{map:_.sc([_.qi,Ci])});_.t(He,_.D);_.k=He.prototype;_.k.internalAnchor_changed=function(){var a=this.get("internalAnchor");Ie(this,"attribution",a);Ie(this,"place",a);Ie(this,"internalAnchorMap",a,"map");Ie(this,"internalAnchorPoint",a,"anchorPoint");a instanceof _.Ge?Ie(this,"internalAnchorPosition",a,"internalPosition"):Ie(this,"internalAnchorPosition",a,"position")}; 262_.k.internalAnchorPoint_changed=He.prototype.internalPixelOffset_changed=function(){var a=this.get("internalAnchorPoint")||_.Rh,b=this.get("internalPixelOffset")||_.Sh;this.set("pixelOffset",new _.L(b.width+Math.round(a.x),b.height+Math.round(a.y)))};_.k.internalAnchorPosition_changed=function(){var a=this.get("internalAnchorPosition");a&&this.set("position",a)};_.k.internalAnchorMap_changed=function(){this.get("internalAnchor")&&this.b.set("map",this.get("internalAnchorMap"))}; 263_.k.Mm=function(){var a=this.get("internalAnchor");!this.b.get("map")&&a&&a.get("map")&&this.set("internalAnchor",null)};_.k.internalContent_changed=function(){this.set("content",Ce(this.get("internalContent")))};_.k.trigger=function(a){_.A.trigger(this.b,a)};_.k.close=function(){this.b.set("map",null)};_.t(_.Je,_.D);_.nd(_.Je.prototype,{content:_.sc([_.Oh,_.rc(kc)]),position:_.vc(_.Cc),size:_.vc(Yc),map:_.sc([_.qi,Ci]),anchor:_.vc(_.lc(_.D,"MVCObject")),zIndex:_.Nh});_.Je.prototype.open=function(a,b){this.set("anchor",b);b?!this.get("map")&&a&&this.set("map",a):this.set("map",a)};_.Je.prototype.close=function(){this.set("map",null)};_.Ke=[];_.t(Me,_.D);Me.prototype.changed=function(a){if("map"==a||"panel"==a){var b=this;_.H("directions",function(c){c.Rl(b,a)})}"panel"==a&&_.Le(this.getPanel())};_.nd(Me.prototype,{directions:wi,map:_.qi,panel:_.vc(_.rc(kc)),routeIndex:_.Nh});Ne.prototype.route=function(a,b){_.H("directions",function(c){c.Qh(a,b,!0)})};Oe.prototype.getDistanceMatrix=function(a,b){_.H("distance_matrix",function(c){c.b(a,b)})};Pe.prototype.getElevationAlongPath=function(a,b){_.H("elevation",function(c){c.getElevationAlongPath(a,b)})};Pe.prototype.getElevationForLocations=function(a,b){_.H("elevation",function(c){c.getElevationForLocations(a,b)})};_.Di=_.lc(_.ed,"LatLngBounds");_.Qe.prototype.geocode=function(a,b){_.H("geocoder",function(c){c.geocode(a,b)})};_.t(_.Re,_.D);_.Re.prototype.map_changed=function(){var a=this;_.H("kml",function(b){b.b(a)})};_.nd(_.Re.prototype,{map:_.qi,url:null,bounds:null,opacity:_.Nh});_.Fi={UNKNOWN:"UNKNOWN",OK:_.ia,INVALID_REQUEST:_.ba,DOCUMENT_NOT_FOUND:"DOCUMENT_NOT_FOUND",FETCH_ERROR:"FETCH_ERROR",INVALID_DOCUMENT:"INVALID_DOCUMENT",DOCUMENT_TOO_LARGE:"DOCUMENT_TOO_LARGE",LIMITS_EXCEEDED:"LIMITS_EXECEEDED",TIMED_OUT:"TIMED_OUT"};_.t(Se,_.D);_.k=Se.prototype;_.k.xd=function(){var a=this;_.H("kml",function(b){b.f(a)})};_.k.url_changed=Se.prototype.xd;_.k.driveFileId_changed=Se.prototype.xd;_.k.map_changed=Se.prototype.xd;_.k.zIndex_changed=Se.prototype.xd;_.nd(Se.prototype,{map:_.qi,defaultViewport:null,metadata:null,status:null,url:_.Oh,screenOverlays:_.Ph,zIndex:_.Nh});_.t(_.Te,_.D);_.nd(_.Te.prototype,{map:_.qi});_.t(Ue,_.D);_.nd(Ue.prototype,{map:_.qi});_.t(Ve,_.D);_.nd(Ve.prototype,{map:_.qi});
263!_.kh&&!_.ih||_.ih&&9<=Number(_.xh)||_.kh&&_.Ub("1.9.1");_.ih&&_.Ub("9");_.Xe.prototype.Kd=!0;_.Xe.prototype.wb=_.ua(4);_.Xe.prototype.gh=!0;_.Xe.prototype.Id=_.ua(6);_.We={};_.Ye("about:blank");_.af.prototype.gh=!0;_.af.prototype.Id=_.ua(5);_.af.prototype.Kd=!0;_.af.prototype.wb=_.ua(3);_.Ze={};_.bf("<!DOCTYPE html>",0);_.bf("",0);_.bf("<br>",0);_.kg="StopIteration"in _.Rb?_.Rb.StopIteration:{message:"StopIteration",stack:""};_.ef.prototype.next=function(){throw _.kg;};_.ef.prototype.Fe=function(){return this};_.t(ff,_.ef);ff.prototype.setPosition=function(a,b,c){if(this.node=a)this.f=_.Aa(b)?b:1!=this.node.nodeType?0:this.b?-1:1;_.Aa(c)&&(this.depth=c)}; 264ff.prototype.next=function(){if(this.j){if(!this.node||this.l&&0==this.depth)throw _.kg;var a=this.node;var b=this.b?-1:1;if(this.f==b){var c=this.b?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.b?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.f*(this.b?-1:1)}else this.j=!0;a=this.node;if(!this.node)throw _.kg;return a};ff.prototype.V=function(a){return a.node==this.node&&(!this.node||a.f==this.f)}; 265ff.prototype.splice=function(a){var b=this.node,c=this.b?1:-1;this.f==c&&(this.f=-1*c,this.depth+=this.f*(this.b?-1:1));this.b=!this.b;ff.prototype.next.call(this);this.b=!this.b;c=_.Fa(arguments[0])?arguments[0]:arguments;for(var d=c.length-1;0<=d;d--)_.cf(c[d],b);_.df(b)};_.t(gf,ff);gf.prototype.next=function(){do gf.lb.next.call(this);while(-1==this.f);return this.node};var Oi;_.t(hf,_.N);var Pi;_.t(jf,_.N);var Qi;_.t(kf,_.N);_.t(lf,_.N);_.t(_.mf,_.N);_.t(nf,_.N);_.t(of,_.N);_.t(pf,_.N);_.lg={};var Af;_.Si=new _.Cf(0,0);_.Df.prototype.fromLatLngToPoint=function(a,b){b=b||new _.K(0,0);var c=this.b;b.x=c.x+a.lng()*this.j;a=_.bb(Math.sin(_.ec(a.lat())),-(1-1E-15),1-1E-15);b.y=c.y+.5*Math.log((1+a)/(1-a))*-this.l;return b};_.Df.prototype.fromPointToLatLng=function(a,b){var c=this.b;return new _.F(_.fc(2*Math.atan(Math.exp((a.y-c.y)/-this.l))-Math.PI/2),(a.x-c.x)/this.j,b)};_.Gf={japan_prequake:20,japan_postquake2010:24};_.Ti={NEAREST:"nearest",BEST:"best"};_.Ui={DEFAULT:"default",OUTDOOR:"outdoor"};_.t(If,_.Bd);If.prototype.visible_changed=function(){var a=this;!a.m&&a.getVisible()&&(a.m=!0,_.H("streetview",function(b){if(a.f)var c=a.f;b.dn(a,c)}))};_.nd(If.prototype,{visible:_.Ph,pano:_.Oh,position:_.vc(_.Cc),pov:_.vc(Xh),motionTracking:Mh,photographerPov:null,location:null,links:_.qc(_.rc(_.hb)),status:null,zoom:_.Nh,enableCloseButton:_.Ph});If.prototype.registerPanoProvider=function(a,b){this.set("panoProvider",{Hh:a,options:b||{}})};_.t(Kf,Kd);_.Uf.prototype.addListener=function(a,b){this.P.addListener(a,b)};_.Uf.prototype.addListenerOnce=function(a,b){this.P.addListenerOnce(a,b)};_.Uf.prototype.removeListener=function(a,b){this.P.removeListener(a,b)};_.Uf.prototype.b=_.ua(7);_.t(_.Vf,_.D);_.Vf.prototype.N=function(){var a=this;a.G||(a.G=_.Rb.setTimeout(function(){a.G=void 0;a.ba()},a.lk))};_.Vf.prototype.C=function(){this.G&&_.Rb.clearTimeout(this.G);this.G=void 0;this.ba()};var Vi;_.t(Yf,_.N);var Wi;_.t(Zf,_.N);var Xi;_.t($f,_.N);var Yi;_.t(ag,_.N);var Zi;_.t(bg,_.N);bg.prototype.getZoom=function(){return _.O(this,2)};bg.prototype.setZoom=function(a){this.data[2]=a};_.t(cg,_.Vf);var dg={roadmap:0,satellite:2,hybrid:3,terrain:4},$i={0:1,2:2,3:2,4:2};_.k=cg.prototype;_.k.Rg=_.jd("center");_.k.hg=_.jd("zoom");_.k.changed=function(){var a=this.Rg(),b=this.hg(),c=eg(this);if(a&&!a.V(this.T)||this.S!=b||this.$!=c)this.j||fg(this.b),this.N(),this.S=b,this.$=c;this.T=a}; 266_.k.ba=function(){var a=eg(this);if(this.j&&this.m)this.l!=a&&fg(this.b);else{var b="",c=this.Rg(),d=this.hg(),e=this.get("size");if(e){if(c&&(0,window.isFinite)(c.lat())&&(0,window.isFinite)(c.lng())&&1<d&&null!=a&&e&&e.width&&e.height&&this.f){_.Wf(this.f,e);if(c=_.Ef(this.D,c,d)){var f=new _.wd;f.I=Math.round(c.x-e.width/2);f.K=f.I+e.width;f.J=Math.round(c.y-e.height/2);f.L=f.J+e.height}else f=null;c=$i[a];if(f){this.m=!0;this.l=a;this.j&&this.b&&(b=new ud(Math.pow(2,d),0,0),this.j.set({Va:this.b, 267Ba:{min:vd(b,{Za:f.I,ab:f.J}),max:vd(b,{Za:f.K,ab:f.L})}
267,size:{width:e.width,height:e.height}}));b=new bg;var g=new $f(_.Q(b,0));g.data[0]=f.I;g.data[1]=f.J;b.data[1]=c;b.setZoom(d);d=new ag(_.Q(b,3));d.data[0]=f.K-f.I;d.data[1]=f.L-f.J;d=new Zf(_.Q(b,4));d.data[0]=a;d.data[4]=_.qf(_.tf(_.R));d.data[5]=_.rf(_.tf(_.R)).toLowerCase();d.data[9]=!0;d.data[11]=!0;a=this.O+(0,window.unescape)("%3F");if(!Zi){d=Zi={b:-1,A:[]};c=new $f([]);Xi||(Xi={b:-1,A:[,_.S,_.S]});c=_.M(c,Xi);f=new ag([]);Yi||(Yi={b:-1, 268A:[]},Yi.A=[,_.ci,_.ci,_.Vd(1)]);f=_.M(f,Yi);g=new Zf([]);if(!Wi){var h=[];Wi={b:-1,A:h};h[1]=_.U;h[2]=_.T;h[3]=_.T;h[5]=_.V;h[6]=_.V;var l=new Yf([]);Vi||(Vi={b:-1,A:[,_.gi,_.T]});h[9]=_.M(l,Vi);h[10]=_.T;h[11]=_.T;h[12]=_.T;h[13]=_.gi;h[100]=_.T}g=_.M(g,Wi);h=new hf([]);if(!Oi){l=Oi={b:-1,A:[]};var n=new kf([]);Qi||(Qi={b:-1,A:[,_.T,_.T]});n=_.M(n,Qi);var q=new jf([]);Pi||(Pi={b:-1,A:[,_.T]});l.A=[,,,,,,,,,,n,,_.M(q,Pi)]}d.A=[,c,_.U,_.ci,f,g,_.M(h,Oi)]}b=_.oi.b(b.data,Zi);b=this.F(a+b)}}this.b&& 269(_.Wf(this.b,e),hg(this,b))}}};_.k.div_changed=function(){var a=this.get("div"),b=this.f;if(a)if(b)a.appendChild(b);else{b=this.f=window.document.createElement("div");b.style.overflow="hidden";var c=this.b=window.document.createElement("img");_.A.addDomListener(b,"contextmenu",function(a){_.pb(a);_.rb(a)});c.ontouchstart=c.ontouchmove=c.ontouchend=c.ontouchcancel=function(a){_.qb(a);_.rb(a)};_.Wf(c,_.Sh);a.appendChild(b);this.ba()}else b&&(fg(b),this.f=null)};_.t(og,_.fe);_.k=og.prototype;_.k.streetView_changed=function(){var a=this.get("streetView");a?a.set("standAlone",!1):this.set("streetView",this.__gm.j)};_.k.getDiv=function(){return this.__gm.R};_.k.panBy=function(a,b){var c=this.__gm;_.H("map",function(){_.A.trigger(c,"panby",a,b)})};_.k.panTo=function(a){var b=this.__gm;a=_.Cc(a);_.H("map",function(){_.A.trigger(b,"panto",a)})};_.k.panToBounds=function(a){var b=this.__gm,c=_.hd(a);_.H("map",function(){_.A.trigger(b,"pantolatlngbounds",c)})}; 270_.k.fitBounds=function(a,b){var c=this;a=_.hd(a);_.H("map",function(d){d.fitBounds(c,a,b)})};_.nd(og.prototype,{bounds:null,streetView:Ci,center:_.vc(_.Cc),zoom:_.Nh,mapTypeId:_.Oh,projection:null,heading:_.Nh,tilt:_.Nh,clickableIcons:Mh});pg.prototype.getMaxZoomAtLatLng=function(a,b){_.H("maxzoom",function(c){c.getMaxZoomAtLatLng(a,b)})};_.t(qg,_.D);qg.prototype.changed=function(a){if("suppressInfoWindows"!=a&&"clickable"!=a){var b=this;_.H("onion",function(a){a.b(b)})}};_.nd(qg.prototype,{map:_.qi,tableId:_.Nh,query:_.vc(_.sc([_.Lh,_.rc(_.hb,"not an Object")]))});_.t(_.rg,_.D);_.rg.prototype.map_changed=function(){var a=this;_.H("overlay",function(b){b.sk(a)})};_.nd(_.rg.prototype,{panes:null,projection:null,map:_.sc([_.qi,Ci])});var ug=wg(_.lc(_.F,"LatLng"));_.t(_.yg,_.D);_.yg.prototype.map_changed=_.yg.prototype.visible_changed=function(){var a=this;_.H("poly",function(b){b.b(a)})};_.yg.prototype.center_changed=function(){_.A.trigger(this,"bounds_changed")};_.yg.prototype.radius_changed=_.yg.prototype.center_changed;_.yg.prototype.getBounds=function(){var a=this.get("radius"),b=this.get("center");if(b&&_.y(a)){var c=this.get("map");c=c&&c.__gm.get("baseMapType");return _.Ff(b,a/_.tg(c))}return null}; 271_.nd(_.yg.prototype,{center:_.vc(_.Cc),draggable:_.Ph,editable:_.Ph,map:_.qi,radius:_.Nh,visible:_.Ph});_.t(zg,_.D);zg.prototype.map_changed=zg.prototype.visible_changed=function(){var a=this;_.H("poly",function(b){b.f(a)})};zg.prototype.getPath=function(){return this.get("latLngs").getAt(0)};zg.prototype.setPath=function(a){try{this.get("latLngs").setAt(0,vg(a))}catch(b){_.ic(b)}};_.nd(zg.prototype,{draggable:_.Ph,editable:_.Ph,map:_.qi,visible:_.Ph});_.t(_.Ag,zg);_.Ag.prototype.Ga=!0;_.Ag.prototype.getPaths=function(){return this.get("latLngs")};_.Ag.prototype.setPaths=function(a){this.set("latLngs",xg(a))};_.t(_.Bg,zg);_.Bg.prototype.Ga=!1;_.t(_.Cg,_.D);_.Cg.prototype.map_changed=_.Cg.prototype.visible_changed=function(){var a=this;_.H("poly",function(b){b.j(a)})};_.nd(_.Cg.prototype,{draggable:_.Ph,editable:_.Ph,bounds:_.vc(_.hd),map:_.qi,visible:_.Ph});_.t(Dg,_.D);Dg.prototype.map_changed=function(){var a=this;_.H("streetview",function(b){b.rk(a)})};_.nd(Dg.prototype,{map:_.qi});_.Eg.prototype.getPanorama=function(a,b){var c=this.b||void 0;_.H("streetview",function(d){_.H("geometry",function(e){d.tl(a,b,e.computeHeading,e.computeOffset,c)})})};_.Eg.prototype.getPanoramaByLocation=function(a,b,c){this.getPanorama({location:a,radius:b,preference:50>(b||0)?"best":"nearest"},c)};_.Eg.prototype.getPanoramaById=function(a,b){this.getPanorama({pano:a},b)};_.t(_.Fg,_.D);_.k=_.Fg.prototype;_.k.getTile=function(a,b,c){if(!a||!c)return null;var d=c.createElement("div");c={X:a,zoom:b,Rb:null};d.__gmimt=c;_.rd(this.b,d);var e=Hg(this);1!=e&&Gg(d,e);
271if(this.f){e=this.tileSize||new _.L(256,256);var f=this.j(a,b);c.Rb=this.f({ca:a.x,Z:a.y,da:b},e,d,f,function(){_.A.trigger(d,"load")})}return d};_.k.releaseTile=function(a){a&&this.b.contains(a)&&(this.b.remove(a),(a=a.__gmimt.Rb)&&a.release())};_.k.Te=_.ua(8); 272_.k.opacity_changed=function(){var a=Hg(this);this.b.forEach(function(b){return Gg(b,a)})};_.k.qc=!0;_.nd(_.Fg.prototype,{opacity:_.Nh});_.t(_.Ig,_.D);_.Ig.prototype.getTile=Ih;_.Ig.prototype.tileSize=new _.L(256,256);_.Ig.prototype.qc=!0;_.t(_.Jg,_.Ig);_.t(_.Kg,_.D);_.nd(_.Kg.prototype,{attribution:_.vc(Ai),place:_.vc(Bi)});var aj={Animation:{BOUNCE:1,DROP:2,Zo:3,Uo:4},Circle:_.yg,ControlPosition:_.Hf,Data:Ae,GroundOverlay:_.Re,ImageMapType:_.Fg,InfoWindow:_.Je,LatLng:_.F,LatLngBounds:_.ed,MVCArray:_.pd,MVCObject:_.D,Map:og,MapTypeControlStyle:{DEFAULT:0,HORIZONTAL_BAR:1,DROPDOWN_MENU:2,INSET:3,INSET_LARGE:4},MapTypeId:_.eh,MapTypeRegistry:ee,Marker:_.Ge,MarkerImage:function(a,b,c,d,e){this.url=a;this.size=b||e;this.origin=c;this.anchor=d;this.scaledSize=e;this.labelOrigin=null},NavigationControlStyle:{DEFAULT:0,SMALL:1, 273ANDROID:2,ZOOM_PAN:3,ap:4,ak:5},OverlayView:_.rg,Point:_.K,Polygon:_.Ag,Polyline:_.Bg,Rectangle:_.Cg,ScaleControlStyle:{DEFAULT:0},Size:_.L,StreetViewPreference:_.Ti,StreetViewSource:_.Ui,StrokePosition:{CENTER:0,INSIDE:1,OUTSIDE:2},SymbolPath:Th,ZoomControlStyle:{DEFAULT:0,SMALL:1,LARGE:2,ak:3},event:_.A}; 274_.$a(aj,{BicyclingLayer:_.Te,DirectionsRenderer:Me,DirectionsService:Ne,DirectionsStatus:{OK:_.ia,UNKNOWN_ERROR:_.la,OVER_QUERY_LIMIT:_.ja,REQUEST_DENIED:_.ka,INVALID_REQUEST:_.ba,ZERO_RESULTS:_.ma,MAX_WAYPOINTS_EXCEEDED:_.ea,NOT_FOUND:_.fa},DirectionsTravelMode:_.si,DirectionsUnitSystem:_.ri,DistanceMatrixService:Oe,DistanceMatrixStatus:{OK:_.ia,INVALID_REQUEST:_.ba,OVER_QUERY_LIMIT:_.ja,REQUEST_DENIED:_.ka,UNKNOWN_ERROR:_.la,MAX_ELEMENTS_EXCEEDED:_.da,MAX_DIMENSIONS_EXCEEDED:_.ca},DistanceMatrixElementStatus:{OK:_.ia, 275NOT_FOUND:_.fa,ZERO_RESULTS:_.ma},ElevationService:Pe,ElevationStatus:{OK:_.ia,UNKNOWN_ERROR:_.la,OVER_QUERY_LIMIT:_.ja,REQUEST_DENIED:_.ka,INVALID_REQUEST:_.ba,Qo:"DATA_NOT_AVAILABLE"},FusionTablesLayer:qg,Geocoder:_.Qe,GeocoderLocationType:{ROOFTOP:"ROOFTOP",RANGE_INTERPOLATED:"RANGE_INTERPOLATED",GEOMETRIC_CENTER:"GEOMETRIC_CENTER",APPROXIMATE:"APPROXIMATE"},GeocoderStatus:{OK:_.ia,UNKNOWN_ERROR:_.la,OVER_QUERY_LIMIT:_.ja,REQUEST_DENIED:_.ka,INVALID_REQUEST:_.ba,ZERO_RESULTS:_.ma,ERROR:_.aa},KmlLayer:Se, 276KmlLayerStatus:_.Fi,MaxZoomService:pg,MaxZoomStatus:{OK:_.ia,ERROR:_.aa},SaveWidget:_.Kg,StreetViewCoverageLayer:Dg,StreetViewPanorama:If,StreetViewService:_.Eg,StreetViewStatus:{OK:_.ia,UNKNOWN_ERROR:_.la,ZERO_RESULTS:_.ma},StyledMapType:_.Jg,TrafficLayer:Ue,TrafficModel:_.ti,TransitLayer:Ve,TransitMode:_.ui,TransitRoutePreference:_.vi,TravelMode:_.si,UnitSystem:_.ri});_.$a(Ae,{Feature:_.Vc,Geometry:Bc,GeometryCollection:_.ke,LineString:_.me,LinearRing:_.ne,MultiLineString:_.pe,MultiPoint:_.qe,MultiPolygon:_.xe,Point:_.Dc,Polygon:_.se});_.Tc("main",{});var Rg=/'/g,Sg;var De=arguments[0]; 277window.google.maps.Load(function(a,b){var c=window.google.maps;Wg();var d=Xg(c);_.R=new of(a);_.bj=Math.random()<_.O(_.R,0,1);_.cj=Math.round(1E15*Math.random()).toString(36);_.ng=Tg();_.Ei=Ug();_.Ri=new _.pd;_.yf=b;for(a=0;a<_.de(_.R,8);++a)_.lg[_.ce(_.R,8,a)]=!0;a=new _.mf(_.R.data[3]);Ee(_.P(a,0));_.Ya(aj,function(a,b){c[a]=b});c.version=_.P(a,1);window.setTimeout(function(){Uc(["util","stats"],function(a,b){a.f.b();a.j();d&&b.b.b({ev:"api_alreadyloaded",client:_.P(_.R,6),key:_.sf()})})},5E3); 278_.A.wn();Af=new zf;(a=_.P(_.R,11))&&Uc(_.be(_.R,12),Vg(a),!0)});}).call(this,{}); 279 280; 281/* Modernizr 2.8.3 (Custom Build) | MIT & BSD 282 * Build: http://modernizr.com/download/#-cssanimations-shiv-cssclasses-prefixed-testprop-testallprops-domprefixes-load 283 */ 284;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(prefixes.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b){for(var d in a){var e=a[d];if(!A(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function C(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}function D(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+n.join(d+" ")+d).split(" ");return z(b,"string")||z(b,"undefined")?B(e,b):(e=(a+" "+o.join(d+" ")+d).split(" "),C(e,b,c))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m="Webkit Moz O ms",n=m.split(" "),o=m.toLowerCase().split(" "),p={},q={},r={},s=[],t=s.slice,u,v={}.hasOwnProperty,w;
vendor: 7,447 bytes, lines 284-289
284!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=t.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(t.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(t.call(arguments)))};return e}),p.cssanimations=function(){return D("animationName")};for(var E in p)w(p,E)&&(u=E.toLowerCase(),e[u]=p[E](),s.push((e[u]?"":"no-")+u));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._domPrefixes=o,e._cssomPrefixes=n,e.testProp=function(a){return B([a])},e.testAllProps=D,e.prefixed=function(a,b,c){return b?D(a,b,c):D(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+s.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};; 285/*global jQuery */ 286/*jshint browser:true */ 287/*! 288* FitVids 1.1 289*
290* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com 291* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ 292* Released under the WTFPL license - http://sam.zoy.org/wtfpl/ 293* 294*/ 295 296(function( $ ){ 297 298 "use strict"; 299 300 $.fn.fitVids = function( options ) { 301 var settings = { 302 customSelector: null, 303 ignore: null, 304 }; 305 306 if(!document.getElementById('fit-vids-style')) { 307 // appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js 308 var head = document.head || document.getElementsByTagName('head')[0]; 309 var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}'; 310 var div = document.createElement('div'); 311 div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>'; 312 head.appendChild(div.childNodes[1]); 313 } 314 315 if ( options ) { 316 $.extend( settings, options ); 317 } 318 319 return this.each(function(){ 320 var selectors = [ 321 "iframe[src*='player.vimeo.com']", 322 "iframe[src*='youtube.com']", 323 "iframe[src*='youtube-nocookie.com']", 324 "iframe[src*='kickstarter.com'][src*='video.html']", 325 "object", 326 "embed" 327 ]; 328 329 if (settings.customSelector) { 330 selectors.push(settings.customSelector); 331 } 332 333 var ignoreList = '.fitvidsignore'; 334 335 if(settings.ignore) { 336 ignoreList = ignoreList + ', ' + settings.ignore; 337 } 338 339 var $allVideos = $(this).find(selectors.join(',')); 340 $allVideos = $allVideos.not("object object"); // SwfObj conflict patch 341 $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video. 342 343 $allVideos.each(function(){ 344 var $this = $(this); 345 if($this.parents(ignoreList).length > 0) { 346 return; // Disable FitVids on this video. 347 } 348 if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; } 349 if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width')))) 350 { 351 $this.attr('height', 9); 352 $this.attr('width', 16); 353 } 354 var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(), 355 width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(), 356 aspectRatio = height / width; 357 if(!$this.attr('id')){ 358 var videoID = 'fitvid' + Math.floor(Math.random()*999999); 359 $this.attr('id', videoID); 360 } 361 $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%"); 362 $this.removeAttr('height').removeAttr('width'); 363 }); 364 }); 365 }; 366// Works with either jQuery or Zepto 367})( window.jQuery || window.Zepto ); 368; 369/*! 370 * Bootstrap v3.2.0 (http://getbootstrap.com) 371 * Copyright 2011-2014 Twitter, Inc. 372 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 373 */
vendor: 31,651 bytes, lines 373-374
373 374if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.2.0",d.prototype.close=function(b){function c(){f.detach().trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",c).emulateTransitionEnd(150):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.2.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),d[e](null==f[b]?this.options[b]:f[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b).on("keydown.bs.carousel",a.proxy(this.keydown,this)),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.2.0",c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},c.prototype.keydown=function(a){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.to=function(b){var c=this,d=this.getItemIndex(this.$active=this.$element.find(".item.active"));return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=e[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:g});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,f&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(e)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:g});return a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one("bsTransitionEnd",function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger(m)),f&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(b=!b),e||d.data("bs.collapse",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};c.VERSION="3.2.0",c.DEFAULTS={toggle:!0},c.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},c.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var c=a.Event("show.bs.collapse");if(this.$element.trigger(c),!c.isDefaultPrevented()){var d=this.$parent&&this.$parent.find("> .panel > .in");if(d&&d.length){var e=d.data("bs.collapse");if(e&&e.transitioning)return;b.call(d,"hide"),e||d.data("bs.collapse",null)}var f=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[f](0),this.transitioning=1;var g=function(){this.$element.removeClass("collapsing").addClass("collapse in")[f](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return g.call(this);var h=a.camelCase(["scroll",f].join("-"));this.$element.one("bsTransitionEnd",a.proxy(g,this)).emulateTransitionEnd(350)[f](this.$element[0][h])}}},c.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},c.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var d=a.fn.collapse;a.fn.collapse=b,a.fn.collapse.Constructor=c,a.fn.collapse.noConflict=function(){return a.fn.collapse=d,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(c){var d,e=a(this),f=e.attr("data-target")||c.preventDefault()||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),g=a(f),h=g.data("bs.collapse"),i=h?"toggle":e.data(),j=e.attr("data-parent"),k=j&&a(j);h&&h.transitioning||(k&&k.find('[data-toggle="collapse"][data-parent="'+j+'"]').not(e).addClass("collapsed"),e[g.hasClass("in")?"addClass":"removeClass"]("collapsed")),b.call(g,i)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.2.0",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(i.filter(":focus"));38==b.keyCode&&j>0&&j--,40==b.keyCode&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f+', [role="menu"], [role="listbox"]',g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.2.0",c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.$body.addClass("modal-open"),this.setScrollbar(),this.escape(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(c.$body),c.$element.show().scrollTop(0),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one("bsTransitionEnd",function(){c.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(300):c.$element.trigger("focus").trigger(e)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.$body.removeClass("modal-open"),this.resetScrollbar(),this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;if(this.$backdrop=a('<div class="modal-backdrop '+d+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;e?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(150):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var f=function(){c.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",f).emulateTransitionEnd(150):f()}else b&&b()},c.prototype.checkScrollbar=function(){document.body.clientWidth>=window.innerWidth||(this.scrollbarWidth=this.scrollbarWidth||this.measureScrollbar())},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.scrollbarWidth&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.2.0",c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show()},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var c=a.contains(document.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!c)return;var d=this,e=this.tip(),f=this.getUID(this.type);this.setContent(),e.attr("id",f),this.$element.attr("aria-describedby",f),this.options.animation&&e.addClass("fade");var g="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,h=/\s?auto?\s?/i,i=h.test(g);i&&(g=g.replace(h,"")||"top"),e.detach().css({top:0,left:0,display:"block"}).addClass(g).data("bs."+this.type,this),this.options.container?e.appendTo(this.options.container):e.insertAfter(this.$element);var j=this.getPosition(),k=e[0].offsetWidth,l=e[0].offsetHeight;if(i){var m=g,n=this.$element.parent(),o=this.getPosition(n);g="bottom"==g&&j.top+j.height+l-o.scroll>o.height?"top":"top"==g&&j.top-o.scroll-l<0?"bottom":"right"==g&&j.right+k>o.width?"left":"left"==g&&j.left-k<o.left?"right":g,e.removeClass(m).addClass(g)}var p=this.getCalculatedOffset(g,j,k,l);this.applyPlacement(p,g);var q=function(){d.$element.trigger("shown.bs."+d.type),d.hoverState=null};a.support.transition&&this.$tip.hasClass("fade")?e.one("bsTransitionEnd",q).emulateTransitionEnd(150):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top=b.top+g,b.left=b.left+h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=k.left?2*k.left-e+i:2*k.top-f+j,m=k.left?"left":"top",n=k.left?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(l,d[0][n],m)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach(),c.$element.trigger("hidden.bs."+c.type)}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.removeAttr("aria-describedby"),this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one("bsTransitionEnd",b).emulateTransitionEnd(150):b(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName;return a.extend({},"function"==typeof c.getBoundingClientRect?c.getBoundingClientRect():null,{scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop(),width:d?a(window).width():b.outerWidth(),height:d?a(window).height():b.outerHeight()},d?{top:0,left:0}:b.offset())},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){clearTimeout(this.timeout),this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||"destroy"!=b)&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.2.0",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").empty()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.2.0",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.2.0",c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.closest("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},c.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one("bsTransitionEnd",e).emulateTransitionEnd(150):e(),f.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(c){c.preventDefault(),b.call(a(this),"show")})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.2.0",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=a(document).height(),d=this.$target.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=b-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){null!=this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:b-this.$element.height()-h}))}}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},d.offsetBottom&&(d.offset.bottom=d.offsetBottom),d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
374 375 376 377 378/*! Backstretch - v2.0.4 - 2013-06-19 379 * http://srobbin.com/jquery-plugins/backstretch/ 380 * Copyright (c) 2013 Scott Robbin; Licensed MIT */ 381(function(a,d,p){a.fn.backstretch=function(c,b){(c===p||0===c.length)&&a.error("No images were supplied for Backstretch");0===a(d).scrollTop()&&d.scrollTo(0,0);return this.each(function(){var d=a(this),g=d.data("backstretch");if(g){if("string"==typeof c&&"function"==typeof g[c]){g[c](b);return}b=a.extend(g.options,b);g.destroy(!0)}g=new q(this,c,b);d.data("backstretch",g)})};a.backstretch=function(c,b){return a("body").backstretch(c,b).data("backstretch")};a.expr[":"].backstretch=function(c){return a(c).data("backstretch")!==p};a.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5E3,fade:0};var r={left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},s={position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxHeight:"none",maxWidth:"none",zIndex:-999999},q=function(c,b,e){this.options=a.extend({},a.fn.backstretch.defaults,e||{});this.images=a.isArray(b)?b:[b];a.each(this.images,function(){a("<img />")[0].src=this});this.isBody=c===document.body;this.$container=a(c);this.$root=this.isBody?l?a(d):a(document):this.$container;c=this.$container.children(".backstretch").first();this.$wrap=c.length?c:a('<div class="backstretch"></div>').css(r).appendTo(this.$container);this.isBody||(c=this.$container.css("position"),b=this.$container.css("zIndex"),this.$container.css({position:"static"===c?"relative":c,zIndex:"auto"===b?0:b,background:"none"}),this.$wrap.css({zIndex:-999998}));this.$wrap.css({position:this.isBody&&l?"fixed":"absolute"});this.index=0;this.show(this.index);a(d).on("resize.backstretch",a.proxy(this.resize,this)).on("orientationchange.backstretch",a.proxy(function(){this.isBody&&0===d.pageYOffset&&(d.scrollTo(0,1),this.resize())},this))};q.prototype={resize:function(){try{var a={left:0,top:0},b=this.isBody?this.$root.width():this.$root.innerWidth(),e=b,g=this.isBody?d.innerHeight?d.innerHeight:this.$root.height():this.$root.innerHeight(),j=e/this.$img.data("ratio"),f;j>=g?(f=(j-g)/2,this.options.centeredY&&(a.top="-"+f+"px")):(j=g,e=j*this.$img.data("ratio"),f=(e-b)/2,this.options.centeredX&&(a.left="-"+f+"px"));this.$wrap.css({width:b,height:g}).find("img:not(.deleteable)").css({width:e,height:j}).css(a)}catch(h){}return this},show:function(c){if(!(Math.abs(c)>this.images.length-1)){var b=this,e=b.$wrap.find("img").addClass("deleteable"),d={relatedTarget:b.$container[0]};b.$container.trigger(a.Event("backstretch.before",d),[b,c]);this.index=c;clearInterval(b.interval);b.$img=a("<img />").css(s).bind("load",function(f){var h=this.width||a(f.target).width();f=this.height||a(f.target).height();a(this).data("ratio",h/f);a(this).fadeIn(b.options.speed||b.options.fade,function(){e.remove();b.paused||b.cycle();a(["after","show"]).each(function(){b.$container.trigger(a.Event("backstretch."+this,d),[b,c])})});b.resize()}).appendTo(b.$wrap);b.$img.attr("src",b.images[c]);return b}},next:function(){return this.show(this.index<this.images.length-1?this.index+1:0)},prev:function(){return this.show(0===this.index?this.images.length-1:this.index-1)},pause:function(){this.paused=!0;return this},resume:function(){this.paused=!1;this.next();return this},cycle:function(){1<this.images.length&&(clearInterval(this.interval),this.interval=setInterval(a.proxy(function(){this.paused||this.next()},this),this.options.duration));return this},destroy:function(c){a(d).off("resize.backstretch orientationchange.backstretch");clearInterval(this.interval);c||this.$wrap.remove();this.$container.removeData("backstretch")}};var l,f=navigator.userAgent,m=navigator.platform,e=f.match(/AppleWebKit\/([0-9]+)/),e=!!e&&e[1],h=f.match(/Fennec\/([0-9]+)/),h=!!h&&h[1],n=f.match(/Opera Mobi\/([0-9]+)/),t=!!n&&n[1],k=f.match(/MSIE ([0-9]+)/),k=!!k&&k[1];l=!((-1<m.indexOf("iPhone")||-1<m.indexOf("iPad")||-1<m.indexOf("iPod"))&&e&&534>e||d.operamini&&"[object OperaMini]"==={}.toString.call(d.operamini)||n&&7458>t||-1<f.indexOf("Android")&&e&&533>e||h&&6>h||"palmGetResource"in d&&e&&534>e||-1<f.indexOf("MeeGo")&&-1<f.indexOf("NokiaBrowser/8.5.0")||k&&6>=k)})(jQuery,window); 382 383 384 385/*! 386 * classie - class helper functions 387 * from bonzo https://github.com/ded/bonzo 388 * 389 * classie.has( elem, 'my-class' ) -> true/false 390 * classie.add( elem, 'my-new-class' ) 391 * classie.remove( elem, 'my-unwanted-class' ) 392 * classie.toggle( elem, 'my-class' ) 393 */ 394 395(function(e){"use strict";function t(e){return new RegExp("(^|\\s+)"+e+"(\\s+|$)")}function s(e,t){var s=n(e,t)?i:r;s(e,t)}var n,r,i;if("classList"in document.documentElement){n=function(e,t){return e.classList.contains(t)};r=function(e,t){e.classList.add(t)};i=function(e,t){e.classList.remove(t)}}else{n=function(e,n){return t(n).test(e.className)};r=function(e,t){if(!n(e,t)){e.className=e.className+" "+t}};i=function(e,n){e.className=e.className.replace(t(n)," ")}}var o={hasClass:n,addClass:r,removeClass:i,toggleClass:s,has:n,add:r,remove:i,toggle:s};if(typeof define==="function"&&define.amd){define(o)}else{e.classie=o}})(window); 396 397 398 399 400/*! 401 * imagesLoaded PACKAGED v3.1.8 402 * JavaScript is all like "You images are done yet or what?" 403 * MIT License 404 */ 405 406(function(){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,o=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;e.length>t;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),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?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;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[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,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.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,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===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
406);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=o,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 o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof 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]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit
vendor: 25,337 bytes, lines 406-466
406("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s}); 407 408 409/*! 410 * owl carousel 411 * MIT License 412 */ 413 414 415"function"!==typeof Object.create&&(Object.create=function(f){function g(){}g.prototype=f;return new g}); 416(function(f,g,k){var l={init:function(a,b){this.$elem=f(b);this.options=f.extend({},f.fn.owlCarousel.options,this.$elem.data(),a);this.userOptions=a;this.loadContent()},loadContent:function(){function a(a){var d,e="";if("function"===typeof b.options.jsonSuccess)b.options.jsonSuccess.apply(this,[a]);else{for(d in a.owl)a.owl.hasOwnProperty(d)&&(e+=a.owl[d].item);b.$elem.html(e)}b.logIn()}var b=this,e;"function"===typeof b.options.beforeInit&&b.options.beforeInit.apply(this,[b.$elem]);"string"===typeof b.options.jsonPath? 417 (e=b.options.jsonPath,f.getJSON(e,a)):b.logIn()},logIn:function(){this.$elem.data("owl-originalStyles",this.$elem.attr("style"));this.$elem.data("owl-originalClasses",this.$elem.attr("class"));this.$elem.css({opacity:0});this.orignalItems=this.options.items;this.checkBrowser();this.wrapperWidth=0;this.checkVisible=null;this.setVars()},setVars:function(){if(0===this.$elem.children().length)return!1;this.baseClass();this.eventTypes();this.$userItems=this.$elem.children();this.itemsAmount=this.$userItems.length; 418 this.wrapItems();this.$owlItems=this.$elem.find(".owl-item");this.$owlWrapper=this.$elem.find(".owl-wrapper");this.playDirection="next";this.prevItem=0;this.prevArr=[0];this.currentItem=0;this.customEvents();this.onStartup()},onStartup:function(){this.updateItems();this.calculateAll();this.buildControls();this.updateControls();this.response();this.moveEvents();this.stopOnHover();this.owlStatus();!1!==this.options.transitionStyle&&this.transitionTypes(this.options.transitionStyle);!0===this.options.autoPlay&& 419(this.options.autoPlay=5E3);this.play();this.$elem.find(".owl-wrapper").css("display","block");this.$elem.is(":visible")?this.$elem.css("opacity",1):this.watchVisibility();this.onstartup=!1;this.eachMoveUpdate();"function"===typeof this.options.afterInit&&this.options.afterInit.apply(this,[this.$elem])},eachMoveUpdate:function(){!0===this.options.lazyLoad&&this.lazyLoad();!0===this.options.autoHeight&&this.autoHeight();this.onVisibleItems();"function"===typeof this.options.afterAction&&this.options.afterAction.apply(this, 420 [this.$elem])},updateVars:function(){"function"===typeof this.options.beforeUpdate&&this.options.beforeUpdate.apply(this,[this.$elem]);this.watchVisibility();this.updateItems();this.calculateAll();this.updatePosition();this.updateControls();this.eachMoveUpdate();"function"===typeof this.options.afterUpdate&&this.options.afterUpdate.apply(this,[this.$elem])},reload:function(){var a=this;g.setTimeout(function(){a.updateVars()},0)},watchVisibility:function(){var a=this;if(!1===a.$elem.is(":visible"))a.$elem.css({opacity:0}), 421 g.clearInterval(a.autoPlayInterval),g.clearInterval(a.checkVisible);else return!1;a.checkVisible=g.setInterval(function(){a.$elem.is(":visible")&&(a.reload(),a.$elem.animate({opacity:1},200),g.clearInterval(a.checkVisible))},500)},wrapItems:function(){this.$userItems.wrapAll('<div class="owl-wrapper">').wrap('<div class="owl-item"></div>');this.$elem.find(".owl-wrapper").wrap('<div class="owl-wrapper-outer">');this.wrapperOuter=this.$elem.find(".owl-wrapper-outer");this.$elem.css("display","block")}, 422 baseClass:function(){var a=this.$elem.hasClass(this.options.baseClass),b=this.$elem.hasClass(this.options.theme);a||this.$elem.addClass(this.options.baseClass);b||this.$elem.addClass(this.options.theme)},updateItems:function(){var a,b;if(!1===this.options.responsive)return!1;if(!0===this.options.singleItem)return this.options.items=this.orignalItems=1,this.options.itemsCustom=!1,this.options.itemsDesktop=!1,this.options.itemsDesktopSmall=!1,this.options.itemsTablet=!1,this.options.itemsTabletSmall= 423 !1,this.options.itemsMobile=!1;a=f(this.options.responsiveBaseWidth).width();a>(this.options.itemsDesktop[0]||this.orignalItems)&&(this.options.items=this.orignalItems);if(!1!==this.options.itemsCustom)for(this.options.itemsCustom.sort(function(a,b){return a[0]-b[0]}),b=0;b<this.options.itemsCustom.length;b+=1)this.options.itemsCustom[b][0]<=a&&(this.options.items=this.options.itemsCustom[b][1]);else a<=this.options.itemsDesktop[0]&&!1!==this.options.itemsDesktop&&(this.options.items=this.options.itemsDesktop[1]), 424 a<=this.options.itemsDesktopSmall[0]&&!1!==this.options.itemsDesktopSmall&&(this.options.items=this.options.itemsDesktopSmall[1]),a<=this.options.itemsTablet[0]&&!1!==this.options.itemsTablet&&(this.options.items=this.options.itemsTablet[1]),a<=this.options.itemsTabletSmall[0]&&!1!==this.options.itemsTabletSmall&&(this.options.items=this.options.itemsTabletSmall[1]),a<=this.options.itemsMobile[0]&&!1!==this.options.itemsMobile&&(this.options.items=this.options.itemsMobile[1]);this.options.items>this.itemsAmount&& 425 !0===this.options.itemsScaleUp&&(this.options.items=this.itemsAmount)},response:function(){var a=this,b,e;if(!0!==a.options.responsive)return!1;e=f(g).width();a.resizer=function(){f(g).width()!==e&&(!1!==a.options.autoPlay&&g.clearInterval(a.autoPlayInterval),g.clearTimeout(b),b=g.setTimeout(function(){e=f(g).width();a.updateVars()},a.options.responsiveRefreshRate))};f(g).resize(a.resizer)},updatePosition:function(){this.jumpTo(this.currentItem);!1!==this.options.autoPlay&&this.checkAp()},appendItemsSizes:function(){var a= 426 this,b=0,e=a.itemsAmount-a.options.items;a.$owlItems.each(function(c){var d=f(this);d.css({width:a.itemWidth}).data("owl-item",Number(c));if(0===c%a.options.items||c===e)c>e||(b+=1);d.data("owl-roundPages",b)})},appendWrapperSizes:function(){this.$owlWrapper.css({width:this.$owlItems.length*this.itemWidth*2,left:0});this.appendItemsSizes()},calculateAll:function(){this.calculateWidth();this.appendWrapperSizes();this.loops();this.max()},calculateWidth:function(){this.itemWidth=Math.round(this.$elem.width()/ 427 this.options.items)},max:function(){var a=-1*(this.itemsAmount*this.itemWidth-this.options.items*this.itemWidth);this.options.items>this.itemsAmount?this.maximumPixels=a=this.maximumItem=0:(this.maximumItem=this.itemsAmount-this.options.items,this.maximumPixels=a);return a},min:function(){return 0},loops:function(){var a=0,b=0,e,c;this.positionsInArray=[0];this.pagesInArray=[];for(e=0;e<this.itemsAmount;e+=1)b+=this.itemWidth,this.positionsInArray.push(-b),!0===this.options.scrollPerPage&&(c=f(this.$owlItems[e]), 428 c=c.data("owl-roundPages"),c!==a&&(this.pagesInArray[a]=this.positionsInArray[e],a=c))},buildControls:function(){if(!0===this.options.navigation||!0===this.options.pagination)this.owlControls=f('<div class="owl-controls"/>').toggleClass("clickable",!this.browser.isTouch).appendTo(this.$elem);!0===this.options.pagination&&this.buildPagination();!0===this.options.navigation&&this.buildButtons()},buildButtons:function(){var a=this,b=f('<div class="owl-buttons"/>');a.owlControls.append(b);a.buttonPrev= 429 f("<div/>",{"class":"owl-prev",html:a.options.navigationText[0]||""});a.buttonNext=f("<div/>",{"class":"owl-next",html:a.options.navigationText[1]||""});b.append(a.buttonPrev).append(a.buttonNext);b.on("touchstart.owlControls mousedown.owlControls",'div[class^="owl"]',function(a){a.preventDefault()});b.on("touchend.owlControls mouseup.owlControls",'div[class^="owl"]',function(b){b.preventDefault();f(this).hasClass("owl-next")?a.next():a.prev()})},buildPagination:function(){var a=this;a.paginationWrapper= 430 f('<div class="owl-pagination"/>');a.owlControls.append(a.paginationWrapper);a.paginationWrapper.on("touchend.owlControls mouseup.owlControls",".owl-page",function(b){b.preventDefault();Number(f(this).data("owl-page"))!==a.currentItem&&a.goTo(Number(f(this).data("owl-page")),!0)})},updatePagination:function(){var a,b,e,c,d,g;if(!1===this.options.pagination)return!1;this.paginationWrapper.html("");a=0;b=this.itemsAmount-this.itemsAmount%this.options.items;for(c=0;c<this.itemsAmount;c+=1)0===c%this.options.items&& 431 (a+=1,b===c&&(e=this.itemsAmount-this.options.items),d=f("<div/>",{"class":"owl-page"}),g=f("<span></span>",{text:!0===this.options.paginationNumbers?a:"","class":!0===this.options.paginationNumbers?"owl-numbers":""}),d.append(g),d.data("owl-page",b===c?e:c),d.data("owl-roundPages",a),this.paginationWrapper.append(d));this.checkPagination()},checkPagination:function(){var a=this;if(!1===a.options.pagination)return!1;a.paginationWrapper.find(".owl-page").each(function(){f(this).data("owl-roundPages")=== 432 f(a.$owlItems[a.currentItem]).data("owl-roundPages")&&(a.paginationWrapper.find(".owl-page").removeClass("active"),f(this).addClass("active"))})},checkNavigation:function(){if(!1===this.options.navigation)return!1;!1===this.options.rewindNav&&(0===this.currentItem&&0===this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.addClass("disabled")):0===this.currentItem&&0!==this.maximumItem?(this.buttonPrev.addClass("disabled"),this.buttonNext.removeClass("disabled")):this.currentItem=== 433 this.maximumItem?(this.buttonPrev.removeClass("disabled"),this.buttonNext.addClass("disabled")):0!==this.currentItem&&this.currentItem!==this.maximumItem&&(this.buttonPrev.removeClass("disabled"),this.buttonNext.removeClass("disabled")))},updateControls:function(){this.updatePagination();this.checkNavigation();this.owlControls&&(this.options.items>=this.itemsAmount?this.owlControls.hide():this.owlControls.show())},destroyControls:function(){this.owlControls&&this.owlControls.remove()},next:function(a){if(this.isTransition)return!1; 434 this.currentItem+=!0===this.options.scrollPerPage?this.options.items:1;if(this.currentItem>this.maximumItem+(!0===this.options.scrollPerPage?this.options.items-1:0))if(!0===this.options.rewindNav)this.currentItem=0,a="rewind";else return this.currentItem=this.maximumItem,!1;this.goTo(this.currentItem,a)},prev:function(a){if(this.isTransition)return!1;this.currentItem=!0===this.options.scrollPerPage&&0<this.currentItem&&this.currentItem<this.options.items?0:this.currentItem-(!0===this.options.scrollPerPage? 435 this.options.items:1);if(0>this.currentItem)if(!0===this.options.rewindNav)this.currentItem=this.maximumItem,a="rewind";else return this.currentItem=0,!1;this.goTo(this.currentItem,a)},goTo:function(a,b,e){var c=this;if(c.isTransition)return!1;"function"===typeof c.options.beforeMove&&c.options.beforeMove.apply(this,[c.$elem]);a>=c.maximumItem?a=c.maximumItem:0>=a&&(a=0);c.currentItem=c.owl.currentItem=a;if(!1!==c.options.transitionStyle&&"drag"!==e&&1===c.options.items&&!0===c.browser.support3d)return c.swapSpeed(0), 436 !0===c.browser.support3d?c.transition3d(c.positionsInArray[a]):c.css2slide(c.positionsInArray[a],1),c.afterGo(),c.singleItemTransition(),!1;a=c.positionsInArray[a];!0===c.browser.support3d?(c.isCss3Finish=!1,!0===b?(c.swapSpeed("paginationSpeed"),g.setTimeout(function(){c.isCss3Finish=!0},c.options.paginationSpeed)):"rewind"===b?(c.swapSpeed(c.options.rewindSpeed),g.setTimeout(function(){c.isCss3Finish=!0},c.options.rewindSpeed)):(c.swapSpeed("slideSpeed"),g.setTimeout(function(){c.isCss3Finish=!0}, 437 c.options.slideSpeed)),c.transition3d(a)):!0===b?c.css2slide(a,c.options.paginationSpeed):"rewind"===b?c.css2slide(a,c.options.rewindSpeed):c.css2slide(a,c.options.slideSpeed);c.afterGo()},jumpTo:function(a){"function"===typeof this.options.beforeMove&&this.options.beforeMove.apply(this,[this.$elem]);a>=this.maximumItem||-1===a?a=this.maximumItem:0>=a&&(a=0);this.swapSpeed(0);!0===this.browser.support3d?this.transition3d(this.positionsInArray[a]):this.css2slide(this.positionsInArray[a],1);this.currentItem= 438 this.owl.currentItem=a;this.afterGo()},afterGo:function(){this.prevArr.push(this.currentItem);this.prevItem=this.owl.prevItem=this.prevArr[this.prevArr.length-2];this.prevArr.shift(0);this.prevItem!==this.currentItem&&(this.checkPagination(),this.checkNavigation(),this.eachMoveUpdate(),!1!==this.options.autoPlay&&this.checkAp());"function"===typeof this.options.afterMove&&this.prevItem!==this.currentItem&&this.options.afterMove.apply(this,[this.$elem])},stop:function(){this.apStatus="stop";g.clearInterval(this.autoPlayInterval)}, 439 checkAp:function(){"stop"!==this.apStatus&&this.play()},play:function(){var a=this;a.apStatus="play";if(!1===a.options.autoPlay)return!1;g.clearInterval(a.autoPlayInterval);a.autoPlayInterval=g.setInterval(function(){a.next(!0)},a.options.autoPlay)},swapSpeed:function(a){"slideSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.slideSpeed)):"paginationSpeed"===a?this.$owlWrapper.css(this.addCssSpeed(this.options.paginationSpeed)):"string"!==typeof a&&this.$owlWrapper.css(this.addCssSpeed(a))}, 440 addCssSpeed:function(a){return{"-webkit-transition":"all "+a+"ms ease","-moz-transition":"all "+a+"ms ease","-o-transition":"all "+a+"ms ease",transition:"all "+a+"ms ease"}},removeTransition:function(){return{"-webkit-transition":"","-moz-transition":"","-o-transition":"",transition:""}},doTranslate:function(a){return{"-webkit-transform":"translate3d("+a+"px, 0px, 0px)","-moz-transform":"translate3d("+a+"px, 0px, 0px)","-o-transform":"translate3d("+a+"px, 0px, 0px)","-ms-transform":"translate3d("+ 441 a+"px, 0px, 0px)",transform:"translate3d("+a+"px, 0px,0px)"}},transition3d:function(a){this.$owlWrapper.css(this.doTranslate(a))},css2move:function(a){this.$owlWrapper.css({left:a})},css2slide:function(a,b){var e=this;e.isCssFinish=!1;e.$owlWrapper.stop(!0,!0).animate({left:a},{duration:b||e.options.slideSpeed,complete:function(){e.isCssFinish=!0}})},checkBrowser:function(){var a=k.createElement("div");a.style.cssText=" -moz-transform:translate3d(0px, 0px, 0px); -ms-transform:translate3d(0px, 0px, 0px); -o-transform:translate3d(0px, 0px, 0px); -webkit-transform:translate3d(0px, 0px, 0px); transform:translate3d(0px, 0px, 0px)"; 442 a=a.style.cssText.match(/translate3d\(0px, 0px, 0px\)/g);this.browser={support3d:null!==a&&1===a.length,isTouch:"ontouchstart"in g||g.navigator.msMaxTouchPoints}},moveEvents:function(){if(!1!==this.options.mouseDrag||!1!==this.options.touchDrag)this.gestures(),this.disabledEvents()},eventTypes:function(){var a=["s","e","x"];this.ev_types={};!0===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl mousedown.owl","touchmove.owl mousemove.owl","touchend.owl touchcancel.owl mouseup.owl"]: 443 !1===this.options.mouseDrag&&!0===this.options.touchDrag?a=["touchstart.owl","touchmove.owl","touchend.owl touchcancel.owl"]:!0===this.options.mouseDrag&&!1===this.options.touchDrag&&(a=["mousedown.owl","mousemove.owl","mouseup.owl"]);this.ev_types.start=a[0];this.ev_types.move=a[1];this.ev_types.end=a[2]},disabledEvents:function(){this.$elem.on("dragstart.owl",function(a){a.preventDefault()});this.$elem.on("mousedown.disableTextSelect",function(a){return f(a.target).is("input, textarea, select, option")})}, 444 gestures:function(){function a(a){if(void 0!==a.touches)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(void 0===a.touches){if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY};if(void 0===a.pageX)return{x:a.clientX,y:a.clientY}}}function b(a){"on"===a?(f(k).on(d.ev_types.move,e),f(k).on(d.ev_types.end,c)):"off"===a&&(f(k).off(d.ev_types.move),f(k).off(d.ev_types.end))}function e(b){b=b.originalEvent||b||g.event;d.newPosX=a(b).x-h.offsetX;d.newPosY=a(b).y-h.offsetY;d.newRelativeX=d.newPosX-h.relativePos; 445 "function"===typeof d.options.startDragging&&!0!==h.dragging&&0!==d.newRelativeX&&(h.dragging=!0,d.options.startDragging.apply(d,[d.$elem]));(8<d.newRelativeX||-8>d.newRelativeX)&&!0===d.browser.isTouch&&(void 0!==b.preventDefault?b.preventDefault():b.returnValue=!1,h.sliding=!0);(10<d.newPosY||-10>d.newPosY)&&!1===h.sliding&&f(k).off("touchmove.owl");d.newPosX=Math.max(Math.min(d.newPosX,d.newRelativeX/5),d.maximumPixels+d.newRelativeX/5);!0===d.browser.support3d?d.transition3d(d.newPosX):d.css2move(d.newPosX)} 446 function c(a){a=a.originalEvent||a||g.event;var c;a.target=a.target||a.srcElement;h.dragging=!1;!0!==d.browser.isTouch&&d.$owlWrapper.removeClass("grabbing");d.dragDirection=0>d.newRelativeX?d.owl.dragDirection="left":d.owl.dragDirection="right";0!==d.newRelativeX&&(c=d.getNewPosition(),d.goTo(c,!1,"drag"),h.targetElement===a.target&&!0!==d.browser.isTouch&&(f(a.target).on("click.disable",function(a){a.stopImmediatePropagation();a.stopPropagation();a.preventDefault();f(a.target).off("click.disable")}), 447 a=f._data(a.target,"events").click,c=a.pop(),a.splice(0,0,c)));b("off")}var d=this,h={offsetX:0,offsetY:0,baseElWidth:0,relativePos:0,position:null,minSwipe:null,maxSwipe:null,sliding:null,dargging:null,targetElement:null};d.isCssFinish=!0;d.$elem.on(d.ev_types.start,".owl-wrapper",function(c){c=c.originalEvent||c||g.event;var e;if(3===c.which)return!1;if(!(d.itemsAmount<=d.options.items)){if(!1===d.isCssFinish&&!d.options.dragBeforeAnimFinish||!1===d.isCss3Finish&&!d.options.dragBeforeAnimFinish)return!1; 448 !1!==d.options.autoPlay&&g.clearInterval(d.autoPlayInterval);!0===d.browser.isTouch||d.$owlWrapper.hasClass("grabbing")||d.$owlWrapper.addClass("grabbing");d.newPosX=0;d.newRelativeX=0;f(this).css(d.removeTransition());e=f(this).position();h.relativePos=e.left;h.offsetX=a(c).x-e.left;h.offsetY=a(c).y-e.top;b("on");h.sliding=!1;h.targetElement=c.target||c.srcElement}})},getNewPosition:function(){var a=this.closestItem();a>this.maximumItem?a=this.currentItem=this.maximumItem:0<=this.newPosX&&(this.currentItem= 449 a=0);return a},closestItem:function(){var a=this,b=!0===a.options.scrollPerPage?a.pagesInArray:a.positionsInArray,e=a.newPosX,c=null;f.each(b,function(d,g){e-a.itemWidth/20>b[d+1]&&e-a.itemWidth/20<g&&"left"===a.moveDirection()?(c=g,a.currentItem=!0===a.options.scrollPerPage?f.inArray(c,a.positionsInArray):d):e+a.itemWidth/20<g&&e+a.itemWidth/20>(b[d+1]||b[d]-a.itemWidth)&&"right"===a.moveDirection()&&(!0===a.options.scrollPerPage?(c=b[d+1]||b[b.length-1],a.currentItem=f.inArray(c,a.positionsInArray)): 450 (c=b[d+1],a.currentItem=d+1))});return a.currentItem},moveDirection:function(){var a;0>this.newRelativeX?(a="right",this.playDirection="next"):(a="left",this.playDirection="prev");return a},customEvents:function(){var a=this;a.$elem.on("owl.next",function(){a.next()});a.$elem.on("owl.prev",function(){a.prev()});a.$elem.on("owl.play",function(b,e){a.options.autoPlay=e;a.play();a.hoverStatus="play"});a.$elem.on("owl.stop",function(){a.stop();a.hoverStatus="stop"});a.$elem.on("owl.goTo",function(b,e){a.goTo(e)}); 451 a.$elem.on("owl.jumpTo",function(b,e){a.jumpTo(e)})},stopOnHover:function(){var a=this;!0===a.options.stopOnHover&&!0!==a.browser.isTouch&&!1!==a.options.autoPlay&&(a.$elem.on("mouseover",function(){a.stop()}),a.$elem.on("mouseout",function(){"stop"!==a.hoverStatus&&a.play()}))},lazyLoad:function(){var a,b,e,c,d;if(!1===this.options.lazyLoad)return!1;for(a=0;a<this.itemsAmount;a+=1)b=f(this.$owlItems[a]),"loaded"!==b.data("owl-loaded")&&(e=b.data("owl-item"),c=b.find(".lazyOwl"),"string"!==typeof c.data("src")? 452 b.data("owl-loaded","loaded"):(void 0===b.data("owl-loaded")&&(c.hide(),b.addClass("loading").data("owl-loaded","checked")),(d=!0===this.options.lazyFollow?e>=this.currentItem:!0)&&e<this.currentItem+this.options.items&&c.length&&this.lazyPreload(b,c)))},lazyPreload:function(a,b){function e(){a.data("owl-loaded","loaded").removeClass("loading");b.removeAttr("data-src");"fade"===d.options.lazyEffect?b.fadeIn(400):b.show();"function"===typeof d.options.afterLazyLoad&&d.options.afterLazyLoad.apply(this, 453 [d.$elem])}function c(){f+=1;d.completeImg(b.get(0))||!0===k?e():100>=f?g.setTimeout(c,100):e()}var d=this,f=0,k;"DIV"===b.prop("tagName")?(b.css("background-image","url("+b.data("src")+")"),k=!0):b[0].src=b.data("src");c()},autoHeight:function(){function a(){var a=f(e.$owlItems[e.currentItem]).height();e.wrapperOuter.css("height",a+"px");e.wrapperOuter.hasClass("autoHeight")||g.setTimeout(function(){e.wrapperOuter.addClass("autoHeight")},0)}function b(){d+=1;e.completeImg(c.get(0))?a():100>=d?g.setTimeout(b, 454 100):e.wrapperOuter.css("height","")}var e=this,c=f(e.$owlItems[e.currentItem]).find("img"),d;void 0!==c.get(0)?(d=0,b()):a()},completeImg:function(a){return!a.complete||"undefined"!==typeof a.naturalWidth&&0===a.naturalWidth?!1:!0},onVisibleItems:function(){var a;!0===this.options.addClassActive&&this.$owlItems.removeClass("active");this.visibleItems=[];for(a=this.currentItem;a<this.currentItem+this.options.items;a+=1)this.visibleItems.push(a),!0===this.options.addClassActive&&f(this.$owlItems[a]).addClass("active"); 455 this.owl.visibleItems=this.visibleItems},transitionTypes:function(a){this.outClass="owl-"+a+"-out";this.inClass="owl-"+a+"-in"},singleItemTransition:function(){var a=this,b=a.outClass,e=a.inClass,c=a.$owlItems.eq(a.currentItem),d=a.$owlItems.eq(a.prevItem),f=Math.abs(a.positionsInArray[a.currentItem])+a.positionsInArray[a.prevItem],g=Math.abs(a.positionsInArray[a.currentItem])+a.itemWidth/2;a.isTransition=!0;a.$owlWrapper.addClass("owl-origin").css({"-webkit-transform-origin":g+"px","-moz-perspective-origin":g+ 456 "px","perspective-origin":g+"px"});d.css({position:"relative",left:f+"px"}).addClass(b).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endPrev=!0;d.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(d,b)});c.addClass(e).on("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend",function(){a.endCurrent=!0;c.off("webkitAnimationEnd oAnimationEnd MSAnimationEnd animationend");a.clearTransStyle(c,e)})},clearTransStyle:function(a, 457 b){a.css({position:"",left:""}).removeClass(b);this.endPrev&&this.endCurrent&&(this.$owlWrapper.removeClass("owl-origin"),this.isTransition=this.endCurrent=this.endPrev=!1)},owlStatus:function(){this.owl={userOptions:this.userOptions,baseElement:this.$elem,userItems:this.$userItems,owlItems:this.$owlItems,currentItem:this.currentItem,prevItem:this.prevItem,visibleItems:this.visibleItems,isTouch:this.browser.isTouch,browser:this.browser,dragDirection:this.dragDirection}},clearEvents:function(){this.$elem.off(".owl owl mousedown.disableTextSelect"); 458 f(k).off(".owl owl");f(g).off("resize",this.resizer)},unWrap:function(){0!==this.$elem.children().length&&(this.$owlWrapper.unwrap(),this.$userItems.unwrap().unwrap(),this.owlControls&&this.owlControls.remove());this.clearEvents();this.$elem.attr("style",this.$elem.data("owl-originalStyles")||"").attr("class",this.$elem.data("owl-originalClasses"))},destroy:function(){this.stop();g.clearInterval(this.checkVisible);this.unWrap();this.$elem.removeData()},reinit:function(a){a=f.extend({},this.userOptions, 459 a);this.unWrap();this.init(a,this.$elem)},addItem:function(a,b){var e;if(!a)return!1;if(0===this.$elem.children().length)return this.$elem.append(a),this.setVars(),!1;this.unWrap();e=void 0===b||-1===b?-1:b;e>=this.$userItems.length||-1===e?this.$userItems.eq(-1).after(a):this.$userItems.eq(e).before(a);this.setVars()},removeItem:function(a){if(0===this.$elem.children().length)return!1;a=void 0===a||-1===a?-1:a;this.unWrap();this.$userItems.eq(a).remove();this.setVars()}};f.fn.owlCarousel=function(a){return this.each(function(){if(!0=== 460 f(this).data("owl-init"))return!1;f(this).data("owl-init",!0);var b=Object.create(l);b.init(a,this);f.data(this,"owlCarousel",b)})};f.fn.owlCarousel.options={items:5,itemsCustom:!1,itemsDesktop:[1199,4],itemsDesktopSmall:[979,3],itemsTablet:[768,2],itemsTabletSmall:!1,itemsMobile:[479,1],singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1E3,autoPlay:!1,stopOnHover:!1,navigation:!1,navigationText:["prev","next"],rewindNav:!0,scrollPerPage:!1,pagination:!0,paginationNumbers:!1, 461 responsive:!0,responsiveRefreshRate:200,responsiveBaseWidth:g,baseClass:"owl-carousel",theme:"owl-theme",lazyLoad:!1,lazyFollow:!0,lazyEffect:"fade",autoHeight:!1,jsonPath:!1,jsonSuccess:!1,dragBeforeAnimFinish:!0,mouseDrag:!0,touchDrag:!0,addClassActive:!1,transitionStyle:!1,beforeUpdate:!1,afterUpdate:!1,beforeInit:!1,afterInit:!1,beforeMove:!1,afterMove:!1,afterAction:!1,startDragging:!1,afterLazyLoad:!1}})(jQuery,window,document); 462 463 464 465/*! Stellar.js v0.6.2 | Copyright 2014, Mark Dalgleish | http://markdalgleish.com/projects/stellar.js | http://markdalgleish.mit-license.org */ 466!function(a,b,c,d){function e(b,c){this.element=b,this.options=a.extend({},g,c),this._defaults=g,this._name=f,this.init()}var f="stellar",g={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgroun
466ds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(a){a.hide()},showElement:function(a){a.show()}},h={scroll:{getLeft:function(a){return a.scrollLeft()},setLeft:function(a,b){a.scrollLeft(b)},getTop:function(a){return a.scrollTop()},setTop:function(a,b){a.scrollTop(b)}},position:{getLeft:function(a){return-1*parseInt(a.css("left"),10)},getTop:function(a){return-1*parseInt(a.css("top"),10)}},margin:{getLeft:function(a){return-1*parseInt(a.css("margin-left"),10)},getTop:function(a){return-1*parseInt(a.css("margin-top"),10)}},transform:{getLeft:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(a){var b=getComputedStyle(a[0])[k];return"none"!==b?-1*parseInt(b.match(/(-?[0-9]+)/g)[5],10):0}}},i={position:{setLeft:function(a,b){a.css("left",b)},setTop:function(a,b){a.css("top",b)}},transform:{setPosition:function(a,b,c,d,e){a[0].style[k]="translate3d("+(b-c)+"px, "+(d-e)+"px, 0)"}}},j=function(){var b,c=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,d=a("script")[0].style,e="";for(b in d)if(c.test(b)){e=b.match(c)[0];break}return"WebkitOpacity"in d&&(e="Webkit"),"KhtmlOpacity"in d&&(e="Khtml"),function(a){return e+(e.length>0?a.charAt(0).toUpperCase()+a.slice(1):a)}}(),k=j("transform"),l=a("<div />",{style:"background:#fff"}).css("background-position-x")!==d,m=l?function(a,b,c){a.css({"background-position-x":b,"background-position-y":c})}:function(a,b,c){a.css("background-position",b+" "+c)},n=l?function(a){return[a.css("background-position-x"),a.css("background-position-y")]}:function(a){return a.css("background-position").split(" ")},o=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||function(a){setTimeout(a,1e3/60)};e.prototype={init:function(){this.options.name=f+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===c.body&&(this.element=b),this.$scrollElement=a(this.element),this.$element=this.element===b?a("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==d?a(this.options.viewportElement):this.$scrollElement[0]===b||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var a=this,b=h[a.options.scrollProperty];this._getScrollLeft=function(){return b.getLeft(a.$scrollElement)},this._getScrollTop=function(){return b.getTop(a.$scrollElement)}},_defineSetters:function(){var b=this,c=h[b.options.scrollProperty],d=i[b.options.positionProperty],e=c.setLeft,f=c.setTop;this._setScrollLeft="function"==typeof e?function(a){e(b.$scrollElement,a)}:a.noop,this._setScrollTop="function"==typeof f?function(a){f(b.$scrollElement,a)}:a.noop,this._setPosition=d.setPosition||function(a,c,e,f,g){b.options.horizontalScrolling&&d.setLeft(a,c,e),b.options.verticalScrolling&&d.setTop(a,f,g)}},_handleWindowLoadAndResize:function(){var c=this,d=a(b);c.options.responsive&&d.bind("load."+this.name,function(){c.refresh()}),d.bind("resize."+this.name,function(){c._detectViewport(),c.options.responsive&&c.refresh()})},refresh:function(c){var d=this,e=d._getScrollLeft(),f=d._getScrollTop();c&&c.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),c&&c.firstLoad&&/WebKit/.test(navigator.userAgent)&&a(b).load(function(){var a=d._getScrollLeft(),b=d._getScrollTop();d._setScrollLeft(a+1),d._setScrollTop(b+1),d._setScrollLeft(a),d._setScrollTop(b)}),this._setScrollLeft(e),this._setScrollTop(f)},_detectViewport:function(){var a=this.$viewportElement.offset(),b=null!==a&&a!==d;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=b?a.top:0,this.viewportOffsetLeft=b?a.left:0},_findParticles:function(){{var b=this;this._getScrollLeft(),this._getScrollTop()}if(this.particles!==d)for(var c=this.particles.length-1;c>=0;c--)this.particles[c].$element.data("stellar-elementIsActive",d);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var c,e,f,g,h,i,j,k,l,m=a(this),n=0,o=0,p=0,q=0;if(m.data("stellar-elementIsActive")){if(m.data("stellar-elementIsActive")!==this)return}else m.data("stellar-elementIsActive",this);b.options.showElement(m),m.data("stellar-startingLeft")?(m.css("left",m.data("stellar-startingLeft")),m.css("top",m.data("stellar-startingTop"))):(m.data("stellar-startingLeft",m.css("left")),m.data("stellar-startingTop",m.css("top"))),f=m.position().left,g=m.position().top,h="auto"===m.css("margin-left")?0:parseInt(m.css("margin-left"),10),i="auto"===m.css("margin-top")?0:parseInt(m.css("margin-top"),10),k=m.offset().left-h,l=m.offset().top-i,m.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(n=p,o=q,j=b,!1):(p+=b.position().left,void(q+=b.position().top))}),c=m.data("stellar-horizontal-offset")!==d?m.data("stellar-horizontal-offset"):j!==d&&j.data("stellar-horizontal-offset")!==d?j.data("stellar-horizontal-offset"):b.horizontalOffset,e=m.data("stellar-vertical-offset")!==d?m.data("stellar-vertical-offset"):j!==d&&j.data("stellar-vertical-offset")!==d?j.data("stellar-vertical-offset"):b.verticalOffset,b.particles.push({$element:m,$offsetParent:j,isFixed:"fixed"===m.css("position"),horizontalOffset:c,verticalOffset:e,startingPositionLeft:f,startingPositionTop:g,
466startingOffsetLeft:k,startingOffsetTop:l,parentOffsetLeft:n,parentOffsetTop:o,stellarRatio:m.data("stellar-ratio")!==d?m.data("stellar-ratio"):1,width:m.outerWidth(!0),height:m.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var b,c=this,e=this._getScrollLeft(),f=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(b=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(b=b.add(this.$element)),b.each(function(){var b,g,h,i,j,k,l,o=a(this),p=n(o),q=0,r=0,s=0,t=0;if(o.data("stellar-backgroundIsActive")){if(o.data("stellar-backgroundIsActive")!==this)return}else o.data("stellar-backgroundIsActive",this);o.data("stellar-backgroundStartingLeft")?m(o,o.data("stellar-backgroundStartingLeft"),o.data("stellar-backgroundStartingTop")):(o.data("stellar-backgroundStartingLeft",p[0]),o.data("stellar-backgroundStartingTop",p[1])),h="auto"===o.css("margin-left")?0:parseInt(o.css("margin-left"),10),i="auto"===o.css("margin-top")?0:parseInt(o.css("margin-top"),10),j=o.offset().left-h-e,k=o.offset().top-i-f,o.parents().each(function(){var b=a(this);return b.data("stellar-offset-parent")===!0?(q=s,r=t,l=b,!1):(s+=b.position().left,void(t+=b.position().top))}),b=o.data("stellar-horizontal-offset")!==d?o.data("stellar-horizontal-offset"):l!==d&&l.data("stellar-horizontal-offset")!==d?l.data("stellar-horizontal-offset"):c.horizontalOffset,g=o.data("stellar-vertical-offset")!==d?o.data("stellar-vertical-offset"):l!==d&&l.data("stellar-vertical-offset")!==d?l.data("stellar-vertical-offset"):c.verticalOffset,c.backgrounds.push({$element:o,$offsetParent:l,isFixed:"fixed"===o.css("background-attachment"),horizontalOffset:b,verticalOffset:g,startingValueLeft:p[0],startingValueTop:p[1],startingBackgroun
466dPositionLeft:isNaN(parseInt(p[0],10))?0:parseInt(p[0],10),startingBackgroundPositionTop:isNaN(parseInt(p[1],10))?0:parseInt(p[1],10),startingPositionLeft:o.position().left,startingPositionTop:o.position().top,startingOffsetLeft:j,startingOffsetTop:k,parentOffsetLeft:q,parentOffsetTop:r,stellarRatio:o.data("stellar-background-ratio")===d?1:o.data("stellar-background-ratio")})}))},_reset:function(){var a,b,c,d,e;for(e=this.particles.length-1;e>=0;e--)a=this.particles[e],b=a.$element.data("stellar-startingLeft"),c=a.$element.data("stellar-startingTop"),this._setPosition(a.$element,b,b,c,c),this.options.showElement(a.$element),a.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(e=this.backgrounds.length-1;e>=0;e--)d=this.backgrounds[e],d.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),m(d.$element,d.startingValueLeft,d.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=a.noop,a(b).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var c=this,d=a(b);d.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),d.bind("resize.horizontal-"+this.name,function(){c.horizontalOffset=c.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),d.bind("resize.vertical-"+this.name,function(){c.verticalOffset=c.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var a,b,c,d,e,f,g,h,i,j,k=this._getScrollLeft(),l=this._getScrollTop(),n=!0,o=!0;if(this.currentScrollLeft!==k||this.currentScrollTop!==l||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=k,this.currentScrollTop=l,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,j=this.particles.length-1;j>=0;j--)a=this.particles[j],b=a.isFixed?1:0,this.options.horizontalScrolling?(f=(k+a.horizontalOffset+this.viewportOffsetLeft+a.startingPositionLeft-a.startingOffsetLeft+a.parentOffsetLeft)*-(a.stellarRatio+b-1)+a.startingPositionLeft,h=f-a.startingPositionLeft+a.startingOffsetLeft):(f=a.startingPositionLeft,h=a.startingOffsetLeft),this.options.verticalScrolling?(g=(l+a.verticalOffset+this.viewportOffsetTop+a.startingPositionTop-a.startingOffsetTop+a.parentOffsetTop)*-(a.stellarRatio+b-1)+a.startingPositionTop,i=g-a.startingPositionTop+a.startingOffsetTop):(g=a.startingPositionTop,i=a.startingOffsetTop),this.options.hideDistantElements&&(o=!this.options.horizontalScrolling||h+a.width>(a.isFixed?0:k)&&h<(a.isFixed?0:k)+this.viewportWidth+this.viewportOffsetLeft,n=!this.options.verticalScrolling||i+a.height>(a.isFixed?0:l)&&i<(a.isFixed?0:l)+this.viewportHeight+this.viewportOffsetTop),o&&n?(a.isHidden&&(this.options.showElement(a.$element),a.isHidden=!1),this._setPosition(a.$element,f,a.startingPositionLeft,g,a.startingPositionTop)):a.isHidden||(this.options.hideElement(a.$element),a.isHidden=!0);for(j=this.backgrounds.length-1;j>=0;j--)c=this.backgrounds[j],b=c.isFixed?0:1,d=this.options.horizontalScrolling?(k+c.horizontalOffset-this.viewportOffsetLeft-c.startingOffsetLeft+c.parentOffsetLeft-c.startingBackgroun
466dPositionLeft)*(b-c.stellarRatio)+"px":c.startingValueLeft,e=this.options.verticalScrolling?(l+c.verticalOffset-this.viewportOffsetTop-c.startingOffsetTop+c.parentOffsetTop-c.startingBackgroundPositionTop)*(b-c.stellarRatio)+"px":c.startingValueTop,m(c.$element,d,e)}},_handleScrollEvent:function(){var a=this,b=!1,c=function(){a._repositionElements(),b=!1},d=function(){b||(o(c),b=!0)};this.$scrollElement.bind("scroll."+this.name,d),d()},_startAnimationLoop:function(){var a=this;this._animationLoop=function(){o(a._animationLoop),a._repositionElements()},this._animationLoop()}},a.fn[f]=function(b){var c=arguments;return b===d||"object"==typeof b?this.each(function(){a.data(this,"plugin_"+f)||a.data(this,"plugin_"+f,new e(this,b))}):"string"==typeof b&&"_"!==b[0]&&"init"!==b?this.each(function(){var d=a.data(this,"plugin_"+f);d instanceof e&&"function"==typeof d[b]&&d[b].apply(d,Array.prototype.slice.call(c,1)),"destroy"===b&&a.data(this,"plugin_"+f,null)}):void 0},a[f]=function(){var c=a(b);return c.stellar.apply(c,Array.prototype.slice.call(arguments,0))},a[f].scrollProperty=h,a[f].positionProperty=i,b.Stellar=e}(jQuery,this,document); 467 468 469 470/*scroll reveal */ 471!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.scrollReveal=e()}(this,function(){return window.scrollReveal=function(t){"use strict";function e(e){this.docElem=t.document.documentElement,this.options=this.extend(this.defaults,e),this.styleBank={},1==this.options.init&&this.init()}var i=1,o=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)}}();return e.prototype={defaults:{after:"0s",enter:"bottom",move:"24px",over:"0.66s",easing:"ease-in-out",opacity:0,viewportFactor:.33,reset:!1,init:!0},init:function(){this.scrolled=!1;var e=this;this.elems=Array.prototype.slice.call(this.docElem.querySelectorAll("[data-scroll-reveal]")),this.elems.forEach(function(t){var o=t.getAttribute("data-scroll-reveal-id");o||(o=i++,t.setAttribute("data-scroll-reveal-id",o)),e.styleBank[o]||(e.styleBank[o]=t.getAttribute("style")),e.update(t)});var r=function(){e.scrolled||(e.scrolled=!0,o(function(){e._scrollPage()}))},n=function(){function t(){e._scrollPage(),e.resizeTimeout=null}e.resizeTimeout&&clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(t,200)};t.addEventListener("scroll",r,!1),t.addEventListener("resize",n,!1)},_scrollPage:function(){var t=this;this.elems.forEach(function(e){t.update(e)}),this.scrolled=!1},parseLanguage:function(t){function e(t){var e=[],i=["from","the","and","then","but","with"];return t.forEach(function(t){i.indexOf(t)>-1||e.push(t)}),e}var i=t.getAttribute("data-scroll-reveal").split(/[, ]+/),o={};return i=e(i),i.forEach(function(t,e){switch(t){case"enter":return void(o.enter=i[e+1]);case"after":return void(o.after=i[e+1]);case"wait":return void(o.after=i[e+1]);case"move":return void(o.move=i[e+1]);case"ease":return o.move=i[e+1],void(o.ease="ease");case"ease-in":return o.move=i[e+1],void(o.easing="ease-in");case"ease-in-out":return o.move=i[e+1],void(o.easing="ease-in-out");case"ease-out":return o.move=i[e+1],void(o.easing="ease-out");case"over":return void(o.over=i[e+1]);default:return}}),o},update:function(t){var e=this.genCSS(t),i=this.styleBank[t.getAttribute("data-scroll-reveal-id")];return null!=i?i+=";":i="",t.getAttribute("data-scroll-reveal-initialized")||(t.setAttribute("style",i+e.initial),t.setAttribute("data-scroll-reveal-initialized",!0)),this.isElementInViewport(t,this.options.viewportFactor)?t.getAttribute("data-scroll-reveal-complete")?void 0:this.isElementInViewport(t,this.options.viewportFactor)?(t.setAttribute("style",i+e.target+e.transition),void(this.options.reset||setTimeout(function(){""!=i?t.setAttribute("style",i):t.removeAttribute("style"),t.setAttribute("data-scroll-reveal-complete",!0)},e.totalDuration))):void 0:void(this.options.reset&&t.setAttribute("style",i+e.initial+e.reset))},genCSS:function(t){var e,i,o=this.parseLanguage(t);o.enter?(("top"==o.enter||"bottom"==o.enter)&&(e=o.enter,i="y"),("left"==o.enter||"right"==o.enter)&&(e=o.enter,i="x")):(("top"==this.options.enter||"bottom"==this.options.enter)&&(e=this.options.enter,i="y"),("left"==this.options.enter||"right"==this.options.enter)&&(e=this.options.enter,i="x")),("top"==e||"left"==e)&&(o.move=o.move?"-"-o.move:"-"+this.options.move);var r=o.move||this.options.move,n=o.over||this.options.over,s=o.after||this.options.after,a=o.easing||this.options.easing,l=o.opacity||this.options.opacity,u="-webkit-transition: -webkit-transform "+n+" "+a+" "+s+", opacity "+n+" "+a+" "+s+";transition: transform "+n+" "+a+" "+s+", opacity "+n+" "+a+" "+s+";-webkit-perspective: 1000;-webkit-backface-visibility: hidden;",c="-webkit-transition: -webkit-transform "+n+" "+a+" 0s, opacity "+n+" "+a+" "+s+";transition: transform "+n+" "+a+" 0s, opacity "+n+" "+a+" "+s+";-webkit-perspective: 1000;-webkit-backface-visibility: hidden;",f="-webkit-transform: translate"+i+"("+r+");transform: translate"+i+"("+r+");opacity: "+l+";",p="-webkit-transform: translate"+i+"(0);transform: translate"+i+"(0);opacity: 1;";return{transition:u,initial:f,target:p,reset:c,totalDuration:1e3*(parseFloat(n)+parseFloat(s))}},getViewportH:function(){var e=this.docElem.clientHeight,i=t.innerHe
471ight;return i>e?i:e},getOffset:function(t){var e=0,i=0;do isNaN(t.offsetTop)||(e+=t.offsetTop),isNaN(t.offsetLeft)||(i+=t.offsetLeft);while(t=t.offsetParent);return{top:e,left:i}},isElementInViewport:function(e,i){var o=t.pageYOffset,r=o+this.getViewportH(),n=e.offsetHeight,s=this.getOffset(e).top,a=s+n,i=i||0;return r>=s+n*i&&a>=o||"fixed"==(e.currentStyle?e.currentStyle:t.getComputedStyle(e,null)).position},extend:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}},e}(window),scrollReveal}); 472 473//*smooth scroll* 474 475(function(e,t){if(typeof define==="function"&&define.amd){define("smoothScroll",t(e))}else if(typeof exports==="object"){module.exports=t(e)}else{e.smoothScroll=t(e)}})(this,function(e){"use strict";var t={};var n=!!document.querySelector&&!!e.addEventListener;var r;var i={speed:500,easing:"easeInOutCubic",offset:0,updateURL:true,callbackBefore:function(){},callbackAfter:function(){}};var s=function(e,t,n){if(Object.prototype.toString.call(e)==="[object Object]"){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){t.call(n,e[r],r,e)}}}else{for(var i=0,s=e.length;i<s;i++){t.call(n,e[i],i,e)}}};var o=function(e,t){var n={};s(e,function(t,r){n[r]=e[r]});s(t,function(e,r){n[r]=t[r]});return n};var u=function(e){var t=String(e);var n=t.length;var r=-1;var i;var s="";var o=t.charCodeAt(0);while(++r<n){i=t.charCodeAt(r);if(i===0){throw new InvalidCharacterError("Invalid character: the input contains U+0000.")}if(i>=1&&i<=31||i==127||r===0&&i>=48&&i<=57||r===1&&i>=48&&i<=57&&o===45){s+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){s+=t.charAt(r);continue}s+="\\"+t.charAt(r)}return s};var a=function(e,t){var n;if(e==="easeInQuad")n=t*t;if(e==="easeOutQuad")n=t*(2-t);if(e==="easeInOutQuad")n=t<.5?2*t*t:-1+(4-2*t)*t;if(e==="easeInCubic")n=t*t*t;if(e==="easeOutCubic")n=--t*t*t+1;if(e==="easeInOutCubic")n=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1;if(e==="easeInQuart")n=t*t*t*t;if(e==="easeOutQuart")n=1- --t*t*t*t;if(e==="easeInOutQuart")n=t<.5?8*t*t*t*t:1-8*--t*t*t*t;if(e==="easeInQuint")n=t*t*t*t*t;if(e==="easeOutQuint")n=1+ --t*t*t*t*t;if(e==="easeInOutQuint")n=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t;return n||t};var f=function(e,t,n){var r=0;if(e.offsetParent){do{r+=e.offsetTop;e=e.offsetParent}while(e)}r=r-t-n;return r>=0?r:0};var l=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)};var c=function(e){return!e||!(typeof JSON==="object"&&typeof JSON.parse==="function")?{}:JSON.parse(e)};var h=function(e,t){if(history.pushState&&(t||t==="true")){history.pushState({pos:e.id},"",window.location.pathname+e)}};t.animateScroll=function(t,n,r,s){var p=o(p||i,r||{});var d=c(t?t.getAttribute("data-options"):null);p=o(p,d);n="#"+u(n.substr(1));var v=document.querySelector("[data-scroll-header]");var m=v===null?0:v.offsetHeight+v.offsetTop;var g=e.pageYOffset;var y=f(document.querySelector(n),m,parseInt(p.offset,10));var b;var w=y-g;var E=l();var S=0;var x,T;if(t&&t.tagName.toLowerCase()==="a"&&s){s.preventDefault()}h(n,p.updateURL);var N=function(r,i,s){var o=e.pageYOffset;
475if(r==i||o==i||e.innerHeight+o>=E){clearInterval(s);p.callbackAfter(t,n)}};var C=function(){S+=16;x=S/parseInt(p.speed,10);x=x>1?1:x;T=g+w*a(p.easing,x);e.scrollTo(0,Math.floor(T));N(T,y,b)};var k=function(){p.callbackBefore(t,n);b=setInterval(C,16)};if(e.pageYOffset===0){e.scrollTo(0,0)}k()};t.init=function(e){if(!n)return;r=o(i,e||{});var u=document.querySelectorAll("[data-scroll]");s(u,function(e){e.addEventListener("click",t.animateScroll.bind(null,e,e.hash,r),false)})};return t}); 476 477/*! 478 * Isotope PACKAGED v2.0.0 479 * Filter & sort magical layouts 480 * http://isotope.metafizzy.co 481 */ 482 483(function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function n(e,i){t.fn[e]=function(n){if("string"==typeof n){for(var s=o.call(arguments,1),a=0,u=this.length;u>a;a++){var p=this[a],h=t.data(p,e);if(h)if(t.isFunction(h[n])&&"_"!==n.charAt(0)){var f=h[n].apply(h,s);if(void 0!==f)return f}else r("no such method '"+n+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+n+"'")}return this}return this.each(function(){var o=t.data(this,e);o?(o.option(n),o._init()):(o=new i(this,n),t.data(this,e,o))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),n(t,e)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,o=function(){};i.addEventListener?o=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(o=function(t,i,o){t[i+o]=o.handleEvent?function(){var i=e(t);o.handleEvent.call(o,i)}:function(){var i=e(t);o.call(t,i)},t.attachEvent("on"+i,t[i+o])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(o){t[e+i]=void 0}});var r={bind:o,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==n.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var o=0,s=r.length;s>o;o++){var a=r[o];a()}}}function o(o){return o.bind(n,"DOMContentLoaded",i),o.bind(n,"readystatechange",i),o.bind(t,"load",i),e}var n=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],o)):t.docReady=o(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var o=t.prototype,n=this,r=n.EventEmitter;o.getListeners=function(t){var e,i,o=this._getEvents();if(t instanceof RegExp){e={};for(i in o)o.hasOwnProperty(i)&&t.test(i)&&(e[i]=o[i])}else e=o[t]||(o[t]=[]);return e},o.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},o.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},o.addListener=function(t,i){var o,n=this.getListenersAsObject(t),r="object"==typeof i;for(o in n)n.hasOwnProperty(o)&&-1===e(n[o],i)&&n[o].push(r?i:{listener:i,once:!1});return this},o.on=i("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=i("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,i){var o,n,r=this.getListenersAsObject(t);for(n in r)r.hasOwnProperty(n)&&(o=e(r[n],i),-1!==o&&r[n].splice(o,1));return this},o.off=i("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
483,o.manipulateListeners=function(t,e,i){var o,n,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(o=i.length;o--;)r.call(this,e,i[o]);else for(o in e)e.hasOwnProperty(o)&&(n=e[o])&&("function"==typeof n?r.call(this,o,n):s.call(this,o,n));return this},o.removeEvent=function(t){var e,i=typeof t,o=this._getEvents();if("string"===i)delete o[t];else if(t instanceof RegExp)for(e in o)o.hasOwnProperty(e)&&t.test(e)&&delete o[e];else delete this._events;return this},o.removeAllListeners=i("removeEvent"),o.emitEvent=function(t,e){var i,o,n,r,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(o=s[n].length;o--;)i=s[n][o],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},o.trigger=i("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},o._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof o[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,r=i.length;r>n;n++)if(e=i[n]+t,"string"==typeof o[e])return e}}var i="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t){function e(t){var e=parseFloat(t),i=-1===t.indexOf("%")&&!isNaN(e);return i&&e}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=s.length;i>e;e++){var o=s[e];t[o]=0}return t}function o(t){function o(t){if("string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var o=r(t);if("none"===o.display)return i();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var h=n.isBorderBox=!(!p||!o[p]||"border-box"!==o[p]),f=0,c=s.length;c>f;f++){var d=s[f],l=o[d];l=a(t,l);var y=parseFloat(l);n[d]=isNaN(y)?0:y}var m=n.paddingLeft+n.paddingRight,g=n.paddingTop+n.paddingBottom,v=n.marginLeft+n.marginRight,_=n.marginTop+n.marginBottom,I=n.borderLeftWidth+n.borderRightWidth,L=n.borderTopWidth+n.borderBottomWidth,z=h&&u,S=e(o.width);S!==!1&&(n.width=S+(z?0:m+I));var b=e(o.height);return b!==!1&&(n.height=b+(z?0:g+L)),n.innerWidth=n.width-(m+I),n.innerHeight=n.height-(g+L),n.outerWidth=n.width+v,n.outerHeight=n.height+_,n}}function a(t,e){if(n||-1===e.indexOf("%"))return e;var i=t.style,o=i.left,r=t.runtimeStyle,s=r&&r.left;return s&&(r.left=t.currentStyle.left),i.left=e,e=i.pixelLeft,i.left=o,s&&(r.left=s),e}var u,p=t("boxSizing");return function(){if(p){var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style[p]="border-box";var i=document.body||document.documentElement;i.appendChild(t);var o=r(t);u=200===e(o.width),i.removeChild(t)}}(),o}var n=t.getComputedStyle,r=n?function(t){return n(t,null)}:function(t){return t.currentStyle},s=["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"],o):"object"==typeof exports?module.exports=o(require("get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t,e){function i(t,e){return t[a](e)}function o(t){if(!t.parentNode){var e=document.createDocumentFragment();e.appendChild(t)}}function n(t,e){o(t);for(var i=t.parentNode.querySelectorAll(e),n=0,r=i.length;r>n;n++)if(i[n]===t)return!0;return!1}function r(t,e){return o(t),i(t,e)}var s,a=function(){if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],i=0,o=t.length;o>i;i++){var n=t[i],r=n+"MatchesSelector";if(e[r])return r}}();if(a){var u=document.createElement("div"),p=i(u,"div");s=p?i:r}else s=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return s}):window.matchesSelector=s}(this,Element.prototype),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){for(var e in t)return!1;return e=null,!0}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function n(t,n,r){function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=r("transition"),p=r("transform"),h=u&&p,f=!!r("perspective"),c={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[u],d=["transform","transition","transitionDuration","transitionProperty"],l=function(){for(var t={},e=0,i=d.length;i>e;e++){var o=d[e],n=r(o);n&&n!==o&&(t[o]=n)}return t}();e(a.prototype,t.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){var o=l[i]||i;e[o]=t[i]}},a.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,i=e.isOriginLeft,o=e.isOriginTop,n=parseInt(t[i?"left":"right"],10),r=parseInt(t[o?"top":"bottom"],10);n=isNaN(n)?0:n,r=isNaN(r)?0:r;var a=this.layout.size;n-=i?a.paddingLeft:a.paddingRight,r-=o?a.paddingTop:a.paddingBottom,this.position.x=n,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={};
483e.isOriginLeft?(i.left=this.position.x+t.paddingLeft+"px",i.right=""):(i.right=this.position.x+t.paddingRight+"px",i.left=""),e.isOriginTop?(i.top=this.position.y+t.paddingTop+"px",i.bottom=""):(i.bottom=this.position.y+t.paddingBottom+"px",i.top=""),this.css(i),this.emitEvent("layout",[this])};var y=f?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),r=parseInt(e,10),s=n===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return this.layoutPosition(),void 0;var a=t-i,u=e-o,p={},h=this.layout.options;a=h.isOriginLeft?a:-a,u=h.isOriginTop?u:-u,p.transform=y(a,u),this.transition({to:p,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=h?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return this._nonTransition(t),void 0;var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var m=p&&o(p)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(c,this,!1))},a.prototype.transition=a.prototype[u?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(c,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(v)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!u||!parseFloat(this.layout.options.transitionDuration))return this.removeElem(),void 0;var t=this;this.on("transitionEnd",function(){return t.removeElem(),!0}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options;this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0})},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options;this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:{opacity:function(){this.isHidden&&this.css({display:"none"})}}})},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}var r=t.getComputedStyle,s=r?function(t){return r(t,null)}:function(t){return t.currentStyle};"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property"],n):(t.Outlayer={},t.Outlayer.Item=n(t.EventEmitter,t.getSize,t.getStyleProperty))}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===f.call(t)}function o(t){var e=[];
483if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=d(e,t);-1!==i&&e.splice(i,1)}function r(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}function s(i,s,f,d,l,y){function m(t,i){if("string"==typeof t&&(t=a.querySelector(t)),!t||!c(t))return u&&u.error("Bad "+this.constructor.namespace+" element: "+t),void 0;this.element=t,this.options=e({},this.constructor.defaults),this.option(i);var o=++g;this.element.outlayerGUID=o,v[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var g=0,v={};return m.namespace="outlayer",m.Item=y,m.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(m.prototype,f.prototype),m.prototype.option=function(t){e(this.options,t)},m.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},m.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},m.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,r=e.length;r>n;n++){var s=e[n],a=new i(s,this);o.push(a)}return o},m.prototype._filterFindItemElements=function(t){t=o(t);for(var e=this.options.itemSelector,i=[],n=0,r=t.length;r>n;n++){var s=t[n];if(c(s))if(e){l(s,e)&&i.push(s);for(var a=s.querySelectorAll(e),u=0,p=a.length;p>u;u++)i.push(a[u])}else i.push(s)}return i},m.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},m.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},m.prototype._init=m.prototype.layout,m.prototype._resetLayout=function(){this.getSize()},m.prototype.getSize=function(){this.size=d(this.element)},m.prototype._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):c(o)&&(i=o),this[t]=i?d(i)[e]:o):this[t]=0},m.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},m.prototype._getItemsForLayout=function(t){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i];n.isIgnored||e.push(n)}return e},m.prototype._layoutItems=function(t,e){function i(){o.emitEvent("layoutComplete",[o,t])}var o=this;if(!t||!t.length)return i(),void 0;this._itemsOn(t,"layout",i);for(var n=[],r=0,s=t.length;s>r;r++){var a=t[r],u=this._getItemLayoutPosition(a);u.item=a,u.isInstant=e||a.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)},m.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},m.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];this._positionItem(o.item,o.x,o.y,o.isInstant)}},m.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},m.prototype._postLayout=function(){this.resizeContainer()},m.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},m.prototype._getContainerSize=h,m.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},m.prototype._itemsOn=function(t,e,i){function o(){return n++,n===r&&i.call(s),!0}for(var n=0,r=t.length,s=this,a=0,u=t.length;u>a;a++){var p=t[a];p.on(e,o)}},m.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},m.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},m.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.
483concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},m.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n(o,this.stamps),this.unignore(o)}},m.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o(t)):void 0},m.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},m.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},m.prototype._manageStamp=h,m.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=d(t),n={left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom};return n},m.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},m.prototype.bindResize=function(){this.isResizeBound||(i.bind(t,"resize",this),this.isResizeBound=!0)},m.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(t,"resize",this),this.isResizeBound=!1},m.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},m.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.prototype.needsResizeLayout=function(){var t=d(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},m.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},m.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},m.prototype.reveal=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.reveal()}},m.prototype.hide=function(t){var e=t&&t.length;if(e)for(var i=0;e>i;i++){var o=t[i];o.hide()}},m.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];if(o.element===t)return o}},m.prototype.getItems=function(t){if(t&&t.length){for(var e=[],i=0,o=t.length;o>i;i++){var n=t[i],r=this.getItem(n);r&&e.push(r)}return e}},m.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(e&&e.length){this._itemsOn(e,"remove",function(){this.emitEvent("removeComplete",[this,e])});for(var i=0,r=e.length;r>i;i++){var s=e[i];s.remove(),n(s,this.items)}}},m.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){var o=this.items[e];o.destroy()}this.unbindResize(),delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},m.data=function(t){var e=t&&t.outlayerGUID;return e&&v[e]},m.create=function(t,i){function o(){m.apply(this,arguments)}return Object.create?o.prototype=Object.create(m.prototype):e(o.prototype,m.prototype),o.prototype.constructor=o,o.defaults=e({},m.defaults),e(o.defaults,i),o.prototype.settings={},o.namespace=t,o.data=m.data,o.Item=function(){y.apply(this,arguments)},o.Item.prototype=new y,s(function(){for(var e=r(t),i=a.querySelectorAll(".js-"+e),n="data-"+e+"-options",s=0,h=i.length;h>s;s++){var f,c=i[s],d=c.getAttribute(n);try{f=d&&JSON.parse(d)}catch(l){u&&u.error("Error parsing "+n+" on "+c.nodeName.toLowerCase()+(c.id?"#"+c.id:"")+": "+l);continue}var y=new o(c,f);p&&p.data(c,t,y)}}),p&&p.bridget&&p.bridget(t,o),o},m.Item=y,m}var a=t.document,u=t.console,p=t.jQuery,h=function(){},f=Object.prototype.toString,c="object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1===t.nodeType&&"string"==typeof t.nodeName},d=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","doc-ready/doc-ready","eventEmitter/EventEmitter","get-size/get-size","matches-selector/matches-selector","./item"],s):t.Outlayer=s(t.eventie,t.docReady,t.EventEmitter,t.getSize,t.matchesSelector,t.Outlayer.Item)}(window),function(t){function e(t){function e(){t.Item.apply(this,arguments)}return e.prototype=new t.Item,e.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},e.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}},e}"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window),function(t){function e(t,e){function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return e.prototype[t].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],n=0,r=o.length;r>n;n++){var s=o[n];i.prototype[s]=t(s)}}(),i.prototype.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;
483return i&&e.innerHeight!==this.isotope.size.innerHeight},i.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},i.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},i.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},i.prototype.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},i.prototype.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},i.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},i.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function o(){i.apply(this,arguments)}return o.prototype=new i,e&&(o.options=e),o.prototype.namespace=t,i.modes[t]=o,o},i}"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window),function(t){function e(t,e){var o=t.create("masonry");return o.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},o.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}this.columnWidth+=this.gutter,this.cols=Math.floor((this.containerWidth+this.gutter)/this.columnWidth),this.cols=Math.max(this.cols,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,o=e&&1>e?"round":"ceil",n=Math[o](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this._getColGroup(n),s=Math.min.apply(Math,r),a=i(r,s),u={x:this.columnWidth*a,y:s},p=s+t.size.outerHeight,h=this.cols+1-r.length,f=0;h>f;f++)this.colYs[a+f]=p;return u},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;i>o;o++){var n=this.colYs.slice(o,o+t);e[o]=Math.max.apply(Math,n)}return e},o.prototype._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this.options.isOriginLeft?o.left:o.right,r=n+i.outerWidth,s=Math.floor(n/this.columnWidth);s=Math.max(0,s);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?o.top:o.bottom)+i.outerHeight,p=s;a>=p;p++)this.colYs[p]=Math.max(u,this.colYs[p])},o.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},o.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}var i=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++){var n=t[i];if(n===e)return i}return-1};"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):t.Masonry=e(t.Outlayer,t.getSize)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t,i){var o=t.create("masonry"),n=o.prototype._getElementOffset,r=o.prototype.layout,s=o.prototype._getMeasurement;e(o.prototype,i.prototype),o.prototype._getElementOffset=n,o.prototype.layout=r,o.prototype._getMeasurement=s;var a=o.prototype.measureColumns;o.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,a.call(this)};var u=o.prototype._manageStamp;return o.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},o}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],i):i(t.Isotope.LayoutMode,t.Masonry)}(window),function(t){function e(t){var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.x&&t.size.outerWidth+this.x>this.isotope.size.innerWidth&&(this.x=0,this.y=this.maxY);var e={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=t.size.outerWidth,e},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t){var e=t.create("vertical",{horizontalAlignment:0});return e.prototype._resetLayout=function(){this.y=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},e.prototype._getContainerSize=function(){return{height:this.y}},e}"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):e(t.Isotope.LayoutMode)}(window),function(t){function e(t,e){for(var i in e)t[i]=e[i];return t}function i(t){return"[object Array]"===h.call(t)}function o(t){var e=[];
483if(i(t))e=t;else if(t&&"number"==typeof t.length)for(var o=0,n=t.length;n>o;o++)e.push(t[o]);else e.push(t);return e}function n(t,e){var i=f(e,t);-1!==i&&e.splice(i,1)}function r(t,i,r,u,h){function f(t,e){return function(i,o){for(var n=0,r=t.length;r>n;n++){var s=t[n],a=i.sortData[s],u=o.sortData[s];if(a>u||u>a){var p=void 0!==e[s]?e[s]:e,h=p?1:-1;return(a>u?1:-1)*h}}return 0}}var c=t.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});c.Item=u,c.LayoutMode=h,c.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),t.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var e in h.modes)this._initLayoutMode(e)},c.prototype.reloadItems=function(){this.itemGUID=0,t.prototype.reloadItems.call(this)},c.prototype._itemize=function(){for(var e=t.prototype._itemize.apply(this,arguments),i=0,o=e.length;o>i;i++){var n=e[i];n.id=this.itemGUID++}return this._updateItemsSortData(e),e},c.prototype._initLayoutMode=function(t){var i=h.modes[t],o=this.options[t]||{};this.options[t]=i.options?e(i.options,o):o,this.modes[t]=new i(this)},c.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?(this.arrange(),void 0):(this._layout(),void 0)},c.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},c.prototype.arrange=function(t){this.option(t),this._getIsInstant(),this.filteredItems=this._filter(this.items),this._sort(),this._layout()},c.prototype._init=c.prototype.arrange,c.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},c.prototype._filter=function(t){function e(){f.reveal(n),f.hide(r)}var i=this.options.filter;i=i||"*";for(var o=[],n=[],r=[],s=this._getFilterTest(i),a=0,u=t.length;u>a;a++){var p=t[a];if(!p.isIgnored){var h=s(p);h&&o.push(p),h&&p.isHidden?n.push(p):h||p.isHidden||r.push(p)}}var f=this;return this._isInstant?this._noTransition(e):e(),o},c.prototype._getFilterTest=function(t){return s&&this.options.isJQueryFiltering?function(e){return s(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return r(e.element,t)}},c.prototype.updateSortData=function(t){this._getSorters(),t=o(t);var e=this.getItems(t);e=e.length?e:this.items,this._updateItemsSortData(e) 484},c.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},c.prototype._updateItemsSortData=function(t){for(var e=0,i=t.length;i>e;e++){var o=t[e];o.updateSortData()}};var d=function(){function t(t){if("string"!=typeof t)return t;var i=a(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),r=n&&n[1],s=e(r,o),u=c.sortDataParsers[i[1]];return t=u?function(t){return t&&u(s(t))}:function(t){return t&&s(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&p(i)}}return t}();c.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},c.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=f(e,this.options.sortAscending);this.filteredItems.sort(i),t!==this.sortHistory[0]&&this.sortHistory.unshift(t)}},c.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw Error("No layout mode: "+t);return e.options=this.options[t],e},c.prototype._resetLayout=function(){t.prototype._resetLayout.call(this),this._mode()._resetLayout()},c.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},c.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},c.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},c.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},c.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},c.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(i),this.filteredItems=o.concat(this.filteredItems)}},c.prototype._filterRevealAdded=function(t){var e=this._noTransition(function(){return this._filter(t)});return this.layoutItems(e,!0),this.reveal(e),t},c.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;n>i;i++)o=e[i],this.element.appendChild(o.element);var r=this._filter(e);for(this._noTransition(function(){this.hide(r)}),i=0;n>i;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;n>i;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var l=c.prototype.remove;return c.prototype.remove=function(t){t=o(t);var e=this.getItems(t);if(l.call(this,t),e&&e.length)for(var i=0,r=e.length;r>i;i++){var s=e[i];n(s,this.filteredItems)}},c.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},c}var s=t.jQuery,a=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},u=document.documentElement,p=u.textContent?function(t){return t.textContent}:function(t){return t.innerText},h=Object.prototype.toString,f=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,o=t.length;o>i;i++)if(t[i]===e)return i;return-1};"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],r):t.Isotope=r(t.Outlayer,t.getSize,t.matchesSelector,t.Isotope.Item,t.Isotope.LayoutMode)}(window); 485 486/*global jQuery */ 487/*jshint browser:true */ 488/*! 489 * FitVids 1.1 490 *
491 * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com 492 * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ 493 * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ 494 * 495 */ 496 497(function(e){"use strict";e.fn.fitVids=function(t){var n={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0];var i=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";var s=document.createElement("div");s.innerHTML='<p>x</p><style id="fit-vids-style">'+i+"</style>";r.appendChild(s.childNodes[1])}if(t){e.extend(n,t)}return this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(n.customSelector){t.push(n.customSelector)}var r=".fitvidsignore";if(n.ignore){r=r+", "+n.ignore}var i=e(this).find(t.join(","));i=i.not("object object");i=i.not(r);i.each(function(){var t=e(this);if(t.parents(r).length>0){return}if(this.tagName.toLowerCase()==="embed"&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length){return}if(!t.css("height")&&!t.css("width")&&(isNaN(t.attr("height"))||isNaN(t.attr("width")))){t.attr("height",9);t.attr("width",16)}var n=this.tagName.toLowerCase()==="object"||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),i=!isNaN(parseInt(t.attr("width"),10))?parseInt(t.attr("width"),10):t.width(),s=n/i;if(!t.attr("id")){var o="fitvid"+Math.floor(Math.random()*999999);t.attr("id",o)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",s*100+"%");t.removeAttr("height").removeAttr("width")})})}})(window.jQuery||window.Zepto); 498 499 500// Generated by CoffeeScript 1.6.2 501/*! 502 jQuery Waypoints - v2.0.5 503 Copyright (c) 2011-2014 Caleb Troughton 504 Licensed under the MIT license. 505 https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt 506 */ 507(function(){var t=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++){if(e in this&&this[e]===t)return e}return-1},e=[].slice;(function(t,e){if(typeof define==="function"&&define.amd){return define("waypoints",["jquery"],function(n){return e(n,t)})}else{return e(t.jQuery,t)}})(window,function(n,r){var i,o,l,s,f,u,c,a,h,d,p,y,v,w,g,m;i=n(r);a=t.call(r,"ontouchstart")>=0;s={horizontal:{},vertical:{}};f=1;c={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=false;this.didScroll=false;this.id="context"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};this.element[u]=this.id;c[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||a)){e.didScroll=true;t=function(){e.doScroll();return e.didScroll=false};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=true;t=function(){n[m]("refresh");return e.didResize=false};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(a&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m]("viewportHe
507ight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parseFloat(i);if(r.options.offset.indexOf("%")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete c[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportHeight");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=this.element[w])!=null?o:[];i.push(this.id);this.element[w]=i}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=t[w];if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;e=n.extend({},n.fn[g].defaults,e);if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=c[i[0][u]];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke.call(this,"disable")},enable:function(){return d._invoke.call(this,"enable")},destroy:function(){return d._invoke.call(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e<n.length-1){return t.push(n[e+1])}})},_traverse:function(t,e,i){var o,l;if(t==null){t="vertical"}if(e==null){e=r}l=h.aggregate(e);o=[];this.each(function(){var e;e=n.inArray(this,l[t]);return i(o,e,l[t])});return this.pushStack(o)},_invoke:function(t){this.each(function(){var e;e=l.getWaypointsByElement(this);
vendor: 1,761 bytes, line 507
507return n.each(e,function(e,n){n[t]();return true})});return this}};n.fn[g]=function(){var t,r;r=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(d[r]){return d[r].apply(this,t)}else if(n.isFunction(r)){return d.init.apply(this,arguments)}else if(n.isPlainObject(r)){return d.init.apply(this,[null,r])}else if(!r){return n.error("jQuery Waypoints needs a callback function or handler option.")}else{return n.error("The "+r+" method does not exist in jQuery Waypoints.")}};n.fn[g].defaults={context:r,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};h={refresh:function(){return n.each(c,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return(t=r.innerHeight)!=null?t:i.height()},aggregate:function(t){var e,r,i;e=s;if(t){e=(i=c[n(t)[0][u]])!=null?i.waypoints:void 0}if(!e){return[]}r={horizontal:[],vertical:[]};n.each(r,function(t,i){n.each(e[t],function(t,e){return i.push(e)});i.sort(function(t,e){return t.offset-e.offset});r[t]=n.map(i,function(t){return t.element});return r[t]=n.unique(r[t])});return r},above:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);
507return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=c[n(t)[0][u]];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.on("load.waypoints",function(){return n[m]("refresh")})})}).call(this); 508 509 510// counters function 511(function(e){e.fn.countTo=function(t){t=e.extend({},e.fn.countTo.defaults,t||{});var n=Math.ceil(t.speed/t.refreshInterval),r=(t.to-t.from)/n;return e(this).each(function(){function a(){o+=r;s++;e(i).html(o.toFixed(t.decimals));if(typeof t.onUpdate=="function"){t.onUpdate.call(i,o)}if(s>=n){clearInterval(u);o=t.to;if(typeof t.onComplete=="function"){t.onComplete.call(i,o)}}}var i=this,s=0,o=t.from,u=setInterval(a,t.refreshInterval)})};e.fn.countTo.defaults={from:0,to:100,speed:1e3,refreshInterval:100,decimals:0,onUpdate:null,onComplete:null}})(jQuery); 512 513 514/*! 515 * Retina.js v1.3.0 516 * 517 * Copyright 2014 Imulus, LLC 518 * Released under the MIT license 519 * 520 * Retina.js is an open source script that makes it easy to serve 521 * high-resolution images to devices with retina displays. 522 */ 523!function(){function a(){}function b(a){return f.retinaImageSuffix+a}function c(a,c){if(this.path=a||"","undefined"!=typeof c&&null!==c)this.at_2x_path=c,this.perform_check=!1;else{if(void 0!==document.createElement){var d=document.createElement("a");d.href=this.path,d.pathname=d.pathname.replace(g,b),this.at_2x_path=d.href}else{var e=this.path.split("?");e[0]=e[0].replace(g,b),this.at_2x_path=e.join("?")}this.perform_check=!0}}function d(a){this.el=a,this.path=new c(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var b=this;this.path.check_2x_variant(function(a){a&&b.swap()})}var e="undefined"==typeof exports?window:exports,f={retinaImageSuffix:"@2x",check_mime_type:!0,force_original_dimensions:!0};e.Retina=a,a.configure=function(a){null===a&&(a={});for(var b in a)a.hasOwnProperty(b)&&(f[b]=a[b])},a.init=function(a){null===a&&(a=e);var b=a.onload||function(){};a.onload=function(){var a,c,e=document.getElementsByTagName("img"),f=[];for(a=0;a<e.length;a+=1)c=e[a],c.getAttributeNode("data-no-retina")||f.push(new d(c));b()}},a.isRetina=function(){var a="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";return e.devicePixelRatio>1?!0:e.matchMedia&&e.matchMedia(a).matches?!0:!1};var g=/\.\w+$/;e.RetinaImagePath=c,c.confirmed_paths=[],c.prototype.is_external=function(){return!(!this.path.match(/^https?\:/i)||this.path.match("//"+document.domain))},c.prototype.check_2x_variant=function(a){var b,d=this;return this.is_external()?a(!1):this.perform_check||"undefined"==typeof this.at_2x_path||null===this.at_2x_path?this.at_2x_path in c.confirmed_paths?a(!0):(b=new XMLHttpRequest,b.open("HEAD",this.at_2x_path),b.onreadystatechange=function(){if(4!==b.readyState)return a(!1);if(b.status>=200&&b.status<=399){if(f.check_mime_type){var e=b.getResponseHeader("Content-Type");if(null===e||!e.match(/^image/i))return a(!1)}return c.confirmed_paths.push(d.at_2x_path),a(!0)}return a(!1)},b.send(),void 0):a(!0)},e.RetinaImage=d,d.prototype.swap=function(a){function b(){c.el.complete?(f.force_original_dimensions&&(c.el.setAttribute("width",c.el.offsetWidth),c.el.setAttribute("height",c.el.offsetHeight)),c.el.setAttribute("src",a)):setTimeout(b,5)}"undefined"==typeof a&&(a=this.path.at_2x_path);var c=this;b()},a.isRetina()&&a.init(e)}(); 524 525/** 526 * pathLoader.js v1.0.0 527 * http://www.codrops.com 528 * 529 * Licensed under the MIT license. 530 * http://www.opensource.org/licenses/mit-license.php 531 * 532 * Copyright 2014, Codrops 533 * http://www.codrops.com 534 */ 535 536(function(e){"use strict";function t(e){this.el=e;this.el.style.strokeDasharray=this.el.style.strokeDashoffset=this.el.getTotalLength()}t.prototype._draw=function(e){this.el.style.strokeDashoffset=this.el.getTotalLength()*(1-e)};t.prototype.setProgress=function(e,t){this._draw(e);if(t&&typeof t==="function"){setTimeout(t,200)}};t.prototype.setProgressFn=function(e){if(typeof e==="function"){e(this)}};e.PathLoader=t})(window); 537; 538/** 539 * main.js 540 * http://www.codrops.com 541 * 542 * Licensed under the MIT license. 543 * http://www.opensource.org/licenses/mit-license.php 544 * 545 * Copyright 2014, Codrops 546 * http://www.codrops.com 547 */ 548var $ = jQuery.noConflict(); 549$(document).ready(function () { 550 551 var support = { animations : Modernizr.cssanimations }, 552 container = document.getElementById( 'bigWrapper' ), 553 header = container.querySelector( '.ip-header' ), 554 loader = new PathLoader( document.getElementById( 'ip-loader-circle' ) ), 555 animEndEventNames = { 'WebkitAnimation' : 'webkitAnimationEnd', 'OAnimation' : 'oAnimationEnd', 'msAnimation' : 'MSAnimationEnd', 'animation' : 'animationend' }, 556 // animation end event name 557 animEndEventName = animEndEventNames[ Modernizr.prefixed( 'animation' ) ]; 558
559 function init() { 560 var onEndInitialAnimation = function() { 561 if( support.animations ) { 562 this.removeEventListener( animEndEventName, onEndInitialAnimation ); 563 } 564 565 startLoading(); 566 }; 567 568 // disable scrolling 569 //window.addEventListener( 'scroll', noscroll ); 570 571 // initial animation 572 classie.add( container, 'loading' ); 573 574 if( support.animations ) { 575 container.addEventListener( animEndEventName, onEndInitialAnimation ); 576 } 577 else { 578 onEndInitialAnimation(); 579 } 580 } 581 582 function startLoading() { 583 // simulate loading something.. 584 var simulationFn = function(instance) { 585 var progress = 0, 586 interval = setInterval( function() { 587 progress = Math.min( progress + Math.random() * 0.1, 1 ); 588 589 instance.setProgress( progress ); 590 591 // reached the end 592 if( progress === 1 ) { 593 classie.remove( container, 'loading' ); 594 classie.add( container, 'loaded' ); 595 clearInterval( interval ); 596 597 var onEndHeaderAnimation = function(ev) { 598 if( support.animations ) { 599 if( ev.target !== header ) return; 600 this.removeEventListener( animEndEventName, onEndHeaderAnimation ); 601 } 602 603 classie.add( document.body, 'layout-switch' ); 604 //window.removeEventListener( 'scroll', noscroll ); 605 }; 606 607 if( support.animations ) { 608 header.addEventListener( animEndEventName, onEndHeaderAnimation ); 609 } 610 else { 611 onEndHeaderAnimation(); 612 } 613 } 614 }, 80 ); 615 }; 616 617 loader.setProgressFn( simulationFn ); 618 } 619 620 function noscroll() { 621 window.scrollTo( 0, 0 ); 622 } 623
624 init(); 625 626});; 627var $ = jQuery.noConflict(); 628$(document).ready(function () { 629 630 var overlay = document.querySelector( 'div.overlay' ), 631 closeBttn = overlay.querySelector( 'a.overlay-close' ); 632 transEndEventNames = { 633 'WebkitTransition': 'webkitTransitionEnd', 634 'MozTransition': 'transitionend', 635 'OTransition': 'oTransitionEnd', 636 'msTransition': 'MSTransitionEnd', 637 'transition': 'transitionend' 638 }, 639 transEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ], 640 support = { transitions : Modernizr.csstransitions }; 641 642 function toggleOverlay() { 643 if( classie.has( overlay, 'open' ) ) { 644 classie.remove( overlay, 'open' ); 645 classie.add( overlay, 'close' ); 646 var onEndTransitionFn = function( ev ) { 647 if( support.transitions ) { 648 if( ev.propertyName !== 'visibility' ) return; 649 this.removeEventListener( transEndEventName, onEndTransitionFn ); 650 } 651 classie.remove( overlay, 'close' ); 652 }; 653 if( support.transitions ) { 654 overlay.addEventListener( transEndEventName, onEndTransitionFn ); 655 } 656 else { 657 onEndTransitionFn(); 658 } 659 } 660 else if( !classie.has( overlay, 'close' ) ) { 661 classie.add( overlay, 'open' ); 662 } 663 664 $("div.overlay").animate({ scrollTop: 0 }, "slow"); 665 } 666 667 $( ".portfolio-item" ).each(function() { 668 var id = $( this ).find('.overlay-ajax').attr('id'); 669 document.getElementById( id ).addEventListener( 'click', toggleOverlay ); 670 }); 671 672 673 closeBttn.addEventListener( 'click', toggleOverlay ); 674 return false; 675}); 676; 677var $ = jQuery.noConflict(); 678$(document).ready(function () { 679 680 window.onload = function () { 681 document.getElementById('button').onclick = function () { 682 document.getElementById('modal').style.display = "none" 683 }; 684 }; 685 686 687 $( ".form-item.form-item-mail" ).append( '<input name="newsletter-submit" type="submit" class="newsletter-submit" value=">" size="1" />'); 688 689 $('.newsletter-submit').click(function() { 690 $(this).load("node/65"); 691 }); 692 693 $( ".view-id-gallery .view-content > div:odd" ).css( "margin", "0 0 25px 0" ); 694 $( ".view-id-gallery .view-content > div:even" ).css( "margin", "0 2% 25px 0" ); 695 696 $( ".accomodation-item .second-images ul" ).each(function() { 697 $( this ).find(" li:even").addClass( "even" ); 698 }); 699 700 701 $(".tickets-image > img").load(function() { 702 var imageheight = ($(this).height()); 703 704 $( ".whiteBox" ).css( "height", imageheight); 705 706 }); 707 708 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 709 /* Add value on send button */ 710 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 711 712 $( ".webform-client-form-86 input.webform-submit" ).val('BOOK NOW'); 713 $( ".webform-client-form-82 input.webform-submit" ).val('FIND FLIGHTS'); 714 $( ".entrioButton.widget" ).val('ORDER'); 715 716 717 718 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 719 /* Chabge order of elements */ 720 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 721 722 var list = $('.webform-component--arival-date .webform-container-inline'); 723 var listItems = list.children('.form-item'); 724 list.append(listItems.get().reverse()); 725 726 var list = $('.webform-component--departure-date .webform-container-inline'); 727 var listItems = list.children('.form-item'); 728 list.append(listItems.get().reverse()); 729 730 var list = $('.webform-component--arrival-date .webform-container-inline'); 731 var listItems = list.children('.form-item'); 732 list.append(listItems.get().reverse()); 733 734 735 736 "use strict"; 737 738 $(".navbar").affix({ 739 offset: { 740 top: 50 741 } 742 }); 743 744 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 745 /* Intro Height */ 746 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 747 748 function introHeight() { 749 var wh = $(window).height(); 750 $('#intro').css({height: wh}); 751 } 752 753 introHeight(); 754 $(window).bind('resize',function () { 755 //Update slider height on resize 756 introHeight(); 757 }); 758 759 760 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 761 /* contact form init */ 762 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 763 764 $('#contactform').submit(function(){ 765 var action = $(this).attr('action'); 766 $("#result").slideUp(300,function() { 767 $('#result').hide(); 768 $('#submit') 769 .attr('disabled','disabled'); 770 $.post(action, { 771 name: $('#name').val(), 772 email: $('#email').val(), 773 phone: $('#phone').val(), 774 comments: $('#comments').val(), 775 }, 776 function(data){ 777 document.getElementById('result').innerHTML = data; 778 $('#result').slideDown('slow'); 779 $('#submit').removeAttr('disabled'); 780 if(data.match('success') != null) $('#contactform').slideUp('slow'); 781 } 782 ); 783 784 }); 785 786 return false;
787 788 }); 789 790 791 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 792 /* click switched with touch for mobile */ 793 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 794 795 796 $('.gallery-inner img').bind('touchstart', function() { 797 $(this).addClass('.gallery-inner .captionWrapper'); 798 }); 799 800 $('.gallery-inner img').bind('touchend', function() { 801 $(this).removeClass('.gallery-inner .captionWrapper'); 802 }); 803 804 805 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 806 /* Parallax init */ 807 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 808 809 if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { 810 $(function() { 811 $('.captionWrapper.valign').css({ 812 top: '120px' 813 }); 814 815 $('.parallaxLetter').css({ 816 display: 'none' 817 }); 818 }); 819 820 821 } 822 else{ 823 $(window).stellar({ 824 responsive: true, 825 horizontalOffset: 0, 826 horizontalScrolling:false 827 }); 828 } 829 830 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 831 /* fitvids */ 832 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 833 $('body').fitVids(); 834 835 836 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 837 /* Isotope */ 838 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 839 var $container = $('.gallery').imagesLoaded( function() { 840 $container.isotope({ 841 // options 842 }); 843 }); 844 845 846 $('#filters').on( 'click', 'button', function() { 847 var filterValue = $(this).attr('data-filter'); 848 $container.isotope({ filter: filterValue }); 849 }); 850 851 $container.isotope({ 852 filter: '*' // IF YOU WANT TO DISPLAY AT FIRST ONLY ONE FILTER, FOR EXAMPLE DESIGNS: SUBSTIUTE '*' WITH '.designs' 853 }); 854 855 856 // masonry 3 columns 857 $( function() { 858 var $container2 = $('.blogPostsWrapper'); 859 // initialize Masonry after all images have loaded 860 $container2.imagesLoaded(function () { 861 $container2.isotope({ 862 itemSelector: '.blogPost', 863 masonry: { 864 columnWidth: '.grid-sizer-blog-3' 865 } 866 }); 867 }); 868 }); 869 870 871 // masonry 2 columns 872 $( function() { 873 var $container3 = $('.blogPostsWrapper2'); 874 // initialize Masonry after all images have loaded 875 $container3.imagesLoaded(function () { 876 $container3.isotope({ 877 itemSelector: '.blogPost2', 878 masonry: { 879 columnWidth: '.grid-sizer-blog-2' 880 } 881 }); 882 }); 883 }); 884 885 886 887 888 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 889 /* overlay portfolio */ 890 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 891 $("a.overlay-ajax").click(function(){ 892 var url = $(this).attr("href").replace(/[#\!]/g, '' ).split("/")[1]; 893 //$(".overlay-section").load(url + ' #transmitter'); 894 portfolio_loadajax(url); 895 $( "body" ).addClass( "noscroll" ); 896 $('.video').fitVids(); 897 return false; 898 }); 899 900 $('a.overlay-close img').click(function(){ 901 $( ".overlay-section" ).empty(); 902 $('.ajax-loader').show(); 903 $( "body" ).removeClass( "noscroll" ); 904 }); 905 906 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 907 /* smoothscroll */ 908 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 909 smoothScroll.init({ 910 speed: 1000 911 }); 912 913 914 915 916 917 918 919 920 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 921 /* scrollreveal */ 922 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 923 if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { 924 // some code.. 925 } 926 927 else{ 928 window.scrollReveal = new scrollReveal(); 929 } 930 931 932 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 933 /* owl-carousels */ 934 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 935 $("#owl-team").owlCarousel({ 936 singleItem: true, 937 autoPlay: true, 938 navigation: true, 939 navigationText: [ 940 "<i class='fa fa-angle-left fa-4x'></i>", 941 "<i class='fa fa-angle-right fa-4x'></i>" 942 ] 943 }); 944 945 946 947 $("#owl-clients").owlCarousel({ 948 items:4, 949 navigation: false, 950 itemsDesktop : [1199,3], 951 itemsDesktopSmall : [980,2],
952 itemsTablet: [768,2], 953 itemsMobile : [479,1] 954 }); 955 956 957 $("#owl-testimonials").owlCarousel({ 958 singleItem: true, 959 autoPlay: true 960 }); 961 962 963 $("#owl-featured").owlCarousel({ 964 items:3, 965 itemsDesktop : [1199,3], 966 itemsDesktopSmall : [980,2], 967 itemsTablet: [768,2], 968 itemsMobile : [479,1], 969 navigation: true, 970 navigationText: [ 971 "<i class='fa fa-angle-left fa-2x featuredNav'></i>", 972 "<i class='fa fa-angle-right fa-2x featuredNav'></i>" 973 ] 974 }); 975 976 $("#owl-blog-single").owlCarousel({ 977 singleItem: true, 978 navigation: true, 979 navigationText: [ 980 "<i class='fa fa-angle-left fa-2x blogNav'></i>", 981 "<i class='fa fa-angle-right fa-2x blogNav'></i>" 982 ] 983 }); 984 985 986 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 987 /* timers */ 988 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 989 $('#text-separator-timers').waypoint(function() { 990 "use strict"; 991 // first timer 992 993 $( "#text-separator-timers .timerWrapper" ).each(function( index ) { 994 var timer = $(this).find('.timer'); 995 timer.countTo({ 996 from: 0, // the number you want to start 997 to: timer.attr('data-value'), // the number you want to reach 998 speed: 4000, 999 refreshInterval: 100 1000 1001 }); 1002 }); 1003 1004 $('.timer1').countTo({ 1005 1006 from: 0, // the number you want to start 1007 to: 8679, // the number you want to reach 1008 speed: 4000, 1009 refreshInterval: 100 1010 1011 }); 1012 1013 // second timer 1014 $('.timer2').countTo({ 1015 1016 from: 0,// the number you want to start 1017 to: 340,// the number you want to reach 1018 speed: 2500, 1019 refreshInterval: 50 1020 1021 }); 1022 1023 1024 // third timer 1025 $('.timer3').countTo({ 1026 1027 from: 0,// the number you want to start 1028 to: 100,// the number you want to reach 1029 speed: 2000, 1030 refreshInterval: 10 1031 }); 1032 1033 1034 // fourth timer 1035 $('.timer4').countTo({ 1036 1037 from: 0,// the number you want to start 1038 to: 3456,// the number you want to reach 1039 speed: 4000, 1040 refreshInterval: 10, 1041 1042 1043 }); 1044 1045 1046 }, { offset: 500 }); 1047 1048 $(function() { 1049 $('.navbar-nav a').bind('click', function(event) { 1050 var $anchor = $(this); 1051 $('html, body').stop().animate({ 1052 scrollTop: $($anchor.attr('href')).offset().top - 70 1053 }, 1000); 1054 event.preventDefault(); 1055 }); 1056 }); 1057 1058 $(function() { 1059 $('.backToTop a').bind('click', function(event) { 1060 var $anchor = $(this); 1061 $('html, body').stop().animate({ 1062 scrollTop: $($anchor.attr('href')).offset().top - 70 1063 }, 1000); 1064 event.preventDefault(); 1065 }); 1066 }); 1067 1068 function portfolio_loadajax(nodeid){ 1069 $.ajax({ 1070 type : 'POST', 1071 url : "portfolio", 1072 dataType : 'html', 1073 data: { 1074 node_id : nodeid 1075 }, 1076 success : function(data){ 1077 $('.ajax-loader').fadeOut(); 1078 $(".overlay-section").html(data); 1079 $('.overlay-close img').tooltip(); 1080 } 1081 }); 1082 } 1083}); 1084 1085$(document).ready(function () { 1086 1087 $( "#entrioSingleWidgetForm table thead tr th" ).first().text( "TICKET TYPE" ).css("color", "#333333"); 1088 1089 1090 // remove label Sales ends 1091 $( "#entrioSingleWidgetForm table thead tr th:nth-child(1)" ).hide(); 1092 1093 // remove column Sales ends 1094 var spans = $( "td:contains('@')" ); 1095 $( "#entrioSingleWidgetForm table tbody" ).find( spans ).css( "display", "none" ); 1096 1097 1098 $(".hulk").click(function (e) { 1099 1100 $('html, body').animate({ 1101 scrollTop: ($('#accomoddation-top').first().offset().top) 1102 },500); 1103 e.preventDefault(); 1104 }); 1105 1106});; 1107$(document).ready(function () { 1108 1109/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 1110/* google */ 1111/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 1112function initialize() { 1113 var map_canvas = document.getElementById('googleMap'); 1114 1115 var lat = $('#googleMap').attr('data-lat'); 1116 var lng = $('#googleMap').attr('data-lng'); 1117 var title = $('#googleMap').attr('data-title'); 1118 var description = $('#googleMap').attr('data-description'); 1119 var zoom = $('#googleMap').attr('data-zoom'); 1120 var type = $('#googleMap').attr('data-type'); 1121 1122 var map_options = { 1123 center: new google.maps.LatLng(parseFloat(lat), parseFloat(lng)), 1124 zoom: parseInt(zoom), 1125 //mapTypeId: google.maps.MapTypeId.ROADMAP, 1126 scrollwheel: false 1127 }; 1128 1129 var map = new google.maps.Map(map_canvas, map_options); 1130 var marker = new google.maps.Marker({ 1131 position: new google.maps.LatLng(parseFloat(lat), parseFloat(lng)), 1132 map: map, 1133 title: title 1134 }); 1135 var styles = [ 1136 { 1137 "featureType": "landscape", 1138 "stylers": [ 1139 { "visibility": "on" }, 1140 { "color": "#282828" } 1141 ] 1142 },{ 1143 "featureType": "poi", 1144 "stylers": [ 1145 { "visibility": "off" } 1146 ] 1147 },{ 1148 "featureType": "road", 1149 "stylers": [ 1150 { "color": "#383838" } 1151 ] 1152 },{ 1153 "elementType": "geometry.stroke", 1154 "stylers": [ 1155 { "visibility": "off" } 1156 ] 1157 },{ 1158 "featureType": "poi", 1159 "elementType": "labels.text.fill", 1160 "stylers": [ 1161 { "visibility": "on" }, 1162 { "weight": 8 }, 1163 { "hue": "#ff0000" }, 1164 { "color": "#ffffff" } 1165 ] 1166 },{ 1167 "featureType": "landscape", 1168 "elementType": "labels.text.stroke", 1169 "stylers": [ 1170 { "color": "#ffffff" }, 1171 { "visibility": "on" } 1172 ] 1173 },{ 1174 "featureType": "poi", 1175 "elementType": "labels.icon", 1176 "stylers": [ 1177 { "visibility": "on" } 1178 ] 1179 },{ 1180 "featureType": "water", 1181 "elementType": "labels.text.fill", 1182 "stylers": [ 1183 { "visibility": "off" }, 1184 { "color": "#ffffff" } 1185 ] 1186 },{ 1187 "featureType": "water", 1188 "elementType": "labels.text.stroke", 1189 "stylers": [ 1190 { "visibility": "on" }, 1191 { "color": "#ffffff" } 1192 ] 1193 },{ 1194 "featureType": "water", 1195 "stylers": [ 1196 { "color": "#004044" } 1197 ] 1198 },{ 1199 } 1200 ] 1201 map.setOptions({styles: styles}); 1202 map.setMapTypeId(google.maps.MapTypeId[type]); 1203} 1204google.maps.event.addDomListener(window, 'load', initialize); 1205 1206 1207});; 1208/* okvideo by okfocus ~ v2.3.2 ~ https://github.com/okfocus/okvideo */ 1209function vimeoPlayerReady(){options=jQuery(window).data("okoptions");var a=jQuery("#okplayer")[0];player=$f(a),window.setTimeout(function(){jQuery("#okplayer").css("visibility","visible")},2e3),player.addEvent("ready",function(){OKEvents.v.onReady(),OKEvents.utils.isMobile()?OKEvents.v.onPlay():(player.addEvent("play",OKEvents.v.onPlay),player.addEvent("pause",OKEvents.v.onPause),player.addEvent("finish",OKEvents.v.onFinish)),player.api("play")})}function onYouTubePlayerAPIReady(){options=jQuery(window).data("okoptions"),player=new YT.Player("okplayer",{videoId:options.video?options.video.id:null,playerVars:{autohide:1,autoplay:0,disablekb:options.keyControl
1209s,cc_load_policy:options.captions,controls:options.controls,enablejsapi:1,fs:0,modestbranding:1,origin:window.location.origin||window.location.protocol+"//"+window.location.hostname,iv_load_policy:options.annotations,loop:options.loop,showinfo:0,rel:0,wmode:"opaque",hd:options.hd},events:{onReady:OKEvents.yt.ready,onStateChange:OKEvents.yt.onStateChange,onError:OKEvents.yt.error}})}var player,OKEvents,options;!function(a){"use strict";var b="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw%3D%3D";a.okvideo=function(c){"object"!=typeof c&&(c={video:c});var d=this;d.init=function(){d.options=a.extend({},a.okvideo.options,c),null===d.options.video&&(d.options.video=d.options.source),d.setOptions();var e=d.options.target||a("body"),f=e[0]==a("body")[0]?"fixed":"absolute";e.css({position:"relative"});var g=3===d.options.controls?-999:"auto",h='<div id="okplayer-mask" style="position:'+f+';left:0;top:0;overflow:hidden;z-index:-998;height:100%;width:100%;"></div>';OKEvents.utils.isMobile()?e.append('<div id="okplayer" style="position:'+f+";left:0;top:0;overflow:hidden;z-index:"+g+';height:100%;width:100%;"></div>'):(3===d.options.controls&&e.append(h),1===d.options.adproof?e.append('<div id="okplayer" style="position:'+f+";left:-10%;top:-10%;overflow:hidden;z-index:"+g+';height:120%;width:120%;"></div>'):e.append('<div id="okplayer" style="position:'+f+";left:0;top:0;overflow:hidden;z-index:"+g+';height:100%;width:100%;"></div>')),a("#okplayer-mask").css("background-image","url("+b+")"),null===d.options.playlist.list?"youtube"===d.options.video.provider?d.loadYouTubeAPI():"vimeo"===d.options.video.provider&&(d.options.volume/=100,d.loadVimeoAPI()):d.loadYouTubeAPI()},d.setOptions=function(){for(var b in this.options)this.options[b]===!0&&(this.options[b]=1),this.options[b]===!1&&(this.options[b]=3);null===d.options.playlist.list&&(d.options.video=d.determineProvider()),a(window).data("okoptions",d.options)},d.loadYouTubeAPI=function(){d.insertJS("http://www.youtube.com/player_api")},d.loadYouTubePlaylist=function(){player.loadPlaylist(d.options.playlist.list,d.options.playlist.index,d.options.playlist.startSeconds,d.options.playlist.suggestedQuality)},d.loadVimeoAPI=function(){a("#okplayer").replaceWith(function(){return'<iframe src="http://player.vimeo.com/video/'+d.options.video.id+"?api=1&title=0&byline=0&portrait=0&playbar=0&loop="+d.options.loop+"&autoplay="+(1===d.options.autoplay?1:0)+'&player_id=okplayer" frameborder="0" style="'+a(this).attr("style")+'visibility:hidden;background-color:black;" id="'+a(this).attr("id")+'"></iframe>'}),d.insertJS("http://origin-assets.vimeo.com/js/froogaloop2.min.js",function(){vimeoPlayerReady()})},d.insertJS=function(a,b){var c=document.createElement("script");b&&(c.readyState?c.onreadystatechange=function(){("loaded"===c.readyState||"complete"===c.readyState)&&(c.onreadystatechange=null,b())}:c.onload=function(){b()}),c.src=a;var d=document.getElementsByTagName("script")[0];d.parentNode.insertBefore(c,d)},d.determineProvider=function(){var a=document.createElement("a");if(a.href=d.options.video,/youtube.com/.test(d.options.video))return{provider:"youtube",id:a.href.slice(a.href.indexOf("v=")+2).toString()};if(/vimeo.com/.test(d.options.video))return{provider:"vimeo",id:a.href.split("/")[3].toString()};if(/[-A-Za-z0-9_]+/.test(d.options.video)){var b=new String(d.options.video.match(/[-A-Za-z0-9_]+/));if(11==b.length)return{provider:"youtube",id:b.toString()};for(var c=0;c<d.options.video.length;c++)if("number"!=typeof parseInt(d.options.video[c]))throw"not vimeo but thought it was for a sec";return{provider:"vimeo",id:d.options.video}}throw"OKVideo: Invalid video source"},d.init()},a.okvideo.options={source:null,video:null,playlist:{list:null,index:0,startSeconds:0,suggestedQuality:"default"},disableKeyControl:1,captions:0,loop:1,hd:1,volume:0,adproof:!1,unstarted:null,onFinished:null,onReady:null,onPlay:null,onPause:null,buffering:null,controls:!1,autoplay:!0,annotations:!0,cued:null},a.fn.okvideo=function(b){return b.target=this,this.each(function(){new a.okvideo(b)})}}(jQuery),OKEvents={yt:{ready:function(a){a.target.setVolume(options.volume),1===options.autoplay&&(options.playlist.list?player.loadPlaylist(options.playlist.list,options.playlist.index,options.playlist.startSeconds,options.playlist.suggestedQuality):a.target.playVideo()),OKEvents.utils.isFunction(options.onReady)&&options.onReady()},onStateChange:function(a){switch(a.data){case-1:OKEvents.utils.isFunction(options.unstarted)&&options.unstarted();break;case 0:OKEvents.utils.isFunction(options.onFinished)&&options.onFinished(),options.loop&&a.target.playVideo();break;case 1:OKEvents.utils.isFunction(options.onPlay)&&options.onPlay();break;case 2:OKEvents.utils.isFunction(options.onPause)&&options.onPause();break;case 3:OKEvents.utils.isFunction(options.buffering)&&options.buffering();break;case 5:OKEvents.utils.isFunction(options.cued)&&options.cued();break;
1209default:throw"OKVideo: received invalid data from YT player."}},error:function(a){throw a}},v:{onReady:function(){OKEvents.utils.isFunction(options.onReady)&&options.onReady()},onPlay:function(){OKEvents.utils.isMobile()||player.api("setVolume",options.volume),OKEvents.utils.isFunction(options.onPlay)&&options.onPlay()},onPause:function(){OKEvents.utils.isFunction(options.onPause)&&options.onPause()},onFinish:function(){OKEvents.utils.isFunction(options.onFinish)&&options.onFinish()}},utils:{isFunction:function(a){return"function"==typeof a?!0:!1},isMobile:function(){return navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/)?!0:!1}}};; 1210 1211}
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.