PageSourceSearch

https://www.ps-is192.org/bundles/scripts/feed?v=0e8RzaNI9Uh6CxFe2uCbyuAFz5z3UG7ydwHzewkHhPs1

js ps-is192.org collected 2026-09-30 11:39:50 UTC 8,523 bytes, 1 lines download raw bytes

1"use strict";function Feed(n,t,i){var r=this;r.__getFeaturedPostsUrl=n;r.__getNonFeaturedPostsUrl=t;r.__defaultFeedPageSize=parseInt(i,10);r.__element=$("<div><\/div>").addClass("feed-list-container");r.__feedListElement=$("<ul><\/ul>").addClass("feed-list");r.__renderedPostsIds=[];r.__isAnyPostLoaded=!1;r.init()}function FeedControls(){var n=this;n.__element=$("<div><\/div>").addClass("feed-controls");n.prepareNoPostsMessage();n.prepareLoadingButton()}function FeedPost(n){var t=this;t.__post=n;t.__element=$("<li><\/li>").addClass("feed-post-item");t.__IMAGE_FILE_MIME_TYPE=4;t.__LIGHT_GALLERY_CONFIG={addClass:"light-gallery-modal",closable:!1,loop:!0,speed:200,thumbnail:!1,onOpen:function(n){addAriaLabelToPluginControls("lg");$(".ui-dialog").css("visibility","hidden");$.fn.lightGalleryApplyAltText(n)},onSlideAfter:function(n){$.fn.lightGalleryApplyAltText(n)},onBeforeClose:function(){$(".ui-dialog").css("visibility","visible")}};t.preparePostBody();t.preparePostAttachments();t.preparePostSource();t.buildDOM()}function PostAttachment(){var n=this}function PostImageAttachment(n){var t=this,i;PostAttachment.call(t);var r=n.metaData.altText===null?"":n.metaData.altText,u=n.metaData.notes===null?"":n.metaData.notes,f='<div class="caption">'+u+"<\/div>";t.__element=$("<li><\/li>").addClass("attached-img-item").attr("data-src",n.downloadUrl).attr("data-sub-html",f);i=$("<div><\/div>").addClass("attached-img-thumb bg-img").attr("style","background-image: url("+n.thumbnailUrl+")").attr("title",r).attr("tabindex",0);t.__element.append(i)}function PostFileAttachment(n){var t=this,i;PostAttachment.call(t);t.__element=$("<li><\/li>").addClass("attached-file-item");i=$("<a><\/a>").addClass("attached-file-button").attr("href",n.downloadUrl).text(n.name);t.__element.append(i)}var FEED_PAGE_ANIMATION_DURATION=600,feedApiService;Feed.prototype.init=function(){var n=this;n.__getPostsFromDate=Date.now();n.__feedControls=new FeedControls;n.__element.append(n.__feedControls.getElement());n.__feedControls.showNoPostsMessage("No Posts Yet");n.__rssFeedButtonContainer=$(".rss-feed-button-container");n.__element.append(n.__rssFeedButtonContainer);n.addLoadingButtonHandler();n.loadFeaturedPosts();n.loadNonFeaturedPosts();n.__element.prepend(n.__feedListElement)};Feed.prototype.loadFeaturedPosts=function(){var n=this;n.__feedControls.showButtonLoadingIndicator();feedApiService.getFeaturedPosts(n.__getFeaturedPostsUrl,n.prepareFeaturedPosts.bind(n))};Feed.prototype.loadNonFeaturedPosts=function(){var n=this;n.__feedControls.showButtonLoadingIndicator();feedApiService.getNonFeaturedPosts(n.__getNonFeaturedPostsUrl,n.__getPostsFromDate,n.prepareNonFeaturedPosts.bind(n))};Feed.prototype.prepareFeaturedPosts=function(n){var i=this,u=$("<div><\/div>"),r=_.sortBy(n.posts,function(n){return-n.postedAt}),t;r.length!==0&&(r.length>0&&(i.__isAnyPostLoaded=!0,i.__feedControls.hideNoPostsMessage()),_.each(r,function(n){u.append(new FeedPost(n).getElement())}),t=u.children(),t.hide(),i.__feedListElement.prepend(t),t.fadeIn(FEED_PAGE_ANIMATION_DURATION))};Feed.prototype.prepareNonFeaturedPosts=function(n){var t=this,u=$("<div><\/div>"),i,r;if(n.posts.length===t.__defaultFeedPageSize&&t.__feedControls.showLoadingButton(),i=_.chain(n.posts).sortBy(function(n){return-n.postedAt}).filter(function(n){return!_.contains(t.__renderedPostsIds,n.id)}).value(),i.length===0){t.__isAnyPostLoaded&&(t.__feedControls.hideLoadingButton(),t.__feedControls.showNoPostsMessage("No More Previous Posts"));t.__feedControls.hideButtonLoadingIndicator();return}i.length>0&&(t.__isAnyPostLoaded=!0,t.__feedControls.hideNoPostsMessage());t.__getPostsFromDate=_.last(i).postedAt;_.each(i,function(n){u.append(new FeedPost(n).getElement());t.__renderedPostsIds.push(n.id)});r=u.children();r.hide();t.__feedListElement.append(r);r.fadeIn(FEED_PAGE_ANIMATION_DURATION);t.__feedControls.hideButtonLoadingIndicator()};Feed.prototype.addLoadingButtonHandler=function(){var n=this,t=n.__feedControls.getButtonElement();t.on("click",function(){n.loadNonFeaturedPosts()}.bind(n))};Feed.prototype.getElement=function(){return this.__element};feedApiService=function(){function n(){}return n.prototype.getFeaturedPosts=function(n,t){apiService.request({url:n,method:"GET",success:function(n){n&&t(n)}})},n.prototype.getNonFeaturedPosts=function(n,t,i){var r=n+"&startDate="+t;apiService.request({url:r,method:"GET",success:function(n){n&&i(n)}})},new n}();FeedControls.prototype.prepareLoadingButton=function(){var n=this;n.__buttonElement=$("<button><\/button>
1").addClass("feed-post-load-button").text("Load More Posts").hide();n.__buttonLoadingIndicatorElement=$("<i><\/i>").addClass("icon-ec-spinner").hide();n.__buttonElement.prepend(n.__buttonLoadingIndicatorElement);n.__element.append(n.__buttonElement)};FeedControls.prototype.prepareNoPostsMessage=function(){var n=this;n.__noPostsMessageElement=$("<div><\/div>").addClass("feed-no-posts-message").hide();n.__element.prepend(n.__noPostsMessageElement)};FeedControls.prototype.showLoadingButton=function(){this.__buttonElement.show()};FeedControls.prototype.hideLoadingButton=function(){this.__buttonElement.hide()};FeedControls.prototype.showButtonLoadingIndicator=function(){this.__buttonLoadingIndicatorElement.show().addClass("icon-spin")};FeedControls.prototype.hideButtonLoadingIndicator=function(){this.__buttonLoadingIndicatorElement.hide().removeClass("icon-spin")};FeedControls.prototype.showNoPostsMessage=function(n){var t=this;t.__noPostsMessageElement.text(n);t.__noPostsMessageElement.fadeIn(FEED_PAGE_ANIMATION_DURATION)};FeedControls.prototype.hideNoPostsMessage=function(){this.__noPostsMessageElement.hide()};FeedControls.prototype.getButtonElement=function(){return this.__buttonElement};FeedControls.prototype.getElement=function(){return this.__element};FeedPost.prototype.preparePostBody=function(){var n=this,e=new dateTimeService,t,i,r,u,f;n.__postBodyElement=$("<div><\/div>").addClass("post-body-wrapper");n.__post.isFeatured&&(t=$("<span><\/span>").addClass("post-featured-label"));i=$("<h2><\/h2>").addClass("post-title").text(n.__post.title).prepend(t);r=$("<div><\/div>").addClass("post-body").html(n.__post.body);f=e.getMomentLocale(n.__post.postedAt).format("MMMM D, YYYY");u=$("<div><\/div>").addClass("post-published-date").text(f);n.__postBodyElement.append(i);n.__postBodyElement.append(u);n.__post.isCoverPhotoEnabled&&(n.preparePostCoverPhoto(),_.isUndefined(n.__postCoverPhotoElement)||n.__postBodyElement.append(n.__postCoverPhotoElement));n.__postBodyElement.append(r)};FeedPost.prototype.preparePostAttachments=function(){var n=this,r=n.__post.attachments.resources,t,i;n.__postAttachmentsElement=$("<div><\/div>").addClass("attached-wrapper");t=$("<ul><\/ul>").addClass("attached-img-list feed-page-attached-img-list");_.chain(r).filter(function(t){return t.fileMimeType===n.__IMAGE_FILE_MIME_TYPE}).each(function(n){t.append(new PostImageAttachment(n).getElement())});i=$("<ul><\/ul>").addClass("attached-file-list");_.chain(r).filter(function(t){return t.fileMimeType!==n.__IMAGE_FILE_MIME_TYPE}).each(function(n){i.append(new PostFileAttachment(n).getElement())});t.lightGallery(n.__LIGHT_GALLERY_CONFIG);n.__postAttachmentsElement.append(t);n.__postAttachmentsElement.append(i)};FeedPost.prototype.preparePostCoverPhoto=function(){var t=this,u=t.__post.attachments.resources,n=_.chain(u).filter(function(n){return n.fileMimeType===t.__IMAGE_FILE_MIME_TYPE}).first().value(),i,r;_.isUndefined(n)||n.length===0||(i=n.thumbnailUrl,r=n.metaData.alttext,t.__postCoverPhotoElement=$('<img src="" alt>').addClass("feed-post-cover-photo").attr("src",i).attr("alt",r))};FeedPost.prototype.preparePostSource=function(){var n=this,t;n.__postSourceWrapperElement=$("<div><\/div>").addClass("post-source-wrapper");t=$("<div><\/div>").addClass("post-source").text(n.__post.sourceName);n.__postSourceWrapperElement.append(t)};FeedPost.prototype.buildDOM=function(){var n=this,t=$("<div><\/div>").addClass("feed-post-content");t.append(n.__postBodyElement);t.append(n.__postAttachmentsElement);t.append(n.__postSourceWrapperElement);n.__element.append(t)};FeedPost.prototype.getElement=function(){return this.__element};PostAttachment.prototype.getElement=function(){return this.__element};PostImageAttachment.prototype=Object.create(PostAttachment.prototype);PostImageAttachment.prototype.constructor=PostImageAttachment;PostFileAttachment.prototype=Object.create(PostAttachment.prototype);PostFileAttachment.prototype.constructor=PostFileAttachment

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.