PageSourceSearch

https://m.wingu.se/packs/identity_context-CLXpzjnM.js

js wingu.se collected 2026-09-29 15:10:29 UTC 942 bytes, 2 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{t as n}from"./jsx-runtime-BdxMnOeJ.js";import{b as r,f as i}from"./react-router-BkmJBoOP.js";var a=e(r()),o=e(t()),s=e(i()),c=n(),l=a.default.shape({signedIn:a.default.bool.isRequired,accountId:a.default.string,disabledAccountId:a.default.string}).isRequired,u=e=>({signedIn:!!e.meta.me,accountId:e.meta.me,disabledAccountId:e.meta.disabled_account_id,permissions:e.role?.permissions??0}),d=(0,o.createContext)({signedIn:!1,permissions:0,accountId:void 0,disabledAccountId:void 0}),f=()=>(0,o.useContext)(d);function p(e){let t=`withIdentity(${e.displayName??e.name})`,n=t=>{let{wrappedComponentRef:n,...r}=t;return(0,c.jsx)(d.Consumer,{children:t=>(0,c.jsx)(e,{...r,identity:t,ref:n})})};return n.displayName=t,n.WrappedComponent=e,(0,s.default)(n,e)}export{p as a,f as i,u as n,l as r,d as t};
2//# sourceMappingURL=identity_context-CLXpzjnM.js.map

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.