1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1894,9584],{2086:e=>{e.exports={wrap:"blog-form-cta_wrap__BQMKK",bgImage:"blog-form-cta_bgImage__AHWg2",deviceImg:"blog-form-cta_deviceImg__M33Lu",content:"blog-form-cta_content__01KLw",contentWrap:"blog-form-cta_contentWrap__H4Spx",button:"blog-form-cta_button__kMsPu",caption:"blog-form-cta_caption__RaiN_",title:"blog-form-cta_title__kV_8Z",successMessage:"blog-form-cta_successMessage___z7p_"}},3043:(e,t,a)=>{"use strict";a.d(t,{h6:()=>r,ob:()=>i,qW:()=>o});var l=a(96098);let s=["en","es","pt"],i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,a="/"===e?"":e;return t.length<2?{}:t.reduce((e,t)=>(e[t]="".concat(l.d$[t]).concat(a),e),{})},n={en:"en","pt-BR":"pt","es-ES":"es"},r=(e,t)=>{let a=e.reduce((e,a)=>{let s=(null==a?void 0:a.locale)?n[a.locale]:void 0;return s&&(null==a?void 0:a.slug)&&a.publishedAt&&(e[s]="".concat(l.d$[s]).concat(t(a.slug))),e},{});return Object.keys(a).length>1?a:{}},o=e=>e?n[e]:void 0},7425:e=>{e.exports={navWrap:"breadcrumbs_navWrap__cEd_z",linkWrap:"breadcrumbs_linkWrap__iqx5B",link:"breadcrumbs_link__oeXTz",currentPageName:"breadcrumbs_currentPageName__VXaVU",navWrapSmallMargin:"breadcrumbs_navWrapSmallMargin__8uxaq"}},12644:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var l=a(50979),s=a(37039),i=a.n(s),n=a(11230),r=a.n(n),o=a(21168);function c(e){let{title:t,description:a,description2:s,buttonText:n,onClick:c,icon:d="/images/shared/medium.svg",backgroundImage:m="/images/blog/blog_banner_card.svg",orientation:u="vertical"}=e,p=(0,o.oF)(),h="horizontal"===u;return(0,l.jsxs)("div",{className:r()("relative overflow-hidden rounded-2xl bg-no-repeat bg-cover mb-6 flex w-full mx-auto",{"flex-col justify-between h-auto max-w-[328px] lg:max-w-[280px] py-4 px-3":!h,"flex-col h-auto gap-2 lg:flex-row tbl:items-center tbl:justify-between lg:gap-6 lg:h-[108px] max-w-[800px] py-2 px-2 md:py-3 md:px-5":h}),children:[(0,l.jsx)(i(),{src:m,className:"object-cover",alt:"",fill:!0,unoptimized:!0}),(0,l.jsxs)("div",{className:r()("relative z-10",h?"flex flex-col":"flex-1"),children:[(0,l.jsx)("h3",{className:r()("text-white font-semibold ",h?"text-xl tbl:text-1xl leading-8 mb-0.5":"text-3xl leading-9 mb-2"),children:p(t)}),(0,l.jsx)("p",{className:r()("text-white leading-7",h?"mb-0 leading-4 text-xs tbl:text-lg hidden md:block":"mb-4 text-xl",!h&&"hidden md:block"),children:p(a)}),(0,l.jsx)("p",{className:r()("text-white leading-4",h?"mb-0 leading-4 text-xs tbl:text-lg block md:hidden":"mb-4 text-xl",!h&&"block md:hidden leading-6"),children:p(s)})]}),(0,l.jsx)("div",{className:"relative z-10",children:(0,l.jsxs)("button",{onClick:c,className:r()("flex items-center gap-2 h-[48px] bg-darkGray1 text-white rounded-[12px] font-semibold text-base px-4 w-full",h?"justify-center md:justify-start":"justify-center"),children:[d&&(0,l.jsx)(i(),{src:d,width:20,height:20,alt:"icon"}),p(n)]})})]})}},12988:e=>{e.exports={authorBlock:"autor-block-publication_authorBlock__YDBy8",avatar:"autor-block-publication_avatar__sUxip",info:"autor-block-publication_info__wo_yV",header:"autor-block-publication_header__e__hH",name:"autor-block-publication_name__qAQif",socials:"autor-block-publication_socials__p_Lhy",emailCircle:"autor-block-publication_emailCircle__4Vgp1",position:"autor-block-publication_position__hIhhS",articlesLink:"autor-block-publication_articlesLink__IO1cJ",description:"autor-block-publication_description__xhGSA"}},14149:(e,t,a)=>{"use strict";a.d(t,{A:()=>v});var l=a(50979),s=a(25963),i=a(64261),n=a(94624),r=a(37039),o=a.n(r),c=a(11230),d=a.n(c),m=a(21168),u=a(82907),p=a(79876),h=a(38754),x=a(52635),b=a.n(x);let g=["firstName","lastName","email","companyName","website","phone","description"],f=["first_name","last_name","website","email","phone","company","case_description"];function v(e){let{children:t=null,onSuccess:a=()=>{},formId:r="embedded-demo-form",apiUrl:c="/api/embedded",skipEmailDomainCheck:x=!1,emailPlaceholder:v="workEmail",fieldConfig:_={}}=e,j=(null==_?void 0:_.visibleFields)||g,w=(null==_?void 0:_.placeholders)||{},N=(0,m.oF)(),y=(0,m.Uf)().name,{trigger:k,EventNames:S}
1=(0,u.Di)(),[A,C]=(0,s.useState)({}),[T,M]=(0,s.useState)([]),[I,L]=(0,s.useState)(!1),[P,E]=(0,s.useState)(!1),F=j.filter(e=>"phone"!==e&&"description"!==e),[W,q]=(0,s.useState)(""),[D,z]=(0,s.useState)(""),{utmParams:O,googleClientId:R,pageUrl:U}=(0,p.l)(),B=async()=>{let e;if(I||!P)return;L(!0);let t={first_name:A.firstName,last_name:A.lastName,website:A.website,email:A.email,phone:A.phone,company:A.companyName,case_description:A.description,source:"demoRequest",lang:y,form_id:r,utmParams:O,googleClientId:R,pageUrl:U,event:"formSubmit"};for(let e of f)t[e]||(t[e]="email"===e?"":"0");let l=[];if(F.forEach(e=>{A[e]||l.push(e)}),"custom-request"!==r&&A.website&&(e=A.website,!/\./.test(e.trim())||e.trim().startsWith(".")||e.trim().endsWith("."))?(z(N("embedded.websiteNeedsDot")),l.includes("website")||l.push("website")):z(""),l.length){M(l),L(!1);return}try{if(n.t(t.email)){k(S.HideEmbeddedDemoScheduleModal),k(S.ShowRequestSentModal),a();let e=await i.A.post(c,{data:t});(null==e?void 0:e.status)===200&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"formSubmit",formType:"Embedded Page",formLang:(()=>{let e;switch(y){case"en":default:e="English";break;case"br":e="Portuguese"}return e})(),formId:"embedded-demo-form"}))}else{l.push("email"),M(l);return}}catch(e){console.error(e)}finally{L(!1)}},H=(e,t,a)=>{if(!j.includes(e))return null;let s=T.includes(e)||"email"===e&&W,i={defaultValue:A[e],onChange:t=>((e,t)=>{let a=t.target.value;if(C({...A,[e]:a}),a.trim()&&T.includes(e)&&M(T.filter(t=>t!==e)),"email"===e){var l;let e=null==(l=a.split("@")[1])?void 0:l.toLowerCase();x||"gmail.com"!==e&&"yahoo.com"!==e?(q(""),M(T.filter(e=>"email"!==e))):(q(N("embedded.workEmail")),T.includes("email")||M([...T,"email"]))}})(e,t),placeholder:N(w[e]||"embedded.".concat(a)),className:"".concat(s?"border-primary-red":"border-light-gray-2"," w-full border text-base outline-0 px-2 py-2.5 rounded-2xl ").concat(s?"mb-0.5":"mb-1.5"," ").concat("multiLine"===t?"h-[104px]":"h-[48px]")};return"multiLine"===t?(0,l.jsx)("textarea",{...i}):(0,l.jsx)("input",{...i,type:t})};function G(e,t){return j.includes(e)?(0,l.jsxs)("div",{className:"relative",children:[H(e,"text",t||e),"email"===e&&W?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-primary-red text-xs mb-1.5 ml-0.5 -mt-0.7",children:W}),(0,l.jsx)("div",{className:"absolute top-[14px] right-0 mr-2 w-[20px] h-[20px] bg-[url('/images/embedded/warning.svg')] bg-no-repeat"})]}):"website"===e&&D?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-primary-red text-xs mb-1.5 ml-0.5 -mt-0.7",children:D}),(0,l.jsx)("div",{className:"absolute top-[14px] right-0 mr-2 w-[20px] h-[20px] bg-[url('/images/embedded/warning.svg')] bg-no-repeat"})]}):T.includes(e)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-primary-red text-xs mb-1.5 ml-0.5 -mt-0.7",children:(0,l.jsx)(h.A,{path:"embedded.errors.invalid.".concat(e)})}),(0,l.jsx)("div",{className:"absolute top-[14px] right-0 mr-2 w-[20px] h-[20px] bg-[url('/images/embedded/warning.svg')] bg-no-repeat"})]}):null]}):null}return(0,l.jsxs)("div",{className:"z-30 py-5 px-[39px] rounded-[32px] bg-white",children:[t,(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-[8px] ".concat(j.includes("lastName")?"md:grid-cols-2":"md:grid-cols-1"),children:[j.includes("firstName")&&G("firstName"),j.includes("lastName")&&G("lastName")]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 mb-[18px]",children:[j.includes("companyName")&&G("companyName"),j.includes("website")&&G("website"),j.includes("email")&&G("email",v),j.includes("phone")&&H("phone","text","phoneNumber"),j.includes("description")&&H("description","multiLine","textAreaText")]}),(0,l.jsxs)("div",{className:"flex items-center mb-4",children:[(0,l.jsx)("input",{type:"checkbox",id:"privacyPolicy",checked:P,onChange:()=>E(!P),className:b()["customСheckbox"]}),(0,l.jsxs)("label",{htmlFor:"privacyPolicy",className:b().checkboxLabel,children:[N("embedded.checkbox.text")," ",(0,l.jsx)("a",{href:"/privacy",className:"underline",target:"_blank",rel:"noopener noreferrer",children:N("embedded.checkbox.link")})]})]}),(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsx)("button",{className:d()("rounded-xl text-white font-semibold h-[52px] w-[152px] flex justify-center items-center",{"bg-gray-300 cursor-not-allowed":I||!P||W,"bg-primaryDefault cursor-pointer":!I&&P&&!W}),onClick:B,disabled:I||!P||W,children:I?(0,l.jsx)(o(),{src:"/images/component-images/loading.svg",width:20,height:20,alt:"loading",className:b().loadingSpinner}):(0,l.jsx)(h.A,{path:"embedded.letsGo"})})})]})}},16113:e=>{e.exports={wrap:"embedded-app-widget-cta_wrap__aLEbM",iconsWrap:"embedded-app-widget-cta_
1iconsWrap__wCdyz",icon:"embedded-app-widget-cta_icon___Doby",title:"embedded-app-widget-cta_title__ARzCo",textWrap:"embedded-app-widget-cta_textWrap__jI0sW",appsNamesText:"embedded-app-widget-cta_appsNamesText__Ig0pq",button:"embedded-app-widget-cta_button__EoiUM"}},18238:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(50979),s=a(81452),i=a(65549);let n=function(e){let{tags:t}=e;return 0===t.data.length?(0,l.jsx)(s.A,{children:(0,l.jsx)("hr",{className:"w-full"})}):(0,l.jsxs)(s.A,{children:[(0,l.jsx)("hr",{className:"w-full"}),(0,l.jsx)("div",{className:"flex py-3",children:t.data.map(e=>(0,l.jsx)(i.A,{className:"alb-mr-1",compact:!0,text:e.attributes.name},e.id))}),(0,l.jsx)("hr",{className:"w-full"})]})}},21236:e=>{e.exports={shortSummary:"publications_shortSummary__ougzJ",shortSummaryTag:"publications_shortSummaryTag__v2RKO",shortSummaryText:"publications_shortSummaryText__qpsyR",dividedShortSummaryText:"publications_dividedShortSummaryText__azV4Q",dividedShortSummaryText__views:"publications_dividedShortSummaryText__views__eizer",dividedShortSummaryText__hidable:"publications_dividedShortSummaryText__hidable__KaqfV"}},21437:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var l=a(50979),s=a(11230),i=a.n(s),n=a(25963),r=a(21168),o=a(42543),c=a(51261),d=a.n(c);let m={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6",7:"h6"},u=e=>{let{text:t,raw:a,className:l,noStyling:s,level:o,renderLevel:c,children:u,format:p}=e,h=(0,r.oF)(),x="string"==typeof t?a?t:h(t,p||{}):null==t?void 0:t();return(0,n.createElement)(m[o],{className:s?l:i()(d().sectionTitle,d()["level-".concat(c||o)],l),style:{color:"#2C3534"}},t?x:u)};function p(e){let{text:t,alignment:a="center",level:s="1",renderLevel:i,backgroundColor:n,className:r,children:o,raw:c,noStyling:d=!1,format:m}=e;return(0,l.jsx)("div",{className:"text-".concat(a),style:{backgroundColor:n},children:(0,l.jsx)(u,{className:r,text:t,level:s,raw:c,renderLevel:i,noStyling:d,format:m,children:o})})}o.A.registerComponentFactory("common.header",e=>{let{text:t,alignment:a,backgroundColor:s,level:i}=e;return(0,l.jsx)(p,{text:t,alignment:a,level:(i||"h2").replace("h",""),backgroundColor:s})})},21567:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var l=a(50979),s=a(11230),i=a.n(s),n=a(25963),r=a(78272),o=a(37039),c=a.n(o),d=a(80419),m=a(21168),u=a(65343),p=a(22650),h=a(38754),x=a(67571),b=a.n(x);let g=function(e){let{items:t=[],className:a="",textKey:s="text",idKey:o="id",iconKey:x,placeholder:g="Select",onChange:f,disabled:v,disabledColor:_="",value:j,searchIcon:w,hasAllOption:N=!0,isSearchable:y=!0}
1=e,k=(0,m.oF)(),[S,A]=(0,n.useState)(t.find(e=>e[o]===j)),[C,T]=(0,n.useState)(""),M=e=>e.toLowerCase().replace(/\s+/g,""),I=""===C?t:t.filter(e=>M(e[s]).includes(M(C)));return(0,l.jsxs)(r.G3,{className:i()(b().select,v?_:"bg-white",a),as:"div",onChange:e=>{A(e),null==f||f(e)},value:S,disabled:v,children:[(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)(r.G3.Button,{className:"flex-1",as:"div",children:(0,l.jsxs)("div",{className:b().button,children:[x&&S&&(0,u.KH)(S)&&(0,l.jsx)("span",{className:b().selectedItemIcon,children:(0,l.jsx)(c(),{src:(0,u.KH)(S),width:"20",height:"20",alt:"icon key"})}),w&&(0,l.jsx)("span",{className:b().selectedItemIconSecond,children:(0,l.jsx)(c(),{src:p.A,width:"20",height:"20",alt:"search icon"})}),(0,l.jsx)(r.G3.Input,{autoComplete:"off",className:"focus:outline-none w-full ".concat(v?_:""),placeholder:g,onChange:e=>{T(e.target.value)},readOnly:!y,displayValue:e=>e?k(e[s]):""})]})}),(0,l.jsx)(r.G3.Button,{className:"flex items-center",children:(0,l.jsx)(c(),{src:d.A,alt:"down"})})]}),I.length>0&&(0,l.jsxs)(r.G3.Options,{className:b().optionList,children:[N&&(0,l.jsx)(r.G3.Option,{className:b().option,value:{[s]:"",value:j},children:(0,l.jsx)(h.A,{path:"common.all"})},"empty"),I.map(e=>(0,l.jsx)(r.G3.Option,{className:b().option,value:e,children:(0,l.jsxs)("div",{className:"flex",children:[x&&(0,u.KH)(e)&&(0,l.jsx)("span",{className:b().optionIcon,children:(0,l.jsx)(c(),{src:(0,u.KH)(e),width:"20",height:"20",alt:"icon key"})}),(0,l.jsx)("span",{children:(0,l.jsx)(h.A,{path:e[s]})})]})},e[o]))]})]})}},22650:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={src:"/_next/static/media/Search.b0bb54e0.svg",height:28,width:28,blurWidth:0,blurHeight:0}},28840:(e,t,a)=>{"use strict";function l(e){return e.toLowerCase().replace(/[^\w]+/g,"-").replace(/^-+|-+$/g,"")}function s(){let e=Array.from(document.querySelectorAll(".article-markdown h2, .article-markdown h3")),t=new Map;return e.map((e,a)=>{var s;let i=(null==(s=e.textContent)?void 0:s.trim())||"",n="string"==typeof e.id?e.id.trim():"",r=n&&"object-object"!==n?n:l(i)||"heading-".concat(a),o=t.get(r)||0;t.set(r,o+1);let c=o?"".concat(r,"-").concat(o):r;return e.id!==c&&(e.id=c),{id:c,text:i,level:Number(e.tagName.replace("H",""))}}).filter(e=>!!e.id)}a.d(t,{O:()=>s,Y:()=>l})},30512:(e,t,a)=>{"use strict";var l,s;e.exports=(null==(l=a.g.process)?void 0:l.env)&&"object"==typeof(null==(s=a.g.process)?void 0:s.env)?a.g.process:a(88905)},30614:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var l=a(50979),s=a(37039),i=a.n(s),n=a(21168),r=a(65549),o=a(38754),c=a(21236),d=a.n(c),m=a(72969);let u=function(e){let{isFullWidthCard:t,tags:a,timeToRead:s,views:c,publishedAt:u}=e,p=(0,n.Uf)(),h=()=>(0,l.jsx)("span",{className:"text-center w-4 text-mid-gray-2 leading-6",children:" \xb7 "}),x=t?(0,l.jsxs)(l.Fragment,{children:[u&&(0,l.jsx)("div",{className:d().shortSummaryText,children:new Date(u).toLocaleDateString([p.name])}),s&&(0,l.jsxs)("div",{className:d().dividedShortSummaryText__hidable,children:[h(),(0,l.jsx)(o.A,{path:"common.article.timeToRead",format:{number:s}})]}),(null==a?void 0:a.length)>0&&(0,l.jsxs)("div",{className:d().dividedShortSummaryText,children:[h(),(0,l.jsx)(r.A,{compact:!0,text:a[0].attributes.name},a[0].id)]}),c&&c>0&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:d().dividedShortSummaryText__views,children:[(0,l.jsx)(i(),{src:m.A,width:20,height:20,alt:"eye"}),(0,l.jsx)("span",{className:"text-s ml-1 text-mid-gray-2 leading-6",children:c.toLocaleString()})]})})]}):(0,l.jsxs)(l.Fragment,{children:[(null==a?void 0:a.length)>0&&(0,l.jsx)("div",{className:d().shortSummaryTag,children:(0,l.jsx)(r.A,{compact:!0,text:a[0].attributes.name},a[0].id)}),s&&(0,l.jsx)("div",{className:d().shortSummaryText,children:(0,l.jsx)(o.A,{path:"common.article.timeToRead",format:{number:s}})})]});return(0,l.jsx)("div",{className:d().shortSummary,children:x})}},31820:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={src:"/_next/static/media/NavLinkIcon.ad284256.svg",height:16,width:16,blurWidth:0,blurHeight:0}},40488:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/publications/[slug]",function(){return a(74339)}])},42543:(e,t,a)=>{"use strict";function l(e,t,a){if(!t.has(e))throw TypeError("attempted to "+a+" private field on non-instance");return t.get(e)}function s(e,t){var a=l(e,t,"get");return a.get?a.get.call(e):a.value}function i(e,t,a){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,a)}function n(e,t,a){var s=l(e,t,"set");if(s.set)s.set.call(e,a);else{if(!s.writable)throw TypeError("attempted to set read only private field");s.value=a}return a}
1a.d(t,{A:()=>d});var r=new WeakMap,o=new WeakMap;class c{registerComponent(e,t){s(this,o).set(e,t)}registerComponentFactory(e,t){s(this,r).set(e,t)}getComponent(e){return s(this,o).get(e)}getComponentFactory(e){return s(this,r).get(e)}constructor(){i(this,r,{writable:!0,value:void 0}),i(this,o,{writable:!0,value:void 0}),n(this,r,new Map),n(this,o,new Map)}}let d=new c},46271:(e,t,a)=>{"use strict";a.d(t,{O:()=>n});var l=a(50979),s=a(25963),i=a(28840);let n=e=>{let{level:t,children:a}=e,n=function e(t){if(null==t||!1===t)return"";if("string"==typeof t||"number"==typeof t)return String(t);if(Array.isArray(t))return t.map(e).join("");if((0,s.isValidElement)(t)){var a;return e(null==(a=t.props)?void 0:a.children)}return""}(a),r=(0,i.Y)(n);return(0,l.jsx)("h".concat(t),{id:r,className:"scroll-mt-[100px] text-gray-900 font-semibold",children:a})}},51261:e=>{e.exports={sectionTitle:"section-title_sectionTitle__BPPmX","level-1":"section-title_level-1__Nsn9j","level-2":"section-title_level-2__1SlGo","level-3":"section-title_level-3__TO_9_","level-4":"section-title_level-4__2OtDD","level-5":"section-title_level-5__6SWwO","level-6":"section-title_level-6__cerIH","level-7":"section-title_level-7__1I5i5"}},52635:e=>{e.exports={opacity100:"common_opacity100__T5u2p",opacity30:"common_opacity30__YjrFP",loadingSpinner:"common_loadingSpinner__MMA_L",spin:"common_spin__SoznJ",checkboxLabel:"common_checkboxLabel__O7si9",customСheckbox:"common_custom_heckbox__731c3"}},64150:(e,t,a)=>{"use strict";a.d(t,{_:()=>i});var l=a(50979);let s="albato.com",i=e=>{let{href:t="",children:a,node:i,...n}=e,r=void 0===n.rel&&void 0===n.target&&(e=>{try{let{protocol:t,hostname:a}=new URL(e,"https://".concat(s));if("http:"!==t&&"https:"!==t)return!1;return a!==s&&!a.endsWith(".".concat(s))}catch(e){return!1}})(t)?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,l.jsx)("a",{href:t,...r,...n,children:a})}},65343:(e,t,a)=>{"use strict";a.d(t,{B$:()=>n,KH:()=>o,bv:()=>r,cZ:()=>i,wu:()=>s});var l=a(16608);let s=e=>[".png",".jpg",".jpeg",".svg"].includes(e),i=e=>[".mov",".mp4",".m4v",".avi"].includes(e),n=e=>{let t=e.slice(e.indexOf("/uploads/"),e.length),a="".concat((0,l.getPublicCMSURL)()).concat(t);return"".concat((0,l.getWebsiteURL)(),"/_next/image?url=").concat(encodeURIComponent(a),"&w=1200&q=100")},r=e=>"".concat((0,l.getPublicCMSURL)()).concat(e),o=e=>{if(!e)return"";let{logo_url:t,logo:a}=e;if("string"==typeof t&&t)return t;let l=(e=>{var t,a;return"string"==typeof e?e:(null==e||null==(a=e.data)||null==(t=a.attributes)?void 0:t.url)||""})(a);return l?l.startsWith("http")?l:r(l):""}},65549:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var l=a(50979),s=a(11230),i=a.n(s),n=a(82045),r=a.n(n);function o(e){let{tagId:t,text:a,compact:s,className:n="",bgColor:o,textColor:c,onClick:d,active:m}=e;return(0,l.jsx)("div",{style:{background:o,color:c||(s?"#777E90":"#2C3534")},className:i()({[r().clickable]:d},n,s?r().compactTag:r().tag),onClick:function(){d&&(m?d():d(t))},children:a})}},65647:e=>{e.exports={customCheckbox:"blog-form-modal_customCheckbox__zzw1z"}},67472:(e,t,a)=>{e.exports=a(10030)},67571:e=>{e.exports={select:"select_select__RmSc2",smallPadding:"select_smallPadding__EJSUc",button:"select_button__y9zvV",optionList:"select_optionList__CbaZJ",selectedItemIcon:"select_selectedItemIcon___jACZ",selectedItemIconSecond:"select_selectedItemIconSecond__BXtBu",option:"select_option__z1WCk",optionIcon:"select_optionIcon__emfJ2",bgIcon:"select_bgIcon__UHUdf"}},72969:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l={src:"/_next/static/media/blog_eye.2fe00b8f.svg",height:20,width:20,blurWidth:0,blurHeight:0}},73888:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var l=a(50979),s=a(53834),i=a.n(s),n=a(37039),r=a.n(n),o=a(31820),c=a(38754),d=a(88438);let m=JSON.parse('{"platform":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.platform"}],"academy":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.academy"}],"embedded":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.embedded"}],"pricing":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.pricing"}],"pricing2026":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.pricing"}],"embeddedStories":[{"path":"/embedded","title":"common.breadCrumbs.embeddedStories"},{"title":"common.mainMenu.stories"}],"appIntegrator":[{"path":"/","title":"common.integrationPlatform"},{"title":"common.mainMenu.appIntegrator"}],"blog":[{"path":"/","title":"common.integrationPlatform"},{"path":"/blog/all","title":"common.mainMenu.blog"}],"article":[{"path":"/","title":"common.integrationPlatform"},{"path":"/blog/all","title":"common.mainMenu.blog"}],"events":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.events"}],"help":[{"path":"/wiki","title":"wiki.breadcrumbs.title"},{"title":"common.mainMenu.help"}],"community":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.community"}],"referralProgram":[{"path":"/","title":"common.mainMenu.home"},{"title":"common.mainMenu.referral"}],"app":[{"path":"/","title":"common.mainMenu.integrationHub"},{"path":"/apps","title":"common.mainMenu.apps"}],"all-apps":[{"path":"/","title":"common.integrationPlatform"},{"path":"/apps","title":"common.mainMenu.apps"},{"title":"common.mainMenu.allApps"}],"all-integrations":[{"path":"/","title":"common.integrationPlatform"},{"path":"/apps","title":"common.mainMenu.apps"},{"title":"common.mainMenu.allIntegrations"}],"integrations-with-app":[{"path":"/","title":"common.integrationPlatform"},{"path":"/apps","title":"common.mainMenu.apps"},{"path":"/apps/all-apps","title":"common.mainMenu.allApps"},{"path":"/apps/all-integrations","title":"common.mainMenu.allIntegrations"},{"title":""}],"question":[{"path":"/","title":"common.mainMenu.home"},{"path":"/resources/community","title":"common.mainMenu.community"},{"title":"Question"}],"eventSummary":[{"path":"/","title":"common.mainMenu.home"},{"path":"/resources/events","title":"common.mainMenu.events"},{"title":"Facebook ads leads"}],"caseStudies":[{"path":"/","title":"common.mainMenu.home"},{"path":"/knowledges/case-studies","title":"Case studies"}],"articles-list":[{"path":"/","title":"common.integrationPlatform"},{"path":"/blog/all","title":"common.mainMenu.blog"},{"title":"common.publicationsList.breadCrumbs"}]}');var u=a(7425),p=a.n(u);function h(e){let{path:t,additional:a=[]}=e,s=m[t]||[],n=[];return n=a.length>0&&a[0]&&"string"==typeof a[0].rawTitle&&s.length>0&&!s[s.length-1].path?[...s.slice(0,-1),a[0],...a.slice(1)]:[...s,...a],(0,l.jsx)(d.m,{children:(0,l.jsx)("nav",{className:p().navWrap,children:n.map((e,t)=>(0,l.jsx)("div",{children:e.path?(0,l.jsxs)("span",{className:p().linkWrap,children:[(0,l.jsx)(i(),{href:e.path,prefetch:!1,className:p().link,
1children:e.rawTitle?e.rawTitle:(0,l.jsx)(c.A,{path:e.title})},t),t<n.length-1?(0,l.jsx)(r(),{width:16,height:16,src:o.A,alt:"",className:"inline"}):null]},t):(0,l.jsx)("span",{className:p().currentPageName,children:e.rawTitle?e.rawTitle:(0,l.jsx)(c.A,{path:e.title})})},t))})})}},74339:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>eb,default:()=>eg});var l=a(50979),s=a(45114),i=a(94651),n=a(75281),r=a(67472),o=a.n(r),c=a(51252),d=a.n(c),m=a(37039),u=a.n(m),p=a(25963),h=a(11230),x=a.n(h),b=a(7307),g=a(73888),f=a(72969),v=a(65549),_=a(38754),j=a(21168),w=a(53834),N=a.n(w);let y={en:"en-US",es:"es-ES",br:"pt-BR",ru:"ru-RU"};function k(e,t){var a;let l=null!=(a=y[t])?a:"en-US";return new Intl.DateTimeFormat(l,{day:"2-digit",month:"2-digit",year:"numeric",timeZone:"UTC"}).format(new Date(e))}function S(e){var t;let a=(0,j.Uf)(),s=(0,j.oF)();if(!e.article)return null;let{article:i}=e,{tags:n,views:r=123,time_to_read:o,publishing_date:c,publication_author:d,updatedAt:m}=i,p=m&&new Date(m).toDateString()!==new Date(c).toDateString(),h=n.data.length>0?n.data[0].attributes:null,x=null==d||null==(t=d.data)?void 0:t.attributes,b=()=>(0,l.jsx)("span",{className:"text-center w-4 text-mid-gray-2",children:" \xb7 "});return(0,l.jsxs)("div",{className:"flex items-center",children:[h&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.A,{compact:!0,text:h.name},n.id),b()]}),(null==x?void 0:x.name)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(N(),{href:"/blog/author/".concat(x.slug,"/all"),className:"font-normal text-mid-gray-2 text-s !no-underline hover:!underline",children:["By ",x.name]}),b()]}),(0,l.jsxs)("div",{className:"font-normal text-mid-gray-2 text-s",children:[s("blog.article.created")," ",k(c,a.name)]}),p&&(0,l.jsxs)(l.Fragment,{children:[b(),(0,l.jsxs)("div",{className:"font-normal text-mid-gray-2 text-s",children:[s("blog.article.updated")," ",k(m,a.name)]})]}),b(),(0,l.jsx)("div",{className:"text-s col-span-2 text-mid-gray-2 py-0.5",children:(0,l.jsx)(_.A,{path:"article.timeToRead",format:{number:o}})}),r>0&&(0,l.jsxs)(l.Fragment,{children:[b(),(0,l.jsx)("span",{className:"mt-1",children:(0,l.jsx)(u(),{src:f.A,width:20,height:20,alt:"eye"})}),(0,l.jsx)("span",{className:"text-s ml-1 text-mid-gray-2",children:r.toLocaleString()})]})]})}var A=a(65343),C=a(81452),T=a(21437),M=a(18238);function I(e){let{data:t,dir:a,link:s,text:i}=e;return t?(0,l.jsx)(N(),{href:"".concat(s).concat(t.attributes.slug),prefetch:!1,className:"flex flex-1",children:(0,l.jsxs)("div",{className:"flex rounded-2xl py-2.5 px-4 bg-light-gray-6 w-full",children:["left"===a&&(0,l.jsx)("div",{className:"flex-none w-[24px] place-items-center pt-2.5",children:(0,l.jsx)("span",{className:"block w-[24px] h-[24px]",children:(0,l.jsx)(u(),{src:"/images/icons/arrow-".concat(a,".svg"),width:24,height:24,alt:"arrow"})})}),(0,l.jsxs)("div",{className:"grow ".concat("left"===a?"alb-ml-4":"alb-mr-4"),children:[(0,l.jsx)("p",{className:"text-2xs uppercase text-mid-gray-2 mb-1",children:i}),(0,l.jsx)("p",{className:"text-base font-normal line-clamp-2",children:t.attributes.title})]}),"right"===a&&(0,l.jsx)("div",{className:"flex-none w-[24px] place-items-center pt-2.5",children:(0,l.jsx)("span",{className:"block w-[24px] h-[24px]",children:(0,l.jsx)(u(),{src:"/images/icons/arrow-".concat(a,".svg"),width:24,height:24,alt:"arrow"})})})]})}):(0,l.jsx)("div",{className:"flex-1"})}let L=function(e){let{links:t,navPath:a}=e,{prev:s,next:i}=t,n=(0,j.oF)();return(0,l.jsx)(C.A,{children:(0,l.jsxs)("div",{className:"flex flex-wrap justify-between gap-x-2 mt-5 pb-5",children:[(0,l.jsx)(I,{data:s,dir:"left",link:a,text:n("article.nav.prevArticle")}),(0,l.jsx)("div",{className:"sm:mt-2 flex flex-1",children:(0,l.jsx)(I,{data:i,dir:"right",link:a,text:n("article.nav.nextArticle")})})]})})};var P=a(82907),E=a(87203),F=a.n(E);let W=e=>{let{title:t="Calculate your integration ROI in minutes",button:a="Check ROI here",description:s="See exactly how Albato Embedded can save you months of development and thousands in costs."}=e,i=(0,j.oF)();return(0,l.jsxs)("div",{className:F().wrapper,children:[(0,l.jsx)(u(),{src:"/images/blog/blog-banner-card-orange.webp",alt:"background",width:500,height:336,className:F().backgroundImage}),(0,l.jsxs)("div",{className:F().content,children:[(0,l.jsx)("p",{className:F().title,children:i(t)}),(0,l.jsx)("p",{className:F().description,children:i(s)})]}),(0,l.jsx)("div",{className:F().buttonWrapper,children:(0,l.jsx)(N(),{href:"/embedded/roicalculator",target:"_blank",rel:"noopener noreferrer",className:F().button,children:i(a)})})]})};var q=a(98855);function D(e){let{text:t,trigger:a,events:s,on:i}=e,[n,r]=(0,p.useState)(!1),[o,c]=(0,p.useState)(!1);return(0,p.useEffect)(()=>{i(s.HideEmbeddedDemoScheduleModal,()=>r(!1)),i(s.ShowEmbeddedDemoScheduleModal,()=>r(!0))}
1),(0,l.jsxs)(l.Fragment,{children:[!o&&n&&(0,l.jsx)(q.default,{onSuccess:()=>{c(!0),a(s.ShowRequestSentModal)}}),!o&&(0,l.jsx)("button",{onClick:()=>{r(!0)},className:"w-[288px] h-[56px] rounded-xl bg-primaryDefault text-white text-[17px] leading-6 font-medium",children:t}),o&&(0,l.jsx)("span",{className:"bg-yellow-50 p-2 rounded-md",children:"Your request is sent!"})]})}function z(e){let{text:t,link:a}=e;return(0,l.jsx)("a",{href:a,className:"min-w-[288px] w-fit h-[56px] rounded-xl bg-primaryDefault text-white text-[17px]\n leading-6 font-medium flex items-center justify-center !no-underline",target:"_blank",rel:"noopener noreferrer",children:t})}var O=a(16113),R=a.n(O);function U(e){let{title:t,icons:a,appsNames:s,buttonText:i,link:n}=e;return(0,l.jsxs)("article",{className:R().wrap,children:[(0,l.jsx)("div",{className:R().iconsWrap,children:a.map((e,t)=>(0,l.jsx)(u(),{src:e.src,alt:e.alt,className:R().icon,width:25,height:25},"".concat(e.src,"-").concat(t)))}),(0,l.jsxs)("div",{className:R().textWrap,children:[(0,l.jsx)("h4",{className:R().title,children:t}),(null==s?void 0:s.length)>0&&(0,l.jsx)("p",{className:R().appsNamesText,children:s.join(" + ")})]}),(0,l.jsx)(N(),{href:n,className:R().button,children:i})]})}var B=a(19113),H=a(64261),G=a(65647),K=a.n(G),V=a(79876);function J(e){let{onClose:t,onSuccess:a}=e,{utmParams:s,googleClientId:i,pageUrl:n,setFormType:r}=(0,V.l)(),o=(0,j.oF)(),{register:c,handleSubmit:d,watch:m,formState:{errors:u,isSubmitting:p}}=(0,B.mN)(),h=m("policy"),x=async e=>{if(!e.policy)return;let t={first_name:e.firstName,last_name:e.lastName,email:e.email,company:e.companyName,source:"blogFormCTA",event:"formSubmit",utmParams:s,googleClientId:i,pageUrl:n};try{r("blog"),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"formSubmit",formType:"Blog CTA Form",formLang:"English",formId:"blog-form-modal"}),await H.A.post("/api/blog-form-cta",t),await H.A.post("https://strapi.aws-us-east-2.albato.com/api/blog-form-requests",{data:t}),a()}catch(e){console.error(e)}};return(0,l.jsx)("div",{className:"fixed inset-0 bg-black/60 z-[9999] flex justify-center items-center p-4",children:(0,l.jsxs)("div",{className:"bg-white rounded-2xl p-4 max-w-[480px] w-full relative",children:[(0,l.jsx)("button",{onClick:t,className:"absolute top-1 right-2 text-2xl text-gray-500",children:"\xd7"}),(0,l.jsx)("h2",{className:"text-xl font-semibold mb-4",children:"Fill out the form and receive the guide in your inbox."}),(0,l.jsxs)("form",{onSubmit:d(x),className:"space-y-4",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-1 mb-1",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{...c("firstName",{required:"First name is required"}),type:"text",placeholder:"First name *",className:"w-full h-[48px] text-base px-2 py-2.5 rounded-2xl border ".concat(u.firstName?"border-primary-red":"border-light-gray-2")}),u.firstName&&(0,l.jsx)("div",{className:"text-primary-red text-xs mt-0.3 ml-1",children:String(u.firstName.message)})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{...c("lastName",{required:"Last name is required"}),type:"text",placeholder:"Last name *",className:"w-full h-[48px] text-base px-2 py-2.5 rounded-2xl border ".concat(u.lastName?"border-primary-red":"border-light-gray-2")}),u.lastName&&(0,l.jsx)("div",{className:"text-primary-red text-xs mt-0.3 ml-1",children:String(u.lastName.message)})]})]}),(0,l.jsxs)("div",{className:"relative mb-1",children:[(0,l.jsx)("input",{...c("email",{required:"Email is required"}),type:"email",placeholder:"Business email *",className:"w-full h-[48px] text-base px-2 py-2.5 rounded-2xl border ".concat(u.email?"border-primary-red":"border-light-gray-2")}),u.email&&(0,l.jsx)("div",{className:"text-primary-red text-xs mt-0.3 mb-1 ml-1",children:String(u.email.message)})]}),(0,l.jsxs)("div",{className:"relative mb-2",children:[(0,l.jsx)("input",{...c("companyName",{required:"Company name is required"}),type:"text",placeholder:"Your SaaS company name *",className:"w-full h-[48px] text-base px-2 py-2.5 rounded-2xl border ".concat(u.companyName?"border-primary-red":"border-light-gray-2")}),u.companyName&&(0,l.jsx)("div",{className:"text-primary-red text-xs mt-0.3 mb-1 ml-1",children:String(u.companyName.message)})]}),(0,l.jsxs)("div",{className:"flex items-start gap-2",children:[(0,l.jsx)("input",{type:"checkbox",id:"policy",...c("policy",{required:!0}),className:K().customCheckbox}),(0,l.jsxs)("label",{htmlFor:"policy",className:"text-s leading-5 text-[#777E90]",children:[o("embedded.checkbox.text")," ",(0,l.jsx)(N(),{href:"/privacy",children:o("embedded.checkbox.link")})]})]}),(0,l.jsx)("button",{type:"submit",disabled:p||!h,className:"w-full h-[52px] rounded-xl text-white font-semibold flex justify-center items-center transition-colors ".concat(p||!h?"bg-gray-300 cursor-not-allowed":"bg-primaryDefault cursor-pointer"),children:p?"Sending...":"Get the Guide"})]})]})})}var Y=a(2086),Q=a.n(Y);function X(e){let{text:t}=e,[a,s]=(0,p.useState)(!1),{trigger:i,EventNames:n}=(0,P.Di)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("section",{className:Q().wrap,onClick:()=>s(!0),children:[(0,l.jsx)(u(),{src:"/images/blog/publications-componets/bg-blog-banner-cta.webp",width:1e3,height:1e3,className:Q().bgImage,alt:"Backround"}),(0,l.jsxs)("div",{className:Q().contentWrap,children:[(0,l.jsxs)("div",{className:Q().content,children:[(0,l.jsxs)("div",{className:Q().caption,children:[(0,l.jsx)(u(),{src:"/images/connect/integration-tabs/title-icon/book-open-blue.svg",alt:"Guide",width:14,height:14}),(0,l.jsx)("p",{children:"Guide by Albato Embedded"})]}),(0,l.jsx)("h3",{className:Q().title,children:t}),(0,l.jsxs)("div",{className:Q().button,children:[(0,l.jsx)(u(),{src:"/images/blog/publications-componets/download-blue.webp",alt:"Download",width:20,height:20}),(0,l.jsx)("p",{children:"Download"})]})]}),(0,l.jsx)(u(),{src:"/images/blog/publications-componets/device-img.webp",width:159,height:175,className:Q().deviceImg,alt:"Device"})]})]}),a&&(0,l.jsx)(J,{onClose:()=>s(!1),onSuccess:()=>{s(!1),i(n.ShowRequestSentModal),window.open("https://albato.com/top-10-mistakes-b2b-saas-startups-make.pdf","_blank")}})]})}function $(e){let{on:t,trigger:a,EventNames:s}=(0,P.Di)();switch(e.type){case"embedded_form_cta":return(0,l.jsx)(D,{text:e.text,onSuccess:()=>{a(s.ShowRequestSentModal)},trigger:a,events:s,on:t});case"embedded_signup_cta":return(0,l.jsx)(z,{text:e.text,link:e.link});case"embedded_app_widget_cta":return(0,l.jsx)(U,{title:e.title,icons:"str
1ing"==typeof e.icons?JSON.parse(e.icons):e.icons,appsNames:"string"==typeof e.appsnames?JSON.parse(e.appsnames):e.appsnames,buttonText:e.buttontext,link:e.link});case"blog_banner_form_cta":return(0,l.jsx)(X,{text:e.text});case"roi_calculator_blog_cta":return(0,l.jsx)(W,{title:e.title,description:e.description,button:e.button});default:return null}}var Z=a(51051),ee=a(88438),et=a(64150),ea=a(23375),el=a(82732),es=a(4574),ei=a(12988),en=a.n(ei);let er=e=>{let{avatarUrl:t,name:a,position:s,description:i,linkedinUrl:n,facebookUrl:r,allArticlesUrl:o,avatarPlaceholder:c}=e,d=(0,j.oF)(),m=t?(0,A.bv)(t):"fox"===c?"/images/blog/authors/fox-blog-avatar.webp":"/images/blog/authors/panda-blog-avatar.webp";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:en().authorBlock,children:[(0,l.jsx)(u(),{className:en().avatar,src:m,alt:a,width:50,height:50}),(0,l.jsxs)("div",{className:en().info,children:[(0,l.jsxs)("div",{className:en().header,children:[(0,l.jsx)(N(),{className:en().articlesLink,href:o,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)("span",{className:en().name,children:a})}),(0,l.jsxs)("div",{className:en().socials,children:[n&&(0,l.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",children:(0,l.jsx)(u(),{src:"/images/blog/authors/linkedin-icon.svg",alt:"LinkedIn",width:24,height:24})}),r&&(0,l.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",children:(0,l.jsx)(u(),{src:"/images/blog/authors/facebook.svg",alt:"Facebook",width:24,height:24})})]})]}),(0,l.jsx)("div",{className:en().position,children:s}),(0,l.jsx)(N(),{className:en().articlesLink,href:o,target:"_blank",rel:"noopener noreferrer",children:d("common.authorBlock.allArticles",{name:a})}),(0,l.jsx)("div",{className:en().description,children:i})]})]}),(0,l.jsx)("hr",{className:"mb-4 max-w-[800px] mx-2 md:mx-auto"})]})};var eo=a(12644),ec=a(86485),ed=a(46271),em=a(28840),eu=a(21567),ep=a(89270),eh=a.n(ep),ex=a(3043),eb=!0;function eg(e){var t,a,r,c,m,h,f,v,w,N;let{page:y,neighbors:k,l10n:I,footer:E,publications:F}=e,W=(0,j.oF)(),{on:q,EventNames:D}=(0,P.Di)(),[z,O]=(0,p.useState)(!1),[R,U]=(0,p.useState)(!1),[B,H]=(0,p.useState)([]);if((0,p.useEffect)(()=>{H((0,em.O)())},[null==y?void 0:y.content]),(0,p.useEffect)(()=>{let e=q(D.ShowRequestSentModal,()=>O(!0)),t=q(D.HideRequestSentModal,()=>O(!1));return()=>{e(),t()}},[q,D]),!y)return(0,l.jsx)(o(),{statusCode:404});let{title:G,header:K,excerpt:J,content:Y,cover_image:Q,tags:X,cover_color:ei,slug:en,lang:ep,publication_author:eb}=y,eg="embedded-albato-vs-zapier"===en,ef=eg?void 0:(0,ex.h6)([y,...(null!=(N=null==(t=y.localizations)?void 0:t.data)?N:[]).map(e=>e.attributes)],e=>"/blog/publications/".concat(e)),ev=null==eb||null==(a=eb.data)?void 0:a.attributes,e_=(0,A.bv)((null==Q||null==(c=Q.data)||null==(r=c.attributes)?void 0:r.url)||""),ej=[{id:ea.y.blogArticle,image:e_,headline:K||G,datePublished:y.publishedAt,dateModified:y.updatedAt},{id:ea.y.articleList,itemList:F.map(e=>{var t,a,l;return{headline:e.attributes.title,description:e.attributes.excerpt,image:(0,A.bv)((null==(l=e.attributes.cover_image)||null==(a=l.data)||null==(t=a.attributes)?void 0:t.url)||""),datePublished:e.attributes.publishedAt,url:"https://albato.com/blog/publications/"+e.attributes.slug}})}],ew={title:W("article.relatedArticles"),button_text:W("common.loadMore"),button_link:"/blog/instructions"};return(0,l.jsx)(V.I,{children:(0,l.jsx)(j.Nb.Provider,{value:I,children:(0,l.jsxs)(b.A,{title:G,description:J,canonical:eg?"/embedded/albato-vs-zapier":"/blog/publications/".concat(en),alternate:ef,lang:ep,schemaConfigs:ej,openGraphPreviewImg:e_,metaAuthorName:null==ev?void 0:ev.name,children:[(0,l.jsx)(d(),{children:(0,l.jsx)("meta",{content:e_,property:"og:image"})}),(0,l.jsxs)("div",{className:"mb-32",children:[(0,l.jsx)(g.A,{path:"article",additional:[...(null==(h=y.categories)||null==(m
1=h.data)?void 0:m[0])&&"Others"!==y.categories.data[0].attributes.name?[{title:y.categories.data[0].attributes.name,path:"/blog/".concat(y.categories.data[0].attributes.slug)}]:[{title:"Others",path:"/blog/all"}],{title:K||G}]}),(0,l.jsxs)("section",{children:[z&&(0,l.jsx)(es.A,{}),(0,l.jsx)("div",{style:{backgroundColor:ei},children:(0,l.jsxs)(C.A,{className:"alb-pt-4.5",children:[(0,l.jsx)(T.A,{text:K||G,alignment:"left",level:"1",raw:!0}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("div",{className:"sm:h-auto",children:Q.data&&(0,l.jsx)(u(),{src:e_,width:800,height:335,alt:G,priority:!0})})})]})})]}),(0,l.jsx)("div",{className:"flex justify-center"}),(0,l.jsx)(ee.m,{children:(0,l.jsxs)("section",{className:"grid grid-cols-1 lpt:grid-cols-[158px_auto] mt-3 max-w-[1400px] mx-auto gap-0 lpt:gap-[56px]",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"hidden lpt:block",children:[(0,l.jsx)("p",{className:"text-mid-gray-2 text-xs id-gray-2 uppercase pb-[8px]",children:(0,l.jsx)(_.A,{path:"blog.aside.title"})}),(0,l.jsx)("hr",{className:"maxd:hidden mt-[20px] w-full"})]}),(0,l.jsx)("aside",{className:"hidden lpt:block sticky top-[120px] self-start max-h-[80vh] overflow-y-auto pr-4 mt-[20px]",children:(0,l.jsx)("nav",{className:"flex flex-col gap-2",children:B.map(e=>(0,l.jsx)("a",{href:"#".concat(encodeURIComponent(e.id)),className:x()("text-xs text-mid-gray-2 hover:text-primary transition",2===e.level&&"font-medium",3===e.level&&"ml-1"),children:e.text},e.id))})})]}),(0,l.jsx)("div",{className:x()("article article-markdown",eh().anchorScope),children:(0,l.jsxs)("div",{className:"max-w-[800px]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{children:(0,l.jsx)(S,{article:y})}),(0,l.jsx)("hr",{className:"mt-[20px] w-full"})]}),(0,l.jsx)("p",{className:"block lpt:hidden text-mid-gray-2 text-xs id-gray-2 uppercase",children:(0,l.jsx)(_.A,{path:"blog.aside.title"})}),(0,l.jsx)("div",{className:"block lpt:hidden mb-6",children:(0,l.jsx)(eu.A,{items:B,textKey:"text",idKey:"id",placeholder:"Go to section",hasAllOption:!1,isSearchable:!1,onChange:e=>{let t=document.getElementById(e.id);t&&t.scrollIntoView({behavior:"smooth"})}})}),(0,l.jsx)(s.$,{components:{component:$,a:et._,h2:e=>{let{node:t,level:a,...s}=e;return(0,l.jsx)(ed.O,{level:2,...s})},h3:e=>{let{node:t,level:a,...s}=e;return(0,l.jsx)(ed.O,{level:3,...s})},script:e=>{let{node:t,children:a,...s}=e;return"application/ld+json"===s.type?(0,l.jsx)("script",{...s,dangerouslySetInnerHTML:{__html:String(a)}}):(0,l.jsx)("script",{...s,children:a})}},remarkPlugins:[i.A],rehypePlugins:[n.A],transformImageUri:A.B$,children:Y})]})})]})}),(0,l.jsxs)("section",{className:"mt-5",children:[(0,l.jsx)(M.A,{tags:X}),ev&&(0,l.jsx)(er,{avatarUrl:null==(w=ev.photo)||null==(v=w.data)||null==(f=v.attributes)?void 0:f.url,name:ev.name,position:ev.position,description:ev.bio,linkedinUrl:ev.linkedin,facebookUrl:ev.facebook,allArticlesUrl:"/blog/author/".concat(ev.slug,"/all"),avatarPlaceholder:ev.avatarPlaceholder}),(0,l.jsx)(ee.m,{children:(0,l.jsx)(eo.A,{title:"blog.newsletterBannerCard.title",description:"blog.newsletterBannerCard.description",description2:"blog.newsletterBannerCard.description2",buttonText:"blog.newsletterBannerCard.button",onClick:()=>U(!0),orientation:"horizontal",icon:"/images/blog/popap/email-white.svg"})}),(0,l.jsx)(L,{links:k,navPath:"/blog/publications/"}),(0,l.jsx)(el.A,{config:ew,data:{items:F}}),R&&(0,l.jsx)(ec.A,{onClose:()=>U(!1),lang:(null==I?void 0:I.name)||"",categoria:y.categories.data[0].attributes.name||""})]})]}),(0,l.jsx)(ee.m,{children:(0,l.jsx)(Z.A,{config:E})})]})})})}},81452:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var l=a(50979);let s=function(e){let{children:t,className:a=""}=e;return(0,l.jsx)("div",{className:"max-w-3.5xl alb-mx-2.5 md:mx-6 lg:mx-auto ".concat(a),children:t})}},82045:e=>{e.exports={clickable:"tag_clickable__EO6GQ",compactTag:"tag_compactTag__LJr7w",tag:"tag_tag__TPikM"}},82732:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var l=a(50979),s=a(53834),i=a.n(s),n=a(38580),r=a(42543),o=a(88438),c=a(21168),d=a(21437),m=a(38754),u=a(37039),p=a.n(u),h=a(65343),x=a(30614);let b=e=>{let{article:t,titleLevel:a}=e,{time_to_read:s,tags:i,title:n,excerpt:r,cover_image:o}=t,m=o&&o.data?(0,h.bv)(o.data.attributes.url):"/images/blog/cases_item.svg";return(0,c.Uf)(),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"mb-6",children:[(0,l.jsx)("div",{children:(0,l.jsx)(p(),{className:"rounded-2xl object-cover h-[200px]",width:280,height:200,src:m,alt:n})}),(0,l.jsxs)("div",{className:"w-68 alb-pt-0.5",children:[(0,l.jsx)(x.A,{tags:i.data,timeToRead:s}),(0,l.jsx)(d.A,{level:a,alignment:"left",noStyling:!0,className:"text-xl text-dark-gray-text font-semibold line-clamp-2 mt-1",children:n}),(0,l.jsx)("p",{className:"text-base line-clamp-3 mt-2",children:r})]})]})})},g=e=>{let{config:t,data:a}=e,{items:s=[]}=a,r=(0,c.oF)(),u=(0,n.usePathname)();return s.length?(0,l.jsxs)(o.m,{children:[(0,l.jsxs)("div",{className:"flex justify-between alb-pb-4",children:[(0,l.jsx)(d.A,{text:u.includes("/apps")?()=>r(t.title).replace("{sourceApp}",a.sourceApp.display_name):t.title,alignment:"left",level:"3"}),(0,l.jsx)("a",{href:t.button_link,className:"text-s self-center text-orange-60 font-normal",children:(0,l.jsx)(m.A,{path:t.button_text})})]}),(0,l.jsx)("div",{className:"flex flex-nowrap gap-x-4 overflow-x-auto",children:s.map(e=>(0,l.jsx)(i(),{href:"/blog/publications/".concat(e.attributes.slug),prefetch:!1,children:(0,l.jsx)(b,{tags:e.tags,titleLevel:"4",article:e.attributes},e.id)},e.id))})]}):(0,l.jsx)(l.Fragment,{})};r.A.registerComponent("apps.publications-block",g);let f=g},86485:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var l=a(50979),s=a(25963),i=a(37039),n=a.n(i),r=a(21168),o=a(93999),c=a.n(o);function d(e){let{onClose:t,lang:a,categoria:i}
1=e,o=(0,r.oF)(),[d,m]=(0,s.useState)(!1),[u,p]=(0,s.useState)({firstName:"",email:"",consent:!1,lang:a,categoria:i}),h=e=>{let{name:t,value:a,type:l,checked:s}=e.target;p(e=>({...e,[t]:"checkbox"===l?s:a}))},x=async e=>{e.preventDefault();try{await fetch("/api/blog-subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:u.firstName,email:u.email,source:"newsletter-popup",lang:u.lang,categoria:u.categoria})}),m(!0)}catch(e){console.error("Subscription error:",e)}};return(0,l.jsx)("div",{className:c().overlay,children:(0,l.jsxs)("div",{className:c().modal,children:[(0,l.jsx)(n(),{src:"/images/blog/popap/bg-popap-blog.svg",alt:"Background",fill:!0,className:c().bg}),(0,l.jsx)("button",{className:c().close,onClick:t,children:"\xd7"}),d?(0,l.jsxs)("div",{className:c().success,children:[(0,l.jsx)("h2",{children:o("blog.newsletterPopupSuccess.title")}),(0,l.jsx)("p",{children:o("blog.newsletterPopupSuccess.description")})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h2",{children:o("blog.newsletterPopup.title")}),(0,l.jsx)("p",{children:o("blog.newsletterPopup.description")}),(0,l.jsxs)("form",{onSubmit:x,children:[(0,l.jsxs)("div",{className:c().fieldWrap,children:[(0,l.jsx)("input",{name:"firstName",type:"text",value:u.firstName,onChange:h,required:!0}),!u.firstName&&(0,l.jsxs)("span",{className:c().fakePlaceholder,children:["First name ",(0,l.jsx)("span",{className:c().required,children:"*"})]})]}),(0,l.jsxs)("div",{className:c().fieldWrap,children:[(0,l.jsx)("input",{name:"email",type:"email",value:u.email,onChange:h,required:!0}),!u.email&&(0,l.jsxs)("span",{className:c().fakePlaceholder,children:["Email ",(0,l.jsx)("span",{className:c().required,children:"*"})]})]}),(0,l.jsxs)("label",{className:c().checkbox,children:[(0,l.jsx)("input",{type:"checkbox",name:"consent",checked:u.consent,onChange:h,required:!0}),o("blog.newsletterPopup.checkbox"),(0,l.jsx)("a",{className:"ml-1",href:"/privacy",target:"_blank",children:o("blog.newsletterPopup.privacyPolicy")}),"."]}),(0,l.jsx)("div",{className:c().buttonWrap,children:(0,l.jsx)("button",{type:"submit",children:o("blog.newsletterPopup.button")})})]})]})]})})}},87203:e=>{e.exports={wrapper:"roi-cta-blog_wrapper__3rTPG",content:"roi-cta-blog_content__BoWzw",title:"roi-cta-blog_title__tDAHS",description:"roi-cta-blog_description__sy8lU",buttonWrapper:"roi-cta-blog_buttonWrapper__Qwt_c",backgroundImage:"roi-cta-blog_backgroundImage__jsKR_"}},88905:e=>{!function(){var t={229:function(e){var t,a,l,s=e.exports={};function i(){throw Error("setTimeout has not been defined")}function n(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{a="function"==typeof clearTimeout?clearTimeout:n}catch(e){a=n}function r(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(a){try{return t.call(null,e,0)}catch(a){return t.call(this,e,0)}}}var o=[],c=!1,d=-1;function m(){c&&l&&(c=!1,l.length?o=l.concat(o):d=-1,o.length&&u())}function u(){if(!c){var e=r(m);c=!0;for(var t=o.length;t;){for(l=o,o=[];++d<t;)l&&l[d].run();d=-1,t=o.length}l=null,c=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===n||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}s.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];o.push(new p(e,t)),1!==o.length||c||r(u)},p.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=h,s.addListener=h,s.once=h,s.off=h,s.removeListener=h,s.removeAllListeners=h,s.emit=h,s.prependListener=h,s.prependOnceListener=h,s.listeners=function(e){return[]},s.binding=function(e){throw Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw Error("process.chdir is not supported")},s.umask=function(){return 0}}},a={};function l(e){var s=a[e];if(void 0!==s)return s.exports;var i=a[e]={exports:{}},n=!0;try{t[e](i,i.exports,l),n=!1}finally{n&&delete a[e]}return i.exports}l.ab="//",e.exports=l(229)}()},89270:e=>{e.exports={anchorScope:"blog-anchors_anchorScope__Mq7Kp"}},93999:e=>{e.exports={overlay:"newsletter-popup_overlay__u3qkI",modal:"newsletter-popup_modal__mSG6L",bg:"newsletter-popup_bg__84v9y",checkbox:"newsletter-popup_checkbox__z7s_6",buttonWrap:"newsletter-popup_buttonWrap__uJrv5",success:"newsletter-popup_success__CpcAV",close:"newsletter-popup_close___nHNb",fieldWrap:"newsletter-popup_fieldWrap__C3C1o",fakePlaceholder:"newsletter-popup_fakePlaceholder__SStso",required:"newsletter-popup_required__4gY2I"}},98855:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>r});var l=a(50979),s=a(82907),i=a(38754),n=a(14149);function r(e){let{onSuccess:t=()=>{},formId:a="embedded-demo-form",strapiUrl:r="https://strapi.aws-us-east-2.albato.com/api/embedded-requests",a
1piUrl:o="/api/embedded",title:c="embedded.scheduleDemo",skipEmailDomainCheck:d=!1,emailPlaceholder:m="workEmail",fieldConfig:u}=e,{trigger:p,EventNames:h}=(0,s.Di)();return(0,l.jsx)("div",{className:"overflow-y-auto z-9999 overlay-bg fixed inset-0 z-[100] box-border",children:(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center min-h-screen",children:[(0,l.jsx)("div",{onClick:()=>p(h.HideEmbeddedDemoScheduleModal),className:"absolute z-0 top-0 left-0 w-full h-full"}),(0,l.jsxs)("div",{className:"z-10 w-full md:w-[680px] max-w-[680px] relative",children:[(0,l.jsx)("div",{className:"flex justify-end",children:(0,l.jsx)("div",{onClick:()=>p(h.HideEmbeddedDemoScheduleModal),className:"absolute right-4 top-2 md:top-4 bg-[url('/images/icons/icon-close.svg')]\n w-[32px] h-[32px] bg-no-repeat cursor-pointer"})}),(0,l.jsx)(n.A,{onSuccess:t,formId:a,strapiUrl:r,apiUrl:o,skipEmailDomainCheck:d,emailPlaceholder:m,fieldConfig:u,children:(0,l.jsx)("h2",{className:"font-bold text-[28px] leading-[34px] md:text-2xl md:leading-none mb-2",children:(0,l.jsx)(i.A,{path:c})})})]})]})})}}},e=>{e.O(0,[9613,7918,8580,4261,3194,5281,3719,9113,9635,828,922,7280,636,6593,8792],()=>e(e.s=40488)),_N_E=e.O()}]);
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.