UNPKG

vue-masonry

Version:
6 lines 196 kB
/*! * Vue.js plugin for Masonry layouts * https://github.com/shershen08/vue-masonry/ * file:vue-masonry-plugin-umd.js */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("vue-masonry-plugin",[],t):"object"==typeof exports?exports["vue-masonry-plugin"]=t():e["vue-masonry-plugin"]=t()}(window,function(){return n=[function(e,Ee,xe){"use strict";xe.r(Ee),function(e){function t(e,t){const n=Object.create(null);var r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}xe.d(Ee,"EMPTY_ARR",function(){return Z}),xe.d(Ee,"EMPTY_OBJ",function(){return G}),xe.d(Ee,"NO",function(){return X}),xe.d(Ee,"NOOP",function(){return Q}),xe.d(Ee,"PatchFlagNames",function(){return n}),xe.d(Ee,"camelize",function(){return fe}),xe.d(Ee,"capitalize",function(){return R}),xe.d(Ee,"def",function(){return ye}),xe.d(Ee,"escapeHtml",function(){return H}),xe.d(Ee,"escapeHtmlComment",function(){return K}),xe.d(Ee,"extend",function(){return re}),xe.d(Ee,"genPropsAccessExp",function(){return Se}),xe.d(Ee,"generateCodeFrame",function(){return i}),xe.d(Ee,"getGlobalThis",function(){return _e}),xe.d(Ee,"hasChanged",function(){return ge}),xe.d(Ee,"hasOwn",function(){return se}),xe.d(Ee,"hyphenate",function(){return I}),xe.d(Ee,"includeBooleanAttr",function(){return l}),xe.d(Ee,"invokeArrayFns",function(){return ve}),xe.d(Ee,"isArray",function(){return S}),xe.d(Ee,"isBooleanAttr",function(){return a}),xe.d(Ee,"isBuiltInDirective",function(){return de}),xe.d(Ee,"isDate",function(){return j}),xe.d(Ee,"isFunction",function(){return T}),xe.d(Ee,"isGloballyWhitelisted",function(){return o}),xe.d(Ee,"isHTMLTag",function(){return z}),xe.d(Ee,"isIntegerKey",function(){return le}),xe.d(Ee,"isKnownHtmlAttr",function(){return g}),xe.d(Ee,"isKnownSvgAttr",function(){return L}),xe.d(Ee,"isMap",function(){return E}),xe.d(Ee,"isModelListener",function(){return ne}),xe.d(Ee,"isNoUnitNumericStyleProp",function(){return m}),xe.d(Ee,"isObject",function(){return k}),xe.d(Ee,"isOn",function(){return te}),xe.d(Ee,"isPlainObject",function(){return N}),xe.d(Ee,"isPromise",function(){return ce}),xe.d(Ee,"isReservedProp",function(){return ue}),xe.d(Ee,"isSSRSafeAttrName",function(){return f}),xe.d(Ee,"isSVGTag",function(){return $}),xe.d(Ee,"isSet",function(){return x}),xe.d(Ee,"isSpecialBooleanAttr",function(){return c}),xe.d(Ee,"isString",function(){return C}),xe.d(Ee,"isSymbol",function(){return w}),xe.d(Ee,"isVoidTag",function(){return W}),xe.d(Ee,"looseEqual",function(){return _}),xe.d(Ee,"looseIndexOf",function(){return J}),xe.d(Ee,"makeMap",function(){return t}),xe.d(Ee,"normalizeClass",function(){return b}),xe.d(Ee,"normalizeProps",function(){return D}),xe.d(Ee,"normalizeStyle",function(){return v}),xe.d(Ee,"objectToString",function(){return P}),xe.d(Ee,"parseStringStyle",function(){return y}),xe.d(Ee,"propsToAttrMap",function(){return h}),xe.d(Ee,"remove",function(){return oe}),xe.d(Ee,"slotFlagsText",function(){return r}),xe.d(Ee,"stringifyStyle",function(){return B}),xe.d(Ee,"toDisplayString",function(){return q}),xe.d(Ee,"toHandlerKey",function(){return me}),xe.d(Ee,"toNumber",function(){return be}),xe.d(Ee,"toRawType",function(){return ae}),xe.d(Ee,"toTypeString",function(){return A});const n={[1]:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT","-1":"HOISTED","-2":"BAIL"},r={[1]:"STABLE",2:"DYNAMIC",3:"FORWARDED"};const o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),p=2;function i(e,n=0,r=e.length){let o=e.split(/(\r?\n)/);var i,s,c,a,l=o.filter((e,t)=>t%2==1);o=o.filter((e,t)=>t%2==0);let u=0;const d=[];for(let t=0;t<o.length;t++)if((u+=o[t].length+(l[t]&&l[t].length||0))>=n){for(let e=t-p;e<=t+p||r>u;e++)e<0||e>=o.length||(i=e+1,d.push(""+i+" ".repeat(Math.max(3-String(i).length,0))+"| "+o[e]),i=o[e].length,s=l[e]&&l[e].length||0,e===t?(a=n-(u-(i+s)),c=Math.max(1,r>u?i-a:r-n),d.push(" | "+" ".repeat(a)+"^".repeat(c))):e>t&&(r>u&&(a=Math.max(Math.min(r-u,i),1),d.push(" | "+"^".repeat(a))),u+=i+s));break}return d.join("\n")}var s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly";const c=t(s),a=t(s+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function l(e){return!!e||""===e}const u=/[>/="'\u0009\u000a\u000c\u0020]/,d={};function f(e){if(d.hasOwnProperty(e))return d[e];var t=u.test(e);return t&&console.error("unsafe attribute name: "+e),d[e]=!t}const h={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},m=t("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),g=t("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),L=t("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function v(t){if(S(t)){const o={};for(let e=0;e<t.length;e++){var n=t[e],r=(C(n)?y:v)(n);if(r)for(const i in r)o[i]=r[i]}return o}return C(t)||k(t)?t:void 0}const F=/;(?![^(]*\))/g,V=/:(.+)/;function y(e){const n={};return e.split(F).forEach(e=>{if(e){const t=e.split(V);1<t.length&&(n[t[0].trim()]=t[1].trim())}}),n}function B(e){let t="";if(e&&!C(e))for(const o in e){var n=e[o],r=o.startsWith("--")?o:I(o);(C(n)||"number"==typeof n&&m(r))&&(t+=r+`:${n};`)}return t}function b(t){let n="";if(C(t))n=t;else if(S(t))for(let e=0;e<t.length;e++){var r=b(t[e]);r&&(n+=r+" ")}else if(k(t))for(const e in t)t[e]&&(n+=e+" ");return n.trim()}function D(e){if(!e)return null;var{class:t,style:n}=e;return t&&!C(t)&&(e.class=b(t)),n&&(e.style=v(n)),e}const z=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),$=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),W=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),U=/["'&<>]/;function H(e){const t=""+e;e=U.exec(t);if(!e)return t;let n="",r,o,i=0;for(o=e.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}i!==o&&(n+=t.slice(i,o)),i=o+1,n+=r}return i!==o?n+t.slice(i,o):n}const Y=/^-?>|<!--|-->|--!>|<!-$/g;function K(e){return e.replace(Y,"")}function _(e,t){if(e===t)return!0;let n=j(e),r=j(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=w(e),r=w(t),n||r)return e===t;if(n=S(e),r=S(t),n||r)return!(!n||!r)&&function(t,n){if(t.length!==n.length)return!1;let r=!0;for(let e=0;r&&e<t.length;e++)r=_(t[e],n[e]);return r}(e,t);if(n=k(e),r=k(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e){var o=e.hasOwnProperty(s),i=t.hasOwnProperty(s);if(o&&!i||!o&&i||!_(e[s],t[s]))return!1}}return String(e)===String(t)}function J(e,t){return e.findIndex(e=>_(e,t))}const q=e=>C(e)?e:null==e?"":S(e)||k(e)&&(e.toString===P||!T(e.toString))?JSON.stringify(e,O,2):String(e),O=(e,t)=>t&&t.__v_isRef?O(e,t.value):E(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:x(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||S(t)||N(t)?t:String(t),G={},Z=[],Q=()=>{},X=()=>!1,ee=/^on[^a-z]/,te=e=>ee.test(e),ne=e=>e.startsWith("onUpdate:"),re=Object.assign,oe=(e,t)=>{t=e.indexOf(t);-1<t&&e.splice(t,1)},ie=Object.prototype.hasOwnProperty,se=(e,t)=>ie.call(e,t),S=Array.isArray,E=e=>"[object Map]"===A(e),x=e=>"[object Set]"===A(e),j=e=>"[object Date]"===A(e),T=e=>"function"==typeof e,C=e=>"string"==typeof e,w=e=>"symbol"==typeof e,k=e=>null!==e&&"object"==typeof e,ce=e=>k(e)&&T(e.then)&&T(e.catch),P=Object.prototype.toString,A=e=>P.call(e),ae=e=>A(e).slice(8,-1),N=e=>"[object Object]"===A(e),le=e=>C(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ue=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),de=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo");s=t=>{const n=Object.create(null);return e=>{return n[e]||(n[e]=t(e))}};const pe=/-(\w)/g,fe=s(e=>e.replace(pe,(e,t)=>t?t.toUpperCase():"")),he=/\B([A-Z])/g,I=s(e=>e.replace(he,"-$1").toLowerCase()),R=s(e=>e.charAt(0).toUpperCase()+e.slice(1)),me=s(e=>e?"on"+R(e):""),ge=(e,t)=>!Object.is(e,t),ve=(t,n)=>{for(let e=0;e<t.length;e++)t[e](n)},ye=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},be=e=>{var t=parseFloat(e);return isNaN(t)?e:t};let M;const _e=()=>M=M||("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{}),Oe=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Se(e){return Oe.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}}.call(this,xe(12))},function(e,t,n){"use strict";n.d(t,"Vue2",function(){return i}),n.d(t,"isVue2",function(){return o});var r=n(2),o=(n.o(r,"nextTick")&&n.d(t,"nextTick",function(){return r.nextTick}),!1),i=void 0},function(e,t,n){"use strict";e.exports=n(11)},function(e,t,n){var r;void 0!==(n="function"==typeof(r=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(!e||!t)return;var n=this._events=this._events||{};var r=n[e]=n[e]||[];if(r.indexOf(t)==-1)r.push(t);return this},t.once=function(e,t){if(!e||!t)return;this.on(e,t);var n=this._onceEvents=this._onceEvents||{};var r=n[e]=n[e]||{};r[t]=true;return this},t.off=function(e,t){var n=this._events&&this._events[e];if(!n||!n.length)return;var r=n.indexOf(t);if(r!=-1)n.splice(r,1);return this},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(!n||!n.length)return;n=n.slice(0);t=t||[];var r=this._onceEvents&&this._onceEvents[e];for(var o=0;o<n.length;o++){var i=n[o];var s=r&&r[i];if(s){this.off(e,i);delete r[i]}i.apply(this,t)}return this},t.allOff=function(){delete this._events;delete this._onceEvents},e})?r.call(t,n,t,e):r)&&(e.exports=n)},function(e,t,n){var r;window,void 0!==(n="function"==typeof(r=function(){"use strict";function v(e){var t=parseFloat(e);var n=e.indexOf("%")==-1&&!isNaN(t);return n&&t}function e(){}var n=typeof console=="undefined"?e:function(e){console.error(e)};var y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];var b=y.length;function _(){var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};for(var t=0;t<b;t++){var n=y[t];e[n]=0}return e}function O(e){var t=getComputedStyle(e);if(!t)n("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? "+"See https://bit.ly/getsizebug1");return t}var r=false;var S;function E(){if(r)return;r=true;var e=document.createElement("div");e.style.width="200px";e.style.padding="1px 2px 3px 4px";e.style.borderStyle="solid";e.style.borderWidth="1px 2px 3px 4px";e.style.boxSizing="border-box";var t=document.body||document.documentElement;t.appendChild(e);var n=O(e);S=Math.round(v(n.width))==200;o.isBoxSizeOuter=S;t.removeChild(e)}function o(e){E();if(typeof e=="string")e=document.querySelector(e);if(!e||typeof e!="object"||!e.nodeType)return;var t=O(e);if(t.display=="none")return _();var n={};n.width=e.offsetWidth;n.height=e.offsetHeight;var r=n.isBorderBox=t.boxSizing=="border-box";for(var o=0;o<b;o++){var i=y[o];var s=t[i];var c=parseFloat(s);n[i]=!isNaN(c)?c:0}var a=n.paddingLeft+n.paddingRight;var l=n.paddingTop+n.paddingBottom;var u=n.marginLeft+n.marginRight;var d=n.marginTop+n.marginBottom;var p=n.borderLeftWidth+n.borderRightWidth;var f=n.borderTopWidth+n.borderBottomWidth;var h=r&&S;var m=v(t.width);if(m!==false)n.width=m+(h?0:a+p);var g=v(t.height);if(g!==false)n.height=g+(h?0:l+f);n.innerWidth=n.width-(a+p);n.innerHeight=n.height-(l+f);n.outerWidth=n.width+u;n.outerHeight=n.height+d;return n}return o})?r.call(t,n,t,e):r)&&(e.exports=n)},function(e,t,n){var r;window,r=function(e,c){"use strict";var e=e.create("masonry"),t=(e.compatOptions.fitWidth="isFitWidth",e.prototype);return t._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},t.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(e=(e=this.items[0])&&e.element,this.columnWidth=e&&c(e).outerWidth||this.containerWidth);var e=this.columnWidth+=this.gutter,t=this.containerWidth+this.gutter,n=t/e,t=e-t%e,n=Math[t&&t<1?"round":"floor"](n);this.cols=Math.max(n,1)},t.getContainerWidth=function(){var e=this._getOption("fitWidth")?this.element.parentNode:this.element,e=c(e);this.containerWidth=e&&e.innerWidth},t._getItemLayoutPosition=function(e){e.getSize();for(var t=e.size.outerWidth%this.columnWidth,t=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth),t=Math.min(t,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](t,e),r={x:this.columnWidth*n.col,y:n.y},o=n.y+e.size.outerHeight,i=t+n.col,s=n.col;s<i;s++)this.colYs[s]=o;return r},t._getTopColPosition=function(e){var e=this._getTopColGroup(e),t=Math.min.apply(Math,e);return{col:e.indexOf(t),y:t}},t._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,r=0;r<n;r++)t[r]=this._getColGroupY(r,e);return t},t._getColGroupY=function(e,t){if(t<2)return this.colYs[e];e=this.colYs.slice(e,e+t);return Math.max.apply(Math,e)},t._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols,n=1<e&&n+e>this.cols?0:n,t=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=t?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},t._manageStamp=function(e){var t=c(e),e=this._getElementOffset(e),n=this._getOption("originLeft")?e.left:e.right,r=n+t.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),o=Math.floor(r/this.columnWidth);o-=r%this.columnWidth?0:1;for(var o=Math.min(this.cols-1,o),i=(this._getOption("originTop")?e.top:e.bottom)+t.outerHeight,s=n;s<=o;s++)this.colYs[s]=Math.max(i,this.colYs[s])},t._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},t._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},t.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},e},n=[n(7),n(4)],void 0!==(t="function"==typeof(r=r)?r.apply(t,n):r)&&(e.exports=t)},function(e,r,o){var i;!function(t,n){"use strict";i=[o(3)],void 0!==(i=function(e){return n(t,e)}.apply(r,i))&&(e.exports=i)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var i=t.jQuery,s=t.console;function c(e,t){for(var n in t)e[n]=t[n];return e}var a=Array.prototype.slice;function l(e,t,n){if(!(this instanceof l))return new l(e,t,n);var r,o=e;(o="string"==typeof e?document.querySelectorAll(e):o)?(this.elements=(r=o,Array.isArray(r)?r:"object"==typeof r&&"number"==typeof r.length?a.call(r):[r]),this.options=c({},this.options),"function"==typeof t?n=t:c(this.options,t),n&&this.on("always",n),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error("Bad element for imagesLoaded "+(o||e))}(l.prototype=Object.create(e.prototype)).options={},l.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},l.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background)for(var i=e.querySelectorAll(this.options.background),r=0;r<i.length;r++){var s=i[r];this.addElementBackgroundImages(s)}}};var u={1:!0,9:!0,11:!0};function n(e){this.img=e}function r(e,t){this.url=e,this.element=t,this.img=new Image}return l.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,e),r=n.exec(t.backgroundImage)}},l.prototype.addImage=function(e){e=new n(e);this.images.push(e)},l.prototype.addBackground=function(e,t){e=new r(e,t);this.images.push(e)},l.prototype.check=function(){var r=this;function t(e,t,n){setTimeout(function(){r.progress(e,t,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},l.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&s&&s.log("progress: "+n,e,t)},l.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(n.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},n.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},n.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(r.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},r.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(l.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(e,t){return new l(this,e,t).jqDeferred.promise(i(this))})})(),l})},function(e,t,n){var r;!function(o,i){"use strict";r=[n(3),n(4),n(8),n(10)],void 0!==(r=function(e,t,n,r){return i(o,e,t,n,r)}.apply(t,r))&&(e.exports=r)}(window,function(e,t,o,r,i){"use strict";function n(){}var s=e.console,c=e.jQuery,a=0,l={};function u(e,t){var n=r.getQueryElement(e);n?(this.element=n,c&&(this.$element=c(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(t),t=++a,this.element.outlayerGUID=t,(l[t]=this)._create(),this._getOption("initLayout")&&this.layout()):s&&s.error("Bad element for "+this.constructor.namespace+": "+(n||e))}u.namespace="outlayer",u.Item=i,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=u.prototype;function p(e){function t(){e.apply(this,arguments)}return(t.prototype=Object.create(e.prototype)).constructor=t}r.extend(d,t.prototype),d.option=function(e){r.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,r=[],o=0;o<t.length;o++){var i=new n(t[o],this);r.push(i)}return r},d._filterFindItemElements=function(e){return r.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(e){return e.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),e=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=o(this.element)},d._getMeasurement=function(e,t){var n,r=this.options[e];r?("string"==typeof r?n=this.element.querySelector(r):r instanceof HTMLElement&&(n=r),this[e]=n?o(n)[t]:r):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},d._layoutItems=function(e,n){var r;this._emitCompleteOnItems("layout",e),e&&e.length&&(r=[],e.forEach(function(e){var t=this._getItemLayoutPosition(e);t.item=e,t.isInstant=n||e.isLayoutInstant,r.push(t)},this),this._processLayoutQueue(r))},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},d.updateStagger=function(){var e=this.options.stagger;if(null!=e)return this.stagger=function(e){if("number"==typeof e)return e;var e=e.match(/(^\d*\.?\d*)(\w*)/),t=e&&e[1],e=e&&e[2];if(!t.length)return 0;t=parseFloat(t);e=f[e]||1;return t*e}(e),this.stagger;this.stagger=0},d._positionItem=function(e,t,n,r,o){r?e.goTo(t,n):(e.stagger(o*this.stagger),e.moveTo(t,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){var e;!this._getOption("resizeContainer")||(e=this._getContainerSize())&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))},d._getContainerSize=n,d._setContainerMeasure=function(e,t){var n;void 0!==e&&((n=this.size).isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px")},d._emitCompleteOnItems=function(t,e){var n=this;function r(){n.dispatchEvent(t+"Complete",null,[e])}var o,i=e.length;function s(){++o==i&&r()}e&&i?(o=0,e.forEach(function(e){e.once(t,s)})):r()},d.dispatchEvent=function(e,t,n){var r=t?[t].concat(n):n;this.emitEvent(e,r),c&&(this.$element=this.$element||c(this.element),t?((r=c.Event(t)).type=e,this.$element.trigger(r,n)):this.$element.trigger(e,n))},d.ignore=function(e){e=this.getItem(e);e&&(e.isIgnored=!0)},d.unignore=function(e){e=this.getItem(e);e&&delete e.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){r.removeFrom(this.stamps,e),this.unignore(e)},this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=r.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=n,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=this._boundingRect,e=o(e);return{left:t.left-n.left-e.marginLeft,top:t.top-n.top-e.marginTop,right:n.right-t.right-e.marginRight,bottom:n.bottom-t.bottom-e.marginBottom}},d.handleEvent=r.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},r.debounceMethod(u,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=o(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){e=this._itemize(e);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(e){e=this.addItems(e);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(e){var t,e=this._itemize(e);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},d.reveal=function(e){var n;this._emitCompleteOnItems("reveal",e),e&&e.length&&(n=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*n),e.reveal()}))},d.hide=function(e){var n;this._emitCompleteOnItems("hide",e),e&&e.length&&(n=this.updateStagger(),e.forEach(function(e,t){e.stagger(t*n),e.hide()}))},d.revealItemElements=function(e){e=this.getItems(e);this.reveal(e)},d.hideItemElements=function(e){e=this.getItems(e);this.hide(e)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},d.getItems=function(e){e=r.makeArray(e);var t=[];return e.forEach(function(e){e=this.getItem(e);e&&t.push(e)},this),t},d.remove=function(e){e=this.getItems(e);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(e){e.remove(),r.removeFrom(this.items,e)},this)},d.destroy=function(){var e=this.element.style,e=(e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete l[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},u.data=function(e){e=(e=r.getQueryElement(e))&&e.outlayerGUID;return e&&l[e]},u.create=function(e,t){var n=p(u);return n.defaults=r.extend({},u.defaults),r.extend(n.defaults,t),n.compatOptions=r.extend({},u.compatOptions),n.namespace=e,n.data=u.data,n.Item=p(i),r.htmlInit(n,e),c&&c.bridget&&c.bridget(e,n),n};var f={ms:1,s:1e3};return u.Item=i,u})},function(e,t,n){var r,o;r=window,o=function(n,i){"use strict";var a={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},t=Array.prototype.slice,l=(a.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?t.call(e):[e]},a.removeFrom=function(e,t){t=e.indexOf(t);-1!=t&&e.splice(t,1)},a.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,i(e,t))return e},a.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},a.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},a.filterFindElements=function(e,r){e=a.makeArray(e);var o=[];return e.forEach(function(e){if(e instanceof HTMLElement)if(r){i(e,r)&&o.push(e);for(var t=e.querySelectorAll(r),n=0;n<t.length;n++)o.push(t[n])}else o.push(e)}),o},a.debounceMethod=function(e,t,r){r=r||100;var o=e.prototype[t],i=t+"Timeout";e.prototype[t]=function(){var e=this[i],t=(clearTimeout(e),arguments),n=this;this[i]=setTimeout(function(){o.apply(n,t),delete n[i]},r)}},a.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},a.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()},n.console);return a.htmlInit=function(s,c){a.docReady(function(){var e=a.toDashed(c),r="data-"+e,t=document.querySelectorAll("["+r+"]"),e=document.querySelectorAll(".js-"+e),t=a.makeArray(t).concat(a.makeArray(e)),o=r+"-options",i=n.jQuery;t.forEach(function(t){var e,n=t.getAttribute(r)||t.getAttribute(o);try{e=n&&JSON.parse(n)}catch(e){return void(l&&l.error("Error parsing "+r+" on "+t.className+": "+e))}n=new s(t,e);i&&i.data(t,c,n)})})},a},n=[n(9)],void 0!==(t=function(e){return o(r,e)}.apply(t,n))&&(e.exports=t)},function(e,t,n){var r;!function(){"use strict";void 0!==(r="function"==typeof(r=function(){"use strict";var r=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";var t=["webkit","moz","ms","o"];for(var n=0;n<t.length;n++){var r=t[n];var o=r+"MatchesSelector";if(e[o])return o}}();return function e(t,n){return t[r](n)}})?r.call(t,n,t,e):r)&&(e.exports=r)}(window)},function(e,t,n){var r;window,r=function(e,t){"use strict";var n=document.documentElement.style,r="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],i={transform:n,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"};function s(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}e=s.prototype=Object.create(e.prototype);e.constructor=s,e._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},e.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},e.getSize=function(){this.size=t(this.element)},e.css=function(e){var t,n=this.element.style;for(t in e)n[i[t]||t]=e[t]},e.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=e[t?"left":"right"],e=e[n?"top":"bottom"],o=parseFloat(r),i=parseFloat(e),s=this.layout.size;-1!=r.indexOf("%")&&(o=o/100*s.width),-1!=e.indexOf("%")&&(i=i/100*s.height),o=isNaN(o)?0:o,i=isNaN(i)?0:i,o-=t?s.paddingLeft:s.paddingRight,i-=n?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=i},e.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),o=n?"right":"left",i=this.position.x+e[n?"paddingLeft":"paddingRight"],n=(t[n?"left":"right"]=this.getXValue(i),t[o]="",r?"paddingTop":"paddingBottom"),i=r?"bottom":"top",o=this.position.y+e[n];t[r?"top":"bottom"]=this.getYValue(o),t[i]="",this.css(t),this.emitEvent("layout",[this])},e.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},e.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},e._transitionTo=function(e,t){this.getPosition();var n=this.position.x,r=this.position.y,o=e==this.position.x&&t==this.position.y;this.setPosition(e,t),o&&!this.isTransitioning?this.layoutPosition():((o={}).transform=this.getTranslate(e-n,t-r),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},e.getTranslate=function(e,t){return"translate3d("+(e=this.layout._getOption("originLeft")?e:-e)+"px, "+(t=this.layout._getOption("originTop")?t:-t)+"px, 0)"},e.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},e.moveTo=e._transitionTo,e.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},e._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},e.transition=function(e){if(parseFloat(this.layout.options.transitionDuration)){var t,n=this._transn;for(t in e.onTransitionEnd)n.onEnd[t]=e.onTransitionEnd[t];for(t in e.to)n.ingProperties[t]=!0,e.isCleaning&&(n.clean[t]=!0);e.from&&(this.css(e.from),this.element.offsetHeight,0),this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0}else this._nonTransition(e)};var c="opacity,"+n.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),a=(e.enableTransition=function(){var e;this.isTransitioning||(e="number"==typeof(e=this.layout.options.transitionDuration)?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1))},e.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},e.onotransitionend=function(e){this.ontransitionend(e)},{"-webkit-transform":"transform"}),l=(e.ontransitionend=function(e){var t,n;e.target===this.element&&(t=this._transn,n=a[e.propertyName]||e.propertyName,delete t.ingProperties[n],function(e){for(var t in e)return;return 1}(t.ingProperties)&&this.disableTransition(),n in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[n]),n in t.onEnd&&(t.onEnd[n].call(this),delete t.onEnd[n]),this.emitEvent("transitionEnd",[this]))},e.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},e._removeStyles=function(e){var t,n={};for(t in e)n[t]="";this.css(n)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return e.removeTransitionStyles=function(){this.css(l)},e.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},e.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},e.remove=function(){r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},e.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},e.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},e.getHideRevealTransitionEndProperty=function(e){var t,e=this.layout.options[e];if(e.opacity)return"opacity";for(t in e)return t},e.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},e.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},e.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},s},n=[n(3),n(4)],void 0!==(t="function"==typeof(r=r)?r.apply(t,n):r)&&(e.exports=t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(15),r=n(14),s=n(0);function o(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach(function(e){n[e]=t[e]}),n.default=t,Object.freeze(n)}var c=o(r);const a=Object.create(null);function l(e,t){if(!s.isString(e)){if(!e.nodeType)return s.NOOP;e=e.innerHTML}var n=e,r=a[n];if(r)return r;"#"===e[0]&&(e=(r=document.querySelector(e))?r.innerHTML:"");r=i.compile(e,s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},t)).code;const o=new Function("Vue",r)(c);return o._rc=!0,a[n]=o}r.registerRuntimeCompiler(l),Object.keys(r).forEach(function(e){"default"!==e&&(t[e]=r[e])}),t.compile=l},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"VueMasonryPlugin",function(){return c});var r=n(5),d=n.n(r),r=n(6),i=n.n(r),p=n(1);function s(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}function f(e){var n={};return Array.prototype.slice.call(e).forEach(function(e){var t;-1<Object.keys(o).indexOf(e.name)&&(-1<e.name.indexOf("origin")?n[o[e.name]]="true"===(e.value+"").toLowerCase():"column-width"===e.name||"gutter"===e.name?n[o[e.name]]=(t=e.value,isNaN(t)?t:parseInt(t)):n[o[e.name]]=e.value)}),n}var o={"column-width":"columnWidth","transition-duration":"transitionDuration","item-selector":"itemSelector","origin-left":"originLeft","origin-top":"originTop","fit-width":"fitWidth",stamp:"stamp",gutter:"gutter","percent-position":"percentPosition","horizontal-order":"horizontalOrder",stagger:"stagger","destroy-delay":"destroyDelay"},h="vuemasonry.itemAdded",m="vuemasonry.itemRemoved",g="vuemasonry.imageLoaded",v="vuemasonry.destroy",c={};c.install=function(e,t){var n,r,l=p.isVue2?new p.Vue2:{all:r=r||new Map,on:function(e,t){var n=r.get(e);n?n.push(t):r.set(e,[t])},off:function(e,t){var n=r.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):r.set(e,[]))},emit:function(t,n){var e=r.get(t);e&&e.slice().map(function(e){e(n)}),(e=r.get("*"))&&e.slice().map(function(e){e(t,n)})}},u="VueMasonry",o=p.isVue2?p.Vue2:e;o.directive("masonry",(s(n={props:["transitionDuration"," itemSelector","destroyDelay"]},p.isVue2?"inserted":"mounted",function(e,t){if(!d.a)throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");function n(){s.reloadItems(),s.layout()}function r(e){n()}function o(e){l["".concat(p.isVue2?"$":"","off")]("".concat(h,"__").concat(c),r),l["".concat(p.isVue2?"$":"","off")]("".concat(m,"__").concat(c),r),l["".concat(p.isVue2?"$":"","off")]("".concat(g,"__").concat(c),r),l["".concat(p.isVue2?"$":"","off")]("".concat(v,"__").concat(c),o);var t=a&&!Number.isNaN(a)?a:0;setTimeout(function(){s.destroy()},t)}var i=f(e.attributes),s=new d.a(e,i),c=t.value||u,a=i.destroyDelay?parseInt(i.destroyDelay,10):void 0;p.isVue2?p.Vue2.nextTick(function(){n()}):Object(p.nextTick)(function(){n()});l["".concat(p.isVue2?"$":"","on")]("".concat(h,"__").concat(c),r),l["".concat(p.isVue2?"$":"","on")]("".concat(m,"__").concat(c),r),l["".concat(p.isVue2?"$":"","on")]("".concat(g,"__").concat(c),r),l["".concat(p.isVue2?"$":"","on")]("".concat(v,"__").concat(c),o)}),s(n,"unbind",function(e,t){t=t.value||u;l["".concat(p.isVue2?"$":"","emit")]("".concat(v,"__").concat(t))}),n)),o.directive("masonryTile",(s(n={},p.isVue2?"inserted":"mounted",function(e,t){var n=t.value||u;l["".concat(p.isVue2?"$":"","emit")]("".concat(h,"__").concat(n),{element:e}),new i.a(e,function(){l["".concat(p.isVue2?"$":"","emit")]("".concat(g,"__").concat(n),{element:e})})}),s(n,"unbind",function(e,t){t=t.value||u;l["".concat(p.isVue2?"$":"","emit")]("".concat(m,"__").concat(t),{element:e})}),n)),p.isVue2?p.Vue2.prototype.$redrawVueMasonry=function(e){e=e||u;l["".concat(p.isVue2?"$":"","emit")]("".concat(h,"__").concat(e))}:(e.config.globalProperties.$redrawVueMasonry=o=function(e){e=e||u;l["".concat(p.isVue2?"$":"","emit")]("".concat(h,"__").concat(e))},e.provide("redrawVueMasonry",o))},t.default=c},function(m,e,t){"use strict";t.r(e),t.d(e,"EffectScope",function(){return b}),t.d(e,"ReactiveEffect",function(){return se}),t.d(e,"customRef",function(){return pt}),t.d(e,"effect",function(){return $}),t.d(e,"effectScope",function(){return _}),t.d(e,"getCurrentScope",function(){return E}),t.d(e,"isProxy",function(){return Ze}),t.d(e,"isReactive",function(){return Je}),t.d(e,"isReadonly",function(){return qe}),t.d(e,"isRef",function(){return U}),t.d(e,"isShallow",function(){return Ge}),t.d(e,"markRaw",function(){return Qe}),t.d(e,"onScopeDispose",function(){return j}),t.d(e,"proxyRefs",function(){return ut}),t.d(e,"reactive",function(){return We}),t.d(e,"readonly",function(){return He}),t.d(e,"ref",function(){return rt}),t.d(e,"shallowReactive",function(){return Ue}),t.d(e,"shallowReadonly",function(){return Ye}),t.d(e,"shallowRef",function(){return ot}),t.d(e,"stop",function(){return W}),t.d(e,"toRaw",function(){return I}),t.d(e,"toRef",function(){return mt}),t.d(e,"toRefs",function(){return ft}),t.d(e,"triggerRef",function(){return ct}),t.d(e,"unref",function(){return at}),t.d(e,"camelize",function(){return Q.camelize}),t.d(e,"capitalize",function(){return Q.capitalize}),t.d(e,"normalizeClass",function(){return Q.normalizeClass}),t.d(e,"normalizeProps",function(){return Q.normalizeProps}),t.d(e,"normalizeStyle",function(){return Q.normalizeStyle}),t.d(e,"toDisplayString",function(){return Q.toDisplayString}),t.d(e,"toHandlerKey",function(){return Q.toHandlerKey}),t.d(e,"BaseTransition",function(){return wn}),t.d(e,"Comment",function(){return ee}),t.d(e,"Fragment",function(){return X}),t.d(e,"KeepAlive",function(){return Dn}),t.d(e,"Static",function(){return te}),t.d(e,"Suspense",function(){return dn}),t.d(e,"Teleport",function(){return oo}),t.d(e,"Text",function(){return io}),t.d(e,"callWithAsyncErrorHandling",function(){return x}),t.d(e,"callWithErrorHandling",function(){return g}),t.d(e,"cloneVNode",function(){return S}),t.d(e,"compatUtils",function(){return gi}),t.d(e,"computed",function(){return Go}),t.d(e,"createBlock",function(){return ho}),t.d(e,"createCommentVNode",function(){return jo}),t.d(e,"createElementBlock",function(){return fo}),t.d(e,"createElementVNode",function(){return _o}),t.d(e,"createHydrationRenderer",function(){return Gr}),t.d(e,"createPropsRestProxy",function(){return ii}),t.d(e,"createRenderer",function(){return qr}),t.d(e,"createSlots",function(){return hr}),t.d(e,"createStaticVNode",function(){return xo}),t.d(e,"createTextVNode",function(){return Eo}),t.d(e,"createVNode",function(){return L}),t.d(e,"defineAsyncComponent",function(){return Fn}),t.d(e,"defineComponent",function(){return Mn}),t.d(e,"defineEmits",function(){return Qo}),t.d(e,"defineExpose",function(){return Xo}),t.d(e,"defineProps",function(){return Zo}),t.d(e,"devtools",function(){return Dt}),t.d(e,"getCurrentInstance",function(){return Ao}),t.d(e,"getTransitionRawChildren",function(){return Rn}),t.d(e,"guardReactiveProps",function(){return So}),t.d(e,"h",function(){return ci}),t.d(e,"handleError",function(){return bt}),t.d(e,"initCustomFormatter",function(){return ui}),t.d(e,"inject",function(){return yn}),t.d(e,"isMemoSame",function(){return pi}),t.d(e,"isRuntimeOnly",function(){return zo}),t.d(e,"isVNode",function(){return y}),t.d(e,"mergeDefaults",function(){return oi}),t.d(e,"mergeProps",function(){return Co}),t.d(e,"nextTick",function(){return At}),t.d(e,"onActivated",function(){return $n}),t.d(e,"onBeforeMount",function(){return Jn}),t.d(e,"onBeforeUnmount",function(){return Qn}),t.d(e,"onBeforeUpdate",function(){return Gn}),t.d(e,"onDeactivated",function(){return Wn}),t.d(e,"onErrorCaptured",function(){return rr}),t.d(e,"onMounted",function(){return qn}),t.d(e,"onRenderTracked",function(){return nr}),t.d(e,"onRenderTriggered",function(){return tr}),t.d(e,"onServerPrefetch",function(){return er}),t.d(e,"onUnmounted",function(){return Xn}),t.d(e,"onUpdated",function(){return Zn}),t.d(e,"openBlock",function(){return co}),t.d(e,"popScopeId",function(){return en}),t.d(e,"provide",function(){return vn}),t.d(e,"pushScopeId",function(){return Xt}),t.d(e,"queuePostFlushCb",function(){return Mt}),t.d(e,"registerRuntimeCompiler",function(){return Do}),t.d(e,"renderList",function(){return fr}),t.d(e,"renderSlot",function(){return mr}),t.d(e,"resolveComponent",function(){return cr}),t.d(e,"resolveDirective",function(){return ur}),t.d(e,"resolveDynamicComponent",function(){return lr}),t.d(e,"resolveFilter",function(){return mi}),t.d(e,"resolveTransitionHooks",function(){return Pn}),t.d(e,"setBlockTracking",function(){return uo}),t.d(e,"setDevtoolsHook",function(){return Ut}),t.d(e,"setTransitionHooks",function(){return In}),t.d(e,"ssrContextKey",function(){return ai}),t.d(e,"ssrUtils",function(){return hi}),t.d(e,"toHandlers",function(){return gr}),t.d(e,"transformVNodeArgs",function(){return go}),t.d(e,"useAttrs",function(){return ni}),t.d(e,"useSSRContext",function(){return li}),t.d(e,"useSlots",function(){return ti}),t.d(e,"useTransitionState",function(){return Cn}),t.d(e,"version",function(){return fi}),t.d(e,"warn",function(){return yt}),t.d(e,"watch",function(){return En}),t.d(e,"watchEffect",function(){return bn}),t.d(e,"watchPostEffect",function(){return _n}),t.d(e,"watchSyncEffect",function(){return On}),t.d(e,"withAsyncContext",function(){return si}),t.d(e,"withCtx",function(){return nn}),t.d(e,"withDefaults",function(){return ei}),t.d(e,"withDirectives",function(){return or}),t.d(e,"withMemo",function(){return di}),t.d(e,"withScopeId",function(){return tn}),t.d(e,"Transition",function(){return zi}),t.d(e,"TransitionGroup",function(){return rs}),t.d(e,"VueElement",function(){return Mi}),t.d(e,"