import{Jt as r}from"./vendor-all-0-fRSUBfCr.js";import{P_ as n,Yl as a,au as o,z_ as e}from"./shared-0-C4kdVF7Y.js";import{Pn as s}from"./shared-4-6CEyRAHb.js";function t(){const r=o(),n=a(),t=r||n,{data:d}=s(!t),i=d?.organizations.find(r=>!r.has_pending_request),_=(d?.organizations.length??0)>0;return{shouldRender:e("apps_join_discoverable_org_banner",!t&&_),firstUnrequestedOrg:i}}var d=r(["control","downgrade_to_pro","one_step_down","embedded"]);function i(r){return n("claudified_cancel_tier_downgrade","variant","control",d,r)}export{t as n,i as t};