You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
22 KiB
JavaScript

/*! For license information please see ext.isekai.masonry.js.LICENSE.txt */
(()=>{var t={388:(t,i,e)=>{var n,o;!function(s,r){"use strict";void 0===(o="function"==typeof(n=r)?n.call(i,e,i,t):n)||(t.exports=o)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var i=["webkit","moz","ms","o"],e=0;e<i.length;e++){var n=i[e]+"MatchesSelector";if(t[n])return n}}();return function(i,e){return i[t](e)}}))},285:function(t,i,e){var n,o;"undefined"!=typeof window&&window,void 0===(o="function"==typeof(n=function(){"use strict";function t(){}var i=t.prototype;return i.on=function(t,i){if(t&&i){var e=this._events=this._events||{},n=e[t]=e[t]||[];return-1==n.indexOf(i)&&n.push(i),this}},i.once=function(t,i){if(t&&i){this.on(t,i);var e=this._onceEvents=this._onceEvents||{};return(e[t]=e[t]||{})[i]=!0,this}},i.off=function(t,i){var e=this._events&&this._events[t];if(e&&e.length){var n=e.indexOf(i);return-1!=n&&e.splice(n,1),this}},i.emitEvent=function(t,i){var e=this._events&&this._events[t];if(e&&e.length){e=e.slice(0),i=i||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o<e.length;o++){var s=e[o];n&&n[s]&&(this.off(t,s),delete n[s]),s.apply(this,i)}return this}},i.allOff=function(){delete this._events,delete this._onceEvents},t})?n.call(i,e,i,t):n)||(t.exports=o)},982:(t,i,e)=>{var n,o;!function(s,r){n=[e(388)],o=function(t){return function(t,i){"use strict";var e={extend:function(t,i){for(var e in i)t[e]=i[e];return t},modulo:function(t,i){return(t%i+i)%i}},n=Array.prototype.slice;e.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},e.removeFrom=function(t,i){var e=t.indexOf(i);-1!=e&&t.splice(e,1)},e.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,i(t,e))return t},e.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},e.handleEvent=function(t){var i="on"+t.type;this[i]&&this[i](t)},e.filterFindElements=function(t,n){t=e.makeArray(t);var o=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(n){i(t,n)&&o.push(t);for(var e=t.querySelectorAll(n),s=0;s<e.length;s++)o.push(e[s])}else o.push(t)})),o},e.debounceMethod=function(t,i,e){e=e||100;var n=t.prototype[i],o=i+"Timeout";t.prototype[i]=function(){var t=this[o];clearTimeout(t);var i=arguments,s=this;this[o]=setTimeout((function(){n.apply(s,i),delete s[o]}),e)}},e.docReady=function(t){var i=document.readyState;"complete"==i||"interactive"==i?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},e.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,i,e){return i+"-"+e})).toLowerCase()};var o=t.console;return e.htmlInit=function(i,n){e.docReady((function(){var s=e.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),h=document.querySelectorAll(".js-"+s),u=e.makeArray(a).concat(e.makeArray(h)),l=r+"-options",d=t.jQuery;u.forEach((function(t){var e,s=t.getAttribute(r)||t.getAttribute(l);try{e=s&&JSON.parse(s)}catch(i){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+i))}var a=new i(t,e);d&&d.data(t,n,a)}))}))},e}(s,t)}.apply(i,n),void 0===o||(t.exports=o)}(window)},232:(t,i,e)=>{var n,o;window,void 0===(o="function"==typeof(n=function(){"use strict";function t(t){var i=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(i)&&i}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},e=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=e.length;function o(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var s,r=!1;function a(i){if(function(){if(!r){r=!0;var i=document.createElement("div");i.style.width="200px",i.style.padding="1px 2px 3px 4px",i.style.borderStyle="solid",i.style.borderWidth="1px 2px 3px 4px",i.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(i);var n=o(i);s=200==Math.round(t(n.width)),a.isBoxSizeOuter=s,e.removeChild(i)}}(),"string"==typeof i&&(i=document.querySelector(i)),i&&"object"==typeof i&&i.nodeType){var h=o(i);if("none"==h.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i<n;i++)t[e[i]]=0;return t}();var u={};u.width=i.offsetWidth,u.height=i.offsetHeight;for(var l=u.isBorderBox="border-box"==h.boxSizing,d=0;d<n;d++){var c=e[d],f=h[c],p=parseFloat(f);u[c]=isNaN(p)?0:p}var m=u.paddingLeft+u.paddingRight,g=u.paddingTop+u.paddingBottom,v=u.marginLeft+u.marginRight,y=u.marginTop+u.marginBottom,_=u.borderLeftWidth+u.borderRightWidth,E=u.borderTopWidth+u.borderBottomWidth,b=l&&s,x=t(h.width);!1!==x&&(u.width=x+(b?0:m+_));var T=t(h.height);return!1!==T&&(u.height=T+(b?0:g+E)),u.innerWidth=u.width-(m+_),u.innerHeight=u.height-(g+E),u.outerWidth=u.width+v,u.outerHeight=u.height+y,u}}return a})?n.call(i,e,i,t):n)||(t.exports=o)},752:(t,i,e)=>{var n,o,s;window,o=[e(831),e(232)],void 0===(s="function"==typeof(n=function(t,i){"use strict";var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var n=e.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.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 n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,s=o/n,r=n-o%n;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=i(t);this.containerWidth=e&&e.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var i=t.size.outerWidth%this.columnWidth,e=Math[i&&i<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](e,t),o={x:this.columnWidth*n.col,y:n.y},s=n.y+t.size.outerHeight,r=e+n.col,a=n.col;a<r;a++)this.colYs[a]=s;return o},n._getTopColPosition=function(t){var i=this._getTopColGroup(t),e=Math.min.apply(Math,i);return{col:i.indexOf(e),y:e}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var i=[],e=this.cols+1-t,n=0;n<e;n++)i[n]=this._getColGroupY(n,t);return i},n._getColGroupY=function(t,i){if(i<2)return this.colYs[t];var e=this.colYs.slice(t,t+i);return Math.max.apply(Math,e)},n._getHorizontalColPosition=function(t,i){var e=this.horizontalColIndex%this.cols;e=t>1&&e+t>this.cols?0:e;var n=i.size.outerWidth&&i.size.outerHeight;return this.horizontalColIndex=n?e+t:this.horizontalColIndex,{col:e,y:this._getColGroupY(e,t)}},n._manageStamp=function(t){var e=i(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+e.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var h=(this._getOption("originTop")?n.top:n.bottom)+e.outerHeight,u=r;u<=a;u++)this.colYs[u]=Math.max(h,this.colYs[u])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,i=this.cols;--i&&0===this.colYs[i];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e})?n.apply(i,o):n)||(t.exports=s)},818:(t,i,e)=>{var n,o,s;window,o=[e(285),e(232)],void 0===(s="function"==typeof(n=function(t,i){"use strict";var e=document.documentElement.style,n="string"==typeof e.transition?"transition":"WebkitTransition",o="string"==typeof e.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[n],r={transform:o,transition:n,transitionDuration:n+"Duration",transitionProperty:n+"Property",transitionDelay:n+"Delay"};function a(t,i){t&&(this.element=t,this.layout=i,this.position={x:0,y:0},this._create())}var h=a.prototype=Object.create(t.prototype);h.constructor=a,h._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},h.handleEvent=function(t){var i="on"+t.type;this[i]&&this[i](t)},h.getSize=function(){this.size=i(this.element)},h.css=function(t){var i=this.element.style;for(var e in t)i[r[e]||e]=t[e]},h.getPosition=function(){var t=getComputedStyle(this.element),i=this.layout._getOption("originLeft"),e=this.layout._getOption("originTop"),n=t[i?"left":"right"],o=t[e?"top":"bottom"],s=parseFloat(n),r=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&&(s=s/100*a.width),-1!=o.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=i?a.paddingLeft:a.paddingRight,r-=e?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},h.layoutPosition=function(){var t=this.layout.size,i={},e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=e?"paddingLeft":"paddingRight",s=e?"left":"right",r=e?"right":"left",a=this.position.x+t[o];i[s]=this.getXValue(a),i[r]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",l=n?"bottom":"top",d=this.position.y+t[h];i[u]=this.getYValue(d),i[l]="",this.css(i),this.emitEvent("layout",[this])},h.getXValue=function(t){var i=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!i?t/this.layout.size.width*100+"%":t+"px"},h.getYValue=function(t){var i=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&i?t/this.layout.size.height*100+"%":t+"px"},h._transitionTo=function(t,i){this.getPosition();var e=this.position.x,n=this.position.y,o=t==this.position.x&&i==this.position.y;if(this.setPosition(t,i),!o||this.isTransitioning){var s=t-e,r=i-n,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},h.getTranslate=function(t,i){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(i=this.layout._getOption("originTop")?i:-i)+"px, 0)"},h.goTo=function(t,i){this.setPosition(t,i),this.layoutPosition()},h.moveTo=h._transitionTo,h.setPosition=function(t,i){this.position.x=parseFloat(t),this.position.y=parseFloat(i)},h._nonTransition=function(t){for(var i in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[i].call(this)},h.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var i=this._transn;for(var e in t.onTransitionEnd)i.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)i.ingProperties[e]=!0,t.isCleaning&&(i.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var u="opacity,"+o.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));h.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:u,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},h.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},h.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};h.ontransitionend=function(t){if(t.target===this.element){var i=this._transn,e=l[t.propertyName]||t.propertyName;delete i.ingProperties[e],function(t){for(var i in t)return!1;return!0}(i.ingProperties)&&this.disableTransition(),e in i.clean&&(this.element.style[t.propertyName]="",delete i.clean[e]),e in i.onEnd&&(i.onEnd[e].call(this),delete i.onEnd[e]),this.emitEvent("transitionEnd",[this])}},h.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},h._removeStyles=function(t){var i={};for(var e in t)i[e]="";this.css(i)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return h.removeTransitionStyles=function(){this.css(d)},h.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},h.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},h.remove=function(){n&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",(function(){this.removeElem()})),this.hide()):this.removeElem()},h.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,i={};i[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:i})},h.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},h.getHideRevealTransitionEndProperty=function(t){var i=this.layout.options[t];if(i.opacity)return"opacity";for(var e in i)return e},h.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,i={};i[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:i})},h.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},h.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a})?n.apply(i,o):n)||(t.exports=s)},831:(t,i,e)=>{var n,o;!function(s,r){"use strict";n=[e(285),e(232),e(982),e(818)],o=function(t,i,e,n){return function(t,i,e,n,o){var s=t.console,r=t.jQuery,a=function(){},h=0,u={};function l(t,i){var e=n.getQueryElement(t);if(e){this.element=e,r&&(this.$element=r(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(i);var o=++h;this.element.outlayerGUID=o,u[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(e||t))}l.namespace="outlayer",l.Item=o,l.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=l.prototype;function c(t){function i(){t.apply(this,arguments)}return i.prototype=Object.create(t.prototype),i.prototype.constructor=i,i}n.extend(d,i.prototype),d.option=function(t){n.extend(this.options,t)},d._getOption=function(t){var i=this.constructor.compatOptions[t];return i&&void 0!==this.options[i]?this.options[i]:this.options[t]},l.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),n.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(t){for(var i=this._filterFindItemElements(t),e=this.constructor.Item,n=[],o=0;o<i.length;o++){var s=new e(i[o],this);n.push(s)}return n},d._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map((function(t){return t.element}))},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),i=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,i),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=e(this.element)},d._getMeasurement=function(t,i){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?e(n)[i]:o):this[t]=0},d.layoutItems=function(t,i){t=this._getItemsForLayout(t),this._layoutItems(t,i),this._postLayout()},d._getItemsForLayout=function(t){return t.filter((function(t){return!t.isIgnored}))},d._layoutItems=function(t,i){if(this._emitCompleteOnItems("layout",t),t&&t.length){var e=[];t.forEach((function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=i||t.isLayoutInstant,e.push(n)}),this),this._processLayoutQueue(e)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach((function(t,i){this._positionItem(t.item,t.x,t.y,t.isInstant,i)}),this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var i=t.match(/(^\d*\.?\d*)(\w*)/),e=i&&i[1],n=i&&i[2];return e.length?(e=parseFloat(e))*(f[n]||1):0}(t),this.stagger;this.stagger=0},d._positionItem=function(t,i,e,n,o){n?t.goTo(i,e):(t.stagger(o*this.stagger),t.moveTo(i,e))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=a,d._setContainerMeasure=function(t,i){if(void 0!==t){var e=this.size;e.isBorderBox&&(t+=i?e.paddingLeft+e.paddingRight+e.borderLeftWidth+e.borderRightWidth:e.paddingBottom+e.paddingTop+e.borderTopWidth+e.borderBottomWidth),t=Math.max(t,0),this.element.style[i?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(t,i){var e=this;function n(){e.dispatchEvent(t+"Complete",null,[i])}var o=i.length;if(i&&o){var s=0;i.forEach((function(i){i.once(t,r)}))}else n();function r(){++s==o&&n()}},d.dispatchEvent=function(t,i,e){var n=i?[i].concat(e):e;if(this.emitEvent(t,n),r)if(this.$element=this.$element||r(this.element),i){var o=r.Event(i);o.type=t,this.$element.trigger(o,e)}else this.$element.trigger(t,e)},d.ignore=function(t){var i=this.getItem(t);i&&(i.isIgnored=!0)},d.unignore=function(t){var i=this.getItem(t);i&&delete i.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach((function(t){n.removeFrom(this.stamps,t),this.unignore(t)}),this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),n.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),i=this.size;this._boundingRect={left:t.left+i.paddingLeft+i.borderLeftWidth,top:t.top+i.paddingTop+i.borderTopWidth,right:t.right-(i.paddingRight+i.borderRightWidth),bottom:t.bottom-(i.paddingBottom+i.borderBottomWidth)}},d._manageStamp=a,d._getElementOffset=function(t){var i=t.getBoundingClientRect(),n=this._boundingRect,o=e(t);return{left:i.left-n.left-o.marginLeft,top:i.top-n.top-o.marginTop,right:n.right-i.right-o.marginRight,bottom:n.bottom-i.bottom-o.marginBottom}},d.handleEvent=n.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},n.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=e(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var i=this._itemize(t);return i.length&&(this.items=this.items.concat(i)),i},d.appended=function(t){var i=this.addItems(t);i.length&&(this.layoutItems(i,!0),this.reveal(i))},d.prepended=function(t){var i=this._itemize(t);if(i.length){var e=this.items.slice(0);this.items=i.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(i,!0),this.reveal(i),this.layoutItems(e)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var i=this.updateStagger();t.forEach((function(t,e){t.stagger(e*i),t.reveal()}))}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var i=this.updateStagger();t.forEach((function(t,e){t.stagger(e*i),t.hide()}))}},d.revealItemElements=function(t){var i=this.getItems(t);this.reveal(i)},d.hideItemElements=function(t){var i=this.getItems(t);this.hide(i)},d.getItem=function(t){for(var i=0;i<this.items.length;i++){var e=this.items[i];if(e.element==t)return e}},d.getItems=function(t){t=n.makeArray(t);var i=[];return t.forEach((function(t){var e=this.getItem(t);e&&i.push(e)}),this),i},d.remove=function(t){var i=this.getItems(t);this._emitCompleteOnItems("remove",i),i&&i.length&&i.forEach((function(t){t.remove(),n.removeFrom(this.items,t)}),this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach((function(t){t.destroy()})),this.unbindResize();var i=this.element.outlayerGUID;delete u[i],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},l.data=function(t){var i=(t=n.getQueryElement(t))&&t.outlayerGUID;return i&&u[i]},l.create=function(t,i){var e=c(l);return e.defaults=n.extend({},l.defaults),n.extend(e.defaults,i),e.compatOptions=n.extend({},l.compatOptions),e.namespace=t,e.data=l.data,e.Item=c(o),n.htmlInit(e,t),r&&r.bridget&&r.bridget(t,e),e};var f={ms:1,s:1e3};return l.Item=o,l}(s,t,i,e,n)}.apply(i,n),void 0===o||(t.exports=o)}(window)}},i={};function e(n){var o=i[n];if(void 0!==o)return o.exports;var s=i[n]={exports:{}};return t[n].call(s.exports,s,s.exports,e),s.exports}e.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},e.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),(()=>{"use strict";var t=e(752);!function(t,i){var e="lib.Masonry".split(".");"isekai"in window||(window.isekai={});for(var n=window.isekai,o=0;o<e.length-1;o++){var s=e[o];s in n||(n[s]={}),n=n[s]}n[e[o]]=i}(0,e.n(t)())})()})();