1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="913034b9-b561-4969-8c03-3bca781e5974",e._sentryDebugIdIdentifier="sentry-dbid-913034b9-b561-4969-8c03-3bca781e5974")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5114,5737],{15737:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var l=o(54568),r=o(7620),n=o(77289),s=o(97743),a=o(20128),i=o(29837),c=o(86670),d=o(77168);function u(e){let{config:t}=e,{subscribersEnabled:o,httpPost:u,subscriberSubmitUrl:b,t:g}=(0,s.b)(),m=(0,a.Zx)(),v=!!m,x=(e,o)=>{var l;return null==m||null==(l=m.onUpdateConfig)?void 0:l.call(m,{...t,[e]:o})},f=(e,o)=>{var l;return null==m||null==(l=m.onUpdateConfig)?void 0:l.call(m,(0,d.dE)(t,e,o))},[h,p]=(0,r.useState)(""),[y,C]=(0,r.useState)(!1),[j,N]=(0,r.useState)(!1),[k,S]=(0,r.useState)(null);if(!o&&!v)return null;let w=async e=>{if(e.preventDefault(),!v&&h.trim())try{C(!0),S(null),await u(b,{email:h.trim()}),N(!0)}catch(e){var t,o;S((null==(o=e.response)||null==(t=o.data)?void 0:t.message)||g("sections.newsletter.errorSubscribeFailed","Failed to subscribe"))}finally{C(!1)}};return(0,l.jsx)(c.A,{backgroundImage:t.backgroundImage,className:"py-16 px-6",style:{backgroundColor:"var(--site-color-fg)",color:"var(--site-color-bg)"},children:(0,l.jsxs)("div",{className:"max-w-xl mx-auto text-center",children:[(0,l.jsx)(i.A,{as:"h2",value:t.heading,onChange:e=>x("heading",e),className:"text-2xl font-bold mb-2",style:{color:(0,d.Nx)(t,"heading","--site-color-bg")},placeholder:"Heading...",maxLength:200,rich:!0,colorKey:"heading",colorValue:(0,d.sT)(t,"heading"),themeColor:"var(--site-color-bg)",onChangeColor:v?e=>f("heading",e):void 0,onResetColor:v?()=>f("heading",void 0):void 0}),(0,l.jsx)(i.A,{as:"p",value:t.description,onChange:e=>x("description",e),className:"text-sm mb-6 whitespace-pre-wrap",style:{color:(0,d.sT)(t,"description")||"color-mix(in srgb, var(--site-color-bg) 70%, var(--site-color-fg))"},placeholder:"Description...",maxLength:1e3,rich:!0,colorKey:"description",colorValue:(0,d.sT)(t,"description"),themeColor:"color-mix(in srgb, var(--site-color-bg) 70%, var(--site-color-fg))",onChangeColor:v?e=>f("description",e):void 0,onResetColor:v?()=>f("description",void 0):void 0}),j?(0,l.jsxs)("div",{className:"flex items-center justify-center gap-2 text-emerald-600",children:[(0,l.jsx)(n.A,{className:"w-5 h-5"}),(0,l.jsx)("span",{className:"text-sm font-medium",children:g("sections.newsletter.success","Subscribed! Check your inbox.")})]}):(0,l.jsxs)("form",{onSubmit:w,className:"flex items-center gap-2 max-w-sm mx-auto",children:[(0,l.jsx)("input",{type:"email",value:h,onChange:e=>p(e.target.value),placeholder:g("sections.newsletter.emailPlaceholder","Enter your email"),required:!v,disabled:v,className:"flex-1 px-4 py-2.5 rounded-xl border text-sm placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500/40 disabled:opacity-70",style:{borderColor:"color-mix(in srgb, var(--site-color-bg) 20%, transparent)",backgroundColor:"color-mix(in srgb, var(--site-color-bg) 12%, transparent)",color:"var(--site-color-bg)"}}),v?(0,l.jsx)(i.A,{as:"div",value:t.buttonLabel,onChange:e=>x("buttonLabel",e),defaultValue:"Subscribe",placeholder:"Subscribe",maxLength:60,className:"px-5 py-2.5 rounded-xl text-sm font-semibold shrink-0 cursor-text",style:{backgroundColor:"var(--site-color-bg)",color:(0,d.Nx)(t,"buttonLabel","--site-color-fg")},colorKey:"buttonLabel",colorValue:(0,d.sT)(t,"buttonLabel"),themeColor:"var(--site-color-fg)",onChangeColor:e=>f("buttonLabel",e),onResetColor:()=>f("buttonLabel",void 0)}):(0,l.jsx)("button",{type:"submit",disabled:y,className:"px-5 py-2.5 rounded-xl text-sm font-semibold transition-opacity hover:opacity-90 disabled:opacity-100 shrink-0",style:{backgroundColor:"var(--site-color-bg)",color:(0,d.Nx)(t,"buttonLabel","--site-color-fg")},children:y?"...":t.buttonLabel||g("sections.newsletter.subscribe","Subscribe")})]}
1),k&&(0,l.jsx)("p",{className:"text-xs text-red-500 mt-2",children:k})]})})}},65159:(e,t,o)=>{o.d(t,{A:()=>a});var l=o(54568);o(7620);var r=o(97743),n=o(75415);let s={"to-r":"to right","to-l":"to left","to-b":"to bottom","to-t":"to top","to-br":"to bottom right","to-bl":"to bottom left","to-tr":"to top right","to-tl":"to top left"};function a(e){var t,o;let{backgroundImage:a,showFade:i=!0,showNoise:c=!0}=e,{getImageUrl:d}=(0,r.b)(),u=a||{},b=u.type||"image",g="image"===b&&u.url?d(u.url):null,m=null!=(t=u.opacity)?t:.1;return(0,l.jsxs)("div",{className:"absolute inset-0 z-0",children:["image"===b&&g&&(0,l.jsx)(n.A,{src:g,alt:"",className:"w-full h-full grayscale-[20%]",style:{opacity:m,objectFit:u.fit||"cover",objectPosition:u.position||"50% 50%"}}),"solid"===b&&(0,l.jsx)("div",{className:"absolute inset-0",style:{backgroundColor:u.solidColor||"var(--site-color-fg)"}}),"gradient"===b&&(0,l.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(".concat(s[u.gradientDirection]||"to bottom right",", ").concat(u.gradientFrom||"var(--site-color-fg)",", ").concat(u.gradientTo||"var(--site-color-accent)",")")}}),u.overlayColor&&(0,l.jsx)("div",{className:"absolute inset-0 mix-blend-multiply",style:{backgroundColor:u.overlayColor,opacity:null!=(o=u.overlayOpacity)?o:.3}}),i&&(0,l.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to bottom, color-mix(in srgb, var(--site-color-bg) 80%, transparent), color-mix(in srgb, var(--site-color-bg) 50%, transparent), var(--site-color-bg))"}}),c&&(0,l.jsx)("div",{className:"absolute inset-0 bg-noise opacity-10 brightness-100 contrast-150"})]})}},75415:(e,t,o)=>{o.d(t,{A:()=>n});var l=o(54568),r=o(7620);function n(e){let{src:t,fallback:o=null,onError:n,alt:s="",...a}=e,[i,c]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{c(!1)},[t]),!t||i)?o:(0,l.jsx)("img",{...a,src:t,alt:s,onError:e=>{"function"==typeof n&&n(e),c(!0)}})}},77168:(e,t,o)=>{o.d(t,{Nx:()=>u,dE:()=>g,sT:()=>b});let l={heading:"headingColor",subheading:"subheadingColor"},r=[12,12,16];function n(e){if("string"!=typeof e)return;let t=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e.trim());if(!t)return;let o=t[1].length<=4?t[1].split("").map(e=>e+e).join(""):t[1];return[parseInt(o.slice(0,2),16),parseInt(o.slice(2,4),16),parseInt(o.slice(4,6),16),8===o.length?parseInt(o.slice(6,8),16)/255:1]}function s(e){let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4}function a(e){return .2126*s(e[0])+.7152*s(e[1])+.0722*s(e[2])}function i(e,t){return[e[0]*e[3]+t[0]*(1-e[3]),e[1]*e[3]+t[1]*(1-e[3]),e[2]*e[3]+t[2]*(1-e[3])]}function c(e,t,o){var s,c,d;if((null==o?void 0:o.templateId)!=="studio"||(null==e||null==(s=e.textColors)?void 0:s[t])!==void 0||(null==e||null==(c=e.textStyles)?void 0:c["".concat(t,"ColorMode")])==="custom")return!1;let u=l[t],b=u&&n(null==e||null==(d=e.textStyles)?void 0:d[u]);if(!b)return!1;let g=function(e){let t=null==e?void 0:e.backgroundImage,o=(null==t?void 0:t.type)==="solid"&&n(t.solidColor);return o?i(o,r):r}(e);return 4.5>function(e,t){let o=a(e),l=a(t);return(Math.max(o,l)+.05)/(Math.min(o,l)+.05)}(i(b,g),g)}function d(e,t){var o,l,r;return(null==e||null==(o=e.textStyles)?void 0:o.headingColor)==="#000000"&&(null==e||null==(l=e.textStyles)?void 0:l.subheadingColor)==="#4b5563"&&(!t||(null==e||null==(r=e.textStyles)?void 0:r["".concat(t,"ColorMode")])!=="custom")}function u(e,t,o,r){var n,s;let a=null==e||null==(n=e.textColors)?void 0:n[t];if(a)return a;let i=l[t];return i&&!d(e,t)&&!c(e,t,r)&&(null==e||null==(s=e.textStyles)?void 0:s[i])?e.textStyles[i]:"var(".concat(o,")")}function b(e,t,o){var r,n;let s=null==e||null==(r=e.textColors)?void 0:r[t];if(s)return s;let a=l[t];if(a&&!d(e,t)&&!c(e,t,o)&&(null==e||null==(n=e.textStyles)?void 0:n[a]))return e.textStyles[a]}function g(e,t,o){let r={...(null==e?void 0:e.textColors)||{}};o?r[t]=o:delete r[t];let n=null==e?void 0:e.textStyles;d(e)&&("custom"!==(n={...n}).headingColorMode&&delete n.headingColor,"custom"!==n.subheadingColorMode&&delete n.subheadingColor);let s=l[t];return s&&(null==n?void 0:n[s])!==void 0&&(n===(null==e?void 0:e.textStyles)&&(n={...n}),delete n[s]),{...e,textColors:r,...n!==(null==e?void 0:e.textStyles)?{textStyles:n}:{}}}},77289:(e,t,o)=>{o.d(t,{A:()=>l});let l=(0,o(82752).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},86670:(e,t,o)=>{o.d(t,{A:()=>s});var l=o(54568);o(7620);var r=o(65159),n=o(20128);function s(e){let{backgroundImage:t,as:o="section",className:s,style:a,children:i,showFade:c=!1,showNoise:d=!1,...u}=e,b=(0,n.tD)(),g=b?"background":void 0;return(e=>{if(!e)return!1;let t=e.type||"image";return"image"===t?!!e.url:"solid"===t?!!e.solidColor:"gradient"===t&&!!(e.gradientFrom||e.gradientTo)})(t)?(0,l.jsxs)(o,{className:"relative overflow-hidden ".concat(s||"").trim(),style:a,"data-ml-focus":g,...u,children:[(0,l.jsx)(r.A,{backgroundImage:t,showFade:c,showNoise:d}),(0,l.jsx)("div",{className:"relative z-10","data-ml-focus":b?"content":void 0,children:i})]}):(0,l.jsx)(o,{className:s,style:a,"data-ml-focus":g,...u,children:b?(0,l.jsx)("div",{"data-ml-focus":"content",style:{display:"contents"},children:i}):i}
1)}}}]);
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.