PageSourceSearch

https://dust.tt/_next/static/chunks/7913.20ebbdc59d1d1787.js

js dust.tt collected 2026-09-24 08:53:25 UTC 4,373 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7913],{17913:function(e,t,r){r.r(t),r.d(t,{PostHogTrackerEffects:function(){return p}});var n=r(17402),o=r(56863),i=r(69154),u=r(9573),s=r(5190),c=r(97851),l=r(27378),a=r(35131);let f="phc_shh2bTogkD3jmX8ORSEpIsGrtxtmD4oHgbe1qfGOWe2",d=["/poke","/poke/","/sso-enforced","/maintenance","/oauth/"];function _(e){return!d.some(t=>e.startsWith(t)||e.endsWith(t))}function p(e){let{authenticated:t}=e,r=(0,o.xj)(),[d]=(0,a.fP)([n.mq]),{wId:p}=r.query,h=(0,s.HD)(p)?p:void 0,g=(0,l.useMemo)(()=>{var e;return null!==(e=(0,u.JI)().posthog_id)&&void 0!==e?e:void 0},[]),m=d[n.mq],v=!!t||(0,n.G9)(m,null),k=void 0,y=_(r.pathname),$=(0,l.useRef)(null),P=(0,l.useRef)(null),b=(0,l.useRef)(!1),R=(0,l.useRef)(!1);(0,l.useRef)(null),(0,l.useEffect)(()=>{if(!f||!y||c.ZP.__loaded||b.current)return;let e=(0,i.Us)(),t=(0,i.E1)(),r=v?"localStorage+cookie":"localStorage";c.ZP.init(f,{api_host:"/subtle1",ui_host:"https://eu.posthog.com",person_profiles:"identified_only",defaults:"2025-05-24",persistence:r,...t&&!v?{bootstrap:{distinctID:t}}:{},...e?{cookie_domain:e}:{},capture_pageview:"history_change",capture_pageleave:!1,autocapture:!1,disable_session_recording:!0,property_denylist:["$ip"],before_send:e=>{if(!e||"$pageview"===e.event&&!_(window.location.pathname))return null;let t=(0,u.JI)();for(let r of u.on){let n=t[r];n&&(e.properties[r]=n)}if(e.$set_once)for(let t of Object.keys(e.$set_once))t.startsWith("$initial_")&&(null===e.$set_once[t]||void 0===e.$set_once[t])&&delete e.$set_once[t];let r={};for(let e of u.on){let n=t[e];n&&(r["$initial_".concat(e)]=n)}let n=(0,u.yp)();if(n){if(n.referrer){r.$initial_referrer=n.referrer;try{r.$initial_referring_domain=new URL(n.referrer).hostname}catch(e){}}r.$initial_host=n.host,r.$initial_current_url=n.url,r.$initial_pathname=n.pathname}Object.keys(r).length>0&&(e.$set_once={...e.$set_once,...r});let o=document.cookie.split("; ").find(e=>e.startsWith("".concat(i.VM,"=")));if(o&&(e.properties.dust_anonymous_id=o.split("=")[1]),document.referrer&&(e.properties.$referrer=document.referrer),e.properties.user_agent=navigator.userAgent,"$pageview"===e.event)for(let[t,r]of[["dust:is_seo_article","is_seo_article"],["dust:is_geo_article","is_geo_article"],["dust:is_thought_leadership","is_thought_leadership"]]){let n=document.querySelector('meta[name="'.concat(t,'"]'));n&&(e.properties[r]="true"===n.getAttribute("content"))}return e},session_recording:{maskAllInputs:!0,maskTextSelector:"*",recordCrossOriginIframes:!1}}),b.current=!0},[v,y]),(0,l.useEffect)(()=>{c.ZP.__loaded&&b.current},[null,g]),(0,l.useEffect)(()=>{if(!c.ZP.__loaded||!b.current||!v||R.current)return;c.ZP.set_config({persistence:"localStorage+cookie",...(0,i.Us)()?{cookie_domain:(0,i.Us)()}:{},disable_session_recording:!1}),c.ZP.startSessionRecording();let e=(0,i.E1)();e&&c.ZP.register({dust_anonymous_id:e}),R.current=!0},[v]);let E=(0,l.useRef)(null);return(0,l.useEffect)(()=>{var e;if(!c.ZP.__loaded||!h||!v)return;let t=$.current!==h;JSON.stringify(null),P.current,t&&(c.ZP.group("workspace",h,void 0),$.current=h);let r=null!==(e=null==k?void 0:k.role)&&void 0!==e?e:null;r&&r!==E.current&&(c.ZP.setPersonProperties({user_role:r}),E.current=r)},[h,null,v,!1,null==k?void 0:k.role]),null}},17402:function(e,t,r){r.d(t,{AS:function(){return l},G9:function(){return d},NB:function(){return s},Os:function(){return o},Tv:function(){return u},U_:function(){return f},d7:function(){return _},mq:function(){return n},pb:function(){return i},s4:function(){return a}});let n="dust-cookies-accepted",o="dust-has-session",i="dust-skip-landing",u="dust-skip-landing-prompt-dismissed",s={path:"/",maxAge:31536e3,sameSite:"lax"};function c(e){return"1"===e||1===e||!0===e}function l(e){return c(e)}function a(e){return c(e)}function f(e){return c(e)}function d(e,t){return!!t||"true"===e||"auto"===e||!0===e}function _(e){return void 0===e}},56863:function(e,t,r){r.d(t,{gM:function(){return u},xj:function(){return i}}),r(63662);var n=r(86677),o=r(27378);function i(){let e=(0,n.useRouter)();return(0,o.useMemo)(()=>({push:e.push,replace:e.replace,back:e.back,reload:e.reload,pathname:e.pathname,asPath:e.asPath,query:e.query,isReady:e.isReady,events:e.events}),[e])}let u=r(44317).u},5190:function(e,t,r){r.d(t,{HD:function(){return n}});function n(e){return"string"==typeof e}}}]);

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.