PageSourceSearch

https://www.authy.com/etc.clientlibs/twilio-com/clientlibs/clientl…/resources/209.7e72a599529986826c1b.js

js authy.com collected 2026-10-01 08:31:48 UTC 3,149 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktwilio_com_frontend=self.webpackChunktwilio_com_frontend||[]).push([[209],{7209:function(e,t,n){n.d(t,{registerSidebar:function(){return i}});const o=()=>{const e=document.querySelector("#toc-navigation");if(!e)return;const t={};!function(e,t){const n=document.querySelector("#introduction");if(n){const c=n.getAttribute("id");(o=n).style.position="absolute",o.style.visibility="hidden",o.style.opacity="0",c&&(t[c]="toc-nav-0",e.innerHTML+=`<li class="nav-item toc-header is-selected" id="toc-nav-0">\n                <a href="#${c}">${n?.textContent}</a></li>`)}var o}(e,t),function(e,t){const n=document.querySelectorAll(".toc-content");let o="toc-nav-0",i=0,r=0;if(n.forEach((a,d)=>{const l=a?.getAttribute("id");if(l){if(!a||!l)return;const s=a.tagName.toLowerCase();if("h2"===s){o="toc-nav-"+ ++i;const s=n[d+1],u=c(o,l,a.textContent||"");if(s&&"h3"===s.tagName.toLowerCase()){const e=function(e){const t=document.createElement("div");t.className="sub";const n=document.createElement("ul");return n.className="menu-accordion",n.setAttribute("data-for",e),t.appendChild(n),t}(o);u.appendChild(e)}e.appendChild(u),t[l]=o,r=0}if("h3"===s){const n=e.querySelector(`#${o} ul`),i=a.getAttribute("id"),d=`${o}-${++r}`;if(n&&i){const e=c(d,i,a.textContent||"");e.setAttribute("data-parent-id",o),n.appendChild(e),t[i]=d}}}}),0===i){const e=document.querySelector(".cmp-blog__sidebarLinksSection"),t=document.querySelector(".cmp-blog__sidebarLinksSection + .divider");e?.remove(),t?.remove()}}(e,t),document.querySelectorAll(".nav-item a").forEach(e=>{e.addEventListener("click",function(e){const t=e.target.getAttribute("href");document.querySelector(t).scrollIntoView({behavior:"smooth",block:"start"}),e.preventDefault()})}),(()=>{const e=document.querySelector(".cmp-blog__sidebar");if(!e)return;const t=e.querySelector(".cmp-blog-tags"),n=e.querySelector(".cmp-blog__sidebarLinksSection"),o=e.querySelectorAll(".divider"),c=e.querySelector(".product-tags");n?t||c||o[1]?.remove():t||c||o[0]?.remove()})(),function(){const e=document.querySelectorAll(".cmp-blog__sidebar .xfpage.page.basicpage");e?.forEach(e=>""===e.innerHTML.trim()&&e.remove())}(),document.addEventListener("scroll",()=>{!function(e){const t=function(e){let t=null;return e.forEach(e=>{const n=e.getBoundingClientRect().top,o=null===t||t.getBoundingClientRect().top+t.clientHeight/2<0;n<window.screen.height/2&&o&&(t=e)}),t}(document.querySelectorAll("h2[id], h3[id]"));Object.keys(e).forEach(n=>{const o=document.querySelector(`#${e[n]}`);if(o?.setAttribute("class","nav-item"),t&&n===t.getAttribute("id")){const e=document.querySelector(`.menu-accordion[data-for="${o?.dataset.parentId??o?.id}"]`);o?.classList.add("is-selected"),document.querySelectorAll(".menu-accordion:not(#toc-navigation)").forEach(e=>e.classList.remove("expanded")),e&&e.classList.add("expanded")}})}(t)})};function c(e,t,n){const o=document.createElement("li");o.className="nav-item",o.id=e;const c=document.createElement("a");return c.href=`#${t}`,c.textContent=n,o.appendChild(c),o}function i(){"loading"!==document.readyState?o():window.addEventListener("load",o)}}}]);

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.