PageSourceSearch

https://cinepub.ro/wp-content/litespeed/js/30b101b9e2ec9673875b563a4478ed6c.js?ver=0a697

js cinepub.ro collected 2026-10-02 11:35:42 UTC 2,567 bytes, 11 lines download raw bytes

1/*!
2 * masonryHorizontal layout mode for Isotope
3 * v2.0.0
4 * http://isotope.metafizzy.co/layout-modes/masonryhorizontal.html
5 */
6(function(window,factory){'use strict';if(typeof define==='function'&&define.amd){define(['get-size/get-size','isotope/js/layout-mode'],factory)}else if(typeof module=='object'&&module.exports){module.exports=factory(require('get-size'),require('isotope-layout/js/layout-mode'))}else{factory(window.getSize,window.Isotope.LayoutMode)}}(window,function factory(getSize,LayoutMode){'use strict';var MasonryHorizontal=LayoutMode.create('masonryHorizontal');var proto=MasonryHorizontal.prototype;proto._resetLayout=function(){this.getRowHeight();this._getMeasurement('gutter','outerHeight');this.rowHeight+=this.gutter;this.rows=Math.floor((this.isotope.size.innerHeight+this.gutter)/this.rowHeight);this.rows=Math.max(this.rows,1);var i=this.rows;this.rowXs=[];while(i--){this.rowXs.push(0)}
7this.maxX=0};proto._getItemLayoutPosition=function(item){item.getSize();var remainder=item.size.outerHeight%this.rowHeight;var mathMethod=remainder&&remainder<1?'round':'ceil';var rowSpan=Math[mathMethod](item.size.outerHeight/this.rowHeight);rowSpan=Math.min(rowSpan,this.rows);var rowGroup=this._getRowGroup(rowSpan);var minimumX=Math.min.apply(Math,rowGroup);var shortRowIndex=rowGroup.indexOf(minimumX);var position={x:minimumX,y:this.rowHeight*shortRowIndex};var setWidth=minimumX+item.size.outerWidth;var setSpan=this.rows+1-rowGroup.length;for(var i=0;i<setSpan;i++){this.rowXs[shortRowIndex+i]=setWidth}
8return position};proto._getRowGroup=function(rowSpan){if(rowSpan<2){return this.rowXs}
9var rowGroup=[];var groupCount=this.rows+1-rowSpan;for(var i=0;i<groupCount;i++){var groupRowXs=this.rowXs.slice(i,i+rowSpan);rowGroup[i]=Math.max.apply(Math,groupRowXs)}
10return rowGroup};proto._manageStamp=function(stamp){var stampSize=getSize(stamp);var offset=this.isotope._getElementOffset(stamp);var firstY=this._getOption('originTop')?offset.top:offset.bottom;var lastY=firstY+stampSize.outerHeight;var firstRow=Math.floor(firstY/this.rowHeight);firstRow=Math.max(0,firstRow);var lastRow=Math.floor(lastY/this.rowHeight);lastRow=Math.min(this.rows-1,lastRow);var stampMaxX=(this._getOption('originLeft')?offset.left:offset.right)+stampSize.outerWidth;for(var i=firstRow;i<=lastRow;i++){this.rowXs[i]=Math.max(stampMaxX,this.rowXs[i])}};proto._getContainerSize=function(){this.maxX=Math.max.apply(Math,this.rowXs);return{width:this.maxX}};proto.needsResizeLayout=function(){return this.needsVerticalResizeLayout()};return MasonryHorizontal}))
11;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.