1"use strict";(self.webpackChunktwilio_foundation_frontend=self.webpackChunktwilio_foundation_frontend||[]).push([[5251],{15251:function(t,e,n){n.r(e),n.d(e,{COOKIE_NAME:function(){return o},registerAlert:function(){return c}});var i=n(42430);const o="tw-alert-show",r=t=>{const e=document.querySelector(".alert-cmp");e&&e.classList.toggle("alert-cmp--dismissed",!t)},s=()=>{if("0"===i.A.getCookie(o))r(!1);else{r(!0);const t=document.querySelector(".alert-cmp__dismiss");t?.addEventListener("click",()=>{r(!1),i.A.setCookie(o,"0",864e5)})}};function c(){"loading"!==document.readyState?s():window.addEventListener("load",s)}},42430:function(t,e,n){var i=n(94598);const o="e507005",r="e682286",s="e555348",c="e555373",u=(t,e=!1)=>e&&window.location.hostname.startsWith("author-")?`.author-p62254-${t}.adobeaemcloud.com`:`.publish-p62254-${t}.adobeaemcloud.com`,a={setCookie(t,e,n,a=!1,l=!1){const h=((t=!1)=>(0,i.YW)(window.location.hostname).when(t=>t.includes("localhost"),()=>"localhost").when(t=>t.includes("127.0.0.1"),()=>"127.0.0.1").when(t=>t.includes(o),()=>u(o,t)).when(t=>t.includes(r),()=>u(r,t)).when(t=>t.includes(s),()=>u(s,t)).when(t=>t.includes(c),()=>u(c,t)).when(t=>t.includes("sendgrid.com"),()=>".sendgrid.com").when(t=>t.includes("twilio.org"),()=>".twilio.org").when(t=>t.includes("segment.com"),()=>".segment.com").otherwise(()=>".twilio.com"))(l);if(n){const i=new Date;i.setTime(i.getTime()+n),document.cookie=`${t}=${e}; expires=${i.toUTCString()}; domain=${h}; path=/`}else document.cookie=a?`${t}=${e}; domain=${h}; path=/`:`${t}=${e}; path=/`},getCookie(t){const e=`; ${document.cookie}`.split(`; ${t}=`);return 2===e.length&&e.pop()?.split(";").shift()||""},deleteCookie(t){const e=new Date;e.setTime(e.getTime()-864e5),document.cookie=`${t}=; expires=${e.toUTCString()}; path=/`}};e.A=a},94598:function(t,e,n){n.d(e,{YW:function(){return T}});const i=Symbol.for("@ts-pattern/matcher"),o=Symbol.for("@ts-pattern/isVariadic"),r="@ts-pattern/anonymous-select-key",s=t=>Boolean(t&&"object"==typeof t),c=t=>t&&!!t[i],u=(t,e,n)=>{if(c(t)){const o=t[i](),{matched:r,selections:s}=o.match(e);return r&&s&&Object.keys(s).forEach(t=>n(t,s[t])),r}if(s(t)){if(!s(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let i=[],r=[],s=[];for(const e of t.keys()){const n=t[e];c(n)&&n[o]?s.push(n):s.length?r.push(n):i.push(n)}if(s.length){if(s.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<i.length+r.length)return!1;const t=e.slice(0,i.length),o=0===r.length?[]:e.slice(-r.length),c=e.slice(i.length,0===r.length?1/0:-r.length);return i.every((e,i)=>u(e,t[i],n))&&r.every((t,e)=>u(t,o[e],n))&&(0===s.length||u(s[0],c,n))}return t.length===e.length&&t.every((t,i)=>u(t,e[i],n))}return Reflect.ownKeys(t).every(o=>{const r=t[o];return(o in e||c(s=r)&&"optional"===s[i]().matcherType)&&u(r,e[o],n);var s})}return Object.is(e,t)},a=t=>{var e,n,o;return s(t)?c(t)?null!=(e=null==(n=(o=t[i]()).getSelectionKeys)?void 0:n.call(o))?e:[]:Array.isArray(t)?l(t,a):l(Object.values(t),a):[]},l=(t,e)=>t.reduce((t,n)=>t.concat(e(n)),[]);function h(t){return Object.assign(t,{optional:()=>d(t),and:e=>m(t,e),or:e=>g(t,e),select:e=>void 0===e?f(t):f(e,t)})}function d(t){return h({[i]:()=>({match:e=>{let n={};const i=(t,e)=>{n[t]=e};return void 0===e?(a(t).forEach(t=>i(t,void 0)),{matched:!0,selections:n}):{matched:u(t,e,i),selections:n}},getSelectionKeys:()=>a(t),matcherType:"optional"})})}function m(...t){return h({[i]:()=>({match:e=>{let n={};const i=(t,e)=>{n[t]=e};return{matched:t.every(t=>u(t,e,i)),selections:n}},getSelectionKeys:()=>l(t,a),matcherType:"and"})})}function g(...t){return h({[i]:()=>({match:e=>{let n={};const i=(t,e)=>{n[t]=e};return l(t,a).forEach(t=>i(t,void 0)),{matched:t.some(t=>u(t,e,i)),selections:n}},getSelectionKeys:()=>l(t,a),matcherType:"or"})})}function p(t){return{[i]:()=>({match:e=>({matched:Boolean(t(e))})})}}function f(...t){const e="string"==typeof t[0]?t[0]:void 0,n=2===t.length?t[1]:"string"==typeof t[0]?void 0:t[0];return h({[i]:()=>({match:t=>{let i={[null!=e?e:r]:t};return{matched:void 0===n||u(n,t,(t,e)=>{i[t]=e}),selections:i}},getSelectionKeys:()=>[null!=e?e:r].concat(void 0===n?[]:a(n))})})}function y(t){return"number"==typeof t}function v(t){return"string"==typeof t}function w(t){return"bigint"==typeof t}h(p(function(t){return!0}));const b=t=>Object.assign(h(t),{startsWith:e=>{return b(m(t,(n=e,p(t=>
1v(t)&&t.startsWith(n)))));var n},endsWith:e=>{return b(m(t,(n=e,p(t=>v(t)&&t.endsWith(n)))));var n},minLength:e=>b(m(t,(t=>p(e=>v(e)&&e.length>=t))(e))),length:e=>b(m(t,(t=>p(e=>v(e)&&e.length===t))(e))),maxLength:e=>b(m(t,(t=>p(e=>v(e)&&e.length<=t))(e))),includes:e=>{return b(m(t,(n=e,p(t=>v(t)&&t.includes(n)))));var n},regex:e=>{return b(m(t,(n=e,p(t=>v(t)&&Boolean(t.match(n))))));var n}}),k=(b(p(v)),t=>Object.assign(h(t),{between:(e,n)=>k(m(t,((t,e)=>p(n=>y(n)&&t<=n&&e>=n))(e,n))),lt:e=>k(m(t,(t=>p(e=>y(e)&&e<t))(e))),gt:e=>k(m(t,(t=>p(e=>y(e)&&e>t))(e))),lte:e=>k(m(t,(t=>p(e=>y(e)&&e<=t))(e))),gte:e=>k(m(t,(t=>p(e=>y(e)&&e>=t))(e))),int:()=>k(m(t,p(t=>y(t)&&Number.isInteger(t)))),finite:()=>k(m(t,p(t=>y(t)&&Number.isFinite(t)))),positive:()=>k(m(t,p(t=>y(t)&&t>0))),negative:()=>k(m(t,p(t=>y(t)&&t<0)))})),$=(k(p(y)),t=>Object.assign(h(t),{between:(e,n)=>$(m(t,((t,e)=>p(n=>w(n)&&t<=n&&e>=n))(e,n))),lt:e=>$(m(t,(t=>p(e=>w(e)&&e<t))(e))),gt:e=>$(m(t,(t=>p(e=>w(e)&&e>t))(e))),lte:e=>$(m(t,(t=>p(e=>w(e)&&e<=t))(e))),gte:e=>$(m(t,(t=>p(e=>w(e)&&e>=t))(e))),positive:()=>$(m(t,p(t=>w(t)&&t>0))),negative:()=>$(m(t,p(t=>w(t)&&t<0)))}));$(p(w)),h(p(function(t){return"boolean"==typeof t})),h(p(function(t){return"symbol"==typeof t})),h(p(function(t){return null==t})),h(p(function(t){return null!=t}));class S extends Error{constructor(t){let e;try{e=JSON.stringify(t)}catch(n){e=t}super(`Pattern matching error: no pattern matches value ${e}`),this.input=void 0,this.input=t}}const A={matched:!1,value:void 0};function T(t){return new C(t,A)}class C{constructor(t,e){this.input=void 0,this.state=void 0,this.input=t,this.state=e}with(...t){if(this.state.matched)return this;const e=t[t.length-1],n=[t[0]];let i;3===t.length&&"function"==typeof t[1]?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,s={};const c=(t,e)=>{o=!0,s[t]=e},a=!n.some(t=>u(t,this.input,c))||i&&!Boolean(i(this.input))?A:{matched:!0,value:e(o?r in s?s[r]:s:this.input,this.input)};return new C(this.input,a)}when(t,e){if(this.state.matched)return this;const n=Boolean(t(this.input));return new C(this.input,n?{matched:!0,value:e(this.input,this.input)}:A)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(t=O){return this.state.matched?this.state.value:t(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function O(t){throw new S(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.