1__defProp=Object.defineProperty,__name=(e,t)=>__defProp(e,"name",{value:t,configurable:!0});import{g as getDefaultExportFromCjs}from"./app-_commonjsHelpers-DKId008w.js";var __defProp,__name,hasRequiredEvEmitter,utils$1,utils,hasRequiredUtils,hasRequiredCore,pageLoad,hasRequiredPageLoad,scrollWatch,hasRequiredScrollWatch,history$1,hasRequiredHistory,button,hasRequiredButton,status,hasRequiredStatus,hasRequiredJs,jsExports,js={exports:{}},core={exports:{}},evEmitter$1={exports:{}},evEmitter=evEmitter$1.exports;function requireEvEmitter(){return hasRequiredEvEmitter||(hasRequiredEvEmitter=1,function(e){(function(t,n){e.exports?e.exports=n():t.EvEmitter=n()})(typeof window!="undefined"?window:evEmitter,function(){function t(){}__name(t,"EvEmitter");let e=t.prototype;return e.on=function(e,t){if(!e||!t)return this;let n=this._events=this._events||{},s=n[e]=n[e]||[];return s.includes(t)||s.push(t),this},e.once=function(e,t){if(!e||!t)return this;this.on(e,t);let n=this._onceEvents=this._onceEvents||{},s=n[e]=n[e]||{};return s[t]=!0,this},e.off=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;let s=n.indexOf(t);return s!=-1&&n.splice(s,1),this},e.emitEvent=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;n=n.slice(0),t=t||[];let s=this._onceEvents&&this._onceEvents[e];for(let o of n)s&&s[o]&&(this.off(e,o),delete s[o]),o.apply(this,t);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})}(evEmitter$1)),evEmitter$1.exports}__name(requireEvEmitter,"requireEvEmitter"),utils$1={exports:{}},utils=utils$1.exports;function requireUtils(){return hasRequiredUtils||(hasRequiredUtils=1,function(e){(function(t,n){e.exports?e.exports=n(t):t.fizzyUIUtils=n(t)})(utils,__name(function(e){let t={};t.extend=function(e,t){return Object.assign(e,t)},t.modulo=function(e,t){return(e%t+t)%t},t.makeArray=function(e){return Array.isArray(e)?e:e==null?[]:typeof e=="object"&&typeof e.length=="number"?[...e]:[e]},t.removeFrom=function(e,t){let n=e.indexOf(t);n!=-1&&e.splice(n,1)},t.getParent=function(e,t){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,e.matches(t))return e},t.getQueryElement=function(e){return typeof e=="string"?document.querySelector(e):e},t.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},t.filterFindElements=function(e,n){return e=t.makeArray(e),e.filter(e=>e instanceof HTMLElement).reduce((e,t)=>{if(!n)return e.push(t),e;t.matches(n)&&e.push(t);let s=t.querySelectorAll(n);return e=e.concat(...s),e},[])},t.debounceMethod=function(e,t,n){n=n||100;let o=e.prototype[t],s=t+"Timeout";e.prototype[t]=function(){clearTimeout(this[s]);let e=arguments;this[s]=setTimeout(()=>{o.apply(this,e),delete this[s]},n)}},t.docReady=function(e){let t=document.readyState;t=="complete"||t=="interactive"?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},t.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};let n=e.console;return t.htmlInit=function(s,o){t.docReady(function(){let i="data-"+t.toDashed(o),r=document.querySelectorAll(`[${i}]`),a=e.jQuery;[...r].forEach(e=>{let t=e.getAttribute(i),r;try{r=t&&JSON.parse(t)}catch(t){n&&n.error(`Error parsing ${i} on ${e.className}: ${t}`);return}let c=new s(e,r);a&&a.data(e,o,c)})})},t},"factory"))}(utils$1)),utils$1.exports}__name(requireUtils,"requireUtils");function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireEvEmitter(),requireUtils()):t.InfiniteScroll=n(t,t.EvEmitter,t.fizzyUIUtils)})(window,__name(function(e,t,n){let i=e.jQuery,a={};function s(e,t){let o=n.getQueryElement(e);if(!o){console.error("Bad element for InfiniteScroll: "+(o||e));return}if(e=o,e.infiniteScrollGUID){let n=a[e.infiniteScrollGUID];return n.option(t),n}this.element=e,this.options={...s.defaults},this.option(t),i&&(this.$element=i(this.element)),this.create()}__name(s,"InfiniteScroll"),s.defaults={},s.create={},s.destroy={};let o=s.prototype;Object.assign(o,t.prototype);let c=0;o.create=function(){let e=this.guid=++c;if(this.element.infiniteScrollGUID=e,a[e]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),!this.getPath||!this.getPath()){console.error("Disabling InfiniteScroll");return}this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let e in s.create)s.create[e].call(this)},o.option=function(e){Object.assign(this.options,e)},o.callOnInit=function(){let e=this.options.onInit;e&&e.call(this,this)},o.dispatchEvent=function(e,t,n){this.log(e,n);let o=t?[t].concat(n):n;if(this.emitEvent(e,o),!i||!this.$element)return;e+=".infiniteScroll";let s=e;if(t){let n=i.Event(t);n.type=e,s=n}this.$element.trigger(s,n)};let l={initialized:__name(e=>`on ${e}`,"initialized"),request:__name(e=>`URL: ${e}`,"request"),load:__name((e,t)=>`${e.title||""}. URL: ${t}`,"load"),error:__name((e,t)=>`${e}. URL: ${t}`,"error"),append:__name((e,t,n)=>`${n.length} items. URL: ${t}`,"append"),last:__name((e,t)=>`URL: ${t}`,"last"),history:__name((e,t)=>`URL: ${t}`,"history"),pageIndex:__name(function(e,t){return`current page determined to be: ${e} from ${t}`},"pageIndex")};o.log=function(e,t){if(!this.options.debug)return;let n=`[InfiniteScroll] ${e}`,s=l[e];s&&(n+=". "+s.apply(this,t)),console.log(n)}
1,o.updateMeasurements=function(){this.windowHeight=e.innerHeight;let t=this.element.getBoundingClientRect();this.top=t.top+e.scrollY},o.updateScroller=function(){let t=this.options.elementScroll;if(!t){this.scroller=e;return}if(this.scroller=t===!0?this.element:n.getQueryElement(t),!this.scroller)throw new Error(`Unable to find elementScroll: ${t}`)},o.updateGetPath=function(){let e=this.options.path;if(!e){console.error(`InfiniteScroll path option required. Set as: ${e}`);return}let t=typeof e;if(t=="function"){this.getPath=e;return}if(t=="string"&&e.match("{{#}}")){this.updateGetPathTemplate(e);return}this.updateGetPathSelector(e)},o.updateGetPathTemplate=function(e){this.getPath=()=>{let t=this.pageIndex+1;return e.replace("{{#}}",t)};let n=e.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),s=new RegExp(n),t=location.href.match(s);t&&(this.pageIndex=parseInt(t[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let d=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],u=s.getPathParts=function(e){if(e)for(let n of d){let t=e.match(n);if(t){let[,e,n,s]=t;return{begin:e,index:n,end:s}}}};o.updateGetPathSelector=function(e){let t=document.querySelector(e);if(!t){console.error(`Bad InfiniteScroll path option. Next link not found: ${e}`);return}let n=t.getAttribute("href"),s=u(n);if(!s){console.error(`InfiniteScroll unable to parse next link href: ${n}`);return}let{begin:o,index:i,end:a}=s;this.isPathSelector=!0,this.getPath=()=>o+(this.pageIndex+1)+a,this.pageIndex=parseInt(i,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},o.updateGetAbsolutePath=function(){let e=this.getPath();if(e.match(/^http/)||e.match(/^\//)){this.getAbsolutePath=this.getPath;return}let{pathname:t}=location,n=e.match(/^\?/),s=t.substring(0,t.lastIndexOf("/")),o=n?t:s+"/";this.getAbsolutePath=()=>o+this.getPath()},s.create.hideNav=function(){let e=n.getQueryElement(this.options.hideNav);e&&(e.style.display="none",this.nav=e)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},o.destroy=function(){this.allOff();for(let e in s.destroy)s.destroy[e].call(this);delete this.element.infiniteScrollGUID,delete a[this.guid],i&&this.$element&&i.removeData(this.element,"infiniteScroll")},s.throttle=function(e,t){t=t||200;let n,s;return function(){let o=+new Date,a=arguments,i=__name(()=>{n=o,e.apply(this,a)},"trigger");n&&o<n+t?(clearTimeout(s),s=setTimeout(i,t)):i()}},s.data=function(e){e=n.getQueryElement(e);let t=e&&e.infiniteScrollGUID;return t&&a[t]},s.setJQuery=function(e){i=e},n.htmlInit(s,"infinite-scroll"),o._init=function(){};let{jQueryBridget:r}=e;return i&&r&&r("infiniteScroll",s,i),s},"factory"))}(core)),core.exports}__name(requireCore,"requireCore"),pageLoad={exports:{}};function requirePageLoad(){return hasRequiredPageLoad||(hasRequiredPageLoad=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireCore()):n(t,t.InfiniteScroll)})(window,__name(function(e,t){let n=t.prototype;Object.assign(t.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),t.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},n.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let i=new DOMParser;n.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:n,domParseResponse:o,fetchOptions:t}=this.options,e=this.getAbsolutePath();this.isLoading=!0,typeof t=="function"&&(t=t());let s=fetch(e,t).then(t=>{if(!t.ok){let n=new Error(t.statusText);return this.onPageError(n,e,t),{response:t}}return t[n]().then(s=>(n=="text"&&o&&(s=i.parseFromString(s,"text/html")),t.status==204?(this.lastPageReached(s,e),{body:s,response:t}):this.onPageLoad(s,e,t)))}).catch(t=>{this.onPageError(t,e)});return this.dispatchEvent("request",null,[e,s]),s},n.onPageLoad=function(e,t,n){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[e,t,n]),this.appendNextPage(e,t,n)},n.appendNextPage=function(e,t,n){let{append:i,responseBody:l,domParseResponse:d}=this.options;if(l!="text"||!d||!i)return{body:e,response:n};let o=e.querySelectorAll(i),a={body:e,response:n,items:o};if(!o||!o.length)return this.lastPageReached(e,t),a;let r=s(o),c=__name(()=>(this.appendItems(o,r),this.isLoading=!1,this.dispatchEvent("append",null,[e,t,o,n]),a),"appendReady");return this.options.outlayer?this.appendOutlayerItems(r,c):c()},n.appendItems=function(e,t){!e||!e.length||(t=t||s(e),o(t),this.element.appendChild(t))};function s(e){let t=document.createDocumentFragment();return e&&t.append(...e),t}__name(s,"getItemsFragment");function o(e){let t=e.querySelectorAll("script");for(let e of t){let n=document.createElement("script"),s=e.attributes;for(let e of s)n.setAttribute(e.name,e.value);n.innerHTML=e.innerHTML,e.parentNode.replaceChild(n,e)}}return __name(o,"refreshScripts"),n.appendOutlayerItems=function(n,s){let o=t.imagesLoaded||e.imagesLoaded;if(!o){console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),this.isLoading=!1;return}return new Promise(function(e){o(n,function(){let t=s();e(t)})})},n.onAppendOutlayer=function(e,t,n){this.options.outlayer.appended(n)},n.checkLastPage=function(e,t){let{checkLastPage:s,path:o}=this.options;if(!s)return;if(typeof o=="function"&&!this.getPath()){this.lastPageReached(e,t);return}let n;if(typeof s=="string"?n=s:this.isPathSelector&&(n=o),!n||!e.querySelector)return;e.querySelector(n)||this.lastPageReached(e,t)},n.lastPageReached=function(e,t){this.canLoad=!1,this.dispatchEvent("last",null,[e,t])},n.onPageError=function(e,t,n){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[e,t,n]),e},t.create.prefill=function(){if(!this.options.prefill)return;let e=this.options.append;if(!e){console.error(`append option required for prefill. Set as :${e}`);return}this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()},n.prefill=function(){let e=this.getPrefillDistance();this.isPrefilling=e>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},n.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},n.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},t},"factory"))}(pageLoad)),pageLoad.exports}__name(requirePageLoad,"requirePageLoad"),scrollWatch={exports:{}};function requireScrollWatch(){return hasRequiredScrollWatch||(hasRequiredScrollWatch=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireCore(),requireUtils()):n(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,__name(function(e,t,n){let s=t.prototype;return Object.assign(t.defaults,{scrollThreshold:400}),t.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let e=this.options.scrollThreshold;(e||e===0)&&this.enableScrollWatch()},t.destroy.scrollWatch=function(){this.disableScrollWatch()},s.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},s.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},s.bindScrollWatchEvents=function(t){let n=t?"addEventListener":"removeEventListener";this.scroller[n]("scroll",this.pageScrollHandler),e[n]("resize",this.resizeHandler)},s.onPageScroll=t.throttle(function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")}),s.getBottomDistance=function(){let t,n;return this.options.elementScroll?(t=this.scroller.scrollHeight,n=this.scroller.scrollTop+this.scroller.clientHeight):(t=this.top+this.element.clientHeight,n=e.scrollY+this.windowHeight),t-n},s.onResize=function(){this.updateMeasurements()},n.debounceMethod(t,"onResize",150),t},"factory"))}(scrollWatch)),scrollWatch.exports}__name(requireScrollWatch,"requireScrollWatch"),history$1={exports:{}};function requireHistory(){return hasRequiredHistory||(hasRequiredHistory=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireCore(),requireUtils()):n(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,__name(function(e,t,n){let s=t.prototype;Object.assign(t.defaults,{history:"replace"});let o=document.createElement("a");return t.create.history=function(){if(!this.options.history)return;if(o.href=this.getAbsolutePath(),(o.origin||o.protocol+"//"+o.host)!=location.origin){console.error(`[InfiniteScroll] cannot set history with different origin: ${o.origin} on ${location.origin} . History behavior disabled.`);return}this.options.append?this.createHistoryAppend():this.createHistoryPageLoad()},s.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},s.bindHistoryAppendEvents=function(t){let n=t?"addEventListener":"removeEventListener";this.scroller[n]("scroll",this.scrollHistoryHandler),e[n]("unload",this.unloadHandler)},s.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},t.destroy.history=s.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},s.onAppendHistory=function(e,t,n){if(!n||!n.length)return;let s=n[0],i=this.getElementScrollY(s);o.href=t,this.scrollPages.push({top:i,path:o.href,title:e.title})},s.getElementScrollY=function(t){return this.options.elementScroll?t.offsetTop-this.top:t.getBoundingClientRect().top+e.scrollY},s.onScrollHistory=function(){let e=this.getClosestScrollPage();e!=this.scrollPage&&(this.scrollPage=e,this.setHistory(e.title,e.path))},n.debounceMethod(t,"onScrollHistory",150),s.getClosestScrollPage=function(){let t;this.options.elementScroll?t=this.scroller.scrollTop+this.scroller.clientHeight/2:t=e.scrollY+this.windowHeight/2;let n;for(let e of this.scrollPages){if(e.top>=t)break;n=e}return n},s.setHistory=function(e,t){let n=this.options.history;n&&history[n+"State"]&&(history[n+"State"](null,e,t),this.options.historyTitle&&(document.title=e),this.dispatchEvent("history",null,[e,t]))},s.onUnload=function(){if(this.scrollPage.top===0)return;let t=e.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,t)},s.onPageLoadHistory=function(e,t){this.setHistory(e.title,t)},t},"factory"))}(history$1)),history$1.exports}__name(requireHistory,"requireHistory"),button={exports:{}};function requireButton(){return hasRequiredButton||(hasRequiredButton=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireCore(),requireUtils()):n(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,__name(function(e,t,n){const s=class _InfiniteScrollButton{constructor(e,t){this.element=e,this.infScroll=t,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),t.on("request",this.disable.bind(this)),t.on("load",this.enable.bind(this)),t.on("error",this.hide.bind(this)),t.on("last",this.hide.bind(this))}onClick(e){e.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}};__name(s,"InfiniteScrollButton");let o=s;return t.create.button=function(){let e=n.getQueryElement(this.options.button);e&&(this.button=new o(e,this))},t.destroy.button=function(){this.button&&this.button.destroy()},t.Button=o,t},"factory"))}(button)),button.exports}
1__name(requireButton,"requireButton"),status={exports:{}};function requireStatus(){return hasRequiredStatus||(hasRequiredStatus=1,function(e){(function(t,n){e.exports?e.exports=n(t,requireCore(),requireUtils()):n(t,t.InfiniteScroll,t.fizzyUIUtils)})(window,__name(function(e,t,n){let s=t.prototype;t.create.status=function(){let e=n.getQueryElement(this.options.status);e&&(this.statusElement=e,this.statusEventElements={request:e.querySelector(".infinite-scroll-request"),error:e.querySelector(".infinite-scroll-error"),last:e.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},s.bindHideStatus=function(e){let t=this.options.append?"append":"load";this[e](t,this.hideAllStatus)},s.showRequestStatus=function(){this.showStatus("request")},s.showErrorStatus=function(){this.showStatus("error")},s.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},s.showStatus=function(e){i(this.statusElement),this.hideStatusEventElements();let t=this.statusEventElements[e];i(t)},s.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()},s.hideStatusEventElements=function(){for(let e in this.statusEventElements){let t=this.statusEventElements[e];o(t)}};function o(e){a(e,"none")}__name(o,"hide");function i(e){a(e,"block")}__name(i,"show");function a(e,t){e&&(e.style.display=t)}return __name(a,"setDisplay"),t},"factory"))}(status)),status.exports}__name(requireStatus,"requireStatus");function requireJs(){return hasRequiredJs||(hasRequiredJs=1,function(e){(function(t,n){e.exports&&(e.exports=n(requireCore(),requirePageLoad(),requireScrollWatch(),requireHistory(),requireButton(),requireStatus()))})(window,__name(function(e){return e},"factory"))}(js)),js.exports}__name(requireJs,"requireJs"),jsExports=requireJs();const InfiniteScroll=getDefaultExportFromCjs(jsExports);(function(e){if(!e.querySelector("link[rel=next]"))return;const r=e.querySelector("[data-post-feed]");if(!r)return;const t=e.querySelector(".load-more-btn");if(!t)return;const n=new InfiniteScroll(r,{append:"article.post",button:t,history:!1,hideNav:"[data-pagination]",path:"[data-pagination] a[data-next]",status:".page-load-status",loadOnScroll:!0}),s=t.querySelector(".chevron-icon"),o=t.querySelector(".spinner-icon");let i=null,a=!1;const d=2e3;n.on("load",l),n.on("request",c);function c(){i=Date.now(),t.classList.add("flex"),t.classList.remove("hidden"),s&&o&&(s.classList.add("hidden"),o.classList.remove("hidden"))}__name(c,"onRequest");function l(){if((n.loadCount-1)%2===0)if(a)n.option({loadOnScroll:!1}),o&&s&&(o.classList.add("hidden"),s.classList.remove("hidden")),t.classList.add("flex"),t.classList.remove("hidden"),a=!1;else{const e=Date.now()-i,a=Math.max(0,d-e);setTimeout(()=>{n.option({loadOnScroll:!1}),o&&s&&(o.classList.add("hidden"),s.classList.remove("hidden")),t.classList.add("flex"),t.classList.remove("hidden")},a)}else n.option({loadOnScroll:!0})}__name(l,"onPageLoad"),t.addEventListener("click",function(){a=!0,s&&o&&(s.classList.add("hidden"),o.classList.remove("hidden")),i=Date.now(),n.option({loadOnScroll:!0}),n.loadNextPage()})})(document)
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.