PageSourceSearch

https://www.authy.com/etc.clientlibs/twilio-foundation/clientlibs/…/resources/5294.1cdb7e97daf8766294bb.js

js authy.com collected 2026-10-01 08:30:16 UTC 3,707 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktwilio_foundation_frontend=self.webpackChunktwilio_foundation_frontend||[]).push([[5294],{5294:function(t,e,n){n.r(e),n.d(e,{registerEventList:function(){return l}});var _=n(31462);const s={GRID_VIEW:".cmp-events-list__items",MAIN:".cmp-events-list",SELF:"[data-cmp-is='events-list']",EMPTY_MESSAGE_COMPONENT:".cmp-events-list__items__messages__empty",ERROR_MESSAGE_COMPONENT:".cmp-events-list__items__messages__error",LOADING_COMPONENT:".cmp-events-list__items__messages__loading",VISIBLE_CLASS_NAME:"visible",FILTER_BUTTON_COUNT_SPAN:".cmp-events-list__filters__category__dropdown__count",FILTERS_BUTTON:".cmp-events-list__controls__content-type-filter__filters",FILTERS_CATEGORY_BUTTON:".cmp-events-list__filters__category__dropdown",FILTERS_CATEGORY_DROPDOWN:".cmp-events-list__filters__category__list",FILTERS_CATEGORY_TAGS:".cmp-events-list__controls__tags-display",FILTERS_CLOSE:".cmp-events-list__filters__header__close",FILTERS_OPEN:"cmp-events-list__filters__open",FILTERS_FACETS:".cmp-events-list__filters__category",FILTERS_FORM:"form.cmp-events-list__filters",FILTERS_TAG:"cmp-events-list__controls__tags-display__item",FILTERS_TAG_CLOSE:"cmp-events-list__controls__tags-display__item__close",FILTERS_FORM_RESET_BUTTON:'.cmp-events-list__filters__buttons > button[type="reset"]',FILTERS_FORM_SUBMIT_BUTTON:'.cmp-events-list__filters__buttons > button[type="submit"]',CLEAR_ALL_BUTTON:".cmp-events-list__controls__content-type-filter__clear",BODY_MOBILE_OVERFLOW_HIDDEN:"overflow-hidden",HIDE_HEADER:"hidden-header",CATEGORY_LIST_HIDDEN:"cmp-events-list__filters__category__list--hidden",EXPANDED_FILTER:"expanded",SELECTED_FILTERS_HIDDEN:"cmp-events-list__controls__tags-hidden"},o=4;function r(){document.querySelectorAll(".card-event").forEach(t=>{i(t,o)})}function i(t,e){const n=t.querySelector(".card-description")?.querySelector("p"),_=n?.textContent;if(!n||!_)return;const s=getComputedStyle(n),o=parseFloat(s.lineHeight)||1.5*parseFloat(s.fontSize);let r=0,i=_.length,l=_;for(let t=Math.floor((r+i)/2);r<=i;t=Math.floor((r+i)/2))n.textContent=_.substring(0,t)+"...",Math.ceil(n.offsetHeight/o)<=e?(l=n.textContent,r=t+1):i=t-1;const c=l.length<=_.length?l:_;return n.textContent=c,Math.ceil(n.offsetHeight/o)>e&&(n.textContent=l.substring(0,l.length-3)+"..."),n.textContent}function l(){const t=()=>{document.querySelectorAll(s.SELF).forEach(t=>{!function(t){(0,_.j)(t,s,{extension:"html",selector:"cards"},r)}(t),t.querySelectorAll(".card-event").forEach(t=>{i(t,o),function(t){const e=t.querySelector(".card-event-default-datetime"),n=e?.dataset.startIso;if(!n)return;const _=new Date(n);if(isNaN(_.getTime()))return;const s=t.querySelector(".card-event-default-datetime-time-wrapper");if(!s)return;const o=s.querySelector("p.card-event-default-datetime-time"),r=s.querySelector("span.chip");if(!o||!r)return;const i=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0}).format(_);(o.querySelector("strong")??o).textContent=i.replace(/\s(AM|PM)$/i,t=>t.trim().toLowerCase());const l=new Intl.DateTimeFormat("en-US",{timeZoneName:"short"}).formatToParts(_).find(t=>"timeZoneName"===t.type)?.value.replace("GMT","UTC")??"";r.textContent=l;const c=_.toLocaleDateString("en-CA");if(c!==n.slice(0,10)){const e=t.querySelector(".card-event-default-datetime-date");if(e&&!e.textContent?.includes(" - ")){const t=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format(new Date(c+"T00:00:00")),n=e.querySelector("strong")??document.createElement("strong");n.textContent=t,e.contains(n)||(e.textContent="",e.appendChild(n))}}}(t)})})};"loading"!==document.readyState?t():window.addEventListener("load",t)}}}]);

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.