1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7076c0ca-0aac-522a-a394-5460f3d25fca")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2969],{10620:e=>{e.exports={root:"appFooter_root__uMc03",isBlueBackground:"appFooter_isBlueBackground__M8K9A",beforeMobile:"appFooter_beforeMobile__K_oRQ",rootApi:"appFooter_rootApi__IRPfE",logoIcon:"appFooter_logoIcon__e0xPw",logoFlexItem:"appFooter_logoFlexItem__QuTqw",logoWrapper:"appFooter_logoWrapper__6yO_g",logoWrapperApi:"appFooter_logoWrapperApi__6nL2W",linksWrapper:"appFooter_linksWrapper__kDOuv",logoFlexItemApi:"appFooter_logoFlexItemApi__f53TK",logoLinkWrapper:"appFooter_logoLinkWrapper__5tlQD",logoLinkWrapperApi:"appFooter_logoLinkWrapperApi__LWl1o",logoLink:"appFooter_logoLink__wdwdO",logoTitle:"appFooter_logoTitle__pZkWs",footerContent:"appFooter_footerContent__WTWHC",linksContent:"appFooter_linksContent__WhO83",linksList:"appFooter_linksList___5i42",linkBlog:"appFooter_linkBlog__XDSiq",link:"appFooter_link__esHIm",integrationTitle:"appFooter_integrationTitle__irusp",blogTitle:"appFooter_blogTitle__5_5rv",mainLink:"appFooter_mainLink__qzL5o",secondaryLink:"appFooter_secondaryLink__7xNd3",allLink:"appFooter_allLink__St_x4",arrowFigure:"appFooter_arrowFigure__nBwXi",arrowIcon:"appFooter_arrowIcon__lEE59",divider:"appFooter_divider__ZpZEs",pricing:"appFooter_pricing__mUpOh",top:"appFooter_top__ZELza",vertical:"appFooter_vertical__y5Leo",rightsList:"appFooter_rightsList__YS4MR",rightItem:"appFooter_rightItem__Syl6B",footerLink:"appFooter_footerLink__XOVtC",masonryLinks:"appFooter_masonryLinks__9P5o_",masonry:"appFooter_masonry__y8O7B",sectionClass:"appFooter_sectionClass__yAlxq"}},19736:e=>{e.exports={newsSubtitle:"headerSubtitle_newsSubtitle__cuVsA"}},23824:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n=i(94285),r=i(64870);i(67505);var l=i(7178),s=i(78585);let o=(0,l.n9)({name:"StyledSelect"})(e=>({root:{"&.MuiOutlinedInput-root":{"& > fieldset":{border:"1px solid #BEBEBE",borderRadius:e.shape.borderRadius},"&:hover > .MuiOutlinedInput-notchedOutline":{border:"1px solid #BEBEBE"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{border:"1px solid #BEBEBE"},"&.Mui-selected":{background:"#E7EFFF"}},"&.MuiFilledInput-root":{background:"white",border:"1px solid #BEBEBE",borderRadius:e.shape.borderRadius},"&.MuiFilledInput-root:hover > .MuiFilledInput-notchedOutline":{border:"1px solid #BEBEBE"},"&.MuiFilledInput-root.Mui-focused .MuiFilledInput-notchedOutline":{border:"1px solid #BEBEBE"}},altIcon:{"& .MuiSvgIcon-root":{padding:8}}})),a=function({className:e,altIcon:t,IconComponent:i,...l}){let{classes:a,cx:c}=o();return(0,n.jsx)(r.A,{...l,IconComponent:i||(t?s.A:void 0),className:c(a.root,{[a.altIcon]:t},e)})}},25839:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(94285);i(67505);var r=i(38110);function l(e){return(0,n.jsx)(r.A,{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",...e,children:(0,n.jsx)("path",{d:"M7.33333 18.6667C6.96667 18.6667 6.65278 18.5361 6.39167 18.275C6.13056 18.0139 6 17.7 6 17.3333V7.99999H7.33333V17.3333H14.6667V18.6667H7.33333ZM10 16C9.63333 16 9.31944 15.8694 9.05833 15.6083C8.79722 15.3472 8.66667 15.0333 8.66667 14.6667V6.66666C8.66667 6.29999 8.79722 5.98611 9.05833 5.72499C9.31944 5.46388 9.63333 5.33333 10 5.33333H16C16.3667 5.33333 16.6806 5.46388 16.9417 5.72499C17.2028 5.98611 17.3333 6.29999 17.3333 6.66666V14.6667C17.3333 15.0333 17.2028 15.3472 16.9417 15.6083C16.6806 15.8694 16.3667 16 16 16H10ZM10 14.6667H16V6.66666H10V14.6667Z",fill:"currentColor"})})}},26219:(e,t,i)=>{"use strict";i.d(t,{g:()=>s});var n=i(94285),r=i(70597);i(67505);let l=(0,i(7178).n9)()(e=>({steps:{display:"flex",flexDirection:"column",gap:32},step:{display:"flex",justifyContent:"space-between",gap:16," img":{maxWidth:260,objectFit:"scale-down"},"@media (max-width:600px)":{flexDirection:"column"}},stepWrapper:{display:"flex",gap:8,alignItems:"flex-start",marginTop:8},stepNumber:{marginBottom:16,background:e.palette.primary.main,borderRadius:"50%",minWidth:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"}})),s=({steps:e,paddingTop:t=32,stepGap:i})=>{let{classes:s}=l();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:s.steps,style:{paddingTop:t,gap:i},children:e.map(({title:e,imageUrl:t,width:i,height:l},o)=>(0,n.jsxs)("div",{className:s.step,children:[(0,n.jsxs)("div",{className:s.stepWrapper,children:[(0,n.jsx)(r.A,{component:"span",variant:"subtitle1",color:"common.white",className:s.stepNumber,children:o+1}),(0,n.jsx)(r.A,{variant:"subtitle1",fontWeight:500,mb:"8px",children:e})]}),(0,n.jsx)("img",{src:t,alt:"Telegram step",width:i||260,height:l})]},o))})})}},33457:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(94285),r=i(67505),l=i(95353);let s=r.forwardRef(({onFocus:e,onBlur:t,helperText:i,focused:s,...o},a)=>{let[c,d]=r.useState(!1);return(0,n.jsx)(l.A,{...o,focused:c,onFocus:t=>{e&&e(t),d(!0)},onBlur:e=>{t&&t(e),d(!1)},inputRef:a,helperText:c&&!s?void 0:i})})},34070:e=>{e.exports={steps:"integrationStepper_steps__mGhDG",sideDivider:"integrationStepper_sideDivider__GjI4M",divide:"integrationStepper_divide__vYwK5",stepsWrapper:"integrationStepper_stepsWrapper__XWGoD",step:"integrationStepper_step__gSFjR",stepTitle:"integrationStepper_stepTitle__Bg4AY",stepTitleActive:"integrationStepper_stepTitleActive__HG2oc",stepNumber:"integrationStepper_stepNumber__XPSWb",stepNumberActive:"integrationStepper_stepNumberActive__fb1_I",feedPreviewText:"integrationStepper_feedPreviewText__08jF_"}},35455:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(94285),r=i(99469);i(67505);let l=function(e){return(0,n.jsx)(r.A,{...e})}},42347:e=>{e.exports={layout:"marketingAlertsLayout_layout__MGglJ",footer:"marketingAlertsLayout_footer__pq556"}},45419:(e,t,i)=>{"use strict";i.d(t,{K:()=>f});var n=i(94285);i(67505);var r=i(21275),l=i.n(r),s=i(26714),o=i(52670),a=i(96746),c=i(7178),d=i(3234);let p=(0,c.n9)()(e=>({tooltip:{fontSize:14,borderRadius:3,lineHeight:"1.4em",backgroundColor:(0,d.X4)(e.palette.common.black,.95),padding:"6px 10px"}})),h=function({hidden:e,children:t,classes:i={},...r}){let{classes:l,cx:s}=p();return e?t:(0,n.jsx)(o.A,{placement:"top",...r,classes:{...i,tooltip:s(l.tooltip,i.tooltip)},slotProps:{popper:{sx:{[`&.${a.A.popper}[data-popper-placement*="bottom"] .${a.A.tooltip}`]:{marginTop:"8px"},[`&.${a.A.popper}[data-popper-placement*="top"] .${a.A.tooltip}`]:{marginBottom:"8px"},[`&.${a.A.popper}[data-popper-placement*="right"] .${a.A.tooltip}`]:{marginLeft:"8px"},[`&.${a.A.popper}[data-popper-placement*="left"] .${a.A.tooltip}`]:{marginRight:"8px"}}}},enterTouchDelay:0,children:t})};var x=i(25839),m=i(70597),g=i(62805);let u=(0,c.n9)()((e,{isBlueText:t,isCopyButton:i})=>({helpTag:{color:t?e.palette.primary.main:"inherit",padding:i?"0 0 0 4px":"0 4px",borderRadius:"4px",width:"auto",background:t?e.palette.customBackgroun
3d.dark:e.palette.customBackgroundSecondary.light,border:t?`1px solid ${e.palette.primary.light}`:`1px solid ${e.palette.customGrey.main}`,display:"inline-flex",alignItems:"center",justifyContent:"center",height:"fit-content"}})),f=e=>{let{isCopied:t,onCopy:i}=(0,g.T)(),r=!!e.href||e.isCopyButton,{classes:o}=u({isBlueText:r,isCopyButton:e.isCopyButton});return(0,n.jsxs)("span",{style:e.style,className:o.helpTag,children:[(0,n.jsx)(h,{title:e.tooltipText,children:(0,n.jsx)(m.A,{component:e.href?l():"span",color:r?"primary.main":"text.primary",variant:"subtitle1",fontWeight:600,...e.href?{target:"_blank",href:e.href}:{},children:e.title||e.children})}),e.isCopyButton&&(0,n.jsx)(s.CopyToClipboard,{text:e.title,onCopy:i,children:(0,n.jsx)(h,{title:t?"Copied":"Copy",placement:"right",children:(0,n.jsx)("div",{style:{height:24,cursor:"pointer"},children:(0,n.jsx)(x.A,{sx:{color:"primary.main"}})})})})]})}},52773:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let n=/(\<\w*)((\s\/\>)|(.*\<\/\w*\>)|(\s*\/?\s*br\s*\/?\s*>))/,r=function(e){return n.test((e||"").replace(/(\r\n|\n|\r)/gm,""))}},58372:(e,t,i)=>{"use strict";i.d(t,{L:()=>l});var n=i(55646),r=i(47521);let l=()=>(0,n.useRouter)().query.newsletterType||r.CF.Notification},62805:(e,t,i)=>{"use strict";i.d(t,{T:()=>r});var n=i(67505);let r=()=>{let[e,t]=(0,n.useState)(!1),i=(0,n.useRef)(null);return(0,n.useEffect)(()=>()=>{i.current&&window.clearTimeout(i.current)},[]),{isCopied:e,onCopy:()=>{t(!0),i.current&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>{t(!1),i.current=null},1e3)}}}},64849:(e,t,i)=>{"use strict";i.d(t,{YV:()=>l,iv:()=>n,yZ:()=>r});let n="M/d/yy h:mm aa",r="M/d/yy",l="MMMM d, yyyy h:mm aa"},68402:(e,t,i)=>{"use strict";i.d(t,{U:()=>o});var n=i(94285),r=i(52773),l=i(67505);function s(e){let t;try{t=/(?<!<(?:\w*)\s+(?:[^>]*?\s+)?(?:\w+)=['"])(https?:\/\/\S+)(?![^<]*?>)/gi}catch(t){return e}try{return e.replace(t,function(e,t){return e.includes("</")||e.includes('">')?t:`<a href="${t}">${t}</a>`})}catch{return e}}i(10272);let o=({styles:e,extraHeight:t,text:i,isEmailViewPage:o,...a})=>{let c=(0,l.useRef)(null),d=e=>{try{let i=e?.contentWindow?.document;if(!i)return 0;let{body:n}=i,r=n?.children?.[0]||n,l=r?.getBoundingClientRect();return(l?.height||r?.offsetHeight||0)+(t??0)+16}catch(e){return 0}};return(0,l.useEffect)(()=>{if(!i)return;let t=(0,r.A)(i),{body:n,head:l}=((e,t)=>{let i=document.createElement("html");i.innerHTML=e.replace(/(<head[^>]*>[\s\S]*?)<div[\s\S]*?<\/div>([\s\S]*?<\/head>)/gi,(e,t,i)=>t+i);let n=i.querySelector("head");if(!t){let e=document.createElement("style");e.innerHTML=`@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); 4 body { 5 font-family: 'Inter', sans-serif; 6 font-size: 14px; 7 line-height: 26px; 8 letter-spacing: 0.1px; 9 font-weight: 400; 10 padding: 8px; 11 } 12 `,n?.appendChild(e)}let r=n?.innerHTML,l=i.querySelector("body")?.innerHTML;return(i.remove(),l)?{body:l,head:r}:{body:e,head:void 0}})(i,t);if(c.current&&c.current.contentDocument){var a;let i,r,p,h=c.current;if(!h.contentDocument)return;if(l&&(h.contentDocument.head.innerHTML=l),h.contentDocument.body.innerHTML=`<div>${i=n.indexOf("<body>"),r=n.indexOf("</body>",i),p=n.substring(i+6,r),a=-1===i?s(n):n.substring(0,i+6)+s(p)+n.substring(r),!t?a.replaceAll("\n","<br>"):a}</div>`,h.style.border="none",h.style.width="100%",o&&(h.contentDocument.body.style.overflow="hidden"),!o){let e=d(h);h.style.height=`${e}px`}Object.assign(h.style,e),h.querySelectorAll("img").forEach(e=>{e.setAttribute("onerror","this.onerror=null;this.remove()")})}},[]),(0,l.useEffect)(()=>{let e,t=c.current;if(!o)return;let i=()=>{if(!t)return;let n=d(t);n<2e4&&(t.style.height=`${n}px`),window.cancelAnimationFrame(e),e=window.requestAnimationFrame(i)};return e=window.requestAnimationFrame(i),()=>{window.cancelAnimationFrame(e)}},[]),(0,n.jsx)("iframe",{ref:c,title:"auto resize component",...a})}},72332:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(94285);i(67505);var r=i(2451);let l=(0,i(7178).n9)({name:"DialogContent"})(()=>({root:{padding:24,paddingTop:24}})),s=function(e){let{classes:t}=l();return(0,n.jsx)(r.A,{...e,classes:{root:t.root},children:e.children})}},76629:(e,t,i)=>{"use strict";i.d(t,{D:()=>eD});var n=i(94285),r=i(7178),l=i(14029),s=i(10488),o=i(55646),a=i(67505),c=i(65628),d=i(57960),p=i(64331),h=i(21275),x=i.n(h),m=i(90196),g=i(19736),u=i.n(g);let f=({type:e})=>(0,n.jsxs)(x(),{href:`/news-alerts/${e}`,className:u().newsSubtitle,children:[(0,m.A)(e)," News Alerts"]});var j=i(61549),y=i(98245),v=i(42347),b=i.n(v);function w({children:e,...t}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(j.A,{variant:"minimal",className:b().layout,isIntegrations:!0,...t,children:[e,(0,n.jsx)("div",{style:{marginTop:"auto"}}),(0,n.jsx)(y.A,{mini:!0,className:b().footer})]}),(0,n.jsx)("style",{})]})}
12var A=i(60222),_=i(47521),F=i(58372);let C=({integrationType:e})=>{let t,i=(0,o.useRouter)(),r=(0,F.L)(),l=(t=(0,d.A)(e),[{title:"Notifications",description:"Receive alerts and notifications from 3rd party apps",image:"/static/svg/create-integrations/notification.svg",newsletterType:_.CF.Notification},{title:"Newsletters",description:`Follow you favorite newsletters and recieve to ${t}`,image:"/static/svg/create-integrations/newsletter.svg",newsletterType:_.CF.Newsletter}]);return(0,n.jsx)(s.A,{display:"grid",gridTemplateColumns:`repeat(${l.length}, 1fr)`,gap:3,sx:{"@media(max-width:1024px)":{gridTemplateColumns:"repeat(1, 1fr)",gap:"12px"}},children:l.map(e=>{let t=r===e.newsletterType;return(0,n.jsxs)(s.A,{component:x(),className:"flex items-center justify-center",href:{pathname:i.pathname,query:{...i.query,newsletterType:e.newsletterType}},onClick:t=>{t.preventDefault(),i.replace({pathname:i.pathname,query:{...i.query,newsletterType:e.newsletterType}})},sx:{p:2,border:"1px solid #E3F0FE",borderColor:t?"#197DF9":"#C2C2C2",background:"#ffffff",borderRadius:"8px","&:hover":{boxShadow:"0px 0px 16px 0px #197DF93D"}},children:[(0,n.jsxs)(s.A,{display:"flex",alignItems:"center",gap:2,mb:1,children:[(0,n.jsx)("img",{src:e.image,alt:e.title,className:"w-40 h-40"}),(0,n.jsx)(A.A,{sx:{fontSize:"32px",fontWeight:700,lineHeight:"44px",letterSpacing:"0.2px",textAlign:"center",color:"#042D5C",flexShrink:0,whiteSpace:"nowrap","@media(max-width:1440px)":{fontSize:"24px",lineHeight:"32px"}},children:e.title}),(0,n.jsx)(s.A,{sx:{width:"24px",height:"24px",borderRadius:"50%",flexShrink:0,marginLeft:"auto",border:"1px solid ",borderColor:t?"#197DF9":"C2C2C2",alignSelf:"flex-start",position:"relative",":after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"15px",height:"15px",borderRadius:"50%",background:t?"#197DF9":void 0}}})]}),(0,n.jsx)(A.A,{style:{fontSize:"16px",fontWeight:600,lineHeight:"24px",letterSpacing:"0.4px",textAlign:"left",color:"#666666"},children:e.description})]},e.title)})})};var k=i(38679),N=i(28948),S=i(87906),L=i(99245),T=i(50548),E=i(7531),I=i(26714),B=i(16832),W=i(33457),D=i(62805);let R=(0,r.n9)({name:"InputNewsletterEmail"})({root:{display:"flex",gap:8,"@media (max-width: 400px)":{flexDirection:"column"}}}),M=({newsletterEmail:e})=>{let{classes:t}=R(),{isCopied:i,onCopy:r}=(0,D.T)(),{t:l}=(0,B.Bd)(["dashboard/feed-overview","dashboard/common"]);return(0,n.jsxs)(s.A,{className:t.root,children:[(0,n.jsx)(W.A,{size:"32",value:e,type:"text",InputProps:{readOnly:!0,sx:{fontWeight:500}},sx:{width:"100%",maxWidth:"100%"}}),(0,n.jsx)(I.CopyToClipboard,{text:e,onCopy:r,children:(0,n.jsx)(E.A,{color:"primary",size:"32",variant:"outlined",sx:{whiteSpace:"nowrap",minWidth:104},children:l(i?"dashboard/common:copied":"copy_email")})})]})},H=({label:e,children:t})=>(0,n.jsxs)(s.A,{display:"flex",alignItems:"center",gap:"12px",children:[(0,n.jsx)(s.A,{display:"flex",alignItems:"center",justifyContent:"center",sx:{background:"#197DF9",width:"24px",height:"24px",borderRadius:"50%",fontSize:"16px",fontWeight:500,lineHeight:"22px",letterSpacing:"0.02px",textAlign:"center",color:"#FFFFFF",flexShrink:0},children:e}),(0,n.jsx)(l.A,{style:{fontSize:"16px",fontWeight:500,lineHeight:"22px",letterSpacing:"0.15px",textAlign:"left",color:"#424242"},children:t})]}),q=({email:e})=>{let t=(0,F.L)(),[i,r,l]={[_.CF.Notification]:["We provide you with an email address below to which you can send emails and create integration","Go to the site from which you would like to receive notifications or alerts using the email address below","Once youâve used email, you will start receiving notifications or alerts directly in integration"],[_.CF.Newsletter]:["We provide you with an email address below to which you can send emails and create integration","Go to the Newsletter website and subscribe using the email address below","Once youâve subscribed, youâll start receiving the newsletter directly in integration"],[_.CF.ForwardEmail]:["We provide you with an email address below to which you can send emails and create integration","Go to the Gmail or Outlook websites follow the guides and complete all the steps using the email below","Once youâve completed the steps in order, you'll start receiving emails in your integration"]}[t];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(H,{label:"1",children:i}),(0,n.jsxs)(H,{label:"2",children:[r," "]}),(0,n.jsx)(M,{newsletterEmail:e}),(0,n.jsxs)(H,{label:"3",children:[l," "]})]})},O=({email:e,integrationType:t})=>{let i=(0,o.useRouter)(),r=(0,F.L)(),[c,p]=(0,a.useState)(!1);return(0,n.jsxs)(s.A,{p:3,mb:3,display:"flex",justifyContent:"space-between",sx:{border:"1px solid #E3F0FE","@media(max-width: 768px)":{flexDirection:"column"}},children:[(0,n.jsxs)(s.A,{display:"flex",flexDirection:"column",gap:3,maxWidth:"552px",children:[(0,n.jsxs)(l.A,{sx:{fontSize:"24px",fontWeight:700,lineHeight:"36px",textAlign:"left",color:"#424242"},children:["Setup Notifications and Alerts in ",(0,d.A)(t)]}),(0,n.jsx)(q,{email:e}),(0,n.jsx)(S.A,{children:(0,n.jsx)(L.A,{value:"all",control:(0,n.jsx)(N.A,{checked:c,onChange:()=>p(!c),color:"primary"}),label:"Confirm the steps above are completed before you continue",sx:{".MuiTypography-root":{color:"#666666",fontWeight:600,fontSize:"16px"}}})}),(0,n.jsx)(T.A,{variant:"contained",color:"primary",sx:{fontWeight:600,width:"fit-content"},disabled:!c,onClick:()=>{i.query.confirmed="true",i.replace({pathname:i.pathname,query:i.query},void 0,{shallow:!0})},children:"Continue to Select Channel"})]}),(0,n.jsx)("img",{src:`/static/svg/create-integrations/${r}-email.svg`,alt:"decor"})]})};var $=i(35455),z=i(36368),P=i(92814),U=i(71156);let G=(0,r.n9)({name:"DialogTitle"})(e=>({root:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingLeft:24,paddingRight:24,paddingTop:24,paddingBottom:16,height:80},title:{color:e.palette.common.black,fontWeight:600},close:{marginRight:-12}})),K=function({title:e,className:t,onClose:i,noWrap:r,onClickIcon:s,icon:o,...a}){let{classes:c,cx:d}=G();return(0,n.jsxs)(P.A,{component:"h5",...a,className:d(c.root,t),children:[(0,n.jsxs)(l.A,{variant:"h5",component:"span",fontWeight:"bold",className:c.title,noWrap:r,children:[o&&(0,n.jsx)("button",{type:"button",style:{background:"#ffffff",border:"none",outline:"none",cursor:"pointer"},onClick:s,children:o}),e]}),i&&(0,n.jsx)(U.A,{onClick:()=>{i&&i({},"escapeKeyDown")},className:c.close,size:"large",children:(0,n.jsx)(z.A,{})})]})};var V=i(72332),Z=i(95960);let Y=function(e){return(0,n.jsx)(Z.A,{...e})};var X=i(79750),Q=i(26219);let J=(0,r.n9)()(()=>({dialog:{maxWidth:620,maxHeight:852},content:{paddingLeft:24,paddingRight:24,paddingTop:32},actions:{padding:"16px 24px"},title:{paddingBottom:12,paddingTop:12,height:"auto",alignItems:"flex-start"}}));function ee({dialogTitle:e,instructionSteps:t,...i}){let{classes:r}=J();return(0,n.jsxs)($.A,{...i,fullWidth:!0,classes:{paper:r.dialog},children:[(0,n.jsx)(K,{className:r.title,title:e,noWrap:!0,onClose:()=>i.onClose?.({},"backdropClick"),sx:{whiteSpace:"normal"}}),(0,n.jsx)(V.A,{className:r.content,children:(0,n.jsx)(Q.g,{steps:t})}),(0,n.jsx)(X.A,{}),(0,n.jsx)(Y,{className:r.actions,children:(0,n.jsx)(T.A,{variant:"contained",size:"small",color:"primary",onClick:()=>i.onClose?.({},"backdropClick"),ga:"confirm-and-verify",children:(0,n.jsx)(A.A,{children:"Close"})})})]})}
12var et=i(45419);let ei=(0,r.n9)()({emailLogo:{background:"white",border:"1px solid #E3F0FE",borderRadius:8,display:"flex",alignItems:"center",gap:8,padding:"8px 24px",fontSize:"16px",fontWeight:600,lineHeight:"22px",letterSpacing:"0.15px",textAlign:"left",color:"#424242",img:{width:32,height:32}},subtitle:{display:"block",fontWeight:"400",fontSize:"16px",lineHeight:"22px",color:"#999999",maxWidth:462,whiteSpace:"initial",marginTop:4}}),en=e=>{let{classes:t}=ei(),[i,r]=(0,a.useState)(null);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.A,{p:3,sx:{border:"1px solid #E3F0FE"},my:3,children:[(0,n.jsx)(l.A,{sx:{mb:3},style:{fontSize:"20px",fontWeight:700,lineHeight:"28px",textAlign:"left",color:"#424242"},children:"Forward Emails instructions"}),(0,n.jsxs)(s.A,{display:"flex",gap:3,mb:2,sx:{fontSize:"13px",fontWeight:"400",lineHeight:"16px",letterSpacing:"0.25px",color:"#999999","@media(max-width: 768px)":{flexDirection:"column"}},children:[(0,n.jsxs)(s.A,{className:t.emailLogo,component:"button",onClick:()=>r("gmail"),children:[(0,n.jsx)("img",{src:"/static/img/integrations/gmail-sign-up.svg",alt:"Gmail"}),(0,n.jsx)(n.Fragment,{children:"How to Forward Emails from Gmail"})]}),(0,n.jsxs)(s.A,{className:t.emailLogo,component:"button",onClick:()=>r("outlook"),children:[(0,n.jsx)("img",{src:"/static/img/integrations/outlook-sign-up.svg",alt:"Outlook"}),(0,n.jsx)(n.Fragment,{children:"How to Forward Emails from Outlook"})]})]})]}),i&&(0,n.jsx)(ee,{open:!!i,onClose:()=>{r(null)},instructionSteps:"gmail"===i?[{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Settings"})," icon"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_0.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"See all settings"})," button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_1.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Select the ",(0,n.jsx)(et.K,{children:"Forwarding and POP/IMAP"})," tab and click on the"," ",(0,n.jsx)(et.K,{children:"Add a forwarding address"})," button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_2.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Paste the email address we provided for you, add click the ",(0,n.jsx)(et.K,{children:"Next"})," button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_3.png"},{title:(0,n.jsxs)(n.Fragment,{children:["After verification, a new page will open to you and click on the ",(0,n.jsx)(et.K,{children:"Proceed"})," button Paste the email address we"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_4.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Go to the platform, find first message and ",(0,n.jsx)(et.K,{children:"Click"})," on the link"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_5.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Confirm"})," button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_6.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Forward a copy of incoming mail to"})," radio button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_7.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Save Changes"})," butto"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/gmail_8.png"}]:"outlook"===i?[{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Settings"})," icon"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_0.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Choose the ",(0,n.jsx)(et.K,{children:"Mail"})," tab and inside of this choose the ",(0,n.jsx)(et.K,{children:"Rules"})," tab"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_1.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Add new rule button"})]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_2.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Give for ",(0,n.jsx)(et.K,{children:"Rule name"})," "]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_3.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Add a ",(0,n.jsx)(et.K,{children:"Condition"})," , select it from the drop-down list"," "]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_4.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Add an ",(0,n.jsx)(et.K,{children:"Action"})," choose ",(0,n.jsx)(et.K,{children:"Forward to"})]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_5.png"},{title:(0,n.jsx)(n.Fragment,{children:"Paste the email address we provided for you "}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_6.png"},{title:(0,n.jsxs)(n.Fragment,{children:["Click on the ",(0,n.jsx)(et.K,{children:"Save"})," button"]}),imageUrl:"/static/svg/create-integrations/forward-email-instruction/outlook_7.png"}]:[],dialogTitle:(0,n.jsxs)(s.A,{display:"flex",gap:2,alignItems:"flex-start",children:[(0,n.jsx)("img",{src:`/static/img/integrations/${i}-sign-up.svg`,alt:i}),(0,n.jsxs)(s.A,{children:[(0,n.jsxs)("span",{children:["How to forwarding email from ",(0,d.A)(i)]}
12),(0,n.jsxs)("span",{className:t.subtitle,children:["The example below shows how to do this in ",(0,d.A)(i)]})]})]})})]})};var er=i(3638),el=i(17213),es=i(34070),eo=i.n(es);let ea=({steps:e,currentStep:t,showDivider:i,rightSideContent:r})=>(0,n.jsx)("div",{className:eo().steps,style:{background:"#F9F9FB"},children:(0,n.jsx)(k.A,{sx:{height:"100%",flexGrow:1},children:(0,n.jsxs)("div",{className:(0,er.A)(eo().sideDivider,i&&eo().divide),children:[(0,n.jsx)("div",{className:eo().stepsWrapper,children:e.map(({title:e,onClick:i},r)=>(0,n.jsxs)(a.Fragment,{children:[r>0&&(0,n.jsx)(el.A,{}),(0,n.jsxs)("button",{className:eo().step,onClick:()=>r<t&&i?.(),type:"button",style:{cursor:r<t?"pointer":"default"},children:[(0,n.jsx)("span",{className:(0,er.A)(eo().stepNumber,r<=t&&eo().stepNumberActive),children:r+1}),(0,n.jsx)("span",{className:(0,er.A)(eo().stepTitle,r<=t&&eo().stepTitleActive),children:e})]})]},r))}),r&&(0,n.jsx)("div",{className:eo().feedPreviewText,children:(0,n.jsx)("p",{children:r})})]})})}),ec=({currentStep:e})=>{let t=(0,o.useRouter)(),i=t.query.feedId,r=[{title:"Choose Integration",onClick:()=>{t.query.confirmed&&delete t.query.confirmed,t.query.created&&delete t.query.created,t.push({pathname:t.pathname,query:t.query})}},{title:"Select Target",onClick:()=>{delete t.query.created,t.query.feedId=i,t.push({pathname:t.pathname,query:t.query})}},{title:"Review Bot Integration"}];return(0,n.jsx)(ea,{currentStep:e,steps:r,showDivider:1===e})};var ed=i(38110);let ep=function(e){return(0,n.jsx)(ed.A,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:(0,n.jsx)("path",{d:"M7.23037 9.23886C7.53752 8.92038 8.03551 8.92038 8.34267 9.23886L12 13.0311L15.6573 9.23886C15.9645 8.92038 16.4625 8.92038 16.7696 9.23886C17.0768 9.55735 17.0768 10.0737 16.7696 10.3922L12.5562 14.7611C12.249 15.0796 11.751 15.0796 11.4438 14.7611L7.23037 10.3922C6.92321 10.0737 6.92321 9.55735 7.23037 9.23886Z",fill:"currentColor"})})};var eh=i(82295),ex=i.n(eh);let em=({isDivide:e,children:t})=>(0,n.jsx)(k.A,{style:{flexGrow:1,display:"flex",flexDirection:"column"},children:(0,n.jsx)("div",{className:(0,er.A)(ex().sideDivider,ex().ruleFlat,e&&ex().divide),children:t})});var eg=i(93730),eu=i(86499),ef=i(70957),ej=i(68402),ey=i(64849);let ev=(0,r.n9)()({caption:{fontSize:"14px",fontWeight:"600",lineHeight:"20px",letterSpacing:"0.25px",textAlign:"left",color:"#424242",display:"flex",gap:"8px",marginTop:4,span:{color:"#666666",minWidth:52,textAlign:"right"},p:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",maxWidth:"100%",minWidth:"0px"}},button:{border:"1px solid #E7E7E7",background:"#FFFFFF",width:"24px",height:"24px",display:"flex",flexDirection:"column",alignItems:"center",borderRadius:"4px",color:"#C2C2C2",cursor:"pointer"},tooltip:{"&&&":{marginBottom:5}}}),eb=({author:e,date:t,title:i,site:r,text:l,gridMode:o})=>{let{classes:c}=ev(),{t:d}=(0,eu.Bd)(),[p,h]=a.useState(!1);return(0,n.jsxs)(s.A,{sx:{border:"1px solid #E7E7E7",borderRadius:2,overflow:"hidden",backgroundColor:"#fff"},display:"flex",flexDirection:"column",children:[(0,n.jsxs)(s.A,{py:1,px:"16px",display:"flex",justifyContent:"space-between",sx:{background:"#FBFBFB",borderBottom:"1px solid #E7E7E7"},gap:2,children:[(0,n.jsxs)(s.A,{display:"flex",gap:1,flexDirection:"column",overflow:"hidden",maxWidth:"100%",children:[(0,n.jsxs)("div",{className:c.caption,children:[(0,n.jsx)("span",{style:{minWidth:p?52:"unset"},children:d("dashboard/common:from")}),(0,n.jsxs)("p",{children:[e," ",(0,n.jsx)("span",{style:{color:"#999999"},children:`<${r}>`})]})]}),p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:c.caption,children:[(0,n.jsx)("span",{children:d("dashboard/common:subject")}),(0,n.jsx)("p",{children:i})]}),t&&(0,n.jsxs)("div",{className:c.caption,children:[(0,n.jsx)("span",{children:d("dashboard/common:date")}),(0,n.jsx)("span",{style:{color:"#424242"},children:(0,eg.A)(t,ey.iv)})]})]})]}),(0,n.jsx)(ef.A,{title:d(p?"dashboard/common:collapse":"dashboard/common:expand"),classes:{tooltip:c.tooltip},children:(0,n.jsx)("button",{className:c.button,type:"button",onClick:()=>h(!p),children:(0,n.jsx)(ep,{style:{transition:"transform 0.5s",transform:p?"rotate(180deg)":"rotate(0deg)"}})})})]}),(0,n.jsx)(ej.U,{styles:{maxHeight:o?"450px":"600px",minHeight:"32px"},text:l})]})},ew=function(e){return(0,n.jsx)(ed.A,{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.27744 0.75853L13.7482 6.37585C14.0839 6.72056 14.0839 7.27944 13.7482 7.62415L8.27744 13.2415C7.94173 13.5862 7.39743 13.5862 7.06171 13.2415C6.726 12.8968 6.726 12.3379 7.06171 11.9932L11.065 7.88268H0.859649C0.384878 7.88268 0 7.48749 0 7C0 6.51251 0.384878 6.11732 0.859649 6.11732H11.065L7.06171 2.00682C6.726 1.66212 6.726 1.10324 7.06171 0.75853C7.39743 0.413823 7.94173 0.413823 8.27744 0.75853Z",fill:"currentColor"})})},eA=(0,r.n9)()((e,{isApp:t})=>({avatars:{gap:t?16:24,display:"flex",alignItems:"center"},avatar:{height:t?32:48,width:t?32:48,background:t?void 0:"#FFFFFF",border:t?void 0:"1px solid #DDDDDD",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center","& img":{width:t?24:32,height:t?24:32}}})),e_=({className:e,isApp:t,fromUrl:i,toUrl:r,alt:l,...o})=>{let{classes:a,cx:c}=eA({isApp:t});return(0,n.jsxs)(s.A,{...o,className:c(a.avatars,e),children:[(0,n.jsx)("div",{className:c(a.avatar),children:(0,n.jsx)("img",{src:i,alt:`${l} logo`})}),(0,n.jsx)(ew,{style:{width:t?8:16,color:"#999999"}}),(0,n.jsx)("div",{className:c(a.avatar),children:(0,n.jsx)("img",{src:r,alt:`${l} logo`})})]})},eF=(0,r.n9)()({avatars:{marginBottom:40}}),eC=({email:e,botsForm:t,integrationType:i})=>{let{classes:r}=eF(),o=(0,F.L)(),[c,p]=(0,a.useState)(!1),h=`Email to ${(0,d.A)(i)} Alerts`,x=`This is the test email to ${(0,d.A)(i)} Bot.`;return(0,n.jsxs)(em,{isDivide:!0,children:[(0,n.jsxs)(s.A,{flexGrow:1,display:"flex",flexDirection:"column",pt:3,children:[(0,n.jsx)(e_,{className:r.avatars,fromUrl:`/static/svg/create-integrations/${o}.svg`,toUrl:`/static/img/integrations/${i}-logo.svg`,alt:i}),(0,n.jsx)(s.A,{flexGrow:1,mb:2,children:t}),(0,n.jsxs)(s.A,{p:2,mt:"auto",sx:{border:"1px solid #E0E0E0",borderRadius:"4px"},display:"flex",flexDirection:"column",children:[(0,n.jsxs)(s.A,{display:"flex",alignItems:"center",gap:1,onClick:()=>p(!c),component:"button",sx:{border:"none",background:"transparent",curs
12or:"pointer"},flexGrow:1,children:[(0,n.jsx)("img",{style:{width:24,height:24,flexShrink:0},src:`/static/svg/create-integrations/${o}.svg`,alt:i}),(0,n.jsxs)(l.A,{component:"span",style:{fontSize:"16px",fontWeight:600,lineHeight:"22px",letterSpacing:"0.15px",textAlign:"left",color:"#424242",marginRight:"auto"},children:["Setup ",(0,d.A)(o)," in ",(0,d.A)(i)]}),(0,n.jsx)(ep,{style:{color:"#C2C2C2",transform:c?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.3s"}})]}),c&&(0,n.jsx)(s.A,{display:"flex",flexDirection:"column",gap:3,mt:2,children:(0,n.jsx)(q,{email:e})})]})]}),(0,n.jsxs)(s.A,{p:3,maxWidth:"550px",mx:"auto",sx:{"@media(max-width: 768px)":{margin:"0px"}},children:[(0,n.jsx)(s.A,{mb:3,display:"flex",gap:2,justifyContent:"space-between",alignItems:"center",children:(0,n.jsx)(l.A,{style:{fontWeight:700,fontSize:"20px",lineHeight:"28px",color:"#666666"},children:"Email Preview"})}),(0,n.jsx)(l.A,{sx:{mb:3},style:{fontSize:"14px",fontWeight:600,lineHeight:"20px",letterSpacing:"0.25px",textAlign:"left",color:"#999999"},children:" Once you finish the setup, you'll receive a test alert in Telegram channel or group"}),(0,n.jsx)(eb,{author:"RSS.app Team",title:h,date:new Date().toString(),site:"[email protected]",text:x})]})]})};var ek=i(62307);let eN=(0,r.n9)()(()=>({title:{marginBottom:8,fontWeight:"700",fontSize:"32px",lineHeight:"44px",display:"flex",alignItems:"center",color:"#424242"},subtitle:{marginBottom:40,fontWeight:"600",fontSize:"18px",lineHeight:"25px",display:"flex",alignItems:"center",letterSpacing:"0.15px",color:"#999999"},description:{fontWeight:"600",fontSize:"14px",color:"#424242",marginBottom:40},avatars:{marginBottom:24,marginTop:24}})),eS=e=>{let{classes:t}=eN(),i=(0,o.useRouter)(),r=(0,F.L)();return(0,n.jsxs)(k.A,{children:[(0,n.jsx)(e_,{className:t.avatars,fromUrl:`/static/svg/create-integrations/${r}.svg`,toUrl:`/static/img/integrations/${e.integrationType}-logo.svg`,alt:e.integrationType}),(0,n.jsx)("p",{className:t.title,children:"Congratulations \uD83C\uDF89"}),(0,n.jsxs)("p",{className:t.subtitle,children:["You have successfully setup your ",e.integrationType," integration"]}),(0,n.jsx)("p",{className:t.description,children:"You have received your first alert with successful integration"}),(0,n.jsx)(T.A,{component:x(),color:"primary",variant:"contained",size:"small",href:(0,ek.$1)(`/integrations/${e.integrationType}/${i.query.integrationId}/edit`),locale:!1,ga:"continue-to-dashboard",children:(0,n.jsx)(A.A,{children:"Continue to Dashboard"})})]})};var eL=i(9359),eT=i(82489),eE=i(23650),eI=i(82583),eB=i(860);let eW=(0,r.n9)()(e=>({title:{fontSize:"36px",fontWeight:700,lineHeight:"48px",letterSpacing:"0.20000000298023224px",textAlign:"center",color:"#042D5C",marginBottom:24,"@media(max-width: 1440px)":{fontSize:"32px",lineHeight:"40px"},"@media(max-width: 768px)":{fontSize:"28px",lineHeight:"32px"}}})),eD=({botsForm:e,integrationType:t})=>{let{classes:i}=eW(),r=(0,o.useRouter)(),{created:h,confirmed:x,feedId:m}=r.query,g=(0,eE.uq)("post",eL.bS),{setMessage:u}=(0,eB.r)(),j=(0,F.L)(),{feed:y}=(0,eI.A)(m);(0,a.useEffect)(()=>{r.isReady&&!m&&g.mutate({body:{name:`Email to ${(0,d.A)(t)} Alerts`}},{onSuccess:e=>{r.replace({pathname:r.pathname,query:{...r.query,feedId:e.id}})},onError:e=>{let t=(0,eT.pj)(e);"FEED_NOT_SUPPORTED"===t||"UPGRADE_YOUR_PLAN"===t?u((0,eT.xA)(e)):(0,c.gJ)((0,eT.xA)(e))}})},[r,m]),(0,a.useEffect)(()=>{r.isReady&&!j&&r.replace({pathname:r.pathname,query:{...r.query,newsletterType:_.CF.ForwardEmail}},void 0,{shallow:!0})},[r]);let v=y?.newsletterEmail??"",b=(0,a.useMemo)(()=>h?2:+!!x,[x,h]),A=(0,d.A)(t);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.A,{title:`Increase productivity with the ${A} and RSS.app Integration`,description:`Automatically monitor news with ${A} and RSS.app to increase your productivity. No coding required.`}),(0,n.jsxs)(w,{section:(0,n.jsx)(f,{type:t}),children:[(0,n.jsx)(ec,{currentStep:b}),0===b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.A,{pb:4,pt:3,sx:{background:"#F9F9FB"},width:"100%",mb:4,children:(0,n.jsxs)(k.A,{children:[(0,n.jsxs)(l.A,{className:i.title,children:["Select the type of Email to ",A," Integration"]}),(0,n.jsx)(C,{integrationType:t})]})}),(0,n.jsxs)(k.A,{children:[(0,n.jsx)(O,{email:v,integrationType:t}),j===_.CF.ForwardEmail&&(0,n.jsx)(en,{})]})]}),1===b&&(0,n.jsx)(eC,{email:v,botsForm:e,integrationType:t}),2===b&&(0,n.jsx)(eS,{integrationType:t})]})]})}},86051:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>C,default:()=>k});var n=i(46751),r=i(94285),l=i(77777),s=i(76629),o=i(55646),a=i(67505),c=i(374),d=i(47521),p=i(32353),h=i(9359),x=i(82489),m=i(58479),g=i(23650),u=i(55101),f=i(89961),j=i(82583),y=i(82793),v=i(88321),b=i(46306),w=i(3186),A=i.n(w);let _=({newsletterType:e})=>{let t=(0,o.useRouter)(),i=t.query.feedId,{data:{feed:n}={}}=(0,j.A)(i,{fetchPolicy:"cache-and-network"}),{data:l,loading:s,loadingFetchMore:w,allLoaded:_,hasOnlyOnePage:F,loadNextPage:C,refetch:k}=(0,b.h)(),[N,S]=(0,a.useState)(""),[L,T]=(0,a.useState)(""),[E,I]=(0,c.Ul)("SLACK_SELECTED_CHANNEL",""),[B,W]=(0,a.useState)(d.u3.List),{checkPlanLimit:D}=(0,y._)(),R=(0,g.uq)("post",h.D4),{mutate:M,isPending:H}=(0,g.uq)("post",u.AK,{onSuccess:({id:i})=>{e&&R.mutate({params:{path:{id:n.id}},body:{title:"Test Alert: Email to Telegram Bot",content:"This is the test email to Telegram Bot."}}),t.query.integrationId=i,t.query.created="true",t.replace({pathname:t.pathname,query:t.query})},onError:e=>{let t=(0,x.pj)(e)??"";T(t),"UPGRADE_YOUR_PLAN_EMAIL_BOT"===t?S((0,r.jsx)(f.Q,{renderError:e=>(0,r.jsxs)("span",{children:["Your trial has expired. ",e,"your plan."]}),capitalize:!0})):S((0,x.xA)(e))}}),q=async()=>
12{if(!n||!D("slack"))return;let e=l.find(e=>e.id===E);if(B!==d.u3.List||e){if(B===d.u3.Id){let{valid:t,channelInfo:i}=(0,x.k$)(await (0,m.D7)().POST(u.GC,{body:{id:E}}),u.GC);if(!t)return S("Invalid Channel ID - please verify and try again");e=i}M({body:{title:n.title??"",feedIds:[i],channelId:e.id,channelTitle:e.name,slackChannelInputType:B}})}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:A().channelTitle,children:"Select Channel"}),(0,r.jsx)("div",{children:(0,r.jsx)(v.Y,{selectedChannel:E,onChange:e=>{I(e),S(null)},onChangeSlackChannelInputType:W,slackChannelInputType:B,channelsData:{loadingFetchMore:w,allLoaded:_,hasOnlyOnePage:F,channels:l,loadingChannels:s,loadNextPage:C,refetchChannels:k}})}),(0,r.jsx)("hr",{className:A().divider,style:{margin:"16px 0"}}),N&&(0,r.jsx)(p.A,{error:N}),E&&(0,r.jsx)("button",{type:"button",className:A().buttonSmall,disabled:H||!E||"UPGRADE_YOUR_PLAN_EMAIL_BOT"===L,onClick:q,ga:"button-continue",children:(0,r.jsx)("p",{className:A().buttonLabel,children:"Continue"})})]})};var F=i(58372),C=!0;let k=(0,n.A)(function(){let e=(0,l.mN)(),t=(0,F.L)();return(0,r.jsx)(s.D,{integrationType:"slack",botsForm:(0,r.jsx)("form",{onSubmit:e=>e.preventDefault(),children:(0,r.jsx)(l.Op,{...e,children:(0,r.jsx)(_,{newsletterType:t})})})})},{redirect:"/bots/categories/slack"})},93730:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(86444);let r=function(e,t){return(0,n.A)(new Date(e),t)}},97545:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/create-bot-integrations/slack",function(){return i(86051)}])},98245:(e,t,i)=>{"use strict";i.d(t,{A:()=>T});var n=i(94285),r=i(21275),l=i.n(r);i(67505);var s=i(16832),o=i(3638),a=i(55167);let c=function(e){return(0,n.jsxs)(a.I,{viewBox:"0 0 30 30",...e,children:[(0,n.jsx)("circle",{cx:"15",cy:"15",r:"15",fill:"#FF7C33"}),(0,n.jsx)("path",{d:"M9.82134 20.9981C10.8272 20.9981 11.6427 20.1827 11.6427 19.1768C11.6427 18.1709 10.8272 17.3555 9.82134 17.3555C8.81544 17.3555 8 18.1709 8 19.1768C8 20.1827 8.81544 20.9981 9.82134 20.9981Z",fill:"white"}),(0,n.jsx)("path",{d:"M8 8V10.3644C13.8734 10.3644 18.6356 15.1266 18.6356 21H21C21 13.8233 15.1767 8 8 8ZM8 12.7288V15.0932C11.2584 15.0932 13.9068 17.7416 13.9068 21H16.2712C16.2712 16.4299 12.5701 12.7288 8 12.7288Z",fill:"white"})]})},d=function(e){return(0,n.jsx)(a.I,{viewBox:"0 0 11 9",...e,children:(0,n.jsx)("path",{d:"M10.3536 4.85355C10.5488 4.65829 10.5488 4.34171 10.3536 4.14645L7.17157 0.964466C6.97631 0.769204 6.65973 0.769204 6.46447 0.964466C6.2692 1.15973 6.2692 1.47631 6.46447 1.67157L9.29289 4.5L6.46447 7.32843C6.2692 7.52369 6.2692 7.84027 6.46447 8.03553C6.65973 8.2308 6.97631 8.2308 7.17157 8.03553L10.3536 4.85355ZM0 5H10V4H0V5Z",fill:"currentColor"})})};var p=i(29076),h=i(59857),x=i(75613),m=i(45665),g=i(55646),u=i(7178),f=i(23824),j=i(1318);let y={100:"#E9F0FF",150:"#E3F0FE",200:"#99CCF3",400:"#3399FF",500:"#007FFF",600:"#0072E5",900:"#003A75",1e3:"#29539B",1100:"#0F4087"},v={50:"#f6f8fa",100:"#F4F8FF",200:"#d0d7de",300:"#afb8c1",400:"#8c959f",500:"#6e7781",600:"#57606a",700:"#424a53",800:"#32383f",900:"#24292f"},b=y[100],w=y[900],A=v[100],_=v[900],F=v[400],C=(0,u.n9)({name:"SelectLanguage"}
12)((e,{isBlueBackground:t})=>({renderValue:{fontWeight:600,display:"flex",alignItems:"center",columnGap:"8px","@media(min-width: 1072px)":{"& > span":{display:"none"}}},title:{color:"#FFFFFF",fontSize:16},iconFlag:{width:24,height:24},input:{fontSize:"0.875rem",boxSizing:"border-box",minHeight:"calc(1.5em + 22px)",minWidth:"52px",padding:"12px",borderRadius:"12px",textAlign:"left",lineHeight:"1.5",background:"transparent",border:"none",outline:"0px",color:v[900],display:"flex",alignItems:"center",columnGap:"10px",transitionProperty:"all",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"120ms","&>fieldset":{border:"none !important"}},popover:{padding:0,border:"none",background:"transparent"},option:{listStyle:"none",padding:"8px",borderRadius:"8px",fontWeight:600,color:t&&y[150],cursor:"pointer",fontSize:t&&"16px","&:last-of-type":{BorderBottom:"none"},"&&.Mui-selected":{backgroundColor:t?y[1e3]:b,color:t?y[150]:w},"&&.Mui-selected:hover":{backgroundColor:t?y[1e3]:b,color:t?y[150]:w},"&:hover":{backgroundColor:t?y[1e3]:A,color:t?y[150]:_},"&.Mui-disabled":{color:t?y[150]:F},"&:hover:not(.Mui-disabled)":{backgroundColor:t?y[1e3]:A,color:t?y[150]:_}},icon:{border:"none",background:"transparent",display:"flex",justifyContent:"center",alignItems:"center"},iconOpen:{"&&":{border:"none"}},select:{"&&":{paddingRight:"24px !important"}}}
12)),k=({isBlueBackground:e})=>{let t=[{value:"en",label:"English"},{value:"ja",label:"Japanese"},{value:"de",label:"German"},{value:"fr",label:"French"},{value:"es",label:"Spanish"},{value:"pt",label:"Portuguese"},{value:"it",label:"Italian"}],{classes:i}=C({isBlueBackground:e}),r=(0,g.useRouter)(),s=t.find(({value:e})=>e===r.locale);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.A,{defaultValue:s?.value,renderValue:r=>{let l=t.find(e=>e.value===r);return!l||Array.isArray(l)?(0,n.jsx)("span",{}):(0,n.jsxs)("span",{className:i.renderValue,children:[(0,n.jsx)("img",{className:i.iconFlag,src:`/static/svg/flags/${l.value}.svg`,loading:"lazy",alt:`${l.label} flag of the country `}),(0,n.jsx)("span",{className:e&&i.title,children:l.label})]})},IconComponent:t=>(0,n.jsx)("div",{...t,children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M8 12L2 6.32432L3.4 5L8 9.35135L12.6 5L14 6.32432L8 12Z",fill:e?"white":"#424242"})})}),classes:{icon:i.icon,iconOpen:i.iconOpen,select:i.select},className:i.input,MenuProps:{PopoverClasses:{paper:i.popover},MenuListProps:{sx:{fontSize:"0.875rem",boxSizing:"border-box",minWidth:"134px",borderRadius:"12px",overflow:"auto",padding:"6px",background:e?y[1100]:"#fff",border:e?"1px solid #15579F":"1px solid #E4EAFF"}}},onChange:e=>{let t=e.target.value;t!==r.locale&&r.replace(r,void 0,{locale:t})},children:t.map(({value:e,label:t})=>(0,n.jsxs)(j.A,{value:e,className:i.option,style:{display:"flex",alignItems:"center",columnGap:10},children:[(0,n.jsx)("img",{className:i.iconFlag,src:`/static/svg/flags/${e}.svg`,alt:`${e} flag of the country `})," ",t]},e))}),(0,n.jsx)("ul",{style:{position:"absolute",bottom:150,visibility:"hidden"},children:t.map(({value:e,label:t})=>(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:r.asPath,locale:e,children:t})},e))})]})};k.displayName="SelectLanguage";var N=i(64993),S=i(10620),L=i.n(S);let T=function(e){let{section:t,sectionClass:i,sectionHref:r,forApi:a,className:g,mini:u,isBlueBackgroun
12d:f,...j}=e,{t:y}=(0,s.Bd)("footer"),v=(0,h.A)({limit:N.XH}),b=(0,p.U)(()=>a?"(min-width:1341px)":"(min-width:1281px)"),w=(0,p.U)(()=>a?"(max-width:1340px)":"(max-width:1281px)"),A=(0,p.U)(()=>a?"((max-width:1200px)":"(max-width:1200px)"),_=(0,p.U)(()=>"(max-width:529px)"),F=(0,p.U)(()=>"(max-width:1050px)"),C=()=>(0,n.jsxs)("div",{className:(0,o.A)(L().logoLinkWrapper,a&&L().logoLinkWrapperApi),children:[(0,n.jsxs)(l(),{href:"/",className:L().logoLink,children:[(0,n.jsx)(c,{className:L().logoIcon}),(0,n.jsx)("p",{className:L().logoTitle,children:"RSS.app"})]}),r?(0,n.jsx)(l(),{className:(0,o.A)(i,L().sectionClass),href:r,children:t}):(0,n.jsx)("span",{className:(0,o.A)(i,L().sectionClass),children:t})]}),S=(0,n.jsx)("div",{className:(0,o.A)(L().logoFlexItem,a&&L().logoFlexItemApi,A&&L().beforeMobile),children:(0,n.jsxs)("div",{className:(0,o.A)(L().logoWrapper,a&&L().logoWrapperApi),children:[A&&(0,n.jsx)("hr",{className:(0,o.A)(L().divider,L().pricing,L().top)}),(0,n.jsxs)("div",{className:L().linksWrapper,children:[(0,n.jsx)(C,{}
12),(0,n.jsx)("div",{children:(0,n.jsx)(k,{isBlueBackground:f})})]})]})}),T=e=>(0,n.jsxs)("ul",{className:L().linksList,children:[(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:e.mainPath,className:L().mainLink,children:e.mainTitle})}),e.items.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:e.path,target:"RSS Viewer"===e.title||"RSS Finder"===e.title||"Chrome Extension"===e.title?"_blank":"_self",className:(0,o.A)(L().secondaryLink,L().link),children:e.title})},t)),e.allTitle&&(0,n.jsx)("li",{children:(0,n.jsxs)(l(),{href:e.mainPath,className:(0,o.A)(L().allLink,L().link),children:[e.allTitle," ",(0,n.jsx)("figure",{className:L().arrowFigure,children:(0,n.jsx)(d,{className:L().arrowIcon})})]})})]}),E=(e,t,i)=>(0,n.jsxs)("ul",{className:(0,o.A)(L().linkBlog,L().linksList),children:[(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:"/website-widgets-integrations",className:L().mainLink,children:t})},"0"),e.items.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:e.path,className:(0,o.A)(L().secondaryLink,L().link,L().integrationTitle,L().blogTitle),children:e.title})},t)),(0,n.jsx)("li",{children:(0,n.jsxs)(l(),{href:"/website-widgets-integrations",className:(0,o.A)(L().allLink,L().link),children:[i," ",(0,n.jsx)("figure",{className:L().arrowFigure,children:(0,n.jsx)(d,{className:L().arrowIcon})})]})})]}),I=e=>(0,n.jsxs)("ul",{className:(0,o.A)(L().linkBlog,L().linksList),children:[(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:"/blog",className:L().mainLink,title:y("blog"),children:y("blog")})},"0"),e.map(({id:e,title:t,originalTitle:i,url:r},s)=>(0,n.jsx)("li",{children:(0,n.jsx)(l(),{href:e?(0,x.A)(i,e):r,className:(0,o.A)(L().secondaryLink,L().link,L().blogTitle),title:t,children:t})},s)),(0,n.jsx)("li",{style:{display:"flex",height:17},children:(0,n.jsxs)(l(),{href:"/blog",className:(0,o.A)(L().allLink,L().link),children:[y("allPosts")," ",(0,n.jsx)("figure",{className:L().arrowFigure,children:(0,n.jsx)(d,{className:L().arrowIcon})})]})})]});return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("footer",{...j,className:(0,o.A)("footer",L().root,a&&L().rootApi,f&&L().isBlueBackgroun
12d,g,A&&L().beforeMobile),children:[!u&&(0,n.jsx)("div",{className:(0,o.A)(L().footerContent,A&&L().beforeMobile),children:_?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:L().masonry,style:{columnCount:2,gap:0},children:[(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:T((0,m.Ud)(y))}),(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:T((0,m.R6)(y))}),(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:T((0,m.Hi)(y))}),(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:T((0,m.NN)(y))}),(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:E((0,m.i)(y),y("botsApps"),y("allBots"))}),(0,n.jsx)("div",{className:(0,o.A)(L().masonryLinks,L().linksContent),children:E((0,m.oo)(y),y("integration"),y("allIntegrations"))})]}),(0,n.jsx)("div",{className:(0,o.A)(L().masonry,L().linksContent),children:v.data&&I(v.data)})]}):(0,n.jsx)(n.Fragment,{children:(b||w)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.Ud)(y))}),(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.NN)(y))}),(0,n.jsxs)("div",{className:L().linksContent,style:{flexDirection:"column",gap:64},children:[(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.R6)(y))}),(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.Hi)(y))})]}),(0,n.jsxs)("div",{className:L().linksContent,style:{flexDirection:"column",gap:64},children:[(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.i)(y))}),(0,n.jsx)("div",{className:L().linksContent,children:T((0,m.oo)(y))})]}),(0,n.jsx)("div",{className:L().linksContent,children:v.data&&I(v.data)})]})})}),F&&S,(0,n.jsx)("hr",{className:L().divider}),(0,n.jsxs)("ul",{className:L().rightsList,children:[!F&&(0,n.jsx)("li",{style:{position:"absolute",left:0},className:L().rightItem,children:(0,n.jsx)(C,{})}),(0,n.jsx)("li",{className:L().rightItem,children:(0,n.jsx)(l(),{href:"/",className:(0,o.A)(L().footerLink,L().link),children:"\xa9 2026 RSS.app - FeedsApp Inc."})}),(0,n.jsx)("li",{className:L().rightItem,children:(0,n.jsx)(l(),{href:"/terms",className:(0,o.A)(L().footerLink,L().link),children:y("terms")})}),(0,n.jsx)("li",{className:L().rightItem,children:(0,n.jsx)(l(),{href:"/privacy",className:(0,o.A)(L().footerLink,L().link),children:y("privacy")})}),!F&&(0,n.jsx)("li",{style:{position:"absolute",right:0}
12,className:L().rightItem,children:(0,n.jsx)(k,{isBlueBackground:f})})]})]})})}}},e=>{e.O(0,[21275,66311,31066,6014,37002,75315,71535,67187,585,64870,75326,95353,77576,77777,72276,47022,52670,86444,50405,52208,81003,66350,38424,67158,25828,61549,90075,8273,90636,46593,38792],()=>e(e.s=97545)),_N_E=e.O()}]); 13//# debugId=7076c0ca-0aac-522a-a394-5460f3d25fca
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.