PageSourceSearch

https://proinvestor.com/forum/assets/forum/header.31acc0765c96677971ba.min.js

js proinvestor.com collected 2026-09-26 04:25:44 UTC 11,517 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[1091,13201,18314,22067,34271,34590,43602,49897,68326,87212,98813,99127],{86174(y,v,s){var l,p;l=[s(19046),s(71949),s(11599),s(29930)],p=(function(u,h,i,g){const w={};w.prepareDOM=function(){app.user.uid>0&&u.initUnreadTopics(),h.prepareDOM(),i.prepareDOM(),n(),d(),c()};function n(){$('[component="header/usercontrol"] [data-status]').off("click").on("click",function(r){const t=$(this).attr("data-status");socket.emit("user.setStatus",t,function(e){if(e)return g.error(e);$('[data-uid="'+app.user.uid+'"] [component="user/status"], [component="header/profilelink"] [component="user/status"]').removeClass("away online dnd offline").addClass(t),$('[component="header/usercontrol"] [data-status]').each(function(){$(this).toggleClass("selected",$(this).attr("data-status")===t)}),app.user.status=t}),r.preventDefault()})}function d(){const r=utils.findBootstrapEnvironment();if(r==="xs"||r==="sm"||utils.isTouchDevice())return;const t=$("#header-menu .nav-item[title]");t.tooltip({trigger:"manual",animation:!1,placement:"bottom"}),t.on("mouseenter",function(e){const a=$(e.target);a.hasClass("dropdown-menu")||a.parents(".dropdown-menu").length||$(this).tooltip("show")}),t.on("click mouseleave",function(){$(this).tooltip("hide")})}function c(){$("body").on("click",'[component="user/logout"]',function(){return s.e(20739).then(function(){var r=[s(75427)];(function(t){t()}).apply(null,r)}).catch(s.oe),!1})}return w}).apply(v,l),p!==void 0&&(y.exports=p)},11599(y,v,s){var l,p;l=[s(52473),s(91749),s(49897)],p=(function(u,h,i){const g={};g.prepareDOM=function(){const r=$('[component="chat/dropdown"]');r.on("show.bs.dropdown",t=>{c("loadChatsDropdown",$(t.target).parent().find('[component="chat/list"]'))}),r.each((t,e)=>{const a=$(e).parent().find(".dropdown-menu");a.hasClass("show")&&c("loadChatsDropdown",a.find('[component="chat/list"]'))}),socket.removeListener("event:chats.receive",w),socket.on("event:chats.receive",w),socket.removeListener("event:chats.typing",n),socket.on("event:chats.typing",n),socket.removeListener("event:chats.roomRename",d),socket.on("event:chats.roomRename",d),socket.on("event:unread.updateChatCount",async function(t){if(t){const[M,D]=await app.require(["chat","forum/chats"]);if(M.isFromBlockedUser(t.fromUid)||M.isLookingAtRoom(t.roomId)||app.user.uid===parseInt(t.fromUid,10))return;D.markChatPageElUnread(t),D.updateTeaser(t.roomId,t.teaser)}let{count:e}=await i.get("/chats/unread");const a=u.get("chat/icon");e=Math.max(0,e),a.toggleClass("fa-comment",e>0).toggleClass("fa-comment-o",e<=0);const C=e>99?"99+":e;a.toggleClass("unread-count",e>0).attr("data-content",C),u.get("chat/count").toggleClass("hidden",e<=0).text(C),h.fire("action:chat.updateCount",{count:e})})};function w(r){c("onChatMessageReceived",r)}function n(r){c("onUserTyping",r)}function d(r){c("onRoomRename",r)}async function c(r,t){(await app.require("chat"))[r](t)}return g}).apply(v,l),p!==void 0&&(y.exports=p)},71949(y,v,s){var l;l=(function(){const p={};p.prepareDOM=function(){const i=$('[component="notifications"] [data-bs-toggle="dropdown"]');function g(n,d){n.find("[data-nid]").toggleClass("hidden",d==="unread").filter(".unread").removeClass("hidden")}async function w(n){const d=await app.require("notifications"),c=n.parent().find(".dropdown-menu"),r=n.parent().find('[component="notifications/list"]');d.loadNotifications(n,r,function(t){const e=t.unread.length>0;c.find('[data-filter="all"]').toggleClass("active",!e),c.find('[data-filter="unread"]').toggleClass("active",e),g(r,e?"unread":"all")})}i.on("show.bs.dropdown",n=>{w($(n.target))}),i.each((n,d)=>{const c=$(d),r=c.parent().find(".dropdown-menu"),t=r.find('[component="notifications/list"]');r.hasClass("show")&&w(c),r.on("click","[data-filter]",e=>{const a=e.target.getAttribute("data-filter");r.find("[data-filter]").removeClass("active"),e.target.classList.add("active"),g(t,a);const C=r.find("[data-nid]:not(.hidden)").length;r.find(".no-notifs").toggleClass("hidden",C!==0)})}),socket.removeListener("event:new_notification",u),socket.on("event:new_notification",u),socket.removeListener("event:notifications.updateCount",h),socket.on("event:notifications.updateCount",h)};async function u(i){(await app.require("notifications")).onNewNotification(i)}async function h(i){(await app.require("notifications")).updateNotifCount(i)}return p}).call(v,s,v,y),l!==void 0&&(y.exports=l)},19046(y,v,s){var l,p;l=[s(91749)],p=(function(u){const h={},i={ignoring:1,notwatching:2,tracking:3,watching:4};h.initUnreadTopics=function(){const n=app.user.unreadData;function d(t){if(t&&t.posts&&t.posts.length&&n){const e=t.posts[0];if(parseInt(e.uid,10)===parseInt(app.user.uid,10)||!e.topic.isFollowing&&e.categoryWatchState!==i.watching&&e.categoryWatchState!==i.tracking)return;const a=e.topic.tid;(!n[""][a]||!n.new[a]||!n.watched[a]||!n.unreplied[a])&&r(a),n[""][a]||(c(""),n[""][a]=!0),e.isMain&&parseInt(e.uid,10)!==parseInt(app.user.uid,10)&&!n.new[a]&&(c("new"),n.new[a]=!0),parseInt(e.topic.postcount,10)<=1&&!n.unreplied[a]&&(c("unreplied"),n.unreplied[a]=!0),e.topic.isFollowing&&!n.watched[a]&&(c("watched"),n.watched[a]=!0)}}function c(t){const e="/unread"+(t?"?filter="+t:""),a=1+parseInt($('a[href="'+config.relative_path+e+'"].navigation-link i').attr("data-content"),10);w(e,a)}function r(t){$('[data-tid="'+t+'"]').addClass("unread")}$(window).on("action:ajaxify.end",function(){ajaxify.data.template.topic&&["","new","watched","unreplied"].forEach(function(t){delete n[t][ajaxify.data.tid]})}),socket.removeListener("event:new_post",d),socket.on("event:new_post",d),socket.removeListener("event:unread.updateCount",g),socket.on("event:unread.updateCount",g)};function g(n){w("/unread",n.unreadTopicCount),w("/unread?filter=new",n.unreadNewTopicCount),w("/unread?filter=watched",n.unreadWatchedTopicCount),w("/unread?filter=unreplied",n.unreadUnrepliedTopicCount)}function w(n,d){if(!utils.isNumber(d))return;d=Math.max(0,d);const c=d>99?"99+":d,r=$('a[href="'+config.relative_path+n+'"].navigation-link');r.find("i").toggleClass("unread-count",d>0).attr("data-content",c),r.find('[component="navigation/count"]').toggleClass("hidden",d<=0).text(c),r.length&&($('#mobile-menu [data-unread-url="'+n+'"]').attr("data-content",c),$('[component="unread/count"][data-unread-url="'+n+'"]').toggleClass("hidden",d<=0).text(c)),u.fire("action:unread.updateCount",{url:n,count:d})}return h.updateUnreadTopicCount=w,h}).apply(v,l),p!==void 0&&(y.exports=p)},49897(y,v,s){s.r(v),s.d(v,{del:()=>M,get:()=>r,head:()=>t,patch:()=>a,post:()=>e,put:()=>C});var l=s(91749),p=s.n(l),u=s(65303),h=s(17459),i=s.n(h),g=s(68636),w=s.n(g);const n=config.relative_path+"/api/v3";async function d(o,m){if(o.url=o.url.startsWith("/api")?config.relative_path+o.url:n+o.url,o.headers=o.headers||{},o.headers["x-return-to"]||(o.headers["x-return-to"]=`${window.location.pathname.slice(config.relative_path.length)}${window.location.search}`),typeof m=="function"){c(o).then(f=>m(null,f),f=>m(f));return}try{return await c(o)}catch(f){if(f.message===await h.translate("[[error:api.401]]",config.userLang)){const{url:E}=await(0,l.fire)("filter:admin.reauth",{url:"login"}),P=await h.translate("[[error:api.reauth-required]]",config.userLang);(0,u.confirm)(P,T=>{T&&(g.setItem("location-hash",window.location.hash),ajaxify.go(E))})}throw f}}async function c(o){const{url:m}=o;delete o.url,o.data&&!(o.data instanceof FormData)&&(o.data=JSON.stringify(o.data||{}),o.headers["content-type"]="application/json; charset=utf-8"),{options:o}=await(0,l.fire)("filter:api.options",{options:o}),o.data&&(o.body=o.data,delete o.data);const f=await fetch(m,o),{headers:E}=f;if(E.get("x-redirect"))return c({url:E.get("x-redirect"),...o});const P=E.get("content-type"),T=P&&P.startsWith("application/json");let _;if(o.method!=="HEAD"&&(T?_=await f.json():_=await f.text()),!f.ok){if(_){const A=T&&(_.status?.message||_.error||""),I=typeof _=="string"?_:f.statusText||`[[error:api.${f.status}]]`;throw new Error(T&&A?A:I)}throw new Error(f.statusText)}return T&&_&&_.hasOwnProperty("status")&&_.hasOwnProperty("response")?_.response:_}function r(o,m,f){return d({url:o+(m&&Object.keys(m).length?"?"+$.param(m):"")},f)}function t(o,m,f){return d({url:o+(m&&Object.keys(m).length?"?"+$.param(m):""),method:"HEAD"},f)}function e(o,m,f,E){return D("POST",o,m,f,E)}function a(o,m,f,E){return D("PATCH",o,m,f,E)}function C(o,m,f,E){return D("PUT",o,m,f,E)}function M(o,m,f,E){return D("DELETE",o,m,f,E)}function D(o,m,f,E,P){return typeof E=="function"&&(P=E,E={}),d({url:m,method:o,data:f,headers:{"x-csrf-token":config.csrf_token,...E}},P)}},65303(y,v,s){s.r(v),s.d(v,{alert:()=>g,confirm:()=>w,dialog:()=>i,prompt:()=>n,promptPassword:()=>d});var l=s(33530),p=s.n(l),u=s(17459),h=s.n(u);l.setDefaults({locale:config.userLang}),u.translateKeys(["modules:bootbox.ok","modules:bootbox.cancel","modules:bootbox.confirm"]).then(t=>{l.addLocale(config.userLang,{OK:t[0],CANCEL:t[1],CONFIRM:t[2]}),l.setLocale(config.userLang)});async function i(t){const[e,a,C]=await Promise.all([u.translate(t.title||""),c(t)||"",r(t.buttons)]);return l.dialog({...t,title:e,message:a,buttons:C})}async function g(t,e){const[a,C]=await Promise.all([t&&t.title?u.translate(t.title):null,c(t)]);return e=typeof e=="function"?e:t.callback,l.alert({...t,title:a,message:C,callback:e})}async function w(t,e){const[a,C]=await Promise.all([t&&t.title?u.translate(t.title):null,c(t)]);return e=typeof e=="function"?e:t.callback,l.confirm({...t,title:a,message:C,callback:e})}async function n(t,e){const[a,C]=await Promise.all([u.translate(typeof t=="string"?t:t.title),t&&t.message?c(t):null]);return e=typeof e=="function"?e:t.callback,l.prompt({...t,title:a,message:C,callback:e})}async function d(t){return typeof t=="string"&&(t={title:t}),t=t||{title:"[[user:current-password]]",message:"[[user:emailUpdate.password-challenge]]"},await new Promise(e=>{n({...t,inputType:"password",required:!0,value:"",callback:e})})}function c(t){const e=t&&t.message?t.message:t;return e instanceof jQuery?e:u.translate(e||"")}async function r(t){if(!Object.keys(t||{}).length)return;const e=Object.values(t);return await Promise.all(e.map(async a=>({...a,label:await u.translateKey(a.label)})))}},68636(y,v,s){var l;l=(function(){function p(){this._store={},this._keys=[]}p.prototype.isMock=!0,p.prototype.setItem=function(i,g){i=String(i),this._keys.indexOf(i)===-1&&this._keys.push(i),this._store[i]=g},p.prototype.getItem=function(i){return i=String(i),this._keys.indexOf(i)===-1?null:this._store[i]},p.prototype.removeItem=function(i){i=String(i),this._keys=this._keys.filter(function(g){return g!==i}),this._store[i]=null},p.prototype.clear=function(){this._keys=[],this._store={}},p.prototype.key=function(i){return i=parseInt(i,10)||0,this._keys[i]},Object.defineProperty&&Object.defineProperty(p.prototype,"length",{get:function(){return this._keys.length}});let u;const h=Date.now().toString();try{if(u=window.localStorage,u.setItem(h,h),u.getItem(h)!==h)throw Error("localStorage behaved unexpectedly");return u.removeItem(h),u}catch(i){console.warn(i),console.warn("localStorage failed, falling back on sessionStorage");try{if(u=window.sessionStorage,u.setItem(h,h),u.getItem(h)!==h)throw Error("sessionStorage behaved unexpectedly");return u.removeItem(h),u}catch(g){return console.warn(g),console.warn("sessionStorage failed, falling back on memory storage"),new p}}}).call(v,s,v,y),l!==void 0&&(y.exports=l)}}]);

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.