Viewing File: /usr/local/cpanel/base/frontend/meridian/onboarding/assets/module-CFPIFBUT.js
import"./module-4Zx3C8Rj.js";import{S as e,a as t,c as n,t as r,x as i,z as a}from"./_virtual_mf___mfe_internal__meridian_onboarding__mf_owner__1__loadShare___mf_0_cpanel_mf_1_api_mf_2_client__loadShare__.js-B0vdB1Sj.js";function o(e){return e==null?!1:typeof e==`boolean`?e:typeof e==`number`?e!==0:typeof e==`string`&&e!==``&&e!==`0`}var s={async fetchDomainRecords(e){let t=await n().call(`Sitejet`,`get_sitebuilder_domain_statuses`,void 0,{signal:e,timeoutMs:5e3});return a(t.result.data,`object`,{module:`Sitejet`,function:`get_sitebuilder_domain_statuses`}),Object.entries(t.result.data).map(([e,t])=>({domain:e,isLive:o(t?.is_sitejet),hasDraft:o(t?.has_sitejet_website)}))},changedEvent:`sitejet:changed`,launch:{kind:`sso-redirect`,getSsoUrl:({domain:n,signal:r})=>e.getSsoLink(n,t(n),void 0,r),provisionAndGetSsoUrl:({domain:e,signal:n})=>i.provisionAndGetSsoUrl(e,t(e),r.PROMPT,n)}};export{s as sitejetRuntime};
;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="853c8141-513a-41b8-a200-ea331407adf7",e._sentryDebugIdIdentifier="sentry-dbid-853c8141-513a-41b8-a200-ea331407adf7")}catch(e){}}();
//# debugId=853c8141-513a-41b8-a200-ea331407adf7
Back to Directory