PageSourceSearch

https://sterlingcapital.com/assets/js/session.js?v=1791063440

js sterlingcapital.com collected 2026-10-03 21:37:31 UTC 1,061 bytes, 35 lines download raw bytes

1function set_persona(persona_id) {
2    localStorage.setItem('selected_persona', persona_id);
3}
4
5var selected_persona = localStorage.getItem('selected_persona');
6var browser_selected_persona = $("#session-js").attr('session-persona');
7
8// on regular pages
9if (browser_selected_persona == 0 && selected_persona > 0) {
10
11    // fade out body temporarily
12    $.post("/assets/inc/actions.php?action=set_persona", { persona: selected_persona })
13        .done(function (data) {
14            set_persona(selected_persona);
15            location.reload(); /* refresh page */
16            $("#persona-speedbump").modal('hide');
17        }
18    )
19
20    browser_selected_persona = selected_persona;
21
22}
23
24// on landing page
25if (window.location.pathname == '/' && selected_persona > 0) {
26   
27    $.post("/assets/inc/actions.php?action=go_to_persona_homepage", { persona: selected_persona })
28        .done(function(redirect_url) {
29            if (redirect_url > '') {
30                location.href = redirect_url;
31            }
32        }
33    )
34    
35}

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.