1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[26587],{80919(c,w,l){var a,g;a=[l(47682),l(49897),l(29930),l(91749),l(89336),l(52473)],g=(function(u,h,f,d,m,t){const e={};return e.init=function(){app.enterRoom("tags"),u.init("tag"),$('[component="tag/following"]').on("click",function(){i("follow","put")}),$('[component="tag/not-following"]').on("click",function(){i("unfollow","del")});function i(o,s){h[s](`/tags/${ajaxify.data.tag}/follow`,{}).then(()=>{let n="";o==="follow"?n="[[tags:following-tag.message]]":o==="unfollow"&&(n="[[tags:not-following-tag.message]]"),C(o),f.alert({alert_id:"follow_tag",message:n,type:o==="follow"?"success":"info",timeout:5e3}),d.fire("action:tags.changeWatching",{tag:ajaxify.data.tag,type:o})}).catch(n=>f.error(n))}function C(o){t.get("tag/following/menu").toggleClass("hidden",o!=="follow"),t.get("tag/following/check").toggleClass("fa-check",o==="follow"),t.get("tag/not-following/menu").toggleClass("hidden",o!=="unfollow"),t.get("tag/not-following/check").toggleClass("fa-check",o==="unfollow")}},e}).apply(w,a),g!==void 0&&(c.exports=g)}}]);
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.