1import{a as p,c as a,j as o,h as c}from"./index-c29e44e2.js";import{r as n}from"./antd-icons-66946c44.js";import{u}from"./CreatePreview-5fee2af5.js";import"./Input-837e8f84.js";import"./whitelabel-81011a52.js";import"./useUserInfo-8989e4f6.js";import"./domains-f400ec7f.js";import"./Module-563f8a6a.js";import"./UpgradePlanMask-8f5b3c9f.js";import"./useSubmitChatbotInfo-d5f53da8.js";import"./useGetChatbotDetails-fb208648.js";import"./index-b7c98420.js";import"./index-d69cedca.js";import"./useVariants-cee23fa5.js";import"./ResizeObserver.es-0f9f8adb.js";import"./colors-3cf421cb.js";import"./Overflow-ac2d236a.js";import"./statusUtils-22830c4a.js";import"./index-2950d4ba.js";import"./Input-44f97ff8.js";import"./TextArea-0f863c0d.js";import"./SvgIcon-5e8794aa.js";import"./index-44a79835.js";import"./useForm-25122bf2.js";import"./index-efd16ae6.js";import"./styleChecker-3e7b84ca.js";import"./index-f153615c.js";import"./index-3697ff4e.js";import"./index-4ee0a2e4.js";import"./utils-4d077eef.js";import"./index-9b6bc6c1.js";import"./index-2297e430.js";import"./index-18f8f830.js";import"./CodeBlock-32c48480.js";import"./prism-d2831341.js";import"./index-d37e6fc3.js";import"./index-c7bd94f7.js";import"./index-a1c86904.js";import"./index-87e7e444.js";import"./useIsNewoaks-7af8214c.js";import"./Upload-9fbda028.js";import"./index-1f1db4a5.js";import"./progress-6023f41d.js";import"./Trans-9aa6f246.js";function or(){const{t:r}=p(),i=a(),{createDemoPreview:m}=u({onSuccess:e=>{const s=JSON.parse(sessionStorage.getItem("home_to_registry")||"{}").url;i(`/preview-your-site/${e}?url=${encodeURIComponent(l(s))}`,{replace:!0}),c.success(r("getDemoPreviewUrl.demoStartedSuccess"))}});return n.useEffect(()=>{const t=new URLSearchParams(location.search).get("url");t&&m(t)},[]),o.jsx("div",{className:"h-screen w-screen flex justify-center items-center",children:o.jsx("p",{children:r("getDemoPreviewUrl.loading")})})}const l=r=>!r.includes("http://")&&!r.includes("https://")?"https://"+r:r;export{or as default};
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.