1 2/*! 3 * Isotope PACKAGED v2.2.2 4 * 5 * Licensed GPLv3 for open source use 6 * or Isotope Commercial License for commercial use 7 * 8 * http://isotope.metafizzy.co 9 * Copyright 2015 Metafizzy 10 */ 11(function(c){var d=Array.prototype.slice;function b(){}function a(f){if(!f){return}function h(i){if(i.prototype.option){return}i.prototype.option=function(j){if(!f.isPlainObject(j)){return}this.options=f.extend(true,this.options,j)}}var e=typeof console==="undefined"?b:function(i){console.error(i)};function g(i,j){f.fn[i]=function(n){if(typeof n==="string"){var m=d.call(arguments,1);for(var o=0,l=this.length;o<l;o++){var q=this[o];var k=f.data(q,i);if(!k){e("cannot call methods on "+i+" prior to initialization; attempted to call '"+n+"'");continue}if(!f.isFunction(k[n])||n.charAt(0)==="_"){e("no such method '"+n+"' for "+i+" instance");continue}var p=k[n].apply(k,m);if(p!==undefined){return p}}return this}else{return this.each(function(){var r=f.data(this,i);if(r){r.option(n);r._init()}else{r=new j(this,n);f.data(this,i,r)}})}}}f.bridget=function(i,j){h(j);g(i,j)};return f.bridget}if(typeof define==="function"&&define.amd){define("jquery-bridget/jquery.bridget",["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(c.jQuery)}}})(window); 12/*! 13 * eventie v1.0.6 14 * event binding helper 15 * eventie.bind( elem, 'click', myFn ) 16 * eventie.unbind( elem, 'click', myFn ) 17 * MIT license 18 */ 19(function(e){var b=document.documentElement;var f=function(){};function a(h){var g=e.event;g.target=g.target||g.srcElement||h;return g}if(b.addEventListener){f=function(i,h,g){i.addEventListener(h,g,false)}}else{if(b.attachEvent){f=function(i,h,g){i[h+g]=g.handleEvent?function(){var j=a(i);g.handleEvent.call(g,j)}:function(){var j=a(i);g.call(i,j)};i.attachEvent("on"+h,i[h+g])}}}var d=function(){};if(b.removeEventListener){d=function(i,h,g){i.removeEventListener(h,g,false)}}else{if(b.detachEvent){d=function(j,h,g){j.detachEvent("on"+h,j[h+g]);try{delete j[h+g]}catch(i){j[h+g]=undefined}}}}var c={bind:f,unbind:d};if(typeof define==="function"&&define.amd){define("eventie/eventie",c)}else{if(typeof exports==="object"){module.exports=c}else{e.eventie=c}}})(window); 20/*! 21 * EventEmitter v4.2.11 - git.io/ee 22 * Unlicense - http://unlicense.org/ 23 * Oliver Caldwell - http://oli.me.uk/ 24 * @preserve 25 */ 26(function(){function c(){}var l=c.prototype;var v=this;var x=v.EventEmitter;function h(z,A){var y=z.length;while(y--){if(z[y].listener===A){return y}}return -1}function j(y){return function z(){return this[y].apply(this,arguments)}}l.getListeners=function t(y){var B=this._getEvents();var z;var A;if(y instanceof RegExp){z={};for(A in B){if(B.hasOwnProperty(A)&&y.test(A)){z[A]=B[A]}}}else{z=B[y]||(B[y]=[])}return z};l.flattenListeners=function r(A){var y=[];var z;for(z=0;z<A.length;z+=1){y.push(A[z].listener)}return y};l.getListenersAsObject=function e(y){var A=this.getListeners(y);var z;if(A instanceof Array){z={};z[y]=A}return z||A};l.addListener=function f(y,B){var A=this.getListenersAsObject(y);var C=typeof B==="object";var z;for(z in A){if(A.hasOwnProperty(z)&&h(A[z],B)===-1){A[z].push(C?B:{listener:B,once:false})}}return this};l.on=j("addListener");l.addOnceListener=function a(y,z){return this.addListener(y,{listener:z,once:true})};l.once=j("addOnceListener");l.defineEvent=function p(y){this.getListeners(y);return this};l.defineEvents=function q(y){for(var z=0;z<y.length;z+=1){this.defineEvent(y[z])}return this};l.removeListener=function b(y,C){var B=this.getListenersAsObject(y);var z;var A;for(A in B){if(B.hasOwnProperty(A)){z=h(B[A],C);if(z!==-1){B[A].splice(z,1)}}}return this};l.off=j("removeListener");l.addListeners=function m(y,z){return this.manipulateListeners(false,y,z)};l.removeListeners=function s(y,z){return this.manipulateListeners(true,y,z)};l.manipulateListeners=function g(z,A,C){var B;var D;var E=z?this.removeListener:this.addListener;var y=z?this.removeListeners:this.addListeners;if(typeof A==="object"&&!(A instanceof RegExp)){for(B in A){if(A.hasOwnProperty(B)&&(D=A[B])){if(typeof D==="function"){E.call(this,B,D)}else{y.call(this,B,D)}}}}else{B=C.length;while(B--){E.call(this,A,C[B])}}return this};l.removeEvent=function o(y){var B=typeof y;var A=this._getEvents();var z;
26if(B==="string"){delete A[y]}else{if(y instanceof RegExp){for(z in A){if(A.hasOwnProperty(z)&&y.test(z)){delete A[z]}}}else{delete this._events}}return this};l.removeAllListeners=j("removeEvent");l.emitEvent=function u(y,A){var D=this.getListenersAsObject(y);var E;var C;var B;var z;for(B in D){if(D.hasOwnProperty(B)){C=D[B].length;while(C--){E=D[B][C];if(E.once===true){this.removeListener(y,E.listener)}z=E.listener.apply(this,A||[]);if(z===this._getOnceReturnValue()){this.removeListener(y,E.listener)}}}}return this};l.trigger=j("emitEvent");l.emit=function k(y){var z=Array.prototype.slice.call(arguments,1);return this.emitEvent(y,z)};l.setOnceReturnValue=function i(y){this._onceReturnValue=y;return this};l._getOnceReturnValue=function n(){if(this.hasOwnProperty("_onceReturnValue")){return this._onceReturnValue}else{return true}};l._getEvents=function d(){return this._events||(this._events={})};c.noConflict=function w(){v.EventEmitter=x;return c};if(typeof define==="function"&&define.amd){define("eventEmitter/EventEmitter",[],function(){return c})}else{if(typeof module==="object"&&module.exports){module.exports=c}else{v.EventEmitter=c}}}.call(this)); 27/*! 28 * getStyleProperty v1.0.4 29 * original by kangax 30 * http://perfectionkills.com/feature-testing-css-properties/ 31 * MIT license 32 */ 33(function(c){var d="Webkit Moz ms Ms O".split(" ");var b=document.documentElement.style;function a(h){if(!h){return}if(typeof b[h]==="string"){return h}h=h.charAt(0).toUpperCase()+h.slice(1);var f;for(var g=0,e=d.length;g<e;g++){f=d[g]+h;if(typeof b[f]==="string"){return f}}}if(typeof define==="function"&&define.amd){define("get-style-property/get-style-property",[],function(){return a})}else{if(typeof exports==="object"){module.exports=a}else{c.getStyleProperty=a}}})(window); 34/*! 35 * getSize v1.2.2 36 * measure size of elements 37 * MIT license 38 */ 39(function(e,g){function b(j){var i=parseFloat(j);var k=j.indexOf("%")===-1&&!isNaN(i);return k&&i}function d(){}var c=typeof console==="undefined"?d:function(i){console.error(i)};var a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function f(){var l={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};for(var k=0,j=a.length;k<j;k++){var m=a[k];l[m]=0}return l}function h(o){var m=false;var k,l,n;function j(){if(m){return}m=true;var s=e.getComputedStyle;k=(function(){var v=s?function(w){return s(w,null)}:function(w){return w.currentStyle};return function u(x){var w=v(x);if(!w){c("Style returned "+w+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1")}return w}})();l=o("boxSizing");if(l){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[l]="border-box";var q=document.body||document.documentElement;q.appendChild(t);var r=k(t);n=b(r.width)===200;q.removeChild(t)}}function p(F){j();if(typeof F==="string"){F=document.querySelector(F)}if(!F||typeof F!=="object"||!F.nodeType){return}var D=k(F);if(D.display==="none"){return f()}var w={};w.width=F.offsetWidth;w.height=F.offsetHeight;var E=w.isBorderBox=!!(l&&D[l]&&D[l]==="border-box");for(var A=0,B=a.length;A<B;A++){var y=a[A];var z=D[y];z=i(F,z);var q=parseFloat(z);w[y]=!isNaN(q)?q:0}var C=w.paddingLeft+w.paddingRight;var v=w.paddingTop+w.paddingBottom;var H=w.marginLeft+w.marginRight;var t=w.marginTop+w.marginBottom;var G=w.borderLeftWidth+w.borderRightWidth;var s=w.borderTopWidth+w.borderBottomWidth;var r=E&&n;var u=b(D.width);if(u!==false){w.width=u+(r?0:C+G)}var x=b(D.height);if(x!==false){w.height=x+(r?0:v+s)}w.innerWidth=w.width-(C+G);w.innerHeight=w.height-(v+s);w.outerWidth=w.width+H;w.outerHeight=w.height+t;return w}function i(t,u){if(e.getComputedStyle||u.indexOf("%")===-1){return u}var s=t.style;var v=s.left;var r=t.runtimeStyle;var q=r&&r.left;if(q){r.left=t.currentStyle.left}s.left=u;u=s.pixelLeft;s.left=v;if(q){r.left=q}return u}return p}if(typeof define==="function"&&define.amd){define("get-size/get-size",["get-style-property/get-style-property"],h)}else{if(typeof exports==="object"){module.exports=h(require("desandro-get-style-property"))}else{e.getSize=h(e.getStyleProperty)}}})(window);
40/*! 41 * docReady v1.0.4 42 * Cross browser DOMContentLoaded event emitter 43 * MIT license 44 */ 45(function(e){var b=e.document;var a=[];function d(h){if(typeof h!=="function"){return}if(d.isReady){h()}else{a.push(h)}}d.isReady=false;function g(i){var h=i.type==="readystatechange"&&b.readyState!=="complete";if(d.isReady||h){return}c()}function c(){d.isReady=true;for(var j=0,h=a.length;j<h;j++){var k=a[j];k()}}function f(h){if(b.readyState==="complete"){c()}else{h.bind(b,"DOMContentLoaded",g);h.bind(b,"readystatechange",g);h.bind(e,"load",g)}return d}if(typeof define==="function"&&define.amd){define("doc-ready/doc-ready",["eventie/eventie"],f)}else{if(typeof exports==="object"){module.exports=f(require("eventie"))}else{e.docReady=f(e.eventie)}}})(window);(function(h){var f=(function(){if(h.matches){return"matches"}if(h.matchesSelector){return"matchesSelector"}var m=["webkit","moz","ms","o"];for(var k=0,j=m.length;k<j;k++){var l=m[k];var n=l+"MatchesSelector";if(h[n]){return n}}})();function d(k,j){return k[f](j)}function g(k){if(k.parentNode){return}var j=document.createDocumentFragment();j.appendChild(k)}function e(n,k){g(n);var l=n.parentNode.querySelectorAll(k);for(var m=0,j=l.length;m<j;m++){if(l[m]===n){return true}}return false}function c(k,j){g(k);return d(k,j)}var i;if(f){var a=document.createElement("div");var b=d(a,"div");i=b?d:c}else{i=e}if(typeof define==="function"&&define.amd){define("matches-selector/matches-selector",[],function(){return i})}else{if(typeof exports==="object"){module.exports=i}else{window.matchesSelector=i}}})(Element.prototype);(function(b,a){if(typeof define=="function"&&define.amd){define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(d,c){return a(b,d,c)})}else{if(typeof exports=="object"){module.exports=a(b,require("doc-ready"),require("desandro-matches-selector"))}else{b.fizzyUIUtils=a(b,b.docReady,b.matchesSelector)}}}(window,function factory(f,e,d){var b={};b.extend=function(j,i){for(var k in i){j[k]=i[k]}return j};b.modulo=function(i,j){return((i%j)+j)%j};var a=Object.prototype.toString;b.isArray=function(i){return a.call(i)=="[object Array]"};b.makeArray=function(m){var l=[];if(b.isArray(m)){l=m}else{if(m&&typeof m.length=="number"){for(var k=0,j=m.length;k<j;k++){l.push(m[k])}}else{l.push(m)}}return l};b.indexOf=Array.prototype.indexOf?function(i,j){return i.indexOf(j)}:function(l,m){for(var k=0,j=l.length;k<j;k++){if(l[k]===m){return k}}return -1};b.removeFrom=function(j,k){var i=b.indexOf(j,k);if(i!=-1){j.splice(i,1)}};b.isElement=(typeof HTMLElement=="function"||typeof HTMLElement=="object")?function h(i){return i instanceof HTMLElement}:function g(i){return i&&typeof i=="object"&&i.nodeType==1&&typeof i.nodeName=="string"};b.setText=(function(){var j;function i(k,l){j=j||(document.documentElement.textContent!==undefined?"textContent":"innerText");k[j]=l}return i})();b.getParent=function(j,i){while(j!=document.body){j=j.parentNode;if(d(j,i)){return j}}};b.getQueryElement=function(i){if(typeof i=="string"){return document.querySelector(i)}return i};b.handleEvent=function(i){var j="on"+i.type;if(this[j]){this[j](i)}};b.filterFindElements=function(k,m){k=b.makeArray(k);var p=[];for(var o=0,q=k.length;o<q;o++){var l=k[o];if(!b.isElement(l)){continue}if(m){if(d(l,m)){p.push(l)}var r=l.querySelectorAll(m);for(var n=0,s=r.length;n<s;n++){p.push(r[n])}}else{p.push(l)}}return p};b.debounceMethod=function(l,k,i){var m=l.prototype[k];var j=k+"Timeout";l.prototype[k]=function(){var o=this[j];if(o){clearTimeout(o)}var n=arguments;var p=this;this[j]=setTimeout(function(){m.apply(p,n);delete p[j]},i||100)}};b.toDashed=function(i){return i.replace(/(.)([A-Z])/g,function(k,j,l){return j+"-"+l}).toLowerCase()};var c=f.console;b.htmlInit=function(i,j){e(function(){var q=b.toDashed(j);var k=document.querySelectorAll(".js-"+q);var r="data-"+q+"-options";for(var m=0,n=k.length;m<n;m++){var l=k[m];var o=l.getAttribute(r);var u;try{u=o&&JSON.parse(o)}catch(p){if(c){c.error("Error parsing "+r+" on "+l.nodeName.toLowerCase()+(l.id?"#"+l.id:"")+": "+p)}continue}var s=new i(l,u);var t=f.jQuery;if(t){t.data(l,j,s)}}})};return b}));(function(b,a){if(typeof define==="function"&&define.amd){define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(e,f,d,c){return a(b,e,f,d,c)})}else{if(typeof exports==="object"){module.exports=a(b,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils"))}else{b.Outlayer={};b.Outlayer.Item=a(b,b.EventEmitter,b.getSize,b.getStyleProperty,b.fizzyUIUtils)}}}(window,function factory(j,i,d,k,s){var q=j.getComputedStyle;var g=q?function(u){return q(u,null)}:function(u){return u.currentStyle};function h(u){for(var v in u){return false}v=null;return true}var r=k("transition");var n=k("transform");var p=r&&n;var l=!!k("perspective");var a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[r];var e=["transform","transition","transitionDuration","transitionProperty"];var o=(function(){var v={};for(var w=0,u=e.length;w<u;w++){var y=e[w];var x=k(y);if(x&&x!==y){v[y]=x}}return v})();function c(u,v){if(!u){return}this.element=u;this.layout=v;this.position={x:0,y:0};this._create()}s.extend(c.prototype,i.prototype);c.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}};this.css({position:"absolute"})};c.prototype.handleEvent=function(u){var v="on"+u.type;if(this[v]){this[v](u)}};c.prototype.getSize=function(){this.size=d(this.element)};c.prototype.css=function(w){var u=this.element.style;for(var x in w){var v=o[x]||x;u[v]=w[x]}};c.prototype.getPosition=function(){var u=g(this.element);var E=this.layout.options;var C=E.isOriginLeft;var D=E.isOriginTop;var w=u[C?"left":"right"];var z=u[D?"top":"bottom"];var v=this.layout.size;
45var B=w.indexOf("%")!=-1?(parseFloat(w)/100)*v.width:parseInt(w,10);var A=z.indexOf("%")!=-1?(parseFloat(z)/100)*v.height:parseInt(z,10);B=isNaN(B)?0:B;A=isNaN(A)?0:A;B-=C?v.paddingLeft:v.paddingRight;A-=D?v.paddingTop:v.paddingBottom;this.position.x=B;this.position.y=A};c.prototype.layoutPosition=function(){var w=this.layout.size;var G=this.layout.options;var v={};var E=G.isOriginLeft?"paddingLeft":"paddingRight";var z=G.isOriginLeft?"left":"right";var A=G.isOriginLeft?"right":"left";var D=this.position.x+w[E];v[z]=this.getXValue(D);v[A]="";var B=G.isOriginTop?"paddingTop":"paddingBottom";var F=G.isOriginTop?"top":"bottom";var u=G.isOriginTop?"bottom":"top";var C=this.position.y+w[B];v[F]=this.getYValue(C);v[u]="";this.css(v);this.emitEvent("layout",[this])};c.prototype.getXValue=function(v){var u=this.layout.options;return u.percentPosition&&!u.isHorizontal?((v/this.layout.size.width)*100)+"%":v+"px"};c.prototype.getYValue=function(v){var u=this.layout.options;return u.percentPosition&&u.isHorizontal?((v/this.layout.size.height)*100)+"%":v+"px"};c.prototype._transitionTo=function(F,E){this.getPosition();var v=this.position.x;var u=this.position.y;var D=parseInt(F,10);var C=parseInt(E,10);var B=D===this.position.x&&C===this.position.y;this.setPosition(F,E);if(B&&!this.isTransitioning){this.layoutPosition();return}var A=F-v;var z=E-u;var w={};w.transform=this.getTranslate(A,z);this.transition({to:w,onTransitionEnd:{transform:this.layoutPosition},isCleaning:true})};c.prototype.getTranslate=function(v,w){var u=this.layout.options;v=u.isOriginLeft?v:-v;w=u.isOriginTop?w:-w;if(l){return"translate3d("+v+"px, "+w+"px, 0)"}return"translate("+v+"px, "+w+"px)"};c.prototype.goTo=function(u,v){this.setPosition(u,v);this.layoutPosition()};c.prototype.moveTo=p?c.prototype._transitionTo:c.prototype.goTo;c.prototype.setPosition=function(u,v){this.position.x=parseInt(u,10);this.position.y=parseInt(v,10)};c.prototype._nonTransition=function(u){this.css(u.to);if(u.isCleaning){this._removeStyles(u.to)}for(var v in u.onTransitionEnd){u.onTransitionEnd[v].call(this)}};c.prototype._transition=function(u){if(!parseFloat(this.layout.options.transitionDuration)){this._nonTransition(u);return}var w=this._transn;for(var x in u.onTransitionEnd){w.onEnd[x]=u.onTransitionEnd[x]}for(x in u.to){w.ingProperties[x]=true;if(u.isCleaning){w.clean[x]=true}}if(u.from){this.css(u.from);var v=this.element.offsetHeight;v=null}this.enableTransition(u.to);this.css(u.to);this.isTransitioning=true};function f(u){return u.replace(/([A-Z])/g,function(v){return"-"+v.toLowerCase()})}var m="opacity,"+f(o.transform||"transform");c.prototype.enableTransition=function(){if(this.isTransitioning){return}this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration});this.element.addEventListener(a,this,false)};c.prototype.transition=c.prototype[r?"_transition":"_nonTransition"];c.prototype.onwebkitTransitionEnd=function(u){this.ontransitionend(u)};c.prototype.onotransitionend=function(u){this.ontransitionend(u)};var t={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};c.prototype.ontransitionend=function(x){if(x.target!==this.element){return}var w=this._transn;var u=t[x.propertyName]||x.propertyName;delete w.ingProperties[u];if(h(w.ingProperties)){this.disableTransition()}if(u in w.clean){this.element.style[x.propertyName]="";delete w.clean[u]}if(u in w.onEnd){var v=w.onEnd[u];v.call(this);delete w.onEnd[u]}this.emitEvent("transitionEnd",[this])};c.prototype.disableTransition=function(){this.removeTransitionStyles();this.element.removeEventListener(a,this,false);this.isTransitioning=false};c.prototype._removeStyles=function(v){var u={};for(var w in v){u[w]=""}this.css(u)};var b={transitionProperty:"",transitionDuration:""};c.prototype.removeTransitionStyles=function(){this.css(b)};c.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element);this.css({display:""});this.emitEvent("remove",[this])};c.prototype.remove=function(){if(!r||!parseFloat(this.layout.options.transitionDuration)){this.removeElem();return}var u=this;this.once("transitionEnd",function(){u.removeElem()});this.hide()};c.prototype.reveal=function(){delete this.isHidden;this.css({display:""});var v=this.layout.options;var w={};var u=this.getHideRevealTransitionEndProperty("visibleStyle");w[u]=this.onRevealTransitionEnd;this.transition({from:v.hiddenStyle,to:v.visibleStyle,isCleaning:true,onTransitionEnd:w})};c.prototype.onRevealTransitionEnd=function(){if(!this.isHidden){this.emitEvent("reveal")}};c.prototype.getHideRevealTransitionEndProperty=function(v){var u=this.layout.options[v];if(u.opacity){return"opacity"}for(var w in u){return w}};c.prototype.hide=function(){this.isHidden=true;this.css({display:""});var v=this.layout.options;var w={};var u=this.getHideRevealTransitionEndProperty("hiddenStyle");w[u]=this.onHideTransitionEnd;this.transition({from:v.visibleStyle,to:v.hiddenStyle,isCleaning:true,onTransitionEnd:w})};c.prototype.onHideTransitionEnd=function(){if(this.isHidden){this.css({display:"none"});this.emitEvent("hide")}};c.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})};return c})); 46/*! 47 * Outlayer v1.4.2 48 * the brains and guts of a layout library 49 * MIT license 50 */ 51(function(b,a){if(typeof define=="function"&&define.amd){define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(d,f,g,c,e){return a(b,d,f,g,c,e)})}else{if(typeof exports=="object"){module.exports=a(b,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item"))}else{b.Outlayer=a(b,b.eventie,b.EventEmitter,b.getSize,b.fizzyUIUtils,b.Outlayer.Item)}}}(window,function factory(f,h,l,j,g,b){var c=f.console;var k=f.jQuery;var i=function(){};var e=0;var a={};function d(o,n){var m=g.getQueryElement(o);if(!m){if(c){c.error("Bad element for "+this.constructor.namespace+": "+(m||o))}return}this.element=m;if(k){this.$element=k(this.element)}this.options=g.extend({},this.constructor.defaults);this.option(n);var p=++e;this.element.outlayerGUID=p;a[p]=this;this._create();if(this.options.isInitLayout){this.layout()}}d.namespace="outlayer";d.Item=b;d.defaults={containerStyle:{position:"relative"},isInitLayout:true,isOriginLeft:true,isOriginTop:true,isResizeBound:true,isResizingContainer:true,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};g.extend(d.prototype,l.prototype);d.prototype.option=function(m){g.extend(this.options,m)};d.prototype._create=function(){this.reloadItems();this.stamps=[];this.stamp(this.options.stamp);g.extend(this.element.style,this.options.containerStyle);if(this.options.isResizeBound){this.bindResize()}};d.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)};d.prototype._itemize=function(o){var r=this._filterFindItemElements(o);var p=this.constructor.Item;var n=[];for(var q=0,m=r.length;q<m;q++){var t=r[q];var s=new p(t,this);n.push(s)}return n};d.prototype._filterFindItemElements=function(m){return g.filterFindElements(m,this.options.itemSelector)};d.prototype.getItemElements=function(){var n=[];for(var o=0,m=this.items.length;o<m;o++){n.push(this.items[o].element)}return n};d.prototype.layout=function(){this._resetLayout();this._manageStamps();var m=this.options.isLayoutInstant!==undefined?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,m);this._isLayoutInited=true};d.prototype._init=d.prototype.layout;
51d.prototype._resetLayout=function(){this.getSize()};d.prototype.getSize=function(){this.size=j(this.element)};d.prototype._getMeasurement=function(o,m){var n=this.options[o];var p;if(!n){this[o]=0}else{if(typeof n==="string"){p=this.element.querySelector(n)}else{if(g.isElement(n)){p=n}}this[o]=p?j(p)[m]:n}};d.prototype.layoutItems=function(m,n){m=this._getItemsForLayout(m);this._layoutItems(m,n);this._postLayout()};d.prototype._getItemsForLayout=function(n){var q=[];for(var o=0,m=n.length;o<m;o++){var p=n[o];if(!p.isIgnored){q.push(p)}}return q};d.prototype._layoutItems=function(p,s){this._emitCompleteOnItems("layout",p);if(!p||!p.length){return}var o=[];for(var q=0,n=p.length;q<n;q++){var r=p[q];var m=this._getItemLayoutPosition(r);m.item=r;m.isInstant=s||r.isLayoutInstant;o.push(m)}this._processLayoutQueue(o)};d.prototype._getItemLayoutPosition=function(){return{x:0,y:0}};d.prototype._processLayoutQueue=function(n){for(var o=0,m=n.length;o<m;o++){var p=n[o];this._positionItem(p.item,p.x,p.y,p.isInstant)}};d.prototype._positionItem=function(n,m,p,o){if(o){n.goTo(m,p)}else{n.moveTo(m,p)}};d.prototype._postLayout=function(){this.resizeContainer()};d.prototype.resizeContainer=function(){if(!this.options.isResizingContainer){return}var m=this._getContainerSize();if(m){this._setContainerMeasure(m.width,true);this._setContainerMeasure(m.height,false)}};d.prototype._getContainerSize=i;d.prototype._setContainerMeasure=function(m,n){if(m===undefined){return}var o=this.size;if(o.isBorderBox){m+=n?o.paddingLeft+o.paddingRight+o.borderLeftWidth+o.borderRightWidth:o.paddingBottom+o.paddingTop+o.borderTopWidth+o.borderBottomWidth}m=Math.max(m,0);this.element.style[n?"width":"height"]=m+"px"};d.prototype._emitCompleteOnItems=function(q,u){var s=this;function m(){s.dispatchEvent(q+"Complete",null,[u])}var t=u.length;if(!u||!t){m();return}var n=0;function p(){n++;if(n===t){m()}}for(var o=0,r=u.length;o<r;o++){var v=u[o];v.once(q,p)}};d.prototype.dispatchEvent=function(p,q,n){var o=q?[q].concat(n):n;this.emitEvent(p,o);if(k){this.$element=this.$element||k(this.element);if(q){var m=k.Event(q);m.type=p;this.$element.trigger(m,n)}else{this.$element.trigger(p,n)}}};d.prototype.ignore=function(n){var m=this.getItem(n);if(m){m.isIgnored=true}};d.prototype.unignore=function(n){var m=this.getItem(n);if(m){delete m.isIgnored}};d.prototype.stamp=function(n){n=this._find(n);if(!n){return}this.stamps=this.stamps.concat(n);for(var o=0,m=n.length;o<m;o++){var p=n[o];this.ignore(p)}};d.prototype.unstamp=function(n){n=this._find(n);if(!n){return}for(var o=0,m=n.length;o<m;o++){var p=n[o];g.removeFrom(this.stamps,p);this.unignore(p)}};d.prototype._find=function(m){if(!m){return}if(typeof m==="string"){m=this.element.querySelectorAll(m)}m=g.makeArray(m);return m};d.prototype._manageStamps=function(){if(!this.stamps||!this.stamps.length){return}this._getBoundingRect();for(var o=0,m=this.stamps.length;o<m;o++){var n=this.stamps[o];this._manageStamp(n)}};d.prototype._getBoundingRect=function(){var m=this.element.getBoundingClientRect();var n=this.size;this._boundingRect={left:m.left+n.paddingLeft+n.borderLeftWidth,top:m.top+n.paddingTop+n.borderTopWidth,right:m.right-(n.paddingRight+n.borderRightWidth),bottom:m.bottom-(n.paddingBottom+n.borderBottomWidth)}};d.prototype._manageStamp=i;d.prototype._getElementOffset=function(p){var m=p.getBoundingClientRect();var o=this._boundingRect;var n=j(p);var q={left:m.left-o.left-n.marginLeft,top:m.top-o.top-n.marginTop,right:o.right-m.right-n.marginRight,bottom:o.bottom-m.bottom-n.marginBottom};return q};d.prototype.handleEvent=function(m){var n="on"+m.type;if(this[n]){this[n](m)}};d.prototype.bindResize=function(){if(this.isResizeBound){return}h.bind(f,"resize",this);this.isResizeBound=true};d.prototype.unbindResize=function(){if(this.isResizeBound){h.unbind(f,"resize",this)}this.isResizeBound=false};d.prototype.onresize=function(){if(this.resizeTimeout){clearTimeout(this.resizeTimeout)}var n=this;function m(){n.resize();delete n.resizeTimeout}this.resizeTimeout=setTimeout(m,100)};d.prototype.resize=function(){if(!this.isResizeBound||!this.needsResizeLayout()){return}this.layout()};d.prototype.needsResizeLayout=function(){var n=j(this.element);var m=this.size&&n;return m&&n.innerWidth!==this.size.innerWidth};d.prototype.addItems=function(n){var m=this._itemize(n);if(m.length){this.items=this.items.concat(m)}return m};d.prototype.appended=function(n){var m=this.addItems(n);if(!m.length){return}this.layoutItems(m,true);this.reveal(m)};d.prototype.prepended=function(n){var m=this._itemize(n);if(!m.length){return}var o=this.items.slice(0);this.items=m.concat(o);this._resetLayout();this._manageStamps();this.layoutItems(m,true);this.reveal(m);this.layoutItems(o)};d.prototype.reveal=function(n){this._emitCompleteOnItems("reveal",n);var m=n&&n.length;for(var o=0;m&&o<m;o++){var p=n[o];p.reveal()}};d.prototype.hide=function(n){this._emitCompleteOnItems("hide",n);var m=n&&n.length;for(var o=0;m&&o<m;o++){var p=n[o];p.hide()}};d.prototype.revealItemElements=function(n){var m=this.getItems(n);this.reveal(m)};d.prototype.hideItemElements=function(n){var m=this.getItems(n);this.hide(m)};d.prototype.getItem=function(p){for(var n=0,m=this.items.length;n<m;n++){var o=this.items[n];if(o.element===p){return o}}};d.prototype.getItems=function(o){o=g.makeArray(o);var n=[];for(var p=0,m=o.length;p<m;p++){var r=o[p];var q=this.getItem(r);if(q){n.push(q)}}return n};d.prototype.remove=function(n){var p=this.getItems(n);this._emitCompleteOnItems("remove",p);if(!p||!p.length){return}for(var o=0,m=p.length;o<m;o++){var q=p[o];q.remove();g.removeFrom(this.items,q)}};d.prototype.destroy=function(){var o=this.element.style;o.height="";o.position="";o.width="";for(var n=0,m=this.items.length;n<m;n++){var p=this.items[n];p.destroy()}this.unbindResize();var q=this.element.outlayerGUID;delete a[q];delete this.element.outlayerGUID;if(k){k.removeData(this.element,this.constructor.namespace)}};d.data=function(m){m=g.getQueryElement(m);var n=m&&m.outlayerGUID;return n&&a[n]};d.create=function(p,n){function o(){d.apply(this,arguments)}if(Object.create){o.prototype=Object.create(d.prototype)}else{g.extend(o.prototype,d.prototype)}o.prototype.constructor=o;o.defaults=g.extend({},d.defaults);g.extend(o.defaults,n);o.prototype.settings={};o.namespace=p;o.data=d.data;o.Item=function m(){b.apply(this,arguments)};o.Item.prototype=new b();g.htmlInit(o,p);if(k&&k.bridget){k.bridget(p,o)}return o};d.Item=b;return d}));(function(b,a){if(typeof define=="function"&&define.amd){define("isotope/js/item",["outlayer/outlayer"],a)}else{if(typeof exports=="object"){module.exports=a(require("outlayer"))}else{b.Isotope=b.Isotope||{};b.Isotope.Item=a(b.Outlayer)}}}(window,function factory(c){function b(){c.Item.apply(this,arguments)}b.prototype=new c.Item();b.prototype._create=function(){this.id=this.layout.itemGUID++;c.Item.prototype._create.call(this);this.sortData={}};b.prototype.updateSortData=function(){if(this.isIgnored){return}this.sortData.id=this.id;this.sortData["original-order"]=this.id;this.sortData.random=Math.random();var e=this.layout.options.getSortData;var f=this.layout._sorters;for(var d in e){var g=f[d];this.sortData[d]=g(this.element,this)}};var a=b.prototype.destroy;b.prototype.destroy=function(){a.apply(this,arguments);this.css({display:""})};return b}));(function(b,a){if(typeof define=="function"&&define.amd){define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],a)}else{if(typeof exports=="object"){module.exports=a(require("get-size"),require("outlayer"))}else{b.Isotope=b.Isotope||{};b.Isotope.LayoutMode=a(b.getSize,b.Outlayer)}}}(window,function factory(c,b){function a(d){this.isotope=d;if(d){this.options=d.options[this.namespace];this.element=d.element;this.items=d.filteredItems;this.size=d.size}}(function(){var f=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"];for(var g=0,d=f.length;g<d;g++){var e=f[g];a.prototype[e]=h(e)}function h(i){return function(){return b.prototype[i].apply(this.isotope,arguments)}}})();a.prototype.needsVerticalResizeLayout=function(){var e=c(this.isotope.element);var d=this.isotope.size&&e;
51return d&&e.innerHeight!=this.isotope.size.innerHeight};a.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)};a.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")};a.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")};a.prototype.getSegmentSize=function(h,f){var g=h+f;var d="outer"+f;this._getMeasurement(g,d);if(this[g]){return}var e=this.getFirstItemSize();this[g]=e&&e[d]||this.isotope.size["inner"+f]};a.prototype.getFirstItemSize=function(){var d=this.isotope.filteredItems[0];return d&&d.element&&c(d.element)};a.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)};a.prototype.getSize=function(){this.isotope.getSize();this.size=this.isotope.size};a.modes={};a.create=function(e,d){function f(){a.apply(this,arguments)}f.prototype=new a();if(d){f.options=d}f.prototype.namespace=e;a.modes[e]=f;return f};return a})); 52/*! 53 * Masonry v3.3.1 54 * Cascading grid layout library 55 * http://masonry.desandro.com 56 * MIT License 57 * by David DeSandro 58 */ 59(function(b,a){if(typeof define==="function"&&define.amd){define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],a)}else{if(typeof exports==="object"){module.exports=a(require("outlayer"),require("get-size"),require("fizzy-ui-utils"))}else{b.Masonry=a(b.Outlayer,b.getSize,b.fizzyUIUtils)}}}(window,function factory(c,d,a){var b=c.create("masonry");b.prototype._resetLayout=function(){this.getSize();this._getMeasurement("columnWidth","outerWidth");this._getMeasurement("gutter","outerWidth");this.measureColumns();var e=this.cols;this.colYs=[];while(e--){this.colYs.push(0)}this.maxY=0};b.prototype.measureColumns=function(){this.getContainerWidth();if(!this.columnWidth){var k=this.items[0];var g=k&&k.element;this.columnWidth=g&&d(g).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter;var h=this.containerWidth+this.gutter;var j=h/i;var e=i-h%i;var f=e&&e<1?"round":"floor";j=Math[f](j);this.cols=Math.max(j,1)};b.prototype.getContainerWidth=function(){var e=this.options.isFitWidth?this.element.parentNode:this.element;var f=d(e);this.containerWidth=f&&f.innerWidth};b.prototype._getItemLayoutPosition=function(p){p.getSize();var o=p.size.outerWidth%this.columnWidth;var k=o&&o<1?"round":"ceil";var l=Math[k](p.size.outerWidth/this.columnWidth);l=Math.min(l,this.cols);var e=this._getColGroup(l);var f=Math.min.apply(Math,e);var m=a.indexOf(e,f);var j={x:this.columnWidth*m,y:f};var n=f+p.size.outerHeight;var g=this.cols+1-e.length;for(var h=0;h<g;h++){this.colYs[m+h]=n}return j};b.prototype._getColGroup=function(g){if(g<2){return this.colYs}var h=[];var j=this.cols+1-g;for(var e=0;e<j;e++){var f=this.colYs.slice(e,e+g);h[e]=Math.max.apply(Math,f)}return h};b.prototype._manageStamp=function(e){var l=d(e);var j=this._getElementOffset(e);var h=this.options.isOriginLeft?j.left:j.right;var f=h+l.outerWidth;var n=Math.floor(h/this.columnWidth);n=Math.max(0,n);var g=Math.floor(f/this.columnWidth);g-=f%this.columnWidth?0:1;g=Math.min(this.cols-1,g);var m=(this.options.isOriginTop?j.top:j.bottom)+l.outerHeight;for(var k=n;k<=g;k++){this.colYs[k]=Math.max(m,this.colYs[k])}};b.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};if(this.options.isFitWidth){e.width=this._getContainerFitWidth()}return e};b.prototype._getContainerFitWidth=function(){var f=0;var e=this.cols;while(--e){if(this.colYs[e]!==0){break}f++}return(this.cols-f)*this.columnWidth-this.gutter};b.prototype.needsResizeLayout=function(){var e=this.containerWidth;this.getContainerWidth();return e!==this.containerWidth};return b})); 60/*! 61 * Masonry layout mode 62 * sub-classes Masonry 63 * http://masonry.desandro.com 64 */ 65(function(b,a){if(typeof define=="function"&&define.amd){define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],a)}else{if(typeof exports=="object"){module.exports=a(require("../layout-mode"),require("masonry-layout"))}else{a(b.Isotope.LayoutMode,b.Masonry)}}}(window,function factory(e,h){function g(k,j){for(var l in j){k[l]=j[l]}return k}var i=e.create("masonry");var a=i.prototype._getElementOffset;var f=i.prototype.layout;var b=i.prototype._getMeasurement;g(i.prototype,h.prototype);i.prototype._getElementOffset=a;i.prototype.layout=f;i.prototype._getMeasurement=b;var d=i.prototype.measureColumns;i.prototype.measureColumns=function(){this.items=this.isotope.filteredItems;d.call(this)};var c=i.prototype._manageStamp;i.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft;this.options.isOriginTop=this.isotope.options.isOriginTop;c.apply(this,arguments)};return i}));(function(b,a){if(typeof define=="function"&&define.amd){define("isotope/js/layout-modes/fit-rows",["../layout-mode"],a)}else{if(typeof exports=="object"){module.exports=a(require("../layout-mode"))}else{a(b.Isotope.LayoutMode)}}}(window,function factory(b){var a=b.create("fitRows");a.prototype._resetLayout=function(){this.x=0;this.y=0;this.maxY=0;this._getMeasurement("gutter","outerWidth")};a.prototype._getItemLayoutPosition=function(d){d.getSize();var f=d.size.outerWidth+this.gutter;var e=this.isotope.size.innerWidth+this.gutter;if(this.x!==0&&f+this.x>e){this.x=0;this.y=this.maxY}var c={x:this.x,y:this.y};this.maxY=Math.max(this.maxY,this.y+d.size.outerHeight);this.x+=f;return c};a.prototype._getContainerSize=function(){return{height:this.maxY}};return a}));(function(b,a){if(typeof define=="function"&&define.amd){define("isotope/js/layout-modes/vertical",["../layout-mode"],a)}else{if(typeof exports=="object"){module.exports=a(require("../layout-mode"))}else{a(b.Isotope.LayoutMode)}}}(window,function factory(b){var a=b.create("vertical",{horizontalAlignment:0});a.prototype._resetLayout=function(){this.y=0};a.prototype._getItemLayoutPosition=function(d){d.getSize();var c=(this.isotope.size.innerWidth-d.size.outerWidth)*this.options.horizontalAlignment;var e=this.y;this.y+=d.size.outerHeight;return{x:c,y:e}};a.prototype._getContainerSize=function(){return{height:this.y}};return a})); 66/*! 67 * Isotope v2.2.2 68 * 69 * Licensed GPLv3 for open source use 70 * or Isotope Commercial License for commercial use 71 * 72 * http://isotope.metafizzy.co 73 * Copyright 2015 Metafizzy 74 */ 75(function(b,a){if(typeof define=="function"&&define.amd){define("isotope",["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(g,h,d,c,e,f){return a(b,g,h,d,c,e,f)})}else{if(typeof exports=="object"){module.exports=a(b,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical"))}else{b.Isotope=a(b,b.Outlayer,b.getSize,b.matchesSelector,b.fizzyUIUtils,b.Isotope.Item,b.Isotope.LayoutMode)}}}(window,function factory(g,f,m,o,i,c,e){var n=g.jQuery;var b=String.prototype.trim?function(p){return p.trim()}:function(p){return p.replace(/^\s+|\s+$/g,"")};var a=document.documentElement;var l=a.textContent?function(p){return p.textContent}:function(p){return p.innerText};var h=f.create("isotope",{layoutMode:"masonry",isJQueryFiltering:true,sortAscending:true});h.Item=c;h.LayoutMode=e;h.prototype._create=function(){this.itemGUID=0;this._sorters={};this._getSorters();f.prototype._create.call(this);this.modes={};this.filteredItems=this.items;this.sortHistory=["original-order"];for(var p in e.modes){this._initLayoutMode(p)}};h.prototype.reloadItems=function(){this.itemGUID=0;f.prototype.reloadItems.call(this)};h.prototype._itemize=function(){var q=f.prototype._itemize.apply(this,arguments);for(var r=0,p=q.length;r<p;r++){var s=q[r];s.id=this.itemGUID++}this._updateItemsSortData(q);return q};h.prototype._initLayoutMode=function(p){var q=e.modes[p];var r=this.options[p]||{};this.options[p]=q.options?i.extend(q.options,r):r;this.modes[p]=new q(this)};h.prototype.layout=function(){if(!this._isLayoutInited&&this.options.isInitLayout){this.arrange();return}this._layout()};h.prototype._layout=function(){var p=this._getIsInstant();this._resetLayout();this._manageStamps();this.layoutItems(this.filteredItems,p);this._isLayoutInited=true};h.prototype.arrange=function(r){this.option(r);this._getIsInstant();var p=this._filter(this.items);this.filteredItems=p.matches;var s=this;function q(){s.reveal(p.needReveal);s.hide(p.needHide)}this._bindArrangeComplete();if(this._isInstant){this._noTransition(q)}else{q()}this._sort();this._layout()};h.prototype._init=h.prototype.arrange;h.prototype._getIsInstant=function(){var p=this.options.isLayoutInstant!==undefined?this.options.isLayoutInstant:!this._isLayoutInited;this._isInstant=p;return p};h.prototype._bindArrangeComplete=function(){var p,t,q;var s=this;function r(){if(p&&t&&q){s.dispatchEvent("arrangeComplete",null,[s.filteredItems])}}this.once("layoutComplete",function(){p=true;r()});this.once("hideComplete",function(){t=true;r()});this.once("revealComplete",function(){q=true;r()})};h.prototype._filter=function(x){var q=this.options.filter;q=q||"*";var s=[];var t=[];var p=[];var w=this._getFilterTest(q);for(var r=0,u=x.length;r<u;r++){var y=x[r];if(y.isIgnored){continue}var v=w(y);if(v){s.push(y)}if(v&&y.isHidden){t.push(y)}else{if(!v&&!y.isHidden){p.push(y)}}}return{matches:s,needReveal:t,needHide:p}};h.prototype._getFilterTest=function(p){if(n&&this.options.isJQueryFiltering){return function(q){return n(q.element).is(p)}}if(typeof p=="function"){return function(q){return p(q.element)}}return function(q){return o(q.element,p)}};h.prototype.updateSortData=function(q){var p;if(q){q=i.makeArray(q);p=this.getItems(q)}else{p=this.items}this._getSorters();this._updateItemsSortData(p)};h.prototype._getSorters=function(){var q=this.options.getSortData;for(var p in q){var r=q[p];this._sorters[p]=d(r)}};h.prototype._updateItemsSortData=function(q){var p=q&&q.length;for(var r=0;p&&r<p;r++){var s=q[r];s.updateSortData()}};var d=(function(){function q(x){if(typeof x!="string"){return x}var t=b(x).split(" ");var v=t[0];var u=v.match(/^\[(.+)\]$/);var r=u&&u[1];var s=p(r,v);var w=h.sortDataParsers[t[1]];x=w?function(y){return y&&w(s(y))}:function(y){return y&&s(y)};return x}function p(r,t){var s;if(r){s=function(u){return u.getAttribute(r)}}else{s=function(u){var v=u.querySelector(t);return v&&l(v)}}return s}return q})();h.sortDataParsers={parseInt:function(p){return parseInt(p,10)},parseFloat:function(p){return parseFloat(p)}};h.prototype._sort=function(){var r=this.options.sortBy;if(!r){return}var p=[].concat.apply(r,this.sortHistory);var q=k(p,this.options.sortAscending);this.filteredItems.sort(q);if(r!=this.sortHistory[0]){this.sortHistory.unshift(r)}};function k(q,p){return function r(z,x){for(var t=0,u=q.length;t<u;t++){var A=q[t];var y=z.sortData[A];var v=x.sortData[A];if(y>v||y<v){var s=p[A]!==undefined?p[A]:p;var w=s?1:-1;return(y>v?1:-1)*w}}return 0}}h.prototype._mode=function(){var q=this.options.layoutMode;var p=this.modes[q];
75if(!p){throw new Error("No layout mode: "+q)}p.options=this.options[q];return p};h.prototype._resetLayout=function(){f.prototype._resetLayout.call(this);this._mode()._resetLayout()};h.prototype._getItemLayoutPosition=function(p){return this._mode()._getItemLayoutPosition(p)};h.prototype._manageStamp=function(p){this._mode()._manageStamp(p)};h.prototype._getContainerSize=function(){return this._mode()._getContainerSize()};h.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()};h.prototype.appended=function(q){var p=this.addItems(q);if(!p.length){return}var r=this._filterRevealAdded(p);this.filteredItems=this.filteredItems.concat(r)};h.prototype.prepended=function(q){var p=this._itemize(q);if(!p.length){return}this._resetLayout();this._manageStamps();var r=this._filterRevealAdded(p);this.layoutItems(this.filteredItems);this.filteredItems=r.concat(this.filteredItems);this.items=p.concat(this.items)};h.prototype._filterRevealAdded=function(p){var q=this._filter(p);this.hide(q.needHide);this.reveal(q.matches);this.layoutItems(q.matches,true);return q.matches};h.prototype.insert=function(s){var r=this.addItems(s);if(!r.length){return}var t,u;var p=r.length;for(t=0;t<p;t++){u=r[t];this.element.appendChild(u.element)}var q=this._filter(r).matches;for(t=0;t<p;t++){r[t].isLayoutInstant=true}this.arrange();for(t=0;t<p;t++){delete r[t].isLayoutInstant}this.reveal(q)};var j=h.prototype.remove;h.prototype.remove=function(q){q=i.makeArray(q);var s=this.getItems(q);j.call(this,q);var p=s&&s.length;if(!p){return}for(var r=0;r<p;r++){var t=s[r];i.removeFrom(this.filteredItems,t)}};h.prototype.shuffle=function(){for(var q=0,p=this.items.length;q<p;q++){var r=this.items[q];r.sortData.random=Math.random()}this.options.sortBy="random";this._sort();this._layout()};h.prototype._noTransition=function(r){var p=this.options.transitionDuration;this.options.transitionDuration=0;var q=r.call(this);this.options.transitionDuration=p;return q};h.prototype.getFilteredItemElements=function(){var q=[];for(var r=0,p=this.filteredItems.length;r<p;r++){q.push(this.filteredItems[r].element)}return q};return h}));
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.