/*! * Isotope PACKAGED v3.0.6 * * Licensed GPLv3 for open source use * or Isotope Commercial License for commercial use * * https://isotope.metafizzy.co * Copyright 2010-2018 Metafizzy */ (function(t,e){if(typeof define=="function"&&define.amd){define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)})}else if(typeof module=="object"&&module.exports){module.exports=e(t,require("jquery"))}else{t.jQueryBridget=e(t,t.jQuery)}})(window,function t(e,i){"use strict";var n=Array.prototype.slice;var o=e.console;var r=typeof o=="undefined"?function(){}:function(t){o.error(t)};function s(t,o,s){s=s||i||e.jQuery;if(!s){return}if(!o.prototype.option){o.prototype.option=function(t){if(!s.isPlainObject(t)){return}this.options=s.extend(true,this.options,t)}}s.fn[t]=function(t){if(typeof t=="string"){var e=n.call(arguments,1);return u(this,t,e)}h(this,t);return this};function u(e,i,n){var o;var a="$()."+t+'("'+i+'")';e.each(function(e,u){var h=s.data(u,t);if(!h){r(t+" not initialized. Cannot call methods, i.e. "+a);return}var f=h[i];if(!f||i.charAt(0)=="_"){r(a+" is not a valid method");return}var l=f.apply(h,n);o=o===undefined?l:o});return o!==undefined?o:e}function h(e,i){e.each(function(e,n){var r=s.data(n,t);if(r){r.option(i);r._init()}else{r=new o(n,i);s.data(n,t,r)}})}a(s)}function a(t){if(!t||t&&t.bridget){return}t.bridget=s}a(i||e.jQuery);return s});(function(t,e){if(typeof define=="function"&&define.amd){define("ev-emitter/ev-emitter",e)}else if(typeof module=="object"&&module.exports){module.exports=e()}else{t.EvEmitter=e()}})(typeof window!="undefined"?window:this,function(){function t(){}var e=t.prototype;e.on=function(t,e){if(!t||!e){return}var i=this._events=this._events||{};var n=i[t]=i[t]||[];if(n.indexOf(e)==-1){n.push(e)}return this};e.once=function(t,e){if(!t||!e){return}this.on(t,e);var i=this._onceEvents=this._onceEvents||{};var n=i[t]=i[t]||{};n[e]=true;return this};e.off=function(t,e){var i=this._events&&this._events[t];if(!i||!i.length){return}var n=i.indexOf(e);if(n!=-1){i.splice(n,1)}return this};e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(!i||!i.length){return}i=i.slice(0);e=e||[];var n=this._onceEvents&&this._onceEvents[t];for(var o=0;o