PageSourceSearch

https://app.edgedelta.com/assets/MountedOnly-p2pbY_1D.js

js edgedelta.com collected 2026-10-02 04:56:49 UTC 1,938 bytes, 1 lines download raw bytes

1import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{U as t,W as n}from"./field-BeCdFtRB.js";import{a as r,o as i,r as a,s as o}from"./react-CCJXf6vt.js";import{a as s,i as c}from"./browser-B0DxoI9C.js";import{c as l,s as u}from"./esm-PsWukB09.js";import{c as d,i as f,r as p,s as m}from"./useHotkeys-DKNNH9UQ.js";function h(){let e=f().data?.supportUser,t=d(u.ALLOW_DEVTOOLS);return!!(g||e||t)}var g;function _(){return(_=e((()=>{s(),l(),m(),p(),g=!c.production})))()}var v,y,b;function x(){return(x=e((()=>{v=`_onMountHandler_12h3w_84`,y=`_onMount_12h3w_84`,b={onMountHandler:v,onMount:y}})))()}function S(e){let t=(0,w.c)(2),r;return t[0]===e?r=t[1]:(r=t=>{if(!t||!(t instanceof HTMLElement)){e?.({element:t,isMounted:!1});return}let n=n=>{n.target===t&&n.animationName===b.onMount&&e?.({element:t,isMounted:!0})},r=n=>{n.target===t&&n.animationName===b.onMount&&e?.({element:t,isMounted:!1})};return t.addEventListener(`animationstart`,n),t.addEventListener(`animationcancel`,r),t.classList.add(b.onMountHandler),()=>{t.removeEventListener(`animationstart`,n),t.removeEventListener(`animationcancel`,r),t.classList.remove(b.onMountHandler)}},t[0]=e,t[1]=r),n(r)}function C(e){let t=(0,w.c)(6),n=e!==void 0&&e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={isMounted:!1,element:null},t[0]=r):r=t[0];let[i,a]=(0,T.useState)(r),o;t[1]===n?o=t[2]:(o=e=>{n?(0,E.flushSync)(()=>a(e)):a(e)},t[1]=n,t[2]=o);let s=S(o),c;return t[3]!==i||t[4]!==s?(c=[i,s],t[3]=i,t[4]=s,t[5]=c):c=t[5],c}var w,T,E;function D(){return(D=e((()=>{w=a(),T=o(),E=r(),t(),x()})))()}function O(e){let t=(0,k.c)(4),{children:n}=e,[r,i]=C(!0),a=r.isMounted?n:null,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(o={display:`contents`},t[0]=o):o=t[0];let s;return t[1]!==a||t[2]!==i?(s=(0,A.jsx)(`div`,{style:o,ref:i,children:a}),t[1]=a,t[2]=i,t[3]=s):s=t[3],s}var k,A;function j(){return(j=e((()=>{k=a(),D(),A=i()})))()}export{h as i,j as n,_ as r,O as t};

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.