1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`38d55a81ed21f4319b2d660d6a824da241f18b89`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f278df73-de6e-4a75-a147-29c44427514b`,e._sentryDebugIdIdentifier=`sentry-dbid-f278df73-de6e-4a75-a147-29c44427514b`)}catch{}})();import{a as e}from"./rolldown-runtime-BXtDWNRW.js";import{h as t,p as n}from"./forms-Bphj6RK5.js";import{t as r,zt as i}from"./currentUserContext-DBFOFNyb.js";import{g as a,h as o}from"./useNotifications-mJkFo30R.js";import{n as s}from"./user-CRl_SYgM.js";import{t as c}from"./OrganisationProvider-AP3O2ZR3.js";import{t as l}from"./useIsEmbedded-B6qFXD6w.js";import{d as u}from"./utils-BE1DLHTd.js";var d=e(t()),f=i(),p=(e,t)=>{let n=(0,f.c)(4),r=l(),i;return n[0]!==r||n[1]!==t||n[2]!==e?(i=!r||!document.requestStorageAccess?e:n=>document.requestStorageAccess().then(()=>e(n)).catch(()=>t(n)),n[0]=r,n[1]=t,n[2]=e,n[3]=i):i=n[3],i},m=n(),h=e=>{let t=(0,f.c)(23),{children:n}=e,i=o(),l;t[0]===i?l=t[1]:(l=()=>i(s()),t[0]=i,t[1]=l);let h=l,y=p(h,h),b;t[2]===y?b=t[3]:(b=()=>{y()},t[2]=y,t[3]=b);let x;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(x=[],t[4]=x):x=t[4],(0,d.useEffect)(b,x);let S=a(g),C=a(_),w;if(t[5]!==(C==null?void 0:C.permissions)){var T;w=C==null||(T=C.permissions)==null?void 0:T.some(v),t[5]=C==null?void 0:C.permissions,t[6]=w}else w=t[6];let E=!!w,D;t[7]!==C||t[8]!==E?(D=C?{...C,hasManagedEvents:E}:void 0,t[7]=C,t[8]=E,t[9]=D):D=t[9];let O;t[10]!==S||t[11]!==D?(O={loaded:S,currentUser:D},t[10]=S,t[11]=D,t[12]=O):O=t[12];let k;t[13]===(C==null?void 0:C.organisation)?k=t[14]:(k=(C==null?void 0:C.organisation)&&u(C==null?void 0:C.organisation),t[13]=C==null?void 0:C.organisation,t[14]=k);let A;t[15]===k?A=t[16]:(A={organisation:k},t[15]=k,t[16]=A);let j;t[17]!==n||t[18]!==A?(j=(0,m.jsx)(c,{value:A,children:n}),t[17]=n,t[18]=A,t[19]=j):j=t[19];let M;return t[20]!==O||t[21]!==j?(M=(0,m.jsx)(r,{value:O,children:j}),t[20]=O,t[21]=j,t[22]=M):M=t[22],M};function g(e){let{users:t}=e;return t.currentUserLoaded}function _(e){let{users:t}=e;return t.current}function v(e){return e.record_type===`Event`}export{p as n,h 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.