@wellesley/settings 1.0.799 → 1.0.800

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import{createAction as Fs,createSlice as Us,createSelector as tt}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import W_,{useState as T_,useEffect as N_,forwardRef as zs,createElement as Wu,useCallback as D_}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{Checkbox as M_,RadioGroup as B_,RadioGroupItem as F_,TooltipProvider as U_,Tooltip as z_,TooltipTrigger as q_,Label as $_,TooltipContent as V_,Select as G_,SelectTrigger as K_,SelectValue as Q_,SelectContent as J_,SelectGroup as Y_,SelectItem as Z_,Switch as H_,Input as X_,cn as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.804";import{useForm as tv,FormProvider as rv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{useSelector as Ut}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{toast as qe}from"https://cdn.jsdelivr.net/npm/@wellesley/system-toast@1.0.186";import{api as Rt,fetchInterceptor as nv,isSuccessResponse as iv,QueryTags as vs}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.842";import{getErrorMsg as Yn}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.691";import{authSlice as ni,useHasUserPermissions as uv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.898";import{userSlice as ys}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.857";import{AppsLink as ov}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.768";import{useMatch as ms}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const av=t=>{if("object"!=typeof t||null===t)return!1;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||null===Object.getPrototypeOf(t)},sv=t=>av(t)&&"type"in t&&"string"==typeof t.type,N=t=>{const e=e=>({type:t,payload:e});return e.toString=()=>`${t}`,e.type=t,e.match=e=>sv(e)&&e.type===t,e};N("remoteReady"),N("askLogin"),N("reselectUser"),N("requestLogout"),N("setConfirmLeavePage"),N("requestChangePath"),N("wsSubscribe"),N("wsUnSubscribe"),N("hostStoreConnect"),N("remoteLogin"),N("remoteLogout"),N("wsOnMessage"),N("setRouterPath"),N("setDeviceType"),N("setDeviceWidth"),N("setUserError"),N("setUserIsError"),N("setUserPending"),N("setUserSuccess"),N("setUserData"),N("updateAccountData"),N("updateUser"),N("addNotification"),N("markNotification"),N("setNotificationsError"),N("setNotificationsList"),N("setNotificationsPending"),N("setNotificationsTotalCount"),N("setNotificationsUnreadCount"),N("acceptAllFollowRequests"),N("resetNotificationsState"),N("undoNotification"),N("setInstanceInfo"),N("setInstanceInfoPending"),N("setInstanceInfoError");const Tu=N("setPlatformSettings"),ei=N("setProfileSettings");N("setGroupData"),N("setGroupLoading"),N("requestLocalStorageGet"),N("requestLocalStorageSet"),N("requestLocalStorageRemove"),N("requestLocalStorageClear"),N("requestLocalStorageKeys"),N("requestLocalStorageHas"),N("sendLocalStorageResponse"),N("sendLocalStorageChanged");const Vr="8.48.0",ht=globalThis;function Mu(t,e,n){const r=ht,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Vr]=i[Vr]||{};return o[t]||(o[t]=e())}const qs=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,cv="Sentry Logger ",ws=["debug","info","warn","error","log","assert","trace"],xs={};function lv(t){if(!("console"in ht))return t();const e=ht.console,n={},r=Object.keys(xs);r.forEach((t=>{const r=xs[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}function fv(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return qs?ws.forEach((n=>{e[n]=(...e)=>{t&&lv((()=>{ht.console[n](`${cv}[${n}]:`,...e)}))}})):ws.forEach((t=>{e[t]=()=>{}})),e}const ti=Mu("logger",fv);function Bu(){return Fu(ht),ht}function Fu(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||Vr,e[Vr]=e[Vr]||{}}const hv=Object.prototype.toString;function pv(t,e){return hv.call(t)===`[object ${e}]`}function dv(t){return pv(t,"Object")}function gv(t){return!(!t||!t.then||"function"!=typeof t.then)}function _v(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{qs&&ti.log(`Failed to add non-enumerable property "${e}" to object`,t)}}const $s=1e3;function Vs(){return Date.now()/$s}function vv(){const{performance:t}=ht;if(!t||!t.now)return Vs;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/$s}const yv=vv();function fr(){const t=ht,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function mv(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||yv(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:fr()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function bs(){return fr()}function Ss(){return fr().substring(16)}function Gs(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;const r={...t};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Gs(r[t],e[t],n-1));return r}(()=>{const{performance:t}=ht;if(!t||!t.now)return;const e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=i<e,u=t.timing&&t.timing.navigationStart,a="number"==typeof u?Math.abs(u+n-r):e;(o||a<e)&&(i<=a&&t.timeOrigin)})();const Nu="_sentrySpan";function As(t,e){e?_v(t,Nu,e):delete t[Nu]}function Is(t){return t[Nu]}const wv=100;class Uu{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:bs(),spanId:Ss()}}clone(){const t=new Uu;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,As(t,Is(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&mv(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,r]=e instanceof Gr?[e.getScopeData(),e.getRequestSession()]:dv(e)?[t,t.requestSession]:[],{tags:i,extra:o,user:u,contexts:a,level:s,fingerprint:l=[],propagationContext:c}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},u&&Object.keys(u).length&&(this._user=u),s&&(this._level=s),l.length&&(this._fingerprint=l),c&&(this._propagationContext=c),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,As(this,void 0),this._attachments=[],this.setPropagationContext({traceId:bs()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:wv;if(n<=0)return this;const r={timestamp:Vs(),...t},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Is(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Gs(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:Ss(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:fr();if(!this._client)return ti.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){const r=n&&n.event_id?n.event_id:fr();if(!this._client)return ti.warn("No client configured on scope - will not capture message!"),r;const i=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:fr();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(ti.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}}const Gr=Uu;function xv(){return Mu("defaultCurrentScope",(()=>new Gr))}function bv(){return Mu("defaultIsolationScope",(()=>new Gr))}class Sv{constructor(t,e){let n,r;n=t||new Gr,r=e||new Gr,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return gv(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function hr(){const t=Fu(Bu());return t.stack=t.stack||new Sv(xv(),bv())}function Av(t){return hr().withScope(t)}function Iv(t,e){const n=hr();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function Rs(t){return hr().withScope((()=>t(hr().getIsolationScope())))}function Rv(){return{withIsolationScope:Rs,withScope:Av,withSetScope:Iv,withSetIsolationScope:(t,e)=>Rs(e),getCurrentScope:()=>hr().getScope(),getIsolationScope:()=>hr().getIsolationScope()}}function Ks(t){const e=Fu(t);return e.acs?e.acs:Rv()}function Qs(){return Ks(Bu()).getCurrentScope()}function kv(){return Ks(Bu()).getIsolationScope()}function Ev(t,e){return Qs().captureException(t,void 0)}function jv(t,e){const n={captureContext:e};return Qs().captureMessage(t,void 0,n)}function Ov(t,e){kv().setExtra(t,e)}var Zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};const Cv=(...t)=>{let e="";for(const n of t){if(n instanceof Error){const t=n;return Ov("exceptionMessage",e),void Ev(t)}if("object"!=typeof n)e+=n;else try{e+=" "+JSON.stringify(n)}catch{e+=" "+n}}jv(e)},Lv=()=>"object"!=typeof window,Pv="wlsy",Js=()=>{try{return window.localStorage}catch(t){console.warn("Error getting window.localStorage storage",t)}},Wv=()=>{const t=new Set,e=Js();if(!e)return[];for(let n=0;n<(null==e?void 0:e.length);n+=1){const r=null==e?void 0:e.key(n);"string"==typeof r&&t.add(r)}return Array.from(t)},Tv=t=>{const e=`${Pv}`,n=t=>`${e}:${t}`,r=()=>Wv().filter((t=>t.startsWith(`${e}:`))),i=t=>t.slice(e.length+1),o=Js(),u=t=>{try{return null==o?void 0:o.getItem(n(t))}catch{return null}},a=(t,e)=>{try{null==o||o.setItem(n(t),String(e))}catch{return}};return{getItem:u,setItem:a,removeItem:t=>{try{null==o||o.removeItem(n(t))}catch{return}},clear:()=>{try{r().forEach((t=>null==o?void 0:o.removeItem(t)))}catch{return}},keys:()=>r().map(i),has:t=>null!==u(t),getJSON:t=>{const e=u(t);if(null==e)return null;try{return JSON.parse(e)}catch{return null}},setJSON:(t,e)=>{try{a(t,JSON.stringify(e))}catch{return}}}},ks=["debug","info","warn","error"],Nv=(t,e)=>{const n=ks.indexOf(t);return ks.indexOf(e)>=n},Hn=(t,e,n,...r)=>{Nv(e,t)&&console.log(`[${t}] ${n}`,...r)},Dv=()=>Tv().getItem("logger_lvl"),Mv=(t=(Lv()?"info":Dv()||"warn"))=>{let e=t;return{debug:(t,...n)=>Hn("debug",e,t,...n),info:(t,...n)=>Hn("info",e,t,...n),warn:(t,...n)=>Hn("warn",e,t,...n),error:(t,...n)=>(Cv(t,...n),Hn("error",e,t,...n)),setLevel:t=>{e=t},getLevel:()=>e}},Es=Mv();Fs("requestMicroFrontendFetch"),Fs("sendMicroFrontendFetchResponse");const Bv={data:null,isPending:!1,isSuccess:!1},Xy=Us({name:"profileSettings",initialState:Bv,reducers:{setPending:(t,e)=>{t.isPending=e.payload},setSuccess:(t,{payload:e})=>{t.isSuccess=e},setError:(t,{payload:e})=>{t.error=e}},extraReducers:t=>{t.addCase(ei,((t,{payload:e})=>{t.data=e}))},selectors:{selectProfileSettings:t=>t.data,selectPending:t=>t.isPending,selectError:t=>t.error,selectSuccess:t=>t.isSuccess}}),Fv=["wellesley.posts","wellesley.captcha","wellesley.registration","wellesley.access","wellesley.branding","wellesley.confirmationCode","wellesley.uploads.policy.doc","wellesley.uploads.policy.audio","wellesley.uploads.policy.image","wellesley.uploads.policy.video","wellesley.translation","wellesley.instance.admin","wellesley.instance.legal","wellesley.instance.domainBlocks","wellesley.instance.contacts"],Uv=["wellesley.admin.sms","wellesley.admin.openai","wellesley.admin.uploads","wellesley.admin.captcha","wellesley.admin.language","wellesley.admin.mediacache","wellesley.admin.translation","wellesley.admin.link_service"],zv={sms:"wellesley.admin.sms",openai:"wellesley.admin.openai",uploads:"wellesley.admin.uploads",captcha:"wellesley.admin.captcha",language:"wellesley.admin.language",mediacache:"wellesley.admin.mediacache",translation:"wellesley.admin.translation",link_service:"wellesley.admin.link_service"},ii={posts:"wellesley.posts",translation:"wellesley.translation",registration:"wellesley.registration",confirmationCode:"wellesley.confirmationCode",uploadsPolicyDoc:"wellesley.uploads.policy.doc",uploadsPolicyAudio:"wellesley.uploads.policy.audio",uploadsPolicyImage:"wellesley.uploads.policy.image",uploadsPolicyVideo:"wellesley.uploads.policy.video",captcha:"wellesley.captcha",access:"wellesley.access",branding:"wellesley.branding",instanceAdmin:"wellesley.instance.admin",legal:"wellesley.instance.legal",domainBlocks:"wellesley.instance.domainBlocks",contacts:"wellesley.instance.contacts"},lr=t=>(null==t?void 0:t.map((t=>t.value||t)))||[],qv={data:null,isPending:!1},{posts:Iu,uploadsPolicyDoc:js,uploadsPolicyAudio:Ru,uploadsPolicyImage:Xn,uploadsPolicyVideo:zr,registration:Ys,captcha:$v,instanceAdmin:Vv,branding:Gv,translation:Kv,domainBlocks:Qv,access:Jv}=ii,{captcha:Yv,language:Zv,translation:Hv,openai:Xv,link_service:ey}=zv,zt=t=>t.data,ty=tt(zt,(t=>{var e,n,r;return{max_characters:(null==(e=null==t?void 0:t[Iu])?void 0:e.max_characters)||0,max_media_attachments:(null==(n=null==t?void 0:t[Iu])?void 0:n.max_media_attachments)||0,max_pins:(null==(r=null==t?void 0:t[Iu])?void 0:r.max_pins)||0}})),zu=tt(zt,(t=>{var e,n,r;return{...null==t?void 0:t[Xn],maxSize:(null==(e=null==t?void 0:t[Xn])?void 0:e.maxSize)||0,maxMatrix:(null==(n=null==t?void 0:t[Xn])?void 0:n.maxMatrix)||0,maxResolution:(null==(r=null==t?void 0:t[Xn])?void 0:r.maxResolution)||0}})),ry=tt(zu,(t=>lr(t.extensions))),qu=tt(zt,(t=>{var e,n,r,i;return{...null==t?void 0:t[zr],maxSize:(null==(e=null==t?void 0:t[zr])?void 0:e.maxSize)||0,maxMatrix:(null==(n=null==t?void 0:t[zr])?void 0:n.maxMatrix)||0,maxDuration:(null==(r=null==t?void 0:t[zr])?void 0:r.maxDuration)||0,maxResolution:(null==(i=null==t?void 0:t[zr])?void 0:i.maxResolution)||0}})),ny=tt(qu,(t=>lr(t.extensions))),Zs=tt(zt,(t=>{var e,n;return{...null==t?void 0:t[Ru],maxSize:null==(e=null==t?void 0:t[Ru])?void 0:e.maxSize,keepOriginal:(null==(n=null==t?void 0:t[Ru])?void 0:n.keepOriginal)||0}})),Hs=tt(zt,(t=>{var e;return{...null==t?void 0:t[js],maxSize:(null==(e=null==t?void 0:t[js])?void 0:e.maxSize)||0}})),Xs=tt([zu,qu,Zs,Hs],((t,e,n,r)=>({IMAGE:lr(null==t?void 0:t.extensions),VIDEO:lr(null==e?void 0:e.extensions),AUDIO:lr(null==n?void 0:n.extensions),DOCUMENT:lr(null==r?void 0:r.extensions)}))),iy=tt(Xs,(t=>Object.keys(t).reduce(((e,n)=>[...e,...t[n]||[]]),[]))),uy=tt(zt,(t=>{var e;return null==(e=null==t?void 0:t[Ys])?void 0:e.invites})),ri=Us({name:"platformSettings",initialState:qv,reducers:{setError:(t,e)=>{t.error=e.payload},setPending:(t,e)=>{t.isPending=e.payload}},extraReducers:t=>{t.addCase(Tu,((t,{payload:e})=>{t.data={...t.data,...e}}))},selectors:{selectSettings:zt,selectPostConfig:ty,selectDocPolicy:Hs,selectImagePolicy:zu,selectVideoPolicy:qu,selectAudioPolicy:Zs,selectInvitesEnabled:uy,selectImageExtensions:ry,selectVideoExtensions:ny,selectSupportedExtensions:Xs,selectFullExtensionsList:iy,selectRegistration:t=>{var e;return null==(e=t.data)?void 0:e[Ys]},selectLanguageDetection:t=>{var e;return null==(e=t.data)?void 0:e[Zv]},selectLanguageTranslation:t=>{var e;return null==(e=t.data)?void 0:e[Hv]},selectOpenai:t=>{var e;return null==(e=t.data)?void 0:e[Xv]},selectCaptcha:t=>{var e;return null==(e=t.data)?void 0:e[$v]},selectAdminCaptcha:t=>{var e;return null==(e=t.data)?void 0:e[Yv]},selectPlatformTranslation:t=>{var e;return null==(e=t.data)?void 0:e[Kv]},selectAccess:t=>{var e;return null==(e=t.data)?void 0:e[Jv]},selectBranding:t=>{var e;return null==(e=t.data)?void 0:e[Gv]},selectLinkService:t=>{var e;return null==(e=t.data)?void 0:e[ey]},selectInstanceAdmin:t=>{var e;return null==(e=t.data)?void 0:e[Vv]},selectLegal:t=>{var e;return null==(e=t.data)?void 0:e[ii.legal]},selectDomainBlocks:t=>{var e;return null==(e=t.data)?void 0:e[Qv]},selectContacts:t=>{var e;return null==(e=t.data)?void 0:e[ii.contacts]}}});var Os,Cs,ku={exports:{}},qr={};
1
+ import{createAction as Fs,createSlice as Us,createSelector as tt}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import W_,{useState as T_,useEffect as N_,forwardRef as zs,createElement as Wu,useCallback as D_}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{Checkbox as M_,RadioGroup as B_,RadioGroupItem as F_,TooltipProvider as U_,Tooltip as z_,TooltipTrigger as q_,Label as $_,TooltipContent as V_,Select as G_,SelectTrigger as K_,SelectValue as Q_,SelectContent as J_,SelectGroup as Y_,SelectItem as Z_,Switch as H_,Input as X_,cn as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.805";import{useForm as tv,FormProvider as rv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{useSelector as Ut}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{toast as qe}from"https://cdn.jsdelivr.net/npm/@wellesley/system-toast@1.0.187";import{api as Rt,fetchInterceptor as nv,isSuccessResponse as iv,QueryTags as vs}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.843";import{getErrorMsg as Yn}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.692";import{authSlice as ni,useHasUserPermissions as uv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.899";import{userSlice as ys}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.858";import{AppsLink as ov}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.769";import{useMatch as ms}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const av=t=>{if("object"!=typeof t||null===t)return!1;let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||null===Object.getPrototypeOf(t)},sv=t=>av(t)&&"type"in t&&"string"==typeof t.type,N=t=>{const e=e=>({type:t,payload:e});return e.toString=()=>`${t}`,e.type=t,e.match=e=>sv(e)&&e.type===t,e};N("remoteReady"),N("askLogin"),N("reselectUser"),N("requestLogout"),N("setConfirmLeavePage"),N("requestChangePath"),N("wsSubscribe"),N("wsUnSubscribe"),N("hostStoreConnect"),N("remoteLogin"),N("remoteLogout"),N("wsOnMessage"),N("setRouterPath"),N("setDeviceType"),N("setDeviceWidth"),N("setUserError"),N("setUserIsError"),N("setUserPending"),N("setUserSuccess"),N("setUserData"),N("updateAccountData"),N("updateUser"),N("addNotification"),N("markNotification"),N("setNotificationsError"),N("setNotificationsList"),N("setNotificationsPending"),N("setNotificationsTotalCount"),N("setNotificationsUnreadCount"),N("acceptAllFollowRequests"),N("resetNotificationsState"),N("undoNotification"),N("setInstanceInfo"),N("setInstanceInfoPending"),N("setInstanceInfoError");const Tu=N("setPlatformSettings"),ei=N("setProfileSettings");N("setGroupData"),N("setGroupLoading"),N("requestLocalStorageGet"),N("requestLocalStorageSet"),N("requestLocalStorageRemove"),N("requestLocalStorageClear"),N("requestLocalStorageKeys"),N("requestLocalStorageHas"),N("sendLocalStorageResponse"),N("sendLocalStorageChanged");const Vr="8.48.0",ht=globalThis;function Mu(t,e,n){const r=ht,i=r.__SENTRY__=r.__SENTRY__||{},o=i[Vr]=i[Vr]||{};return o[t]||(o[t]=e())}const qs=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,cv="Sentry Logger ",ws=["debug","info","warn","error","log","assert","trace"],xs={};function lv(t){if(!("console"in ht))return t();const e=ht.console,n={},r=Object.keys(xs);r.forEach((t=>{const r=xs[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}function fv(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return qs?ws.forEach((n=>{e[n]=(...e)=>{t&&lv((()=>{ht.console[n](`${cv}[${n}]:`,...e)}))}})):ws.forEach((t=>{e[t]=()=>{}})),e}const ti=Mu("logger",fv);function Bu(){return Fu(ht),ht}function Fu(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||Vr,e[Vr]=e[Vr]||{}}const hv=Object.prototype.toString;function pv(t,e){return hv.call(t)===`[object ${e}]`}function dv(t){return pv(t,"Object")}function gv(t){return!(!t||!t.then||"function"!=typeof t.then)}function _v(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{qs&&ti.log(`Failed to add non-enumerable property "${e}" to object`,t)}}const $s=1e3;function Vs(){return Date.now()/$s}function vv(){const{performance:t}=ht;if(!t||!t.now)return Vs;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/$s}const yv=vv();function fr(){const t=ht,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function mv(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||yv(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:fr()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function bs(){return fr()}function Ss(){return fr().substring(16)}function Gs(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;const r={...t};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Gs(r[t],e[t],n-1));return r}(()=>{const{performance:t}=ht;if(!t||!t.now)return;const e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=i<e,u=t.timing&&t.timing.navigationStart,a="number"==typeof u?Math.abs(u+n-r):e;(o||a<e)&&(i<=a&&t.timeOrigin)})();const Nu="_sentrySpan";function As(t,e){e?_v(t,Nu,e):delete t[Nu]}function Is(t){return t[Nu]}const wv=100;class Uu{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:bs(),spanId:Ss()}}clone(){const t=new Uu;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,As(t,Is(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&mv(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,[n,r]=e instanceof Gr?[e.getScopeData(),e.getRequestSession()]:dv(e)?[t,t.requestSession]:[],{tags:i,extra:o,user:u,contexts:a,level:s,fingerprint:l=[],propagationContext:c}=n||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},u&&Object.keys(u).length&&(this._user=u),s&&(this._level=s),l.length&&(this._fingerprint=l),c&&(this._propagationContext=c),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,As(this,void 0),this._attachments=[],this.setPropagationContext({traceId:bs()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:wv;if(n<=0)return this;const r={timestamp:Vs(),...t},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Is(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Gs(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext={spanId:Ss(),...t},this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:fr();if(!this._client)return ti.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){const r=n&&n.event_id?n.event_id:fr();if(!this._client)return ti.warn("No client configured on scope - will not capture message!"),r;const i=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:fr();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(ti.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}}const Gr=Uu;function xv(){return Mu("defaultCurrentScope",(()=>new Gr))}function bv(){return Mu("defaultIsolationScope",(()=>new Gr))}class Sv{constructor(t,e){let n,r;n=t||new Gr,r=e||new Gr,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return gv(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function hr(){const t=Fu(Bu());return t.stack=t.stack||new Sv(xv(),bv())}function Av(t){return hr().withScope(t)}function Iv(t,e){const n=hr();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function Rs(t){return hr().withScope((()=>t(hr().getIsolationScope())))}function Rv(){return{withIsolationScope:Rs,withScope:Av,withSetScope:Iv,withSetIsolationScope:(t,e)=>Rs(e),getCurrentScope:()=>hr().getScope(),getIsolationScope:()=>hr().getIsolationScope()}}function Ks(t){const e=Fu(t);return e.acs?e.acs:Rv()}function Qs(){return Ks(Bu()).getCurrentScope()}function kv(){return Ks(Bu()).getIsolationScope()}function Ev(t,e){return Qs().captureException(t,void 0)}function jv(t,e){const n={captureContext:e};return Qs().captureMessage(t,void 0,n)}function Ov(t,e){kv().setExtra(t,e)}var Zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};const Cv=(...t)=>{let e="";for(const n of t){if(n instanceof Error){const t=n;return Ov("exceptionMessage",e),void Ev(t)}if("object"!=typeof n)e+=n;else try{e+=" "+JSON.stringify(n)}catch{e+=" "+n}}jv(e)},Lv=()=>"object"!=typeof window,Pv="wlsy",Js=()=>{try{return window.localStorage}catch(t){console.warn("Error getting window.localStorage storage",t)}},Wv=()=>{const t=new Set,e=Js();if(!e)return[];for(let n=0;n<(null==e?void 0:e.length);n+=1){const r=null==e?void 0:e.key(n);"string"==typeof r&&t.add(r)}return Array.from(t)},Tv=t=>{const e=`${Pv}`,n=t=>`${e}:${t}`,r=()=>Wv().filter((t=>t.startsWith(`${e}:`))),i=t=>t.slice(e.length+1),o=Js(),u=t=>{try{return null==o?void 0:o.getItem(n(t))}catch{return null}},a=(t,e)=>{try{null==o||o.setItem(n(t),String(e))}catch{return}};return{getItem:u,setItem:a,removeItem:t=>{try{null==o||o.removeItem(n(t))}catch{return}},clear:()=>{try{r().forEach((t=>null==o?void 0:o.removeItem(t)))}catch{return}},keys:()=>r().map(i),has:t=>null!==u(t),getJSON:t=>{const e=u(t);if(null==e)return null;try{return JSON.parse(e)}catch{return null}},setJSON:(t,e)=>{try{a(t,JSON.stringify(e))}catch{return}}}},ks=["debug","info","warn","error"],Nv=(t,e)=>{const n=ks.indexOf(t);return ks.indexOf(e)>=n},Hn=(t,e,n,...r)=>{Nv(e,t)&&console.log(`[${t}] ${n}`,...r)},Dv=()=>Tv().getItem("logger_lvl"),Mv=(t=(Lv()?"info":Dv()||"warn"))=>{let e=t;return{debug:(t,...n)=>Hn("debug",e,t,...n),info:(t,...n)=>Hn("info",e,t,...n),warn:(t,...n)=>Hn("warn",e,t,...n),error:(t,...n)=>(Cv(t,...n),Hn("error",e,t,...n)),setLevel:t=>{e=t},getLevel:()=>e}},Es=Mv();Fs("requestMicroFrontendFetch"),Fs("sendMicroFrontendFetchResponse");const Bv={data:null,isPending:!1,isSuccess:!1},Xy=Us({name:"profileSettings",initialState:Bv,reducers:{setPending:(t,e)=>{t.isPending=e.payload},setSuccess:(t,{payload:e})=>{t.isSuccess=e},setError:(t,{payload:e})=>{t.error=e}},extraReducers:t=>{t.addCase(ei,((t,{payload:e})=>{t.data=e}))},selectors:{selectProfileSettings:t=>t.data,selectPending:t=>t.isPending,selectError:t=>t.error,selectSuccess:t=>t.isSuccess}}),Fv=["wellesley.posts","wellesley.captcha","wellesley.registration","wellesley.access","wellesley.branding","wellesley.confirmationCode","wellesley.uploads.policy.doc","wellesley.uploads.policy.audio","wellesley.uploads.policy.image","wellesley.uploads.policy.video","wellesley.translation","wellesley.instance.admin","wellesley.instance.legal","wellesley.instance.domainBlocks","wellesley.instance.contacts"],Uv=["wellesley.admin.sms","wellesley.admin.openai","wellesley.admin.uploads","wellesley.admin.captcha","wellesley.admin.language","wellesley.admin.mediacache","wellesley.admin.translation","wellesley.admin.link_service"],zv={sms:"wellesley.admin.sms",openai:"wellesley.admin.openai",uploads:"wellesley.admin.uploads",captcha:"wellesley.admin.captcha",language:"wellesley.admin.language",mediacache:"wellesley.admin.mediacache",translation:"wellesley.admin.translation",link_service:"wellesley.admin.link_service"},ii={posts:"wellesley.posts",translation:"wellesley.translation",registration:"wellesley.registration",confirmationCode:"wellesley.confirmationCode",uploadsPolicyDoc:"wellesley.uploads.policy.doc",uploadsPolicyAudio:"wellesley.uploads.policy.audio",uploadsPolicyImage:"wellesley.uploads.policy.image",uploadsPolicyVideo:"wellesley.uploads.policy.video",captcha:"wellesley.captcha",access:"wellesley.access",branding:"wellesley.branding",instanceAdmin:"wellesley.instance.admin",legal:"wellesley.instance.legal",domainBlocks:"wellesley.instance.domainBlocks",contacts:"wellesley.instance.contacts"},lr=t=>(null==t?void 0:t.map((t=>t.value||t)))||[],qv={data:null,isPending:!1},{posts:Iu,uploadsPolicyDoc:js,uploadsPolicyAudio:Ru,uploadsPolicyImage:Xn,uploadsPolicyVideo:zr,registration:Ys,captcha:$v,instanceAdmin:Vv,branding:Gv,translation:Kv,domainBlocks:Qv,access:Jv}=ii,{captcha:Yv,language:Zv,translation:Hv,openai:Xv,link_service:ey}=zv,zt=t=>t.data,ty=tt(zt,(t=>{var e,n,r;return{max_characters:(null==(e=null==t?void 0:t[Iu])?void 0:e.max_characters)||0,max_media_attachments:(null==(n=null==t?void 0:t[Iu])?void 0:n.max_media_attachments)||0,max_pins:(null==(r=null==t?void 0:t[Iu])?void 0:r.max_pins)||0}})),zu=tt(zt,(t=>{var e,n,r;return{...null==t?void 0:t[Xn],maxSize:(null==(e=null==t?void 0:t[Xn])?void 0:e.maxSize)||0,maxMatrix:(null==(n=null==t?void 0:t[Xn])?void 0:n.maxMatrix)||0,maxResolution:(null==(r=null==t?void 0:t[Xn])?void 0:r.maxResolution)||0}})),ry=tt(zu,(t=>lr(t.extensions))),qu=tt(zt,(t=>{var e,n,r,i;return{...null==t?void 0:t[zr],maxSize:(null==(e=null==t?void 0:t[zr])?void 0:e.maxSize)||0,maxMatrix:(null==(n=null==t?void 0:t[zr])?void 0:n.maxMatrix)||0,maxDuration:(null==(r=null==t?void 0:t[zr])?void 0:r.maxDuration)||0,maxResolution:(null==(i=null==t?void 0:t[zr])?void 0:i.maxResolution)||0}})),ny=tt(qu,(t=>lr(t.extensions))),Zs=tt(zt,(t=>{var e,n;return{...null==t?void 0:t[Ru],maxSize:null==(e=null==t?void 0:t[Ru])?void 0:e.maxSize,keepOriginal:(null==(n=null==t?void 0:t[Ru])?void 0:n.keepOriginal)||0}})),Hs=tt(zt,(t=>{var e;return{...null==t?void 0:t[js],maxSize:(null==(e=null==t?void 0:t[js])?void 0:e.maxSize)||0}})),Xs=tt([zu,qu,Zs,Hs],((t,e,n,r)=>({IMAGE:lr(null==t?void 0:t.extensions),VIDEO:lr(null==e?void 0:e.extensions),AUDIO:lr(null==n?void 0:n.extensions),DOCUMENT:lr(null==r?void 0:r.extensions)}))),iy=tt(Xs,(t=>Object.keys(t).reduce(((e,n)=>[...e,...t[n]||[]]),[]))),uy=tt(zt,(t=>{var e;return null==(e=null==t?void 0:t[Ys])?void 0:e.invites})),ri=Us({name:"platformSettings",initialState:qv,reducers:{setError:(t,e)=>{t.error=e.payload},setPending:(t,e)=>{t.isPending=e.payload}},extraReducers:t=>{t.addCase(Tu,((t,{payload:e})=>{t.data={...t.data,...e}}))},selectors:{selectSettings:zt,selectPostConfig:ty,selectDocPolicy:Hs,selectImagePolicy:zu,selectVideoPolicy:qu,selectAudioPolicy:Zs,selectInvitesEnabled:uy,selectImageExtensions:ry,selectVideoExtensions:ny,selectSupportedExtensions:Xs,selectFullExtensionsList:iy,selectRegistration:t=>{var e;return null==(e=t.data)?void 0:e[Ys]},selectLanguageDetection:t=>{var e;return null==(e=t.data)?void 0:e[Zv]},selectLanguageTranslation:t=>{var e;return null==(e=t.data)?void 0:e[Hv]},selectOpenai:t=>{var e;return null==(e=t.data)?void 0:e[Xv]},selectCaptcha:t=>{var e;return null==(e=t.data)?void 0:e[$v]},selectAdminCaptcha:t=>{var e;return null==(e=t.data)?void 0:e[Yv]},selectPlatformTranslation:t=>{var e;return null==(e=t.data)?void 0:e[Kv]},selectAccess:t=>{var e;return null==(e=t.data)?void 0:e[Jv]},selectBranding:t=>{var e;return null==(e=t.data)?void 0:e[Gv]},selectLinkService:t=>{var e;return null==(e=t.data)?void 0:e[ey]},selectInstanceAdmin:t=>{var e;return null==(e=t.data)?void 0:e[Vv]},selectLegal:t=>{var e;return null==(e=t.data)?void 0:e[ii.legal]},selectDomainBlocks:t=>{var e;return null==(e=t.data)?void 0:e[Qv]},selectContacts:t=>{var e;return null==(e=t.data)?void 0:e[ii.contacts]}}});var Os,Cs,ku={exports:{}},qr={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.799",
2
+ "version": "1.0.800",
3
3
  "name": "@wellesley/settings",
4
4
  "license": "UNLICENSED",
5
5
  "main": "index.mjs",