PageSourceSearch

https://docs.aembit.io/_astro/PostHogStepProgressionTracking.astro_astro_type_script_index_0_lang.BBoy3p53.js

js aembit.io collected 2026-09-24 20:07:00 UTC 1,423 bytes, 1 lines download raw bytes

1import{t as e}from"./feedbackStepContext.L6fWu15M.js";var t=`stepProgressionWired`,n=`complete`,r=`7`;function i(e,t){let n=window.posthog;n&&typeof n.capture==`function`&&n.capture(e,t)}function a(e){if(e.trim()===``)return;let t=Number(e);return Number.isFinite(t)?t:void 0}function o(o={}){let s=document.body;if(s.dataset[t]===`1`)return()=>{};s.dataset[t]=`1`;let c=o.capture??i,l=new Set,u=!1,d=!1;function f(t){let r=e(document);if(r.feedback_surface!==`tutorial`)return;let i=typeof r.step_id==`string`?r.step_id:void 0;if(!i)return;let a={...r},o=t.detail?.index;typeof o==`number`&&(a.step_index=o);let s=`tutorial:${i}`;l.has(s)||(l.add(s),c(`tutorial_step_viewed`,a)),i===n&&!u&&(u=!0,c(`tutorial_completed`,a))}function p(){let t=e(document);if(t.feedback_surface!==`wizard`)return;let n=typeof t.step_id==`string`?t.step_id:void 0;if(!n)return;let i={...t},o=a(n);o!==void 0&&(i.step_index=o);let s=`wizard:${n}`;l.has(s)||(l.add(s),c(`wizard_step_viewed`,i)),n===r&&!d&&(d=!0,c(`wizard_completed`,i))}return document.addEventListener(`tutorial:step-shown`,f),document.addEventListener(`wizard:state-push`,p),()=>{document.removeEventListener(`tutorial:step-shown`,f),document.removeEventListener(`wizard:state-push`,p),delete s.dataset[t]}}var s=null;function c(){s&&s(),s=o()}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,c):c(),document.addEventListener(`astro:page-load`,c);

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.