1"use strict";(self.webpackChunktwilio_foundation_frontend=self.webpackChunktwilio_foundation_frontend||[]).push([[5259],{1512:function(e,t,n){n.d(t,{E:function(){return i}});const i=e=>{const{cmpPath:t}=e?.dataset??{},n=`${t??""}:aria-description`;return{setAriaDescriptionElement:(e,t)=>{e?.setAttribute("id",n),e?.insertAdjacentText("beforeend",t)},setAriaAttributes:(e,t)=>{e.setAttribute("aria-label",t),e.setAttribute("aria-describedBy",n)}}}},26927:function(e,t,n){n.d(t,{f:function(){return i}});const i=e=>fetch(e).then(e=>e.json())},29883:function(e,t,n){function i(){return window.innerWidth<=480}var r;n.d(t,{EA:function(){return r},Fr:function(){return i},R9:function(){return s}}),function(e){e[e.XS=0]="XS",e[e.SM=30]="SM",e[e.MD=48]="MD",e[e.LG=62]="LG",e[e.XL=84]="XL",e[e.XXL=100]="XXL"}(r||(r={}));const o=(e,t,n)=>{const i=matchMedia(e),r=()=>{i.matches&&(t(),n.once&&i.removeEventListener("change",r))};i.addEventListener("change",r),r()},s={currentBreakpoint:()=>[r.XXL,r.XL,r.LG,r.MD,r.SM,r.XS].find(e=>matchMedia(`(min-width: ${e}em)`).matches)??r.XS,whenUp:(e,t,n={once:!1})=>{o(`(min-width: ${e}em)`,t,n)},whenDown:(e,t,n={once:!1})=>{o(`(max-width: ${e}em)`,t,n)},isUp:e=>matchMedia(`(min-width: ${e}em)`).matches}},34300:function(e,t,n){n.d(t,{GG:function(){return d},Ic:function(){return h},T0:function(){return c},Vb:function(){return r},ZW:function(){return l},ir:function(){return u}});var i=n(29883);const r="Whitney SSm,Helvetica Neue,helvetica,arial,sans-serif",o={fontFamily:r,fontSize:"1.4rem",fontWeight:400,lineHeight:1.25,letterSpacing:"0"},s={hero:{fontSize:"3.4rem",fontWeight:700,lineHeight:1.25,letterSpacing:"-0.03rem",breakpoints:{[i.EA.LG]:{fontSize:"4.8rem",lineHeight:1.15,letterSpacing:"-0.04rem"}}},h1:{fontSize:"3.4rem",fontWeight:700,lineHeight:1.25,letterSpacing:"-0.03rem",breakpoints:{[i.EA.LG]:{fontSize:"4.8rem",lineHeight:1.15,letterSpacing:"-0.04rem"}}},h2:{fontSize:"2.8rem",fontWeight:600,lineHeight:1.3,letterSpacing:"-0.02rem",breakpoints:{[i.EA.LG]:{fontSize:"3.2rem",lineHeight:1.15,letterSpacing:"-0.04rem"}}},h3:{fontSize:"2.4rem",fontWeight:500,lineHeight:1.25},h4:{fontSize:"1.8rem",lineHeight:1.5,fontWeight:500},h5:{fontSize:"1.8rem",lineHeight:1.5,fontWeight:600},supertext:{fontSize:"1.6rem",lineHeight:1.1,fontWeight:600}},a={"extra-large":{fontSize:"1.8rem",lineHeight:1.5,breakpoints:{[i.EA.LG]:{fontSize:"2rem"}}},large:{fontSize:"1.6rem",lineHeight:1.5,breakpoints:{[i.EA.LG]:{fontSize:"1.8rem"}}},"large-semibold":{fontSize:"1.6rem",lineHeight:2.4,fontWeight:600,breakpoints:{[i.EA.LG]:{fontSize:"1.8rem",lineHeight:2.8}}},medium:{fontSize:"1.4rem",lineHeight:1.5,breakpoints:{[i.EA.LG]:{fontSize:"1.6rem"}}},small:{fontSize:"1.2rem",lineHeight:1.5,breakpoints:{[i.EA.LG]:{fontSize:"1.4rem"}}},"small-book":{fontSize:"1.2rem",lineHeight:1.8,fontWeight:400,breakpoints:{[i.EA.LG]:{fontSize:"1.4rem",lineHeight:2}}},"small-semibold":{fontSize:"1.2rem",lineHeight:1.8,fontWeight:600,breakpoints:{[i.EA.LG]:{fontSize:"1.4rem",lineHeight:2}}}},c=e=>({...o,...s[e]}),h=e=>({...o,...a[e]}),l=e=>e/.0625,u=(e,t=10)=>{const n=parseFloat(e);return isNaN(n)?0:n*t},d=e=>{const t=i.R9.currentBreakpoint(),n={...o,fontSize:e.fontSize??o.fontSize,fontWeight:e.fontWeight??o.fontWeight,lineHeight:e.lineHeight??o.lineHeight,letterSpacing:e.letterSpacing??o.letterSpacing};return e.breakpoints?Object.keys(e.breakpoints).sort().reduce((n,i)=>{const r=Number(i);return Number(r)<=Number(t)?{...n,...e.breakpoints[r]}:n},n):n}},37913:function(e,t,n){n.d(t,{Oe:function(){return i}});const i=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches},42430:function(e,t,n){var i=n(94598);const r="e507005",o="e682286",s="e555348",a="e555373",c=(e,t=!1)=>t&&window.location.hostname.startsWith("author-")?`.author-p62254-${e}.adobeaemcloud.com`:`.publish-p62254-${e}.adobeaemcloud.com`,h={setCookie(e,t,n,h=!1,l=!1){const u=((e=!1)=>(0,i.YW)(window.location.hostname).when(e=>e.includes("localhost"),()=>"localhost").when(e=>e.includes("127.0.0.1"),()=>"127.0.0.1").when(e=>e.includes(r),()=>c(r,e)).when(e=>e.includes(o),()=>c(o,e)).when(e=>e.includes(s),()=>c(s,e)).when(e=>e.includes(a),()=>c(a,e)).when(e=>e.includes("sendgrid.com"),()=>".sendgrid.com").when(e=>e.includes("twilio.org"),()=>".twilio.org").when(e=>e.includes("segment.com"),()=>".segment.com").otherwise(()=>".twilio.com"))(l);if(n){const i=new Date;i.setTime(i.getTime()+n),document.cookie=`${e}=${t}; expires=${i.toUTCString()}; domain=${u}; path=/`}else document.cookie=h?`${e}=${t}; domain=${u}; path=/`:`${e}=${t}; path=/`},getCookie(e){const t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length&&t.pop()?.split(";").shift()||""},deleteCookie(e){const t=new Date;t.setTime(t.getTime()-864e5),document.cookie=`${e}=; expires=${t.toUTCString()}; path=/`}};t.A=h},55259:function(e,t,n){n.r(t),n.d(t,{registerDoughnutCharts:function(){return p}});var i,r=n(50381),o=n(48524),s=n(90116),a=n(11658),c=n(37913),h=n(1512),l=n(66233),u=n(26927),d=n(34300),f=n(91072),m=n(29883);(0,s.Y)([r.a,a.a]),function(e){e.SELF=".cmp-doughnut-chart",e.CONTAINER=".cmp-doughnut-chart__container__content",e.DESCRIPTION=".cmp-doughnut-chart__description",e.ARIA_DESCRIPTION=".cmp-doughnut-chart__description__aria",e.CHARTS_CONTAINER=".cmp-charts-container",e.CHARTS_CONTAINER_QUADRANT=".cmp-charts-container__content__quadrant",e.CHARTS_CONTAINER_DROPDOWN=".cmp-charts-container__header-select"}(i||(i={}));const g=()=>{const e=document.querySelectorAll(i.SELF),t=(0,c.Oe)(),n=(0,f.JK)();
1e.forEach(e=>{const r=e?.querySelector(i.CONTAINER);if(!r)return;const{chartPercentage:s,chartTheme:a,chartAriaLabel:c,chartAriaDescription:f,chartJsonMapping:g}=r.dataset,p=(0,o.Ts)(r),w="dark-theme"===a?l.T.white.rgb():l.T.ink.rgb(),S=e?.querySelector(i.DESCRIPTION)?.textContent?.trim()??"",b=f?.replace("{value}",s?`${s}%`:"0%").replace("{description}",S),A=e?.querySelector(i.ARIA_DESCRIPTION),k=(0,h.E)(e);k.setAriaDescriptionElement(A,b??""),k.setAriaAttributes(r,c??"");const T=(0,d.GG)((0,d.T0)("h1")),L={default:{series:[{radius:"99.99%",axisLine:{lineStyle:{width:31.6}}},{radius:"96%",axisLine:{lineStyle:{width:22}},detail:{fontSize:(0,d.ir)(T.fontSize),lineHeight:60,fontWeight:600}}]},desktop:{series:[{radius:"99.99%",axisLine:{lineStyle:{width:50.4}}},{radius:"96%",axisLine:{lineStyle:{width:36}},detail:{fontSize:80,lineHeight:140,fontWeight:600}}]}},E=e=>{const i="gauge";return{series:[{type:i,startAngle:90,endAngle:-270,axisLine:{lineStyle:{color:[[1,l.T.ink.rgb()]]}},splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1}},{type:i,startAngle:90,endAngle:-270,data:[{value:Number(e??0),detail:{offsetCenter:["0%","0%"],valueAnimation:!t}}],min:0,max:100,silent:!0,animation:!t,animationDuration:1750,animationEasing:"cubicInOut",pointer:{show:!1},progress:{show:!0,overlap:!1,roundCap:!0,itemStyle:{color:l.T.red450.rgb()}},axisLine:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},detail:{color:w,fontFamily:d.Vb,formatter:(r=n,["es","fr","de"].includes(r)?"{value} %":"{value}%"),fontStyle:"normal",fontWeight:700}}],media:[{option:L.default},{query:{minWidth:345},option:L.desktop}]};var r},z=()=>{const e=r?.closest(i.CHARTS_CONTAINER),t=e?.querySelector(i.CHARTS_CONTAINER_DROPDOWN),n=r?.closest(i.CHARTS_CONTAINER_QUADRANT);if(n){const n=t?.options[t?.options.selectedIndex]?.value;if(""!==n){const t=e?.dataset.chartsJsonPath;(0,u.f)(t).then(e=>{const t=e[n][g]["value-1"],i=E(t);p.setOption(i,!1,!0)})}}const o=E(s);p.setOption(o,!1,!0),p.on("finished",()=>{n&&t?.addEventListener("change",()=>{z()})})},H=()=>{new ResizeObserver(()=>{m.R9.isUp(m.EA.SM)&&p.resize()}).observe(r),p.off("finished",H)};p.on("finished",H);const y=new IntersectionObserver(([e])=>{e?.isIntersecting&&(z(),y.unobserve(r))},{threshold:.1});y.observe(r)})},p=()=>{"loading"!==document.readyState?g():window.addEventListener("DOMContentLoaded",g)}},66233:function(e,t,n){n.d(t,{T:function(){return r}});class i{red;green;blue;constructor(e,t,n){this.red=e,this.green=t,this.blue=n}rgb(){return`rgb(${this.red}, ${this.green}, ${this.blue})`}rgba(e){return`rgba(${this.red}, ${this.green}, ${this.blue}, ${e})`}}const r={white:new i(255,255,255),black:new i(0,0,0),saffron:new i(242,190,90),twilioRed:new i(219,19,42),gray100:new i(221,224,230),gray300:new i(154,160,180),gray500:new i(101,110,135),gray700:new i(56,66,94),red10:new i(254,236,236),red30:new i(246,177,177),red40:new i(245,137,138),red50:new i(235,86,86),red60:new i(177,15,35),red70:new i(173,17,17),red90:new i(74,11,11),red100:new i(255,214,219),red300:new i(253,118,133),red450:new i(239,34,58),red700:new i(136,11,25),red900:new i(29,5,8),ink:new i(0,13,37)}},91072:function(e,t,n){n.d(t,{JK:function(){return r}});var i=n(42430);const r=()=>{const e=(()=>{const e=window.location.pathname,t=[{key:"en",paths:["/en/","/en-us"]},{key:"es",paths:["/es/","/es-mx"]},{key:"pt",paths:["/pt/","/pt-br"]},{key:"fr",paths:["/fr/","/fr-fr"]},{key:"de",paths:["/de/","/de-de"]},{key:"ja",paths:["/ja/","/ja-jp"]}].find(t=>t.paths.some(t=>e.includes(t)));return t?t.key:null})(),t=(()=>{const e=i.A.getCookie("tw-content-language").split("-")[0];return e&&e.split("-")[0]||null})();return e||t||"en"}}}]);
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.