PageSourceSearch

https://assets.airmeet.com/1789450338874/static/js/114.2b3b8a74.chunk.js

js airmeet.com collected 2026-09-24 09:20:54 UTC 7,155 bytes, 2 lines download raw bytes

1(window["webpackJsonpsass-app"]=window["webpackJsonpsass-app"]||[]).push([[114],{2087:function(e,t,n){"use strict";var i=n(1),a=n(14),r=n(5),o=n.n(r),c=n(10),u=n(6),s=n(69),l=n(176),f=n(48),d=n.n(f),p=n(0),v=n(9),g=n(192),b=n(417),m=n(29),h=n(17),O=n(101),j=n(65),w=n(39),y=n(49),k=n(8),_=n(198),E=n(255),I=n(568),T=n(89),C=n(3015),S=n(1899),x=n(1934),U=n(2009),A=n(2285),R=k.e.init("HOST_EVENT_HOOK","#48AFF0");t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,f=arguments.length>4?arguments[4]:void 0,k=Object(v.e)((function(e){return e.Community})),D=k.myCommunity,P=k.isError,N=Object(v.e)((function(e){return e.auth})),H=N.user,J=N.redirectToSalesforce,L=N.firstTimeOauthSignup,M=Object(v.d)(),q=Object(p.useState)(null),B=Object(u.a)(q,2),F=B[0],G=B[1],K=Object(p.useState)(!1),z=Object(u.a)(K,2),Q=z[0],V=z[1],Y=Object(E.a)(),W=Y.isLoggedIn,X=Y.trySignUp,Z=Object(C.a)(),$=Z.handleTapfiliateClick,ee=Z.handleAffiliateSignup,te=Object(_.b)({}),ne=te.is_new_onboarding_enabled,ie=te.is_v3_onboarding_enabled,ae=Object(I.a)(),re=ae.analyticsEventType,oe=ae.logAnalyticsEvent,ce=Object(m.getUrlParams)(),ue=Object(T.a)(),se=ue.isMobile,le=ue.isTablet,fe=D||{},de=fe.list,pe=Object(p.useMemo)((function(){var e={navigateToCommunityId:null,regionBaseUrl:""};if(Array.isArray(de)&&de.length>0){var t=h.a?g.a.IN:(null===H||void 0===H?void 0:H.last_active_region)||g.a.IN,n=(de||[]).find((function(e){return(null===e||void 0===e?void 0:e.region)===t}))||de[0];if(n&&(e.navigateToCommunityId=null===n||void 0===n?void 0:n.communityId,!h.a)){var i=g.b.find((function(e){return e.id===(null===n||void 0===n?void 0:n.region)}));e.regionBaseUrl=(null===i||void 0===i?void 0:i.baseUrl)||""}}return e}),[de,H]),ve=pe.navigateToCommunityId,ge=pe.regionBaseUrl,be=Object(p.useCallback)((function(){M({type:"RESET_SALESFORCE_REDIRECT"}),j.a.push("/integrations?type=".concat(b.G))}),[M]),me=Object(p.useCallback)(Object(c.a)(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!H||!J){e.next=4;break}be(),e.next=16;break;case 4:if(!ce||"integration"!==ce.redirectType){e.next=8;break}j.a.push("/select-community?crm=".concat(ce.crm,"&installid=").concat(ce.installid)),e.next=16;break;case 8:if(!ve){e.next=16;break}if(t="".concat(ge,"/community-manager/").concat(ve,"/").concat(s.l),(null===ce||void 0===ce?void 0:ce.redirect)!==S.c){e.next=14;break}return t+="?redirect=".concat(S.c),window.location.href=t,e.abrupt("return");case 14:ce&&ce.redirect&&(n=decodeURIComponent(ce.redirect),Object(x.a)(n)&&(t=n)),window.location.href=t;case 16:case"end":return e.stop()}}),e)}))),[be,J,H,ce,ve,ge]),he=function(){j.a.push("/")},Oe=function(){j.a.push("/error")},je=function(e){return j.a.location.pathname===e},we=se||le;Object(p.useEffect)((function(){W||G(null)}),[W]),Object(p.useEffect)((function(){if(W&&Q){var i=ce.signup_intent,a=ce.redirect,o=ce.plan_intent;if(i===l.d&&!L)return void j.a.push("/profile");if(a&&!L){var c=decodeURIComponent(a);if(Object(x.a)(c))return void(window.location.href=c)}if(F&&e&&t&&n&&r){if(R("Initiating CM Onboarding"),je(O.E)||ie||j.a.push(O.E),j.a.location.pathname.includes(O.I[O.w])&&e===O.w)return;var u=i===l.d&&L,s=Object(U.j)(o,a),d=u||s;r(O.D),t(d?O.w:O.y),M(Object(w.Q)({subHeadingProps:d?"":"I am here to",isSelfServePlanIntentUser:s})),d&&oe(re.startedCompleteYourProfile,{here_to:u?A.a:A.b}),Q&&V(!1),f&&f(!1)}else(H.community||ve)&&null!==F&&me()}}),[W,Q,F,H,ne,me,ce,M,ie,we,ve,L]),Object(p.useEffect)((function(){if(P)Q&&Oe();else if(!d()(D)){var e=D.cm,t=D.em,n=D.list;e&&e.length>0||t&&t.length>0?(R("Is already a manager"),G(!1)):e&&!e.length&&t&&!t.length&&n&&!n.length||(null===ce||void 0===ce?void 0:ce.community_name)?(R("Is New Manager"),G(!0)):(R("Is already a manager"),G(!1))}}),[D,Q,ce]);var ye=function(e){var t=e.pricingEvent,n=void 0!==t&&t,r=e.isSignedUp,u=void 0!==r&&r,s=e.isHostEvent,f=void 0===s||s,p=e.hostEventClicked,v=void 0===p||p,g=e.affiliateData,b=void 0===g?{}:g,m=e.source,h=void 0===m?"host an event":m,O=e.signupIntent,j=void 0===O?l.e:O,w=Object(a.a)(e,["pricingEvent","isSignedUp","isHostEvent","hostEventClicked","affiliateData","source","signupIntent"]);!n&&v&&j!==l.d&&y.c.hostEvent(),d()(b)||$(b,W),u&&f||W?V(!0):(y.c.initiateAuthorization(h),X(Object(i.a)({onSuccess:function(){var e=Object(c.a)(o.a.mark((function e(t,n,i){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v&&y.c.signedUp(n,i),f&&V(!0),e.next=4,ee();case 4:case"end":return e.stop()}}),e)})));return function(t,n,i){return e.apply(this,arguments)}}(),source:h},w)))};return{onActionClick:ye,navigateToDashboard:me,navigateToHomePage:he}}},3015:function(e,t,n){"use strict";var i=n(5),a=n.n(i),r=n(10),o=n(1),c=n(37),u=n.n(c),s=n(9),l=n(236);t.a=function(){var e=Object(s.d)(),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i="8ee656f587070e462503359fe2eca1501582049f",a=e.reqURL,r=e.options;fetch(a,Object(o.a)({headers:{"Content-Type":"application/json","Api-Key":i}},r)).then((function(e){return e.json()})).then((function(e){t(e)}
1)).catch((function(e){console.error("Error in tapfiliate API call:",e),n(e)}))};return{handleReferrerAction:t,handleTapfiliateClick:function(n,i){var c=n.refCode,u=n.cookieTime,s="".concat("https://api.tapfiliate.com/1.6/").concat("clicks/"),f={referral_code:c,landing_page:window.location.origin},d={method:"POST",body:JSON.stringify(f)};t({reqURL:s,options:d},function(){var t=Object(r.a)(a.a.mark((function t(n){var r,s,f;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("id"in n)){t.next=10;break}if(r={clickId:n.id,referralCode:c,conversionPage:window.location.origin},u&&(s=new Date,r.expiryTime=s.getTime()+u),i){t.next=7;break}localStorage.setItem("new_tapfiliate_user",JSON.stringify(r)),t.next=10;break;case 7:return f={metadata:Object(o.a)({},r)},t.next=10,e(Object(l.j)(f));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},handleTapfiliateReferralInvite:function(e,n){t({reqURL:"".concat("https://api.tapfiliate.com/1.6/").concat("programs/").concat("airmeet-revenue-partner-program","/"),options:{method:"GET"}},(function(t){if(t.cookie_time){var i=u.a.duration(t.cookie_time,"days").asMilliseconds();n({affiliateData:{refCode:e,cookieTime:i}})}}),(function(t){n({affiliateData:{refCode:e}})}))},handleAffiliateSignup:function(){var t=Object(r.a)(a.a.mark((function t(){var n,i,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=localStorage.getItem("new_tapfiliate_user"))){t.next=7;break}return i=JSON.parse(n),r={metadata:Object(o.a)({},i)},t.next=6,e(Object(l.j)(r));case 6:localStorage.removeItem("new_tapfiliate_user");case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}}}}]);
2//# sourceMappingURL=114.2b3b8a74.chunk.js.map

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.