PageSourceSearch

https://static.amplitude.com/stargate/f0c4dcb4cf5d293dc7bb7cb799aa…/assets/v0-island-entry-sxq_xKet.js

js amplitude.com collected 2026-10-09 22:54:46 UTC 2,354 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35f6a176-9e41-5b4b-a0cb-ac6bec8e7f0d")}catch(e){}}();
3import{c as e}from"./v0/user-preferences-DrZRVoOP.js";import{i as t}from"./v0/feature-flags-qv4O0F6Q.js";import{n}from"./v0/organization-CgL7Zx12.js";import r,{dt as i,lt as a,t as o,ut as s}from"./v0-entrypoint-B_jE5aGw.js";import{captureException as c}from"@sentry/react";import{useEffect as l,useRef as u}from"react";import{jsx as d}from"react/jsx-runtime";import{IntercomProvider as f}from"react-use-intercom";function p(){return window.__ONENAV_SHARED__}var m=new WeakMap,h=new WeakMap;function g(e,t={}){return{async mount(n,r){let i=p(),a=i.React,o=(i.ReactDOMClient??i.ReactDOM).createRoot(n);m.set(n,o);let s=n=>{let r=a.createElement(e,{ctx:n});if(t.providers&&(r=t.providers(r)),!t.selfRouted){let e=i.ReactRouterDom?.Router,t=i.history;e&&t&&(r=a.createElement(e,{history:t},r))}let o=i.ReactQuery?.QueryClientProvider,s=i.queryClient;return o&&s&&(r=a.createElement(o,{client:s},r)),r},c=e=>o.render(s(e));h.set(n,c),c(r)},update(e,t){h.get(e)?.(t)},unmount(e){m.get(e)?.unmount(),m.delete(e),h.delete(e)}}}var _={hideDefaultLauncher:!0},v=({children:r,skipInit:p})=>{let m=n(),h=e(),g=t(`intercom-test-instance`),v=u(h?.email??``),y=g?i:s,[b]=o(),{data:x,refetch:S}=a({enabled:!(!b||p||!h?.email)});return l(()=>{v.current&&h?.email&&v.current!==h?.email&&(v.current=h?.email??``,S().catch(c))},[S,h?.email]),l(()=>{let e=e=>{let t=e.origin===window.location.origin,n=e.origin.endsWith(`.amplitude.com`);if((t||n)&&e.data===`intercom-zendesk-form`)try{e.source?.postMessage({zdData:!0,zdName:h?.fullName??``,zdEmail:h?.email??``,zdUserHash:x?.intercomContactInfo?.userHash??``,zdLink:window.location.href,zdOrgId:m},e.origin)}catch(e){console.error(e),c(e)}};return window.addEventListener(`message`,e,!1),()=>{window.removeEventListener(`message`,e,!1)}},[h,x,m]),d(f,{appId:y,autoBoot:!p,autoBootProps:p?void 0:_,shouldInitialize:!p,children:r})},y=g(({ctx:e})=>d(v,{children:d(r,{orgData:e.orgData})})),b=y.mount,x=y.unmount;export{y as default,b as mount,x as unmount};
4//# sourceMappingURL=v0-island-entry-sxq_xKet.js.map
5//# debugId=35f6a176-9e41-5b4b-a0cb-ac6bec8e7f0d

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.