PageSourceSearch

https://www.fidelity.com/bin-public/060_www_fidelity_com/js/branches-qualtrics-inject.js?v=3

js fidelity.com collected 2026-09-24 08:59:26 UTC 5,177 bytes, 31 lines download raw bytes

1qual = {
2    init : function (searchParam) {
3        if(qual.checkSearchParams(searchParam)) {
4            qual.parentContainer.appendChild(qual.wrapper);
5            qual.wrapper.appendChild(qual.parentContainer.querySelector('h1'));
6            qual.wrapper.appendChild(qual.qualContainer);
7        }
8    },
9    checkSearchParams : function(searchParam) {
10        var url = new URL(window.location.href);
11        if(url.searchParams.get(searchParam)) {
12            return true;
13        } else {
14            return false;
15        }
16    }
17}
18
19qual.qualtricsCode = '<div class="qualtrics-siteintercept-xcaqpm"><div role="group" aria-label="Was this helpful?" class="QSI__EmbeddedFeedbackContainer" style="margin-top: 10px; white-space: normal;"><fieldset><label tabindex="-1" class="QSI__EmbeddedFeedbackContainer_QuestionText" style="line-height: 1em; margin: 0px 0.7em 0px 0px; width: auto; font-size: inherit; font-weight: normal; font-style: normal; display: inline; color: rgb(50, 54, 58);">Was this helpful?</label><div class="QSI__EmbeddedFeedbackContainer_Thumbs" style="display: inline-block; margin-right: 5px;"><button id="thumbsup-branchDetails" class="QSI__EmbeddedFeedbackContainer_SVGButton" title="Thumbs Up" style="font: inherit; background: transparent; border: none; padding: 0px; vertical-align: middle; margin: 0px 0.6em 0px 0px; cursor: pointer;"><svg xmlns="http://www.w3.org/2000/svg" width="1.7em" height="1.7em" fill="" viewBox="0 0 21 20" alt="Thumbs Up"><title>Thumbs Up</title><path fill="rgba(255, 255, 255, 1)" fill-rule="evenodd" d="M5.5 17.755c.542.407 1.199.671 1.918.735l6.311.561a3.75 3.75 0 003.803-2.315l2.252-5.505c.875-2.138-.698-4.48-3.008-4.48H14.5l-.085-.001h-.797a.183.183 0 01-.1-.026c-.014-.009-.017-.015-.018-.021A5.857 5.857 0 0113.25 5V3A2.75 2.75 0 0010.5.25H9a.75.75 0 00-.75.75v3.882a3.187 3.187 0 01-2.457 3.102c-.1.024-.199.054-.293.09V8a.75.75 0 00-.75-.75h-4A.75.75 0 000 8v10c0 .414.336.75.75.75h4A.75.75 0 005.5 18v-.245z" clip-rule="evenodd"></path><path fill="rgba(11, 110, 208, 1)" fill-rule="evenodd" d="M5.5 17.755c.542.407 1.199.671 1.918.735l6.311.561a3.75 3.75 0 003.803-2.315l2.252-5.505c.875-2.138-.698-4.48-3.008-4.48H14.5l-.085-.001h-.797a.183.183 0 01-.1-.026c-.014-.009-.017-.015-.018-.021A5.857 5.857 0 0113.25 5V3A2.75 2.75 0 0010.5.25H9a.75.75 0 00-.75.75v3.882a3.187 3.187 0 01-2.457 3.102c-.1.024-.199.054-.293.09V8a.75.75 0 00-.75-.75h-4A.75.75 0 000 8v10c0 .414.336.75.75.75h4A.75.75 0 005.5 18v-.245zM9.75 1.75v3.132a4.687 4.687 0 01-3.614 4.562.825.825 0 00-.636.803v4.508a2.25 2.25 0 002.05 2.241l2.991.266a2.25 2.25 0 01-.86-2.612l2.141-6.065c.12-.341.303-.647.533-.907a1.522 1.522 0 01-.29-.535A7.355 7.355 0 0111.75 5V3c0-.69-.56-1.25-1.25-1.25h-.75zM4 8.75H1.5v8.5H4v-8.5zm9.862 8.807l-.275-.024a.749.749 0 00-.17-.157l-2.03-1.353a.75.75 0 01-.291-.873l2.14-6.066a1.25 1.25 0 011.16-.834h2.38a1.75 1.75 0 011.62 2.413l-2.252 5.505a2.25 2.25 0 01-2.282 1.389z" clip-rule="evenodd"></path></svg></button><button id="thumbsdown-branchDetails" class="QSI__EmbeddedFeedbackContainer_SVGButton" title="Thumbs Down" style="font: inherit; background: transparent; border: none; padding: 0px; vertical-align: middle; margin: 0px 0.6em 0px 0px; cursor: pointer;"><svg xmlns="http://www.w3.org/2000/svg" fill="" width="1.7em" height="1.7em" viewBox="0 0 21 20" alt="Thumbs Down"><title>Thumbs Down</title><path fill="rgba(255, 255, 255, 1)" fill-rule="evenodd" d="M15.5 2.245a3.736 3.736 0 00-1.918-.735L7.271.949a3.75 3.75 0 00-3.803 2.315L1.216 8.77c-.875 2.138.698 4.48 3.008 4.48H6.5l.085.001h.797c.049 0 .083.014.1.025.014.01.016.016.018.022.118.385.25.977.25 1.703v2a2.75 2.75 0 002.75 2.75H12a.75.75 0 00.75-.75v-3.882a3.187 3.187 0 012.457-3.102c.1-.024.199-.054.293-.09V12c0 .414.336.75.75.75h4A.75.75 0 0021 12V2a.75.75 0 00-.75-.75h-4a.75.75 0 00-.75.75v.245z" clip-rule="evenodd"></path><path fill="rgba(11, 110, 208, 1)" fill-rule="evenodd" d="M15.207 12.015c.1-.023.198-.053.293-.089V12c0 .414.336.75.75.75h4A.75.75 0 0021 12V2a.75.75 0 00-.75-.75h-4a.75.75 0 00-.75.75v.126a3.737 3.737 0 00-1.755-.717L7.433.567a3.75 3.75 0 00-3.988 2.35L1.136 8.816c-.834 2.132.738 4.435 3.027 4.435h3.38c.092.284.207.823.207 1.75v2a2.75 2.75 0 002.75 2.75H12a.75.75 0 00.75-.75v-3.882a3.187 3.187 0 012.457-3.103zM11.25 18.25v-3.132a4.687 4.687 0 013.614-4.563.825.825 0 00.636-.803V5.126a2.25 2.25 0 00-1.953-2.23l-6.314-.842a2.25 2.25 0 00-2.392 1.41L2.533 9.362a1.75 1.75 0 001.
1963 2.388h3.423c.053 0 .108.002.164.008v-.064a1.25 1.25 0 00-1.044-1.233l-1.33-.222a.75.75 0 01.247-1.48l1.33.222a2.75 2.75 0 012.297 2.713V17c0 .69.56 1.25 1.25 1.25h.75zm5.75-7v-8.5h2.5v8.5H17z" clip-rule="evenodd"></path></svg></button></div></fieldset></div></div>';
20
21qual.wrapper = document.createElement("div");
22qual.qualContainer = document.createElement("div");
23
24qual.wrapper.classList.add("branches--qualtrics-wrapper");
25qual.qualContainer.classList.add("branches--qualtrics-wrapper-code");
26qual.qualContainer.innerHTML = qual.qualtricsCode;
27
28document.addEventListener('DOMContentLoaded',() => {
29    qual.parentContainer = document.querySelector('.promo-group-horizontal-promo');
30    qual.init("branchDetails");
31});

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.