]]jkjjgdjffksdkdfdkasdashjgjdsadsadsadsadskdfgjdskfgj
במ12[aspddfasdasddsadsadadasdasdghjghjghjsadasbvxcvxcv;'
/
home2
/
kediapaper
/
public_html
/
js
/
Upload FileeE
HOME
!function(e){"use strict";function t(e){if(e){if("string"==typeof o[e])return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var t,r=0,i=n.length;i>r;r++)if(t=n[r]+e,"string"==typeof o[t])return t}}var n="Webkit Moz ms Ms O".split(" "),o=document.documentElement.style;"function"==typeof define&&define.amd?define(function(){return t}):"object"==typeof exports?module.exports=t:e.getStyleProperty=t}(window); !function(t,e){"use strict";function r(t){var e=parseFloat(t),r=-1===t.indexOf("%")&&!isNaN(e);return r&&e}function i(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,r=f.length;r>e;e++){var i=f[e];t[i]=0}return t}function o(e){function i(){if(!p){p=!0;var i=t.getComputedStyle;if(a=function(){var t=i?function(t){return i(t,null)}:function(t){return t.currentStyle};return function(e){var r=t(e);return r||d("Style returned "+r+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),r}}(),u=e("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[u]="border-box";var o=document.body||document.documentElement;o.appendChild(n);var f=a(n);g=200===r(f.width),o.removeChild(n)}}}function o(t){if(i(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=a(t);if("none"===e.display)return n();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var d=o.isBorderBox=!(!u||!e[u]||"border-box"!==e[u]),p=0,l=f.length;l>p;p++){var y=f[p],c=e[y];c=h(t,c);var m=parseFloat(c);o[y]=isNaN(m)?0:m}var s=o.paddingLeft+o.paddingRight,v=o.paddingTop+o.paddingBottom,b=o.marginLeft+o.marginRight,x=o.marginTop+o.marginBottom,W=o.borderLeftWidth+o.borderRightWidth,S=o.borderTopWidth+o.borderBottomWidth,w=d&&g,B=r(e.width);B!==!1&&(o.width=B+(w?0:s+W));var L=r(e.height);return L!==!1&&(o.height=L+(w?0:v+S)),o.innerWidth=o.width-(s+W),o.innerHeight=o.height-(v+S),o.outerWidth=o.width+b,o.outerHeight=o.height+x,o}}function h(e,r){if(t.getComputedStyle||-1===r.indexOf("%"))return r;var i=e.style,n=i.left,o=e.runtimeStyle,d=o&&o.left;return d&&(o.left=e.currentStyle.left),i.left=r,r=i.pixelLeft,i.left=n,d&&(o.left=d),r}var a,u,g,p=!1;return o}var d="undefined"==typeof console?i:function(t){console.error(t)},f=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define(["get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("desandro-get-style-property")):t.getSize=o(t.getStyleProperty)}(window); !function(e){"use strict";function t(e,t){return e[i](t)}function n(e){if(!e.parentNode){var t=document.createDocumentFragment();t.appendChild(e)}}function r(e,t){n(e);for(var r=e.parentNode.querySelectorAll(t),o=0,c=r.length;c>o;o++)if(r[o]===e)return!0;return!1}function o(e,r){return n(e),t(e,r)}var c,i=function(){if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0,r=t.length;r>n;n++){var o=t[n],c=o+"MatchesSelector";if(e[c])return c}}();if(i){var u=document.createElement("div"),f=t(u,"div");c=f?t:o}else c=r;"function"==typeof define&&define.amd?define(function(){return c}):"object"==typeof exports?module.exports=c:window.matchesSelector=c}(Element.prototype); (function(){"use strict";function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var r=e.prototype,i=this,s=i.EventEmitter;r.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp){t={};for(n in r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n])}else t=r[e]||(r[e]=[]);return t},r.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},r.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},r.addListener=function(e,n){var r,i=this.getListenersAsObject(e),s="object"==typeof n;for(r in i)i.hasOwnProperty(r)&&-1===t(i[r],n)&&i[r].push(s?n:{listener:n,once:!1});return this},r.on=n("addListener"),r.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},r.once=n("addOnceListener"),r.defineEvent=function(e){return this.getListeners(e),this},r.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},r.removeListener=function(e,n){var r,i,s=this.getListenersAsObject(e);for(i in s)s.hasOwnProperty(i)&&(r=t(s[i],n),-1!==r&&s[i].splice(r,1));return this},r.off=n("removeListener"),r.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},r.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},r.manipulateListeners=function(e,t,n){var r,i,s=e?this.removeListener:this.addListener,o=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)s.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?s.call(this,r,i):o.call(this,r,i));return this},r.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if(e instanceof RegExp)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},r.removeAllListeners=n("removeEvent"),r.emitEvent=function(e,t){var n,r,i,s,o=this.getListenersAsObject(e);for(i in o)if(o.hasOwnProperty(i))for(r=o[i].length;r--;)n=o[i][r],n.once===!0&&this.removeListener(e,n.listener),s=n.listener.apply(this,t||[]),s===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},r.trigger=n("emitEvent"),r.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},r.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},r._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},r._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return i.EventEmitter=s,e},"function"==typeof define&&define.amd?define(function(){return e}):"object"==typeof module&&module.exports?module.exports=e:i.EventEmitter=e}).call(this); !function(e){"use strict";function n(n){var t=e.event;return t.target=t.target||t.srcElement||n,t}var t=document.documentElement,o=function(){};t.addEventListener?o=function(e,n,t){e.addEventListener(n,t,!1)}:t.attachEvent&&(o=function(e,t,o){e[t+o]=o.handleEvent?function(){var t=n(e);o.handleEvent.call(o,t)}:function(){var t=n(e);o.call(e,t)},e.attachEvent("on"+t,e[t+o])});var c=function(){};t.removeEventListener?c=function(e,n,t){e.removeEventListener(n,t,!1)}:t.detachEvent&&(c=function(e,n,t){e.detachEvent("on"+n,e[n+t]);try{delete e[n+t]}catch(o){e[n+t]=void 0}});var i={bind:o,unbind:c};"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i:e.eventie=i}(window); !function(e){"use strict";function t(e){"function"==typeof e&&(t.isReady?e():a.push(e))}function n(e){var n="readystatechange"===e.type&&"complete"!==o.readyState;t.isReady||n||i()}function i(){t.isReady=!0;for(var e=0,n=a.length;n>e;e++){var i=a[e];i()}}function d(d){return"complete"===o.readyState?i():(d.bind(o,"DOMContentLoaded",n),d.bind(o,"readystatechange",n),d.bind(e,"load",n)),t}var o=e.document,a=[];t.isReady=!1,"function"==typeof define&&define.amd?define(["eventie/eventie"],d):"object"==typeof exports?module.exports=d(require("eventie")):e.docReady=d(e.eventie)}(window); !function(s){"use strict";function e(s){return new RegExp("(^|\\s+)"+s+"(\\s+|$)")}function n(s,e){var n=t(s,e)?c:a;n(s,e)}var t,a,c;"classList"in document.documentElement?(t=function(s,e){return s.classList.contains(e)},a=function(s,e){s.classList.add(e)},c=function(s,e){s.classList.remove(e)}):(t=function(s,n){return e(n).test(s.className)},a=function(s,e){t(s,e)||(s.className=s.className+" "+e)},c=function(s,n){s.className=s.className.replace(e(n)," ")});var o={hasClass:t,addClass:a,removeClass:c,toggleClass:n,has:t,add:a,remove:c,toggle:n};"function"==typeof define&&define.amd?define(o):"object"==typeof exports?module.exports=o:s.classie=o}(window); !function(e,t){"use strict";"function"==typeof define&&define.amd?define(["doc-ready/doc-ready","matches-selector/matches-selector"],function(n,r){return t(e,n,r)}):"object"==typeof exports?module.exports=t(e,require("doc-ready"),require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.docReady,e.matchesSelector)}(window,function(e,t,n){"use strict";var r={};r.extend=function(e,t){for(var n in t)e[n]=t[n];return e},r.modulo=function(e,t){return(e%t+t)%t};var o=Object.prototype.toString;r.isArray=function(e){return"[object Array]"==o.call(e)},r.makeArray=function(e){var t=[];if(r.isArray(e))t=e;else if(e&&"number"==typeof e.length)for(var n=0,o=e.length;o>n;n++)t.push(e[n]);else t.push(e);return t},r.indexOf=Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},r.removeFrom=function(e,t){var n=r.indexOf(e,t);-1!=n&&e.splice(n,1)},r.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(e){return e instanceof HTMLElement}:function(e){return e&&"object"==typeof e&&1==e.nodeType&&"string"==typeof e.nodeName},r.setText=function(){function e(e,n){t=t||(void 0!==document.documentElement.textContent?"textContent":"innerText"),e[t]=n}var t;return e}(),r.getParent=function(e,t){for(;e!=document.body;)if(e=e.parentNode,n(e,t))return e},r.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},r.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.filterFindElements=function(e,t){e=r.makeArray(e);for(var o=[],i=0,u=e.length;u>i;i++){var c=e[i];if(r.isElement(c))if(t){n(c,t)&&o.push(c);for(var a=c.querySelectorAll(t),f=0,s=a.length;s>f;f++)o.push(a[f])}else o.push(c)}return o},r.debounceMethod=function(e,t,n){var r=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];e&&clearTimeout(e);var t=arguments,i=this;this[o]=setTimeout(function(){r.apply(i,t),delete i[o]},n||100)}},r.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var i=e.console;return r.htmlInit=function(n,o){t(function(){for(var t=r.toDashed(o),u=document.querySelectorAll(".js-"+t),c="data-"+t+"-options",a=0,f=u.length;f>a;a++){var s,d=u[a],l=d.getAttribute(c);try{s=l&&JSON.parse(l)}catch(p){i&&i.error("Error parsing "+c+" on "+d.nodeName.toLowerCase()+(d.id?"#"+d.id:"")+": "+p);continue}var y=new n(d,s),m=e.jQuery;m&&m.data(d,o,y)}})},r}); !function(t){"use strict";function n(){}function i(t){function i(n){n.prototype.option||(n.prototype.option=function(n){t.isPlainObject(n)&&(this.options=t.extend(!0,this.options,n))})}function e(n,i){t.fn[n]=function(e){if("string"==typeof e){for(var a=o.call(arguments,1),f=0,c=this.length;c>f;f++){var s=this[f],u=t.data(s,n);if(u)if(t.isFunction(u[e])&&"_"!==e.charAt(0)){var p=u[e].apply(u,a);if(void 0!==p)return p}else r("no such method '"+e+"' for "+n+" instance");else r("cannot call methods on "+n+" prior to initialization; attempted to call '"+e+"'")}return this}return this.each(function(){var o=t.data(this,n);o?(o.option(e),o._init()):(o=new i(this,e),t.data(this,n,o))})}}if(t){var r="undefined"==typeof console?n:function(t){console.error(t)};return t.bridget=function(t,n){i(n),e(t,n)},t.bridget}}var o=Array.prototype.slice;"function"==typeof define&&define.amd?define(["jquery"],i):i("object"==typeof exports?require("jquery"):t.jQuery)}(window); !function(t,i){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(n,o,e,s){return i(t,n,o,e,s)}):"object"==typeof exports?module.exports=i(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=i(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function(t,i,n,o,e){"use strict";function s(t){for(var i in t)return!1;return i=null,!0}function r(t,i){t&&(this.element=t,this.layout=i,this.position={x:0,y:0},this._create())}function a(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var p=t.getComputedStyle,h=p?function(t){return p(t,null)}:function(t){return t.currentStyle},l=o("transition"),y=o("transform"),u=l&&y,d=!!o("perspective"),f={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[l],c=["transform","transition","transitionDuration","transitionProperty"],v=function(){for(var t={},i=0,n=c.length;n>i;i++){var e=c[i],s=o(e);s&&s!==e&&(t[e]=s)}return t}();e.extend(r.prototype,i.prototype),r.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},r.prototype.handleEvent=function(t){var i="on"+t.type;this[i]&&this[i](t)},r.prototype.getSize=function(){this.size=n(this.element)},r.prototype.css=function(t){var i=this.element.style;for(var n in t){var o=v[n]||n;i[o]=t[n]}},r.prototype.getPosition=function(){var t=h(this.element),i=this.layout.options,n=i.isOriginLeft,o=i.isOriginTop,e=t[n?"left":"right"],s=t[o?"top":"bottom"],r=this.layout.size,a=-1!=e.indexOf("%")?parseFloat(e)/100*r.width:parseInt(e,10),p=-1!=s.indexOf("%")?parseFloat(s)/100*r.height:parseInt(s,10);a=isNaN(a)?0:a,p=isNaN(p)?0:p,a-=n?r.paddingLeft:r.paddingRight,p-=o?r.paddingTop:r.paddingBottom,this.position.x=a,this.position.y=p},r.prototype.layoutPosition=function(){var t=this.layout.size,i=this.layout.options,n={},o=i.isOriginLeft?"paddingLeft":"paddingRight",e=i.isOriginLeft?"left":"right",s=i.isOriginLeft?"right":"left",r=this.position.x+t[o];n[e]=this.getXValue(r),n[s]="";var a=i.isOriginTop?"paddingTop":"paddingBottom",p=i.isOriginTop?"top":"bottom",h=i.isOriginTop?"bottom":"top",l=this.position.y+t[a];n[p]=this.getYValue(l),n[h]="",this.css(n),this.emitEvent("layout",[this])},r.prototype.getXValue=function(t){var i=this.layout.options;return i.percentPosition&&!i.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},r.prototype.getYValue=function(t){var i=this.layout.options;return i.percentPosition&&i.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},r.prototype._transitionTo=function(t,i){this.getPosition();var n=this.position.x,o=this.position.y,e=parseInt(t,10),s=parseInt(i,10),r=e===this.position.x&&s===this.position.y;if(this.setPosition(t,i),r&&!this.isTransitioning)return void this.layoutPosition();var a=t-n,p=i-o,h={};h.transform=this.getTranslate(a,p),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},r.prototype.getTranslate=function(t,i){var n=this.layout.options;return t=n.isOriginLeft?t:-t,i=n.isOriginTop?i:-i,d?"translate3d("+t+"px, "+i+"px, 0)":"translate("+t+"px, "+i+"px)"},r.prototype.goTo=function(t,i){this.setPosition(t,i),this.layoutPosition()},r.prototype.moveTo=u?r.prototype._transitionTo:r.prototype.goTo,r.prototype.setPosition=function(t,i){this.position.x=parseInt(t,10),this.position.y=parseInt(i,10)},r.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var i in t.onTransitionEnd)t.onTransitionEnd[i].call(this)},r.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var i=this._transn;for(var n in t.onTransitionEnd)i.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)i.ingProperties[n]=!0,t.isCleaning&&(i.clean[n]=!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 g="opacity,"+a(v.transform||"transform");r.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:g,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(f,this,!1))},r.prototype.transition=r.prototype[l?"_transition":"_nonTransition"],r.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},r.prototype.onotransitionend=function(t){this.ontransitionend(t)};var m={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};r.prototype.ontransitionend=function(t){if(t.target===this.element){var i=this._transn,n=m[t.propertyName]||t.propertyName;if(delete i.ingProperties[n],s(i.ingProperties)&&this.disableTransition(),n in i.clean&&(this.element.style[t.propertyName]="",delete i.clean[n]),n in i.onEnd){var o=i.onEnd[n];o.call(this),delete i.onEnd[n]}this.emitEvent("transitionEnd",[this])}},r.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(f,this,!1),this.isTransitioning=!1},r.prototype._removeStyles=function(t){var i={};for(var n in t)i[n]="";this.css(i)};var T={transitionProperty:"",transitionDuration:""};return r.prototype.removeTransitionStyles=function(){this.css(T)},r.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},r.prototype.remove=function(){if(!l||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()},r.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,i={},n=this.getHideRevealTransitionEndProperty("visibleStyle");i[n]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:i})},r.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},r.prototype.getHideRevealTransitionEndProperty=function(t){var i=this.layout.options[t];if(i.opacity)return"opacity";for(var n in i)return n},r.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,i={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");i[n]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:i})},r.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},r.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s,r){return e(t,i,o,n,s,r)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n,s){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,p&&(this.$element=p(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++u;this.element.outlayerGUID=o,m[o]=this,this._create(),this.options.isInitLayout&&this.layout()}var a=t.console,p=t.jQuery,h=function(){},u=0,m={};return r.namespace="outlayer",r.Item=s,r.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)"}},n.extend(r.prototype,i.prototype),r.prototype.option=function(t){n.extend(this.options,t)},r.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},r.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},r.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0,s=e.length;s>n;n++){var r=e[n],a=new i(r,this);o.push(a)}return o},r.prototype._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},r.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},r.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},r.prototype._init=r.prototype.layout,r.prototype._resetLayout=function(){this.getSize()},r.prototype.getSize=function(){this.size=o(this.element)},r.prototype._getMeasurement=function(t,e){var i,s=this.options[t];s?("string"==typeof s?i=this.element.querySelector(s):n.isElement(s)&&(i=s),this[t]=i?o(i)[e]:s):this[t]=0},r.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},r.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},r.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],o=0,n=t.length;n>o;o++){var s=t[o],r=this._getItemLayoutPosition(s);r.item=s,r.isInstant=e||s.isLayoutInstant,i.push(r)}this._processLayoutQueue(i)}},r.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},r.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)}},r.prototype._positionItem=function(t,e,i,o){o?t.goTo(e,i):t.moveTo(e,i)},r.prototype._postLayout=function(){this.resizeContainer()},r.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},r.prototype._getContainerSize=h,r.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"}},r.prototype._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){r++,r===s&&i()}var n=this,s=e.length;if(!e||!s)return void i();for(var r=0,a=0,p=e.length;p>a;a++){var h=e[a];h.once(t,o)}},r.prototype.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),p)if(this.$element=this.$element||p(this.element),e){var n=p.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},r.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},r.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},r.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;i>e;e++){var o=t[e];this.ignore(o)}}},r.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var o=t[e];n.removeFrom(this.stamps,o),this.unignore(o)}},r.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},r.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)}}},r.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)}},r.prototype._manageStamp=h,r.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=o(t),s={left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom};return s},r.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},r.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},r.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},r.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},r.prototype.needsResizeLayout=function(){var t=o(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},r.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},r.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},r.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)}},r.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&e>i;i++){var o=t[i];o.reveal()}},r.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&e>i;i++){var o=t[i];o.hide()}},r.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},r.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},r.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}},r.prototype.getItems=function(t){t=n.makeArray(t);for(var e=[],i=0,o=t.length;o>i;i++){var s=t[i],r=this.getItem(s);r&&e.push(r)}return e},r.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,o=e.length;o>i;i++){var s=e[i];s.remove(),n.removeFrom(this.items,s)}},r.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();var n=this.element.outlayerGUID;delete m[n],delete this.element.outlayerGUID,p&&p.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&m[e]},r.create=function(t,e){function i(){r.apply(this,arguments)}return Object.create?i.prototype=Object.create(r.prototype):n.extend(i.prototype,r.prototype),i.prototype.constructor=i,i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=r.data,i.Item=function(){s.apply(this,arguments)},i.Item.prototype=new s,n.htmlInit(i,t),p&&p.bridget&&p.bridget(t,i),i},r.Item=s,r}); !function(e,t){"use strict";"function"==typeof define&&define.amd?define(["get-size/get-size","outlayer/outlayer"],t):"object"==typeof exports?module.exports=t(require("get-size"),require("outlayer")):(e.Isotope=e.Isotope||{},e.Isotope.LayoutMode=t(e.getSize,e.Outlayer))}(window,function(e,t){"use strict";function i(e){this.isotope=e,e&&(this.options=e.options[this.namespace],this.element=e.element,this.items=e.filteredItems,this.size=e.size)}return function(){function e(e){return function(){return t.prototype[e].apply(this.isotope,arguments)}}for(var o=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],s=0,n=o.length;n>s;s++){var r=o[s];i.prototype[r]=e(r)}}(),i.prototype.needsVerticalResizeLayout=function(){var t=e(this.isotope.element),i=this.isotope.size&&t;return i&&t.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(e,t){var i=e+t,o="outer"+t;if(this._getMeasurement(i,o),!this[i]){var s=this.getFirstItemSize();this[i]=s&&s[o]||this.isotope.size["inner"+t]}},i.prototype.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.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(e,t){function o(){i.apply(this,arguments)}return o.prototype=new i,t&&(o.options=t),o.prototype.namespace=e,i.modes[e]=o,o},i}); !function(t,o){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer"],o):"object"==typeof exports?module.exports=o(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=o(t.Outlayer))}(window,function(t){"use strict";function o(){t.Item.apply(this,arguments)}o.prototype=new t.Item,o.prototype._create=function(){this.id=this.layout.itemGUID++,t.Item.prototype._create.call(this),this.sortData={}},o.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,o=this.layout._sorters;for(var e in t){var i=o[e];this.sortData[e]=i(this.element,this)}}};var e=o.prototype.destroy;return o.prototype.destroy=function(){e.apply(this,arguments),this.css({display:""})},o}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","./item","./layout-mode","./layout-modes/masonry","./layout-modes/fit-rows","./layout-modes/vertical"],function(o,i,r,n,s,a){return e(t,o,i,r,n,s,a)}):"object"==typeof exports?module.exports=e(t,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")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,o,i,r,n,s){"use strict";function a(t,e){return function(o,i){for(var r=0,n=t.length;n>r;r++){var s=t[r],a=o.sortData[s],u=i.sortData[s];if(a>u||u>a){var h=void 0!==e[s]?e[s]:e,p=h?1:-1;return(a>u?1:-1)*p}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},p=document.documentElement,l=p.textContent?function(t){return t.textContent}:function(t){return t.innerText},m=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});m.Item=n,m.LayoutMode=s,m.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in s.modes)this._initLayoutMode(t)},m.prototype.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},m.prototype._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),o=0,i=t.length;i>o;o++){var r=t[o];r.id=this.itemGUID++}return this._updateItemsSortData(t),t},m.prototype._initLayoutMode=function(t){var e=s.modes[t],o=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,o):o,this.modes[t]=new e(this)},m.prototype.layout=function(){return!this._isLayoutInited&&this.options.isInitLayout?void this.arrange():void this._layout()},m.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},m.prototype.arrange=function(t){function e(){i.reveal(o.needReveal),i.hide(o.needHide)}this.option(t),this._getIsInstant();var o=this._filter(this.items);this.filteredItems=o.matches;var i=this;this._bindArrangeComplete(),this._isInstant?this._noTransition(e):e(),this._sort(),this._layout()},m.prototype._init=m.prototype.arrange,m.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},m.prototype._bindArrangeComplete=function(){function t(){e&&o&&i&&r.dispatchEvent("arrangeComplete",null,[r.filteredItems])}var e,o,i,r=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){o=!0,t()}),this.once("revealComplete",function(){i=!0,t()})},m.prototype._filter=function(t){var e=this.options.filter;e=e||"*";for(var o=[],i=[],r=[],n=this._getFilterTest(e),s=0,a=t.length;a>s;s++){var u=t[s];if(!u.isIgnored){var h=n(u);h&&o.push(u),h&&u.isHidden?i.push(u):h||u.isHidden||r.push(u)}}return{matches:o,needReveal:i,needHide:r}},m.prototype._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return i(e.element,t)}},m.prototype.updateSortData=function(t){var e;t?(t=r.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},m.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var o=t[e];this._sorters[e]=f(o)}},m.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,o=0;e&&e>o;o++){var i=t[o];i.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var o=h(t).split(" "),i=o[0],r=i.match(/^\[(.+)\]$/),n=r&&r[1],s=e(n,i),a=m.sortDataParsers[o[1]];return t=a?function(t){return t&&a(s(t))}:function(t){return t&&s(t)}}function e(t,e){var o;return o=t?function(e){return e.getAttribute(t)}:function(t){var o=t.querySelector(e);return o&&l(o)}}return t}();m.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},m.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),o=a(e,this.options.sortAscending);this.filteredItems.sort(o),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},m.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},m.prototype._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},m.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},m.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},m.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},m.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},m.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var o=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(o)}},m.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var o=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=o.concat(this.filteredItems),this.items=e.concat(this.items)}},m.prototype._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},m.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var o,i,r=e.length;for(o=0;r>o;o++)i=e[o],this.element.appendChild(i.element);var n=this._filter(e).matches;for(o=0;r>o;o++)e[o].isLayoutInstant=!0;for(this.arrange(),o=0;r>o;o++)delete e[o].isLayoutInstant;this.reveal(n)}};var d=m.prototype.remove;return m.prototype.remove=function(t){t=r.makeArray(t);var e=this.getItems(t);d.call(this,t);var o=e&&e.length;if(o)for(var i=0;o>i;i++){var n=e[i];r.removeFrom(this.filteredItems,n)}},m.prototype.shuffle=function(){for(var t=0,e=this.items.length;e>t;t++){var o=this.items[t];o.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},m.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.call(this);return this.options.transitionDuration=e,o},m.prototype.getFilteredItemElements=function(){for(var t=[],e=0,o=this.filteredItems.length;o>e;e++)t.push(this.filteredItems[e].element);return t},m}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},e.prototype._getContainerSize=function(){return{height:this.maxY}},e}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";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,o=this.y;return this.y+=t.size.outerHeight,{x:e,y:o}},e.prototype._getContainerSize=function(){return{height:this.y}},e}); !function(t,i){"use strict";"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],i):"object"==typeof exports?module.exports=i(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=i(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,i,e){"use strict";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],e=t&&t.element;this.columnWidth=e&&i(e).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,s=this.containerWidth+this.gutter,h=s/o,r=o-s%o,n=r&&1>r?"round":"floor";h=Math[n](h),this.cols=Math.max(h,1)},o.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,e=i(t);this.containerWidth=e&&e.innerWidth},o.prototype._getItemLayoutPosition=function(t){t.getSize();var i=t.size.outerWidth%this.columnWidth,o=i&&1>i?"round":"ceil",s=Math[o](t.size.outerWidth/this.columnWidth);s=Math.min(s,this.cols);for(var h=this._getColGroup(s),r=Math.min.apply(Math,h),n=e.indexOf(h,r),a={x:this.columnWidth*n,y:r},u=r+t.size.outerHeight,l=this.cols+1-h.length,c=0;l>c;c++)this.colYs[n+c]=u;return a},o.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var i=[],e=this.cols+1-t,o=0;e>o;o++){var s=this.colYs.slice(o,o+t);i[o]=Math.max.apply(Math,s)}return i},o.prototype._manageStamp=function(t){var e=i(t),o=this._getElementOffset(t),s=this.options.isOriginLeft?o.left:o.right,h=s+e.outerWidth,r=Math.floor(s/this.columnWidth);r=Math.max(0,r);var n=Math.floor(h/this.columnWidth);n-=h%this.columnWidth?0:1,n=Math.min(this.cols-1,n);for(var a=(this.options.isOriginTop?o.top:o.bottom)+e.outerHeight,u=r;n>=u;u++)this.colYs[u]=Math.max(a,this.colYs[u])},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,i=this.cols;--i&&0===this.colYs[i];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},o}); !function(t,o){"use strict";"function"==typeof define&&define.amd?define(["../layout-mode","masonry/masonry"],o):"object"==typeof exports?module.exports=o(require("../layout-mode"),require("masonry-layout")):o(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,o){"use strict";function e(t,o){for(var e in o)t[e]=o[e];return t}var r=t.create("masonry"),i=r.prototype._getElementOffset,p=r.prototype.layout,s=r.prototype._getMeasurement;e(r.prototype,o.prototype),r.prototype._getElementOffset=i,r.prototype.layout=p,r.prototype._getMeasurement=s;var n=r.prototype.measureColumns;r.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,n.call(this)};var a=r.prototype._manageStamp;return r.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,a.apply(this,arguments)},r}); !function(t){"use strict";function e(t){var e=t.create("cellsByColumn");return e.prototype._resetLayout=function(){this.itemIndex=0,this.getColumnWidth(),this.getRowHeight(),this.rows=Math.floor(this.isotope.size.innerHeight/this.rowHeight),this.rows=Math.max(this.rows,1)},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=Math.floor(this.itemIndex/this.rows),i=this.itemIndex%this.rows,o=(e+.5)*this.columnWidth-t.size.outerWidth/2,s=(i+.5)*this.rowHeight-t.size.outerHeight/2;return this.itemIndex++,{x:o,y:s}},e.prototype._getContainerSize=function(){return{width:Math.ceil(this.itemIndex/this.rows)*this.columnWidth}},e.prototype.needsResizeLayout=function(){return this.needsVerticalResizeLayout()},e}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode")):e(t.Isotope.LayoutMode)}(window); !function(t){"use strict";function e(t){var e=t.create("cellsByRow");return e.prototype._resetLayout=function(){this.itemIndex=0,this.getColumnWidth(),this.getRowHeight(),this.cols=Math.floor(this.isotope.size.innerWidth/this.columnWidth),this.cols=Math.max(this.cols,1)},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=this.itemIndex%this.cols,i=Math.floor(this.itemIndex/this.cols),o=(e+.5)*this.columnWidth-t.size.outerWidth/2,s=(i+.5)*this.rowHeight-t.size.outerHeight/2;return this.itemIndex++,{x:o,y:s}},e.prototype._getContainerSize=function(){return{height:Math.ceil(this.itemIndex/this.cols)*this.rowHeight}},e}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode")):e(t.Isotope.LayoutMode)}(window); !function(t){"use strict";function e(t){var e=t.create("fitColumns");return e.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxX=0},e.prototype._getItemLayoutPosition=function(t){t.getSize(),0!==this.y&&t.size.outerHeight+this.y>this.isotope.size.innerHeight&&(this.y=0,this.x=this.maxX);var e={x:this.x,y:this.y};return this.maxX=Math.max(this.maxX,this.x+t.size.outerWidth),this.y+=t.size.outerHeight,e},e.prototype._getContainerSize=function(){return{width:this.maxX}},e.prototype.needsResizeLayout=function(){return this.needsVerticalResizeLayout()},e}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode")):e(t.Isotope.LayoutMode)}(window); !function(t){"use strict";function e(t){var e=t.create("horizontal",{verticalAlignment:0});return e.prototype._resetLayout=function(){this.x=0},e.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerHeight-t.size.outerHeight)*this.options.verticalAlignment,o=this.x;return this.x+=t.size.outerWidth,{x:o,y:e}},e.prototype._getContainerSize=function(){return{width:this.x}},e.prototype.needsResizeLayout=function(){return this.needsVerticalResizeLayout()},e}"function"==typeof define&&define.amd?define(["isotope/js/layout-mode"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode")):e(t.Isotope.LayoutMode)}(window); !function(t,i){"use strict";"function"==typeof define&&define.amd?define(["get-size/get-size","isotope/js/layout-mode","fizzy-ui-utils/utils"],i):"object"==typeof exports?module.exports=i(require("get-size"),require("isotope-layout/js/layout-mode"),require("fizzy-ui-utils")):i(t.getSize,t.Isotope.LayoutMode,t.fizzyUIUtils)}(window,function(t,i,e){"use strict";var o=i.create("masonryHorizontal");return o.prototype._resetLayout=function(){this.getRowHeight(),this._getMeasurement("gutter","outerHeight"),this.rowHeight+=this.gutter,this.rows=Math.floor((this.isotope.size.innerHeight+this.gutter)/this.rowHeight),this.rows=Math.max(this.rows,1);var t=this.rows;for(this.rowXs=[];t--;)this.rowXs.push(0);this.maxX=0},o.prototype._getItemLayoutPosition=function(t){t.getSize();var i=Math.ceil(t.size.outerHeight/this.rowHeight);i=Math.min(i,this.rows);for(var o=this._getRowGroup(i),s=Math.min.apply(Math,o),r=e.indexOf(o,s),h={x:s,y:this.rowHeight*r},a=s+t.size.outerWidth,n=this.rows+1-o.length,u=0;n>u;u++)this.rowXs[r+u]=a;return h},o.prototype._getRowGroup=function(t){if(2>t)return this.rowXs;for(var i=[],e=this.rows+1-t,o=0;e>o;o++){var s=this.rowXs.slice(o,o+t);i[o]=Math.max.apply(Math,s)}return i},o.prototype._manageStamp=function(i){var e=t(i),o=this.isotope._getElementOffset(i),s=this.isotope.options.isOriginTop?o.top:o.bottom,r=s+e.outerHeight,h=Math.floor(s/this.rowHeight);h=Math.max(0,h);var a=Math.floor(r/this.rowHeight);a=Math.min(this.rows-1,a);for(var n=(this.isotope.options.isOriginLeft?o.left:o.right)+e.outerWidth,u=h;a>=u;u++)this.rowXs[u]=Math.max(n,this.rowXs[u])},o.prototype._getContainerSize=function(){return this.maxX=Math.max.apply(Math,this.rowXs),{width:this.maxX}},o.prototype.needsResizeLayout=function(){return this.needsVerticalResizeLayout()},o}); !function(t,i){"use strict";"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():(t.Packery=t.Packery||{},t.Packery.Rect=i())}(window,function(){"use strict";function t(i){for(var h in t.defaults)this[h]=t.defaults[h];for(h in i)this[h]=i[h]}var i=window.Packery=function(){};return i.Rect=t,t.defaults={x:0,y:0,width:0,height:0},t.prototype.contains=function(t){var i=t.width||0,h=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+i&&this.y+this.height>=t.y+h},t.prototype.overlaps=function(t){var i=this.x+this.width,h=this.y+this.height,e=t.x+t.width,s=t.y+t.height;return this.x<e&&i>t.x&&this.y<s&&h>t.y},t.prototype.getMaximalFreeRects=function(i){if(!this.overlaps(i))return!1;var h,e=[],s=this.x+this.width,n=this.y+this.height,r=i.x+i.width,y=i.y+i.height;return this.y<i.y&&(h=new t({x:this.x,y:this.y,width:this.width,height:i.y-this.y}),e.push(h)),s>r&&(h=new t({x:r,y:this.y,width:s-r,height:this.height}),e.push(h)),n>y&&(h=new t({x:this.x,y:y,width:this.width,height:n-y}),e.push(h)),this.x<i.x&&(h=new t({x:this.x,y:this.y,width:i.x-this.x,height:this.height}),e.push(h)),e},t.prototype.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}); !function(t,e){"use strict";if("function"==typeof define&&define.amd)define(["./rect"],e);else if("object"==typeof exports)module.exports=e(require("./rect"));else{var s=t.Packery=t.Packery||{};s.Packer=e(s.Rect)}}(window,function(t){"use strict";function e(t,e,s){this.width=t||0,this.height=e||0,this.sortDirection=s||"downwardLeftToRight",this.reset()}e.prototype.reset=function(){this.spaces=[],this.newSpaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=s[this.sortDirection]||s.downwardLeftToRight},e.prototype.pack=function(t){for(var e=0,s=this.spaces.length;s>e;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},e.prototype.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},e.prototype.placed=function(t){for(var e=[],s=0,i=this.spaces.length;i>s;s++){var r=this.spaces[s],o=r.getMaximalFreeRects(t);o?e.push.apply(e,o):e.push(r)}this.spaces=e,this.mergeSortSpaces()},e.prototype.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},e.prototype.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){for(var e=0,s=t.length;s>e;e++){var i=t[e];if(i){var r=t.slice(0);r.splice(e,1);for(var o=0,c=0,n=r.length;n>c;c++){var a=r[c],p=e>c?0:1;i.contains(a)&&(t.splice(c+p-o,1),o++)}}}return t};var s={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return e}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["get-style-property/get-style-property","outlayer/outlayer","./rect"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property"),require("outlayer"),require("./rect")):t.Packery.Item=e(t.getStyleProperty,t.Outlayer,t.Packery.Rect)}(window,function(t,e,i){"use strict";var o=t("transform"),s=function(){e.Item.apply(this,arguments)};s.prototype=new e.Item;var r=s.prototype._create;return s.prototype._create=function(){r.call(this),this.rect=new i,this.placeRect=new i},s.prototype.dragStart=function(){this.getPosition(),this.removeTransitionStyles(),this.isTransitioning&&o&&(this.element.style[o]="none"),this.getSize(),this.isPlacing=!0,this.needsPositioning=!1,this.positionPlaceRect(this.position.x,this.position.y),this.isTransitioning=!1,this.didDrag=!1},s.prototype.dragMove=function(t,e){this.didDrag=!0;var i=this.layout.size;t-=i.paddingLeft,e-=i.paddingTop,this.positionPlaceRect(t,e)},s.prototype.dragStop=function(){this.getPosition();var t=this.position.x!=this.placeRect.x,e=this.position.y!=this.placeRect.y;this.needsPositioning=t||e,this.didDrag=!1},s.prototype.positionPlaceRect=function(t,e,i){this.placeRect.x=this.getPlaceRectCoord(t,!0),this.placeRect.y=this.getPlaceRectCoord(e,!1,i)},s.prototype.getPlaceRectCoord=function(t,e,i){var o=e?"Width":"Height",s=this.size["outer"+o],r=this.layout[e?"columnWidth":"rowHeight"],n=this.layout.size["inner"+o];e||(n=Math.max(n,this.layout.maxY),this.layout.rowHeight||(n-=this.layout.gutter));var a;if(r){r+=this.layout.gutter,n+=e?this.layout.gutter:0,t=Math.round(t/r);var c;c=this.layout.options.isHorizontal?e?"ceil":"floor":e?"floor":"ceil";var h=Math[c](n/r);h-=Math.ceil(s/r),a=h}else a=n-s;return t=i?t:Math.min(t,a),t*=r||1,Math.max(0,t)},s.prototype.copyPlaceRectPosition=function(){this.rect.x=this.placeRect.x,this.rect.y=this.placeRect.y},s.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},s}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["classie/classie","get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof exports?module.exports=e(require("desandro-classie"),require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.classie,t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,o,r,n){"use strict";function s(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function a(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}o.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var h=i.create("packery");return h.Item=n,h.prototype._create=function(){i.prototype._create.call(this),this.packer=new r,this.stamp(this.options.stamped);var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},h.prototype._resetLayout=function(){this.getSize(),this._getMeasurements();var t=this.packer;this.options.isHorizontal?(t.width=Number.POSITIVE_INFINITY,t.height=this.size.innerHeight+this.gutter,t.sortDirection="rightwardTopToBottom"):(t.width=this.size.innerWidth+this.gutter,t.height=Number.POSITIVE_INFINITY,t.sortDirection="downwardLeftToRight"),t.reset(),this.maxY=0,this.maxX=0},h.prototype._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},h.prototype._getItemLayoutPosition=function(t){return this._packItem(t),t.rect},h.prototype._packItem=function(t){this._setRectSize(t.element,t.rect),this.packer.pack(t.rect),this._setMaxXY(t.rect)},h.prototype._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},h.prototype._setRectSize=function(t,i){var o=e(t),r=o.outerWidth,n=o.outerHeight;(r||n)&&(r=this._applyGridGutter(r,this.columnWidth),n=this._applyGridGutter(n,this.rowHeight)),i.width=Math.min(r,this.packer.width),i.height=Math.min(n,this.packer.height)},h.prototype._applyGridGutter=function(t,e){if(!e)return t+this.gutter;e+=this.gutter;var i=t%e,o=i&&1>i?"round":"ceil";return t=Math[o](t/e)*e},h.prototype._getContainerSize=function(){return this.options.isHorizontal?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},h.prototype._manageStamp=function(t){var e,i=this.getItem(t);if(i&&i.isPlacing)e=i.placeRect;else{var r=this._getElementOffset(t);e=new o({x:this.options.isOriginLeft?r.left:r.right,y:this.options.isOriginTop?r.top:r.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},h.prototype.sortItemsByPosition=function(){var t=this.options.isHorizontal?a:s;this.items.sort(t)},h.prototype.fit=function(t,e,i){var o=this.getItem(t);o&&(this._getMeasurements(),this.stamp(o.element),o.getSize(),o.isPlacing=!0,e=void 0===e?o.rect.x:e,i=void 0===i?o.rect.y:i,o.positionPlaceRect(e,i,!0),this._bindFitEvents(o),o.moveTo(o.placeRect.x,o.placeRect.y),this.layout(),this.unstamp(o.element),this.sortItemsByPosition(),o.isPlacing=!1,o.copyPlaceRectPosition())},h.prototype._bindFitEvents=function(t){function e(){o++,2==o&&i.dispatchEvent("fitComplete",null,[t])}var i=this,o=0;t.on("layout",function(){return e(),!0}),this.on("layoutComplete",function(){return e(),!0})},h.prototype.resize=function(){var t=e(this.element),i=this.size&&t,o=this.options.isHorizontal?"innerHeight":"innerWidth";i&&t[o]==this.size[o]||this.layout()},h.prototype.itemDragStart=function(t){this.stamp(t);var e=this.getItem(t);e&&e.dragStart()},h.prototype.itemDragMove=function(t,e,i){function o(){n.layout(),delete n.dragTimeout}var r=this.getItem(t);r&&r.dragMove(e,i);var n=this;this.clearDragTimeout(),this.dragTimeout=setTimeout(o,40)},h.prototype.clearDragTimeout=function(){this.dragTimeout&&clearTimeout(this.dragTimeout)},h.prototype.itemDragEnd=function(e){var i,o=this.getItem(e);if(o&&(i=o.didDrag,o.dragStop()),!o||!i&&!o.needsPositioning)return void this.unstamp(e);t.add(o.element,"is-positioning-post-drag");var r=this._getDragEndLayoutComplete(e,o);o.needsPositioning?(o.on("layout",r),o.moveTo(o.placeRect.x,o.placeRect.y)):o&&o.copyPlaceRectPosition(),this.clearDragTimeout(),this.on("layoutComplete",r),this.layout()},h.prototype._getDragEndLayoutComplete=function(e,i){var o=i&&i.needsPositioning,r=0,n=o?2:1,s=this;return function(){return r++,r!=n?!0:(i&&(t.remove(i.element,"is-positioning-post-drag"),i.isPlacing=!1,i.copyPlaceRectPosition()),s.unstamp(e),s.sortItemsByPosition(),o&&s.dispatchEvent("dragItemPositioned",null,[i]),!0)}},h.prototype.bindDraggabillyEvents=function(t){t.on("dragStart",this.handleDraggabilly.dragStart),t.on("dragMove",this.handleDraggabilly.dragMove),t.on("dragEnd",this.handleDraggabilly.dragEnd)},h.prototype.bindUIDraggableEvents=function(t){t.on("dragstart",this.handleUIDraggable.start).on("drag",this.handleUIDraggable.drag).on("dragstop",this.handleUIDraggable.stop)},h.Rect=o,h.Packer=r,h}); !function(t,e){"use strict";"function"==typeof define&&define.amd?define(["isotope/js/layout-mode","packery/js/packery","get-size/get-size"],e):"object"==typeof exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery"),require("get-size")):e(t.Isotope.LayoutMode,t.Packery,t.getSize)}(window,function(t,e,o){"use strict";function i(t,e){for(var o in e)t[o]=e[o];return t}var r=t.create("packery"),p=r.prototype._getElementOffset,s=r.prototype._getMeasurement;i(r.prototype,e.prototype),r.prototype._getElementOffset=p,r.prototype._getMeasurement=s;var n=r.prototype._resetLayout;r.prototype._resetLayout=function(){this.packer=this.packer||new e.Packer,n.apply(this,arguments)};var a=r.prototype._getItemLayoutPosition;r.prototype._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var u=r.prototype._manageStamp;return r.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},r.prototype.needsResizeLayout=function(){var t=o(this.element),e=this.size&&t,i=this.options.isHorizontal?"innerHeight":"innerWidth";return e&&t[i]!=this.size[i]},r}); !function(e,t){"use strict";"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,n){return t(e,i,n)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,i){"use strict";function n(e,t){for(var i in t)e[i]=t[i];return e}function o(e){return"[object Array]"===d.call(e)}function r(e){var t=[];if(o(e))t=e;else if("number"==typeof e.length)for(var i=0,n=e.length;n>i;i++)t.push(e[i]);else t.push(e);return t}function s(e,t,i){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=r(e),this.options=n({},this.options),"function"==typeof t?i=t:n(this.options,t),i&&this.on("always",i),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var o=this;setTimeout(function(){o.check()})}function h(e){this.img=e}function f(e){this.src=e,p[e]=this}var c=e.jQuery,a=e.console,u="undefined"!=typeof a,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 i=this.elements[e];"IMG"===i.nodeName&&this.addImage(i);var n=i.nodeType;if(n&&(1===n||9===n||11===n))for(var o=i.querySelectorAll("img"),r=0,s=o.length;s>r;r++){var h=o[r];this.addImage(h)}}},s.prototype.addImage=function(e){var t=new h(e);this.images.push(t)},s.prototype.check=function(){function e(e,o){return t.options.debug&&u&&a.log("confirm",e,o),t.progress(e),i++,i===n&&t.complete(),!0}var t=this,i=0,n=this.images.length;if(this.hasAnyBroken=!1,!n)return void this.complete();for(var o=0;n>o;o++){var r=this.images[o];r.on("confirm",e),r.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 i=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[i](t)}})},c&&(c.fn.imagesLoaded=function(e,t){var i=new s(this,e,t);return i.jqDeferred.promise(c(this))}),h.prototype=new t,h.prototype.check=function(){var e=p[this.img.src]||new f(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,i){return t.confirm(e.isLoaded,i),!0}),e.check()},h.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var p={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;i.bind(e,"load",this),i.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){i.unbind(e.target,"load",this),i.unbind(e.target,"error",this)},s}); var hljs=new function(){function e(e){return e.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,t){var r=e&&e.exec(t);return r&&0==r.index}function n(e){return Array.prototype.map.call(e.childNodes,function(e){return 3==e.nodeType?E.useBR?e.nodeValue.replace(/\n/g,""):e.nodeValue:"br"==t(e)?"\n":n(e)}).join("")}function a(e){var t=(e.className+" "+(e.parentNode?e.parentNode.className:"")).split(/\s+/);return t=t.map(function(e){return e.replace(/^language-/,"")}),t.filter(function(e){return v(e)||"no-highlight"==e})[0]}function i(e,t){var r={};for(var n in e)r[n]=e[n];if(t)for(var n in t)r[n]=t[n];return r}function o(e){var r=[];return function n(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3==i.nodeType?a+=i.nodeValue.length:"br"==t(i)?a+=1:1==i.nodeType&&(r.push({event:"start",offset:a,node:i}),a=n(i,a),r.push({event:"stop",offset:a,node:i}));return a}(e,0),r}function c(r,n,a){function i(){return r.length&&n.length?r[0].offset!=n[0].offset?r[0].offset<n[0].offset?r:n:"start"==n[0].event?r:n:r.length?r:n}function o(r){function n(t){return" "+t.nodeName+'="'+e(t.value)+'"'}l+="<"+t(r)+Array.prototype.map.call(r.attributes,n).join("")+">"}function c(e){l+="</"+t(e)+">"}function s(e){("start"==e.event?o:c)(e.node)}for(var u=0,l="",f=[];r.length||n.length;){var h=i();if(l+=e(a.substr(u,h[0].offset-u)),u=h[0].offset,h==r){f.reverse().forEach(c);do s(h.splice(0,1)[0]),h=i();while(h==r&&h.length&&h[0].offset==u);f.reverse().forEach(o)}else"start"==h[0].event?f.push(h[0].node):f.pop(),s(h.splice(0,1)[0])}return l+e(a.substr(u))}function s(e){function t(e){return e&&e.source||e}function r(r,n){return RegExp(t(r),"m"+(e.cI?"i":"")+(n?"g":""))}function n(a,o){function c(t,r){e.cI&&(r=r.toLowerCase()),r.split(" ").forEach(function(e){var r=e.split("|");s[r[0]]=[t,r[1]?Number(r[1]):1]})}if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var s={};"string"==typeof a.k?c("keyword",a.k):Object.keys(a.k).forEach(function(e){c(e,a.k[e])}),a.k=s}a.lR=r(a.l||/\b[A-Za-z0-9_]+\b/,!0),o&&(a.bK&&(a.b=a.bK.split(" ").join("|")),a.b||(a.b=/\B|\b/),a.bR=r(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=r(a.e)),a.tE=t(a.e)||"",a.eW&&o.tE&&(a.tE+=(a.e?"|":"")+o.tE)),a.i&&(a.iR=r(a.i)),void 0===a.r&&(a.r=1),a.c||(a.c=[]);var u=[];a.c.forEach(function(e){e.v?e.v.forEach(function(t){u.push(i(e,t))}):u.push("self"==e?a:e)}),a.c=u,a.c.forEach(function(e){n(e,a)}),a.starts&&n(a.starts,o);var l=a.c.map(function(e){return e.bK?"\\.?\\b("+e.b+")\\b\\.?":e.b}).concat([a.tE]).concat([a.i]).map(t).filter(Boolean);a.t=l.length?r(l.join("|"),!0):{exec:function(e){return null}},a.continuation={}}}n(e)}function u(t,n,a,i){function o(e,t){for(var n=0;n<t.c.length;n++)if(r(t.c[n].bR,e))return t.c[n]}function c(e,t){return r(e.eR,t)?e:e.eW?c(e.parent,t):void 0}function f(e,t){return!a&&r(t.iR,e)}function h(e,t){var r=y.cI?t[0].toLowerCase():t[0];return e.k.hasOwnProperty(r)&&e.k[r]}function g(e,t,r,n){var a=n?"":E.classPrefix,i='<span class="'+a,o=r?"":"</span>";return i+=e+'">',i+t+o}function p(){var t=e(w);if(!L.k)return t;var r="",n=0;L.lR.lastIndex=0;for(var a=L.lR.exec(t);a;){r+=t.substr(n,a.index-n);var i=h(L,a);i?(A+=i[1],r+=g(i[0],a[0])):r+=a[0],n=L.lR.lastIndex,a=L.lR.exec(t)}return r+t.substr(n)}function b(){if(L.sL&&!N[L.sL])return e(w);var t=L.sL?u(L.sL,w,!0,L.continuation.top):l(w);return L.r>0&&(A+=t.r),"continuous"==L.subLanguageMode&&(L.continuation.top=t.top),g(t.language,t.value,!1,!0)}function d(){return void 0!==L.sL?b():p()}function m(t,r){var n=t.cN?g(t.cN,"",!0):"";t.rB?(C+=n,w=""):t.eB?(C+=e(r)+n,w=""):(C+=n,w=r),L=Object.create(t,{parent:{value:L}})}function R(t,r){if(w+=t,void 0===r)return C+=d(),0;var n=o(r,L);if(n)return C+=d(),m(n,r),n.rB?0:r.length;var a=c(L,r);if(a){var i=L;i.rE||i.eE||(w+=r),C+=d();do L.cN&&(C+="</span>"),A+=L.r,L=L.parent;while(L!=a.parent);return i.eE&&(C+=e(r)),w="",a.starts&&m(a.starts,""),i.rE?0:r.length}if(f(r,L))throw new Error('Illegal lexeme "'+r+'" for mode "'+(L.cN||"<unnamed>")+'"');return w+=r,r.length||1}var y=v(t);if(!y)throw new Error('Unknown language: "'+t+'"');s(y);for(var L=i||y,C="",M=L;M!=y;M=M.parent)M.cN&&(C=g(M.cN,C,!0));var w="",A=0;try{for(var I,x,B=0;;){if(L.t.lastIndex=B,I=L.t.exec(n),!I)break;x=R(n.substr(B,I.index-B),I[0]),B=I.index+x}R(n.substr(B));for(var M=L;M.parent;M=M.parent)M.cN&&(C+="</span>");return{r:A,value:C,language:t,top:L}}catch(k){if(-1!=k.message.indexOf("Illegal"))return{r:0,value:e(n)};throw k}}function l(t,r){r=r||E.languages||Object.keys(N);var n={r:0,value:e(t)},a=n;return r.forEach(function(e){if(v(e)){var r=u(e,t,!1);r.language=e,r.r>a.r&&(a=r),r.r>n.r&&(a=n,n=r)}}),a.language&&(n.second_best=a),n}function f(e){return E.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,t,r,n){return t.replace(/\t/g,E.tabReplace)})),E.useBR&&(e=e.replace(/\n/g,"<br>")),e}function h(e){var t=n(e),r=a(e);if("no-highlight"!=r){var i=r?u(r,t,!0):l(t),s=o(e);if(s.length){var h=document.createElementNS("http://www.w3.org/1999/xhtml","pre");h.innerHTML=i.value,i.value=c(s,o(h),t)}i.value=f(i.value),e.innerHTML=i.value,e.className+=" hljs "+(!r&&i.language||""),e.result={language:i.language,re:i.r},i.second_best&&(e.second_best={language:i.second_best.language,re:i.second_best.r})}}function g(e){E=i(E,e)}function p(){if(!p.called){p.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,h)}}function b(){addEventListener("DOMContentLoaded",p,!1),addEventListener("load",p,!1)}function d(e,t){var r=N[e]=t(this);r.aliases&&r.aliases.forEach(function(t){m[t]=e})}function v(e){return N[e]||N[m[e]]}var E={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},N={},m={};this.highlight=u,this.highlightAuto=l,this.fixMarkup=f,this.highlightBlock=h,this.configure=g,this.initHighlighting=p,this.initHighlightingOnLoad=b,this.registerLanguage=d,this.getLanguage=v,this.inherit=i,this.IR="[a-zA-Z][a-zA-Z0-9_]*",this.UIR="[a-zA-Z_][a-zA-Z0-9_]*",this.NR="\\b\\d+(\\.\\d+)?",this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",this.BNR="\\b(0b[01]+)",this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",this.BE={b:"\\\\[\\s\\S]",r:0},this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]},this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]},this.CLCM={cN:"comment",b:"//",e:"$"},this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"},this.HCM={cN:"comment",b:"#",e:"$"},this.NM={cN:"number",b:this.NR,r:0},this.CNM={cN:"number",b:this.CNR,r:0},this.BNM={cN:"number",b:this.BNR,r:0},this.REGEXP_MODE={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]},this.TM={cN:"title",b:this.IR,r:0},this.UTM={cN:"title",b:this.UIR,r:0}};hljs.registerLanguage("javascript",function(e){return{aliases:["js"],k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require"},c:[{cN:"pi",b:/^\s*('|")use strict('|")/,r:10},e.ASM,e.QSM,e.CLCM,e.CBLCLM,e.CNM,{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBLCLM,e.REGEXP_MODE,{b:/</,e:/>;/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[e.CLCM,e.CBLCLM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+e.IR,r:0}]}}); !function(t,e){"use strict";function i(t,e){t[d]=e}function n(){var t=new Date,e=t.getMinutes();e=10>e?"0"+e:e;var i=t.getSeconds();return i=10>i?"0"+i:i,[t.getHours(),e,i].join(":")}var o=t.ID={};o.modules={};var s;docReady(function(){s=document.querySelector("#notification"),e(".js-radio-button-group").radioButtonGroup(),e("[data-js-module]").each(function(t,e){var i=e.getAttribute("data-js-module"),n=o.modules[i];n&&n(e)})}),o.getItemElement=function(){var t=document.createElement("div"),e=Math.random(),i=Math.random(),n=e>.8?"grid-item--width3":e>.6?"grid-item--width2":"",o=i>.8?"grid-item--height3":i>.5?"grid-item--height2":"";return t.className="grid-item "+n+" "+o,t};var a,r=document.documentElement,d=void 0!==r.textContent?"textContent":"innerText",c=getStyleProperty("transition"),u=c?1e3:1500;o.notify=function(t){i(s,t+" at "+n()),c&&(s.style[c]="none"),s.style.display="block",s.style.opacity="1",a&&clearTimeout(a),a=setTimeout(o.hideNotify,u)},o.hideNotify=function(){c?(s.style[c]="opacity 1.0s",s.style.opacity="0"):s.style.display="none"},e.fn.radioButtonGroup=function(){return this.each(function(t,i){var n=e(i);n.find(":checked").parent().addClass("is-checked"),n.on("click","input, button",function(){n.find(".is-checked").removeClass("is-checked");var t=e(this),i=t.hasClass("button")?t:t.parents(".button");i.addClass("is-checked")})}),this},hljs.configure({classPrefix:""}),e.fn.displayIsotopeCode=function(t,e){e="string"==typeof e&&-1===e.indexOf("function")?"'"+e+"'":e;var i="$grid.isotope({ "+t+": "+e+" })";i=hljs.highlight("js",i).value,this.html(i)}}(window,jQuery); ID.modules["animate-item-size"]=function(i){"use strict";var t=$(i),e=t.find(".grid").isotope({masonry:{columnWidth:60}});e.on("click",".animate-item-size-item",function(){$(this).toggleClass("is-expanded"),e.isotope("layout")})}; ID.modules["animate-item-size-responsive"]=function(t){"use strict";function i(t){var i=getSize(t);t.style[s]="none",t.style.width=i.width+"px",t.style.height=i.height+"px"}function e(t){if(s){var i=function(){t.style.width="",t.style.height="",t.removeEventListener(o,i,!1)};t.addEventListener(o,i,!1)}}function n(t,i){var e=getSize(i);t.style.width=e.width+"px",t.style.height=e.height+"px"}var s=getStyleProperty("transition"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[s],r=$(t),a=r.find(".grid").isotope({itemSelector:".animate-item-size-item",percentPosition:!0,masonry:{columnWidth:".grid-sizer"}});a.on("click",".animate-item-size-item__content",function(){var t=this;i(t);var o=t.parentNode;classie.toggleClass(o,"is-expanded");t.offsetWidth;t.style[s]="",e(t),n(t,o),a.isotope("layout")})}; ID.modules["appended-demo"]=function(e){"use strict";var t=$(e),n=t.find(".grid").isotope({masonry:{columnWidth:50}});t.find(".append-button").on("click",function(){var e=$([ID.getItemElement(),ID.getItemElement(),ID.getItemElement()]);n.append(e).isotope("appended",e)})}; ID.modules["arrange-complete-demo"]=function(t){"use strict";var o=$(t),n=o.find(".grid").isotope({masonry:{columnWidth:50}});n.on("arrangeComplete",function(t,o){ID.notify("Isotope arrange completed on "+o.length+" items")}),o.find(".button-group").on("click","button",function(){var t=$(this).attr("data-filter");n.isotope({filter:t})})}; ID.modules["combination-filters-demo"]=function(t){"use strict";function o(t){var o="";for(var i in t)o+=t[i];return o}var i=$(t),r=i.find(".grid").isotope({itemSelector:".color-shape",columnWidth:80,transitionDuration:"0.6s"}),e=i.find(".code-display code"),n={};i.on("click",".button",function(){var t=$(this),i=t.parents(".button-group"),a=i.attr("data-filter-group");n[a]=t.attr("data-filter");var s=o(n);r.isotope({filter:s}),e.displayIsotopeCode("filter",s)})}; ID.modules["commercial-license-agreement"]=function(e){"use strict";function t(e){var t=i.querySelector(".is-selected");t&&classie.remove(t,"is-selected"),classie.add(e,"is-selected");for(var l=e.getAttribute("data-license-option"),n=o[l],s=0,c=a.length;c>s;s++){var p=a[s];r.setText(p.element,n[p.property])}}var r=window.fizzyUIUtils,o={developer:{title:"Developer","for-official":"one (1) Licensed Developer","for-plain":"one individual Developer"},team:{title:"Team","for-official":"up to eight (8) Licensed Developer(s)","for-plain":"up to 8 Developers"},organization:{title:"Organization","for-official":"an unlimited number of Licensed Developer(s)","for-plain":"an unlimited number of Developers"}},i=e.querySelector(".button-group"),l=e.querySelector("h2"),n=l.cloneNode(!0);n.style.borderTop="none",n.style.marginTop=0,n.id="",r.setText(l,""),i.parentNode.insertBefore(n,i.nextSibling);for(var a=[],s=e.querySelectorAll("[data-license-property]"),c=0,p=s.length;p>c;c++){var d=s[c],u={property:d.getAttribute("data-license-property"),element:d};a.push(u)}t(i.querySelector(".button--developer")),eventie.bind(i,"click",function(e){matchesSelector(e.target,".button")&&t(e.target)})}; ID.modules["destroy-demo"]=function(o){"use strict";var t=$(o),i={masonry:{columnWidth:50}},n=t.find(".grid").isotope(i),d=!0;t.find(".toggle-button").on("click",function(){n.isotope(d?"destroy":i),d=!d})}; ID.modules["filtering-demo"]=function(t){"use strict";var n=$(t),e=n.find(".grid").isotope({itemSelector:".element-item",layoutMode:"fitRows",transitionDuration:"0.6s"}),i={numberGreaterThan50:function(){var t=$(this).find(".number").text();return parseInt(t,10)>50},ium:function(){var t=$(this).find(".name").text();return t.match(/ium$/)}},r={numberGreaterThan50:"function() {\n var number = $(this).find('.number').text();\n return parseInt( number, 10 ) > 50;\n}",ium:"function() {\n var name = $(this).find('.name').text();\n return name.match( /ium$/ );\n}"},o=n.find(".code-display code");n.find(".filter-button-group").on("click","button",function(){var t=$(this).attr("data-filter"),n=i[t]||t,u=r[t]||t;e.isotope({filter:n}),o.displayIsotopeCode("filter",u)})}; ID.modules["hero-demo"]=function(t){"use strict";var e=$(t),n=e.find(".grid").isotope({itemSelector:".element-item",layoutMode:"fitRows",transitionDuration:"0.6s",getSortData:{name:".name",symbol:".symbol",number:".number parseInt",category:"[data-category]",weight:function(t){var e=$(t).find(".weight").text();return parseFloat(e.replace(/[\(\)]/g,""))}}}),r={numberGreaterThan50:function(){var t=$(this).find(".number").text();return parseInt(t,10)>50},ium:function(){var t=$(this).find(".name").text();return t.match(/ium$/)}},i={numberGreaterThan50:"function() {\n var number = $(this).find('.number').text();\n return parseInt( number, 10 ) > 50;\n}",ium:"function() {\n var name = $(this).find('.name').text();\n return name.match( /ium$/ );\n}"},o=e.find(".code-display code");e.find(".sort-by").on("click","button",function(){var t=$(this).attr("data-sort-by");n.isotope({sortBy:t}),o.displayIsotopeCode("sortBy",t)}),e.find(".filters").on("click","button",function(){var t=$(this).attr("data-filter"),e=r[t]||t,a=i[t]||t;n.isotope({filter:e}),o.displayIsotopeCode("filter",a)})}; ID.modules["imagesloaded-callback"]=function(e){"use strict";var i=$(e).imagesLoaded(function(){i.isotope({itemSelector:".grid-image-item",percentPosition:!0,masonry:{columnWidth:".grid-sizer"}})})}; ID.modules["imagesloaded-progress"]=function(e){"use strict";var o=$(e).isotope({itemSelector:".grid-image-item",percentPosition:!0,masonry:{columnWidth:".grid-sizer"}});o.imagesLoaded().progress(function(){o.isotope("layout")})}; ID.modules["in-use-grid"]=function(e){"use strict";var i=$(e);i.find(".in-use-grid__item").hide(),i.isotope({itemSelector:"none",masonry:{columnWidth:".grid-sizer",gutter:".gutter-sizer"}}),i.isotope("option",{itemSelector:".in-use-grid__item"}),i.imagesLoaded().progress(function(e,t){var o=$(t.img).parents(".in-use-grid__item");o.show(),i.isotope("appended",o)})}; ID.modules["insert-demo"]=function(t){"use strict";var n=$(t),r=n.find(".grid").isotope({masonry:{columnWidth:50},filter:function(){var t=$(this).find(".number").text();return parseInt(t,10)%2},sortBy:"number",getSortData:{number:".number parseInt"}});n.find(".insert-button").on("click",function(){for(var t=[],n=0;3>n;n++){var e=ID.getItemElement(),o=Math.floor(100*Math.random());$(e).append('<p class="number">'+o+"</p>"),t.push(e)}r.isotope("insert",t)})}; ID.modules["layout-complete-demo"]=function(o){"use strict";var t=$(o),e=t.find(".grid").isotope({masonry:{columnWidth:50}});e.on("layoutComplete",function(o,t){ID.notify("Isotope layout completed on "+t.length+" items")}),e.on("click",".grid-item",function(){$(this).toggleClass("grid-item--gigante"),e.isotope("layout")})}; ID.modules["layout-demo"]=function(i){"use strict";var o=$(i),t=o.find(".grid").isotope({masonry:{columnWidth:50}});t.on("click",".grid-item",function(){$(this).toggleClass("grid-item--gigante"),t.isotope("layout")})}; ID.modules["layout-modes-demo"]=function(o){"use strict";var t=$(window),i=$(o),a=i.find(".grid").isotope({itemSelector:".grid-splash-item",layoutMode:"masonry",transitionDuration:"0.6s",masonry:{columnWidth:110},cellsByRow:{columnWidth:220,rowHeight:220},masonryHorizontal:{rowHeight:110},cellsByColumn:{columnWidth:220,rowHeight:220}}),e=!1,d=i.find(".code-display code");i.find(".button-group").on("click","button",function(){var o=$(this),i=!!o.attr("data-is-horizontal");if(e!=i){var n=i?{height:.7*t.height()}:{width:"auto"};a.css(n),e=i}var s=o.attr("data-layout-mode");a.isotope({layoutMode:s}),d.displayIsotopeCode("layoutMode",s)})}; ID.modules["multiple-sort-by"]=function(t){"use strict";function o(t){return t.split(",")}var r=$(t),i=r.find(".button-group"),e=r.find(".grid").isotope({layoutMode:"fitRows",itemSelector:".grid-multi-item",getSortData:{color:"[data-color]",number:".number parseInt"},sortBy:["color","number"]});i.on("click","button",function(){e.isotope({sortBy:o(this.getAttribute("data-sort-by"))})})}; !function(){"use strict";function t(t){this.element=t,this.originalY=this.element.getBoundingClientRect().top+window.pageYOffset,eventie.bind(window,"scroll",this),this.isFixed=!1,this.onscroll()}function i(t,i,e){var n=t.prototype[i],o=i+"Timeout";t.prototype[i]=function(){if(!this[o]){n.apply(this,arguments);var t=this;this[o]=setTimeout(function(){n.apply(t,arguments),delete t[o]},e||100)}}}ID.modules["page-nav"]=function(i){var e=getSize(i).outerHeight;window.innerWidth<768||e>=window.innerHeight||new t(i)};window.getComputedStyle;t.prototype.handleEvent=function(t){var i="on"+t.type;this[i]&&this[i](t)},t.prototype.onscroll=function(){var t=window.pageYOffset>=this.originalY;t!==this.isFixed&&(classie.toggle(this.element,"is-fixed"),this.isFixed=t)},i(t,"onscroll",50)}(); ID.modules["prepended-demo"]=function(e){"use strict";var t=$(e),n=t.find(".grid").isotope({masonry:{columnWidth:50}});t.find(".prepend-button").on("click",function(){var e=$([ID.getItemElement(),ID.getItemElement(),ID.getItemElement()]);n.prepend(e).isotope("prepended",e)})}; ID.modules["remove-complete-demo"]=function(o){"use strict";var e=$(o),t=e.find(".grid").isotope({masonry:{columnWidth:50}});t.on("removeComplete",function(o,e){ID.notify("Removed "+e.length+" items")}),t.on("click",".grid-item",function(){t.isotope("remove",this).isotope("layout")})}; ID.modules["remove-demo"]=function(o){"use strict";var i=$(o),e=i.find(".grid").isotope({masonry:{columnWidth:50}});e.on("click",".grid-item",function(){e.isotope("remove",this).isotope("layout")})}; ID.modules["shuffle-demo"]=function(o){"use strict";var f=$(o),i=f.find(".grid").isotope({masonry:{columnWidth:50}});f.find(".shuffle-button").on("click",function(){i.isotope("shuffle")})}; ID.modules["sorting-demo"]=function(t){"use strict";var o=$(t),e=o.find(".sort-by-button-group"),r=o.find(".grid").isotope({itemSelector:".element-item",layoutMode:"fitRows",transitionDuration:"0.6s",getSortData:{name:".name",symbol:".symbol",number:".number parseInt",category:"[data-category]",weight:function(t){var o=$(t).find(".weight").text();return parseFloat(o.replace(/[\(\)]/g,""))}}}),i=o.find(".code-display code");e.on("click","button",function(){var t=$(this).attr("data-sort-by");r.isotope({sortBy:t}),i.displayIsotopeCode("sortBy",t)})}; ID.modules["stamp-methods-demo"]=function(t){"use strict";var o=$(t),i=o.find(".grid").isotope({itemSelector:".grid-item",masonry:{columnWidth:50}}),s=i.find(".stamp"),e=!1;o.find(".stamp-button").on("click",function(){e?i.isotope("unstamp",s):i.isotope("stamp",s),i.isotope("layout"),e=!e})}; ID.modules["vertical-list"]=function(t){"use strict";var e=$(t),o=e.find(".vertical-list").isotope({itemSelector:"li",layoutMode:"vertical",transitionDuration:"0.6s",getSortData:{name:".name",symbol:".symbol",number:".number parseInt",category:".category",weight:function(t){var e=$(t).find(".weight").text();return parseFloat(e.replace(/[\(\)]/g,""))}}});e.find(".button-group").on("click","button",function(){var t=$(this).attr("data-sort-by");o.isotope({sortBy:t})})};