PageSourceSearch

https://trustandwill.com/_next/static/chunks/5731-a1c028382627cda2.js

js trustandwill.com collected 2026-10-01 09:00:45 UTC 26,989 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5731],{6153:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var a=r(95155),n=r(12115),l=r(51783),i=r(41051),o=r(93518),s=r(71764),c=r(39292),d=r(98404);let m={PRIMARY:"primary"},u=(0,c.c1)();function h(e){let{buttonText:t,placeholder:r,actionUrl:c,variant:h=m.PRIMARY,emailSuggestionTextColor:f="text-white",labelClassName:x,errorTone:p="light",successHeading:g="Thanks for subscribing!",successMessage:b="Check your email for a confirmation message."}=e,[v,w]=(0,n.useState)(!1),[y,j]=(0,n.useState)({}),{emailValue:N,emailSuggestion:A,emailError:C,handleEmailChange:k,handleAcceptSuggestion:E,checkForSuggestion:L}=(0,s.A)(),R=C||y.email||y.server_error,O=async(e,t)=>{if(e.preventDefault(),t)return void j(e=>({...e,server_error:"Please try submitting again."}));let r=new FormData(e.currentTarget),a={};r.forEach((e,t)=>{a[t]=e});let n=u.safeParse(a);if(!n.success){n.error.errors.forEach(e=>{j(t=>({...t,[e.path[0]]:e.message}))}),L(a.email);return}if(L(a.email)){if(!(await fetch(c,{method:"POST",body:r})).ok)return void j({server_error:"Failed to subscribe. Please check your connection and try again."});w(!0)}};return(0,a.jsxs)(l.A,{children:[v&&(0,a.jsxs)(l.A,{className:"flex-col items-center justify-center mt-[2rem]",role:"status","aria-live":"polite",children:[(0,a.jsx)(i.A,{Component:"h3",className:"text-center mb-[1rem] text-white",children:g}),(0,a.jsx)(i.A,{className:"text-center font-normal text-white",children:b})]}),!v&&(0,a.jsxs)(l.A,{className:"flex-col",children:[(0,a.jsx)(d.A,{placeholder:r,buttonText:t,variant:h,value:N,onChange:e=>{k(e),j({})},onSubmit:O,error:R,errorTone:p,label:"Email",labelClassName:x}),(0,a.jsx)(o.A,{suggestedEmail:A,onAccept:E,suggestionTextColor:f,className:"mt-[0.25rem]"})]})]})}},10460:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(12115);let n="website",l={position:"absolute",left:"-9999px",opacity:0,pointerEvents:"none"},i=e=>{let{disableHoneypot:t=!1}=e||{},r=(0,a.useRef)(null),i=(0,a.useRef)(null),o=(0,a.useRef)(null),s=(0,a.useCallback)(e=>{e.formData.delete(n)},[]),c=(0,a.useCallback)(e=>{if(r.current===e)return;if(r.current){var a;r.current.removeEventListener("formdata",s),null==(a=i.current)||a.remove(),i.current=null,r.current=null}if(!e||(r.current=e,t))return;let o=document.createElement("input");o.type="text",o.name=n,o.tabIndex=-1,o.setAttribute("autocomplete","off"),o.setAttribute("aria-hidden","true"),Object.assign(o.style,l),e.prepend(o),i.current=o,e.addEventListener("formdata",s)},[t,s]),d=(0,a.useCallback)(()=>{null===o.current&&(o.current=Date.now())},[]),m=(0,a.useCallback)(()=>{var e,t;let r=null!=(t=null==(e=i.current)?void 0:e.value)?t:"",a=null!==o.current&&Date.now()-o.current<1e3;return!!r||a},[]),u=(0,a.useCallback)(()=>{let e=r.current?new FormData(r.current):new FormData;return e.delete(n),e},[]),h=(0,a.useCallback)(()=>{let e={};return u().forEach((t,r)=>{e[r]=t}),e},[u]);return{formRef:c,recordKeystroke:d,isLikelyBot:m,getFormData:u,getFormValues:h}}},25817:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(95155),n=r(69260);function l(e,t,r,l,i){var o,s;if(!e)return null;switch(e.variant){case"primary":case"secondary":return(0,a.jsx)(n.A,{...e,className:r,role:l,tabIndex:i},null!=(o=e.id)?o:"cta-item-".concat(e.url));case"link":return(0,a.jsx)(n.A,{...e,color:t,className:r,role:l,tabIndex:i},null!=(s=e.id)?s:"cta-item-".concat(e.url));default:return null}}},39292:(e,t,r)=>{r.d(t,{y:()=>o,c1:()=>d,cJ:()=>s,DT:()=>c});var a=r(54879);let n={"gmila.com":"gmail.com","gmial.com":"gmail.com","gmai.com":"gmail.com","gmil.com":"gmail.com","yaho.com":"yahoo.com","yahooo.com":"yahoo.com","yhoo.com":"yahoo.com","yaoo.com":"yahoo.com","yhaoo.com":"yahoo.com","hotmial.com":"hotmail.com","hotmil.com":"hotmail.com","hotmai.com":"hotmail.com","hotmaill.com":"hotmail.com","outlok.com":"outlook.com","outloo.com":"outlook.com","outloook.com":"outlook.com","iclou.com":"icloud.com","icoud.com":"icloud.com","iclod.com":"icloud.com","aol.cm":"aol.com","aoll.com":"aol.com","gmail.cmo":"gmail.com","gmail.con":"gmail.com","yahoo.cmo":"yahoo.com","yahoo.con":"yahoo.com"},l=new Set(["mailinator.com","temp-mail.org","guerrillamail.com","10minutemail.com","throwaway.email","tempmail.com","maildrop.cc","getnada.com","trashmail.com","fakeinbox.com","yopmail.com","dispostable.com","throwawaymail.com","mintemail.com","mailnesia.com","sharklasers.com","guerrillamailblock.com","spam4.me","getairmail.com","mytemp.email","mailsac.com","ethereal.email","mailtrap.io","burnermail.io","emailondeck.com","33mail.com","spamgourmet.com","tempinbox.com","emailtemporanea.com","mohmal.com"]),i=a.Yj().email(),o={required:"Email is required",invali
1d:"Enter an email address in the format [email protected]."},s=e=>i.safeParse(null==e?void 0:e.trim()).success,c=e=>{let t=(null==e?void 0:e.trim())||"";if(!t)return{isValid:!1,error:o.required};if(!s(t))return{isValid:!1,error:o.invalid};let r=t.lastIndexOf("@");if(-1===r)return{isValid:!1,error:o.invalid};let a=t.substring(r+1),i=t.substring(0,r),c=n[a.toLowerCase().trim()]||null;if(c){let e="".concat(i,"@").concat(c);return{isValid:!1,error:"Did you mean ".concat(e,"?"),suggestion:c,suggestedEmail:e}}return(e=>{let t=e.toLowerCase().trim();return l.has(t)})(a)?{isValid:!1,error:"Please use a permanent email address"}:{isValid:!0}},d=()=>a.Ik({email:a.Yj().min(1,{message:o.required}).email({message:o.invalid})})},41051:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(95155);r(12115);var n=r(2821);let l=(0,r(61949).tv)({base:"font-dmsans",variants:{Component:{p:"text-[1rem] leading-[1.4rem] xl:text-[1.125rem] xl:leading-[1.575rem] font-dmsans text-black font-medium",span:"",h1:"font-newspirit text-[3.375rem] leading-[3.34125rem] xl:text-[4.75rem] xl:leading-[5.1975rem] font-semibold",h2:"font-newspirit text-[1.875rem] leading-[2.0625rem] xl:text-[3.25rem] xl:leading-[3.4125rem]",h3:"font-newspirit text-[1.875rem] leading-[2.0625rem] font-medium",h4:"font-newspirit mb-[0.5rem] text-[1.125rem]",h5:"",h6:""},variant:{blog:"",default:""},font:{dmsans:"font-dmsans",newspirit:"font-newspirit"},color:{black:"text-black",white:"text-white"}},compoundVariants:[{Component:"h1",variant:"blog",className:"font-dmsans font-medium text-[1.375rem] leading-[1.4] xl:text-[2rem]"},{Component:"h2",variant:"blog",className:"font-dmsans font-semibold text-[1.375rem] leading-[1.4] xl:text-[1.375rem]"},{Component:"h3",variant:"blog",className:"font-dmsans font-semibold text-[1.125rem] leading-[1.4] xl:text-[1.125rem]"},{Component:"p",variant:"blog",className:"text-[1.125rem] leading-[1.8] xl:text-[1.125rem] xl:leading-[1.8] font-normal"}],defaultVariants:{Component:"p",variant:"default"}});function i(e){let{font:t,color:r,className:i,Component:o="p",renderAs:s,variant:c,children:d,...m}=e,u=s||o;return(0,a.jsx)(o,{className:(0,n.A)(l({Component:u,font:t,color:r,variant:c,className:i})),...m,children:d})}},51783:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(95155);r(12115);var n=r(2821),l=r(61949),i=r(75889);let o=(0,l.tv)({base:"flex",variants:{width:{fullWidth:"w-full",pageWidth:"lg:max-w-[90rem] md:max-w-[81rem] w-full",auto:"w-auto"},bgColor:{ivory:"bg-ivory-100",green:"bg-green-800",lightgreen:"bg-green-500",purple:"bg-purple-900",lightpurple:"bg-purple-500"}},defaultVariants:{width:"fullWidth"}});function s(e){let{children:t,className:r,Component:l="div",width:s,bgColor:c,...d}=e;return(0,a.jsx)(l,{className:(0,i.QP)((0,n.A)(o({width:s,bgColor:c}),r)),...d,children:t})}},71764:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(12115),n=r(39292);let l=()=>{let[e,t]=(0,a.useState)(""),[r,l]=(0,a.useState)(null),[i,o]=(0,a.useState)(null);return{emailValue:e,emailSuggestion:r,emailError:i,handleEmailChange:e=>{t(e.target.value),l(null),o(null)},handleAcceptSuggestion:()=>{r&&(t(r),l(null))},checkForSuggestion:e=>{let t=(null==e?void 0:e.trim())||"";if(!t||!t.includes("@"))return!0;let a=(0,n.DT)(t);return a.error&&!a.suggestedEmail&&a.error!==n.y.invalid&&a.error!==n.y.required?(o(a.error),!1):a.suggestedEmail&&!r?(l(a.suggestedEmail),!1):(r?l(null):o(null),!0)}}}},77050:(e,t,r)=>{r.d(t,{A:()=>l,c:()=>n});let a=["images.ctfassets.net","assets.ctfassets.net","downloads.ctfassets.net","d3v10vbp7h348s.cloudfront.net"].filter(Boolean),n=()=>{let e="d3v10vbp7h348s.cloudfront.net";return e?[...a,e]:[...a]};function l(e){let{src:t,width:r,quality:a}=e;try{let e=new URL(t),{hostname:l}=e;if(n().some(e=>l===e||l.endsWith(".".concat(e)))){if(e.searchParams.set("w",String(r)),"number"==typeof a){let t=Math.min(100,Math.max(1,a));e.searchParams.set("q",String(t))}return e.searchParams.has("fm")||e.searchParams.set("fm","webp"),e.toString()}return t}catch(e){return t}}},82810:(e,t,r)=>{r.d(t,{p:()=>s,K:()=>m});var a=r(95155);r(12115);var n=r(75889),l=r(51783),i=r(41051),o=r(94893);function s(e){let{label:t,id:r,value:s,inputName:c,containerClassName:d,error:m,inputClassName:u,labelClassName:h,errorClassName:f,note:x,placeholder:p,required:g=!1,invalid:b,ariaDescribedBy:v,type:w="text",changeHandler:y,onBlur:j}=e,N="".concat(r,"-label"),A="".concat(r,"-error"),C="".concat(r,"-note"),k=[x?C:void 0,m?A:void 0,v].filter(
1Boolean).join(" ");return(0,a.jsxs)(l.A,{className:(0,n.QP)("mb-[0.75rem] flex-col",d),children:[(0,a.jsxs)("label",{htmlFor:r,className:(0,n.QP)("mb-[0.25rem] font-dmsans text-[1rem] font-[600] leading-[1.25rem]",h),children:[(0,a.jsx)("span",{id:N,children:t}),g&&(0,a.jsx)("span",{"aria-hidden":"true",children:" (required)"})]}),x&&(0,a.jsx)(i.A,{id:C,Component:"span",className:"mb-[0.25rem] font-dmsans text-[1rem] font-[400] leading-[1.25rem]",children:x}),(0,a.jsx)("input",{onChange:y,onBlur:j,id:r,className:(0,n.QP)("rounded-[0.4rem] border-2 border-ivory-300 p-[.5rem] font-dmsans text-[1rem] outline-none placeholder:text-[#737373] md:rounded-[0.7rem] md:px-[1rem] md:py-[0.88rem]",u),type:w,name:c,value:s,required:g,"aria-labelledby":N,"aria-invalid":(null!=b?b:!!m)?"true":"false","aria-describedby":k||void 0,placeholder:p}),m&&(0,a.jsxs)(i.A,{id:A,role:"alert",className:(0,n.QP)("inline-flex items-center text-[1rem] leading-[1rem] text-red-800 md:text-[1rem] xl:text-[1rem] min-h-[20px] mt-[0.25rem]",f),children:[(0,a.jsx)(o.A,{}),m]})]})}var c=r(2821),d=r(90552);function m(e){let{id:t,label:r,note:n,containerClassName:s,labelClassName:m,selectContainerClassName:u,error:h,...f}=e,x="".concat(t,"-error");return(0,a.jsxs)(l.A,{className:(0,c.A)("mb-[0.75rem] flex-col",s),children:[(0,a.jsx)("label",{htmlFor:t,className:(0,c.A)("mb-[0.25rem] font-dmsans text-[1rem] font-[600] leading-[1.25rem]",m),children:r}),n&&(0,a.jsx)(i.A,{Component:"span",className:"mb-[0.25rem] font-dmsans text-[1rem] font-[400] leading-[1.25rem]",children:n}),(0,a.jsx)(d.A,{...f,"aria-describedby":h?x:void 0,"aria-invalid":!!h,containerClassName:u}),h&&(0,a.jsxs)(i.A,{id:x,role:"alert","aria-live":"polite",className:"inline-flex items-center text-[1rem] leading-[1rem] text-red-800 md:text-[1rem] xl:text-[1rem] min-h-[20px]",children:[(0,a.jsx)(o.A,{}),h]})]})}},90552:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(95155),n=r(12115),l=r(47650),i=r(2821),o=r(75889);let s=(0,n.forwardRef)((e,t)=>{let{options:r,selectedValues:s,onChange:c,closeOnSelect:d,placeholder:m="Select options...",searchPlaceholder:u="Search options...",maxHeight:h="200px",containerClassName:f,placeHolderClassName:x,disableClear:p,disableSearch:g=!1,"aria-describedby":b,"aria-invalid":v,"aria-labelledby":w,"aria-required":y}=e,[j,N]=(0,n.useState)({isOpen:!1,searchTerm:""}),A=(0,n.useRef)(null),C=(0,n.useRef)(null),k=(0,n.useRef)(null),E=(0,n.useRef)(null),L=n.useId(),[R,O]=(0,n.useState)(null),P=r.filter(e=>{let{label:t}=e;return t.toLowerCase().includes(j.searchTerm.toLowerCase())}),S=r.filter(e=>{let{value:t}=e;return s.includes(t)}),T=e=>{if(d&&N({isOpen:!1,searchTerm:""}),s.includes(e))return void c(s.filter(t=>t!==e));c([...s,e])},D=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];N(e=>({...e,isOpen:!1,searchTerm:""})),e&&requestAnimationFrame(()=>{C.current&&C.current.focus()})},[]);(0,n.useEffect)(()=>{let e=e=>{var t,r;let a=e.target,n=null==(t=A.current)?void 0:t.contains(a),l=null==(r=E.current)?void 0:r.contains(a);n||l||N({isOpen:!1,searchTerm:""})},t=e=>{"Escape"===e.key&&j.isOpen&&(e.preventDefault(),D(!0))};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("keydown",t)}},[j.isOpen,D]),(0,n.useEffect)(()=>{if(j.isOpen&&A.current){let e=A.current.getBoundingClientRect();O({top:e.bottom+6,left:e.left,width:e.width})}},[j.isOpen]),(0,n.useEffect)(()=>{j.isOpen&&R&&k.current&&requestAnimationFrame(()=>{k.current&&k.current.focus()})},[j.isOpen,R]),(0,n.useEffect)(()=>{if(!j.isOpen)return;let e=()=>{if(!A.current)return;let e=A.current.getBoundingClientRect();O({top:e.bottom+6,left:e.left,width:e.width})};return window.addEventListener("resize",e),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[j.isOpen]);let I=()=>{N(e=>({isOpen:!e.isOpen,searchTerm:e.isOpen?e.searchTerm:""}))};return(0,n.useImperativeHandle)(t,()=>({close:D})),(0,a.jsxs)("div",{ref:A,className:"relative w-full",children:[(0,a.jsx)("div",{ref:C,"data-testid":"select-combobox",className:(0,i.A)("min-h-[42px] border border-gray-300 rounded-lg bg-white cursor-pointer",j.isOpen&&"ring-2 ring-blue-500 border-blue-500",f),role:"combobox","aria-expanded":j.isOpen,"aria-haspopup":"listbox","aria-controls":j.isOpen?L:void 0,"aria-describedby":b,"aria-invalid":v,"aria-labelledby":w,"aria-required":y,tabIndex:0,onKeyDown:e=>{"Enter"===e.key?I():"Escape"===e.key&&j.isOpen&&(e.preventDefault(),D(!0))},onClick:I,children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-1 p-2",children:[(0,a.jsx)("div",{className:"flex-1 flex flex-wrap gap-1 min-h-[26px] overflow-hidden",children:0===S.length?(0,a.jsx)("span",{className:"text-gray-500 py-1 truncate",children:m}):S.map(e=>(0,a.jsxs)("div",{className:"inline-flex items-center gap-1 px-2 py-1 rounded overflow-hidden",children:[(0,a.jsx)("span",{className:(0,o.QP)("text-black text-sm truncate",x),children:e.label}),!p&&(0,a.jsx)("button",{"data-testid":"clear_button","aria-label":"Clear value",type:"button",onClick:t=>{var r;return r=e.value,void(!p&&(t.stopPropagation(),c(s.filter(e=>e!==r))))},className:"hover:bg-blue-200 rounded-full p-0.5",children:(0,a.jsx)("svg",{width:"8",he
1ight:"8",viewBox:"0 0 8 8",fill:"currentColor",children:(0,a.jsx)("path",{d:"M1 1l6 6M7 1L1 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},e.value))}),(0,a.jsx)("div",{children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",className:"text-gray-500 transition-transform ".concat(j.isOpen?"rotate-180":""),fill:"currentColor",children:(0,a.jsx)("path",{d:"M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.25a.75.75 0 01-1.06 0L5.23 8.29a.75.75 0 01.02-1.06z"})})})]})}),j.isOpen&&R&&(0,l.createPortal)((0,a.jsxs)("div",{"data-testid":"select-dropdown",ref:E,id:L,role:"listbox",className:"fixed z-50 bg-white border border-gray-300 rounded-lg shadow-lg",style:{top:R.top,left:R.left,width:R.width},children:[g?null:(0,a.jsx)("div",{className:"p-2 border-b border-gray-200",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("svg",{width:"16",height:"16",className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 16 16",children:[(0,a.jsx)("circle",{cx:"6.5",cy:"6.5",r:"4.5"}),(0,a.jsx)("path",{d:"M13 13l-3-3"})]}),(0,a.jsx)("input",{ref:k,type:"text","aria-label":u,value:j.searchTerm,onChange:e=>N(t=>({...t,searchTerm:e.target.value})),onKeyDown:e=>{"Escape"===e.key&&(e.preventDefault(),D(!0))},placeholder:u,className:"w-full pl-9 pr-3 py-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"})]})}),(0,a.jsx)("div",{className:"overflow-y-auto",style:{maxHeight:h},children:0===P.length?(0,a.jsx)("div",{className:"p-3 text-gray-500 text-center",children:j.searchTerm?"No options found":"No options available"}):P.map(e=>{let t=s.includes(e.value);return(0,a.jsxs)("div",{"data-testid":"select-option-".concat(e.value),role:"option","aria-selected":t,tabIndex:0,className:(0,i.A)("p-3 gap-2 cursor-pointer hover:bg-gray-50 flex items-center justify-between",t?"bg-blue-50 text-blue-700":""),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),T(e.value))},onClick:()=>T(e.value),children:[(0,a.jsx)("span",{children:e.label}),t&&(0,a.jsx)("div",{className:"w-4 h-4 bg-blue-600 rounded-full flex items-center justify-center shrink-0",children:(0,a.jsx)("div",{className:"w-2 h-2 bg-white rounded-full"})})]},e.value)})})]}),document.body)]})})},91320:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});var a=r(95155);r(12115);var n=r(98662),l=r(77050);function i(e){let{src:t,alt:r="",imageType:i,...o}=e,s=(e=>{if("string"!=typeof e)return!1;try{let{hostname:t}=new URL(e);return(0,l.c)().some(e=>t===e||t.endsWith(".".concat(e)))}catch(e){return!1}})(t),c="thumbnail"===i,d=s&&!c?l.A:void 0;return(0,a.jsx)(n.A,{...o,src:t,alt:r||"",imageType:i,loader:d,unoptimized:!s})}},93518:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(95155);r(12115);var n=r(2821),l=r(41051);function i(e){let{suggestedEmail:t,onAccept:r,className:i,suggestionTextColor:o="text-blue-950"}=e;return t?(0,a.jsxs)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:i,children:[(0,a.jsxs)("span",{className:"sr-only",children:["Did you mean ",t,"? A suggestion is available. You can use this suggestion or submit again to continue with your original email."]}),(0,a.jsxs)(l.A,{className:(0,n.A)("text-[1rem] font-medium",o),"aria-hidden":"true",children:["Did you mean ",t,"?"]}),(0,a.jsx)("button",{type:"button",onClick:r,className:(0,n.A)("underline text-[1rem] hover:opacity-80 focus:opacity-80 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-opacity duration-200 font-medium rounded",o),"aria-label":"Use suggested email ".concat(t," instead"),children:"Use it instead."})]}):null}},94102:(e,t,r)=>{r.r(t),r.d(t,{LOADING_TIMEOUT_MS:()=>s,default:()=>c});var a=r(95155),n=r(12115),l=r(51783),i=r(52827);let o="https://datawrapper.dwcdn.net",s=7e3;function c(e){let{chartId:t,chartVersion:r,title:c,ariaLabel:d,__typename:m,sys:u,sectionId:h,inline:f=!1}=e,x=c||"Data visualization",p=(0,n.useRef)(null),g="".concat(m.toLowerCase(),"-").concat(null==u?void 0:u.id).concat(h?"-".concat(h):""),[b,v]=(0,n.use
1State)(!1),[w,y]=(0,n.useState)(!0),[j,N]=(0,n.useState)(!1),{isMobile:A,isTablet:C,isDesktop:k}=function(){let e=(0,i.Ub)({query:"(max-width: 768px)"});return{isMobile:e,isTablet:(0,i.Ub)({query:"(max-width: 1024px) and (min-width: 769px)"}),isDesktop:(0,i.Ub)({query:"(min-width: 1025px)"})}}(),E=(0,n.useRef)(!0),L=(0,n.useRef)(0),R=(0,n.useRef)(!1),O=(0,n.useRef)(null),P="".concat(o,"/").concat(t,"/").concat(r||1,"/"),{ref:S}=((e,t)=>{let r=(0,n.useRef)(null),a=(0,n.useRef)(e),l=(0,n.useRef)(t),i=(0,n.useRef)(null);return(0,n.useLayoutEffect)(()=>{a.current=e}),(0,n.useEffect)(()=>{var e;let t=r.current;if(!t)return;let{once:n,...o}=null!=(e=l.current)?e:{},s=new IntersectionObserver(e=>{let[t]=e;a.current(t.isIntersecting),n&&t.isIntersecting&&(s.disconnect(),i.current=null)},o);return i.current=s,s.observe(t),()=>{s.disconnect(),i.current=null}},[]),{ref:r,disconnect:(0,n.useCallback)(()=>{var e;null==(e=i.current)||e.disconnect(),i.current=null},[])}})(e=>{e&&(v(!0),O.current=setTimeout(()=>{R.current||(N(!0),y(!1))},s))},{rootMargin:"300px",once:!0});if((0,n.useEffect)(()=>()=>{O.current&&clearTimeout(O.current)},[]),(0,n.useEffect)(()=>{var e;E.current=!0,(null==(e=p.current)?void 0:e.contentWindow)&&window.dispatchEvent(new Event("resize"))},[A,C,k]),(0,n.useEffect)(()=>{let e=e=>{if(!E.current||!p.current||e.origin!==o||!("object"==typeof e.data&&null!==e.data&&"datawrapper-height"in e.data)||p.current.contentWindow!==e.source)return;let r=e.data["datawrapper-height"];if(!r||"object"!=typeof r)return;let a=r[t];"number"==typeof a&&a>0&&p.current&&(O.current&&clearTimeout(O.current),a!==L.current&&(p.current.style.height="".concat(a,"px"),L.current=a,y(!1)),R.current=!0,E.current=!1)};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[P,t]),j)return null;let T=f?"span":"div";return(0,a.jsx)(T,{ref:e=>{S.current=e},className:f?"block":void 0,children:(0,a.jsxs)(l.A,{Component:T,id:g,className:"my-[1rem] w-full relative",children:[w&&(0,a.jsx)(T,{className:"absolute inset-0 bg-gray-50 z-10 animate-pulse","aria-label":"Loading chart",role:"status",children:(0,a.jsxs)(T,{className:"h-full flex flex-col p-4 md:p-6",children:[(0,a.jsx)(T,{className:"h-6 w-3/4 bg-gray-200 rounded mb-4"}),(0,a.jsxs)(T,{className:"flex-1 flex items-end gap-2 md:gap-3",children:[(0,a.jsx)(T,{className:"flex-1 h-2/3 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-4/5 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-1/2 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-3/4 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-full bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-5/6 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-2/3 bg-gray-200 rounded"}),(0,a.jsx)(T,{className:"flex-1 h-4/5 bg-gray-200 rounded"})]})]})}),(0,a.jsx)("iframe",{ref:p,title:x,"aria-label":d||x,"aria-hidden":!!w||void 0,tabIndex:w?-1:void 0,src:b?P:void 0,height:400,allow:"fullscreen",referrerPolicy:"strict-origin-when-cross-origin",style:{border:"none",minWidth:"100%",opacity:+!w,transition:"opacity 0.2s ease-in-out"}})]})})}},94893:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(95155);function n(e){let{color:t="#991B1B"}=e;return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 25 25",fill:"none",children:(0,a.jsx)("path",{d:"M13.4903 12.8359L19.9297 6.39651L18.8691 5.33594L12.4297 11.7754L5.99041 5.33594L4.92969 6.39651L11.3691 12.8359L4.92969 19.2754L5.99041 20.3359L12.4297 13.8965L18.8691 20.3359L19.9297 19.2754L13.4903 12.8359Z",fill:t})})}},98404:(e,t,r)=>{r.d(t,{A:()=>f});var a=r(95155),n=r(12115),l=r(2821),i=r(75889),o=r(82810),s=r(41051),c=r(94893),d=r(51783),m=r(10460);let u={PRIMARY:"primary",SECONDARY:"secondary",OUTLINE:"outline"},h={light:{className:"text-red-800",iconColor:"#991B1B"},dark:{className:"text-red-400",iconColor:"#F87171"}};function f(e){let{onSubmit:t,onChange:r,buttonText:f,value:x,error:p,label:g="Email",variant:b=u.PRIMARY,disableHoneypot:v=!1,errorTone:w="light",placeholder:y,labelClassName:j,buttonClassName:N}=e,A=(0,n.useId)(),{formRef:C,recordKeystroke:k,isLikelyBot:E}=(0,m.A)({disableHoneypot:v}
1),[L,R]=(0,n.useState)(!1),O=b===u.PRIMARY,P=b===u.SECONDARY,S=b===u.OUTLINE,T="".concat(A,"-email"),D="".concat(T,"-error"),I=h[w],M=(0,n.useCallback)(e=>{k(),r(e)},[r,k]),q=(0,n.useCallback)(async e=>{R(!0);try{await t(e,E())}finally{R(!1)}},[t,E]);return(0,a.jsxs)("form",{ref:C,className:"w-full flex flex-col",onSubmit:q,noValidate:!0,children:[(0,a.jsxs)(d.A,{children:[(0,a.jsx)(o.p,{type:"email",id:T,inputName:"email",label:g,placeholder:y,value:x,changeHandler:M,required:!0,invalid:!!p,ariaDescribedBy:p?D:void 0,labelClassName:(0,i.QP)("whitespace-nowrap text-white",j),inputClassName:(0,l.A)("w-full md:rounded-[0px] rounded-[0px] md:rounded-tl-[5px] rounded-tl-[5px] md:rounded-bl-[5px] rounded-bl-[5px] h-[57px] border-r-0 placeholder:text-[#97939F] font-medium",{"bg-transparent placeholder:text-green-200 border-green-200":S,"placeholder:text-[#97939F]":!S}),containerClassName:"mb-0"}),(0,a.jsx)("button",{type:"submit",disabled:L,"aria-busy":L,"aria-label":f?void 0:"Submit email",className:(0,i.QP)((0,l.A)("min-h-[57px] self-end shrink-0 rounded-tr-[5px] rounded-br-[5px] px-[1.2rem] py-[0.75rem] text-white cursor-pointer font-dmsans disabled:opacity-70 disabled:cursor-not-allowed",{"bg-blue-900":O||S,"bg-black":P,"text-[1.125rem] font-semibold leading-[1.4]":f,"text-[1.5rem]":!f}),N),children:f||"→"})]}),p&&(0,a.jsxs)(s.A,{id:D,className:(0,i.QP)("inline-flex items-center text-[1rem] leading-[1rem] md:text-[1rem] xl:text-[1rem] min-h-[20px] mt-[0.25rem]",I.className),role:"alert",children:[(0,a.jsx)(c.A,{color:I.iconColor}),p]})]})}},98662:(e,t,r)=>{r.d(t,{A:()=>m});var a=r(95155);r(12115);var n=r(15239),l=r(61949),i=r(2821),o=r(77050);let s=[400,640,800],c=(0,l.tv)({variants:{variant:{rounded:"rounded-[1rem]",unrounded:"rounded-[0]"}},defaultVariants:{variant:"rounded"}}),d={hero:{maxWidth:1920,maxHeight:1200},gallery:{maxWidth:1600,maxHeight:1200},listing:{maxWidth:1200,maxHeight:900},thumbnail:{maxWidth:800,maxHeight:800}};function m(e){var t,r,l;let{children:m,variant:u,className:h,unoptimized:f,src:x,maxWidth:p=1536,imageType:g="listing",sizes:b,width:v,height:w,quality:y,fetchPriority:j,loader:N,...A}=e,{maxWidth:C,maxHeight:k}=null!=(t=d[g])?t:{maxWidth:p,maxHeight:1600},E=Math.min(C,2400,p),L=Math.min(k,1600),R="thumbnail"===g,O=R?((e,t,r)=>{if("string"!=typeof e)return{src:e,unoptimized:!1};try{let{hostname:a}=new URL(e);if(!(0,o.c)().some(e=>a===e||a.endsWith(".".concat(e))))return{src:e,unoptimized:!1};let n=r||80,l=[...s].map(e=>Math.min(e,t)).filter((e,t,r)=>r.indexOf(e)===t),i=l.map(t=>"".concat((0,o.A)({src:e,width:t,quality:n})," ").concat(t,"w")).join(", ");return{src:(0,o.A)({src:e,width:l[l.length-1],quality:n}),srcSet:i,unoptimized:!0}}catch(t){return{src:e,unoptimized:!1}}})(x,E,"number"==typeof y?y:void 0):null,P=O&&O.srcSet,S=P?O.src:x,T=P?O.unoptimized:f,D=null==O?void 0:O.srcSet,I=(e,t)=>"number"==typeof e&&"number"==typeof t&&e>t?t:e,{width:M,height:q}=(r="number"==typeof v?v:void 0,l="number"==typeof w?w:void 0,r&&l?((e,t)=>{var r,a;let n=e<=E?{width:e,height:t}:{width:E,height:Math.round(E/e*t)};return r=n.width,(a=n.height)<=L?{width:r,height:a}:{width:Math.round(L/a*r),height:L}})(r,l):{width:I(r,E),height:I(l,L)}),z=()=>{if(b)return b;switch(g){case"hero":return"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, ".concat(Math.min(1280,E),"px");case"gallery":case"listing":return"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, ".concat(Math.min(800,E),"px");case"thumbnail":return"(max-width: 768px) 100vw, ".concat(Math.min(400,E),"px");default:return"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, ".concat(E,"px")}};if(R&&D){let e="string"==typeof S?S:"";return(0,a.jsx)("img",{alt:A.alt||"",src:e,srcSet:D,sizes:z(),width:M,height:q,loading:A.loading||"lazy",fetchPriority:j,className:(0,i.A)(c({variant:u}),h)})}return(0,a.jsx)(n.default,{...A,alt:A.alt||"",loader:N,quality:(()=>{if(y)return Number(y);switch(g){case"hero":case"gallery":return 85;default:return 80}})(),unoptimized:T,fetchPriority:j,width:M,height:q,src:S,sizes:z(),className:(0,i.A)(c({variant:u}),h),children:m})}}}]);

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.