1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11541],{33430:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apps/[slug]/faq",function(){return a(71995)}])},71995:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return i}});var t=a(85893),n=a(94243);function i(){return(0,t.jsx)(n.default,{activeTab:"Faq"})}},94243:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return I}});var t=a(85893),n=a(67294),i=a(11163),l=a(18499),o=a(29267),r=a(27361),c=a.n(r),d=a(94184),u=a.n(d),p=a(68403),m=a(70418),h=a(68573),f=a(53031),_=a(60553),x=a(13514),g=a(81185),w=a(32207),j=a(41609),v=a.n(j),b=a(96881),S=a(58130);a(38905);var N=a(31956),y=a(24351),k=a(47284),C=a(43232),P=a(11823);let Z=[];var I=(0,b.CG)({ssr:!0})(function(e){var s;let{activeTab:a,apolloClient:r=null}=e,d=(0,i.useRouter)(),[j]=(0,N.LP)(),b=(0,l.aM)(o.Bg,{variables:{slug:d.query.slug,teamId:j,sh:!0}}),I=c()(b,"data.appBySlug")||{},T=c()(I,"name"),q=c()(I,"description"),[E,A]=n.useState({loading:!0});(0,P.Z)(()=>{T&&r.query({query:o.Ik,variables:{name:T,teamId:j},customAppsPairLink:{customAppsPairLink:c()(I,"customAppsPairLink")}}).then(e=>A(e)).catch(e=>console.error(e))},[T]);let[L,V]=(0,n.useState)(Z);(0,n.useEffect)(()=>{T&&V(Z=(0,x.wd)(d,[I]))},[T,a]);let[B,D]=(0,n.useState)((q||"").substr(0,98));(0,n.useEffect)(()=>{q&&!B&&D((q||"").substr(0,98))},[q]);let[F,R]=(0,n.useState)(0),[H,M]=(0,n.useState)({isVideoShow:!1});function O(){M({isVideoShow:!1}),document.body.style.position="unset",window.scrollTo(0,F)}j&&b.called&&!b.loading&&!c()(b,"data.appBySlug")&&(window.location.href=(0,y.hO)());let J=(0,n.useRef)();if((0,_.Z)(J,()=>{H.isVideoShow&&O()}),!b.data||b.loading)return(0,t.jsx)(m.Z,{title:"Apps",children:(0,t.jsx)(S.DW,{})});if((0,C.shouldShow404)(b,"data.appBySlug"))return(0,t.jsx)(C.default,{});let X=(0,p.c)(I||{});X=v()(X)?null:X;let G=(0,p.Q)(I||{});G=v()(G)?null:G;let Q=u()("apps-main__info-text",{expand:B.length>98});if(!T)return null;let U="Connect ".concat((0,x.DJ)(I)," using API Nation Integrations"),W=!0;return(null==d?void 0:null===(s=d.query)||void 0===s?void 0:s.came_from)==="cn_homeowner_ai"&&(null==I?void 0:I.name)==="cn_homeowner_ai"&&(W=!1),(0,t.jsxs)(m.Z,{title:U,breadcrumbs:L,additionalCssClass:"one-app-page",ogImage:(0,k.Z)(I),ogTitle:U,showHeader:W,children:[(0,t.jsxs)(h.ZP,{container:!0,spacing:0,className:"apps-main",children:[b.data&&(0,t.jsxs)(h.ZP,{item:!0,xs:12,lg:3,className:"apps-main__info",children:[(0,t.jsx)("div",{className:"logo_wrapper",children:(0,t.jsx)(f.Z,{app:I})}),(0,t.jsxs)("section",{className:Q,children:[(0,t.jsx)("h1",{className:"title",children:(0,x.DJ)(I)}),!!I&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"description _mobile",children:[(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:I.description}}),B!==I.description&&(0,t.jsx)("span",{className:"show-full-text__btn","aria-label":"show full description",onClick:()=>D(I.description),children:"...more"})]}),(0,t.jsx)("div",{className:"description _desktop",dangerouslySetInnerHTML:{__html:I.description}})]}),(0,t.jsx)(g.Z,{additionalCssClass:"_desktop"})]})]}),(0,t.jsx)(w.Z,{app:I,appResult:b,connectedAppsResult:E,tutorialsData:X,faqData:G,handleVideoState:M,handleVideoScrollPosition:R,activeTab:a}),(0,t.jsx)(g.Z,{additionalCssClass:"_mobile"})]}),H.isVideoShow&&(0,t.jsx)("div",{className:"video-section",children:(0,t.jsxs)("section",{className:"video-section__controls",children:[(0,t.jsx)("button",{className:"close-video__btn",onClick:O,"aria-label":"Press to close the video",children:"â"}),(0,t.jsx)("iframe",{src:H.videoUrl,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"videoFrame",ref:J})]})})]})})}},function(e){e.O(0,[29652,3401,40649,77247,76379,88556,71900,86603,25298,92888,49774,40179],function(){return e(e.s=33430)}),_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.