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EAAUpe,KAAKhL,OAAQ,aAAc24B,EAAK0b,aAE5C,GAAG,GAlFH,CAoFD,EACAA,aAAc,WAEb,GAAGf,OAAeR,GAIjB,OAFAE,IAAiB,OACjBra,EAAK9H,QAGF8hB,KAEHC,IAAwB,EACxBja,EAAKxW,KAAMsxB,KAAyBM,KACpCnB,IAAwB,EAG1B,EACAwB,UAAW,WAKVZ,KAGGZ,KAICG,GAGHP,GAAwBjuC,WAAWyvC,GAAa,KAFhDA,KAIF,KAOD5qB,EAAUhf,OAAOuuB,EAAM2F,GAAgB,EACvC,OAAO5J,CACR,OAhpHgB","sources":["webpack://app/./node_modules/desandro-matches-selector/matches-selector.js","webpack://app/./node_modules/ev-emitter/ev-emitter.js","webpack://app/./node_modules/fizzy-ui-utils/utils.js","webpack://app/./node_modules/get-size/get-size.js","webpack://app/./node_modules/imagesloaded/imagesloaded.js","webpack://app/./node_modules/infinite-scroll/js/button.js","webpack://app/./node_modules/infinite-scroll/js/core.js","webpack://app/./node_modules/infinite-scroll/js/history.js","webpack://app/./node_modules/infinite-scroll/js/index.js","webpack://app/./node_modules/infinite-scroll/js/page-load.js","webpack://app/./node_modules/infinite-scroll/js/scroll-watch.js","webpack://app/./node_modules/infinite-scroll/js/status.js","webpack://app/./node_modules/infinite-scroll/node_modules/ev-emitter/ev-emitter.js","webpack://app/./node_modules/masonry-layout/masonry.js","webpack://app/./node_modules/outlayer/item.js","webpack://app/./node_modules/outlayer/node_modules/fizzy-ui-utils/utils.js","webpack://app/./node_modules/outlayer/outlayer.js","webpack://app/./node_modules/photoswipe/dist/photoswipe-ui-default.js","webpack://app/./node_modules/photoswipe/dist/photoswipe.js"],"sourcesContent":["/**\n * matchesSelector v2.0.2\n * matchesSelector( element, '.selector' )\n * MIT license\n */\n\n/*jshint browser: true, strict: true, undef: true, unused: true */\n\n( function( window, factory ) {\n /*global define: false, module: false */\n 'use strict';\n // universal module definition\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory();\n } else {\n // browser global\n window.matchesSelector = factory();\n }\n\n}( window, function factory() {\n 'use strict';\n\n var matchesMethod = ( function() {\n var ElemProto = window.Element.prototype;\n // check for the standard method name first\n if ( ElemProto.matches ) {\n return 'matches';\n }\n // check un-prefixed\n if ( ElemProto.matchesSelector ) {\n return 'matchesSelector';\n }\n // check vendor prefixes\n var prefixes = [ 'webkit', 'moz', 'ms', 'o' ];\n\n for ( var i=0; i < prefixes.length; i++ ) {\n var prefix = prefixes[i];\n var method = prefix + 'MatchesSelector';\n if ( ElemProto[ method ] ) {\n return method;\n }\n }\n })();\n\n return function matchesSelector( elem, selector ) {\n return elem[ matchesMethod ]( selector );\n };\n\n}));\n","/**\n * EvEmitter v1.1.0\n * Lil' event emitter\n * MIT License\n */\n\n/* jshint unused: true, undef: true, strict: true */\n\n( function( global, factory ) {\n // universal module definition\n /* jshint strict: false */ /* globals define, module, window */\n if ( typeof define == 'function' && define.amd ) {\n // AMD - RequireJS\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS - Browserify, Webpack\n module.exports = factory();\n } else {\n // Browser globals\n global.EvEmitter = factory();\n }\n\n}( typeof window != 'undefined' ? window : this, function() {\n\n\"use strict\";\n\nfunction EvEmitter() {}\n\nvar proto = EvEmitter.prototype;\n\nproto.on = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // set events hash\n var events = this._events = this._events || {};\n // set listeners array\n var listeners = events[ eventName ] = events[ eventName ] || [];\n // only add once\n if ( listeners.indexOf( listener ) == -1 ) {\n listeners.push( listener );\n }\n\n return this;\n};\n\nproto.once = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // add event\n this.on( eventName, listener );\n // set once flag\n // set onceEvents hash\n var onceEvents = this._onceEvents = this._onceEvents || {};\n // set onceListeners object\n var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};\n // set flag\n onceListeners[ listener ] = true;\n\n return this;\n};\n\nproto.off = function( eventName, listener ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n var index = listeners.indexOf( listener );\n if ( index != -1 ) {\n listeners.splice( index, 1 );\n }\n\n return this;\n};\n\nproto.emitEvent = function( eventName, args ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n // copy over to avoid interference if .off() in listener\n listeners = listeners.slice(0);\n args = args || [];\n // once stuff\n var onceListeners = this._onceEvents && this._onceEvents[ eventName ];\n\n for ( var i=0; i < listeners.length; i++ ) {\n var listener = listeners[i]\n var isOnce = onceListeners && onceListeners[ listener ];\n if ( isOnce ) {\n // remove listener\n // remove before trigger to prevent recursion\n this.off( eventName, listener );\n // unset once flag\n delete onceListeners[ listener ];\n }\n // trigger listener\n listener.apply( this, args );\n }\n\n return this;\n};\n\nproto.allOff = function() {\n delete this._events;\n delete this._onceEvents;\n};\n\nreturn EvEmitter;\n\n}));\n","/**\n * Fizzy UI utils v3.0.0\n * MIT license\n */\n\n( function( global, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory( global );\n } else {\n // browser global\n global.fizzyUIUtils = factory( global );\n }\n\n}( this, function factory( global ) {\n\nlet utils = {};\n\n// ----- extend ----- //\n\n// extends objects\nutils.extend = function( a, b ) {\n return Object.assign( a, b );\n};\n\n// ----- modulo ----- //\n\nutils.modulo = function( num, div ) {\n return ( ( num % div ) + div ) % div;\n};\n\n// ----- makeArray ----- //\n\n// turn element or nodeList into an array\nutils.makeArray = function( obj ) {\n // use object if already an array\n if ( Array.isArray( obj ) ) return obj;\n\n // return empty array if undefined or null. #6\n if ( obj === null || obj === undefined ) return [];\n\n let isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';\n // convert nodeList to array\n if ( isArrayLike ) return [ ...obj ];\n\n // array of single index\n return [ obj ];\n};\n\n// ----- removeFrom ----- //\n\nutils.removeFrom = function( ary, obj ) {\n let index = ary.indexOf( obj );\n if ( index != -1 ) {\n ary.splice( index, 1 );\n }\n};\n\n// ----- getParent ----- //\n\nutils.getParent = function( elem, selector ) {\n while ( elem.parentNode && elem != document.body ) {\n elem = elem.parentNode;\n if ( elem.matches( selector ) ) return elem;\n }\n};\n\n// ----- getQueryElement ----- //\n\n// use element as selector string\nutils.getQueryElement = function( elem ) {\n if ( typeof elem == 'string' ) {\n return document.querySelector( elem );\n }\n return elem;\n};\n\n// ----- handleEvent ----- //\n\n// enable .ontype to trigger from .addEventListener( elem, 'type' )\nutils.handleEvent = function( event ) {\n let method = 'on' + event.type;\n if ( this[ method ] ) {\n this[ method ]( event );\n }\n};\n\n// ----- filterFindElements ----- //\n\nutils.filterFindElements = function( elems, selector ) {\n // make array of elems\n elems = utils.makeArray( elems );\n\n return elems\n // check that elem is an actual element\n .filter( ( elem ) => elem instanceof HTMLElement )\n .reduce( ( ffElems, elem ) => {\n // add elem if no selector\n if ( !selector ) {\n ffElems.push( elem );\n return ffElems;\n }\n // filter & find items if we have a selector\n // filter\n if ( elem.matches( selector ) ) {\n ffElems.push( elem );\n }\n // find children\n let childElems = elem.querySelectorAll( selector );\n // concat childElems to filterFound array\n ffElems = ffElems.concat( ...childElems );\n return ffElems;\n }, [] );\n};\n\n// ----- debounceMethod ----- //\n\nutils.debounceMethod = function( _class, methodName, threshold ) {\n threshold = threshold || 100;\n // original method\n let method = _class.prototype[ methodName ];\n let timeoutName = methodName + 'Timeout';\n\n _class.prototype[ methodName ] = function() {\n clearTimeout( this[ timeoutName ] );\n\n let args = arguments;\n this[ timeoutName ] = setTimeout( () => {\n method.apply( this, args );\n delete this[ timeoutName ];\n }, threshold );\n };\n};\n\n// ----- docReady ----- //\n\nutils.docReady = function( onDocReady ) {\n let readyState = document.readyState;\n if ( readyState == 'complete' || readyState == 'interactive' ) {\n // do async to allow for other scripts to run. metafizzy/flickity#441\n setTimeout( onDocReady );\n } else {\n document.addEventListener( 'DOMContentLoaded', onDocReady );\n }\n};\n\n// ----- htmlInit ----- //\n\n// http://bit.ly/3oYLusc\nutils.toDashed = function( str ) {\n return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) {\n return $1 + '-' + $2;\n } ).toLowerCase();\n};\n\nlet console = global.console;\n\n// allow user to initialize classes via [data-namespace] or .js-namespace class\n// htmlInit( Widget, 'widgetName' )\n// options are parsed from data-namespace-options\nutils.htmlInit = function( WidgetClass, namespace ) {\n utils.docReady( function() {\n let dashedNamespace = utils.toDashed( namespace );\n let dataAttr = 'data-' + dashedNamespace;\n let dataAttrElems = document.querySelectorAll( `[${dataAttr}]` );\n let jQuery = global.jQuery;\n\n [ ...dataAttrElems ].forEach( ( elem ) => {\n let attr = elem.getAttribute( dataAttr );\n let options;\n try {\n options = attr && JSON.parse( attr );\n } catch ( error ) {\n // log error, do not initialize\n if ( console ) {\n console.error( `Error parsing ${dataAttr} on ${elem.className}: ${error}` );\n }\n return;\n }\n // initialize\n let instance = new WidgetClass( elem, options );\n // make available via $().data('namespace')\n if ( jQuery ) {\n jQuery.data( elem, namespace, instance );\n }\n } );\n\n } );\n};\n\n// ----- ----- //\n\nreturn utils;\n\n} ) );\n","/*!\n * getSize v2.0.3\n * measure size of elements\n * MIT license\n */\n\n/* jshint browser: true, strict: true, undef: true, unused: true */\n/* globals console: false */\n\n( function( window, factory ) {\n /* jshint strict: false */ /* globals define, module */\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory();\n } else {\n // browser global\n window.getSize = factory();\n }\n\n})( window, function factory() {\n'use strict';\n\n// -------------------------- helpers -------------------------- //\n\n// get a number from a string, not a percentage\nfunction getStyleSize( value ) {\n var num = parseFloat( value );\n // not a percent like '100%', and a number\n var isValid = value.indexOf('%') == -1 && !isNaN( num );\n return isValid && num;\n}\n\nfunction noop() {}\n\nvar logError = typeof console == 'undefined' ? noop :\n function( message ) {\n console.error( message );\n };\n\n// -------------------------- measurements -------------------------- //\n\nvar measurements = [\n 'paddingLeft',\n 'paddingRight',\n 'paddingTop',\n 'paddingBottom',\n 'marginLeft',\n 'marginRight',\n 'marginTop',\n 'marginBottom',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderTopWidth',\n 'borderBottomWidth'\n];\n\nvar measurementsLength = measurements.length;\n\nfunction getZeroSize() {\n var size = {\n width: 0,\n height: 0,\n innerWidth: 0,\n innerHeight: 0,\n outerWidth: 0,\n outerHeight: 0\n };\n for ( var i=0; i < measurementsLength; i++ ) {\n var measurement = measurements[i];\n size[ measurement ] = 0;\n }\n return size;\n}\n\n// -------------------------- getStyle -------------------------- //\n\n/**\n * getStyle, get style of element, check for Firefox bug\n * https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n */\nfunction getStyle( elem ) {\n var style = getComputedStyle( elem );\n if ( !style ) {\n logError( 'Style returned ' + style +\n '. Are you running this code in a hidden iframe on Firefox? ' +\n 'See https://bit.ly/getsizebug1' );\n }\n return style;\n}\n\n// -------------------------- setup -------------------------- //\n\nvar isSetup = false;\n\nvar isBoxSizeOuter;\n\n/**\n * setup\n * check isBoxSizerOuter\n * do on first getSize() rather than on page load for Firefox bug\n */\nfunction setup() {\n // setup once\n if ( isSetup ) {\n return;\n }\n isSetup = true;\n\n // -------------------------- box sizing -------------------------- //\n\n /**\n * Chrome & Safari measure the outer-width on style.width on border-box elems\n * IE11 & Firefox<29 measures the inner-width\n */\n var div = document.createElement('div');\n div.style.width = '200px';\n div.style.padding = '1px 2px 3px 4px';\n div.style.borderStyle = 'solid';\n div.style.borderWidth = '1px 2px 3px 4px';\n div.style.boxSizing = 'border-box';\n\n var body = document.body || document.documentElement;\n body.appendChild( div );\n var style = getStyle( div );\n // round value for browser zoom. desandro/masonry#928\n isBoxSizeOuter = Math.round( getStyleSize( style.width ) ) == 200;\n getSize.isBoxSizeOuter = isBoxSizeOuter;\n\n body.removeChild( div );\n}\n\n// -------------------------- getSize -------------------------- //\n\nfunction getSize( elem ) {\n setup();\n\n // use querySeletor if elem is string\n if ( typeof elem == 'string' ) {\n elem = document.querySelector( elem );\n }\n\n // do not proceed on non-objects\n if ( !elem || typeof elem != 'object' || !elem.nodeType ) {\n return;\n }\n\n var style = getStyle( elem );\n\n // if hidden, everything is 0\n if ( style.display == 'none' ) {\n return getZeroSize();\n }\n\n var size = {};\n size.width = elem.offsetWidth;\n size.height = elem.offsetHeight;\n\n var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box';\n\n // get all measurements\n for ( var i=0; i < measurementsLength; i++ ) {\n var measurement = measurements[i];\n var value = style[ measurement ];\n var num = parseFloat( value );\n // any 'auto', 'medium' value will be 0\n size[ measurement ] = !isNaN( num ) ? num : 0;\n }\n\n var paddingWidth = size.paddingLeft + size.paddingRight;\n var paddingHeight = size.paddingTop + size.paddingBottom;\n var marginWidth = size.marginLeft + size.marginRight;\n var marginHeight = size.marginTop + size.marginBottom;\n var borderWidth = size.borderLeftWidth + size.borderRightWidth;\n var borderHeight = size.borderTopWidth + size.borderBottomWidth;\n\n var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;\n\n // overwrite width and height if we can get it from style\n var styleWidth = getStyleSize( style.width );\n if ( styleWidth !== false ) {\n size.width = styleWidth +\n // add padding and border unless it's already including it\n ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth );\n }\n\n var styleHeight = getStyleSize( style.height );\n if ( styleHeight !== false ) {\n size.height = styleHeight +\n // add padding and border unless it's already including it\n ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight );\n }\n\n size.innerWidth = size.width - ( paddingWidth + borderWidth );\n size.innerHeight = size.height - ( paddingHeight + borderHeight );\n\n size.outerWidth = size.width + marginWidth;\n size.outerHeight = size.height + marginHeight;\n\n return size;\n}\n\nreturn getSize;\n\n});\n","/*!\n * imagesLoaded v4.1.4\n * JavaScript is all like \"You images are done yet or what?\"\n * MIT License\n */\n\n( function( window, factory ) { 'use strict';\n // universal module definition\n\n /*global define: false, module: false, require: false */\n\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( [\n 'ev-emitter/ev-emitter'\n ], function( EvEmitter ) {\n return factory( window, EvEmitter );\n });\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('ev-emitter')\n );\n } else {\n // browser global\n window.imagesLoaded = factory(\n window,\n window.EvEmitter\n );\n }\n\n})( typeof window !== 'undefined' ? window : this,\n\n// -------------------------- factory -------------------------- //\n\nfunction factory( window, EvEmitter ) {\n\n'use strict';\n\nvar $ = window.jQuery;\nvar console = window.console;\n\n// -------------------------- helpers -------------------------- //\n\n// extend objects\nfunction extend( a, b ) {\n for ( var prop in b ) {\n a[ prop ] = b[ prop ];\n }\n return a;\n}\n\nvar arraySlice = Array.prototype.slice;\n\n// turn element or nodeList into an array\nfunction makeArray( obj ) {\n if ( Array.isArray( obj ) ) {\n // use object if already an array\n return obj;\n }\n\n var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';\n if ( isArrayLike ) {\n // convert nodeList to array\n return arraySlice.call( obj );\n }\n\n // array of single index\n return [ obj ];\n}\n\n// -------------------------- imagesLoaded -------------------------- //\n\n/**\n * @param {Array, Element, NodeList, String} elem\n * @param {Object or Function} options - if function, use as callback\n * @param {Function} onAlways - callback function\n */\nfunction ImagesLoaded( elem, options, onAlways ) {\n // coerce ImagesLoaded() without new, to be new ImagesLoaded()\n if ( !( this instanceof ImagesLoaded ) ) {\n return new ImagesLoaded( elem, options, onAlways );\n }\n // use elem as selector string\n var queryElem = elem;\n if ( typeof elem == 'string' ) {\n queryElem = document.querySelectorAll( elem );\n }\n // bail if bad element\n if ( !queryElem ) {\n console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) );\n return;\n }\n\n this.elements = makeArray( queryElem );\n this.options = extend( {}, this.options );\n // shift arguments if no options set\n if ( typeof options == 'function' ) {\n onAlways = options;\n } else {\n extend( this.options, options );\n }\n\n if ( onAlways ) {\n this.on( 'always', onAlways );\n }\n\n this.getImages();\n\n if ( $ ) {\n // add jQuery Deferred object\n this.jqDeferred = new $.Deferred();\n }\n\n // HACK check async to allow time to bind listeners\n setTimeout( this.check.bind( this ) );\n}\n\nImagesLoaded.prototype = Object.create( EvEmitter.prototype );\n\nImagesLoaded.prototype.options = {};\n\nImagesLoaded.prototype.getImages = function() {\n this.images = [];\n\n // filter & find items if we have an item selector\n this.elements.forEach( this.addElementImages, this );\n};\n\n/**\n * @param {Node} element\n */\nImagesLoaded.prototype.addElementImages = function( elem ) {\n // filter siblings\n if ( elem.nodeName == 'IMG' ) {\n this.addImage( elem );\n }\n // get background image on element\n if ( this.options.background === true ) {\n this.addElementBackgroundImages( elem );\n }\n\n // find children\n // no non-element nodes, #143\n var nodeType = elem.nodeType;\n if ( !nodeType || !elementNodeTypes[ nodeType ] ) {\n return;\n }\n var childImgs = elem.querySelectorAll('img');\n // concat childElems to filterFound array\n for ( var i=0; i < childImgs.length; i++ ) {\n var img = childImgs[i];\n this.addImage( img );\n }\n\n // get child background images\n if ( typeof this.options.background == 'string' ) {\n var children = elem.querySelectorAll( this.options.background );\n for ( i=0; i < children.length; i++ ) {\n var child = children[i];\n this.addElementBackgroundImages( child );\n }\n }\n};\n\nvar elementNodeTypes = {\n 1: true,\n 9: true,\n 11: true\n};\n\nImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {\n var style = getComputedStyle( elem );\n if ( !style ) {\n // Firefox returns null if in a hidden iframe https://bugzil.la/548397\n return;\n }\n // get url inside url(\"...\")\n var reURL = /url\\((['\"])?(.*?)\\1\\)/gi;\n var matches = reURL.exec( style.backgroundImage );\n while ( matches !== null ) {\n var url = matches && matches[2];\n if ( url ) {\n this.addBackground( url, elem );\n }\n matches = reURL.exec( style.backgroundImage );\n }\n};\n\n/**\n * @param {Image} img\n */\nImagesLoaded.prototype.addImage = function( img ) {\n var loadingImage = new LoadingImage( img );\n this.images.push( loadingImage );\n};\n\nImagesLoaded.prototype.addBackground = function( url, elem ) {\n var background = new Background( url, elem );\n this.images.push( background );\n};\n\nImagesLoaded.prototype.check = function() {\n var _this = this;\n this.progressedCount = 0;\n this.hasAnyBroken = false;\n // complete if no images\n if ( !this.images.length ) {\n this.complete();\n return;\n }\n\n function onProgress( image, elem, message ) {\n // HACK - Chrome triggers event before object properties have changed. #83\n setTimeout( function() {\n _this.progress( image, elem, message );\n });\n }\n\n this.images.forEach( function( loadingImage ) {\n loadingImage.once( 'progress', onProgress );\n loadingImage.check();\n });\n};\n\nImagesLoaded.prototype.progress = function( image, elem, message ) {\n this.progressedCount++;\n this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;\n // progress event\n this.emitEvent( 'progress', [ this, image, elem ] );\n if ( this.jqDeferred && this.jqDeferred.notify ) {\n this.jqDeferred.notify( this, image );\n }\n // check if completed\n if ( this.progressedCount == this.images.length ) {\n this.complete();\n }\n\n if ( this.options.debug && console ) {\n console.log( 'progress: ' + message, image, elem );\n }\n};\n\nImagesLoaded.prototype.complete = function() {\n var eventName = this.hasAnyBroken ? 'fail' : 'done';\n this.isComplete = true;\n this.emitEvent( eventName, [ this ] );\n this.emitEvent( 'always', [ this ] );\n if ( this.jqDeferred ) {\n var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';\n this.jqDeferred[ jqMethod ]( this );\n }\n};\n\n// -------------------------- -------------------------- //\n\nfunction LoadingImage( img ) {\n this.img = img;\n}\n\nLoadingImage.prototype = Object.create( EvEmitter.prototype );\n\nLoadingImage.prototype.check = function() {\n // If complete is true and browser supports natural sizes,\n // try to check for image status manually.\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n // report based on naturalWidth\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n return;\n }\n\n // If none of the checks above matched, simulate loading on detached element.\n this.proxyImage = new Image();\n this.proxyImage.addEventListener( 'load', this );\n this.proxyImage.addEventListener( 'error', this );\n // bind to image as well for Firefox. #191\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.proxyImage.src = this.img.src;\n};\n\nLoadingImage.prototype.getIsImageComplete = function() {\n // check for non-zero, non-undefined naturalWidth\n // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671\n return this.img.complete && this.img.naturalWidth;\n};\n\nLoadingImage.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.img, message ] );\n};\n\n// ----- events ----- //\n\n// trigger specified handler for event type\nLoadingImage.prototype.handleEvent = function( event ) {\n var method = 'on' + event.type;\n if ( this[ method ] ) {\n this[ method ]( event );\n }\n};\n\nLoadingImage.prototype.onload = function() {\n this.confirm( true, 'onload' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.onerror = function() {\n this.confirm( false, 'onerror' );\n this.unbindEvents();\n};\n\nLoadingImage.prototype.unbindEvents = function() {\n this.proxyImage.removeEventListener( 'load', this );\n this.proxyImage.removeEventListener( 'error', this );\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\n// -------------------------- Background -------------------------- //\n\nfunction Background( url, element ) {\n this.url = url;\n this.element = element;\n this.img = new Image();\n}\n\n// inherit LoadingImage prototype\nBackground.prototype = Object.create( LoadingImage.prototype );\n\nBackground.prototype.check = function() {\n this.img.addEventListener( 'load', this );\n this.img.addEventListener( 'error', this );\n this.img.src = this.url;\n // check if image is already complete\n var isComplete = this.getIsImageComplete();\n if ( isComplete ) {\n this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );\n this.unbindEvents();\n }\n};\n\nBackground.prototype.unbindEvents = function() {\n this.img.removeEventListener( 'load', this );\n this.img.removeEventListener( 'error', this );\n};\n\nBackground.prototype.confirm = function( isLoaded, message ) {\n this.isLoaded = isLoaded;\n this.emitEvent( 'progress', [ this, this.element, message ] );\n};\n\n// -------------------------- jQuery -------------------------- //\n\nImagesLoaded.makeJQueryPlugin = function( jQuery ) {\n jQuery = jQuery || window.jQuery;\n if ( !jQuery ) {\n return;\n }\n // set local variable\n $ = jQuery;\n // $().imagesLoaded()\n $.fn.imagesLoaded = function( options, callback ) {\n var instance = new ImagesLoaded( this, options, callback );\n return instance.jqDeferred.promise( $(this) );\n };\n};\n// try making plugin\nImagesLoaded.makeJQueryPlugin();\n\n// -------------------------- -------------------------- //\n\nreturn ImagesLoaded;\n\n});\n","// button\n( function( window, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('./core'),\n require('fizzy-ui-utils'),\n );\n } else {\n // browser global\n factory(\n window,\n window.InfiniteScroll,\n window.fizzyUIUtils,\n );\n }\n\n}( window, function factory( window, InfiniteScroll, utils ) {\n\n// -------------------------- InfiniteScrollButton -------------------------- //\n\nclass InfiniteScrollButton {\n constructor( element, infScroll ) {\n this.element = element;\n this.infScroll = infScroll;\n // events\n this.clickHandler = this.onClick.bind( this );\n this.element.addEventListener( 'click', this.clickHandler );\n infScroll.on( 'request', this.disable.bind( this ) );\n infScroll.on( 'load', this.enable.bind( this ) );\n infScroll.on( 'error', this.hide.bind( this ) );\n infScroll.on( 'last', this.hide.bind( this ) );\n }\n\n onClick( event ) {\n event.preventDefault();\n this.infScroll.loadNextPage();\n }\n\n enable() {\n this.element.removeAttribute('disabled');\n }\n\n disable() {\n this.element.disabled = 'disabled';\n }\n\n hide() {\n this.element.style.display = 'none';\n }\n\n destroy() {\n this.element.removeEventListener( 'click', this.clickHandler );\n }\n\n}\n\n// -------------------------- InfiniteScroll methods -------------------------- //\n\n// InfiniteScroll.defaults.button = null;\n\nInfiniteScroll.create.button = function() {\n let buttonElem = utils.getQueryElement( this.options.button );\n if ( buttonElem ) {\n this.button = new InfiniteScrollButton( buttonElem, this );\n }\n};\n\nInfiniteScroll.destroy.button = function() {\n if ( this.button ) this.button.destroy();\n};\n\n// -------------------------- -------------------------- //\n\nInfiniteScroll.Button = InfiniteScrollButton;\n\nreturn InfiniteScroll;\n\n} ) );\n","// core\n( function( window, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('ev-emitter'),\n require('fizzy-ui-utils'),\n );\n } else {\n // browser global\n window.InfiniteScroll = factory(\n window,\n window.EvEmitter,\n window.fizzyUIUtils,\n );\n }\n\n}( window, function factory( window, EvEmitter, utils ) {\n\nlet jQuery = window.jQuery;\n// internal store of all InfiniteScroll intances\nlet instances = {};\n\nfunction InfiniteScroll( element, options ) {\n let queryElem = utils.getQueryElement( element );\n\n if ( !queryElem ) {\n console.error( 'Bad element for InfiniteScroll: ' + ( queryElem || element ) );\n return;\n }\n element = queryElem;\n // do not initialize twice on same element\n if ( element.infiniteScrollGUID ) {\n let instance = instances[ element.infiniteScrollGUID ];\n instance.option( options );\n return instance;\n }\n\n this.element = element;\n // options\n this.options = { ...InfiniteScroll.defaults };\n this.option( options );\n // add jQuery\n if ( jQuery ) {\n this.$element = jQuery( this.element );\n }\n\n this.create();\n}\n\n// defaults\nInfiniteScroll.defaults = {\n // path: null,\n // hideNav: null,\n // debug: false,\n};\n\n// create & destroy methods\nInfiniteScroll.create = {};\nInfiniteScroll.destroy = {};\n\nlet proto = InfiniteScroll.prototype;\n// inherit EvEmitter\nObject.assign( proto, EvEmitter.prototype );\n\n// -------------------------- -------------------------- //\n\n// globally unique identifiers\nlet GUID = 0;\n\nproto.create = function() {\n // create core\n // add id for InfiniteScroll.data\n let id = this.guid = ++GUID;\n this.element.infiniteScrollGUID = id; // expando\n instances[ id ] = this; // associate via id\n // properties\n this.pageIndex = 1; // default to first page\n this.loadCount = 0;\n this.updateGetPath();\n // bail if getPath not set, or returns falsey #776\n let hasPath = this.getPath && this.getPath();\n if ( !hasPath ) {\n console.error('Disabling InfiniteScroll');\n return;\n }\n this.updateGetAbsolutePath();\n this.log( 'initialized', [ this.element.className ] );\n this.callOnInit();\n // create features\n for ( let method in InfiniteScroll.create ) {\n InfiniteScroll.create[ method ].call( this );\n }\n};\n\nproto.option = function( opts ) {\n Object.assign( this.options, opts );\n};\n\n// call onInit option, used for binding events on init\nproto.callOnInit = function() {\n let onInit = this.options.onInit;\n if ( onInit ) {\n onInit.call( this, this );\n }\n};\n\n// ----- events ----- //\n\nproto.dispatchEvent = function( type, event, args ) {\n this.log( type, args );\n let emitArgs = event ? [ event ].concat( args ) : args;\n this.emitEvent( type, emitArgs );\n // trigger jQuery event\n if ( !jQuery || !this.$element ) {\n return;\n }\n // namespace jQuery event\n type += '.infiniteScroll';\n let $event = type;\n if ( event ) {\n // create jQuery event\n /* eslint-disable-next-line new-cap */\n let jQEvent = jQuery.Event( event );\n jQEvent.type = type;\n $event = jQEvent;\n }\n this.$element.trigger( $event, args );\n};\n\nlet loggers = {\n initialized: ( className ) => `on ${className}`,\n request: ( path ) => `URL: ${path}`,\n load: ( response, path ) => `${response.title || ''}. URL: ${path}`,\n error: ( error, path ) => `${error}. URL: ${path}`,\n append: ( response, path, items ) => `${items.length} items. URL: ${path}`,\n last: ( response, path ) => `URL: ${path}`,\n history: ( title, path ) => `URL: ${path}`,\n pageIndex: function( index, origin ) {\n return `current page determined to be: ${index} from ${origin}`;\n },\n};\n\n// log events\nproto.log = function( type, args ) {\n if ( !this.options.debug ) return;\n\n let message = `[InfiniteScroll] ${type}`;\n let logger = loggers[ type ];\n if ( logger ) message += '. ' + logger.apply( this, args );\n console.log( message );\n};\n\n// -------------------------- methods used amoung features -------------------------- //\n\nproto.updateMeasurements = function() {\n this.windowHeight = window.innerHeight;\n let rect = this.element.getBoundingClientRect();\n this.top = rect.top + window.scrollY;\n};\n\nproto.updateScroller = function() {\n let elementScroll = this.options.elementScroll;\n if ( !elementScroll ) {\n // default, use window\n this.scroller = window;\n return;\n }\n // if true, set to element, otherwise use option\n this.scroller = elementScroll === true ? this.element :\n utils.getQueryElement( elementScroll );\n if ( !this.scroller ) {\n throw new Error(`Unable to find elementScroll: ${elementScroll}`);\n }\n};\n\n// -------------------------- page path -------------------------- //\n\nproto.updateGetPath = function() {\n let optPath = this.options.path;\n if ( !optPath ) {\n console.error(`InfiniteScroll path option required. Set as: ${optPath}`);\n return;\n }\n // function\n let type = typeof optPath;\n if ( type == 'function' ) {\n this.getPath = optPath;\n return;\n }\n // template string: '/pages/{{#}}.html'\n let templateMatch = type == 'string' && optPath.match('{{#}}');\n if ( templateMatch ) {\n this.updateGetPathTemplate( optPath );\n return;\n }\n // selector: '.next-page-selector'\n this.updateGetPathSelector( optPath );\n};\n\nproto.updateGetPathTemplate = function( optPath ) {\n // set getPath with template string\n this.getPath = () => {\n let nextIndex = this.pageIndex + 1;\n return optPath.replace( '{{#}}', nextIndex );\n };\n // get pageIndex from location\n // convert path option into regex to look for pattern in location\n // escape query (?) in url, allows for parsing GET parameters\n let regexString = optPath\n .replace( /(\\\\\\?|\\?)/, '\\\\?' )\n .replace( '{{#}}', '(\\\\d\\\\d?\\\\d?)' );\n let templateRe = new RegExp( regexString );\n let match = location.href.match( templateRe );\n\n if ( match ) {\n this.pageIndex = parseInt( match[1], 10 );\n this.log( 'pageIndex', [ this.pageIndex, 'template string' ] );\n }\n};\n\nlet pathRegexes = [\n // WordPress & Tumblr - example.com/page/2\n // Jekyll - example.com/page2\n /^(.*?\\/?page\\/?)(\\d\\d?\\d?)(.*?$)/,\n // Drupal - example.com/?page=1\n /^(.*?\\/?\\?page=)(\\d\\d?\\d?)(.*?$)/,\n // catch all, last occurence of a number\n /(.*?)(\\d\\d?\\d?)(?!.*\\d)(.*?$)/,\n];\n\n// try matching href to pathRegexes patterns\nlet getPathParts = InfiniteScroll.getPathParts = function( href ) {\n if ( !href ) return;\n for ( let regex of pathRegexes ) {\n let match = href.match( regex );\n if ( match ) {\n let [ , begin, index, end ] = match;\n return { begin, index, end };\n }\n }\n};\n\nproto.updateGetPathSelector = function( optPath ) {\n // parse href of link: '.next-page-link'\n let hrefElem = document.querySelector( optPath );\n if ( !hrefElem ) {\n console.error(`Bad InfiniteScroll path option. Next link not found: ${optPath}`);\n return;\n }\n\n let href = hrefElem.getAttribute('href');\n let pathParts = getPathParts( href );\n if ( !pathParts ) {\n console.error(`InfiniteScroll unable to parse next link href: ${href}`);\n return;\n }\n\n let { begin, index, end } = pathParts;\n this.isPathSelector = true; // flag for checkLastPage()\n this.getPath = () => begin + ( this.pageIndex + 1 ) + end;\n // get pageIndex from href\n this.pageIndex = parseInt( index, 10 ) - 1;\n this.log( 'pageIndex', [ this.pageIndex, 'next link' ] );\n};\n\nproto.updateGetAbsolutePath = function() {\n let path = this.getPath();\n // path doesn't start with http or /\n let isAbsolute = path.match( /^http/ ) || path.match( /^\\// );\n if ( isAbsolute ) {\n this.getAbsolutePath = this.getPath;\n return;\n }\n\n let { pathname } = location;\n // query parameter #829. example.com/?pg=2\n let isQuery = path.match( /^\\?/ );\n // /foo/bar/index.html => /foo/bar\n let directory = pathname.substring( 0, pathname.lastIndexOf('/') );\n let pathStart = isQuery ? pathname : directory + '/';\n\n this.getAbsolutePath = () => pathStart + this.getPath();\n};\n\n// -------------------------- nav -------------------------- //\n\n// hide navigation\nInfiniteScroll.create.hideNav = function() {\n let nav = utils.getQueryElement( this.options.hideNav );\n if ( !nav ) return;\n\n nav.style.display = 'none';\n this.nav = nav;\n};\n\nInfiniteScroll.destroy.hideNav = function() {\n if ( this.nav ) this.nav.style.display = '';\n};\n\n// -------------------------- destroy -------------------------- //\n\nproto.destroy = function() {\n this.allOff(); // remove all event listeners\n // call destroy methods\n for ( let method in InfiniteScroll.destroy ) {\n InfiniteScroll.destroy[ method ].call( this );\n }\n\n delete this.element.infiniteScrollGUID;\n delete instances[ this.guid ];\n // remove jQuery data. #807\n if ( jQuery && this.$element ) {\n jQuery.removeData( this.element, 'infiniteScroll' );\n }\n};\n\n// -------------------------- utilities -------------------------- //\n\n// https://remysharp.com/2010/07/21/throttling-function-calls\nInfiniteScroll.throttle = function( fn, threshold ) {\n threshold = threshold || 200;\n let last, timeout;\n\n return function() {\n let now = +new Date();\n let args = arguments;\n let trigger = () => {\n last = now;\n fn.apply( this, args );\n };\n if ( last && now < last + threshold ) {\n // hold on to it\n clearTimeout( timeout );\n timeout = setTimeout( trigger, threshold );\n } else {\n trigger();\n }\n };\n};\n\nInfiniteScroll.data = function( elem ) {\n elem = utils.getQueryElement( elem );\n let id = elem && elem.infiniteScrollGUID;\n return id && instances[ id ];\n};\n\n// set internal jQuery, for Webpack + jQuery v3\nInfiniteScroll.setJQuery = function( jqry ) {\n jQuery = jqry;\n};\n\n// -------------------------- setup -------------------------- //\n\nutils.htmlInit( InfiniteScroll, 'infinite-scroll' );\n\n// add noop _init method for jQuery Bridget. #768\nproto._init = function() {};\n\nlet { jQueryBridget } = window;\nif ( jQuery && jQueryBridget ) {\n jQueryBridget( 'infiniteScroll', InfiniteScroll, jQuery );\n}\n\n// -------------------------- -------------------------- //\n\nreturn InfiniteScroll;\n\n} ) );\n","// history\n( function( window, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('./core'),\n require('fizzy-ui-utils'),\n );\n } else {\n // browser global\n factory(\n window,\n window.InfiniteScroll,\n window.fizzyUIUtils,\n );\n }\n\n}( window, function factory( window, InfiniteScroll, utils ) {\n\nlet proto = InfiniteScroll.prototype;\n\nObject.assign( InfiniteScroll.defaults, {\n history: 'replace',\n // historyTitle: false,\n} );\n\nlet link = document.createElement('a');\n\n// ----- create/destroy ----- //\n\nInfiniteScroll.create.history = function() {\n if ( !this.options.history ) return;\n\n // check for same origin\n link.href = this.getAbsolutePath();\n // MS Edge does not have origin on link\n // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12236493/\n let linkOrigin = link.origin || link.protocol + '//' + link.host;\n let isSameOrigin = linkOrigin == location.origin;\n if ( !isSameOrigin ) {\n console.error( '[InfiniteScroll] cannot set history with different origin: ' +\n `${link.origin} on ${location.origin} . History behavior disabled.` );\n return;\n }\n\n // two ways to handle changing history\n if ( this.options.append ) {\n this.createHistoryAppend();\n } else {\n this.createHistoryPageLoad();\n }\n};\n\nproto.createHistoryAppend = function() {\n this.updateMeasurements();\n this.updateScroller();\n // array of scroll positions of appended pages\n this.scrollPages = [\n // first page\n {\n top: 0,\n path: location.href,\n title: document.title,\n },\n ];\n this.scrollPage = this.scrollPages[0];\n // events\n this.scrollHistoryHandler = this.onScrollHistory.bind( this );\n this.unloadHandler = this.onUnload.bind( this );\n this.scroller.addEventListener( 'scroll', this.scrollHistoryHandler );\n this.on( 'append', this.onAppendHistory );\n this.bindHistoryAppendEvents( true );\n};\n\nproto.bindHistoryAppendEvents = function( isBind ) {\n let addRemove = isBind ? 'addEventListener' : 'removeEventListener';\n this.scroller[ addRemove ]( 'scroll', this.scrollHistoryHandler );\n window[ addRemove ]( 'unload', this.unloadHandler );\n};\n\nproto.createHistoryPageLoad = function() {\n this.on( 'load', this.onPageLoadHistory );\n};\n\nInfiniteScroll.destroy.history =\nproto.destroyHistory = function() {\n let isHistoryAppend = this.options.history && this.options.append;\n if ( isHistoryAppend ) {\n this.bindHistoryAppendEvents( false );\n }\n};\n\n// ----- append history ----- //\n\nproto.onAppendHistory = function( response, path, items ) {\n // do not proceed if no items. #779\n if ( !items || !items.length ) return;\n\n let firstItem = items[0];\n let elemScrollY = this.getElementScrollY( firstItem );\n // resolve path\n link.href = path;\n // add page data to hash\n this.scrollPages.push({\n top: elemScrollY,\n path: link.href,\n title: response.title,\n });\n};\n\nproto.getElementScrollY = function( elem ) {\n if ( this.options.elementScroll ) {\n return elem.offsetTop - this.top;\n } else {\n let rect = elem.getBoundingClientRect();\n return rect.top + window.scrollY;\n }\n};\n\nproto.onScrollHistory = function() {\n // cycle through positions, find biggest without going over\n let scrollPage = this.getClosestScrollPage();\n // set history if changed\n if ( scrollPage != this.scrollPage ) {\n this.scrollPage = scrollPage;\n this.setHistory( scrollPage.title, scrollPage.path );\n }\n};\n\nutils.debounceMethod( InfiniteScroll, 'onScrollHistory', 150 );\n\nproto.getClosestScrollPage = function() {\n let scrollViewY;\n if ( this.options.elementScroll ) {\n scrollViewY = this.scroller.scrollTop + this.scroller.clientHeight / 2;\n } else {\n scrollViewY = window.scrollY + this.windowHeight / 2;\n }\n\n let scrollPage;\n for ( let page of this.scrollPages ) {\n if ( page.top >= scrollViewY ) break;\n\n scrollPage = page;\n }\n return scrollPage;\n};\n\nproto.setHistory = function( title, path ) {\n let optHistory = this.options.history;\n let historyMethod = optHistory && history[ optHistory + 'State' ];\n if ( !historyMethod ) return;\n\n history[ optHistory + 'State' ]( null, title, path );\n if ( this.options.historyTitle ) document.title = title;\n this.dispatchEvent( 'history', null, [ title, path ] );\n};\n\n// scroll to top to prevent initial scroll-reset after page refresh\n// https://stackoverflow.com/a/18633915/182183\nproto.onUnload = function() {\n if ( this.scrollPage.top === 0 ) return;\n\n // calculate where scroll position would be on refresh\n let scrollY = window.scrollY - this.scrollPage.top + this.top;\n // disable scroll event before setting scroll #679\n this.destroyHistory();\n scrollTo( 0, scrollY );\n};\n\n// ----- load history ----- //\n\n// update URL\nproto.onPageLoadHistory = function( response, path ) {\n this.setHistory( response.title, path );\n};\n\n// -------------------------- -------------------------- //\n\nreturn InfiniteScroll;\n\n} ) );\n","/*!\n * Infinite Scroll v4.0.0\n * Automatically add next page\n *\n * Licensed GPLv3 for open source use\n * or Infinite Scroll Commercial License for commercial use\n *\n * https://infinite-scroll.com\n * Copyright 2018-2020 Metafizzy\n */\n\n( function( window, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n require('./core'),\n require('./page-load'),\n require('./scroll-watch'),\n require('./history'),\n require('./button'),\n require('./status'),\n );\n }\n\n} )( window, function factory( InfiniteScroll ) {\n return InfiniteScroll;\n} );\n","// page-load\n( function( window, factory ) {\n // universal module definition\n if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('./core'),\n );\n } else {\n // browser global\n factory(\n window,\n window.InfiniteScroll,\n );\n }\n\n}( window, function factory( window, InfiniteScroll ) {\n\nlet proto = InfiniteScroll.prototype;\n\nObject.assign( InfiniteScroll.defaults, {\n // append: false,\n loadOnScroll: true,\n checkLastPage: true,\n responseBody: 'text',\n domParseResponse: true,\n // prefill: false,\n // outlayer: null,\n} );\n\nInfiniteScroll.create.pageLoad = function() {\n this.canLoad = true;\n this.on( 'scrollThreshold', this.onScrollThresholdLoad );\n this.on( 'load', this.checkLastPage );\n if ( this.options.outlayer ) {\n this.on( 'append', this.onAppendOutlayer );\n }\n};\n\nproto.onScrollThresholdLoad = function() {\n if ( this.options.loadOnScroll ) this.loadNextPage();\n};\n\nlet domParser = new DOMParser();\n\nproto.loadNextPage = function() {\n if ( this.isLoading || !this.canLoad ) return;\n\n let { responseBody, domParseResponse, fetchOptions } = this.options;\n let path = this.getAbsolutePath();\n this.isLoading = true;\n if ( typeof fetchOptions == 'function' ) fetchOptions = fetchOptions();\n\n let fetchPromise = fetch( path, fetchOptions ).then( ( response ) => {\n if ( !response.ok ) {\n let error = new Error( response.statusText );\n this.onPageError( error, path, response );\n return { response };\n }\n\n return response[ responseBody ]().then( ( body ) => {\n let canDomParse = responseBody == 'text' && domParseResponse;\n if ( canDomParse ) {\n body = domParser.parseFromString( body, 'text/html' );\n }\n if ( response.status == 204 ) {\n this.lastPageReached( body, path );\n return { body, response };\n } else {\n return this.onPageLoad( body, path, response );\n }\n } );\n } );\n\n this.dispatchEvent( 'request', null, [ path, fetchPromise ] );\n\n return fetchPromise;\n};\n\nproto.onPageLoad = function( body, path, response ) {\n // done loading if not appending\n if ( !this.options.append ) {\n this.isLoading = false;\n }\n this.pageIndex++;\n this.loadCount++;\n this.dispatchEvent( 'load', null, [ body, path, response ] );\n return this.appendNextPage( body, path, response );\n};\n\nproto.appendNextPage = function( body, path, response ) {\n let { append, responseBody, domParseResponse } = this.options;\n // do not append json\n let isDocument = responseBody == 'text' && domParseResponse;\n if ( !isDocument || !append ) return { body, response };\n\n let items = body.querySelectorAll( append );\n let promiseValue = { body, response, items };\n // last page hit if no items. #840\n if ( !items || !items.length ) {\n this.lastPageReached( body, path );\n return promiseValue;\n }\n\n let fragment = getItemsFragment( items );\n let appendReady = () => {\n this.appendItems( items, fragment );\n this.isLoading = false;\n this.dispatchEvent( 'append', null, [ body, path, items, response ] );\n return promiseValue;\n };\n\n // TODO add hook for option to trigger appendReady\n if ( this.options.outlayer ) {\n return this.appendOutlayerItems( fragment, appendReady );\n } else {\n return appendReady();\n }\n};\n\nproto.appendItems = function( items, fragment ) {\n if ( !items || !items.length ) return;\n\n // get fragment if not provided\n fragment = fragment || getItemsFragment( items );\n refreshScripts( fragment );\n this.element.appendChild( fragment );\n};\n\nfunction getItemsFragment( items ) {\n // add items to fragment\n let fragment = document.createDocumentFragment();\n if ( items ) fragment.append( ...items );\n return fragment;\n}\n\n// replace