1import{a as i,t as r}from"./jquery-BbBUA1Wm.js";import{t as l}from"./index-all-CDM2riMJ.js";import{t as o}from"./internalApiEndpoints-A0mxQ1J5.js";var a=i(r(),1),d=class{searchResultTemplate;$searchResultList;feedUrl;itemstotake;constructor(e){var t=this;t.$searchResultList=e.find(".rss-feed-block__result__list"),t.feedUrl=e.data("urltofeed"),t.itemstotake=e.data("itemstotake"),t.searchResultTemplate=l.template((0,a.default)("#rss-feed-template").html()),(0,a.default)(window).on("popstate",()=>{t.initializeSearchService()}),t.initializeSearchService()}initializeSearchService(){var e=this;e.feedUrl!=null&&a.default.getJSON(o.newsFromRssFeed(e.feedUrl,e.itemstotake),t=>{var s=(0,a.default)(e.searchResultTemplate({searchResult:t}));e.$searchResultList.append(s)})}};function c(){(0,a.default)(".rss-feed-block").each(function(){new d((0,a.default)(this))})}export{c as initRssFeedBlockApp};
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.