1"use strict";(self.webpackChunkknowledge_base_saas=self.webpackChunkknowledge_base_saas||[]).push([[3074],{63074(e,s,t){t.r(s),t.d(s,{default:()=>i});var n=t(5544),a=t(65043),c=t(47874),l=t(66630),o=t(42773),r=t(70579);const i=()=>{const e=(0,c.ok)(),s=(0,n.A)(e,1)[0],t=(0,a.useState)(null),i=(0,n.A)(t,2),d=i[0],m=i[1],x=(0,a.useState)(null),h=(0,n.A)(x,2),u=h[0],f=h[1];return(0,a.useEffect)(()=>{let e=!1;return(async()=>{try{const t=s.get("host")||void 0,n=(t||(0,o.z1)()).toLowerCase();if((0,o.Uy)(n)&&!t)return void m("This page is only for custom domains.");const a=await(0,o.Kn)(t||n);if(e)return;f(a.hostname||n)}catch(t){e||m(t.message||"Could not resolve custom domain")}})(),()=>{e=!0}},[s]),u?(0,r.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-white px-6 text-center",children:[(0,r.jsx)("h1",{className:"text-xl font-semibold text-gray-900 mb-2",children:u}),(0,r.jsx)("p",{className:"text-gray-600 max-w-md",children:"This domain is connected to Based. Open a share link to view content."})]}):d?(0,r.jsxs)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-white px-6 text-center",children:[(0,r.jsx)("h1",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Page not found"}),(0,r.jsx)("p",{className:"text-gray-600 max-w-md",children:d})]}):(0,r.jsx)(l.aZ,{})}}}]); 2//# sourceMappingURL=3074.e0b94c6d.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.