PageSourceSearch

https://chatfuel.com/_next/static/chunks/9164-1b4af9dc41533487.js

js chatfuel.com collected 2026-09-24 08:26:35 UTC 46,153 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9164],{69826:function(e,t,a){"use strict";a.d(t,{Z:function(){return ButtonLink}});var r=a(85893),n=a(67294),l=a(94184),o=a.n(l),s=a(11182),i=a(85813),c=a(11163);let d={blue:{normal:"bg-blue-normal",dark:"bg-blue-dark",darkest:"bg-blue-text"},cobalt:{normal:"bg-cobalt-normal",dark:"bg-cobalt-dark",darkest:"bg-cobalt-text"},purple:{normal:"bg-purple-normal",dark:"bg-purple-dark",darkest:"bg-purple-text"},magenta:{normal:"bg-magenta-normal",dark:"bg-magenta-dark",darkest:"bg-magenta-text"},green:{normal:"bg-green-normal",dark:"bg-green-dark",darkest:"bg-green-text"},yellow:{normal:"bg-yellow-normal",dark:"bg-yellow-dark",darkest:"bg-yellow-text"},orange:{normal:"bg-orange-normal",dark:"bg-orange-dark",darkest:"bg-orange-text"},red:{normal:"bg-red-normal",dark:"bg-red-dark",darkest:"bg-red-text"},white:{normal:"bg-white-normal",dark:"bg-white-dark",darkest:"bg-white-text"},transparent:{normal:"bg-transparent-normal",dark:"bg-transparent-normal",darkest:"bg-transparent-normal"}},m={blue:"text-blue-normal",cobalt:"text-cobalt-standard",purple:"text-purple-normal",magenta:"text-magenta-normal",green:"text-green-normal",yellow:"text-yellow-normal",orange:"text-orange-normal",red:"text-red-normal",white:"text-white",transparent:"text-transparent"},ButtonLink=e=>{var t;let{theme:a="normal",rounded:l=!1,type:u="secondary",icon:h,iconRight:p,size:x="m",color:g,className:f,target:b,children:j,onClick:v,style:w,disabled:y,href:k,..._}=e,{asPath:N}=(0,c.useRouter)(),L=(0,n.useMemo)(()=>{let e=new URL("https://chatfuel.com".concat(N)),t=e.searchParams.get("admitad_uid");return t&&"string"==typeof k?"".concat(k).concat(k.includes("?")?"&":"?").concat(e.searchParams.toString()):k},[N,k]);return(0,r.jsxs)(i.p,{target:b,style:w,className:(0,s.overrideTailwindClasses)(o()("inline-block rounded px-5 font-body text-[1rem] font-semibold antialiased hover:opacity-80",null===(t=d[g])||void 0===t?void 0:t[a],{"bg-white":"secondary"===u,"text-white":"primary"===u,outline:"outline"===u,"bg-transparent":"text"===u,[m[g]]:"text"===u,"pointer-events-none select-none opacity-60":y},{"h-14 leading-[3.5rem]":"l"===x,"h-9 leading-[2.25rem]":"m"===x},{"rounded-[200px]":l},f)),onClick:v,href:L,..._,children:[!p&&h,j,p&&h]})}},16311:function(e,t,a){"use strict";a.d(t,{h:function(){return Header}});var r,n,l,o,s=a(85893),i=a(67294),c=a(85813),d=a(69826),m=a(94184),u=a.n(m),h=a(51175),p=a(27561),x=a(29217),g=a(62998),f=a(17106),b=a(30057);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var Hamburger_component=function(e){return i.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),r||(r=i.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M4 8.5h16M4 15.5h16"})))};function Close_component_extends(){return(Close_component_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var Close_component=function(e){return i.createElement("svg",Close_component_extends({xmlns:"http://www.w3.org/2000/svg",width:40,height:40,fill:"none"},e),n||(n=i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.538 11.953a1 1 0 0 1 1.414-1.414l8.046 8.048 8.046-8.048a1 1 0 1 1 1.415 1.414l-8.047 8.049 8.039 8.041a1 1 0 0 1-1.414 1.415l-8.039-8.042-8.038 8.042a1 1 0 1 1-1.414-1.415l8.038-8.041-8.046-8.049Z",clipRule:"evenodd"})))};let PopoverState=e=>{let{open:t,onChange:a}=e,r=(0,i.useRef)(a);return r.current=a,(0,i.useEffect)(()=>{r.current(t)},[t]),null};var j=a(95868),v=a.n(j);let NestedPopoverHeader=e=>{let{title:t}=e;return(0,s.jsxs)("div",{className:"mb-6 flex flex-row justify-between border-b border-white/10 pb-2",children:[(0,s.jsxs)(g.J.Button,{className:"body-medium flex flex-row items-center text-blue-secondary hover:text-cobalt-tertiary",children:[(0,s.jsx)(b.X,{className:"-ml-1 mr-2 rotate-180"}),"Back"]}),(0,s.jsx)("span",{className:"text-cobalt-semilight",children:t})]})},NestedPopover=e=>{let{items:t}=e;return(0,s.jsx)(g.J.Group,{children:t.map((e,t)=>{var a;return(0,s.jsx)(c.p,{href:e.href,"data-category":e.dataCategory,"data-ga-label":e.dataGaLabel,"data-action":e.dataAction,"data-bag-broperty":e.dataBagProperty,target:e.isBlank?"_blank":void 0,className:"body-medium mb-4 flex w-full flex-row text-white",children:null!==(a=e.customTitleNode)&&void 0!==a?a:e.title},t)})})},MainPopoverPanelItem=e=>{var t,a;let{item:r}=e;return r.customNode?r.customNode:!r.subItems||r.href?(0,s.jsx)(c.p,{href:r.href,"data-category":r.dataCategory,"data-ga-label":r.dataGaLabel,"data-action":r.dataAction,"data-bag-broperty":r.dataBagProperty,disableInBrowserNavigation:r.disableInBrowserNavigation,className:"block pb-6 text-left font-body text-2xl font-medium leading-8 tracking-[-0.03em] text-white hover:text-cobalt-tertiary",children:null!==(t=r.customTitleNode)&&void 0!==t?t:r.title}):(0,s.jsxs)(g.J,{children:[(0,s.jsx)(g.J.Button,{className:"group/item flex flex-row items-center pb-6 text-left font-body text-2xl font-medium leading-8 tracking-[-0.03em] text-white outline-none hover:text-cobalt-tertiary",children:null!==(a=r.customTitleNode)&&void 0!==a?a:(0,s.jsxs)(s.Fragment,{children:[r.title,(0,s.jsx)(b.X,{className:"ml-2"})]})}),(0,s.jsx)(f.u,{as:i.Fragment,enterFrom:"translate-x-full opacity-0",enterTo:"translate-x-0 opacity-100",leave:"transition duration-300 transform",enter:"transition duration-300 transform",leaveFrom:"translate-x-0 opacity-100",leaveTo:"translate-x-full opacity-0",unmount:!1,children:(0,s.jsxs)(g.J.Panel,{unmount:!1,className:"absolute inset-0 bg-[#040B16] px-6",children:[(0,s.jsx)(NestedPopoverHeader,{title:r.title}),(0,s.jsx)(NestedPopover,{items:r.subItems})]})})]})},BodyScrollLock=e=>{let{locked:t}=e;return(0,i.useEffect)(()=>
1{if(t)return document.body.classList.add("overflow-hidden"),()=>document.body.classList.remove("overflow-hidden")},[t]),null},MobileMenu=e=>{let{items:t,setOpen:a,bookButton:r,trialButton:n,languageButton:l,topOpen:o,whiteHeader:c}=e;return(0,s.jsx)(g.J,{as:i.Fragment,children:e=>{let{open:d}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(PopoverState,{open:d,onChange:a}),(0,s.jsx)(BodyScrollLock,{locked:o}),(0,s.jsx)(g.J.Button,{className:u()("group/button relative z-10 ml-3 h-10 w-10 shrink-0 items-center justify-center outline-none",v().button,{"text-white hover:text-cobalt-tertiary":!c||d,"text-cobalt-normal hover:text-cobalt-sub":c&&!d}),children:d?(0,s.jsx)(Close_component,{}):(0,s.jsx)(Hamburger_component,{})}),(0,s.jsx)(f.u,{as:i.Fragment,enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-500",enter:"transition-opacity duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,show:o,children:(0,s.jsxs)(g.J.Panel,{unmount:!1,className:"fixed inset-0 flex h-[100dvh] w-full flex-col overflow-hidden bg-[#040B16] px-6 pb-10 pt-[calc(var(--announcement-bar-height,0px)+98px)]",children:[(0,s.jsx)(g.J.Group,{className:"flex w-full flex-col",children:t.map((e,t)=>(0,s.jsx)(MainPopoverPanelItem,{item:e},t))}),(0,s.jsx)("div",{className:"mt-2 h-px w-full bg-white/10"}),(0,s.jsxs)("div",{className:"mt-8 flex w-full items-center justify-between gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 [&>a]:h-14 [&>a]:min-w-[154px] [&>
1a]:text-[16px]",children:[r,n]}),l]})]})})]})}})};var w=a(7084),y=a.n(w);let ProductMenu=e=>{let{title:t,label:a,items:r}=e,[n,l]=(0,i.useState)(!1),o=(0,i.useRef)(null);return(0,s.jsxs)("div",{ref:o,className:y().wrapper,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),onFocus:()=>l(!0),onBlur:e=>{var t;(null===(t=o.current)||void 0===t?void 0:t.contains(e.relatedTarget))||l(!1)},onKeyDown:e=>{"Escape"===e.key&&l(!1)},children:[(0,s.jsxs)("button",{type:"button",className:y().button,"aria-expanded":n,"aria-haspopup":"true",onClick:()=>l(e=>!e),children:[t,(0,s.jsx)("svg",{"aria-hidden":!0,className:y().chevron,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{d:"M4 6.25 8 10.25l4-4",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})]}),n&&(0,s.jsx)("div",{className:y().panel,children:(0,s.jsxs)("div",{className:y().card,children:[(0,s.jsx)("span",{className:y().label,children:a}),(0,s.jsx)("div",{className:y().items,children:r.map(e=>(0,s.jsxs)(c.p,{href:e.href,className:y().item,"data-category":"landing-page-button-click","data-ga-label":e.dataGaLabel,"data-action":e.dataAction,"data-bag-broperty":"header",children:[(0,s.jsx)("span",{"aria-hidden":!0,className:y().itemIcon,children:(0,s.jsx)(e.Icon,{})}),(0,s.jsx)("span",{className:y().itemTitle,children:e.title})]},e.href))})]})})]})};function nav_capi_component_extends(){return(nav_capi_component_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var nav_capi_component=function(e){return i.createElement("svg",nav_capi_component_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),l||(l=i.createElement("g",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,opacity:.5},i.createElement("path",{d:"M18.33 10.414c0-.41-.004-1.236-.012-1.646-.055-2.555-.082-3.832-1.025-4.778-.942-.947-2.254-.98-4.878-1.045a95.936 95.936 0 0 0-4.835 0c-2.624.065-3.936.098-4.878 1.045-.943.946-.97 2.223-1.025 4.778a57.562 57.562 0 0 0 0 2.46c.055 2.554.082 3.831 1.025 4.777.942.946 2.254.98 4.878 1.045a95.69 95.69 0 0 0 2 .03"}),i.createElement("path",{d:"m5.836 7.086 2.452 1.45c1.429.845 2 .845 3.43 0l2.451-1.45M18.33 14.583h-6.666m6.667 0c0-.583-1.662-1.673-2.084-2.083m2.084 2.083c0 .584-1.662 1.674-2.084 2.084"}))))};function nav_sal_component_extends(){return(nav_sal_component_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var nav_sal_component=function(e){return i.createElement("svg",nav_sal_component_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),o||(o=i.createElement("g",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,opacity:.5},i.createElement("path",{d:"M9.167 10.836c-.296.008-.572.019-.833.031-3.084.152-5.597 2.724-5.834 5.802M9.17 8.33a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.667ZM14.583 17.086a3.333 3.333 0 0 1-3.333-3.333m2.917-2.917a3.333 3.333 0 0 1 3.333 3.333m-3.333-2.083v-2.5l-1.25 1.25 1.25 1.25Zm.416 3.75v2.5l1.25-1.25-1.25-1.25Z"}))))};let mapDesktopItemsToMobileItems=e=>{var t;let a=e[0],r=!!(null==a?void 0:null===(t=a.items)||void 0===t?void 0:t.length),n=e.map((e,t)=>{var a;if(0===t&&(null===(a=e.items)||void 0===a?void 0:a.length))return(e.items||[]).map((e,t)=>({...e,title:e.title,customTitleNode:(0,s.jsxs)("span",{className:u()(0===t?"bg-[radial-gradient(58.44%_53.79%_at_7.75%_69.15%,#3298F2_0%,rgba(50,152,242,0.00)100%),linear-gradient(130deg,#5AADF8_0%,#92CCFF_19.13%,#2DD49E_55.56%,#2093E9_90.54%)]":"bg-[radial-gradient(58.44%_53.79%_at_7.75%_69.15%,#7C1FFF_34.90%,rgba(159,95,235,0.00)100%),linear-gradient(130deg,#6358DF_33.10%,#BF61F0_69.79%)]","mt-[1px] flex w-[17rem] flex-col rounded-lg px-3 pb-5 pt-3 text-left text-white outline outline-0 outline-white hover:outline-1"),children:[e.title,(0,s.jsx)("span",{children:e.description})]})}));let{items:r,...n}=e;return{...n,subItems:r}}).flat();if(r){let e=a.title;n.unshift({customNode:(0,s.jsx)("span",{className:"body-medium mb-2 block text-white",children:e}),title:e})}return n};var k=a(41794),_=a(6561),N=a(28378),L=a.n(N);let Header=e=>{let{locale:t,localeUrls:a,multilanguage:r,whiteHeader:n,rawHeader:l,topOffset:o=0}=e,{t:m}=(0,p.$G)("common",{keyPrefix:"header"}),[g,f]=(0,i.useState)(!1),[b,j]=(0,i.useState)(!1);(0,i.useEffect)(()=>
1{if(!n)return;let updateHeaderScrolled=()=>{j(window.scrollY>8)};return updateHeaderScrolled(),window.addEventListener("scroll",updateHeaderScrolled,{passive:!0}),()=>{window.removeEventListener("scroll",updateHeaderScrolled)}},[n]);let v=t&&t!==h.i18n.defaultLocale?"/".concat(t):"",w=[{title:m("helpCenter"),description:m("learnMoreAboutBuilding"),href:"".concat(v,"/docs"),dataCategory:"landing-page-button-click",dataGaLabel:"en-helpCenter-click-header",dataAction:"en-helpCenter-click",dataBagProperty:"header"},{title:m("blog"),description:m("stayTunedLatestIndustryAndMore"),href:"".concat(v,"/blog"),dataCategory:"landing-page-button-click",dataGaLabel:"en-blog-click-header",dataAction:"en-blog-click",dataBagProperty:"header"}],y=l?[]:[{title:m("pricing"),href:"".concat(v,"/pricing"),dataCategory:"landing-page-button-click",dataGaLabel:"en-pricing-click-header",dataAction:"en-pricing-click",dataBagProperty:"header"},{title:m("resources"),toplevel:!0,desktopHorizontalCount:2,items:[{title:m("resources"),description:"",subItems:w}]},{title:m("templates"),href:"".concat(v,"/templates"),dataCategory:"landing-page-button-click",dataGaLabel:"en-templates-click-header",dataAction:"en-templates-click",dataBagProperty:"header"},{title:m("affiliateProgram"),href:"".concat(v,"/affiliate-program"),dataCategory:"landing-page-button-click",dataGaLabel:"en-affiliate-program-click-header",dataAction:"en-affiliate-program-click",dataBagProperty:"header"}],N=[{title:m("capi"),href:"".concat(v,"/conversions-api"),Icon:nav_capi_component,dataGaLabel:"en-capi-click-header",dataAction:"en-capi-click"},{title:m("sal"),href:"".concat(v,"/"),Icon:nav_sal_component,dataGaLabel:"en-sal-click-header",dataAction:"en-sal-click"}],C=l?[]:mapDesktopItemsToMobileItems([{title:m("home"),href:"".concat(v,"/"),dataCategory:"landing-page-button-click",dataGaLabel:"en-home-click-header",dataAction:"en-home-click",dataBagProperty:"header"},{title:m("capi"),href:"".concat(v,"/conversions-api"),dataCategory:"landing-page-button-click",dataGaLabel:"en-capi-click-header",dataAction:"en-capi-click",dataBagProperty:"header"},...y.map(e=>e.items?{...e,items:w}:e)]),A=!!(n&&!l),P="".concat(o,"px"),F="calc(var(--announcement-bar-height, 0px) + ".concat(o,"px)"),M="bg-transparent";g?M=L().mobileOpenHeader:A&&b&&(M=L().blurredHeader);let B=(0,s.jsx)(d.Z,{href:_.AU,type:"secondary","data-category":"landing-page-button-click","data-ga-label":"en-start-free-trial-click-main","data-action":"en-start-free-trial-click-main",color:"white","data-bag-position":"header",className:u()("inline-flex h-10 min-w-[116px] items-center justify-center whitespace-nowrap rounded-[51px] bg-[#f2f3f6] px-6 py-0 font-body text-[14px] font-medium leading-5 text-[#040b16] transition-colors hover:bg-white hover:text-[rgba(4,11,22,0.8)] hover:opacity-100"),children:m("tryForFree")});return(0,s.jsx)("header",{className:u()("fixed z-50 flex h-[66px] flex-row items-center transition-colors duration-500",A?L().floatingHeader:"w-full",M),style:A?{top:F,right:P,left:P,maxWidth:1280,marginInline:"auto"}:{top:F},children:(0,s.jsxs)("nav",{className:u()("mx-auto flex w-full max-w-[1280px] flex-none items-center justify-between px-4 md:px-[35px]",L().nav,"xl:px-[35px]"),children:[(0,s.jsxs)("div",{className:u()("relative z-10",L().brandGroup),children:[(0,s.jsx)(c.p,{href:l?"#":"".concat(v,"/"),"aria-current":"page",className:L().brandLogo,children:(0,s.jsx)("img",{src:"/assets/logo.svg",width:"105",height:"22",alt:"Chatfuel logo"})}),!l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{"aria-hidden":!0,className:L().brandDivider}),(0,s.jsx)("span",{"aria-hidden":!0,className:L().metaPartner,children:(0,s.jsx)("img",{alt:"",src:"/assets/main-v2/meta-business-partner.png"})})]})]}),!l&&(0,s.jsxs)("div",{className:u()("ml-auto items-center gap-6",L().desktopActions),children:[(0,s.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,s.jsx)(ProductMenu,{title:m("product"),label:m("features"),items:N}),(0,s.jsx)(x.v,{items:y}),(0,s.jsx)("div",{className:"h-5 w-px shrink-0 bg-white/20"}),(0,s.jsx)(k.R,{locales:Array.isArray(r)?r:void 0,locale:t,localeUrls:a,compact:!0})]}),B]}),!l&&!g&&(0,s.jsx)("div",{className:u()("ml-auto",L().mobileLanguage),children:(0,s.jsx)(k.R,{locales:Array.isArray(r)?r:void 0,locale:t,localeUrls:a,compact:!0})}),l?null:(0,s.jsx)(MobileMenu,{topOpen:g,items:C,setOpen:f,bookButton:null,trialButton:B,languageButton:(0,s.jsx)(k.R,{locales:Array.isArray(r)?r:void 0,locale:t,localeUrls:a,compact:!0}),whiteHeader:!1})]})})}},41794:function(e,t,a){"use strict";a.d(t,{R:function(){return LanguageButton}});var r,n=a(85893),l=a(69826),o=a(67294),s=a(27561),i=a(94184),c=a.n(i),d=a(51175);let useClickOutside=(e,t)=>{(0,o.useEffect)(()=>{let listener=a=>{!e.current||e.current.contains(a.target)||t(a)};return document.addEventListener("mousedown",listener),document.addEventListener("touchstart",listener),()=>{document.removeEventListener("mousedown",listener),document.removeEventListener("touchstart",listener)}},[e,t])};var m=a(66363),u=a.n(m),h=a(13446);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var arrow_component=function(e){return o.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none"},e),r||(r=o.createElement("path",{stroke:"#152442",d:"m.91 1 3.292 3.293a1 1 0 0 0 1.414 0L8.91 1"})))},p=a(81740),x=a(11163);let getHref=e=>{let{localeUrls:t,newLocale:a,pureRoute:r}=e;if(t){let e=t[a];return e}return a===d.i18n.defaultLocale?r:"/".concat(a).concat(r)}
1,LanguageButton=e=>{let{locale:t,localeUrls:a,locales:r,whiteHeader:i,compact:m}=e,{i18n:g}=(0,s.$G)(),[f,b]=(0,o.useState)(!1),j=(0,o.useRef)(null),{originalPath:v}=(0,p.l)(),w=(0,x.useRouter)(),{asPath:y}=w,{pathname:k}=new URL("https://chatfuel.com".concat(y)),_=v||k,N=(t&&t!==d.i18n.defaultLocale?null==_?void 0:_.replace(new RegExp("^/".concat(t)),""):_)||"/";return useClickOutside(j,()=>{f&&b(!1)}),(0,n.jsxs)("button",{className:c()("relative rounded font-medium text-white",m?"inline-flex h-5 items-center":"inline-block h-9",!m&&{"ml-3 px-3":!i,"ml-5":i}),style:m?void 0:{fontSize:"15px"},onClick:()=>b(!f),ref:j,children:[(0,n.jsxs)("span",{className:c()("uppercase",m&&"flex h-5 items-center gap-[6px] whitespace-nowrap font-body text-[14px] font-medium leading-5 text-[rgba(255,255,255,0.9)] opacity-80 transition-opacity hover:opacity-100",!m&&{"text-white":!i,"body-medium flex h-full w-fit items-center rounded-lg px-5 font-medium leading-[2.125rem] text-cobalt-normal outline-none xl:border":i,[u().whiteHeader]:i}),children:[t||g.language,m?(0,n.jsx)("svg",{width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:c()("overflow-visible",f&&"rotate-180"),children:(0,n.jsx)("path",{d:"M1 1L4 4L7 1",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}):i&&(0,n.jsxs)(n.Fragment,{children:["\xa0",(0,n.jsx)(arrow_component,{className:c()(f&&"rotate-180")})]})]}),m?(0,n.jsx)("nav",{className:c()(u().modernDropdown,f?"block":"hidden"),children:(r||d.i18n.locales).map(e=>{var r;let o=getHref({localeUrls:a,pureRoute:N,newLocale:e}),s=(null===(r=t||g.language)||void 0===r?void 0:r.toLowerCase())===e.toLowerCase();return!!o&&(0,n.jsx)(l.Z,{suppressHydrationWarning:!0,href:o,onClick:async a=>{if(a.preventDefault(),t===e){b(!1);return}(0,h.A)(e),await g.changeLanguage(e),b(!1),await w.push(o)},className:c()(u().modernItem,s&&u().modernItemActive),type:"text",children:(0,n.jsx)("span",{children:e})},e)})}):(0,n.jsx)("nav",{className:c()(u().dropdown,"absolute mt-7 -translate-x-1/2 rounded-sm bg-cobalt-standard",f?"block":"hidden"),style:{width:65,top:"100%",left:"50%"},children:(r||d.i18n.locales).map(e=>{let r=getHref({localeUrls:a,pureRoute:N,newLocale:e});return!!r&&(0,n.jsx)(l.Z,{suppressHydrationWarning:!0,href:r,onClick:async a=>{if(a.preventDefault(),t===e){b(!1);return}(0,h.A)(e),await g.changeLanguage(e),b(!1),await w.push(r)},className:"flex h-auto items-center px-5 py-4 hover:bg-dark hover:opacity-100",type:"text",children:(0,n.jsx)("span",{className:"text-left font-medium uppercase leading-normal",children:e})},e)})})]})}},29217:function(e,t,a){"use strict";a.d(t,{w:function(){return HoverPopoverButton},v:function(){return Menu}});var r=a(85893),n=a(67294),l=a(62998),o=a(17106),s=a(59965),i=a(94184),c=a.n(i),d=a(85813);let m={1:"w-[15.5rem]",2:"w-[31rem]",3:"w-[46.5rem]"},PopoverSubMenu=e=>{let{desktopHorizontalCount:t,items:a}=e;return(0,r.jsx)("ul",{className:c()("flex flex-row flex-wrap",m[t]),children:a.map((e,t)=>(0,r.jsx)("li",{children:(0,r.jsxs)(d.p,{href:e.href,"data-category":e.dataCategory,"data-ga-label":e.dataGaLabel,"data-action":e.dataAction,"data-bag-broperty":e.dataBagProperty,disableInBrowserNavigation:e.disableInBrowserNavigation,type:"text",target:e.isBlank?"_blank":void 0,className:c()("flex flex-none flex-row rounded-lg border border-solid border-transparent px-3 pb-5 pt-3 text-left text-cobalt-sub hover:border-blue-semilight",m[1]),children:[e.icon&&(0,r.jsx)("span",{className:"mr-2",children:(0,r.jsx)(e.icon,{})}),(0,r.jsxs)("span",{className:"flex flex-col",children:[(0,r.jsx)("span",{className:"body-medium mb-0.5",children:e.title}),(0,r.jsx)("span",{className:"body-regular text-cobalt-secondary",children:e.description})]})]})},t))})},PopoverMenuItemContainer=e=>{let{href:t,...a}=e;return t?(0,r.jsx)(s.O,{as:d.p,href:t,...a}):(0,r.jsx)(s.O,{...a})};var u=a(30057);let PopoverMenu=e=>{let{desktopHorizontalCount:t,items:a,className:i,toplevel:d}=e,[m,h]=(0,n.useState)(0);return(0,r.jsxs)(o.u,{enterFrom:"opacity-0 -translate-y-[16px]",enterTo:"opacity-100 translate-y-0",leave:"transition duration-300",className:"absolute inset-0",enter:"transition duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,children:[(0,r.jsx)("span",{className:"absolute bottom-0 left-1/2 top-[36px] -translate-x-1/2 border-[8px] border-x-trans
1parent border-b-blue-light border-t-transparent"}),(0,r.jsx)(l.J.Panel,{className:c()("absolute top-[52px] z-50 flex flex-row rounded-2xl bg-blue-light",i),unmount:!1,children:(0,r.jsxs)(s.O.Group,{vertical:!0,selectedIndex:m,onChange:h,children:[!d&&(0,r.jsx)(s.O.List,{className:"flex flex-col p-3",children:a.map((e,t)=>{let a="href"in e;return(0,r.jsxs)(PopoverMenuItemContainer,{href:a?e.href:void 0,"data-category":e.dataCategory,"data-ga-label":e.dataGaLabel,"data-action":e.dataAction,"data-bag-broperty":e.dataBagProperty,onMouseEnter:()=>{h(t)},className:c()("group/item flex w-[17rem] flex-col rounded-lg px-3 pb-5 pt-3 text-left text-cobalt-sub hover:bg-blue-semilight aria-selected:bg-blue-semilight",e.className),children:[(0,r.jsxs)("span",{className:"body-medium mb-0.5 flex flex-row items-center",children:[e.title,!a&&(0,r.jsx)(u.X,{className:"ml-2"})]}),(0,r.jsx)("span",{className:"body-regular",children:e.description})]},t)})}),(0,r.jsx)(s.O.Panels,{className:c()("rounded-r-2xl bg-white",{"rounded-l-2xl":d}),children:a.map((e,a)=>e.subItems?(0,r.jsx)(o.u,{show:m===a,as:n.Fragment,enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition duration-300 transform",enter:"transition duration-300 transform",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,children:(0,r.jsx)(s.O.Panel,{unmount:!1,className:"h-full p-3",children:(0,r.jsx)(PopoverSubMenu,{desktopHorizontalCount:t,items:e.subItems})})},a):(0,r.jsx)(s.O.Panel,{},a))})]})})]})},HoverPopoverButton=e=>{let{open:t,...a}=e,o=(0,n.useRef)(null),s=(0,n.useRef)(!1);return(0,r.jsx)(l.J.Button,{...a,onTouchStart:()=>{s.current=!0},onMouseOver:()=>{if(!t){if(s.current)s.current=!1;else{var e;null===(e=o.current)||void 0===e||e.click()}}},ref:o})},Menu=e=>{let{items:t,whiteHeader:a}=e;return(0,r.jsx)(l.J.Group,{className:"flex flex-row items-center gap-4",children:t.map((e,t)=>e.href?(0,r.jsx)(d.p,{className:c()("flex items-center whitespace-nowrap font-body text-[15px] font-medium leading-5 opacity-80 transition-opacity hover:opacity-100",{"text-[rgba(255,255,255,0.9)]":!a,"text-cobalt-normal hover:text-cobalt-normal/70":a}),href:e.href,"data-category":e.dataCategory,"data-ga-label":e.dataGaLabel,"data-action":e.dataAction,"data-bag-broperty":e.dataBagProperty,disableInBrowserNavigation:e.disableInBrowserNavigation,children:e.title},t):(0,r.jsx)(l.J,{className:"relative z-50",children:t=>{let{open:n,close:o}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(HoverPopoverButton,{open:n,className:c()("body-medium -z-50 flex flex-row items-center p-1 hover:outline-0",{"text-white hover:text-[#ffffff99] aria-expanded:text-[#ffffff99]":!a,"text-cobalt-normal hover:text-cobalt-normal/70 aria-expanded:text-cobalt-normal/70":a}),children:[e.title,(0,r.jsx)("span",{className:"ml-1 mt-1.5",children:(0,r.jsx)(u.X,{className:"rotate-90"})})]}),n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"absolute -left-[24px] top-0 z-50 h-[52px] w-[calc(100%+48px)] cursor-pointer"}),(0,r.jsx)("span",{className:"absolute -left-[200px] top-full z-50 h-[32px] w-[calc(100%+400px)]"})]}),(0,r.jsx)(l.J.Overlay,{className:"fixed left-0 top-0 h-[100vh] w-[100vw]",onMouseEnter:()=>{o()}}),(0,r.jsx)(PopoverMenu,{toplevel:!!e.toplevel,desktopHorizontalCount:e.desktopHorizontalCount,items:e.items,className:e.className})]})}},e.title))})}},30057:function(e,t,a){"use strict";a.d(t,{X:function(){return ChevronRightIcon}});var r=a(85893);a(67294);let ChevronRightIcon=e=>{let{className:t}=e;return(0,r.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",strokeWidth:"1",stroke:"currentColor",className:t,children:(0,r.jsxs)("g",{fillRule:"evenodd",children:[(0,r.jsx)("path",{d:"M0 5h7",className:"opacity-0 transition-opacity group-hover/item:opacity-100 group-aria-selected/item:opacity-100",strokeWidth:"1"}),(0,r.jsx)("path",{d:"M1 9L5 5L1 1",className:"-translate-x-0.5 transition-transform group-hover/item:translate-x-0.5 group-aria-selected/item:translate-x-0.5"})]})})}},81740:function(e,t,a){"use strict";a.d(t,{S:function(){return LayoutContextProvider},l:function(){return useLayoutContext}});var r=a(85893),n=a(67294),l=a(51175);let o=(0,n.createContext)({localePrefix:"",locale:void 0,originalPath:void 0}),LayoutContextProvider=e=>{let{locale:t,originalPath:a,children:s}=e,i=(0,n.useMemo)(()=>{let e=t&&t!==l.i18n.defaultLocale?"/".concat(t):"";return{localePrefix:e,locale:t,originalPath:a}},[t,a]);return(0,r.jsx)(o.Provider,{value:i,children:s})},useLayoutContext=()=>(0,n.useContext)(o)},85813:function(e,t,a){"use strict";a.d(t,{p:function(){return NextLink}});var r=a(85893),n=a(67294),l=a(41664),o=a.n(l),s=a(32125);let NextLink=e=>{let{disableInBrowserNavigation:t,...a}=e,l=(0,n.useRef)(null);return(0,r.jsx)(o(),{prefetch:!1,...a,onClick:e=>{var r,n,o,i;if(null===(r=a.onClick)||void 0===r||r.call(a,e),a["data-action"]){let r=Object.entries(a).reduce((e,t)=>
1{let[a,r]=t;return a.startsWith("data-bag-")&&(e[a.replace("data-bag-","")]=r),e},{});r.link=a.href,r.label=null===(n=l.current)||void 0===n?void 0:n.textContent;let o={action:a["data-action"]||"lp-link-click",category:a["data-category"]||"click chatfuel link",label:a["data-label"],propertyBag:r};(0,s.q)(o),t&&(e.preventDefault(),e.stopPropagation(),window.open("".concat(a.href),a.target||"_self"))}a["data-ga-label"]&&(null===(i=window)||void 0===i||null===(o=i.ga)||void 0===o||o.call(i,"send",{hitType:"event",eventCategory:"button",eventAction:"click",eventLabel:a["data-ga-label"]}))}})}},79164:function(e,t,a){"use strict";a.d(t,{Z:function(){return layout}});var r=a(85893),n=a(9008),l=a.n(n),o=a(67294),s=a(27561),i=a(89755),c=a.n(i),d=a(94184),m=a.n(d);let SocialMedia=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"});return(0,r.jsxs)("div",{className:m()("body-regular text-cobalt-tertiary",t),children:[(0,r.jsx)("span",{className:"uppercase",children:a("socialMedia")}),(0,r.jsx)("div",{className:"flex",children:(0,r.jsxs)("div",{className:"flex gap-x-5 pt-2 sm:justify-between",children:[(0,r.jsx)("a",{href:"https://www.facebook.com/groups/chatfuel/",target:"_blank",className:"-mx-2 px-2 hover:opacity-60",rel:"noreferrer",children:(0,r.jsx)(c(),{quality:100,width:32,height:32,src:"/assets/social/facebook.svg",alt:"fb",loading:"lazy"})}),(0,r.jsx)("a",{href:"https://twitter.com/chatfuel?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor",target:"_blank",className:"-mx-2 px-2 hover:opacity-60",rel:"noreferrer",children:(0,r.jsx)(c(),{quality:100,width:32,height:32,src:"/assets/social/twitter.svg",alt:"tw",loading:"lazy"})}),(0,r.jsx)("a",{href:"https://www.linkedin.com/company/chatfuel/",target:"_blank",className:"-mx-2 px-2 hover:opacity-60",rel:"noreferrer",children:(0,r.jsx)(c(),{quality:100,width:32,height:32,src:"/assets/social/linkedin.svg",alt:"li",loading:"lazy"})}),(0,r.jsx)("a",{href:"https://www.youtube.com/chatfuel",target:"_blank",className:"-mx-2 px-2 hover:opacity-60",rel:"noreferrer",children:(0,r.jsx)(c(),{quality:100,width:32,height:32,src:"/assets/social/youtube.svg",alt:"yt",loading:"lazy"})}),(0,r.jsx)("a",{href:"https://www.instagram.com/chatfuel/",target:"_blank",className:"-mx-2 px-2 hover:opacity-60",rel:"noreferrer",children:(0,r.jsx)(c(),{quality:100,width:32,height:32,src:"/assets/social/instagram.svg",alt:"inst",loading:"lazy"})})]})})]})};var u=a(85813);let FooterLink=e=>{let{className:t,...a}=e;return(0,r.jsx)(u.p,{className:m()("body-regular inline-block py-2 text-white hover:opacity-60",t),...a})};var h=a(81740);let MainLinks=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"}),{localePrefix:n}=(0,h.l)();return(0,r.jsxs)("ul",{className:m()(t),children:[(0,r.jsx)("li",{className:"mb-1 uppercase",children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/"),className:"uppercase",children:a("chatfuel")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/whatsapp"),children:a("whatsApp")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/facebook",children:a("facebook")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/instagram",children:a("instagram")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/website",children:a("website")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/pricing",disableInBrowserNavigation:!0,children:a("pricing")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/affiliate-program",children:a("affiliateProgram")})})]})},UseCases=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"}),{localePrefix:n}=(0,h.l)();return(0,r.jsxs)("div",{className:m()("body-regular text-cobalt-tertiary",t),children:[(0,r.jsx)("span",{className:"uppercase",children:a("useCases")}),(0,r.jsxs)("ul",{className:"pt-2 text-white",children:[(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/education"),children:a("education")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/ecommerce",children:a("eCommerce")})})]})]})},Tools=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"}),{localePrefix:n}=(0,h.l)();return(0,r.jsxs)("div",{className:m()("body-regular text-cobalt-tertiary",t),children:[(0,r.jsx)("span",{className:"uppercase",children:a("tools")}),(0,r.jsxs)("ul",{className:"pt-2 text-white",children:[(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/wa-links"),children:a("whatsAppLinkGenerator")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/wa-widget"),children:a("whatsAppWebsiteButton")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/templates",children:a("templates")}
1)}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/peak-season-sales",children:a("peakSeasonSales")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/peak-season-ai",children:a("peakSeasonAi")})})]})]})},KnowledgeFeedback=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"}),{localePrefix:n}=(0,h.l)();return(0,r.jsxs)("div",{className:m()("body-regular text-cobalt-tertiary",t),children:[(0,r.jsx)("span",{className:"uppercase",children:a("knowledgeFeedback")}),(0,r.jsxs)("ul",{className:"pt-2 text-white",children:[(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/docs"),children:a("helpCenter")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"https://chat.whatsapp.com/GNu926bVu5u9eughsY2dLL?mode=ems_copy_t",target:"_blank",children:a("community")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"https://chatfuelbacklog.canny.io/features-requests",target:"_blank",children:a("featureRequests")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"".concat(n,"/blog"),children:a("blog")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/glossary",children:a("glossary")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"https://status.chatfuel.com/",target:"_blank",children:a("status")})})]})]})},getAndroidLink=e=>{let t=new URLSearchParams;return t.set("id","com.chatfuel.awesome"),e.size&&t.set("referrer",btoa(e.toString())),"https://chatfuel.onelink.me/9kZc/aw8oj7fn?".concat(t.toString())};var p=a(39332),x=a(69826),g=a(92592);let QRCode=e=>{let{value:t,size:a=100,className:n=""}=e,l=(0,o.useRef)(null),[s,i]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{i(!0)},[]),(0,o.useEffect)(()=>{s&&l.current&&g.toCanvas(l.current,t,{width:a,margin:1})},[t,a,s]),s)?(0,r.jsx)("canvas",{ref:l,className:n}):(0,r.jsx)("div",{className:n,style:{width:a,height:a}})},StoreLinks=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"}),n=(0,p.useSearchParams)(),l=getAndroidLink(n);return(0,r.jsxs)("div",{className:m()(t),children:[(0,r.jsx)("div",{className:"mb-4 flex",children:(0,r.jsx)("div",{className:"rounded-20 border border-[#747474] p-4",children:(0,r.jsx)(QRCode,{value:l,size:128,className:"rounded-lg"})})}),(0,r.jsx)("div",{children:(0,r.jsx)(x.Z,{href:l,color:"blue",type:"primary",className:"body-medium mb-2 flex h-12 w-fit items-center justify-center rounded-lg px-7 hover:bg-blue-dark xs:mb-3 md:mb-4",children:a("downloadApp")})})]})},Copyright=e=>{let{className:t}=e,{localePrefix:a}=(0,h.l)();return(0,r.jsxs)(FooterLink,{className:m()("!text-cobalt-tertiary",t),href:"".concat(a,"/"),children:["\xa9 ",new Date().getFullYear()," Chatfuel"]})};var f=a(25675),b=a.n(f),j={src:"/_next/static/media/label.7e563077.png",height:148,width:460,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAJ1BMVEXT3t734Nzm5ufHx8f28/Pq6+ugoKDOzs60tLTIyMrAwcHLy8vl5udDfRk8AAAAC3RSTlMDvegtV4Rso3SC9BC9NRMAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAhSURBVHicBcGHAQAwCMMwh93x/71IiLBA4jKv+MbB28lcBHwAXzOXbMcAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3};let Label=e=>{let{className:t}=e,{t:a}=(0,s.$G)("common",{keyPrefix:"footer"});return(0,r.jsxs)("div",{className:m()("body-regular text-cobalt-tertiary",t),children:[(0,r.jsx)("span",{className:"uppercase",children:a("label")}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(b(),{quality:100,width:242,src:j,alt:"label",loading:"lazy"})})]})},Footer=()=>{let{t:e}=(0,s.$G)(),t=(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"/about-us",children:e("common:footer.aboutUs")})}),(0,r.jsx)("li",{children:(0,r.jsx)(FooterLink,{href:"https://careers.chatfuel.com/",target:"_blank",children:e("common:footer.careers")})})]}),a=(0,r.jsxs)("div",{className:"flex flex-col md:flex-row md:gap-4",children:[(0,r.jsx)(FooterLink,{href:"https://chatfuel.com/files/TermsOfUse.pdf",target:"_blank",className:"!text-cobalt-tertiary",children:e("common:footer.termsOfUse")}),(0,r.jsx)(FooterLink,{href:"https://chatfuel.com/privacy-policy.html",target:"_blank",className:"!text-cobalt-tertiary",children:e("common:footer.privacyPolicy")}),(0,r.jsx)(FooterLink,{href:"/gdpr",target:"_blank",className:"!text-cobalt-tertiary",children:e("common:footer.gdpr")})]});return(0,r.jsx)("footer",{className:"bg-[#0E121C]",children:(0,r.jsxs)("nav",{className:"container",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-7 px-6 py-8 md:hidden",children:[(0,r.jsx)("img",{alt:"logo",src:"/assets/logo.svg",width:135}),t,(0,r.jsx)(SocialMedia,{}),(0,r.jsx)(Label,{}),(0,r.jsx)(StoreLinks,{}),(0,r.jsx)(MainLinks,{}),(0,r.jsx)(UseCases,{}),(0,r.jsx)(Tools,{}),(0,r.jsx)(KnowledgeFeedback,{}),a,(0,r.jsx)(Copyright,{})]}),(0,r.jsxs)("div",{className:"hidden flex-col gap-7 px-6 py-8 md:flex xl:hidden",children:[(0,r.jsxs)("div",{className:"flex gap-5 [&>*]:flex-1",children:[(0,r.jsx)(MainLinks,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)(UseCases,{}),(0,r.jsx)(Tools,{})]}),(0,r.jsx)(KnowledgeFeedback,{})]}),(0,r.jsxs)("div",{className:"flex gap-5 [&>*]:flex-1",children:[t,(0,r.jsxs)("div",{children:[(0,r.jsx)(SocialMedia,{}),(0,r.jsx)(Label,{className:"mt-4"})]}),(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(StoreLinks,{})})]}),(0,r.jsx)("img",{alt:"logo",src:"/assets/logo.svg",className:"mt-20 w-full"}),(0,r.jsxs)("div",{className:"flex justify-between",children:[a,(0,r.jsx)(Copyright,{})]})]}),(0,r.jsxs)("div",{className:"hidden flex-col gap-7 px-6 py-8 xl:flex",children:[(0,r.jsxs)("div",{className:"flex gap-5 [&>*]:flex-1",children:[(0,r.jsx)(MainLinks,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)(UseCases,{}),(0,r.jsx)(Tools,{})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(KnowledgeFeedback,{}),t]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(SocialMedia,{}),(0,r.jsx)(Label,{className:"mt-4"})]}),(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsx)(StoreLinks,{})})]}),(0,r.jsx)("img",{alt:"logo",src:"/assets/logo.svg",className:"mt-20 w-full"}),(0,r.jsxs)("div",{className:"flex justify-between",children:[a,(0,r.jsx)(Copyright,{})]})]})]})})};var v=a(16311);let w={"@context":"https://schema.org","@type":"Organization",url:"https://chatfuel.com",name:"Chatfuel",email:"[email protected]",logo:"https://dashboard.chatfuel.com/src/favicons/out/chatfuel/android-chrome-256x256.png",contactType:"customer service",sameAs:["https://www.facebook.com/chatfuel/","https://www.youtube.com/chatfuel","https://www.instagram.com/chatfuel/"]};var meta=e=>{let{title:t,description:a,imageSrc:n}=e;return(0,r.jsxs)(l(),{children:[(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/favicons/apple-touch-icon.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicons/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicons/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicons/favicon.ico"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,r.jsx)("meta",{name:"msapplication-config",content:"/favicons/browserconfig.xml"}),(0,r.jsx)("meta",{name:"theme-color",content:"#040B16"}),(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(w)}}),(0,r.jsx)("meta",{content:t,property:"og:title"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:site_name",content:"Chatfuel"}),n&&(0,r.jsx)("meta",{content:n,property:"og:image"}),(0,r.jsx)("meta",{content:t,name:"twitter:title"}),(0,r.jsx)("meta",{content:"summary_large_image",name:"twitter:card"}),(0,r.jsx)("meta",{content:"@chatfuel",name:"twitter:site"}),a&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"description",content:a}),(0,r.jsx)("meta",{content:a,property:"og:description"}),(0,r.jsx)("meta",{content:a,name:"twitter:description"})]}),(0,r.jsx)("meta",{content:"O1bFX5z5UAqDNP4EluM3S6uoG-jw1M4-dmAaAbnUInU",name:"google-site-verification"}),(0,r.jsx)("meta",{name:"yandex-verification",content:"c4e2f1d9305e9426"})]})},y=a(11163),k=a(6561);let SdkIconPlate=()=>
1(0,r.jsxs)("span",{"aria-hidden":!0,className:"relative flex h-7 w-7 shrink-0 items-center justify-center",children:[(0,r.jsxs)("svg",{viewBox:"0 0 48 48",className:"absolute inset-0 h-full w-full transition-transform duration-200 ease-out group-hover:rotate-45",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"sdk-plate-grad",x1:"0",y1:"24",x2:"48",y2:"24",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#E7E4FF"}),(0,r.jsx)("stop",{offset:"0.908654",stopColor:"#AFA8FF"})]})}),(0,r.jsx)("path",{d:"M19.5774 1.87818C22.0136 -0.626059 25.9864 -0.626058 28.4226 1.87818L31.2195 4.7532C32.2259 5.78766 33.5509 6.43783 34.9721 6.59454L38.922 7.03008C42.3625 7.40945 44.8395 10.5742 44.4369 14.0763L43.9747 18.097C43.8084 19.5436 44.1357 21.0045 44.9015 22.2344L47.0301 25.6526C48.8841 28.6299 48 32.5763 45.0618 34.4391L41.6885 36.5777C40.4748 37.3472 39.5578 38.5188 39.0916 39.8957L37.796 43.7225C36.6674 47.0558 33.0881 48.8121 29.8267 47.6329L26.0825 46.2791C24.7353 45.7919 23.2647 45.7919 21.9175 46.2791L18.1733 47.6329C14.9119 48.8121 11.3326 47.0558 10.204 43.7225L8.90834 39.8957C8.44214 38.5188 7.52519 37.3472 6.31145 36.5777L2.93818 34.4391C-5.29317e-05 32.5763 -0.884075 28.6299 0.969943 25.6526L3.09847 22.2344C3.86434 21.0045 4.19159 19.5436 4.02529 18.097L3.56309 14.0763C3.1605 10.5742 5.63748 7.40945 9.07797 7.03008L13.0279 6.59454C14.4491 6.43783 15.7741 5.78766 16.7805 4.75319L19.5774 1.87818Z",fill:"url(#sdk-plate-grad)"})]}),(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round",className:"relative h-3.5 w-3.5",children:[(0,r.jsx)("polyline",{points:"4 17 10 11 4 5"}),(0,r.jsx)("line",{x1:"12",x2:"20",y1:"19",y2:"19"})]})]}),AnnouncementBar=()=>{let{t:e}=(0,s.$G)("common",{keyPrefix:"banners.sdkLaunch"});return(0,r.jsxs)(u.p,{href:k.UH,target:"_blank",rel:"noopener","data-category":"landing-page-banner-click","data-ga-label":"sdk-announcement-click","data-action":"sdk-announcement-click",className:"group sticky top-0 z-[60] flex h-10 w-full items-center justify-center gap-2 bg-mainV2Gradient px-4 font-body text-[13px] font-medium leading-5 text-[#040B16] sm:gap-3 sm:text-[14px]",children:[(0,r.jsx)(SdkIconPlate,{}),(0,r.jsx)("span",{className:"hidden shrink-0 rounded-full bg-[#040B16] px-2 py-0.5 text-[11px] font-semibold uppercase leading-4 tracking-wide text-white xs:inline",children:e("badge")}),(0,r.jsx)("span",{className:"truncate md:hidden",children:e("labelShort")}),(0,r.jsx)("span",{className:"hidden truncate md:inline",children:e("label")}),(0,r.jsxs)("span",{className:"flex shrink-0 items-center gap-1 font-semibold",children:[(0,r.jsx)("span",{className:"hidden underline-offset-2 group-hover:underline md:inline",children:e("action")}),(0,r.jsx)("span",{"aria-hidden":!0,className:"transition-transform group-hover:translate-x-0.5",children:"→"})]})]})},calculatePathname=(e,t)=>"/"===e?"":t?e.replace(/^\/(es|pt|id)/,""):e,getCanonicalHref=(e,t)=>{let a=new URL("https://chatfuel.com".concat(e)),r=a.searchParams.get("page"),n=calculatePathname(a.pathname,t);return a.searchParams.delete("variant"),"https://chatfuel.com".concat(n).concat(null===r?"":"?page=".concat(r))};var layout=e=>{let{header:t,title:a,children:n,persistHeader:o,description:s,minScreen:i=!0,imageSrc:c,locale:d,isLocaleCanonical:u,localesAlternate:p=[],localeUrls:x,multilanguage:g=!1,whiteHeader:f=!1,originalPath:b,rawHeader:j=!1,hideFooter:w=!1,topOffset:k,hideAnnouncementBar:_=!1}=e,{asPath:N}=(0,y.useRouter)(),L=getCanonicalHref(b||N,!!u);return(0,r.jsxs)(h.S,{locale:d,originalPath:b,children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("link",{rel:"canonical",href:L},"canonical"),(0,r.jsx)("meta",{property:"og:url",content:L}),(0,r.jsx)("title",{children:a}),p.map(e=>(0,r.jsx)("link",{rel:"alternate",hrefLang:e.locale,href:e.url},e.locale))]}),(0,r.jsx)(meta,{title:a,description:s,imageSrc:c}),(0,r.jsxs)("div",{style:_?void 0:{"--announcement-bar-height":"".concat(40,"px")},children:[!_&&(0,r.jsx)(AnnouncementBar,{}),t||(0,r.jsx)(v.h,{locale:d,isTop:!0!==o&&void 0,localeUrls:x,multilanguage:g,whiteHeader:f,rawHeader:j,topOffset:k}),(0,r.jsx)("div",{className:m()({"min-h-screen":i}),children:(0,r.jsx)("main",{children:n})}),!w&&(0,r.jsx)(Footer,{})]})]})}},32125:function(e,t,a){"use strict";a.d(t,{q:function(){return sendEvent}});var r=a(39615);let sendEvent=(e,t)=>
1{(0,r.i)(e,t)}},6561:function(e,t,a){"use strict";a.d(t,{AU:function(){return r},UH:function(){return n}});let r="https://panel.chatfuel.com/sign-in",n="https://sdk.chatfuel.com/?utm_source=chatfuel.com&utm_medium=announcement-bar&utm_campaign=sdk-launch"},28378:function(e){e.exports={dropdown:"Header_dropdown__3E_bf",innerDropdown:"Header_innerDropdown__8SPqK",iconContainer:"Header_iconContainer__EnEoh",whiteDemoBtn:"Header_whiteDemoBtn__7OYIS",brandGroup:"Header_brandGroup__CIWsW",brandLogo:"Header_brandLogo__qOU8L",brandDivider:"Header_brandDivider__Xa8b4",metaPartner:"Header_metaPartner__BP71G",desktopActions:"Header_desktopActions__CwNRU",mobileLanguage:"Header_mobileLanguage__UxmmW",mobileOpenHeader:"Header_mobileOpenHeader__GWcsO",floatingHeader:"Header_floatingHeader__SylHk",blurredHeader:"Header_blurredHeader__Lpr3b",nav:"Header_nav__qviEC"}},66363:function(e){e.exports={dropdown:"LanguageButton_dropdown__2ZgwT",whiteHeader:"LanguageButton_whiteHeader__Gpv5D",modernDropdown:"LanguageButton_modernDropdown__QOFHF",modernItem:"LanguageButton_modernItem__2mHZN",modernItemActive:"LanguageButton_modernItemActive__bia96"}},95868:function(e){e.exports={button:"MobileMenu_button__B2uaw"}},7084:function(e){e.exports={wrapper:"ProductMenu_wrapper___YMJh",button:"ProductMenu_button__dbyRb",chevron:"ProductMenu_chevron__9qxPZ",panel:"ProductMenu_panel__IiqEM",card:"ProductMenu_card__iPv4m",label:"ProductMenu_label__jwPBJ",items:"ProductMenu_items__QTHyY",item:"ProductMenu_item__WDepa",itemIcon:"ProductMenu_itemIcon__EUcuv",itemTitle:"ProductMenu_itemTitle___5R4W"}}}]);

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.