PageSourceSearch

https://stackoverflow.co/public/product/BSPtUuFC.js

js stackoverflow.co collected 2026-10-01 06:46:02 UTC 1,650 bytes, 1 lines download raw bytes

1import{F as e,Lt as t,Rt as n,_ as r,ct as i,d as a,f as o,gt as s,l as c,rt as l,v as u}from"./Ca5AV-z9.js";import{t as d}from"./mtRiKlzt2.js";import{t as f}from"./DvbEX6NO.js";import{t as p}from"./DYm3SZCq.js";var m={class:`bg-off-white overflow-hidden mb24 sm:mb0 bs-none p16`},h={class:`ff-stack-sans-headline fs-title mb12`},g={class:`fs-body2`},_={key:0,class:`pb2`},v={key:3,class:`fs-body2 d-flex`},y={__name:`ResourcesRegisterForm`,props:{primaryInterest:{type:String,required:!1,default:null},title:{type:String,required:!1,default:`Stay updated`},body:{type:String,required:!1,default:`Receive content, productivity tips, and product news direct to your inbox.`}},setup(y){let b=i(!1),x=i(!0);return(i,S)=>{let C=d;return e(),o(`div`,m,[c(`h3`,h,[u(s(p),{class:`float-right mt4`}),r(` `+n(y.title),1)]),c(`div`,g,[s(b)?a(``,!0):(e(),o(`p`,_,n(y.body),1)),s(x)?(e(),o(`button`,{key:1,"data-testid":`button-sidebar-newsletter`,onClick:S[0]||=e=>l(x)?x.value=!1:x=!1,class:`s-btn s-btn--dark py8 w100 fw-bold`},` Receive updates `)):a(``,!0),s(b)?a(``,!0):(e(),o(`div`,{key:2,class:`newsletter__form overflow-hidden px12 mln12 mrn12`,style:t(`max-height: ${s(x)?`0px`:`1000px`}; opacity: ${s(x)?`0`:`1`}`)},[u(C,{theme:`compact`,inline:!0,cta:`Receive updates`,"form-name":`global-email-subscribe`,"primary-interest":y.primaryInterest,onSuccess:S[1]||=e=>l(b)?b.value=!0:b=!0},null,8,[`primary-interest`])],4)),s(b)?(e(),o(`div`,v,[u(s(f),{class:`mb12 fl-shrink0 mr8 fc-green-400`}),S[2]||=c(`div`,null,[c(`strong`,null,`Success!`),r(` Thank you for signing up, keep an eye on your inbox for updates.`)],-1)])):a(``,!0)])])}}};export{y as 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.