1"use strict";(self.webpackChunkjoms=self.webpackChunkjoms||[]).push([[615],{3615:(t,i,e)=>{e.r(i),e.d(i,{default:()=>j});var a=jQuery,n=a(".joms-activity-filter"),o=n.find(".joms-activity-filter-action"),l=n.find(".joms-activity-filter-dropdown"),s=n.find(".joms-activity-filter__options");function r(){l.is(":visible")?c():l.show()}function c(){l.hide()}function u(t){var i=a(t.currentTarget),e=i.data("url")||"/";"__filter__"!==i.data("filter")&&(r(),window.location=e)}function d(t){var i=t.target.value,e=l.find("input[type=text]"),a=l.find(".joms-button--primary");"hashtag"!==i&&"keyword"!==i||(e.attr("placeholder",e.data("label-"+i)),a.html(a.data("label-"+i)))}function f(t){var i=a(t.currentTarget),e=i.val(),n=e;(n=n.replace(/#/g,"")).length!==e.length&&i.val(n)}function p(t){var i,e,n,o;t.preventDefault(),t.stopPropagation(),e=(i=a(t.currentTarget).closest("li")).find("select").val(),(n=i.find("input").val().replace(/^\s+|\s+$/g,""))&&("hashtag"===e&&(n=(n=n.split(" "))[0]),o=(o=(o=i.data("url")).replace("__filter__",e)).replace("__value__",n),window.location=o)}function v(t){var i,e,n;t.preventDefault(),t.stopPropagation(),e=(i=a(t.currentTarget)).find("a").data("value"),"hidden"===(n=s.find(".noselect > img")).css("visibility")&&(n.css("visibility","visible"),joms.ajax({func:"system,ajaxDefaultUserStream",data:[e],callback:function(t){t.error?joms.popup.info("Error",t.error):t.success&&(joms.popup.info("",t.message),s.find(".joms-dropdown").hide(),i.addClass("active").siblings("li").removeClass("active"),n.css("visibility","hidden"))}}))}function m(t){a(t.target).closest(".joms-activity-filter").length||c()}function j(){o.on("click",r),l.on("click","li",u),l.on("change","select",d),l.on("keyup","input[type=text]",f),l.on("click","button.joms-button--primary",p),s.find("li").not(".noselect").addClass("joms-js-filterbar-item"),a(document).on("click",".joms-js-filterbar-item",v),a(document).on("click",m)}}}]);
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.