1import{shallowRef as u,onScopeDispose as n}from"vue";import{w as F}from"./plugin-feature-flags-D0H0KyZq.js";import{bn as p}from"./logger-BOxpBNGt.js";const i=a=>{const e=F(),t=u(e.getFeatureFlag(a)),l=u(e.getFeatureFlagPayload(a)),r=()=>{t.value=e.getFeatureFlag(a),l.value=e.getFeatureFlagPayload(a)};return e.on("ready",r),n(()=>{e.off("ready",r)}),{value:t,payload:l,suspense:s=>s?Promise.race([e.isReady.then(()=>!1),p(s).then(()=>!0)]).then(o=>({value:t.value,payload:l.value,isTimeout:o})):e.isReady.then(()=>({value:t.value,payload:l.value,isTimeout:!1}))}};export{i as u};
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.