Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js')
-rw-r--r--js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js b/js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js
index 6dfb85ac..b259d363 100644
--- a/js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js
+++ b/js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js
@@ -1,3 +1,3 @@
/*! For license information please see photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js.LICENSE.txt */
-"use strict";(self.webpackChunkphotos=self.webpackChunkphotos||[]).push([["vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js"],{29837:(e,t,n)=>{n.d(t,{Z:()=>re});var r=n(20144),o=n(25108);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){a(i,r,o,u,c,"next",e)}function c(e){a(i,r,o,u,c,"throw",e)}u(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=Object.defineProperty,g=Object.defineProperties,w=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,R=function(e,t,n){return t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},S=function(e,t){for(var n in t||(t={}))O.call(t,n)&&R(e,n,t[n]);if(b){var r,o=y(b(t));try{for(o.s();!(r=o.n()).done;){n=r.value;_.call(t,n)&&R(e,n,t[n])}}catch(e){o.e(e)}finally{o.f()}}return e},j=function(e,t){return g(e,w(t))};function D(e){return(D="function"==typeof Symbol&&"symbol"===h(Symbol.iterator)?function(e){return h(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":h(e)})(e)}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function P(){return"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function M(e,t){C(e,t),Object.getOwnPropertyNames(t.prototype).forEach((function(n){C(e.prototype,t.prototype,n)})),Object.getOwnPropertyNames(t).forEach((function(n){C(e,t,n)}))}function C(e,t,n){(n?Reflect.getOwnMetadataKeys(t,n):Reflect.getOwnMetadataKeys(t)).forEach((function(r){var o=n?Reflect.getOwnMetadata(r,t,n):Reflect.getOwnMetadata(r,t);n?Reflect.defineMetadata(r,o,e,n):Reflect.defineMetadata(r,o,e)}))}var x={__proto__:[]}instanceof Array;function z(e){return function(t,n,r){var o="function"==typeof t?t:t.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof r&&(r=void 0),o.__decorators__.push((function(t){return e(t,n,r)}))}}function A(e,t){var n=t.prototype._init;t.prototype._init=function(){var t=this,n=Object.getOwnPropertyNames(e);if(e.$options.props)for(var r in e.$options.props)e.hasOwnProperty(r)||n.push(r);n.forEach((function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t},configurable:!0})}))};var r=new t;t.prototype._init=n;var o={};return Object.keys(r).forEach((function(e){void 0!==r[e]&&(o[e]=r[e])})),o}var T=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(T.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return k({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return A(this,e)}});var o=e.__decorators__;o&&(o.forEach((function(e){return e(t)})),delete e.__decorators__);var i=Object.getPrototypeOf(e.prototype),a=i instanceof r.ZP?i.constructor:r.ZP,u=a.extend(t);return L(u,e,a),P()&&M(u,e),u}var G={prototype:!0,arguments:!0,callee:!0,caller:!0};function L(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!G[r]){var o=Object.getOwnPropertyDescriptor(e,r);if(!o||o.configurable){var i,a,u=Object.getOwnPropertyDescriptor(t,r);if(!x){if("cid"===r)return;var c=Object.getOwnPropertyDescriptor(n,r);if(i=u.value,a=D(i),null!=i&&("object"===a||"function"===a)&&c&&c.value===u.value)return}Object.defineProperty(e,r,u)}}}))}function W(e){return"function"==typeof e?N(e):function(t){return N(t,e)}}W.registerHooks=function(e){T.push.apply(T,E(e))},globalThis&&globalThis.__spreadArrays;var $="__reactiveInject__";var I="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function B(e){return void 0===e&&(e={}),function(t,n){!function(e,t,n){if(I&&!Array.isArray(e)&&"function"!=typeof e&&!e.hasOwnProperty("type")&&void 0===e.type){var r=Reflect.getMetadata("design:type",t,n);r!==Object&&(e.type=r)}}(e,t,n),z((function(t,n){(t.props||(t.props={}))[n]=e}))(t,n)}}function H(e){return z((function(t,n){var r,o=t.provide;!function(e){Array.isArray(e.inject)||(e.inject=e.inject||{},e.inject[$]={from:$,default:{}})}(t),("function"!=typeof(r=o)||!r.managed&&!r.managedReactive)&&(o=t.provide=function(e){var t=function t(){var n=this,r="function"==typeof e?e.call(this):e;for(var o in(r=Object.create(r||null))[$]=Object.create(this[$]||{}),t.managed)r[t.managed[o]]=this[o];var i=function(e){r[t.managedReactive[e]]=a[e],Object.defineProperty(r[$],t.managedReactive[e],{enumerable:!0,configurable:!0,get:function(){return n[e]}})},a=this;for(var o in t.managedReactive)i(o);return r};return t.managed={},t.managedReactive={},t}(o)),o.managedReactive[n]=e||n}))}var F=function(e,t){return e>720&&t>480?10:5},U=function(e){return Math.floor(e/250)},Z=function(e){return Math.round(1.5*e)},K=function(e,t,n){var r=e/t;return Math.round(n*r)},V=function(e){if(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=o).debug.apply(t,r)}},X=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,q=function(e,t,n,r){for(var o,i=r>1?void 0:r?Y(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&X(t,n,i),i},J=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,r,i,a=s(d);function d(){var e;return c(this,d),(e=a.apply(this,arguments)).updateLock=!1,e.bottomReached=!1,e.ref=null,e.containerData={windowSize:{height:0,width:0},windowScroll:{x:0,y:0},elementWindowOffset:0,elementSize:{height:0,width:0}},e}return t=d,n=[{key:"loadingBatch",get:function(){return this.loader&&this.updateLock}},{key:"configData",get:function(){return this.computeConfigData(this.containerData,this.items)}},{key:"layoutData",get:function(){return this.computeLayoutData(this.configData)}},{key:"renderData",get:function(){return this.computeRenderData(this.configData,this.containerData,this.layoutData)}},{key:"mounted",value:function(){var e;this.ref=this.$refs.virtualGrid,this.initiliazeGrid(),window.addEventListener("resize",this.resize),(null!=(e=this.scrollElement)?e:window).addEventListener("scroll",this.scroll)}},{key:"beforeDestroy",value:function(){var e;window.removeEventListener("resize",this.resize),(null!=(e=this.scrollElement)?e:window).removeEventListener("scroll",this.scroll)}},{key:"onScrollElementChanged",value:function(e,t){(null!=t?t:window).removeEventListener("scroll",this.scroll),(null!=e?e:window).addEventListener("scroll",this.scroll)}},{key:"resize",value:function(){this.loadMoreData()}},{key:"scroll",value:function(){this.loadMoreData()}},{key:"initiliazeGrid",value:function(){var e=this;this.computeContainerData(),this.$nextTick(u(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.loadMoreData();case 1:case"end":return t.stop()}}),t)}))))}},{key:"loadMoreData",value:function(){this.loadMoreDataAsync().catch((function(e){e&&o.error("Fail to load next data batch",e)})).then()}},{key:"loadMoreDataAsync",value:(i=u(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.computeContainerData(),t=this.containerData.windowScroll.y,n=t+this.containerData.windowSize.height,r=Math.max(0,this.containerData.elementWindowOffset+this.containerData.elementSize.height-this.updateTriggerMargin),this.bottomReached||!(n>=r)||this.updateLock){e.next=14;break}return this.updateLock=!0,V(this.debug,"Loading next batch"),e.next=9,this.updateFunction();case 9:return e.sent&&(V(this.debug,"Bottom reached"),this.bottomReached=!0),this.updateLock=!1,e.next=14,this.loadMoreDataAsync();case 14:return e.abrupt("return");case 15:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"computeContainerData",value:function(){if(null!==this.ref){var e=this.getWindowSize(),t=this.getWindowScroll(),n=this.getElementOffset(this.ref),r=this.getElementSize(this.ref);this.containerData={windowSize:e,windowScroll:t,elementWindowOffset:n,elementSize:r}}}},{key:"computeConfigData",value:function(e,t){var n=this;if(null===e||null===t)return{windowMargin:0,gridGap:0,columnCount:1,entries:[]};var r=e.elementSize?e.elementSize.width:0,o=this.getWindowMargin(e.windowSize.height),i=this.getGridGap(r,e.windowSize.height),a=this.getColumnCount(r),u=this.getColumnWidth(a,i,r),c=t.map((function(e){if(!e.width)return e;var t=u*e.columnSpan+i*(e.columnSpan-1);return j(S({},e),{height:n.getItemRatioHeight(e.height,e.width,t),width:t})}));return{windowMargin:o,gridGap:i,columnCount:a,entries:c}}},{key:"computeLayoutData",value:function(e){if(null===e)return{cells:[],totalHeight:0};var t=1,n=0,r=0,o=0;return{cells:e.entries.map((function(i,a){var u=e.columnCount,c=e.gridGap,l=i.columnSpan,f=i.height;l<1&&(l=u);var s=(a+o)%u;i.newRow&&0!==s&&(o+=u-s);var d=a+o,p=d%u+1,h=Math.floor(d/u)+1;if(p+l>u+1){var y=p+l-u-1;f*=1-y/l,l-=y}l>1&&(o+=l-1),h!==t&&(t=h,n+=r+c,r=0);var m=n,v=Math.round(f);return r=Math.max(r,v),j(S({},i),{columnNumber:p,rowNumber:h,offset:m,height:v,columnSpan:l})})),totalHeight:n+r}}},{key:"computeRenderData",value:function(e,t,n){if(null===n||null===e)return{cellsToRender:[],firstRenderedRowNumber:0,firstRenderedRowOffset:0};var r=[],o=null,i=null;if(null!==t.elementWindowOffset){var a,u=t.elementWindowOffset,c=y(n.cells);try{for(c.s();!(a=c.n()).done;){var l=a.value,f=u+l.offset,s=f+l.height,d=t.windowScroll.y,p=d+t.windowSize.height,h=d-e.windowMargin;f>p+e.windowMargin||s<h||(null===o&&(o=l.rowNumber),l.rowNumber===o&&(i=i?Math.min(i,l.offset):l.offset),r.push(l))}}catch(e){c.e(e)}finally{c.f()}}return{cellsToRender:r,firstRenderedRowNumber:o,firstRenderedRowOffset:i}}},{key:"getColumnWidth",value:function(e,t,n){if(null===e||null===t||null===n)return 0;var r=(e-1)*t;return Math.round((n-r)/e)}},{key:"getGridRowStart",value:function(e,t){if(null!==t){var n=null!==t.firstRenderedRowNumber?t.firstRenderedRowNumber-1:0,r=e.rowNumber-n;return"".concat(r)}}},{key:"resetGrid",value:function(){this.bottomReached=!1,this.loadMoreData()}},{key:"isSameElementSize",value:function(e,t){return e.width===t.width&&e.height===t.height}},{key:"getWindowSize",value:function(){return{width:window.innerWidth,height:window.innerHeight}}},{key:"getElementSize",value:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}}},{key:"isSameElementScroll",value:function(e,t){return e.x===t.x&&e.y===t.y}},{key:"getWindowScroll",value:function(){return{x:window.scrollX,y:window.scrollY}}},{key:"getElementOffset",value:function(e){return window.scrollY+e.getBoundingClientRect().top}}],n&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(r.ZP);function Q(e,t,n,r,o,i,a,u){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=u?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var f=l.render;l.render=function(e,t){return c.call(t),f(e,t)}}else{var s=l.beforeCreate;l.beforeCreate=s?[].concat(s,c):[c]}return{exports:e,options:l}}q([B({required:!0})],J.prototype,"items",2),q([B({default:function(){return function(){return!0}}})],J.prototype,"updateFunction",2),q([B({default:function(){return F}})],J.prototype,"getGridGap",2),q([B({default:function(){return U}})],J.prototype,"getColumnCount",2),q([B({default:function(){return Z}})],J.prototype,"getWindowMargin",2),q([B({default:function(){return K}})],J.prototype,"getItemRatioHeight",2),q([B({default:null})],J.prototype,"scrollElement",2),q([B({default:500})],J.prototype,"updateTriggerMargin",2),q([B({default:null})],J.prototype,"loader",2),q([B({default:!1})],J.prototype,"debug",2),q([H()],J.prototype,"updateLock",2),q([H()],J.prototype,"bottomReached",2),q([H()],J.prototype,"ref",2),q([H()],J.prototype,"containerData",2),q([function(e,t){void 0===t&&(t={});var n=t.deep,r=void 0!==n&&n,o=t.immediate,i=void 0!==o&&o;return z((function(t,n){"object"!==h(t.watch)&&(t.watch=Object.create(null));var o=t.watch;"object"!==h(o[e])||Array.isArray(o[e])?void 0===o[e]&&(o[e]=[]):o[e]=[o[e]],o[e].push({handler:n,deep:r,immediate:i})}))}("scrollElement")],J.prototype,"onScrollElementChanged",1),J=q([W({name:"VirtualGrid"})],J);var ee={},te=Q(J,(function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{ref:"virtualGrid",style:{boxSizing:"border-box",height:t.layoutData.totalHeight+"px",paddingTop:null!==t.renderData&&null!==t.renderData.firstRenderedRowOffset?t.renderData.firstRenderedRowOffset+"px":"0px"}},[r("div",{staticClass:"grid",style:(e={display:"-ms-grid"},i(e,"display","grid"),i(e,"align-items","center"),i(e,"grid-template-columns","repeat("+t.configData.columnCount+", 1fr)"),i(e,"gap",t.configData.gridGap+"px"),e)},t._l(t.renderData.cellsToRender,(function(e){return r("div",{key:e.id,staticClass:"grid-item-wrapper",style:{height:e.height+"px","grid-column-start":e.columnNumber,"grid-column-end":e.columnNumber+e.columnSpan,"grid-row-start":t.getGridRowStart(e,t.renderData)}},[r(e.renderComponent,t._g({tag:"component",attrs:{item:e}},t.$listeners))],1)})),0),r(t.loadingBatch&&t.loader,{tag:"component"})],1)}),[],!1,ne,null,null,null);function ne(e){for(var t in ee)this[t]=ee[t]}var re=function(){return te.exports}()}}]);
-//# sourceMappingURL=photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js.map?v=8d6193453fed649d22c6 \ No newline at end of file
+"use strict";(self.webpackChunkphotos=self.webpackChunkphotos||[]).push([["vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js"],{29837:(t,e,r)=>{r.d(e,{Z:()=>ot});var n=r(20144),o=r(25108);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(){a=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),u=new E(o||[]);return n(a,"_invoke",{value:j(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function h(){}function p(){}function v(){}var g={};l(g,i,(function(){return this}));var m=Object.getPrototypeOf,w=m&&m(m(k([])));w&&w!==e&&r.call(w,i)&&(g=w);var b=v.prototype=h.prototype=Object.create(g);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==y(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function j(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return D()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function R(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:D}}function D(){return{value:void 0,done:!0}}return p.prototype=v,n(b,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:p,configurable:!0}),p.displayName=l(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},O(_.prototype),l(_.prototype,u,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new _(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(b),l(b,c,"Generator"),l(b,i,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function u(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=p(t);if(e){var o=p(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h(this,r)}}function h(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var m=Object.defineProperty,w=Object.defineProperties,b=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,S=function(t,e,r){return e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},R=function(t,e){for(var r in e||(e={}))_.call(e,r)&&S(t,r,e[r]);if(O){var n,o=v(O(e));try{for(o.s();!(n=o.n()).done;){r=n.value;j.call(e,r)&&S(t,r,e[r])}}catch(t){o.e(t)}finally{o.f()}}return t},x=function(t,e){return w(t,b(e))};function E(t){return(E="function"==typeof Symbol&&"symbol"===y(Symbol.iterator)?function(t){return y(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":y(t)})(t)}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function D(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function P(){return"undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function L(t,e){M(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(r){M(t.prototype,e.prototype,r)})),Object.getOwnPropertyNames(e).forEach((function(r){M(t,e,r)}))}function M(t,e,r){(r?Reflect.getOwnMetadataKeys(e,r):Reflect.getOwnMetadataKeys(e)).forEach((function(n){var o=r?Reflect.getOwnMetadata(n,e,r):Reflect.getOwnMetadata(n,e);r?Reflect.defineMetadata(n,o,t,r):Reflect.defineMetadata(n,o,t)}))}var C={__proto__:[]}instanceof Array;function N(t){return function(e,r,n){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof n&&(n=void 0),o.__decorators__.push((function(e){return t(e,r,n)}))}}function A(t,e){var r=e.prototype._init;e.prototype._init=function(){var e=this,r=Object.getOwnPropertyNames(t);if(t.$options.props)for(var n in t.$options.props)t.hasOwnProperty(n)||r.push(n);r.forEach((function(r){Object.defineProperty(e,r,{get:function(){return t[r]},set:function(e){t[r]=e},configurable:!0})}))};var n=new e;e.prototype._init=r;var o={};return Object.keys(n).forEach((function(t){void 0!==n[t]&&(o[t]=n[t])})),o}var z=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function G(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var r=t.prototype;Object.getOwnPropertyNames(r).forEach((function(t){if("constructor"!==t)if(z.indexOf(t)>-1)e[t]=r[t];else{var n=Object.getOwnPropertyDescriptor(r,t);void 0!==n.value?"function"==typeof n.value?(e.methods||(e.methods={}))[t]=n.value:(e.mixins||(e.mixins=[])).push({data:function(){return k({},t,n.value)}}):(n.get||n.set)&&((e.computed||(e.computed={}))[t]={get:n.get,set:n.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return A(this,t)}});var o=t.__decorators__;o&&(o.forEach((function(t){return t(e)})),delete t.__decorators__);var i=Object.getPrototypeOf(t.prototype),a=i instanceof n.ZP?i.constructor:n.ZP,u=a.extend(e);return W(u,t,a),P()&&L(u,t),u}var T={prototype:!0,arguments:!0,callee:!0,caller:!0};function W(t,e,r){Object.getOwnPropertyNames(e).forEach((function(n){if(!T[n]){var o=Object.getOwnPropertyDescriptor(t,n);if(!o||o.configurable){var i,a,u=Object.getOwnPropertyDescriptor(e,n);if(!C){if("cid"===n)return;var c=Object.getOwnPropertyDescriptor(r,n);if(i=u.value,a=E(i),null!=i&&("object"===a||"function"===a)&&c&&c.value===u.value)return}Object.defineProperty(t,n,u)}}}))}function $(t){return"function"==typeof t?G(t):function(e){return G(e,t)}}$.registerHooks=function(t){z.push.apply(z,D(t))},globalThis&&globalThis.__spreadArrays;var I="__reactiveInject__";var F="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function B(t){return void 0===t&&(t={}),function(e,r){!function(t,e,r){if(F&&!Array.isArray(t)&&"function"!=typeof t&&!t.hasOwnProperty("type")&&void 0===t.type){var n=Reflect.getMetadata("design:type",e,r);n!==Object&&(t.type=n)}}(t,e,r),N((function(e,r){(e.props||(e.props={}))[r]=t}))(e,r)}}function H(t){return N((function(e,r){var n,o=e.provide;!function(t){Array.isArray(t.inject)||(t.inject=t.inject||{},t.inject[I]={from:I,default:{}})}(e),("function"!=typeof(n=o)||!n.managed&&!n.managedReactive)&&(o=e.provide=function(t){var e=function e(){var r=this,n="function"==typeof t?t.call(this):t;for(var o in(n=Object.create(n||null))[I]=Object.create(this[I]||{}),e.managed)n[e.managed[o]]=this[o];var i=function(t){n[e.managedReactive[t]]=a[t],Object.defineProperty(n[I],e.managedReactive[t],{enumerable:!0,configurable:!0,get:function(){return r[t]}})},a=this;for(var o in e.managedReactive)i(o);return n};return e.managed={},e.managedReactive={},e}(o)),o.managedReactive[r]=t||r}))}var U=function(t,e){return t>720&&e>480?10:5},Y=function(t){return Math.floor(t/250)},Z=function(t){return Math.round(1.5*t)},K=function(t,e,r){var n=t/e;return Math.round(r*n)},V=function(t){if(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];(e=o).debug.apply(e,n)}},X=Object.defineProperty,q=Object.getOwnPropertyDescriptor,J=function(t,e,r,n){for(var o,i=n>1?void 0:n?q(e,r):e,a=t.length-1;a>=0;a--)(o=t[a])&&(i=(n?o(e,r,i):o(i))||i);return n&&i&&X(e,r,i),i},Q=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(h,t);var e,r,n,i,u=d(h);function h(){var t;return l(this,h),(t=u.apply(this,arguments)).updateLock=!1,t.bottomReached=!1,t.ref=null,t.containerData={windowSize:{height:0,width:0},windowScroll:{x:0,y:0},elementWindowOffset:0,elementSize:{height:0,width:0}},t}return e=h,r=[{key:"loadingBatch",get:function(){return this.loader&&this.updateLock}},{key:"configData",get:function(){return this.computeConfigData(this.containerData,this.items)}},{key:"layoutData",get:function(){return this.computeLayoutData(this.configData)}},{key:"renderData",get:function(){return this.computeRenderData(this.configData,this.containerData,this.layoutData)}},{key:"mounted",value:function(){var t;this.ref=this.$refs.virtualGrid,this.initiliazeGrid(),window.addEventListener("resize",this.resize),(null!=(t=this.scrollElement)?t:window).addEventListener("scroll",this.scroll)}},{key:"beforeDestroy",value:function(){var t;window.removeEventListener("resize",this.resize),(null!=(t=this.scrollElement)?t:window).removeEventListener("scroll",this.scroll)}},{key:"onScrollElementChanged",value:function(t,e){(null!=e?e:window).removeEventListener("scroll",this.scroll),(null!=t?t:window).addEventListener("scroll",this.scroll)}},{key:"resize",value:function(){this.loadMoreData()}},{key:"scroll",value:function(){this.loadMoreData()}},{key:"initiliazeGrid",value:function(){var t=this;this.computeContainerData(),this.$nextTick(c(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loadMoreData();case 1:case"end":return e.stop()}}),e)}))))}},{key:"loadMoreData",value:function(){this.loadMoreDataAsync().catch((function(t){t&&o.error("Fail to load next data batch",t)})).then()}},{key:"loadMoreDataAsync",value:(i=c(a().mark((function t(){var e,r,n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.computeContainerData(),e=this.containerData.windowScroll.y,r=e+this.containerData.windowSize.height,n=Math.max(0,this.containerData.elementWindowOffset+this.containerData.elementSize.height-this.updateTriggerMargin),this.bottomReached||!(r>=n)||this.updateLock){t.next=14;break}return this.updateLock=!0,V(this.debug,"Loading next batch"),t.next=9,this.updateFunction();case 9:return t.sent&&(V(this.debug,"Bottom reached"),this.bottomReached=!0),this.updateLock=!1,t.next=14,this.loadMoreDataAsync();case 14:return t.abrupt("return");case 15:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"computeContainerData",value:function(){if(null!==this.ref){var t=this.getWindowSize(),e=this.getWindowScroll(),r=this.getElementOffset(this.ref),n=this.getElementSize(this.ref);this.containerData={windowSize:t,windowScroll:e,elementWindowOffset:r,elementSize:n}}}},{key:"computeConfigData",value:function(t,e){var r=this;if(null===t||null===e)return{windowMargin:0,gridGap:0,columnCount:1,entries:[]};var n=t.elementSize?t.elementSize.width:0,o=this.getWindowMargin(t.windowSize.height),i=this.getGridGap(n,t.windowSize.height),a=this.getColumnCount(n),u=this.getColumnWidth(a,i,n),c=e.map((function(t){if(!t.width)return t;var e=u*t.columnSpan+i*(t.columnSpan-1);return x(R({},t),{height:r.getItemRatioHeight(t.height,t.width,e),width:e})}));return{windowMargin:o,gridGap:i,columnCount:a,entries:c}}},{key:"computeLayoutData",value:function(t){if(null===t)return{cells:[],totalHeight:0};var e=1,r=0,n=0,o=0;return{cells:t.entries.map((function(i,a){var u=t.columnCount,c=t.gridGap,l=i.columnSpan,f=i.height;l<1&&(l=u);var s=(a+o)%u;i.newRow&&0!==s&&(o+=u-s);var d=a+o,h=d%u+1,p=Math.floor(d/u)+1;if(h+l>u+1){var y=h+l-u-1;f*=1-y/l,l-=y}l>1&&(o+=l-1),p!==e&&(e=p,r+=n+c,n=0);var v=r,g=Math.round(f);return n=Math.max(n,g),x(R({},i),{columnNumber:h,rowNumber:p,offset:v,height:g,columnSpan:l})})),totalHeight:r+n}}},{key:"computeRenderData",value:function(t,e,r){if(null===r||null===t)return{cellsToRender:[],firstRenderedRowNumber:0,firstRenderedRowOffset:0};var n=[],o=null,i=null;if(null!==e.elementWindowOffset){var a,u=e.elementWindowOffset,c=v(r.cells);try{for(c.s();!(a=c.n()).done;){var l=a.value,f=u+l.offset,s=f+l.height,d=e.windowScroll.y,h=d+e.windowSize.height,p=d-t.windowMargin;f>h+t.windowMargin||s<p||(null===o&&(o=l.rowNumber),l.rowNumber===o&&(i=i?Math.min(i,l.offset):l.offset),n.push(l))}}catch(t){c.e(t)}finally{c.f()}}return{cellsToRender:n,firstRenderedRowNumber:o,firstRenderedRowOffset:i}}},{key:"getColumnWidth",value:function(t,e,r){if(null===t||null===e||null===r)return 0;var n=(t-1)*e;return Math.round((r-n)/t)}},{key:"getGridRowStart",value:function(t,e){if(null!==e){var r=null!==e.firstRenderedRowNumber?e.firstRenderedRowNumber-1:0,n=t.rowNumber-r;return"".concat(n)}}},{key:"resetGrid",value:function(){this.bottomReached=!1,this.loadMoreData()}},{key:"isSameElementSize",value:function(t,e){return t.width===e.width&&t.height===e.height}},{key:"getWindowSize",value:function(){return{width:window.innerWidth,height:window.innerHeight}}},{key:"getElementSize",value:function(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height}}},{key:"isSameElementScroll",value:function(t,e){return t.x===e.x&&t.y===e.y}},{key:"getWindowScroll",value:function(){return{x:window.scrollX,y:window.scrollY}}},{key:"getElementOffset",value:function(t){return window.scrollY+t.getBoundingClientRect().top}}],r&&f(e.prototype,r),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),h}(n.ZP);function tt(t,e,r,n,o,i,a,u){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=u?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var f=l.render;l.render=function(t,e){return c.call(e),f(t,e)}}else{var s=l.beforeCreate;l.beforeCreate=s?[].concat(s,c):[c]}return{exports:t,options:l}}J([B({required:!0})],Q.prototype,"items",2),J([B({default:function(){return function(){return!0}}})],Q.prototype,"updateFunction",2),J([B({default:function(){return U}})],Q.prototype,"getGridGap",2),J([B({default:function(){return Y}})],Q.prototype,"getColumnCount",2),J([B({default:function(){return Z}})],Q.prototype,"getWindowMargin",2),J([B({default:function(){return K}})],Q.prototype,"getItemRatioHeight",2),J([B({default:null})],Q.prototype,"scrollElement",2),J([B({default:500})],Q.prototype,"updateTriggerMargin",2),J([B({default:null})],Q.prototype,"loader",2),J([B({default:!1})],Q.prototype,"debug",2),J([H()],Q.prototype,"updateLock",2),J([H()],Q.prototype,"bottomReached",2),J([H()],Q.prototype,"ref",2),J([H()],Q.prototype,"containerData",2),J([function(t,e){void 0===e&&(e={});var r=e.deep,n=void 0!==r&&r,o=e.immediate,i=void 0!==o&&o;return N((function(e,r){"object"!==y(e.watch)&&(e.watch=Object.create(null));var o=e.watch;"object"!==y(o[t])||Array.isArray(o[t])?void 0===o[t]&&(o[t]=[]):o[t]=[o[t]],o[t].push({handler:r,deep:n,immediate:i})}))}("scrollElement")],Q.prototype,"onScrollElementChanged",1),Q=J([$({name:"VirtualGrid"})],Q);var et={},rt=tt(Q,(function(){var t,e=this,r=e.$createElement,n=e._self._c||r;return n("div",{ref:"virtualGrid",style:{boxSizing:"border-box",height:e.layoutData.totalHeight+"px",paddingTop:null!==e.renderData&&null!==e.renderData.firstRenderedRowOffset?e.renderData.firstRenderedRowOffset+"px":"0px"}},[n("div",{staticClass:"grid",style:(t={display:"-ms-grid"},i(t,"display","grid"),i(t,"align-items","center"),i(t,"grid-template-columns","repeat("+e.configData.columnCount+", 1fr)"),i(t,"gap",e.configData.gridGap+"px"),t)},e._l(e.renderData.cellsToRender,(function(t){return n("div",{key:t.id,staticClass:"grid-item-wrapper",style:{height:t.height+"px","grid-column-start":t.columnNumber,"grid-column-end":t.columnNumber+t.columnSpan,"grid-row-start":e.getGridRowStart(t,e.renderData)}},[n(t.renderComponent,e._g({tag:"component",attrs:{item:t}},e.$listeners))],1)})),0),n(e.loadingBatch&&e.loader,{tag:"component"})],1)}),[],!1,nt,null,null,null);function nt(t){for(var e in et)this[e]=et[e]}var ot=function(){return rt.exports}()}}]);
+//# sourceMappingURL=photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js.map?v=b340ce86f311f2989ebc \ No newline at end of file