yload)) instead of just ${t}(payload).
			`)},500)]=e)}function removePendingThunkOrAction(e){if(c){let t=(0,n.A)(l,t=>t===e);t&&(delete l[t],clearTimeout(t))}}},0x183fe53e1:(e,t,a)=>{"use strict";a.d(t,{Um:()=>getUnstableSelectorInfo,qi:()=>d,V9:()=>c,uc:()=>logUnstableSelector});var n=a(0x1626b8eae),r=a(0xd6ba6894);let i="<unknown>",o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|rsc|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/;function parseChrome(e){let t=o.exec(e);if(!t)return null;let a=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),r=s.exec(t[2]);return n&&null!=r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3]),{file:a?null:t[2],methodName:t[1]||i,arguments:a?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}function parseStackTraceString(e){return e.split(`
`).reduce((e,t)=>{let a=parseChrome(t);return a&&e.push(a),e},[])}function parseStackTrace(e){switch(typeof e){case"string":return parseStackTraceString(e);case"object":return parseStackTraceString(e.stack??"");default:return[]}}a(0xbad225b5);var l=a(0x12c020c3);let c=Symbol("kWrappedSelectorReference"),d=(0,n.A)(()=>!!(0,l.qN)(r.J.location.href).unstable_selector_logging);function unwrapSelector(e){return e[c]||e.resultFunc||e}function getJsFilePath(e){let t=e,a=t?.indexOf("/js/");return a&&-1!==a&&(t=t.slice(a+1)),t}function getComponentInfoFromError(e){let t="",a="";a=(void 0)??"";try{let n=parseStackTrace(e),r=n.findIndex(e=>"useSelectorBindable"===e.methodName);r=r>-1?r+1:1;let o=n[r]?.methodName;("useShallowEqualSelector"===o||"useMergedProps"===o)&&(r+=1);let s=n[r];a=a||s?.methodName||i,t=getJsFilePath(s?.file||"")}catch{}return{component:a,file:t}}function getUnstableSelectorInfo(e,t,a){let{component:n,file:r}=getComponentInfoFromError(a);return{selector:getSelectorNameForLogging(unwrapSelector(e)),component:n,file:r,value:t}}function getSelectorNameForLogging(e){let t,a=e?.meta?.key?.substring(14),n=e.name;"dependenciesChecker"===n&&"(ret)=>ret"===(t=e?.resultFunc.toString())&&(t=e?.dependencies[0].toString());let r=(t||a||n||e.toString()).replace(/__WEBPACK_IMPORTED_MODULE_\d+?__/g,"_").replace(/_slack_redux_stores.*?selectors/,"").replace(/_selectors/g,"").replace(/_slack_utility_/g,"_").replace(/_slack_rules_/g,"_").replace(/\[\\"default\\"\]/g,"").replace(/\["default"\]/g,"").replace(/\\n/g," ").replace(/\n/g," ").replace(/\s{4,}/g," ").replace(/\["/g,"").replace(/"]\)/g,"").replace(/Object\(_/g,"");return r.length>300&&(r=`${r.slice(0,300)}...`),r}function findDeepDiff(e,t,a="",n=10){let r=[];if(e===t)return r;if(typeof e!=typeof t)return[{path:a||"root",type:"type",prevValue:typeof e,newValue:typeof t}];if(null===e||null===t)return[{path:a||"root",type:"value",prevValue:e,newValue:t}];if("object"!=typeof e)return"number"==typeof e&&"number"==typeof t&&Number.isNaN(e)&&Number.isNaN(t)?[{path:a||"root",type:"nan"}]:[{path:a||"root",type:"value",prevValue:e,newValue:t}];if(n<=0)return[{path:a,type:"reference"}];if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return[{path:a||"root",type:"length",prevValue:e.length,newValue:t.length}];if(0===e.length&&0===t.length)return[{path:a||"root",type:"empty",prevValue:"[]",newValue:"[]"}];let i=!1;for(let o=0;o<e.length;o++){let s=a?`${a}[${o}]`:`[${o}]`,l=findDeepDiff(e[o],t[o],s,n-1);l.length>0&&(r.push(...l),i=!0)}return i?r:[{path:a||"root",type:"reference"}]}if("object"==typeof e&&"object"==typeof t){let i=Object.keys(e),o=Object.keys(t);if(0===i.length&&0===o.length)return[{path:a||"root",type:"empty",prevValue:"{}",newValue:"{}"}];let s=new Set([...i,...o]),l=!1;for(let i of s){if("_owner"===i||"_store"===i||"_source"===i)continue;let o=a?`${a}.${i}`:i;if(!(i in e)){r.push({path:o,type:"value",prevValue:void 0,newValue:t[i]}),l=!0;continue}if(!(i in t)){r.push({path:o,type:"value",prevValue:e[i],newValue:void 0}),l=!0;continue}let s=findDeepDiff(e[i],t[i],o,n-1);s.length>0&&(r.push(...s),l=!0)}return l?r:[{path:a||"root",type:"reference"}]}return[{path:a||"root",type:"reference"}]}function logUnstableSelector(e,t,a){let n,r=unwrapSelector(e),i=getSelectorNameForLogging(r),o;t&&"object"==typeof t&&a&&"object"==typeof a&&(n=Object.keys(t).filter(e=>t[e]!==a[e]));let s=findDeepDiff(a,t),l=`${o?`${o} - `:""}${i}`;if(console.groupCollapsed(`%c UNSTABLE SELECTOR %c ${l}`,"background: #ff6b35; color: white; font-weight: bold; padding: 2px 6px; border-radius: 3px;","color: #2196f3; font-weight: bold;"),console.log(`%cSelector - click to go to definition
`,"font-weight: bold; color: #666;",r),console.log(`%cPrevious value
`,"font-weight: bold; color: #4caf50;",a),console.log(`%cNew value
`,"font-weight: bold; color: #f44336;",t),n?.length&&console.log("%cProps with new references: ","font-weight: bold;",n.join(", ")),s.length>0){let e={reference:e=>`Inline object at "${e.path}" (fix: hoist to constant, use equality selector, or use empty constant)`,value:e=>{let t,a;try{t=JSON.stringify(e.prevValue)}catch{t=String(e.prevValue)}try{a=JSON.stringify(e.newValue)}catch{a=String(e.newValue)}return`Value changed at "${e.path}": ${t} \u{2192} ${a}`},type:e=>`Type changed at "${e.path}": ${e.prevValue} \u{2192} ${e.newValue}`,length:e=>`Array length changed at "${e.path}": ${e.prevValue} \u{2192} ${e.newValue}`,nan:e=>`NaN value at "${e.path}" (NaN !== NaN causes instability - use a default value instead)`,empty:e=>`Empty ${e.prevValue} at "${e.path}" (use undefined instead of empty objects/arrays)`};1===s.length?console.log("%cRoot cause: ","font-weight: bold; color: #e91e63;",e[s[0].type](s[0])):(console.log(`%cRoot causes (${s.length} issues): `,"font-weight: bold; color: #e91e63;"),s.forEach((t,a)=>{console.log(`  ${a+1}. ${e[t.type](t)}`)}))}console.log("%cTip: This selector is causing unnecessary re-renders. Consider using a shallow equality check or empty constants. Note that deeper equality checks come with added performance cost.","color: #9e9e9e; font-style: italic;"),console.groupEnd()}},0x226892387:(e,t,a)=>{"use strict";a.d(t,{F3:()=>R,Z2:()=>C,d4:()=>w,rY:()=>x,wz:()=>v});var n=a(0xbad225b5),r=a(0x16cf1da63),i=a(0x20fb1100a),o=a.n(i),s=a(0x22ba45688),l=a(0xc6a2c86f),c=a(0xc6b1909e),d=a(0x6b832b49),u=a(0x110a9e2e4),m=a(0x1530e6d13),f=a(0x22480f425),_=a(0x1130a8ca8),p=a(0x807220a2),h=a(0x1a256ff50),g=a(0x86082d8c),A=a(0x183fe53e1),b=a(0x4540b986);let y=Symbol("kStateSymbolIdentifierKey"),S=!(0,f.A)(),E=(0,p.$x)(),k=Symbol("reduxKeyTracker"),T=Symbol("kKeyTrackerProxy"),I=Symbol("reduxKeyTrackerWrappedState"),disableByIdKeyTrackingForKey=(e,t)=>{void 0!==e&&(e[t]="*")},maybeTrackIdForKey=(e,t,a,n)=>{let r=t?.[a];if(void 0!==t&&void 0!==r&&"*"!==r){if(null!==r&&r[0]!==n){t[a]="*";return}t[a]=[n,e[n]]}},getTrackedKeys=e=>e?e[k].get():Object.create(null);function updateNotifySubscribersToNewKeys(e,t,a,n){let r=[],i=[],o=n.current;if(o){for(let e in a)null===a[e]&&(a[e]="*"),e in o||i.push(e);for(let e in o)e in a||r.push(e)}else i=Object.keys(a);for(let a=0;a<i.length;a++){let n=i[a];e[n]=e[n]||new Set,e[n].add(t)}for(let a=0;a<r.length;a++){let n=r[a],i=e[n];i.delete(t),0===i.size&&delete e[n]}n.current=a,t.__trackedKeys=a}function unsubscribeAllKeysFromNotify(e,t,a,n,r){let i=r.current;if(i&&n)for(let a in i){let r=t[a];r&&(r.delete(n),0===r.size&&(delete t[a],0===Object.keys(t).length&&(e.unsubKeyTracker?.(),delete e.unsubKeyTracker)))}r.current=void 0,a.current=void 0}function addSingletonSubscriber(e,t,a){let n=(0,g.M)(),r=a.getState();e.unsubKeyTracker=e(()=>{let e=["*"],i=a.getState();for(let t of Object.keys(r))(r[t]!==i[t]||(0,b.k)(r,t)!==(0,b.k)(i,t))&&e.push(t);(0,s.unstable_batchedUpdates)(()=>{let a=Symbol("call tracker"),r=n.getShouldGetMetrics();for(let n of e){let e=t[n];if(!e)continue;let o=i[n];for(let t of e){if(t.__track===a)continue;let e=t.__trackedKeys?.[n];"*"!==e&&e&&e[1]===o[e[0]]||(t(),t.__track=a)}r&&d.s.trackNotifierCalls({key:n,value:e.size})}}),r=i}),(0,f.A)()&&u.M.add(e)}function useSelectorInner(e,t){let a=(0,n.useContext)(r.ty),i=a?.store,o=(0,n.useRef)(),s=(0,c.T)(),l=(0,n.useRef)(),u=(0,n.useRef)(),f=(0,n.useRef)(),_=(0,n.useRef)(),p=i.subscribe;p.notifiers=p.notifiers||Object.create(null);let h=p.notifiers,A=(0,g.M)();(0,n.useEffect)(()=>()=>{l.current=void 0,o.current=void 0,_.current=void 0},[]);let b=(0,n.useMemo)(()=>{l.current=void 0,E||(o.current=void 0),s.current=void 0;let a=!!("subscribeImmediate"in i&&i.subscribeImmediate);return()=>{A.getShouldGetMetrics()&&d.s.incrementTotalUseSelectorCounts();let n=s.current;if(void 0!==n)return n;let r=i.getState(),c=(e=>{if(!e)return e;let t=e[I];return t||(t=(e=>{let t={};Object.defineProperty(t,T,{enumerable:!1,configurable:!1,writable:!1,value:Object.create(null)});let a=Object.create(null);for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!1,get(){let r=e[n];if(void 0===a)return r;if(!(null!==r&&(0,m.Yj)(r)))return a[n]="*",r;if(void 0===a[n]&&(a[n]=null),void 0!==t[T][n])return t[T][n];let i=new Proxy(r,{get:(e,t,r)=>t===m.uH?(disableByIdKeyTrackingForKey(a,n),e):(maybeTrackIdForKey(e,a,n,t),Reflect.get(e,t,r)),getOwnPropertyDescriptor:(e,t)=>(maybeTrackIdForKey(e,a,n,t),Reflect.getOwnPropertyDescriptor(e,t)),has:(e,t)=>t===m.uH||(maybeTrackIdForKey(e,a,n,t),Reflect.has(e,t)),getPrototypeOf:e=>(disableByIdKeyTrackingForKey(a,n),Reflect.getPrototypeOf(e)),ownKeys:e=>(disableByIdKeyTrackingForKey(a,n),Reflect.ownKeys(e))});return t[T][n]=i,i}});return Object.defineProperty(t,k,{enumerable:!1,configurable:!1,value:{get(){let e=a;return a=Object.create(null),e}}}),t})(e),Object.defineProperty(e,I,{enumerable:!1,configurable:!1,value:t})),t})(r),p=r[y];p||Object.defineProperty(r,y,{configurable:!1,enumerable:!1,value:p=Symbol("kStateSymbolIdentifier")});try{let a;if(p===l.current)return o.current;if(l.current=p,A.getShouldGetMetrics()){let t=performance.now();a=e(c);let n=performance.now();d.s.isTestMode?d.s.trackUnmemoizedUseSelectorCountsForDebugger({time:n-t}):d.s.trackUnmemoizedUseSelectorCountsForTracing(n-t)}else a=e(c);if(u.current?updateNotifySubscribersToNewKeys(h,u.current,getTrackedKeys(c)||Object.assign(Object.create(null),{"*":"*"}),f):_.current=getTrackedKeys(c),(a=(0,m.ol)(a))===o.current||t&&t(o.current,a))return o.current;return o.current=a,a}finally{S&&a&&(s.current=o.current)}}},[i,e,t,h,A,s]);p.unsubKeyTracker||addSingletonSubscriber(p,h,i);let w=(0,n.useRef)(p);return w.current&&p!==w.current&&(unsubscribeAllKeysFromNotify(w.current,w.current.notifiers,u,u.current,f),w.current=p),(0,n.useSyncExternalStore)((0,n.useCallback)(e=>(u.current=e,updateNotifySubscribersToNewKeys(h,e,_.current||Object.assign(Object.create(null),{"*":"*"}),f),_.current=void 0,()=>{unsubscribeAllKeysFromNotify(p,h,u,e,f),u.current===e&&(u.current=void 0)}),[p,h]),b,b)}function useSelectorBindable(e,t){let a=useSelectorInner(t,e),n=(0,g.M)().getShouldGetMetrics()&&(!a||!(0,_.J3)(a)),r=(0,A.qi)(),i=n||r,s=(0,l.A)(i?a:null);if(i&&(e&&s?!e(a,s):a!==s)){let e=!1;try{e=o()(a,s)}catch{}if(e){if(d.s.isTestMode){let e=Error();d.s.trackUnstableUseSelector((0,A.Um)(t,a,e))}else n&&d.s.countUnstableUseSelector();r&&(0,A.uc)(t,a,s)}}return a}let w=useSelectorBindable.bind(null,null),C=useSelectorBindable.bind(null,r.bN),v=useSelectorBindable.bind(null,h.kt),x=useSelectorBindable.bind(null,h.rM),R=useSelectorBindable.bind(null,o())},0x107594e0c:(e,t,a)=>{"use strict";a.d(t,{A:()=>createIdObjectMapReducer});var n=a(0x250e0b598),r=a(0x1530e6d13),i=a(0x1130a8ca8),o=a(0x14dd06fc9),s=a(0x167deb6e),l=a(0xec87564b),c=a(0x926d5797),d=a(0xcf658893),u=a(0xba77ecb9),m=a(0x1cf0d97e1),f=a(0x227d83f0f);let _=m.Ay,p={[r.zf]:{enumerable:!1,writable:!1,configurable:!1,value:!0}};function isSerializableObject(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function isSerializableIdObjectArray(e){return e.every(({object:e})=>isSerializableObject(e))}function createIdObjectMapReducer(e,t){let{idKey:a="id",objectName:m=e?.storeKey}=t||{};function defaultBeforeWriteTransform(e){return(0,i.xH)(e)}function defaultAfterReadTransform(e){return(0,i.HB)(e,p)}function defaultTransform(e){return{id:e?.[a],object:e}}function defaultUpdate(e){return e}let{transform:h=defaultTransform,update:g=defaultUpdate}=t||{},{storeKey:A}=e;if(!A)throw Error("an id object map reducer requires a storeKey to be specified");let b=(0,d.Ay)(`Bulk add ${m} [proto]`);b.meta={name:"addObjects",key:"createActionAddObjects",description:`Bulk add ${m} [proto]`};let y=(0,d.Ay)(`Bulk remove ${m} [proto]`);y.meta={name:"removeObjects",key:"createActionRemoveObjects",description:`Bulk remove ${m} [proto]`};let S=(0,d.Ay)(`Remove all ${m} [proto]`);S.meta={name:"clearObjects",key:"createActionClearObjects",description:`Remove all ${m} [proto]`};let E=(0,s.hM)(e),k=(0,c.VX)(e),addObjectsReducer=(e,{objects:t=[]})=>{if(!t?.length)return e;let a=!1,r=(0,i.xH)(e),o=t.map(e=>h(e));if(o.forEach(({id:e,object:t})=>{if(e){let n=r[e],i=g(t,n);i===n||(void 0!==i?r[e]=i:delete r[e],a=!0)}}),!a)return e;if(E&&isSerializableIdObjectArray(o)&&(0,s.Cw)({shardId:r[n.q],objects:o,storeKey:A}),k&&isSerializableIdObjectArray(o)){let e=r[n.q];if(e){let{teamId:t,userId:a}=(0,c.tp)(e);(0,l.h6)({tableName:{storeKey:A,teamId:t,userId:a},rows:o})}}return(0,i.HB)(r,p)},T=function getRemoveObjectsReducer(){return(e,{ids:t=[],isCacheEviction:a=!1})=>{if(!t?.length)return e;let r=(0,i.xH)(e);if(!t.some(e=>e in r))return e;if(t.forEach(e=>{r[e]&&delete r[e]}),E&&!a&&(0,s.uD)({shardId:r[n.q],storeKey:A,idsToDelete:t}),k&&!a){let e=r[n.q];if(e){let{teamId:a,userId:n}=(0,c.tp)(e);(0,l.w)({tableName:{storeKey:A,teamId:a,userId:n},ids:t})}}return(0,i.HB)(r,p)}}(),I=(0,u.Ay)({},{},{beforeWriteTransform:defaultBeforeWriteTransform,afterReadTransform:defaultAfterReadTransform,...e}).on(b,addObjectsReducer).on(y,T).on(S,()=>({}));return E&&(o.qV.createObjectStore({storeName:A}),I.on(f.H,(e,t)=>(0,s.QA)({reducerState:e,shardId:t}))),k&&I.on(f.H,(e,t)=>(0,s.QA)({reducerState:e,shardId:t})),{actions:{addObjects:b,removeObjects:y,clearObjects:S},reducer:I,selectors:{UNSAFE_getAllObjects:_(e=>(0,r.ol)(e?.[A])),getObjectById:_((e,t)=>e?.[A]?.[t])},migrationOnlyHandlers:{addObjectsReducer,removeObjectsReducer:T}}}},0xd9761647:(e,t,a)=>{"use strict";let n,r;function getMaxActiveRequestsForApiQ(e){return e?10:1}a.d(t,{Ay:()=>M,PS:()=>getApiQInstanceForTeam,Tl:()=>getOrCreateInstance});var i=a(0x6c3e75c1),o=a(0xd35a0446),s=a(0xaed7acfc),l=a(0x1dc993d36),c=a(0x1ec68d6a3),d=a(0x11d0b0bd1);function checkSameOriginRequest(){let e=(0,c.getGenericLogger)({label:"SAME-ORIGIN-CHECK"});return e.info("Testing a request on the same origin"),fetch("/api/api.test?_x_check_same_origin_request=1").then(({status:t}={})=>{e.info("Success! It is likely that CORS or another IT policy is blocking some Slack domains."),t===l.A.HTTP_451_UNAVAILABLE_FOR_LEGAL_REASONS&&(0,d.As)({reason:"451-service-unavailable-for-legal-reasons",reasonKey:"451_service_unavailable_for_legal_reasons"})}).catch(t=>{e.info("Request failed with error:",t)})}var u=a(0x4f6e90b4),m=a(0x22a29f141),f=a(0x13c34c271);function exportApiDebugger({teamId:e,q:t,dispatch:a}){(0,u.GW)(e,"api",{q:t,call:e=>a((0,m.apiCall)(e)),callExpedited:e=>a((0,m.apiCallExpedited)(e))})}function exportFlannelDebugger({teamId:e,q:t}){(0,u.GW)(e,"flannel",{q:t,query:t=>(0,f.P)(e,t),call:t=>(0,f.P)(e,t)})}var _=a(0x209e067d1),p=a(0x9b971e7e),h=a(0x9982f7ed),g=a(0xe874a88a),A=a(0x318bb66b),b=a(0x11439744b),y=a(0x11c82607b),S=a(0xa4d0c112),E=a(0x99e4d4e6);let k=(0,y.Ay)("Returns a promise the resolves when the service is confirmed to be up and running",e=>(0,S.A)().then(()=>{e((0,E.pm)(!0)),e((0,E.p9)(!0))}).catch(t=>(e((0,E.pm)(!1)),g.S.reject(t))));k.meta={name:"waitForApiConnectionAndUpsertServiceStatus",key:"createThunkWaitForApiConnectionAndUpsertServiceStatus",description:"Returns a promise the resolves when the service is confirmed to be up and running"};let T=(0,A.A)(1),I=(0,y.Ay)("Resolves only when we have established and upserted client online status",e=>e(k()).catch(()=>new g.S(t=>{n=window.setTimeout(()=>{t(e(I()))},5e3)})));I.meta={name:"retryServiceConnection",key:"createThunkRetryServiceConnection",description:"Resolves only when we have established and upserted client online status"};let w=(0,y.Ay)("Resolves only when we have established and upserted client online status",e=>(r||(T&&(0,b.rh)().mark("api_connectivity_lost"),r=e(I()).tap(()=>{T&&(0,b.rh)().measureAndClear("api_connectivity_lost","api_connectivity_lost")}).finally(()=>{n&&clearTimeout(n),r=null,n=null})),r));w.meta={name:"awaitServiceReconnection",key:"createThunkAwaitServiceReconnection",description:"Resolves only when we have established and upserted client online status"};var C=a(0x691ce3ab),v=a(0xc1628803),x=a(0x1266f1359),R=a(0x17a41206b),O=a(0x1bb02f2c4);let N="API-Q",D={};function getOrCreateInstance(e,{dispatch:t,getState:a}){if(!D[e]){let n=!(0,_.A)()||(0,O.getFocusedWorkspace)((0,C.Ry)())===e,r=new o.Ay({teamId:e,isOnline:()=>(0,R.sc)(a()),isClientOnline:()=>(0,R.Pb)(a()),maxActiveRequests:getMaxActiveRequestsForApiQ(n),reconnectService:()=>{let t,a;return t=(0,c.default)({teamId:e}),(a=(0,_.A)()?C.dispatchForClientStore:x.Qw.bind(void 0,e))((0,E.pm)(!1)),t.info(N,"Pausing queue because service is offline"),a(w()).finally(()=>{t.info(N,"Unpausing queue, back online")})},reconnectClient:()=>{let t,a;return t=(0,c.default)({teamId:e}),a=(0,_.A)()?C.dispatchForClientStore:x.Qw.bind(void 0,e),(0,i.kv)()&&checkSameOriginRequest(),a((0,E.p9)(!1)),t.info(N,"Pausing queue because client is offline"),a((0,h.A)()).finally(()=>{t.info(N,"Unpausing queue, back online")})}});D[e]=r,exportApiDebugger({teamId:e,q:r,dispatch:t}),exportFlannelDebugger({teamId:e,q:r})}return D[e]}let L=(0,v.Ay)("Dispatch requests to the API Queue",(e,t,a)=>{let n=e.getState(),r=(0,p.ZT)(n)||(0,p.jV)(n);if(!r)return t(a);switch(a.type){case s.ds.getType():(0,c.default)({state:n}).info(N,"Halting the API queue"),getOrCreateInstance(r,e).stop();return;case s.S8.getType():(0,c.default)({state:n}).info(N,"Restarting the API queue"),getOrCreateInstance(r,e).restart();return;case s.r7.getType():return getOrCreateInstance(r,e).awaitEmptyQ();case s.f.getType():return D[r]&&Object.keys(D).forEach(e=>{let t=D[e];r===e?t.assignApiCallThreshold(10):t.assignApiCallThreshold(1)}),t(a);default:return t(a)}});function getApiQInstanceForTeam(e){if(e)return D[e]}L.meta={name:"apiMiddleware",key:"createMiddlewareApiMiddleware",description:"Dispatch requests to the API Queue"};let M=L},0x1266f1359:(e,t,a)=>{"use strict";a.d(t,{$D:()=>getStateByTeamId,Qw:()=>dispatchForTeamId,Sf:()=>setStoreInstanceByTeamId,jm:()=>getStoreInstanceMap,jp:()=>getStoreOrSharedStoreInstanceByTeamOrEnterpriseId,oK:()=>getStoreInstanceByTeamId});var n=a(0x4f6e90b4),r=a(0x1daf4b9c),i=a(0x2264e6ea3),o=a(0x1ec68d6a3);let s={};function getStoreInstanceByTeamId(e){return s[e]}function getStoreOrSharedStoreInstanceByTeamOrEnterpriseId(e){let t=getStoreInstanceByTeamId(e);if(t)return t}function getStoreInstanceMap(){return s}function setStoreInstanceByTeamId(e,t){if(!e)throw Error("setStoreInstanceByTeamId must be called with a teamOrEnterpriseId parameter");s[e]=t}function getStateByTeamId(e){let t=getStoreInstanceByTeamId(e);return t&&t.getState?t.getState():((0,o.default)({teamOrEnterpriseId:e}).error(`Could not get redux state. The redux store might not be initialized yet, or you requested state for an invalid teamOrEnterpriseId.
You requested the state for teamOrEnterpriseId ${e}, and the valid teamOrEnterpriseIds are: ${Object.keys(s).join(" ")}`),null)}function dispatchForTeamId(e,t){if(!e)throw Error("dispatchForTeamId must be called with a teamOrEnterpriseId parameter");let a=(0,o.default)({teamOrEnterpriseId:e});if(!t)return a.warn("Redux dispatch called without a payload. Ignoring."),null;let n=getStoreInstanceByTeamId(e);if(n&&n.dispatch)return n.dispatch(t);if((0,r.A)()&&!(0,i.Am)(e))throw Error(`dispatchForTeamId called with an invalid teamOrEnterpriseId: ${e}`);return a.error(`Could not dispatch a redux action. The redux store might not be initialized yet, or you tried to dispatch for an invalid teamOrEnterpriseId.
You requested tried to dispatch for teamOrEnterpriseId ${e}, and the valid teamOrEnterpriseIds are: ${Object.keys(s).join(" ")}`),null}(0,n.ul)("storeInstance",{getStateByTeamId,getStoreInstanceByTeamId,dispatchForTeamId})},0xf26c27e7:(e,t,a)=>{"use strict";a.d(t,{w:()=>n});let n=(0,a(0xcf658893).Ay)("Toggle if user is using a keyboard to navigate");n.meta={name:"setHasKeyboardFocus",key:"createActionSetHasKeyboardFocus",description:"Toggle if user is using a keyboard to navigate"}},0x13624d616:(e,t,a)=>{"use strict";a.d(t,{i:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.accessibilityPersistent?.hasKeyboardFocus);n.meta={name:"hasKeyboardFocus",key:"createSelectorHasKeyboardFocus",description:e=>e?.accessibilityPersistent?.hasKeyboardFocus}},0x7adbadbb:(e,t,a)=>{"use strict";a.d(t,{Ap:()=>_,C_:()=>c,Jq:()=>i,KQ:()=>s,Mq:()=>u,N:()=>o,Sr:()=>m,Tv:()=>l,V_:()=>p,XE:()=>d,ds:()=>h,mw:()=>f,rl:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Forward a message to the announcer API to be announced by screen reader");r.meta={name:"forwardMessageToAnnouncerAPI",key:"createActionForwardMessageToAnnouncerAPI",description:"Forward a message to the announcer API to be announced by screen reader"};let i=(0,n.Ay)("Toggle if a screen reader is enabled");i.meta={name:"setScreenReaderEnabled",key:"createActionSetScreenReaderEnabled",description:"Toggle if a screen reader is enabled"};let o=(0,n.Ay)("Set the OS system high-contrast mode field in redux (do not use this)");o.meta={name:"setShouldUseHighContrastColors",key:"createActionSetShouldUseHighContrastColors",description:"Set the OS system high-contrast mode field in redux (do not use this)"};let s=(0,n.Ay)("Toggle if the ARIA application role is applied to list views");s.meta={name:"setUseARIAApplicationForListViews",key:"createActionSetUseARIAApplicationForListViews",description:"Toggle if the ARIA application role is applied to list views"};let l=(0,n.Ay)("Set the behavior of the up arrow shortcut when focus is in the MessageInput");l.meta={name:"setComposerUpArrowShortcutBehavior",key:"createActionSetComposerUpArrowShortcutBehavior",description:"Set the behavior of the up arrow shortcut when focus is in the MessageInput"};let c=(0,n.Ay)("Set line spacing value of text density pref");c.meta={name:"setMessageTextLineSpacing",key:"createActionSetMessageTextLineSpacing",description:"Set line spacing value of text density pref"};let d=(0,n.Ay)("Set message spacing text density pref");d.meta={name:"setMessageSpacing",key:"createActionSetMessageSpacing",description:"Set message spacing text density pref"};let u=(0,n.Ay)("Set word spacing text density pref");u.meta={name:"setMessageTextWordSpacing",key:"createActionSetMessageTextWordSpacing",description:"Set word spacing text density pref"};let m=(0,n.Ay)("Set the sound that plays when a message arrives to the focused conversation");m.meta={name:"setConversationIncomingMessageSound",key:"createActionSetConversationIncomingMessageSound",description:"Set the sound that plays when a message arrives to the focused conversation"};let f=(0,n.Ay)("Set the sound that plays when a message is sent to the focused conversation");f.meta={name:"setConversationSentMessageSound",key:"createActionSetConversationSentMessageSound",description:"Set the sound that plays when a message is sent to the focused conversation"};let _=(0,n.Ay)("Set the pref that controls if screen reader announcements play for incoming messages in the current conversation");_.meta={name:"setConversationIncomingMessageAnnouncement",key:"createActionSetConversationIncomingMessageAnnouncement",description:"Set the pref that controls if screen reader announcements play for incoming messages in the current conversation"};let p=(0,n.Ay)("Set the pref to enabled peeks on hover in the tab rail");p.meta={name:"setPeeksEnabledOnMouseEnter",key:"createActionSetPeeksEnabledOnMouseEnter",description:"Set the pref to enabled peeks on hover in the tab rail"};let h=(0,n.Ay)("Forward messages to the hidden container that generates message summaries to be announced by screen reader");h.meta={name:"setMessagesToAnnounce",key:"createActionSetMessagesToAnnounce",description:"Forward messages to the hidden container that generates message summaries to be announced by screen reader"}},0x1420931ea:(e,t,a)=>{"use strict";a.d(t,{B0:()=>setSmartAnimationPrefDefaults,DD:()=>S,K9:()=>h,VH:()=>c,dF:()=>m,gR:()=>b,gb:()=>_,jX:()=>f,kd:()=>A,nQ:()=>d,rQ:()=>u,u:()=>y,u$:()=>g,zm:()=>p});var n=a(0x62a17882),r=a(0x1ec68d6a3),i=a(0x1cf0d97e1),o=a(0x1ccef1c6f),s=a(0x12f41fc32),l=a(0xdf55e8f3);let c=(0,i.Ay)(e=>{let t=e?.accessibility;return t?.screenReaderEnabled});c.meta={name:"isScreenReaderEnabled",key:"createSelectorIsScreenReaderEnabled",description:e=>{let t=e?.accessibility;return t?.screenReaderEnabled}};let d=(0,i.Ay)(e=>e.accessibility.shouldUseHighContrastColors??!1);d.meta={name:"shouldUseHighContrastColors",key:"createSelectorShouldUseHighContrastColors",description:e=>e.accessibility.shouldUseHighContrastColors??!1};let u=(0,i.Ay)(e=>e.accessibility.announcerAPIAnnouncement);u.meta={name:"announcerAPIAnnouncement",key:"createSelectorAnnouncerAPIAnnouncement",description:e=>e.accessibility.announcerAPIAnnouncement};let setSmartAnimationPrefDefaults=e=>{try{let t=e?.getState();if(!t||!(0,o.ty)(t,"set_a11y_prefs_new_user"))return;if((0,n.cX)()||(0,n.uF)()){let a=window?.matchMedia("(prefers-reduced-motion: reduce)")?.matches,n=(0,o.ty)(t,"a11y_animations");a&&n&&((0,r.getGenericLogger)().info("ACCESSIBILITY-STORE","Setting a11y_animations pref to false based on media-query"),e.dispatch((0,s.AZ)({pref:"a11y_animations",value:!1})))}e.dispatch((0,s.AZ)({pref:"set_a11y_prefs_new_user",value:!1}))}catch(e){(0,r.getGenericLogger)().warn("ACCESSIBILITY-STORE","trying to set default accessibility preferences failed",e)}},m=(0,i.Ay)(e=>e.accessibility.useARIAApplicationForListViews);m.meta={name:"isUsingARIAApplicationForListViews",key:"createSelectorIsUsingARIAApplicationForListViews",description:e=>e.accessibility.useARIAApplicationForListViews};let f=(0,i.Ay)(e=>e.accessibility.composerUpArrowShortcutBehavior);f.meta={name:"getComposerUpArrowShortcutBehavior",key:"createSelectorGetComposerUpArrowShortcutBehavior",description:e=>e.accessibility.composerUpArrowShortcutBehavior};let _=(0,i.Ay)(e=>e.accessibility.messageTextLineSpacing);_.meta={name:"getMessageTextLineSpacing",key:"createSelectorGetMessageTextLineSpacing",description:e=>e.accessibility.messageTextLineSpacing};let p=(0,i.Ay)(e=>e.accessibility.messageSpacing);p.meta={name:"getMessageSpacing",key:"createSelectorGetMessageSpacing",description:e=>e.accessibility.messageSpacing};let h=(0,i.Ay)(e=>e.accessibility.messageTextWordSpacing);h.meta={name:"getMessageTextWordSpacing",key:"createSelectorGetMessageTextWordSpacing",description:e=>e.accessibility.messageTextWordSpacing};let g=(0,i.Ay)(e=>e.accessibility.conversationIncomingMessageSound);g.meta={name:"getConversationIncomingMessageSound",key:"createSelectorGetConversationIncomingMessageSound",description:e=>e.accessibility.conversationIncomingMessageSound};let A=(0,i.Ay)(e=>e.accessibility.conversationSentMessageSound);A.meta={name:"getConversationSentMessageSound",key:"createSelectorGetConversationSentMessageSound",description:e=>e.accessibility.conversationSentMessageSound};let b=(0,i.Ay)(e=>e.accessibility.conversationIncomingMessageAnnouncement);b.meta={name:"getConversationIncomingMessageAnnouncement",key:"createSelectorGetConversationIncomingMessageAnnouncement",description:e=>e.accessibility.conversationIncomingMessageAnnouncement};let y=(0,i.Ay)(e=>e.accessibility.peeksEnabledOnMouseEnter);y.meta={name:"getPeeksEnabledOnMouseEnter",key:"createSelectorGetPeeksEnabledOnMouseEnter",description:e=>e.accessibility.peeksEnabledOnMouseEnter};let S=(0,l.jB)(e=>e.accessibility.messagesToAnnounce)},0x8c8cf310:(e,t,a)=>{"use strict";a.d(t,{AK:()=>i,M:()=>r,ZO:()=>s,bZ:()=>l,dQ:()=>o,sM:()=>c,tA:()=>d});var n=a(0xcf658893);let r=(0,n.Ay)("Set admin account types");r.meta={name:"setAdminAccountTypes",key:"createActionSetAdminAccountTypes",description:"Set admin account types"};let i=(0,n.Ay)("Set owner account types");i.meta={name:"setOwnerAccountTypes",key:"createActionSetOwnerAccountTypes",description:"Set owner account types"};let o=(0,n.Ay)("Set admin account type");o.meta={name:"setAdminAccountType",key:"createActionSetAdminAccountType",description:"Set admin account type"};let s=(0,n.Ay)("Set owner account type");s.meta={name:"setOwnerAccountType",key:"createActionSetOwnerAccountType",description:"Set owner account type"};let l=(0,n.Ay)("Set primary owner account type");l.meta={name:"setPrimaryOwnerAccountType",key:"createActionSetPrimaryOwnerAccountType",description:"Set primary owner account type"};let c=(0,n.Ay)("Clear all account types");c.meta={name:"clearAccountTypes",key:"createActionClearAccountTypes",description:"Clear all account types"};let d=(0,n.Ay)("Clear account type");d.meta={name:"clearAccountType",key:"createActionClearAccountType",description:"Clear account type"}},0x1c2cf8d8f:(e,t,a)=>{"use strict";a.d(t,{HA:()=>h,qc:()=>g,u8:()=>A,qq:()=>b});var n=a(0xbe2be077),r=a(0x209e067d1),i=a(0x1cf0d97e1),o=a(0x9b971e7e),s=a(0xca924ee1),l=a(0x2264e6ea3),c=a(0x22a29f141);let d=(0,a(0x1dfdeb1c8).A)("Calls team.admins.list until no more roles to fetch",(e,t,{cursor:a="",acc:n={admins:[],owners:[],primaryOwner:""}}={})=>{let r={limit:1e3,...a&&{cursor:a}};return e((0,c.apiCall)({method:"team.admins.list",reason:"fetchAdminRolesRecursively",args:r})).then(({admins:t=[],owners:a=[],primary_owner:r="",response_metadata:{next_cursor:i=""}})=>(t.length&&n.admins.push(...t),a.length&&n.owners.push(...a),r&&(n.primaryOwner=r),i)?e(d({cursor:i,acc:n})):n)});d.meta={name:"fetchAdminRolesRecursively",key:"createFetcherFetchAdminRolesRecursively",description:"Calls team.admins.list until no more roles to fetch"};var u=a(0x1a8cc04e1),m=a(0x1266f1359),f=a(0x8c8cf310);let _="roles",p=(0,s.A)(()=>new u.Ay({storeKey:"accountTypes",fetch:async e=>{if(!(0,l.JV)(e))return(0,m.Qw)(e,d()).then(({admins:t=[],owners:a=[],primaryOwner:n=""})=>{(0,m.Qw)(e,(0,f.sM)()),(0,m.Qw)(e,(0,f.M)({memberIds:t,teamId:e})),(0,m.Qw)(e,(0,f.AK)({memberIds:a,teamId:e})),(0,m.Qw)(e,(0,f.bZ)({memberId:n,teamId:e}))})},isEnabled:()=>!0,maxAge:()=>3600,metricsName:_})),maybeRefetch=e=>p().maybeRefetch(e,_),h=(0,i.Ay)(e=>!!((0,r.A)()&&(0,n.k)(e)&&e?.accountTypes));h.meta={name:"hasAccountTypes",key:"createSelectorHasAccountTypes",description:e=>!!((0,r.A)()&&(0,n.k)(e)&&e?.accountTypes)};let g=(0,i.Ay)((e,t,a)=>{if(!t)return!1;let n=(0,o.ZT)(e),r=a||n;return!!r&&(maybeRefetch(n),e?.accountTypes?.[r]?.[t]?.isAdmin||e?.accountTypes?.[r]?.[t]?.isOwner||e?.accountTypes?.[r]?.[t]?.isPrimaryOwner||!1)});g.meta={name:"isAdmin",key:"createSelectorIsAdmin",description:(e,t,a)=>{if(!t)return!1;let n=(0,o.ZT)(e),r=a||n;return!!r&&(maybeRefetch(n),e?.accountTypes?.[r]?.[t]?.isAdmin||e?.accountTypes?.[r]?.[t]?.isOwner||e?.accountTypes?.[r]?.[t]?.isPrimaryOwner||!1)}};let A=(0,i.Ay)((e,t,a)=>{if(!t)return!1;let n=a||(0,o.ZT)(e);return!!n&&(maybeRefetch(n),e?.accountTypes?.[n]?.[t]?.isOwner||e?.accountTypes?.[n]?.[t]?.isPrimaryOwner||!1)});A.meta={name:"isOwner",key:"createSelectorIsOwner",description:(e,t,a)=>{if(!t)return!1;let n=a||(0,o.ZT)(e);return!!n&&(maybeRefetch(n),e?.accountTypes?.[n]?.[t]?.isOwner||e?.accountTypes?.[n]?.[t]?.isPrimaryOwner||!1)}};let b=(0,i.Ay)((e,t,a)=>{if(!t)return!1;let n=a||(0,o.ZT)(e);return!!n&&(maybeRefetch(n),e?.accountTypes?.[n]?.[t]?.isPrimaryOwner||!1)});b.meta={name:"isPrimaryOwner",key:"createSelectorIsPrimaryOwner",description:(e,t,a)=>{if(!t)return!1;let n=a||(0,o.ZT)(e);return!!n&&(maybeRefetch(n),e?.accountTypes?.[n]?.[t]?.isPrimaryOwner||!1)}}},0x7b776816:(e,t,a)=>{"use strict";a.d(t,{$A:()=>r,HD:()=>i,ZC:()=>s,g:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Sets action items for a user, optionally with activity entries for priority detection");r.meta={name:"setActionItems",key:"createActionSetActionItems",description:"Sets action items for a user, optionally with activity entries for priority detection"};let i=(0,n.Ay)("update a single action item state");i.meta={name:"updateActionItem",key:"createActionUpdateActionItem",description:"update a single action item state"};let o=(0,n.Ay)("updates multiple action items for a user");o.meta={name:"updateActionItems",key:"createActionUpdateActionItems",description:"updates multiple action items for a user"};let s=(0,n.Ay)("Removes action items for a user");s.meta={name:"removeActionItems",key:"createActionRemoveActionItems",description:"Removes action items for a user"}},0x1dd9c569b:(e,t,a)=>{"use strict";a.d(t,{Fw:()=>m,My:()=>f,Uq:()=>u,WG:()=>h,an:()=>p,lx:()=>_,u0:()=>d});var n=a(0x1df96de4c),r=a(0x1674ad34e),i=a(0x12256831),o=a(0x1cf0d97e1),s=a(0x1bc4b3ad8),l=a(0x827d18b8),c=a(0x20c23cf7a);let d=(0,o.Ay)(e=>e?.actionItems?.actionsById);d.meta={name:"getAllActionItems",key:"createSelectorGetAllActionItems",description:e=>e?.actionItems?.actionsById};let u=(0,o.Ay)((e,{actionItemId:t})=>e?.actionItems?.actionsById[t]);u.meta={name:"getActionItemById",key:"createSelectorGetActionItemById",description:(e,{actionItemId:t})=>e?.actionItems?.actionsById[t]};let m=(0,o.Ay)(e=>e?.actionItems?.actionIdByChannelIdAndMessageTs);m.meta={name:"getActionItemsByChannelAndMessageMap",key:"createSelectorGetActionItemsByChannelAndMessageMap",description:e=>e?.actionItems?.actionIdByChannelIdAndMessageTs};let f=(0,o.Ay)((e,{channelId:t,messageTs:a})=>{if(!t||!a||!(0,c.FV)(e))return;let n="",r=(0,l.jT)(t,a);if(n=m(e)?.[r])return u(e,{actionItemId:n})});f.meta={name:"getAiActionItemForMessage",key:"createSelectorGetAiActionItemForMessage",description:(e,{channelId:t,messageTs:a})=>{if(!t||!a||!(0,c.FV)(e))return;let n="",r=(0,l.jT)(t,a);if(n=m(e)?.[r])return u(e,{actionItemId:n})}};let _=(0,o.Ay)((e,{channelId:t})=>{if(t&&(0,c.FV)(e))return e?.actionItems?.actionItemsByChannel[t]});_.meta={name:"getAiActionItemsByChannel",key:"createSelectorGetAiActionItemsByChannel",description:(e,{channelId:t})=>{if(t&&(0,c.FV)(e))return e?.actionItems?.actionItemsByChannel[t]}};let p=(0,o.Ay)((e,{channel:t})=>{let a=t?.id;if(!t||!a||!(0,c.FV)(e))return;let n=_(e,{channelId:a});return n?.filter(e=>e.state!==r.j.Dismissed).sort((e,t)=>(0,i.A)(t.messageTs)-(0,i.A)(e.messageTs))});p.meta={name:"getSortedAiActionItemsByChannel",key:"createSelectorGetSortedAiActionItemsByChannel",description:(e,{channel:t})=>{let a=t?.id;if(!t||!a||!(0,c.FV)(e))return;let n=_(e,{channelId:a});return n?.filter(e=>e.state!==r.j.Dismissed).sort((e,t)=>(0,i.A)(t.messageTs)-(0,i.A)(e.messageTs))}};let h=(0,o.Ay)(e=>e?.actionItems?.latestOpenActionItemId);h.meta={name:"getLatestOpenActionItemId",key:"createSelectorGetLatestOpenActionItemId",description:e=>e?.actionItems?.latestOpenActionItemId},(0,o.Ay)(e=>{let t=e?.actionItems?.actionsById;return!!t&&Object.values(t).some(e=>e.state===r.j.Open)}).meta={name:"hasOpenActionItems",key:"createSelectorHasOpenActionItems",description:e=>{let t=e?.actionItems?.actionsById;return!!t&&Object.values(t).some(e=>e.state===r.j.Open)}},(0,s.F)(e=>e?.actionItems?.actionsById,e=>e?Object.values(e).filter(e=>e.isPriority):n.Ml),(0,s.F)(e=>e?.actionItems?.actionsById,(e,{activityKey:t})=>t,(e,t)=>{if(e)return Object.values(e).find(e=>e.activityFeedKey===t)}),(0,s.F)(e=>e?.actionItems?.actionsById,(e,{activityEntries:t})=>t,(e,t)=>e&&t?t.filter(e=>e.ai_priority?.action_item).map(t=>e[t.ai_priority.action_item.action_id]).filter(Boolean):n.Ml)},0xbaca7a66:(e,t,a)=>{"use strict";a.d(t,{HA:()=>p,tp:()=>_});var n=a(0xd615eca8),r=a(0x19d13b9e2),i=a(0x2481c2398),o=a(0x382cbff6),s=a(0x1ec68d6a3),l=a(0x11c82607b),c=a(0x7b776816),d=a(0x1dd9c569b),u=a(0x20c23cf7a),m=a(0x81efe003);let f="AI_ACTION_ITEMS",_=(0,l.Ay)("Fetch action items from timestamps of activity mentions for user",async(e,t,{messageTs:a,channelId:r})=>{let i=t();if((0,u.FV)(i)&&(a?.length||r?.length))try{let t=await e((0,n.C)({reason:"get-action-items-for-user",messageTs:a,channelId:r}));if(!t.ok||!t.action_items)throw Error("response not ok or no action items fetched for user");let i=t?.action_items.map(e=>({id:e.id,topic:e.topic,topic_blocks:e.topic_blocks,key:e.id,type:"action_item",state:e.state,channelId:e.channel_id,messageTs:e.message_ts,threadTs:e.thread_ts,messageLength:e.message_length}));i.length&&e((0,c.$A)({actionItems:i}))}catch(a){(0,s.default)({getState:t,label:f}).error(Error(a)),"access_denied"===a.name&&e((0,m.Z)({isSlackAiEnabled:!1}))}});_.meta={name:"maybeFetchAiActionItems",key:"createThunkMaybeFetchAiActionItems",description:"Fetch action items from timestamps of activity mentions for user"};let p=(0,l.Ay)("Update the dismissal state of an action item",async(e,t,{actionItemId:a,actionItemState:n})=>{let i=t(),o=(0,d.Uq)(i,{actionItemId:a});e((0,c.HD)({actionItemId:a,actionItemState:n}));try{if(!(await e((0,r.W)({reason:"update action item via ai.actionItems.set",actionItemId:a,messageTs:o.messageTs,state:n}))).ok)throw Error("response not ok")}catch(n){(0,s.default)({getState:t,label:f}).error(Error(n)),"access_denied"===n.name&&e((0,m.Z)({isSlackAiEnabled:!1})),e((0,c.HD)({actionItemId:a,actionItemState:o.state}))}});p.meta={name:"setActionItemState",key:"createThunkSetActionItemState",description:"Update the dismissal state of an action item"},(0,l.Ay)("Fetches all AI action items for the user",async(e,t,a)=>{let n=t();if(!(0,o.pI)(n))return;let r=await e((0,i._)({reason:"get-action-items-for-user",...a})),s=r?.action_items.map(e=>({id:e.id,topic:e.topic,topic_blocks:e.topic_blocks,key:e.id,type:"action_item",state:e.state,channelId:e.channel_id,messageTs:e.message_ts,threadTs:e.thread_ts,messageLength:e.message_length}));s.length&&e((0,c.$A)({actionItems:s}))}).meta={name:"maybeFetchAllAiActionItems",key:"createThunkMaybeFetchAllAiActionItems",description:"Fetches all AI action items for the user"}},0x827d18b8:(e,t,a)=>{"use strict";a.d(t,{K9:()=>shouldShowActionItem,Xh:()=>s,jT:()=>makeActionItemKey});var n=a(0x1674ad34e),r=a(0x2162236ad),i=a(0x2001af3ac),o=a(0x20c23cf7a);let s={SHORT:"short",LONG:"long"},makeActionItemKey=(e,t)=>`${e}+${t}`,shouldShowActionItem=(e,{aiActionItem:t,msg:a,isIcon:s})=>{let l=(0,o.e$)(e),c=a?.blocks;if(!l)return!0;if(c&&t){let a=(0,r.A)(e,c),o=(0,i.A)(a);if(t.state!==n.j.Dismissed&&(s?o<=200:o>200)&&l)return!0}return!1}},0x216a87ae3:(e,t,a)=>{"use strict";a.d(t,{$L:()=>l,Iv:()=>o,Q6:()=>s,YE:()=>d,e5:()=>c});var n=a(0x1cf0d97e1),r=a(0xc3f4da44),i=a(0xec628500);let o=(0,n.Ay)((e,t,a,n)=>e.agentHome?.activeViewModeByChannelId?.[(0,i.C)(t,a,n)]??r.x.NEW_CONVERSATION);o.meta={name:"getActiveViewModeByChannelId",key:"createSelectorGetActiveViewModeByChannelId",description:(e,t,a,n)=>e.agentHome?.activeViewModeByChannelId?.[(0,i.C)(t,a,n)]??r.x.NEW_CONVERSATION};let s=(0,n.Ay)((e,t,a,n)=>e.agentHome?.activeThreadByChannelId?.[(0,i.C)(t,a,n)]);s.meta={name:"getActiveThreadByChannelId",key:"createSelectorGetActiveThreadByChannelId",description:(e,t,a,n)=>e.agentHome?.activeThreadByChannelId?.[(0,i.C)(t,a,n)]};let l=(0,n.Ay)(e=>e.agentHome?.splitViewChannelId);l.meta={name:"getAgentSplitViewChannelId",key:"createSelectorGetAgentSplitViewChannelId",description:e=>e.agentHome?.splitViewChannelId};let c=(0,n.Ay)((e,t,a,n)=>e.agentHome?.activeViewModeLoadingByChannelId?.[(0,i.C)(t,a,n)]??!1);c.meta={name:"getActiveViewModeLoadingByChannelId",key:"createSelectorGetActiveViewModeLoadingByChannelId",description:(e,t,a,n)=>e.agentHome?.activeViewModeLoadingByChannelId?.[(0,i.C)(t,a,n)]??!1};let d=(0,n.Ay)((e,t)=>e.agentHome?.messageContextByChannelId?.[t]);d.meta={name:"getAgentHomeMessageContextByChannelId",key:"createSelectorGetAgentHomeMessageContextByChannelId",description:(e,t)=>e.agentHome?.messageContextByChannelId?.[t]}},0xc3f4da44:(e,t,a)=>{"use strict";a.d(t,{x:()=>r});var n,r=((n={}).NEW_CONVERSATION="NEW_CONVERSATION",n.ACTIVE_CONVERSATION="ACTIVE_CONVERSATION",n.PAST_CONVERSATIONS="PAST_CONVERSATIONS",n)},0xec628500:(e,t,a)=>{"use strict";a.d(t,{C:()=>makeAgentHomeKey});var n=a(0x19895585a);let makeAgentHomeKey=(e,t,a)=>`${e}-${t?"split":"main"}-${String(a||n.N2)}`},0x6019b546:(e,t,a)=>{"use strict";a.d(t,{F:()=>u,ID:()=>m,KY:()=>_,MY:()=>o,T0:()=>A,TH:()=>l,UJ:()=>b,Vz:()=>s,XI:()=>f,_3:()=>g,_l:()=>E,cl:()=>c,e7:()=>h,fh:()=>p,h6:()=>i,jt:()=>r,m5:()=>d,vg:()=>S,x2:()=>y});var n=a(0xcf658893);let r=(0,n.Ay)("Sets the bot user id for the active ai app");r.meta={name:"setAiAppActiveBotUserId",key:"createActionSetAiAppActiveBotUserId",description:"Sets the bot user id for the active ai app"};let i=(0,n.Ay)("Sets the state for active ai app");i.meta={name:"setAiAppActiveStateForBotUserId",key:"createActionSetAiAppActiveStateForBotUserId",description:"Sets the state for active ai app"};let o=(0,n.Ay)("Sets the active ai app assistant");o.meta={name:"setAiAppThreadStatus",key:"createActionSetAiAppThreadStatus",description:"Sets the active ai app assistant"};let s=(0,n.Ay)("Sets whether a shimmering message skeleton is showing for ai app threads");s.meta={name:"setAiAppThreadShimmer",key:"createActionSetAiAppThreadShimmer",description:"Sets whether a shimmering message skeleton is showing for ai app threads"};let l=(0,n.Ay)("Sets the active ai app assistant by thread");l.meta={name:"setAiSuggestedPromptsObjectByThread",key:"createActionSetAiSuggestedPromptsObjectByThread",description:"Sets the active ai app assistant by thread"};let c=(0,n.Ay)("Sets the active ai app assistant for an agent by channel");c.meta={name:"setAiSuggestedPromptsObjectForAgent",key:"createActionSetAiSuggestedPromptsObjectForAgent",description:"Sets the active ai app assistant for an agent by channel"};let d=(0,n.Ay)("Sets the entry point for the ai app thread");d.meta={name:"setAiAppThreadEntryPoint",key:"createActionSetAiAppThreadEntryPoint",description:"Sets the entry point for the ai app thread"};let u=(0,n.Ay)("Updates the scopeIds for a given appId");u.meta={name:"updateAiAppUserConsentScopes",key:"createActionUpdateAiAppUserConsentScopes",description:"Updates the scopeIds for a given appId"};let m=(0,n.Ay)("Removes the scopeIds for a given appId but keeps the labels");m.meta={name:"removeAiAppUserConsentScopes",key:"createActionRemoveAiAppUserConsentScopes",description:"Removes the scopeIds for a given appId but keeps the labels"};let f=(0,n.Ay)("Sets the ai agentforce apps returned by the sfdc.agentforce.listAccessible endpoint");f.meta={name:"setAiAgentforceAppsFromApi",key:"createActionSetAiAgentforceAppsFromApi",description:"Sets the ai agentforce apps returned by the sfdc.agentforce.listAccessible endpoint"};let _=(0,n.Ay)("Sets the user accessible agent app ids");_.meta={name:"setUserAccessibleAgentAppIds",key:"createActionSetUserAccessibleAgentAppIds",description:"Sets the user accessible agent app ids"};let p=(0,n.Ay)("Sets the ai apps returned by the sfdc.agentforce.listAccessible endpoint");p.meta={name:"setAiAgentforceAppsListApiLoading",key:"createActionSetAiAgentforceAppsListApiLoading",description:"Sets the ai apps returned by the sfdc.agentforce.listAccessible endpoint"};let h=(0,n.Ay)("Sets if we have loaded the ai agentforce apps from the api");h.meta={name:"setAiAgentforceAppsListApiLoaded",key:"createActionSetAiAgentforceAppsListApiLoaded",description:"Sets if we have loaded the ai agentforce apps from the api"};let g=(0,n.Ay)("Sets the user has agentforce access");g.meta={name:"setUserHasAgentforceAccess",key:"createActionSetUserHasAgentforceAccess",description:"Sets the user has agentforce access"};let A=(0,n.Ay)("Sets the ai apps returned by the aiApps.list endpoint");A.meta={name:"setAiAppsFromApi",key:"createActionSetAiAppsFromApi",description:"Sets the ai apps returned by the aiApps.list endpoint"};let b=(0,n.Ay)("Sets if we have loaded the ai apps from the api");b.meta={name:"setAiAppsLoadedFromApi",key:"createActionSetAiAppsLoadedFromApi",description:"Sets if we have loaded the ai apps from the api"};let y=(0,n.Ay)("Sets loading state for aiApps.list endpoint");y.meta={name:"setAiAppsFromApiLoading",key:"createActionSetAiAppsFromApiLoading",description:"Sets loading state for aiApps.list endpoint"};let S=(0,n.Ay)("Update AI Agentforce App Status");S.meta={name:"updateAiAgentforceAppStatus",key:"createActionUpdateAiAgentforceAppStatus",description:"Update AI Agentforce App Status"};let E=(0,n.Ay)("Remove an AI app from the list after deletion");E.meta={name:"removeAiAppFromList",key:"createActionRemoveAiAppFromList",description:"Remove an AI app from the list after deletion"}},0x20c81ddcb:(e,t,a)=>{"use strict";a.d(t,{A_:()=>F,BZ:()=>K,Bk:()=>q,Gd:()=>R,Gk:()=>x,HE:()=>J,Iy:()=>j,Kq:()=>et,MO:()=>D,Nv:()=>isMessageActiveInChatOrSplitView,Qb:()=>U,Rw:()=>$,T2:()=>O,TQ:()=>en,U7:()=>ei,VP:()=>C,WF:()=>ee,Y2:()=>v,ae:()=>L,eO:()=>P,g9:()=>er,iV:()=>M,kX:()=>X,m:()=>H,ok:()=>Z,pj:()=>V,s_:()=>G,tg:()=>B,tr:()=>W,uj:()=>ea,vM:()=>Q,zf:()=>Y});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0x139aa1a7),o=a(0x130c2e810),s=a(0x23a67ace),l=a(0x96de2457),c=a(0x151a93a75),d=a(0x121a53a99),u=a(0x280afe13),m=a(0x1c9a3c4c1),f=a(0x1cf0d97e1),_=a(0x14cb5efef),p=a(0x1d600678),h=a(0xdf55e8f3),g=a(0xeb7dd18f),A=a(0x1f4bff87c),b=a(0x102c04e08),y=a(0x1459852c4),S=a(0x5dd1c0f2),E=a(0x217553e42),k=a(0x14149c126),T=a(0xe684f705),I=a(0x9271cc31),w=a(0x1e974bbde);let C=(0,f.Ay)((e,t,a)=>{let n=(0,b.k)(t,a);return e?.aiApps?.activeAiAppStateByBotUserId[n]??r.t0});C.meta={name:"getAiAppStateForBotUserId",key:"createSelectorGetAiAppStateForBotUserId",description:(e,t,a)=>{let n=(0,b.k)(t,a);return e?.aiApps?.activeAiAppStateByBotUserId[n]??r.t0}};let v=(0,f.Ay)((e,t)=>t?e?.aiApps?.aiAppThreadStatuses[t]:void 0);v.meta={name:"getAiAppThreadStatus",key:"createSelectorGetAiAppThreadStatus",description:(e,t)=>t?e?.aiApps?.aiAppThreadStatuses[t]:void 0};let x=(0,f.Ay)((e,t)=>t?e?.aiApps?.suggestedPromptsObjectByThreadTs[t]:void 0);x.meta={name:"getAiAppSuggestedPromptsObjectByThread",key:"createSelectorGetAiAppSuggestedPromptsObjectByThread",description:(e,t)=>t?e?.aiApps?.suggestedPromptsObjectByThreadTs[t]:void 0};let R=(0,h.eI)((e,t)=>{let a=e?.aiApps?.suggestedPromptsObjectByAgentChannelId?.[t];if(a)return a;let n=(0,o.rV)(e,t);return{prompts:(n?.legacy_app?.assistant_suggested_prompts??r.Ml).filter(({title:e,message:t})=>e?.length>0&&t?.length>0)}}),O=(0,h.eI)((e,t)=>{let a=(0,o.rV)(e,t);return{actions:a?.legacy_app?.assistant_actions?.filter(e=>e?.name?.length>0&&e?.description?.length>0)}});(0,f.Ay)((e,t)=>e?.aiApps?.suggestedPromptsByBotUserId[t]??null).meta={name:"getAiAppSuggestedPromptsByBotUserId",key:"createSelectorGetAiAppSuggestedPromptsByBotUserId",description:(e,t)=>e?.aiApps?.suggestedPromptsByBotUserId[t]??null};let N={isShown:!1},D=(0,f.Ay)((e,t)=>e?.aiApps?.aiAppThreadShimmers[t]??N);D.meta={name:"getAiAppShimmerByThread",key:"createSelectorGetAiAppShimmerByThread",description:(e,t)=>e?.aiApps?.aiAppThreadShimmers[t]??N};let L=(0,f.Ay)(e=>e?.aiApps?.aiAppThreadShimmers);L.meta={name:"getAiAppShimmers",key:"createSelectorGetAiAppShimmers",description:e=>e?.aiApps?.aiAppThreadShimmers};let M=(0,f.Ay)((e,t)=>{if(t&&e?.aiApps?.aiAppUserConsentScopes[t])return e.aiApps.aiAppUserConsentScopes[t]});M.meta={name:"getAiAppUserConsentScopes",key:"createSelectorGetAiAppUserConsentScopes",description:(e,t)=>{if(t&&e?.aiApps?.aiAppUserConsentScopes[t])return e.aiApps.aiAppUserConsentScopes[t]}};let isMessageActiveInChatOrSplitView=(e,t)=>{if(!t)return!1;let a=(e=>{if(!(0,l.wP)(e))return null;let{viewSet:t,windowId:a}=(0,w.Z)(e);if(!a)return!1;let n=t?.primary?.viewType===i.D.AppSpace?t?.primary?.id:null,r=(0,E.OL)(e,n),o=(0,u.e)(r);return t?.primary?.params?.tabId===y.K.Chat&&o?C(e,o,A.v.ChatView)?.threadTs:null})(e),n=(e=>{if(!(0,l.wP)(e))return!1;let t=(0,I.Oy)(e),a=t?.params?.appUserId;return t?C(e,a,A.v.SplitView)?.threadTs:null})(e);return a===t||n===t},F=(0,f.Ay)(e=>e?.aiApps?.aiAppThreadEntryPoint);F.meta={name:"getAiAppThreadEntryPoint",key:"createSelectorGetAiAppThreadEntryPoint",description:e=>e?.aiApps?.aiAppThreadEntryPoint};let P=(0,f.Ay)(e=>e.aiApps.userAccessibleAgentAppIds);P.meta={name:"getUserAccessibleAgentAppIds",key:"createSelectorGetUserAccessibleAgentAppIds",description:e=>e.aiApps.userAccessibleAgentAppIds};let U=(0,h.eI)(e=>(0,s.fy)(e)?(0,S.NN)(e):e.aiApps.aiAgentforceAppsFromApi),B=(0,h.eI)(e=>{let t=(0,s.fy)(e);return(0,_.QS)(e).reduce((a,n)=>{if(t&&!(0,S.u0)(e,n.app_id))return a;let r=(0,o.O8)(e,n.bot_user_id),i=(0,T.nv)(e,n.bot_user_id);return(0,m.D)(i)&&a.push({appRef:n,appProfile:r,appMember:i}),a},[])});(0,h.eI)((e,t)=>{let a=(0,o.O8)(e,t.bot_user_id),n=(0,T.nv)(e,t.bot_user_id);return{appRef:t,appProfile:a,appMember:n}});let G=(0,h.eI)((e,t=!1)=>{let a=(0,s.fy)(e),n=U(e),r=P(e),i="on"===(0,k._Z)(e,"ai_apps_list_fe");return n.reduce((n,s)=>{let l={app_id:s.id,bot_user_id:s.bot_user?.id||""};if(a&&!(0,S.u0)(e,s.app_id))return n.push({appRef:l,appProfile:void 0}),n;let u=(0,o.O8)(e,s.bot_user_id);if(u&&(0,d.kJ)(u)&&!(0,c.DZ)(u)||i&&!r.includes(s.app_id))return n;if(t){let t=(0,T.nv)(e,s.bot_user_id);n.push({appRef:l,appProfile:u,appMember:t})}else n.push({appRef:l,appProfile:u});return n},[])}),H=(0,f.Ay)(e=>e.aiApps.aiAgentforceAppsListApiLoading);H.meta={name:"getIsListAPILoadingState",key:"createSelectorGetIsListAPILoadingState",description:e=>e.aiApps.aiAgentforceAppsListApiLoading};let W=(0,f.Ay)(e=>e.aiApps.aiAgentforceAppsListApiLoaded);W.meta={name:"getAiAgentforceAppsListApiLoadedState",key:"createSelectorGetAiAgentforceAppsListApiLoadedState",description:e=>e.aiApps.aiAgentforceAppsListApiLoaded};let V=(0,f.Ay)(e=>{let t=U(e),a=(0,p.x)(e,"default_channel_knowledge_agent");return!!a&&!!a.app_id&&"active"===a.status&&t.some(e=>(0,c.R7)(e)===a.app_id)});V.meta={name:"isAgentforceChannelExpertAvailable",key:"createSelectorIsAgentforceChannelExpertAvailable",description:e=>{let t=U(e),a=(0,p.x)(e,"default_channel_knowledge_agent");return!!a&&!!a.app_id&&"active"===a.status&&t.some(e=>(0,c.R7)(e)===a.app_id)}};let j=(0,f.Ay)(e=>e.aiApps.userHasAgentforceAccess);j.meta={name:"getUserHasAgentforceAccess",key:"createSelectorGetUserHasAgentforceAccess",description:e=>e.aiApps.userHasAgentforceAccess};let K=(0,n.Mz)((e,t)=>D(e,t),(e,t)=>v(e,t),(e,t)=>e.isShown&&t?.statusType==="banner"),q=(0,f.Ay)((e,t,a=!0)=>{let n=(0,T.nv)(e,t,{fetchIfMissing:a});return(0,m.D)(n)});q.meta={name:"isAgentforceBotMemberId",key:"createSelectorIsAgentforceBotMemberId",description:(e,t,a=!0)=>{let n=(0,T.nv)(e,t,{fetchIfMissing:a});return(0,m.D)(n)}};let z=(0,f.Ay)((e,t)=>{if(!t)return!1;let a=(0,g.T)(e,t);return!!a&&(0,c.L)(a)});z.meta={name:"isAiAppByBotId",key:"createSelectorIsAiAppByBotId",description:(e,t)=>{if(!t)return!1;let a=(0,g.T)(e,t);return!!a&&(0,c.L)(a)}};let $=(0,f.Ay)((e,t)=>{if(!t)return!1;let a=(0,g.T)(e,t);return!!a&&(0,c.j_)(a)});$.meta={name:"isAiSidekickByBotId",key:"createSelectorIsAiSidekickByBotId",description:(e,t)=>{if(!t)return!1;let a=(0,g.T)(e,t);return!!a&&(0,c.j_)(a)}},(0,f.Ay)((e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!!n&&(q(e,n)||z(e,n))}).meta={name:"isAiAppByChannelId",key:"createSelectorIsAiAppByChannelId",description:(e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!!n&&(q(e,n)||z(e,n))}};let Y=(0,f.Ay)((e,t)=>{let a=(0,u.e)(t);return!!a&&(q(e,a)||z(e,a))});Y.meta={name:"isAiAppChannel",key:"createSelectorIsAiAppChannel",description:(e,t)=>{let a=(0,u.e)(t);return!!a&&(q(e,a)||z(e,a))}};let Q=(0,f.Ay)((e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!(!n||q(e,n))&&z(e,n)});Q.meta={name:"isAiAppAssistantByChannelId",key:"createSelectorIsAiAppAssistantByChannelId",description:(e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!(!n||q(e,n))&&z(e,n)}};let Z=(0,f.Ay)((e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!!n&&$(e,n)});Z.meta={name:"isSidekickFromChannelId",key:"createSelectorIsSidekickFromChannelId",description:(e,t)=>{let a=(0,E.OL)(e,t,!0),n=(0,u.e)(a);return!!n&&$(e,n)}};let J=(0,f.Ay)((e,t)=>{let a=U(e).find(e=>e.app_id===t?.app_id);return a?.agentforce?.status??t?.legacy_app?.agentforce?.status});J.meta={name:"getAgentStatusFromState",key:"createSelectorGetAgentStatusFromState",description:(e,t)=>{let a=U(e).find(e=>e.app_id===t?.app_id);return a?.agentforce?.status??t?.legacy_app?.agentforce?.status}};let X=(0,h.eI)(e=>(0,s.fy)(e)?(0,S.Xx)(e):e.aiApps.aiAppsFromApi);(0,h.eI)(e=>{let t=(0,s.fy)(e);return[...G(e),...X(e).filter(e=>t?!(0,c.hk)(e):!(0,d.kJ)(e)).map(t=>{let a=(0,o.O8)(e,t.bot_user?.id);return{appRef:{...t,app_id:t.id,bot_user_id:t.bot_user?.id||""},appProfile:a}})].sort((e,t)=>(e.appProfile?.profile?.name||"").localeCompare(t.appProfile?.profile?.name||""))});let ee=(0,f.Ay)(e=>e.aiApps.aiAppsFromApiLoading);ee.meta={name:"getAiAppsFromApiLoadingState",key:"createSelectorGetAiAppsFromApiLoadingState",description:e=>e.aiApps.aiAppsFromApiLoading};let et=(0,f.Ay)(e=>e.aiApps.aiAppsLoadedFromApi);et.meta={name:"getAiAppsLoadedFromApi",key:"createSelectorGetAiAppsLoadedFromApi",description:e=>e.aiApps.aiAppsLoadedFromApi};let ea=(0,f.Ay)((e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.L)(e):(0,d.iX)(e)))});ea.meta={name:"isAiAppFromListApi",key:"createSelectorIsAiAppFromListApi",description:(e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.L)(e):(0,d.iX)(e)))}};let en=(0,f.Ay)((e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.Mk)(e):(0,d.t2)(e)))});en.meta={name:"isAgentAppFromListApi",key:"createSelectorIsAgentAppFromListApi",description:(e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.Mk)(e):(0,d.t2)(e)))}};let er=(0,f.Ay)((e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.hk)(e):(0,d.kJ)(e)))});er.meta={name:"isAgentforceAppFromListApi",key:"createSelectorIsAgentforceAppFromListApi",description:(e,t)=>{let a=(0,s.fy)(e);return X(e).some(e=>e.id===t&&(a?(0,c.hk)(e):(0,d.kJ)(e)))}};let ei=(0,h.eI)(e=>X(e).filter(e=>!!e.sidekick&&!!e.bot_user?.id).map(t=>{let a=(0,o.O8)(e,t.bot_user?.id);return{appRef:{...t,app_id:t.id,bot_user_id:t.bot_user?.id||""},appProfile:a}}))},0xeb7dd18f:(e,t,a)=>{"use strict";a.d(t,{T:()=>p});var n=a(0x23a67ace),r=a(0x1bd866cd7),i=a(0x2cbcf09d),o=a(0x1b9d5cc0c),s=a(0x4cdbb756),l=a(0x28be1268),c=a(0x1cf0d97e1),d=a(0x9b971e7e),u=a(0x11bab834e),m=a(0x21d99e321),f=a(0x5dd1c0f2),_=a(0xe684f705);let p=(0,c.Ay)((e,t,a=!0)=>{let c=(0,m.T)(e),p=(0,_.nv)(e,t,{fetchIfMissing:a}),h=(0,s.A)(e,p)??void 0,g=p?.profile?.bot_id,A=c?g:h,b=(0,d.ZT)(e),y=(0,r.cl)(p,b),S=(0,o.PV)(p);if((0,n.fy)(e)&&S)return(0,f.sO)(e,{appId:S,tryRefetchIfInstallationMissing:!0});let E=c?(0,f.sO)(e,{appId:S??void 0,memberId:p?.id,serviceId:A,homeWorkspaceId:y,tryRefetchIfInstallationMissing:!0}):(0,u.G2)(e,{appId:S??void 0,memberId:c?p?.id:void 0,serviceId:A,homeWorkspaceId:y,fetchIfMissing:a});if(E&&!(0,l.r)(E))return E;let k=(0,i.s)(e,{member:p}),T=c?(0,f.sO)(e,{appId:S??void 0,memberId:p?.id,serviceId:A,homeWorkspaceId:k,tryRefetchIfInstallationMissing:!0}):(0,u.G2)(e,{appId:S??void 0,memberId:c?p?.id:void 0,serviceId:A,homeWorkspaceId:k,fetchIfMissing:a});if(T&&!(0,l.r)(T))return T;let I=(0,u.UI)(e,t);if(I&&!(0,l.r)(I))return I});p.meta={name:"getAiAppProfileByBotUserId",key:"createSelectorGetAiAppProfileByBotUserId",description:(e,t,a=!0)=>{let c=(0,m.T)(e),p=(0,_.nv)(e,t,{fetchIfMissing:a}),h=(0,s.A)(e,p)??void 0,g=p?.profile?.bot_id,A=c?g:h,b=(0,d.ZT)(e),y=(0,r.cl)(p,b),S=(0,o.PV)(p);if((0,n.fy)(e)&&S)return(0,f.sO)(e,{appId:S,tryRefetchIfInstallationMissing:!0});let E=c?(0,f.sO)(e,{appId:S??void 0,memberId:p?.id,serviceId:A,homeWorkspaceId:y,tryRefetchIfInstallationMissing:!0}):(0,u.G2)(e,{appId:S??void 0,memberId:c?p?.id:void 0,serviceId:A,homeWorkspaceId:y,fetchIfMissing:a});if(E&&!(0,l.r)(E))return E;let k=(0,i.s)(e,{member:p}),T=c?(0,f.sO)(e,{appId:S??void 0,memberId:p?.id,serviceId:A,homeWorkspaceId:k,tryRefetchIfInstallationMissing:!0}):(0,u.G2)(e,{appId:S??void 0,memberId:c?p?.id:void 0,serviceId:A,homeWorkspaceId:k,fetchIfMissing:a});if(T&&!(0,l.r)(T))return T;let I=(0,u.UI)(e,t);if(I&&!(0,l.r)(I))return I}}},0x1f4bff87c:(e,t,a)=>{"use strict";a.d(t,{m:()=>o,v:()=>i});var n,r,i=((n={}).ChatView="chat",n.SplitView="split",n),o=((r={}).AppHome="app_home",r.Sunroof="sunroof",r.Chat="chat",r.Canvas="canvas",r.KeyboardShortcut="keyboard_shortcut",r.ConversationalSearch="conversational_search",r)},0x102c04e08:(e,t,a)=>{"use strict";a.d(t,{k:()=>makeAiAppStateKey});let makeAiAppStateKey=(e,t)=>`${e}_${t}`},0x21c05b636:(e,t,a)=>{"use strict";function formatAiAppFromApi(e){let t=e.bot_user?.id;return t?{app_id:e.id,bot_user_id:t}:null}function formatAiAppsFromApi(e){return e.map(formatAiAppFromApi).filter(e=>null!==e)}function ensureDefaultSunroofAiApps(e,t){return e.map(e=>t.some(t=>t.app_id===e.app_id)?{...e,should_show_in_sunroof:!0}:e)}a.d(t,{Qm:()=>ensureDefaultSunroofAiApps,sr:()=>formatAiAppsFromApi})},0x1400f598e:(e,t,a)=>{"use strict";a.d(t,{$W:()=>x,$t:()=>D,$v:()=>E,A1:()=>ee,Ac:()=>_,BX:()=>z,Cv:()=>ec,Dr:()=>L,ES:()=>l,FB:()=>ed,Fb:()=>O,GI:()=>w,H5:()=>v,I1:()=>eO,Io:()=>ek,Je:()=>N,K7:()=>eC,ME:()=>o,MF:()=>m,Nb:()=>P,OB:()=>f,OM:()=>y,Pb:()=>C,Q0:()=>ev,QW:()=>i,RF:()=>u,RZ:()=>es,S2:()=>r,S8:()=>X,Sr:()=>d,Sw:()=>h,Sz:()=>eI,TB:()=>Q,V9:()=>g,VQ:()=>ey,Vz:()=>em,W2:()=>ei,Zn:()=>W,_:()=>eE,_4:()=>G,a9:()=>Z,aW:()=>M,ax:()=>R,bJ:()=>eS,bT:()=>j,bg:()=>V,cF:()=>ew,cg:()=>eR,d9:()=>q,dW:()=>A,e5:()=>er,fb:()=>ex,h8:()=>B,k5:()=>c,kG:()=>eA,kI:()=>ep,m$:()=>Y,mm:()=>k,mt:()=>T,n:()=>eb,nB:()=>s,nI:()=>et,nW:()=>U,nl:()=>eo,oE:()=>eh,oR:()=>p,pq:()=>ef,pt:()=>I,rA:()=>en,rO:()=>el,rr:()=>K,sK:()=>eu,se:()=>F,v6:()=>S,v7:()=>ea,wW:()=>$,wX:()=>b,xf:()=>e_,xj:()=>eT,y1:()=>eg,zD:()=>J,zV:()=>H});var n=a(0xcf658893);let r=(0,n.Ay)("Mark when a summary has been triggered");r.meta={name:"initiateAiSummary",key:"createActionInitiateAiSummary",description:"Mark when a summary has been triggered"};let i=(0,n.Ay)("Remove temporary AI summary by tempId");i.meta={name:"removeTemporaryAiSummary",key:"createActionRemoveTemporaryAiSummary",description:"Remove temporary AI summary by tempId"};let o=(0,n.Ay)("Initialte a search summary");o.meta={name:"initiateSearchSummary",key:"createActionInitiateSearchSummary",description:"Initialte a search summary"};let s=(0,n.Ay)("Set query ID for current search");s.meta={name:"setCurrentSearchSummaryQuerySessionId",key:"createActionSetCurrentSearchSummaryQuerySessionId",description:"Set query ID for current search"};let l=(0,n.Ay)("Insert a new complete summary");l.meta={name:"insertCompletedSearchSummaryResult",key:"createActionInsertCompletedSearchSummaryResult",description:"Insert a new complete summary"};let c=(0,n.Ay)("Update completed summary result");c.meta={name:"updateCompletedAiSummaryResult",key:"createActionUpdateCompletedAiSummaryResult",description:"Update completed summary result"};let d=(0,n.Ay)("Update completed search summary");d.meta={name:"updateCompletedSearchSummaryResult",key:"createActionUpdateCompletedSearchSummaryResult",description:"Update completed search summary"};let u=(0,n.Ay)("Update AI summary content when streaming");u.meta={name:"updateStreamingAiSummaryContent",key:"createActionUpdateStreamingAiSummaryContent",description:"Update AI summary content when streaming"};let m=(0,n.Ay)("Add summary to the toast notification");m.meta={name:"addSummaryToToast",key:"createActionAddSummaryToToast",description:"Add summary to the toast notification"};let f=(0,n.Ay)("Remove a summary from the toast notification");f.meta={name:"removeSummaryFromToast",key:"createActionRemoveSummaryFromToast",description:"Remove a summary from the toast notification"};let _=(0,n.Ay)("Mark when a summary has been viewed");_.meta={name:"markAiSummaryRead",key:"createActionMarkAiSummaryRead",description:"Mark when a summary has been viewed"};let p=(0,n.Ay)("Set AI summary status to error");p.meta={name:"setAiSummaryToError",key:"createActionSetAiSummaryToError",description:"Set AI summary status to error"};let h=(0,n.Ay)("Marks a thread banner as having been dismissed for a given latestReplyTs");h.meta={name:"setAiSummaryOriginTabAndWindowId",key:"createActionSetAiSummaryOriginTabAndWindowId",description:"Marks a thread banner as having been dismissed for a given latestReplyTs"};let g=(0,n.Ay)("Remove search summary from the store");g.meta={name:"removeSearchSummary",key:"createActionRemoveSearchSummary",description:"Remove search summary from the store"};let A=(0,n.Ay)("Remove AI summary from the store");A.meta={name:"removeAiSummary",key:"createActionRemoveAiSummary",description:"Remove AI summary from the store"};let b=(0,n.Ay)("Set current step of the Slack AI NUX tour");b.meta={name:"setSlackAiNuxStep",key:"createActionSetSlackAiNuxStep",description:"Set current step of the Slack AI NUX tour"};let y=(0,n.Ay)("Change search summary status to in progress");y.meta={name:"setSearchSummaryToInProgress",key:"createActionSetSearchSummaryToInProgress",description:"Change search summary status to in progress"};let S=(0,n.Ay)("Sets channels marked to digest");S.meta={name:"setDigestChannels",key:"createActionSetDigestChannels",description:"Sets channels marked to digest"};let E=(0,n.Ay)("Sets unread recap channels since the last timestamp");E.meta={name:"setRecapUnreadChannels",key:"createActionSetRecapUnreadChannels",description:"Sets unread recap channels since the last timestamp"};let k=(0,n.Ay)("Sets recap refreshed frontend state to display updated tag");k.meta={name:"setHasRefreshedRecap",key:"createActionSetHasRefreshedRecap",description:"Sets recap refreshed frontend state to display updated tag"};let T=(0,n.Ay)("Sets channel marked to digest or not");T.meta={name:"setDigestChannel",key:"createActionSetDigestChannel",description:"Sets channel marked to digest or not"};let I=(0,n.Ay)("Sets a removing state for a channel");I.meta={name:"setRemovingDigestChannel",key:"createActionSetRemovingDigestChannel",description:"Sets a removing state for a channel"};let w=(0,n.Ay)("Adds specified channels as marked to digest. Does not remove other channels as marked.");w.meta={name:"addDigestChannels",key:"createActionAddDigestChannels",description:"Adds specified channels as marked to digest. Does not remove other channels as marked."};let C=(0,n.Ay)("Removes specified channels as marked to digest.");C.meta={name:"removeDigestChannels",key:"createActionRemoveDigestChannels",description:"Removes specified channels as marked to digest."};let v=(0,n.Ay)("Sets whether digest is paused due to inactivity");v.meta={name:"setIsRecapPausedForInactivity",key:"createActionSetIsRecapPausedForInactivity",description:"Sets whether digest is paused due to inactivity"};let x=(0,n.Ay)("Sets whether digest is empty or stale");x.meta={name:"setIsRecapStaleOrEmpty",key:"createActionSetIsRecapStaleOrEmpty",description:"Sets whether digest is empty or stale"};let R=(0,n.Ay)("Sets Next Daily Digest Time");R.meta={name:"setNextDailyDigestTime",key:"createActionSetNextDailyDigestTime",description:"Sets Next Daily Digest Time"};let O=(0,n.Ay)("Sets selected daily digest");O.meta={name:"setSelectedDailyDigest",key:"createActionSetSelectedDailyDigest",description:"Sets selected daily digest"};let N=(0,n.Ay)("Set read state for channel digests");N.meta={name:"setChannelDigestsReadStates",key:"createActionSetChannelDigestsReadStates",description:"Set read state for channel digests"};let D=(0,n.Ay)("Add or replace one channel digest inside the current daily digest");D.meta={name:"upsertChannelDigest",key:"createActionUpsertChannelDigest",description:"Add or replace one channel digest inside the current daily digest"};let L=(0,n.Ay)("Set daily digest read state");L.meta={name:"setDailyDigestReadState",key:"createActionSetDailyDigestReadState",description:"Set daily digest read state"};let M=(0,n.Ay)("Set if daily digest is loading");M.meta={name:"setIsDailyDigestLoading",key:"createActionSetIsDailyDigestLoading",description:"Set if daily digest is loading"};let F=(0,n.Ay)("Set if digested channels are loading");F.meta={name:"setAreDigestedChannelsLoading",key:"createActionSetAreDigestedChannelsLoading",description:"Set if digested channels are loading"};let P=(0,n.Ay)("Set if we are waiting for an the on-demand digest, as part of onboarding");P.meta={name:"setIsWaitingForInitialDigest",key:"createActionSetIsWaitingForInitialDigest",description:"Set if we are waiting for an the on-demand digest, as part of onboarding"};let U=(0,n.Ay)("Set if we are waiting for a recap refresh");U.meta={name:"setIsWaitingForRecapRefresh",key:"createActionSetIsWaitingForRecapRefresh",description:"Set if we are waiting for a recap refresh"};let B=(0,n.Ay)("Set if we are waiting for a channel recap refresh");B.meta={name:"addRecapRefreshingChannel",key:"createActionAddRecapRefreshingChannel",description:"Set if we are waiting for a channel recap refresh"};let G=(0,n.Ay)("Remove channel from refresh loading state");G.meta={name:"removeRecapRefreshingChannel",key:"createActionRemoveRecapRefreshingChannel",description:"Remove channel from refresh loading state"};let H=(0,n.Ay)("Reinitializes properties related to daily digest");H.meta={name:"resetDigests",key:"createActionResetDigests",description:"Reinitializes properties related to daily digest"};let W=(0,n.Ay)("Set if we should show the banner after a user adds channels to digest via recommender modal");W.meta={name:"setShouldShowAddedChannelsDigestBanner",key:"createActionSetShouldShowAddedChannelsDigestBanner",description:"Set if we should show the banner after a user adds channels to digest via recommender modal"};let V=(0,n.Ay)("Set if the user skipped setting up recap");V.meta={name:"setRecapSkippedSetup",key:"createActionSetRecapSkippedSetup",description:"Set if the user skipped setting up recap"};let j=(0,n.Ay)("Set if the user closed the onboarding banner");j.meta={name:"setIsRecapOnboardingBannerClosed",key:"createActionSetIsRecapOnboardingBannerClosed",description:"Set if the user closed the onboarding banner"};let K=(0,n.Ay)("Set if the user has seen the celebration for a digest ID");K.meta={name:"setRecapCelebrationSeen",key:"createActionSetRecapCelebrationSeen",description:"Set if the user has seen the celebration for a digest ID"};let q=(0,n.Ay)("Set if the preview recap should be hidden from the user");q.meta={name:"setShouldHidePreviewRecap",key:"createActionSetShouldHidePreviewRecap",description:"Set if the preview recap should be hidden from the user"};let z=(0,n.Ay)("Set toggle state of search answer");z.meta={name:"setIsSearchTopicCollapsed",key:"createActionSetIsSearchTopicCollapsed",description:"Set toggle state of search answer"};let $=(0,n.Ay)("Change channel summarize button to highlighted and pulsing");$.meta={name:"setIsChannelButtonPulsingAndHighlighted",key:"createActionSetIsChannelButtonPulsingAndHighlighted",description:"Change channel summarize button to highlighted and pulsing"};let Y=(0,n.Ay)("Set channel summarize button pulsing flag to false");Y.meta={name:"stopChannelButtonPulsing",key:"createActionStopChannelButtonPulsing",description:"Set channel summarize button pulsing flag to false"};let Q=(0,n.Ay)("Set channel summarize button highlighted flag to false");Q.meta={name:"turnOffChannelButtonHighliting",key:"createActionTurnOffChannelButtonHighliting",description:"Set channel summarize button highlighted flag to false"};let Z=(0,n.Ay)("Set isExpanded value on a summary/digest topic");Z.meta={name:"setSummaryTopicIsExpandedValue",key:"createActionSetSummaryTopicIsExpandedValue",description:"Set isExpanded value on a summary/digest topic"};let J=(0,n.Ay)("Set channel ID for the digest added channel coachmark");J.meta={name:"setDigestAddedChannelCoachmarkChannelId",key:"createActionSetDigestAddedChannelCoachmarkChannelId",description:"Set channel ID for the digest added channel coachmark"};let X=(0,n.Ay)("Set huddle nux IDs for which NUX label was rendered");X.meta={name:"setHuddleNuxCallIds",key:"createActionSetHuddleNuxCallIds",description:"Set huddle nux IDs for which NUX label was rendered"};let ee=(0,n.Ay)("Set hasStreamingAnimationFinished to true");ee.meta={name:"markStreamingAnimationFinished",key:"createActionMarkStreamingAnimationFinished",description:"Set hasStreamingAnimationFinished to true"};let et=(0,n.Ay)("Set whether to show a banner announcing that a huddle summary will be posted soon");et.meta={name:"setShowHuddleSummaryPendingBanner",key:"createActionSetShowHuddleSummaryPendingBanner",description:"Set whether to show a banner announcing that a huddle summary will be posted soon"};let ea=(0,n.Ay)("Set channel ids recommended for a user to subscribe to recap");ea.meta={name:"setRecommendedChannelIds",key:"createActionSetRecommendedChannelIds",description:"Set channel ids recommended for a user to subscribe to recap"};let en=(0,n.Ay)("Sets whether or not a thread is auto-summarized");en.meta={name:"setAutoSummaryForThread",key:"createActionSetAutoSummaryForThread",description:"Sets whether or not a thread is auto-summarized"};let er=(0,n.Ay)("Set canvas section content with sections prepared to insert");er.meta={name:"setCanvasPreviewContent",key:"createActionSetCanvasPreviewContent",description:"Set canvas section content with sections prepared to insert"};let ei=(0,n.Ay)("Insert content into the document");ei.meta={name:"setCanvasUpdateStep",key:"createActionSetCanvasUpdateStep",description:"Insert content into the document"};let eo=(0,n.Ay)("Sets the selected third party sources to regenerate the summary with");eo.meta={name:"setSelectedSources",key:"createActionSetSelectedSources",description:"Sets the selected third party sources to regenerate the summary with"};let es=(0,n.Ay)("Sets whether to include Slack messages and files as sources to regenerate the AI summary");es.meta={name:"setIncludeSlackSources",key:"createActionSetIncludeSlackSources",description:"Sets whether to include Slack messages and files as sources to regenerate the AI summary"};let el=(0,n.Ay)("Sets whether to include Salesforce source to regenerate the AI summary");el.meta={name:"setIncludeSalesforceSource",key:"createActionSetIncludeSalesforceSource",description:"Sets whether to include Salesforce source to regenerate the AI summary"};let ec=(0,n.Ay)("Sets whether the user is submitting a regenerate request");ec.meta={name:"setIsSubmittingRegenerateRequest",key:"createActionSetIsSubmittingRegenerateRequest",description:"Sets whether the user is submitting a regenerate request"};let ed=(0,n.Ay)("Sets suggested summary topics for unread MPDMs");ed.meta={name:"setAiSuggestedTopic",key:"createActionSetAiSuggestedTopic",description:"Sets suggested summary topics for unread MPDMs"};let eu=(0,n.Ay)("Sets the last submitted sources for AI summary generation");eu.meta={name:"setLastSubmittedSources",key:"createActionSetLastSubmittedSources",description:"Sets the last submitted sources for AI summary generation"};let em=(0,n.Ay)("Sets the last used external app filters for AI summary generation");em.meta={name:"setLastSubmittedFilters",key:"createActionSetLastSubmittedFilters",description:"Sets the last used external app filters for AI summary generation"};let ef=(0,n.Ay)("Set session ID for file ID");ef.meta={name:"setCurrentCanvasContentCreationSessionId",key:"createActionSetCurrentCanvasContentCreationSessionId",description:"Set session ID for file ID"};let e_=(0,n.Ay)("Update part or all of the canvas content session");e_.meta={name:"updateCanvasContentSession",key:"createActionUpdateCanvasContentSession",description:"Update part or all of the canvas content session"};let ep=(0,n.Ay)("Initiate a canvas content creation session");ep.meta={name:"initiateCanvasContentCreationSession",key:"createActionInitiateCanvasContentCreationSession",description:"Initiate a canvas content creation session"};let eh=(0,n.Ay)("Update completed canvas content creation");eh.meta={name:"updateCompletedCanvasContentCreationResult",key:"createActionUpdateCompletedCanvasContentCreationResult",description:"Update completed canvas content creation"};let eg=(0,n.Ay)("Insert new complete canvas content");eg.meta={name:"insertCompletedCanvasContentCreationResult",key:"createActionInsertCompletedCanvasContentCreationResult",description:"Insert new complete canvas content"};let eA=(0,n.Ay)("Remove AI canvas content from the store");eA.meta={name:"removeCanvasContent",key:"createActionRemoveCanvasContent",description:"Remove AI canvas content from the store"};let eb=(0,n.Ay)("Add a prompt to the canvas content creation session`s prompt history");eb.meta={name:"addPromptToCanvasContentCreationSessionPromptHistory",key:"createActionAddPromptToCanvasContentCreationSessionPromptHistory",description:"Add a prompt to the canvas content creation session`s prompt history"};let ey=(0,n.Ay)("Remove canvas content creation session from the store");ey.meta={name:"removeCanvasContentCreationSession",key:"createActionRemoveCanvasContentCreationSession",description:"Remove canvas content creation session from the store"};let eS=(0,n.Ay)("Set whether the channel summary coachmark is eligible to be shown");eS.meta={name:"setChannelSummaryNuxCoachmarkEligible",key:"createActionSetChannelSummaryNuxCoachmarkEligible",description:"Set whether the channel summary coachmark is eligible to be shown"};let eE=(0,n.Ay)("Set whether the channel summary coachmark should be shown");eE.meta={name:"setForceShowChannelSummaryNuxCoachmark",key:"createActionSetForceShowChannelSummaryNuxCoachmark",description:"Set whether the channel summary coachmark should be shown"};let ek=(0,n.Ay)("Set data pertaining to channel join reason");ek.meta={name:"setChannelJoinReasonData",key:"createActionSetChannelJoinReasonData",description:"Set data pertaining to channel join reason"};let eT=(0,n.Ay)("Set welcome message index for channel join title variation");eT.meta={name:"setChannelJoinWelcomeMessageIndex",key:"createActionSetChannelJoinWelcomeMessageIndex",description:"Set welcome message index for channel join title variation"};let eI=(0,n.Ay)("Set loading state for channel join reason");eI.meta={name:"setChannelJoinReasonLoading",key:"createActionSetChannelJoinReasonLoading",description:"Set loading state for channel join reason"};let ew=(0,n.Ay)("Set error state for channel join reason");ew.meta={name:"setChannelJoinReasonError",key:"createActionSetChannelJoinReasonError",description:"Set error state for channel join reason"};let eC=(0,n.Ay)("Set inviter ID for channel join");eC.meta={name:"setChannelJoinInviterId",key:"createActionSetChannelJoinInviterId",description:"Set inviter ID for channel join"};let ev=(0,n.Ay)("Sets ai summary id for today");ev.meta={name:"setAiSummaryIdForToday",key:"createActionSetAiSummaryIdForToday",description:"Sets ai summary id for today"};let ex=(0,n.Ay)("Sets real time recap nux step");ex.meta={name:"setCurrentRealTimeRecapNuxStep",key:"createActionSetCurrentRealTimeRecapNuxStep",description:"Sets real time recap nux step"};let eR=(0,n.Ay)("Sets remaining AI search samples for testing");eR.meta={name:"setRemainingAiSearchSamples",key:"createActionSetRemainingAiSearchSamples",description:"Sets remaining AI search samples for testing"};let eO=(0,n.Ay)("Sets visibility state of huddle summary banners");eO.meta={name:"setShowHuddleSummaryBannerVisibility",key:"createActionSetShowHuddleSummaryBannerVisibility",description:"Sets visibility state of huddle summary banners"}},0x20c23cf7a:(e,t,a)=>{"use strict";a.d(t,{uO:()=>isAiChannelExclusionsEnabled,sE:()=>isAiFileSummariesEnabledRule,eR:()=>isAiFileSummariesUserSettingsEnabled,Vf:()=>isAiHuddleNotesEnabledRule,hS:()=>isAiRecapEnabledRule,Sl:()=>isAiSearchEnabledRule,Lq:()=>isAiSummaryFilesInSRPEnabled,En:()=>isAiWebSearchEnabled,AV:()=>isAnySlackAiFeatureEnabledRule,Jd:()=>isChannelThreadSummariesEnabledRule,JJ:()=>isFlowOfWorkAiChannelJoinEnabled,OT:()=>isInDevelopmentAiFeatureEnabled,Pt:()=>isNativeAiTranslationsEnabled,YX:()=>isRealTimeRecapEnabled,mI:()=>isRelatedMatchLabelForSemanticSearchFilesEnabled,EA:()=>isRestructureAiFeedbackModalEnabled,jn:()=>isSearchAiClientStreamingEnabled,Nk:()=>isSearchFeedbackButtonsStyleEnabled,VK:()=>isSearchTipBannerEnabled,FZ:()=>isSlackAiActionItemsUserSettingEnabled,FV:()=>isSlackAiActivityActionItemsEnabled,x6:()=>isSlackAiDmActionItemsEnabled,TP:()=>isSlackAiNuxEnabled,PI:()=>isSlackAiPersonalizedChannelSummaryEnabled,Z2:()=>isSlackAiPnpNuxEnabled,nS:()=>isSlackAiPreviewUpdateEnabled,e$:()=>isSlackAiPriorityActionItemsEnabled,Xn:()=>isSlackAiPriorityActionItemsInternalEnabled,nU:()=>isSlackAiRecapBackgroundAnimationEnabled,d2:()=>isSlackAiSuggestedTopicsEnabled,Fb:()=>isSlackAiSummaryLoadingStateV2Enabled,UM:()=>isSlackbotAiBundleToolCallsEnabled,vI:()=>isSlackbotEnabledRule,DB:()=>isThreadSummarizerEnabled,kj:()=>isTodayTopicsPlaygroundEnabled,MM:()=>isUnreadSummaryPillNewEnabled});var n=a(0x18dac2b8e),r=a(0xbe2be077),i=a(0x8cc877c4),o=a(0x1655a8085),s=a(0xb1f0729f),l=a(0x1d600678),c=a(0x1ccef1c6f),d=a(0x1b9d5cc0c),u=a(0x1cf0d97e1),m=a(0xe684f705);let f=(0,u.Ay)(e=>(0,d.Me)((0,m.cA)(e))&&!(0,l.x)(e,"slack_ai_opt_out"));f.meta={name:"isSlackAiEnabled",key:"createSelectorIsSlackAiEnabled",description:e=>(0,d.Me)((0,m.cA)(e))&&!(0,l.x)(e,"slack_ai_opt_out")};var _=a(0x14149c126),p=a(0xd0eb5473),h=a(0xe4af74fc),g=a(0x18c8cd9b1);function checkPermissionUrlOverride(e){if(!(0,n.Cu)())return!1;try{let t=new URL(window.location.href).searchParams.get("force_ai_permissions");if(t)return t.split(",").map(e=>`ACCESS_SLACK_AI_${e.toUpperCase()}`).includes(e)}catch{}return!1}function isSlackAiNuxEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_nux")&&f(e)}function isChannelThreadSummariesEnabledRule(e){return(0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_CHANNEL_THREAD_SUMMARIES}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_CHANNEL_THREAD_SUMMARIES)}function isSlackAiPersonalizedChannelSummaryEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_personalize_channel_summary")}function isNativeAiTranslationsEnabled(e){return"on"===(0,_._Z)(e,"native_ai_translations")}function isAiRecapEnabledRule(e){return(0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_RECAP}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_RECAP)}function isAiSearchEnabledRule(e){return(0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_SEARCH}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_SEARCH)}function isSlackAiRecapBackgroundAnimationEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_recap_background_animation")}function isSlackAiActivityActionItemsEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_activity_action_items")&&!(0,c.ty)(e,"slack_ai_action_items_disabled")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_ACTION_ITEMS}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_ACTION_ITEMS))}function isSlackAiActionItemsUserSettingEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_activity_action_items")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_ACTION_ITEMS}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_ACTION_ITEMS))}function isAiFileSummariesEnabledRule(e){return!(0,c.ty)(e,"slack_ai_file_summary_disabled")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_FILE_SUMMARIES}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_FILE_SUMMARIES))}function isAiFileSummariesUserSettingsEnabled(e){return(0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_FILE_SUMMARIES}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_FILE_SUMMARIES)}function isRestructureAiFeedbackModalEnabled(e){return"on"===(0,_._Z)(e,"restructure_ai_feedback_modal")}function isSearchFeedbackButtonsStyleEnabled(e){return"treatment"===(0,_._Z)(e,"search_feedback_buttons_style")}function isSlackAiPreviewUpdateEnabled(e){return isInDevelopmentAiFeatureEnabled(e)&&"on"===(0,_._Z)(e,"slack_ai_preview_update")}function isSlackAiSuggestedTopicsEnabled(e){return isInDevelopmentAiFeatureEnabled(e)&&"on"===(0,_._Z)(e,"slack_ai_suggested_topics")}function isRealTimeRecapEnabled(e){return"on"===(0,_._Z)(e,"real_time_recap")&&!!(0,c.ty)(e,"real_time_recap_enabled")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_RECAP}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_RECAP))}function isSlackAiDmActionItemsEnabled(e){return"on"===(0,_._Z)(e,"slack_ai_dm_action_items")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_ACTION_ITEMS}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_ACTION_ITEMS))}let isAiHuddleNotesEnabledRule=e=>{let t=(0,r.k)(e),a=t?(0,s.D1)(e,"allow_huddles_transcriptions")??(0,s.SI)(e,"allow_huddles_transcriptions"):(0,l.x)(e,"allow_huddles_transcriptions");return(t?"full"===(0,s.SI)(e,"allow_spaceship"):(0,i.r)(e))&&!!a&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_HUDDLE_SUMMARIES}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_HUDDLE_SUMMARIES))};function isInDevelopmentAiFeatureEnabled(e){return(0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_DEVELOPMENT}))}function isAnySlackAiFeatureEnabledRule(e){return isChannelThreadSummariesEnabledRule(e)||isNativeAiTranslationsEnabled(e)||isAiRecapEnabledRule(e)||isAiSearchEnabledRule(e)||isSlackAiActivityActionItemsEnabled(e)||isAiFileSummariesEnabledRule(e)||isAiHuddleNotesEnabledRule(e)}function isSlackAiPnpNuxEnabled(e){return isAnySlackAiFeatureEnabledRule(e)&&"on"===(0,_._Z)(e,"pnp_slack_ai_nux")}function isThreadSummarizerEnabled(e){return(0,g.d)(e)&&isChannelThreadSummariesEnabledRule(e)}function isSlackAiPriorityActionItemsEnabled(e){return isSlackAiActivityActionItemsEnabled(e)&&"on"===(0,_._Z)(e,"slack_ai_priority_action_items")}function isSlackAiPriorityActionItemsInternalEnabled(e){return isSlackAiPriorityActionItemsEnabled(e)&&"on"===(0,_._Z)(e,"slack_ai_priority_action_items_internal")}function isFlowOfWorkAiChannelJoinEnabled(e){return"on"===(0,_._Z)(e,"flow_of_work_ai_channel_join")&&isChannelThreadSummariesEnabledRule(e)}function isUnreadSummaryPillNewEnabled(e){return"on"===(0,_._Z)(e,"unread_summary_pill_new")&&isChannelThreadSummariesEnabledRule(e)}function isSlackAiSummaryLoadingStateV2Enabled(e){return"on"===(0,_._Z)(e,"slack_ai_summary_loading_state_v2")}function isTodayTopicsPlaygroundEnabled(e){return"on"===(0,_._Z)(e,"today_topics_playground")}function isSlackbotEnabledRule(e){return"on"===(0,_._Z)(e,"slackbot_ai_next")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_SLACKBOT}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_SLACKBOT))}function isSearchTipBannerEnabled(e){return"treatment"===(0,_._Z)(e,"search_tip_banner")}function isAiChannelExclusionsEnabled(e){return"on"===(0,_._Z)(e,"ai_channel_exclusions")}function isRelatedMatchLabelForSemanticSearchFilesEnabled(e){return"on"===(0,_._Z)(e,"related_match_label_for_semantic_search_files")}function isAiSummaryFilesInSRPEnabled(e){return"on"===(0,_._Z)(e,"ai_summary_files_in_srp")}function isSearchAiClientStreamingEnabled(e){return"treatment"===(0,_._Z)(e,"search_ai_client_streaming")}function isSlackbotAiBundleToolCallsEnabled(e){return"on"===(0,_._Z)(e,"slackbot_ai_bundle_tool_calls")}function isAiWebSearchEnabled(e){return"on"===(0,_._Z)(e,"web_search_feature")&&((0,p.Jr)((0,h.tA)(e,{permission:o.p.ACCESS_SLACK_AI_WEB_SEARCH}))||checkPermissionUrlOverride(o.p.ACCESS_SLACK_AI_WEB_SEARCH))}},0x2406b591:(e,t,a)=>{"use strict";a.d(t,{Az:()=>msgIsSummarizable,PO:()=>mapSummaryTopics,fp:()=>getLastSummarizableMessageTs,pl:()=>getNewMessageCountSinceSummary});var n=a(0xe747dd27),r=a(0x21d6ed371),i=a(0x203beba52),o=a(0xd2efd513),s=a(0x1337d9fa2),l=a(0x105ecbbed),c=a(0xc561af5),d=a(0xd93ecf94),u=a(0x20aae6d9e);let msgIsSummarizable=(e,t)=>e&&!(0,i.A)(e.subtype)&&!(0,r.aw)(e)&&!(0,r.xh)(e)&&!e.no_display&&(t||!e._hidden_reply)&&!(0,u.D)(e)&&!(0,s.aK)(e)&&!(0,o.A)(e),getNewMessageCountSinceSummary=(e,{channelId:t,threadTs:a,summaryEndTs:n})=>{if(!a||!n)return 0;let r=(0,l.Iu)(t,a),i=(0,c.tp)(e,r),o=i?.timestamps||[],s=parseFloat(n),u=0;for(let a of o)parseFloat(a)>s&&msgIsSummarizable((0,d.Ld)(e,t,a,!1),!0)&&(u+=1);return u},getLastSummarizableMessageTs=(e,{channelId:t,threadTs:a})=>{let n=a?(0,l.Iu)(t,a):t;if(!n)return null;let r=(0,c.r7)(e,n);if(!r||!r.reachedEnd||!r.timestamps)return null;let i=null;for(let n=r.timestamps.length-1;n>=0;n--){let o=(0,d.Ld)(e,t,r.timestamps[n],!1);if(msgIsSummarizable(o,!!a)){i=o;break}}return i?.ts??null};function mapSummaryTopics(e){return e?e.map(e=>{let t=e.blocks,a=(e.files||[]).map(e=>e);return{...(0,n.XK)({...e,blocks:void 0}),blocks:t,files:a}}):e}},0x365a4cc3:(e,t,a)=>{"use strict";a.d(t,{$7:()=>eG,$P:()=>ez,$T:()=>ej,$X:()=>eH,$h:()=>eZ,A1:()=>ek,Av:()=>td,Bt:()=>eO,D3:()=>tc,Dc:()=>eb,FN:()=>e0,Fo:()=>ep,G0:()=>eq,GT:()=>e_,Gf:()=>eB,HH:()=>ev,IR:()=>eU,JU:()=>er,Ke:()=>e8,LI:()=>eF,Ld:()=>ec,MV:()=>ed,OL:()=>eJ,Pg:()=>eD,Pq:()=>em,Py:()=>eK,Qk:()=>eA,Qt:()=>e9,T7:()=>el,Tz:()=>eC,UZ:()=>tf,Vu:()=>q,Vy:()=>Z,W1:()=>e4,XU:()=>e7,Xh:()=>e$,YF:()=>eI,Zl:()=>eV,_D:()=>es,_d:()=>e2,aV:()=>tm,b5:()=>eM,cP:()=>tr,eE:()=>ts,fI:()=>e6,fc:()=>ew,fp:()=>Q,i1:()=>en,ip:()=>ex,jU:()=>e1,k8:()=>ta,lE:()=>tu,lL:()=>t_,lT:()=>eE,mM:()=>eW,n0:()=>tt,nc:()=>ea,nh:()=>et,p2:()=>eu,q$:()=>z,qK:()=>e3,qQ:()=>eS,qw:()=>eR,r3:()=>to,rV:()=>eo,r_:()=>getHasExistingSummaryAvailable,rm:()=>tl,rt:()=>e5,sK:()=>eY,sz:()=>eX,t7:()=>ei,tP:()=>eh,tS:()=>Y,tl:()=>eP,tq:()=>$,ui:()=>ef,uq:()=>eg,vh:()=>ey,wn:()=>ee,wv:()=>K,xD:()=>j,xI:()=>eT,y1:()=>ti,zF:()=>eN,zp:()=>eL});var n=a(0x21f3c49e8),r=a(0x9e671ad),i=a(0xc9c97240),o=a(0xbe0b63ff),s=a(0x1f355b555),l=a(0x1df96de4c),c=a(0x1ae0f3789),d=a(0x1ec69ee01),u=a(0x12185e091),m=a(0x1ecc7f772),f=a(0x280afe13),_=a(0x19d55d0e1),p=a(0x245dcaf6b),h=a(0x21dd74f4c),g=a(0xf6ed6f31),A=a(0x21d85d6e5),b=a(0x1781c9bc2),y=a(0x158809687),S=a(0x1902586d8),E=a(0x105ecbbed),k=a(0x6960d8b9),T=a(0x20736dc5b),I=a(0x1cf0d97e1),w=a(0x1d600678),C=a(0x1ccef1c6f),v=a(0xdf55e8f3),x=a(0x20c23cf7a),R=a(0x2406b591),O=a(0x1f48e3aa4),N=a(0x19c76d181),D=a(0xc561af5),L=a(0x217553e42),M=a(0xe1b4a9f),F=a(0x196ee8604),P=a(0xb9604b6),U=a(0x5b1935a6),B=a(0xe684f705),G=a(0xd93ecf94),H=a(0x1ee439e69),W=a(0x19895585a),V=a(0x9271cc31);(0,I.Ay)(e=>e?.aiSummary?.summaryById).meta={name:"getAiSummaries",key:"createSelectorGetAiSummaries",description:e=>e?.aiSummary?.summaryById};let j=(0,I.Ay)((e,{id:t})=>e?.aiSummary?.summaryById[t]);j.meta={name:"getAiSummaryById",key:"createSelectorGetAiSummaryById",description:(e,{id:t})=>e?.aiSummary?.summaryById[t]};let K=(0,I.Ay)((e,{entityId:t})=>Object.values(e?.aiSummary?.summaryById||{}).find(e=>e.entityId===t));K.meta={name:"getAiSummaryByEntityId",key:"createSelectorGetAiSummaryByEntityId",description:(e,{entityId:t})=>Object.values(e?.aiSummary?.summaryById||{}).find(e=>e.entityId===t)};let q=(0,I.Ay)((e,{id:t})=>e?.aiSummary?.searchSummaryById[t]);q.meta={name:"getSearchSummaryById",key:"createSelectorGetSearchSummaryById",description:(e,{id:t})=>e?.aiSummary?.searchSummaryById[t]};let z=(0,v.eI)((e,{channelId:t,threadTs:a})=>{let n=Object.values(e?.aiSummary?.summaryById||{}).filter(e=>void 0!==e&&e.channelId===t&&!!e.concurrentSummaryId&&(e.type===O.Tj.Thread?!!a&&e.threadTs===a:e.type===O.Tj.Channel&&!a));return n.length?n.sort((e,t)=>{let a=(e.promptVariants?.length??0)>0,n=(t.promptVariants?.length??0)>0;return!a&&n?-1:a&&!n?1:0}):l.Ml});(0,I.Ay)((e,{summaryId:t})=>{let a=e?.aiSummary?.summaryById[t];if(a?.concurrentSummaryId)return e?.aiSummary?.summaryById[a.concurrentSummaryId]}).meta={name:"getConcurrentSummaryPair",key:"createSelectorGetConcurrentSummaryPair",description:(e,{summaryId:t})=>{let a=e?.aiSummary?.summaryById[t];if(a?.concurrentSummaryId)return e?.aiSummary?.summaryById[a.concurrentSummaryId]}};let $=(0,I.Ay)(e=>{let t,a=e?.aiSummary?.currentQuerySessionId;return a?(Object.values(e?.aiSummary?.searchSummaryById||{}).forEach(e=>{e.clientReqId===a&&(!t||e.timeStarted>t.timeStarted)&&(t=e)}),t?.id||null):null});$.meta={name:"getCurrentSearchSummaryId",key:"createSelectorGetCurrentSearchSummaryId",description:e=>{let t,a=e?.aiSummary?.currentQuerySessionId;return a?(Object.values(e?.aiSummary?.searchSummaryById||{}).forEach(e=>{e.clientReqId===a&&(!t||e.timeStarted>t.timeStarted)&&(t=e)}),t?.id||null):null}};let Y=(0,I.Ay)(e=>!(0,w.x)(e,"slack_ai_feedback_opt_out"));Y.meta={name:"shouldShowFeedbackButtons",key:"createSelectorShouldShowFeedbackButtons",description:e=>!(0,w.x)(e,"slack_ai_feedback_opt_out")};let Q=(0,I.Ay)((e,{channelId:t,threadTs:a})=>(0,R.fp)(e,{channelId:t,threadTs:a}));Q.meta={name:"getLastSummarizableMessageTs",key:"createSelectorGetLastSummarizableMessageTs",description:(e,{channelId:t,threadTs:a})=>(0,R.fp)(e,{channelId:t,threadTs:a})};let Z=(0,I.Ay)((e,{type:t,channelId:a,subtype:n,unreadTs:r,threadTs:i})=>{let o=e?.aiSummary?.summaryById;if(!o)return null;let s=null,l=null;if(t===O.Tj.Recap){let e=Object.values(o).filter(e=>e.type===O.Tj.Recap&&e.channelId===a),t=e.find(e=>e.status===O.nM.InProgress);if(t)return t;let n=e.filter(e=>e.status===O.nM.Complete).sort((e,t)=>(t.timeStarted??0)-(e.timeStarted??0))?.[0];if(n)return n}return Object.values(o).find(o=>o.channelId===a&&o.type===t&&(t===O.Tj.Channel&&!!n&&o.subtype===n&&!!o.lastTs&&(s||(s=Q(e,{channelId:a})),o.subtype===O.KY.Unreads&&!!r&&o.unreadTs===r&&o.lastTs===s||o.subtype===O.KY.Week&&o.lastTs===s)||t===O.Tj.Channel&&!!n&&o.subtype===n&&o.subtype===O.KY.ChannelJoin||t===O.Tj.Thread&&!!i&&i===o.threadTs&&(l||(l=Q(e,{channelId:a,threadTs:i})),!!o.lastTs&&o.lastTs===l)||!1))});Z.meta={name:"getAiSummaryByContext",key:"createSelectorGetAiSummaryByContext",description:(e,{type:t,channelId:a,subtype:n,unreadTs:r,threadTs:i})=>{let o=e?.aiSummary?.summaryById;if(!o)return null;let s=null,l=null;if(t===O.Tj.Recap){let e=Object.values(o).filter(e=>e.type===O.Tj.Recap&&e.channelId===a),t=e.find(e=>e.status===O.nM.InProgress);if(t)return t;let n=e.filter(e=>e.status===O.nM.Complete).sort((e,t)=>(t.timeStarted??0)-(e.timeStarted??0))?.[0];if(n)return n}return Object.values(o).find(o=>o.channelId===a&&o.type===t&&(t===O.Tj.Channel&&!!n&&o.subtype===n&&!!o.lastTs&&(s||(s=Q(e,{channelId:a})),o.subtype===O.KY.Unreads&&!!r&&o.unreadTs===r&&o.lastTs===s||o.subtype===O.KY.Week&&o.lastTs===s)||t===O.Tj.Channel&&!!n&&o.subtype===n&&o.subtype===O.KY.ChannelJoin||t===O.Tj.Thread&&!!i&&i===o.threadTs&&(l||(l=Q(e,{channelId:a,threadTs:i})),!!o.lastTs&&o.lastTs===l)||!1))}};let J=(0,v.eI)(e=>{let t=e?.aiSummary?.summaryById;return t?Object.values(t).filter(({type:e})=>e===O.Tj.Thread):l.Ml}),X=(0,i.Mz)([J,(e,t)=>t],(e,{channelId:t,threadTs:a})=>e?.filter(e=>e.channelId===t&&e.threadTs===a)||l.Ml),ee=(0,i.Mz)([(e,t)=>X(e,t)],e=>e.length?e.reduce(({mostRecentSummary:e,mostRecentSummaryDate:t},a)=>{if(a.lastTs){let e=(0,k.$4)(a.lastTs);if((0,k.ez)(e,t,{useFractionalUnits:!0})>0)return{mostRecentSummary:a,mostRecentSummaryDate:e}}return{mostRecentSummary:e,mostRecentSummaryDate:t}},{mostRecentSummary:e[0],mostRecentSummaryDate:(0,k.$4)(e[0].lastTs)}).mostRecentSummary:null),et=(0,I.Ay)((e,{channelId:t,getSiblingViewWithUiState:a,minimumUnreadCount:n=1})=>{let r;if(!t)return null;let i=(0,L.OL)(e,t);if(!(0,g.bl)(i))return null;let o=a(e,{container:W.mq.Primary}),s=(0,T.e)(e,{windowId:W.N2,container:W.mq.Primary,isSplitView:!1}),l=o?.id===t&&s?.ghostLastRead,c=(0,d._V)(e,i),u="";if(!(u=l&&c?parseFloat(l)<parseFloat(c)?l:c:l||c))return null;let m=(0,D.tp)(e,i.id,u)?.timestamps||[],f=parseFloat(u),_=0;for(let a=0;a<m.length;a++){let i=m[a],o=(0,G.Ld)(e,t,i,!1);if(parseFloat(i)>f&&o&&(0,R.Az)(o)&&!(0,y.n)(o)&&(_+=1,r||(r=i),_>=n))return r}return null});et.meta={name:"getChannelFirstUnreadTsForAiSummary",key:"createSelectorGetChannelFirstUnreadTsForAiSummary",description:(e,{channelId:t,getSiblingViewWithUiState:a,minimumUnreadCount:n=1})=>{let r;if(!t)return null;let i=(0,L.OL)(e,t);if(!(0,g.bl)(i))return null;let o=a(e,{container:W.mq.Primary}),s=(0,T.e)(e,{windowId:W.N2,container:W.mq.Primary,isSplitView:!1}),l=o?.id===t&&s?.ghostLastRead,c=(0,d._V)(e,i),u="";if(!(u=l&&c?parseFloat(l)<parseFloat(c)?l:c:l||c))return null;let m=(0,D.tp)(e,i.id,u)?.timestamps||[],f=parseFloat(u),_=0;for(let a=0;a<m.length;a++){let i=m[a],o=(0,G.Ld)(e,t,i,!1);if(parseFloat(i)>f&&o&&(0,R.Az)(o)&&!(0,y.n)(o)&&(_+=1,r||(r=i),_>=n))return r}return null}};let ea=(0,I.Ay)((e,{channelId:t})=>{let a;if(!t)return null;let n=(0,D.r7)(e,t);if(!n||!n.reachedEnd)return null;let r=Q(e,{channelId:t});if(!r)return null;try{a=Math.round(1e3*parseFloat(r))}catch{return null}return a?a>(0,s.Ay)().subtract(7,"days").valueOf():null});ea.meta={name:"channelHasMessagesInLast7Days",key:"createSelectorChannelHasMessagesInLast7Days",description:(e,{channelId:t})=>{let a;if(!t)return null;let n=(0,D.r7)(e,t);if(!n||!n.reachedEnd)return null;let r=Q(e,{channelId:t});if(!r)return null;try{a=Math.round(1e3*parseFloat(r))}catch{return null}return a?a>(0,s.Ay)().subtract(7,"days").valueOf():null}};let en=(0,I.Ay)((e,{channelId:t,threadTs:a})=>{let n=(0,L.OL)(e,t);if(!n)return null;let r=n?(0,u.mz)(n):"",i=a?(0,G.Ld)(e,t,a,!1):void 0,o=i?(0,b.A)(e,i,!0):(0,d.Bn)({team:(0,H.H7)(e),channelId:t});if("mpim"===r)return{channelType:r,mpimName:(0,m.SB)(e,n),mpimMemberNames:(0,d.Zu)(e,t),permalink:o};if("im"===r){let t=(0,f.e)(n);return{channelType:r,imMemberName:(0,A.sE)(e,(0,B.nv)(e,t),!1,!0),permalink:o}}return{channelType:r,permalink:o}});en.meta={name:"getAiSummaryTargetData",key:"createSelectorGetAiSummaryTargetData",description:(e,{channelId:t,threadTs:a})=>{let n=(0,L.OL)(e,t);if(!n)return null;let r=n?(0,u.mz)(n):"",i=a?(0,G.Ld)(e,t,a,!1):void 0,o=i?(0,b.A)(e,i,!0):(0,d.Bn)({team:(0,H.H7)(e),channelId:t});if("mpim"===r)return{channelType:r,mpimName:(0,m.SB)(e,n),mpimMemberNames:(0,d.Zu)(e,t),permalink:o};if("im"===r){let t=(0,f.e)(n);return{channelType:r,imMemberName:(0,A.sE)(e,(0,B.nv)(e,t),!1,!0),permalink:o}}return{channelType:r,permalink:o}}};let er=(0,i.Mz)((e,{channelId:t})=>(0,u.mz)((0,L.OL)(e,t)),e=>(0,V.e6)(e),(e,t)=>({nativeAiChannelType:e?.toString(),nativeAiActiveTab:t})),ei=(0,I.Ay)(e=>(e?.aiSummary?.summariesInToast||[]).map(t=>j(e,{id:t})));ei.meta={name:"getSummariesForToast",key:"createSelectorGetSummariesForToast",description:e=>(e?.aiSummary?.summariesInToast||[]).map(t=>j(e,{id:t}))};let eo=(0,I.Ay)(e=>e?.aiSummary?.nuxTourStep);eo.meta={name:"getCurrentSlackAiNuxTourStep",key:"createSelectorGetCurrentSlackAiNuxTourStep",description:e=>e?.aiSummary?.nuxTourStep};let es=(0,I.Ay)(e=>e?.aiSummary.digestChannelsById);es.meta={name:"getDigestedChannels",key:"createSelectorGetDigestedChannels",description:e=>e?.aiSummary.digestChannelsById};let el=(0,i.Mz)(e=>es(e),e=>e&&!(0,n.A)(e)&&Object.values(e).some(e=>e)),ec=(0,i.Mz)(e=>es(e),e=>Object.values(e).filter(e=>e).length),ed=(0,i.Mz)(e=>es(e),e=>Object.keys(e).filter(t=>e[t])),eu=(0,I.Ay)((e,{channelId:t})=>!!e?.aiSummary.digestChannelsById[t]);eu.meta={name:"isChannelDigestedById",key:"createSelectorIsChannelDigestedById",description:(e,{channelId:t})=>!!e?.aiSummary.digestChannelsById[t]};let em=(0,I.Ay)(e=>e?.aiSummary.selectedDailyDigest);em.meta={name:"getSelectedDailyDigest",key:"createSelectorGetSelectedDailyDigest",description:e=>e?.aiSummary.selectedDailyDigest};let ef=(0,i.Mz)(e=>em(e),e=>e?.channelDigests?.map(e=>e.channelId)??[]),e_=(0,I.Ay)(e=>e?.aiSummary.nextDailyDigestTime);e_.meta={name:"getNextDailyDigestTime",key:"createSelectorGetNextDailyDigestTime",description:e=>e?.aiSummary.nextDailyDigestTime};let ep=(0,I.Ay)(e=>e?.aiSummary.isRecapPausedForInactivity);ep.meta={name:"getIsRecapPausedForInactivity",key:"createSelectorGetIsRecapPausedForInactivity",description:e=>e?.aiSummary.isRecapPausedForInactivity};let eh=(0,I.Ay)(e=>e?.aiSummary.isRecapStaleOrEmpty);eh.meta={name:"getIsRecapStaleOrEmpty",key:"createSelectorGetIsRecapStaleOrEmpty",description:e=>e?.aiSummary.isRecapStaleOrEmpty};let eg=(0,I.Ay)(e=>e?.aiSummary.isDailyDigestLoading);eg.meta={name:"getIsDailyDigestLoading",key:"createSelectorGetIsDailyDigestLoading",description:e=>e?.aiSummary.isDailyDigestLoading};let eA=(0,I.Ay)(e=>e?.aiSummary.areDigestedChannelsLoading);eA.meta={name:"getAreDigestedChannelsLoading",key:"createSelectorGetAreDigestedChannelsLoading",description:e=>e?.aiSummary.areDigestedChannelsLoading};let eb=(0,I.Ay)(e=>e?.aiSummary.isWaitingForInitialDigest);eb.meta={name:"getIsWaitingForInitialDigest",key:"createSelectorGetIsWaitingForInitialDigest",description:e=>e?.aiSummary.isWaitingForInitialDigest};let ey=(0,v.eI)(e=>{let t=e?.aiSummary?.unreadRecapChannels;return t?t.filter(t=>{let a=(0,L.OL)(e,t.channel_id);return(0,d.KJ)(a)}):l.Ml}),eS=(0,v.eI)(e=>{let t=e?.aiSummary?.unreadRecapChannels;return t?t.reduce((t,a)=>{let n=(0,L.OL)(e,a.channel_id);return n&&(0,d.KJ)(n)&&t.push((0,m.SB)(e,n)),t},[]):l.Ml}),eE=(0,I.Ay)(e=>e?.aiSummary.isWaitingForRecapRefresh);eE.meta={name:"getIsWaitingForRecapRefresh",key:"createSelectorGetIsWaitingForRecapRefresh",description:e=>e?.aiSummary.isWaitingForRecapRefresh};let ek=(0,I.Ay)(e=>e?.aiSummary?.hasRefreshedRecap);ek.meta={name:"getHasRefreshedRecap",key:"createSelectorGetHasRefreshedRecap",description:e=>e?.aiSummary?.hasRefreshedRecap};let eT=(0,I.Ay)(e=>e?.aiSummary.refreshingRecapChannels);eT.meta={name:"getRefreshingRecapChannels",key:"createSelectorGetRefreshingRecapChannels",description:e=>e?.aiSummary.refreshingRecapChannels};let eI=(0,I.Ay)((e,t)=>e?.aiSummary.removingDigestChannelId===t);eI.meta={name:"isRemovingDigestChannelId",key:"createSelectorIsRemovingDigestChannelId",description:(e,t)=>e?.aiSummary.removingDigestChannelId===t};let ew=(0,I.Ay)(e=>!!e?.aiSummary.selectedDailyDigest&&e?.aiSummary.selectedDailyDigest.id===e?.aiSummary.recapCelebrationSeenId);ew.meta={name:"hasRecapCelebrationBeenSeen",key:"createSelectorHasRecapCelebrationBeenSeen",description:e=>!!e?.aiSummary.selectedDailyDigest&&e?.aiSummary.selectedDailyDigest.id===e?.aiSummary.recapCelebrationSeenId};let eC=(0,i.Mz)(e=>em(e),e=>e_(e),e=>e?.aiSummary.shouldHidePreviewRecap,(e,t,a)=>e&&e.isPreview&&(a||!t)),ev=(0,i.Mz)(e=>em(e),e=>el(e),(e,t)=>e&&e?.isPreview&&!t),ex=(0,v.eI)(e=>{let t=Object.keys(es(e)).map(t=>(0,L.OL)(e,t)).filter(e=>(0,d.KJ)(e));if((0,n.A)(t))return null;let a={};return t.forEach(t=>{a[t.id]=(0,d.Ze)(e,t.id,(0,D.tp)(e,t.id)?.timestamps||[])}),a}),eR=(0,i.Mz)(e=>em(e),e=>ev(e),e=>es(e),e=>eC(e),(e,t,a,n)=>!!e&&!n&&(e?.isPreview?!e?.completed:!(!t&&e?.isPreview||e?.completed||e?.channelDigests?.every(e=>e.completed||!a[e.channelId])||0===(e?.channelDigests?.length||0)))),eO=(0,I.Ay)(e=>e?.aiSummary.shouldShowAddedChannelsDigestBanner);eO.meta={name:"getShouldShowAddedChannelsDigestBanner",key:"createSelectorGetShouldShowAddedChannelsDigestBanner",description:e=>e?.aiSummary.shouldShowAddedChannelsDigestBanner},(0,I.Ay)(e=>e?.aiSummary.recapSkippedSetup).meta={name:"getRecapSkippedSetup",key:"createSelectorGetRecapSkippedSetup",description:e=>e?.aiSummary.recapSkippedSetup};let eN=(0,I.Ay)(e=>e?.aiSummary.isRecapOnboardingBannerClosed);eN.meta={name:"getIsRecapOnboardingBannerClosed",key:"createSelectorGetIsRecapOnboardingBannerClosed",description:e=>e?.aiSummary.isRecapOnboardingBannerClosed};let eD=(0,I.Ay)((e,{id:t})=>e?.aiSummary?.searchSummaryById[t]?.topicLabels);eD.meta={name:"getSearchSummaryTopicLabels",key:"createSelectorGetSearchSummaryTopicLabels",description:(e,{id:t})=>e?.aiSummary?.searchSummaryById[t]?.topicLabels};let eL=(0,i.Mz)(e=>em(e),e=>e?.channelDigests?.reduce((e,t)=>e+(t.metadata?.messageCount||0),0)),eM=(0,I.Ay)((e,t)=>!(!t||!(0,x.Jd)(e)||(0,_.K3)(e,t)||!(0,o.uz)(t)||(0,h.G)(e,t.id)||(0,p.Zz)(t)));eM.meta={name:"canSummarizeChannel",key:"createSelectorCanSummarizeChannel",description:(e,t)=>!(!t||!(0,x.Jd)(e)||(0,_.K3)(e,t)||!(0,o.uz)(t)||(0,h.G)(e,t.id)||(0,p.Zz)(t))};let eF=(0,I.Ay)(e=>(0,x.TP)(e)&&eo(e)===O.MO.SearchExample);eF.meta={name:"shouldShowSlackAiSearchNfxBanner",key:"createSelectorShouldShowSlackAiSearchNfxBanner",description:e=>(0,x.TP)(e)&&eo(e)===O.MO.SearchExample};let eP=(0,I.Ay)(e=>e?.aiSummary.isChannelButtonHighlighted);eP.meta={name:"getIsChannelButtonHighlighted",key:"createSelectorGetIsChannelButtonHighlighted",description:e=>e?.aiSummary.isChannelButtonHighlighted};let eU=(0,I.Ay)(e=>e?.aiSummary.isChannelButtonPulsing);eU.meta={name:"getIsChannelButtonPulsing",key:"createSelectorGetIsChannelButtonPulsing",description:e=>e?.aiSummary.isChannelButtonPulsing};let eB=(0,I.Ay)(e=>(0,x.TP)(e)&&(eo(e)===O.MO.SearchAnswersCoachmark||(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_CONTEXTUAL_SEARCH_COACHMARK));eB.meta={name:"shouldShowSlackAiSearchCoachmark",key:"createSelectorShouldShowSlackAiSearchCoachmark",description:e=>(0,x.TP)(e)&&(eo(e)===O.MO.SearchAnswersCoachmark||(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_CONTEXTUAL_SEARCH_COACHMARK)};let eG=(0,I.Ay)(e=>(0,x.TP)(e)&&(eo(e)===O.MO.Recap||(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_DIGEST_NUX_EDUCATION));eG.meta={name:"shouldShowSlackAiRecapCoachmark",key:"createSelectorShouldShowSlackAiRecapCoachmark",description:e=>(0,x.TP)(e)&&(eo(e)===O.MO.Recap||(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_DIGEST_NUX_EDUCATION)};let eH=(0,I.Ay)(e=>e.aiSummary.digestAddedChannelCoachmarkChannelId&&(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_DIGEST_ADDED_CHANNEL_EDUCATION?e.aiSummary.digestAddedChannelCoachmarkChannelId:null);eH.meta={name:"getDigestAddedChannelCoachmarkChannelId",key:"createSelectorGetDigestAddedChannelCoachmarkChannelId",description:e=>e.aiSummary.digestAddedChannelCoachmarkChannelId&&(0,P.Hp)(e,U.xu.IN_PRODUCT_COACHMARK)===U.ze.SLACK_AI_DIGEST_ADDED_CHANNEL_EDUCATION?e.aiSummary.digestAddedChannelCoachmarkChannelId:null};let eW=(0,I.Ay)(e=>e?.aiSummary?.huddleNuxCallIds);eW.meta={name:"getHuddleNuxCallIds",key:"createSelectorGetHuddleNuxCallIds",description:e=>e?.aiSummary?.huddleNuxCallIds};let eV=(0,I.Ay)(e=>e?.aiSummary?.showHuddleSummaryPendingBanner);eV.meta={name:"getShowHuddleSummaryPendingBanner",key:"createSelectorGetShowHuddleSummaryPendingBanner",description:e=>e?.aiSummary?.showHuddleSummaryPendingBanner};let ej=(0,I.Ay)((e,{channelId:t})=>{let a=(0,L.OL)(e,t);if(!a)return null;let n=a?(0,u.mz)(a):"";if("mpim"===n)return{channelType:n,mpimMemberNames:(0,d.Zu)(e,t)};if("im"===n){let t=(0,f.e)(a);return{channelType:n,imMemberName:(0,A.sE)(e,(0,B.nv)(e,t),!1,!0)}}return{channelType:n}});ej.meta={name:"getSourceCardTargetData",key:"createSelectorGetSourceCardTargetData",description:(e,{channelId:t})=>{let a=(0,L.OL)(e,t);if(!a)return null;let n=a?(0,u.mz)(a):"";if("mpim"===n)return{channelType:n,mpimMemberNames:(0,d.Zu)(e,t)};if("im"===n){let t=(0,f.e)(a);return{channelType:n,imMemberName:(0,A.sE)(e,(0,B.nv)(e,t),!1,!0)}}return{channelType:n}}};let eK=(0,i.Mz)(e_,ev,el,(e,t,a)=>!!((a||e)&&!t)),eq=(0,i.Mz)(e=>eL(e),e=>Math.ceil((e??0)*26/238)),ez=(0,I.Ay)((e,{id:t})=>{let a=e?.aiSummary?.summaryById[t];if(!a||a.isTemporary)return!1;let n=(0,C.ty)(e,"a11y_animations"),r=!(0,C.ty)(e,"slack_ai_channel_thread_summary_streaming_disabled");switch(a.type){case O.Tj.Channel:if(n&&r)return a&&!!a.isStreaming&&a.status===O.nM.Complete&&!!a.hasStreamingAnimationFinished;return a&&a.status===O.nM.Complete;case O.Tj.Thread:if(n&&r)return a&&!!a.isStreaming&&a.type===O.Tj.Thread&&a.status===O.nM.Complete&&!!a.hasStreamingAnimationFinished;return a&&a.status===O.nM.Complete;default:return a.status===O.nM.Complete}});ez.meta={name:"getHasAiSummaryFinishedLoading",key:"createSelectorGetHasAiSummaryFinishedLoading",description:(e,{id:t})=>{let a=e?.aiSummary?.summaryById[t];if(!a||a.isTemporary)return!1;let n=(0,C.ty)(e,"a11y_animations"),r=!(0,C.ty)(e,"slack_ai_channel_thread_summary_streaming_disabled");switch(a.type){case O.Tj.Channel:if(n&&r)return a&&!!a.isStreaming&&a.status===O.nM.Complete&&!!a.hasStreamingAnimationFinished;return a&&a.status===O.nM.Complete;case O.Tj.Thread:if(n&&r)return a&&!!a.isStreaming&&a.type===O.Tj.Thread&&a.status===O.nM.Complete&&!!a.hasStreamingAnimationFinished;return a&&a.status===O.nM.Complete;default:return a.status===O.nM.Complete}}};let e$=(0,I.Ay)(e=>e?.aiSummary?.recommendedChannelIds);e$.meta={name:"getRecommendedChannelIds",key:"createSelectorGetRecommendedChannelIds",description:e=>e?.aiSummary?.recommendedChannelIds};let eY=(0,I.Ay)((e,{channelId:t,threadTs:a})=>{let n=(0,E.Iu)(t,a);return!!n&&e?.aiSummary?.autoSummaryThreads?.[n]});eY.meta={name:"isAutoSummaryEnabledForThread",key:"createSelectorIsAutoSummaryEnabledForThread",description:(e,{channelId:t,threadTs:a})=>{let n=(0,E.Iu)(t,a);return!!n&&e?.aiSummary?.autoSummaryThreads?.[n]}};let eQ=(0,I.Ay)((e,{channelId:t,threadTs:a,userId:n})=>{let r=(0,E.Iu)(t,a);if(!r)return!1;let i=(0,D.tp)(e,r);for(let a of i?.timestamps||[]){let r=(0,G.Ld)(e,t,a,!1);if(r&&(0,S.xD)(r).includes(n))return!0}return!1});eQ.meta={name:"doesThreadContainUserMention",key:"createSelectorDoesThreadContainUserMention",description:(e,{channelId:t,threadTs:a,userId:n})=>{let r=(0,E.Iu)(t,a);if(!r)return!1;let i=(0,D.tp)(e,r);for(let a of i?.timestamps||[]){let r=(0,G.Ld)(e,t,a,!1);if(r&&(0,S.xD)(r).includes(n))return!0}return!1}};let eZ=(0,I.Ay)((e,{message:t})=>{if(void 0===t.reply_count)return!1;let a=eQ(e,{channelId:t.channel,threadTs:t.ts,userId:(0,N.WR)(e)});return t.reply_count>=10&&a});eZ.meta={name:"isMessageEligibleForAutoSummary",key:"createSelectorIsMessageEligibleForAutoSummary",description:(e,{message:t})=>{if(void 0===t.reply_count)return!1;let a=eQ(e,{channelId:t.channel,threadTs:t.ts,userId:(0,N.WR)(e)});return t.reply_count>=10&&a}};let eJ=(0,I.Ay)((e,t)=>e?.aiSummary?.canvasPreviewContentById[t]);eJ.meta={name:"getCanvasPreviewContent",key:"createSelectorGetCanvasPreviewContent",description:(e,t)=>e?.aiSummary?.canvasPreviewContentById[t]};let eX=(0,I.Ay)(e=>e?.aiSummary?.selectedSources);eX.meta={name:"getSelectedSources",key:"createSelectorGetSelectedSources",description:e=>e?.aiSummary?.selectedSources};let e0=(0,I.Ay)(e=>e?.aiSummary?.includeSlackSources);e0.meta={name:"getIncludeSlackSources",key:"createSelectorGetIncludeSlackSources",description:e=>e?.aiSummary?.includeSlackSources};let e1=(0,I.Ay)(e=>e?.aiSummary?.includeSalesforceSource);e1.meta={name:"getIncludeSalesforceSource",key:"createSelectorGetIncludeSalesforceSource",description:e=>e?.aiSummary?.includeSalesforceSource};let e2=(0,I.Ay)(e=>e?.aiSummary?.isSubmittingRegenerateRequest);e2.meta={name:"getIsSubmittingRegenerateRequest",key:"createSelectorGetIsSubmittingRegenerateRequest",description:e=>e?.aiSummary?.isSubmittingRegenerateRequest};let e3=(0,I.Ay)((e,t)=>e?.aiSummary?.aiSuggestedTopics[t]);e3.meta={name:"getAiSummaryTopicForChannel",key:"createSelectorGetAiSummaryTopicForChannel",description:(e,t)=>e?.aiSummary?.aiSuggestedTopics[t]};let e4=(0,I.Ay)(e=>e?.aiSummary?.lastSubmittedSources||null);e4.meta={name:"getLastSubmittedSources",key:"createSelectorGetLastSubmittedSources",description:e=>e?.aiSummary?.lastSubmittedSources||null};let e6=(0,I.Ay)(e=>e?.aiSummary?.lastSubmittedFilters||null);e6.meta={name:"getLastSubmittedFilters",key:"createSelectorGetLastSubmittedFilters",description:e=>e?.aiSummary?.lastSubmittedFilters||null},(0,I.Ay)(e=>{let t=(0,F.gr)(e);if(!e0(e))return!1;let a=eX(e),n=t.map(e=>e.app_id).sort(),i=a.map(e=>e.app_id).sort();return(0,r.A)(n,i)}).meta={name:"getAreAllAiSourcesSelected",key:"createSelectorGetAreAllAiSourcesSelected",description:e=>{let t=(0,F.gr)(e);if(!e0(e))return!1;let a=eX(e),n=t.map(e=>e.app_id).sort(),i=a.map(e=>e.app_id).sort();return(0,r.A)(n,i)}},(0,I.Ay)(e=>{let t=(0,M.Ot)(e),a=e6(e);return null===a?t.length>0:a.length!==t.length||!(0,r.A)(t,a)}).meta={name:"getHasSelectedFiltersChanged",key:"createSelectorGetHasSelectedFiltersChanged",description:e=>{let t=(0,M.Ot)(e),a=e6(e);return null===a?t.length>0:a.length!==t.length||!(0,r.A)(t,a)}};let e9=(0,I.Ay)((e,{id:t})=>e?.aiSummary?.canvasContentById[t]);e9.meta={name:"getCanvasContentById",key:"createSelectorGetCanvasContentById",description:(e,{id:t})=>e?.aiSummary?.canvasContentById[t]};let e5=(0,I.Ay)((e,t)=>{let a,n=e?.aiSummary?.canvasContentCreationSessionById[t]?.currentContentReqId;return n?(Object.values(e?.aiSummary?.canvasContentById||{}).forEach(e=>{e.clientReqId===n&&(!a||e.timeStarted>a.timeStarted)&&(a=e)}),a):null});e5.meta={name:"getCurrentCanvasContentBySessionId",key:"createSelectorGetCurrentCanvasContentBySessionId",description:(e,t)=>{let a,n=e?.aiSummary?.canvasContentCreationSessionById[t]?.currentContentReqId;return n?(Object.values(e?.aiSummary?.canvasContentById||{}).forEach(e=>{e.clientReqId===n&&(!a||e.timeStarted>a.timeStarted)&&(a=e)}),a):null}};let e8=(0,I.Ay)((e,t)=>{let a=e5(e,t);return a?.id||null});e8.meta={name:"getCurrentCanvasContentId",key:"createSelectorGetCurrentCanvasContentId",description:(e,t)=>{let a=e5(e,t);return a?.id||null}};let e7=(0,I.Ay)((e,t)=>e?.aiSummary?.canvasContentCreationSessionIdByFileId[t]);e7.meta={name:"getCanvasContentSessionIdByFileId",key:"createSelectorGetCanvasContentSessionIdByFileId",description:(e,t)=>e?.aiSummary?.canvasContentCreationSessionIdByFileId[t]};let te=(0,I.Ay)((e,t)=>{let a=e?.aiSummary?.canvasContentCreationSessionIdByFileId[t];return a?e5(e,a):null});te.meta={name:"getCurrentCanvasContentByFileId",key:"createSelectorGetCurrentCanvasContentByFileId",description:(e,t)=>{let a=e?.aiSummary?.canvasContentCreationSessionIdByFileId[t];return a?e5(e,a):null}};let tt=(0,I.Ay)((e,{id:t})=>e?.aiSummary?.canvasContentCreationSessionById[t]);tt.meta={name:"getCanvasContentCreationSessionById",key:"createSelectorGetCanvasContentCreationSessionById",description:(e,{id:t})=>e?.aiSummary?.canvasContentCreationSessionById[t]};let ta=(0,I.Ay)((e,t)=>{let a=e?.aiSummary?.canvasContentCreationSessionIdByFileId[t];return a?tt(e,{id:a}):null});ta.meta={name:"getCanvasContentSessionByFileId",key:"createSelectorGetCanvasContentSessionByFileId",description:(e,t)=>{let a=e?.aiSummary?.canvasContentCreationSessionIdByFileId[t];return a?tt(e,{id:a}):null}};let tn=(0,I.Ay)((e,{clientReqId:t})=>Object.values(e?.aiSummary?.canvasContentById||{}).find(e=>e.clientReqId===t));tn.meta={name:"getCanvasContentByClientReqId",key:"createSelectorGetCanvasContentByClientReqId",description:(e,{clientReqId:t})=>Object.values(e?.aiSummary?.canvasContentById||{}).find(e=>e.clientReqId===t)};let tr=(0,I.Ay)((e,{clientReqId:t})=>tn(e,{clientReqId:t})?.id);tr.meta={name:"getCanvasContentIdByClientReqId",key:"createSelectorGetCanvasContentIdByClientReqId",description:(e,{clientReqId:t})=>tn(e,{clientReqId:t})?.id};let ti=(0,I.Ay)((e,{fileId:t,clientReqId:a})=>{let n=te(e,t);return n?.clientReqId===a});ti.meta={name:"getIsCurrentCanvasContentRequest",key:"createSelectorGetIsCurrentCanvasContentRequest",description:(e,{fileId:t,clientReqId:a})=>{let n=te(e,t);return n?.clientReqId===a}};let to=(0,I.Ay)(e=>e?.aiSummary?.isChannelSummaryNuxCoachmarkEligible);to.meta={name:"getIsChannelSummaryNuxCoachmarkEligible",key:"createSelectorGetIsChannelSummaryNuxCoachmarkEligible",description:e=>e?.aiSummary?.isChannelSummaryNuxCoachmarkEligible};let ts=(0,I.Ay)(e=>e?.aiSummary?.forceShowChannelSummaryNuxCoachmark);ts.meta={name:"getForceShowChannelSummaryNuxCoachmark",key:"createSelectorGetForceShowChannelSummaryNuxCoachmark",description:e=>e?.aiSummary?.forceShowChannelSummaryNuxCoachmark};let tl=(0,v.eI)((e,{channelId:t})=>e?.aiSummary?.channelJoinByChannelId?.[t]||{}),tc=(0,I.Ay)((e,{channelId:t})=>{let a=e?.aiSummary?.channelJoinByChannelId?.[t];return a?.welcomeTitleIndex??null});tc.meta={name:"getChannelJoinWelcomeTitleIndexByChannelId",key:"createSelectorGetChannelJoinWelcomeTitleIndexByChannelId",description:(e,{channelId:t})=>{let a=e?.aiSummary?.channelJoinByChannelId?.[t];return a?.welcomeTitleIndex??null}};let td=(0,I.Ay)((e,t,a,n)=>{if(!t.length)return"";let r=t[0],i=ex(e);switch(a){case c.q.NEWEST:if(!i)return r;return t.filter(e=>i[e]).sort((e,t)=>parseFloat(i[t]??"0")-parseFloat(i[e]??"0"))[0]??r;case c.q.LIKE_YOUR_SIDEBAR:if(!n)return r;return t.filter(e=>void 0!==n[e]).sort((e,t)=>(n[e]??0)-(n[t]??0))[0]??r;default:return r}});td.meta={name:"getRecapStreamingChannelId",key:"createSelectorGetRecapStreamingChannelId",description:(e,t,a,n)=>{if(!t.length)return"";let r=t[0],i=ex(e);switch(a){case c.q.NEWEST:if(!i)return r;return t.filter(e=>i[e]).sort((e,t)=>parseFloat(i[t]??"0")-parseFloat(i[e]??"0"))[0]??r;case c.q.LIKE_YOUR_SIDEBAR:if(!n)return r;return t.filter(e=>void 0!==n[e]).sort((e,t)=>(n[e]??0)-(n[t]??0))[0]??r;default:return r}}};let tu=(0,I.Ay)(e=>e.aiSummary.currentRealTimeRecapNuxStep||O.o$.AddChannels);tu.meta={name:"getCurrentRealTimeRecapNuxStep",key:"createSelectorGetCurrentRealTimeRecapNuxStep",description:e=>e.aiSummary.currentRealTimeRecapNuxStep||O.o$.AddChannels},(0,I.Ay)(e=>e.aiSummary.aiSummaryIdForToday).meta={name:"getAiSummaryIdForToday",key:"createSelectorGetAiSummaryIdForToday",description:e=>e.aiSummary.aiSummaryIdForToday};let getHasExistingSummaryAvailable=e=>!!e&&(e.status===O.nM.Complete||e.status===O.nM.InProgress)&&!e.error,tm=(0,I.Ay)(e=>e?.aiSummary.remainingAiSearchSamples);tm.meta={name:"getRemainingAiSearchSamples",key:"createSelectorGetRemainingAiSearchSamples",description:e=>e?.aiSummary.remainingAiSearchSamples};let tf=(0,I.Ay)(e=>{let t=$(e),a=t?q(e,{id:t}):void 0;return void 0!==tm(e)&&a?.hasSummary});tf.meta={name:"shouldShowSearchSummarySamples",key:"createSelectorShouldShowSearchSummarySamples",description:e=>{let t=$(e),a=t?q(e,{id:t}):void 0;return void 0!==tm(e)&&a?.hasSummary}};let t_=(0,I.Ay)(e=>!!(e?.aiSummary?.showHuddleSummaryPendingBanner||e?.aiSummary?.showHuddleAutoStartSettingChangedBanner||e?.aiSummary?.showHuddleAutoStartErrorBanner));t_.meta={name:"getIsHuddleAiSummaryBannerActive",key:"createSelectorGetIsHuddleAiSummaryBannerActive",description:e=>!!(e?.aiSummary?.showHuddleSummaryPendingBanner||e?.aiSummary?.showHuddleAutoStartSettingChangedBanner||e?.aiSummary?.showHuddleAutoStartErrorBanner)}},0xf98bc59:(e,t,a)=>{"use strict";a.d(t,{Jm:()=>p,f_:()=>_,kB:()=>h});var n,r=a(0x27fd630b),i=a(0x1ec68d6a3),o=a(0x11c82607b),s=a(0x1400f598e),l=a(0x365a4cc3),c=a(0xe1b4a9f),d=a(0x196ee8604),u=a(0x70aa297f),m=a(0x203ad9ac7),f=a(0xc7d91d1b),_=((n={}).Messages="messages",n.Files="files",n);let p=(0,o.Ay)("Regenerate search summary",async(e,t)=>{let a=(0,i.getGenericLogger)();try{let a=t(),n=(0,l.FN)(a),i=(0,l.jU)(a),o=(0,l.sz)(a),d=(0,c.Ot)(a),_=(0,u.Uz)(a),p=e((0,f.w)()),h=e((0,m.m)()),g=o.map(e=>e.is_gbp_app?e.app_id:e.name);n&&g.push("messages","files"),i&&g.push("salesforce");let A={reason:"regenerate-ai-result-with-specified-sources",fetchers:g.join(","),query:_,clientReqId:h,searchSessionId:p};d&&d.length&&(A.searchAppArgs=d),await e((0,r.P)(A)),e((0,s.Vz)(d)),e((0,s.sK)(g))}catch(e){a.error(Error(`Error regenerating AI answer: ${e}`))}});p.meta={name:"regenerateSearchSummary",key:"createThunkRegenerateSearchSummary",description:"Regenerate search summary"};let h=(0,o.Ay)("reset search summary",(e,t)=>{let a=(0,d.gr)(t());e((0,s.RZ)(!0)),e((0,s.nl)(a)),e((0,s.sK)(null)),e((0,s.Vz)(null))});h.meta={name:"resetSearchSummary",key:"createThunkResetSearchSummary",description:"reset search summary"}},0x1f48e3aa4:(e,t,a)=>{"use strict";a.d(t,{KY:()=>A,MO:()=>f,Tj:()=>g,a5:()=>E,ci:()=>S,de:()=>k,iz:()=>y,lZ:()=>h,nM:()=>p,o$:()=>_,zh:()=>b});var n,r,i,o,s,l,c,d,u,m,f=((n={})[n.StartModal=0]="StartModal",n[n.ChannelSummariesCoachmark=1]="ChannelSummariesCoachmark",n[n.SearchAnswersCoachmark=2]="SearchAnswersCoachmark",n[n.SearchExample=3]="SearchExample",n[n.Recap=4]="Recap",n);let _={AddChannels:"add-channels",SortChannels:"sort-channels"};var p=((r={}).InProgress="in-progress",r.Complete="complete",r.Error="error",r.NoAnswer="no-answer",r.ChannelExcluded="channel-excluded",r),h=((i={}).ChannelHeaderMenuButton="channel_header_menu_button",i.FlexpaneHeaderButton="flexpane_header_button",i.FlexpaneHeaderOverflowMenu="flexpane_header_overflow_menu",i.QuickActionsButton="quick_actions_button",i.ChannelJoinBanner="channel_join_banner",i.RefineSummaryButton="refine_summary_button",i.TryAgainButton="try_again_button",i.CustomDateModal="custom_date_modal",i.ChannelContextSubmenu="channel_context_submenu",i.ActivityItemContextMenu="activity_item_context_menu",i.MessageContextMenu="message_context_menu",i.CanvasSmartCard="canvas_smart_card",i.AutoThreadSummary="auto_thread_summary",i.AgentDmConversation="agent_dm_conversation",i.MessagePane="message_pane",i.ThreadsView="threads_view",i.SidebarSection="sidebar_section",i.WorkObjectView="work_object_view",i),g=((o={}).Channel="channel",o.Thread="thread",o.Huddle="huddle",o.Search="search",o.File="file",o.CanvasContentCreation="canvas_content_creation",o.CanvasAi="canvas_ai",o.Recap="recap",o.WorkObject="work_object",o.Explain="explain",o.TodayUnreads="today_unreads",o.Composer="composer",o.ComposerQuickReplies="composer_quick_replies",o),A=((s={}).Unreads="unreads",s.Day="day",s.Week="week",s.All="all",s.ChannelJoin="channel_join",s.CustomRange="custom_range",s.Digest="digest",s.ActionItem="inbox_action_items",s),b=((l={}).Positive="native_ai_feedback_positive",l.Negative="native_ai_feedback_negative",l),y=((c={}).POSITIVE="positive",c.NEGATIVE="negative",c.NO_RATING="no_rating",c),S=((d={}).Summarization="summarization",d.FileSummary="file summary",d.Recap="digest",d.SummarizeChannelUnreads="channel summary",d.SummarizeThread="thread summary",d.Composer="composer",d.Huddle="huddle summary",d.CanvasCreateContent="canvas create content",d.CanvasRefineContent="canvas refine content",d.ActionItems="action items",d.PriorityItems="priority items",d.GeneratedWorkflow="ai generated workflows",d.InlineSearch="inline search answer",d.MessageTranslation="message translation",d.FileSummaryTranslation="file summary translation",d.SlackAssistant="slack assistant",d.ConversationalSearch="conversational search",d.AiProfileSummary="ai profile summary",d.AiExplain="ai explain",d.EntityRefsSummary="entity refs summary",d.SlackbotAi="slackbot ai",d.FillCanvasTemplateContent="fill canvas template content",d.FillListTemplateContent="fill list template content",d.RecentChannelSummary="recent channel summary",d.OverviewUnreadDmsSummary="overview unread dms summary",d.ChannelJoinReason="channel join reason",d.WorkflowAiAnswerStep="workflow ai answer step",d.StalledConversation="stalled conversation",d.TodaysTopics="today topics",d.TodaysUnreadsAndActivity="today unreads and activity",d.Sidekick="sidekick",d.ChannelAgent="channel agent",d.EmailDraft="email draft",d),E=((u={})[u.LOADED=0]="LOADED",u[u.PREVIEWED=1]="PREVIEWED",u[u.TRIGGERED=2]="TRIGGERED",u),k=((m={}).NONE="none",m.CREATION="creation",m.REFINEMENT="refinement",m)},0x596b2fda:(e,t,a)=>{"use strict";a.d(t,{$E:()=>r,$p:()=>c,BF:()=>_,N6:()=>g,Om:()=>A,SR:()=>m,Tt:()=>h,XY:()=>l,dm:()=>u,nw:()=>i,r1:()=>o,vE:()=>f,vt:()=>s,xy:()=>p,y8:()=>d});var n=a(0xcf658893);let r=(0,n.Ay)("Upserts an AI translation for a message");r.meta={name:"upsertAiTranslation",key:"createActionUpsertAiTranslation",description:"Upserts an AI translation for a message"};let i=(0,n.Ay)("Deletes an AI translation for a message");i.meta={name:"deleteAiTranslation",key:"createActionDeleteAiTranslation",description:"Deletes an AI translation for a message"};let o=(0,n.Ay)("Toggles showTranslation boolean for an AI message translation");o.meta={name:"toggleShowAiTranslation",key:"createActionToggleShowAiTranslation",description:"Toggles showTranslation boolean for an AI message translation"};let s=(0,n.Ay)("Toggles showTranslation boolean for an AI file summary translation");s.meta={name:"toggleFileSummaryShowAiTranslation",key:"createActionToggleFileSummaryShowAiTranslation",description:"Toggles showTranslation boolean for an AI file summary translation"};let l=(0,n.Ay)("Request to fetch locales and sets loading to true");l.meta={name:"fetchLocalesRequest",key:"createActionFetchLocalesRequest",description:"Request to fetch locales and sets loading to true"};let c=(0,n.Ay)("Sets locales in state and sets loading to false");c.meta={name:"fetchLocalesSuccess",key:"createActionFetchLocalesSuccess",description:"Sets locales in state and sets loading to false"};let d=(0,n.Ay)("Sets loading to false and adds error state");d.meta={name:"fetchLocalesFailure",key:"createActionFetchLocalesFailure",description:"Sets loading to false and adds error state"};let u=(0,n.Ay)("Sets an AI translations status to errored");u.meta={name:"setAiTranslationToError",key:"createActionSetAiTranslationToError",description:"Sets an AI translations status to errored"};let m=(0,n.Ay)("Sets an AI translations status to complete");m.meta={name:"setAiTranslationToComplete",key:"createActionSetAiTranslationToComplete",description:"Sets an AI translations status to complete"};let f=(0,n.Ay)("Upserts blocks to Ai Translation attachmentBlocksByMessageId object");f.meta={name:"upsertTranslatedAttachmentBlocksToAiTranslation",key:"createActionUpsertTranslatedAttachmentBlocksToAiTranslation",description:"Upserts blocks to Ai Translation attachmentBlocksByMessageId object"};let _=(0,n.Ay)("Sets the visibility of the translation bar for a messageTS");_.meta={name:"setTranslationBarVisibility",key:"createActionSetTranslationBarVisibility",description:"Sets the visibility of the translation bar for a messageTS"};let p=(0,n.Ay)("Upserts an AI translation for a file summary");p.meta={name:"upsertAiFileSummaryTranslation",key:"createActionUpsertAiFileSummaryTranslation",description:"Upserts an AI translation for a file summary"};let h=(0,n.Ay)("Deletes an AI translation for a file summary");h.meta={name:"deleteAiFileSummaryTranslation",key:"createActionDeleteAiFileSummaryTranslation",description:"Deletes an AI translation for a file summary"};let g=(0,n.Ay)("Sets a AI file summary translations status to errored");g.meta={name:"setAiFileSummaryTranslationToError",key:"createActionSetAiFileSummaryTranslationToError",description:"Sets a AI file summary translations status to errored"};let A=(0,n.Ay)("Upserts language groups");A.meta={name:"upsertLanguageGroups",key:"createActionUpsertLanguageGroups",description:"Upserts language groups"}},0x214aa5e11:(e,t,a)=>{"use strict";a.d(t,{ot:()=>isSlackAiMessageTranslationEnabled,tG:()=>isSlackAiFileSummaryTranslationEnabled,y9:()=>isSlackAiPersistMessageLanguageFeEnabled});var n=a(0xe8015073),r=a(0x14149c126),i=a(0xd0eb5473),o=a(0xe4af74fc);function isSlackAiMessageTranslationEnabled(e){let t=(0,o.tA)(e,{permission:n.p.ACCESS_SLACK_AI_TRANSLATIONS});return"on"===(0,r._Z)(e,"slack_ai_message_translation")&&(0,i.Jr)(t)}function isSlackAiPersistMessageLanguageFeEnabled(e){return"on"===(0,r._Z)(e,"slack_ai_persist_message_language_fe")&&isSlackAiMessageTranslationEnabled(e)}function isSlackAiFileSummaryTranslationEnabled(e){return(0,i.Jr)((0,o.tA)(e,{permission:n.p.ACCESS_SLACK_AI_TRANSLATIONS}))}},0x210a82b15:(e,t,a)=>{"use strict";a.d(t,{L:()=>l});var n=a(0x17294c72a),r=a(0xd906b933),i=a(0x11c82607b),o=a(0x596b2fda),s=a(0x214aa5e11);let l=(0,i.Ay)("maybeFetchTranslationLocales",async(e,t,a)=>{if(!(0,s.ot)(t()))return;let{aiTranslations:i}=t();if((!a||!1!==a.shouldFetch)&&(a||!i.isFetchingLocales&&!(i.locales.length>0))){e((0,o.XY)());try{let t=await e((0,r.n)({reason:"fetch-locales"}));if(!t.ok||!Array.isArray(t.locales))return void e((0,o.y8)());let a=(0,n.A)(t.locales,"name");e((0,o.$p)({locales:a}));let i=t.locales.reduce((e,{locale:t,grouped_languages:a})=>(a&&a.length>0&&(e[t]=a??[]),e),{});e((0,o.Om)({languageGroups:i}))}catch{e((0,o.y8)())}}});l.meta={name:"maybeFetchTranslationLocales",key:"createThunkMaybeFetchTranslationLocales",description:"maybeFetchTranslationLocales"}},0x14c8e09fa:(e,t,a)=>{"use strict";a.d(t,{Iw:()=>l,dN:()=>r,gB:()=>i,jc:()=>s,tf:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Add app actions to store");r.meta={name:"addActions",key:"createActionAddActions",description:"Add app actions to store"};let i=(0,n.Ay)("Remove app actions for apps");i.meta={name:"removeActionsForAppIds",key:"createActionRemoveActionsForAppIds",description:"Remove app actions for apps"};let o=(0,n.Ay)("Remove all app actions");o.meta={name:"resetActions",key:"createActionResetActions",description:"Remove all app actions"};let s=(0,n.Ay)("Increment action run count");s.meta={name:"incrRunCount",key:"createActionIncrRunCount",description:"Increment action run count"};let l=(0,n.Ay)("Signal app actions have been updated");l.meta={name:"signalAppActionsUpdated",key:"createActionSignalAppActionsUpdated",description:"Signal app actions have been updated"}},0x632f5a7d:(e,t,a)=>{"use strict";a.d(t,{A:()=>u,u:()=>d});var n=a(0x839ba347),r=a(0xe0376d2),i=a(0x6258badf),o=a(0xf4930165),s=a(0x16475a65c),l=a(0xba77ecb9),c=a(0x14c8e09fa);let d={actions:{},actionIdsByAppId:{},actionIdsByInstalledTeamId:{},isLoaded:!1,fetchFailed:!1,runCount:0},u=(0,l.Ay)({},d,{storeKey:"appActions",persistenceEnabled:!0}).on(c.dN,(e,{actions:t})=>{if(t){if(!t.length)return{...e,isLoaded:!0,fetchFailed:!1};let a={},i={};return(0,n.A)(t,t=>{let{id:n,appId:r}=t;a[n]=t,i[r]=i[r]||e.actionIdsByAppId[r]||[],i[r].push(n)}),(0,n.A)(i,(e,t)=>{i[t]=(0,r.A)(i[t])}),{...e,actions:{...e.actions,...a},actionIdsByAppId:{...e.actionIdsByAppId,...i},actionIdsByInstalledTeamId:{...e.actionIdsByInstalledTeamId},isLoaded:!0,fetchFailed:!1}}return e}).on(c.gB,(e,t)=>{if(t?.length){let a=[];return(0,n.A)(t,t=>{let n=e.actionIdsByAppId[t]||[];a.push(...n)}),{...e,actions:(0,i.A)(e.actions,a),actionIdsByAppId:(0,i.A)(e.actionIdsByAppId,t),actionIdsByInstalledTeamId:(0,o.A)(e.actionIdsByInstalledTeamId,e=>(0,s.A)(e,a))}}return e}).on(c.tf,e=>({...e,actions:{},actionIdsByAppId:{},actionIdsByInstalledTeamId:{}})).on(c.jc,e=>({...e,runCount:e.runCount+1}))},0xfbfc493f:(e,t,a)=>{"use strict";a.d(t,{GT:()=>mapActionToMenuItem,Nz:()=>m,lk:()=>f});var n=a(0x20ef3966f),r=a(0x839ba347),i=a(0xc9c97240),o=a(0x578d74f),s=a(0x133a22db2),l=a(0x3d01f952),c=a(0x1cf0d97e1),d=a(0x632f5a7d),u=a(0x5dd1c0f2);let m=(0,c.Ay)(e=>e&&e.appActions||d.u);m.meta={name:"selectAppActions",key:"createSelectorSelectAppActions",description:e=>e&&e.appActions||d.u};let mapActionToMenuItem=(e,t)=>(0,n.A)(t,t=>({app:(0,u.sO)(e,t.appId),id:t.id,name:t.name,description:t.description})),f=(0,i.Mz)(e=>m(e).actions,e=>(0,l.rM)(e),(e,t)=>t,(e,t,a)=>{let n={};(0,r.A)(e,e=>{"type"in e&&e.type!==o.Wh.messageAction||a&&"teams"in e&&e.teams&&!e.teams.some(e=>a.includes(e))||(n[(0,s.oe)(e)]=e)});let i=[];return(0,r.A)(t,({id:e}={})=>{if(e){let t=n[e];t&&i.push(t),delete n[e]}}),(0,r.A)(n,e=>i.push(e)),i})},0xb26b0d2c:(e,t,a)=>{"use strict";a.d(t,{Pp:()=>S,gG:()=>k,yL:()=>T,qc:()=>I});var n=a(0x139aa1a7),r=a(0x12185e091),i=a(0x105ecbbed),o=a(0x57d5a5b5),s=a(0x16ed1b0dc),l=a(0x894679d7),c=a(0x107e97a6b),d=a(0x217553e42),u=a(0x19895585a),m=a(0x9271cc31),f=a(0xe822f938);let _={[n.D.Channel]:"slack#/types/channel_id",[n.D.List]:"slack#/types/list_id",[n.D.Canvas]:"slack#/types/canvas_id",[n.D.ChannelCanvas]:"slack#/types/canvas_id",[n.D.Thread]:"slack#/types/message_context"},p={[n.D.Channel]:e=>(0,s.A)(e.id)?e.id:null,[n.D.List]:e=>(0,o.pI)(e.id)?e.id:null,[n.D.Canvas]:e=>(0,c.QY)(e.params?.entityId)??null,[n.D.ChannelCanvas]:e=>(0,c.QY)(e.id)??null,[n.D.Thread]:e=>{if((0,l.A)(e.params?.threadId)){let{channelId:t,threadTs:a}=(0,i.Sb)(e.params?.threadId);if(t&&a)return{message_ts:a,channel_id:t}}return null}},h=[u.mq.Primary,u.mq.Secondary,u.mq.Split];function getAppContextViewedEntities(e){let t=Object.values((0,f.fq)(e)??{});if(!t)return;let a=[];t.forEach(i=>{h.forEach(o=>{let s=i.windowId===u.N2?(0,m.F8)(e,{tab:(0,m.e6)(e),container:o}):(0,m.Yi)(e,{windowId:i.windowId,container:o});if(s&&s.viewType in _){let o=p[s.viewType](s);if(o){let l=!0;if(s.viewType===n.D.Channel&&"string"==typeof o){let t=(0,d.OL)(e,o);(0,r.LI)(t)&&(l=!1)}if(s.viewType===n.D.Thread&&"object"==typeof o&&null!==o&&"channel_id"in o){let t=(0,d.OL)(e,o.channel_id);(0,r.LI)(t)&&(l=!1)}if(l){let e=1;i.isFocused?e=75:i.timeLastFocusEvent&&(e=Math.max(1,50-t.indexOf(i))),a.push({type:_[s.viewType],value:o,score:e})}}}})});let i=new Map;return a.forEach(e=>{try{let t=JSON.stringify(e.value),a=i.get(t);(!a||(e.score??0)>(a.score??0))&&i.set(t,e)}catch{return}}),Array.from(i.values()).sort((e,t)=>(t.score??0)-(e.score??0))}var g=a(0x1cf0d97e1),A=a(0xdf55e8f3),b=a(0x11bab834e),y=a(0x14149c126);let S=(0,g.Ay)(e=>e.appContext);S.meta={name:"getAllAppContexts",key:"createSelectorGetAllAppContexts",description:e=>e.appContext},(0,g.Ay)((e,t)=>e.appContext[t]).meta={name:"getPartialAppContextByAppId",key:"createSelectorGetPartialAppContextByAppId",description:(e,t)=>e.appContext[t]};let E=(0,A.eI)((e,t)=>{let a=[],n=e.appContext[t]?.entryPoint;n&&n.value&&a.push({type:n.type,value:n.value,score:100});let r=e.appContext[t]?.additionalContext;if(r&&a.push(...r.map(e=>({type:e.type,value:e.value,score:100}))),0!==a.length)return a}),k=(0,A.eI)((e,t)=>{let a=[...E(e,t)??[],...getAppContextViewedEntities(e)??[]];if(0!==a.length)return{entities:a}}),T=(0,g.Ay)((e,t)=>{if(!t)return;let a=(0,b.GS)(e,t);if(a)return k(e,a.app_id)});T.meta={name:"getAppContextByChannelId",key:"createSelectorGetAppContextByChannelId",description:(e,t)=>{if(!t)return;let a=(0,b.GS)(e,t);if(a)return k(e,a.app_id)}};let I=(0,g.Ay)(e=>"on"===(0,y._Z)(e,"app_context"));I.meta={name:"isAppContextEnabled",key:"createSelectorIsAppContextEnabled",description:e=>"on"===(0,y._Z)(e,"app_context")}},0x175a77c46:(e,t,a)=>{"use strict";a.d(t,{dN:()=>r,eu:()=>s,tf:()=>i,xT:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Add app actions to store");r.meta={name:"addActions",key:"createActionAddActions",description:"Add app actions to store"};let i=(0,n.Ay)("Reset app actions in store");i.meta={name:"resetActions",key:"createActionResetActions",description:"Reset app actions in store"};let o=(0,n.Ay)("Remove global app actions for apps");o.meta={name:"removeGlobalActionsForAppIds",key:"createActionRemoveGlobalActionsForAppIds",description:"Remove global app actions for apps"};let s=(0,n.Ay)("Set target workspace id for shortcuts to run in Unified Grid");s.meta={name:"setShortcutTargetWorkspaceId",key:"createActionSetShortcutTargetWorkspaceId",description:"Set target workspace id for shortcuts to run in Unified Grid"}},0x13cf3e8cb:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>_,PL:()=>u,SW:()=>f});var n=a(0x839ba347),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0x114e0988c),s=a(0x1cf0d97e1),l=a(0x9b971e7e),c=a(0xb176f8dc);let d=(0,r.Mz)(l.ZT,o.e,e=>e?.appGlobalActions?.actions||i.t0,(e,t,a)=>(t&&e&&(0,c.xB)(e),a)),u=(0,r.Mz)(d,e=>{let t=[];return(0,n.A)(e,e=>{(0,n.A)(e,e=>{t.push(e)})}),t}),m=(0,s.Ay)((e,t)=>d(e)[t]||{});m.meta={name:"getActionsForAppId",key:"createSelectorGetActionsForAppId",description:(e,t)=>d(e)[t]||{}};let f=(0,s.Ay)((e,{appId:t,actionId:a}={})=>m(e,t)[a]||{id:a,app_id:t,isUnknown:!0});f.meta={name:"getAppGlobalActionByIds",key:"createSelectorGetAppGlobalActionByIds",description:(e,{appId:t,actionId:a}={})=>m(e,t)[a]||{id:a,app_id:t,isUnknown:!0}};let _=(0,s.Ay)(e=>e?.appGlobalActions?.targetWorkspaceId);_.meta={name:"getShortcutTargetWorkspaceId",key:"createSelectorGetShortcutTargetWorkspaceId",description:e=>e?.appGlobalActions?.targetWorkspaceId}},0xb8da6fb9:(e,t,a)=>{"use strict";a.d(t,{G:()=>s});var n=a(0x11c82607b),r=a(0x9b971e7e),i=a(0xb176f8dc),o=a(0x13cf3e8cb);let s=(0,n.Ay)("Fetch and upsert global actions, returns actions in promise",(e,t)=>{let a=(0,r.ZT)(t());return(0,i.n0)(a).then(()=>({appActions:(0,o.PL)(t())}))});s.meta={name:"fetchAndUpsertActions",key:"createThunkFetchAndUpsertActions",description:"Fetch and upsert global actions, returns actions in promise"}},0x1ec15c8f9:(e,t,a)=>{"use strict";a.d(t,{IH:()=>h,YD:()=>g});var n=a(0x21da4684a),r=a(0x21f3c49e8),i=a(0x2264e6ea3),o=a(0x280afe13),s=a(0x1aad32b98),l=a(0x2283cdc8d),c=a(0x1cf0d97e1),d=a(0x9b971e7e),u=a(0x1e25c919a),m=a(0x4f86f8f5),f=a(0x217553e42),_=a(0xe684f705);let p=(0,c.Ay)((e,{channelId:t}={})=>{if(t)return e&&e.appHomeContextTeam&&e.appHomeContextTeam[t]});p.meta={name:"maybeGetCurrentAppHomeContextTeamId",key:"createSelectorMaybeGetCurrentAppHomeContextTeamId",description:(e,{channelId:t}={})=>{if(t)return e&&e.appHomeContextTeam&&e.appHomeContextTeam[t]}};let h=(0,c.Ay)((e,{channelId:t}={})=>{let a=(0,d.kN)(e)||[],i=(0,f.OL)(e,t);if(!i)return a;let l=(0,o.e)(i),c=(0,_.nv)(e,l),u=(0,s.HI)(c),m=(0,n.A)(a,u);return(0,r.A)(m)?a:m});h.meta={name:"getPossibleAppHomeContextTeamIds",key:"createSelectorGetPossibleAppHomeContextTeamIds",description:(e,{channelId:t}={})=>{let a=(0,d.kN)(e)||[],i=(0,f.OL)(e,t);if(!i)return a;let l=(0,o.e)(i),c=(0,_.nv)(e,l),u=(0,s.HI)(c),m=(0,n.A)(a,u);return(0,r.A)(m)?a:m}};let g=(0,c.Ay)((e,{channelId:t}={})=>{if(!(0,l.Ox)(e))return;let a=p(e,{channelId:t});if(a)return a;let n=(0,d.ZT)(e),o=h(e,{channelId:t});if(!(0,r.A)(o)){if(n&&(0,i.Ay)(n)&&o.includes(n))return n;let t=(0,u.U)(e),a=t?.type===m.MR.Workspace?t.workspace.id:void 0;if(a&&o.includes(a))return a;let r=(0,d.E$)(e);return r&&o.includes(r)?r:o[0]}});g.meta={name:"getAppHomeContextTeamId",key:"createSelectorGetAppHomeContextTeamId",description:(e,{channelId:t}={})=>{if(!(0,l.Ox)(e))return;let a=p(e,{channelId:t});if(a)return a;let n=(0,d.ZT)(e),o=h(e,{channelId:t});if(!(0,r.A)(o)){if(n&&(0,i.Ay)(n)&&o.includes(n))return n;let t=(0,u.U)(e),a=t?.type===m.MR.Workspace?t.workspace.id:void 0;if(a&&o.includes(a))return a;let r=(0,d.E$)(e);return r&&o.includes(r)?r:o[0]}}}},0x1ac57f111:(e,t,a)=>{"use strict";a.d(t,{Dk:()=>l,V6:()=>s,lt:()=>i,xT:()=>o});var n=a(0x1c6fdf03),r=a(0xcf658893);n.A.maybeUnknown(n.A.AppHome.isRequired);let i=(0,r.Ay)("upsert app home view meta to the store");i.meta={name:"upsertAppHomeMeta",key:"createActionUpsertAppHomeMeta",description:"upsert app home view meta to the store"};let o=(0,r.Ay)("bulk upsert multiple app home meta objects to thestore");o.meta={name:"bulkUpsertAppHomeMeta",key:"createActionBulkUpsertAppHomeMeta",description:"bulk upsert multiple app home meta objects to thestore"};let s=(0,r.Ay)("update app home view meta if it already exists");s.meta={name:"updateAppHomeMeta",key:"createActionUpdateAppHomeMeta",description:"update app home view meta if it already exists"};let l=(0,r.Ay)("update app home states based on app changes");l.meta={name:"updateAppHomesForApp",key:"createActionUpdateAppHomesForApp",description:"update app home states based on app changes"}},0x61222c0e:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let n=(0,a(0x1cf0d97e1).Ay)((e,t)=>{if(!t)return!0;let a=e.appHomesMeta?.[t];return a?.messages_tab_enabled!==!1});n.meta={name:"isMessagesTabEnabled",key:"createSelectorIsMessagesTabEnabled",description:(e,t)=>{if(!t)return!0;let a=e.appHomesMeta?.[t];return a?.messages_tab_enabled!==!1}};let r=n},0x13852a196:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let n=(0,a(0x1cf0d97e1).Ay)((e,t)=>{if(!t)return!1;let a=e.appHomesMeta?.[t];return!!a?.messages_tab_read_only_enabled});n.meta={name:"isMessagesTabReadOnlyEnabledForApp",key:"createSelectorIsMessagesTabReadOnlyEnabledForApp",description:(e,t)=>{if(!t)return!1;let a=e.appHomesMeta?.[t];return!!a?.messages_tab_read_only_enabled}};let r=n},0x4b06b6e:(e,t,a)=>{"use strict";a.d(t,{Fx:()=>N,NJ:()=>F,G1:()=>M});var n=a(0x4f6e90b4),r=a(0x15f4f83cf),i=a(0x280afe13),o=a(0x1b9d5cc0c),s=a(0x4cdbb756),l=a(0x16ed1b0dc),c=a(0x1cf0d97e1),d=a(0x9b971e7e),u=a(0x1266f1359),m=a(0xca924ee1),f=a(0x839ba347),_=a(0xe874a88a),p=a(0x207d915f6),h=a(0x1a8cc04e1),g=a(0x1c7cb6e50),A=a(0x1ec68d6a3),b=a(0x11c82607b),y=a(0x1ac57f111),S=a(0x9d312a09);let E=(0,m.A)(()=>new r.Ay({fetch:fetchAppHomesViewForTeamId,upsertKnown:upsertAppHomesViewForTeamId,upsertNonExistent:upsertAppHomesViewForTeamId})),k=(0,m.A)(()=>new h.Ay({storeKey:"appHomesMeta",fetch:fetchAndUpsertAppHomesView,isEnabled:()=>!0})),T=(0,b.Ay)("Bulk upsert app home view meta into app home and app view stores",(e,t,a)=>{let n=t(),r=(0,d.ZT)(n),i=[],o=[];return r?((0,f.A)(a,t=>{let{channel_id:a,app_home:n,home_view:r}=t||{};r&&e((0,S.A)((0,g.A)(r)));let s={...n,channel_id:a,id:a};e((0,y.lt)(s)),i.push(s),o.push(a)}),k().markObjectsAsFresh(r,o),i):void(0,A.default)({getState:t}).error("bulkUpsertAppHomeView: currentTeamId is undefined")});function fetchAppHomesViewForTeamId(e,t){return _.S.all(t.map(t=>(0,u.Qw)(e,(0,p.NP)({channelId:t,reason:"app-homes-store/conditional-fetching"})).then(e=>({...e,channel_id:t,id:t}))))}function upsertAppHomesViewForTeamId(e,t){(0,u.Qw)(e,T(t))}function fetchAndUpsertAppHomesView(e,t){return fetchAppHomesViewForTeamId(e,t).then(t=>upsertAppHomesViewForTeamId(e,t))}T.meta={name:"bulkUpsertAppHomeView",key:"createThunkBulkUpsertAppHomeView",description:"Bulk upsert app home view meta into app home and app view stores"};var I=a(0x217553e42),w=a(0xe684f705),C=a(0x19895585a);let v=(0,c.Ay)((e,{channelId:t,fetchIfMissing:a=!0}={})=>{if(!t)return null;let n=(0,d.ZT)(e);if(!n)return null;let r=e&&e.appHomesMeta&&e.appHomesMeta[t];return!r&&a?E().fetchObjectWithId(n,t):(k().maybeRefetch(n,t),r)});v.meta={name:"getAppHome",key:"createSelectorGetAppHome",description:(e,{channelId:t,fetchIfMissing:a=!0}={})=>{if(!t)return null;let n=(0,d.ZT)(e);if(!n)return null;let r=e&&e.appHomesMeta&&e.appHomesMeta[t];return!r&&a?E().fetchObjectWithId(n,t):(k().maybeRefetch(n,t),r)}};let x=["ADZ494LHY","AGQ7PC0MQ","AKULWPUKY","ANFD878KF","AREMINDERS"],R={appId:void 0,isLoading:!1,isHomeEnabled:!1,isMessagesEnabled:!0},O=(0,c.Ay)((e,t)=>{let{channelId:a,botId:n}=t;if(!a)return R;let i=v(e,t),o=(0,r.mX)(i),s=!!(i&&i.home_tab_enabled)||x.includes(t.appId),l=i&&i.home_view_id,c=i.app_id||t.appId;return{appId:c,botId:n,channelId:a,isLoading:o,isHomeEnabled:s,isMessagesEnabled:i&&!1!==i.messages_tab_enabled,viewId:l,appInstalledTeamId:i&&i.app_installed_team_id}});O.meta={name:"getAppHomeFormatted",key:"createSelectorGetAppHomeFormatted",description:(e,t)=>{let{channelId:a,botId:n}=t;if(!a)return R;let i=v(e,t),o=(0,r.mX)(i),s=!!(i&&i.home_tab_enabled)||x.includes(t.appId),l=i&&i.home_view_id,c=i.app_id||t.appId;return{appId:c,botId:n,channelId:a,isLoading:o,isHomeEnabled:s,isMessagesEnabled:i&&!1!==i.messages_tab_enabled,viewId:l,appInstalledTeamId:i&&i.app_installed_team_id}}};let N=(0,c.Ay)(e=>e?.appHomesMeta);N.meta={name:"getAllAppHomes",key:"createSelectorGetAllAppHomes",description:e=>e?.appHomesMeta};let D=(0,c.Ay)((e,{getSiblingView:t})=>{let a=t(e,{container:C.mq.Primary})?.id;if(!(0,l.A)(a))return{};let n=(0,I.OL)(e,a),r=(0,i.e)(n),c=(0,w.nv)(e,r);return{appId:(0,o.PV)(c),botId:(0,s.A)(e,c),channelId:a}});D.meta={name:"getAppIdAndChannelIdForPrimaryView",key:"createSelectorGetAppIdAndChannelIdForPrimaryView",description:(e,{getSiblingView:t})=>{let a=t(e,{container:C.mq.Primary})?.id;if(!(0,l.A)(a))return{};let n=(0,I.OL)(e,a),r=(0,i.e)(n),c=(0,w.nv)(e,r);return{appId:(0,o.PV)(c),botId:(0,s.A)(e,c),channelId:a}}};let L=(0,c.Ay)((e,t)=>{let a=t?.view;if(!(0,l.A)(a))return{};let n=(0,I.OL)(e,a),r=(0,i.e)(n),c=(0,w.nv)(e,r);return{appId:(0,o.PV)(c),botId:(0,s.A)(e,c),channelId:a}});L.meta={name:"getAppIdAndChannelIdForTile",key:"createSelectorGetAppIdAndChannelIdForTile",description:(e,t)=>{let a=t?.view;if(!(0,l.A)(a))return{};let n=(0,I.OL)(e,a),r=(0,i.e)(n),c=(0,w.nv)(e,r);return{appId:(0,o.PV)(c),botId:(0,s.A)(e,c),channelId:a}}};let M=(0,c.Ay)((e,{getSiblingView:t})=>{let{appId:a,channelId:n,botId:r}=D(e,{getSiblingView:t});return n?O(e,{channelId:n,appId:a,botId:r}):R});M.meta={name:"getAppHomeMetaForPrimaryView",key:"createSelectorGetAppHomeMetaForPrimaryView",description:(e,{getSiblingView:t})=>{let{appId:a,channelId:n,botId:r}=D(e,{getSiblingView:t});return n?O(e,{channelId:n,appId:a,botId:r}):R}};let F=(0,c.Ay)((e,t)=>{let{appId:a,channelId:n,botId:r}=L(e,{view:t});return n?O(e,{channelId:n,appId:a,botId:r}):R});F.meta={name:"getAppHomeMetaForChannelId",key:"createSelectorGetAppHomeMetaForChannelId",description:(e,t)=>{let{appId:a,channelId:n,botId:r}=L(e,{view:t});return n?O(e,{channelId:n,appId:a,botId:r}):R}},(0,n.ul)("getAllAppHomeMetas",e=>N((0,u.$D)(e)))},0x8d9a1efd:(e,t,a)=>{"use strict";a.d(t,{P:()=>i,s:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("add an app profile to the store");r.meta={name:"addAppProfile",key:"createActionAddAppProfile",description:"add an app profile to the store"};let i=(0,n.Ay)("add multiple app profiles to the store");i.meta={name:"bulkAddAppProfiles",key:"createActionBulkAddAppProfiles",description:"add multiple app profiles to the store"}},0x231d62b5e:(e,t,a)=>{"use strict";a.d(t,{mY:()=>markObjectsAsFresh,D1:()=>markObjectsAsStale,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0x1a8cc04e1),i=a(0x1b7f23c00),o=a(0xeb1affeb);function fetchAndUpsertAppProfilesForTeam(e,t){return(0,i.A)(e,t).then(t=>(0,o.A)(e,t))}let s=(0,n.A)(()=>new r.Ay({storeKey:"appProfiles",fetch:fetchAndUpsertAppProfilesForTeam,isEnabled:()=>!0})),markObjectsAsFresh=(e,t)=>s().markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>s().markObjectsAsStale(e,t),maybeRefetch=(e,t)=>s().maybeRefetch(e,t)},0xf9d75188:(e,t,a)=>{"use strict";function getFetchId({serviceId:e,homeWorkspaceId:t}){return[t,e].join(":")}function splitFetchId(e){let[t,a]=e.split(":");return{serviceId:a,homeWorkspaceId:t}}a.d(t,{O:()=>getFetchId,g:()=>splitFetchId})},0x1b7f23c00:(e,t,a)=>{"use strict";a.d(t,{A:()=>fetchAppProfilesForTeamId});var n=a(0x1266f1359),r=a(0x7d48dd65),i=a(0xe874a88a),o=a(0x24d017988),s=a(0x195009a80),l=a(0x1ec68d6a3),c=a(0x11c82607b),d=a(0xf9d75188);let u=(0,c.Ay)("Fetch multiple app profiles by combined IDs",(e,t,a)=>{let n=(0,l.default)({getState:t});return i.S.all(a.map(t=>{let{serviceId:a,homeWorkspaceId:r}=(0,d.g)(t);return a?e((0,o.Md)({serviceId:a,homeWorkspaceId:r})).then(e=>({...(0,s.F)(a,e),id:t})).catch(e=>(n.warn(e,`Error while fetching profile ${t}`),null)):i.S.resolve(null)})).then(r.A)});function fetchAppProfilesForTeamId(e,t){return(0,n.Qw)(e,u(t))}u.meta={name:"fetchAppProfiles",key:"createThunkFetchAppProfiles",description:"Fetch multiple app profiles by combined IDs"}},0xeb1affeb:(e,t,a)=>{"use strict";a.d(t,{A:()=>upsertAppProfilesForTeamId});var n=a(0x1266f1359),r=a(0xe0376d2),i=a(0x6258badf),o=a(0x15f4f83cf),s=a(0x11c82607b),l=a(0x9b971e7e),c=a(0x8d9a1efd),d=a(0x231d62b5e),u=a(0xf9d75188),m=a(0x11bab834e);let f=(0,s.Ay)("Upsert app profiles and mark as fresh in CFM",(e,t,a)=>{let n=t(),s=(0,l.JY)(n),f=[],_=[];a.forEach(e=>{if(!e||!e.service_id)return;let t=(0,m.qY)(n,e.service_id);if(!(0,o.uz)(e)&&(0,o.uz)(t))return;let a={...e};e&&t&&(0,o.lv)(e)&&(0,o.lv)(t)&&(a.failed_home_workspace_ids=(0,r.A)((e.failed_home_workspace_ids||[]).concat(t.failed_home_workspace_ids||[]))),f.push(a.id?(0,i.A)(a,["id"]):a);let l=(0,u.O)({serviceId:a.service_id,homeWorkspaceId:a.home_workspace_id||s});_.push(l)}),f.length&&(e((0,c.P)(f)),(0,d.mY)(s,_))});function upsertAppProfilesForTeamId(e,t){return(0,n.Qw)(e,f(t))}f.meta={name:"bulkUpsertAppProfiles",key:"createThunkBulkUpsertAppProfiles",description:"Upsert app profiles and mark as fresh in CFM"}},0x11bab834e:(e,t,a)=>{"use strict";a.d(t,{UI:()=>G,UH:()=>B,GS:()=>U,G2:()=>P,qY:()=>F,pc:()=>M});var n=a(0x15f4f83cf),r=a(0x1bd866cd7),i=a(0x280afe13),o=a(0x4cdbb756),s=a(0x82980ab8),l=a(0x28be1268),c=a(0x1ec68d6a3),d=a(0x1cf0d97e1),u=a(0x9b971e7e),m=a(0xca924ee1),f=a(0x1a8cc04e1),_=a(0x1266f1359),p=a(0x7d48dd65),h=a(0xe874a88a),g=a(0x24d017988),A=a(0x195009a80),b=a(0x11c82607b);let y=(0,b.Ay)("Fetch multiple app profiles by combined IDs",(e,t,a)=>{let n=(0,c.default)({getState:t});return h.S.all(a.map(t=>t?e((0,g.Md)({appId:t})).then(e=>({...(0,A.F)(t,e),id:t})).catch(e=>(n.warn(e,`Error while fetching profile ${t}`),null)):h.S.resolve(null))).then(p.A)});function fetchAppProfilesForTeamId(e,t){return(0,_.Qw)(e,y(t))}y.meta={name:"fetchAppProfiles",key:"createThunkFetchAppProfiles",description:"Fetch multiple app profiles by combined IDs"};var S=a(0x8d9a1efd);let E=(0,b.Ay)("Upsert app profiles and mark as fresh in CFM",(e,t,a)=>{let r=t(),i=(0,u.JY)(r),o=[],s=[];a.forEach(e=>{if(!e||!e.id)return;let t=P(r,{appId:e.id});!(0,n.uz)(e)&&(0,n.uz)(t)||(o.push(e),s.push(e.id))}),o.length&&(e((0,S.P)(o)),markObjectsAsFresh(i,s))});function upsertAppProfilesForTeamId(e,t){return(0,_.Qw)(e,E(t))}E.meta={name:"bulkUpsertAppProfiles",key:"createThunkBulkUpsertAppProfiles",description:"Upsert app profiles and mark as fresh in CFM"};let k=(0,m.A)(()=>new f.Ay({storeKey:"appProfiles",fetch:(e,t)=>fetchAppProfilesForTeamId(e,t).then(t=>upsertAppProfilesForTeamId(e,t)),isEnabled:()=>!0})),markObjectsAsFresh=(e,t)=>k().markObjectsAsFresh(e,t),maybeRefetch=(e,t)=>k().maybeRefetch(e,t);var T=a(0x231d62b5e),I=a(0xf9d75188);let w=(0,m.A)(()=>new n.Ay({fetch:fetchAppProfilesForTeamId,upsertKnown:upsertAppProfilesForTeamId,upsertNonExistent:upsertAppProfilesForTeamId,makeUnknownObject:e=>({id:e,isUnknown:!0}),makeNonExistentObject:e=>({id:e,isNonExistent:!0})}));var C=a(0x1b7f23c00),v=a(0xeb1affeb);let x=(0,m.A)(()=>new n.Ay({fetch:C.A,upsertKnown:v.A,upsertNonExistent:v.A,makeUnknownObject:makeUnknownAppProfileStub,makeNonExistentObject:makeNonExistentAppProfileStub}));function makeUnknownAppProfileStub(e){let{serviceId:t,homeWorkspaceId:a}=(0,I.g)(e);return{id:e,isUnknown:!0,service_id:t,home_workspace_id:a,failed_home_workspace_ids:[]}}function makeNonExistentAppProfileStub(e){let{serviceId:t,homeWorkspaceId:a}=(0,I.g)(e);return{id:e,isNonExistent:!0,service_id:t,home_workspace_id:a,failed_home_workspace_ids:[a]}}var R=a(0x21d99e321),O=a(0x5dd1c0f2),N=a(0x18476a827),D=a(0x217553e42),L=a(0xe684f705);let M=(0,d.Ay)(e=>e?.appProfiles);M.meta={name:"getAppProfilesState",key:"createSelectorGetAppProfilesState",description:e=>e?.appProfiles};let F=(0,d.Ay)((e,t)=>t&&M(e)?.[t]||null);F.meta={name:"getAppProfileByServiceId",key:"createSelectorGetAppProfileByServiceId",description:(e,t)=>t&&M(e)?.[t]||null};let P=(0,d.Ay)((e,{appId:t,serviceId:a,homeWorkspaceId:r,memberId:i,fetchIfMissing:o=!0}={})=>{let c,d=(0,R.T)(e),m=(0,u.JY)(e);if(d){if(!m)return null;if(!t)return{isUnknown:!0};if(c=M(e)?.[t],o&&(!c||(0,l.r)(c)))return w().fetchObjectWithId(m,t);o&&maybeRefetch(m,t)}else{c=F(e,a);let t=r||m,i=(0,I.O)({serviceId:a,homeWorkspaceId:t}),s=c&&(0,n.lv)(c)&&o&&!c.failed_home_workspace_ids.includes(t);if(!c||s)return x().fetchObjectWithId(m,i);o&&(0,T.ez)(m,i)}if(i&&!c?.app_user){let t=(0,L.nv)(e,i,{fetchIfMissing:o});return{...c,app_user:{id:t.id,username:(0,s.Gt)(t)}}}return c});P.meta={name:"getAppProfileByIds",key:"createSelectorGetAppProfileByIds",description:(e,{appId:t,serviceId:a,homeWorkspaceId:r,memberId:i,fetchIfMissing:o=!0}={})=>{let c,d=(0,R.T)(e),m=(0,u.JY)(e);if(d){if(!m)return null;if(!t)return{isUnknown:!0};if(c=M(e)?.[t],o&&(!c||(0,l.r)(c)))return w().fetchObjectWithId(m,t);o&&maybeRefetch(m,t)}else{c=F(e,a);let t=r||m,i=(0,I.O)({serviceId:a,homeWorkspaceId:t}),s=c&&(0,n.lv)(c)&&o&&!c.failed_home_workspace_ids.includes(t);if(!c||s)return x().fetchObjectWithId(m,i);o&&(0,T.ez)(m,i)}if(i&&!c?.app_user){let t=(0,L.nv)(e,i,{fetchIfMissing:o});return{...c,app_user:{id:t.id,username:(0,s.Gt)(t)}}}return c}};let U=(0,d.Ay)((e,t)=>{if(!t)return void(0,c.getGenericLogger)().error("Channel Id is undefined");let a=(0,R.T)(e),n=(0,D.OL)(e,t),s=(0,i.e)(n),l=(0,L.nv)(e,s),d=l?.profile?.bot_id,m=(0,o.A)(e,l),f=a?d:m,_=(0,u.JY)(e),p=(0,r.cl)(l,_),h=(0,N.AF)(e,f,!0),g=h?h?.app_id:void 0,A=l?l.profile?.api_app_id:void 0;return a?(0,O.sO)(e,{appId:g||A,memberId:s,serviceId:f??void 0,homeWorkspaceId:p,tryRefetchIfInstallationMissing:!0}):P(e,{serviceId:f??void 0,homeWorkspaceId:p,memberId:s,appId:g||A})});U.meta={name:"getAppProfileByChannelId",key:"createSelectorGetAppProfileByChannelId",description:(e,t)=>{if(!t)return void(0,c.getGenericLogger)().error("Channel Id is undefined");let a=(0,R.T)(e),n=(0,D.OL)(e,t),s=(0,i.e)(n),l=(0,L.nv)(e,s),d=l?.profile?.bot_id,m=(0,o.A)(e,l),f=a?d:m,_=(0,u.JY)(e),p=(0,r.cl)(l,_),h=(0,N.AF)(e,f,!0),g=h?h?.app_id:void 0,A=l?l.profile?.api_app_id:void 0;return a?(0,O.sO)(e,{appId:g||A,memberId:s,serviceId:f??void 0,homeWorkspaceId:p,tryRefetchIfInstallationMissing:!0}):P(e,{serviceId:f??void 0,homeWorkspaceId:p,memberId:s,appId:g||A})}};let B=(0,d.Ay)((e,t)=>Object.values(M(e)??{}).filter(e=>e.app_id===t)?.[0]);B.meta={name:"getAppProfileByAppId",key:"createSelectorGetAppProfileByAppId",description:(e,t)=>Object.values(M(e)??{}).filter(e=>e.app_id===t)?.[0]};let G=(0,d.Ay)((e,t)=>Object.values(M(e)??{}).find(e=>{if(!(0,n.lv)(e))return e?.app_user?.id===t}));G.meta={name:"findAppProfileByBotUserId",key:"createSelectorFindAppProfileByBotUserId",description:(e,t)=>Object.values(M(e)??{}).find(e=>{if(!(0,n.lv)(e))return e?.app_user?.id===t})}},0x11d896167:(e,t,a)=>{"use strict";a.d(t,{$:()=>n});let n=(0,a(0xcf658893).Ay)("Updates the currently open tab for the given window and view container");n.meta={name:"updateTabForWindowAndViewContainer",key:"createActionUpdateTabForWindowAndViewContainer",description:"Updates the currently open tab for the given window and view container"}},0x1459852c4:(e,t,a)=>{"use strict";a.d(t,{A:()=>l,K:()=>o});var n=a(0xba77ecb9),r=a(0x11d896167),i=a(0x19895585a);let o={App:"app",Messages:"messages",Threads:"threads",About:"about",Home:"home",Chat:"chat",History:"history",Memories:"memories",Tasks:"tasks",SFListView:"sfListView"},s={[i.N2]:{[i.mq.Sidebar]:o.App,[i.mq.Primary]:o.App,[i.mq.Secondary]:o.App,[i.mq.Modal]:o.App,[i.mq.Peek]:o.App,[i.mq.Split]:o.App,[i.mq.Headless]:o.App}},l=(0,n.Ay)({},s,{persistenceEnabled:!1,storeKey:"appTabs"}).on(r.$,(e,{windowId:t,viewContainer:a,tabKey:n})=>({...e,[t]:{...e[t],[a]:n}}))},0x1742c95b3:(e,t,a)=>{"use strict";a.d(t,{A5:()=>i,_A:()=>o,hh:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("upsert view to store");r.meta={name:"upsertView",key:"createActionUpsertView",description:"upsert view to store"};let i=(0,n.Ay)("bulk upsert views to store");i.meta={name:"bulkUpsertViews",key:"createActionBulkUpsertViews",description:"bulk upsert views to store"};let o=(0,n.Ay)("remove a view from the store");o.meta={name:"removeView",key:"createActionRemoveView",description:"remove a view from the store"},(0,n.Ay)("mark a single view as unknown").meta={name:"markViewAsUnknown",key:"createActionMarkViewAsUnknown",description:"mark a single view as unknown"}},0x9d312a09:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0x1ec68d6a3),r=a(0x11c82607b),i=a(0x1742c95b3);let o=(0,r.Ay)("Upsert a single view to store, with logging",(e,t,a)=>{let r=(0,n.default)({getState:t});a?.id&&(r.debug("APP VIEWS",`upsertView: upserting view "${a.id}"`),e((0,i.hh)(a)))});o.meta={name:"upsertView",key:"createThunkUpsertView",description:"Upsert a single view to store, with logging"};let s=o},0xa82f51d5:(e,t,a)=>{"use strict";a.d(t,{Cb:()=>s,Fk:()=>l,M5:()=>i,Ms:()=>c,oN:()=>o});var n=a(0x1c6fdf03),r=a(0xcf658893);n.A.maybeUnknown(n.A.App);let i=(0,r.Ay)("Add apps to to store");i.meta={name:"bulkAddApps",key:"createActionBulkAddApps",description:"Add apps to to store"};let o=(0,r.Ay)("Remove apps by app ID from store");o.meta={name:"bulkRmApps",key:"createActionBulkRmApps",description:"Remove apps by app ID from store"};let s=(0,r.Ay)("Clear apps store");s.meta={name:"clearApps",key:"createActionClearApps",description:"Clear apps store"};let l=(0,r.Ay)("For agents, this will just update the agentforce status in the store");l.meta={name:"updateAppAgentforceStatus",key:"createActionUpdateAppAgentforceStatus",description:"For agents, this will just update the agentforce status in the store"};let c=(0,r.Ay)("For agents, this will just update the agentforce assistant description in the store");c.meta={name:"updateAgentforceAssistantDescription",key:"createActionUpdateAgentforceAssistantDescription",description:"For agents, this will just update the agentforce assistant description in the store"}},0x10d4ddcc9:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,GD:()=>s,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0x1a8cc04e1),i=a(0x1a7e36603),o=a(0xe8924012);let s=(0,n.A)(()=>new r.Ay({storeKey:"apps",fetch:(e,t,a)=>(0,o.f)(i.v)(e,{appIds:t,options:a}),isEnabled:()=>!0})),markObjectsAsStale=(e,t)=>s().markObjectsAsStale(e,t),maybeRefetch=(e,t,a)=>s().maybeRefetch(e,t,a)},0x21d99e321:(e,t,a)=>{"use strict";a.d(t,{T:()=>isConsolidateAppProfileFetchingEnabled,a:()=>isAppMissingBotUserLoggingEnabled});var n=a(0x14149c126);let isConsolidateAppProfileFetchingEnabled=e=>"on"===(0,n._Z)(e,"consolidate_app_profile_fetching"),isAppMissingBotUserLoggingEnabled=e=>"on"===(0,n._Z)(e,"app_missing_bot_user_logging")},0x5dd1c0f2:(e,t,a)=>{"use strict";a.d(t,{Aw:()=>w,NN:()=>v,Xx:()=>C,sO:()=>N,AJ:()=>F,W$:()=>D,jH:()=>L,h3:()=>M,BV:()=>T,Mu:()=>P,tX:()=>R,Ih:()=>x,u0:()=>I,rQ:()=>O});var n=a(0xc9c97240),r=a(0x23a67ace),i=a(0x15f4f83cf),o=a(0x151a93a75),s=a(0x121a53a99),l=a(0x82980ab8),c=a(0x1b7bc2fc6),d=a(0x1cf0d97e1),u=a(0x9b971e7e),m=a(0xdf55e8f3),f=a(0x10d4ddcc9),_=a(0xca924ee1),p=a(0x1bca0c567),h=a(0x24d017988),g=a(0x11c82607b),A=a(0xe8924012);let b=(0,g.Ay)("Convert appIds parameter for fetchAppsByIds",(e,t,{appIds:a,options:n})=>e((0,h.wn)({appIds:a,options:n})));b.meta={name:"fetchAppsByIdsParamConverter",key:"createThunkFetchAppsByIdsParamConverter",description:"Convert appIds parameter for fetchAppsByIds"};let y=(0,A.f)(b),S=(0,_.A)(()=>new i.Ay({fetch:(e,t,a)=>y(e,{appIds:t,options:a}),upsertKnown:p._,upsertNonExistent:p._,makeUnknownObject:e=>({name:"",id:e,isUnknown:!0})})),fetchObjectWithId=(e,t,a)=>S().fetchObjectWithId(e,t,a);var E=a(0xe684f705),k=a(0x1d28f25fa);let T=(0,d.Ay)(e=>e?.apps);T.meta={name:"getAppState",key:"createSelectorGetAppState",description:e=>e?.apps};let I=(0,d.Ay)((e,t)=>{let a=T(e)[t];return(0,i.uz)(a)});I.meta={name:"isAppExistentById",key:"createSelectorIsAppExistentById",description:(e,t)=>{let a=T(e)[t];return(0,i.uz)(a)}};let w=(0,m.eI)((e,t)=>{let a=T(e);return t.reduce((e,t)=>(e[t]=!!a[t]&&(0,i.uz)(a[t]),e),{})}),C=(0,n.Mz)(T,e=>Object.values(e).reduce((e,t)=>(t&&((0,o.L)(t)||(0,o.hk)(t)||(0,o.Mk)(t))&&e.push({...t,bot_user_id:t.bot_user?.id??"",app_id:t.id??""}),e),[])),v=(0,n.Mz)(C,e=>e.filter(o.hk));(0,n.Mz)(C,e=>e.filter(o.Mk));let x=(0,d.Ay)((e,t)=>Object.values(T(e)).find(e=>e?.is_workflow_app&&e.app_user?.username===t));x.meta={name:"getWorkflowAppByUserName",key:"createSelectorGetWorkflowAppByUserName",description:(e,t)=>Object.values(T(e)).find(e=>e?.is_workflow_app&&e.app_user?.username===t)};let R=(0,n.Mz)(C,e=>e.find(e=>e.native_agent?.type===c.Pc.CHANNEL_EXPERT)),O=(0,d.Ay)((e,t)=>{if(!t)return!1;let a=R(e),n=(0,o.R7)(a);return!!n&&t===n});O.meta={name:"isAppSlackChannelExpert",key:"createSelectorIsAppSlackChannelExpert",description:(e,t)=>{if(!t)return!1;let a=R(e),n=(0,o.R7)(a);return!!n&&t===n}};let N=(0,d.Ay)((e,t)=>{let a,n,o,s,c,d,m=(0,r.fy)(e);if("string"==typeof t?a=t:"object"==typeof t&&null!==t&&({appId:a,memberId:n,serviceId:o,homeWorkspaceId:s,tryRefetchIfInstallationMissing:c}=t),!a&&o&&(a=o),!a)return!1;a===o&&(d=Object.values(T(e)).find(e=>e?.serviceId===o)),d??=T(e)[a];let _=(0,u.JY)(e),p={params:{}};o&&(p.params.serviceId=o),s&&(p.params.homeWorkspaceId=s),c&&(p.params.tryRefetchIfInstallationMissing="true");let h=o||s||m?p:void 0;if(!d||c&&o&&!d.includesBotData&&(0,i.uz)(d)||c&&o&&s&&!d.includesBotTeamData&&(0,i.uz)(d))return fetchObjectWithId(_,a,h);if((0,f.ez)(_,a,h),n&&!d.app_user){let t=(0,E.nv)(e,n);return{...d,app_user:{id:t.id,username:(0,l.Gt)(t)}}}return d});N.meta={name:"getAppById",key:"createSelectorGetAppById",description:(e,t)=>{let a,n,o,s,c,d,m=(0,r.fy)(e);if("string"==typeof t?a=t:"object"==typeof t&&null!==t&&({appId:a,memberId:n,serviceId:o,homeWorkspaceId:s,tryRefetchIfInstallationMissing:c}=t),!a&&o&&(a=o),!a)return!1;a===o&&(d=Object.values(T(e)).find(e=>e?.serviceId===o)),d??=T(e)[a];let _=(0,u.JY)(e),p={params:{}};o&&(p.params.serviceId=o),s&&(p.params.homeWorkspaceId=s),c&&(p.params.tryRefetchIfInstallationMissing="true");let h=o||s||m?p:void 0;if(!d||c&&o&&!d.includesBotData&&(0,i.uz)(d)||c&&o&&s&&!d.includesBotTeamData&&(0,i.uz)(d))return fetchObjectWithId(_,a,h);if((0,f.ez)(_,a,h),n&&!d.app_user){let t=(0,E.nv)(e,n);return{...d,app_user:{id:t.id,username:(0,l.Gt)(t)}}}return d}};let D=(0,d.Ay)((e,t)=>(0,s.Sr)(N(e,t)));D.meta={name:"getAppInstalledStatusById",key:"createSelectorGetAppInstalledStatusById",description:(e,t)=>(0,s.Sr)(N(e,t))};let L=(0,d.Ay)((e,t)=>N(e,t)?.name??"");L.meta={name:"getAppNameById",key:"createSelectorGetAppNameById",description:(e,t)=>N(e,t)?.name??""};let M=(0,m.eI)((e,t)=>t.reduce((t,a)=>(t[a]=L(e,a),t),{})),F=(0,d.Ay)((e,t)=>N(e,t)?.icons);F.meta={name:"getAppIconsById",key:"createSelectorGetAppIconsById",description:(e,t)=>N(e,t)?.icons};let P=(0,d.Ay)(e=>k);P.meta={name:"getDefaultAppIcon",key:"createSelectorGetDefaultAppIcon",description:e=>k}},0xc79c5e11:(e,t,a)=>{"use strict";a.d(t,{FV:()=>O,S5:()=>N});var n=a(0x20b4dda68),r=a(0x18dac2b8e),i=a(0x96de2457),o=a(0x10027d8bc),s=a(0x151a93a75),l=a(0x1c9a3c4c1),c=a(0x4b8e0952),d=a(0x1cf0d97e1),u=a(0x14cb5efef),m=a(0x7bb4eccb),f=a(0x1839c7b32),_=a(0xdf55e8f3),p=a(0x20c81ddcb),h=a(0xeb7dd18f),g=a(0x21c05b636),A=a(0x5dd1c0f2),b=a(0x14149c126),y=a(0xe684f705);let S="A016BJ1U7PU",E="A077CK57WQ5",k={appId:S,onByDefaultCheck:i.cu},T={appId:E,onByDefaultCheck:i.cu},I={appId:"A073FRC2JPM",botUserId:"U07FP7L0K89",onByDefaultCheck:i.cf},w={appId:"A0614LZ0FPY",botUserId:"U067SBXGGG6",onByDefaultCheck:i.B8},C={appId:"A06G8KY6QMP",botUserId:"U06JEU6K4L8",onByDefaultCheck:i.Uy};(0,r.Cu)();let v=[k,T,I,w,C];function isOnByDefaultApp(e,t){let a=v.find(e=>e.appId===t);return!!a&&(a.onByDefaultCheck?.(e)??!1)}function isOnByDefaultBotUserId(e,t){let a=v.find(e=>e.botUserId===t);return!!a&&(a.onByDefaultCheck?.(e)??!1)}function handleOnByDefault(e){return!(e&&!1===e.is_enabled)}function handleOffByDefault(e){return e&&!0===e.is_enabled}let x=(0,_.eI)(e=>{let t=(0,m.R)(e)?e?.teamPrefs:e?.prefs?.team;if(!t)return[];let a={};return Object.values(t).forEach(e=>{e.ai_apps?.is_enabled&&e.ai_apps.allowed_apps.forEach(e=>{a[e.bot_user_id]?!a[e.bot_user_id].should_show_in_sunroof&&e.should_show_in_sunroof&&(a[e.bot_user_id]=e):a[e.bot_user_id]=e})}),Object.values(a)}),R=(0,_.eI)(e=>{let t="on"===(0,b._Z)(e,"agent_sunroof"),a=(0,o.gT)(e),i=(0,s.R7)((0,A.tX)(e)),d=(0,u.km)(e),m=x(e);t&&(m=(0,g.Qm)(m,d));let f=(0,p.Qb)(e),_=m.filter(t=>{if(t.app_id===S||t.app_id===E)return!1;let a=(0,y.nv)(e,t.bot_user_id);return!!(a&&(0,c.ve)(a))&&(!(0,l.D)(a)||f.some(e=>e.bot_user_id===t.bot_user_id))});if(_=_.map(t=>isOnByDefaultApp(e,t.app_id)||isOnByDefaultBotUserId(e,t.bot_user_id)?{...t,is_on_by_default:!0}:t.app_id===i?{...t,should_show_in_sunroof:!1}:t),t&&a){let e=(0,r.Cu)()?k.appId:T.appId;_.unshift({app_id:e,bot_user_id:n.Q$,should_show_in_sunroof:!0})}return _}),O=(0,d.Ay)((e,t)=>{let a=(0,h.T)(e,t);return!!a&&(0,s.L)(a)});O.meta={name:"isAiAppFromProfile",key:"createSelectorIsAiAppFromProfile",description:(e,t)=>{let a=(0,h.T)(e,t);return!!a&&(0,s.L)(a)}},(0,d.Ay)((e,t)=>{let a=(0,h.T)(e,t);return!!a&&(0,s.Mk)(a)}).meta={name:"isAgentAppFromProfile",key:"createSelectorIsAgentAppFromProfile",description:(e,t)=>{let a=(0,h.T)(e,t);return!!a&&(0,s.Mk)(a)}};let N=(0,_.jB)(e=>{let t=(0,f.L)(e);return R(e).filter(a=>{let n=t[a.bot_user_id];return isOnByDefaultApp(e,a.app_id)||isOnByDefaultBotUserId(e,a.bot_user_id)||a.should_show_in_sunroof?handleOnByDefault(n):handleOffByDefault(n)}).filter(t=>{let a=(0,y.nv)(e,t.bot_user_id);return!!(a&&(0,l.D)(a))||O(e,t.bot_user_id)})})},0x1bca0c567:(e,t,a)=>{"use strict";a.d(t,{G:()=>u,_:()=>m});var n=a(0xbe0b63ff),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0xa82f51d5),s=a(0x10d4ddcc9),l=a(0x21d99e321),c=a(0x22447eb1f),d=a(0xe8924012);let u=(0,r.Ay)("Upsert apps and mark them as fresh for CFM",(e,t,a)=>{let r=t();(0,l.a)(r)&&(0,c.n)(a,r.apps),e((0,o.M5)(a));let d=(0,i.JY)(r),u=a.reduce((e,t)=>((0,n.mX)(t)||e.push(t.id),e),[]);return(0,s.GD)().markObjectsAsFresh(d,u),a});u.meta={name:"bulkUpsertAppsAndMarkAsFresh",key:"createThunkBulkUpsertAppsAndMarkAsFresh",description:"Upsert apps and mark them as fresh for CFM"};let m=(0,d.f)(u)},0x1a7e36603:(e,t,a)=>{"use strict";a.d(t,{v:()=>o});var n=a(0x24d017988),r=a(0x11c82607b),i=a(0x1bca0c567);let o=(0,r.Ay)("Fetch apps from API and upsert them into store",(e,t,{appIds:a,options:r})=>e((0,n.wn)({appIds:a,options:r})).then(t=>(e((0,i.G)(t)),t)));o.meta={name:"fetchAndUpsertApps",key:"createThunkFetchAndUpsertApps",description:"Fetch apps from API and upsert them into store"}},0x22447eb1f:(e,t,a)=>{"use strict";a.d(t,{n:()=>logAppsWithMissingBotUser});var n=a(0x839ba347),r=a(0x121a53a99),i=a(0x1ec68d6a3);function logAppsWithMissingBotUser(e,t){try{let a=(0,i.getGenericLogger)();(0,n.A)(e,e=>{if((e.includesBotData||e.includesBotTeamData)&&!(0,r.XK)(e)){let n=t[e.id];n&&a.error(Error("debug_apps_store_new_app_missing_bot_user"),{appId:e.id,existingBotUserId:n?.bot_user?.id,existingHomeWorkspaceId:n?.home_workspace_id,existingServiceId:n?.service_id??n?.serviceId,existingAppIncludesBotData:n?.includesBotData,existingAppIncludesBotTeamData:n?.includesBotTeamData,newBotUserId:e?.bot_user?.id,newHomeWorkspaceId:e?.home_workspace_id,newServiceId:e?.service_id??e?.serviceId,newAppIncludesBotData:e?.includesBotData,newAppIncludesBotTeamData:e?.includesBotTeamData})}})}catch{}}},0x21bfacd01:(e,t,a)=>{"use strict";a.d(t,{V:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>!!e.bbm?.enabled);n.meta={name:"isBBMEnabled",key:"createSelectorIsBBMEnabled",description:e=>!!e.bbm?.enabled}},0x16f8b3ac2:(e,t,a)=>{"use strict";a.d(t,{SF:()=>m,dp:()=>f,j0:()=>_});var n=a(0x1595bdd0),r=a(0x1daf4b9c),i=a(0x47af687f),o=a(0x1cf0d97e1),s=a(0x9b971e7e),l=a(0x164ee0b8e);let c={};function isGetAccountsCacheValid(e){let t=(0,l.W6)?.("lc");return("string"==typeof t?parseInt(t,10):NaN)===c[e]}let d={},u=(0,o.Ay)((e,t,a)=>{let o=(0,s.ZT)(e),u=`${o}-${t?"self":"others"}-${a?"norm":"old"}`;if((0,r.A)()&&l.W6&&(!d[u]||!isGetAccountsCacheValid(u))){let e=(0,l.W6)("lc");c[u]="string"==typeof e?parseInt(e,10):NaN;let r=(0,l.W6)("teams")||{};d[u]=(0,n.A)(Object.values(r).map(e=>{if(e.id===o&&!t)return null;let n=e.enterprise_id?{enterprise_id:e.enterprise_id,enterprise_name:e.enterprise_name}:void 0;return a?{...e,...n,domain:(0,i.A)(e.url)}:{user_id:e.user_id,team_id:e.id,team_name:e.name,team_url:e.url,team_icon:e.icon,token:e.token,...n}}))}else(0,r.A)()||d[u]||(d[u]=Object.values(e?.bootData?.other_accounts||{}));return d[u]});u.meta={name:"getAccounts",key:"createSelectorGetAccounts",description:(e,t,a)=>{let o=(0,s.ZT)(e),u=`${o}-${t?"self":"others"}-${a?"norm":"old"}`;if((0,r.A)()&&l.W6&&(!d[u]||!isGetAccountsCacheValid(u))){let e=(0,l.W6)("lc");c[u]="string"==typeof e?parseInt(e,10):NaN;let r=(0,l.W6)("teams")||{};d[u]=(0,n.A)(Object.values(r).map(e=>{if(e.id===o&&!t)return null;let n=e.enterprise_id?{enterprise_id:e.enterprise_id,enterprise_name:e.enterprise_name}:void 0;return a?{...e,...n,domain:(0,i.A)(e.url)}:{user_id:e.user_id,team_id:e.id,team_name:e.name,team_url:e.url,team_icon:e.icon,token:e.token,...n}}))}else(0,r.A)()||d[u]||(d[u]=Object.values(e?.bootData?.other_accounts||{}));return d[u]}};let m=(0,o.Ay)(e=>u(e,!0,!0));m.meta={name:"getAllLoggedInAccountsNormalized",key:"createSelectorGetAllLoggedInAccountsNormalized",description:e=>u(e,!0,!0)};let f=(0,o.Ay)(e=>u(e,!1,!1));f.meta={name:"getOtherAccounts",key:"createSelectorGetOtherAccounts",description:e=>u(e,!1,!1)},(0,o.Ay)(e=>u(e,!1,!0)).meta={name:"getOtherAccountsNormalized",key:"createSelectorGetOtherAccountsNormalized",description:e=>u(e,!1,!0)};let _=(0,o.Ay)(e=>{let t=f(e);return t&&t.length>0});_.meta={name:"signedIntoOtherAccounts",key:"createSelectorSignedIntoOtherAccounts",description:e=>{let t=f(e);return t&&t.length>0}};let p={getAccountsLCValue:c,isGetAccountsCacheValid,getAccountsMemo:d};Object.defineProperty(p,"getAccountsLCValue",{get:()=>c,set:e=>{c=e}}),Object.defineProperty(p,"isGetAccountsCacheValid",{get:()=>isGetAccountsCacheValid,set:e=>{isGetAccountsCacheValid=e}}),Object.defineProperty(p,"getAccountsMemo",{get:()=>d,set:e=>{d=e}})},0x19c76d181:(e,t,a)=>{"use strict";a.d(t,{$U:()=>m,TZ:()=>s,Vr:()=>c,WR:()=>i,j9:()=>d,tV:()=>r,u8:()=>u,uv:()=>o,wb:()=>shouldUseSocket,wx:()=>l});var n=a(0x1cf0d97e1);let r=(0,n.Ay)((e,t)=>e&&e.bootData&&e.bootData[t]);r.meta={name:"getFromBootData",key:"createSelectorGetFromBootData",description:(e,t)=>e&&e.bootData&&e.bootData[t]};let i=(0,n.Ay)(e=>e&&e.bootData&&e.bootData.user_id||"");i.meta={name:"getCurrentUserId",key:"createSelectorGetCurrentUserId",description:e=>e&&e.bootData&&e.bootData.user_id||""};let o=(0,n.Ay)(e=>"calls"===r(e,"app"));o.meta={name:"isLegacyCallsApp",key:"createSelectorIsLegacyCallsApp",description:e=>"calls"===r(e,"app")};let s=(0,n.Ay)(e=>"client"===r(e,"app"));s.meta={name:"isClientApp",key:"createSelectorIsClientApp",description:e=>"client"===r(e,"app")};let l=(0,n.Ay)(e=>"web"===r(e,"app"));l.meta={name:"isWebApp",key:"createSelectorIsWebApp",description:e=>"web"===r(e,"app")};let c=(0,n.Ay)(e=>"oauth"===r(e,"app"));c.meta={name:"isOAuthApp",key:"createSelectorIsOAuthApp",description:e=>"oauth"===r(e,"app")};let d=(0,n.Ay)(e=>"manage"===r(e,"app"));d.meta={name:"isManageApp",key:"createSelectorIsManageApp",description:e=>"manage"===r(e,"app")};let u=(0,n.Ay)(e=>!0===r(e,"page_needs_enterprise"));u.meta={name:"pageNeedsEnterprise",key:"createSelectorPageNeedsEnterprise",description:e=>!0===r(e,"page_needs_enterprise")};let m=(0,n.Ay)(e=>!0===r(e,"process_rtm_stream"));function shouldUseSocket(e){return!r(e,"no_login")&&!r(e,"noSocket")}m.meta={name:"processRtmStream",key:"createSelectorProcessRtmStream",description:e=>!0===r(e,"process_rtm_stream")}},0x1c34649ec:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>o,Tp:()=>i,o1:()=>r});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"botsMetadata",persistenceEnabled:!0},{transform:e=>{let{id:t,...a}=e;return{id:e.id,object:a}}}),o=n},0x9d0bbbe8:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s,Tp:()=>o,iO:()=>getAllBots,o1:()=>r});var n=a(0x1130a8ca8);let{actions:r,reducer:i,selectors:o}=(0,a(0x107594e0c).A)({storeKey:"bots",persistenceEnabled:!0},{update:(e,t)=>t&&null!=t.updated&&null!=e.updated&&t.updated>e.updated?t:e}),s=i,{UNSAFE_getAllObjects:l}=o;function getAllBots(e){return(0,n.xH)(l(e))}},0x36ccfd02:(e,t,a)=>{"use strict";a.d(t,{o:()=>i});var n=a(0x1cf0d97e1);let{getObjectById:r}=a(0x9d0bbbe8).Tp,i=(0,n.Ay)((e,t)=>r(e,t));i.meta={name:"getRawBotById",key:"createSelectorGetRawBotById",description:(e,t)=>r(e,t)}},0x18476a827:(e,t,a)=>{"use strict";a.d(t,{pO:()=>h,AF:()=>p,E6:()=>y,vu:()=>b,wC:()=>g,Od:()=>A});var n=a(0x15f4f83cf),r=a(0x4cdbb756),i=a(0x350d87d7);function isMemberHuman(e){return!!(e&&(0,n.uz)(e)&&!(0,i.A)(e))}var o=a(0x8ad213fa),s=a(0x1cf0d97e1),l=a(0x9b971e7e),c=a(0x5dd1c0f2);let d=["B01","BSLACKBOT","B03"];var u=a(0x9d0bbbe8),m=a(0x36ccfd02),f=a(0x12d8fae57),_=a(0xe684f705);let p=(0,s.Ay)((e,t,a=!0)=>{let n=(0,l.ZT)(e);if(!t)return!1;let r=(0,m.o)(e,t);return!r&&(0,o.A)(t)&&a&&0>d.indexOf(t)?(0,f.Ss)().fetchObjectWithId(n,t):((0,f.ez)(n,t),r||!1)});p.meta={name:"getBotById",key:"createSelectorGetBotById",description:(e,t,a=!0)=>{let n=(0,l.ZT)(e);if(!t)return!1;let r=(0,m.o)(e,t);return!r&&(0,o.A)(t)&&a&&0>d.indexOf(t)?(0,f.Ss)().fetchObjectWithId(n,t):((0,f.ez)(n,t),r||!1)}};let h=(0,s.Ay)((e,t)=>{let a;if(!t)return;let n=(0,u.iO)(e);return n&&(a=Object.values(n).find(e=>e.app_id===t)),a});h.meta={name:"getBotByAppId",key:"createSelectorGetBotByAppId",description:(e,t)=>{let a;if(!t)return;let n=(0,u.iO)(e);return n&&(a=Object.values(n).find(e=>e.app_id===t)),a}};let g=(0,s.Ay)((e,t)=>isMemberHuman((0,_.nv)(e,t)));g.meta={name:"getMemberIsHuman",key:"createSelectorGetMemberIsHuman",description:(e,t)=>isMemberHuman((0,_.nv)(e,t))};let A=(0,s.Ay)((e,{userId:t,botId:a,botProfile:i}={})=>{let o,s,l,d;t&&(o=(0,_.nv)(e,t)),a&&(s=p(e,a)||void 0);let u=!!o&&isMemberHuman(o);if(!(0,n.uz)(s)&&(0,n.uz)(o)&&(l=(0,r.A)(e,o))&&l!==a&&(s=p(e,l)||void 0),!(0,n.uz)(s)&&i&&((d=i.id)&&d!==l&&d!==a&&(s=p(e,d)||void 0),(0,n.uz)(s)||(s=i)),!(0,n.uz)(o)&&(0,n.uz)(s)&&s.app_id){let a=(0,c.sO)(e,{appId:s.app_id,serviceId:s?.id});if((0,n.uz)(a)){let n=a.app_user_id;n&&n!==t&&(o=(0,_.nv)(e,n))}}return{bot:s,member:o,memberIsHuman:u}});A.meta={name:"maybeGetBotAndMemberByIds",key:"createSelectorMaybeGetBotAndMemberByIds",description:(e,{userId:t,botId:a,botProfile:i}={})=>{let o,s,l,d;t&&(o=(0,_.nv)(e,t)),a&&(s=p(e,a)||void 0);let u=!!o&&isMemberHuman(o);if(!(0,n.uz)(s)&&(0,n.uz)(o)&&(l=(0,r.A)(e,o))&&l!==a&&(s=p(e,l)||void 0),!(0,n.uz)(s)&&i&&((d=i.id)&&d!==l&&d!==a&&(s=p(e,d)||void 0),(0,n.uz)(s)||(s=i)),!(0,n.uz)(o)&&(0,n.uz)(s)&&s.app_id){let a=(0,c.sO)(e,{appId:s.app_id,serviceId:s?.id});if((0,n.uz)(a)){let n=a.app_user_id;n&&n!==t&&(o=(0,_.nv)(e,n))}}return{bot:s,member:o,memberIsHuman:u}}};let b=(0,s.Ay)((e,t)=>{let a=p(e,t);if(a&&a.name)return a.name});b.meta={name:"getBotNameById",key:"createSelectorGetBotNameById",description:(e,t)=>{let a=p(e,t);if(a&&a.name)return a.name}};let y=(0,s.Ay)((e,t)=>{if(!e||!t)return null;let a=(0,_.nv)(e,t.user),n=t.bot_id||(0,r.A)(e,a);if(!n)return null;if(t.bot_profile)return t.bot_profile.id!==n?{...t.bot_profile,id:n}:t.bot_profile;let i=p(e,n);return i||null});y.meta={name:"getBotByMsg",key:"createSelectorGetBotByMsg",description:(e,t)=>{if(!e||!t)return null;let a=(0,_.nv)(e,t.user),n=t.bot_id||(0,r.A)(e,a);if(!n)return null;if(t.bot_profile)return t.bot_profile.id!==n?{...t.bot_profile,id:n}:t.bot_profile;let i=p(e,n);return i||null}}},0x12d8fae57:(e,t,a)=>{"use strict";a.d(t,{Ss:()=>T,mY:()=>markObjectsAsFresh,ez:()=>maybeRefetch});var n=a(0x77727995),r=a(0xca924ee1);a(0xe874a88a);var i=a(0xe0376d2),o=a(0x16475a65c),s=a(0x1cbdfeceb),l=a(0x21da4684a),c=a(0x1165e5027),d=a(0xf2e7528e),u=a(0xd3c3edea),m=a(0x22a29f141),f=a(0x8ad213fa),_=a(0x1dfdeb1c8),p=a(0x9b971e7e);let h=(0,_.A)("fetch bot info",(e,t,{ids:a,reason:n="fetchBotsInfo"})=>e((0,m.apiCall)({method:"bots.info",args:{bots:a.join(",")},reason:n})));h.meta={name:"fetchBotsInfo",key:"createFetcherFetchBotsInfo",description:"fetch bot info"};let g=(0,_.A)("Fetches missing bots",async(e,t,{ids:a,fetchConditionally:n=!0,reason:r="fetchBotsById"})=>{let m=(0,p.ZT)(t());if(!a?.length||!m)return Promise.resolve({bots:[],resolved:[],missing:[]});let _=(0,i.A)(a).filter(f.A),{resolved:g,missing:A,objects:b}=await (0,u.hm)(m,{ids:_,fetchConditionally:n}).then(({objects:e,failedIds:t})=>({objects:e,resolved:(0,o.A)(a,t),missing:t}));if(A?.length){let t=await e(h({ids:A,reason:`fallback:${r}`})).catch(s.A),a=t?.bots??[],n=a.map(e=>e.id),i=(0,l.A)(A,n),u=(0,o.A)(A,n);return{bots:(0,c.A)(b,a,"id"),resolved:(0,d.A)(g,i),missing:u}}return{bots:b,resolved:g,missing:A}});g.meta={name:"fetchBotsById",key:"createFetcherFetchBotsById",description:"Fetches missing bots"};var A=a(0x1a8cc04e1),b=a(0x15f4f83cf),y=a(0x1ec68d6a3),S=a(0x1266f1359),E=a(0x19c76d181);a(0x36ccfd02);var k=a(0xf741057c);function fetchBotsForTeamId(e,t){let a=(0,S.$D)(e),r=(0,y.default)({teamId:e});return(0,E.wb)(a)?(0,S.Qw)(e,g({ids:t,reason:"fetchBotsForTeamId"})).then(({bots:e,missing:t}={})=>(t&&t.length&&(e&&e.length&&r.info("BOTS",`Successful fetch: ${e.map(e=>e.id).join(",")}`),r.info("BOTS",`Failed fetch: ${t.join(",")}`)),e)):(0,S.Qw)(e,h({ids:t})).then(e=>(0,n.A)(e,"bots"))}function upsertBotsForTeamId(e,t){(0,S.Qw)(e,(0,k.s)({bots:t}))}let T=(0,r.A)(()=>new b.Ay({fetch:fetchBotsForTeamId,upsertKnown:upsertBotsForTeamId,upsertNonExistent:upsertBotsForTeamId,makeUnknownObject:e=>({id:e,isUnknown:!0,files:[]})}));function fetchAndUpsertBotsForTeamId(e,t){return fetchBotsForTeamId(e,t).then(t=>(0,S.Qw)(e,(0,k.s)({bots:t})))}let I=(0,r.A)(()=>new A.Ay({storeKey:"bots",fetch:fetchAndUpsertBotsForTeamId,isEnabled:()=>!0})),maybeRefetch=(e,t)=>I().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>I().markObjectsAsFresh(e,t)},0xf741057c:(e,t,a)=>{"use strict";a.d(t,{s:()=>p});var n=a(0x839ba347),r=a(0x15f4f83cf),i=a(0x1ec68d6a3),o=a(0x11c82607b),s=a(0x9b971e7e),l=a(0x6258badf),c=a(0x1a256ff50),d=a(0x8eb6366c);function isScalar(e){return/boolean|number|string/.test(typeof e)}let{addObjects:u}=a(0x9d0bbbe8).o1,m=((e,t="")=>(a,r)=>{if(!r)return a;if(!a)return r;let o=(0,d.A)(a),s=!1;return(0,n.A)(r,(a,n)=>{let r=e[n];r?r(o[n],a)||(o[n]=a,s=!0):o[n]!==a&&!!o[n]!==a&&(isScalar(a)||(0,i.getGenericLogger)().warn(`${String(n)} is not scalar! It needs to be handled by ${t} specifically to see if it has changed! ${typeof a}`),o[n]=a,s=!0)}),s?o:a})({icons:c.Ay},"mergeBot");var f=a(0x36ccfd02),_=a(0x12d8fae57);let p=(0,o.Ay)("Bulk upsert bots to store, with logging",(e,t,{bots:a}={bots:[]})=>{if(!a?.length)return[];let o=t(),c=(0,s.JY)(o);if(!c)return;let d=[],p=[],h=(0,i.default)({getState:t});return(0,n.A)(a,e=>{if(e&&e.id){var t;let a=(0,f.o)(o,e.id),n=(t=m(a,e)).name&&t.isUnknown?(0,l.A)(t,"isUnknown"):t;n!==a&&(d.push(n),a?h.debug("BOTS",`bulkUpsertBot: updating existing bot "${e.id}"`):h.debug("BOTS",`bulkUpsertBot: adding bot "${e.id}"`)),(0,r.uz)(n)&&p.push(e.id)}}),d.length&&e(u({objects:d})),(0,_.mY)(c,p),d});p.meta={name:"upsertBots",key:"createThunkUpsertBots",description:"Bulk upsert bots to store, with logging"}},0x16f1f4c74:(e,t,a)=>{"use strict";a.d(t,{DN:()=>R,Ir:()=>S,Mg:()=>I,NE:()=>O,NY:()=>l,Nh:()=>b,OU:()=>L,PG:()=>_,Q7:()=>T,QG:()=>ee,QW:()=>H,Q_:()=>r,R6:()=>E,SH:()=>y,Tm:()=>Q,V2:()=>Y,V9:()=>Z,Vg:()=>g,Wi:()=>w,Yq:()=>c,Z1:()=>J,Z2:()=>X,ZA:()=>G,_h:()=>q,_w:()=>u,c8:()=>j,ct:()=>h,d1:()=>f,dr:()=>P,en:()=>s,gG:()=>M,gQ:()=>V,iE:()=>U,jT:()=>K,kb:()=>m,m:()=>B,n3:()=>F,pO:()=>i,pd:()=>W,pp:()=>k,pq:()=>v,r1:()=>A,sQ:()=>$,t2:()=>N,t7:()=>C,tL:()=>x,vB:()=>p,vP:()=>d,vu:()=>o,x:()=>z,yF:()=>D});var n=a(0xcf658893);let r=(0,n.Ay)("Add a browser instance to the store");r.meta={name:"createInstance",key:"createActionCreateInstance",description:"Add a browser instance to the store"};let i=(0,n.Ay)("Remove browser instance from store");i.meta={name:"deleteInstance",key:"createActionDeleteInstance",description:"Remove browser instance from store"};let o=(0,n.Ay)("Add filters to be used in next rendered browser instance");o.meta={name:"setFiltersForNextInstance",key:"createActionSetFiltersForNextInstance",description:"Add filters to be used in next rendered browser instance"};let s=(0,n.Ay)("Clears filters that were set for next rendered browser instance");s.meta={name:"clearFiltersForNextInstance",key:"createActionClearFiltersForNextInstance",description:"Clears filters that were set for next rendered browser instance"};let l=(0,n.Ay)("Update the query string for the specified browser");l.meta={name:"setQuery",key:"createActionSetQuery",description:"Update the query string for the specified browser"};let c=(0,n.Ay)("Set view type for browser, either grid or list");c.meta={name:"setViewType",key:"createActionSetViewType",description:"Set view type for browser, either grid or list"};let d=(0,n.Ay)("Update the the last filter value");d.meta={name:"setFilterSharedBy",key:"createActionSetFilterSharedBy",description:"Update the the last filter value"};let u=(0,n.Ay)("Update the the last sort value");u.meta={name:"setLastSortValue",key:"createActionSetLastSortValue",description:"Update the the last sort value"};let m=(0,n.Ay)("Update the initial results for channel files");m.meta={name:"setInitialResultsCount",key:"createActionSetInitialResultsCount",description:"Update the initial results for channel files"};let f=(0,n.Ay)("Update the sort value for entity fetch request");f.meta={name:"setSort",key:"createActionSetSort",description:"Update the sort value for entity fetch request"};let _=(0,n.Ay)("Update the last sorting value for an entity search query");_.meta={name:"setLastSearchSort",key:"createActionSetLastSearchSort",description:"Update the last sorting value for an entity search query"};let p=(0,n.Ay)("Update the last browsing sort value for an entity");p.meta={name:"setLastBrowseSort",key:"createActionSetLastBrowseSort",description:"Update the last browsing sort value for an entity"};let h=(0,n.Ay)("Update the results and pagination for specified entity");h.meta={name:"setResultsAndPagination",key:"createActionSetResultsAndPagination",description:"Update the results and pagination for specified entity"};let g=(0,n.Ay)("Update lastRequestId for browser entity");g.meta={name:"setLastRequestId",key:"createActionSetLastRequestId",description:"Update lastRequestId for browser entity"};let A=(0,n.Ay)("Update loading state for browser entity");A.meta={name:"setLoading",key:"createActionSetLoading",description:"Update loading state for browser entity"};let b=(0,n.Ay)("Update error value for browser entity");b.meta={name:"setError",key:"createActionSetError",description:"Update error value for browser entity"};let y=(0,n.Ay)("Reset error value for specified entity");y.meta={name:"resetError",key:"createActionResetError",description:"Reset error value for specified entity"};let S=(0,n.Ay)("Update page state value for browser entity");S.meta={name:"setPage",key:"createActionSetPage",description:"Update page state value for browser entity"};let E=(0,n.Ay)("Update filter value for browser entity");E.meta={name:"setFilter",key:"createActionSetFilter",description:"Update filter value for browser entity"};let k=(0,n.Ay)("Reset single entity state");k.meta={name:"resetBrowserInstance",key:"createActionResetBrowserInstance",description:"Reset single entity state"};let T=(0,n.Ay)("Update shared teams object to a loading state");T.meta={name:"setSharedTeamsLoading",key:"createActionSetSharedTeamsLoading",description:"Update shared teams object to a loading state"};let I=(0,n.Ay)("Update shared teams object to an error state");I.meta={name:"setSharedTeamsError",key:"createActionSetSharedTeamsError",description:"Update shared teams object to an error state"};let w=(0,n.Ay)("Update shared teams object to a resolved state");w.meta={name:"setSharedTeamsResolved",key:"createActionSetSharedTeamsResolved",description:"Update shared teams object to a resolved state"};let C=(0,n.Ay)("Update shared teams suggested ids collection");C.meta={name:"setSharedTeamsSuggestedIds",key:"createActionSetSharedTeamsSuggestedIds",description:"Update shared teams suggested ids collection"};let v=(0,n.Ay)("Resets shared teams state");v.meta={name:"resetSharedTeams",key:"createActionResetSharedTeams",description:"Resets shared teams state"};let x=(0,n.Ay)("Update profile fields object to a loading state");x.meta={name:"setProfileFieldsLoading",key:"createActionSetProfileFieldsLoading",description:"Update profile fields object to a loading state"};let R=(0,n.Ay)("Update profile fields object to reflect an error occurred");R.meta={name:"setProfileFieldsError",key:"createActionSetProfileFieldsError",description:"Update profile fields object to reflect an error occurred"};let O=(0,n.Ay)("Update profile fields object to a resolved state");O.meta={name:"setProfileFieldsResolved",key:"createActionSetProfileFieldsResolved",description:"Update profile fields object to a resolved state"};let N=(0,n.Ay)("Updates visible profile field options");N.meta={name:"setVisibleProfileFieldOption",key:"createActionSetVisibleProfileFieldOption",description:"Updates visible profile field options"};let D=(0,n.Ay)("Update suggested filters to a loading state");D.meta={name:"setFilterSuggestionsLoading",key:"createActionSetFilterSuggestionsLoading",description:"Update suggested filters to a loading state"};let L=(0,n.Ay)("Update suggested filters state to reflect an error occurred");L.meta={name:"setFilterSuggestionsError",key:"createActionSetFilterSuggestionsError",description:"Update suggested filters state to reflect an error occurred"};let M=(0,n.Ay)("Update suggested filters object to a resolved state");M.meta={name:"setFilterSuggestionsResolved",key:"createActionSetFilterSuggestionsResolved",description:"Update suggested filters object to a resolved state"};let F=(0,n.Ay)("Set filter panel visibility for entity");F.meta={name:"setFilterVisibility",key:"createActionSetFilterVisibility",description:"Set filter panel visibility for entity"};let P=(0,n.Ay)("Reset filter values for entity");P.meta={name:"resetFilters",key:"createActionResetFilters",description:"Reset filter values for entity"};let U=(0,n.Ay)("Set lastRequestData for entity");U.meta={name:"setLastRequestData",key:"createActionSetLastRequestData",description:"Set lastRequestData for entity"};let B=(0,n.Ay)("Set cursorMark value for entity");B.meta={name:"setCursorMark",key:"createActionSetCursorMark",description:"Set cursorMark value for entity"};let G=(0,n.Ay)("Set scroll position value for entity");G.meta={name:"setScrollPosition",key:"createActionSetScrollPosition",description:"Set scroll position value for entity"};let H=(0,n.Ay)("Reset results state for entity");H.meta={name:"resetResults",key:"createActionResetResults",description:"Reset results state for entity"};let W=(0,n.Ay)("Hydrate filters for entity");W.meta={name:"hydrateFilters",key:"createActionHydrateFilters",description:"Hydrate filters for entity"};let V=(0,n.Ay)("Sets browser session id for entity");V.meta={name:"setBrowserSessionId",key:"createActionSetBrowserSessionId",description:"Sets browser session id for entity"};let j=(0,n.Ay)("Sets query session id for entity");j.meta={name:"setQuerySessionId",key:"createActionSetQuerySessionId",description:"Sets query session id for entity"};let K=(0,n.Ay)("Sets browser session timeout ID for entity");K.meta={name:"setSessionTimeoutId",key:"createActionSetSessionTimeoutId",description:"Sets browser session timeout ID for entity"};let q=(0,n.Ay)("Reset browser session timeout ID for entity");q.meta={name:"resetSessionTimeoutId",key:"createActionResetSessionTimeoutId",description:"Reset browser session timeout ID for entity"};let z=(0,n.Ay)("Touches last event time value");z.meta={name:"touchLastEventTimeMs",key:"createActionTouchLastEventTimeMs",description:"Touches last event time value"};let $=(0,n.Ay)("Set isBooted for entity");$.meta={name:"setIsBooted",key:"createActionSetIsBooted",description:"Set isBooted for entity"};let Y=(0,n.Ay)("Set requestId for page");Y.meta={name:"setRequestId",key:"createActionSetRequestId",description:"Set requestId for page"};let Q=(0,n.Ay)("Set channel being previewed from channel browser or Joiner Launchpad");Q.meta={name:"setPreviewedChannelData",key:"createActionSetPreviewedChannelData",description:"Set channel being previewed from channel browser or Joiner Launchpad"};let Z=(0,n.Ay)("Set FileBrowserData for entityTypes.FILES");Z.meta={name:"setFileBrowserData",key:"createActionSetFileBrowserData",description:"Set FileBrowserData for entityTypes.FILES"};let J=(0,n.Ay)("Update the boolean for knowing if a Quip search has been applied");J.meta={name:"setIsQuipFileSearchApplied",key:"createActionSetIsQuipFileSearchApplied",description:"Update the boolean for knowing if a Quip search has been applied"};let X=(0,n.Ay)("Update the boolean for knowing if a Lists search has been applied");X.meta={name:"setIsListsSearchApplied",key:"createActionSetIsListsSearchApplied",description:"Update the boolean for knowing if a Lists search has been applied"};let ee=(0,n.Ay)("Updates forceRefetchOnNextMount value that forces a new results API call");ee.meta={name:"setForceRefetchOnNextMount",key:"createActionSetForceRefetchOnNextMount",description:"Updates forceRefetchOnNextMount value that forces a new results API call"}},0x1c56fcf95:(e,t,a)=>{"use strict";a.d(t,{ET:()=>h,Iu:()=>b,Jv:()=>A,Lf:()=>v,Vr:()=>S,W2:()=>k,c8:()=>y,eg:()=>w,gK:()=>g,kc:()=>R,np:()=>I,q7:()=>x,t6:()=>E,vf:()=>C});var n=a(0x1a7c10f4),r=a(0x39b123a7),i=a(0x1cf0d97e1),o=a(0x9b971e7e),s=a(0xf1527618),l=a(0x1ccef1c6f),c=a(0xdf55e8f3),d=a(0x19c76d181),u=a(0x1d06e350e),m=a(0x9c34eb0b),f=a(0x1950da728),_=a(0xddcf4cb7),p=a(0x1ee439e69);let h=(0,i.Ay)((e,t)=>t in e.browsers.instances&&!!e.browsers.instances[t].entity);h.meta={name:"isBrowserInstanceCreated",key:"createSelectorIsBrowserInstanceCreated",description:(e,t)=>t in e.browsers.instances&&!!e.browsers.instances[t].entity};let g=(0,i.Ay)((e,t)=>{let a=e.browsers?.instances[t];if(!a)return u.F2;let n=(0,o.ZT)(e);return a.isBooted&&n&&(0,m.G)().maybeRefetch(n,t),a});g.meta={name:"getBrowserInstance",key:"createSelectorGetBrowserInstance",description:(e,t)=>{let a=e.browsers?.instances[t];if(!a)return u.F2;let n=(0,o.ZT)(e);return a.isBooted&&n&&(0,m.G)().maybeRefetch(n,t),a}};let A=(0,i.Ay)(e=>e.browsers.filtersForNextInstance);A.meta={name:"getFiltersForNextInstance",key:"createSelectorGetFiltersForNextInstance",description:e=>e.browsers.filtersForNextInstance};let b=(0,i.Ay)(e=>e.browsers.sharedTeams);b.meta={name:"getSharedTeamsForBrowsers",key:"createSelectorGetSharedTeamsForBrowsers",description:e=>e.browsers.sharedTeams};let y=(0,i.Ay)(e=>e.browsers.previewedChannelId);y.meta={name:"getPreviewedChannelId",key:"createSelectorGetPreviewedChannelId",description:e=>e.browsers.previewedChannelId};let S=(0,i.Ay)(e=>e.browsers.previewedChannelPrevRoute);S.meta={name:"getPreviewedChannelPrevRoute",key:"createSelectorGetPreviewedChannelPrevRoute",description:e=>e.browsers.previewedChannelPrevRoute};let E=(0,i.Ay)((e,t)=>g(e,t).lastRequestId);function calculateFilterCount(e={}){return Object.entries(e).reduce((e,[t,a])=>{switch(t){case"accountType":a!==f.Dx.all&&(e+=1);break;case"channelType":a!==u.Ti.ALL&&(e+=1);break;case"recordType":a!==u.Rp.ALL&&(e+=1);break;case"onlyRecordChannels":!1!==a&&(e+=1);break;case"fileType":a!==u.Wz.ALL&&(e+=1);break;case"in":case"from":case"selectedOrgs":case"location":case"title":case"department":case"division":Array.isArray(a)&&a.length&&(e+=a.length);break;case"selectedTeamId":case"hideMemberChannels":case"showDeactivatedUsers":case"hideDeactivatedUserGroups":case"showMyUsergroups":case"after":case"before":case"onlyRecentlyLeftChannels":case"onlyRecentlyJoinedChannels":a&&(e+=1);break;case"excludeBots":case"onlyMyChannels":!0===a&&(e+=1);break;default:t.startsWith(u.lS)&&Array.isArray(a)&&(e+=a.length)}return e},0)}E.meta={name:"getLastRequestId",key:"createSelectorGetLastRequestId",description:(e,t)=>g(e,t).lastRequestId};let k=(0,i.Ay)((e,t)=>{let{lastRequestData:a}=g(e,t),n=calculateFilterCount(a?.filters);return!a?.query?.length&&!n});k.meta={name:"browserHasZeroState",key:"createSelectorBrowserHasZeroState",description:(e,t)=>{let{lastRequestData:a}=g(e,t),n=calculateFilterCount(a?.filters);return!a?.query?.length&&!n}};let T=(0,i.Ay)((e,t)=>{if(k(e,t))return!0;let{lastRequestData:a,filters:n,entity:r}=g(e,t);if(a.query.length)return!1;let i=calculateFilterCount(a.filters);return Object.entries(n).forEach(([t,a])=>{(r===u.ri.FILES||r===u.ri.CHANNEL_FILES)&&"from"===t&&1===a.length&&a[0]===(0,d.WR)(e)&&(i-=1),r===u.ri.USER_GROUPS&&"hideDeactivatedUserGroups"===t&&!0===a&&(i-=1)}),!i});T.meta={name:"browserHasInitialState",key:"createSelectorBrowserHasInitialState",description:(e,t)=>{if(k(e,t))return!0;let{lastRequestData:a,filters:n,entity:r}=g(e,t);if(a.query.length)return!1;let i=calculateFilterCount(a.filters);return Object.entries(n).forEach(([t,a])=>{(r===u.ri.FILES||r===u.ri.CHANNEL_FILES)&&"from"===t&&1===a.length&&a[0]===(0,d.WR)(e)&&(i-=1),r===u.ri.USER_GROUPS&&"hideDeactivatedUserGroups"===t&&!0===a&&(i-=1)}),!i}};let I=(0,i.Ay)((e,t)=>{let{lastRequestData:a,totalCount:n,isLoading:r,error:i}=g(e,t);return i!==u.iJ.NONE||!!(!r&&a.query&&a.query.length&&0===n)});I.meta={name:"browserHasNoResultsState",key:"createSelectorBrowserHasNoResultsState",description:(e,t)=>{let{lastRequestData:a,totalCount:n,isLoading:r,error:i}=g(e,t);return i!==u.iJ.NONE||!!(!r&&a.query&&a.query.length&&0===n)}};let w=(0,i.Ay)((e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=T(e,t),o=n!==u.iJ.NONE,s=(0,l.ty)(e,u.N_.SEEN_INITIAL_CHANNEL_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_CHANNEL_BROWSER_LOW_RESULTS_EDUCATION);return!(0,_.v)(e)&&!r&&!o&&(!s||i&&a<13&&!c)});w.meta={name:"showChannelsEducationBanner",key:"createSelectorShowChannelsEducationBanner",description:(e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=T(e,t),o=n!==u.iJ.NONE,s=(0,l.ty)(e,u.N_.SEEN_INITIAL_CHANNEL_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_CHANNEL_BROWSER_LOW_RESULTS_EDUCATION);return!(0,_.v)(e)&&!r&&!o&&(!s||i&&a<13&&!c)}};let C=(0,i.Ay)((e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=T(e,t),o=n!==u.iJ.NONE,s=(0,l.ty)(e,u.N_.SEEN_INITIAL_PEOPLE_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_PEOPLE_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!o&&(!s||i&&a<7&&!c)});C.meta={name:"showPeopleEducationBanner",key:"createSelectorShowPeopleEducationBanner",description:(e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=T(e,t),o=n!==u.iJ.NONE,s=(0,l.ty)(e,u.N_.SEEN_INITIAL_PEOPLE_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_PEOPLE_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!o&&(!s||i&&a<7&&!c)}};let v=(0,i.Ay)((e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t),s=(0,l.ty)(e,u.N_.SEEN_INITIAL_USER_GROUPS_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_USER_GROUPS_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!i&&(!s||o&&a<10&&!c)});v.meta={name:"showUserGroupsEducationBanner",key:"createSelectorShowUserGroupsEducationBanner",description:(e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t),s=(0,l.ty)(e,u.N_.SEEN_INITIAL_USER_GROUPS_BROWSER_EDUCATION),c=(0,l.ty)(e,u.N_.DISMISSED_USER_GROUPS_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!i&&(!s||o&&a<10&&!c)}},(0,i.Ay)((e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t),c=(0,l.ty)(e,u.N_.SEEN_INITIAL_FILES_BROWSER_EDUCATION),d=(0,l.ty)(e,u.N_.DISMISSED_FILES_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!i&&!(0,s.Yx)(e)&&(!c||o&&a<10&&!d)}).meta={name:"showFilesEducationBanner",key:"createSelectorShowFilesEducationBanner",description:(e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t),c=(0,l.ty)(e,u.N_.SEEN_INITIAL_FILES_BROWSER_EDUCATION),d=(0,l.ty)(e,u.N_.DISMISSED_FILES_BROWSER_LOW_RESULTS_EDUCATION);return!r&&!i&&!(0,s.Yx)(e)&&(!c||o&&a<10&&!d)}},(0,i.Ay)((e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t);return!r&&!i&&o&&!a&&(0,s.Yx)(e)}).meta={name:"showFilesOnboardingExperiment",key:"createSelectorShowFilesOnboardingExperiment",description:(e,t)=>{let{totalCount:a,error:n,isLoading:r}=g(e,t),i=n!==u.iJ.NONE,o=T(e,t);return!r&&!i&&o&&!a&&(0,s.Yx)(e)}};let x=(0,c.jB)((e,t)=>{let{filterSuggestions:a}=g(e,t);return{channelIds:a.channelIds.map(t=>(0,r.Z)(e,t)).filter(e=>!!e),peopleIds:a.peopleIds.map(t=>(0,r.Z)(e,t)).filter(e=>!!e),state:a.state}}),R=(0,c.eI)((e,{browserInstanceId:t})=>{let a=(0,p.H7)(e),r=(0,n.A)(a),{filters:i}=g(e,t),o=r.reduce((e,t)=>(e[t.name]=t,e),{});return Object.entries(i).reduce((e,[t,a])=>{let[,n]=t.split(u.lS);return n&&a&&a.length&&e.push({id:n,name:o[n].label??"",value:a[0]}),e},[])})},0xbfc2abc5:(e,t,a)=>{"use strict";a.d(t,{o:()=>c});var n=a(0x1ec68d6a3),r=a(0x11439744b),i=a(0x11c82607b),o=a(0x1c56fcf95),s=a(0x20d278c87),l=a(0x1d06e350e);let c=(0,i.Ay)("Cleanup telemetry marks",(e,t,{browserInstanceId:a})=>{if(!(0,o.ET)(t(),a))return void(0,n.default)({getState:t}).error(Error(`Trying to cleanup telemetry before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`));let i=(0,r.Cy)({getState:t}),{entity:c}=(0,o.gK)(t(),a);Object.values(l.ej).includes(a)&&s.nK&&(i.clearMarks(l.O0.SEARCH_SUBMIT),i.clearMarks(l.O0.SORT),i.clearMarks(l.O0.FILTER),i.clearMarks(l.O0.RESULTS_RECEIVED),c===l.ri.CHANNELS?i.clearMarks(l.O0.CHANNEL_BROWSER_ENTRY):c===l.ri.PEOPLE?i.clearMarks(l.O0.PEOPLE_BROWSER_ENTRY):c===l.ri.FILES?i.clearMarks(l.O0.FILE_BROWSER_ENTRY):c===l.ri.USER_GROUPS&&i.clearMarks(l.O0.USER_GROUP_BROWSER_ENTRY))});c.meta={name:"cleanupTelemetry",key:"createThunkCleanupTelemetry",description:"Cleanup telemetry marks"}},0x1dc2afa35:(e,t,a)=>{"use strict";a.d(t,{Q:()=>d});var n=a(0x11c82607b),r=a(0x16f1f4c74),i=a(0x1c56fcf95),o=a(0x12edaa96a),s=a(0x1ec68d6a3);let l=(0,n.Ay)("Sets a new id for the browser session",(e,t,{browserInstanceId:a})=>{let n=(0,o.A)();return t().browsers?.instances[a]?(e((0,r.gQ)({browserInstanceId:a,value:n})),e((0,r.x)({browserInstanceId:a}))):(0,s.default)({getState:t}).error(Error(`Trying to set a browser session before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`)),n});l.meta={name:"startBrowserSession",key:"createThunkStartBrowserSession",description:"Sets a new id for the browser session"};var c=a(0x20d278c87);let d=(0,n.Ay)("Get a query session ID",(e,t,{browserInstanceId:a})=>{let n=t(),{lastEventTimeMs:o,browserSessionId:s}=(0,i.gK)(n,a);return!s||!o||Date.now()-o>c.Vq?e(l({browserInstanceId:a})):(e((0,r.x)({browserInstanceId:a})),s)});d.meta={name:"getBrowserSessionId",key:"createThunkGetBrowserSessionId",description:"Get a query session ID"}},0x7f16f57b:(e,t,a)=>{"use strict";a.d(t,{m:()=>l});var n=a(0x11c82607b),r=a(0x16f1f4c74),i=a(0x1c56fcf95),o=a(0xae619031),s=a(0x20d278c87);let l=(0,n.Ay)("Get a query session ID",(e,t,{browserInstanceId:a})=>{let n=t(),{lastEventTimeMs:l,querySessionId:c}=(0,i.gK)(n,a);return!c||!l||new Date().getTime()-l>s.RO?e((0,o.z)({browserInstanceId:a})):(e((0,r.x)({browserInstanceId:a})),c)});l.meta={name:"getQuerySessionId",key:"createThunkGetQuerySessionId",description:"Get a query session ID"}},0x182b853bf:(e,t,a)=>{"use strict";a.d(t,{h:()=>O});var n=a(0x20ef3966f),r=a(0xe874a88a),i=a(0x12edaa96a),o=a(0x180230774),s=a(0x1ec68d6a3),l=a(0x11439744b),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x16f1f4c74),m=a(0x1c56fcf95),f=a(0xbfc2abc5),_=a(0x1dc2afa35),p=a(0x7f16f57b),h=a(0x1e367a230),g=a(0x108d3428e),A=a(0x1d06e350e),b=a(0x167194e99);function formatResultsForEntity({entity:e,items:t,shouldHideStoriesFromFiles:a}){return e===A.ri.FILES||e===A.ri.CHANNEL_FILES||e===A.ri.QUIP_FILES?a?getIdsFromItems(t?.filter(e=>!(0,g.A)(e))):getIdsFromItems(t):e===A.ri.WORKFLOWS?getIdsFromItems(t?.filter(e=>!(0,b.U)(e))):e===A.ri.USER_GROUPS||e===A.ri.CHANNELS||e===A.ri.PEOPLE||e===A.ri.EXTERNAL_CONTACTS||e===A.ri.WORKFLOW_TEMPLATES||e===A.ri.YOUR_WORKFLOW_TEMPLATES?getIdsFromItems(t):t}function formatMetadataForEntity({entity:e,items:t}){return e===A.ri.CHANNELS?t.reduce((e,t)=>(e[t.id]={iid:t.iid,name:t.name,purpose:t.purpose,member_count:t.member_count,is_member:t.is_member,previous_name:t.previous_name,justification:t.justification},e),{}):e===A.ri.FILES||e===A.ri.CHANNEL_FILES||e===A.ri.QUIP_FILES?(t?.filter(e=>!(0,g.A)(e))).reduce((e,t)=>(e[t.id]={iid:t.iid,name:t.search_name,title:t.search_title,mimetype:t.mimetype},e),{}):e===A.ri.PEOPLE||e===A.ri.EXTERNAL_CONTACTS?t.reduce((e,t)=>(t&&(e[t.id]={top_terms:t.top_terms,similar:t.similar,iid:t.iid,profile:{fields:t.profile?.fields,title:t.profile?.title,real_name:t.profile?.real_name,real_name_normalized:t.profile?.real_name_normalized,display_name:t.profile?.display_name,display_name_normalized:t.profile?.display_name_normalized,email:t.profile?.email,first_name:t.profile?.first_name,last_name:t.profile?.last_name}}),e),{}):e===A.ri.WORKFLOWS?t.reduce((e,t)=>(t&&(e[t.id]={workflowId:t.workflow.id,triggerId:t.id,isEvent:(0,h.Mc)(t),isScheduled:(0,h.nJ)(t),isExternal:(0,h.Tw)(t),isWebhook:(0,h.zc)(t)}),e),{}):{}}function getIdsFromItems(e=[]){return e.map(e=>e.id)}let y=(0,c.Ay)("Receives api response, formats and cleans data, and updates results and pagination data for specified entity",(e,t,{browserInstanceId:a,response:n})=>{if(!(0,m.ET)(t(),a))return void(0,s.default)({getState:t}).error(Error(`Trying to update results and pagination before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`));let r=t(),{entity:i}=(0,m.gK)(r,a),o=formatResultsForEntity({entity:i,items:n.items??[]}),l=formatMetadataForEntity({entity:i,items:n.items??[]});if(i===A.ri.USER_GROUPS||i===A.ri.MANAGED_WORKFLOWS||i===A.ri.SLACKBOT_AUTOMATIONS){let{results:e,page:t}=(0,m.gK)(r,a);Array.isArray(e[t])&&o.unshift(...e[t])}e((0,u.ct)({browserInstanceId:a,results:o,metadata:l,page:n.page,totalCount:n.totalCount,pageCount:n.pageCount,cursorMark:n.cursorMark}))});y.meta={name:"updateResultsAndPagination",key:"createThunkUpdateResultsAndPagination",description:"Receives api response, formats and cleans data, and updates results and pagination data for specified entity"};var S=a(0x20d278c87),E=a(0x9c34eb0b),k=a(0x23e1fed85),T=a(0x10bb8e96f),I=a(0xb76add93),w=a(0x110a7bac9),C=a(0x9eaebfe2),v=a(0x11a399abe),x=a(0x209bc8f97);let R=(0,c.Ay)("Fetches the current browser instance",(e,t,{browserInstanceId:a,formattedQuery:n,fileTitleOnly:i,...l})=>{let c=t();if(!a)return r.S.reject(Error("No entity id specified, cannot fetch"));if(!(0,m.ET)(t(),a))return void(0,s.default)({getState:t}).error(Error(`Trying to fetch current browser before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`));let{entity:d,page:u,filters:f,restrictions:h,sort:g,cursorMark:b,query:y,browse:S}=(0,m.gK)(c,a),E=e((0,_.Q)({browserInstanceId:a})),k=e((0,p.m)({browserInstanceId:a})),T=(0,A.Wu)(d);return e((0,o.A4)({reason:"fetch-current-browser",entity:d,page:u,query:n||y,filters:f,sort:g||"",cursorMark:b||void 0,restrictions:h,browseSessionId:E,querySessionId:k,fileTitleOnly:i,browse:S,context:T,browserInstanceId:a,...l}))});R.meta={name:"fetchCurrentBrowserInstance",key:"createThunkFetchCurrentBrowserInstance",description:"Fetches the current browser instance"};let O=(0,c.Ay)("Get browser results",(e,t,{browserInstanceId:a,initQuery:o,hideLoader:c=!1,fileTitleOnly:_=!1,...p})=>{let h=t(),g=(0,d.ZT)(h);if(!a)return r.S.reject(Error("No entity id specified, cannot fetch"));if(!(0,m.ET)(t(),a))return void(0,s.default)({getState:t}).error(Error(`Trying to get browser results before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`));let{entity:b,page:O,cursorMark:N,isLoading:D,filters:L,sort:M,error:F,scrollPosition:P,query:U}=(0,m.gK)(h,a),B=(0,s.default)({getState:t}),G=(0,i.A)(),H=U;return e((0,u.Vg)({browserInstanceId:a,value:G})),c||D||e((0,u.r1)({browserInstanceId:a,value:!0})),0!==P&&e((0,u.ZA)({browserInstanceId:a,value:0})),o&&(H=o),e(R({browserInstanceId:a,formattedQuery:H,fileTitleOnly:_,...p})).then(async r=>{if(F!==A.iJ.NONE&&e((0,u.SH)({browserInstanceId:a})),(0,S.tN)(t(),{browserInstanceId:a,requestId:G})){let i=(0,l.Cy)({getState:t});if(S.nK&&i.mark(A.O0.RESULTS_RECEIVED),(b===A.ri.FILES||b===A.ri.QUIP_FILES||b===A.ri.LISTS||b===A.ri.CHANNEL_FILES)&&r.items?.length&&e((0,k.b)({files:(0,S.r5)(r.items??[])})),b===A.ri.WORKFLOWS&&r.items){let t=r.items.map(e=>e.workflow.workflow_id).filter(e=>!!e);if(t.length)try{await e((0,w.D)({workflowIds:t,accessLevel:"all",limit:t.length,reason:"browsers_store:get_results"}))}catch{}e((0,T.z4)({triggers:r.items??[]})),g&&(0,I.X)().markObjectsAsFresh(g,(0,n.A)(r.items,"id"))}b===A.ri.YOUR_WORKFLOW_TEMPLATES&&(e((0,v.Oh)(r.items)),g&&(0,x.G)().markObjectsAsFresh(g,(0,n.A)(r.items,"id"))),b===A.ri.PEOPLE&&r.filterSuggestions&&e((0,C.A)({suggestions:r.filterSuggestions})),e(y({browserInstanceId:a,response:r})),e((0,u.iE)({browserInstanceId:a,page:O,cursorMark:N,query:U,filters:L,sort:M})),e((0,u.V2)({browserInstanceId:a,page:O,value:r.requestId})),g&&(0,E.G)().markObjectsAsFresh(g,[a])}return r}).catch(n=>{if(!(n instanceof r.S.TimeoutError))throw n;(0,S.tN)(t(),{browserInstanceId:a,requestId:G})&&(B.warn(A.jX,"Browser results timed out"),e((0,u.Nh)({browserInstanceId:a,value:A.iJ.TIMEOUT,isLoading:!1})),e((0,f.o)({browserInstanceId:a})))}).catch(n=>{(0,S.tN)(t(),{browserInstanceId:a,requestId:G})&&(B.warn(A.jX,"Browser results threw an error while loading",n),e((0,u.Nh)({browserInstanceId:a,value:A.iJ.UNKNOWN})),e((0,f.o)({browserInstanceId:a})))})});O.meta={name:"getResults",key:"createThunkGetResults",description:"Get browser results"}},0xae619031:(e,t,a)=>{"use strict";a.d(t,{z:()=>u});var n=a(0x12edaa96a),r=a(0x1ec68d6a3),i=a(0x11c82607b),o=a(0x16f1f4c74),s=a(0x3711e82d),l=a(0x45012309);let c=(0,i.Ay)("Clog browser query session started",(e,t,{querySessionId:a,browserSessionId:n})=>{let r=t();(0,l.eo)({state:r}).track(s.EventId.SEARCH_QUERY_SESSION,{browser_session_id:n,client_request_id:a})});c.meta={name:"clogQuerySessionStarted",key:"createThunkClogQuerySessionStarted",description:"Clog browser query session started"};var d=a(0x1dc2afa35);let u=(0,i.Ay)("Sets a new ID for the query session",(e,t,{browserInstanceId:a})=>{let i=(0,n.A)();if(!t().browsers?.instances[a])return(0,r.default)({getState:t}).error(Error(`Trying to start a query session before browser instance ${a} has been instantiated. Make sure upstream callers of this function are called AFTER init-browser or useBrowser()`)),i;let s=e((0,d.Q)({browserInstanceId:a}));return e((0,o.c8)({browserInstanceId:a,value:i})),e((0,o.x)({browserInstanceId:a})),e(c({browserSessionId:s,querySessionId:i})),i});u.meta={name:"startQuerySession",key:"createThunkStartQuerySession",description:"Sets a new ID for the query session"}},0x20d278c87:(e,t,a)=>{"use strict";a.d(t,{RO:()=>o,Vq:()=>i,nK:()=>s,r5:()=>convertSearchFilesToRegularFiles,tN:()=>isLastRequestIdValid});var n=a(0x6258badf),r=a(0x318bb66b);a(0x1ccef1c6f),a(0x19c76d181),a(0x1c56fcf95);let i=3e5,o=6e4,s=(0,r.A)(1);function isLastRequestIdValid(e,{browserInstanceId:t,requestId:a}){return e.browsers?.instances?.[t]?.lastRequestId===a}function convertSearchFilesToRegularFiles(e=[]){return e.map(e=>(0,n.A)(e,["search_name","search_title","iid","search_preview"]))}},0x1d06e350e:(e,t,a)=>{"use strict";a.d(t,{F2:()=>B,FK:()=>x,Lv:()=>u,NK:()=>j,NZ:()=>f,N_:()=>R,O0:()=>M,PJ:()=>U,QX:()=>C,Qg:()=>I,Rp:()=>b,S5:()=>isSessionableBrowserInstance,Ti:()=>A,WN:()=>O,Wu:()=>getSearchContextForBrowserEntity,Wz:()=>y,YJ:()=>getViewTypeByEntityType,Yf:()=>W,Yu:()=>w,bZ:()=>E,eE:()=>m,ej:()=>c,g:()=>d,iH:()=>L,iJ:()=>h,j6:()=>F,jX:()=>g,lS:()=>N,n5:()=>S,nx:()=>v,qH:()=>D,ri:()=>s,tR:()=>k,tv:()=>_,vV:()=>G});var n=a(0x139aa1a7),r=a(0x11f79e2d6),i=a(0x8acb3ad3),o=a(0x1950da728);let s={FILES:"files",QUIP_FILES:"quip_files",CHANNEL_FILES:"channel-files",CHANNEL_LINKS:"channel-links",PEOPLE:"people",EXTERNAL_CONTACTS:"external_contacts",CHANNELS:"channels",USER_GROUPS:"user_groups",ORG_CHART:"org-chart",LISTS:"lists",WORKFLOWS:"triggers",MANAGED_WORKFLOWS:"managed-by-you-triggers",SLACKBOT_AUTOMATIONS:"slackbot-automations",YOUR_WORKFLOW_TEMPLATES:"your-workflow-templates",WORKFLOW_TEMPLATES:"workflow-templates",EXTERNAL_WORKSPACES:"external-workspaces",EXTERNAL_WORKSPACE_CHANNELS:"external-workspace-channels",EXTERNAL_WORKSPACE_PEOPLE:"external_workspace_people",WIDGETS:"widgets",UNIFIED_FILES:"unified-files",UNIFIED_FILES_EXTERNAL_FILES:"unified-files-external-files"},l={[s.FILES]:r.Oj.FilesBrowser,[s.QUIP_FILES]:r.Oj.CanvasBrowser,[s.CHANNELS]:r.Oj.ChannelBrowser,[s.PEOPLE]:r.Oj.PeopleBrowser,[s.LISTS]:r.Oj.ListsBrowser},getSearchContextForBrowserEntity=e=>l[e]??r.Oj.Unknown,c={FILES:"permanent_browser_instance_files",QUIP_FILES:"permanent_browser_instance_quip_files",UNIFIED_FILES:"permanent_browser_instance_unified_files",PEOPLE:"permanent_browser_instance_people",AGENT_PEOPLE:"permanent_browser_instance_agent_people",CHANNELS:"permanent_browser_instance_channels",USER_GROUPS:"permanent_browser_instance_user_groups",LISTS:"permanent_browser_instance_lists",HUDDLE:"permanent_browser_instance_huddle",CANVAS:"permanent_browser_instance_canvas",WORKFLOWS:"permanent_browser_instance_workflows",MANAGED_WORKFLOWS:"permanent_browser_instance_managed_by_you_workflows",SLACKBOT_AUTOMATIONS:"permanent_browser_instance_slackbot_automations",WORKFLOW_TEMPLATES:"permanent_browser_instance_workflow_templates",YOUR_WORKFLOW_TEMPLATES:"permanent_browser_instance_your_workflow_templates",IA2022_PEEK_BROWSE_FILES:"permanent_browser_instance_ia2022_peek_browse_files",EXTERNAL_WORKSPACES:"permanent_browser_instance_external_workspaces",CHANNEL_TAB_FILES:"permanent_browser_instance_channel_tab_files",CHANNEL_TAB_MEDIA:"permanent_browser_instance_channel_tab_media",CHANNEL_TAB_CANVAS:"permanent_browser_instance_channel_tab_canvas",CANVAS_PEEK:"permanent_browser_instance_canvas_peek",LIST_PEEK:"permanent_browser_instance_list_peek",UNIFIED_FILES_PEEK:"permanent_browser_instance_unified_files_peek",UNIFIED_FILE_PICKER_LISTS:"permanent_browser_instance_unified_file_picker_lists",UNIFIED_FILE_PICKER_CANVASES:"permanent_browser_instance_unified_file_picker_canvases",UNIFIED_FILE_PICKER_ALL_FILES:"permanent_browser_instance_unified_file_picker_all_files",UNIFIED_FILE_PICKER_PDFS:"permanent_browser_instance_unified_file_picker_pdfs",UNIFIED_FILE_PICKER_DOCUMENTS:"permanent_browser_instance_unified_file_picker_documents",UNIFIED_FILE_PICKER_SPREADSHEETS:"permanent_browser_instance_unified_file_picker_spreadsheets",UNIFIED_FILE_PICKER_PRESENTATIONS:"permanent_browser_instance_unified_file_picker_presentations"},isSessionableBrowserInstance=e=>[c.FILES,c.QUIP_FILES,c.UNIFIED_FILES,c.CHANNELS,c.PEOPLE,c.LISTS,c.CANVAS,c.CHANNEL_TAB_FILES,c.CHANNEL_TAB_CANVAS].includes(e),d={[c.UNIFIED_FILES]:o.Jx.UNIFIED_FILES_EXPLORER,[c.QUIP_FILES]:o.Jx.CANVAS_EXPLORER,[c.LISTS]:o.Jx.LIST_EXPLORER,[c.FILES]:o.Jx.FILE_EXPLORER,[c.USER_GROUPS]:o.Jx.USER_GROUP_EXPLORER,[c.WORKFLOWS]:o.Jx.WORKFLOWS_EXPLORER,[c.MANAGED_WORKFLOWS]:o.Jx.MANAGED_WORKFLOWS_EXPLORER,[c.SLACKBOT_AUTOMATIONS]:o.Jx.SLACKBOT_AUTOMATIONS_EXPLORER,[c.YOUR_WORKFLOW_TEMPLATES]:o.Jx.YOUR_WORKFLOW_TEMPLATES_EXPLORER,[c.WORKFLOW_TEMPLATES]:o.Jx.WORKFLOW_TEMPLATES_EXPLORER,[c.PEOPLE]:o.Jx.PEOPLE_EXPLORER,[c.CHANNELS]:o.Jx.CHANNEL_EXPLORER},u={[s.FILES]:c.FILES,[s.QUIP_FILES]:c.QUIP_FILES,[s.PEOPLE]:c.PEOPLE,[s.CHANNELS]:c.CHANNELS,[s.USER_GROUPS]:c.USER_GROUPS,[s.LISTS]:c.LISTS,[s.WORKFLOWS]:c.WORKFLOWS,[s.MANAGED_WORKFLOWS]:c.MANAGED_WORKFLOWS,[s.SLACKBOT_AUTOMATIONS]:c.SLACKBOT_AUTOMATIONS,[s.YOUR_WORKFLOW_TEMPLATES]:c.YOUR_WORKFLOW_TEMPLATES,[s.WORKFLOW_TEMPLATES]:c.WORKFLOW_TEMPLATES,[s.UNIFIED_FILES]:c.UNIFIED_FILES},m={FILES:"browse-files",QUIP_FILES:"browse-canvases",PEOPLE:"browse-people",EXTERNAL_CONTACTS:"browse-external-contacts",CHANNELS:"browse-channels",USER_GROUPS:"browse-user-groups",ORG_CHART:"browse-org-chart",LISTS:"lists",WORKFLOWS:"browse-shortcuts",MANAGED_WORKFLOWS:"browse-workflows-managed-by-you",YOUR_WORKFLOW_TEMPLATES:"browse-your-workflow-templates",WORKFLOW_TEMPLATES:"browse-workflow-templates"},f={FILES:"files_browse",PEOPLE:"people_browse",CHANNELS:"channels_browse",USER_GROUPS:"usergroups_browse"},_={[s.FILES]:m.FILES,[s.QUIP_FILES]:m.QUIP_FILES,[s.PEOPLE]:m.PEOPLE,[s.EXTERNAL_CONTACTS]:m.EXTERNAL_CONTACTS,[s.CHANNELS]:m.CHANNELS,[s.USER_GROUPS]:m.USER_GROUPS,[s.ORG_CHART]:m.ORG_CHART,[s.LISTS]:m.LISTS,[s.WORKFLOWS]:m.WORKFLOWS,[s.MANAGED_WORKFLOWS]:m.MANAGED_WORKFLOWS,[s.YOUR_WORKFLOW_TEMPLATES]:m.YOUR_WORKFLOW_TEMPLATES,[s.WORKFLOW_TEMPLATES]:m.WORKFLOW_TEMPLATES},p={[s.CHANNELS]:n.D.BrowseChannels,[s.FILES]:n.D.BrowseUnifiedFiles,[s.LISTS]:n.D.BrowseUnifiedFilesLists,[s.PEOPLE]:n.D.BrowsePeople,[s.ORG_CHART]:n.D.OrgDirectory,[s.USER_GROUPS]:n.D.BrowseUserGroups,[s.QUIP_FILES]:n.D.BrowseUnifiedFilesCanvases,[s.WORKFLOWS]:n.D.BrowseShortcuts,[s.MANAGED_WORKFLOWS]:n.D.BrowseWorkflowsManagedByYou,[s.YOUR_WORKFLOW_TEMPLATES]:n.D.BrowseYourWorkflowTemplates,[s.WORKFLOW_TEMPLATES]:n.D.BrowseWorkflowTemplates,[s.UNIFIED_FILES]:n.D.BrowseUnifiedFiles},getViewTypeByEntityType=e=>p[e]?p[e]:n.D.Unknown;Object.values(f),Object.values(s);let h={NONE:"none",TIMEOUT:"timeout",RENDER_ERROR:"renderErrorCaught",UNKNOWN:"unknown"},g="BROWSERS",A={ALL:"all",PRIVATE:"private",ARCHIVED:"archived",SHARED:"shared",RECORD:"record"},b={ALL:"all",ANY_SALESFORCE:"any_salesforce",ACCOUNTS:"Account",CASES:"Case",CONTACTS:"Contact",LEADS:"Lead",OPPORTUNITIES:"Opportunity"},y={ALL:"",POSTS:"docs",SNIPPETS:"snippets",EMAILS:"emails",IMAGES:"images",VIDEOS:"videos",PDFS:"pdfs",SPREADSHEETS:"spreadsheets",PRESENTATIONS:"presentations",DOCUMENTS:"documents",GDOCS:"gdocs"},S={NAME_ALPHA:"name_asc",NAME_ALPHA_REVERSE:"name_desc",RELEVANT:"relevant",MEMBERS_MOST:"member_count_desc",MEMBERS_LEAST:"member_count_asc",RECOMMENDED:"recommended"},E={NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE,CREATED_NEW:"created_desc",CREATED_OLD:"created_asc",MEMBERS_MOST:S.MEMBERS_MOST,MEMBERS_LEAST:S.MEMBERS_LEAST,RELEVANT:S.RELEVANT,RECOMMENDED:S.RECOMMENDED,MOST_ACTIVE:"most_active",MOST_READ:"most_read"},k={NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE,RELEVANT:S.RELEVANT,RECOMMENDED:S.RECOMMENDED},T={NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE},I={ORG_ADMINS:"org_admins",ORG_OWNERS:"org_owners",WORKSPACE_ADMINS:"ws_admins",WORKSPACE_OWNERS:"ws_owners"},w={NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE,CREATED_NEW:"date_desc",CREATED_OLD:"date_asc",MEMBERS_MOST:S.MEMBERS_MOST,MEMBERS_LEAST:S.MEMBERS_LEAST},C={RECENTLY_VIEWED:"last_read_desc",NEWEST:"timestamp_desc",OLDEST:"timestamp_asc",RELEVANT:"score",NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE,CREATED_NEW:"file_created_desc",LAST_ENGAGED:"last_engaged"},v={SHORTCUT:"shortcut",EVENT:"event",SCHEDULED:"scheduled",WEBHOOK:"webhook",EXTERNAL:"external",SERVICE:"service"},x={RELEVANT:"score",NAME_ALPHA:S.NAME_ALPHA,NAME_ALPHA_REVERSE:S.NAME_ALPHA_REVERSE},R={DISMISSED_CHANNEL_BROWSER_LOW_RESULTS_EDUCATION:"browsers_dismissed_channels_low_results_education",DISMISSED_PEOPLE_BROWSER_LOW_RESULTS_EDUCATION:"browsers_dismissed_people_low_results_education",DISMISSED_USER_GROUPS_BROWSER_LOW_RESULTS_EDUCATION:"browsers_dismissed_user_groups_low_results_education",DISMISSED_FILES_BROWSER_LOW_RESULTS_EDUCATION:"browsers_dismissed_files_low_results_education",SEEN_INITIAL_CHANNEL_BROWSER_EDUCATION:"browsers_seen_initial_channels_education",SEEN_INITIAL_PEOPLE_BROWSER_EDUCATION:"browsers_seen_initial_people_education",SEEN_INITIAL_USER_GROUPS_BROWSER_EDUCATION:"browsers_seen_initial_user_groups_education",SEEN_INITIAL_FILES_BROWSER_EDUCATION:"browsers_seen_initial_files_education",SEEN_WORKFLOWS_GALLERY_ONBOARDING_BANNER_VIEW_COUNT:"seen_workflows_gallery_onboarding_banner_view_count",SEEN_WORKFLOWS_GALLERY_ONBOARDING_BANNER_DISMISSED:"seen_workflows_gallery_onboarding_banner_dismissed",SEEN_WORKFLOWS_TEMPLATES_GALLERY_ONBOARDING_BANNER_DISMISSED:"seen_workflows_templates_gallery_onboarding_banner_dismissed",SEEN_WORKFLOWS_MANAGED_BY_YOU_ONBOARDING_BANNER_DISMISSED:"seen_workflows_managed_by_you_onboarding_banner_dismissed"},O={READY:"ready",LOADING:"loading",ERROR:"error"},N="profileField.",D={GRID:"grid",LIST:"list"},L=550,M={CHANNEL_BROWSER_ENTRY:"channel_browser_entry",PEOPLE_BROWSER_ENTRY:"people_browser_entry",FILE_BROWSER_ENTRY:"file_browser_entry",USER_GROUP_BROWSER_ENTRY:"user_group_browser_entry",SEARCH_SUBMIT:"browser_search_submit",SORT:"browser_sort",FILTER:"browser_filter",RESULTS_RECEIVED:"browser_results_received"},F={LOAD_CHANNEL_BROWSER:"load_channel_browser",LOAD_PEOPLE_BROWSER:"load_people_browser",LOAD_FILE_BROWSER:"load_file_browser",LOAD_USER_GROUP_BROWSER:"load_user_groups_browser",SEARCH_CHANNEL_BROWSER:"search_channel_browser",SEARCH_PEOPLE_BROWSER:"search_people_browser",SEARCH_FILE_BROWSER:"search_file_browser",SEARCH_USER_GROUP_BROWSER:"search_user_group_browser",FILTER_CHANNEL_BROWSER:"filter_channel_browser",FILTER_PEOPLE_BROWSER:"filter_people_browser",FILTER_FILE_BROWSER:"filter_file_browser",FILTER_USER_GROUP_BROWSER:"filter_user_group_browser",SORT_CHANNEL_BROWSER:"sort_channel_browser",SORT_PEOPLE_BROWSER:"sort_people_browser",SORT_FILE_BROWSER:"sort_file_browser",SORT_USER_GROUP_BROWSER:"sort_user_group_browser",RENDER_CHANNEL_BROWSER:"render_channel_browser",RENDER_FILE_BROWSER:"render_files_browser",RENDER_PEOPLE_BROWSER:"render_people_browser",RENDER_USER_GROUP_BROWSER:"render_user_group_browser"},P={isLoading:!1,results:[],pageCount:0,totalCount:0},U={isBrowsing:!1,browseFocus:null,isBrowseFocusLoading:!1,browseFocusState:{media:{...P},saved:{...P},myfiles:{...P},recent:{...P}}},B={entity:s.FILES,query:"",results:{},metadata:{},page:1,pageCount:1,cursorMark:null,totalCount:0,isLoading:!0,isFilterPanelOpen:!1,viewType:D.LIST,scrollPosition:0,filters:{},initialFilters:{},sort:null,lastBrowseSort:null,lastSearchSort:null,lastRequestId:null,lastRequestData:{query:"",page:1,filters:{},sort:""},requestIds:{},error:h.NONE,browserSessionId:null,sessionTimeoutId:null,querySessionId:null,lastEventTimeMs:Date.now(),isBooted:!1,filterSuggestions:{state:O.READY,channelIds:[],peopleIds:[]},fileBrowserData:{...U},initialResultCount:0,lastSortValue:null,lastSharedByFilterValue:"anyone",isQuipFileSearchApplied:!1,isListsSearchApplied:!1,browse:""},G={CHANNELS:"midsize-teams-joiner-channels",PEOPLE:"midsize-teams-joiner-users",CHANNEL_BROWSER:"channel-browser",PEOPLE_BROWSER:"people-browser"},H={[s.CHANNELS]:{channelType:o.xV.all,selectedOrgs:[],selectedTeamId:"",hideMemberChannels:!1,onlyMyChannels:!1,onlyRecentlyLeftChannels:!1,onlyRecentlyJoinedChannels:!1},[s.FILES]:{after:null,before:null,from:[],notFrom:[],in:[],fileType:[],with:[],selectedTeamId:"",excludeBots:!1,onlyMyChannels:!1,saved:!1},[s.QUIP_FILES]:{after:null,before:null,from:[],notFrom:[],in:[],fileType:["quip"],with:[],fileTypes:null,selectedTeamId:"",excludeBots:!1,onlyMyChannels:!1,saved:!1},[s.WORKFLOWS]:{searchOnlyMyApps:!1},[s.MANAGED_WORKFLOWS]:{isPublished:void 0},[s.SLACKBOT_AUTOMATIONS]:{isPublished:void 0},[s.YOUR_WORKFLOW_TEMPLATES]:{isPublished:void 0},[s.WORKFLOW_TEMPLATES]:{integrationAppId:void 0},[s.CHANNEL_FILES]:{after:null,before:null,from:[],notFrom:[],in:[],fileType:[],fileTypes:null,selectedTeamId:"",excludeBots:!1,onlyMyChannels:!1,saved:!1},[s.CHANNEL_LINKS]:{after:null,before:null,from:[],notFrom:[]},[s.PEOPLE]:{accountType:o.Dx.all,selectedOrgs:[],selectedTeamId:"",showDeactivatedUsers:!1},[s.EXTERNAL_CONTACTS]:{accountType:o.Dx.all,selectedOrgs:[],selectedTeamId:"",showDeactivatedUsers:!1},[s.USER_GROUPS]:{showMyUsergroups:!1,hideDeactivatedUserGroups:!1,selectedTeamId:""},[s.ORG_CHART]:{},[s.LISTS]:{after:null,before:null,from:[],notFrom:[],in:[],fileType:["list"],fileTypes:null,selectedTeamId:"",excludeBots:!1,onlyMyChannels:!1,saved:!1},[s.EXTERNAL_WORKSPACES]:{},[s.EXTERNAL_WORKSPACE_CHANNELS]:{},[s.EXTERNAL_WORKSPACE_PEOPLE]:{},[s.UNIFIED_FILES]:{fileType:i.b,onlyMyChannels:!1},[s.UNIFIED_FILES_EXTERNAL_FILES]:{}},W={[s.CHANNELS]:E.NAME_ALPHA,[s.PEOPLE]:k.NAME_ALPHA,[s.EXTERNAL_WORKSPACE_PEOPLE]:k.NAME_ALPHA,[s.EXTERNAL_CONTACTS]:k.NAME_ALPHA,[s.FILES]:C.NEWEST,[s.QUIP_FILES]:C.RECENTLY_VIEWED,[s.CHANNEL_FILES]:C.NEWEST,[s.CHANNEL_LINKS]:C.NEWEST,apps:"name",[s.USER_GROUPS]:w.NAME_ALPHA,[s.LISTS]:C.RECENTLY_VIEWED,[s.EXTERNAL_WORKSPACES]:T.NAME_ALPHA,[s.WORKFLOWS]:C.RELEVANT,[s.EXTERNAL_WORKSPACE_CHANNELS]:E.NAME_ALPHA,[s.UNIFIED_FILES]:C.LAST_ENGAGED,[s.UNIFIED_FILES_EXTERNAL_FILES]:C.RECENTLY_VIEWED},V={[s.CHANNELS]:E.RELEVANT,[s.PEOPLE]:k.RELEVANT,[s.EXTERNAL_WORKSPACE_PEOPLE]:k.RELEVANT,[s.EXTERNAL_CONTACTS]:k.RELEVANT,[s.FILES]:C.RELEVANT,[s.QUIP_FILES]:C.RELEVANT,apps:"name",[s.USER_GROUPS]:w.NAME_ALPHA,[s.LISTS]:C.RELEVANT,[s.EXTERNAL_WORKSPACES]:null,[s.WORKFLOWS]:C.RELEVANT,[s.CHANNEL_FILES]:C.RELEVANT,[s.CHANNEL_LINKS]:C.RELEVANT,[s.UNIFIED_FILES_EXTERNAL_FILES]:C.RECENTLY_VIEWED},j={[s.CHANNELS]:{...B,entity:s.CHANNELS,filters:{...H[s.CHANNELS]},sort:W[s.CHANNELS],lastBrowseSort:W[s.CHANNELS],lastSearchSort:V[s.CHANNELS]},[s.PEOPLE]:{...B,entity:s.PEOPLE,filters:{...H[s.PEOPLE]},sort:W[s.PEOPLE],lastBrowseSort:W[s.PEOPLE],lastSearchSort:V[s.PEOPLE]},[s.EXTERNAL_CONTACTS]:{...B,entity:s.EXTERNAL_CONTACTS,filters:{...H[s.EXTERNAL_CONTACTS]},sort:W[s.EXTERNAL_CONTACTS],lastBrowseSort:W[s.EXTERNAL_CONTACTS],lastSearchSort:V[s.EXTERNAL_CONTACTS]},[s.FILES]:{...B,entity:s.FILES,filters:{...H[s.FILES]},sort:W[s.FILES],lastBrowseSort:W[s.FILES],lastSearchSort:V[s.FILES],fileBrowserData:{...U}},[s.QUIP_FILES]:{...B,entity:s.QUIP_FILES,filters:{...H[s.QUIP_FILES]},sort:W[s.QUIP_FILES],lastBrowseSort:W[s.QUIP_FILES],lastSearchSort:V[s.QUIP_FILES]},[s.CHANNEL_FILES]:{...B,entity:s.CHANNEL_FILES,filters:{...H[s.FILES]},sort:W[s.FILES],lastBrowseSort:W[s.FILES],lastSearchSort:V[s.FILES],fileBrowserData:{...U}},[s.CHANNEL_LINKS]:{...B,entity:s.CHANNEL_LINKS,filters:{...H[s.CHANNEL_LINKS]},sort:W[s.CHANNEL_LINKS],lastBrowseSort:W[s.CHANNEL_LINKS],lastSearchSort:V[s.CHANNEL_LINKS]},[s.WORKFLOWS]:{...B,entity:s.WORKFLOWS,filters:{...H[s.WORKFLOWS]},sort:W[s.WORKFLOWS],lastBrowseSort:W[s.WORKFLOWS],lastSearchSort:V[s.WORKFLOWS]},[s.MANAGED_WORKFLOWS]:{...B,entity:s.MANAGED_WORKFLOWS,filters:{...H[s.MANAGED_WORKFLOWS]}},[s.SLACKBOT_AUTOMATIONS]:{...B,entity:s.SLACKBOT_AUTOMATIONS,filters:{...H[s.SLACKBOT_AUTOMATIONS]}},[s.YOUR_WORKFLOW_TEMPLATES]:{...B,entity:s.YOUR_WORKFLOW_TEMPLATES,filters:{...H[s.YOUR_WORKFLOW_TEMPLATES]}},[s.WORKFLOW_TEMPLATES]:{...B,entity:s.WORKFLOW_TEMPLATES,filters:{...H[s.WORKFLOW_TEMPLATES]}},[s.USER_GROUPS]:{...B,entity:s.USER_GROUPS,filters:{...H[s.USER_GROUPS]},sort:W[s.USER_GROUPS],lastBrowseSort:W[s.USER_GROUPS],lastSearchSort:V[s.USER_GROUPS]},[s.ORG_CHART]:{...B,entity:s.ORG_CHART},[s.LISTS]:{...B,entity:s.LISTS,filters:{...H[s.LISTS]},sort:W[s.LISTS],lastBrowseSort:W[s.LISTS],lastSearchSort:V[s.LISTS]},[s.EXTERNAL_WORKSPACES]:{...B,entity:s.EXTERNAL_WORKSPACES,filters:{...H[s.EXTERNAL_WORKSPACES]},sort:W[s.EXTERNAL_WORKSPACES],lastBrowseSort:W[s.EXTERNAL_WORKSPACES],lastSearchSort:V[s.EXTERNAL_WORKSPACES]},[s.EXTERNAL_WORKSPACE_CHANNELS]:{...B,entity:s.EXTERNAL_WORKSPACE_CHANNELS,filters:{...H[s.EXTERNAL_WORKSPACE_CHANNELS]},sort:W[s.EXTERNAL_WORKSPACE_CHANNELS],lastBrowseSort:W[s.EXTERNAL_WORKSPACE_CHANNELS],lastSearchSort:W[s.EXTERNAL_WORKSPACE_CHANNELS]},[s.EXTERNAL_WORKSPACE_PEOPLE]:{...B,entity:s.EXTERNAL_WORKSPACE_PEOPLE,filters:{...H[s.EXTERNAL_WORKSPACE_PEOPLE]},sort:W[s.EXTERNAL_WORKSPACE_PEOPLE],lastBrowseSort:W[s.EXTERNAL_WORKSPACE_PEOPLE],lastSearchSort:V[s.EXTERNAL_WORKSPACE_PEOPLE]},[s.WIDGETS]:{...B,entity:s.WIDGETS},[s.UNIFIED_FILES]:{...B,entity:s.UNIFIED_FILES,filters:{...H[s.UNIFIED_FILES]},sort:W[s.UNIFIED_FILES]},[s.UNIFIED_FILES_EXTERNAL_FILES]:{...B,entity:s.UNIFIED_FILES_EXTERNAL_FILES,filters:{...H[s.UNIFIED_FILES_EXTERNAL_FILES]},sort:W[s.UNIFIED_FILES_EXTERNAL_FILES],lastBrowseSort:W[s.UNIFIED_FILES_EXTERNAL_FILES],lastSearchSort:V[s.UNIFIED_FILES_EXTERNAL_FILES]}}},0x9c34eb0b:(e,t,a)=>{"use strict";a.d(t,{G:()=>s});var n=a(0xca924ee1),r=a(0x1a8cc04e1),i=a(0x1266f1359),o=a(0x182b853bf);let s=(0,n.A)(()=>new r.Ay({storeKey:"browsers",fetch:(e,[t])=>(0,i.Qw)(e,(0,o.h)({browserInstanceId:t,hideLoader:!0})),isEnabled:()=>!0,metricsName:"browser_results"}))},0x24ca198aa:(e,t,a)=>{"use strict";a.d(t,{Oy:()=>n});let{addObjects:n,removeObjects:r,clearObjects:i}=a(0x37497b8d).o1},0x37497b8d:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>o,Tp:()=>i,o1:()=>r});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"canInteract",persistenceEnabled:!0}),o=n},0x12b31912f:(e,t,a)=>{"use strict";a.d(t,{bo:()=>i,zP:()=>o});var n=a(0x1cf0d97e1);let{getObjectById:r}=a(0x37497b8d).Tp,i=(0,n.Ay)((e,t)=>{let a=r(e,t);return a?.interact===!1||a?.interact===!0});i.meta={name:"hasCanMemberInteractById",key:"createSelectorHasCanMemberInteractById",description:(e,t)=>{let a=r(e,t);return a?.interact===!1||a?.interact===!0}};let o=(0,n.Ay)((e,t)=>{let a=r(e,t);return!a||a?.interact!==!1});o.meta={name:"canMemberInteractById",key:"createSelectorCanMemberInteractById",description:(e,t)=>{let a=r(e,t);return!a||a?.interact!==!1}}},0xf1431e47:(e,t,a)=>{"use strict";a.d(t,{B:()=>o});var n=a(0x1feee1711),r=a(0x11c82607b),i=a(0x24ca198aa);let o=(0,r.Ay)("Set can interact flags",(e,t,a={})=>{let r=Object.keys(a).filter(e=>!(0,n.A)(a[e])).map(e=>({id:e,interact:!!a[e]}));r.length&&e((0,i.Oy)({objects:r}))});o.meta={name:"setCanInteract",key:"createThunkSetCanInteract",description:"Set can interact flags"}},6922920:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>o,JE:()=>i,Mv:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Store the rich text snippet associated with a given canvas section");r.meta={name:"upsertCanvasSectionRichText",key:"createActionUpsertCanvasSectionRichText",description:"Store the rich text snippet associated with a given canvas section"};let i=(0,n.Ay)("Remove rich text snippet associated with a given canvas section");i.meta={name:"removeCanvasSectionRichText",key:"createActionRemoveCanvasSectionRichText",description:"Remove rich text snippet associated with a given canvas section"};let o=(0,n.Ay)("Remove all rich text snippets associated with a given canvas (fileId)");o.meta={name:"removeCanvasSectionRichTextForFile",key:"createActionRemoveCanvasSectionRichTextForFile",description:"Remove all rich text snippets associated with a given canvas (fileId)"}},0x23939c0c2:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,Nd:()=>throttledMarkObjectsAsStale,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0x162afc153),i=a(0x5c9a86a5),o=a(0x1a8cc04e1),s=a(0x1266f1359),l=a(0xd5ea2d01),c=a(0x164b23c3f),d=a(0x181aa15e6);let u=new i.A(20),m=(0,n.A)(()=>new o.Ay({storeKey:"canvasSectionRichText",fetch:(e,t)=>(0,s.Qw)(e,(0,l.l)({ids:t})),isEnabled:()=>!0})),maybeRefetch=(e,t,a)=>m().maybeRefetch(e,(0,d.l)(t,a)),markObjectsAsStale=(e,t)=>{let a=m().getFreshObjects(e).map(c.i),n=[];return t.forEach(e=>{let t=a.filter(t=>t.fileId===e);n=n.concat(t.map(({fileId:e,sectionId:t})=>(0,d.l)(e,t)))}),m().markObjectsAsStale(e,n)},throttledMarkObjectsAsStale=(e,t)=>{let a=`${e}-${t}`;return u.readWithDefault(a,e=>(0,r.A)(markObjectsAsStale,3e4,{leading:!0,trailing:!0}))(e,[t])}},0x21a0abac9:(e,t,a)=>{"use strict";a.d(t,{y:()=>o});var n=a(0x1cf0d97e1),r=a(0x9b971e7e),i=a(0x23939c0c2);let o=(0,n.Ay)((e,t,a,n={})=>{let o=(0,r.JY)(e);return o&&!n.skipRefetch&&(0,i.ez)(o,a,t),e.canvasSectionRichText?.[a]?.[t]});o.meta={name:"getRichTextBlocksForCanvasSection",key:"createSelectorGetRichTextBlocksForCanvasSection",description:(e,t,a,n={})=>{let o=(0,r.JY)(e);return o&&!n.skipRefetch&&(0,i.ez)(o,a,t),e.canvasSectionRichText?.[a]?.[t]}}},0xb3ac4ebd:(e,t,a)=>{"use strict";a.d(t,{b:()=>s});var n=a(0x11c82607b),r=a(0x21a0abac9),i=a(0xd5ea2d01),o=a(0x164b23c3f);let s=(0,n.Ay)("Fetch and upsert canvas sections",async(e,t,{serializedIds:a})=>{let n=[];a.forEach(e=>{let{fileId:a,sectionId:i}=(0,o.i)(e);(0,r.y)(t(),i,a,{skipRefetch:!0})||n.push(e)}),n.length&&await e((0,i.l)({ids:n}))});s.meta={name:"ensureCanvasSections",key:"createThunkEnsureCanvasSections",description:"Fetch and upsert canvas sections"}},0xd5ea2d01:(e,t,a)=>{"use strict";a.d(t,{l:()=>c});var n=a(0xe874a88a),r=a(0x8d2e020b),i=a(0x1ec68d6a3),o=a(0x11c82607b),s=a(6922920),l=a(0x164b23c3f);let c=(0,o.Ay)("Fetches rich text representation of a canvas section",(e,t,{ids:a})=>{let o={};return a.forEach(e=>{let{fileId:t,sectionId:a}=(0,l.i)(e);o[t]=(o[t]||[]).concat(a)}),n.S.map(Object.keys(o),a=>{let n=o[a];return(0,i.default)({getState:t,label:"CANVAS-SECTION-CFM"}).info(`Re-fetching sectionIds:${n} in fileId:${a}`),e((0,r.Q)({fileId:a,sectionIds:n,reason:"conditional-fetching"})).then(t=>{t.sections&&t.sections.forEach(t=>{e((0,s.Mv)({fileId:a,sectionId:t.id,richText:t.rich_text_blocks[0]}))})}).catch(()=>{e((0,s.Cf)({fileId:a}))})})});c.meta={name:"fetchAndUpsertCanvasSectionRichText",key:"createThunkFetchAndUpsertCanvasSectionRichText",description:"Fetches rich text representation of a canvas section"}},0x164b23c3f:(e,t,a)=>{"use strict";function deserialize(e){let[t,a]=e.split("_");return{fileId:t,sectionId:a}}a.d(t,{i:()=>deserialize})},0x181aa15e6:(e,t,a)=>{"use strict";function serialize(e,t){return`${e}_${t}`}a.d(t,{l:()=>serialize})},0x23175895b:(e,t,a)=>{"use strict";a.d(t,{CX:()=>i,PZ:()=>l,QK:()=>f,SH:()=>r,bd:()=>o,fI:()=>d,jZ:()=>c,vK:()=>m,wc:()=>s,yn:()=>u});var n=a(0xcf658893);let r=(0,n.Ay)("Set an array for all the canned templates");r.meta={name:"setAllCannedCanvasTemplates",key:"createActionSetAllCannedCanvasTemplates",description:"Set an array for all the canned templates"};let i=(0,n.Ay)("Store whether the canned templates button row is collapsed in synth view");i.meta={name:"setCannedTemplatesCollapsed",key:"createActionSetCannedTemplatesCollapsed",description:"Store whether the canned templates button row is collapsed in synth view"};let o=(0,n.Ay)("Store whether the canned templates request is in flight");o.meta={name:"setIsFetchingCannedTemplates",key:"createActionSetIsFetchingCannedTemplates",description:"Store whether the canned templates request is in flight"};let s=(0,n.Ay)("Set an array for all templates created by the user");s.meta={name:"setCreatedByUserCanvasTemplates",key:"createActionSetCreatedByUserCanvasTemplates",description:"Set an array for all templates created by the user"};let l=(0,n.Ay)("Set an array for all the templates shared with the user");l.meta={name:"setSharedCanvasTemplates",key:"createActionSetSharedCanvasTemplates",description:"Set an array for all the templates shared with the user"};let c=(0,n.Ay)("Set an array for all the templates created by the org");c.meta={name:"setCreatedByOrgCanvasTemplates",key:"createActionSetCreatedByOrgCanvasTemplates",description:"Set an array for all the templates created by the org"};let d=(0,n.Ay)("Set an array for all the templates created by sales");d.meta={name:"setCreatedBySalesCanvasTemplates",key:"createActionSetCreatedBySalesCanvasTemplates",description:"Set an array for all the templates created by sales"};let u=(0,n.Ay)("Store whether all the templates were fetched");u.meta={name:"setIsAllTemplatesFetched",key:"createActionSetIsAllTemplatesFetched",description:"Store whether all the templates were fetched"};let m=(0,n.Ay)("sets a template badge for a file optimistically");m.meta={name:"setOptimisticTemplateBadge",key:"createActionSetOptimisticTemplateBadge",description:"sets a template badge for a file optimistically"};let f=(0,n.Ay)("sets a template badge for a file optimistically");f.meta={name:"setTemplatePreviewId",key:"createActionSetTemplatePreviewId",description:"sets a template badge for a file optimistically"}},0xbc72568a:(e,t,a)=>{"use strict";a.d(t,{GB:()=>u,Hf:()=>l,_I:()=>m,cw:()=>s,iS:()=>d,jM:()=>c,sk:()=>i,uf:()=>f,wP:()=>o,z4:()=>_});var n=a(0x1df96de4c),r=a(0x1cf0d97e1);let i=(0,r.Ay)(e=>e.canvasTemplates?.cannedTemplates||n.Ml);i.meta={name:"getAllCannedCanvasTemplates",key:"createSelectorGetAllCannedCanvasTemplates",description:e=>e.canvasTemplates?.cannedTemplates||n.Ml};let o=(0,r.Ay)((e,t)=>i(e).find(e=>e.id===t));o.meta={name:"getCannedCanvasTemplateById",key:"createSelectorGetCannedCanvasTemplateById",description:(e,t)=>i(e).find(e=>e.id===t)};let s=(0,r.Ay)(e=>e.canvasTemplates?.cannedTemplatesCollapsed||!1);s.meta={name:"getCannedTemplatesCollapsed",key:"createSelectorGetCannedTemplatesCollapsed",description:e=>e.canvasTemplates?.cannedTemplatesCollapsed||!1};let l=(0,r.Ay)(e=>e.canvasTemplates?.isFetchingCannedTemplates||!1);l.meta={name:"getIsFetchingCannedTemplates",key:"createSelectorGetIsFetchingCannedTemplates",description:e=>e.canvasTemplates?.isFetchingCannedTemplates||!1};let c=(0,r.Ay)(e=>e.canvasTemplates?.createdByUserTemplates||n.Ml);c.meta={name:"getUserCreatedTemplates",key:"createSelectorGetUserCreatedTemplates",description:e=>e.canvasTemplates?.createdByUserTemplates||n.Ml};let d=(0,r.Ay)(e=>e.canvasTemplates?.createdByOrgTemplates||n.Ml);d.meta={name:"getOrgCreatedTemplates",key:"createSelectorGetOrgCreatedTemplates",description:e=>e.canvasTemplates?.createdByOrgTemplates||n.Ml};let u=(0,r.Ay)(e=>e.canvasTemplates?.createdBySalesTemplates||n.Ml);u.meta={name:"getSalesCreatedTemplates",key:"createSelectorGetSalesCreatedTemplates",description:e=>e.canvasTemplates?.createdBySalesTemplates||n.Ml};let m=(0,r.Ay)(e=>e.canvasTemplates?.sharedWithUserTemplates||n.Ml);m.meta={name:"getSharedWithUserTemplates",key:"createSelectorGetSharedWithUserTemplates",description:e=>e.canvasTemplates?.sharedWithUserTemplates||n.Ml};let f=(0,r.Ay)(e=>e.canvasTemplates?.isAllTemplatesFetched||!1);f.meta={name:"getIsAllTemplatesFetched",key:"createSelectorGetIsAllTemplatesFetched",description:e=>e.canvasTemplates?.isAllTemplatesFetched||!1};let _=(0,r.Ay)((e,t)=>e.canvasTemplates?.optimisticTemplateBadge[t]??!1);_.meta={name:"getOptimisticTemplateBadgeById",key:"createSelectorGetOptimisticTemplateBadgeById",description:(e,t)=>e.canvasTemplates?.optimisticTemplateBadge[t]??!1},(0,r.Ay)((e,t)=>e.canvasTemplates?.templatePreview[t]).meta={name:"getTemplatePreview",key:"createSelectorGetTemplatePreview",description:(e,t)=>e.canvasTemplates?.templatePreview[t]}},0x1bc939146:(e,t,a)=>{"use strict";a.d(t,{hI:()=>h,ov:()=>A,dR:()=>y,Dg:()=>b});var n=a(0x9a1b4e90),r=a(0x1e359e322),i=a(0x21da5510),o=a(0x167d76333),s=a(0x1ec68d6a3),l=a(0x11c82607b),c=a(0x19c76d181),d=a(0x20d278c87),u=a(0x23175895b),m=a(0x54ef0daa);let f=["EmployeeOnboardingTemplate","MonthlyNewsletterTemplate","OOOCoveragePlanTemplate","EmployeeBenefitsTemplate","IncidentSummaryTemplate","ProjectBriefTemplate","TechSpecTemplate","MarketingProjectOutlineTemplate","SalesEnablementHubTemplate","OKRTemplate","WeeklySyncTemplate","EventPlanningTemplate","SharedResourcesTemplate","AgendaTemplate","ChannelOverviewTemplate","LeadHandoverTemplate","OpportunityPlanTemplate","ExecutiveBriefingTemplate","AccountPlanTemplate","DealWinTemplate","DiscoveryCallNotesTemplate",m.T.SELF_DM_TEMPLATE_NAME,m.T.DM_TEMPLATE_NAME,"AllCompanyHandbook"];var _=a(0xbc72568a),p=a(0x23e1fed85);let h={All:"all",Yours:"yours",Shared:"shared",Canned:"canned",Admin:"admin",Sales:"sales"},g=1,A=(0,l.Ay)("Fetches and upserts canvas templates using files search.modules",(e,t,{searchQuery:a="",queryFilter:n,page:r=g,pageCount:o=20,disableLastRead:s})=>{let l,u=t(),m=(0,c.WR)(u),f=n===h.Canned,_=`${a} type:canvas_template`;n===h.Canned?_=`${_} from:<@USLACKBOT>`:n===h.Yours?_=`${_} creator:${m}`:n===h.Shared?_=`${_} -creator:${m} -from:<@USLACKBOT> WITH:${m}`:n===h.Sales&&(_=`${_} -from:<@USLACKBOT>`,l="sales");let A=f||s?"name":"last_read",b=f?"asc":"desc";return e((0,i.i)({query:`${_}`,module:"files",filters:'{ "file_types": [ "canvas_template" ]}',reason:"canvas-template-gallery",searchExcludeBots:!1,sort:`${A}`,sortDir:`${b}`,skipExcludingCannedTemplates:f,canvasTemplateTypeFilter:l,page:r,count:o,excludeOrgVisible:n===h.Shared,onlyOrgVisible:n===h.Admin})).then(t=>{if(t?.items){let a=t.items,n=(0,d.r5)(a);return e((0,p.b)({files:n})),{files:n,pagination:t.pagination}}return{files:[],pagination:null}})});A.meta={name:"canvasTemplatesSearchThunkWithPagination",key:"createThunkCanvasTemplatesSearchThunkWithPagination",description:"Fetches and upserts canvas templates using files search.modules"},(0,l.Ay)("Fetches and upserts canvas templates using files search.modules",async(e,t,{searchQuery:a="",isCanned:n})=>{let{files:r}=await e(A({searchQuery:a,queryFilter:n?h.Canned:h.All}));return r}).meta={name:"canvasTemplatesSearchThunk",key:"createThunkCanvasTemplatesSearchThunk",description:"Fetches and upserts canvas templates using files search.modules"};let b=(0,l.Ay)("If a request is not in progress and the canvas canned templates have not yet been fetched, calls canvasesGetCannedTemplatesFetcher API",async(e,t)=>{let a=t();if(!(0,o.F)(a))return;let r=(0,_.sk)(a),i=(0,_.Hf)(a);if(!r.length&&!i){e((0,u.bd)({isFetchingCannedTemplates:!0}));try{let t=await e((0,n._)({reason:"fetch-and-upsert-canned-canvas-templates"})),a=t?.files;if(a&&a?.length){let t=f.map(e=>a.find(t=>t.template_name===e)).filter(e=>void 0!==e);t&&(e((0,p.b)({files:t})),e((0,u.SH)({cannedTemplates:t})))}}catch{return}finally{e((0,u.bd)({isFetchingCannedTemplates:!1}))}}});b.meta={name:"maybeFetchAndUpsertCannedCanvasTemplates",key:"createThunkMaybeFetchAndUpsertCannedCanvasTemplates",description:"If a request is not in progress and the canvas canned templates have not yet been fetched, calls canvasesGetCannedTemplatesFetcher API"};let y=(0,l.Ay)("Calls canvas.getTemplates API and insert the templates to the store",async(e,t)=>{let a=t();if(!(0,o.F)(a)||(0,_.uf)(a))return;e((0,u.yn)({isAllTemplatesFetched:!0}));let n=(0,s.getGenericLogger)();try{let t=await e((0,r.P)({sectionType:"all",reason:"fetch_templates_on_boot"}));t&&(e((0,p.b)({files:[...t.canned_templates??[],...t.created_by_user??[],...t.shared_with_user??[],...t.created_by_org??[],...t.created_by_sales??[]]})),t.created_by_user&&e((0,u.wc)({createdByUserTemplates:t.created_by_user})),t.created_by_org&&e((0,u.jZ)({createdByOrgTemplates:t.created_by_org})),t.created_by_sales&&e((0,u.fI)({createdBySalesTemplates:t.created_by_sales})),t.shared_with_user&&e((0,u.PZ)({sharedWithUserTemplates:t.shared_with_user})),t.canned_templates&&e((0,u.SH)({cannedTemplates:t.canned_templates})))}catch{n.error("Unable to fetch canvas templates")}});y.meta={name:"maybeFetchAndUpsertAllCanvasTemplates",key:"createThunkMaybeFetchAndUpsertAllCanvasTemplates",description:"Calls canvas.getTemplates API and insert the templates to the store"}},0x119439f97:(e,t,a)=>{"use strict";a.d(t,{j:()=>r,r:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Increments the major CFM version number.");r.meta={name:"incrementMajorVersion",key:"createActionIncrementMajorVersion",description:"Increments the major CFM version number."};let i=(0,n.Ay)("Increments the minor CFM version number.");i.meta={name:"incrementMinorVersion",key:"createActionIncrementMinorVersion",description:"Increments the minor CFM version number."}},0x4540b986:(e,t,a)=>{"use strict";a.d(t,{Q:()=>r,k:()=>i});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e&&e.cfm&&e.cfm.major);r.meta={name:"getMajorVersion",key:"createSelectorGetMajorVersion",description:e=>e&&e.cfm&&e.cfm.major};let i=(0,n.Ay)((e,t)=>e?.cfm?.minorByStore?.[t]);i.meta={name:"getMinorVersionForStore",key:"createSelectorGetMinorVersionForStore",description:(e,t)=>e?.cfm?.minorByStore?.[t]}},0x2331492d2:(e,t,a)=>{"use strict";a.d(t,{M$:()=>o,oB:()=>i,py:()=>s,xP:()=>r,xr:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Update or insert one or more app action associated with a channelId");r.meta={name:"upsertChannelActionsForChannelId",key:"createActionUpsertChannelActionsForChannelId",description:"Update or insert one or more app action associated with a channelId"};let i=(0,n.Ay)("Set the count of app actions associated with a given channelId");i.meta={name:"setChannelActionCountForChannelId",key:"createActionSetChannelActionCountForChannelId",description:"Set the count of app actions associated with a given channelId"};let o=(0,n.Ay)("Remove specific app actions by ID");o.meta={name:"removeChannelActionsForChannelId",key:"createActionRemoveChannelActionsForChannelId",description:"Remove specific app actions by ID"};let s=(0,n.Ay)("Remove all app actions tied to a given channelId");s.meta={name:"removeAllChannelActionsForChannelId",key:"createActionRemoveAllChannelActionsForChannelId",description:"Remove all app actions tied to a given channelId"};let l=(0,n.Ay)("Remove all app actions tied to a given channelId, and replace with given actions");l.meta={name:"clearAndInsertChannelActionsForChannelId",key:"createActionClearAndInsertChannelActionsForChannelId",description:"Remove all app actions tied to a given channelId, and replace with given actions"}},0x1ce9aeab4:(e,t,a)=>{"use strict";a.d(t,{o:()=>n});let n="PLATFORM-CHANNEL-ACTIONS"},0x8d57b507:(e,t,a)=>{"use strict";a.d(t,{OJ:()=>_,YY:()=>p,Z9:()=>u,aL:()=>d,fo:()=>g,x5:()=>h});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x1bc4b3ad8),s=a(0x571bd0b0);let l=(0,r.Ay)(e=>e?.channelActions||n.t0);l.meta={name:"getRawChannelActionsState",key:"createSelectorGetRawChannelActionsState",description:e=>e?.channelActions||n.t0};let c=(0,o.F)(l,e=>e),d=(0,o.F)(c,(e,t)=>t,(e,t)=>{let a=e.actions;return a?.[t]||null}),u=(0,o.F)(c,(e,t)=>t,(e,t)=>{let a=e.actions;return t.map(e=>a?.[e]).filter(e=>void 0!==e)}),m=(0,o.F)(c,(e,t)=>t,(e,t)=>{let{actionIdsByChannelId:a}=e,r=a?.[t];return Array.isArray(r)?r:n.Ml}),f=(0,o.F)(m,c,(e,t)=>{let{actions:a}=t||{};return e?e.map(e=>a?.[e]).filter(e=>void 0!==e):(0,n.B4)()}),_=(0,o.F)(c,(e,t)=>t,(e,t)=>{let{actionCountByChannelId:a}=e;return a&&a[t]||0}),p=(0,r.Ay)((e,t)=>_(e,t)>0);p.meta={name:"channelHasChannelActions",key:"createSelectorChannelHasChannelActions",description:(e,t)=>_(e,t)>0};let h=(0,r.Ay)((e,t)=>{let{actionCountByChannelId:a}=c(e);return!!a&&Number.isInteger(a[t])});h.meta={name:"selectChannelActionCountIsKnownForChannelId",key:"createSelectorSelectChannelActionCountIsKnownForChannelId",description:(e,t)=>{let{actionCountByChannelId:a}=c(e);return!!a&&Number.isInteger(a[t])}};let g=(0,o.F)(i.ZT,_,f,h,(e,t)=>t,(e,t,a,n,r)=>((!n||t>0)&&(0,s.E)(e,r),a))},0x2512d5047:(e,t,a)=>{"use strict";a.d(t,{H:()=>_});var n=a(0x209e067d1),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x1ec68d6a3),s=a(0x2331492d2),l=a(0x1ce9aeab4),c=a(0x8d57b507),d=a(0xfcdd0275);let u=(0,r.Ay)("Mark actions for channelIds as stale",(e,t,a)=>{let n=(0,d.G)(),r=t(),o=(0,i.ZT)(r);n.markObjectsAsStale(o,a)});u.meta={name:"markChannelActionsAsStaleForChannels",key:"createThunkMarkChannelActionsAsStaleForChannels",description:"Mark actions for channelIds as stale"};let m=(0,r.Ay)("Upserts the count of channel actions for a channel, marking the channel as having stale actions if the count changed.",(e,t,{channelId:a,count:n})=>{let r=t(),i=(0,o.default)({state:r,label:l.o});if(!Number.isInteger(n))return void i.error(`Attempt to set channel action count to non-integer value ${n} for channel ${a}. Ignoring.`,{subtype:"channel_action_count_non_integer"});let d=(0,c.OJ)(r,a);(0,c.x5)(r,a)&&d===n?i.info(`Not updating count for channel ${a}, as count was already set to ${d}`):(i.info(`setting count for channel ${a} to ${n}, and marking channel as stale.`),e(u([a])),e((0,s.oB)({channelId:a,count:n})))});m.meta={name:"upsertChannelActionCountForChannelId",key:"createThunkUpsertChannelActionCountForChannelId",description:"Upserts the count of channel actions for a channel, marking the channel as having stale actions if the count changed."};var f=a(0x1f70a7686);let _=(0,r.Ay)("upsertChannelActionCountForChannelId",(e,t,a)=>{let r=t(),o=(0,i.jV)(r);o&&(0,n.A)()?(0,f.DK)({action:m(a),enterpriseId:o}):e(m(a))});_.meta={name:"upsertXWSChannelActionCountForChannelId",key:"createThunkUpsertXWSChannelActionCountForChannelId",description:"upsertChannelActionCountForChannelId"}},0xfcdd0275:(e,t,a)=>{"use strict";a.d(t,{G:()=>m});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0x1a8cc04e1),o=a(0x1ec68d6a3),s=a(0x1266f1359),l=a(0x2331492d2),c=a(0x1ce9aeab4),d=a(0x77727995),u=a(0x666cd212);let m=(0,n.A)(()=>new i.Ay({storeKey:"channelActions",fetch:(e,t)=>r.S.map(t,t=>((0,o.default)({teamId:e}).info(c.o,`fetching channel actions for channel ${t}`),(0,s.Qw)(e,(0,u.Uj)({resourceType:"channel",resourceId:t})).then(e=>e.map(e=>({appId:(0,d.A)(e,"app.app_id"),id:(0,d.A)(e,"action_id"),name:(0,d.A)(e,"name"),description:(0,d.A)(e,"description"),type:(0,d.A)(e,"type"),app:(0,d.A)(e,"app"),installTeamId:(0,d.A)(e,"install_team_id"),installTeamName:(0,d.A)(e,"install_team_name"),channelId:t})))).then(a=>{(0,o.default)({teamId:e}).info(c.o,`received ${a.length} channel action(s) for channel ${t}. Upserting arction(s) and marking channel as fresh.`),m().markObjectsAsFresh(e,[t]),(0,s.Qw)(e,(0,l.xr)({channelId:t,actions:a}))}).catch(a=>{(0,o.default)({teamId:e}).error(c.o,`failed to fetch channel actions for channel ${t}`,a,{subtype:"channel_action_fetch_failure"})})),isEnabled:()=>!0}))},0x571bd0b0:(e,t,a)=>{"use strict";a.d(t,{E:()=>maybeRefetchChannelActionsForChannel});var n=a(0xfcdd0275);let maybeRefetchChannelActionsForChannel=(e,t)=>{(0,n.G)().maybeRefetch(e,t)}},0x195f178ea:(e,t,a)=>{"use strict";a.d(t,{W:()=>r,f:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Set the cursor for a channel");r.meta={name:"setChannelLastRead",key:"createActionSetChannelLastRead",description:"Set the cursor for a channel"};let i=(0,n.Ay)("Bulk set cursors for channels");i.meta={name:"bulkSetChannelLastReads",key:"createActionBulkSetChannelLastReads",description:"Bulk set cursors for channels"}},0x1960dd36f:(e,t,a)=>{"use strict";a.d(t,{G:()=>i,N:()=>r});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e.channelCursors);r.meta={name:"getAllLastReads",key:"createSelectorGetAllLastReads",description:e=>e.channelCursors};let i=(0,n.Ay)((e,t)=>r(e)?.[t]);i.meta={name:"getLastReadByChannelId",key:"createSelectorGetLastReadByChannelId",description:(e,t)=>r(e)?.[t]}},0x1a1fb180c:(e,t,a)=>{"use strict";a.d(t,{O:()=>n,U:()=>r});let n="A01126R8Y2X",r="A0112L5RZ5E"},0xeeed8b91:(e,t,a)=>{"use strict";a.d(t,{B1:()=>maybeExtractChannelEmailAddressEmoji,EA:()=>maybeExtractChannelEmailAddressIcon,Jw:()=>createCeaEphemeralBlocks,Nx:()=>extractChannelEmailAddressFromApi,a_:()=>getChannelEmailAddressesAppId});var n=a(0x18dac2b8e),r=a(0x20482ad21),i=a(0x1a1fb180c);let extractChannelEmailAddressFromApi=(e,t)=>{let a=null,n="",r={},i=!1,{conversation_email_address:o,conversation_email_addresses:s}=e;if(o)a=o.address,n=o.name,r=o.icons,i=!0;else if(s&&s.length>0){let[e]=s;a=e.address,n=e.name,r=e.icons}return a&&t?{address:a,channelId:t,name:n,icons:r,createdNew:i,id:t}:{channelId:t}},getChannelEmailAddressesAppId=()=>(0,n.KV)()||(0,n.Yl)()?i.U:i.O,maybeExtractChannelEmailAddressIcon=e=>{if(e&&e.icons){let{image_36:t,image_48:a,image_72:n,image_original:r}=e.icons,i=t||a||n||r||null;if(i)return{url:i,src:i}}return null},maybeExtractChannelEmailAddressEmoji=e=>e&&e.icons&&e.icons.emoji?e.icons.emoji:null,createCeaEphemeralBlocks=e=>[{type:"section",block_id:"cea_ephemeral_msg_blk",text:{type:"plain_text",text:new r.Ay("channel-email-addresses").t("Now that you have set an email address for {channelDisplayName}, would you like me to share it with everyone else in this channel? They\u2019ll see it along with some brief instructions for how to use it.",{channelDisplayName:e})}},{type:"actions",block_id:"cea_actions_blk",elements:[{type:"button",text:{type:"plain_text",text:"Dismiss"},value:"dismiss",action_id:"cea_dismiss_cta"},{type:"button",style:"primary",text:{type:"plain_text",text:"Share Email Address"},value:"share_email",action_id:"cea_share_email_cta"}]}]},0xc561af5:(e,t,a)=>{"use strict";a.d(t,{FC:()=>I,T_:()=>b,Vl:()=>g,Z7:()=>w,d:()=>C,hQ:()=>T,jg:()=>A,m3:()=>E,r7:()=>k,si:()=>x,tp:()=>S,xS:()=>v});var n=a(0x9e671ad),r=a(0xb77a689a),i=a(0x6258badf),o=a(0x1ee15af19),s=a(0x20bafd237),l=a(0x21f3c49e8),c=a(0x8588bca7),d=a(0x55098bc0),u=a(0xc9c97240),m=a(0x17e8bc0c7),f=a(940089e4),_=a(0x1ec69ee01),p=a(0x1cf0d97e1),h=a(0x21765ec3b);let g={start:void 0,end:void 0,timestamps:[],reachedStart:!1,reachedEnd:!1,prevReachedEnd:!1},A=(0,p.Ay)(e=>e?.channelHistory);A.meta={name:"getAllChannelHistory",key:"createSelectorGetAllChannelHistory",description:e=>e?.channelHistory};let b=(0,p.Ay)((e,t)=>A(e)?.[t]);b.meta={name:"getChannelHistoryByChannelId",key:"createSelectorGetChannelHistoryByChannelId",description:(e,t)=>A(e)?.[t]};let y=(0,u.Ad)(m.UI,n.A),S=(0,p.Ay)((e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:i}=n;if(!i||!i.length)return g;let o=i[0],s=i[i.length-1];if(!a)return n.reachedEnd?{...s,reachedStart:1===i.length&&!!n.reachedStart,reachedEnd:!0}:g;if("0000000000.000000"===a)return n.reachedStart?{...o,reachedStart:!0,reachedEnd:1===i.length&&!!n.reachedEnd}:g;let l=(0,h.Z0)([a]);for(let e=0;e<i.length;e++){let t=i[e];if((0,h.HY)(t,l)){let a=0===e&&!!n.reachedStart,r=e===i.length-1&&!!n.reachedEnd;return{...t,reachedStart:a,reachedEnd:r}}}return n.reachedEnd&&s.end<a?{...s,reachedStart:1===i.length&&!!n.reachedStart,reachedEnd:!0}:n.reachedStart&&(0,r.A)(o.start)&&o.start>a?{...o,reachedStart:!0,reachedEnd:1===i.length&&!!n.reachedEnd}:g});S.meta={name:"getTimestampsByChannelId",key:"createSelectorGetTimestampsByChannelId",description:(e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:i}=n;if(!i||!i.length)return g;let o=i[0],s=i[i.length-1];if(!a)return n.reachedEnd?{...s,reachedStart:1===i.length&&!!n.reachedStart,reachedEnd:!0}:g;if("0000000000.000000"===a)return n.reachedStart?{...o,reachedStart:!0,reachedEnd:1===i.length&&!!n.reachedEnd}:g;let l=(0,h.Z0)([a]);for(let e=0;e<i.length;e++){let t=i[e];if((0,h.HY)(t,l)){let a=0===e&&!!n.reachedStart,r=e===i.length-1&&!!n.reachedEnd;return{...t,reachedStart:a,reachedEnd:r}}}return n.reachedEnd&&s.end<a?{...s,reachedStart:1===i.length&&!!n.reachedStart,reachedEnd:!0}:n.reachedStart&&(0,r.A)(o.start)&&o.start>a?{...o,reachedStart:!0,reachedEnd:1===i.length&&!!n.reachedEnd}:g}},(0,p.Ay)((e,t)=>{if(!t)return;let a=S(e,t);if(a?.timestamps)return(0,_.Ze)(e,t,a.timestamps)}).meta={name:"getChannelLatestMessageTs",key:"createSelectorGetChannelLatestMessageTs",description:(e,t)=>{if(!t)return;let a=S(e,t);if(a?.timestamps)return(0,_.Ze)(e,t,a.timestamps)}};let E=y((e,t)=>b(e,t)?.slices,e=>e?e.reduce((e,t)=>[...e,...t.timestamps],[])?.sort()??[]:[]);y([b,E],(e,t)=>e?.slices?1===e.slices.length&&e.reachedStart&&e.reachedEnd?{...(0,i.A)(e,"slices"),...(0,o.A)(e.slices)}:{...(0,i.A)(e,"slices"),start:(0,o.A)(t),end:(0,s.A)(t),timestamps:t}:g);let k=(0,p.Ay)((e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:r}=n;if(!r||!r.length)return g;let i=S(e,t,a);return n.prevReachedEnd?a||i!==g?{...i,prevReachedEnd:i?.end===(0,s.A)(r)?.end}:{...(0,s.A)(r),reachedStart:!!(1===r.length&&n.reachedStart),reachedEnd:!!n.reachedEnd,prevReachedEnd:!0}:i});k.meta={name:"getPotentiallyOutdatedTimestamps",key:"createSelectorGetPotentiallyOutdatedTimestamps",description:(e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:r}=n;if(!r||!r.length)return g;let i=S(e,t,a);return n.prevReachedEnd?a||i!==g?{...i,prevReachedEnd:i?.end===(0,s.A)(r)?.end}:{...(0,s.A)(r),reachedStart:!!(1===r.length&&n.reachedStart),reachedEnd:!!n.reachedEnd,prevReachedEnd:!0}:i}};let T=(0,p.Ay)((e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:r}=n;if(!r||!r.length)return g;let{timestamps:i,...o}=k(e,t,a)||{},s=Number(a),l=s?i.filter(e=>Number(e)>=s):i;return{...o,timestamps:l}});T.meta={name:"getTimestampsByChannelIdFromStart",key:"createSelectorGetTimestampsByChannelIdFromStart",description:(e,t,a)=>{if(!e||!t||!A(e))return null;let n=b(e,t);if(!n)return g;let{slices:r}=n;if(!r||!r.length)return g;let{timestamps:i,...o}=k(e,t,a)||{},s=Number(a),l=s?i.filter(e=>Number(e)>=s):i;return{...o,timestamps:l}}};let I=(0,p.Ay)((e,t)=>{let a=Date.now()/1e3,n=S(e,t),r=a;if(n&&n.reachedEnd&&!(0,l.A)(n.timestamps)){let e=parseInt((0,c.A)(n.timestamps),10);a<e&&(r=e+1)}return(0,f.A)(r)});I.meta={name:"getTimestampForNewMessage",key:"createSelectorGetTimestampForNewMessage",description:(e,t)=>{let a=Date.now()/1e3,n=S(e,t),r=a;if(n&&n.reachedEnd&&!(0,l.A)(n.timestamps)){let e=parseInt((0,c.A)(n.timestamps),10);a<e&&(r=e+1)}return(0,f.A)(r)}};let w=(0,p.Ay)((e,t)=>b(e,t)?.isLimited);w.meta={name:"getIsLimited",key:"createSelectorGetIsLimited",description:(e,t)=>b(e,t)?.isLimited};let C=(0,p.Ay)((e,t)=>b(e,t)?.blurredMessages);C.meta={name:"getBlurredMessages",key:"createSelectorGetBlurredMessages",description:(e,t)=>b(e,t)?.blurredMessages};let v=(0,p.Ay)((e,t,a)=>{if(!e||!t||!A(e))return!1;let n=b(e,t);if(!n)return!1;let{slices:r}=n;return!!r&&!!r.length&&!!(0,d.A)(r,e=>!!(0,d.A)(e.timestamps,e=>e===a))});v.meta={name:"isTimestampInChannelHistory",key:"createSelectorIsTimestampInChannelHistory",description:(e,t,a)=>{if(!e||!t||!A(e))return!1;let n=b(e,t);if(!n)return!1;let{slices:r}=n;return!!r&&!!r.length&&!!(0,d.A)(r,e=>!!(0,d.A)(e.timestamps,e=>e===a))}};let x=(0,p.Ay)((e,t)=>(b(e,t)?.slices??[]).length>0);x.meta={name:"channelHasAnyHistory",key:"createSelectorChannelHasAnyHistory",description:(e,t)=>(b(e,t)?.slices??[]).length>0}},0x21765ec3b:(e,t,a)=>{"use strict";a.d(t,{HY:()=>intersects,TF:()=>remove,Yr:()=>insert,Z0:()=>createSlice});var n=a(0x1ee15af19),r=a(0x20bafd237);function min(e,t){return t<e?t:e}function max(e,t){return e<t?t:e}function createSlice(e,t,a){let i=e.toSorted();return{timestamps:i,start:t||(0,n.A)(i)||a,end:a||(0,r.A)(i)||t}}function intersects(e,t){if(!e||!t)return!1;let a=e.start,n=e.end,r=t.start,i=t.end;return!!a&&!!n&&!!r&&!!i&&(a>=r&&a<=i||n>=r&&n<=i||a<=r&&n>=i||a>=r&&n<=i)}function union(e,t){if(!e&&!t)return;if(!e)return t;if(!t)return e;let a=[],n=e.timestamps,i=t.timestamps;for(let e=0,t=0;e+t<n.length+i.length;)e===n.length||i[t]<n[e]?(i[t]!==(0,r.A)(a)&&a.push(i[t]),t+=1):(n[e]!==(0,r.A)(a)&&a.push(n[e]),e+=1);return{timestamps:a,start:e.start&&t.start?min(e.start,t.start):e.start||t.start,end:e.end&&t.end?max(e.end,t.end):e.end||t.end}}function insert(e,t,{append:a,mergeStart:n,mergeEnd:r}={}){let i,o=[],s=!1;if(!e||!e.length)return o.push(t),s=!0,o;for(let a=0;a<e.length;a++){let l=e[a];!s&&l.start&&t.start&&l.start>t.start&&(intersects(i,t)||n?i=union(i,t):(i&&o.push(i),i=t),s=!0),intersects(i,l)||n&&!s||r&&s?i=union(i,l):(i&&o.push(i),i=l)}return s||(i&&(intersects(i,t)||a||n)?i=union(i,t):(i&&o.push(i),i=t)),i&&o.push(i),o}function remove(e,t,a){let n=createSlice([t]);return e.map(e=>intersects(e,n)||a&&e.timestamps.includes(t)?createSlice(e.timestamps.filter(e=>e!==t),e.start,e.end):e).filter(e=>e.timestamps.length)}},0xb218b979:(e,t,a)=>{"use strict";a.d(t,{M:()=>i,b:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set the latest value for a channel");r.meta={name:"setChannelLatest",key:"createActionSetChannelLatest",description:"Set the latest value for a channel"};let i=(0,n.Ay)("Bulk set latest values for channels");i.meta={name:"bulkSetChannelLatests",key:"createActionBulkSetChannelLatests",description:"Bulk set latest values for channels"}},0x814e7940:(e,t,a)=>{"use strict";a.d(t,{U1:()=>y,tF:()=>g,b5:()=>b,AU:()=>A});var n=a(0x1cf0d97e1),r=a(0x9b971e7e),i=a(0xdf55e8f3),o=a(0xca924ee1),s=a(0x15f4f83cf),l=a(0x1266f1359),c=a(0xb218b979),d=a(0x242897a81),u=a.n(d),m=a(0x3edd3949),f=a(0x11c82607b),_=a(0x14149c126);let p=(0,f.Ay)("Fetch and upsert channel latest timestamp",(e,t,{idsToFetch:a})=>{let n="on"===(0,_._Z)(t(),"badge_all_unreads"),fetchAsync=async()=>{try{let t=await e((0,m.T)({reason:"omniswitcher-fetch-timestamps",channelIds:a,includeAllUnreads:n}));return[...t.channels||[],...t.mpims||[],...t.ims||[]].map(({id:e,latest:t})=>({id:e,latest:t}))}catch{return{}}};return u().resolve(fetchAsync())});p.meta={name:"fetchChannelLatest",key:"createThunkFetchChannelLatest",description:"Fetch and upsert channel latest timestamp"};let h=(0,o.A)(()=>new s.Ay({fetch:(e,t)=>fetchChannelLatestForTeamId(e,t),upsertKnown:upsertChannelLatestForTeamId,upsertNonExistent:upsertChannelLatestForTeamId}));function fetchChannelLatestForTeamId(e,t){return(0,l.Qw)(e,p({idsToFetch:t}))}function upsertChannelLatestForTeamId(e,t){return(0,l.Qw)(e,(0,c.M)(t))}let g=(0,n.Ay)(e=>e?.channelLatests);g.meta={name:"getAllChannelLatests",key:"createSelectorGetAllChannelLatests",description:e=>e?.channelLatests};let A=(0,i.eI)((e,t)=>{let a=g(e);if(!a)return;let n={};for(let e of t)a[e]&&(n[e]=a[e]);return n}),b=(0,n.Ay)((e,t)=>{if(t)return g(e)?.[t]});b.meta={name:"getChannelLatest",key:"createSelectorGetChannelLatest",description:(e,t)=>{if(t)return g(e)?.[t]}};let y=(0,n.Ay)((e,t)=>{let a=(0,r.ZT)(e)||(0,r.jV)(e);if(!t||!a)return;let n=g(e)?.[t];if(n)return n;h().fetchObjectWithId(a,t)});y.meta={name:"fetchChannelLatestTimestamps",key:"createSelectorFetchChannelLatestTimestamps",description:(e,t)=>{let a=(0,r.ZT)(e)||(0,r.jV)(e);if(!t||!a)return;let n=g(e)?.[t];if(n)return n;h().fetchObjectWithId(a,t)}}},0x1039c723e:(e,t,a)=>{"use strict";a.d(t,{t:()=>r});var n=a(0x1df96de4c);let r=(0,a(0x1cf0d97e1).Ay)((e,t)=>e?.channelManagers?.[t]?.length?e?.channelManagers?.[t]:n.Ml);r.meta={name:"getChannelManagersByChannelId",key:"createSelectorGetChannelManagersByChannelId",description:(e,t)=>e?.channelManagers?.[t]?.length?e?.channelManagers?.[t]:n.Ml}},0x1e3ee2c86:(e,t,a)=>{"use strict";a.d(t,{A:()=>i,X:()=>r});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e.channelsPriority);r.meta={name:"getAllChannelPriorities",key:"createSelectorGetAllChannelPriorities",description:e=>e.channelsPriority};let i=(0,n.Ay)((e,t)=>r(e)?.[t]);i.meta={name:"getPriorityByChannelId",key:"createSelectorGetPriorityByChannelId",description:(e,t)=>r(e)?.[t]}},0x1529cf960:(e,t,a)=>{"use strict";a.d(t,{Dy:()=>E,F5:()=>S,II:()=>A,IQ:()=>u,Ic:()=>i,Kc:()=>d,Kn:()=>_,Mr:()=>x,OC:()=>T,P:()=>l,SL:()=>c,Td:()=>g,UG:()=>m,UP:()=>r,Uv:()=>N,WT:()=>b,Yg:()=>I,ZV:()=>y,_m:()=>o,bc:()=>v,di:()=>k,h:()=>p,jq:()=>O,l7:()=>f,lO:()=>R,s0:()=>C,tP:()=>w,wX:()=>s,zm:()=>h});var n=a(0xcf658893);let r=(0,n.Ay)("Channel Sections: create or update a channel section");r.meta={name:"upsertChannelSection",key:"createActionUpsertChannelSection",description:"Channel Sections: create or update a channel section"};let i=(0,n.Ay)("Channel Sections: reset the channel section list from authoritative data from the server");i.meta={name:"resetChannelSectionsFromListApiResponse",key:"createActionResetChannelSectionsFromListApiResponse",description:"Channel Sections: reset the channel section list from authoritative data from the server"};let o=(0,n.Ay)("Channel Sections: delete a channel section");o.meta={name:"deleteChannelSection",key:"createActionDeleteChannelSection",description:"Channel Sections: delete a channel section"};let s=(0,n.Ay)("Channel sections: upsert many channels within a channel section");s.meta={name:"upsertChannelSectionChannels",key:"createActionUpsertChannelSectionChannels",description:"Channel sections: upsert many channels within a channel section"};let l=(0,n.Ay)("Channel sections: remove many channels from a channel section");l.meta={name:"removeChannelSectionChannels",key:"createActionRemoveChannelSectionChannels",description:"Channel sections: remove many channels from a channel section"};let c=(0,n.Ay)("Channel sections: reset a channel sections channels");c.meta={name:"resetChannelSectionChannels",key:"createActionResetChannelSectionChannels",description:"Channel sections: reset a channel sections channels"};let d=(0,n.Ay)("Channel Sections: update the ID of a channel when it changes");d.meta={name:"updateChannelSectionChannelId",key:"createActionUpdateChannelSectionChannelId",description:"Channel Sections: update the ID of a channel when it changes"};let u=(0,n.Ay)("Channel sections: set the workspace filter");u.meta={name:"setWorkspaceFilter",key:"createActionSetWorkspaceFilter",description:"Channel sections: set the workspace filter"};let m=(0,n.Ay)("Channel sections: set the people filter");m.meta={name:"setPeopleFilter",key:"createActionSetPeopleFilter",description:"Channel sections: set the people filter"};let f=(0,n.Ay)("Channel Sections: delete local channel section state");f.meta={name:"deleteLocalChannelSection",key:"createActionDeleteLocalChannelSection",description:"Channel Sections: delete local channel section state"};let _=(0,n.Ay)("Channel sections: set the epoch seconds timestamp of when the current pending users.channelSections.set request was sent or undefined if there is no pending request");_.meta={name:"setPendingChannelSectionSetRequestTimeEpochSeconds",key:"createActionSetPendingChannelSectionSetRequestTimeEpochSeconds",description:"Channel sections: set the epoch seconds timestamp of when the current pending users.channelSections.set request was sent or undefined if there is no pending request"};let p=(0,n.Ay)("Channel sections: set edit mode state");p.meta={name:"setIsEditModeInternal",key:"createActionSetIsEditModeInternal",description:"Channel sections: set edit mode state"};let h=(0,n.Ay)("Channel sections: clear all selected items while in edit mode");h.meta={name:"clearEditModeSelectedChannelIds",key:"createActionClearEditModeSelectedChannelIds",description:"Channel sections: clear all selected items while in edit mode"};let g=(0,n.Ay)("Channel sections: set the selected state of a channel id while in edit mode");g.meta={name:"setEditModeSelectedChannelId",key:"createActionSetEditModeSelectedChannelId",description:"Channel sections: set the selected state of a channel id while in edit mode"};let A=(0,n.Ay)("Channel sections: set the selected state of many channel ids while in edit mode");A.meta={name:"bulkSetEditModeSelectedChannelIds",key:"createActionBulkSetEditModeSelectedChannelIds",description:"Channel sections: set the selected state of many channel ids while in edit mode"};let b=(0,n.Ay)("Channel sections: set the start of a range while in edit mode");b.meta={name:"setEditModeSelectedChannelIdRangeStart",key:"createActionSetEditModeSelectedChannelIdRangeStart",description:"Channel sections: set the start of a range while in edit mode"};let y=(0,n.Ay)("Channel sections: set the end of a range while in edit mode");y.meta={name:"setEditModeSelectedChannelIdRangeEnd",key:"createActionSetEditModeSelectedChannelIdRangeEnd",description:"Channel sections: set the end of a range while in edit mode"};let S=(0,n.Ay)("Channel sections: set collapsed state for channelSection Edit Mode");S.meta={name:"setEditModeChannelSectionCollapsed",key:"createActionSetEditModeChannelSectionCollapsed",description:"Channel sections: set collapsed state for channelSection Edit Mode"};let E=(0,n.Ay)("Channel sections: bulk set collapsed state for all channelSectionIds Edit Mode");E.meta={name:"bulkSetEditModeChannelSectionCollapsed",key:"createActionBulkSetEditModeChannelSectionCollapsed",description:"Channel sections: bulk set collapsed state for all channelSectionIds Edit Mode"};let k=(0,n.Ay)("Channel sections: set the channel section that a channel in the sidebar is hovering over for outline highlight calculation");k.meta={name:"setLastActiveDropTargetForChannelDrag",key:"createActionSetLastActiveDropTargetForChannelDrag",description:"Channel sections: set the channel section that a channel in the sidebar is hovering over for outline highlight calculation"};let T=(0,n.Ay)("Channel sections: set the channel section id that a channel section in the sidebar should be inserted before for outline highlight calculation");T.meta={name:"setLastActiveDropTargetForChannelSectionDrag",key:"createActionSetLastActiveDropTargetForChannelSectionDrag",description:"Channel sections: set the channel section id that a channel section in the sidebar should be inserted before for outline highlight calculation"};let I=(0,n.Ay)("Channel sections: failed a users.channelSections.list operation");I.meta={name:"markListFetchFailure",key:"createActionMarkListFetchFailure",description:"Channel sections: failed a users.channelSections.list operation"};let w=(0,n.Ay)("Channel sections: succeeded a users.channelSections.list operation");w.meta={name:"markListFetchSuccess",key:"createActionMarkListFetchSuccess",description:"Channel sections: succeeded a users.channelSections.list operation"};let C=(0,n.Ay)("Channel sections: setSidebarSectionsUnreadsOnlyCoachmarkVisible prompt");C.meta={name:"setSidebarSectionsUnreadsOnlyCoachmarkVisible",key:"createActionSetSidebarSectionsUnreadsOnlyCoachmarkVisible",description:"Channel sections: setSidebarSectionsUnreadsOnlyCoachmarkVisible prompt"};let v=(0,n.Ay)("Channel sections: setSharedChannelSectionCoachmarkData prompt");v.meta={name:"setSharedChannelSectionCoachmarkData",key:"createActionSetSharedChannelSectionCoachmarkData",description:"Channel sections: setSharedChannelSectionCoachmarkData prompt"};let x=(0,n.Ay)("Channel sections: add an entity to a channel section");x.meta={name:"addEntityToChannelSection",key:"createActionAddEntityToChannelSection",description:"Channel sections: add an entity to a channel section"};let R=(0,n.Ay)("Channel sections: remove an entity from all channel sections");R.meta={name:"removeEntityFromChannelSections",key:"createActionRemoveEntityFromChannelSections",description:"Channel sections: remove an entity from all channel sections"};let O=(0,n.Ay)("Channel sections: set errors from shared channel section API response");O.meta={name:"setSharedChannelSectionErrors",key:"createActionSetSharedChannelSectionErrors",description:"Channel sections: set errors from shared channel section API response"};let N=(0,n.Ay)("Channel sections: set whether or not we should show a coachmark after a user dismissed the Create a section CTA");N.meta={name:"setShowDismissedCreateChannelSectionCoachmark",key:"createActionSetShowDismissedCreateChannelSectionCoachmark",description:"Channel sections: set whether or not we should show a coachmark after a user dismissed the Create a section CTA"}},0x8f36a342:(e,t,a)=>{"use strict";a.d(t,{GR:()=>u,Tr:()=>f,VZ:()=>i,a$:()=>s,ec:()=>d,fK:()=>l,m1:()=>o,ns:()=>c,rU:()=>m});let{Workspace:n,...r}=a(0x115aa5ac3).Ri,i={...r,Team:"team",Priority:"priority",Agents:"agents"},o={[i.Channels]:"local_channels",[i.DirectMessages]:"local_direct_messages",[i.RecentApps]:"local_recent_apps",[i.Agents]:"local_agents",[i.Stars]:"local_stars",[i.SlackConnect]:"local_slack_connect",[i.SalesforceRecords]:"local_salesforce_channels",[i.Priority]:"priority"},s="starred",l="sharedChannels",c="channels",d="orgWideChannels",u="ims",m="apps",f="agents";i.SlackConnect,i.Channels,i.DirectMessages,i.RecentApps,i.Agents},0x17df192e7:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x1a8cc04e1),o=a(0x1266f1359),s=a(0x226d15aac);let l="channel-sections-list-pseudo-id",c=(0,n.A)(()=>new i.Ay({storeKey:"channelSections",fetch:(e,t)=>(0,o.Qw)(e,(0,s.U)({ids:t})),isEnabled:()=>!0,metricsName:"channel-sections",maxAge:()=>86400})),maybeRefetch=e=>{e&&c().maybeRefetch(e,l)},markObjectsAsStale=e=>c().markObjectsAsStale(e,[l]),markObjectsAsFresh=e=>c().markObjectsAsFresh(e,[l]);(0,r.zv)("conditionalFetchManagerChannelSections",c)},0x1380694ee:(e,t,a)=>{"use strict";a.d(t,{Cy:()=>eE,DV:()=>ef,Hj:()=>eS,KM:()=>ek,Ls:()=>ep,OE:()=>et,Ou:()=>eu,P0:()=>ed,PW:()=>er,SF:()=>ei,VH:()=>Z,VJ:()=>ey,W4:()=>J,X$:()=>en,Yi:()=>eg,_4:()=>ev,a2:()=>eA,ce:()=>z,dR:()=>getSharedChannelSectionErrors,fM:()=>em,jV:()=>Y,jY:()=>eT,nT:()=>ew,nv:()=>ec,os:()=>e_,qu:()=>el,xe:()=>X,yw:()=>eb,zG:()=>eC,zj:()=>eI});var n=a(0x21f3c49e8),r=a(0x1d24ec95f),i=a(0x424ce7f7),o=a(0x1595bdd0),s=a(0x9b44b68b),l=a(0xc9c97240),c=a(0x1df96de4c),d=a(0x9ae53e23),u=a(0x130c2e810),m=a(0xc9f59321),f=a(0x243435af9),_=a(0x1be9380c8),p=a(0x22efab6f7),h=a(0x154700aaa),g=a(0x1e4080330),A=a(0x1ec69ee01),b=a(0x12185e091),y=a(0x1ecc7f772),S=a(0xe6b69a0a),E=a(0x6f213e53),k=a(0x1959bfc10),T=a(0x21dd74f4c),I=a(0x70de3606),w=a(0x5e7c6650),C=a(0xa1832ae4),v=a(0x7441941c),x=a(0xcaa08ff7),R=a(0x1cf0d97e1),O=a(0x9b971e7e),N=a(0x4790a9e9),D=a(0xdf55e8f3),L=a(0x20c81ddcb),M=a(0x8f36a342),F=a(0x17df192e7),P=a(0x713f0826),U=a(0x1e733044c),B=a(0x217553e42),G=a(0x17f39e0ff),H=a(0xe684f705),W=a(0x8ed8ca46),V=a(0x1ee439e69),j=a(0x1067595c0);let K={},q=(0,R.Ay)(e=>(0,P.y)(e)?.channelSectionById||K);q.meta={name:"getAllChannelSectionsByIdBypassingConditionalFetchManager",key:"createSelectorGetAllChannelSectionsByIdBypassingConditionalFetchManager",description:e=>(0,P.y)(e)?.channelSectionById||K};let z=(0,R.Ay)(e=>(0,P.y)(e)?.channelSidebarFilter?.peopleFilter);z.meta={name:"getPeopleFilter",key:"createSelectorGetPeopleFilter",description:e=>(0,P.y)(e)?.channelSidebarFilter?.peopleFilter};let $=(0,l.Mz)(q,e=>{let t=(0,x.MY)(e);return t&&t.length>0},e=>(0,C.qR)((0,V.H7)(e)),e=>(0,f.IX)(e),(e,t,a,n)=>{let r=Object.values(e),i=!1,o=!1,s=!1,l=!1,c=!1,d=!1;r.forEach(e=>{e.type===M.VZ.Channels?o=!0:e.type===M.VZ.DirectMessages?s=!0:e.type===M.VZ.RecentApps?l=!0:n&&e.type===M.VZ.Agents?d=!0:e.type===M.VZ.Stars?i=!0:e.type===M.VZ.Priority&&t&&a&&(c=!0)});let u=[];return!c&&t&&a&&u.push((0,g.f)({type:M.VZ.Priority})),i||u.push((0,g.f)({type:M.VZ.Stars})),o||u.push((0,g.f)({type:M.VZ.Channels})),s||u.push((0,g.f)({type:M.VZ.DirectMessages})),l||u.push((0,g.f)({type:M.VZ.RecentApps})),n&&!d&&u.push((0,g.f)({type:M.VZ.Agents,name:"Agents"})),(0,p.uF)(r)||u.push((0,p.iL)()),u}),Y=(0,l.Mz)(e=>((0,F.ez)((0,O.ZT)(e)),q(e)),$,(e,t)=>{if(t.length>0){let a={...e};return t.forEach(e=>{a[e.id]=e}),a}return e}),Q=[],Z=(0,l.Mz)(e=>((0,F.ez)((0,O.ZT)(e)),(0,P.y)(e)?.orderedChannelSectionList||Q),$,U.D,(e,t,a)=>{let o;if((0,n.A)(a)||(o=e.filter(e=>!(e.type===M.VZ.UserGroup&&a.includes(e.id)))),0===t.length)return o||e;let s=o||[...e],[l,c]=(0,r.A)(t,e=>e.type===M.VZ.SalesforceRecords);if(c.length>0&&s.splice(0,0,...c),!l.length)return s;let{[M.VZ.SalesforceRecords]:d}=(0,i.A)(l,"type");if(d?.length){let e=s.findIndex(e=>e.type===M.VZ.Channels),t=-1!==e?e:s.length;s.splice(t,0,...d)}return s}),J=(0,R.Ay)(e=>{let t=Z(e).filter(e=>!(0,v.lJ)(e));return t&&t[0]&&t[0].id||null});J.meta={name:"getFirstChannelSectionId",key:"createSelectorGetFirstChannelSectionId",description:e=>{let t=Z(e).filter(e=>!(0,v.lJ)(e));return t&&t[0]&&t[0].id||null}};let X=(0,R.Ay)((e,t)=>{(0,F.ez)((0,O.ZT)(e));let a=Y(e);return a&&a[t]});X.meta={name:"getChannelSectionById",key:"createSelectorGetChannelSectionById",description:(e,t)=>{(0,F.ez)((0,O.ZT)(e));let a=Y(e);return a&&a[t]}};let ee={},et=(0,R.Ay)(e=>((0,F.ez)((0,O.ZT)(e)),(0,P.y)(e)?.channelIdsByChannelSectionId||ee));et.meta={name:"getAllChannelSectionChannels",key:"createSelectorGetAllChannelSectionChannels",description:e=>((0,F.ez)((0,O.ZT)(e)),(0,P.y)(e)?.channelIdsByChannelSectionId||ee)};let ea=[],en=(0,R.Ay)((e,t)=>((0,F.ez)((0,O.ZT)(e)),(0,P.y)(e)?.channelIdsByChannelSectionId?.[t]||ea));en.meta={name:"getChannelSectionChannels",key:"createSelectorGetChannelSectionChannels",description:(e,t)=>((0,F.ez)((0,O.ZT)(e)),(0,P.y)(e)?.channelIdsByChannelSectionId?.[t]||ea)};let er=(0,R.Ay)((e,t)=>{(0,F.ez)((0,O.ZT)(e));let a=(0,N.PN)(e),{channelSectionById:n,channelIdsByChannelSectionId:r}=(0,P.y)(e),i=Object.keys(n).find(e=>n[e]?.type===M.VZ.Stars),s=t.map(e=>e===i?a:r[e]);return(0,o.A)(Object.values(s).flat())||ea});er.meta={name:"getChannelSectionChannelsBySectionIds",key:"createSelectorGetChannelSectionChannelsBySectionIds",description:(e,t)=>{(0,F.ez)((0,O.ZT)(e));let a=(0,N.PN)(e),{channelSectionById:n,channelIdsByChannelSectionId:r}=(0,P.y)(e),i=Object.keys(n).find(e=>n[e]?.type===M.VZ.Stars),s=t.map(e=>e===i?a:r[e]);return(0,o.A)(Object.values(s).flat())||ea}};let ei=(0,R.Ay)(e=>{let t=(0,P.y)(e)?.channelSectionIdsByChannelId;return(0,n.A)(t)?c.t0:t});ei.meta={name:"getChannelSectionIdsByChannelId",key:"createSelectorGetChannelSectionIdsByChannelId",description:e=>{let t=(0,P.y)(e)?.channelSectionIdsByChannelId;return(0,n.A)(t)?c.t0:t}};let eo=(0,R.Ay)((e,t)=>{if(!(0,I.Ix)(e))return!1;let a=(0,W.mO)(e)[0];return!!a&&(0,W.D2)(e,a.salesforce_org_id)&&((0,b.FV)(t)||(0,b.ZZ)(t))});eo.meta={name:"shouldInsertIntoSalesforceSection",key:"createSelectorShouldInsertIntoSalesforceSection",description:(e,t)=>{if(!(0,I.Ix)(e))return!1;let a=(0,W.mO)(e)[0];return!!a&&(0,W.D2)(e,a.salesforce_org_id)&&((0,b.FV)(t)||(0,b.ZZ)(t))}};let es=[],el=(0,R.Ay)((e,t)=>(0,P.y)(e)?.channelSectionIdsByChannelId?.[t]||es);el.meta={name:"getChannelCustomChannelSections",key:"createSelectorGetChannelCustomChannelSections",description:(e,t)=>(0,P.y)(e)?.channelSectionIdsByChannelId?.[t]||es};let ec=(0,D.eI)((e,t)=>{let a=el(e,t),n=(0,_.pc)(e);if(a.length>0)return a;let r=(0,B.OL)(e,t),i=Z(e),o=(0,h.C)({channel:r,isStarred:(0,A.m2)(e,r),isApp:(0,S.J)(r,(0,H.Zo)(e)),isAgent:(0,u.yB)(e,r),isAiApp:(0,L.zf)(e,r),shouldSeparateApps:(0,w.eb)(e),allowAssignmentToStarredSection:!0,showConnectSection:(0,m.A)(e)&&i.some(e=>e.type===M.VZ.SlackConnect),isSalesforceApp:n&&(0,d.y)(e,r),insertIntoSalesforceSection:eo(e,r)}),s=i.find(e=>e.type===o);return s?[s.id]:[]}),ed=(0,R.Ay)((e,t)=>el(e,t).length>0);ed.meta={name:"getChannelIsInAnyChannelSection",key:"createSelectorGetChannelIsInAnyChannelSection",description:(e,t)=>el(e,t).length>0};let eu=(0,R.Ay)(e=>(0,P.y)(e)?.isEditMode??!1);eu.meta={name:"getIsEditMode",key:"createSelectorGetIsEditMode",description:e=>(0,P.y)(e)?.isEditMode??!1};let em=(0,R.Ay)(e=>Object.keys((0,P.y)(e)?.editModeSelectedChannelIds??{}).length);em.meta={name:"getEditModeSelectedChannelCount",key:"createSelectorGetEditModeSelectedChannelCount",description:e=>Object.keys((0,P.y)(e)?.editModeSelectedChannelIds??{}).length};let ef=(0,R.Ay)((e,t)=>(0,P.y)(e)?.editModeSelectedChannelIds?.[t]??!1);ef.meta={name:"getIsEditModeSelectedChannelId",key:"createSelectorGetIsEditModeSelectedChannelId",description:(e,t)=>(0,P.y)(e)?.editModeSelectedChannelIds?.[t]??!1};let e_=(0,R.Ay)(e=>(0,P.y)(e)?.editModeSelectedChannelIdRangeStart);e_.meta={name:"getEditModeSelectedChannelIdRangeStart",key:"createSelectorGetEditModeSelectedChannelIdRangeStart",description:e=>(0,P.y)(e)?.editModeSelectedChannelIdRangeStart};let ep=(0,R.Ay)(e=>(0,P.y)(e)?.editModeSelectedChannelIdRangeEnd);ep.meta={name:"getEditModeSelectedChannelIdRangeEnd",key:"createSelectorGetEditModeSelectedChannelIdRangeEnd",description:e=>(0,P.y)(e)?.editModeSelectedChannelIdRangeEnd};let eh={},eg=(0,R.Ay)(e=>(0,P.y)(e)?.editModeSelectedChannelIds??eh);eg.meta={name:"getEditModeSelectedChannelIds",key:"createSelectorGetEditModeSelectedChannelIds",description:e=>(0,P.y)(e)?.editModeSelectedChannelIds??eh};let eA=(0,l.Mz)(e=>{let t=eg(e);return Object.keys(t).forEach(t=>(0,B.OL)(e,t)),t},G.o,(e,t)=>{let a=[];return Object.keys(e).forEach(e=>{let n=t?.[e];n&&a.push(n)}),a}),eb=(0,R.Ay)(e=>(0,P.y)(e)?.editModeChannelSectionsCollapsedDict??c.t0);eb.meta={name:"getEditModeChannelSectionsCollapsedDict",key:"createSelectorGetEditModeChannelSectionsCollapsedDict",description:e=>(0,P.y)(e)?.editModeChannelSectionsCollapsedDict??c.t0};let ey=(0,R.Ay)((e,t)=>eb(e)[t]??!1);ey.meta={name:"getEditModeIsChannelSectionCollapsed",key:"createSelectorGetEditModeIsChannelSectionCollapsed",description:(e,t)=>eb(e)[t]??!1};let eS=(0,R.Ay)(e=>(0,P.y)(e)?.lastActiveDropTargetForChannelDrag);eS.meta={name:"getLastActiveDropTargetForChannelDrag",key:"createSelectorGetLastActiveDropTargetForChannelDrag",description:e=>(0,P.y)(e)?.lastActiveDropTargetForChannelDrag};let eE=(0,R.Ay)(e=>(0,P.y)(e)?.lastActiveDropTargetForChannelSectionDrag);eE.meta={name:"getLastActiveDropTargetForChannelSectionDrag",key:"createSelectorGetLastActiveDropTargetForChannelSectionDrag",description:e=>(0,P.y)(e)?.lastActiveDropTargetForChannelSectionDrag};let ek=(0,R.Ay)(e=>(0,P.y)(e)?.unreadsOnlyCoachmarkVisible??c.t0);ek.meta={name:"getUnreadsOnlyCoachmarkVisible",key:"createSelectorGetUnreadsOnlyCoachmarkVisible",description:e=>(0,P.y)(e)?.unreadsOnlyCoachmarkVisible??c.t0};let eT=(0,R.Ay)(e=>(0,P.y)(e)?.sharedChannelSectionCoachmarkData?.channelId);eT.meta={name:"getSharedChannelSectionCoachmarkChannelId",key:"createSelectorGetSharedChannelSectionCoachmarkChannelId",description:e=>(0,P.y)(e)?.sharedChannelSectionCoachmarkData?.channelId};let eI=(0,R.Ay)(e=>(0,P.y)(e)?.sharedChannelSectionCoachmarkData?.channelSectionName);eI.meta={name:"getSharedChannelSectionCoachmarkSectionName",key:"createSelectorGetSharedChannelSectionCoachmarkSectionName",description:e=>(0,P.y)(e)?.sharedChannelSectionCoachmarkData?.channelSectionName};let ew=(0,l.Mz)(e=>(0,j.ty)(e),e=>(0,s.A)(e).reduce((e,t)=>(e[t]=!0,e),{})),eC=(0,D.eI)((e,t)=>{if(t&&0===t.length)return[];let a=t&&t.length>0?(0,B.LO)(e,t):(0,B.h3)(e),n=[];for(let t of a){let a=(0,y.SB)(e,t,{publicChannelIncludeHashSign:!1,imIncludeAtSign:!1});if((0,k.o)(t)||t.is_file||!a||((0,b.LI)(t)||(0,b.yz)(t))&&!(0,A.nT)(t)||(0,E.F)(t))continue;let r=(0,T.G)(e,t.id),i=ec(e,t.id),o=X(e,i);n.push({label:a,value:t.id,isDm:(0,b.LI)(t),isMpDm:(0,b.yz)(t),isAppOrBot:r,section:o})}return n}),getSharedChannelSectionErrors=(e,t,a)=>{if(t&&a)return(0,P.y)(e)?.sharedChannelSectionErrors?.[t]?.[a]},ev=(0,D.eI)(e=>(0,P.y)(e).orderedChannelSectionList.filter(e=>e.type===M.VZ.Standard))},0x226879b47:(e,t,a)=>{"use strict";a.d(t,{Lz:()=>d,Tv:()=>f,iD:()=>u,jr:()=>m,r_:()=>l});var n=a(0xc9c97240),r=a(0x1cf0d97e1),i=a(0x8f36a342),o=a(0x713f0826);let s={},l=(0,r.Ay)(e=>(0,o.y)(e)?.entitiesByChannelSectionId||s);l.meta={name:"getAllSidebarEntitiesBySection",key:"createSelectorGetAllSidebarEntitiesBySection",description:e=>(0,o.y)(e)?.entitiesByChannelSectionId||s};let c=[],d=(0,n.Mz)([l,(e,t)=>t],(e,t)=>e?.[t]||c),u=(0,n.Mz)([l,(e,{entityId:t,entityType:a})=>({entityId:t,entityType:a})],(e,{entityId:t,entityType:a})=>{for(let n of Object.values(e)){let e=n.find(e=>e.entityId===t&&e.entityType===a);if(e)return e}}),m=(0,n.Mz)([l,(e,{entityId:t,entityType:a})=>({entityId:t,entityType:a})],(e,{entityId:t,entityType:a})=>{for(let[n,r]of Object.entries(e))if(r.some(e=>e.entityId===t&&e.entityType===a))return n}),f=(0,r.Ay)(e=>{let t=(0,o.y)(e),a=t?.channelSectionById,n=t?.entitiesByChannelSectionId;if(!a||!n)return!1;for(let[e,t]of Object.entries(a))if(t?.type===i.VZ.Stars){let t=n[e];if(t&&t.length>0)return!0}return!1});f.meta={name:"hasAnyStarredEntities",key:"createSelectorHasAnyStarredEntities",description:e=>{let t=(0,o.y)(e),a=t?.channelSectionById,n=t?.entitiesByChannelSectionId;if(!a||!n)return!1;for(let[e,t]of Object.entries(a))if(t?.type===i.VZ.Stars){let t=n[e];if(t&&t.length>0)return!0}return!1}}},0x713f0826:(e,t,a)=>{"use strict";a.d(t,{y:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.channelSections);n.meta={name:"getChannelSections",key:"createSelectorGetChannelSections",description:e=>e?.channelSections}},0x1e733044c:(e,t,a)=>{"use strict";a.d(t,{D:()=>l});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0x18def662b),o=a(0x1ccef1c6f),s=a(0x24febdb71);let l=(0,n.Mz)(e=>(0,o.ty)(e,"hidden_user_group_sections"),e=>(0,i.cq)(e),(e,t)=>t?(0,s.M)(e):r.Ml)},0x1e25c919a:(e,t,a)=>{"use strict";a.d(t,{U:()=>p});var n=a(0x20482ad21),r=a(0x5739d664),i=a(0x1cbb49736),o=a(0x4f86f8f5);function keyedMenuItemToWorkspaceFilter(e){return(0,i.B)(e)?{type:e.key}:{type:o.MR.Workspace,workspace:{id:e.key,type:e.meta.workspaceType}}}var s=a(0x47c2b6f4),l=a(0x17f5acc57),c=a(0x1cf0d97e1),d=a(0x9b971e7e),u=a(0x1ccef1c6f),m=a(0x1ee439e69);let f=new n.Ay("ia4"),_=(0,r.A)(e=>keyedMenuItemToWorkspaceFilter((0,s.n)({label:e,key:o.MR.All,icon:"workspace"}))),p=(0,c.Ay)(e=>{let t=(0,u.ty)(e,"workspace_filter_selected");if(!t||t===o.MR.All||!(0,d.VO)(e).includes(t))return _(f.t("All workspaces"));let a=(0,m._J)(e,t);return keyedMenuItemToWorkspaceFilter((0,l.I)(a,o.SX.Internal))});p.meta={name:"getWorkspaceFilter",key:"createSelectorGetWorkspaceFilter",description:e=>{let t=(0,u.ty)(e,"workspace_filter_selected");if(!t||t===o.MR.All||!(0,d.VO)(e).includes(t))return _(f.t("All workspaces"));let a=(0,m._J)(e,t);return keyedMenuItemToWorkspaceFilter((0,l.I)(a,o.SX.Internal))}}},0x1d01649c6:(e,t,a)=>{"use strict";a.d(t,{T:()=>getHasPendingChannelSectionSetRequest});var n=a(0x1866b1b2d),r=a(0x1cf0d97e1),i=a(0x713f0826);let o=(0,r.Ay)(e=>(0,i.y)(e)?.pendingChannelSectionSetRequestTimeEpochSeconds);o.meta={name:"getPendingChannelSectionSetRequestTimeEpochSeconds",key:"createSelectorGetPendingChannelSectionSetRequestTimeEpochSeconds",description:e=>(0,i.y)(e)?.pendingChannelSectionSetRequestTimeEpochSeconds};let getHasPendingChannelSectionSetRequest=(e,t=(0,n._)())=>{let a=o(e);return!!a&&t-a<60}},0x226d15aac:(e,t,a)=>{"use strict";a.d(t,{U:()=>E,D:()=>S});var n=a(0x50ff7328),r=a(0x1be9380c8),i=a(0xabcc897),o=a(0x175710aa8),s=a(0x169b11478),l=a(0x1ec68d6a3),c=a(0x11c82607b),d=a(0x207ec2aba),u=a(0x1529cf960),m=a(0x1cf0d97e1),f=a(0x713f0826);let _=(0,m.Ay)(e=>Object.keys((0,f.y)(e)?.channelSectionById||{}));_.meta={name:"getAllChannelSectionIds",key:"createSelectorGetAllChannelSectionIds",description:e=>Object.keys((0,f.y)(e)?.channelSectionById||{})};let p=(0,m.Ay)(e=>(0,f.y)(e)?.consecutiveListFailureCount||0);p.meta={name:"getConsecutiveListFailureCount",key:"createSelectorGetConsecutiveListFailureCount",description:e=>(0,f.y)(e)?.consecutiveListFailureCount||0};var h=a(0x154933c60),g=a(0x70de3606),A=a(0x4790a9e9);let b=(0,c.Ay)("Fetches and upserts File Channels on Sidebar",(e,t,{channelSectionsListResponse:a})=>{let n=t();if(!(0,g.fn)(n))return;let r=(0,A.Sd)(n),i=[];for(let[e,t]of Object.entries(r))t&&i.push(e);for(let e of a.channel_sections)if("standard"===e.type)for(let t of e.channel_ids_page.channel_ids)i.push(t);i.length&&e((0,h.pX)({ids:i,fetchConditionally:!0,callSource:h.aI.ChannelSidebar,reason:"addListsToSidebarFetch"}))});b.meta={name:"fetchAndUpsertFileChannelsOnSidebar",key:"createThunkFetchAndUpsertFileChannelsOnSidebar",description:"Fetches and upserts File Channels on Sidebar"};var y=a(0x11692ff38);let S=(0,c.Ay)("Fetches and upserts Channel Sections",(e,t,{response:a})=>{(0,n.A)(t())||e((0,u.Ic)({channelSectionsListResponse:a,experimentExternalWorkspacePilotGroupOn:(0,s.i)(t())})),e((0,u.tP)()),e(b({channelSectionsListResponse:a})),(0,r.pc)(t())&&a?.entities?.length&&e((0,y.y)({entities:a.entities}))});S.meta={name:"upsertChannelSectionsList",key:"createThunkUpsertChannelSectionsList",description:"Fetches and upserts Channel Sections"};let E=(0,c.Ay)("Fetches and upserts Channel Sections",(e,t,{ids:a}={ids:[]})=>e((0,i.QW)({reason:"conditional-fetch-manager"})).then(t=>(e(S({response:t})),a)).catch(a=>{let n=p(t());throw e((0,u.Yg)()),0===_(t()).length&&n<1?((0,l.default)({getState:t}).error(o.A,"Conditional fetch manager failed to bootstrap channel sections - channel sections will not be displayed",a),e((0,d.A)())):(0,l.default)({getState:t}).error(o.A,"Conditional fetch manager fetch failed users.channelSections.list - channel sections may be incorrect/stale",a),a}));E.meta={name:"fetchAndUpsertChannelSectionsList",key:"createThunkFetchAndUpsertChannelSectionsList",description:"Fetches and upserts Channel Sections"}},0x11692ff38:(e,t,a)=>{"use strict";a.d(t,{y:()=>u});var n=a(0x11c82607b),r=a(0x1529cf960),i=a(0x1df96de4c),o=a(0x115aa5ac3),s=a(0x8f36a342),l=a(0x226879b47),c=a(0x713f0826);let d=(0,n.Ay)("Move any ephemeral entities stored in their local default sections in the sidebar to the true default sections returned by the response of `users.channelSections.list`",(e,t)=>{let a=t(),n=s.m1[s.VZ.SalesforceRecords],d=(0,l.Lz)(a,n);if(!d.length)return;let u=(0,c.y)(a)||i.t0,m=u.channelSectionById?Object.values(u.channelSectionById):i.Ml;if(!m.length)return;let f=m.find(e=>e.type===o.Ri.SalesforceRecords);f&&d.forEach(t=>{e((0,r.Mr)({entity:t,channelSectionId:f?.id}))})});d.meta={name:"maybeUpdateEphemeralEntitiesInSidebar",key:"createThunkMaybeUpdateEphemeralEntitiesInSidebar",description:"Move any ephemeral entities stored in their local default sections in the sidebar to the true default sections returned by the response of `users.channelSections.list`"};let u=(0,n.Ay)("Upsert entities sent in the response of `users.channelSections.list` into their corresponding sections in the sidebar",(e,t,{entities:a})=>{a.forEach(t=>{e((0,r.Mr)({entity:{entityType:t.entity_type,entityId:t.entity_id,label:t.name,isEphemeral:!1},channelSectionId:t.channel_section_id}))}),e(d())});u.meta={name:"upsertEntitiesInSidebar",key:"createThunkUpsertEntitiesInSidebar",description:"Upsert entities sent in the response of `users.channelSections.list` into their corresponding sections in the sidebar"}},0x4f86f8f5:(e,t,a)=>{"use strict";a.d(t,{Ac:()=>isStaticWorkspaceFilter,E7:()=>i,FN:()=>o,MR:()=>n,SX:()=>r,uv:()=>channelSidebarEntityEquals});let n={All:"all",AllInternal:"all-internal",Workspace:"workspace"},r={Internal:"internal",External:"external"},i={All:"all",Internal:"internal",External:"external"},o={SalesforceList:"salesforce_list",SalesforceRelatedChannel:"salesforce_related_channel"};function isStaticWorkspaceFilter(e){return e.type===n.All||e.type===n.AllInternal}function channelSidebarEntityEquals(e,t){return e.entityType===t.entityType&&e.entityId===t.entityId}},0x24febdb71:(e,t,a)=>{"use strict";a.d(t,{M:()=>convertHiddenUserGroupSectionsPrefToList});var n=a(0x46cf166);let convertHiddenUserGroupSectionsPrefToList=e=>e?e.split(",").map(e=>e.trim()).filter(e=>(0,n.A)(e)):[]},0x24b37e04d:(e,t,a)=>{"use strict";a.d(t,{Bt:()=>l,Bv:()=>s,J:()=>r,U0:()=>c,f8:()=>d,jF:()=>i,pc:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Show progressive diclosure success coachmark");r.meta={name:"setShowProgDiscSuccessCoachmark",key:"createActionSetShowProgDiscSuccessCoachmark",description:"Show progressive diclosure success coachmark"};let i=(0,n.Ay)("Show the secondary coachmark anchored on the section menu following dismissal of unreads-simplification-coachmark");i.meta={name:"setShowSectionMenuCoachmark",key:"createActionSetShowSectionMenuCoachmark",description:"Show the secondary coachmark anchored on the section menu following dismissal of unreads-simplification-coachmark"};let o=(0,n.Ay)("Set section ID for the added user group section coachmark");o.meta={name:"setAddedUserGroupSectionCoachmarkSectionId",key:"createActionSetAddedUserGroupSectionCoachmarkSectionId",description:"Set section ID for the added user group section coachmark"};let s=(0,n.Ay)("Show the secondary coachmark if user dismisses hide muted channels coachmark");s.meta={name:"setShowEditMutePrefReminderCoachmark",key:"createActionSetShowEditMutePrefReminderCoachmark",description:"Show the secondary coachmark if user dismisses hide muted channels coachmark"};let l=(0,n.Ay)("Show the secondary coachmark if user chooses to hide muted channels");l.meta={name:"setShowMutedChannelsHiddenConfirmationCoachmark",key:"createActionSetShowMutedChannelsHiddenConfirmationCoachmark",description:"Show the secondary coachmark if user chooses to hide muted channels"};let c=(0,n.Ay)("Set channel ID of channel that was just muted for the reactive coachmark");c.meta={name:"setMutedChannelCoachmarkChannelId",key:"createActionSetMutedChannelCoachmarkChannelId",description:"Set channel ID of channel that was just muted for the reactive coachmark"};let d=(0,n.Ay)("Set section ID for the newly created channel section");d.meta={name:"setShareChannelSectionCoachmarkSectionId",key:"createActionSetShareChannelSectionCoachmarkSectionId",description:"Set section ID for the newly created channel section"}},0x17aa64b24:(e,t,a)=>{"use strict";a.d(t,{Ic:()=>r,j2:()=>o,ot:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Set a string identifying the layout of the channel space in reference to the channel");r.meta={name:"setChannelSpaceLayout",key:"createActionSetChannelSpaceLayout",description:"Set a string identifying the layout of the channel space in reference to the channel"};let i=(0,n.Ay)("Set a string identifying the template of the channel canvas in reference to the channel");i.meta={name:"setChannelCanvasTemplate",key:"createActionSetChannelCanvasTemplate",description:"Set a string identifying the template of the channel canvas in reference to the channel"};let o=(0,n.Ay)("Reset channel canvas store");o.meta={name:"resetChannelCanvases",key:"createActionResetChannelCanvases",description:"Reset channel canvas store"}},0x18358a245:(e,t,a)=>{"use strict";a.d(t,{HL:()=>_,Nx:()=>p,q7:()=>h});var n=a(0x1df96de4c),r=a(0xf3719a28),i=a(0x1cf0d97e1),o=a(0x1ccef1c6f),s=a(0x46a42efe),l=a(0x14ba3df0e),c=a(0x217553e42),d=a(0x14ea3ce99),u=a(0x1b4ecf8e7),m=a(0x189f08ca8);let f=(0,i.Ay)((e,t)=>e.channelSpaces?.[t]?.timeUpdated);f.meta={name:"getChannelSpaceLayoutUpdateTime",key:"createSelectorGetChannelSpaceLayoutUpdateTime",description:(e,t)=>e.channelSpaces?.[t]?.timeUpdated};let _=(0,i.Ay)(e=>(0,o.ty)(e,u.bV)||n.t0);_.meta={name:"getChannelSpaceLayoutUserPrefs",key:"createSelectorGetChannelSpaceLayoutUserPrefs",description:e=>(0,o.ty)(e,u.bV)||n.t0};let p=(0,i.Ay)((e,t)=>{let a=f(e,t)??0,n=_(e)[t],r=e.channelSpaces?.[t]?.layout;if(n){let[e,t]=n,r=(0,l.m)(e);if(r&&t>a&&t>0x185cd918aaf)return{timestamp:t,layout:r}}return a>0x185cd918aaf?{timestamp:a,layout:r}:{timestamp:0,layout:s.z.CLOSED}});p.meta={name:"getChannelCanvasRecentLayout",key:"createSelectorGetChannelCanvasRecentLayout",description:(e,t)=>{let a=f(e,t)??0,n=_(e)[t],r=e.channelSpaces?.[t]?.layout;if(n){let[e,t]=n,r=(0,l.m)(e);if(r&&t>a&&t>0x185cd918aaf)return{timestamp:t,layout:r}}return a>0x185cd918aaf?{timestamp:a,layout:r}:{timestamp:0,layout:s.z.CLOSED}}};let h=(0,i.Ay)((e,t)=>{let{timestamp:a,layout:n}=p(e,t),i=(0,c.OL)(e,t),{isOpenByDefault:o,isOpenByDefaultTs:l,fileId:u}=(0,r.H)(i),f=(0,d.Lp)(e,u||""),_=(0,m.Q)(e,t);if(_&&!u){if(_||0===a)return s.z.SECONDARY}else if(o)return f.show_badge?s.z.SECONDARY:l?a>=l?n:s.z.SECONDARY:0===a?s.z.SECONDARY:n;return n});h.meta={name:"getChannelSpaceLayout",key:"createSelectorGetChannelSpaceLayout",description:(e,t)=>{let{timestamp:a,layout:n}=p(e,t),i=(0,c.OL)(e,t),{isOpenByDefault:o,isOpenByDefaultTs:l,fileId:u}=(0,r.H)(i),f=(0,d.Lp)(e,u||""),_=(0,m.Q)(e,t);if(_&&!u){if(_||0===a)return s.z.SECONDARY}else if(o)return f.show_badge?s.z.SECONDARY:l?a>=l?n:s.z.SECONDARY:0===a?s.z.SECONDARY:n;return n}},(0,i.Ay)((e,t)=>e.channelSpaces?.[t]?.template).meta={name:"getChannelSpaceTemplate",key:"createSelectorGetChannelSpaceTemplate",description:(e,t)=>e.channelSpaces?.[t]?.template}},0x1abacbd45:(e,t,a)=>{"use strict";a.d(t,{y:()=>l});var n=a(0x139aa1a7),r=a(0xd6a16321),i=a(0x16ed1b0dc),o=a(0x11c82607b),s=a(0x19895585a);let l=(0,o.Ay)("Maybe set channel canvas in view set",(e,t,{viewSet:a})=>{let o=a[s.mq.Primary],l=a[s.mq.Secondary];if(o?.viewType===n.D.List)return a;if(l)return"channel_canvas"===l.id?o?.viewType===n.D.ChannelCanvas||o?.viewType===n.D.Canvas?{[s.mq.Primary]:o}:{[s.mq.Primary]:o?.id!==l.params?.channelId&&o?.id!==l.params?.entityId?(0,r.pr)(l.params?.channelId):o,[s.mq.Secondary]:l}:a;return!o?.id||!(0,i.A)(o.id),a});l.meta={name:"applyChannelCanvasToViewSet",key:"createThunkApplyChannelCanvasToViewSet",description:"Maybe set channel canvas in view set"}},0x2048d058d:(e,t,a)=>{"use strict";a.d(t,{M:()=>d,n:()=>c});var n=a(0x1d10dc8cb);let r=new Set(["highlightTs","highlightLazy","timestamp","tabId","viewName"]);var i=a(0x16ed1b0dc),o=a(0x11c82607b),s=a(0x17aa64b24),l=a(0x46a42efe);let c=(0,o.Ay)("Post channel canvas view opening side effects",(e,t,{channelId:a,isOverlay:n,isFlex:r})=>{!a||(0,i.A)(a)&&(r?e((0,s.Ic)({channelId:a,layout:l.z.SECONDARY})):n&&e((0,s.Ic)({channelId:a,layout:l.z.OVERLAY})))});c.meta={name:"postChannelCanvasViewOpen",key:"createThunkPostChannelCanvasViewOpen",description:"Post channel canvas view opening side effects"};let d=(0,o.Ay)("Post channel canvas routing side effects",(e,t,{routeName:a,routeParams:i={},isChannelCanvasFlexpane:o,isChannelCanvasClosing:d})=>{let u=i.entityId;if(!u)return;let m=!!(a===n._G&&i.channelCanvasId);if(e(c({channelId:i.entityId,isOverlay:m,isFlex:o})),o)e((0,s.Ic)({channelId:u,layout:l.z.SECONDARY}));else if(m)e((0,s.Ic)({channelId:u,layout:l.z.OVERLAY}));else(a===n._G&&Object.keys(i).every(e=>!(i[e]&&r.has(e)))||d)&&e((0,s.Ic)({channelId:u,layout:l.z.CLOSED}))});d.meta={name:"postChannelCanvasRouting",key:"createThunkPostChannelCanvasRouting",description:"Post channel canvas routing side effects"}},0x46a42efe:(e,t,a)=>{"use strict";a.d(t,{q:()=>o,z:()=>i});var n,r,i=((n={}).OVERLAY="overlay",n.SECONDARY="secondary",n.PRIMARY="primary",n.CLOSED="closed",n.TILE="tile",n),o=((r={}).USER_CREATED="user_created",r)},0x14ba3df0e:(e,t,a)=>{"use strict";a.d(t,{C:()=>fullLayoutsToIntLayouts,m:()=>intLayoutsToFullLayouts});var n=a(0xca5fbbb6),r=a(0x46a42efe),i=a(0x9643278e);let o={[r.z.SECONDARY]:i.J.SECONDARY,[r.z.OVERLAY]:i.J.OVERLAY,[r.z.CLOSED]:i.J.CLOSED},s=(0,n.A)(o),intLayoutsToFullLayouts=e=>s[e]??null,fullLayoutsToIntLayouts=e=>o[e]??null},0xbcb3a506:(e,t,a)=>{"use strict";a.d(t,{m:()=>p});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x3e015234),o=a(0xc9c97240),s=a(0x139aa1a7),l=a(0xf6ed6f31),c=a(0x217553e42),d=a(0x1df60c2b6);function shouldEvictChannel({channel:e,primaryViewIds:t}){return!(t.includes(e.id)||(0,l.bl)(e))}let u=(0,o.Mz)(e=>(0,c.DM)(e),e=>(0,d.a)(e,{viewType:s.D.Channel}).map(({view:e})=>e.id),(e=[],t)=>e.reduce((e,a)=>(a&&shouldEvictChannel({channel:a,primaryViewIds:t})&&(e[a.id]=a),e),{}));var m=a(0x11c82607b),f=a(0x5c3977a6);let _=(0,m.Ay)("Remove channels by channel ID",(e,t,{ids:a,isCacheEviction:n=!1})=>e((0,f.dM)({ids:a,reason:"channels_cache_eviction_api",isCacheEviction:n})));_.meta={name:"bulkRemoveChannelsById",key:"createThunkBulkRemoveChannelsById",description:"Remove channels by channel ID"};let p=(0,n.A)(e=>{let t=new i.A({teamId:e,cacheSizeMaximum:200,cacheSizeTarget:100,evictionEnabled:!0,getObjects:u,removeObjects:_,label:"channels"});return e&&(0,r.GW)(e,"channelsCacheManager",t),t})},0x1a6e59198:(e,t,a)=>{"use strict";a.d(t,{AM:()=>s,Cg:()=>i,dM:()=>r.dM,f0:()=>r.Ap,g:()=>sanitizeChannelActionForReduxDevtools,oV:()=>o});var n=a(0xcf658893),r=a(0x5c3977a6);let i=(0,n.Ay)("Join a channel");i.meta={name:"joinChannel",key:"createActionJoinChannel",description:"Join a channel"};let o=(0,n.Ay)("Convert mpdm to private channel");o.meta={name:"convertToChannel",key:"createActionConvertToChannel",description:"Convert mpdm to private channel"};let s=(0,n.Ay)("Update redux stores with unchanged channel data");s.meta={name:"updateStoreWithUnchangedChannels",key:"createActionUpdateStoreWithUnchangedChannels",description:"Update redux stores with unchanged channel data"};let sanitizeChannelActionForReduxDevtools=e=>e.type!==r.Ap.getType()?e:{...e,payload:"Channel bulk add payload is too big to output to redux devtools"}},0x11ea712ca:(e,t,a)=>{"use strict";a.d(t,{HY:()=>r,Re:()=>s,kA:()=>o,o7:()=>n,rd:()=>i});let n="CHANNELS-ACTIONS",r="Upsert a channel, group, mpim, or im",i={ADD_CHANNEL:"Add a channel, overwriting anything previously stored with the same id",ARCHIVE_CHANNEL:"Archive channel",BULK_ADD_CHANNELS:"Bulk add channels, overwriting anything previously stored with the same id",BULK_UPDATE_CHANNELS:"Update a few keys for multiple channels",CLEAR_ALL_SHOW_IN_LIST_EVEN_THOUGH_UNREADS_FLAGS:"Legacy hack: set the _show_in_list_even_though_no_unreads for all channels to be false",CONVERT_TO_PRIVATE:"Convert a channel to private",CONVERT_TO_PUBLIC:"Convert a channel to public",CONVERT_TO_SHARED:"Convert a channel to an enterprise shared channel (cross-workspace or org-wide)",CHANNEL_UPDATED:"Channel was updated (privacy, permissions or externally shared status changed)",UNAVAILABLE_CHANNEL_RELOAD:"An externally shared channel that was unavailable due to an external team migrating from a standalone workspace to be in a grid organizations, is now done migrating and ready to reload",ORG_ACCESS:"Update the teams this channel is shared with on your organization or update to cross-workspace or org-wide",LEAVE_CHANNEL:"Leave channel",RENAME_CHANNEL:"Rename a channel",SET_PURPOSE:"Set a channel purpose",SET_STAR:"Set starred state for a channel",SET_TOPIC:"Set a channel topic",UNARCHIVE_CHANNEL:"Unarchive a channel",UPDATE_ONE_KEY:"Update one key for a channel by id",UPDATE_WORKSPACE_ACCESS:"Update workspace access for a channel",UPSERT_CHANNEL:r,CHILD_CHANNEL_CREATED:"Archive old private channel and replace it with new private channel with same name",SET_CHANNEL_PROPERTIES_CANVAS_FILE_ID:"Set the `canvas.file_id` channel property value",SET_CHANNEL_PROPERTIES_CANVAS_IS_PRIMARY_VIEW:"Set the `canvas.is_primary_view` channel property value",SET_CHANNEL_PROPERTIES_CANVAS_IS_OPEN_BY_DEFAULT:"Set the `canvas.is_open_by_default` channel property value",SET_CHANNEL_PROPERTIES_MEETING_NOTES_FILE_ID:"Set the `meeting_notes.file_id` channel property value",SET_CHANNEL_PROPERTIES_AUTO_OPEN_TAB_ID:"Set the tab to auto open for a channel as a property",SET_CHANNEL_PROPERTIES_CANVAS_EDITS_RESTRICTED_TO_CHANNEL_MANAGER:"Set the `canvas.edits_restricted_to_channel_manager` channel property value",SET_CHANNEL_PROPERTIES_DEFAULT_TAB_ID:"Set the default tab for a channel",SET_CHANNEL_PROPERTIES_TABS:"Set the channel tabs",SET_CHANNEL_PROPERTIES_INVITER_JOINER_WELCOME_MESSAGE_TS:"Set the `inviter_joiner.welcome_message_ts` channel property value",SET_CHANNEL_PROPERTIES_INVITER_JOINER_WELCOME_MESSAGE_SEEN:"Set the `inviter_joiner.welcome_message_seen` channel property value",SET_CHANNEL_PROPERTIES_INVITER_JOINER_NUDGE_DISMISSED:"Set the `inviter_joiner.nudge_is_dismissed` channel property value",GET_RECORD_CHANNEL_BY_RECORD_ID:"Fetch a record channel given a record id",GET_RECORD_CHANNEL_AND_NAVIGATE:"Fetch a record channel given a record id and navigate",SET_MUTE_CHANNEL_CANVAS_UPDATES:"Set the `mute_edit_updates` for channel canvases",SET_MUTE_CHANNEL_TAB_UPDATES:"Set the `mute_edit_updates` for canvas tab",CREATE_PLACEHOLDER_CANVAS_TAB:"Creates a placeholder tab for a new canvas",CREATE_NEW_CANVAS_TAB:"Creates a new canvas channel tab",CREATE_NEW_LIST_TAB:"Creates a new list channel tab",SET_MUTE_FOLDER_UPDATES:"Set `mute_edit_updates` for a folder tab",SET_CHANNEL_PROPERTIES_PREJOIN_DM_WELCOME_PARTY_USER_WELCOME_CARD_SENT_TS:"Set the `prejoin_dm_welcome_party.user_welcome_card_sent_ts` channel property value"},o={DM:"dm",GENERAL:"general",GENERIC:"generic",MPDM:"mpdm",PROJECT:"project",RANDOM:"random",SELF_DM:"self_dm",APP_OR_BOT_DM:"app_or_bot_dm"},s={EXTERNAL_DM_ENDED:"external_dm_ended",EXTERNAL_DM_DENIED:"external_dm_denied",CONNECTION_SEVERED:"connection_severed",EXTERNAL_USER_DISCONNECTED:"external_user_disconnected",REQUIRE_SC_CHANNEL_FOR_SC_DM:"require_sc_channel_for_sc_dm"}},0x217553e42:(e,t,a)=>{"use strict";a.d(t,{MS:()=>en,DM:()=>X,TJ:()=>eg,OL:()=>ed,Os:()=>ek,zb:()=>eE,LO:()=>eu,h3:()=>em,D5:()=>ef,qG:()=>eS,W2:()=>ev,Pu:()=>eI,o2:()=>eT,_B:()=>eo,FB:()=>eC,FS:()=>ei,sE:()=>er,Wr:()=>et,fz:()=>eh,gM:()=>ex,Sm:()=>eb,zm:()=>e_,fu:()=>ep,hh:()=>es,O6:()=>ew,gT:()=>el,vh:()=>ey});var n=a(0xca924ee1),r=a(0x16475a65c),i=a(0x7bbe057),o=a(0x21f3c49e8),s=a(0x1e2051844),l=a(0x1aba66b56),c=a(0x1130a8ca8),d=a(0x154933c60),u=a(0x6e1ddc5),m=a(0x1906e0f30),f=a(0x15f4f83cf),_=a(1927545e3),p=a(0x1ec69ee01),h=a(0x12185e091),g=a(0x53f531a4),A=a(0xf159cb74),b=a(0x280afe13),y=a(0x6f213e53),S=a(0x114ffe897),E=a(0x21d145283),k=a(0xf6ed6f31),T=a(0x123177bf2),I=a(0x1b9d5cc0c),w=a(0xf2964a91),C=a(0x143fb6398),v=a(0xb8504a42),x=a(0x16ed1b0dc),R=a(0x77d15e7e),O=a(0x1cf0d97e1),N=a(0x12dfc7f9a),D=a(0x8baf11b5),L=a(0x9b971e7e),M=a(0xf1527618),F=a(0xc9c97240);let createMemoizedReselectSelector=(...e)=>{let t={};return(a,...n)=>{let r=(0,L.ZT)(a)||"default";if(!t[r]){let a=(0,F.Mz)(...e);t[r]=a}return t[r](a,...n)}};var P=a(0x1bc4b3ad8),U=a(0x1266f1359),B=a(0xc561af5),G=a(0xbcb3a506),H=a(0x20c4967e1),W=a(0x17f39e0ff),V=a(0x5c3977a6),j=a(0x8f3c4496),K=a(0xc270896e),q=a(0x14149c126),z=a(0xe684f705),$=a(0x2244f10f),Y=a(0x1b9ff23fe),Q=a(0x1ee439e69),Z=a(0x1067595c0),J=a(0x1e974bbde);let X=createMemoizedReselectSelector(e=>(0,W.o)(e),(e={})=>Object.values((0,c.xH)(e))),ee=createMemoizedReselectSelector(e=>X(e),e=>(0,n.A)(t=>t?e.filter(h.rW):e.filter(e=>(0,h.rW)(e)&&!(0,p.lo)(e)))),et=(0,O.Ay)((e,{includeFromAnotherTeam:t=!1}={})=>ee(e)(t));et.meta={name:"getPublicChannels",key:"createSelectorGetPublicChannels",description:(e,{includeFromAnotherTeam:t=!1}={})=>ee(e)(t)};let ea=createMemoizedReselectSelector(e=>X(e),e=>(0,n.A)(t=>e.filter(e=>(0,k.cV)(e)&&(t||!(0,p.lo)(e))))),en=(0,P.F)(e=>X(e),e=>(0,v.r7)((0,Q.H7)(e)),(e,t)=>{if(!t)return null;let a=new Map;return e.forEach(e=>{let t=(0,g.j)(e);if(!e||!t||(0,h.JM)(e))return;let n=a.get(t);n?a.set(t,[...n,e.id]):a.set(t,[e.id])}),a}),er=(0,O.Ay)((e,{includeFromAnotherTeam:t=!1}={})=>ea(e)(t));er.meta={name:"getPrivateChannels",key:"createSelectorGetPrivateChannels",description:(e,{includeFromAnotherTeam:t=!1}={})=>ea(e)(t)};let ei=createMemoizedReselectSelector(e=>X(e),(e=[])=>e.filter(h.yz)),eo=createMemoizedReselectSelector(e=>X(e),(e=[])=>e.filter(h.LI)),es=(0,O.Ay)((e,t)=>!!(0,j.s)(e,t));es.meta={name:"hasChannelWithId",key:"createSelectorHasChannelWithId",description:(e,t)=>!!(0,j.s)(e,t)};let el=(0,O.Ay)((e,t)=>!!e&&!!t&&(0,h.hc)((0,j.s)(e,t)));function fetchChannelsForTeamId(e,t,a){if(!a)throw Error("fetchChannelsForTeamId requires a reason");let n=(0,U.$D)(e),i=t.filter(e=>(0,j.s)(n,e)).filter(e=>{let t=(0,j.s)(n,e);return t&&!(0,h.t8)(t)}),o=(0,r.A)(t,i);return(0,U.Qw)(e,(0,d.nM)({ids:o,reason:a})).catch(()=>({channels:[],resolved:[]})).then(({channels:t,resolved:a}={})=>{let n=(0,U.$D)(e);(0,U.Qw)(e,(0,u.Yi)({resolved:a,channels:t}));let r=i.map(e=>(0,j.s)(n,e));return t.concat(r)})}function upsertChannelsForTeamId(e,t){(0,U.Qw)(e,(0,K.U)({channels:t}))}el.meta={name:"isChannelExistent",key:"createSelectorIsChannelExistent",description:(e,t)=>!!e&&!!t&&(0,h.hc)((0,j.s)(e,t))};let ec=(0,n.A)(()=>new f.Ay({fetch:(e,t)=>fetchChannelsForTeamId(e,t,"UnknownFetchManager"),metricsName:"channels",upsertKnown:upsertChannelsForTeamId,upsertNonExistent:upsertChannelsForTeamId,offlineDataStoreConfig:(0,m.p)(V.TU)}));function getChannelByIdSelector(e,t,a=!0){let n=(0,j.s)(e,t);if(!t||!(0,x.A)(t))return null;let r=(0,L.JY)(e);return n?((0,G.m)(r).recordHit(t),(0,H.ez)(r,n.id),n):a?((0,G.m)(r).recordMiss(),ec().fetchObjectWithId(r,t)):null}let ed=(0,O.Ay)(getChannelByIdSelector);ed.meta={name:"getChannelById",key:"createSelectorGetChannelById",description:getChannelByIdSelector};let eu=(0,O.Ay)((e,t=[],a=!0)=>t.reduce((t,n)=>{let r=ed(e,n,a);return r&&t.push(r),t},[]));eu.meta={name:"getChannelsById",key:"createSelectorGetChannelsById",description:(e,t=[],a=!0)=>t.reduce((t,n)=>{let r=ed(e,n,a);return r&&t.push(r),t},[])};let em=createMemoizedReselectSelector(e=>X(e),e=>e.filter(p.Ez)),ef=createMemoizedReselectSelector(e=>X(e),e=>e.filter(p.mi)),e_=createMemoizedReselectSelector(e=>X(e),e=>e.filter(e=>((0,h.rW)(e)||(0,k.cV)(e))&&!(0,y.F)(e)&&!(0,p.lo)(e))),ep=createMemoizedReselectSelector(e=>X(e),e=>e.filter(e=>((0,h.rW)(e)&&(0,k.bl)(e)||(0,k.cV)(e))&&!(0,y.F)(e)&&!(0,p.lo)(e))),eh=(0,O.Ay)((e,t)=>{if(!t)return!1;let a="on"===(0,q._Z)(e,"badge_all_unreads"),n=!0===(0,$.aG)(e,t,"badge_all_unreads"),r=(0,D.B)(e,t);return a&&n&&!r});eh.meta={name:"getShouldBadgeAllUnreadsForChannelId",key:"createSelectorGetShouldBadgeAllUnreadsForChannelId",description:(e,t)=>{if(!t)return!1;let a="on"===(0,q._Z)(e,"badge_all_unreads"),n=!0===(0,$.aG)(e,t,"badge_all_unreads"),r=(0,D.B)(e,t);return a&&n&&!r}};let eg=(0,O.Ay)((e,t)=>{let a=eh(e,t?.id),n=(0,D.B)(e,t?.id||"");return(0,p.kR)(t,n,a)});eg.meta={name:"getBadgeCount",key:"createSelectorGetBadgeCount",description:(e,t)=>{let a=eh(e,t?.id),n=(0,D.B)(e,t?.id||"");return(0,p.kR)(t,n,a)}};let eA=(0,O.Ay)((e,t)=>{if(!(0,h.LI)(t)||(0,S.D)(t))return!1;let a=(0,b.e)(t),n=(0,z.nv)(e,a);return!!(0,I.po)(n)});eA.meta={name:"isImWithBotUser",key:"createSelectorIsImWithBotUser",description:(e,t)=>{if(!(0,h.LI)(t)||(0,S.D)(t))return!1;let a=(0,b.e)(t),n=(0,z.nv)(e,a);return!!(0,I.po)(n)}};let eb=(0,O.Ay)(e=>{let t=Object.keys((0,Z.ty)(e)),a=0;return t.forEach(t=>{let n=ed(e,t);(0,h.JM)(n)&&!eA(e,n)&&(a+=1)}),a});eb.meta={name:"getTotalUnreadDmsMpims",key:"createSelectorGetTotalUnreadDmsMpims",description:e=>{let t=Object.keys((0,Z.ty)(e)),a=0;return t.forEach(t=>{let n=ed(e,t);(0,h.JM)(n)&&!eA(e,n)&&(a+=1)}),a}};let ey=(0,O.Ay)((e,t)=>!!t&&eg(e,t)>0);ey.meta={name:"isMention",key:"createSelectorIsMention",description:(e,t)=>!!t&&eg(e,t)>0};let eS=(0,O.Ay)(e=>{let t=[],a=(0,J.Z)(e)?.viewSet?.primary?.id;if(X(e).forEach(n=>{if((0,y.F)(n)||!(0,k.bl)(n))return;if((0,h.LI)(n)){let t=(0,z.nv)(e,(0,b.e)(n));if((0,w.o)(t)||(0,I.eJ)(t))return}let r=(0,p.yc)(e,n.id),i=(0,p.KJ)(n);if(r&&!i&&(0,T.P)(e,n))return;let o=(0,D.B)(e,n.id),s=(0,h.LI)(n)&&o;ey(e,n)&&!s||i&&!o?t.push(n):r&&a!==n.id&&t.push(n)}),(0,Z.zx)(e)){let a=(0,Z.nJ)(e),n={id:R.EN.allThreads,mentionCount:a};t.push(n)}let n=(0,Y.BK)(e);if(n>0){let e={id:_.c.Later,mentionCount:n};t.push(e)}return t});function getEntityIdByNameFromMap(e,t){if(!t||!e)return;let a=(0,i.A)(e);a&&"#"===a[0]&&(a=a.slice(1));let n=t[a];return n||t[e]}eS.meta={name:"getDraftAndUnreadChannelsQS",key:"createSelectorGetDraftAndUnreadChannelsQS",description:e=>{let t=[],a=(0,J.Z)(e)?.viewSet?.primary?.id;if(X(e).forEach(n=>{if((0,y.F)(n)||!(0,k.bl)(n))return;if((0,h.LI)(n)){let t=(0,z.nv)(e,(0,b.e)(n));if((0,w.o)(t)||(0,I.eJ)(t))return}let r=(0,p.yc)(e,n.id),i=(0,p.KJ)(n);if(r&&!i&&(0,T.P)(e,n))return;let o=(0,D.B)(e,n.id),s=(0,h.LI)(n)&&o;ey(e,n)&&!s||i&&!o?t.push(n):r&&a!==n.id&&t.push(n)}),(0,Z.zx)(e)){let a=(0,Z.nJ)(e),n={id:R.EN.allThreads,mentionCount:a};t.push(n)}let n=(0,Y.BK)(e);if(n>0){let e={id:_.c.Later,mentionCount:n};t.push(e)}return t}};let eE=(0,O.Ay)((e,t)=>{let a=e?.channelNamesToIds&&(0,N.bO)(e.channelNamesToIds,X(e));return getEntityIdByNameFromMap(t,a?.ims)||getEntityIdByNameFromMap(t,a?.channelsAndGroups)||getEntityIdByNameFromMap(t,a?.mpims)});eE.meta={name:"getChannelIdByName",key:"createSelectorGetChannelIdByName",description:(e,t)=>{let a=e?.channelNamesToIds&&(0,N.bO)(e.channelNamesToIds,X(e));return getEntityIdByNameFromMap(t,a?.ims)||getEntityIdByNameFromMap(t,a?.channelsAndGroups)||getEntityIdByNameFromMap(t,a?.mpims)}};let ek=(0,O.Ay)((e,t)=>{let a=eE(e,t),n=(0,L.JY)(e),r=a&&(0,j.s)(e,a);return r&&n&&(0,H.ez)(n,r.id),r});ek.meta={name:"getChannelByName",key:"createSelectorGetChannelByName",description:(e,t)=>{let a=eE(e,t),n=(0,L.JY)(e),r=a&&(0,j.s)(e,a);return r&&n&&(0,H.ez)(n,r.id),r}};let eT=(0,O.Ay)((e,t)=>{let a=e?.channelNamesToIds&&(0,N.bO)(e.channelNamesToIds,X(e));return getEntityIdByNameFromMap(t,a?.ims)||getEntityIdByNameFromMap(t,a?.channelsAndGroups)||getEntityIdByNameFromMap(t,a?.mpims)});eT.meta={name:"getImIdByMemberId",key:"createSelectorGetImIdByMemberId",description:(e,t)=>{let a=e?.channelNamesToIds&&(0,N.bO)(e.channelNamesToIds,X(e));return getEntityIdByNameFromMap(t,a?.ims)||getEntityIdByNameFromMap(t,a?.channelsAndGroups)||getEntityIdByNameFromMap(t,a?.mpims)}};let eI=(0,O.Ay)((e,t)=>{let a=eT(e,t);return a?ed(e,a):null});eI.meta={name:"getImByMemberId",key:"createSelectorGetImByMemberId",description:(e,t)=>{let a=eT(e,t);return a?ed(e,a):null}};let ew=(0,O.Ay)((e,t)=>{if(!(0,M.Yx)(e))return!0;let a=eI(e,t);if((0,p.nT)(a))return!0;let{timestamps:n}=(0,B.tp)(e,a?.id)||{};return a&&(0,p.Ze)(e,a.id,n)>"0000000000.000000"});ew.meta={name:"haveOpenOrNonEmptyImForMemberId",key:"createSelectorHaveOpenOrNonEmptyImForMemberId",description:(e,t)=>{if(!(0,M.Yx)(e))return!0;let a=eI(e,t);if((0,p.nT)(a))return!0;let{timestamps:n}=(0,B.tp)(e,a?.id)||{};return a&&(0,p.Ze)(e,a.id,n)>"0000000000.000000"}};let eC=(0,O.Ay)((e,t)=>(0,o.A)(t)?null:(0,s.A)(ei(e),e=>{let a=(0,p.Ug)(e);return!(0,o.A)(a)&&a.length===t.length&&a.every(e=>(0,l.A)(t,e))}));eC.meta={name:"getMpimByMemberIds",key:"createSelectorGetMpimByMemberIds",description:(e,t)=>(0,o.A)(t)?null:(0,s.A)(ei(e),e=>{let a=(0,p.Ug)(e);return!(0,o.A)(a)&&a.length===t.length&&a.every(e=>(0,l.A)(t,e))})};let ev=createMemoizedReselectSelector(X,L.E$,(e,t)=>e.find(e=>!!(0,E.N)(e)&&(!!(0,h.QR)(e)||!(0,p.lo)(e)&&(!t||(0,A.c)(e)===t)))),ex=(0,P.F)(e=>X(e),e=>e.filter(e=>(0,C.ju)(e)).map(e=>e.id)),eR={};Object.defineProperty(eR,"unknownFetchManager",{get:()=>ec()}),Object.defineProperty(eR,"getCacheManager",{get:()=>G.m})},0x20c4967e1:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,Hw:()=>getFreshObjects,ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x154933c60),o=a(0x1a8cc04e1),s=a(0x12185e091),l=a(0x1fea7ac86),c=a(0x1266f1359),d=a(0x8f3c4496);let u=1/0,getMaxAge=(e,t)=>{let a=(0,c.$D)(e),n=(0,d.s)(a,t),r=u;if(n)if(!(0,s.QR)(n))return u;else r=1800;else r=1;return(0,l.A)(r,-.2,.2)},m=(0,n.A)(()=>new o.Ay({storeKey:"channels",fetch:(e,t)=>(0,c.Qw)(e,(0,i.pX)({ids:t,callSource:i.aI.ConditionalFetchManager})),isEnabled:()=>!0,maxAge:getMaxAge,metricsName:"channels"})),maybeRefetch=(e,t)=>m().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>m().markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>m().markObjectsAsStale(e,t),getFreshObjects=e=>m().getFreshObjects(e);(0,r.zv)("conditionalFetchManagerChannels",m)},0x17f39e0ff:(e,t,a)=>{"use strict";a.d(t,{o:()=>getAllChannels});var n=a(0x5c3977a6);let getAllChannels=e=>(0,n.UR)(e)},0x133d6089b:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n=a(0x1ede77aa4).K},0xe4aebb05:(e,t,a)=>{"use strict";a.d(t,{v:()=>processChannel});var n=a(0x839ba347),r=a(0x9b44b68b),i=a(0xf2e7528e),o=a(0x1aba66b56),s=a(0xe0376d2),l=a(0x7d48dd65),c=a(0x202470d56),d=a(0x7bbe057),u=a(0x1df96de4c),m=a(0x22480f425),f=a(0x1a256ff50),_=a(0xb62e6bf4),p=a(0x1d6bd61f0),h=a(0x1ec69ee01),g=a(0x12185e091),A=a(0x53f531a4),b=a(0x73d7ee71),y=a(0x280afe13),S=a(0x6f213e53),E=a(0xf6ed6f31),k=a(0x16df7a1d3),T=a(0x1a115a2e4),I=a(0xbe2be077),w=a(0x4b8e0952),C=a(0xb4ea2806),v=a(0xa1832ae4),x=a(0x1ec68d6a3),R=a(0x11439744b),O=a(0x16ed1b0dc),N=a(0xf49f1b26),D=a(0x24edd4aab),L=a(0x9b971e7e),M=a(0x3ae26f4a),F=a(0x98cc114f),P=a(0x19c76d181),U=a(0x217553e42),B=a(0x20c4967e1),G=a(0x5dd50c72),H=a(0x180732543),W=a(0xe684f705);let processChannel=(e,t,a,o=p.xT.Other)=>{let s,l=t(),c=(0,x.default)({state:l});if(!a||!a.id)return c.error("upsert channel has been called without an id, ignoring!"),{isUpdated:!0,channel:a};let d=(0,L.JY)(l);(0,B.mY)(d,[a.id]);let u={...a},m=(0,U.OL)(l,u.id,!1);if(delete u.unread_count,delete u.is_shared,delete u.pending_connected_team_ids,delete u.pending_shared,delete u.shared_team_ids,m&&!(0,g.Zx)(m)){let a={...m};(0,n.A)((0,r.A)(u),e=>{if("members"===e){if(!(0,g.yz)(u))return;s=u.members,a.members&&a.members.length!==s?.length&&(0,R.Cy)({getState:t}).count("channel_upsert_membership_discrepancy");let e=(0,i.A)(s,a.members);(0,f.Ay)(a.members,e)||(a.members=e)}else if("pinned_items"===e)(0,P.TZ)(l)&&!(0,f.Ay)(a.pinned_items,u.pinned_items)&&(a.pinned_items=u.pinned_items);else if((0,g.yz)(u)&&"name"===e);else if("pinned_items_count"===e){let t=a[e],n=u[e];if(t===n||void 0===n&&0===t||0===n&&void 0===t)return;a[e]=n}else{let t=a[e],n=u[e];if(t===n||t&&n&&(0,f.Ay)(t,n))return;a[e]=n}}),setInternalTeamIds(e,l,m,a),setConnectedLimitedTeamIds(e,l,m,a),setConnectedTeamIds(e,l,m,a),setInternalChannelNames(e,l,m,a),(0,G.u)(l)&&(0,T.f5)(l,a)&&a?.is_migrating!==!!u?.is_migrating&&(a.is_migrating=!!u.is_migrating),u=a}else u=processNewChannelForUpserting(e,l,u),setInternalTeamIds(e,l,null,u),setConnectedLimitedTeamIds(e,l,null,u),setConnectedTeamIds(e,l,null,u);return((0,E.bl)(u)&&(0,S.F)(u)&&(0,g.rW)(u)&&(c.warn(`channel.is_member and channel.is_archived are both true for ${u.id}`),u.is_member=!1),setUnknown(e,l,m,u),setFromAnotherTeam(e,l,m,u),setPostingPermissions(e,l,u),"latest"in u&&delete u.latest,"last_read"in u&&delete u.last_read,checkForNonExistentDmRegression({channel:u,logger:c}),(0,g.yz)(u)&&checkMpimMembers(t,u),m&&m.updated===u.updated&&(0,f.Ay)(m,u))?(d&&(0,p.Y8)({type:p.an.Channel,source:o,duplicate:!0,teamId:d}),{isUpdated:!1,channel:m}):(d&&(0,p.Y8)({type:p.an.Channel,source:o,duplicate:!1,teamId:d}),{isUpdated:!0,channel:u})};function setFromAnotherTeam(e,t,a,n){let r=!0;if(n)if((0,_.ss)(t))r=!1;else if((0,I.k)(t))if((0,g.LI)(n))r=!1;else if((0,g.yz)(n))r=!1;else if((0,g.Zx)(n))r=!1;else if((0,k.S)(n))r=!1;else{let e=(0,b.R)(t,n),a=(0,L.JY)(t);r=!!e&&!!e.length&&(1!==e.length||e[0]!==a)&&!(0,o.A)(e,a)}else r=!1;else r=!1;n.fromAnotherTeam=r}function setUnknown(e,t,a,n){n&&n.name&&(n.isNonExistent=!1,n.isUnknown=!1)}function processNewChannelForUpserting(e,t,a){let n={...a};return n.is_general=!!n.is_general,n.is_channel=!!n.is_channel,n.is_group=!!n.is_group,n.is_mpim=!!n.is_mpim,n.is_im=!!n.is_im,(0,g.rW)(n)&&(n.is_org_mandatory=!!n.is_org_mandatory,n.is_org_default=!!n.is_org_default),setInternalChannelNames(e,t,null,n),((0,g.rW)(n)||(0,g.Zp)(n))&&(n._show_in_list_even_though_no_unreads=!1),n.topic||(n.topic=u.t0),n.purpose||(n.purpose=u.t0),n.is_member=!!n.is_member,((0,g.yz)(n)||(0,g.LI)(n))&&(n.opened_this_session=!1,n.is_member=!0),n.scroll_top=n.scroll_top||-1,n.history_is_being_fetched=!!n.history_is_being_fetched,n.unread_highlight_cnt=n.unread_highlight_cnt||0,n.unread_highlights=n.unread_highlights||[],n.unread_cnt=n.unread_cnt||0,n.unreads=n.unreads||[],n.has_fetched_history_after_scrollback=!1,n.vip_count=n?.vip_count||0,n}function setConnectedTeamIds(e,t,a,r){if(null!==a&&a.connected_team_ids===r.connected_team_ids&&r.connectedTeamIds)return;let i=r.connected_team_ids||u.Ml;i=(0,v.jr)(t,i),i=(0,s.A)(i),(0,n.A)(i,t=>{e((0,H.j)({id:t}))}),r.connectedTeamIds=i}function setConnectedLimitedTeamIds(e,t,a,r){if(null!==a&&a.connected_limited_team_ids===r.connected_limited_team_ids&&r.connectedLimitedTeamIds)return;let i=r.connected_limited_team_ids||[];i=(0,s.A)(i);let o=(0,v.jr)(t,i);(0,n.A)(o,t=>{e((0,H.j)({id:t}))}),r.connectedLimitedTeamIds=i}function setInternalTeamIds(e,t,a,n){if(null===a||a.internal_team_ids!==n.internal_team_ids||!n.internalTeamIds)if(n.internal_team_ids&&0!==n.internal_team_ids.length){let e=n.internal_team_ids;n.internalTeamIds=(0,l.A)(e,e=>!(0,c.A)(e))}else n.internalTeamIds=u.Ml}function setMpimName(e,t,a,n){n.name=(0,h.Oi)(t,n),n._name_lc=(0,d.A)(n.name)}function setImName(e,t,a,n){let r=(0,W.nv)(t,(0,y.e)(n));n.name||(n.name=n.user),r&&!(0,w.z1)(r)&&(n.name=r.name),n._name_lc=(0,d.A)(n.name)}function setInternalChannelNames(e,t,a,n){(0,g.yz)(n)?(n._internal_name=(0,A.j)(n),setMpimName(e,t,a,n)):(0,g.LI)(n)?setImName(e,t,a,n):n._name_lc=(0,d.A)((0,A.j)(n))}function setPostingPermissions(e,t,a){let n="is_read_only"in a&&"boolean"==typeof a.is_read_only?a.is_read_only:void 0,r="is_thread_only"in a&&"boolean"==typeof a.is_thread_only?a.is_thread_only:void 0;if(void 0===n&&void 0===r){let e=a?.properties?.posting_restricted_to,i=a?.properties?.threads_restricted_to;if(e||i){let o=(0,C.x)(t,{prefValuePost:e,prefValueThread:i,channel:a});n=o.isReadOnly,r=o.isThreadOnly}}void 0!==n&&n!==(0,D.e)(t,a.id)&&e((0,N.m)({channelId:a.id,isReadOnly:n})),void 0!==r&&r!==(0,F.o)(t,a.id)&&e((0,M.C)({channelId:a.id,isThreadOnly:r}))}let V=!1;function checkForNonExistentDmRegression({channel:e,logger:t}={}){(0,g.QR)(e)&&!V&&e&&e.id&&(0,O.A)(e.id)&&"D"===e.id[0]&&e.is_im&&(t.error(`DM ${e.id} is marked as non existent, this is almost certainly due to a regression in the front end data layer, and should not be ignored!`,{subtype:"DM_is_nonexistent_error"}),V=!0)}function checkMpimMembers(e,t){if((0,m.A)())return;let a=e(),n=(0,x.default)({getState:e}),r=(0,P.WR)(a);if(!t||!t.id)return;if(!t.members)return void n.error("UPSERT_MPIM_MEMBERS",`No members property on channel ${t.id}`);let i=(t.members||[]).filter(e=>e!==r);i.length<2&&n.warn("UPSERT_MPIM_MEMBERS",`Members property for ${t.id} without current user only has ${i.length} members`)}},0x5c3977a6:(e,t,a)=>{"use strict";a.d(t,{Ap:()=>d,Ay:()=>h,TU:()=>o,UR:()=>p,Wy:()=>f,dM:()=>u});var n=a(0x9e671ad),r=a(0x807220a2),i=a(0x107594e0c);let o={storeKey:"channels",persistenceEnabled:!0};function handleChannelUpdate(e,t){return e.updated===t?.updated?(0,n.A)(e,t)?t:e:e}let{reducer:s,actions:l,selectors:c}=(0,i.A)(o,{update:(0,r.yA)()?handleChannelUpdate:void 0}),{addObjects:d,removeObjects:u,clearObjects:m}=l,{getObjectById:f,UNSAFE_getAllObjects:_}=c,p=_,h=s},0x21491cdb1:(e,t,a)=>{"use strict";a.d(t,{j:()=>i});var n=a(0x1cf0d97e1),r=a(0x217553e42);let i=(0,n.Ay)((e,t)=>(0,r.OL)(e,t)?.properties);i.meta={name:"getChannelPropertiesById",key:"createSelectorGetChannelPropertiesById",description:(e,t)=>(0,r.OL)(e,t)?.properties}},0x1ab312eae:(e,t,a)=>{"use strict";a.d(t,{X:()=>l});var n=a(0x16fb57e5),r=a(0x1cf0d97e1),i=a(0x11ea712ca),o=a(0x217553e42),s=a(0x13300685c);let l=(0,r.Ay)(e=>Object.values(((0,s.fJ)(e)?(0,o.DM)(e):(0,o.Wr)(e))||{}).filter(t=>(0,n.X)(e,t)===i.kA.PROJECT).sort((e,t)=>(t.created??0)-(e.created??0)));l.meta={name:"getOnboardingProjectChannels",key:"createSelectorGetOnboardingProjectChannels",description:e=>Object.values(((0,s.fJ)(e)?(0,o.DM)(e):(0,o.Wr)(e))||{}).filter(t=>(0,n.X)(e,t)===i.kA.PROJECT).sort((e,t)=>(t.created??0)-(e.created??0))}},0x8f3c4496:(e,t,a)=>{"use strict";a.d(t,{s:()=>getRawChannelById});var n=a(0x5c3977a6);let getRawChannelById=(e,t)=>(0,n.Wy)(e,t)},0x1cb2c3583:(e,t,a)=>{"use strict";a.d(t,{W:()=>u});var n=a(0x154933c60),r=a(0x12185e091),i=a(0x49e911f4),o=a(0x11c82607b),s=a(0x1a6e59198),l=a(0x11ea712ca),c=a(0x217553e42),d=a(0x1aad5a225);let u=(0,o.Ay)("Get the general channel from cache, fetch if we do not have it",(e,t)=>{let a=t(),o=(0,c.W2)(a);if(o||(0,i.sV)(a)||(e((0,d.F)({channel:{id:"C0GENERAL",is_general:!0,isUnknown:!0},reason:l.rd.ADD_CHANNEL})),e((0,n.Mx)()).then(t=>{t&&(e((0,d.F)({channel:t,reason:l.rd.ADD_CHANNEL})),e((0,s.dM)({ids:["C0GENERAL"],reason:l.rd.CHANNEL_UPDATED})))}).catch(t=>{if(t&&t.data&&"channel_not_found"===t.data.error)return void e((0,d.F)({channel:{id:"C0GENERAL",is_general:!0,isNonExistent:!0},reason:l.rd.CHANNEL_UPDATED}));throw t})),!(0,r.Zx)(o))return o});u.meta={name:"getGeneralChannel",key:"createThunkGetGeneralChannel",description:"Get the general channel from cache, fetch if we do not have it"}},0xb81bfdaf:(e,t,a)=>{"use strict";a.d(t,{x:()=>R});var n=a(0xbaaab71e),r=a(0x1ec69ee01),i=a(0x1ec68d6a3),o=a(0x24558b75f),s=a(0x11c82607b),l=a(0x21f3c49e8),c=a(0x7d48dd65),d=a(0x658a411c),u=a(0x1595bdd0),m=a(0x20ef3966f),f=a(0xf6ed6f31),_=a(0x1b0a362c3),p=a(0x1337d9fa2),h=a(0x105ecbbed),g=a(0xc561af5),A=a(0x217553e42),b=a(0xd93ecf94),y=a(0x28c6a9ff),S=a(0x898edbc1);let E=(0,s.Ay)("Mark the threads which only have unread broadcasts",(e,t,{channelId:a,threadTs:n,channelLastRead:r,logger:i})=>{let o=(0,y.nq)(t(),{channelId:a,ts:n,fetchIfMissing:!1});if(!o||!o.subscribed||!o.lastRead)return void i.info(`incomplete subscription for ${n}`);if(o.lastRead>=r)return void i.info(`${n} already read up to ${r}`);let s=(0,g.tp)(t(),(0,h.Iu)(a,n),o.lastRead);if(!s||(0,l.A)(s.timestamps))return void i.info(`no timestamps for ${n}`);if(s?.start&&s.start>o.lastRead||s?.end&&s.end<r)return void i.info(`insufficient history for ${n}`);let u=(0,c.A)(s.timestamps,e=>e>o.lastRead&&e<=r);(0,l.A)(u)?i.info(`no timestamps in range for ${n}`):(0,d.A)(u,e=>{let n=(0,b.Ld)(t(),a,e,!1);return!n||!(0,p.SM)(n)})?i.info(`${n} has other unreads`):e((0,S.C)({channelId:a,ts:n,lastRead:r,read:!0}))});function getThreadTimestampsFromMarkedBroadcasts(e,{channelId:t,prevChannelLastRead:a,channelLastRead:n,logger:r}){let i=(0,g.tp)(e,t,n);if(!i||(0,l.A)(i.timestamps))return r.debug("no timestamps"),[];let o=(0,c.A)(i.timestamps,e=>e>a&&e<=n),s=(0,u.A)((0,m.A)(o,a=>(0,b.Ld)(e,t,a,!1))),d=(0,c.A)(s,p.SM);return(0,m.A)(d,_.L)}E.meta={name:"markThreadsWithOnlyBroadcasts",key:"createThunkMarkThreadsWithOnlyBroadcasts",description:"Mark the threads which only have unread broadcasts"};let k=(0,s.Ay)("If a channel containing a broadcast was just marked, maybe we can mark the thread too",(e,t,{channelId:a,prevChannelLastRead:n,channelLastRead:r})=>{let o=(0,i.default)({getState:t,label:"MARK-THREAD-FROM-CHANNEL"}),s=t();if(o.debug(`${a} ${n} -> ${r}`),r<=n)return void o.debug("cursor did not advance");let c=(0,A.OL)(s,a);if(!c||!(0,f.bl)(c))return void o.debug("no channel or not a member");let d=getThreadTimestampsFromMarkedBroadcasts(s,{channelId:a,prevChannelLastRead:n,channelLastRead:r,logger:o});(0,l.A)(d)?o.debug("no potential threads found"):d.forEach(t=>{t&&e(E({channelId:a,threadTs:t,channelLastRead:r,logger:o}))})});k.meta={name:"maybeMarkThreadFromChannel",key:"createThunkMaybeMarkThreadFromChannel",description:"If a channel containing a broadcast was just marked, maybe we can mark the thread too"};var T=a(0x8bf2baac),I=a(0x195f178ea),w=a(0x249e56eed),C=a(0x19895585a),v=a(0x9271cc31),x=a(0x1af63fe13);let R=(0,s.Ay)("Mark most recent message read",(e,t,{channelId:a,reason:s,saveGhost:l=!1,doNotGoBackInTime:c=!1,windowId:d},u)=>{let m=t(),f=(0,A.OL)(m,a,!1);if(!f)return;let _=(0,g.tp)(m,a),p=(0,r.Ze)(m,a,_?.timestamps||[]),h=(0,r._V)(m,f);if(!p)return;if(c&&p&&h&&p<h)return void(0,i.default)({getState:t}).info("MARK-MOST-RECENT",`Skip marking most recent message in ${a} as read because getLatestTs (${p}) is less than getLastReadTs (${h})`);if(p===h){(0,r.H9)(f)||((0,i.default)({getState:t}).warn(`Unexpected unread count for ${a} with last_read ${h}`),e((0,I.W)({channelId:f.id,ts:p})));return}let{view:b,container:y,isChildWindow:S,isMainWindow:E}=u(n.U);h&&l&&e(S&&b&&y&&d&&d!==C.N2?(0,x.v)({childWindowId:d,container:y,uiState:{ghostLastRead:h}}):E&&b&&y?(0,x.v)({windowId:C.N2,tab:(0,v.e6)(m),container:y,uiState:{ghostLastRead:h}}):(0,w.wm)(h)),e((0,T.CW)({id:a,ts:p,reason:s})),d&&d!==C.N2&&y&&(0,o.n3)(m)?b?.id===a&&e((0,x.v)({childWindowId:d,container:y,uiState:{userSetUnreadPoint:!1}})):e((0,w.j8)(a)),h&&e(k({channelId:a,prevChannelLastRead:h,channelLastRead:p}))});R.meta={name:"markMostRecentMsgRead",key:"createThunkMarkMostRecentMsgRead",description:"Mark most recent message read"}},0x78f144a5:(e,t,a)=>{"use strict";a.d(t,{b:()=>_});var n=a(0x6258badf),r=a(0x11c82607b),i=a(0x11ea712ca),o=a(0x217553e42),s=a(0x1aad5a225),l=a(0x1feee1711),c=a(0x10723ca4b),d=a(0x2537c7ec5),u=a(0xc386ba5),m=a(0x1067595c0);let f=(0,r.Ay)("Update the unread count for a channel",(e,t,a)=>{let{id:n,unread_cnt:r,unread_highlight_cnt:i,vip_count:s}=a,f=t(),_=(0,o.OL)(f,n);if(!(0,c.F)(f,_))return;let{unreadCnt:p,unreadHighlightCnt:h,unreadVIPMentionCnt:g}=(0,m.Lh)(f,n),A=(0,l.A)(r)?p||0:r,b=(0,l.A)(i)?h||0:i,y=(0,l.A)(s)?g||0:s;e((0,u.nF)({id:n,unreadCnt:A,unreadHighlightCnt:(0,c.v)(f,_)?A:b,unreadVIPMentionCnt:y})),(0,d.d$)(f,_)&&e((0,u.pA)({...(0,m.bH)(f),[n]:!0}))});f.meta={name:"unreadCountChanged",key:"createThunkUnreadCountChanged",description:"Update the unread count for a channel"};let _=(0,r.Ay)(i.rd.UPDATE_ONE_KEY,(e,t,a)=>{let r=t();if(!a||!a.id||2!==Object.keys(a).length||!(0,o.OL)(r,a.id,!1))return;let l=(0,n.A)(a,"id"),c=Object.keys(l)[0];if((0,o.OL)(r,a.id,!1)[c]===l[c])return;let d={...(0,o.OL)(r,a.id,!1)};d[c]=l[c],e((0,s.F)({channel:d,reason:i.rd.UPDATE_ONE_KEY})),("unread_cnt"===c||"unread_highlight_cnt"===c||"vip_count"===c)&&e(f({id:a.id,[c]:l[c]}))});_.meta={name:"updateOneKeyForChannel",key:"createThunkUpdateOneKeyForChannel",description:i.rd.UPDATE_ONE_KEY}},0x1aad5a225:(e,t,a)=>{"use strict";a.d(t,{F:()=>m});var n=a(0x9f249667),r=a(0xceebc3d5),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x19c76d181),l=a(0x1a6e59198),c=a(0x11ea712ca),d=a(0xe4aebb05),u=a(0x1118fb721);let m=(0,i.Ay)("Upsert a channel",(e,t,{channel:a,isBulkUpsert:i=!1,reason:m=c.HY}={})=>{let f=t();(0,n.kl)({potentialNewMinChannelUpdated:a.updated,teamId:(0,o.JY)(f),userId:(0,s.WR)(f)});let{channel:_,isUpdated:p}=(0,d.v)(e,t,a);return i||!p||(e((0,l.f0)({objects:[_],reason:m})),e((0,u.s)([a])),(0,r.CJ)(f)),_});m.meta={name:"upsertChannel",key:"createThunkUpsertChannel",description:"Upsert a channel"}},0xc270896e:(e,t,a)=>{"use strict";a.d(t,{U:()=>f});var n=a(0x9f249667),r=a(0x1d6bd61f0),i=a(0xceebc3d5),o=a(0x11c82607b),s=a(0x9b971e7e),l=a(0x19c76d181),c=a(0x1a6e59198),d=a(0x11ea712ca),u=a(0xe4aebb05),m=a(0x1118fb721);let f=(0,o.Ay)("Upsert channels",(e,t,{channels:a=[],reason:o=d.HY,source:f=r.xT.Other}={})=>{let _=[],p=[],h=t();for(let r of((0,n.CO)({channels:a,teamId:(0,s.JY)(h),userId:(0,l.WR)(h)}),a)){let{isUpdated:a,channel:n}=(0,u.v)(e,t,r,f);p.push(n),a&&_.push(n)}return e((0,m.s)(a)),_.length&&(e((0,c.f0)({objects:_,reason:o})),(0,i.CJ)(h)),p});f.meta={name:"upsertChannels",key:"createThunkUpsertChannels",description:"Upsert channels"}},0x1118fb721:(e,t,a)=>{"use strict";a.d(t,{s:()=>l});var n=a(0x11c82607b),r=a(0x195f178ea),i=a(0x1960dd36f),o=a(0xb218b979),s=a(0x814e7940);let l=(0,n.Ay)("Upsert latest and last-read values for channels",(e,t,a=[])=>{let n=(0,s.tF)(t());if(n){let t=a.map(e=>({id:e.id,latest:"latest"in e&&!!e.latest&&("string"==typeof e.latest?e.latest:e.latest.ts)})).filter(e=>!!e.latest&&e.latest!==n[e.id]);t.length&&e((0,o.M)(t))}let l=(0,i.N)(t());if(l){let t=a.filter(e=>"last_read"in e&&!!e.last_read&&e.last_read!==l[e.id]).map(e=>({channelId:e.id,ts:e.last_read}));t.length&&e((0,r.f)(t))}});l.meta={name:"upsertLatestsAndLastReads",key:"createThunkUpsertLatestsAndLastReads",description:"Upsert latest and last-read values for channels"}},0x1fb2d2a87:(e,t,a)=>{"use strict";a.d(t,{FW:()=>o,VD:()=>s,oo:()=>c,pg:()=>l,to:()=>i});var n=a(0xad2296df),r=a(0x1cf0d97e1);let i=(0,r.Ay)(e=>e&&e.clientTheme&&e.clientTheme.clientTheme);i.meta={name:"getClientTheme",key:"createSelectorGetClientTheme",description:e=>e&&e.clientTheme&&e.clientTheme.clientTheme};let o=(0,r.Ay)(e=>e&&e.clientTheme&&e.clientTheme.systemSync);o.meta={name:"getSystemSync",key:"createSelectorGetSystemSync",description:e=>e&&e.clientTheme&&e.clientTheme.systemSync};let s=(0,r.Ay)(e=>e&&e.clientTheme&&e.clientTheme.systemTheme);s.meta={name:"getSystemTheme",key:"createSelectorGetSystemTheme",description:e=>e&&e.clientTheme&&e.clientTheme.systemTheme};let l=(0,r.Ay)(e=>e?.clientTheme?.clientTypeface);l.meta={name:"getClientTypeface",key:"createSelectorGetClientTypeface",description:e=>e?.clientTheme?.clientTypeface};let c=(0,r.Ay)(e=>{let t=e?.clientTheme?.clientTypeface?.label?.toString();return void 0!==t&&!t.includes(n.qH)});c.meta={name:"isCustomTypefaceSelected",key:"createSelectorIsCustomTypefaceSelected",description:e=>{let t=e?.clientTheme?.clientTypeface?.label?.toString();return void 0!==t&&!t.includes(n.qH)}}},0x99e4d4e6:(e,t,a)=>{"use strict";a.d(t,{Uj:()=>o,hM:()=>s,p9:()=>r,pm:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Sets whether the client has a connection");r.meta={name:"setClientOnline",key:"createActionSetClientOnline",description:"Sets whether the client has a connection"};let i=(0,n.Ay)("Sets whether the Slack API is up");i.meta={name:"setServiceOnline",key:"createActionSetServiceOnline",description:"Sets whether the Slack API is up"};let o=(0,n.Ay)("Update the time we last sent a message over the socket");o.meta={name:"updateLastSocketActivity",key:"createActionUpdateLastSocketActivity",description:"Update the time we last sent a message over the socket"};let s=(0,n.Ay)("Update the time we last connected to the websocket");s.meta={name:"updateLastSocketConnection",key:"createActionUpdateLastSocketConnection",description:"Update the time we last connected to the websocket"}},0x17a41206b:(e,t,a)=>{"use strict";a.d(t,{EP:()=>i,M9:()=>d,Oh:()=>l,Pb:()=>s,TP:()=>m,XQ:()=>r,Zf:()=>o,cf:()=>c,sc:()=>u});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e&&e.connectivity&&e.connectivity.serviceOnline);r.meta={name:"isServiceOnline",key:"createSelectorIsServiceOnline",description:e=>e&&e.connectivity&&e.connectivity.serviceOnline};let i=(0,n.Ay)(e=>e&&e.connectivity&&e.connectivity.lastSocketActivity);i.meta={name:"dangerouslyGetTimeOfLastSocketActivity",key:"createSelectorDangerouslyGetTimeOfLastSocketActivity",description:e=>e&&e.connectivity&&e.connectivity.lastSocketActivity};let o=(0,n.Ay)(e=>6e4);o.meta={name:"getMaximumSocketWait",key:"createSelectorGetMaximumSocketWait",description:e=>6e4};let s=(0,n.Ay)(e=>e&&e.connectivity&&e.connectivity.clientOnline);s.meta={name:"isClientOnline",key:"createSelectorIsClientOnline",description:e=>e&&e.connectivity&&e.connectivity.clientOnline};let l=(0,n.Ay)(e=>e&&e.connectivity&&e.connectivity.lastClientConnection);l.meta={name:"timeOfLastClientConnection",key:"createSelectorTimeOfLastClientConnection",description:e=>e&&e.connectivity&&e.connectivity.lastClientConnection};let c=(0,n.Ay)(e=>e&&e.connectivity&&e.connectivity.lastSocketConnection);c.meta={name:"timeOfLastSocketConnection",key:"createSelectorTimeOfLastSocketConnection",description:e=>e&&e.connectivity&&e.connectivity.lastSocketConnection};let d={OFFLINE:"offline",ONLINE:"online",DEGRADED:"degraded"},u=(0,n.Ay)(e=>s(e)&&r(e));u.meta={name:"isOnline",key:"createSelectorIsOnline",description:e=>s(e)&&r(e)};let m=(0,n.Ay)(e=>u(e)||Date.now()-l(e)<1e4);m.meta={name:"wasRecentlyOnline",key:"createSelectorWasRecentlyOnline",description:e=>u(e)||Date.now()-l(e)<1e4}},0x5dd50c72:(e,t,a)=>{"use strict";a.d(t,{J:()=>i,u:()=>r});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e&&e.consistency&&e.consistency.bootInFlight);r.meta={name:"isBootInFlight",key:"createSelectorIsBootInFlight",description:e=>e&&e.consistency&&e.consistency.bootInFlight};let i=(0,n.Ay)(e=>e&&e.consistency&&e.consistency.warmBootInFlight);i.meta={name:"isWarmBootInFlight",key:"createSelectorIsWarmBootInFlight",description:e=>e&&e.consistency&&e.consistency.warmBootInFlight}},0x1a525ed2c:(e,t,a)=>{"use strict";a.d(t,{Nv:()=>s,OL:()=>c,hd:()=>o,mw:()=>i,rc:()=>d,wJ:()=>l,zG:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set if ContextBarTimeZone component is showing for a channel id");r.meta={name:"setContextBarTimeZoneIsShowing",key:"createActionSetContextBarTimeZoneIsShowing",description:"Set if ContextBarTimeZone component is showing for a channel id"};let i=(0,n.Ay)("Unset if ContextBarTimeZone component is showing for a channel id");i.meta={name:"unsetContextBarTimeZoneIsShowing",key:"createActionUnsetContextBarTimeZoneIsShowing",description:"Unset if ContextBarTimeZone component is showing for a channel id"};let o=(0,n.Ay)("Resets store for ContextBarTimeZone showing");o.meta={name:"resetAllContextBarTimeZoneIsShowing",key:"createActionResetAllContextBarTimeZoneIsShowing",description:"Resets store for ContextBarTimeZone showing"};let s=(0,n.Ay)("Set the DND override settings for the context bar");s.meta={name:"setContextBarDndOverride",key:"createActionSetContextBarDndOverride",description:"Set the DND override settings for the context bar"};let l=(0,n.Ay)("Reset the DND override settings for the context bar");l.meta={name:"unsetContextBarDndOverride",key:"createActionUnsetContextBarDndOverride",description:"Reset the DND override settings for the context bar"};let c=(0,n.Ay)("Set the quick reply banner for the context bar");c.meta={name:"setContextBarQuickReply",key:"createActionSetContextBarQuickReply",description:"Set the quick reply banner for the context bar"};let d=(0,n.Ay)("Unset the quick reply banner for the context bar");d.meta={name:"unsetContextBarQuickReply",key:"createActionUnsetContextBarQuickReply",description:"Unset the quick reply banner for the context bar"}},0x226bb073d:(e,t,a)=>{"use strict";a.d(t,{E5:()=>i,Qi:()=>r,uT:()=>o});var n=a(0x1cf0d97e1);let r=(0,n.Ay)((e,t)=>e?.contextBar?.timeZoneIsShowing[t]);r.meta={name:"isContextBarTimeZoneShowingForChannelId",key:"createSelectorIsContextBarTimeZoneShowingForChannelId",description:(e,t)=>e?.contextBar?.timeZoneIsShowing[t]};let i=(0,n.Ay)((e,t)=>e?.contextBar?.dndOverride?.[t]);i.meta={name:"getContextBarDndOverrideForChannelId",key:"createSelectorGetContextBarDndOverrideForChannelId",description:(e,t)=>e?.contextBar?.dndOverride?.[t]},(0,n.Ay)((e,t)=>e?.contextBar?.quickReply?.showQuickReplyBanner&&e?.contextBar?.quickReply?.quickReplyChannelId===t).meta={name:"shouldDisplayQuickReplyForChannelId",key:"createSelectorShouldDisplayQuickReplyForChannelId",description:(e,t)=>e?.contextBar?.quickReply?.showQuickReplyBanner&&e?.contextBar?.quickReply?.quickReplyChannelId===t};let o=(0,n.Ay)(e=>e?.contextBar?.quickReply);o.meta={name:"getQuickReplyData",key:"createSelectorGetQuickReplyData",description:e=>e?.contextBar?.quickReply}},0xc4e09e39:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(0x21f3c49e8),r=a(0x11c82607b),i=a(0x217553e42),o=a(0x1a525ed2c),s=a(0x226bb073d);let l=(0,r.Ay)('Unset "dndOverride" by member id',(e,t,{memberId:a})=>{let r=t(),l=(0,i.o2)(r,a),c=(0,s.E5)(r,l);(0,n.A)(c)||e((0,o.wJ)({channelId:l}))});l.meta={name:"unsetContextBarDndOverrideByMemberId",key:"createThunkUnsetContextBarDndOverrideByMemberId",description:'Unset "dndOverride" by member id'};let c=l},0xb8a718ff:(e,t,a)=>{"use strict";a.d(t,{Ot:()=>i,S9:()=>s,X8:()=>r,d$:()=>c,d1:()=>d,en:()=>l,gx:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Adds the new set of custom emoji to the existing store");r.meta={name:"addCustomEmoji",key:"createActionAddCustomEmoji",description:"Adds the new set of custom emoji to the existing store"};let i=(0,n.Ay)("Resets the array of custom emoji in the store");i.meta={name:"setNewCustomEmojiData",key:"createActionSetNewCustomEmojiData",description:"Resets the array of custom emoji in the store"};let o=(0,n.Ay)("Removes the specified custom emoji from the store");o.meta={name:"removeCustomEmoji",key:"createActionRemoveCustomEmoji",description:"Removes the specified custom emoji from the store"};let s=(0,n.Ay)("Renames a disabled custom emoji");s.meta={name:"renameCustomEmoji",key:"createActionRenameCustomEmoji",description:"Renames a disabled custom emoji"};let l=(0,n.Ay)("Set the loading status for the API request when a new page is loading");l.meta={name:"setIsLoadingNewPage",key:"createActionSetIsLoadingNewPage",description:"Set the loading status for the API request when a new page is loading"};let c=(0,n.Ay)("Set the loading status for the API request when a user searches for emojis");c.meta={name:"setIsLoadingNewSearchQuery",key:"createActionSetIsLoadingNewSearchQuery",description:"Set the loading status for the API request when a user searches for emojis"};let d=(0,n.Ay)("Set the current sort category and direction for the table");d.meta={name:"setSort",key:"createActionSetSort",description:"Set the current sort category and direction for the table"}},0x357cac43:(e,t,a)=>{"use strict";a.d(t,{HL:()=>R,K3:()=>v,KH:()=>k,LV:()=>O,R1:()=>w,Sr:()=>b,T:()=>T,mM:()=>C,mt:()=>I,pP:()=>h,rh:()=>y,u_:()=>_,wf:()=>x});var n=a(0x4f6e90b4),r=a(0x62a17882),i=a(0x1daf4b9c),o=a(0x165f8a7fa),s=a(0x1059ba41d),l=a(0x1cf0d97e1),c=a(0x9b971e7e),d=a(0x1bc4b3ad8),u=a(0x19c76d181);let m=(0,l.Ay)(e=>e?.desktop?.downloads);m.meta={name:"getDownloads",key:"createSelectorGetDownloads",description:e=>e?.desktop?.downloads};let f=(0,l.Ay)(e=>e?.desktop?.windows);f.meta={name:"getWindows",key:"createSelectorGetWindows",description:e=>e?.desktop?.windows};let _=(0,l.Ay)((e,t=(0,s.Xgz)())=>{let a=f(e);return a?.[t]});_.meta={name:"getWindowState",key:"createSelectorGetWindowState",description:(e,t=(0,s.Xgz)())=>{let a=f(e);return a?.[t]}};let p=(0,l.Ay)(e=>_(e,(0,s.Xgz)()));p.meta={name:"getMainWindowState",key:"createSelectorGetMainWindowState",description:e=>_(e,(0,s.Xgz)())};let h=(0,d.F)(m,c.ZT,u.WR,(e,t,a)=>{let n=(0,o.P)("4.0.0");return!!e&&!!t&&!!a&&Object.values(e[t]||{}).filter(e=>{let t=(0,o.P)(e.appVersion);return!e.appVersion||-1===(0,o.Z)(t,n)||e.userId&&e.userId===a})});(0,d.F)(h,e=>e&&e.map(({id:e})=>e));let g=(0,l.Ay)(e=>e?.desktop?.environment?.titleBarStyle||((0,s.ygD)()?"frameless":"default"));g.meta={name:"getTitleBarStyle",key:"createSelectorGetTitleBarStyle",description:e=>e?.desktop?.environment?.titleBarStyle||((0,s.ygD)()?"frameless":"default")};let A=(0,l.Ay)(e=>{let t=p(e);return t&&t.frame.isFullScreen});A.meta={name:"isFullScreen",key:"createSelectorIsFullScreen",description:e=>{let t=p(e);return t&&t.frame.isFullScreen}};let b=(0,l.Ay)(e=>{let t=p(e);return t&&t.frame.isVisible});b.meta={name:"isMainWindowVisible",key:"createSelectorIsMainWindowVisible",description:e=>{let t=p(e);return t&&t.frame.isVisible}},(0,l.Ay)(e=>{let t=window?.browserWindowId;return!!t&&f(e)?.[t]?.frame.isVisible}).meta={name:"isCurrentWindowVisible",key:"createSelectorIsCurrentWindowVisible",description:e=>{let t=window?.browserWindowId;return!!t&&f(e)?.[t]?.frame.isVisible}},(0,l.Ay)((e,t)=>{let a=_(e,t);return a?.frame?.hasVibrancy}).meta={name:"hasVibrancy",key:"createSelectorHasVibrancy",description:(e,t)=>{let a=_(e,t);return a?.frame?.hasVibrancy}};let y=(0,l.Ay)((e,t)=>{let a=_(e,t);return a?.frame?.isCurrentlyAudible});y.meta={name:"isCurrentlyAudible",key:"createSelectorIsCurrentlyAudible",description:(e,t)=>{let a=_(e,t);return a?.frame?.isCurrentlyAudible}};let S=!1,E=!1,k=(0,l.Ay)(e=>S||!E&&"custom-extension"===g(e)&&!A(e));k.meta={name:"isCustomTitlebarShown",key:"createSelectorIsCustomTitlebarShown",description:e=>S||!E&&"custom-extension"===g(e)&&!A(e)};let T=(0,l.Ay)(e=>E||!S&&"frameless"===g(e)&&(0,r.cX)()&&(0,i.A)()&&!A(e));T.meta={name:"isFrameless",key:"createSelectorIsFrameless",description:e=>E||!S&&"frameless"===g(e)&&(0,r.cX)()&&(0,i.A)()&&!A(e)};let I=(0,l.Ay)(e=>e?.desktop?.settings);I.meta={name:"getSettings",key:"createSelectorGetSettings",description:e=>e?.desktop?.settings};let w=(0,l.Ay)((e,t)=>{let a=I(e);return a&&void 0!==a[t]?a[t]:(0,s.oQe)("settings",t)});w.meta={name:"getDesktopSetting",key:"createSelectorGetDesktopSetting",description:(e,t)=>{let a=I(e);return a&&void 0!==a[t]?a[t]:(0,s.oQe)("settings",t)}};let C=(0,l.Ay)(e=>{let t=w(e,"keyboardLayout");return void 0!==t?t:(0,s.UHM)()&&(0,s.M0v)().currentKeybordLayout});C.meta={name:"getKeyboardLayout",key:"createSelectorGetKeyboardLayout",description:e=>{let t=w(e,"keyboardLayout");return void 0!==t?t:(0,s.UHM)()&&(0,s.M0v)().currentKeybordLayout}};let v=(0,l.Ay)(e=>e?.desktop?.app?.systemLockedStatus);v.meta={name:"getSystemLockedStatus",key:"createSelectorGetSystemLockedStatus",description:e=>e?.desktop?.app?.systemLockedStatus};let x=(0,l.Ay)(e=>!!e?.desktop?.debug?.isPerformanceMonitorEnabled);x.meta={name:"getIsPerformanceMonitorEnabled",key:"createSelectorGetIsPerformanceMonitorEnabled",description:e=>!!e?.desktop?.debug?.isPerformanceMonitorEnabled};let R=(0,l.Ay)(e=>e?.desktop?.activeTeamId);R.meta={name:"getActiveTeamId",key:"createSelectorGetActiveTeamId",description:e=>e?.desktop?.activeTeamId};let O=(0,l.Ay)(e=>e?.desktop?.app?.isMachineAwake);O.meta={name:"isMachineAwake",key:"createSelectorIsMachineAwake",description:e=>e?.desktop?.app?.isMachineAwake},(0,n.ul)("fakeCustomTitlebar",()=>{if(E)return void console.error("fakeFrameless is on -- reload first");if(!document.querySelector("window-chrome")){let e=document.createElement("window-chrome");e.style.cssText="display: block;height: 31px;line-height: 31px;text-align: center;background: #000;color: #fff;-webkit-app-region: drag",e.innerText="Fake Windows Title Bar",document.body.prepend(e)}S=!0,E=!1,window.slackDebug.dispatchNoop()}),(0,n.ul)("fakeFrameless",()=>{if(S)return void console.error("fakeCustomTitlebar is on -- reload first");if(!document.querySelector("#fake-mac-traffic-lights")){let e=document.createElement("span");e.style.cssText="position: fixed;top: 0;left: 0;padding: 5px 0 5px 8px;z-index: 9999;line-height: 1";let makeLight=e=>{let t=document.createElement("span");return t.style.cssText=`display: inline-block;background: ${e};margin-right: 8px;height: 12px;width: 12px;border-radius: 12px`,t};e.appendChild(makeLight("#ff6159")),e.appendChild(makeLight("#ffbd2e")),e.appendChild(makeLight("#28c941")),document.body.appendChild(e)}E=!0,window.slackDebug.dispatchNoop()})},0x9139def:(e,t,a)=>{"use strict";a.d(t,{AS:()=>i,Ee:()=>y,Fb:()=>r,J3:()=>g,Mb:()=>b,NH:()=>h,Oh:()=>s,Yr:()=>p,ZY:()=>d,cH:()=>c,e$:()=>A,er:()=>_,in:()=>u,lW:()=>m,px:()=>l,tG:()=>f,u7:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Add an array of devices to the device store");r.meta={name:"clobberDevices",key:"createActionClobberDevices",description:"Add an array of devices to the device store"};let i=(0,n.Ay)("Set the sink device for media elements");i.meta={name:"setSinkDevice",key:"createActionSetSinkDevice",description:"Set the sink device for media elements"},(0,n.Ay)("").meta={name:"requestPreviewStreamForDeviceId",key:"createActionRequestPreviewStreamForDeviceId",description:""},(0,n.Ay)("Stop preview streams").meta={name:"stopPreviewStreams",key:"createActionStopPreviewStreams",description:"Stop preview streams"};let o=(0,n.Ay)("");o.meta={name:"setPreviewStreams",key:"createActionSetPreviewStreams",description:""};let s=(0,n.Ay)("Get screen thumbnails");s.meta={name:"getScreenThumbnails",key:"createActionGetScreenThumbnails",description:"Get screen thumbnails"};let l=(0,n.Ay)("The browser has blocked getUserMedia for cameras");l.meta={name:"setCameraIsBlockedByBrowser",key:"createActionSetCameraIsBlockedByBrowser",description:"The browser has blocked getUserMedia for cameras"};let c=(0,n.Ay)("The browser has blocked getUserMedia for microphones");c.meta={name:"setMicrophoneIsBlockedByBrowser",key:"createActionSetMicrophoneIsBlockedByBrowser",description:"The browser has blocked getUserMedia for microphones"};let d=(0,n.Ay)("The browser has granted getUserMedia access for microphones");d.meta={name:"setMicrophoneIsGrantedByBrowser",key:"createActionSetMicrophoneIsGrantedByBrowser",description:"The browser has granted getUserMedia access for microphones"};let u=(0,n.Ay)("The browser has granted getUserMedia access for cameras");u.meta={name:"setCameraIsGrantedByBrowser",key:"createActionSetCameraIsGrantedByBrowser",description:"The browser has granted getUserMedia access for cameras"};let m=(0,n.Ay)("The browser has blocked getUserMedia for screen recording");m.meta={name:"setScreenRecordingIsBlockedByBrowser",key:"createActionSetScreenRecordingIsBlockedByBrowser",description:"The browser has blocked getUserMedia for screen recording"};let f=(0,n.Ay)("The system has blocked getUserMedia access for microphones");f.meta={name:"setMicrophoneIsBlockedBySystem",key:"createActionSetMicrophoneIsBlockedBySystem",description:"The system has blocked getUserMedia access for microphones"};let _=(0,n.Ay)("The system has granted getUserMedia access for microphones");_.meta={name:"setMicrophoneIsGrantedBySystem",key:"createActionSetMicrophoneIsGrantedBySystem",description:"The system has granted getUserMedia access for microphones"};let p=(0,n.Ay)("The system has blocked getUserMedia access for cameras");p.meta={name:"setCameraIsBlockedBySystem",key:"createActionSetCameraIsBlockedBySystem",description:"The system has blocked getUserMedia access for cameras"};let h=(0,n.Ay)("The system has granted getUserMedia access for cameras");h.meta={name:"setCameraIsGrantedBySystem",key:"createActionSetCameraIsGrantedBySystem",description:"The system has granted getUserMedia access for cameras"};let g=(0,n.Ay)("The system has blocked screen recording");g.meta={name:"setScreenshareRecordingIsBlockedBySystem",key:"createActionSetScreenshareRecordingIsBlockedBySystem",description:"The system has blocked screen recording"};let A=(0,n.Ay)("Check for system media access");A.meta={name:"maybeCheckSystemMediaAccess",key:"createActionMaybeCheckSystemMediaAccess",description:"Check for system media access"},(0,n.Ay)("Notify middleware that automatic gain control setting has changed").meta={name:"setAGC",key:"createActionSetAGC",description:"Notify middleware that automatic gain control setting has changed"},(0,n.Ay)("Notify middleware that noise suppression setting has changed").meta={name:"setNoiseSuppression",key:"createActionSetNoiseSuppression",description:"Notify middleware that noise suppression setting has changed"};let b=(0,n.Ay)("Notify middleware that audio init possibly failed");b.meta={name:"setOnAudioInitPossiblyFailed",key:"createActionSetOnAudioInitPossiblyFailed",description:"Notify middleware that audio init possibly failed"};let y=(0,n.Ay)("Store how long audio initialization took");y.meta={name:"setOnAudioInitTimeTaken",key:"createActionSetOnAudioInitTimeTaken",description:"Store how long audio initialization took"}},0x1750f634e:(e,t,a)=>{"use strict";a.d(t,{AZ:()=>p,Ae:()=>g,Hc:()=>y,I7:()=>c,IO:()=>E,JM:()=>k,Ls:()=>d,QM:()=>u,RL:()=>w,SR:()=>S,aA:()=>T,dM:()=>I,f3:()=>h,ly:()=>_,oG:()=>l,ql:()=>m,xL:()=>getValidCameraDevices,yp:()=>isMicrophoneAvailableForCapturingInDevices});var n=a(0x1ee15af19),r=a(0x658a411c),i=a(0xc9c97240),o=a(0x1c6b56d20),s=a(0x1cf0d97e1);let l=(0,s.Ay)(e=>e.device.devices);l.meta={name:"getDevices",key:"createSelectorGetDevices",description:e=>e.device.devices};let c=(0,s.Ay)(e=>e.device.preferred?.microphone);c.meta={name:"getPreferredMicrophone",key:"createSelectorGetPreferredMicrophone",description:e=>e.device.preferred?.microphone};let d=(0,s.Ay)(e=>e.device.preferred?.camera);d.meta={name:"getPreferredCamera",key:"createSelectorGetPreferredCamera",description:e=>e.device.preferred?.camera};let u=(0,s.Ay)(e=>e.device.preferred?.output);u.meta={name:"getPreferredSpeakers",key:"createSelectorGetPreferredSpeakers",description:e=>e.device.preferred?.output},(0,s.Ay)(e=>e.device.sinkDevice).meta={name:"getSinkDevice",key:"createSelectorGetSinkDevice",description:e=>e.device.sinkDevice};let m=(0,s.Ay)((e,t)=>(0,n.A)(e.device.devices[t]));m.meta={name:"getPreferredDevice",key:"createSelectorGetPreferredDevice",description:(e,t)=>(0,n.A)(e.device.devices[t])};let f=(0,s.Ay)(e=>e.device.isMicrophoneBlockedByBrowser);f.meta={name:"isMicrophoneBlockedByBrowser",key:"createSelectorIsMicrophoneBlockedByBrowser",description:e=>e.device.isMicrophoneBlockedByBrowser};let _=(0,s.Ay)(e=>e.device.isCameraBlockedByBrowser);_.meta={name:"isCameraBlockedByBrowser",key:"createSelectorIsCameraBlockedByBrowser",description:e=>e.device.isCameraBlockedByBrowser};let p=(0,i.Mz)(l,f,(e,t)=>isMicrophoneAvailableInDevices(e)&&!t),h=(0,i.Mz)(l,_,(e,t)=>isCameraAvailableInDevices(e)&&!t),g=(0,i.Mz)(l,_,(e,t)=>{if(isCameraAvailableInDevices(e)&&!t)return e?.camera?.[0]?.id});function isMicrophoneAvailableInDevices(e){return e.microphone.length>0}function isCameraAvailableInDevices(e){return e.camera.length>0}function getValidCameraDevices(e){return e.camera.filter(e=>!!e.id)}function isMicrophoneAvailableForCapturingInDevices(e){return e?.microphone?.some(e=>void 0!==e.label)}(0,s.Ay)(e=>e.device.previewStreams).meta={name:"getPreviewStreams",key:"createSelectorGetPreviewStreams",description:e=>e.device.previewStreams};let A=(0,s.Ay)(e=>e.device.isMicrophoneBlockedBySystem);A.meta={name:"isMicrophoneBlockedBySystem",key:"createSelectorIsMicrophoneBlockedBySystem",description:e=>e.device.isMicrophoneBlockedBySystem};let b=(0,s.Ay)(e=>e.device.isCameraBlockedBySystem);b.meta={name:"isCameraBlockedBySystem",key:"createSelectorIsCameraBlockedBySystem",description:e=>e.device.isCameraBlockedBySystem};let y=(0,i.Mz)(f,A,(e,t)=>e||t),S=(0,i.Mz)(_,b,(e,t)=>e||t),doesLabelHintBluetooth=e=>!!e&&(0,r.A)(["bluetooth","hands-free","airpods","wireless"],t=>e?.toLowerCase().includes(t)),E=(0,s.Ay)(e=>{let t=e.device.devices,a=(0,n.A)(t[o.lW.Microphone]);return doesLabelHintBluetooth(a?.label)});E.meta={name:"isSelectedMicrophoneBluetooth",key:"createSelectorIsSelectedMicrophoneBluetooth",description:e=>{let t=e.device.devices,a=(0,n.A)(t[o.lW.Microphone]);return doesLabelHintBluetooth(a?.label)}};let k=(0,s.Ay)(e=>{let t=e.device.devices,a=(0,n.A)(t[o.Q4]);return doesLabelHintBluetooth(a?.label)});k.meta={name:"isSelectedSpeakerBluetooth",key:"createSelectorIsSelectedSpeakerBluetooth",description:e=>{let t=e.device.devices,a=(0,n.A)(t[o.Q4]);return doesLabelHintBluetooth(a?.label)}};let T=(0,s.Ay)(e=>{let t=e.device.devices,a=(0,n.A)(t[o.lW.Microphone]),r=(0,n.A)(t[o.Q4]);return!!a&&!!r&&a.groupId===r.groupId});T.meta={name:"isAudioOnSameDevice",key:"createSelectorIsAudioOnSameDevice",description:e=>{let t=e.device.devices,a=(0,n.A)(t[o.lW.Microphone]),r=(0,n.A)(t[o.Q4]);return!!a&&!!r&&a.groupId===r.groupId}};let I=(0,s.Ay)(e=>e.device.audioInitPossiblyFailed);I.meta={name:"isAudioInitPossiblyFailed",key:"createSelectorIsAudioInitPossiblyFailed",description:e=>e.device.audioInitPossiblyFailed};let w=(0,s.Ay)(e=>e.device.audioInitTime);w.meta={name:"getAudioInitTimeTaken",key:"createSelectorGetAudioInitTimeTaken",description:e=>e.device.audioInitTime}},0x1c6dc2254:(e,t,a)=>{"use strict";a.d(t,{$Z:()=>o,Ay:()=>d,Gr:()=>s,I$:()=>c});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"disconnectedUsers",persistenceEnabled:!0},{transform:e=>{let{id:t,disconnected:a}=e;return{id:t,object:a}}}),{addObjects:o,removeObjects:s,clearObjects:l}=r,{getObjectById:c}=i,d=n},0x23d15d9f0:(e,t,a)=>{"use strict";a.d(t,{AJ:()=>r,Nf:()=>i,hi:()=>o,t0:()=>s,t6:()=>d});var n=a(0xcf658893);let r=(0,n.Ay)("Update the DND schedules for multiple users");r.meta={name:"updateDndSchedules",key:"createActionUpdateDndSchedules",description:"Update the DND schedules for multiple users"};let i=(0,n.Ay)("Update the DND statuses of multiple users");i.meta={name:"updateCurrentDndStatuses",key:"createActionUpdateCurrentDndStatuses",description:"Update the DND statuses of multiple users"};let o=(0,n.Ay)("Update the snooze of the current user");o.meta={name:"updateCurrentMemberSnooze",key:"createActionUpdateCurrentMemberSnooze",description:"Update the snooze of the current user"};let s=(0,n.Ay)("Mark dnd as stale for multiple users (circular)");s.meta={name:"markMembersDndAsStaleCircular",key:"createActionMarkMembersDndAsStaleCircular",description:"Mark dnd as stale for multiple users (circular)"};let l=(0,n.Ay)("Upsert the DND schedules for multiple users");l.meta={name:"upsertDndSchedules",key:"createActionUpsertDndSchedules",description:"Upsert the DND schedules for multiple users"};let c=(0,n.Ay)("Upsert the DND statuses of multiple users");c.meta={name:"upsertCurrentDndStatuses",key:"createActionUpsertCurrentDndStatuses",description:"Upsert the DND statuses of multiple users"};let d={upsertDndSchedules:l,upsertCurrentDndStatuses:c}},0x7c2646f7:(e,t,a)=>{"use strict";a.d(t,{Hw:()=>getFreshObjects,D1:()=>markObjectsAsStale,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x1a8cc04e1),o=a(0x1266f1359),s=a(0xc4e09e39),l=a(0x1d10ef7f),c=a(0xe0376d2),d=a(0x21f3c49e8),u=a(0x1d24ec95f),m=a(0x128c3200c),f=a(0x357885ff),_=a(0x839ba347),p=a(0xe874a88a),h=a(0x4dc5d3c9),g=a(0x350d87d7),A=a(0xf2964a91),b=a(0x1ec68d6a3),y=a(0x11c82607b),S=a(0x636cb75f),E=a(0x19c76d181),k=a(0x23d15d9f0),T=a(0xfa407ec0);let I=(0,y.Ay)("Updates the DND schedule and snooze info for the current member",(e,t,{nextDndStartTs:a,nextDndEndTs:n,snoozeEnabled:r,snoozeEndTs:i})=>{let o=t(),s=(0,E.WR)(o);e((0,k.hi)({snoozeEnabled:r,snoozeEndTs:i})),e((0,k.AJ)([{memberId:s,nextDndStartTs:a,nextDndEndTs:n}])),e((0,k.Nf)([{memberId:s,isInDnd:(0,T.a)({snoozeEnabled:r,nextDndStartTs:a,nextDndEndTs:n})}]))});I.meta={name:"updateDndForCurrentMember",key:"createThunkUpdateDndForCurrentMember",description:"Updates the DND schedule and snooze info for the current member"};var w=a(0x1af34ef51),C=a(0xe684f705);let v=(0,y.Ay)("Gets dnd info for a given set of user ids",(e,t,{users:a})=>{let n=t(),r=(0,b.default)({state:n}),i=(0,c.A)(a).map(e=>(0,C.nv)(n,e)).filter(e=>e&&!(0,g.A)(e)&&!(0,A.o)(e)).map(e=>e?.id);if((0,d.A)(i))return r.info(w.o,"fetchAndUpsertDndForUsers - There are no valid members that we need to fetch DND times for"),p.S.resolve();r.info(w.o,`fetchAndUpsertDndForUsers - Preparing to fetch DND times for the following members: ${i}`);let o=(0,E.WR)(n),[s,l]=(0,u.A)(i,e=>e===o),y=[];if((0,d.A)(s)||y.push(e((0,h.iF)({memberId:o,reason:"fetchAndUpsertDndForUsers-getDndTimesFor:self"})).then((t={})=>{e(I(t)),e((0,S.A)())})),!(0,d.A)(l)){let t=(0,m.A)(l,30);t?.length>1&&r.info(w.o,`fetchAndUpsertDndForUsers - batching requests into ${t?.length} batches`),y.push(p.S.map(t,t=>e((0,h.Rs)({memberIds:t,reason:"fetchAndUpsertDndForUsers-getDndTimesFor:others"}))).then(t=>{let a=(0,f.A)(t);e((0,k.AJ)(a));let n=[];(0,_.A)(a,e=>{n.push({memberId:e.memberId,isInDnd:(0,T.a)(e)})}),e((0,k.Nf)(n)),e((0,S.A)())}))}return y.length>0?p.S.all(y):p.S.resolve()});v.meta={name:"fetchAndUpsertDndForUsers",key:"createThunkFetchAndUpsertDndForUsers",description:"Gets dnd info for a given set of user ids"};let x=(0,n.A)(()=>new i.Ay({storeKey:l.U,fetch:(e,t)=>(0,o.Qw)(e,v({users:t})),metricsName:l.U,maxAge:()=>86400})),maybeRefetch=(e,t)=>x().maybeRefetch(e,t),markObjectsAsStale=(e,t)=>{x().markObjectsAsStale(e,t),t.forEach(t=>{t&&(0,o.Qw)(e,(0,s.A)({memberId:t}))})},getFreshObjects=e=>x().getFreshObjects(e);(0,r.zv)("conditionalFetchManagerDndV2",x)},0x1d10ef7f:(e,t,a)=>{"use strict";a.d(t,{A:()=>_,U:()=>f});var n=a(0x244f35bf8),r=a(0x839ba347),i=a(0x21f3c49e8),o=a(0x1a256ff50),s=a(0x1ec68d6a3),l=a(0xba77ecb9),c=a(0x23d15d9f0),d=a(0x1af34ef51);let{upsertCurrentDndStatuses:u,upsertDndSchedules:m}=c.t6,f="dndV2",_=(0,l.Ay)({},{currentStatuses:{},schedules:{},currentMemberSnooze:{snoozeEnabled:!1,snoozeEndTs:void 0}},{storeKey:f,persistenceEnabled:!1}).on(c.Nf,(e,t)=>{if(!t||!(0,n.A)(t)||!t.length)return(0,s.getGenericLogger)({label:d.o}).info("updateCurrentDndStatuses expects an array of statuses"),e;let a=!1,i={...e,currentStatuses:{...e.currentStatuses}};return((0,r.A)(t,({memberId:t,isInDnd:n})=>{t&&e?.currentStatuses?.[t]!==n&&(a=!0,i.currentStatuses[t]=n)}),a)?i:e}).on(c.AJ,(e,t)=>{if(!t||!(0,n.A)(t)||!t.length)return(0,s.getGenericLogger)({label:d.o}).info("updateDndSchedules expects an array of schedules"),e;let a=!1,i={...e,schedules:{...e.schedules}};return((0,r.A)(t,({memberId:t,nextDndStartTs:n,nextDndEndTs:r})=>{!t||(0,o.Ay)(e?.schedules?.[t],{nextDndStartTs:n,nextDndEndTs:r})||(a=!0,i.schedules[t]={nextDndStartTs:n,nextDndEndTs:r})}),a)?i:e}).on(c.hi,(e,{snoozeEnabled:t,snoozeEndTs:a})=>t===e.currentMemberSnooze.snoozeEnabled&&a===e.currentMemberSnooze.snoozeEndTs?e:{...e,currentMemberSnooze:{snoozeEnabled:t,snoozeEndTs:a}}).on(u,(e,t)=>(0,i.A)(t)?e:{...e,currentStatuses:t}).on(m,(e,t)=>(0,i.A)(t)?e:{...e,schedules:t})},0x74130fc1:(e,t,a)=>{"use strict";a.d(t,{JU:()=>h,KS:()=>m,Kh:()=>_,R6:()=>p,Vd:()=>g,p4:()=>f,ux:()=>A});var n=a(0x5a5c86cb),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x1266f1359),s=a(0x19c76d181),l=a(0x7c2646f7),c=a(0x1d10ef7f),d=a(0x1c1ded90c);let u=(0,r.Ay)(e=>e?.[c.U]);u.meta={name:"getAllDndV2State",key:"createSelectorGetAllDndV2State",description:e=>e?.[c.U]};let m=(0,r.Ay)((e,t)=>{let a=(0,i.JY)(e);if(a)return(0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),u(e)?.schedules?.[t]});m.meta={name:"getDndScheduleByMemberId",key:"createSelectorGetDndScheduleByMemberId",description:(e,t)=>{let a=(0,i.JY)(e);if(a)return(0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),u(e)?.schedules?.[t]}};let f=(0,r.Ay)(e=>{let t=(0,s.WR)(e);return m(e,t)});f.meta={name:"getCurrentMemberDndSchedule",key:"createSelectorGetCurrentMemberDndSchedule",description:e=>{let t=(0,s.WR)(e);return m(e,t)}};let _=(0,r.Ay)(e=>u(e)?.schedules);_.meta={name:"getAllDndSchedules",key:"createSelectorGetAllDndSchedules",description:e=>u(e)?.schedules};let p=(0,r.Ay)(e=>{let t=(0,i.JY)(e);if(!t)return;let a=(0,l.Hw)(t),r=_(e);return(0,n.A)(r,(e,t)=>a.includes(t))});p.meta={name:"getFreshDndSchedules",key:"createSelectorGetFreshDndSchedules",description:e=>{let t=(0,i.JY)(e);if(!t)return;let a=(0,l.Hw)(t),r=_(e);return(0,n.A)(r,(e,t)=>a.includes(t))}};let h=(0,r.Ay)(e=>{let t=(0,s.WR)(e),a=(0,i.JY)(e);if(a)return(0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),u(e)?.currentMemberSnooze});h.meta={name:"getCurrentMemberSnoozeSchedule",key:"createSelectorGetCurrentMemberSnoozeSchedule",description:e=>{let t=(0,s.WR)(e),a=(0,i.JY)(e);if(a)return(0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),u(e)?.currentMemberSnooze}};let g=(0,r.Ay)((e,t)=>{let a=(0,i.JY)(e);return!!a&&((0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),!!u(e)?.currentStatuses?.[t])});g.meta={name:"getDndStatusByMemberId",key:"createSelectorGetDndStatusByMemberId",description:(e,t)=>{let a=(0,i.JY)(e);return!!a&&((0,o.Qw)(a,(0,d.n$)()),(0,l.ez)(a,t),!!u(e)?.currentStatuses?.[t])}};let A=(0,r.Ay)(e=>{let t=(0,s.WR)(e);return g(e,t)});A.meta={name:"getCurrentMemberDndStatus",key:"createSelectorGetCurrentMemberDndStatus",description:e=>{let t=(0,s.WR)(e);return g(e,t)}}},0x1aba3c03e:(e,t,a)=>{"use strict";a.d(t,{i:()=>b});var n=a(0x21f3c49e8),r=a(0x9b44b68b),i=a(0x1229daf22),o=a(0x1f355b555),s=a(0x1ec68d6a3),l=a(0x11c82607b),c=a(0x9b971e7e),d=a(0x636cb75f),u=a(0x19c76d181),m=a(0xc4e09e39),f=a(0x23d15d9f0),_=a(0x7c2646f7),p=a(0x74130fc1),h=a(0x1af34ef51),g=a(0xfa407ec0),A=a(0x14149c126);let b=(0,l.Ay)("Checks to see if members should move into or out of DND",(e,t)=>{let a=t(),l=(0,s.default)({state:a}),b="on"===(0,A._Z)(t(),"dnd_debug_logs"),y=(0,p.R6)(a);if((0,n.A)(y))return void l.info(h.o,"Not checking for changes in DND status as all members are stale");let S=(0,u.WR)(a),E=[],k=[],T=[],I=(0,o.Ay)().unix();if(l.info(h.o,`Checking for changes in DND status for the following members: ${(0,r.A)(y)}`),(0,i.A)(y,(t,n)=>{let{nextDndStartTs:r,nextDndEndTs:i}=t,o=(0,p.Vd)(a,n),s=(0,g.a)({nextDndStartTs:r,nextDndEndTs:i,now:I});if(n===S&&b&&(l.info(h.o,`${n} - Next start ts: ${r} and next end ts: ${i}`),l.info(h.o,`${n} - wasInDnd: ${o} and isInDnd: ${s}`)),o!==s&&(n===S&&b&&l.info(h.o,`${n} DND status changed`),s||e((0,m.A)({memberId:n})),(s||!s&&void 0!==o)&&(n===S&&b&&l.info(h.o,`${n} queueing member dnd status for redux`),k.push({memberId:n,isInDnd:s}),E.push(n)),!1===s&&void 0!==o&&n===S&&(0,p.JU)(a)?.snoozeEnabled&&(n===S&&b&&l.info(h.o,`${n} updating current member snooze`),e((0,f.hi)({snoozeEnabled:!1,snoozeEndTs:void 0})))),!0===o&&!0===s&&n===S){let t=(0,p.JU)(a)?.snoozeEndTs;t&&t<=I&&(l.info(h.o,"Changing the current members DND type from DND snooze to DND schedule"),e((0,f.hi)({snoozeEnabled:!1,snoozeEndTs:void 0}))),i&&(({nextDndEndTs:e,now:t})=>{let a,n,r;return!!e&&1!==e&&!(e>t)&&(n=(a=new Date(1e3*e)).getSeconds(),r=a.getMinutes(),0!==n||0!==r&&30!==r||t-e>=h.Y)})({nextDndEndTs:i,now:I})&&T.push(n)}}),(0,n.A)(k)||(e((0,f.Nf)(k)),l.info(h.o,`Members with DND changes: ${E}`)),e((0,d.A)()),!(0,n.A)(T)){let e=(0,c.Kc)(a);e&&(0,_.D1)(e,T)}});b.meta={name:"checkForChangesInDndStatus",key:"createThunkCheckForChangesInDndStatus",description:"Checks to see if members should move into or out of DND"}},0x1c1ded90c:(e,t,a)=>{"use strict";let n;a.d(t,{hR:()=>h,n$:()=>g});var r=a(0x21f3c49e8),i=a(0x1229daf22),o=a(0x133390099),s=a(0x1f355b555),l=a(0x1ec68d6a3),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x19c76d181),m=a(0x74130fc1),f=a(0x1aba3c03e),_=a(0x1af34ef51);let p={},h=(0,c.Ay)("Sets a timer that fires whenever the next time a member in the DND store should have their DND status changed",(e,t)=>{let a=t(),c=(0,l.default)({state:a}),h=(0,d.Kc)(a);if(!h)return void c.error(Error("Missing teamId"));let g=(0,s.Ay)().unix(),A=(0,u.WR)(a);clearTimeout(p[h]);let b=(0,m.R6)(a);if((0,r.A)(b))return void c.info(_.o,"Not setting a timer as all schedules are stale");n=g+300,(0,i.A)(b,(e,t)=>{let r,{nextDndStartTs:i,nextDndEndTs:o}=e;if(i&&o&&1!==i&&1!==o){if(r=i>g?i:o>g?o:g+300,t===A){let e=(0,m.JU)(a)?.snoozeEndTs;e&&e<o&&(r=e)}(!n||r<n)&&(n=r)}}),n-g<15&&(n=g+15),n-g>300&&(n=g+300);let y=(n-g)*1e3,S=(0,o.A)(y/1e3/60,2);c.info(_.o,`Will check for changes in DND status again in ${S} minutes`),p[h]=setTimeout(()=>{e((0,f.i)())},y)});h.meta={name:"kickOffDndTimer",key:"createThunkKickOffDndTimer",description:"Sets a timer that fires whenever the next time a member in the DND store should have their DND status changed"};let g=(0,c.Ay)("If the setTimeout is no longer running then we kick it off again",(e,t)=>{(0,s.Ay)().unix()>n&&e(h())});g.meta={name:"maybeKickOffDndTimer",key:"createThunkMaybeKickOffDndTimer",description:"If the setTimeout is no longer running then we kick it off again"}},0x1af34ef51:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i,o:()=>r});var n=a(0xd04cf7e4);let r="DND_V2",i=(0,n.A)(15,1500)},0xfa407ec0:(e,t,a)=>{"use strict";a.d(t,{a:()=>isMemberInDnd});var n=a(0x1f355b555);let isMemberInDnd=({nextDndStartTs:e,nextDndEndTs:t,snoozeEnabled:a,now:r})=>{if(a)return!0;if(1===e||1===t)return!1;let i=r||(0,n.Ay)().unix();return Number(e)<=i&&Number(t)>i}},0xb12eea99:(e,t,a)=>{"use strict";a.d(t,{Fh:()=>r,W8:()=>o,rW:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert contact unfurl data to the store");r.meta={name:"upsertDraftContactUnfurl",key:"createActionUpsertDraftContactUnfurl",description:"Upsert contact unfurl data to the store"};let i=(0,n.Ay)("Remove single contact unfurl from the store");i.meta={name:"deleteDraftContactUnfurl",key:"createActionDeleteDraftContactUnfurl",description:"Remove single contact unfurl from the store"};let o=(0,n.Ay)("Bulk clear all contact unfurl data for the draft from the store");o.meta={name:"bulkClearDraftContactUnfurls",key:"createActionBulkClearDraftContactUnfurls",description:"Bulk clear all contact unfurl data for the draft from the store"}},0xb183234c:(e,t,a)=>{"use strict";function unfurlIsContactUnfurl(e){return!!(e&&e.contact_user_id)}a.d(t,{l:()=>unfurlIsContactUnfurl})},0x1ba5d8fae:(e,t,a)=>{"use strict";a.d(t,{NJ:()=>o,bD:()=>i,iZ:()=>r,y9:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Add a new draft id to create");r.meta={name:"addPendingDraftCreate",key:"createActionAddPendingDraftCreate",description:"Add a new draft id to create"};let i=(0,n.Ay)("Add a new draft id to delete");i.meta={name:"addPendingDraftDelete",key:"createActionAddPendingDraftDelete",description:"Add a new draft id to delete"};let o=(0,n.Ay)("Add a new draft id to update");o.meta={name:"addPendingDraftUpdate",key:"createActionAddPendingDraftUpdate",description:"Add a new draft id to update"};let s=(0,n.Ay)("Reset offline draft store");s.meta={name:"resetPendingDraftSyncs",key:"createActionResetPendingDraftSyncs",description:"Reset offline draft store"}},0x82c0a263:(e,t,a)=>{"use strict";a.d(t,{N:()=>i,w:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set pending destinations for a given draft");r.meta={name:"setDraftPendingDestinations",key:"createActionSetDraftPendingDestinations",description:"Set pending destinations for a given draft"};let i=(0,n.Ay)("Clears all pending destinations data for the given drafts");i.meta={name:"bulkClearDraftPendingDestinations",key:"createActionBulkClearDraftPendingDestinations",description:"Clears all pending destinations data for the given drafts"}},0x168f7af82:(e,t,a)=>{"use strict";a.d(t,{CO:()=>d,Kh:()=>u,tQ:()=>m});var n=a(0x7d48dd65),r=a(0x20ef3966f),i=a(0x1aba66b56),o=a(0x1df96de4c),s=a(0x15ce7705d),l=a(0x1cf0d97e1);let c=(0,l.Ay)(e=>e?.draftPendingDestinations);c.meta={name:"getAllDraftPendingDestinations",key:"createSelectorGetAllDraftPendingDestinations",description:e=>e?.draftPendingDestinations};let d=(0,l.Ay)((e,{draftId:t}={})=>c(e)?.[t]);d.meta={name:"getDraftPendingDestinations",key:"createSelectorGetDraftPendingDestinations",description:(e,{draftId:t}={})=>c(e)?.[t]};let u=(0,l.Ay)((e,{draftId:t}={})=>{let a=d(e,{draftId:t}),i=(0,n.A)(a,e=>(0,s.CC)(e)),l=(0,r.A)(i,e=>(0,s.gQ)(e));return l.length?l:o.Ml});u.meta={name:"getDraftPendingEmailDestinations",key:"createSelectorGetDraftPendingEmailDestinations",description:(e,{draftId:t}={})=>{let a=d(e,{draftId:t}),i=(0,n.A)(a,e=>(0,s.CC)(e)),l=(0,r.A)(i,e=>(0,s.gQ)(e));return l.length?l:o.Ml}};let m=(0,l.Ay)((e,{email:t})=>{let a=Object.keys(c(e)??{});return(0,n.A)(a,a=>{let n=u(e,{draftId:a});return(0,i.A)(n,t)})});m.meta={name:"getDraftIdsFromPendingEmail",key:"createSelectorGetDraftIdsFromPendingEmail",description:(e,{email:t})=>{let a=Object.keys(c(e)??{});return(0,n.A)(a,a=>{let n=u(e,{draftId:a});return(0,i.A)(n,t)})}}},0x1efa64175:(e,t,a)=>{"use strict";a.d(t,{Iy:()=>s,l1:()=>o,nK:()=>i});var n=a(0x1cf0d97e1);let r={},i=(0,n.Ay)(e=>e?.draftPendingFileIds??r);i.meta={name:"getAllPendingFileIds",key:"createSelectorGetAllPendingFileIds",description:e=>e?.draftPendingFileIds??r};let o=(0,n.Ay)((e,t)=>i(e)?.[t]);o.meta={name:"getPendingFileIdsByDraftId",key:"createSelectorGetPendingFileIdsByDraftId",description:(e,t)=>i(e)?.[t]};let s=(0,n.Ay)((e,t)=>{let a=i(e),n=null;return Object.keys(a).forEach(e=>{n||a[e].includes(t)&&(n=e)}),n});s.meta={name:"getDraftIdByPendingFileId",key:"createSelectorGetDraftIdByPendingFileId",description:(e,t)=>{let a=i(e),n=null;return Object.keys(a).forEach(e=>{n||a[e].includes(t)&&(n=e)}),n}}},0x8ecd9914:(e,t,a)=>{"use strict";a.d(t,{I9:()=>s,Xx:()=>i,ej:()=>o,rl:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert unfurl data to the draft unfurls store");r.meta={name:"upsertDraftUnfurl",key:"createActionUpsertDraftUnfurl",description:"Upsert unfurl data to the draft unfurls store"};let i=(0,n.Ay)("Remove single unfurl from draft unfurls store");i.meta={name:"deleteDraftUnfurl",key:"createActionDeleteDraftUnfurl",description:"Remove single unfurl from draft unfurls store"};let o=(0,n.Ay)("Bulk clear entire draft's unfurl data from draft unfurls store");o.meta={name:"bulkClearDraftUnfurls",key:"createActionBulkClearDraftUnfurls",description:"Bulk clear entire draft's unfurl data from draft unfurls store"};let s=(0,n.Ay)("Bulk clear draft's unfurl data if it's a message draft");s.meta={name:"bulkClearDraftMsgUnfurlsForDraftId",key:"createActionBulkClearDraftMsgUnfurlsForDraftId",description:"Bulk clear draft's unfurl data if it's a message draft"}},0xb5b2b6dd:(e,t,a)=>{"use strict";a.d(t,{RL:()=>m,VT:()=>s,WC:()=>d,Xe:()=>u,Zj:()=>c,d8:()=>i,nz:()=>r,qV:()=>o,zi:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Store local draft");r.meta={name:"setLocalDraft",key:"createActionSetLocalDraft",description:"Store local draft"};let i=(0,n.Ay)("Bulk clear local drafts");i.meta={name:"clearLocalDrafts",key:"createActionClearLocalDrafts",description:"Bulk clear local drafts"};let o=(0,n.Ay)("Stops withholding draft IDs");o.meta={name:"clearWithheldDraftIds",key:"createActionClearWithheldDraftIds",description:"Stops withholding draft IDs"};let s=(0,n.Ay)("Set if the draft page is being edited or not");s.meta={name:"setIsEditingDraftPage",key:"createActionSetIsEditingDraftPage",description:"Set if the draft page is being edited or not"};let l=(0,n.Ay)("Add a draft to the edited array to be sent or deleted");l.meta={name:"addToSelectedDraftIds",key:"createActionAddToSelectedDraftIds",description:"Add a draft to the edited array to be sent or deleted"};let c=(0,n.Ay)("Remove a draft from the edited array");c.meta={name:"removeFromSelectedDraftIds",key:"createActionRemoveFromSelectedDraftIds",description:"Remove a draft from the edited array"};let d=(0,n.Ay)("Clear out all selected draft ids");d.meta={name:"clearSelectedDraftIds",key:"createActionClearSelectedDraftIds",description:"Clear out all selected draft ids"};let u=(0,n.Ay)("Is select all checkbox checked on drafts page");u.meta={name:"setIsSelectAllChecked",key:"createActionSetIsSelectAllChecked",description:"Is select all checkbox checked on drafts page"};let m=(0,n.Ay)("Edit a scheduled or DLP draft in a thread");m.meta={name:"setScheduledOrDlpThreadDraftForEdit",key:"createActionSetScheduledOrDlpThreadDraftForEdit",description:"Edit a scheduled or DLP draft in a thread"}},0x1c2eef3c8:(e,t,a)=>{"use strict";a.d(t,{$X:()=>E,Hw:()=>p,N8:()=>g,Qs:()=>f,Ty:()=>T,V4:()=>getDraftByUniqueId,YI:()=>h,_d:()=>b,b7:()=>shouldShowDraftsPageInSidebar,bK:()=>S,f3:()=>getDraftByServerId,kx:()=>k,my:()=>m,ro:()=>I,uf:()=>y,zY:()=>_});var n=a(0x7fa3cc8f),r=a(0x1e2051844),i=a(0x7d48dd65),o=a(0x839ba347),s=a(0xc9c97240),l=a(0xa794f9e1),c=a(0x1cf0d97e1),d=a(0x1ccef1c6f),u=a(0x1973dd8ce);let m=(0,c.Ay)(e=>e?.drafts);m.meta={name:"getDraftsState",key:"createSelectorGetDraftsState",description:e=>e?.drafts};let f=(0,c.Ay)(e=>m(e)?.channelIds);f.meta={name:"getAllDraftChannelIds",key:"createSelectorGetAllDraftChannelIds",description:e=>m(e)?.channelIds};let _=(0,c.Ay)(e=>m(e)?.withheldDraftIds);_.meta={name:"getWithheldDraftIds",key:"createSelectorGetWithheldDraftIds",description:e=>m(e)?.withheldDraftIds};let p=(0,c.Ay)(e=>m(e)?.unifiedDrafts);p.meta={name:"getUnifiedDrafts",key:"createSelectorGetUnifiedDrafts",description:e=>m(e)?.unifiedDrafts};let h=(0,c.Ay)((e,t)=>m(e)?.unifiedDrafts?.[t]);function getDraftByServerId(e,t){if(!t)return;let a=(0,n.A)(p(e));return(0,r.A)(a,e=>e.id===t)}function getDraftByUniqueId(e,t){return(0,r.A)(p(e),e=>(0,l.EF)(e)===t)}h.meta={name:"getUnifiedDraftById",key:"createSelectorGetUnifiedDraftById",description:(e,t)=>m(e)?.unifiedDrafts?.[t]};let shouldShowDraftsPageInSidebar=e=>!0===(0,d.ty)(e,"has_drafted_message"),g=(0,c.Ay)((e,{channelId:t,threadTs:a}={})=>h(e,(0,u.Q)({channelId:t,threadTs:a})));g.meta={name:"getChannelDraft",key:"createSelectorGetChannelDraft",description:(e,{channelId:t,threadTs:a}={})=>h(e,(0,u.Q)({channelId:t,threadTs:a}))};let A=(0,s.Mz)(p,e=>(0,i.A)(e,{is_from_composer:!1})),b=(0,c.Ay)(e=>A(e));b.meta={name:"getChannelDrafts",key:"createSelectorGetChannelDrafts",description:e=>A(e)};let y=(0,s.Mz)(e=>m(e)?.unifiedDrafts,e=>{if(!e)return null;let t={};return(0,o.A)(e,e=>{if(!e.destinations)return;let a=e&&e.destinations[0]&&e.destinations[0].channel_id,n=e&&e.destinations[0]&&e.destinations[0].thread_ts;if(!a||e.is_from_composer)return;let r=(0,u.Q)({channelId:a,threadTs:n});t[r]?t[r].push(e.client_draft_id):t[r]=[e.client_draft_id]}),t}),S=(0,c.Ay)(e=>m(e)?.isEditingDraftPage);S.meta={name:"getIsEditingDraftPage",key:"createSelectorGetIsEditingDraftPage",description:e=>m(e)?.isEditingDraftPage};let E=(0,c.Ay)(e=>m(e)?.selectedDraftIds);E.meta={name:"getSelectedDraftIds",key:"createSelectorGetSelectedDraftIds",description:e=>m(e)?.selectedDraftIds};let k=(0,c.Ay)(e=>!!(0,d.ty)(e,"msg_input_sticky_composer"));k.meta={name:"isFormattingBarEnabled",key:"createSelectorIsFormattingBarEnabled",description:e=>!!(0,d.ty)(e,"msg_input_sticky_composer")};let T=(0,c.Ay)(e=>m(e)?.isSelectAllChecked);T.meta={name:"getIsSelectAllChecked",key:"createSelectorGetIsSelectAllChecked",description:e=>m(e)?.isSelectAllChecked};let I=(0,c.Ay)(e=>m(e)?.scheduledOrDlpDraftToEditInThread);I.meta={name:"getScheduledOrDlpThreadDraftForEdit",key:"createSelectorGetScheduledOrDlpThreadDraftForEdit",description:e=>m(e)?.scheduledOrDlpDraftToEditInThread}},0xa19913ca:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(1927545e3),r=a(0x1e068833e),i=a(0x1ec68d6a3),o=a(0x11c82607b),s=a(0x691ce3ab),l=a(0x1026e1982),c=a(0x1259cddb7);let d=(0,o.Ay)("Clear draft ids from the history stack",(e,t,{draftIds:a})=>{if(!a?.length)return;let o=(0,s.Ry)(),d=(0,c.t)(o);if(!d?.length)return;let u=t(),m=(0,i.default)(u),f=new Set(a);d.forEach(e=>{if(e.primaryView!==n.c.Composer)return;let t=(0,r.di)(e.routeParams?.draftId);t&&f.has(t)&&((0,s.dispatchForClientStore)((0,l.JG)(e)),m.info("DRAFTS",`Removed composer draft from history (id: "${t}")`))})});d.meta={name:"clearDraftIdsFromHistory",key:"createThunkClearDraftIdsFromHistory",description:"Clear draft ids from the history stack"};let u=d},0xaf9d2265:(e,t,a)=>{"use strict";a.d(t,{A:()=>w});var n=a(0x21f3c49e8),r=a(0x20ef3966f),i=a(0xe0376d2),o=a(0x1595bdd0),s=a(0xe874a88a),l=a(0x22a29f141),c=a(0xa794f9e1);let d=(0,a(0x1dfdeb1c8).A)("Deletes a draft",(e,t,{draft:a,reason:r,skipFileDeletion:i=!1}={})=>{if((0,n.A)(a))return s.S.reject(Error("No draft provided"));let o=(0,c.iS)(a);return o?e((0,l.apiCall)({method:"drafts.delete",args:{client_last_updated_ts:(0,c.sp)(a).toString(),draft_id:o,skip_file_deletion:i},reason:r})):s.S.reject(Error("Draft does not have a server generated ID"))});d.meta={name:"deleteDraftApi",key:"createFetcherDeleteDraftApi",description:"Deletes a draft"};var u=a(0x1ec68d6a3),m=a(0x1d8076771),f=a(0x11c82607b),_=a(0x17a41206b),p=a(0xb12eea99),h=a(0x1ba5d8fae),g=a(0x82c0a263),A=a(0x8ecd9914),b=a(0xb5b2b6dd),y=a(0x1c2eef3c8),S=a(0xa19913ca),E=a(0x14a8d6f72),k=a(0xb47d3416),T=a(0xc53c0105);let I=(0,f.Ay)("Clear draft and all related data from redux",(e,t,{drafts:a,ids:s,syncDelete:l=!0,reason:f,disableFilePermissionsDraftClearing:I,disableGifUnfurlClearing:w=!1,disableBlockUnfurlClearing:C=!1,skipFileDeletion:v=!1}={})=>{if((0,n.A)(a)&&(0,n.A)(s))return;let{error:x,info:R}=(0,u.default)({getState:t,label:"DRAFTS"}),O=(0,r.A)(s,e=>(0,y.YI)(t(),e)),N=(0,i.A)((0,o.A)([].concat(a,O)));if((0,n.A)(N))return;let D=N.map(e=>(0,c.ue)(e));e((0,b.d8)({ids:D})),R(`Clearing a local draft - ${D}`),e((0,A.ej)({draftIds:D})),e((0,p.W8)({draftIds:D})),e((0,g.N)({draftIds:D})),e((0,S.A)({draftIds:D})),I||e((0,k.Vs)({draftIds:D})),w||e((0,T.jb)({draftIds:D})),C||e((0,m.O4)({draftIds:D})),N.forEach(e=>{let t=(0,c.ue)(e);(0,E.QK)(t)}),l&&N.forEach(a=>{let n=(0,c.ue)(a);if(!(0,_.sc)(t())){R(`Deferring delete draft API while offline (id: ${n})`),e((0,h.bD)({draft:a}));return}let r=(0,c.iS)(a);if(!r)return;let i=`client id: ${n} || server id: ${r}`;R(`Deleting a synced draft - ${i}`),e(d({draft:a,reason:f,skipFileDeletion:v})).then(()=>{R(`Synced draft deleted - ${i}`)}).catch(e=>{x(`Synced draft not deleted - ${i}`,e)})})});I.meta={name:"clearDrafts",key:"createThunkClearDrafts",description:"Clear draft and all related data from redux"};let w=I},0x1973dd8ce:(e,t,a)=>{"use strict";function encodeDraftKey({channelId:e,threadTs:t}){let a=[];return e&&a.push(e),t&&a.push(t),a.join("-")}function decodeDraftKey(e){if(!e)return{};let[t,a]=e.split("-");return{channelId:t,threadTs:a}}a.d(t,{Q:()=>encodeDraftKey,x:()=>decodeDraftKey})},0x14a8d6f72:(e,t,a)=>{"use strict";a.d(t,{I8:()=>debounceDraftSync,K2:()=>o,QK:()=>cancelPendingDraftSync});var n=a(0x2286acf6c),r=a(0x1ec68d6a3);let i={},o=3e3;function cancelPendingDraftSync(e){if(!e)return;let t=i[e];if(!t)return;let{info:a}=(0,r.getGenericLogger)({label:"DRAFTS"});a(`Cancelling a pending draft sync - ${e}`),t.cancel(),delete i[e]}function debounceDraftSync({draftId:e,sync:t,ms:a=o}={}){e&&t&&(i[e]||(i[e]=(0,n.A)(()=>{let{info:a}=(0,r.getGenericLogger)({label:"DRAFTS"});a(`Firing debounced draft sync - ${e}`),t(),delete i[e]},a)),i[e]())}},0x1b86f8de5:(e,t,a)=>{"use strict";a.d(t,{$x:()=>s,H9:()=>r,at:()=>c,j_:()=>u,jy:()=>d,o2:()=>o,qw:()=>i,su:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Mark emoji collections as fetch (or not fetched");r.meta={name:"setEmojiCollectionsFetched",key:"createActionSetEmojiCollectionsFetched",description:"Mark emoji collections as fetch (or not fetched"};let i=(0,n.Ay)("Set and replace emoji collections");i.meta={name:"setEmojiCollections",key:"createActionSetEmojiCollections",description:"Set and replace emoji collections"};let o=(0,n.Ay)("Signals that an emoji collection has been installed");o.meta={name:"installEmojiCollection",key:"createActionInstallEmojiCollection",description:"Signals that an emoji collection has been installed"};let s=(0,n.Ay)("Signals that an emoji collection has been uninstalled");s.meta={name:"uninstallEmojiCollection",key:"createActionUninstallEmojiCollection",description:"Signals that an emoji collection has been uninstalled"};let l=(0,n.Ay)("Signals that badges should be added post-install");l.meta={name:"badgeEmojiCollection",key:"createActionBadgeEmojiCollection",description:"Signals that badges should be added post-install"};let c=(0,n.Ay)("Signals that the message input badge should be removed");c.meta={name:"removeEmojiCollectionInputBadge",key:"createActionRemoveEmojiCollectionInputBadge",description:"Signals that the message input badge should be removed"};let d=(0,n.Ay)("Signals that the message tab badge should be removed from the emoji picker");d.meta={name:"removeEmojiCollectionTabBadge",key:"createActionRemoveEmojiCollectionTabBadge",description:"Signals that the message tab badge should be removed from the emoji picker"};let u=(0,n.Ay)("Increments emoji click count");u.meta={name:"incrementEmojiClickCount",key:"createActionIncrementEmojiClickCount",description:"Increments emoji click count"}},0x3c749200:(e,t,a)=>{"use strict";a.d(t,{Cs:()=>m,Ur:()=>h,_J:()=>g,_o:()=>_,fl:()=>A,nQ:()=>f,pG:()=>p,uI:()=>u});var n=a(0x7d48dd65),r=a(0x21f3c49e8),i=a(0x7fa3cc8f),o=a(0x7a13daf2),s=a(0x18f2150ea),l=a(0xc9c97240),c=a(0x1cf0d97e1),d=a(0x1ccef1c6f);(0,c.Ay)((e,t)=>e&&e.emojiCollections&&e.emojiCollections.collections&&e.emojiCollections.collections[t]).meta={name:"getEmojiCollection",key:"createSelectorGetEmojiCollection",description:(e,t)=>e&&e.emojiCollections&&e.emojiCollections.collections&&e.emojiCollections.collections[t]};let u=(0,c.Ay)(e=>e&&e.emojiCollections&&e.emojiCollections.collections);u.meta={name:"getEmojiCollections",key:"createSelectorGetEmojiCollections",description:e=>e&&e.emojiCollections&&e.emojiCollections.collections};let m=(0,l.Mz)(u,e=>(0,n.A)(e,e=>e.installed)),f=(0,c.Ay)(e=>e&&e.emojiCollections&&e.emojiCollections.hasFetched);f.meta={name:"hasFetchedEmojiCollections",key:"createSelectorHasFetchedEmojiCollections",description:e=>e&&e.emojiCollections&&e.emojiCollections.hasFetched};let _=(0,c.Ay)(e=>e&&e.emojiCollections&&e.emojiCollections.inputBadge);_.meta={name:"getInputBadge",key:"createSelectorGetInputBadge",description:e=>e&&e.emojiCollections&&e.emojiCollections.inputBadge};let p=(0,c.Ay)(e=>e&&e.emojiCollections&&e.emojiCollections.tabBadge);p.meta={name:"getTabBadge",key:"createSelectorGetTabBadge",description:e=>e&&e.emojiCollections&&e.emojiCollections.tabBadge};let h=(0,c.Ay)(e=>e&&e.emojiCollections&&e.emojiCollections.emojiClickCount);h.meta={name:"getEmojiClickCount",key:"createSelectorGetEmojiClickCount",description:e=>e&&e.emojiCollections&&e.emojiCollections.emojiClickCount};let g=(0,c.Ay)(e=>{let t=u(e);if((0,r.A)(t))return null;let a=(0,i.A)(t);return(0,o.A)(a,e=>e.date_create)});g.meta={name:"getMostRecentPack",key:"createSelectorGetMostRecentPack",description:e=>{let t=u(e);if((0,r.A)(t))return null;let a=(0,i.A)(t);return(0,o.A)(a,e=>e.date_create)}};let A=(0,c.Ay)(e=>{let t=(0,d.ty)(e,"emoji_packs_most_recent_available_time");if(!(0,s.A)(t))return!1;let a=t+1209600;return Date.now()/1e3<a});A.meta={name:"isWithinExpirationDateOfNewPack",key:"createSelectorIsWithinExpirationDateOfNewPack",description:e=>{let t=(0,d.ty)(e,"emoji_packs_most_recent_available_time");if(!(0,s.A)(t))return!1;let a=t+1209600;return Date.now()/1e3<a}}},0xa1b56a7c:(e,t,a)=>{"use strict";a.d(t,{H:()=>_});var n=a(0x1aa941557),r=a(0x18dac2b8e),i=a(0x7cbaf6e6),o=a(0x11c82607b),s=a(0x1b86f8de5),l=a(0x3c749200),c=a(0x7a13daf2),d=a(0x1675f3d68),u=a(0x1ccef1c6f),m=a(0x12f41fc32);let f=(0,o.Ay)("handle updating prefs if new emoji pack has become available",(e,t,{collections:a})=>{let n=t(),r=(0,d.D)(n),i=(0,u.ty)(n,"emoji_packs_most_recent_available_time")||0,{date_create:o,installed:s}=(0,c.A)(a,e=>e.date_create)||{};(r?o>i:s&&o>i)&&e((0,m.Hj)({emoji_packs_most_recent_available_time:Date.now()/1e3,emoji_packs_clicked_picker_cta:!1,emoji_packs_clicked_picker_post_install_cta:!1,emoji_packs_clicked_collection_cta:!1}))});f.meta={name:"handlePotentialNewPack",key:"createThunkHandlePotentialNewPack",description:"handle updating prefs if new emoji pack has become available"};let _=(0,o.Ay)("Process and add emoji collections",(e,t,{reason:a})=>{let o=t();(0,l.nQ)(o)||(e((0,s.H9)({hasFetched:!0})),e((0,i.KO)({reason:a})).then(t=>{let a=t.installed||[],i=t.available||[],o=(0,n.A)(a,"id"),l=i.map(e=>({...e,installed:!!o[e.id],localEmoji:o[e.id]?o[e.id].emoji:e.emoji}));e(f({collections:l})),(0,r.Cu)()?e((0,s.qw)({collections:l.filter(e=>!["1044122771874","11"].includes(e.id))})):e((0,s.qw)({collections:l}))}).catch(()=>{e((0,s.H9)({hasFetched:!1}))}))});_.meta={name:"fetchAllEmojiCollections",key:"createThunkFetchAllEmojiCollections",description:"Process and add emoji collections"}},0x207424b3e:(e,t,a)=>{"use strict";let n;a.d(t,{v:()=>getUnicodeToStandardEmojiNameMap});var r=a(0x839ba347);function getUnicodeToStandardEmojiNameMap(e){return n||(n={},(0,r.A)(e,(e,t)=>{e.aliasOf&&n[e.unicode]||(n[e.unicode]=t,e.skinVariations&&(0,r.A)(e.skinVariations,e=>{n[e.unicode]=e.name}))})),n}},0x1e4ae349d:(e,t,a)=>{"use strict";a.d(t,{_D:()=>constructEmojiFrecencyId,wn:()=>Q,CK:()=>Y,I9:()=>W,Gt:()=>$,cU:()=>B,qJ:()=>getEmojiNameFromUnicodeString,Ez:()=>G,Jk:()=>getMaskedEmojiUrl,Zc:()=>V,jJ:()=>getObsoletedEmojiName,i8:()=>getStandardEmoji,Fm:()=>j,pA:()=>K,ux:()=>H});var n=a(0x1feee1711),r=a(0x1aba66b56),i=a(0x2286acf6c),o=a(0x839ba347),s=a(0x20ef3966f),l=a(0x9b44b68b),c=a(0x1595bdd0),d=a(0xf4930165),u=a(0x1aa941557),m=a(0xb77a689a),f=a(0xc9c97240),_=a(0x4f6e90b4),p=a(0x1df96de4c),h=a(0xe11e5830),g=a(0x62a17882),A=a(0x19690f7a4),b=a(0x178bb5f4a),y=a(0xf8862d23),S=a(0x3384beeb);function isValidEmojiModeForUrl(e){return"apple"===e||"google"===e}function isValidEmojiSize(e){return"small"===e||"medium"===e||"large"===e||"xlarge"===e}function constructStandardEmojiUrl({unicode:e,emojiMode:t,emojiSize:a,emoji15Enabled:n}){if(!(0,y.d)(e))throw Error(`invalid unicode passed to constructStandardEmojiUrl: ${e}`);if(!isValidEmojiModeForUrl(t))throw Error(`invalid emojiMode passed to constructStandardEmojiUrl: ${t}`);if(!isValidEmojiSize(a))throw Error(`invalid emojiSize passed to constructStandardEmojiUrl: ${a}`);let r=(0,g.X4)()?"@2x":"",i=(0,A.w)({emoji15Enabled:n});return`${i}/${t}-${a}/${e}${r}.png`}function constructMaskedEmojiUrl({unicode:e,emojiMode:t,emojiSize:a,emojiSkinToneIdLeft:n,emojiSkinToneIdRight:r,emoji15Enabled:i}){let o,s,l=(0,g.X4)()?"@2x":"",c=(0,A.w)({emoji15Enabled:i}),d=a;if("larger"===d&&(d=S.lw.XLARGE),!(0,y.d)(e))throw Error(`invalid unicode passed to constructMaskedEmojiUrl: ${e}`);if(!isValidEmojiModeForUrl(t))throw Error(`invalid emojiMode passed to constructMaskedEmojiUrl: ${t}`);if(!isValidEmojiSize(d))throw Error(`invalid emojiSize passed to constructMaskedEmojiUrl: ${d}`);if(n&&!(0,b.J)(n))throw Error(`invalid left EmojiSkinTone passed to constructMaskedEmojiUrl: ${n}`);if(r&&!(0,b.J)(r))throw Error(`invalid right EmojiSkinTone passed to constructMaskedEmojiUrl: ${n}`);return n&&r?constructStandardEmojiUrl({unicode:e,emojiMode:t,emojiSize:d,emoji15Enabled:i}):n||r?(n&&!r&&(s=n,o="right"),r&&!n&&(s=r,o="left"),`${c}/${t}-${d}/${e}/${o}/skin-tone-${s}${l}.png`):`${c}/${t}-${d}/${e}/base${l}.png`}var E=a(0x129a717ab),k=a(0x1d06c44fe),T=a(0x89f31bdb),I=a(0x170ce3425),w=a(0x36d89444),C=a(0x1829a8d43),v=a(0x1ec68d6a3),x=a(0x157ccdb87),R=a(0x223ac29bb),O=a(0x1cf0d97e1),N=a(0x9b971e7e),D=a(0x1ccef1c6f),L=a(0x19c76d181),M=a(0x207424b3e),F=a(0x1ae9b422e);let P={},getStandardEmojiFromParsedEmoji=(e,t)=>{let a;if(!t||!(0,w.R)(e,t))return null;let n=(0,T.O)(e);return t.name&&(a=n[t.name],t.skinTone&&a.skinVariations&&a.skinVariations[`${t.skinTone}`]&&(a=a.skinVariations[`${t.skinTone}`])),a},getStandardEmoji=(e,t)=>getStandardEmojiFromParsedEmoji(e,(0,C.A)(t)),U=(0,O.Ay)((e,t)=>{let{text:a,teamId:n,parsedEmoji:r}=t??{};return r&&e&&a&&n?(0,F.v$)(e,r.name):null});U.meta={name:"getCustomEmojiFromParsedEmoji",key:"createSelectorGetCustomEmojiFromParsedEmoji",description:(e,t)=>{let{text:a,teamId:n,parsedEmoji:r}=t??{};return r&&e&&a&&n?(0,F.v$)(e,r.name):null}};let B=(0,O.Ay)((e,t)=>{let{text:a,teamId:n}=t??{};return e&&a&&n?U(e,{text:a,teamId:n,parsedEmoji:(0,C.A)(a)}):null});B.meta={name:"getCustomEmoji",key:"createSelectorGetCustomEmoji",description:(e,t)=>{let{text:a,teamId:n}=t??{};return e&&a&&n?U(e,{text:a,teamId:n,parsedEmoji:(0,C.A)(a)}):null}};let getStandardEmojiUrlFromParsedEmoji=(e,{text:t,parsedEmoji:a,emojiMode:n,emojiSize:r})=>{if(!t||!n||!r)return null;let i=getStandardEmojiFromParsedEmoji(e,a);return i?constructStandardEmojiUrl({unicode:i.unicode,emojiMode:n,emojiSize:r,emoji15Enabled:(0,I.C)(e)}):null},getStandardEmojiUrl=(e,{text:t,emojiMode:a,emojiSize:n}={})=>t&&a&&n?getStandardEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:(0,C.A)(t),emojiMode:a,emojiSize:n}):null,getCustomEmojiUrlFromParsedEmoji=(e,{text:t,parsedEmoji:a,teamId:n,emojiMode:r,emojiSize:i}={})=>{if(!e||!t||!n)return null;let o=U(e,{text:t,parsedEmoji:a,teamId:n});if(!o)return null;if(o.url)return o.url;if(o.aliasOf){let t=o.aliasOf;return a&&a.skinTone&&(t=`${o.aliasOf}::skin-tone-${a.skinTone}`),G(e,{text:t,parsedEmoji:{name:o.aliasOf,skinTone:a?a.skinTone:void 0},teamId:n,emojiMode:r,emojiSize:i})}return null},getCustomEmojiUrl=(e,{text:t,teamId:a,emojiMode:n,emojiSize:r}={})=>e&&t&&a?getCustomEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:(0,C.A)(t),teamId:a,emojiMode:n,emojiSize:r}):null,G=(0,O.Ay)((e,{text:t,parsedEmoji:a,teamId:r,emojiMode:i,emojiSize:o}={})=>{if(!e||!t||!i||!o)return null;try{let s=(0,n.A)(a)?getStandardEmojiUrl(e,{text:t,emojiMode:i,emojiSize:o}):getStandardEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:a,emojiMode:i,emojiSize:o});if(s)return s;return(0,n.A)(a)?getCustomEmojiUrl(e,{text:t,teamId:r,emojiMode:i,emojiSize:o}):getCustomEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:a,teamId:r,emojiMode:i,emojiSize:o})}catch(e){return(0,v.default)({teamId:r}).warn(`Error getting emoji URL. ${e}`),null}});G.meta={name:"getEmojiUrl",key:"createSelectorGetEmojiUrl",description:(e,{text:t,parsedEmoji:a,teamId:r,emojiMode:i,emojiSize:o}={})=>{if(!e||!t||!i||!o)return null;try{let s=(0,n.A)(a)?getStandardEmojiUrl(e,{text:t,emojiMode:i,emojiSize:o}):getStandardEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:a,emojiMode:i,emojiSize:o});if(s)return s;return(0,n.A)(a)?getCustomEmojiUrl(e,{text:t,teamId:r,emojiMode:i,emojiSize:o}):getCustomEmojiUrlFromParsedEmoji(e,{text:t,parsedEmoji:a,teamId:r,emojiMode:i,emojiSize:o})}catch(e){return(0,v.default)({teamId:r}).warn(`Error getting emoji URL. ${e}`),null}}};let H=(0,O.Ay)((e,{text:t,teamId:a}={})=>{let n=getStandardEmoji(e,t)||B(e,{text:t,teamId:a});return!!(n&&!n.isNonExistent)});H.meta={name:"isValidEmojiText",key:"createSelectorIsValidEmojiText",description:(e,{text:t,teamId:a}={})=>{let n=getStandardEmoji(e,t)||B(e,{text:t,teamId:a});return!!(n&&!n.isNonExistent)}};let W=(0,O.Ay)((e,t)=>{let a,{text:n,teamId:r}=t??{};if(!e||!n||!r)return null;let{name:i,skinTone:o}=(0,C.A)(n)||{};if(i&&(a=getStandardEmoji(e,i)),a||(a=B(e,{text:n,teamId:r})),!a)return null;let s=a.aliasOf||i;return o?`${s}::skin-tone-${o}`:s});W.meta={name:"getCanonicalEmojiName",key:"createSelectorGetCanonicalEmojiName",description:(e,t)=>{let a,{text:n,teamId:r}=t??{};if(!e||!n||!r)return null;let{name:i,skinTone:o}=(0,C.A)(n)||{};if(i&&(a=getStandardEmoji(e,i)),a||(a=B(e,{text:n,teamId:r})),!a)return null;let s=a.aliasOf||i;return o?`${s}::skin-tone-${o}`:s}};let getObsoletedEmojiName=(e,t)=>{if(!t)return null;let{name:a,skinTone:n}=(0,C.A)(t)||{},r=a?getStandardEmoji(e,a):null;if(!r)return null;let i=r.obsoletes;return i?n?`${i}::skin-tone-${n}`:i:null},V=(0,O.Ay)((e,{text:t,teamId:a}={})=>{if(!t)return null;let n=W(e,{text:t,teamId:a});if(!n)return null;let r=getStandardEmoji(e,n);if(!r)return null;let i=r.unicode;return(0,E.A)(i)});V.meta={name:"getNativeEmojiFromText",key:"createSelectorGetNativeEmojiFromText",description:(e,{text:t,teamId:a}={})=>{if(!t)return null;let n=W(e,{text:t,teamId:a});if(!n)return null;let r=getStandardEmoji(e,n);if(!r)return null;let i=r.unicode;return(0,E.A)(i)}};let j=(0,O.Ay)((e,{text:t,teamId:a}={})=>{let n=W(e,{text:t,teamId:a}),r=n?getStandardEmoji(e,n):null;return!!(r&&r.skinVariations)});j.meta={name:"isEmojiNameSkinToneModifiable",key:"createSelectorIsEmojiNameSkinToneModifiable",description:(e,{text:t,teamId:a}={})=>{let n=W(e,{text:t,teamId:a}),r=n?getStandardEmoji(e,n):null;return!!(r&&r.skinVariations)}},(0,O.Ay)((e,{text:t,teamId:a}={})=>{if(!t)return null;let{name:n}=(0,C.A)(t)||{};if(!n)return null;let r=W(e,{text:n,teamId:a}),i=r?getStandardEmoji(e,r):null;return i&&i.multiSkinTone&&i.skinVariations?i.skinVariations:null}).meta={name:"getEmojiMultiSkinToneVariations",key:"createSelectorGetEmojiMultiSkinToneVariations",description:(e,{text:t,teamId:a}={})=>{if(!t)return null;let{name:n}=(0,C.A)(t)||{};if(!n)return null;let r=W(e,{text:n,teamId:a}),i=r?getStandardEmoji(e,r):null;return i&&i.multiSkinTone&&i.skinVariations?i.skinVariations:null}};let K=(0,O.Ay)((e,{text:t,teamId:a}={})=>{if(!t)return!1;let{name:n}=(0,C.A)(t)||{};if(!n)return!1;let r=W(e,{text:n,teamId:a}),i=r?getStandardEmoji(e,r):null;return!!(i&&i.multiSkinTone)});K.meta={name:"isMultiSkintoneCapable",key:"createSelectorIsMultiSkintoneCapable",description:(e,{text:t,teamId:a}={})=>{if(!t)return!1;let{name:n}=(0,C.A)(t)||{};if(!n)return!1;let r=W(e,{text:n,teamId:a}),i=r?getStandardEmoji(e,r):null;return!!(i&&i.multiSkinTone)}};let getMaskedEmojiUrl=(e,{text:t,teamId:a,emojiMode:n,emojiSize:r,emojiSkinToneIdLeft:i="",emojiSkinToneIdRight:o=""}={})=>{if(!t||!n||!r)return null;let{name:s}=(0,C.A)(t)||{};if(!s||!K(e,{text:t,teamId:a}))return null;let l=getStandardEmoji(e,(i&&o?(0,h.A)(s,i,o):null)||s);return l?constructMaskedEmojiUrl({unicode:l.unicode,emojiMode:n,emojiSize:r,emojiSkinToneIdLeft:i,emojiSkinToneIdRight:o,emoji15Enabled:(0,I.C)(e)}):null};(0,O.Ay)(e=>{let t=(0,D.ty)(e,"preferred_skin_tone");if(!t)return"";let a=parseInt(t,10);return(0,r.A)([2,3,4,5,6],a)?`:skin-tone-${a}:`:""}).meta={name:"getChosenSkinToneModifier",key:"createSelectorGetChosenSkinToneModifier",description:e=>{let t=(0,D.ty)(e,"preferred_skin_tone");if(!t)return"";let a=parseInt(t,10);return(0,r.A)([2,3,4,5,6],a)?`:skin-tone-${a}:`:""}};let getEmojiNameFromUnicodeString=(e,t)=>{if(!t||!(0,y.d)(t))return null;let a=(0,T.O)(e);return(0,M.v)(a)[t]},constructEmojiFrecencyId=({unicode:e,name:t})=>e||t?e?`E${e}`:`E${t}`:null,q={},z=(0,i.A)((e,t)=>{e.reportSpans([...q[t]]),delete q[t]},500,{maxWait:6e4}),$=(0,f.Mz)(T.O,F.bf,()=>{let e=(0,R.Yp)();return(0,k.b2)(e)||P},()=>(0,R.Yp)(),N.ZT,N.jV,L.WR,(e,{customEmoji:t},a,n,r,i,s)=>{let l=(0,x.E)({teamId:r,enterpriseId:i,userId:s}),c=l.createSpan({name:"get_consolidated_emoji"}),d={};[e,t].forEach(t=>{(0,o.A)(t,(t,r)=>{let i=!!e[r],o=i?(0,k.PO)({locale:n,name:r}):r;if(t.aliasOf){let e=t.aliasOf,a=d[e]||{},n=a.aliases||[];d[e]={...a,name:e,aliases:[...n,{name:r,displayName:o}]}}else{let e=d[r];d[r]={...e,...t,name:r,id:constructEmojiFrecencyId({unicode:t.unicode,name:r}),keywords:i&&a?.[r]||[]},r!==o&&(d[r].displayName=o)}})});let u=Object.values(d);return d=null,c.close(),r&&(q[r]?q[r].push(c):q[r]=[c],z(l,r)),u}),Y=(0,f.Mz)(T.O,F.bf,(e,{customEmoji:t})=>{let a=(0,s.A)(e,"name"),n=(0,l.A)(t);return(0,c.A)([...a,...n])}),Q=(0,f.Mz)($,e=>(0,d.A)((0,u.A)(e,"name"),e=>e.aliases?e.aliases.map(e=>(0,m.A)(e)?`:${e}:`:`:${e.name}:`):p.Ml));(0,_.ul)("emojiStore",{getConsolidatedEmoji:$})},0x3384beeb:(e,t,a)=>{"use strict";a.d(t,{OP:()=>i,VZ:()=>r,lw:()=>n});let n={SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge"},r={AS_TEXT:"as_text",APPLE:"apple",GOOGLE:"google"},i=["2","3","4","5","6"]},0xf5ace7d:(e,t,a)=>{"use strict";a.d(t,{C:()=>r,p:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Set the endpoint and it's expiry timestamp");r.meta={name:"setEndpoint",key:"createActionSetEndpoint",description:"Set the endpoint and it's expiry timestamp"};let i=(0,n.Ay)("Set the pending endpoint promise to resolve when done");i.meta={name:"setEndpointPending",key:"createActionSetEndpointPending",description:"Set the pending endpoint promise to resolve when done"}},0x19fd8df67:(e,t,a)=>{"use strict";a.d(t,{Ks:()=>isUrlValid,WV:()=>isEndpointValid,ac:()=>getExpiryFromNow});var n=a(0x147f9a0e6);function getExpiryFromNow(e,t=2500){return Date.now()+1e3*e-t}function isEndpointValid(e){return!!n.i[e]}function isUrlValid(e){if(!e)return!1;let{url:t,expiry:a}=e;return!!t&&!!a&&a>Date.now()}},0x147f9a0e6:(e,t,a)=>{"use strict";a.d(t,{A:()=>l,i:()=>o});var n=a(0xba77ecb9),r=a(0xf5ace7d),i=a(0x19fd8df67);let o={flannelOverHttp:"flannelOverHttp"},s={[o.flannelOverHttp]:{url:void 0,expiry:0,error:void 0,promise:void 0}},l=(0,n.Ay)({},s,{storeKey:"endpoints",persistenceEnabled:!0,beforeWriteTransform:e=>{let t={...e};return Object.values(o).forEach(e=>{t[e]={...t[e],error:void 0,promise:void 0}}),t}}).on(r.C,(e,{endpoint:t,url:a,ttlSeconds:n=0,expiry:r=(0,i.ac)(n),error:o=""})=>(0,i.WV)(t)?{...e,[t]:{...e[t],url:a,expiry:r,error:o,promise:void 0}}:e).on(r.p,(e,{endpoint:t,promise:a})=>(0,i.WV)(t)?{...e,[t]:{...e[t],promise:a}}:e)},0xce702808:(e,t,a)=>{"use strict";a.d(t,{K:()=>logExposure});var n=a(0x1a256ff50),r=a(0x3711e82d),i=a(0x45012309),o=a(0x9b971e7e);let s={};function logExposure(e,t,a,l=!1){let c=(0,o.ZT)(a);c&&(s[c]||(s[c]={}),(0,n.Ay)(s[c][e],t)||((0,i.eo)({state:a}).track(r.EventId.EXPERIMENT_EXPOSURE,{experiment_name:e,experiment_type:t.type,experiment_id:t.experiment_id,experiment_group:t.group,experiment_trigger:t.trigger,exposure_id:t.exposure_id},{sendImmediately:l}),s[c][e]=t))}},0x14149c126:(e,t,a)=>{"use strict";a.d(t,{KK:()=>l,Vs:()=>s,XZ:()=>f,_Z:()=>u,ze:()=>m});var n=a(0x18dac2b8e),r=a(0x1ec68d6a3),i=a(0x1cf0d97e1),o=a(0xce702808);let s=(0,i.Ay)(e=>e?.experiments);s.meta={name:"getAllExperimentAssignments",key:"createSelectorGetAllExperimentAssignments",description:e=>e?.experiments};let l=(0,i.Ay)((e,t)=>{let a=s(e);return a?.[t]});l.meta={name:"getAssignmentByName",key:"createSelectorGetAssignmentByName",description:(e,t)=>{let a=s(e);return a?.[t]}};let c={},d=(0,i.Ay)((e,t,{shouldLogExposure:a=!0}={})=>{let i=l(e,t);return i?(i.log_exposures&&a&&(0,o.K)(t,i,e),((0,n.Cu)()||(0,n.b3)())&&"finished"===i.trigger&&(c[t]?c[t]+=1:c[t]=1,c[t]%100==0&&(0,r.default)({state:e}).devHint("PERF DEBUG",`The toggle ${t} (https://houston.tinyspeck.com/experiments/${i.experiment_id}) is finished as "${i.group}" and might be able to be cleaned up. We've checked for this toggle ${c[t]} times.`)),i.group):null});d.meta={name:"getGroupForUserImpl",key:"createSelectorGetGroupForUserImpl",description:(e,t,{shouldLogExposure:a=!0}={})=>{let i=l(e,t);return i?(i.log_exposures&&a&&(0,o.K)(t,i,e),((0,n.Cu)()||(0,n.b3)())&&"finished"===i.trigger&&(c[t]?c[t]+=1:c[t]=1,c[t]%100==0&&(0,r.default)({state:e}).devHint("PERF DEBUG",`The toggle ${t} (https://houston.tinyspeck.com/experiments/${i.experiment_id}) is finished as "${i.group}" and might be able to be cleaned up. We've checked for this toggle ${c[t]} times.`)),i.group):null}};let u=(0,i.Ay)((e,t,a=!0)=>d(e,t,{shouldLogExposure:a}));u.meta={name:"getGroupForUser",key:"createSelectorGetGroupForUser",description:(e,t,a=!0)=>d(e,t,{shouldLogExposure:a})};let m=(0,i.Ay)((e,t)=>d(e,t,{shouldLogExposure:!1}));m.meta={name:"getGroupForUserWithoutExposure",key:"createSelectorGetGroupForUserWithoutExposure",description:(e,t)=>d(e,t,{shouldLogExposure:!1})};let f=(0,i.Ay)((e,t)=>{let a=s(e)??{},n={};return Object.keys(a).forEach(e=>{e.includes(t)&&(n[e]=a[e])}),n});f.meta={name:"getAllAssignmentsMatchingQuery",key:"createSelectorGetAllAssignmentsMatchingQuery",description:(e,t)=>{let a=s(e)??{},n={};return Object.keys(a).forEach(e=>{e.includes(t)&&(n[e]=a[e])}),n}}},0x2379b3567:(e,t,a)=>{"use strict";a.d(t,{N:()=>r,Y:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Overwrites our store of the teams in a given externally shared channel");r.meta={name:"updateExtSharedChannelTeams",key:"createActionUpdateExtSharedChannelTeams",description:"Overwrites our store of the teams in a given externally shared channel"};let i=(0,n.Ay)("Updates whether or not disconnect is in progress for the given team");i.meta={name:"updateIsDisconnectInProgressForTeam",key:"createActionUpdateIsDisconnectInProgressForTeam",description:"Updates whether or not disconnect is in progress for the given team"}},0x9b3b5c3b:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,ap:()=>isObjectFresh,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0x1a8cc04e1),o=a(0x1266f1359),s=a(0x1c231e804);let l=(0,n.A)(()=>new i.Ay({storeKey:"extSharedChannelTeams",fetch:(e,t)=>{let a=t.slice(0,5);return r.S.map(a,t=>(0,o.Qw)(e,(0,s.N)({channelId:t})))},isEnabled:()=>!0,metricsName:"team-connections"})),maybeRefetch=(e,t)=>{e&&t&&l().maybeRefetch(e,t)},markObjectsAsStale=(e,t)=>l().markObjectsAsStale(e,t),isObjectFresh=(e,t)=>l().isObjectFresh(e,t)},0x1f4ce396:(e,t,a)=>{"use strict";a.d(t,{NQ:()=>_,dE:()=>p,df:()=>f,kz:()=>h,s3:()=>u,xT:()=>m});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0x189391f29),o=a(0x1ccf28882),s=a(0x1cf0d97e1),l=a(0x9b971e7e),c=a(0x9b3b5c3b);function getBaseState(e,t){if(!(0,i.x)(e,t))return(0,c.ez)((0,l.ZT)(e),t),e?.extSharedChannelTeams?.[t]}let d=(0,n.Mz)((e,t)=>(0,o.X)(e,t),e=>r.Ml),u=(0,s.Ay)((e,t)=>(0,i.x)(e,t)?d(e,t):getBaseState(e,t)?.connections||r.Ml);u.meta={name:"getTeamConnectionsForChannelId",key:"createSelectorGetTeamConnectionsForChannelId",description:(e,t)=>(0,i.x)(e,t)?d(e,t):getBaseState(e,t)?.connections||r.Ml};let m=(0,s.Ay)((e,t)=>(0,i.x)(e,t)?r.Ml:getBaseState(e,t)?.pendingConnections||r.Ml);m.meta={name:"getPendingTeamConnectionsForChannelId",key:"createSelectorGetPendingTeamConnectionsForChannelId",description:(e,t)=>(0,i.x)(e,t)?r.Ml:getBaseState(e,t)?.pendingConnections||r.Ml};let f=(0,s.Ay)((e,t)=>(0,i.x)(e,t)?r.Ml:getBaseState(e,t)?.previousConnections||r.Ml);f.meta={name:"getPreviousTeamConnectionsForChannelId",key:"createSelectorGetPreviousTeamConnectionsForChannelId",description:(e,t)=>(0,i.x)(e,t)?r.Ml:getBaseState(e,t)?.previousConnections||r.Ml};let _=(0,s.Ay)((e,t)=>{if(!(0,i.x)(e,t))return getBaseState(e,t)?.conversationHostId});_.meta={name:"getConversationHostTeamIdForChannelId",key:"createSelectorGetConversationHostTeamIdForChannelId",description:(e,t)=>{if(!(0,i.x)(e,t))return getBaseState(e,t)?.conversationHostId}};let p=(0,s.Ay)((e,t)=>!(!t||(0,i.x)(e,t))&&!!getBaseState(e,t)?.isChannelSponsored);p.meta={name:"getChannelIsSponsored",key:"createSelectorGetChannelIsSponsored",description:(e,t)=>!(!t||(0,i.x)(e,t))&&!!getBaseState(e,t)?.isChannelSponsored};let h=(0,s.Ay)((e,t)=>{if((0,i.x)(e,t))return!!(0,o.X)(e,t).length;let a=getBaseState(e,t),n=a?.connections?.length||0,r=a?.pendingConnections?.length||0,s=a?.previousConnections?.length||0;return n>1||r>0||s>0});h.meta={name:"doesChannelHaveExternalTeamConnections",key:"createSelectorDoesChannelHaveExternalTeamConnections",description:(e,t)=>{if((0,i.x)(e,t))return!!(0,o.X)(e,t).length;let a=getBaseState(e,t),n=a?.connections?.length||0,r=a?.pendingConnections?.length||0,s=a?.previousConnections?.length||0;return n>1||r>0||s>0}}},0x1c231e804:(e,t,a)=>{"use strict";a.d(t,{N:()=>c});var n=a(0xe874a88a),r=a(0xff2a322f),i=a(0x1ec68d6a3),o=a(0x16ed1b0dc),s=a(0x11c82607b),l=a(0x2379b3567);let c=(0,s.Ay)("Fetch teams connected to a shared channel and upsert into frontend store.",(e,t,{channelId:a,reason:s="fetchAndUpsertSharedChannelTeamConnections"})=>(0,o.A)(a)?e((0,r.I)({reason:s,channel:a})).then(t=>{let{channel:a,connections:n=[],pending_connections:r=[],previous_connections:i=[]}=t;return e((0,l.N)({id:a.id,conversationHostId:a.conversation_host_id,isChannelSponsored:a.is_sponsored,connections:n,pendingConnections:r,previousConnections:i})),t}).catch(e=>{throw e}):((0,i.default)({getState:t}).warn(`fetchAndUpsertSharedChannelTeamConnections called with incorrect channelId type: ${a}`),n.S.resolve()));c.meta={name:"fetchAndUpsertSharedChannelTeamConnections",key:"createThunkFetchAndUpsertSharedChannelTeamConnections",description:"Fetch teams connected to a shared channel and upsert into frontend store."}},0xe1b4a9f:(e,t,a)=>{"use strict";a.d(t,{AH:()=>_,AQ:()=>b,E:()=>g,HT:()=>A,JQ:()=>h,Ot:()=>p,ap:()=>d,sQ:()=>f,ue:()=>u,vX:()=>c,yd:()=>m});var n=a(0x8ed587af),r=a(0x19b946539),i=a(0x1cf0d97e1),o=a(0x1ccef1c6f),s=a(0xdf55e8f3),l=a(0x1950da728);let c=(0,i.Ay)(e=>e.externalConnectorFilters.areExternalConnectorFiltersLoaded);c.meta={name:"areExternalConnectorFiltersLoaded",key:"createSelectorAreExternalConnectorFiltersLoaded",description:e=>e.externalConnectorFilters.areExternalConnectorFiltersLoaded};let d=(0,s.eI)(e=>e.externalConnectorFilters.externalConnectorFilters),u=(0,s.eI)((e,t)=>void 0===t?[]:e.externalConnectorFilters.externalConnectorFilters[t]?.filters||[]),m=(0,s.eI)((e,t)=>{if(void 0===t)return[];let a=(e.externalConnectorFilters.externalConnectorFilters[t]?.filters||[]).find(e=>e.name===l.CB);return a?.options||[]}),f=(0,i.Ay)((e,t,a)=>{let n=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return!!n&&n?.filters[a]===!0});f.meta={name:"getExternalConnectorPref",key:"createSelectorGetExternalConnectorPref",description:(e,t,a)=>{let n=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return!!n&&n?.filters[a]===!0}};let _=(0,i.Ay)(e=>{let t=(0,n.v4)(e),a=(0,o.ty)(e,"search_minimize_sources");return"boolean"==typeof a?a:!t});_.meta={name:"shouldMinimizeSearchPanel",key:"createSelectorShouldMinimizeSearchPanel",description:e=>{let t=(0,n.v4)(e),a=(0,o.ty)(e,"search_minimize_sources");return"boolean"==typeof a?a:!t}};let p=(0,i.Ay)(e=>e.externalConnectorFilters?.externalConnectorPrefs);p.meta={name:"getAllExternalConnectorPrefs",key:"createSelectorGetAllExternalConnectorPrefs",description:e=>e.externalConnectorFilters?.externalConnectorPrefs};let h=(0,i.Ay)((e,t)=>{let a=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return a?a?.filters:null});h.meta={name:"getExternalConnectorPrefsForApp",key:"createSelectorGetExternalConnectorPrefsForApp",description:(e,t)=>{let a=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return a?a?.filters:null}};let g=(0,s.eI)((e,t)=>Object.keys(h(e,t)||{})),A=(0,i.Ay)((e,t,a)=>{let n=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return[...n?.filters[a]||[]]});A.meta={name:"getSelectedReposForApp",key:"createSelectorGetSelectedReposForApp",description:(e,t,a)=>{let n=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return[...n?.filters[a]||[]]}};let b=(0,i.Ay)((e,t)=>{let a=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return a?.filters[l.K_.assigned_to_me]?l.K_.assigned_to_me:a?.filters[l.K_.mentions_me]?l.K_.mentions_me:a?.filters[l.K_.my_pull_requests]?l.K_.my_pull_requests:l.K_.all_pull_requests});b.meta={name:"getSelectedPullRequestType",key:"createSelectorGetSelectedPullRequestType",description:(e,t)=>{let a=e.externalConnectorFilters?.externalConnectorPrefs?.find(e=>e.app_id===(0,r.BB)(t));return a?.filters[l.K_.assigned_to_me]?l.K_.assigned_to_me:a?.filters[l.K_.mentions_me]?l.K_.mentions_me:a?.filters[l.K_.my_pull_requests]?l.K_.my_pull_requests:l.K_.all_pull_requests}}},0x196ee8604:(e,t,a)=>{"use strict";a.d(t,{OH:()=>h,QA:()=>p,Ub:()=>g,Uv:()=>m,VK:()=>b,gr:()=>_,qg:()=>f,xt:()=>u});var n=a(0xc9c97240),r=a(0x1cf0d97e1),i=a(0x1ccef1c6f),o=a(0xdf55e8f3),s=a(0xe1b4a9f),l=a(0x71067c52),c=a(0x3c71564d);let d=(0,r.Ay)(e=>(0,i.ty)(e,c.ss));d.meta={name:"getRawSearchHiddenConnectorsUserPref",key:"createSelectorGetRawSearchHiddenConnectorsUserPref",description:e=>(0,i.ty)(e,c.ss)};let u=(0,r.Ay)(e=>e.externalConnectors.areExternalConnectorsLoaded);u.meta={name:"areExternalConnectorsLoaded",key:"createSelectorAreExternalConnectorsLoaded",description:e=>e.externalConnectors.areExternalConnectorsLoaded};let m=(0,o.eI)(e=>Object.values(e.externalConnectors.externalConnectors)),f=(0,r.Ay)((e,t)=>m(e).find(e=>e.app_id===t));f.meta={name:"getExternalConnectorByAppId",key:"createSelectorGetExternalConnectorByAppId",description:(e,t)=>m(e).find(e=>e.app_id===t)};let _=(0,o.eI)(e=>m(e).filter(e=>e.is_connected&&e.is_ai_answers_enabled)),p=(0,r.Ay)(e=>e.externalConnectors.hasUserConnectedApp);p.meta={name:"hasUserConnectedApp",key:"createSelectorHasUserConnectedApp",description:e=>e.externalConnectors.hasUserConnectedApp},(0,n.Mz)(m,l.eR);let h=(0,n.Mz)(m,l.gn),g=(0,n.Mz)(d,c.GJ),A=(0,n.Mz)(m,g,(e,t)=>e.filter(e=>e.is_connected||!t[e.app_id])),b=(0,n.Mz)(A,s.AH,l.Q_)},0x71067c52:(e,t,a)=>{"use strict";a.d(t,{Q_:()=>getConnectorsForSearchTabs,eR:()=>getConnectedConnectors,gn:()=>getDisconnectedConnectors,wf:()=>getConnectorsSortedByPopularity});var n=a(0xe0376d2),r=a(0xe1870af4),i=a(0x1d24ec95f),o=a(0x24e98a449);let isConnected=e=>e.is_connected,s=[o.sJ,o.WA,o.YS,o.n,o.HU,o.Ge,o.pn,o.rV,o.Bf],l=[o.Dr,o.Sq],c=(0,n.A)([...l,...s]);function getPopularitySortValue(e){let t=c.indexOf(e.app_id);return -1===t?Number.MAX_SAFE_INTEGER:t}function getConnectorsSortedByPopularity(e){return(0,r.A)(e,[getPopularitySortValue,"display_name"],["asc","asc"])}function getConnectedConnectors(e){return e.filter(isConnected)}function getDisconnectedConnectors(e){return e.filter(e=>!isConnected(e))}function getConnectorsForSearchTabs(e,t=!1){let a=getConnectorsSortedByPopularity(e),[n,r]=(0,i.A)(a,isConnected);return[...n,...r.slice(0,t?2:5)]}},0x3c71564d:(e,t,a)=>{"use strict";a.d(t,{GJ:()=>parseHiddenConnectorsUserPref,TQ:()=>formatHiddenConnectorsForUserPref,ss:()=>i});var n=a(0x5a5c86cb),r=a(0x4003bce0);let i="search_hidden_connectors";function parseHiddenConnectorsUserPref(e){return Object.fromEntries((e&&e.split(",").filter(r.Ay)||[]).map(e=>[e,!0]))}function formatHiddenConnectorsForUserPref(e){return Object.keys((0,n.A)(e,(e,t)=>!!e&&(0,r.Ay)(t))).sort().join(",")}},0x180732543:(e,t,a)=>{"use strict";a.d(t,{j:()=>n});let n=(0,a(0xcf658893).Ay)("Add an external team id to the store");n.meta={name:"addExternalTeamId",key:"createActionAddExternalTeamId",description:"Add an external team id to the store"}},0xb47d3416:(e,t,a)=>{"use strict";a.d(t,{DU:()=>o,Vs:()=>s,Y$:()=>i,zg:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Store the permission level intended to be granted for a file in a draft");r.meta={name:"setDraftFilePermission",key:"createActionSetDraftFilePermission",description:"Store the permission level intended to be granted for a file in a draft"},(0,n.Ay)("Clear all permission level intended to be granted for a file in a draft").meta={name:"clearAllDraftFilePermissions",key:"createActionClearAllDraftFilePermissions",description:"Clear all permission level intended to be granted for a file in a draft"};let i=(0,n.Ay)("Accept or ignore a file permission request");i.meta={name:"setFilePermissionsRequest",key:"createActionSetFilePermissionsRequest",description:"Accept or ignore a file permission request"};let o=(0,n.Ay)("Clear permission level intended to be granted for a file of specified fileId in a draft");o.meta={name:"clearDraftFilePermissionsByFileId",key:"createActionClearDraftFilePermissionsByFileId",description:"Clear permission level intended to be granted for a file of specified fileId in a draft"};let s=(0,n.Ay)("Clear all file permissions to be granted for files in a draft");s.meta={name:"bulkClearDraftFilePermissions",key:"createActionBulkClearDraftFilePermissions",description:"Clear all file permissions to be granted for files in a draft"}},0xaa51370c:(e,t,a)=>{"use strict";a.d(t,{z:()=>r});var n,r=((n={}).Owner="owner",n.Write="write",n.Read="read",n)},0x4529b342:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,Hw:()=>getFreshObjects,Nd:()=>throttledMarkObjectsAsStale,ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x162afc153),i=a(0xe874a88a),o=a(0x1f3226107),s=a(0x5c9a86a5),l=a(0x1a8cc04e1),c=a(0x1266f1359),d=a(0xae24445a);let u=new s.A(20),m=(0,n.A)(()=>new l.Ay({storeKey:"files",fetch:(e,t)=>i.S.map(t,t=>(0,c.Qw)(e,(0,o.B2)({fileId:t,reason:"files-store.ConditionalFetchManager.fetch"}))),isEnabled:()=>!0,maxBatchSize:d.L,metricsName:"teams"})),maybeRefetch=(e,t)=>m().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>m().markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>m().markObjectsAsStale(e,t),throttledMarkObjectsAsStale=(e,t)=>{let a=`${e}-${t}`;return u.readWithDefault(a,e=>(0,r.A)(markObjectsAsStale,1e4,{leading:!0,trailing:!0}))(e,[t])},getFreshObjects=e=>m().getFreshObjects(e)},0xae24445a:(e,t,a)=>{"use strict";a.d(t,{L:()=>n});let n=30},0x8468bab2:(e,t,a)=>{"use strict";a.d(t,{$E:()=>I,BZ:()=>y,FW:()=>C,Hi:()=>x,Lk:()=>v,NB:()=>T,ac:()=>f,cy:()=>d,e7:()=>A,fQ:()=>i,g4:()=>S,iE:()=>s,kr:()=>l,nM:()=>o,pv:()=>u,qx:()=>b,s8:()=>m,sJ:()=>_,sM:()=>r,st:()=>h,tI:()=>c,u7:()=>E,w3:()=>p,we:()=>g,zU:()=>k,zZ:()=>w});var n=a(0xcf658893);let r=(0,n.Ay)("Add a file");r.meta={name:"addFile",key:"createActionAddFile",description:"Add a file"};let i=(0,n.Ay)("Add multiple files");i.meta={name:"bulkAddFiles",key:"createActionBulkAddFiles",description:"Add multiple files"};let o=(0,n.Ay)("Remove a file by ID");o.meta={name:"removeFile",key:"createActionRemoveFile",description:"Remove a file by ID"};let s=(0,n.Ay)("Remove a comment from a file by ID and comment ID");s.meta={name:"removeCommentFromFile",key:"createActionRemoveCommentFromFile",description:"Remove a comment from a file by ID and comment ID"};let l=(0,n.Ay)("Remove multiple files by IDs");l.meta={name:"bulkRemoveFiles",key:"createActionBulkRemoveFiles",description:"Remove multiple files by IDs"};let c=(0,n.Ay)("Clear all files");c.meta={name:"clearFiles",key:"createActionClearFiles",description:"Clear all files"};let d=(0,n.Ay)("Remove a share from a file.");d.meta={name:"removeShareFromFile",key:"createActionRemoveShareFromFile",description:"Remove a share from a file."};let u=(0,n.Ay)("Remove a share from a file.");u.meta={name:"removeShareMetadataEntityForFile",key:"createActionRemoveShareMetadataEntityForFile",description:"Remove a share from a file."};let m=(0,n.Ay)("Share a file through a channel");m.meta={name:"shareFile",key:"createActionShareFile",description:"Share a file through a channel"};let f=(0,n.Ay)("Share a file to a channel or user and update share_metadata");f.meta={name:"upsertShareMetadataEntityForFile",key:"createActionUpsertShareMetadataEntityForFile",description:"Share a file to a channel or user and update share_metadata"};let _=(0,n.Ay)("Remove non-member private channel counts from a file.");_.meta={name:"resetPrivateChannelCountInFile",key:"createActionResetPrivateChannelCountInFile",description:"Remove non-member private channel counts from a file."};let p=(0,n.Ay)("Remove a workspace link sharing from a file.");p.meta={name:"updateWorkspaceLinkSharingForFile",key:"createActionUpdateWorkspaceLinkSharingForFile",description:"Remove a workspace link sharing from a file."};let h=(0,n.Ay)("Update the permission level of a share for a file");h.meta={name:"bulkUpdateShareGrantForFile",key:"createActionBulkUpdateShareGrantForFile",description:"Update the permission level of a share for a file"};let g=(0,n.Ay)("Update the permission level of a share stored in share_metadata for a file");g.meta={name:"bulkUpdateShareMetadataEntityForFile",key:"createActionBulkUpdateShareMetadataEntityForFile",description:"Update the permission level of a share stored in share_metadata for a file"};let A=(0,n.Ay)("Update the canvas template mode for a file");A.meta={name:"updateCanvasTemplateModeForFile",key:"createActionUpdateCanvasTemplateModeForFile",description:"Update the canvas template mode for a file"};let b=(0,n.Ay)("Revert a template back to a canvas by updating the file object");b.meta={name:"removeCanvasTemplateModeFromFile",key:"createActionRemoveCanvasTemplateModeFromFile",description:"Revert a template back to a canvas by updating the file object"};let y=(0,n.Ay)("Remove org-wide template property from file object and potentially unset org sharing");y.meta={name:"removeOrgWideTemplatePropFromFile",key:"createActionRemoveOrgWideTemplatePropFromFile",description:"Remove org-wide template property from file object and potentially unset org sharing"};let S=(0,n.Ay)("Set the show_badge value on a file to false");S.meta={name:"dismissBadge",key:"createActionDismissBadge",description:"Set the show_badge value on a file to false"};let E=(0,n.Ay)("Set is_restricted_sharing_enabled to true for a file");E.meta={name:"enableRestrictedSharingForFile",key:"createActionEnableRestrictedSharingForFile",description:"Set is_restricted_sharing_enabled to true for a file"};let k=(0,n.Ay)("Set is_restricted_sharing_enabled to false for a file");k.meta={name:"disableRestrictedSharingForFile",key:"createActionDisableRestrictedSharingForFile",description:"Set is_restricted_sharing_enabled to false for a file"};let T=(0,n.Ay)("Update the share metadata counts for a file");T.meta={name:"updateShareMetadataCountsForFile",key:"createActionUpdateShareMetadataCountsForFile",description:"Update the share metadata counts for a file"};let I=(0,n.Ay)("Update the share_metadata shares for a file");I.meta={name:"updateShareMetadataSharesForFile",key:"createActionUpdateShareMetadataSharesForFile",description:"Update the share_metadata shares for a file"};let w=(0,n.Ay)("Update the share_metadata private channel count for a file");w.meta={name:"updateShareMetadataPrivateCountForFile",key:"createActionUpdateShareMetadataPrivateCountForFile",description:"Update the share_metadata private channel count for a file"};let C=(0,n.Ay)("Reset the share_metadata private channel count or private file count for a file");C.meta={name:"resetShareMetadataPrivateCountForFile",key:"createActionResetShareMetadataPrivateCountForFile",description:"Reset the share_metadata private channel count or private file count for a file"};let v=(0,n.Ay)("Reset share_metadata for the file, or only a subset of it");v.meta={name:"resetShareMetadataForFile",key:"createActionResetShareMetadataForFile",description:"Reset share_metadata for the file, or only a subset of it"};let x=(0,n.Ay)("Update thumbnail properties for a file");x.meta={name:"updateFileThumbnails",key:"createActionUpdateFileThumbnails",description:"Update thumbnail properties for a file"}},0x105d2cba5:(e,t,a)=>{"use strict";let n,r,i;a.d(t,{A:()=>T,T:()=>E});var o=a(0x244f35bf8),s=a(0x178533105),l=a(0x6258badf),c=a(0x1db69cda),d=a(0x250e0b598),u=a(0x14dd06fc9),m=a(0x167deb6e),f=a(0x1eba6f01b),_=a(0xec87564b),p=a(0x926d5797),h=a(0x369418ec),g=a(0xba77ecb9),A=a(0x227d83f0f),b=a(0xaa51370c),y=a(0x8468bab2),S=a(0x1bb324c0);let E={storeKey:"files",persistenceEnabled:!0},k={[d.q]:void 0};function maybeWriteToObjectStore(e,t){if((0,m.hM)(E)&&t&&(0,m.Cw)({shardId:t,objects:e.map(e=>({id:e.id,object:e})),storeKey:E.storeKey}),(0,p.VX)(E)&&t){let{storeKey:a}=E,{teamId:n,userId:r}=(0,p.tp)(t);(0,_.h6)({tableName:{storeKey:a,teamId:n,userId:r},rows:e.map(e=>({id:e.id,object:e}))})}}let T=(n=(0,m.hM)(E),r=(0,p.VX)(E),i=(0,g.Ay)({},k,E).on(y.sM,(e,t)=>t&&t.id?(maybeWriteToObjectStore([t],e[d.q]),{...e,[t.id]:t}):e).on(y.fQ,(e,t)=>t&&t.length&&(0,o.A)(t)?(maybeWriteToObjectStore(t,e[d.q]),(0,s.A)(t,(e,t)=>(t&&t.id&&(e[t.id]=t),e),{...e})):e).on(y.nM,(e,t)=>(0,l.A)(e,t)).on(y.iE,(e,{fileId:t,commentId:a}={})=>{let n=e[t];if(!n)return e;let r=n.comments||[],i=r.filter(e=>e.id!==a);if(i.length===r.length)return e;let o={...n,comments_count:i.length,initial_comment:n.initial_comment&&n.initial_comment.id===a?void 0:n.initial_comment,comments:i};return maybeWriteToObjectStore([o],e[d.q]),{...e,[t]:o}}).on(y.w3,(e,{fileId:t,orgOrWorkspaceAccess:a})=>{let n=e[t];if(!n)return e;let r={...n,org_or_workspace_access:a};return maybeWriteToObjectStore([r],e[d.q]),{...e,[t]:r}}).on(y.e7,(e,{fileId:t,canvasTemplateModeType:a})=>{let n=e[t];if(!n)return e;let r={...n,canvas_template_mode:a};return maybeWriteToObjectStore([r],e[d.q]),{...e,[t]:r}}).on(y.qx,(e,{fileId:t})=>{let a=e[t];if(!a)return e;let{canvas_template_mode:n,template_converter_id:r,template_conversion_ts:i,...o}=a;return maybeWriteToObjectStore([o],e[d.q]),{...e,[t]:o}}).on(y.BZ,(e,{fileId:t,unsetOrgSharingSetting:a})=>{let n=e[t];if(!n)return e;let{is_org_visible:r,...i}=n;return a&&(i.org_or_workspace_access=S.ko.None),maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.u7,(e,{fileId:t})=>{let a=e[t];if(!a)return e;let n={...a,is_restricted_sharing_enabled:!0};return maybeWriteToObjectStore([n],e[d.q]),{...e,[t]:n}}).on(y.zU,(e,{fileId:t})=>{let a=e[t];if(!a)return e;let n={...a,is_restricted_sharing_enabled:!1};return maybeWriteToObjectStore([n],e[d.q]),{...e,[t]:n}}).on(y.cy,(e,{fileId:t,entityId:a,entityType:n})=>{let r=e[t];if(!r)return e;if(n===h.w.Member){let n=r.dm_mpdm_users_with_file_access?.filter(e=>e.user_id!==a)||[],i={...r,dm_mpdm_users_with_file_access:n};return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}let i=r?.shares?.public||{},o=r?.shares?.private||{};if(!i[a]&&!o[a])return e;let{[a]:s,...l}=i,{[a]:c,...u}=o,m={...r,shares:{public:l,private:u}};return maybeWriteToObjectStore([m],e[d.q]),{...e,[t]:m}}).on(y.pv,(e,{fileId:t,entityId:a,entityType:n})=>{let r=e[t];if(!r)return e;let i=r;switch(n){case h.w.Member:{let e=r.share_metadata?.users?.shares||[],t=e.filter(e=>e.user_id!==a),n=r.share_metadata?.users?.count||1;t.length<e.length&&(n-=1);let o=[...r.share_metadata?.users?.featured||[]].filter(e=>e!==a);i={...r,share_metadata:{...r.share_metadata,users:{...r.share_metadata?.users,shares:t,count:Math.max(n,0),featured:o}}};break}case h.w.Channel:{let e=r.share_metadata?.channels?.shares||[],t=e.filter(e=>e.channel_id!==a),n=r.share_metadata?.channels?.count||0;t.length<e.length&&(n-=1);let o=[...r.share_metadata?.channels?.featured||[]].filter(e=>e!==a);i={...r,share_metadata:{...r.share_metadata,channels:{...r.share_metadata?.channels,shares:t,count:Math.max(n,0),featured:o}}};break}case h.w.Automation:{let e=r.share_metadata?.automations?.shares||[],t=e.filter(e=>e.user_id!==a),n=r.share_metadata?.automations?.count||0;t.length<e.length&&(n-=1),i={...r,share_metadata:{...r.share_metadata,automations:{...r.share_metadata?.automations,shares:t,count:Math.max(n,0)}}};break}default:return e}return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.st,(e,{fileId:t,updatedPermissions:a,entityType:n})=>{let r=e[t];if(!r)return e;if(n===h.w.Member){let n=r.dm_mpdm_users_with_file_access?.map(e=>{let t=a.find(({entityId:t})=>e.user_id===t);return t?{user_id:t.entityId,access:t.grant}:e}),i={...r,dm_mpdm_users_with_file_access:n};return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}let i=(0,s.A)(a,(e,t)=>{let a=t.entityId,n=t.grant,r=e?.shares?.public?.[a],i=e?.shares?.private?.[a];if(r){let t=r.map(e=>({...e,access:n}));e.shares.public[a]=t}if(i){let t=i.map(e=>({...e,access:n}));e.shares.private[a]=t}return e},{...r});return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.we,(e,{fileId:t,updatedPermissions:a,entityType:n})=>{let r=e[t];if(!r)return e;let i=r;switch(n){case h.w.Member:{let e=r.share_metadata?.users?.shares?.map(e=>{let t=a.find(({entityId:t})=>e.user_id===t);return t?{...e,access:t.grant}:e})||[];i={...r,share_metadata:{...r.share_metadata,users:{...r.share_metadata?.users,shares:e}}};break}case h.w.Channel:{let e=r.share_metadata?.channels?.shares?.map(e=>{let t=a.find(({entityId:t})=>e.channel_id===t);return t?{...e,access:t.grant}:e})||[];i={...r,share_metadata:{...r.share_metadata,channels:{...r.share_metadata?.channels,shares:e}}};break}case h.w.Automation:{let e=r.share_metadata?.automations?.shares?.map(e=>{let t=a.find(({entityId:t})=>e.user_id===t);return t?{...e,access:t.grant}:e})||[];i={...r,share_metadata:{...r.share_metadata,automations:{...r.share_metadata?.automations,shares:e}}};break}default:return e}return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.ac,(e,{fileId:t,entityId:a,entityType:n,grant:r,grantExists:i,isPrivateChannel:o,isUpdate:s})=>{let l=e[t];if(!l)return e;let u=l;switch(n){case h.w.Member:{let e=(0,c.A)(l.share_metadata?.users?.shares)||[],t=e.findIndex(e=>e.user_id===a),n=l.share_metadata?.users?.count||1;-1===t?(e.push({user_id:a,access:r,can_update:"can_update"}),i||(n+=1)):(r===b.z.Write||s)&&(e[t]={user_id:a,access:r,can_update:"can_update"}),u={...l,share_metadata:{...l.share_metadata,users:{...l.share_metadata?.users,shares:e,count:n}}};break}case h.w.Channel:{let e=(0,c.A)(l.share_metadata?.channels?.shares)||[],t=e.findIndex(e=>e.channel_id===a),n=l.share_metadata?.channels?.count||0;-1===t?(e.push({channel_id:a,access:r,is_private:!!o}),i||(n+=1)):(r===b.z.Write||s)&&(e[t].access=r),u={...l,share_metadata:{...l.share_metadata,channels:{...l.share_metadata?.channels,shares:e,count:n}}};break}case h.w.Automation:{let e=(0,c.A)(l.share_metadata?.automations?.shares)||[],t=e.findIndex(e=>e.user_id===a),n=l.share_metadata?.automations?.count||0;-1===t?(e.push({user_id:a,access:r,can_update:"can_update"}),i||(n+=1)):(r===b.z.Write||s)&&(e[t].access=r),u={...l,share_metadata:{...l.share_metadata,automations:{...l.share_metadata?.automations,shares:e,count:n}}};break}default:return e}return maybeWriteToObjectStore([u],e[d.q]),{...e,[t]:u}}).on(y.NB,(e,{fileId:t,counts:a,visibleUsers:n,visibleChannels:r,teamsSharedWith:i})=>{let o=e[t];if(!o)return e;let s={...o,share_metadata:{...o.share_metadata,users:{...o.share_metadata?.users,count:a.users_count,featured:n,maxCounted:a.max_users_counted},channels:{...o.share_metadata?.channels,count:a.channels_count,featured:r,maxCounted:a.max_channels_counted},files:{...o.share_metadata?.files,count:a.files_count,maxCounted:a.max_files_counted},automations:{...o.share_metadata?.automations,count:a.automations_count},teamsSharedWith:i}};return maybeWriteToObjectStore([s],e[d.q]),{...e,[t]:s}}).on(y.$E,(e,{fileId:t,shares:a,shouldReplace:n})=>{let r=e[t];if(!r)return e;let i={...r.share_metadata};if(a.users){let e;e=n?a.users:Array.from([...i?.users?.shares||[],...a.users].reduce((e,t)=>(e.delete(t.user_id),e.set(t.user_id,t),e),new Map).values()),i={...i,users:{...i?.users,shares:e}}}if(a.channels){let e;e=n?a.channels:Array.from([...i?.channels?.shares||[],...a.channels].reduce((e,t)=>(e.delete(t.channel_id),e.set(t.channel_id,t),e),new Map).values()),i={...i,channels:{...i?.channels,shares:e}}}if(a.automations){let e;e=n?a.automations:Array.from([...i?.automations?.shares||[],...a.automations].reduce((e,t)=>(e.delete(t.user_id),e.set(t.user_id,t),e),new Map).values()),i={...i,automations:{...i?.automations,shares:e}}}let o={...r,share_metadata:i};return maybeWriteToObjectStore([o],e[d.q]),{...e,[t]:o}}).on(y.zZ,(e,{fileId:t,privateCounts:a})=>{let n=e[t];if(!n)return e;let r={...n.share_metadata};void 0!==a.channel&&(r={...r,channels:{...r?.channels,private_count:a.channel}});let i={...n,share_metadata:r};return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.g4,(e,{fileId:t})=>{let a=e[t];if(!a)return e;let n={...a,show_badge:!1};return maybeWriteToObjectStore([n],e[d.q]),{...e,[t]:n}}).on(y.sJ,(e,{fileId:t})=>{let a=e[t];if(!a)return e;let n={...a,private_channels_with_file_access_count:0};return maybeWriteToObjectStore([n],e[d.q]),{...e,[t]:n}}).on(y.Lk,(e,{fileId:t,entities:a})=>{let n=e[t];if(!n)return e;let{share_metadata:r,...i}=n,o={...r},s=!a||0===a.length,l=n;if(s)l=i;else if(r){if(a.includes(h.w.Member)){let{users:e,...t}=o;if(e){let{shares:a,...n}=e;o={...t,users:{...n}}}}if(a.includes(h.w.Channel)){let{channels:e,...t}=o;if(e){let{shares:a,...n}=e;o={...t,channels:{...n}}}}if(a.includes(h.w.Automation)){let{automations:e,...t}=o;if(e){let{shares:a,...n}=e;o={...t,automations:{...n}}}}l={...i,share_metadata:{...o}}}return maybeWriteToObjectStore([l],e[d.q]),{...e,[t]:l}}).on(y.FW,(e,{fileId:t,entityType:a})=>{let n=e[t];if(!n)return e;let r={...n.share_metadata};if(a!==h.w.Channel)return e;{let e=(r?.channels?.count??0)-(r?.channels?.private_count??0);r={...r,channels:{...r?.channels,private_count:0,count:Math.max(e,0)}}}let i={...n,share_metadata:r};return maybeWriteToObjectStore([i],e[d.q]),{...e,[t]:i}}).on(y.kr,(e,{ids:t,isCacheEviction:a=!1})=>{if(n&&!a&&e[d.q]&&(0,m.uD)({shardId:e[d.q],storeKey:E.storeKey,idsToDelete:t}),r&&!a&&e[d.q]){let{storeKey:a}=E,{teamId:n,userId:r}=(0,p.tp)(e[d.q]);(0,_.w)({tableName:{storeKey:a,teamId:n,userId:r},ids:t})}return(0,l.A)(e,t)}).on(y.Hi,(e,{fileId:t,thumbnails:a})=>{let n=e[t];if(!n)return e;let r={...n,...a};return maybeWriteToObjectStore([r],e[d.q]),{...e,[t]:r}}).on(y.tI,e=>{if(r&&e[d.q]){let{storeKey:t}=E,{teamId:a,userId:n}=(0,p.tp)(e[d.q]);(0,f.D)().clearTable({storeKey:t,teamId:a,userId:n})}return{[d.q]:e[d.q]}}),n&&(u.qV.createObjectStore({storeName:E.storeKey}),i.on(A.H,(e,t)=>({...e,[d.q]:t}))),r&&i.on(A.H,(e,t)=>({...e,[d.q]:t})),i)},0x14ea3ce99:(e,t,a)=>{"use strict";a.d(t,{Gn:()=>D,Pz:()=>N,Im:()=>L,YM:()=>G,Lp:()=>R,TL:()=>B,yd:()=>M,FD:()=>P,bO:()=>O,dX:()=>U,x6:()=>getListFile,LC:()=>getSpaceshipFile,Ow:()=>x,fn:()=>F});var n=a(0xe67fcf33),r=a(0x1e2051844),i=a(0xc9c97240),o=a(0x318bb66b),s=a(0x5c9a86a5),l=a(0xbd3de346),c=a(0x1a1bf97fe),d=a(0xe8efe2c1),u=a(0x11439744b),m=a(0xa985ed31),f=a(0x1cf0d97e1),_=a(0x9b971e7e),p=a(0xca924ee1),h=a(0x3e015234),g=a(0x8468bab2);let A=(0,p.A)(e=>new h.A({teamId:e,cacheSizeMaximum:250,cacheSizeTarget:200,evictionEnabled:!0,getObjects:N,removeObjects:g.kr,label:"files",samplePercentage:100}));var b=a(0x4529b342),y=a(0x1f3226107),S=a(0x1906e0f30),E=a(0x15f4f83cf),k=a(0x1266f1359),T=a(0xae24445a),I=a(0x105d2cba5),w=a(0x23e1fed85);let C=(0,p.A)(()=>new E.Ay({fetch:(e,t)=>fetchFilesForTeamId(e,t),metricsName:"files",upsertKnown:upsertFilesForTeamId,upsertNonExistent:upsertFilesForTeamId,maxBatchSize:T.L,offlineDataStoreConfig:(0,S.p)(I.T)}));function fetchFilesForTeamId(e,t){return(0,k.Qw)(e,(0,y._H)({fileIds:t,skipShares:!0,reason:"files-store-unknown-fetch"}))}function upsertFilesForTeamId(e,t){return(0,k.Qw)(e,(0,w.b)({files:t}))}let v=new s.A(25);function makeInvalidFile(e,t){let a=(0,_.ZT)(e),n=`${a}-${t||""}`,r=v.read(n);if(r)return r;let i={id:t||"",isNonExistent:!0};return v.write(n,i),i}let x=(0,f.Ay)((e,t)=>(0,n.A)(e,["files",t]));x.meta={name:"hasFileWithId",key:"createSelectorHasFileWithId",description:(e,t)=>(0,n.A)(e,["files",t])};let R=(0,f.Ay)((e,t,a=!0,n=!1)=>{let r=(0,_.ZT)(e);if(!t||!(0,m.A)(t))return makeInvalidFile(e,t);let i=e&&e.files&&e.files[t];return i&&(0,c.K)(i)?i:!i||n&&i?.skipped_shares?t&&(a||n)?(A(r).recordMiss(),(0,o.A)(1)&&(0,u.Cy)({state:e}).count("unknown_files_get"),C().fetchObjectWithId(r,t)):null:(A(r).recordHit(t),(0,l.aK)(i)||(0,b.ez)((0,_.ZT)(e),i.id),i)});R.meta={name:"getFileById",key:"createSelectorGetFileById",description:(e,t,a=!0,n=!1)=>{let r=(0,_.ZT)(e);if(!t||!(0,m.A)(t))return makeInvalidFile(e,t);let i=e&&e.files&&e.files[t];return i&&(0,c.K)(i)?i:!i||n&&i?.skipped_shares?t&&(a||n)?(A(r).recordMiss(),(0,o.A)(1)&&(0,u.Cy)({state:e}).count("unknown_files_get"),C().fetchObjectWithId(r,t)):null:(A(r).recordHit(t),(0,l.aK)(i)||(0,b.ez)((0,_.ZT)(e),i.id),i)}};let O=(0,f.Ay)((e,t)=>t.map(t=>R(e,t)));O.meta={name:"getFilesByIds",key:"createSelectorGetFilesByIds",description:(e,t)=>t.map(t=>R(e,t))};let N=(0,f.Ay)(e=>e&&e.files);N.meta={name:"getAllFiles",key:"createSelectorGetAllFiles",description:e=>e&&e.files};let D=(0,i.Mz)(N,(e={})=>Object.values(e));(0,i.Mz)(D,(e=[])=>e.filter(l.wL));let L=(0,i.Mz)(D,(e=[])=>e.filter(l.l7)),M=(0,f.Ay)((e,t,a)=>{let n=R(e,t);if(!n||!n.comments)return null;for(let e=0;e<n.comments.length;e++)if(n.comments[e].id===a)return n.comments[e];return null});M.meta={name:"getFileCommentById",key:"createSelectorGetFileCommentById",description:(e,t,a)=>{let n=R(e,t);if(!n||!n.comments)return null;for(let e=0;e<n.comments.length;e++)if(n.comments[e].id===a)return n.comments[e];return null}};let getSpaceshipFile=(e,t,a=!1)=>{let n=(0,d.f)(e,t.id),r=R(e,n,a);return(0,l.DQ)(r)?r:void 0},getListFile=(e,t,a=!1)=>{let n=(0,d.f)(e,t.id),r=R(e,n,a);return(0,l.l7)(r)?r:void 0},F=(0,f.Ay)((e,t)=>{let a=t?.channel;if(!a)return!1;let n=(0,d.f)(e,a),r=R(e,n);return(0,l.Sp)(r)});F.meta={name:"isMessageFromTombstonedCanvas",key:"createSelectorIsMessageFromTombstonedCanvas",description:(e,t)=>{let a=t?.channel;if(!a)return!1;let n=(0,d.f)(e,a),r=R(e,n);return(0,l.Sp)(r)}};let P=(0,f.Ay)((e,t)=>{let a=R(e,t);if((0,l.E$)(a)){if(a.filetype)return a.filetype;if(a.mimetype)return(0,l.J4)(a.mimetype)}});P.meta={name:"getFileTypeFromFile",key:"createSelectorGetFileTypeFromFile",description:(e,t)=>{let a=R(e,t);if((0,l.E$)(a)){if(a.filetype)return a.filetype;if(a.mimetype)return(0,l.J4)(a.mimetype)}}};let U=(0,f.Ay)((e,t,a=!1)=>{if(t)return t.flatMap(t=>{let n=R(e,t,a);return null===n||(0,l.uO)(n)||(0,l.aK)(n)||(0,l.Sp)(n)?[]:[t]})});U.meta={name:"getFilteredFileIdsForEdit",key:"createSelectorGetFilteredFileIdsForEdit",description:(e,t,a=!1)=>{if(t)return t.flatMap(t=>{let n=R(e,t,a);return null===n||(0,l.uO)(n)||(0,l.aK)(n)||(0,l.Sp)(n)?[]:[t]})}};let B=(0,f.Ay)((e,t)=>{let a=e&&e.files;return(0,r.A)(a,{external_url:t})});B.meta={name:"getFileByUrl",key:"createSelectorGetFileByUrl",description:(e,t)=>{let a=e&&e.files;return(0,r.A)(a,{external_url:t})}};let G=(0,f.Ay)((e,t)=>{if(!t)return;let a=e&&e.files,n=(0,r.A)(a,{external_id:t});return(0,l.E$)(n)?n:void 0});G.meta={name:"getFileByExternalId",key:"createSelectorGetFileByExternalId",description:(e,t)=>{if(!t)return;let a=e&&e.files,n=(0,r.A)(a,{external_id:t});return(0,l.E$)(n)?n:void 0}}},0xe8050919:(e,t,a)=>{"use strict";a.d(t,{Y:()=>c,r:()=>getIds});var n=a(0x20679dcfc),r=a(0xa985ed31),i=a(0x1529370e7),o=a(0x107e97a6b),s=a(0x1cf0d97e1),l=a(0x217553e42);let getIds=e=>{if((0,i.Ay)(e)){let{fileIdOrQuipThreadId:t=null}=(0,o.EX)(e)||{};if(t&&(0,r.A)(t))return{fileId:t,channelId:(0,n.p)(t)}}return(0,r.A)(e)?{fileId:e,channelId:(0,n.p)(e)}:{fileId:(0,n.l)(e),channelId:e}},c=(0,s.Ay)((e,t,a=!0)=>{let{channelId:n}=getIds(t);return(0,l.OL)(e,n,a)});c.meta={name:"getFileChannelById",key:"createSelectorGetFileChannelById",description:(e,t,a=!0)=>{let{channelId:n}=getIds(t);return(0,l.OL)(e,n,a)}}},0x23e1fed85:(e,t,a)=>{"use strict";a.d(t,{b:()=>k});var n=a(0x1df96de4c),r=a(0x11c82607b),i=a(0x20ef3966f),o=a(0x9b971e7e),s=a(0x4529b342),l=a(0x8468bab2),c=a(0xbd3de346),d=a(0x14ea3ce99);function computeActions(e,t){if(!t.actions?.length)return e.actions||[];if(!e.actions?.length)return t.actions||[];let a=t.actions[0],n=e.actions[0];return parseFloat(a?.ts)>parseFloat(n?.ts)?[a]:[n]}function computeCanvasMetadata(e){if(!e.canvas_metadata)return;let t=e.canvas_metadata;return t.items?{...t,items:t.items.map(e=>e.file?{...e,file:{id:e.file.id}}:e)}:t}var u=a(0x7d48dd65),m=a(0x21da4684a),f=a(0x100fb9ff5);function computeChannels(e,t,a){if(!a.channels)return t.channels||[];if(!a.channel_map)return a.channels;let n=(0,o.ZT)(e),r=(0,u.A)(a.channel_map,e=>(0,f.t)(e)||e.team===n).map(e=>e.id);return(0,m.A)(r,a.channels)}var _=a(0xe180a236);function computeCommentCount(e,t){return Math.max(t.comments_count||e.comments_count||0,(0,_.A)(t.comments||e.comments))}function computeHeaders(e,t){let a=e.headers||t.headers;return a?.length===0?{}:a}function computeIsShared(e,t){return t.channels||t.groups?(0,_.A)(t.groups)>0||(0,_.A)(t.channels)>0:!!e.is_shared}function computeIsStarred(e,t){return!!(t.is_starred??e.is_starred)}function computeIsUnknown(e){return e&&(0,c.VP)(e)?{isNonExistent:!1,isUnknown:!1}:{}}var p=a(0x19c76d181);function computePermalink(e,t){return t.permalink&&!(0,p.u8)(e),t.permalink}var h=a(0xb64ce84b),g=a.n(h),A=a(0x1e93512b3),b=a(0x1ec68d6a3);let y=/^\s*<document>/,S=new DOMParser;function computePreviewsForSpace(e){if(!e)return null;let t={},a=(0,b.getGenericLogger)({label:"UPSERT-FILE-PREVIEWS"});try{if(e.preview&&y.test(e.preview)){let a=S.parseFromString(e.preview,"text/html");if(a){let e=a.body.children[0];if(e){t.preview=e.innerHTML;let a=e.children[0];if(a){if(a.classList.contains("list")){let e=a.querySelectorAll("li:not(:first)");for(let t=0;t<e.length;t++)e[t].remove()}"pre"===a.tagName.toLowerCase()?t.preview_in_list=`<span class="monospace">${(0,A.A)(a.textContent||"")}</span>`:t.preview_in_list=(0,A.A)(a.textContent||"")}else t.preview_in_list=""}}}}catch(e){a.error(e)}try{if(e.content_html&&y.test(e.content_html)){let a=S.parseFromString(e.content_html,"text/html");if(a){let e=a.body.children[0];t.content_html=e&&e.innerHTML}}}catch(e){a.error(e)}return t}function computePreviewsForPost(e){return e&&e.preview?{preview_in_list:e.preview.split(`
`)[0]}:null}function computePreviewsForSnippet(e){if(!e)return null;let t={is_truncated:!1};if(e.content&&e.content.length>12800){let a=g()(e.content,12800);a!==e.content&&(t.content=a,t.is_truncated=!0)}if(e.content_highlight_html&&e.content_highlight_html.length>12800){let a=g()(e.content_highlight_html,12800);a!==e.content_highlight_html&&(t.content_highlight_html=a,t.is_truncated=!0)}return t}function computePreviewsForQuip(e){return e?{quip_thread_id:e.quip_thread_id}:null}function computePreviews(e){switch(e.mode){case"space":return computePreviewsForSpace(e);case"post":return computePreviewsForPost(e);case"snippet":return computePreviewsForSnippet(e);case"quip":return computePreviewsForQuip(e);default:return null}}function computeTranscription(e,t){if(!t.transcription)return e.transcription;let a=t.transcription.lines??e.transcription?.lines;return{...t.transcription,...a&&{lines:a}}}function handleCanvasTemplate(e,t){if(!(0,c.dE)(e))return e;let{canvas_template_mode:a,template_converter_id:n,template_conversion_ts:r,is_org_visible:i,...o}=e;return{...o,...t.canvas_template_mode?{canvas_template_mode:t.canvas_template_mode}:{},...t.template_converter_id?{template_converter_id:t.template_converter_id}:{},...t.template_conversion_ts?{template_conversion_ts:t.template_conversion_ts}:{},...t.is_org_visible?{is_org_visible:t.is_org_visible}:{}}}function handleDSARestriction(e,t){return(t.restriction_type??0)!==(e.restriction_type??0)?{id:t.id,restriction_type:t.restriction_type}:e}function handleListTemplate(e,t){if(!(0,c.Vc)(e))return e;let{list_template_mode:a,...n}=e;return{...n,...t.list_template_mode?{list_template_mode:t.list_template_mode}:{}}}function handleTombstone(e,t){return!!t.is_tombstoned!=!!e.is_tombstoned?{id:t.id,is_tombstoned:!!t.is_tombstoned}:{...e,is_tombstoned:!!t.is_tombstoned}}function processFile(e,t){if(!e||!t||!t.id||!(0,c.ZG)(t))return t;let a=t.id,n=handleCanvasTemplate((0,d.Lp)(e,a,!1)||{id:a},t),r=computeActions(n=handleDSARestriction(n=handleTombstone(n=handleListTemplate(n,t),t),t),t),i=computeChannels(e,n,t),o=computePermalink(e,t),s=computeHeaders(n,t),l=computeIsStarred(n,t),u=computeIsShared(n,t),m=computeCommentCount(n,t),f=computeCanvasMetadata(t),_=computeTranscription(n,t),p=t.is_locked,h=t.thumb_pdf?t.thumb_pdf:void 0,g=t.converted_pdf?t.converted_pdf:void 0,A=t.ai_summary?t.ai_summary:void 0,b=computePreviews(t);return{comments:[],ims:[],groups:[],...n,...t,actions:r,channels:i,permalink:o,headers:s,transcription:_,ai_summary:A,is_starred:l,is_shared:u,comments_count:m,is_locked:p,thumb_pdf:h,converted_pdf:g,...b,...computeIsUnknown(t),canvas_metadata:f,localUpdated:Date.now()}}function processFiles(e,t){return e&&t&&t.length?t.map(t=>processFile(e,t)):[]}let E="Upsert files",k=(0,r.Ay)(E,(e,t,{files:a=[]}={})=>{var r;let c,d,u,m,f;return a&&a.length?(r=t(),c=[],a.forEach(e=>{e.canvas_metadata?.items&&e.canvas_metadata?.items.forEach(e=>{e.file&&c.push(e.file)})}),d=[...a,...c],u=(0,o.ZT)(r),m=(0,i.A)(d,"id"),(0,s.mY)(u,m),(f=processFiles(r,d)).length&&e((0,l.fQ)(f)),f):n.Ml});k.meta={name:"upsertFiles",key:"createThunkUpsertFiles",description:E}},0x12c0240a:(e,t,a)=>{"use strict";a.d(t,{V:()=>i,r:()=>r});var n=a(0x2115976f7);let r=[n.s.CanvasGloballyDisabled,n.s.SlackConnectTeamBlocked,n.s.SlackConnectCanvasSharingBlocked,n.s.CanvasDisabledUserTeam,n.s.CanvasDisabledFileTeam],i=[n.s.SlackConnectListsTeamBlocked,n.s.SlackConnectListsSharingBlocked]},0x1cf6f3164:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});let __WEBPACK_DEFAULT_EXPORT__=function(e){return{id:e,mode:"tombstone",is_deleted:!0}}},0xb3ae72ca:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x16cafbff4),i=a(0x1a8cc04e1),o=a(0x1266f1359);let s=(0,n.A)(()=>new i.Ay({storeKey:"flannelEmoji",fetch:(e,t)=>(0,o.Qw)(e,(0,r.tQ)({names:t})),isEnabled:()=>!0,metricsName:"flannelEmoji",redactLog:!0})),maybeRefetch=(e,t)=>s().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>s().markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>s().markObjectsAsStale(e,t)},0x87aa85af:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>f,Cx:()=>c,Ii:()=>m,J9:()=>innerGetEmojiByName,TU:()=>i,j0:()=>d});var n=a(0x4f6e90b4),r=a(0x107594e0c);let i={storeKey:"flannelEmoji",persistenceEnabled:!0},{reducer:o,actions:s,selectors:l}=(0,r.A)(i,{idKey:"name"}),{addObjects:c,removeObjects:d}=s,{getObjectById:u,UNSAFE_getAllObjects:m}=l,innerGetEmojiByName=(e,t)=>u(e,t),f=o;(0,n.ul)("flannelEmoji",{addEmoji:async function(){let e=(await slackDebug.activeTeam.flannel.query({method:"emojis/list"})).results;slackDebug.activeTeam.redux.dispatch(c({objects:e}))},removeEmoji:function(e){slackDebug.activeTeam.redux.dispatch(d({ids:e}))}})},0x1ae9b422e:(e,t,a)=>{"use strict";a.d(t,{uY:()=>fetchAndUpsertFlannelEmojiForTeamId,eW:()=>fetchFlannelEmojiForTeamId,v$:()=>y,bf:()=>k,_e:()=>T,TS:()=>E,zD:()=>S});var n=a(0xca924ee1),r=a(0x16475a65c),i=a(0xc9c97240),o=a(0x2172ff7ff),s=a(0x1130a8ca8),l=a(0x16cafbff4),c=a(0x1906e0f30),d=a(0x15f4f83cf);function makeUnknownEmoji(e){return{name:e,isUnknown:!0,id:e}}function makeNonExistentEmoji(e){return{name:e,isNonExistent:!0,id:e}}var u=a(0x1cf0d97e1),m=a(0x9b971e7e),f=a(0x1266f1359),_=a(0xb3ae72ca),p=a(0x87aa85af),h=a(0x5ea54714),g=a(0x1ec47f020);let A=(0,n.A)(()=>new d.Ay({fetch:(e,t)=>fetchFlannelEmojiForTeamId(e,t),upsertKnown:upsertEmojiForTeamId,upsertNonExistent:upsertEmojiForTeamId,makeUnknownObject:makeUnknownEmoji,makeNonExistentObject:makeNonExistentEmoji,metricsName:"flannelEmoji",redactLog:!0,offlineDataStoreConfig:(0,c.p)(p.TU)})),b=(0,u.Ay)(e=>(0,p.Ii)(e));function fetchFlannelEmojiForTeamId(e,t){let a=(0,f.$D)(e),n=t.filter(e=>!!(0,h.D)(a,e)),i=(0,r.A)(t,n);return(0,f.Qw)(e,(0,l.pY)({names:i})).catch(()=>({emoji:[]})).then(({emoji:t=[]})=>{let a=(0,f.$D)(e),r=n.map(e=>(0,h.D)(a,e));return t.concat(r)})}b.meta={name:"getAllEmoji",key:"createSelectorGetAllEmoji",description:e=>(0,p.Ii)(e)};let y=(0,u.Ay)((e,t,a=!0)=>{if(!e||!b(e)||!t)return null;let n=(0,h.D)(e,t),r=(0,m.JY)(e);return n?(0,_.ez)(r,n.name):a&&(n=A().fetchObjectWithId(r,t)),n});y.meta={name:"getEmojiByName",key:"createSelectorGetEmojiByName",description:(e,t,a=!0)=>{if(!e||!b(e)||!t)return null;let n=(0,h.D)(e,t),r=(0,m.JY)(e);return n?(0,_.ez)(r,n.name):a&&(n=A().fetchObjectWithId(r,t)),n}};let S=(0,u.Ay)((e,t,a)=>{if(!e||!b(e)||!t)return!1;let n=(0,h.D)(e,t);return!!n&&n.updated===a});S.meta={name:"isSameVersionEmoji",key:"createSelectorIsSameVersionEmoji",description:(e,t,a)=>{if(!e||!b(e)||!t)return!1;let n=(0,h.D)(e,t);return!!n&&n.updated===a}};let E=(0,i.Mz)(e=>b(e),e=>Object.values((0,s.xH)(e??{}))),k=(0,i.Mz)(e=>b(e),e=>({customEmoji:existingEmoji((0,s.xH)(e??{}))})),T=(0,i.Mz)(e=>b(e),e=>Object.keys(existingEmoji((0,s.xH)(e??{}))).sort(o.Ay));function upsertEmojiForTeamId(e,t){let a=t.filter(e=>!!e.value);(0,f.Qw)(e,(0,g.A)(a))}function existingEmoji(e){let t={};return Object.keys(e).forEach(a=>{let n=e[a];(0,d.lv)(n)||(t[a]=n)}),t}function fetchAndUpsertFlannelEmojiForTeamId(e,t){return fetchFlannelEmojiForTeamId(e,t).then(t=>(upsertEmojiForTeamId(e,t),t))}},0x5ea54714:(e,t,a)=>{"use strict";a.d(t,{D:()=>i});var n=a(0x1cf0d97e1),r=a(0x87aa85af);let i=(0,n.Ay)((e,t)=>(0,r.J9)(e,t));i.meta={name:"getRawEmojiByName",key:"createSelectorGetRawEmojiByName",description:(e,t)=>(0,r.J9)(e,t)}},0x1ec47f020:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(0x20ef3966f),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0xb3ae72ca),s=a(0xa560007e),l=a(0xb77a689a),c=a(0x1598e5174),d=a(0x62a17882),u=a(0x87aa85af);let m=(0,r.Ay)("upsert emoji from flannel",(e,t,a)=>{let r,m=(r=(0,d.cX)()?"apple":"google",a.map(e=>{let{name:t,updated:a,value:n,alias:i,is_alias:o,isNonExistent:d}=e,u={name:t,updated:a};return(d&&(u.isNonExistent=!0),o&&(u.isAlias=o,u.aliasOf=i,(0,s.A)(n,"alias:")))?u:((0,l.A)(n)?u.url=n:(0,c.A)(n)&&(u.url=n?.[r]),u)}));e((0,u.Cx)({objects:m}));let f=t(),_=(0,i.ZT)(f)||(0,i.jV)(f),p=(0,n.A)(a,"name");(0,o.mY)(_,p)});m.meta={name:"upsertEmoji",key:"createThunkUpsertEmoji",description:"upsert emoji from flannel"};let f=m},0x205724949:(e,t,a)=>{"use strict";a.d(t,{O:()=>n});let n=(0,a(0xcf658893).Ay)("Update container for window history entry");n.meta={name:"updateContainerForHistoryEntry",key:"createActionUpdateContainerForHistoryEntry",description:"Update container for window history entry"}},0x22adc72c8:(e,t,a)=>{"use strict";a.d(t,{BR:()=>o,K$:()=>r,sM:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Enable fullscreen mode");r.meta={name:"enableFullscreenInternal",key:"createActionEnableFullscreenInternal",description:"Enable fullscreen mode"};let i=(0,n.Ay)("Disable fullscreen mode");i.meta={name:"disableFullscreen",key:"createActionDisableFullscreen",description:"Disable fullscreen mode"};let o=(0,n.Ay)("Set container that should be displayed in fullscreen mode in a given window");o.meta={name:"setContainerInFullScreenMode",key:"createActionSetContainerInFullScreenMode",description:"Set container that should be displayed in fullscreen mode in a given window"}},0x1867ace9:(e,t,a)=>{"use strict";a.d(t,{T:()=>i,V:()=>o});var n=a(0x1cf0d97e1),r=a(0x19895585a);let i=(0,n.Ay)((e,{id:t})=>{if(!t)return;let a=t===r.N2?"main":t;return e.fullscreen?.containers?.[a]});i.meta={name:"getFullscreenContainerByWindowId",key:"createSelectorGetFullscreenContainerByWindowId",description:(e,{id:t})=>{if(!t)return;let a=t===r.N2?"main":t;return e.fullscreen?.containers?.[a]}};let o=(0,n.Ay)(e=>!!e.fullscreen?.enabled);o.meta={name:"isFullscreenEnabled",key:"createSelectorIsFullscreenEnabled",description:e=>!!e.fullscreen?.enabled}},0x1f368ea20:(e,t,a)=>{"use strict";a.d(t,{V:()=>c});var n=a(0x1cf0d97e1),r=a(0x1b56482da),i=a(0x691ce3ab),o=a(0x1266f1359),s=a(0x1867ace9),l=a(0x1bb02f2c4);let c=(0,n.Ay)(e=>{let t=(0,r.A)(e),a=t?e:(0,i.Ry)(),n=(0,l.getFocusedWorkspace)?.(a),c=t?(0,o.$D)(n):e;return(0,s.V)(c)||(0,s.V)(a)});c.meta={name:"isFullscreenEnabled",key:"createSelectorIsFullscreenEnabled",description:e=>{let t=(0,r.A)(e),a=t?e:(0,i.Ry)(),n=(0,l.getFocusedWorkspace)?.(a),c=t?(0,o.$D)(n):e;return(0,s.V)(c)||(0,s.V)(a)}}},0x1866f4974:(e,t,a)=>{"use strict";a.d(t,{J:()=>f});var n=a(0xfee0a4ff),r=a(0x11c82607b),i=a(0x1b56482da),o=a(0x691ce3ab),s=a(0x1266f1359),l=a(0x205724949),c=a(0x22adc72c8),d=a(0x19895585a),u=a(0x1f0a2e299),m=a(0x1bb02f2c4);let f=(0,r.Ay)("Enable fullscreen mode for a view container",(e,t,a)=>{let{container:r,windowId:f}=a??{},_=t(),p=(0,i.A)(_),h=p?_:(0,o.Ry)(),g=(0,m.getFocusedWorkspace)?.(h),A=p?(0,s.$D)(g):_;if(e((0,c.K$)()),p||!r||!f)return;e((0,c.BR)({container:r,windowId:f}));let b=f===d.N2?(0,n.jo)(h):(0,u.s4)(A,{windowId:f});b?.id&&e((0,l.O)({container:r,id:b.id}))});f.meta={name:"enableFullscreen",key:"createThunkEnableFullscreen",description:"Enable fullscreen mode for a view container"}},0x4bdacb39:(e,t,a)=>{"use strict";a.d(t,{c:()=>l});var n=a(0x242503693),r=a(0x24d471602),i=a(0x11c82607b),o=a(0x1867ace9),s=a(0x15bc0d169);let l=(0,i.Ay)("Possibly move focus to loading indicator for navigation",(e,t,a,i)=>{let l=t(),{navigateParams:c,nextViewSet:d,prevViewSet:u,windowId:m}=a;if(c?.uiState?.preventMoveFocus&&!(0,o.V)(l)||(0,o.T)(l,{id:m})===c.destinationContainer&&(0,s.A)(d,u))return;let{transitionFocusTo:f}=(0,r.$P)(l,i);f({focusKey:n.Ay.NAVIGATION_LOADING_INDICATOR})});l.meta={name:"maybeMoveFocusToLoadingIndicator",key:"createThunkMaybeMoveFocusToLoadingIndicator",description:"Possibly move focus to loading indicator for navigation"}},0xc53c0105:(e,t,a)=>{"use strict";a.d(t,{GV:()=>o,UX:()=>r,fz:()=>s,jb:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert gif  unfurl data to the gif unfurls store");r.meta={name:"upsertGifUnfurl",key:"createActionUpsertGifUnfurl",description:"Upsert gif  unfurl data to the gif unfurls store"};let i=(0,n.Ay)("Bulk clear entire draft's unfurl data from gif unfurls store");i.meta={name:"bulkClearGifUnfurls",key:"createActionBulkClearGifUnfurls",description:"Bulk clear entire draft's unfurl data from gif unfurls store"};let o=(0,n.Ay)("Change draft pending gif unfurls to sending");o.meta={name:"changeGifUrlsStatusToSending",key:"createActionChangeGifUrlsStatusToSending",description:"Change draft pending gif unfurls to sending"};let s=(0,n.Ay)("Prepare drafts gif unfurls for scheduled send");s.meta={name:"switchGifUnfurlDraftId",key:"createActionSwitchGifUnfurlDraftId",description:"Prepare drafts gif unfurls for scheduled send"}},0x14c9312b3:(e,t,a)=>{"use strict";a.d(t,{G:()=>i,t:()=>r});var n,r=((n={}).PENDING="pending",n.REMOVED="removed",n.SENDING="sending",n.DRAFT="draft",n);let i="gif-unfurl"},0x1988881a0:(e,t,a)=>{"use strict";a.d(t,{BH:()=>_,Dn:()=>A,bc:()=>g,pW:()=>h,wx:()=>p});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0xa794f9e1),o=a(0xbe2be077),s=a(0x190a9df19),l=a(0x1cf0d97e1),c=a(0xb1f0729f),d=a(0x1d600678),u=a(0x1ccef1c6f),m=a(0x1c2eef3c8),f=a(0x14c9312b3);(0,l.Ay)((e,t)=>e?.gifUnfurls?.unfurls?.[t]).meta={name:"getAllGifUnfurlEntriesForDraft",key:"createSelectorGetAllGifUnfurlEntriesForDraft",description:(e,t)=>e?.gifUnfurls?.unfurls?.[t]};let _=(0,l.Ay)(e=>!!((0,o.k)(e)?(0,c.SI)(e,"allow_native_gif_picker"):(0,d.x)(e,"allow_native_gif_picker")));_.meta={name:"isGifPickerPrefEnabled",key:"createSelectorIsGifPickerPrefEnabled",description:e=>!!((0,o.k)(e)?(0,c.SI)(e,"allow_native_gif_picker"):(0,d.x)(e,"allow_native_gif_picker"))};let p=(0,l.Ay)(e=>{let t=(0,u.ty)(e,"seen_gif_picker_admin_cta")??0,a=(0,s.Zo)(e),n=(0,s.p2)(e),r=(0,s.PY)(e);return(!!a||!!n||!!r)&&!((0,o.k)(e)?(0,c.SI)(e,"allow_native_gif_picker"):(0,d.x)(e,"allow_native_gif_picker"))&&t<5});p.meta={name:"isGifPickerPrefDisabledButAvailable",key:"createSelectorIsGifPickerPrefDisabledButAvailable",description:e=>{let t=(0,u.ty)(e,"seen_gif_picker_admin_cta")??0,a=(0,s.Zo)(e),n=(0,s.p2)(e),r=(0,s.PY)(e);return(!!a||!!n||!!r)&&!((0,o.k)(e)?(0,c.SI)(e,"allow_native_gif_picker"):(0,d.x)(e,"allow_native_gif_picker"))&&t<5}};let h=(0,n.Mz)([(e,t)=>e?.gifUnfurls?.unfurls?.[t.draftId],(e,t)=>t.draftId,(e,t)=>t.status],(e,t,a)=>{if(!t||!a||!e)return r.Ml;let n=[];for(let[t,r]of Object.entries(e))r.status===a&&n.push(e[t].data);return n}),g=(0,l.Ay)((e,{draftId:t,scheduled:a})=>{let n="boolean"==typeof a;if(!t)return!1;let r=!1;if(n){let a=(0,m.YI)(e,t);r=!!(0,i.V)(a)}let o=!!h(e,{draftId:t,status:f.t.DRAFT})?.length;return n?a===r&&o:o});g.meta={name:"draftHasGifUnfurls",key:"createSelectorDraftHasGifUnfurls",description:(e,{draftId:t,scheduled:a})=>{let n="boolean"==typeof a;if(!t)return!1;let r=!1;if(n){let a=(0,m.YI)(e,t);r=!!(0,i.V)(a)}let o=!!h(e,{draftId:t,status:f.t.DRAFT})?.length;return n?a===r&&o:o}};let A=(0,l.Ay)((e,{draftId:t})=>t?h(e,{draftId:t,status:f.t.DRAFT}):r.Ml);A.meta={name:"getAllGifUnfurlsForUnifiedDraft",key:"createSelectorGetAllGifUnfurlsForUnifiedDraft",description:(e,{draftId:t})=>t?h(e,{draftId:t,status:f.t.DRAFT}):r.Ml}},0x18c9ce57f:(e,t,a)=>{"use strict";a.d(t,{i:()=>isGifUnfurlImage});let isGifUnfurlImage=e=>e?.indexOf("media.tenor.com")>-1&&".gif"===e.substr(-4)},0x225c42ab6:(e,t,a)=>{"use strict";a.d(t,{CK:()=>u,D8:()=>i,Dx:()=>r,Fh:()=>p,KO:()=>m,M0:()=>d,NX:()=>c,SX:()=>o,WL:()=>s,a4:()=>l,bi:()=>h,lh:()=>_,w4:()=>f});var n=a(0xcf658893);let r=(0,n.Ay)("Replace help center issues with list");r.meta={name:"setHelpCenterIssues",key:"createActionSetHelpCenterIssues",description:"Replace help center issues with list"};let i=(0,n.Ay)("Upsert a single help center issue");i.meta={name:"upsertHelpCenterIssue",key:"createActionUpsertHelpCenterIssue",description:"Upsert a single help center issue"};let o=(0,n.Ay)("Replace help ticket stats");o.meta={name:"setTicketStats",key:"createActionSetTicketStats",description:"Replace help ticket stats"};let s=(0,n.Ay)("Replace help locale");s.meta={name:"setHelpLocale",key:"createActionSetHelpLocale",description:"Replace help locale"};let l=(0,n.Ay)("Replace help ZD locale");l.meta={name:"setHelpZdLocale",key:"createActionSetHelpZdLocale",description:"Replace help ZD locale"};let c=(0,n.Ay)("Replace help search articles");c.meta={name:"setHelpSearchArticles",key:"createActionSetHelpSearchArticles",description:"Replace help search articles"};let d=(0,n.Ay)("Replace product release cards");d.meta={name:"setProductReleaseCards",key:"createActionSetProductReleaseCards",description:"Replace product release cards"};let u=(0,n.Ay)("Replace help sections");u.meta={name:"setHelpSections",key:"createActionSetHelpSections",description:"Replace help sections"};let m=(0,n.Ay)("Replace help categories");m.meta={name:"setHelpCategories",key:"createActionSetHelpCategories",description:"Replace help categories"};let f=(0,n.Ay)("Replace help tour");f.meta={name:"setHelpTour",key:"createActionSetHelpTour",description:"Replace help tour"};let _=(0,n.Ay)("Replace article anchor id");_.meta={name:"setAnchorId",key:"createActionSetAnchorId",description:"Replace article anchor id"};let p=(0,n.Ay)("Replace is help article loaded");p.meta={name:"setIsHelpArticleRendered",key:"createActionSetIsHelpArticleRendered",description:"Replace is help article loaded"};let h=(0,n.Ay)("Replace help tip history tour status");h.meta={name:"setIsHelpTipHistoryTourActive",key:"createActionSetIsHelpTipHistoryTourActive",description:"Replace help tip history tour status"}},0x16af7d0de:(e,t,a)=>{"use strict";a.d(t,{Ez:()=>n,HZ:()=>r,Oc:()=>i});let n={open_form:"Fn010N",add_bookmark:"Fn010W",invite_user_to_channel:"Fn0107",update_channel_topic:"Fn0105",create_channel:"Fn0106",add_pin:"Fn010E",remove_pin:"Fn010U",add_channel_manager:"Fn0116",archive_channel:"Fn0109",unarchive_channel:"Fn010Z",send_message:"Fn0102",send_dm:"Fn010M",reply_in_thread:"Fn010P",send_ephemeral_message:"Fn010F",add_reaction:"Fn010S",remove_reaction:"Fn010T",list_add_record:"Fn0133",add_list_record:"Fn010J",copy_list:"Fn013C",create_list:"Fn0134",delete_list_record:"Fn013F",read_list_record:"Fn013B",lists_activity_feed:"Fn013G",share_list_channels:"Fn0130",share_list_users:"Fn0131",share_list:"Fn015L",update_list_record:"Fn013E",send_task_list_alert:"Fn013H",create_items_due_summary:"Fn014E",canvas_create:"Fn011G",channel_canvas_create:"Fn011H",share_canvas:"Fn011X",canvas_update_content:"Fn011W",share_canvas_in_thread:"Fn011Y",add_canvas_tab_to_channel:"Fn0128",canvas_update_content_v2:"Fn0127",add_user_to_usergroup:"Fn010B",create_usergroup:"Fn010A",remove_user_from_usergroup:"Fn010H",delay:"Fn0108",add_channel_to_channel_section:"Fn010R",add_channel_list_to_section:"Fn0114",channel_start_message:"Fn0115",create_channel_section:"Fn010Q",create_workflow_template:"Fn0122",find_channels_by_keywords:"Fn0113",conditionally_move_channels:"Fn0110",move_channels_by_channel_metadata:"Fn0111",select_channels:"Fn0117",templates_workflows:"Fn0124",start_huddle:"Fn0118",update_workflow_template:"Fn0125",switch_step:"Fn0201",case_step:"Fn0202",loop_step:"Fn0203",summarize_channel:"Fn015X",search_summary:"Fn015Z",ai_answer:"Fn0163",send_to_my_sales_home:"Fn0138",send_to_sales_home:"Fn0139",send_summary_to_my_sales_home:"Fn013M",send_summary_to_sales_home:"Fn013J",send_to_record_channel:"Fn013U",lookup_channel_record:"Fn013V",lookup_record_channel:"Fn013W",create_record_channel:"Fn013X",send_to_my_salesforce_app:"Fn0144",send_to_salesforce_app:"Fn0145"};n.open_form,n.add_bookmark,n.invite_user_to_channel,n.update_channel_topic,n.create_channel,n.add_pin,n.remove_pin,n.add_channel_manager,n.archive_channel,n.unarchive_channel,n.send_message,n.send_dm,n.reply_in_thread,n.send_ephemeral_message,n.add_reaction,n.remove_reaction,n.list_add_record,n.add_list_record,n.copy_list,n.create_list,n.delete_list_record,n.read_list_record,n.lists_activity_feed,n.share_list_channels,n.share_list_users,n.share_list,n.update_list_record,n.canvas_create,n.channel_canvas_create,n.share_canvas,n.canvas_update_content,n.share_canvas_in_thread,n.add_canvas_tab_to_channel,n.canvas_update_content_v2,n.add_user_to_usergroup,n.create_usergroup,n.remove_user_from_usergroup,n.delay,n.add_channel_to_channel_section,n.add_channel_list_to_section,n.channel_start_message,n.create_channel_section,n.create_workflow_template,n.find_channels_by_keywords,n.conditionally_move_channels,n.move_channels_by_channel_metadata,n.select_channels,n.templates_workflows,n.start_huddle,n.update_workflow_template,n.switch_step,n.case_step,n.loop_step,n.summarize_channel,n.search_summary,n.ai_answer,n.send_summary_to_sales_home,n.send_to_my_sales_home,n.send_to_sales_home,n.send_summary_to_sales_home,n.send_to_record_channel,n.lookup_channel_record,n.lookup_record_channel,n.create_record_channel;let r=new Set([]),i=new Set([n.switch_step,n.case_step,n.ai_answer,n.loop_step])},0xa7a4ed65:(e,t,a)=>{"use strict";a.d(t,{HZ:()=>l.HZ,sV:()=>i,Ez:()=>l.Ez,eS:()=>o,wT:()=>r,Dd:()=>s,Oc:()=>l.Oc});var n=a(0x18dac2b8e);let r=(0,n.Cu)()?{GOOGLE_SHEETS:{add_spreadsheet_row:"Fn014RG6E9M1",select_spreadsheet_row:"Fn014SBWKSCT",update_spreadsheet_row:"Fn014SBWKSCB"},JIRA_CLOUD:{create_issue:"Fn014ERL4J1G"},GIPHY:{get_random_gif:"Fn014JS9F3RQ",get_translated_gif:"Fn014KSP83NF"},GOOGLE_MAIL:{send_email:"Fn0152BWC551"},ASANA:{create_task:"Fn01508KBQG2"}}:{GOOGLE_SHEETS:{add_spreadsheet_row:"Fn0592NZAAP4",select_spreadsheet_row:"Fn050SU1SNTG",update_spreadsheet_row:"Fn050WHZ8P9T"},JIRA_CLOUD:{create_issue:"Fn04TEG646G6"},GIPHY:{get_random_gif:"Fn04V1JN5MC0",get_translated_gif:"Fn04U906DL7P"},GOOGLE_MAIL:{send_email:"Fn05QLE0CP41"},ASANA:{create_task:"Fn05NAF6G05B"}},i={messages:"builtins_messages",forms:"builtins_forms"},o=(0,n.Cu)()?{JIRA_CLOUD:"A014FRYEXUK",GOOGLE_SHEETS:"A014GBNBJ59"}:{JIRA_CLOUD:"A04T6GE3LEB",GOOGLE_SHEETS:"A04MG80N5CY"},s="discover";var l=a(0x16af7d0de)},0x1be8212b1:(e,t,a)=>{"use strict";a.d(t,{g:()=>ErgoSearchMatcher,r:()=>getFunctionReleaseStatusText});var n=a(0x20482ad21),r=a(0xd5e26907),i=a(0xa7a4ed65);let o=new n.Ay("workflow_builder"),ErgoSearchMatcher=e=>({customMatch:t=>t?.toLowerCase().includes(e.toLowerCase())?0:1/0,fuzzyMatcher:new r.Ay(e,{fuzzyLimit:3,fuzzyJumpLimit:1,fuzzyCJK:!0})}),getFunctionReleaseStatusText=e=>i.HZ.has(e)?o.t("BETA"):i.Oc.has(e)?o.t("NEW"):""},0x10bb8e96f:(e,t,a)=>{"use strict";a.d(t,{A3:()=>p,BA:()=>l,KJ:()=>h,L4:()=>d,Lj:()=>f,MA:()=>s,OR:()=>c,VB:()=>_,Wg:()=>g,d1:()=>i,dP:()=>m,tl:()=>o,uC:()=>u,z4:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Adds triggers to store");r.meta={name:"upsertTriggers",key:"createActionUpsertTriggers",description:"Adds triggers to store"};let i=(0,n.Ay)("Remove trigger from store by id");i.meta={name:"removeTriggerById",key:"createActionRemoveTriggerById",description:"Remove trigger from store by id"};let o=(0,n.Ay)("mark a triggers unfurls as stale in the current session");o.meta={name:"markTriggerUnfurlsAsStaleForSession",key:"createActionMarkTriggerUnfurlsAsStaleForSession",description:"mark a triggers unfurls as stale in the current session"};let s=(0,n.Ay)("Set list of recently run trigger ids to store");s.meta={name:"setRecentlyRunTriggerIds",key:"createActionSetRecentlyRunTriggerIds",description:"Set list of recently run trigger ids to store"};let l=(0,n.Ay)("Set list of rcently run trigger ids with timestamps to store");l.meta={name:"setRecentlyRunTriggerTimestamps",key:"createActionSetRecentlyRunTriggerTimestamps",description:"Set list of rcently run trigger ids with timestamps to store"};let c=(0,n.Ay)("Add trigger id to list of recently run triggers");c.meta={name:"addRecentlyRunTriggerId",key:"createActionAddRecentlyRunTriggerId",description:"Add trigger id to list of recently run triggers"};let d=(0,n.Ay)("Remove trigger id from list of recently run triggers");d.meta={name:"removeRecentlyRunTriggerId",key:"createActionRemoveRecentlyRunTriggerId",description:"Remove trigger id from list of recently run triggers"};let u=(0,n.Ay)("Set which guided tour coachmark is open");u.meta={name:"setGuidedTourCoachmarkOpen",key:"createActionSetGuidedTourCoachmarkOpen",description:"Set which guided tour coachmark is open"};let m=(0,n.Ay)("Set Workflow Events for workflow id");m.meta={name:"setRecentlyRunTriggerWorkflowEvent",key:"createActionSetRecentlyRunTriggerWorkflowEvent",description:"Set Workflow Events for workflow id"};let f=(0,n.Ay)("Removes a Workflow Event from recentlyRunTriggerWorkflowEvent");f.meta={name:"removeRecentlyRunTriggerWorkflowEvent",key:"createActionRemoveRecentlyRunTriggerWorkflowEvent",description:"Removes a Workflow Event from recentlyRunTriggerWorkflowEvent"};let _=(0,n.Ay)("Upsert all triggers available to the workflow builder");_.meta={name:"upsertTriggersAvailableForWorkflowBuilder",key:"createActionUpsertTriggersAvailableForWorkflowBuilder",description:"Upsert all triggers available to the workflow builder"};let p=(0,n.Ay)("Upsert all trigger categories available to the workflow builder");p.meta={name:"upsertTriggerCategoriesAvailableForWorkflowBuilder",key:"createActionUpsertTriggerCategoriesAvailableForWorkflowBuilder",description:"Upsert all trigger categories available to the workflow builder"};let h=(0,n.Ay)("Set the run state of a trigger");h.meta={name:"setRunningTrigger",key:"createActionSetRunningTrigger",description:"Set the run state of a trigger"};let g=(0,n.Ay)("Set the user owned triggers");g.meta={name:"setUserOwnedTriggers",key:"createActionSetUserOwnedTriggers",description:"Set the user owned triggers"}},0xb76add93:(e,t,a)=>{"use strict";a.d(t,{X:()=>d});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0xe41988fb),o=a(0x1a8cc04e1),s=a(0x1ec68d6a3),l=a(0x1266f1359),c=a(0x10bb8e96f);async function fetchAndUpsertTriggersById(e,t){return r.S.map(t,async t=>{try{let{trigger:a,ok:n}=await (0,l.Qw)(e,(0,i.B)({triggerId:t,includeWorkflowDetails:!0,reason:"fetch-stale-triggers-with-cfm"}));if(!n)return void(0,s.default)({teamId:e}).error("HERMES_TRIGGERS_CFM",`unable to fetch ${t}, workflows.triggers.info responded with not ok`);(0,l.Qw)(e,(0,c.z4)({triggers:[a]}))}catch{}})}let d=(0,n.A)(()=>new o.Ay({storeKey:"hermesTriggers",fetch:fetchAndUpsertTriggersById,isEnabled:()=>!0}))},0x22f6a086f:(e,t,a)=>{"use strict";a.d(t,{NJ:()=>W,Fv:()=>G,cw:()=>B,Yl:()=>q,pM:()=>P,N6:()=>F,zZ:()=>U,Qi:()=>H,bn:()=>O,Rz:()=>V,nd:()=>N,K6:()=>Y,qC:()=>L,Iy:()=>j,VT:()=>M,jo:()=>D,pk:()=>$,Wk:()=>z});var n=a(0x7fa3cc8f),r=a(0x7d48dd65),i=a(0xc9c97240),o=a(0x4f6e90b4),s=a(0xbe0b63ff),l=a(0x1df96de4c),c=a(0x20482ad21),d=a(0x16bf7293e),u=a(0x1dc84ebc7),m=a(0x2a037c8a),f=a(0x6e20c837),_=a(0x1cf0d97e1),p=a(0x9b971e7e),h=a(0xdf55e8f3),g=a(0x1be8212b1),A=a(0xb76add93),b=a(0xca924ee1),y=a(0xe874a88a),S=a(0xe41988fb),E=a(0x15f4f83cf),k=a(0x1266f1359),T=a(0x10bb8e96f);let I=(0,b.A)(()=>new E.Ay({fetch:fetchTriggersForTeamId,metricsName:"hermesTriggers",upsertKnown:upsertTriggersForTeamId,upsertNonExistent:upsertTriggersForTeamId}));function fetchTriggersForTeamId(e,t=[]){return y.S.map(t,async t=>{try{return(await (0,k.Qw)(e,(0,S.B)({triggerId:t,includeWorkflowDetails:!0,reason:"hermes_triggers_ufm"}))).trigger}catch(e){return{id:t,error:e.name}}})}function upsertTriggersForTeamId(e,t){let a=t.map(e=>e.id);(0,A.X)().markObjectsAsFresh(e,a),(0,k.Qw)(e,(0,T.z4)({triggers:t}))}var w=a(0x2194a793),C=a(0x18fcd8e2a);let v=new c.Ay("workflow_builder"),x=(0,_.Ay)(e=>e?.hermesTriggers?.triggersById);x.meta={name:"getTriggersById",key:"createSelectorGetTriggersById",description:e=>e?.hermesTriggers?.triggersById};let R=(0,_.Ay)(e=>e?.hermesTriggers?.recentlyRunTriggerIds);R.meta={name:"getRecentlyRunTriggerIds",key:"createSelectorGetRecentlyRunTriggerIds",description:e=>e?.hermesTriggers?.recentlyRunTriggerIds};let O=(0,h.eI)((e,{triggerId:t},a)=>{let n=e?.hermesTriggers?.triggersById?.[t],r=(0,p.ZT)(e);return r?n?((0,A.X)().maybeRefetch(r,t),n):a?I().fetchObjectWithId(r,t):(0,s.WQ)(t):(0,s.WQ)(t)}),N=(0,h.eI)((e,{triggerIds:t})=>{let a=(0,p.ZT)(e);return a?t.length?t.map(t=>{let n=e?.hermesTriggers?.triggersById?.[t];return n?((0,A.X)().maybeRefetch(a,t),n):I().fetchObjectWithId(a,t)}):l.Ml:t.map(e=>(0,s.WQ)(e))});(0,_.Ay)(e=>e?.hermesTriggers?.openTourId||null).meta={name:"getGuidedTourCoachmark",key:"createSelectorGetGuidedTourCoachmark",description:e=>e?.hermesTriggers?.openTourId||null};let D=(0,_.Ay)(e=>{let t=e?.hermesTriggers?.openTourId||"";return"platform-coachmark-tour"===t||"announce-only-platform-coachmark-tour"===t});D.meta={name:"isWorkflowCoachmarkOpen",key:"createSelectorIsWorkflowCoachmarkOpen",description:e=>{let t=e?.hermesTriggers?.openTourId||"";return"platform-coachmark-tour"===t||"announce-only-platform-coachmark-tour"===t}};let L=(0,_.Ay)(e=>"announce-only-platform-coachmark-tour"===(e?.hermesTriggers?.openTourId||""));L.meta={name:"isAnnounceOnlyWorkflowCoachmarkOpen",key:"createSelectorIsAnnounceOnlyWorkflowCoachmarkOpen",description:e=>"announce-only-platform-coachmark-tour"===(e?.hermesTriggers?.openTourId||"")};let M=(0,_.Ay)(e=>"slash-commands-coachmark-tour"===(e?.hermesTriggers?.openTourId||""));M.meta={name:"isSlashCommandsCoachmarkOpen",key:"createSelectorIsSlashCommandsCoachmarkOpen",description:e=>"slash-commands-coachmark-tour"===(e?.hermesTriggers?.openTourId||"")};let F=(0,_.Ay)(e=>R(e)?.map(t=>O(e,{triggerId:t})));F.meta={name:"getRecentlyRunTriggers",key:"createSelectorGetRecentlyRunTriggers",description:e=>R(e)?.map(t=>O(e,{triggerId:t}))};let P=(0,_.Ay)(e=>e?.hermesTriggers?.recentlyRunTriggerTimestamps||{});P.meta={name:"getRecentlyRunTriggerTimestamps",key:"createSelectorGetRecentlyRunTriggerTimestamps",description:e=>e?.hermesTriggers?.recentlyRunTriggerTimestamps||{}};let U=(0,_.Ay)(e=>e?.hermesTriggers?.recentlyRunTriggerWorkflowActivity);U.meta={name:"getRecentlyRunTriggersWorkflowActivity",key:"createSelectorGetRecentlyRunTriggersWorkflowActivity",description:e=>e?.hermesTriggers?.recentlyRunTriggerWorkflowActivity};let B=(0,_.Ay)(e=>e?.hermesTriggers?.triggersAvailableForWorkflowBuilder);B.meta={name:"getAvailableTriggersForWorkflowBuilder",key:"createSelectorGetAvailableTriggersForWorkflowBuilder",description:e=>e?.hermesTriggers?.triggersAvailableForWorkflowBuilder};let G=(0,_.Ay)(e=>e?.hermesTriggers?.triggerCategoriesAvailableForWorkflowBuilder);G.meta={name:"getAvailableTriggerCategoriesForWorkflowBuilder",key:"createSelectorGetAvailableTriggerCategoriesForWorkflowBuilder",description:e=>e?.hermesTriggers?.triggerCategoriesAvailableForWorkflowBuilder};let H=(0,_.Ay)((e,{triggerId:t})=>e?.hermesTriggers?.runningTriggers[t]);H.meta={name:"getRunningTrigger",key:"createSelectorGetRunningTrigger",description:(e,{triggerId:t})=>e?.hermesTriggers?.runningTriggers[t]};let W=(0,i.Mz)(e=>x(e),e=>{if(!e)return l.Ml;let t=(0,n.A)(e);return(0,r.A)(t,e=>!!(0,w.G)(e)&&(!e.workflow_details||!!e.workflow_details.is_published))}),V=(0,_.Ay)((e,{appId:t})=>Object.values(x(e)||{}).find(e=>e?.workflow?.app_id===t));V.meta={name:"getTriggerFromSlackAppId",key:"createSelectorGetTriggerFromSlackAppId",description:(e,{appId:t})=>Object.values(x(e)||{}).find(e=>e?.workflow?.app_id===t)};let j=(0,_.Ay)((e,t)=>{let a=(0,f.$N)(e,t);return!!a&&a?.type===f.im.SHORTCUT_LINK_TRIGGER});j.meta={name:"isHermesLinkTriggerFormat",key:"createSelectorIsHermesLinkTriggerFormat",description:(e,t)=>{let a=(0,f.$N)(e,t);return!!a&&a?.type===f.im.SHORTCUT_LINK_TRIGGER}},(0,_.Ay)((e,{triggerId:t})=>{let a=O(e,{triggerId:t},!1);return a?.shortcut_url}).meta={name:"getShortcutUrl",key:"createSelectorGetShortcutUrl",description:(e,{triggerId:t})=>{let a=O(e,{triggerId:t},!1);return a?.shortcut_url}};let K=(0,_.Ay)((e,{triggerId:t})=>!!e?.hermesTriggers?.triggersMarkedStaleInSession[t]);K.meta={name:"hasTriggerBeenMarkedStaleInSession",key:"createSelectorHasTriggerBeenMarkedStaleInSession",description:(e,{triggerId:t})=>!!e?.hermesTriggers?.triggersMarkedStaleInSession[t]};let q=(0,_.Ay)((e,{block:t})=>{let a=t.functionTriggerId,n=(0,d.U)(t);if(!K(e,{triggerId:a}))return n;let r=O(e,{triggerId:a},!0),i=r?.workflow?.workflow_id,o=i?(0,C.g)(e,i):void 0;return(0,s.mX)(r)||!o||(0,s.mX)(o)?n:(0,u.V)({passedShortcutInfo:n,trigger:r,workflow:o})});q.meta={name:"getFreshShortcutInfoForShareShortcutBlock",key:"createSelectorGetFreshShortcutInfoForShareShortcutBlock",description:(e,{block:t})=>{let a=t.functionTriggerId,n=(0,d.U)(t);if(!K(e,{triggerId:a}))return n;let r=O(e,{triggerId:a},!0),i=r?.workflow?.workflow_id,o=i?(0,C.g)(e,i):void 0;return(0,s.mX)(r)||!o||(0,s.mX)(o)?n:(0,u.V)({passedShortcutInfo:n,trigger:r,workflow:o})}};let z=(0,h.eI)((e,t)=>{let a=B(e),n=v.t("Slack"),r=v.t("Salesforce",{ns:"search"}),i=(0,g.g)(t),o={};return a.reduce((e,t)=>{let a=Math.min(i.fuzzyMatcher.normalizeAndScore(t.label),i.customMatch(t.label));return isFinite(a)&&(o[t.id]=a,e.push({...t,title:t.label,categoryLabel:"internal"===t.group?n:t.type===m.w.External?r:"",isCategory:!1})),e},[]).sort((e,t)=>o[e.id]-o[t.id]).slice(0,10)}),$=(0,h.eI)((e,t)=>{let a=G(e),n=(0,g.g)(t),r={};return Object.entries(a).reduce((e,[t,{name:a}])=>{let i=Math.min(n.fuzzyMatcher.normalizeAndScore(a),n.customMatch(a));return isFinite(i)&&(r[a]=i,e.push({id:t,title:a,appId:t,isCategory:!0})),e},[]).sort((e,t)=>r[e.id]-r[t.id]).slice(0,2)}),Y=(0,_.Ay)(e=>e?.hermesTriggers?.userOwnedTriggers);Y.meta={name:"getUserOwnedTriggers",key:"createSelectorGetUserOwnedTriggers",description:e=>e?.hermesTriggers?.userOwnedTriggers},(0,o.ul)("hermesTriggers",(e,{triggerId:t},a=!0)=>O(e,{triggerId:t},a))},0x1985223b0:(e,t,a)=>{"use strict";a.d(t,{n:()=>c});var n=a(0x210c3d70f),r=a(0x1ec68d6a3),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x10bb8e96f),l=a(0xb76add93);let c=(0,i.Ay)("fetch Hermes triggers based on corresponding workflow app IDs",async(e,t,a)=>{let i=(0,o.ZT)(t());try{let t=await e((0,n.D)(a));return e((0,s.z4)({triggers:t.triggers})),i&&(0,l.X)().markObjectsAsFresh(i,t.triggers.map(e=>e.id)),t}catch(e){throw(0,r.getGenericLogger)().error(Error(`There was an issue fetching triggers by app Id: ${e}`)),Error(e)}});c.meta={name:"fetchAndUpsertTriggersByAppId",key:"createThunkFetchAndUpsertTriggersByAppId",description:"fetch Hermes triggers based on corresponding workflow app IDs"}},0x2194a793:(e,t,a)=>{"use strict";a.d(t,{G:()=>isKnownAndNonErrorTrigger});var n=a(0xbe0b63ff);let isKnownAndNonErrorTrigger=e=>(0,n.uz)(e)&&!e.error},0x167194e99:(e,t,a)=>{"use strict";a.d(t,{U:()=>isSalesHomeTrigger});let isSalesHomeTrigger=e=>e.workflow?.app?.sales_home_workflow_app_type===1||e.workflow?.app?.sales_home_workflow_app_type===2},0x1518003e0:(e,t,a)=>{"use strict";a.d(t,{FZ:()=>i,L9:()=>s,cX:()=>o,uY:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert workflows");r.meta={name:"upsertWorkflows",key:"createActionUpsertWorkflows",description:"Upsert workflows"};let i=(0,n.Ay)("Clear workflows");i.meta={name:"resetWorkflowsStore",key:"createActionResetWorkflowsStore",description:"Clear workflows"};let o=(0,n.Ay)("Remove workflow by ID");o.meta={name:"removeWorkflowById",key:"createActionRemoveWorkflowById",description:"Remove workflow by ID"};let s=(0,n.Ay)("Update workflow title by ID");s.meta={name:"updateWorkflowTitleById",key:"createActionUpdateWorkflowTitleById",description:"Update workflow title by ID"}},0x84f6646a:(e,t,a)=>{"use strict";a.d(t,{G:()=>d});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0xbe0b63ff),o=a(0xf5821f03),s=a(0x1a8cc04e1),l=a(0x1266f1359),c=a(0x1518003e0);let d=(0,n.A)(()=>new s.Ay({storeKey:"hermesWorkflows",fetch:fetchAndUpsertWorkflowsForTeamId,isEnabled:()=>!0}));function fetchAndUpsertWorkflowsForTeamId(e,t){return r.S.map(t,async t=>{try{return(await (0,l.Qw)(e,(0,o.D)({workflowId:t,reason:"hermes_workflows_store_conditional_fetching"}))).workflow}catch{return(0,i.WQ)(t)}}).then(t=>(0,l.Qw)(e,(0,c.uY)({workflows:t})))}},0x18fcd8e2a:(e,t,a)=>{"use strict";a.d(t,{g:()=>h,R:()=>g});var n=a(0xbe0b63ff),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x84f6646a),s=a(0xca924ee1),l=a(0x20ef3966f),c=a(0xe874a88a),d=a(0x19b3ba9fd),u=a(0xf5821f03),m=a(0x15f4f83cf),f=a(0x1266f1359),_=a(0x1518003e0);let p=(0,s.A)(()=>new m.Ay({fetch:fetchWorkflowsForTeamId,upsertKnown:upsertWorkflowsForTeamId,upsertNonExistent:upsertWorkflowsForTeamId,isEnabled:()=>!0}));function fetchWorkflowsForTeamId(e,t){return c.S.map(t,async t=>{try{return(await (0,f.Qw)(e,(0,u.D)({workflowId:t,reason:"hermes_workflows_store_unknown_fetching"}))).workflow}catch{let a=(0,f.$D)(e),n=a.hermesWorkflows?.[t];if(!(0,m.GU)(n))return n;return null}}).then(e=>e.filter(d.b))}function upsertWorkflowsForTeamId(e,t){(0,o.G)().markObjectsAsFresh(e,(0,l.A)(t,"id")),(0,f.Qw)(e,(0,_.uY)({workflows:t}))}let h=(0,r.Ay)((e,t,a=!0)=>{let r=(0,i.ZT)(e),s=e.hermesWorkflows?.[t];return r?s?((0,o.G)().maybeRefetch(r,t),s):a?p().fetchObjectWithId(r,t):(0,n.WQ)(t):(0,n.WQ)(t)});h.meta={name:"getWorkflowById",key:"createSelectorGetWorkflowById",description:(e,t,a=!0)=>{let r=(0,i.ZT)(e),s=e.hermesWorkflows?.[t];return r?s?((0,o.G)().maybeRefetch(r,t),s):a?p().fetchObjectWithId(r,t):(0,n.WQ)(t):(0,n.WQ)(t)}};let g=(0,r.Ay)((e,t)=>{let a=h(e,t);return(0,n.GU)(a)?[]:a.steps});g.meta={name:"getWorkflowStepsById",key:"createSelectorGetWorkflowStepsById",description:(e,t)=>{let a=h(e,t);return(0,n.GU)(a)?[]:a.steps}}},0x110a7bac9:(e,t,a)=>{"use strict";a.d(t,{D:()=>c});var n=a(0x20ef3966f),r=a(0x18beffdb9),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x1518003e0),l=a(0x84f6646a);let c=(0,i.Ay)("Fetch and upsert workflows list",async(e,t,a)=>{let{workflowIds:i,reason:c}=a,{workflows:d}=await e((0,r.T)({...a,workflowIds:i||void 0,reason:c||"hermes_workflows_store:fetch_and_upsert_workflows_list"}));e((0,s.uY)({workflows:d}));let u=(0,o.ZT)(t());u&&(0,l.G)().markObjectsAsFresh(u,(0,n.A)(d,"id"))});c.meta={name:"fetchAndUpsertWorkflowsList",key:"createThunkFetchAndUpsertWorkflowsList",description:"Fetch and upsert workflows list"}},0xb129c1d5:(e,t,a)=>{"use strict";a.d(t,{a:()=>o,z:()=>s});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0xb1f0729f);let o=(0,r.Ay)((e,t)=>{if(!t||(0,i.SI)(e,"hide_person_opt_out"))return!1;let a=e?.hiddenUsers;return!!a?.[t]});o.meta={name:"isUserHiddenById",key:"createSelectorIsUserHiddenById",description:(e,t)=>{if(!t||(0,i.SI)(e,"hide_person_opt_out"))return!1;let a=e?.hiddenUsers;return!!a?.[t]}};let s=(0,r.Ay)(e=>Object.keys(e.hiddenUsers||n.t0));s.meta={name:"getHiddenUsers",key:"createSelectorGetHiddenUsers",description:e=>Object.keys(e.hiddenUsers||n.t0)}},0x166aaf930:(e,t,a)=>{"use strict";a.d(t,{C1:()=>g,DQ:()=>S,D_:()=>u,Dg:()=>b,Eq:()=>eA,G4:()=>N,Gb:()=>Q,Gk:()=>L,Hw:()=>eb,JD:()=>er,Ji:()=>_,K9:()=>k,Kp:()=>l,MU:()=>A,Mn:()=>T,NI:()=>eg,NZ:()=>j,OM:()=>ey,PZ:()=>ee,RB:()=>F,Rl:()=>U,Sp:()=>en,V_:()=>K,W$:()=>es,WA:()=>q,WH:()=>E,Wx:()=>ei,X6:()=>X,YC:()=>h,ZG:()=>ed,ZL:()=>r,ZZ:()=>ea,Zj:()=>et,Zx:()=>s,_c:()=>B,_n:()=>I,aA:()=>el,aH:()=>v,aJ:()=>eS,aO:()=>P,ak:()=>y,b8:()=>eh,ed:()=>O,fI:()=>m,fW:()=>W,ff:()=>f,gV:()=>e_,gv:()=>H,hN:()=>x,hc:()=>o,ig:()=>c,ju:()=>Y,kB:()=>R,kd:()=>Z,l3:()=>$,mB:()=>J,mW:()=>em,mr:()=>w,np:()=>i,or:()=>G,p4:()=>eo,pw:()=>M,qv:()=>ef,s7:()=>p,sA:()=>eu,sB:()=>z,sH:()=>V,tM:()=>d,u5:()=>ec,um:()=>D,vM:()=>C,zw:()=>ep});var n=a(0xcf658893);let r=(0,n.Ay)("Sets the thread that is used for the canvas");r.meta={name:"setThread",key:"createActionSetThread",description:"Sets the thread that is used for the canvas"};let i=(0,n.Ay)("Resets the canvas store");i.meta={name:"resetCanvasStore",key:"createActionResetCanvasStore",description:"Resets the canvas store"};let o=(0,n.Ay)("Set selected tab");o.meta={name:"setSelectedTab",key:"createActionSetSelectedTab",description:"Set selected tab"};let s=(0,n.Ay)("Set the selected profile");s.meta={name:"setSelectedProfile",key:"createActionSetSelectedProfile",description:"Set the selected profile"};let l=(0,n.Ay)("Set Sticky emoji");l.meta={name:"setStickyEmoji",key:"createActionSetStickyEmoji",description:"Set Sticky emoji"};let c=(0,n.Ay)("Set the selected file");c.meta={name:"setSelectedFile",key:"createActionSetSelectedFile",description:"Set the selected file"};let d=(0,n.Ay)("Set is muted coachmark open");d.meta={name:"setIsMutedCoachmarkOpen",key:"createActionSetIsMutedCoachmarkOpen",description:"Set is muted coachmark open"};let u=(0,n.Ay)("Set is self-view coachmark open");u.meta={name:"setIsSelfViewCoachmarkOpen",key:"createActionSetIsSelfViewCoachmarkOpen",description:"Set is self-view coachmark open"};let m=(0,n.Ay)("Set is thread open");m.meta={name:"setIsThreadOpen",key:"createActionSetIsThreadOpen",description:"Set is thread open"};let f=(0,n.Ay)("Set whether the meeting notes canvas open");f.meta={name:"setIsMeetingNotesOpen",key:"createActionSetIsMeetingNotesOpen",description:"Set whether the meeting notes canvas open"};let _=(0,n.Ay)("Set whether the meeting notes canvas is auto-opened");_.meta={name:"setIsCanvasAutoOpened",key:"createActionSetIsCanvasAutoOpened",description:"Set whether the meeting notes canvas is auto-opened"};let p=(0,n.Ay)("Set is notes open");p.meta={name:"setIsNotesOpen",key:"createActionSetIsNotesOpen",description:"Set is notes open"};let h=(0,n.Ay)("Set is fullscreen");h.meta={name:"setIsFullscreen",key:"createActionSetIsFullscreen",description:"Set is fullscreen"};let g=(0,n.Ay)("Set if window is fullscreen");g.meta={name:"setIsWindowFullscreen",key:"createActionSetIsWindowFullscreen",description:"Set if window is fullscreen"};let A=(0,n.Ay)("Sets the list of available songs");A.meta={name:"setSongsByCategory",key:"createActionSetSongsByCategory",description:"Sets the list of available songs"};let b=(0,n.Ay)("Sets the list of available songs");b.meta={name:"setSongs",key:"createActionSetSongs",description:"Sets the list of available songs"};let y=(0,n.Ay)("Set the list of available backgrounds");y.meta={name:"setBackgrounds",key:"createActionSetBackgrounds",description:"Set the list of available backgrounds"};let S=(0,n.Ay)("Set the list of background categories");S.meta={name:"setBackgroundCategories",key:"createActionSetBackgroundCategories",description:"Set the list of background categories"};let E=(0,n.Ay)("Set id of current background");E.meta={name:"setBackgroundId",key:"createActionSetBackgroundId",description:"Set id of current background"};let k=(0,n.Ay)("Sets whether the backgrounds have been fetched for a specific huddle");k.meta={name:"setHasFetchedBackgroundsForHuddle",key:"createActionSetHasFetchedBackgroundsForHuddle",description:"Sets whether the backgrounds have been fetched for a specific huddle"};let T=(0,n.Ay)("Set a clog interaction ID for a key value pair");T.meta={name:"setInteractionId",key:"createActionSetInteractionId",description:"Set a clog interaction ID for a key value pair"};let I=(0,n.Ay)("Upsert call object for canvas");I.meta={name:"upsertCanvas",key:"createActionUpsertCanvas",description:"Upsert call object for canvas"};let w=(0,n.Ay)("Upsert huddle object");w.meta={name:"upsertHuddle",key:"createActionUpsertHuddle",description:"Upsert huddle object"};let C=(0,n.Ay)("Sets whether drawing and cursor tracking are enabled for the local user");C.meta={name:"setIsSelfDrawingCursorTrackingEnabled",key:"createActionSetIsSelfDrawingCursorTrackingEnabled",description:"Sets whether drawing and cursor tracking are enabled for the local user"};let v=(0,n.Ay)("Set the Canvas surface");v.meta={name:"setHuddleSurface",key:"createActionSetHuddleSurface",description:"Set the Canvas surface"};let x=(0,n.Ay)("Sets which huddle educational tip is showing");x.meta={name:"setHuddleEducationPromptEntrypoint",key:"createActionSetHuddleEducationPromptEntrypoint",description:"Sets which huddle educational tip is showing"};let R=(0,n.Ay)("Cache the window size of the huddle window for a specific surface");R.meta={name:"cacheHuddleWindowSizeBySurface",key:"createActionCacheHuddleWindowSizeBySurface",description:"Cache the window size of the huddle window for a specific surface"};let O=(0,n.Ay)("Sets the tab open state for a specific surface");O.meta={name:"setTabsOpenStateForSurface",key:"createActionSetTabsOpenStateForSurface",description:"Sets the tab open state for a specific surface"};let N=(0,n.Ay)("Sets whether specific banner types can be shown to the user");N.meta={name:"setCanShowBanner",key:"createActionSetCanShowBanner",description:"Sets whether specific banner types can be shown to the user"};let D=(0,n.Ay)("Sets information about which comment is open");D.meta={name:"setNoteComment",key:"createActionSetNoteComment",description:"Sets information about which comment is open"};let L=(0,n.Ay)("Sets the comment flexpane area to closed");L.meta={name:"closeNoteComment",key:"createActionCloseNoteComment",description:"Sets the comment flexpane area to closed"};let M=(0,n.Ay)("Sets whether the user is currently interacting with the screenshare view");M.meta={name:"setScreenshareInteractivity",key:"createActionSetScreenshareInteractivity",description:"Sets whether the user is currently interacting with the screenshare view"};let F=(0,n.Ay)("Sets whether the more actions menu is open in compact mode");F.meta={name:"setFlexpaneCustomViewInCompactMode",key:"createActionSetFlexpaneCustomViewInCompactMode",description:"Sets whether the more actions menu is open in compact mode"};let P=(0,n.Ay)("Sets whether the transcript is being recorded.");P.meta={name:"setIsRecordingTranscript",key:"createActionSetIsRecordingTranscript",description:"Sets whether the transcript is being recorded."};let U=(0,n.Ay)("Sets whether the huddle is being summarized.");U.meta={name:"setIsSummarizing",key:"createActionSetIsSummarizing",description:"Sets whether the huddle is being summarized."};let B=(0,n.Ay)("Sets whether the huddle recording is currently paused.");B.meta={name:"setIsRecordingPaused",key:"createActionSetIsRecordingPaused",description:"Sets whether the huddle recording is currently paused."};let G=(0,n.Ay)("Sets whether AI notes, transcription, or both are enabled for the huddle.");G.meta={name:"setActiveRecordingType",key:"createActionSetActiveRecordingType",description:"Sets whether AI notes, transcription, or both are enabled for the huddle."};let H=(0,n.Ay)("Sets whether the huddle live note taking is enabled.");H.meta={name:"setIsNoteTakingEnabled",key:"createActionSetIsNoteTakingEnabled",description:"Sets whether the huddle live note taking is enabled."};let W=(0,n.Ay)("Set true to specify that lounge music banner is dismissed, false otherwise.");W.meta={name:"setIsLoungeMusicBannerDismissed",key:"createActionSetIsLoungeMusicBannerDismissed",description:"Set true to specify that lounge music banner is dismissed, false otherwise."};let V=(0,n.Ay)("Set true lounge music has been stopped by the user");V.meta={name:"setHasUserStoppedLoungeMusic",key:"createActionSetHasUserStoppedLoungeMusic",description:"Set true lounge music has been stopped by the user"};let j=(0,n.Ay)("Sets the miniplayer width in pixels");j.meta={name:"setMiniplayerWidth",key:"createActionSetMiniplayerWidth",description:"Sets the miniplayer width in pixels"};let K=(0,n.Ay)("Sets the knock to enter users for the channel");K.meta={name:"setKnockingUsers",key:"createActionSetKnockingUsers",description:"Sets the knock to enter users for the channel"};let q=(0,n.Ay)("Sets the knock to enter credentials for the Huddle");q.meta={name:"setKnockToEnterCredentials",key:"createActionSetKnockToEnterCredentials",description:"Sets the knock to enter credentials for the Huddle"};let z=(0,n.Ay)("Sets that the user is waiting to enter a knock to enter Huddle");z.meta={name:"setRequestingToJoinKnockToEnterHuddle",key:"createActionSetRequestingToJoinKnockToEnterHuddle",description:"Sets that the user is waiting to enter a knock to enter Huddle"};let $=(0,n.Ay)("Sets that the huddle the user is requesting access to has started or not");$.meta={name:"setKnockToEnterHuddleHasStarted",key:"createActionSetKnockToEnterHuddleHasStarted",description:"Sets that the huddle the user is requesting access to has started or not"};let Y=(0,n.Ay)("Sets that the user wishes to stop the music while they wait to join the Huddle");Y.meta={name:"setStopMusicForRequestingToJoin",key:"createActionSetStopMusicForRequestingToJoin",description:"Sets that the user wishes to stop the music while they wait to join the Huddle"};let Q=(0,n.Ay)("Sets that the user has been accepted into the knock to enter Huddle that they requested");Q.meta={name:"setKnockToEnterRequestAccepted",key:"createActionSetKnockToEnterRequestAccepted",description:"Sets that the user has been accepted into the knock to enter Huddle that they requested"};let Z=(0,n.Ay)("Sets that the knock to enter request has expired for the user");Z.meta={name:"setKnockToEnterRequestExpired",key:"createActionSetKnockToEnterRequestExpired",description:"Sets that the knock to enter request has expired for the user"};let J=(0,n.Ay)("Sets the knock user to ignored");J.meta={name:"setIgnoreKnockingUser",key:"createActionSetIgnoreKnockingUser",description:"Sets the knock user to ignored"};let X=(0,n.Ay)("Used to reset the state for a knock to enter requesting user");X.meta={name:"resetKnockToEnterRequestState",key:"createActionResetKnockToEnterRequestState",description:"Used to reset the state for a knock to enter requesting user"};let ee=(0,n.Ay)("Used to set pending knock to enter users waiting for the host to start the Huddle");ee.meta={name:"setWaitingKnockToEnterUsers",key:"createActionSetWaitingKnockToEnterUsers",description:"Used to set pending knock to enter users waiting for the host to start the Huddle"};let et=(0,n.Ay)("Used to set if the Huddle participant menu is open");et.meta={name:"setIsParticipantMenuOpen",key:"createActionSetIsParticipantMenuOpen",description:"Used to set if the Huddle participant menu is open"};let ea=(0,n.Ay)("Used to set if the huddle workspace is repositioned for BBM");ea.meta={name:"setIsHuddleWorkspaceRepositioned",key:"createActionSetIsHuddleWorkspaceRepositioned",description:"Used to set if the huddle workspace is repositioned for BBM"},(0,n.Ay)("Opens or closes troubleshooting popover above the miniplayer").meta={name:"setOpenMiniplayerTroubleshootPopover",key:"createActionSetOpenMiniplayerTroubleshootPopover",description:"Opens or closes troubleshooting popover above the miniplayer"};let en=(0,n.Ay)("Sets a flag indicating the user has seen the recording legal modal");en.meta={name:"setDidShowRecordingLegalModal",key:"createActionSetDidShowRecordingLegalModal",description:"Sets a flag indicating the user has seen the recording legal modal"};let er=(0,n.Ay)("Sets a flag indicating the user should see the resume recording legal modal");er.meta={name:"setShouldShowResumeRecordingLegalModal",key:"createActionSetShouldShowResumeRecordingLegalModal",description:"Sets a flag indicating the user should see the resume recording legal modal"};let ei=(0,n.Ay)("Sets a flag to indicate user initiated resuming huddle recording");ei.meta={name:"setDidResumeRecording",key:"createActionSetDidResumeRecording",description:"Sets a flag to indicate user initiated resuming huddle recording"};let eo=(0,n.Ay)("Sets a flag to indicate we have shown the user the modal to initiate a summary when they clicked the canvas button in a huddle");eo.meta={name:"setDidShowCanvasButtonSummaryPrompt",key:"createActionSetDidShowCanvasButtonSummaryPrompt",description:"Sets a flag to indicate we have shown the user the modal to initiate a summary when they clicked the canvas button in a huddle"};let es=(0,n.Ay)("Sets a flag indicating the if the floating banner is expanded");es.meta={name:"setIsFloatingBannerExpanded",key:"createActionSetIsFloatingBannerExpanded",description:"Sets a flag indicating the if the floating banner is expanded"};let el=(0,n.Ay)("Sets the pinned participants of a huddle");el.meta={name:"setPinnedHuddleParticipantIds",key:"createActionSetPinnedHuddleParticipantIds",description:"Sets the pinned participants of a huddle"};let ec=(0,n.Ay)("Removes the given participant from the pinned participants list of a huddle");ec.meta={name:"unpinHuddleParticipant",key:"createActionUnpinHuddleParticipant",description:"Removes the given participant from the pinned participants list of a huddle"};let ed=(0,n.Ay)("Sets the user ID for the host of the calendar Huddle");ed.meta={name:"setHostIdForCalendarHuddle",key:"createActionSetHostIdForCalendarHuddle",description:"Sets the user ID for the host of the calendar Huddle"};let eu=(0,n.Ay)("Sets if the Huddle is active for the calendar Huddle");eu.meta={name:"setIsHuddleActiveForCalendarHuddle",key:"createActionSetIsHuddleActiveForCalendarHuddle",description:"Sets if the Huddle is active for the calendar Huddle"};let em=(0,n.Ay)("Sets if the channel ID is a calendar Huddle");em.meta={name:"setIsChannelCalendarHuddle",key:"createActionSetIsChannelCalendarHuddle",description:"Sets if the channel ID is a calendar Huddle"};let ef=(0,n.Ay)("Sets the huddle action for the user for the calendar huddle");ef.meta={name:"setHuddleActionForCalendarHuddle",key:"createActionSetHuddleActionForCalendarHuddle",description:"Sets the huddle action for the user for the calendar huddle"};let e_=(0,n.Ay)("Sets a flag indicating the huddle locale has changed");e_.meta={name:"setSetDidHuddleLocaleChange",key:"createActionSetSetDidHuddleLocaleChange",description:"Sets a flag indicating the huddle locale has changed"};let ep=(0,n.Ay)("Shows a toast when a user changes the channel property for AI notes autostart");ep.meta={name:"setAiNotesAutostartSettingChangedToastState",key:"createActionSetAiNotesAutostartSettingChangedToastState",description:"Shows a toast when a user changes the channel property for AI notes autostart"};let eh=(0,n.Ay)("Set state for a toast that shows when huddle AI notes fails to autostart");eh.meta={name:"setAiNotesAutostartErrorToastState",key:"createActionSetAiNotesAutostartErrorToastState",description:"Set state for a toast that shows when huddle AI notes fails to autostart"};let eg=(0,n.Ay)("Sets a flag indicating that audio detection was performed and device id");eg.meta={name:"setAudioDetectionWasPerformed",key:"createActionSetAudioDetectionWasPerformed",description:"Sets a flag indicating that audio detection was performed and device id"};let eA=(0,n.Ay)("Sets the last invite status for a user");eA.meta={name:"setLastInviteStatusByUser",key:"createActionSetLastInviteStatusByUser",description:"Sets the last invite status for a user"};let eb=(0,n.Ay)("Clears last invite status for a user");eb.meta={name:"clearLastInviteStatusForUser",key:"createActionClearLastInviteStatusForUser",description:"Clears last invite status for a user"};let ey=(0,n.Ay)("Sets the active state of alert banners");ey.meta={name:"setHuddleBannerActiveState",key:"createActionSetHuddleBannerActiveState",description:"Sets the active state of alert banners"};let eS=(0,n.Ay)("Sets whether all mini window toolbar buttons are shown");eS.meta={name:"setShowAllMiniWindowToolbarButtons",key:"createActionSetShowAllMiniWindowToolbarButtons",description:"Sets whether all mini window toolbar buttons are shown"}},0x7c2e2ba1:(e,t,a)=>{"use strict";a.d(t,{UV:()=>ew,X2:()=>eX,Wh:()=>eJ,rL:()=>eu,fH:()=>e1,Z_:()=>e0,bw:()=>K,ci:()=>q,K4:()=>Y,G0:()=>j,SC:()=>er,UW:()=>X,G5:()=>J,dd:()=>ep,RT:()=>em,Vd:()=>ef,lu:()=>e_,CE:()=>eS,Z3:()=>e4,fQ:()=>e3,mv:()=>eZ,Kj:()=>eW,mN:()=>z,bb:()=>eH,mI:()=>eD,CO:()=>ev,pX:()=>eP,mU:()=>eU,K8:()=>eB,ZU:()=>ez,B9:()=>eh,uX:()=>eY,PY:()=>en,VW:()=>eQ,Ec:()=>ee,HH:()=>ea,U7:()=>Q,$k:()=>e6,$q:()=>eq,Vi:()=>N,MY:()=>G,Ln:()=>e$,iA:()=>eb,pj:()=>et,ut:()=>eK,g0:()=>L,gK:()=>F,dn:()=>getIsInfoBannerActive,tX:()=>eC,JE:()=>O,Y1:()=>R,hH:()=>D,Ax:()=>eI,cd:()=>eE,jr:()=>eF,ny:()=>Z,dj:()=>ek,LR:()=>eT,Lg:()=>getIsTemporaryControlBannerActive,vu:()=>x,JU:()=>ed,b3:()=>getIsWarningBannerActive,eJ:()=>M,_6:()=>eM,bs:()=>eG,Bz:()=>eR,Hp:()=>e2,jI:()=>ex,yk:()=>eg,fi:()=>C,rh:()=>eA,Bw:()=>eN,IT:()=>ej,HD:()=>ey,ie:()=>B,VZ:()=>U,lg:()=>v,zE:()=>P,tb:()=>eV,wq:()=>getShowAllMiniWindowToolbarButtons,Rl:()=>W,sE:()=>V,YW:()=>H,fG:()=>w,Zg:()=>eo,uw:()=>es,ok:()=>ei,$w:()=>el,SY:()=>ec,oi:()=>eL});var n,r=a(0x126817248),i=a(0x60760cde),o=a(0xe0376d2),s=a(0x1595bdd0),l=a(0xc9c97240),c=a(0x1df96de4c),d=((n={}).Pending="pending",n.Accepted="accepted",n.Declined="declined",n.Canceled="canceled",n.Expired="expired",n),u=a(0xe2ebd314),m=a(0x12185e091),f=a(0xf6ed6f31),_=a(0x105ecbbed),p=a(7854195),h=a(0x223ac29bb),g=a(0x1cf0d97e1),A=a(0x365a4cc3),b=a(0x21bfacd01),y=a(0xc561af5),S=a(0x217553e42),E=a(0xf9cb31c6),k=a(0xd93ecf94),T=a(0x28c6a9ff),I=a(0x19895585a);let w=(0,g.Ay)((e,{huddleId:t})=>{if(t&&e.huddlesCanvas&&e.huddlesCanvas.byHuddleId[t]&&e.huddlesCanvas.byHuddleId[t].thread)return e.huddlesCanvas.byHuddleId[t].thread});w.meta={name:"getThread",key:"createSelectorGetThread",description:(e,{huddleId:t})=>{if(t&&e.huddlesCanvas&&e.huddlesCanvas.byHuddleId[t]&&e.huddlesCanvas.byHuddleId[t].thread)return e.huddlesCanvas.byHuddleId[t].thread}};let C=(0,g.Ay)((e,{huddleId:t})=>e&&t&&e.huddlesCanvas&&e.huddlesCanvas.byHuddleId[t]&&e.huddlesCanvas.byHuddleId[t].notesFileId);C.meta={name:"getNotesFileId",key:"createSelectorGetNotesFileId",description:(e,{huddleId:t})=>e&&t&&e.huddlesCanvas&&e.huddlesCanvas.byHuddleId[t]&&e.huddlesCanvas.byHuddleId[t].notesFileId};let v=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.selectedTab)??p.KL.Threads);v.meta={name:"getSelectedTab",key:"createSelectorGetSelectedTab",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.selectedTab)??p.KL.Threads};let x=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isThreadOpen)??!0);x.meta={name:"getIsThreadOpen",key:"createSelectorGetIsThreadOpen",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isThreadOpen)??!0};let R=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isNotesOpen)??!1);R.meta={name:"getIsNotesOpen",key:"createSelectorGetIsNotesOpen",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isNotesOpen)??!1};let O=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isMeetingNotesOpen)??!1);O.meta={name:"getIsMeetingNotesOpen",key:"createSelectorGetIsMeetingNotesOpen",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isMeetingNotesOpen)??!1};let N=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isCanvasAutoOpened)??!1);N.meta={name:"getIsCanvasAutoOpened",key:"createSelectorGetIsCanvasAutoOpened",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isCanvasAutoOpened)??!1};let D=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isParticipantMenuOpen)??!1);D.meta={name:"getIsParticipantMenuOpen",key:"createSelectorGetIsParticipantMenuOpen",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isParticipantMenuOpen)??!1},(0,g.Ay)(e=>e.huddlesCanvas.isMutedCoachmarkOpen).meta={name:"getIsMutedCoachmarkOpen",key:"createSelectorGetIsMutedCoachmarkOpen",description:e=>e.huddlesCanvas.isMutedCoachmarkOpen},(0,g.Ay)(e=>e.huddlesCanvas.isSelfViewCoachmarkOpen).meta={name:"getIsSelfViewCoachmarkOpen",key:"createSelectorGetIsSelfViewCoachmarkOpen",description:e=>e.huddlesCanvas.isSelfViewCoachmarkOpen};let L=(0,g.Ay)(e=>e?.huddlesCanvas?.isFullscreen??!1);L.meta={name:"getIsFullscreen",key:"createSelectorGetIsFullscreen",description:e=>e?.huddlesCanvas?.isFullscreen??!1};let M=(0,g.Ay)(e=>e.huddlesCanvas.isWindowFullscreen);M.meta={name:"getIsWindowFullscreen",key:"createSelectorGetIsWindowFullscreen",description:e=>e.huddlesCanvas.isWindowFullscreen};let F=(0,g.Ay)(e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isHuddleWorkspaceRepositioned)??!0);F.meta={name:"getIsHuddleWorkspaceRepositioned",key:"createSelectorGetIsHuddleWorkspaceRepositioned",description:e=>(e&&e.huddlesCanvas&&e.huddlesCanvas.isHuddleWorkspaceRepositioned)??!0};let P=(0,g.Ay)(e=>!!(0,b.V)(e)&&F(e));P.meta={name:"getShouldRepositionHuddleWorkspace",key:"createSelectorGetShouldRepositionHuddleWorkspace",description:e=>!!(0,b.V)(e)&&F(e)};let U=(0,g.Ay)(e=>e?.huddlesCanvas?.selectedProfile);U.meta={name:"getSelectedProfile",key:"createSelectorGetSelectedProfile",description:e=>e?.huddlesCanvas?.selectedProfile};let B=(0,g.Ay)(e=>e?.huddlesCanvas?.selectedFile);B.meta={name:"getSelectedFile",key:"createSelectorGetSelectedFile",description:e=>e?.huddlesCanvas?.selectedFile};let G=(0,l.Mz)(R,x,U,B,O,(e,t,a,n,r)=>!!(e||t||a||n||r)),H=(0,g.Ay)(e=>e?.huddlesCanvas?.stickyEmoji);H.meta={name:"getStickyEmoji",key:"createSelectorGetStickyEmoji",description:e=>e?.huddlesCanvas?.stickyEmoji};let W=(0,g.Ay)(e=>e?.huddlesCanvas?.songs);W.meta={name:"getSongs",key:"createSelectorGetSongs",description:e=>e?.huddlesCanvas?.songs};let V=(0,g.Ay)(e=>e?.huddlesCanvas?.songsByCategory);V.meta={name:"getSongsByCategory",key:"createSelectorGetSongsByCategory",description:e=>e?.huddlesCanvas?.songsByCategory};let j=(0,g.Ay)(e=>e?.huddlesCanvas?.backgrounds);j.meta={name:"getBackgrounds",key:"createSelectorGetBackgrounds",description:e=>e?.huddlesCanvas?.backgrounds};let K=(0,g.Ay)(e=>e?.huddlesCanvas?.backgroundCategories);K.meta={name:"getBackgroundCategories",key:"createSelectorGetBackgroundCategories",description:e=>e?.huddlesCanvas?.backgroundCategories};let q=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.backgroundId});q.meta={name:"getBackgroundId",key:"createSelectorGetBackgroundId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.backgroundId}};let z=(0,g.Ay)((e,{huddleId:t})=>!!t&&!!e?.huddlesCanvas?.byHuddleId[t]?.hasFetchedBackgrounds);z.meta={name:"getHasFetchedBackgroundsForHuddle",key:"createSelectorGetHasFetchedBackgroundsForHuddle",description:(e,{huddleId:t})=>!!t&&!!e?.huddlesCanvas?.byHuddleId[t]?.hasFetchedBackgrounds},(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isPrewarmed}).meta={name:"getIsPreWarmed",key:"createSelectorGetIsPreWarmed",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isPrewarmed}};let $=(0,l.Mz)(j,q,(e,t)=>e.find(e=>e.id===t)),Y=(0,g.Ay)((e,{huddleId:t,usePreviewUrl:a})=>{let n=$(e,{huddleId:t});return a?n?.previewUrl:n?.url});Y.meta={name:"getBackgroundUrl",key:"createSelectorGetBackgroundUrl",description:(e,{huddleId:t,usePreviewUrl:a})=>{let n=$(e,{huddleId:t});return a?n?.previewUrl:n?.url}};let Q=(0,g.Ay)((e,{key:t})=>e&&e.huddlesCanvas&&e.huddlesCanvas.interactionIds&&e.huddlesCanvas.interactionIds[t]);Q.meta={name:"getInteractionId",key:"createSelectorGetInteractionId",description:(e,{key:t})=>e&&e.huddlesCanvas&&e.huddlesCanvas.interactionIds&&e.huddlesCanvas.interactionIds[t]};let Z=(0,g.Ay)(e=>e?.huddlesCanvas?.isSelfDrawingCursorTrackingEnabled??!1);Z.meta={name:"getIsSelfDrawingCursorTrackingEnabled",key:"createSelectorGetIsSelfDrawingCursorTrackingEnabled",description:e=>e?.huddlesCanvas?.isSelfDrawingCursorTrackingEnabled??!1};let J=(0,g.Ay)((e,{channelId:t})=>{let a=(0,S.OL)(e,t);return!((0,m.QR)(a)||(0,m.t8)(a)||(0,m.Zp)(a)&&!(0,f.bl)(a))});J.meta={name:"getCanSeeThread",key:"createSelectorGetCanSeeThread",description:(e,{channelId:t})=>{let a=(0,S.OL)(e,t);return!((0,m.QR)(a)||(0,m.t8)(a)||(0,m.Zp)(a)&&!(0,f.bl)(a))}};let X=(0,g.Ay)((e,{channelId:t})=>J(e,{channelId:t}));X.meta={name:"getCanSeeCanvas",key:"createSelectorGetCanSeeCanvas",description:(e,{channelId:t})=>J(e,{channelId:t})};let ee=(0,g.Ay)((e,{huddleId:t})=>t?e?.huddlesCanvas?.byHuddleId?.[t]?.surface:null);ee.meta={name:"getHuddleSurface",key:"createSelectorGetHuddleSurface",description:(e,{huddleId:t})=>t?e?.huddlesCanvas?.byHuddleId?.[t]?.surface:null};let et=(0,g.Ay)((e,{huddleId:t})=>!t||ee(e,{huddleId:t})===p.yG.WINDOW_COMPACT);et.meta={name:"getIsCompactMode",key:"createSelectorGetIsCompactMode",description:(e,{huddleId:t})=>!t||ee(e,{huddleId:t})===p.yG.WINDOW_COMPACT};let ea=(0,g.Ay)((e,{huddleId:t})=>t?ee(e,{huddleId:t})||"huddle_miniplayer":null);ea.meta={name:"getHuddleViewMode",key:"createSelectorGetHuddleViewMode",description:(e,{huddleId:t})=>t?ee(e,{huddleId:t})||"huddle_miniplayer":null};let en=(0,g.Ay)(e=>e&&e.huddlesCanvas&&e.huddlesCanvas.huddleEducationPromptEntrypoint);en.meta={name:"getHuddleEducationPromptEntrypoint",key:"createSelectorGetHuddleEducationPromptEntrypoint",description:e=>e&&e.huddlesCanvas&&e.huddlesCanvas.huddleEducationPromptEntrypoint};let er=(0,g.Ay)((e,{huddleId:t,surface:a})=>t&&a?e?.huddlesCanvas?.byHuddleId?.[t]?.windowSizeBySurface?.[a]:null);er.meta={name:"getCachedHuddleWindowSizeBySurface",key:"createSelectorGetCachedHuddleWindowSizeBySurface",description:(e,{huddleId:t,surface:a})=>t&&a?e?.huddlesCanvas?.byHuddleId?.[t]?.windowSizeBySurface?.[a]:null};let ei=(0,g.Ay)((e,{huddleId:t})=>{let a=w(e,{huddleId:t});return a?.ts});ei.meta={name:"getThreadTs",key:"createSelectorGetThreadTs",description:(e,{huddleId:t})=>{let a=w(e,{huddleId:t});return a?.ts}};let eo=(0,g.Ay)((e,{huddleId:t})=>{let a=w(e,{huddleId:t}),n=(0,_.Iu)(a?.channelId,a?.ts);return a&&n?(0,y.tp)(e,n,a?.ts):null});eo.meta={name:"getThreadReplies",key:"createSelectorGetThreadReplies",description:(e,{huddleId:t})=>{let a=w(e,{huddleId:t}),n=(0,_.Iu)(a?.channelId,a?.ts);return a&&n?(0,y.tp)(e,n,a?.ts):null}};let es=(0,g.Ay)((e,{huddleId:t})=>{let a=eo(e,{huddleId:t});return a?.timestamps?.length??0});es.meta={name:"getThreadReplyCount",key:"createSelectorGetThreadReplyCount",description:(e,{huddleId:t})=>{let a=eo(e,{huddleId:t});return a?.timestamps?.length??0}};let el=(0,g.Ay)((e,{huddleId:t})=>{let a=w(e,{huddleId:t});if(!a)return null;let n=eo(e,{huddleId:t}),i=(0,T.nq)(e,{channelId:a?.channelId,ts:a?.ts});if(!i||!n)return null;let o=(0,r.A)(n.timestamps,i?.lastRead);return void 0===o||o<0||!n?null:(n?.timestamps||[]).length-o-1});el.meta={name:"getThreadUnreadCount",key:"createSelectorGetThreadUnreadCount",description:(e,{huddleId:t})=>{let a=w(e,{huddleId:t});if(!a)return null;let n=eo(e,{huddleId:t}),i=(0,T.nq)(e,{channelId:a?.channelId,ts:a?.ts});if(!i||!n)return null;let o=(0,r.A)(n.timestamps,i?.lastRead);return void 0===o||o<0||!n?null:(n?.timestamps||[]).length-o-1}};let ec=(0,g.Ay)((e,{huddleId:t})=>{let a=w(e,{huddleId:t});if(!a)return c.Ml;let n=eo(e,{huddleId:t}),l=(0,T.nq)(e,{channelId:a?.channelId,ts:a?.ts});if(!l||!n)return c.Ml;let d=(0,r.A)(n.timestamps,l?.lastRead);if(void 0===d||!n)return c.Ml;let u=(0,i.A)(n.timestamps,d+1).map(t=>{let n=(0,k.Ld)(e,a?.channelId,t);return n?.user});return 0===u.length?c.Ml:(0,o.A)((0,s.A)(u))});ec.meta={name:"getThreadUnreadMessagesSendersIds",key:"createSelectorGetThreadUnreadMessagesSendersIds",description:(e,{huddleId:t})=>{let a=w(e,{huddleId:t});if(!a)return c.Ml;let n=eo(e,{huddleId:t}),l=(0,T.nq)(e,{channelId:a?.channelId,ts:a?.ts});if(!l||!n)return c.Ml;let d=(0,r.A)(n.timestamps,l?.lastRead);if(void 0===d||!n)return c.Ml;let u=(0,i.A)(n.timestamps,d+1).map(t=>{let n=(0,k.Ld)(e,a?.channelId,t);return n?.user});return 0===u.length?c.Ml:(0,o.A)((0,s.A)(u))}};let ed=(0,g.Ay)((e,{huddleId:t,getSiblingView:a})=>{let n=w(e,{huddleId:t}),r=(0,_.Iu)(n?.channelId,n?.ts),i=a(e,{container:I.mq.Primary}),o=a(e,{container:I.mq.Secondary});return i?.id==="thread"&&i.params?.threadId===r||o?.id==="thread"&&o.params?.threadId===r});ed.meta={name:"getIsThreadOpenInFlexpane",key:"createSelectorGetIsThreadOpenInFlexpane",description:(e,{huddleId:t,getSiblingView:a})=>{let n=w(e,{huddleId:t}),r=(0,_.Iu)(n?.channelId,n?.ts),i=a(e,{container:I.mq.Primary}),o=a(e,{container:I.mq.Secondary});return i?.id==="thread"&&i.params?.threadId===r||o?.id==="thread"&&o.params?.threadId===r}};let eu=(0,g.Ay)((e,{huddleId:t,surface:a})=>{if(!t||!a)return!1;let n=e?.huddlesCanvas?.byHuddleId?.[t]?.tabStateBySurface?.[a];return a===p.yG.WINDOW_FULL&&(!n||void 0===n.areTabsOpen)||!!n?.areTabsOpen});eu.meta={name:"getAreTabsOpenForSurface",key:"createSelectorGetAreTabsOpenForSurface",description:(e,{huddleId:t,surface:a})=>{if(!t||!a)return!1;let n=e?.huddlesCanvas?.byHuddleId?.[t]?.tabStateBySurface?.[a];return a===p.yG.WINDOW_FULL&&(!n||void 0===n.areTabsOpen)||!!n?.areTabsOpen}};let em=(0,g.Ay)(e=>e?.huddlesCanvas?.canShowMutedBanner);em.meta={name:"getCanShowMutedBanner",key:"createSelectorGetCanShowMutedBanner",description:e=>e?.huddlesCanvas?.canShowMutedBanner};let ef=(0,g.Ay)(e=>e?.huddlesCanvas?.canShowSelfViewBanner);ef.meta={name:"getCanShowSelfViewBanner",key:"createSelectorGetCanShowSelfViewBanner",description:e=>e?.huddlesCanvas?.canShowSelfViewBanner};let e_=(0,g.Ay)(e=>e?.huddlesCanvas?.canShowTwoToFiveTimeLimitBanner);e_.meta={name:"getCanShowTwoToFiveTimeLimitBanner",key:"createSelectorGetCanShowTwoToFiveTimeLimitBanner",description:e=>e?.huddlesCanvas?.canShowTwoToFiveTimeLimitBanner};let ep=(0,g.Ay)(e=>e?.huddlesCanvas?.canShowHuddleSummaryNudgeBanner);ep.meta={name:"getCanShowHuddleSummaryNudgeBanner",key:"createSelectorGetCanShowHuddleSummaryNudgeBanner",description:e=>e?.huddlesCanvas?.canShowHuddleSummaryNudgeBanner};let eh=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]});eh.meta={name:"getHuddle",key:"createSelectorGetHuddle",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]}};let eg=(0,g.Ay)((e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.quipCommentThreadIdOrTs);eg.meta={name:"getNotesCommentTs",key:"createSelectorGetNotesCommentTs",description:(e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.quipCommentThreadIdOrTs};let eA=(0,g.Ay)((e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.highlightTs);eA.meta={name:"getNotesHighlightTs",key:"createSelectorGetNotesHighlightTs",description:(e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.highlightTs};let eb=(0,g.Ay)((e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.isCommentOpen);eb.meta={name:"getIsCommentOpen",key:"createSelectorGetIsCommentOpen",description:(e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.comment?.isCommentOpen};let ey=(0,g.Ay)(e=>e?.huddlesCanvas?.isScreenshareBeingInteractedWith);ey.meta={name:"getScreenshareInteractivity",key:"createSelectorGetScreenshareInteractivity",description:e=>e?.huddlesCanvas?.isScreenshareBeingInteractedWith},(0,g.Ay)((e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.attachedFileIds||[]).meta={name:"getAttachedFileIds",key:"createSelectorGetAttachedFileIds",description:(e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.attachedFileIds||[]};let eS=(0,g.Ay)((e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.flexpaneCusomViewInCompactMode??null);eS.meta={name:"getCustomViewOpenInCompactMode",key:"createSelectorGetCustomViewOpenInCompactMode",description:(e,{huddleId:t})=>e?.huddlesCanvas?.byHuddleId?.[t]?.flexpaneCusomViewInCompactMode??null};let eE=(0,g.Ay)((e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];return(0,E.i5)(e)?!!a?.activeRecordingType:a?.isRecordingTranscript});eE.meta={name:"getIsRecordingTranscript",key:"createSelectorGetIsRecordingTranscript",description:(e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];return(0,E.i5)(e)?!!a?.activeRecordingType:a?.isRecordingTranscript}};let ek=(0,g.Ay)((e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];if((0,E.i5)(e)){let e=a?.activeRecordingType;if(null!==e)return e===u.S.AI_NOTES||e===u.S.AI_NOTES_AND_TRANSCRIPT}return a?.isSummarizing});ek.meta={name:"getIsSummarizing",key:"createSelectorGetIsSummarizing",description:(e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];if((0,E.i5)(e)){let e=a?.activeRecordingType;if(null!==e)return e===u.S.AI_NOTES||e===u.S.AI_NOTES_AND_TRANSCRIPT}return a?.isSummarizing}};let eT=(0,g.Ay)((e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];if((0,E.i5)(e)){let e=a?.isRecordingPaused,t=a?.activeRecordingType;if(null!==t)return(t===u.S.AI_NOTES||t===u.S.AI_NOTES_AND_TRANSCRIPT)&&e}return a?.isSummarizingPaused});eT.meta={name:"getIsSummarizingPaused",key:"createSelectorGetIsSummarizingPaused",description:(e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t];if((0,E.i5)(e)){let e=a?.isRecordingPaused,t=a?.activeRecordingType;if(null!==t)return(t===u.S.AI_NOTES||t===u.S.AI_NOTES_AND_TRANSCRIPT)&&e}return a?.isSummarizingPaused}};let eI=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isRecordingPaused});eI.meta={name:"getIsRecordingPaused",key:"createSelectorGetIsRecordingPaused",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isRecordingPaused}};let ew=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.activeRecordingType??null});ew.meta={name:"getActiveRecordingType",key:"createSelectorGetActiveRecordingType",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.activeRecordingType??null}},(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isNoteTakingEnabled}).meta={name:"getIsNoteTakingEnabled",key:"createSelectorGetIsNoteTakingEnabled",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isNoteTakingEnabled}};let eC=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isLoungeMusicBannerDismissed});eC.meta={name:"getIsLoungeMusicBannerDismissed",key:"createSelectorGetIsLoungeMusicBannerDismissed",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isLoungeMusicBannerDismissed}};let ev=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.hasUserStoppedLoungeMusic});ev.meta={name:"getHasUserStoppedLoungeMusic",key:"createSelectorGetHasUserStoppedLoungeMusic",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.hasUserStoppedLoungeMusic}};let ex=(0,g.Ay)(e=>e?.huddlesCanvas?.miniplayerWidth);ex.meta={name:"getMiniplayerWidth",key:"createSelectorGetMiniplayerWidth",description:e=>e?.huddlesCanvas?.miniplayerWidth};let eR=(0,g.Ay)((e,{channelId:t})=>t&&e?.huddlesCanvas?.byChannelId[t]?.knockingUsers!==void 0?e?.huddlesCanvas?.byChannelId[t]?.knockingUsers:c.t0);eR.meta={name:"getKnockingUserIdsWithKnockState",key:"createSelectorGetKnockingUserIdsWithKnockState",description:(e,{channelId:t})=>t&&e?.huddlesCanvas?.byChannelId[t]?.knockingUsers!==void 0?e?.huddlesCanvas?.byChannelId[t]?.knockingUsers:c.t0};let eO=(0,g.Ay)((e,{channelId:t})=>t&&e?.huddlesCanvas?.byChannelId[t]?.ignoredKnockingUsers||c.Ml);eO.meta={name:"getIgnoredKnockingUsers",key:"createSelectorGetIgnoredKnockingUsers",description:(e,{channelId:t})=>t&&e?.huddlesCanvas?.byChannelId[t]?.ignoredKnockingUsers||c.Ml};let eN=(0,l.Mz)([eR,eO],(e,t)=>e===c.t0?c.Ml:Object.entries(e).filter(([e,t])=>t===d.Pending).map(([e])=>e).filter(e=>!t.includes(e))),eD=(0,l.Mz)([eR,eN],(e,t)=>t.length>0),eL=(0,g.Ay)((e,t)=>t&&e?.huddlesCanvas?.byChannelId[t]?.waitingKnockingUsers||c.Ml);eL.meta={name:"getWaitingKnockingUsers",key:"createSelectorGetWaitingKnockingUsers",description:(e,t)=>t&&e?.huddlesCanvas?.byChannelId[t]?.waitingKnockingUsers||c.Ml};let eM=(0,g.Ay)((e,{channelId:t})=>{if(t)return e?.huddlesCanvas?.byChannelId[t]?.credentials});eM.meta={name:"getKnockToEnterCredentials",key:"createSelectorGetKnockToEnterCredentials",description:(e,{channelId:t})=>{if(t)return e?.huddlesCanvas?.byChannelId[t]?.credentials}};let eF=(0,g.Ay)(e=>e?.huddlesCanvas?.isRequestingToJoinKnockToEnterHuddle);eF.meta={name:"getIsRequestingToJoinKnockToEnterHuddle",key:"createSelectorGetIsRequestingToJoinKnockToEnterHuddle",description:e=>e?.huddlesCanvas?.isRequestingToJoinKnockToEnterHuddle};let eP=(0,g.Ay)(e=>e?.huddlesCanvas?.hasUserStoppedLoungeMusicWhileRequestingToJoin);eP.meta={name:"getHasUserStoppedLoungeMusicWhileRequestingToJoin",key:"createSelectorGetHasUserStoppedLoungeMusicWhileRequestingToJoin",description:e=>e?.huddlesCanvas?.hasUserStoppedLoungeMusicWhileRequestingToJoin};let eU=(0,g.Ay)(e=>e?.huddlesCanvas?.userHasBeenAcceptedIntoKnockToEnterHuddle);eU.meta={name:"getHasUsersKnockToEnterRequestBeenAccepted",key:"createSelectorGetHasUsersKnockToEnterRequestBeenAccepted",description:e=>e?.huddlesCanvas?.userHasBeenAcceptedIntoKnockToEnterHuddle};let eB=(0,g.Ay)(e=>e?.huddlesCanvas?.usersKnockToEnterRequestExpired);eB.meta={name:"getHasUsersKnockToEnterRequestExpired",key:"createSelectorGetHasUsersKnockToEnterRequestExpired",description:e=>e?.huddlesCanvas?.usersKnockToEnterRequestExpired};let eG=(0,g.Ay)(e=>e?.huddlesCanvas?.knockToEnterRequestChannelId);eG.meta={name:"getKnockToEnterRequestChannelId",key:"createSelectorGetKnockToEnterRequestChannelId",description:e=>e?.huddlesCanvas?.knockToEnterRequestChannelId};let eH=(0,g.Ay)((e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.hasRequestingHuddleStarted||!1));eH.meta={name:"getHasKnockToEnterHuddleStarted",key:"createSelectorGetHasKnockToEnterHuddleStarted",description:(e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.hasRequestingHuddleStarted||!1)};let eW=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didShowRecordingLegalModal});eW.meta={name:"getDidShowRecordingLegalModalByHuddleId",key:"createSelectorGetDidShowRecordingLegalModalByHuddleId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didShowRecordingLegalModal}};let eV=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.shouldShowResumeRecordingLegalModal});eV.meta={name:"getShouldShowResumeRecordingLegalModalByHuddleId",key:"createSelectorGetShouldShowResumeRecordingLegalModalByHuddleId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.shouldShowResumeRecordingLegalModal}},(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didResumeRecording}).meta={name:"getDidResumedRecordingByHuddleId",key:"createSelectorGetDidResumedRecordingByHuddleId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didResumeRecording}},(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didShowCanvasButtonSummaryPrompt}).meta={name:"getDidShowCanvasButtonSummaryPromptByHuddleId",key:"createSelectorGetDidShowCanvasButtonSummaryPromptByHuddleId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didShowCanvasButtonSummaryPrompt}};let ej=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.pinnedHuddleParticipantIds});ej.meta={name:"getPinnedHuddleParticipantIds",key:"createSelectorGetPinnedHuddleParticipantIds",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.pinnedHuddleParticipantIds}};let eK=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isFloatingBannerExpanded});eK.meta={name:"getIsFloatingBannerExpandedByHuddleId",key:"createSelectorGetIsFloatingBannerExpandedByHuddleId",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.isFloatingBannerExpanded}};let eq=(0,g.Ay)((e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.isHuddleActive||!1));eq.meta={name:"getIsCalendarHuddleActive",key:"createSelectorGetIsCalendarHuddleActive",description:(e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.isHuddleActive||!1)};let ez=(0,g.Ay)((e,{channelId:t})=>{if(t)return e?.huddlesCanvas?.byChannelId[t]?.hostId||void 0});ez.meta={name:"getHostIdForCalendarHuddle",key:"createSelectorGetHostIdForCalendarHuddle",description:(e,{channelId:t})=>{if(t)return e?.huddlesCanvas?.byChannelId[t]?.hostId||void 0}};let e$=(0,g.Ay)((e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.isCalendarHuddle||!1));e$.meta={name:"getIsChannelIDCalendarHuddleFromPopulatedInfo",key:"createSelectorGetIsChannelIDCalendarHuddleFromPopulatedInfo",description:(e,{channelId:t})=>!!t&&(e?.huddlesCanvas?.byChannelId[t]?.isCalendarHuddle||!1)};let eY=(0,g.Ay)((e,t)=>e?.huddlesCanvas?.byChannelId[t]?.huddleAction);eY.meta={name:"getHuddleActionForCalendarHuddle",key:"createSelectorGetHuddleActionForCalendarHuddle",description:(e,t)=>e?.huddlesCanvas?.byChannelId[t]?.huddleAction};let eQ=(0,g.Ay)((e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t]?.locale;if(a&&(0,h.YI)(a))return a});eQ.meta={name:"getHuddleLocale",key:"createSelectorGetHuddleLocale",description:(e,{huddleId:t})=>{if(!t)return;let a=e?.huddlesCanvas?.byHuddleId[t]?.locale;if(a&&(0,h.YI)(a))return a}};let eZ=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didHuddleLocaleChange});eZ.meta={name:"getDidHuddleLocaleChange",key:"createSelectorGetDidHuddleLocaleChange",description:(e,{huddleId:t})=>{if(t)return e?.huddlesCanvas?.byHuddleId[t]?.didHuddleLocaleChange}};let eJ=(0,g.Ay)(e=>e.huddlesCanvas.aiNotesAutostartSettingChangedToast);eJ.meta={name:"getAiNotesAutostartSettingChangedToast",key:"createSelectorGetAiNotesAutostartSettingChangedToast",description:e=>e.huddlesCanvas.aiNotesAutostartSettingChangedToast};let eX=(0,g.Ay)(e=>e.huddlesCanvas.aiNotesAutostartErrorToastState);eX.meta={name:"getAiNotesAutostartErrorToastState",key:"createSelectorGetAiNotesAutostartErrorToastState",description:e=>e.huddlesCanvas.aiNotesAutostartErrorToastState};let e0=(0,g.Ay)(e=>e.huddlesCanvas.audioDetectionWasPerformed);e0.meta={name:"getAudioDetectionWasPerformed",key:"createSelectorGetAudioDetectionWasPerformed",description:e=>e.huddlesCanvas.audioDetectionWasPerformed};let e1=(0,g.Ay)(e=>e.huddlesCanvas.audioDetectionDeviceId);e1.meta={name:"getAudioDetectionDeviceId",key:"createSelectorGetAudioDetectionDeviceId",description:e=>e.huddlesCanvas.audioDetectionDeviceId};let e2=(0,g.Ay)((e,{huddleId:t})=>{if(t)return e.huddlesCanvas.byHuddleId[t]?.lastInviteStatusByUser});e2.meta={name:"getLastInviteStatusForUsers",key:"createSelectorGetLastInviteStatusForUsers",description:(e,{huddleId:t})=>{if(t)return e.huddlesCanvas.byHuddleId[t]?.lastInviteStatusByUser}};let e3=(0,l.Mz)(e2,e=>e?Object.entries(e).filter(([e,t])=>t===p.qt.Declined).map(([e])=>e):c.Ml),e4=(0,g.Ay)((e,{huddleId:t,userId:a})=>{let n=e2(e,{huddleId:t});return!!n&&!!a&&n[a]===p.qt.Declined});e4.meta={name:"getDeclinedInviteStatusForUserId",key:"createSelectorGetDeclinedInviteStatusForUserId",description:(e,{huddleId:t,userId:a})=>{let n=e2(e,{huddleId:t});return!!n&&!!a&&n[a]===p.qt.Declined}};let getIsInfoBannerActive=e=>e?.huddlesCanvas?.isInfoBannerActive??!1,getIsWarningBannerActive=e=>e?.huddlesCanvas?.isWarningBannerActive??!1,getIsTemporaryControlBannerActive=e=>e?.huddlesCanvas?.isTemporaryControlBannerActive??!1,e6=(0,l.Mz)(getIsInfoBannerActive,getIsWarningBannerActive,getIsTemporaryControlBannerActive,A.lL,(e,t,a,n)=>e||t||a||n),getShowAllMiniWindowToolbarButtons=e=>e?.huddlesCanvas?.showAllMiniWindowToolbarButtons??!0},0x1bc3b97c1:(e,t,a)=>{"use strict";a.d(t,{$Z:()=>p,Jc:()=>s,KG:()=>m,Ov:()=>u,RX:()=>l,Tp:()=>o,bT:()=>_,e$:()=>d,f$:()=>f,gc:()=>g,mr:()=>r,oz:()=>i,xb:()=>c,zI:()=>h});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert call object for huddle");r.meta={name:"upsertHuddle",key:"createActionUpsertHuddle",description:"Upsert call object for huddle"};let i=(0,n.Ay)("Upsert (merge) huddle-channel mappings");i.meta={name:"upsertActiveChannels",key:"createActionUpsertActiveChannels",description:"Upsert (merge) huddle-channel mappings"};let o=(0,n.Ay)("Set active channels");o.meta={name:"setActiveChannels",key:"createActionSetActiveChannels",description:"Set active channels"};let s=(0,n.Ay)("Set optimistic topic");s.meta={name:"setOptimisticTopic",key:"createActionSetOptimisticTopic",description:"Set optimistic topic"};let l=(0,n.Ay)("Set whether we should trigger the trial offer modal");l.meta={name:"setShouldOpenTrialOfferModal",key:"createActionSetShouldOpenTrialOfferModal",description:"Set whether we should trigger the trial offer modal"};let c=(0,n.Ay)("Set whether we should show the trial join alert");c.meta={name:"setShouldShowHuddleTrialJoinAlert",key:"createActionSetShouldShowHuddleTrialJoinAlert",description:"Set whether we should show the trial join alert"};let d=(0,n.Ay)("Set whether we should trigger the prefs modal");d.meta={name:"setShouldOpenPrefsModalForHuddle",key:"createActionSetShouldOpenPrefsModalForHuddle",description:"Set whether we should trigger the prefs modal"};let u=(0,n.Ay)("Set whether we should trigger the huddles invite modal, used in side effect");u.meta={name:"setShouldOpenInviteModal",key:"createActionSetShouldOpenInviteModal",description:"Set whether we should trigger the huddles invite modal, used in side effect"};let m=(0,n.Ay)("Set if the external user banner warning has been triggered");m.meta={name:"setTriggeredExternalUserWarning",key:"createActionSetTriggeredExternalUserWarning",description:"Set if the external user banner warning has been triggered"};let f=(0,n.Ay)("opens huddle schedule modal using the side effect");f.meta={name:"openHuddleScheduleModalUsingSideEffect",key:"createActionOpenHuddleScheduleModalUsingSideEffect",description:"opens huddle schedule modal using the side effect"};let _=(0,n.Ay)("Opens the huddle window");_.meta={name:"openHuddleWindowUsingSideEffect",key:"createActionOpenHuddleWindowUsingSideEffect",description:"Opens the huddle window"};let p=(0,n.Ay)("Opens multi device modal");p.meta={name:"openHuddleMultiDeviceModalUsingSideEffect",key:"createActionOpenHuddleMultiDeviceModalUsingSideEffect",description:"Opens multi device modal"};let h=(0,n.Ay)("Request to stop the active huddle");h.meta={name:"stopHuddleRequested",key:"createActionStopHuddleRequested",description:"Request to stop the active huddle"};let g=(0,n.Ay)("Opens the huddle invite+preview window");g.meta={name:"openHuddleInviteWithPreviewUsingSideEffect",key:"createActionOpenHuddleInviteWithPreviewUsingSideEffect",description:"Opens the huddle invite+preview window"}},0x7b0b485:(e,t,a)=>{"use strict";a.d(t,{$V:()=>y,Ae:()=>S,Ak:()=>d,Dk:()=>D,E9:()=>_,EG:()=>s,EO:()=>l,IV:()=>makeGetHuddleJoinPreviewIsMicrophoneEnabled,J0:()=>M,O5:()=>G,Of:()=>C,PZ:()=>O,Qn:()=>o,Rv:()=>N,S3:()=>U,WG:()=>A,WL:()=>i,_k:()=>v,aQ:()=>g,aS:()=>h,aU:()=>F,ad:()=>u,cN:()=>I,d4:()=>P,dX:()=>b,gM:()=>w,gW:()=>H,gj:()=>k,hc:()=>m,im:()=>W,j:()=>R,l4:()=>f,oK:()=>p,rJ:()=>makeGetHuddleJoinPreviewIsCameraEnabled,sQ:()=>L,vO:()=>c,wQ:()=>T,wf:()=>E,xH:()=>x,yE:()=>B});var n=a(0x1cf0d97e1),r=a(0x1b02505ff);let i=(0,n.Ay)((e,t)=>{let a=e.clientHuddles?.channelToJoinCredentials[t];if(a&&a.expiry>Date.now()&&a.fromInvite)return a});i.meta={name:"getMediaServerJoinCredentialsForChannel",key:"createSelectorGetMediaServerJoinCredentialsForChannel",description:(e,t)=>{let a=e.clientHuddles?.channelToJoinCredentials[t];if(a&&a.expiry>Date.now()&&a.fromInvite)return a}};let o=(0,n.Ay)(e=>e.clientHuddles?.mostRecentHuddle);o.meta={name:"getLastHuddleReference",key:"createSelectorGetLastHuddleReference",description:e=>e.clientHuddles?.mostRecentHuddle};let s=(0,n.Ay)(e=>{let{huddleState:t}=o(e)||{};return t||r.RJ.NOT_STARTED});s.meta={name:"getActualHuddleState",key:"createSelectorGetActualHuddleState",description:e=>{let{huddleState:t}=o(e)||{};return t||r.RJ.NOT_STARTED}};let l=(0,n.Ay)(e=>{let{huddleSubState:t}=o(e)||{};return t});l.meta={name:"getActualHuddleSubState",key:"createSelectorGetActualHuddleSubState",description:e=>{let{huddleSubState:t}=o(e)||{};return t}};let c=(0,n.Ay)(e=>{let{optimisticHuddleState:t}=o(e)||{};return t||s(e)});c.meta={name:"getOptimisticHuddleState",key:"createSelectorGetOptimisticHuddleState",description:e=>{let{optimisticHuddleState:t}=o(e)||{};return t||s(e)}};let d=(0,n.Ay)(e=>{let t=e.clientHuddles?.mostRecentHuddle?.huddleState;return!t||t===r.RJ.NOT_STARTED||t===r.RJ.PRE_JOINED||e.clientHuddles?.mostRecentHuddle?.isPrejoin?null:o(e)});d.meta={name:"getActiveHuddleReference",key:"createSelectorGetActiveHuddleReference",description:e=>{let t=e.clientHuddles?.mostRecentHuddle?.huddleState;return!t||t===r.RJ.NOT_STARTED||t===r.RJ.PRE_JOINED||e.clientHuddles?.mostRecentHuddle?.isPrejoin?null:o(e)}};let u=(0,n.Ay)(e=>!!d(e));u.meta={name:"hasActiveHuddleReference",key:"createSelectorHasActiveHuddleReference",description:e=>!!d(e)};let m=(0,n.Ay)(e=>d(e)?.channelId);m.meta={name:"getActiveHuddleChannelId",key:"createSelectorGetActiveHuddleChannelId",description:e=>d(e)?.channelId};let f=(0,n.Ay)(e=>d(e)?.teamId);f.meta={name:"getActiveHuddleTeamId",key:"createSelectorGetActiveHuddleTeamId",description:e=>d(e)?.teamId};let _=(0,n.Ay)(e=>d(e)?.callId);_.meta={name:"getActiveHuddleCallId",key:"createSelectorGetActiveHuddleCallId",description:e=>d(e)?.callId},(0,n.Ay)(e=>d(e)?.mediaService).meta={name:"getActiveHuddleMediaService",key:"createSelectorGetActiveHuddleMediaService",description:e=>d(e)?.mediaService};let p=(0,n.Ay)(e=>d(e)?.sessionId);p.meta={name:"getActiveHuddleSessionId",key:"createSelectorGetActiveHuddleSessionId",description:e=>d(e)?.sessionId};let h=(0,n.Ay)(e=>{let t=s(e);return c(e)===r.RJ.STARTED&&t!==r.RJ.STARTED});h.meta={name:"isOptimisticJoin",key:"createSelectorIsOptimisticJoin",description:e=>{let t=s(e);return c(e)===r.RJ.STARTED&&t!==r.RJ.STARTED}};let g=(0,n.Ay)(e=>e.clientHuddles?.activeInvite||null);g.meta={name:"getActiveInvite",key:"createSelectorGetActiveInvite",description:e=>e.clientHuddles?.activeInvite||null};let A=(0,n.Ay)((e,t)=>e.clientHuddles?.unreadInvites.filter(e=>e.invite.teamId===t));A.meta={name:"getUnreadInvitesForTeam",key:"createSelectorGetUnreadInvitesForTeam",description:(e,t)=>e.clientHuddles?.unreadInvites.filter(e=>e.invite.teamId===t)};let b=(0,n.Ay)(e=>e?.clientHuddles?.isHuddlesEnabled);b.meta={name:"isHuddlesEnabled",key:"createSelectorIsHuddlesEnabled",description:e=>e?.clientHuddles?.isHuddlesEnabled};let y=(0,n.Ay)(e=>{let t=s(e);return[r.RJ.SURVEY_GOOD,r.RJ.SURVEY].includes(t)});y.meta={name:"isDisplayingHuddleSurvey",key:"createSelectorIsDisplayingHuddleSurvey",description:e=>{let t=s(e);return[r.RJ.SURVEY_GOOD,r.RJ.SURVEY].includes(t)}};let S=(0,n.Ay)(e=>e.clientHuddles.forceMiniPanelVisible??!1);S.meta={name:"shouldForceMiniPanelVisible",key:"createSelectorShouldForceMiniPanelVisible",description:e=>e.clientHuddles.forceMiniPanelVisible??!1};let E=(0,n.Ay)(e=>{let{isSelfJoined:t}=o(e)||{};return t||!1});E.meta={name:"getIsSelfJoinedHuddle",key:"createSelectorGetIsSelfJoinedHuddle",description:e=>{let{isSelfJoined:t}=o(e)||{};return t||!1}};let k=(0,n.Ay)(e=>o(e)?.isPrejoin);k.meta={name:"isActiveHuddlePrejoin",key:"createSelectorIsActiveHuddlePrejoin",description:e=>o(e)?.isPrejoin},(0,n.Ay)(e=>e.clientHuddles.showDiscoveryBanner??!1).meta={name:"shouldShowDiscoveryBanner",key:"createSelectorShouldShowDiscoveryBanner",description:e=>e.clientHuddles.showDiscoveryBanner??!1};let T=(0,n.Ay)(e=>e.clientHuddles.isLoungeMusicPlaying);T.meta={name:"getIsLoungeMusicPlaying",key:"createSelectorGetIsLoungeMusicPlaying",description:e=>e.clientHuddles.isLoungeMusicPlaying};let I=(0,n.Ay)(e=>e.clientHuddles.lastStartTs||0);I.meta={name:"getLastHuddleStartTs",key:"createSelectorGetLastHuddleStartTs",description:e=>e.clientHuddles.lastStartTs||0},(0,n.Ay)(e=>e.clientHuddles.lastEndTs||0).meta={name:"getLastHuddleEndTs",key:"createSelectorGetLastHuddleEndTs",description:e=>e.clientHuddles.lastEndTs||0};let w=(0,n.Ay)(e=>e.clientHuddles.lastDurationTs||0);w.meta={name:"getLastHuddleDurationTs",key:"createSelectorGetLastHuddleDurationTs",description:e=>e.clientHuddles.lastDurationTs||0};let C=(0,n.Ay)(e=>e.clientHuddles.screenshareActivePanel);C.meta={name:"getScreenshareActivePanel",key:"createSelectorGetScreenshareActivePanel",description:e=>e.clientHuddles.screenshareActivePanel};let v=(0,n.Ay)(e=>e.clientHuddles.songPlaying||void 0);v.meta={name:"getSongPlaying",key:"createSelectorGetSongPlaying",description:e=>e.clientHuddles.songPlaying||void 0},(0,n.Ay)(e=>e.clientHuddles.jukeboxLocalVolume).meta={name:"getJukeboxLocalVolume",key:"createSelectorGetJukeboxLocalVolume",description:e=>e.clientHuddles.jukeboxLocalVolume};let x=(0,n.Ay)(e=>e.clientHuddles.canRenderActiveInviteCardInSidebar);x.meta={name:"getCanRenderActiveInviteCardInSidebar",key:"createSelectorGetCanRenderActiveInviteCardInSidebar",description:e=>e.clientHuddles.canRenderActiveInviteCardInSidebar},(0,n.Ay)(e=>e.clientHuddles.isHuddleWindowFocused).meta={name:"getIsHuddleWindowFocused",key:"createSelectorGetIsHuddleWindowFocused",description:e=>e.clientHuddles.isHuddleWindowFocused};let R=(0,n.Ay)(e=>e.clientHuddles.isHuddleWindowOpen);R.meta={name:"getIsHuddleWindowOpen",key:"createSelectorGetIsHuddleWindowOpen",description:e=>e.clientHuddles.isHuddleWindowOpen};let O=(0,n.Ay)(e=>e.clientHuddles.isHuddleMiniPlayerHidden);O.meta={name:"getIsHuddleMiniPlayerHidden",key:"createSelectorGetIsHuddleMiniPlayerHidden",description:e=>e.clientHuddles.isHuddleMiniPlayerHidden};let N=(0,n.Ay)(e=>e.clientHuddles.isAudioOnlyModeEnabled);N.meta={name:"getIsAudioOnlyModeEnabled",key:"createSelectorGetIsAudioOnlyModeEnabled",description:e=>e.clientHuddles.isAudioOnlyModeEnabled};let D=(0,n.Ay)(e=>e.clientHuddles.wasCameraEnabledWhenAudioOnlyModeWasActivated);D.meta={name:"getWasCameraEnabledWhenAudioOnlyModeWasActivated",key:"createSelectorGetWasCameraEnabledWhenAudioOnlyModeWasActivated",description:e=>e.clientHuddles.wasCameraEnabledWhenAudioOnlyModeWasActivated};let L=(0,n.Ay)(e=>e.clientHuddles.wasJoinedFromPrejoin);L.meta={name:"getWasHuddleJoinedFromPrejoin",key:"createSelectorGetWasHuddleJoinedFromPrejoin",description:e=>e.clientHuddles.wasJoinedFromPrejoin},(0,n.Ay)(e=>u(e)&&!O(e)).meta={name:"getIsHuddleActiveAndMiniPlayerVisible",key:"createSelectorGetIsHuddleActiveAndMiniPlayerVisible",description:e=>u(e)&&!O(e)};let M=(0,n.Ay)(e=>e.clientHuddles.huddleJoinPreviewChannelId);M.meta={name:"getHuddleJoinPreviewChannelId",key:"createSelectorGetHuddleJoinPreviewChannelId",description:e=>e.clientHuddles.huddleJoinPreviewChannelId};let F=(0,n.Ay)(e=>e.clientHuddles.huddleJoinPreviewBackgroundEffect);F.meta={name:"getHuddleJoinPreviewBackgroundEffect",key:"createSelectorGetHuddleJoinPreviewBackgroundEffect",description:e=>e.clientHuddles.huddleJoinPreviewBackgroundEffect};let P=(0,n.Ay)(e=>e.clientHuddles.huddleJoinPreviewBackgroundBlurIsEnabled);P.meta={name:"getHuddleJoinPreviewBlurIsEnabled",key:"createSelectorGetHuddleJoinPreviewBlurIsEnabled",description:e=>e.clientHuddles.huddleJoinPreviewBackgroundBlurIsEnabled};let U=(0,n.Ay)(e=>e.clientHuddles.isHuddlesBottomBarVisible);U.meta={name:"getIsHuddlesBottomBarVisible",key:"createSelectorGetIsHuddlesBottomBarVisible",description:e=>e.clientHuddles.isHuddlesBottomBarVisible};let B=(0,n.Ay)(e=>e.clientHuddles.wasHuddleJoinedFromInviteWindow);B.meta={name:"getWasHuddleJoinedFromInviteWindow",key:"createSelectorGetWasHuddleJoinedFromInviteWindow",description:e=>e.clientHuddles.wasHuddleJoinedFromInviteWindow};let G=(0,n.Ay)(e=>{let t=e.clientHuddles.huddleJoinPreviewChannelId;if(!t||m(e)!==t)return!1;let a=s(e);return[r.RJ.STARTING,r.RJ.PENDING,r.RJ.COMPLETING_PRE_JOIN].includes(a)});G.meta={name:"getShouldUsePreviewButtons",key:"createSelectorGetShouldUsePreviewButtons",description:e=>{let t=e.clientHuddles.huddleJoinPreviewChannelId;if(!t||m(e)!==t)return!1;let a=s(e);return[r.RJ.STARTING,r.RJ.PENDING,r.RJ.COMPLETING_PRE_JOIN].includes(a)}};let H=(0,n.Ay)((e,{channelId:t})=>!!t&&(e.clientHuddles?.previewDeviceStateByChannelId[t]?.previewMicrophoneIsEnabled||!1));H.meta={name:"getHuddleJoinPreviewIsMicrophoneEnabled",key:"createSelectorGetHuddleJoinPreviewIsMicrophoneEnabled",description:(e,{channelId:t})=>!!t&&(e.clientHuddles?.previewDeviceStateByChannelId[t]?.previewMicrophoneIsEnabled||!1)};let makeGetHuddleJoinPreviewIsMicrophoneEnabled=e=>(0,n.Ay)(t=>!!e&&(t.clientHuddles?.previewDeviceStateByChannelId[e]?.previewMicrophoneIsEnabled||!1));(0,n.Ay)((e,{channelId:t})=>!!t&&(e.clientHuddles?.previewDeviceStateByChannelId[t]?.previewCameraIsEnabled||!1)).meta={name:"getHuddleJoinPreviewIsCameraEnabled",key:"createSelectorGetHuddleJoinPreviewIsCameraEnabled",description:(e,{channelId:t})=>!!t&&(e.clientHuddles?.previewDeviceStateByChannelId[t]?.previewCameraIsEnabled||!1)};let makeGetHuddleJoinPreviewIsCameraEnabled=e=>(0,n.Ay)(t=>!!e&&(t.clientHuddles?.previewDeviceStateByChannelId[e]?.previewCameraIsEnabled||!1)),W=(0,n.Ay)(e=>e.clientHuddles.isHuddleWindowResizing);W.meta={name:"getIsHuddleWindowResizing",key:"createSelectorGetIsHuddleWindowResizing",description:e=>e.clientHuddles.isHuddleWindowResizing}},0xd89e183d:(e,t,a)=>{"use strict";a.d(t,{GD:()=>h,Ss:()=>p});var n=a(0xf2e7528e),r=a(0x16475a65c),i=a(0xca924ee1),o=a(0xd3c3edea),s=a(0x1a8cc04e1),l=a(0x15f4f83cf),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x222719d7),m=a(0x1266f1359),f=a(0x1bc3b97c1);let _=(0,c.Ay)("Upsert partial objects for huddles and calls",(e,t,{huddles:a=[],missingIds:r=[]})=>{let i=t(),o=(0,d.ZT)(i),s={},l=[...r];a.forEach(({channel_id:e,call_id:t,active_members:a,dropped_members:r})=>{t&&(s[t]={id:t,channels:[e],activeParticipants:(0,n.A)(a,r).map(e=>({slackId:e})),allParticipants:(a||[]).map(e=>({slackId:e})),hasEnded:!1,isHuddle:!0,dateStart:0,isDmCall:!1}),l.push(e)}),e((0,u.e4)(s)),e((0,f.oz)(a.map(({channel_id:e,call_id:t,room_id:a})=>({channelId:e,callId:t,roomId:a})).concat(r.map(e=>({channelId:e}))))),h().markObjectsAsFresh(o,l)});function fetchHuddlesByChannelIdsForTeamId(e,t){return(0,o.jL)(e,{channelIds:t}).then(({objects:e=[],failedIds:a=[],invalidIds:n=[]})=>{let r={};return t.forEach(e=>{r[e]={id:e,channel_id:e}}),a.forEach(e=>{delete r[e]}),n.forEach(e=>{delete r[e]}),e.forEach(e=>{r[e.channel_id]={...e,id:e.channel_id}}),Object.values(r)})}function upsertKnownHuddlesForTeamId(e,t){return(0,m.Qw)(e,_({huddles:t}))}function upsertNonExistentHuddlesForTeamId(e,t){return(0,m.Qw)(e,_({missingIds:t.map(({id:e})=>e)}))}function fetchAndUpsertHuddlesForTeamId(e,t){return(0,o.jL)(e,{channelIds:t}).then(({failedIds:a=[],invalidIds:i=[],objects:o=[]})=>{let s=(0,r.A)(t,o.map(({channel_id:e})=>e));return(0,m.Qw)(e,_({missingIds:(0,n.A)(s,a,i),huddles:o}))})}_.meta={name:"upsertHuddleAndCallObjects",key:"createThunkUpsertHuddleAndCallObjects",description:"Upsert partial objects for huddles and calls"};let p=(0,i.A)(()=>new l.Ay({fetch:fetchHuddlesByChannelIdsForTeamId,upsertKnown:upsertKnownHuddlesForTeamId,upsertNonExistent:upsertNonExistentHuddlesForTeamId})),h=(0,i.A)(()=>new s.Ay({storeKey:"huddles",fetch:fetchAndUpsertHuddlesForTeamId,isEnabled:()=>!0}))},0xf9cb31c6:(e,t,a)=>{"use strict";a.d(t,{$A:()=>isHuddlesLinkV2Enabled,CJ:()=>isHuddleDataRefreshOnWakeEnabled,D0:()=>isHuddlesUnifiedLayoutEnabled,DR:()=>isHuddlesSalesEffectsEnabled,EQ:()=>isStandaloneHuddlesCopyLinkExperimentEnabled,Ew:()=>isHuddlesUpdatedCameraErrorsEnabled,Ex:()=>isHuddleBackgroundPickerEnabled,Ey:()=>isHuddlesEffectsVol2Enabled,Gh:()=>shouldExpectHuddleAv1EncoderFreeze,Gm:()=>isHuddlesJukeboxPianoConcertoSongEnabled,H0:()=>isHuddlePreviewCameraAutoOnEnabled,Ie:()=>isHuddlesStatusUltraEnabled,Ig:()=>isHuddlesJitEnabled,Ju:()=>isHuddlesWinterExperimentEnabled,MJ:()=>isHuddlesLaterExperimentEnabled,Ms:()=>isHuddleDiscoveryCallsExperimentEnabled,NX:()=>isHuddlesDualUDPSupportEnabled,OV:()=>isCallsChimeSdkExpEnabled,Om:()=>isHuddlesBigVideoEnabled,Q8:()=>isHuddlesSpooktoberExperimentEnabled,Qq:()=>isHuddlePreWarmed,R9:()=>isCalendarHuddlesAutoRecordEnabled,Rk:()=>isHuddlesCalendarJoinPreviewEnabled,SG:()=>isHuddlesJitDecoupleActivityEnabled,Si:()=>isHuddlesInviteModalFreemiumImprovementsEnabled,TM:()=>isRespectMemberWorkspaceHuddlePrefsEnabled,TT:()=>isHuddlesJitFeV2Enabled,Uj:()=>isHuddlesScreensharePermissionHandlingV2Enabled,Uy:()=>isHuddlesPageAiSummaryEnabled,Wj:()=>isHuddlesLiteModeEnabled,Xo:()=>isHuddlesScreenshare2025Enabled,Z0:()=>isHuddlesMissedNotificationEnabled,ZN:()=>isHuddlesPreviewV2Enabled,a$:()=>isStandaloneHuddlesZChannelExperimentEnabled,aM:()=>isHuddleChannelTabEnabled,az:()=>isHuddlesShowBadQualitySurveyEnabled,e0:()=>isIntelligentUplinkCoordinatorEnabled,e9:()=>isHuddlesLinksAutoinvitesExperimentEnabled,er:()=>isHuddlesH264BaselineEnabled,fs:()=>isHuddlesSwitchMicrophoneHelperEnabled,gG:()=>isHuddlesAwarenessTimestampEnabled,i5:()=>isHuddlesTranscriptModernizationEnabled,jF:()=>isHuddleFileTilesEnabled,jN:()=>isHuddlesUpdatedAudioDetectionTriggerEnabled,kP:()=>isHuddlesUseUDPPort3478Enabled,kg:()=>isHideSuggestedHuddlesEnabled,l0:()=>isHuddlesSurveyMaxFrequencyEnabled,lH:()=>isHuddlesVp9Disabled,lV:()=>isHuddlesMusicExperimentEnabled,mY:()=>isHuddlesVoiceFocusSwapEnabled,mj:()=>isHuddlesLinksAutoinviteEnabled,nC:()=>isIncreaseHuddlesMaxParticipantsEnabled,nL:()=>isHuddlesNoiseSuppressionAwarenessEnabled,oB:()=>isHuddlesNetworkConnectionBannersEnabled,pA:()=>isHuddlesSVCEnabled,pL:()=>isHuddlesMultiDeviceExperimentEnabled,pT:()=>isHuddlesNativeDeviceCallOnEmptyDevicesEnabled,pd:()=>isHuddlesNewDeviceAPIEnabled,q3:()=>isHuddlesDevicePreferredLabelEnabled,qh:()=>isHuddlesVersionWarningBannersEnabled,td:()=>isHuddlesSurveyScreenshareOptionEnabled,tu:()=>isHuddlesAlertDeviceWarningUpdatesEnabled,uF:()=>isHuddlesExactDeviceIdConstraintEnabled,uW:()=>isHuddlesEnumerateDevicesRetryEnabled,uc:()=>isHuddlesCustomDownlinkPolicyEnabled,xK:()=>isTranscribeOptInEnabled,yc:()=>isHuddlesAVButtonPermissionHandlingEnabled});var n=a(0x14149c126);let isCallsChimeSdkExpEnabled=e=>"enabled"===(0,n._Z)(e,"calls_chime_sdk_exp"),isHuddleDiscoveryCallsExperimentEnabled=e=>"treatment"===(0,n._Z)(e,"huddles_discovery_calls"),isHuddlesAwarenessTimestampEnabled=e=>"on"===(0,n._Z)(e,"huddles_awareness_timestamp"),isHuddlesStatusUltraEnabled=e=>"on"===(0,n._Z)(e,"huddles_status_ultra"),isHuddlesMusicExperimentEnabled=e=>"on"===(0,n._Z)(e,"huddles_music"),isHuddlesSpooktoberExperimentEnabled=e=>"on"===(0,n._Z)(e,"huddles_spooktober"),isHuddlesWinterExperimentEnabled=e=>"on"===(0,n._Z)(e,"huddles_winter"),isStandaloneHuddlesZChannelExperimentEnabled=e=>"on"===(0,n._Z)(e,"standalone_huddles_zchannel"),isCalendarHuddlesAutoRecordEnabled=e=>"on"===(0,n._Z)(e,"calendar_huddles_auto_record"),isStandaloneHuddlesCopyLinkExperimentEnabled=e=>"on"===(0,n._Z)(e,"standalone_huddles_copy_link"),isHuddlesLinksAutoinvitesExperimentEnabled=e=>"on"===(0,n._Z)(e,"huddles_links_autoinvite"),isHuddlesLaterExperimentEnabled=e=>"on"===(0,n._Z)(e,"huddles_later"),isHuddlesInviteModalFreemiumImprovementsEnabled=e=>"on"===(0,n._Z)(e,"huddles_invite_modal_freemium_improvements"),isHuddleFileTilesEnabled=e=>"on"===(0,n._Z)(e,"cuddes_file_tile"),isHuddlesMultiDeviceExperimentEnabled=e=>"treatment"===(0,n._Z)(e,"huddles_multi_device"),isHuddlesLinksAutoinviteEnabled=e=>"on"===(0,n._Z)(e,"huddles_links_autoinvite"),isHuddlesSalesEffectsEnabled=e=>"on"===(0,n._Z)(e,"huddles_sales_effects"),isHuddlesEffectsVol2Enabled=e=>"on"===(0,n._Z)(e,"huddles_effects_vol_2"),isHuddlePreWarmed=e=>"on"===(0,n._Z)(e,"prewarmed_huddles"),isHuddlesVp9Disabled=e=>"on"===(0,n._Z)(e,"huddles_disable_vp9"),isHuddlesH264BaselineEnabled=e=>"on"===(0,n._Z)(e,"huddles_h264_baseline"),shouldExpectHuddleAv1EncoderFreeze=e=>"on"===(0,n._Z)(e,"huddles_ignore_av1_freeze"),isHuddlesSurveyMaxFrequencyEnabled=e=>"on"===(0,n._Z)(e,"huddles_survey_frequency_max"),isIncreaseHuddlesMaxParticipantsEnabled=e=>"on"===(0,n._Z)(e,"increase_huddles_max_participants"),isRespectMemberWorkspaceHuddlePrefsEnabled=e=>"on"===(0,n._Z)(e,"respect_member_workspace_huddle_prefs"),isHuddlesLinkV2Enabled=e=>"on"===(0,n._Z)(e,"huddles_link_v2"),isHuddlesMissedNotificationEnabled=e=>"on"===(0,n._Z)(e,"huddles_missed_notification"),isHuddlesPageAiSummaryEnabled=e=>"on"===(0,n._Z)(e,"huddles_page_ai_summary"),isHuddlesCalendarJoinPreviewEnabled=e=>"on"===(0,n._Z)(e,"huddles_calendar_join_preview"),isHuddlesVersionWarningBannersEnabled=e=>"on"===(0,n._Z)(e,"huddles_version_warning_banners"),isHuddlesUpdatedCameraErrorsEnabled=e=>"on"===(0,n._Z)(e,"huddles_updated_camera_errors"),isHuddlesShowBadQualitySurveyEnabled=e=>"treatment"===(0,n._Z)(e,"huddles_show_bad_quality_survey"),isHuddleBackgroundPickerEnabled=e=>"on"===(0,n._Z)(e,"huddle_background_picker"),isHuddlesSwitchMicrophoneHelperEnabled=e=>"on"===(0,n._Z)(e,"huddles_switch_microphone_helper"),isHuddlesJitEnabled=e=>"on"===(0,n._Z)(e,"huddles_jit"),isHuddlesJitFeV2Enabled=e=>"on"===(0,n._Z)(e,"huddles_jit_fe_v2"),isHuddlesJitDecoupleActivityEnabled=e=>"on"===(0,n._Z)(e,"huddles_jit_decouple_activity"),isHuddlesJukeboxPianoConcertoSongEnabled=e=>"on"===(0,n._Z)(e,"huddles_piano_concerto_jukebox_song"),isTranscribeOptInEnabled=e=>"on"===(0,n._Z)(e,"transcribe_opt_in"),isHuddlesSVCEnabled=e=>"treatment"===(0,n._Z)(e,"huddles_svc"),isHuddlesCustomDownlinkPolicyEnabled=e=>"on"===(0,n._Z)(e,"huddles_custom_downlink_policy"),isHuddlesScreensharePermissionHandlingV2Enabled=e=>"on"===(0,n._Z)(e,"huddles_screenshare_permission_handling_v2"),isHuddlesLiteModeEnabled=e=>"on"===(0,n._Z)(e,"huddles_lite_mode"),isHuddlesExactDeviceIdConstraintEnabled=e=>"on"===(0,n._Z)(e,"huddles_exact_device_id_constraint"),isHuddlesUpdatedAudioDetectionTriggerEnabled=e=>"on"===(0,n._Z)(e,"huddles_updated_audio_detection_trigger"),isHuddlesNetworkConnectionBannersEnabled=e=>"on"===(0,n._Z)(e,"huddles_network_connection_banners"),isHuddlesPreviewV2Enabled=e=>"on"===(0,n._Z)(e,"huddles_preview_v2"),isHuddlesBigVideoEnabled=e=>"on"===(0,n._Z)(e,"huddles_big_video"),isHuddlesAlertDeviceWarningUpdatesEnabled=e=>"on"===(0,n._Z)(e,"huddles_alert_device_warning_updates"),isHuddlesScreenshare2025Enabled=e=>"on"===(0,n._Z)(e,"huddles_screenshare_2025"),isHuddlesAVButtonPermissionHandlingEnabled=e=>"on"===(0,n._Z)(e,"huddles_av_button_permission_handling"),isHuddlesUseUDPPort3478Enabled=e=>"on"===(0,n._Z)(e,"huddles_use_udp_port_3478"),isHuddleChannelTabEnabled=e=>"on"===(0,n._Z)(e,"huddle_channel_tab"),isHuddlesNewDeviceAPIEnabled=e=>"on"===(0,n._Z)(e,"huddles_new_device_api"),isHuddlesDualUDPSupportEnabled=e=>"on"===(0,n._Z)(e,"huddles_dual_udp_support"),isHuddleDataRefreshOnWakeEnabled=e=>"on"===(0,n._Z)(e,"huddle_data_refresh_on_wake"),isHuddlesEnumerateDevicesRetryEnabled=e=>"on"===(0,n._Z)(e,"huddles_enumerate_devices_retry"),isHuddlesTranscriptModernizationEnabled=e=>"on"===(0,n._Z)(e,"huddles_transcript_modernization"),isHuddlesNativeDeviceCallOnEmptyDevicesEnabled=e=>"on"===(0,n._Z)(e,"huddles_native_device_call_on_empty_devices"),isIntelligentUplinkCoordinatorEnabled=e=>"on"===(0,n._Z)(e,"huddles_intelligent_uplink_coordinator"),isHuddlesDevicePreferredLabelEnabled=e=>"on"===(0,n._Z)(e,"huddles_device_preferred_label"),isHuddlesVoiceFocusSwapEnabled=e=>"on"===(0,n._Z)(e,"huddles_voice_focus_swap"),isHideSuggestedHuddlesEnabled=e=>"on"===(0,n._Z)(e,"hide_suggested_huddles"),isHuddlesUnifiedLayoutEnabled=e=>"on"===(0,n._Z)(e,"huddles_unified_layout"),isHuddlesNoiseSuppressionAwarenessEnabled=e=>"on"===(0,n._Z)(e,"huddles_noise_suppression_awareness"),isHuddlePreviewCameraAutoOnEnabled=e=>"on"===(0,n._Z)(e,"huddle_preview_camera_auto_on"),isHuddlesSurveyScreenshareOptionEnabled=e=>"on"===(0,n._Z)(e,"huddles_survey_screenshare_option")},0x150cda8e5:(e,t,a)=>{"use strict";a.d(t,{A:()=>d,T:()=>c});var n=a(0xcea97afd),r=a(0x7d48dd65),i=a(0xe874a88a),o=a(0x1df96de4c);let s=(0,a(0x11c82607b).Ay)("Check if users in a channel can join huddle",(e,t,{ids:a})=>i.S.map(a,e=>({id:e,disabledUserIds:o.Ml})).then(e=>(0,r.A)(e)));s.meta={name:"fetchObjects",key:"createThunkFetchObjects",description:"Check if users in a channel can join huddle"};let{reducer:l,selectors:c}=(0,n.A)({storeKey:"huddleCanJoin",persistenceEnabled:!0},{fetchObjects:s}),d=l},0x21c11a1dc:(e,t,a)=>{"use strict";a.d(t,{A7:()=>eD,Cd:()=>eq,E$:()=>eS,Ej:()=>eP,Es:()=>eJ,IH:()=>e2,J0:()=>eQ,JC:()=>eK,LY:()=>eO,P_:()=>eM,Pu:()=>eX,Sk:()=>e1,Sx:()=>ed,Tj:()=>e$,Tm:()=>eG,UK:()=>ew,UR:()=>eZ,Yw:()=>em,_5:()=>eh,cJ:()=>ey,dy:()=>eI,eP:()=>eF,ft:()=>eN,g1:()=>eH,hz:()=>ev,iG:()=>eV,id:()=>eb,it:()=>eL,jP:()=>ez,jg:()=>eT,l:()=>eg,nz:()=>eC,oC:()=>eW,oG:()=>eR,qr:()=>e0,rk:()=>e_,sl:()=>ef,tI:()=>ep,wQ:()=>eE,xx:()=>eA,z3:()=>eY});var n=a(0x21f3c49e8),r=a(0x658a411c),i=a(0x839ba347),o=a(0x206c7a40f),s=a(0x2416351a6),l=a(0x7d48dd65),c=a(0x1feee1711),d=a(0xd4e00a1e),u=a(0xe0376d2),m=a(0x9e671ad),f=a(0x17294c72a),_=a(0xb77a689a),p=a(0x18f2150ea),h=a(0xc9c97240),g=a(0x4f6e90b4),A=a(0xbe0b63ff),b=a(0x20b4dda68),y=a(0x1df96de4c),S=a(0x6b4903c1),E=a(0x1ec69ee01),k=a(0x12185e091),T=a(0x6b35329),I=a(0xf159cb74),w=a(0x76ad3aef),C=a(0x6f213e53),v=a(0x245dcaf6b),x=a(0x21dd74f4c),R=a(0xf6ed6f31),O=a(0xc1963a64),N=a(0x19c76507b),D=a(0x23255e234),L=a(0x143fb6398),M=a(0x1b154a8c4),F=a(0x5738b4bc),P=a(0x49e911f4),U=a(0xc67f3d80),B=a(0x1cf0d97e1),G=a(0x147fb8c90),H=a(0x8baf11b5),W=a(0x9b971e7e),V=a(0x1ccef1c6f),j=a(0x222719d7),K=a(0x167b46d0f),q=a(0x691ce3ab),z=a(0xdf55e8f3),$=a(0x20c23cf7a),Y=a(0x19c76d181),Q=a(0x217553e42),Z=a(0x7b0b485),J=a(0xd89e183d),X=a(0xf9cb31c6),ee=a(0x150cda8e5),et=a(0x6be705ab),ea=a(0xe684f705),en=a(0x12d2784bc),er=a(0x1ee439e69);let ei=.2,eo=0,es=0,el=.2,ec=(0,h.Mz)(e=>e.peers.byId,e=>(0,n.A)(e)?y.Ml:Object.values(e)),ed=(0,h.Mz)(ec,e=>e.length),eu=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,q.Ry)();if((0,Z.hc)(a)===t){let e=(0,Z.E9)(a);if(e)return e}let n=(0,W.ZT)(e),r=e.huddles.activeChannels[t];if(!n)return null;void 0===r&&(0,J.Ss)().fetchObjectWithId(n,t);let i=r?.callId;return i?((0,J.GD)().maybeRefetch(n,t),i):null});eu.meta={name:"getCallIdForChannelId",key:"createSelectorGetCallIdForChannelId",description:(e,t)=>{if(!t)return null;let a=(0,q.Ry)();if((0,Z.hc)(a)===t){let e=(0,Z.E9)(a);if(e)return e}let n=(0,W.ZT)(e),r=e.huddles.activeChannels[t];if(!n)return null;void 0===r&&(0,J.Ss)().fetchObjectWithId(n,t);let i=r?.callId;return i?((0,J.GD)().maybeRefetch(n,t),i):null}};let getClientStoreActiveHuddleChannelId=()=>{let e=(0,q.Ry)();return(0,Z.hc)(e)},em=(0,B.Ay)((e,t)=>{let a=eu(e,t);if(!a)return null;let n=(0,j.H6)(e,a),r=n?.activeParticipants;return r&&r.length>0?n:null});em.meta={name:"getActiveHuddleByChannelId",key:"createSelectorGetActiveHuddleByChannelId",description:(e,t)=>{let a=eu(e,t);if(!a)return null;let n=(0,j.H6)(e,a),r=n?.activeParticipants;return r&&r.length>0?n:null}};let ef=(0,B.Ay)((e,t)=>{if(!t)return!1;let a=em(e,t);return!!a?.id});ef.meta={name:"getChannelHasActiveHuddle",key:"createSelectorGetChannelHasActiveHuddle",description:(e,t)=>{if(!t)return!1;let a=em(e,t);return!!a?.id}};let e_=(0,B.Ay)((e,t)=>{if(!t)return y.Ml;let a=em(e,t),n=a?.activeParticipants;return n&&(!n||n.length)?n:y.Ml});e_.meta={name:"getHuddleActiveParticipants",key:"createSelectorGetHuddleActiveParticipants",description:(e,t)=>{if(!t)return y.Ml;let a=em(e,t),n=a?.activeParticipants;return n&&(!n||n.length)?n:y.Ml}};let ep=(0,B.Ay)((e,t)=>e_(e,t).some(t=>t.slackId&&(0,N.i)(e,t.slackId)));ep.meta={name:"getDoesHuddleHaveExternalUsers",key:"createSelectorGetDoesHuddleHaveExternalUsers",description:(e,t)=>e_(e,t).some(t=>t.slackId&&(0,N.i)(e,t.slackId))};let eh=(0,h.Mz)(j.H6,e=>{if(!e)return y.Ml;let t=e?.activeParticipants;if(!t||t&&!t.length)return y.Ml;let a=[];return t.forEach(e=>{(0,U.MZ)(e)&&a.push(e.slackId)}),a}),eg=(0,h.Mz)(j.H6,e=>{if(!e)return y.Ml;let t=e?.activeParticipants;if(!t||t&&!t.length)return y.Ml;let a=[];return t.forEach(e=>{(0,U.MZ)(e)||a.push(e.displayName)}),a}),eA=(0,h.Mz)(j.H6,e=>{if(!e)return y.Ml;let t=e?.allParticipants;if(!t||t&&!t.length)return y.Ml;let a=[];return t.forEach(e=>{(0,U.MZ)(e)&&a.push(e.slackId)}),a}),eb=(0,h.Mz)(j.H6,e=>{if(!e)return y.Ml;let t=e?.allParticipants;if(!t||t&&!t.length)return y.Ml;let a=[];return t.forEach(e=>{(0,U.MZ)(e)||a.push(e.displayName)}),a}),ey=(0,B.Ay)((e,t)=>{let a=(0,Y.WR)(e),n=em(e,t);return!!(n&&(0,r.A)(n?.activeParticipants,e=>(0,U.MZ)(e)&&e.slackId===a))});ey.meta={name:"isCurrentUserInActiveHuddle",key:"createSelectorIsCurrentUserInActiveHuddle",description:(e,t)=>{let a=(0,Y.WR)(e),n=em(e,t);return!!(n&&(0,r.A)(n?.activeParticipants,e=>(0,U.MZ)(e)&&e.slackId===a))}};let eS=(0,B.Ay)((e,t)=>{if(!t)return!1;let a=(0,Y.WR)(e),n=(0,j.H6)(e,t);return!!(n&&(0,r.A)(n?.activeParticipants,e=>(0,U.MZ)(e)&&e.slackId===a))});eS.meta={name:"isCurrentUserInActiveHuddleByCallId",key:"createSelectorIsCurrentUserInActiveHuddleByCallId",description:(e,t)=>{if(!t)return!1;let a=(0,Y.WR)(e),n=(0,j.H6)(e,t);return!!(n&&(0,r.A)(n?.activeParticipants,e=>(0,U.MZ)(e)&&e.slackId===a))}};let eE=(0,B.Ay)((e,t)=>{let a=em(e,t);return(a&&a.activeParticipants||[]).filter(a=>{let n=(0,U.MZ)(a),r=n&&(0,en.Sv)(e,t,a.slackId);return n&&r&&r?.isKnown&&!r?.isMember})});eE.meta={name:"getMembersOfHuddleNotInChannel",key:"createSelectorGetMembersOfHuddleNotInChannel",description:(e,t)=>{let a=em(e,t);return(a&&a.activeParticipants||[]).filter(a=>{let n=(0,U.MZ)(a),r=n&&(0,en.Sv)(e,t,a.slackId);return n&&r&&r?.isKnown&&!r?.isMember})}};let ek=(0,B.Ay)(e=>e.huddles.activeChannels);ek.meta={name:"getAllActiveHuddles",key:"createSelectorGetAllActiveHuddles",description:e=>e.huddles.activeChannels};let eT=(0,h.Mz)(ek,j.ag,getClientStoreActiveHuddleChannelId,()=>{let e=(0,q.Ry)();return(0,Z.E9)(e)},(e,t,a,n)=>{let r={};return(0,i.A)((0,o.A)(e,s.A),e=>{if(!e)return;let i=a===e.channelId?n:e.callId;if(!i)return;let o=t?.[i];o?.activeParticipants&&o.activeParticipants.length>0&&(r[e.channelId]=e)}),r}),eI=(0,B.Ay)(e=>e.huddles.optimisticTopic);eI.meta={name:"getOptimisticTopic",key:"createSelectorGetOptimisticTopic",description:e=>e.huddles.optimisticTopic};let ew=(0,h.Mz)([ec],e=>{let t=(0,l.A)(e,({isConnected:e})=>!(0,c.A)(e));return(0,n.A)(t)?y.Ml:t}),eC=(0,h.Mz)([ew],e=>(0,n.A)(e)?y.Ml:e.map(e=>(0,d.A)(e,["id","userId","isCameraEnabled"]))),ev=(0,B.Ay)((e,t)=>t?(0,K.O5)({id:t})?e.peers.self:(0,n.A)(e.peers.byId)?void 0:e.peers.byId[t]:void 0);ev.meta={name:"getPeerById",key:"createSelectorGetPeerById",description:(e,t)=>t?(0,K.O5)({id:t})?e.peers.self:(0,n.A)(e.peers.byId)?void 0:e.peers.byId[t]:void 0};let ex=(0,B.Ay)(e=>{let t=ew(e).map(e=>e.userId);return(0,ea.gA)(e,t)});ex.meta={name:"getAllMembers",key:"createSelectorGetAllMembers",description:e=>{let t=ew(e).map(e=>e.userId);return(0,ea.gA)(e,t)}};let eR=(0,B.Ay)((e,t)=>{let a=em(e,t);return(a&&a.activeParticipants||[]).length});eR.meta={name:"getActiveHuddleParticipantCountByChannelId",key:"createSelectorGetActiveHuddleParticipantCountByChannelId",description:(e,t)=>{let a=em(e,t);return(a&&a.activeParticipants||[]).length}};let eO=(0,B.Ay)((e,t)=>{let a=(0,q.Ry)(),{channelId:n}=(0,Z.Ak)(a)||{},r=(0,Z.$V)(a);return n!==t||r?eR(e,t):(ew(e)||[]).length+1});eO.meta={name:"getActiveMemberCountByChannelId",key:"createSelectorGetActiveMemberCountByChannelId",description:(e,t)=>{let a=(0,q.Ry)(),{channelId:n}=(0,Z.Ak)(a)||{},r=(0,Z.$V)(a);return n!==t||r?eR(e,t):(ew(e)||[]).length+1}};let eN=(0,B.Ay)((e,t,a)=>{let n=(0,q.Ry)(),{channelId:r}=(0,Z.Ak)(n)||{},i=(0,Z.$V)(n),o=(0,Y.WR)(e);if(r===t&&!i){let t=[...ex(e)];return a||t.push((0,ea.nv)(e,o)),t}let s=em(e,t),l=s&&s.activeParticipants||[];if(!l.length)return y.Ml;let c=l.map(t=>(0,ea.nv)(e,t.slackId??""));return a&&(c=c.filter(e=>e.id!==o)),c});eN.meta={name:"getActiveMembersByChannelId",key:"createSelectorGetActiveMembersByChannelId",description:(e,t,a)=>{let n=(0,q.Ry)(),{channelId:r}=(0,Z.Ak)(n)||{},i=(0,Z.$V)(n),o=(0,Y.WR)(e);if(r===t&&!i){let t=[...ex(e)];return a||t.push((0,ea.nv)(e,o)),t}let s=em(e,t),l=s&&s.activeParticipants||[];if(!l.length)return y.Ml;let c=l.map(t=>(0,ea.nv)(e,t.slackId??""));return a&&(c=c.filter(e=>e.id!==o)),c}};let eD=(0,h.Mz)((e,t,a)=>eN(e,t,a),e=>(0,n.A)(e)?y.Ml:e.map(e=>e.id)),eL=(0,h.Mz)((e,t)=>em(e,t),e=>e?e.canvasThreadTs??null:null),eM=(0,B.Ay)((e,t)=>t?(0,j.H6)(e,t):null);eM.meta={name:"getHuddleByCallId",key:"createSelectorGetHuddleByCallId",description:(e,t)=>t?(0,j.H6)(e,t):null};let eF=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.channels[0]});eF.meta={name:"getHuddleChannelByCallId",key:"createSelectorGetHuddleChannelByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.channels[0]}};let eP=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.name});eP.meta={name:"getHuddleNameByCallId",key:"createSelectorGetHuddleNameByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.name}};let eU=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.dateStart});eU.meta={name:"getHuddleDateStartByCallId",key:"createSelectorGetHuddleDateStartByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.dateStart}};let eB=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.dateEnd});eB.meta={name:"getHuddleDateEndByCallId",key:"createSelectorGetHuddleDateEndByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.dateEnd}};let eG=(0,z.jB)((e,t)=>{if(!t)return y.t0;let a=eU(e,t);if(!a)return y.t0;let n=eB(e,t),r=Math.floor((n?n-a:Math.max(Math.floor(Date.now()/1e3)-a,0))/60);return{hours:Math.floor(r/60),minutes:r}}),eH=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.recording?.summary});eH.meta={name:"getHuddleHasRecordingSummaryByCallId",key:"createSelectorGetHuddleHasRecordingSummaryByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.recording?.summary}};let eW=(0,B.Ay)((e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.recording?.canRecordSummary});eW.meta={name:"getCanRecordSummaryByCallId",key:"createSelectorGetCanRecordSummaryByCallId",description:(e,t)=>{if(!t)return null;let a=(0,j.H6)(e,t);return a?.recording?.canRecordSummary}};let eV=(0,B.Ay)((e,t)=>{let a=ee.T.getObjectById(e,t);return(0,A.uz)(a)?a.disabledUserIds:y.Ml});eV.meta={name:"getHuddlesDisabledUserIdsByChannelId",key:"createSelectorGetHuddlesDisabledUserIdsByChannelId",description:(e,t)=>{let a=ee.T.getObjectById(e,t);return(0,A.uz)(a)?a.disabledUserIds:y.Ml}};let ej=(0,B.Ay)(e=>{let t=(0,et.FP)(e),a=(0,et.m)(e);return!!(0,X.az)(e)&&!!t&&!!a&&(t.isDisconnected||t.isMicrophoneBlocked||t.isCameraBlocked||t.isMicrophoneNotSendingAudio||a.isAudioQualityPoor||a.isNetworkQualityPoor||a.isCpuCompetitionPoor)});ej.meta={name:"shouldShowBadHuddleSurvey",key:"createSelectorShouldShowBadHuddleSurvey",description:e=>{let t=(0,et.FP)(e),a=(0,et.m)(e);return!!(0,X.az)(e)&&!!t&&!!a&&(t.isDisconnected||t.isMicrophoneBlocked||t.isCameraBlocked||t.isMicrophoneNotSendingAudio||a.isAudioQualityPoor||a.isNetworkQualityPoor||a.isCpuCompetitionPoor)}};let eK=(0,h.Mz)([ej],e=>e?S.AJ.HuddleSurveyBadHuddleDetected:S.AJ.HuddleSurvey),eq=(0,B.Ay)(e=>{let t=(0,q.Ry)(),a=new Date().toISOString(),n=(0,X.l0)(e),r=(0,Z.gM)(t),i=ej(e),o=(0,V.ok)(e),s=new Date(a).getTime()-new Date(o||null).getTime(),l=new URLSearchParams(window.location.search);return"1"===l.get("force_huddle_survey")||"0"!==l.get("force_huddle_survey")&&!(r<15e3)&&(!!i||(n?s>0&&1>Math.random():!(s<eo)&&Math.random()<ei))});eq.meta={name:"shouldDisplayHuddleSurvey",key:"createSelectorShouldDisplayHuddleSurvey",description:e=>{let t=(0,q.Ry)(),a=new Date().toISOString(),n=(0,X.l0)(e),r=(0,Z.gM)(t),i=ej(e),o=(0,V.ok)(e),s=new Date(a).getTime()-new Date(o||null).getTime(),l=new URLSearchParams(window.location.search);return"1"===l.get("force_huddle_survey")||"0"!==l.get("force_huddle_survey")&&!(r<15e3)&&(!!i||(n?s>0&&1>Math.random():!(s<eo)&&Math.random()<ei))}},(0,B.Ay)(e=>!!e.huddles.shouldShowHuddleTrialJoinAlert).meta={name:"getShouldShowHuddleTrialJoinAlert",key:"createSelectorGetShouldShowHuddleTrialJoinAlert",description:e=>!!e.huddles.shouldShowHuddleTrialJoinAlert};let ez=(0,B.Ay)(e=>{let t=(0,q.Ry)(),a=(0,Z.aQ)(t);if(!a)return null;let n=(0,W.ZT)(e);return a.teamId!==n?null:a});ez.meta={name:"getActiveInviteForCurrentTeam",key:"createSelectorGetActiveInviteForCurrentTeam",description:e=>{let t=(0,q.Ry)(),a=(0,Z.aQ)(t);if(!a)return null;let n=(0,W.ZT)(e);return a.teamId!==n?null:a}};let e$=(0,z.jB)(e=>{let t=eT(e),a=ez(e),n={};return Object.keys(t).length?((0,i.A)(t,t=>{t?.channelId&&(a?.callId&&a.callId===t?.callId||(0,R.bl)((0,Q.OL)(e,t.channelId)))&&(n[t.channelId]=t)}),n):y.t0}),eY=(0,z.jB)(e=>{let t=e$(e);if(null===t)return y.t0;let a={};return Object.keys(t).forEach(n=>{let r=t[n];null===r||null===r.channelId||(0,H.B)(e,r.channelId)||(a[n]=t[n])}),a}),eQ=(0,B.Ay)(e=>!(!(0,$.Vf)(e)||(0,P.DM)(e)));eQ.meta={name:"getIsAiHuddleSummaryAllowed",key:"createSelectorGetIsAiHuddleSummaryAllowed",description:e=>!(!(0,$.Vf)(e)||(0,P.DM)(e))};let eZ=(0,B.Ay)(e=>{let t=getClientStoreActiveHuddleChannelId(),a=(0,Q.OL)(e,t);if((0,L.ju)(a)){let t=(0,u.A)([(0,w.j)(a)??(0,I.c)(a),(0,er.H7)(e).id,...(0,T.A)(e,a)]);return t.length>1&&!(0,m.A)((0,f.A)([b.kp,b.uh]),(0,f.A)(t))}return!1});eZ.meta={name:"getIsAiHuddleSummaryDisabledForSlackConnect",key:"createSelectorGetIsAiHuddleSummaryDisabledForSlackConnect",description:e=>{let t=getClientStoreActiveHuddleChannelId(),a=(0,Q.OL)(e,t);if((0,L.ju)(a)){let t=(0,u.A)([(0,w.j)(a)??(0,I.c)(a),(0,er.H7)(e).id,...(0,T.A)(e,a)]);return t.length>1&&!(0,m.A)((0,f.A)([b.kp,b.uh]),(0,f.A)(t))}return!1}};let eJ=(0,B.Ay)(e=>eN(e,getClientStoreActiveHuddleChannelId()).some(e=>(0,D.P)(e)));eJ.meta={name:"getIsAiHuddleSummaryDisabledWithGuests",key:"createSelectorGetIsAiHuddleSummaryDisabledWithGuests",description:e=>eN(e,getClientStoreActiveHuddleChannelId()).some(e=>(0,D.P)(e))},Object.defineProperty({HUDDLE_SURVEY_INTERVAL:eo,HUDDLE_SURVEY_PROBABILITY:ei},"HUDDLE_SURVEY_PROBABILITY",{get:()=>ei,set:e=>{ei=e}}),(0,g.ul)("huddlesSurvey",{showSurvey:()=>{ei=1,eo=1},resetShowSurvey:()=>{eo=es,ei=el},getSurveyProbability:()=>ei,getSurveyInterval:()=>eo});let eX=(0,B.Ay)(e=>{let t=ez(e);if(t)return t.channelId;let a=Object.values(eT(e)).filter(t=>{if(!t)return!1;let a=(0,Q.OL)(e,t.channelId);return!!t&&(0,_.A)(t.callId)&&(0,_.A)(t.channelId)&&(0,R.bl)((0,Q.OL)(e,t.channelId))&&!(0,H.B)(e,t.channelId)&&(0,A.uz)(a)&&!(0,O.V)(e,a)&&!(0,x.G)(e,a.id)&&((0,k.cb)(a)||(0,F.E)(e,a.id))&&!(0,E.bU)(a)&&!(0,C.F)(a)&&!(0,v.Zz)(a)&&!(0,M.M)(a)&&!(0,E.dq)(e,a)});if(0===a.length)return null;let n=(0,q.Ry)(),r=(0,Z.E9)(n);if(r){let e=a.find(e=>e.callId===r);if(e)return e.channelId}let i=a[0],o=eU(e,i.callId);for(let t of a.slice(1)){let a=eU(e,t.callId);(0,p.A)(a)&&(!(0,p.A)(o)||a<o)&&(i=t,o=a)}return i.channelId});eX.meta={name:"getChannelIdForHuddleLinkFacepile",key:"createSelectorGetChannelIdForHuddleLinkFacepile",description:e=>{let t=ez(e);if(t)return t.channelId;let a=Object.values(eT(e)).filter(t=>{if(!t)return!1;let a=(0,Q.OL)(e,t.channelId);return!!t&&(0,_.A)(t.callId)&&(0,_.A)(t.channelId)&&(0,R.bl)((0,Q.OL)(e,t.channelId))&&!(0,H.B)(e,t.channelId)&&(0,A.uz)(a)&&!(0,O.V)(e,a)&&!(0,x.G)(e,a.id)&&((0,k.cb)(a)||(0,F.E)(e,a.id))&&!(0,E.bU)(a)&&!(0,C.F)(a)&&!(0,v.Zz)(a)&&!(0,M.M)(a)&&!(0,E.dq)(e,a)});if(0===a.length)return null;let n=(0,q.Ry)(),r=(0,Z.E9)(n);if(r){let e=a.find(e=>e.callId===r);if(e)return e.channelId}let i=a[0],o=eU(e,i.callId);for(let t of a.slice(1)){let a=eU(e,t.callId);(0,p.A)(a)&&(!(0,p.A)(o)||a<o)&&(i=t,o=a)}return i.channelId}};let e0=(0,B.Ay)(e=>(0,G.G2)(e,"huddle__start")&&(0,G.Ck)(e)?.huddle_limit==="thirty_mins");e0.meta={name:"getIsHuddlesTimeLimitEnforced",key:"createSelectorGetIsHuddlesTimeLimitEnforced",description:e=>(0,G.G2)(e,"huddle__start")&&(0,G.Ck)(e)?.huddle_limit==="thirty_mins"};let e1=(0,B.Ay)(e=>(0,G.G2)(e,"canvas_huddle__create"));e1.meta={name:"getIsCanvasHuddleCreateEnabled",key:"createSelectorGetIsCanvasHuddleCreateEnabled",description:e=>(0,G.G2)(e,"canvas_huddle__create")};let e2=(0,B.Ay)(e=>!!e.huddles?.triggeredExternalUserWarning);e2.meta={name:"getTriggeredExternalUserWarning",key:"createSelectorGetTriggeredExternalUserWarning",description:e=>!!e.huddles?.triggeredExternalUserWarning}},0x1b02505ff:(e,t,a)=>{"use strict";a.d(t,{J_:()=>c,M6:()=>u,RJ:()=>l,dJ:()=>matchesHuddleTerminalState,ok:()=>m,su:()=>d});var n,r,i,o,s,l=((n={}).NOT_STARTED="NOT_STARTED",n.STARTING="STARTING",n.PENDING="PENDING",n.STARTED="STARTED",n.ENDING="ENDING",n.SURVEY="SURVEY",n.SURVEY_GOOD="SURVEY_GOOD",n.PRE_JOINED="PRE_JOINED",n.COMPLETING_PRE_JOIN="COMPLETING_PRE_JOIN",n),c=((r={}).INITIAL_ALONE="INITIAL_ALONE",r.INITIAL_ALONE_NOTICE_ACTIVE="INITIAL_ALONE_NOTICE_ACTIVE",r.INITIAL_ALONE_NOTICE_DISMISSED="INITIAL_ALONE_NOTICE_DISMISSED",r.IN_PROGRESS_TOGETHER="IN_PROGRESS_TOGETHER",r.IN_PROGRESS_ALONE="IN_PROGRESS_ALONE",r.IN_PROGRESS_ALONE_NOTICE_ACTIVE="IN_PROGRESS_ALONE_NOTICE_ACTIVE",r.IN_PROGRESS_ALONE_NOTICE_DISMISSED="IN_PROGRESS_ALONE_NOTICE_DISMISSED",r),d=((i={}).UNKNOWN="unknown",i.SIDEBAR_CHANNEL_HUDDLE_FOOTER="sidebar_channel_huddle_footer",i.SIDEBAR_HUDDLE_INVITE="sidebar_huddle_invite",i.HUDDLE_MESSAGE_TEXT_LINK="huddle_message_text_link",i.HUDDLE_MESSAGE_BUTTON="huddle_message_button",i.MESSAGE_MENU_START_HUDDLE_IN_THREAD="message_menu_start_huddle_in_thread",i.SHORTCUTS_JOIN_HUDDLE="shortcuts_join_huddle",i.MESSAGE_ATTACHMENT_HUDDLE_LINK="message_mattachment_huddle_link",i.CHANNEL_HEADER_HUDDLE_BUTTON="channel_header_huddle_button",i.CHANNEL_HEADER_HUDDLE_MENU="channel_header_huddle_menu",i.CHANNEL_ABOUT_MODAL_HEADER_CALL_BUTTON="channel_about_modal_header_call_button",i.CHANNEL_ABOUT_MODAL_HUDDLE_SETTINGS="channel_about_modal_huddle_settings",i.KEYBOARD_SHORTCUT_JOIN_HUDDLE="keyboard_shortcut_join_huddle",i.SOLUTIONS_ONBOARDING_HUDDLE_CARD="solutions_onboarding_huddle_card",i.COMPOSER_HUDDLE_START="composer_huddle_start",i.HUDDLE_INVITE_WINDOW="huddle_invite_window",i.HUDDLE_LINK_CONFIRMATION_MODAL="huddle_link_confirmation_modal",i.PUSH_NOTIFICATION="push-notification",i.TRIAL_JOIN="trial-join",i.CREATE_NEW_MPIM="create_new_mpim",i.QUIP_HUDDLE_EMBED_BUTTON="quip_huddle_embed_button",i.HUDDLE_STATUS_BUTTON="huddle_status_button",i.SOLUTION_GUIDE="solution_guide",i.MEMBER_CARD_HUDDLE_BUTTON="member_card_huddle_button",i.MEMBER_PROFILE_HUDDLE_BUTTON="member_profile_huddle_button",i.HUDDLES_PAGE_LIVE_HUDDLE_CARD="huddles_page_live_huddle_card",i.HUDDLES_PAGE_HISTORY_MENU="huddles_page_history_menu",i.HUDDLES_PAGE_SUGGESTED_HUDDLE_CARD="huddles_page_suggested_huddle_card",i.HUDDLES_PAGE_CALENDAR_GRID_EVENT="huddles_page_calendar_grid_event",i.HUDDLES_PAGE_CALENDAR_GRID_EVENT_HOVER_DETAILS="huddles_page_calendar_grid_event_hover_details",i.HUDDLES_PAGE_CALENDAR_MEETING_DETAILS="huddles_page_calendar_meeting_details",i.TODAY_EVENT_JOIN_BUTTON="today_event_join_button",i.OMNISWITCHER="omniswitcher",i.DECORATE_GENERAL_RANDOM_HUDDLE_COACHMARK="decorate_general_random_huddle_coachmark",i.SOLUTIONS_ONBOARDING_HUDDLE_COACHMARK="solutions_onboarding_huddle_coachmark",i),u=((o={}).ChannelNotFound="channel_not_found",o.InvalidChannelId="invalid_channel_id",o.RoomsNotFound="not_found",o.PermissionDenied="permission_denied",o.MaxParticipants="room_max_participants",o.FreemiumMaxParticipants="freemium_max_participants",o.CreateMeetingError="create_meeting_failed",o.HuddleAlreadyInProgress="huddle_already_in_progress",o.Timeout="timeout",o.HuddleGenericError="HuddleGenericError",o.AudioJoinedFromAnotherDevice="AudioJoinedFromAnotherDevice",o.ChimeMeetingEnded="ChimeMeetingEnded",o.ClientUIError="ClientUIError",o.AudioInputStreamEnded="AudioInputStreamEnded",o.DeviceLocked="DeviceLocked",o.FailedStartingRecording="FailedStartingRecording",o.FailedStartingRecordingUser="FailedStartingRecordingUser",o.FailedResumingRecording="FailedResumingRecording",o.FailedResumingRecordingUser="FailedResumingRecordingUser",o.FailedPausingRecording="FailedPausingRecording",o.FailedDeletingRecording="FailedDeletingRecording",o.GenericSomethingWentWrong="GenericSomethingWentWrong",o),m=((s={}).HUDDLE="huddle",s.HUDDLE_RECOMMEND="huddle-recommend",s);let f=Object.values(u),matchesHuddleTerminalState=e=>!!e&&f.includes(e)},0x13d894892:(e,t,a)=>{"use strict";a.d(t,{I:()=>isHuddlesEnabledForSponsoredChannel,s:()=>isHuddlesEnabledForSponsoredTeam});var n=a(0xca924ee1),r=a(0x12185e091),i=a(0x143fb6398),o=a(0xa1832ae4),s=a(0x217553e42),l=a(0x1f4ce396),c=a(0x1ee439e69);let d=(0,n.A)((e,t)=>(0,o.tc)(e)&&t?.some(e=>(0,i.ju)(e)&&!(0,r.JM)(e))),isHuddlesEnabledForSponsoredTeam=e=>d((0,c.H7)(e),(0,s.DM)(e)),isHuddlesEnabledForSponsoredChannel=(e,t)=>{let a=(0,c.H7)(e);return!!t&&(0,o.tc)(a)&&(0,l.dE)(e,t)}},0x6be705ab:(e,t,a)=>{"use strict";a.d(t,{$i:()=>m,Eh:()=>c,FP:()=>g,Ku:()=>b,Tz:()=>S,Wf:()=>h,Wg:()=>u,Z8:()=>l,_R:()=>d,cB:()=>_,gA:()=>y,h:()=>p,m:()=>A,qV:()=>f});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0x167b46d0f),o=a(0x1bc4b3ad8),s=a(0x2431c415c);let l=3,c=(0,r.Ay)(e=>e.huddleTroubleshooting.view.activeAccordionView);c.meta={name:"getTroubleshootingPanelActiveAccordionView",key:"createSelectorGetTroubleshootingPanelActiveAccordionView",description:e=>e.huddleTroubleshooting.view.activeAccordionView};let d=(0,r.Ay)(e=>e.huddleTroubleshooting.view.source);d.meta={name:"getTroubleshootingPanelSource",key:"createSelectorGetTroubleshootingPanelSource",description:e=>e.huddleTroubleshooting.view.source};let u=(0,r.Ay)(e=>e.huddleTroubleshooting.view.activePillPage);u.meta={name:"getTroubleshootingPillPageTrace",key:"createSelectorGetTroubleshootingPillPageTrace",description:e=>e.huddleTroubleshooting.view.activePillPage};let m=(0,r.Ay)(e=>e.huddleTroubleshooting.view.source?e.huddleTroubleshooting.view.openCounter:-1);m.meta={name:"getTroubleshootingSessionCounterIdTrace",key:"createSelectorGetTroubleshootingSessionCounterIdTrace",description:e=>e.huddleTroubleshooting.view.source?e.huddleTroubleshooting.view.openCounter:-1};let f=(0,r.Ay)(e=>e.huddleTroubleshooting.view.entryPoint);f.meta={name:"getTroubleshootingEntryPointTrace",key:"createSelectorGetTroubleshootingEntryPointTrace",description:e=>e.huddleTroubleshooting.view.entryPoint},(0,r.Ay)(e=>e.huddleTroubleshooting.view.alertCount>=l).meta={name:"shouldDisplaySupportLink",key:"createSelectorShouldDisplaySupportLink",description:e=>e.huddleTroubleshooting.view.alertCount>=l},(0,r.Ay)(e=>e.huddleTroubleshooting.metrics.stable).meta={name:"getStableMetrics",key:"createSelectorGetStableMetrics",description:e=>e.huddleTroubleshooting.metrics.stable};let _=(0,r.Ay)(e=>e.huddleTroubleshooting.metrics.unstable);_.meta={name:"getUnstableMetrics",key:"createSelectorGetUnstableMetrics",description:e=>e.huddleTroubleshooting.metrics.unstable};let p=(0,r.Ay)(e=>e.huddleTroubleshooting.warnings.stable);p.meta={name:"getStableWarnings",key:"createSelectorGetStableWarnings",description:e=>e.huddleTroubleshooting.warnings.stable};let h=(0,r.Ay)(e=>e.huddleTroubleshooting.warnings.unstable);h.meta={name:"getUnstableWarnings",key:"createSelectorGetUnstableWarnings",description:e=>e.huddleTroubleshooting.warnings.unstable};let g=(0,r.Ay)(e=>e.huddleTroubleshooting.alerts.stable);g.meta={name:"getStableAlerts",key:"createSelectorGetStableAlerts",description:e=>e.huddleTroubleshooting.alerts.stable};let A=(0,r.Ay)(e=>e.huddleTroubleshooting.alerts.unstable);A.meta={name:"getUnstableAlerts",key:"createSelectorGetUnstableAlerts",description:e=>e.huddleTroubleshooting.alerts.unstable};let b=(0,o.F)(e=>g(e)||n.t0,e=>A(e)||n.t0,e=>p(e)||n.t0,(e,t,a)=>{let{isMicrophoneBlocked:n,isCameraBlocked:r,isDisconnected:i,isMicrophoneNotSendingAudio:o,isPowerThrottlingActive:l}=e,{isAudioQualityPoor:c,isCpuCompetitionPoor:d,isNetworkQualityPoor:u,networkQualityHealth:m}=t,{isSpeakerBluetooth:f,isHardwareAccelerationDisabled:_}=a,p=!!(c&&(d||l)),h=!!(f&&c||r||n||o),g=!!(c&&u||p||r||n||o||i);return{shouldSurfaceGeneralWarning:g,shouldSurfaceSystemWarning:p,shouldSurfaceDevicesWarning:h,aggregateNetworkHealth:c||i?s.bz.Bad:m,aggregateSystemHealth:d||l||_?s.bz.Warn:s.bz.Good}}),y=(0,o.F)(i.Ng,i.nt,(e,t)=>{let{isCameraEnabled:a}=e;return!!(a||t)}),S=(0,r.Ay)(e=>e.huddleTroubleshooting.view.openToSection);S.meta={name:"getTroubleshootingOpenToSection",key:"createSelectorGetTroubleshootingOpenToSection",description:e=>e.huddleTroubleshooting.view.openToSection}},0x2431c415c:(e,t,a)=>{"use strict";a.d(t,{ML:()=>s,bz:()=>l,pK:()=>o});var n,r,i,o=((n={}).Network="network",n.System="system",n.Devices="devices",n.Overview="overview",n),s=((r={}).EnlargedWindow="EnlargedWindow",r.CompactWindow="CompactWindow",r.MiniPlayer="MiniPlayer",r),l=((i={}).Good="good",i.Warn="warn",i.Bad="bad",i)},0x1026e1982:(e,t,a)=>{"use strict";a.d(t,{JG:()=>i,Si:()=>o,kM:()=>s,nb:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Adds a history entry to the stack");r.meta={name:"pushHistoryEntry",key:"createActionPushHistoryEntry",description:"Adds a history entry to the stack"};let i=(0,n.Ay)("Removes a history entry from the stack");i.meta={name:"removeHistoryEntry",key:"createActionRemoveHistoryEntry",description:"Removes a history entry from the stack"};let o=(0,n.Ay)("Removes all history entries from the stack");o.meta={name:"removeAllHistoryEntries",key:"createActionRemoveAllHistoryEntries",description:"Removes all history entries from the stack"};let s=(0,n.Ay)("Clears history stack synchronously (use removeAllHistoryEntries if you want to clear entry items in the UI)");s.meta={name:"deleteHistoryStack",key:"createActionDeleteHistoryStack",description:"Clears history stack synchronously (use removeAllHistoryEntries if you want to clear entry items in the UI)"}},0x1259cddb7:(e,t,a)=>{"use strict";a.d(t,{t:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.iaHistory?.stack);n.meta={name:"getIAHistory",key:"createSelectorGetIAHistory",description:e=>e?.iaHistory?.stack}},0x8cb4303a:(e,t,a)=>{"use strict";a.d(t,{NL:()=>u,bz:()=>c});var n=a(0x21d2920f),r=a(0x1e2051844),i=a(0x7d48dd65),o=a(0x8a1c321f),s=a(0x1cf0d97e1);let l=(0,s.Ay)(e=>e&&e.idpGroups?(0,n.A)(e.idpGroups):[]);l.meta={name:"getAllIdpGroups",key:"createSelectorGetAllIdpGroups",description:e=>e&&e.idpGroups?(0,n.A)(e.idpGroups):[]};let c=(0,s.Ay)((e,t)=>{let a=l(e);return!!a&&!!a.length&&!!(0,r.A)(a,e=>(0,o.o)(e,t))});c.meta={name:"isMemberInAnyIdpGroups",key:"createSelectorIsMemberInAnyIdpGroups",description:(e,t)=>{let a=l(e);return!!a&&!!a.length&&!!(0,r.A)(a,e=>(0,o.o)(e,t))}};let d=(0,s.Ay)((e,t)=>{let a=l(e);return a&&a.length?(0,i.A)(a,e=>(0,o.o)(e,t)):[]});d.meta={name:"getIdpGroupsForMember",key:"createSelectorGetIdpGroupsForMember",description:(e,t)=>{let a=l(e);return a&&a.length?(0,i.A)(a,e=>(0,o.o)(e,t)):[]}};let u=(0,s.Ay)((e,t)=>{let a=d(e,t);return!!(0,r.A)(a,{auto_provision:!0})});u.meta={name:"isMemberInRequiredIdpGroup",key:"createSelectorIsMemberInRequiredIdpGroup",description:(e,t)=>{let a=d(e,t);return!!(0,r.A)(a,{auto_provision:!0})}}},0x13654559a:(e,t,a)=>{"use strict";a.d(t,{$W:()=>c,$o:()=>g,Am:()=>p,At:()=>Y,C2:()=>w,CO:()=>m,Cj:()=>b,DB:()=>K,Dx:()=>C,EX:()=>U,FV:()=>L,Fm:()=>f,GI:()=>d,IC:()=>N,IE:()=>j,I_:()=>o,KF:()=>q,KJ:()=>H,Ke:()=>h,Lu:()=>W,OG:()=>_,Ot:()=>z,Qk:()=>i,Qq:()=>Z,TD:()=>$,TW:()=>F,To:()=>v,U_:()=>y,Uo:()=>B,VR:()=>E,Wn:()=>en,XB:()=>O,ZE:()=>R,_L:()=>T,_R:()=>P,ab:()=>I,al:()=>ei,av:()=>Q,aw:()=>X,fq:()=>ea,g:()=>S,iI:()=>J,k$:()=>u,kJ:()=>ee,k_:()=>x,oY:()=>s,se:()=>et,tK:()=>r,tm:()=>eo,w$:()=>D,wW:()=>G,w_:()=>M,xy:()=>A,yw:()=>l,z5:()=>er,zD:()=>k,zl:()=>V});var n=a(0xcf658893);let r=(0,n.Ay)("Remove a list");r.meta={name:"removeList",key:"createActionRemoveList",description:"Remove a list"};let i=(0,n.Ay)("trigger animation for view");i.meta={name:"triggerAnimationForViewId",key:"createActionTriggerAnimationForViewId",description:"trigger animation for view"},(0,n.Ay)("Add / update a list column").meta={name:"upsertColumn",key:"createActionUpsertColumn",description:"Add / update a list column"},(0,n.Ay)("Remove a list column").meta={name:"removeColumn",key:"createActionRemoveColumn",description:"Remove a list column"};let o=(0,n.Ay)("Fill column with info data or default value");o.meta={name:"fillColumnData",key:"createActionFillColumnData",description:"Fill column with info data or default value"};let s=(0,n.Ay)("Replace all of a list's records and determine whether or not to highlight record as new");s.meta={name:"replaceAndHighlightRecords",key:"createActionReplaceAndHighlightRecords",description:"Replace all of a list's records and determine whether or not to highlight record as new"};let l=(0,n.Ay)("Add / update multiple records");l.meta={name:"bulkUpsertRecords",key:"createActionBulkUpsertRecords",description:"Add / update multiple records"};let c=(0,n.Ay)("Add / update a list record");c.meta={name:"upsertRecord",key:"createActionUpsertRecord",description:"Add / update a list record"};let d=(0,n.Ay)("Remove a list record");d.meta={name:"removeRecord",key:"createActionRemoveRecord",description:"Remove a list record"};let u=(0,n.Ay)("Archive a list record");u.meta={name:"archiveRecord",key:"createActionArchiveRecord",description:"Archive a list record"};let m=(0,n.Ay)("Add/update a record position in a view");m.meta={name:"upsertRecordPosition",key:"createActionUpsertRecordPosition",description:"Add/update a record position in a view"};let f=(0,n.Ay)("Add / update multiple templates");f.meta={name:"bulkUpsertTemplates",key:"createActionBulkUpsertTemplates",description:"Add / update multiple templates"};let _=(0,n.Ay)("Add / update multiple starter templates");_.meta={name:"bulkUpsertStarterTemplates",key:"createActionBulkUpsertStarterTemplates",description:"Add / update multiple starter templates"};let p=(0,n.Ay)("Remove a starter template by ID");p.meta={name:"removeStarterTemplate",key:"createActionRemoveStarterTemplate",description:"Remove a starter template by ID"};let h=(0,n.Ay)("Set whether the lists templates module is collapsed in the unified files browser");h.meta={name:"setListsTemplatesCollapsed",key:"createActionSetListsTemplatesCollapsed",description:"Set whether the lists templates module is collapsed in the unified files browser"};let g=(0,n.Ay)("Set the list's banner message");g.meta={name:"setBannerMessageForList",key:"createActionSetBannerMessageForList",description:"Set the list's banner message"};let A=(0,n.Ay)("Set whether or not a list's archive view is open");A.meta={name:"setIsArchiveViewForList",key:"createActionSetIsArchiveViewForList",description:"Set whether or not a list's archive view is open"};let b=(0,n.Ay)("Clear the specified type of banner message for this list");b.meta={name:"clearBannerMessageForList",key:"createActionClearBannerMessageForList",description:"Clear the specified type of banner message for this list"};let y=(0,n.Ay)("Add / update a list record field");y.meta={name:"upsertField",key:"createActionUpsertField",description:"Add / update a list record field"};let S=(0,n.Ay)("Add / update a list cell");S.meta={name:"upsertCell",key:"createActionUpsertCell",description:"Add / update a list cell"};let E=(0,n.Ay)("Add / update multiple list cells at once");E.meta={name:"bulkUpsertCells",key:"createActionBulkUpsertCells",description:"Add / update multiple list cells at once"};let k=(0,n.Ay)("Apply an edit action to a list");k.meta={name:"applyEditAction",key:"createActionApplyEditAction",description:"Apply an edit action to a list"};let T=(0,n.Ay)("Clear edit history for a list");T.meta={name:"clearEditHistory",key:"createActionClearEditHistory",description:"Clear edit history for a list"};let I=(0,n.Ay)("Update local filters");I.meta={name:"changeViewLocalFilters",key:"createActionChangeViewLocalFilters",description:"Update local filters"};let w=(0,n.Ay)("Update local sorts");w.meta={name:"changeViewLocalSorts",key:"createActionChangeViewLocalSorts",description:"Update local sorts"};let C=(0,n.Ay)("Update local collapsed grids");C.meta={name:"changeViewLocalCollapsedGrids",key:"createActionChangeViewLocalCollapsedGrids",description:"Update local collapsed grids"};let v=(0,n.Ay)("Update the current viewId set by refine in the active window");v.meta={name:"setRefineView",key:"createActionSetRefineView",description:"Update the current viewId set by refine in the active window"};let x=(0,n.Ay)("Update the default list view id set for the specific List channel tab");x.meta={name:"setChannelTabDefaultRefineView",key:"createActionSetChannelTabDefaultRefineView",description:"Update the default list view id set for the specific List channel tab"};let R=(0,n.Ay)("Set filter pill to auto open");R.meta={name:"setFilterPillKeyById",key:"createActionSetFilterPillKeyById",description:"Set filter pill to auto open"};let O=(0,n.Ay)("Set search query for list");O.meta={name:"setListSearchQuery",key:"createActionSetListSearchQuery",description:"Set search query for list"};let N=(0,n.Ay)("Destroy local refinements");N.meta={name:"destroyLocalRefinements",key:"createActionDestroyLocalRefinements",description:"Destroy local refinements"};let D=(0,n.Ay)("Add / update my items");D.meta={name:"upsertMyItems",key:"createActionUpsertMyItems",description:"Add / update my items"};let L=(0,n.Ay)("Add / update a single my item");L.meta={name:"upsertMyItem",key:"createActionUpsertMyItem",description:"Add / update a single my item"};let M=(0,n.Ay)("Add / update a list cell edit");M.meta={name:"upsertCellEdit",key:"createActionUpsertCellEdit",description:"Add / update a list cell edit"};let F=(0,n.Ay)("set refinement pill to auto open in view");F.meta={name:"setRefinePillAutoOpenByViewId",key:"createActionSetRefinePillAutoOpenByViewId",description:"set refinement pill to auto open in view"};let P=(0,n.Ay)("Add / update last read timestamp by list ID");P.meta={name:"upsertLastReadTimestampById",key:"createActionUpsertLastReadTimestampById",description:"Add / update last read timestamp by list ID"};let U=(0,n.Ay)("Mark record read to unhighlight it");U.meta={name:"removeRecordHighlight",key:"createActionRemoveRecordHighlight",description:"Mark record read to unhighlight it"};let B=(0,n.Ay)("Load all recently viewed lists");B.meta={name:"loadRecentlyViewedLists",key:"createActionLoadRecentlyViewedLists",description:"Load all recently viewed lists"};let G=(0,n.Ay)("Add recently opened list to the store");G.meta={name:"addToRecentlyViewedLists",key:"createActionAddToRecentlyViewedLists",description:"Add recently opened list to the store"};let H=(0,n.Ay)("Remove deleted lists from the store");H.meta={name:"removeFromRecentlyViewedLists",key:"createActionRemoveFromRecentlyViewedLists",description:"Remove deleted lists from the store"};let W=(0,n.Ay)("Update local field visibility");W.meta={name:"changeLocalViewFieldVisibility",key:"createActionChangeLocalViewFieldVisibility",description:"Update local field visibility"};let V=(0,n.Ay)("Update local view type");V.meta={name:"changeLocalViewType",key:"createActionChangeLocalViewType",description:"Update local view type"};let j=(0,n.Ay)("Update local show completed items");j.meta={name:"changeLocalShowCompletedItems",key:"createActionChangeLocalShowCompletedItems",description:"Update local show completed items"};let K=(0,n.Ay)("Update local group by");K.meta={name:"changeLocalViewGroupBy",key:"createActionChangeLocalViewGroupBy",description:"Update local group by"};let q=(0,n.Ay)("Subscribe/unsubscribe a list record");q.meta={name:"setRecordIsSubscribed",key:"createActionSetRecordIsSubscribed",description:"Subscribe/unsubscribe a list record"};let z=(0,n.Ay)("Set highlight column in the item flexpane");z.meta={name:"setHighlightColumnId",key:"createActionSetHighlightColumnId",description:"Set highlight column in the item flexpane"};let $=(0,n.Ay)("Clear highlight column in the item flexpane");$.meta={name:"clearHighlightColumnId",key:"createActionClearHighlightColumnId",description:"Clear highlight column in the item flexpane"};let Y=(0,n.Ay)("Set local views for optimistic updates");Y.meta={name:"setLocalViewsByListId",key:"createActionSetLocalViewsByListId",description:"Set local views for optimistic updates"};let Q=(0,n.Ay)("Updates the UI state for the refine edit view menu component");Q.meta={name:"refineEditViewMenuComponentState",key:"createActionRefineEditViewMenuComponentState",description:"Updates the UI state for the refine edit view menu component"};let Z=(0,n.Ay)("Sets the reference tracker map for my tasks list");Z.meta={name:"setMyTasksReferenceTracker",key:"createActionSetMyTasksReferenceTracker",description:"Sets the reference tracker map for my tasks list"};let J=(0,n.Ay)("Adds a reference to the reference tracker map for my tasks list");J.meta={name:"addToMyTasksReferenceTracker",key:"createActionAddToMyTasksReferenceTracker",description:"Adds a reference to the reference tracker map for my tasks list"};let X=(0,n.Ay)("Removes a reference from the reference tracker map for my tasks list");X.meta={name:"removeFromMyTasksReferenceTracker",key:"createActionRemoveFromMyTasksReferenceTracker",description:"Removes a reference from the reference tracker map for my tasks list"};let ee=(0,n.Ay)("Should show list description");ee.meta={name:"setShowListDescriptionById",key:"createActionSetShowListDescriptionById",description:"Should show list description"};let et=(0,n.Ay)("Set list history version by list id");et.meta={name:"setSelectedListVersionByListId",key:"createActionSetSelectedListVersionByListId",description:"Set list history version by list id"};let ea=(0,n.Ay)("Allow an AI-generated title to override the list record's title");ea.meta={name:"setAiTitleAllowed",key:"createActionSetAiTitleAllowed",description:"Allow an AI-generated title to override the list record's title"};let en=(0,n.Ay)("Do not allow an AI-generated title to override the list record's title");en.meta={name:"clearAiTitleAllowed",key:"createActionClearAiTitleAllowed",description:"Do not allow an AI-generated title to override the list record's title"};let er=(0,n.Ay)("Set list history");er.meta={name:"setListHistory",key:"createActionSetListHistory",description:"Set list history"};let ei=(0,n.Ay)("Set the updated list history. Adds to the existing list and updates the cursor for pagination.");ei.meta={name:"upsertListHistory",key:"createActionUpsertListHistory",description:"Set the updated list history. Adds to the existing list and updates the cursor for pagination."};let eo=(0,n.Ay)("Evict archived records from store");eo.meta={name:"evictArchiveRecordsForList",key:"createActionEvictArchiveRecordsForList",description:"Evict archived records from store"}},0x1ffffec54:(e,t,a)=>{"use strict";a.d(t,{ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0x1a8cc04e1),o=a(0x1c1ad6e21),s=a(0x1266f1359);let l=(0,n.A)(e=>new i.Ay({storeKey:"lists",fetch:(t,a)=>((0,s.Qw)(t,(0,o.o)({idsToFetch:a,listId:e})),r.S.resolve()),isEnabled:()=>!0,metricsName:"lists-record-fetcher"})),maybeRefetch=(e,t,a)=>l(a).maybeRefetch(e,t),markObjectsAsFresh=(e,t,a)=>l(a).markObjectsAsFresh(e,t)},0x8d0a2ff1:(e,t,a)=>{"use strict";a.d(t,{XB:()=>tb,w9:()=>eA,uu:()=>e7,mJ:()=>eL,Uw:()=>eJ,vg:()=>K,K0:()=>eN,rm:()=>ei,kS:()=>eo,E4:()=>e1,fc:()=>th,Yq:()=>eK,k7:()=>e$,$8:()=>e2,nh:()=>e3,Jc:()=>eS,$N:()=>ej,zH:()=>eH,lq:()=>eO,Te:()=>ew,YI:()=>eT,dR:()=>e4,iP:()=>te,Ri:()=>eb,qC:()=>tr,Ws:()=>tn,tu:()=>to,hA:()=>e8,Tj:()=>eU,jv:()=>eB,vS:()=>W,DZ:()=>ty,bq:()=>tS,PZ:()=>e5,I9:()=>ey,DU:()=>$,C0:()=>e_,eD:()=>ea,vD:()=>ep,LS:()=>en,Rl:()=>V,jH:()=>eX,P6:()=>j,Mr:()=>z,EI:()=>tE,ii:()=>eu,Up:()=>eQ,it:()=>eC,bA:()=>eq,ot:()=>e6,Bj:()=>tt,qO:()=>eD,Cf:()=>tl,rh:()=>eV,mb:()=>J,t1:()=>X,iM:()=>eF,dE:()=>eP,ll:()=>Y,kG:()=>es,_H:()=>e9,V:()=>Q,wx:()=>er,Xb:()=>eg,nZ:()=>eh,X0:()=>eM,hL:()=>eZ,uJ:()=>tA,BO:()=>eG,K1:()=>ek,gu:()=>e0,aY:()=>ev,hY:()=>ts,Pj:()=>tg,Yb:()=>ta,yw:()=>ef,XR:()=>ex,WE:()=>eR,x2:()=>ed,d3:()=>et,h5:()=>tc,$F:()=>el,yv:()=>ec,n7:()=>eI,iX:()=>q,Es:()=>eY,Bq:()=>Z,aJ:()=>td,oh:()=>tf,XF:()=>tm,JB:()=>tu,le:()=>makeGetServerFiltersByViewIdSelector,jW:()=>makeGetServerSortsByViewIdSelector});var n=a(0x155d02b1c),r=a(0x9e671ad),i=a(0xc9c97240),o=a(0x1df96de4c),s=a(0xcaea2334),l=a(0x234de8f30),c=a(0x1c6fca489),d=a(0x101db4695),u=a(0x153cbdf74),m=a(0xa076e611),f=a(0x1ec69ee01),_=a(0xbd3de346),p=a(0x14fde54c),h=a(0x70de3606),g=a(0x67fa0e69),A=a(0x6e20c837),b=a(0x1c2e38de1),y=a(0x105ecbbed),S=a(0x22d3b4662),E=a(0x1ec68d6a3),k=a(0x57d5a5b5),T=a(0x1cf0d97e1),I=a(0x9b971e7e),w=a(0x1ccef1c6f),C=a(0xdf55e8f3),v=a(0xc561af5);a(0xbcb3a506);var x=a(0x14ea3ce99),R=a(0xe8050919),O=a(0x1ffffec54),N=a(0x1888ea2e3),D=a(0xca924ee1),L=a(0x15f4f83cf),M=a(0x1266f1359),F=a(0x545e55d);let P=(0,D.A)(e=>new L.Ay({fetch:(t,a)=>(0,M.Qw)(t,(0,F.q5)({idsToFetch:a,listId:e})),upsertKnown:(t,a)=>(0,M.Qw)(t,(0,F.x3)({records:a,listId:e})),upsertNonExistent:(t,a)=>(0,M.Qw)(t,(0,F.x3)({records:a,listId:e})),isEnabled:()=>!0})),U=[m.K.Blank,m.K.ProjectTracker,m.K.QuarterlyPlanning,m.K.Feedback,m.K.Help,m.K.Bugs];var B=a(0x131daede6),G=a(0xd93ecf94),H=a(0x28c6a9ff);let getListsState=e=>e.lists,W=(0,T.Ay)((e,t)=>(0,x.Lp)(e,t));W.meta={name:"getList",key:"createSelectorGetList",description:(e,t)=>(0,x.Lp)(e,t)};let V=(0,T.Ay)((e,t)=>t&&getListsState(e).listsById[t]?.records||o.t0);V.meta={name:"getListRecords",key:"createSelectorGetListRecords",description:(e,t)=>t&&getListsState(e).listsById[t]?.records||o.t0};let j=(0,i.Mz)(W,e=>(0,n.A)(e?.title)),K=(0,T.Ay)(e=>getListsState(e).clock);K.meta={name:"getClock",key:"createSelectorGetClock",description:e=>getListsState(e).clock};let q=(0,T.Ay)(e=>getListsState(e).triggerAnimationForViewId);q.meta={name:"getViewToAnimate",key:"createSelectorGetViewToAnimate",description:e=>getListsState(e).triggerAnimationForViewId};let z=(0,T.Ay)(e=>(0,x.Im)(e));z.meta={name:"getLists",key:"createSelectorGetLists",description:e=>(0,x.Im)(e)};let $=(0,T.Ay)((e,t)=>e.files[t]?.list_limits);$.meta={name:"getListLimits",key:"createSelectorGetListLimits",description:(e,t)=>e.files[t]?.list_limits};let Y=(0,T.Ay)((e,t,a)=>{let n=(0,I.ZT)(e);if(!n)return;let r=(0,B.s2)(t,a),i=getListsState(e).listsById[t]?.records?.[r];return i?((0,p.z7)(i)||P(t).isFetchPendingForId(n,a)||(0,O.ez)(n,a,t),i):P(t).fetchObjectWithId(n,a)});Y.meta={name:"getRecord",key:"createSelectorGetRecord",description:(e,t,a)=>{let n=(0,I.ZT)(e);if(!n)return;let r=(0,B.s2)(t,a),i=getListsState(e).listsById[t]?.records?.[r];return i?((0,p.z7)(i)||P(t).isFetchPendingForId(n,a)||(0,O.ez)(n,a,t),i):P(t).fetchObjectWithId(n,a)}};let Q=(0,T.Ay)((e,t,a)=>{if(!(0,I.ZT)(e))return;let n=(0,B.s2)(t,a);return getListsState(e).listsById[t]?.records?.[n]});Q.meta={name:"getRecordLocal",key:"createSelectorGetRecordLocal",description:(e,t,a)=>{if(!(0,I.ZT)(e))return;let n=(0,B.s2)(t,a);return getListsState(e).listsById[t]?.records?.[n]}};let Z=(0,i.Mz)(Y,e=>!!e?.parentRecordId),J=(0,i.Mz)(Y,e=>e?.parentRecordId),X=(0,i.Mz)(Y,e=>e?.fields?.name),ee=(0,i.Mz)([getListsState,(e,t)=>t,(e,t,a)=>a],(e,t,a)=>{let n=(0,B.s2)(t,a);return e.listsById[t]?.parentRecordsById?.[n]}),et=(0,i.Mz)([ee,V],(e,t)=>e?.map(e=>t[e])),ea=(0,i.Mz)([ee],e=>!!e),en=(0,i.Mz)(et,e=>{if(e&&0!==e.length)return{completed:e.filter(e=>e?.fields?.[u.$.TodoCompleted]).length,total:e.length}}),er=(0,T.Ay)((e,t,a)=>(0,S.A)(e,Y(e,t,a)?.fields?.name));er.meta={name:"getRecordNameAsPlainText",key:"createSelectorGetRecordNameAsPlainText",description:(e,t,a)=>(0,S.A)(e,Y(e,t,a)?.fields?.name)};let ei=(0,T.Ay)((e,t,a)=>{let n=W(e,t),r=(0,p.uA)(n);return r?.find(e=>e.key===a)});ei.meta={name:"getColumnByKey",key:"createSelectorGetColumnByKey",description:(e,t,a)=>{let n=W(e,t),r=(0,p.uA)(n);return r?.find(e=>e.key===a)}};let eo=(0,T.Ay)((e,t,a)=>ei(e,t,a)?.id);eo.meta={name:"getColumnIdByColumnKey",key:"createSelectorGetColumnIdByColumnKey",description:(e,t,a)=>ei(e,t,a)?.id};let es=(0,T.Ay)((e,t,a)=>{let n=getListsState(e).listsById[t]?.records;if(n)return Object.values(n).find(e=>e.threadTs===a)});es.meta={name:"getRecordByThreadTs",key:"createSelectorGetRecordByThreadTs",description:(e,t,a)=>{let n=getListsState(e).listsById[t]?.records;if(n)return Object.values(n).find(e=>e.threadTs===a)}};let el=(0,T.Ay)((e,t)=>getListsState(e).templatesById[t]);el.meta={name:"getTemplate",key:"createSelectorGetTemplate",description:(e,t)=>getListsState(e).templatesById[t]};let ec=(0,T.Ay)(e=>getListsState(e).templatesById);ec.meta={name:"getTemplates",key:"createSelectorGetTemplates",description:e=>getListsState(e).templatesById};let ed=(0,T.Ay)(e=>getListsState(e).starterTemplatesById);ed.meta={name:"getStarterTemplates",key:"createSelectorGetStarterTemplates",description:e=>getListsState(e).starterTemplatesById};let eu=(0,T.Ay)(e=>getListsState(e).templatesCollapsed);eu.meta={name:"getListsTemplatesCollapsed",key:"createSelectorGetListsTemplatesCollapsed",description:e=>getListsState(e).templatesCollapsed};let em=(0,i.Mz)(ec,e=>{let{[m.K.Blank]:t,...a}=e;return a}),ef=(0,i.Mz)(em,e=>Object.values(e).sort((e,t)=>{let a=U.indexOf(e.id),n=U.indexOf(t.id);return(-1!==a?a:100)-(-1!==n?n:100)})),e_=(0,T.Ay)(e=>{let t=[];for(let a of z(e)){let e={id:a.id,title:a.title??""};t.push(e)}return t});e_.meta={name:"getListMentions",key:"createSelectorGetListMentions",description:e=>{let t=[];for(let a of z(e)){let e={id:a.id,title:a.title??""};t.push(e)}return t}};let ep=(0,T.Ay)((e,t)=>{let a=z(e),n=(0,k.V3)(t);if(!n)return[];let{listTitle:r}=n,i=(0,k.xL)(a,r);if(!i)return[];let o=(0,x.Lp)(e,i.id),s=findColumnKeyForMention(i),l=[];for(let t of Object.values(V(e,i.id)??{})){let a=t?.fields?.[s]??[],n={id:t.id,name:(0,S.A)(e,a),blocks:a,listId:o.id,listTitle:o.title??""};l.push(n)}return l});function findColumnKeyForMention(e){let t;for(let a of(0,p.uA)(e)??[])if("text"===a.type&&(t||(t=a),"NAME"===a.key.toUpperCase()))return a.key;return t?t.key:"name"}ep.meta={name:"getListRecordMentions",key:"createSelectorGetListRecordMentions",description:(e,t)=>{let a=z(e),n=(0,k.V3)(t);if(!n)return[];let{listTitle:r}=n,i=(0,k.xL)(a,r);if(!i)return[];let o=(0,x.Lp)(e,i.id),s=findColumnKeyForMention(i),l=[];for(let t of Object.values(V(e,i.id)??{})){let a=t?.fields?.[s]??[],n={id:t.id,name:(0,S.A)(e,a),blocks:a,listId:o.id,listTitle:o.title??""};l.push(n)}return l}};let eh=(0,T.Ay)((e,t,a)=>{let n=Y(e,t,a),r=(0,R.Y)(e,t),i=(0,f.FB)(r),o=n?.threadTs?(0,G.Ld)(e,i,n.threadTs):void 0;return o?.reply_count??null});eh.meta={name:"getRecordThreadReplyCount",key:"createSelectorGetRecordThreadReplyCount",description:(e,t,a)=>{let n=Y(e,t,a),r=(0,R.Y)(e,t),i=(0,f.FB)(r),o=n?.threadTs?(0,G.Ld)(e,i,n.threadTs):void 0;return o?.reply_count??null}};let eg=(0,T.Ay)((e,t,a)=>{let n=Y(e,t,a),r=(0,R.Y)(e,t),i=(0,f.FB)(r),o=n?.threadTs?(0,G.Ld)(e,i,n.threadTs):void 0,s=(0,y.Iu)(i,n?.threadTs),l=o&&s?(0,v.r7)(e,s)||{timestamps:[],reachedStart:!0}:null,d=o?(0,c.Nh)(e,i,l?.timestamps||[])||o?.ts:"",u=s?(0,H.fc)(e,s):null,m=u?.subscribed??o?._subscribed??!1,_=u?.lastRead??o?._last_read??"0";return!!m&&d>_});eg.meta={name:"getRecordThreadIsUnread",key:"createSelectorGetRecordThreadIsUnread",description:(e,t,a)=>{let n=Y(e,t,a),r=(0,R.Y)(e,t),i=(0,f.FB)(r),o=n?.threadTs?(0,G.Ld)(e,i,n.threadTs):void 0,s=(0,y.Iu)(i,n?.threadTs),l=o&&s?(0,v.r7)(e,s)||{timestamps:[],reachedStart:!0}:null,d=o?(0,c.Nh)(e,i,l?.timestamps||[])||o?.ts:"",u=s?(0,H.fc)(e,s):null,m=u?.subscribed??o?._subscribed??!1,_=u?.lastRead??o?._last_read??"0";return!!m&&d>_}};let eA=(0,T.Ay)((e,t)=>getListsState(e).listBannerMessagesbyId[t]);eA.meta={name:"getBannerMessagesForList",key:"createSelectorGetBannerMessagesForList",description:(e,t)=>getListsState(e).listBannerMessagesbyId[t]};let eb=(0,T.Ay)((e,t)=>!!t&&getListsState(e).isArchiveViewById[t]);eb.meta={name:"getIsArchiveViewForList",key:"createSelectorGetIsArchiveViewForList",description:(e,t)=>!!t&&getListsState(e).isArchiveViewById[t]};let ey=(0,T.Ay)((e,t)=>{let a=(0,g.A)(e),n=(0,x.Lp)(e,t);return!(0,N.P)(e,t)&&(!n||!n.access||!(0,_.mW)(n)||!a)});ey.meta={name:"getListIsViewOnly",key:"createSelectorGetListIsViewOnly",description:(e,t)=>{let a=(0,g.A)(e),n=(0,x.Lp)(e,t);return!(0,N.P)(e,t)&&(!n||!n.access||!(0,_.mW)(n)||!a)}};let eS=(0,T.Ay)((e,t)=>getListsState(e).historyById[t]);eS.meta={name:"getEditHistory",key:"createSelectorGetEditHistory",description:(e,t)=>getListsState(e).historyById[t]};let eE=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localFiltersById[n]});eE.meta={name:"getLocalFiltersByViewId",key:"createSelectorGetLocalFiltersByViewId",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localFiltersById[n]}};let ek=(0,C.Rb)((e,t,a)=>W(e,t),(e,t,a)=>a,(e,t)=>{let a=(0,p.Qq)(e,t);return[...a?.filters??[],...a?.infoColumnFilters??[]]}),makeGetServerFiltersByViewIdSelector=(e,t)=>(0,i.Mz)(a=>ek(a,e,t),e=>e),eT=(0,i.Mz)(eE,ek,(e,t)=>!!e&&(e.length!==t?.length||!(0,l.U3)(e,t))),eI=(0,i.Mz)(eE,ek,(e,t)=>{if(!e)return new Set;let a=new Map(t?.map(e=>[e.key,e]));return new Set(e.filter(e=>(0,l.bV)(e,a)).map(e=>e.key))}),ew=(0,i.Mz)(eE,ek,(e,t)=>void 0!==e?e:t||[]),eC=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localSortsById[n]});eC.meta={name:"getLocalSortsByViewId",key:"createSelectorGetLocalSortsByViewId",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localSortsById[n]}};let ev=(0,C.Rb)((e,t,a)=>W(e,t),(e,t,a)=>a,(e,t)=>{let a=(0,p.Qq)(e,t);return a?.sorts||[]}),makeGetServerSortsByViewIdSelector=(e,t)=>(0,i.Mz)(a=>ev(a,e,t),e=>e),ex=(0,i.Mz)(eC,ev,(e,t)=>void 0!==e?e:t||[]),eR=(0,i.Mz)(eC,ev,(e,t)=>!!e&&(e.length!==t?.length||!(0,l.Mu)(e,t))),eO=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e)?.filterPillKeyById?.[n]});eO.meta={name:"getFilterPillKeyById",key:"createSelectorGetFilterPillKeyById",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e)?.filterPillKeyById?.[n]}};let eN=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localCollapsedGridsById[n]});eN.meta={name:"getCollapsedGridsByViewId",key:"createSelectorGetCollapsedGridsByViewId",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localCollapsedGridsById[n]}};let eD=(0,T.Ay)(e=>getListsState(e).myItemMap);eD.meta={name:"getMyItemMap",key:"createSelectorGetMyItemMap",description:e=>getListsState(e).myItemMap};let eL=(0,T.Ay)((e,t)=>getListsState(e).editActivityMap[t]);eL.meta={name:"getCellEditByTimestamp",key:"createSelectorGetCellEditByTimestamp",description:(e,t)=>getListsState(e).editActivityMap[t]};let eM=(0,T.Ay)((e,t)=>getListsState(e).refinePillAutoOpenByViewId?.[t]);eM.meta={name:"getRefinePillAutoOpenByViewId",key:"createSelectorGetRefinePillAutoOpenByViewId",description:(e,t)=>getListsState(e).refinePillAutoOpenByViewId?.[t]};let eF=(0,T.Ay)(e=>getListsState(e).recentlyViewedLists);eF.meta={name:"getRecentlyViewedLists",key:"createSelectorGetRecentlyViewedLists",description:e=>getListsState(e).recentlyViewedLists};let eP=(0,T.Ay)(e=>getListsState(e).recentlyViewedListsLastLoadedMs);eP.meta={name:"getRecentlyViewedListsLastLoadedMs",key:"createSelectorGetRecentlyViewedListsLastLoadedMs",description:e=>getListsState(e).recentlyViewedListsLastLoadedMs};let eU=(0,T.Ay)(e=>{let t=eP(e);return!t||Date.now()-t>864e5});eU.meta={name:"getIsRecentlyViewedListsExpired",key:"createSelectorGetIsRecentlyViewedListsExpired",description:e=>{let t=eP(e);return!t||Date.now()-t>864e5}};let eB=(0,T.Ay)((e,t)=>getListsState(e).lastReadTimestampById?.[t]);eB.meta={name:"getLastReadTimestampByListId",key:"createSelectorGetLastReadTimestampByListId",description:(e,t)=>getListsState(e).lastReadTimestampById?.[t]};let eG=(0,i.Mz)((e,t,a)=>{let n=W(e,t);return(0,p.cv)(n,a)},e=>e?.columns?.reduce((e,{key:t,visible:a})=>(void 0!==a&&(e[t]=a),e),{})),eH=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a}),r=getListsState(e).localFieldVisibilityByViewId[n];if(!r)return;let i=eG(e,t,a);return Object.entries(r).filter(([e,t])=>t!==i?.[e]).map(([e,t])=>({key:e,visible:t}))});eH.meta={name:"getFieldsThatChangedVisibility",key:"createSelectorGetFieldsThatChangedVisibility",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a}),r=getListsState(e).localFieldVisibilityByViewId[n];if(!r)return;let i=eG(e,t,a);return Object.entries(r).filter(([e,t])=>t!==i?.[e]).map(([e,t])=>({key:e,visible:t}))}};let eW=(0,C.eI)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a}),r=getListsState(e).localFieldVisibilityByViewId[n],i=eG(e,t,a);return r?{...i,...r}:r}),eV=(0,C.eI)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localFieldVisibilityByViewId[n]}),ej=(0,i.Mz)(eW,eG,(e,t)=>!!e&&!(0,r.A)(e,t)),eK=(0,T.Ay)((e,t,a)=>{let n=eW(e,t,a);return n||eG(e,t,a)});eK.meta={name:"getCurrentViewFieldVisibilityByViewId",key:"createSelectorGetCurrentViewFieldVisibilityByViewId",description:(e,t,a)=>{let n=eW(e,t,a);return n||eG(e,t,a)}};let eq=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localViewTypeByViewId[n]});eq.meta={name:"getLocalViewType",key:"createSelectorGetLocalViewType",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localViewTypeByViewId[n]}};let ez=(0,C.ow)((e,t,a)=>{let n=W(e,t),r=(0,p.Qq)(n,a);return r?.type}),e$=(0,T.Ay)((e,t,a)=>{let n=eq(e,t,a);return void 0!==n?n:ez(e,t,a)});e$.meta={name:"getCurrentViewTypeByViewId",key:"createSelectorGetCurrentViewTypeByViewId",description:(e,t,a)=>{let n=eq(e,t,a);return void 0!==n?n:ez(e,t,a)}};let eY=(0,T.Ay)((e,t,a)=>{let n=eq(e,t,a);return!!n&&n!==ez(e,t,a)});eY.meta={name:"getViewTypeHasChanged",key:"createSelectorGetViewTypeHasChanged",description:(e,t,a)=>{let n=eq(e,t,a);return!!n&&n!==ez(e,t,a)}};let eQ=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localGroupByViewId[n]});eQ.meta={name:"getLocalGroupBy",key:"createSelectorGetLocalGroupBy",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localGroupByViewId[n]}};let eZ=(0,T.Ay)((e,t)=>getListsState(e)?.refineViewByWindowId[t]);eZ.meta={name:"getRefineView",key:"createSelectorGetRefineView",description:(e,t)=>getListsState(e)?.refineViewByWindowId[t]};let eJ=(0,T.Ay)((e,t)=>getListsState(e)?.channelTabDefaultRefineView[t]);eJ.meta={name:"getChannelTabDefaultRefineView",key:"createSelectorGetChannelTabDefaultRefineView",description:(e,t)=>getListsState(e)?.channelTabDefaultRefineView[t]};let eX=(0,T.Ay)((e,t)=>getListsState(e)?.listSearchQueriesByWindowId[t]);eX.meta={name:"getListSearchQuery",key:"createSelectorGetListSearchQuery",description:(e,t)=>getListsState(e)?.listSearchQueriesByWindowId[t]};let e0=(0,C.ow)((e,t,a)=>{let n=W(e,t),r=(0,p.Qq)(n,a);return r?.grouping}),e1=(0,T.Ay)((e,t,a)=>{let n=eQ(e,t,a);return n||e0(e,t,a)});e1.meta={name:"getCurrentGroupByViewId",key:"createSelectorGetCurrentGroupByViewId",description:(e,t,a)=>{let n=eQ(e,t,a);return n||e0(e,t,a)}};let e2=(0,T.Ay)(e=>(0,w.ty)(e,"lists_add_to_list_default_list"));e2.meta={name:"getDefaultListForAddToList",key:"createSelectorGetDefaultListForAddToList",description:e=>(0,w.ty)(e,"lists_add_to_list_default_list")};let e3=(0,i.Mz)(e=>(0,w.ty)(e,"lists_default_view"),e=>{try{return JSON.parse(e||"{}")}catch(e){return(0,E.default)({label:"lists"}).error("error parsing default lists view prefs",e),{}}}),e4=(0,T.Ay)((e,t,a)=>{let n=eQ(e,t,a);if(!n)return!1;let r=e0(e,t,a);return(!!n?.groupBy?.length||!!r?.groupBy)&&n?.groupBy!==r?.groupBy});e4.meta={name:"getHasGroupByChanged",key:"createSelectorGetHasGroupByChanged",description:(e,t,a)=>{let n=eQ(e,t,a);if(!n)return!1;let r=e0(e,t,a);return(!!n?.groupBy?.length||!!r?.groupBy)&&n?.groupBy!==r?.groupBy}};let e6=(0,T.Ay)((e,t)=>getListsState(e).localViewsByListId?.[t]||o.Ml);e6.meta={name:"getLocalViewsByListId",key:"createSelectorGetLocalViewsByListId",description:(e,t)=>getListsState(e).localViewsByListId?.[t]||o.Ml};let e9=(0,T.Ay)((e,t,a)=>{let n=(0,B.s2)(t,a);return getListsState(e).listsById[t]?.records?.[n]?.isSubscribed});e9.meta={name:"getRecordIsSubscribed",key:"createSelectorGetRecordIsSubscribed",description:(e,t,a)=>{let n=(0,B.s2)(t,a);return getListsState(e).listsById[t]?.records?.[n]?.isSubscribed}};let e5=(0,T.Ay)((e,t)=>{if(ey(e,t))return!1;let a=(0,x.Lp)(e,t);if(!a||a.editors?.length)return!1;let n=eS(e,t);if(n?.undoStack.length||n?.redoStack.length)return!1;for(let a of Object.values(V(e,t)??{}))if(String(a.dateCreated)!==a.updatedTimestamp)return!1;return!0});e5.meta={name:"getListIsEditableAndNeverUpdated",key:"createSelectorGetListIsEditableAndNeverUpdated",description:(e,t)=>{if(ey(e,t))return!1;let a=(0,x.Lp)(e,t);if(!a||a.editors?.length)return!1;let n=eS(e,t);if(n?.undoStack.length||n?.redoStack.length)return!1;for(let a of Object.values(V(e,t)??{}))if(String(a.dateCreated)!==a.updatedTimestamp)return!1;return!0}};let e8=(0,T.Ay)(e=>(0,w.ty)(e,"lists_template_sidebar_collapsed"));e8.meta={name:"getIsListsTemplateSidebarCollapsedUserPref",key:"createSelectorGetIsListsTemplateSidebarCollapsedUserPref",description:e=>(0,w.ty)(e,"lists_template_sidebar_collapsed")};let e7=(0,T.Ay)((e,t)=>{let a=W(e,t);return e5(e,t)&&(0,p.BS)(a)});e7.meta={name:"getCanShowListEmptyStateSidebar",key:"createSelectorGetCanShowListEmptyStateSidebar",description:(e,t)=>{let a=W(e,t);return e5(e,t)&&(0,p.BS)(a)}};let te=(0,T.Ay)((e,t,a,n)=>{let r=(0,B.pe)(t,a,n);return getListsState(e).highlightColumnMap[r]});te.meta={name:"getHighlightColumnId",key:"createSelectorGetHighlightColumnId",description:(e,t,a,n)=>{let r=(0,B.pe)(t,a,n);return getListsState(e).highlightColumnMap[r]}};let tt=(0,T.Ay)((e,t)=>{if(!t)return null;let a=(0,A.$N)(e,t);return a&&a.type===A.im.MESSAGE&&a.channelId&&a.ts?(0,G.Ld)(e,a.channelId,a.ts):null});tt.meta={name:"getMessageFromCellValue",key:"createSelectorGetMessageFromCellValue",description:(e,t)=>{if(!t)return null;let a=(0,A.$N)(e,t);return a&&a.type===A.im.MESSAGE&&a.channelId&&a.ts?(0,G.Ld)(e,a.channelId,a.ts):null}};let ta=(0,T.Ay)((e,t)=>(0,h.Is)(e)&&(0,s.I)(e)&&!ey(e,t));ta.meta={name:"getShowListAutomationsEntrypoint",key:"createSelectorGetShowListAutomationsEntrypoint",description:(e,t)=>(0,h.Is)(e)&&(0,s.I)(e)&&!ey(e,t)};let tn=(0,T.Ay)(e=>{let t=(0,b.p)(e),a=t===b.v.IMAGES_ONLY,n=t===b.v.DISABLE_ALL;return a||n});tn.meta={name:"getIsListCsvImportDisabled",key:"createSelectorGetIsListCsvImportDisabled",description:e=>{let t=(0,b.p)(e),a=t===b.v.IMAGES_ONLY,n=t===b.v.DISABLE_ALL;return a||n}};let tr=(0,T.Ay)((e,t,a)=>{let n=(0,B.o2)(t,a),r=getListsState(e).refineComponentsState[n];return r?.isEditViewMenuOpen??!1});tr.meta={name:"getIsEditViewMenuComponentOpen",key:"createSelectorGetIsEditViewMenuComponentOpen",description:(e,t,a)=>{let n=(0,B.o2)(t,a),r=getListsState(e).refineComponentsState[n];return r?.isEditViewMenuOpen??!1}};let ti=(0,T.Ay)(e=>getListsState(e)?.myTasksReferenceTrackingMap);ti.meta={name:"getMyTasksReferenceTrackingMap",key:"createSelectorGetMyTasksReferenceTrackingMap",description:e=>getListsState(e)?.myTasksReferenceTrackingMap};let to=(0,T.Ay)((e,t)=>{let a=t?.slack_list;if(!a||!a.list_id||!a.list_record_id)return!1;let n=Y(e,a.list_id,a.list_record_id);return n?.isDeleted});to.meta={name:"getIsListRootDeletedFromMsg",key:"createSelectorGetIsListRootDeletedFromMsg",description:(e,t)=>{let a=t?.slack_list;if(!a||!a.list_id||!a.list_record_id)return!1;let n=Y(e,a.list_id,a.list_record_id);return n?.isDeleted}};let ts=(0,T.Ay)((e,t)=>getListsState(e).shouldShowListDescriptionByListId[t]);ts.meta={name:"getShouldShowListDescriptionById",key:"createSelectorGetShouldShowListDescriptionById",description:(e,t)=>getListsState(e).shouldShowListDescriptionByListId[t]};let tl=(0,T.Ay)((e,t)=>{if(!(0,h.tl)(e)||!t)return;let a=(0,w.N$)(e),n=a?.[0]??void 0,r=W(e,n),i=(0,p.uA)(r),o=V(e,n),s=i?.find(e=>e.type===u.$.Reference);return s&&o?Object.values(o)?.find(e=>{if((0,d.gk)(e)||e.isDeleted)return!1;let a=e?.fields?.[s.key];return(0,d.No)(t)?a?.message?.channel_id===t.message.channelId&&a?.message?.ts===t.message.ts:(0,d.dg)(t)?a?.list_record?.list_id===t.listRecord.listId&&a?.list_record?.row_id===t.listRecord.rowId:(0,d.SI)(t)?a?.file?.file_id===t.file.fileId:(0,d.Z2)(t)?a?.canvas_section?.file_id===t.canvasSection.fileId&&a?.canvas_section?.section_id===t.canvasSection.sectionId:(0,d.E1)(t)?a?.work_object?.entity_id===t.workObject.entityId:a?.sfdc_record?.id===t.sfdcRecord.id}):null});tl.meta={name:"getMyTasksItem",key:"createSelectorGetMyTasksItem",description:(e,t)=>{if(!(0,h.tl)(e)||!t)return;let a=(0,w.N$)(e),n=a?.[0]??void 0,r=W(e,n),i=(0,p.uA)(r),o=V(e,n),s=i?.find(e=>e.type===u.$.Reference);return s&&o?Object.values(o)?.find(e=>{if((0,d.gk)(e)||e.isDeleted)return!1;let a=e?.fields?.[s.key];return(0,d.No)(t)?a?.message?.channel_id===t.message.channelId&&a?.message?.ts===t.message.ts:(0,d.dg)(t)?a?.list_record?.list_id===t.listRecord.listId&&a?.list_record?.row_id===t.listRecord.rowId:(0,d.SI)(t)?a?.file?.file_id===t.file.fileId:(0,d.Z2)(t)?a?.canvas_section?.file_id===t.canvasSection.fileId&&a?.canvas_section?.section_id===t.canvasSection.sectionId:(0,d.E1)(t)?a?.work_object?.entity_id===t.workObject.entityId:a?.sfdc_record?.id===t.sfdcRecord.id}):null}};let tc=(0,T.Ay)((e,t)=>(0,h.tl)(e)?(ti(e)??{})[(0,d.qC)(t)]:null);tc.meta={name:"getTaskFromReferenceMap",key:"createSelectorGetTaskFromReferenceMap",description:(e,t)=>(0,h.tl)(e)?(ti(e)??{})[(0,d.qC)(t)]:null};let td=(0,T.Ay)((e,t)=>!!(0,h.tl)(e)&&!!tc(e,t));td.meta={name:"isTaskAdded",key:"createSelectorIsTaskAdded",description:(e,t)=>!!(0,h.tl)(e)&&!!tc(e,t)};let tu=(0,T.Ay)((e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a?.isSuggested});tu.meta={name:"isTaskSuggested",key:"createSelectorIsTaskSuggested",description:(e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a?.isSuggested}};let tm=(0,T.Ay)((e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a&&!(0,d.gk)(a)&&!a?.isSuggested});tm.meta={name:"isTaskAddedAndNotCompleted",key:"createSelectorIsTaskAddedAndNotCompleted",description:(e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a&&!(0,d.gk)(a)&&!a?.isSuggested}};let tf=(0,T.Ay)((e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a&&(0,d.gk)(a)});tf.meta={name:"isTaskAddedAndCompleted",key:"createSelectorIsTaskAddedAndCompleted",description:(e,t)=>{if(!(0,h.tl)(e))return!1;let a=tc(e,t);return!!a&&(0,d.gk)(a)}};let t_=(0,T.Ay)((e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localShowCompletedItemsByViewId[n]});t_.meta={name:"getLocalShowCompletedItems",key:"createSelectorGetLocalShowCompletedItems",description:(e,t,a)=>{let n=(0,B.zZ)({listId:t,viewId:a});return getListsState(e).localShowCompletedItemsByViewId[n]}};let tp=(0,C.ow)((e,t,a)=>{let n=W(e,t),r=(0,p.Qq)(n,a);return r?.showCompletedItems??!1}),th=(0,T.Ay)((e,t,a)=>{if((0,N.P)(e,t)&&!(0,h.Rr)(e))return!0;let n=t_(e,t,a);return void 0!==n?n:tp(e,t,a)});th.meta={name:"getCurrentShowCompletedItemsByViewId",key:"createSelectorGetCurrentShowCompletedItemsByViewId",description:(e,t,a)=>{if((0,N.P)(e,t)&&!(0,h.Rr)(e))return!0;let n=t_(e,t,a);return void 0!==n?n:tp(e,t,a)}};let tg=(0,i.Mz)(t_,tp,(e,t)=>void 0!==e&&!(0,r.A)(e,t)),tA=(0,T.Ay)((e,t)=>getListsState(e).selectedListVersionByListId[t]);tA.meta={name:"getSelectedListVersionByListId",key:"createSelectorGetSelectedListVersionByListId",description:(e,t)=>getListsState(e).selectedListVersionByListId[t]};let tb=(0,T.Ay)((e,t,a)=>{let n=(0,B.Ro)(t,a);return!!getListsState(e).aiTitleAllowedMap[n]});tb.meta={name:"getAllowedToUseAiTitle",key:"createSelectorGetAllowedToUseAiTitle",description:(e,t,a)=>{let n=(0,B.Ro)(t,a);return!!getListsState(e).aiTitleAllowedMap[n]}};let ty=(0,T.Ay)((e,t)=>getListsState(e).listHistoryVersionsByListId[t]);ty.meta={name:"getListHistoryByListId",key:"createSelectorGetListHistoryByListId",description:(e,t)=>getListsState(e).listHistoryVersionsByListId[t]};let tS=(0,T.Ay)((e,t)=>getListsState(e).listHistoryVersionsByListId[t]?.responseMetadata?.next_cursor);tS.meta={name:"getListHistoryCursor",key:"createSelectorGetListHistoryCursor",description:(e,t)=>getListsState(e).listHistoryVersionsByListId[t]?.responseMetadata?.next_cursor};let tE=(0,T.Ay)(e=>getListsState(e).newRecordRatio<.5);tE.meta={name:"getListsShowNewItemHighlight",key:"createSelectorGetListsShowNewItemHighlight",description:e=>getListsState(e).newRecordRatio<.5}},0x145468d67:(e,t,a)=>{"use strict";a.d(t,{d:()=>s});var n=a(0x11c82607b),r=a(0x8d0a2ff1),i=a(0x545e55d),o=a(0x131daede6);let s=(0,n.Ay)("Fetch and upsert list records",async(e,t,{compoundKeys:a})=>{let n={};a.forEach(e=>{let{listId:a,recordId:i}=(0,o.fO)(e);(0,r.V)(t(),a,i)||(n[a]||(n[a]=[]),n[a].push(i))});let s=Object.entries(n);s.length&&await Promise.all(s.map(([t,a])=>e((0,i.ky)({idsToFetch:a,listId:t}))))});s.meta={name:"ensureListRecords",key:"createThunkEnsureListRecords",description:"Fetch and upsert list records"}},0x545e55d:(e,t,a)=>{"use strict";a.d(t,{ky:()=>g,q5:()=>p,x3:()=>h});var n=a(0x242897a81),r=a.n(n),i=a(0x1eb57d5e9),o=a(0x14fde54c),s=a(0x70de3606),l=a(0x1ec68d6a3),c=a(0x57d5a5b5),d=a(0x11c82607b),u=a(0x9b971e7e),m=a(0x13654559a),f=a(0x1ffffec54),_=a(0x14a799db1);(0,d.Ay)("Fetch list and list record",async(e,t,{listId:a,id:n,includeIsSubscribed:r,reason:d="get-list-record"})=>{try{let{list:l,record:u}=await e((0,i.T)({listId:a,id:n,includeIsSubscribed:r,reason:d}));e((0,_.y)({lists:[l]}));let f=(0,o.yJ)({listId:a,state:t()}),p=(0,c.jG)(u,f);return e((0,m.$W)({listId:a,record:p,listsPerfTwoEnabled:(0,s.SP)(t())})),null}catch(e){return(0,l.default)({label:"lists"}).error("error fetching list record",e),{error:e?.data?.error}}}).meta={name:"fetchRecord",key:"createThunkFetchRecord",description:"Fetch list and list record"};let p=(0,d.Ay)("Fetch and upsert list record",(e,t,{idsToFetch:a,listId:n})=>r().all(a.map(async a=>{try{let r=(await e((0,i.T)({listId:n,id:a,includeIsSubscribed:!0,reason:"get-list-record"}))).record,s=(0,o.yJ)({listId:n,state:t()});return(0,c.jG)(r,s)}catch(e){if("record_deleted"===e.data.error)return{id:a,isDeleted:!0};return{id:a,isNonExistent:!0}}})));p.meta={name:"fetchRecordsForList",key:"createThunkFetchRecordsForList",description:"Fetch and upsert list record"};let h=(0,d.Ay)("Format and upsert list records",(e,t,{records:a,listId:n})=>{e((0,m.yw)({listId:n,records:a,listsPerfTwoEnabled:(0,s.SP)(t())}));let r=a.map(e=>e.id),i=(0,u.ZT)(t())||"";(0,f.mY)(i,r,n)});h.meta={name:"upsertRecordsForList",key:"createThunkUpsertRecordsForList",description:"Format and upsert list records"};let g=(0,d.Ay)("Fetch and upsert list record",async(e,t,{idsToFetch:a,listId:n})=>e(p({idsToFetch:a,listId:n})).then(t=>{e(h({records:t,listId:n}))}));g.meta={name:"fetchAndUpsertRecordsForList",key:"createThunkFetchAndUpsertRecordsForList",description:"Fetch and upsert list record"}},0x14a799db1:(e,t,a)=>{"use strict";a.d(t,{y:()=>o});var n=a(0x11c82607b),r=a(0x8468bab2),i=a(0x14ea3ce99);let o=(0,n.Ay)("Fetch list",async(e,t,{lists:a})=>{a.forEach(a=>{let n=(0,i.Lp)(t(),a.id);e((0,r.sM)({...n,...a}))})});o.meta={name:"upsertLocalListFiles",key:"createThunkUpsertLocalListFiles",description:"Fetch list"}},0x1888ea2e3:(e,t,a)=>{"use strict";a.d(t,{P:()=>o,U:()=>i});var n=a(0x1cf0d97e1),r=a(0x1ccef1c6f);let i=(0,n.Ay)((e,t)=>(0,r.iN)(e)===t);i.meta={name:"getIsAssignedToList",key:"createSelectorGetIsAssignedToList",description:(e,t)=>(0,r.iN)(e)===t};let o=(0,n.Ay)((e,t)=>{if(i(e,t))return!0;let a=(0,r.N$)(e);return(a?.[0]??void 0)===t});o.meta={name:"getIsMyTasksList",key:"createSelectorGetIsMyTasksList",description:(e,t)=>{if(i(e,t))return!0;let a=(0,r.N$)(e);return(a?.[0]??void 0)===t}}},0x131daede6:(e,t,a)=>{"use strict";a.d(t,{Ro:()=>makeCompoundKey,fO:()=>parseCompoundRecordKey,o2:()=>makeRefineComponentStateStoreKey,pe:()=>makeHighlightStoreKey,s2:()=>makeCompoundRecordKey,zZ:()=>getLocalRefinementsId});let getLocalRefinementsId=({listId:e,viewId:t})=>`${e}-${t}`,makeHighlightStoreKey=(e,t,a)=>`${e.toString()}-${t}-${a}`,makeRefineComponentStateStoreKey=(e,t)=>`${e.toString()}-${t}`,makeCompoundRecordKey=(e,t)=>`${e}-${t}`;function parseCompoundRecordKey(e){let[t,a]=e.split("-");return{listId:t,recordId:a}}let makeCompoundKey=(...e)=>e.join("-")},0xb46fca98:(e,t,a)=>{"use strict";a.d(t,{$:()=>isShareableMeetingsUnfurlEnabled,$2:()=>isCalendarProfileSchedulingEnabled,AV:()=>isMeetingThreadsEnabled,iT:()=>isHuddlesPageMVPCalendarViewEnabled});var n=a(0x14149c126);let isHuddlesPageMVPCalendarViewEnabled=e=>"on"===(0,n._Z)(e,"huddles_page_mvp_calendar_view"),isMeetingThreadsEnabled=e=>"on"===(0,n._Z)(e,"meeting_threads"),isCalendarProfileSchedulingEnabled=e=>"on"===(0,n._Z)(e,"calendar_profile_scheduling"),isShareableMeetingsUnfurlEnabled=e=>"on"===(0,n._Z)(e,"shareable_meetings_unfurl")},0x22ef89887:(e,t,a)=>{"use strict";a.d(t,{G0:()=>r,JL:()=>c,KT:()=>i,M5:()=>_,Py:()=>l,co:()=>u,cv:()=>m,h1:()=>h,i0:()=>d,it:()=>f,kd:()=>p,pn:()=>s,we:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Set Megaphone notification and (optional) data to a Megaphone space");r.meta={name:"setMegaphoneNotification",key:"createActionSetMegaphoneNotification",description:"Set Megaphone notification and (optional) data to a Megaphone space"};let i=(0,n.Ay)("Clear Megaphone space");i.meta={name:"clearMegaphoneSpace",key:"createActionClearMegaphoneSpace",description:"Clear Megaphone space"};let o=(0,n.Ay)("Clear All Megaphone spaces");o.meta={name:"clearAllMegaphoneSpaces",key:"createActionClearAllMegaphoneSpaces",description:"Clear All Megaphone spaces"};let s=(0,n.Ay)("Clear megaphone notification");s.meta={name:"clearMegaphoneNotification",key:"createActionClearMegaphoneNotification",description:"Clear megaphone notification"};let l=(0,n.Ay)("Set Megaphone notification boot Data as loaded");l.meta={name:"megaphoneNotificationBootDataFetched",key:"createActionMegaphoneNotificationBootDataFetched",description:"Set Megaphone notification boot Data as loaded"};let c=(0,n.Ay)("Side effect action for triggering sending of megaphone client event");c.meta={name:"broadcastMegaphoneClientEvent",key:"createActionBroadcastMegaphoneClientEvent",description:"Side effect action for triggering sending of megaphone client event"};let d=(0,n.Ay)("In response to an RTM event, clear a Megaphone notification from all spaces where it is currently showing");d.meta={name:"clearMegaphoneNotificationFromRtmEvent",key:"createActionClearMegaphoneNotificationFromRtmEvent",description:"In response to an RTM event, clear a Megaphone notification from all spaces where it is currently showing"};let u=(0,n.Ay)("Force coachmarks to be hidden due to an overlay appearing");u.meta={name:"shouldHideCoachmarks",key:"createActionShouldHideCoachmarks",description:"Force coachmarks to be hidden due to an overlay appearing"};let m=(0,n.Ay)("Show megaphone toggles upon shortcut activation");m.meta={name:"setShouldShowDispatcherToggle",key:"createActionSetShouldShowDispatcherToggle",description:"Show megaphone toggles upon shortcut activation"};let f=(0,n.Ay)("Store the Dispatcher`s most recent dispatch for a given space");f.meta={name:"persistDispatcherSubmission",key:"createActionPersistDispatcherSubmission",description:"Store the Dispatcher`s most recent dispatch for a given space"};let _=(0,n.Ay)("Clear stored submission for a given space");_.meta={name:"clearDispatcherSubmissionForSpace",key:"createActionClearDispatcherSubmissionForSpace",description:"Clear stored submission for a given space"};let p=(0,n.Ay)("Clear channel spaces megaphone notifications");p.meta={name:"clearChannelSpacesMegaphoneNotifications",key:"createActionClearChannelSpacesMegaphoneNotifications",description:"Clear channel spaces megaphone notifications"};let h=(0,n.Ay)("Clear a new badge from redux, to hide it from view");h.meta={name:"clearNewBadge",key:"createActionClearNewBadge",description:"Clear a new badge from redux, to hide it from view"}},0xb9604b6:(e,t,a)=>{"use strict";a.d(t,{Ak:()=>m,Hp:()=>u,NI:()=>s,OL:()=>d,_7:()=>l,_W:()=>c,ap:()=>g,k6:()=>h,lN:()=>f,up:()=>_,y$:()=>p});var n=a(0x21f3c49e8),r=a(0x1df96de4c),i=a(0x1cf0d97e1),o=a(0x5b1935a6);let s=(0,i.Ay)(e=>e?.megaphoneNotification);s.meta={name:"getMegaphoneNotificationState",key:"createSelectorGetMegaphoneNotificationState",description:e=>e?.megaphoneNotification};let l=(0,i.Ay)((e,t,a)=>{let n=s(e);return a?n?.channelSpaces?.[a]?.[t]:n?.megaphoneSpaces?.[t]});l.meta={name:"selectMegaphoneNotification",key:"createSelectorSelectMegaphoneNotification",description:(e,t,a)=>{let n=s(e);return a?n?.channelSpaces?.[a]?.[t]:n?.megaphoneSpaces?.[t]}};let c=(0,i.Ay)((e,t,a)=>void 0!==l(e,t,a));c.meta={name:"selectMegaphoneSpaceIsLoaded",key:"createSelectorSelectMegaphoneSpaceIsLoaded",description:(e,t,a)=>void 0!==l(e,t,a)};let d=(0,i.Ay)((e,t,a)=>{let n=l(e,t,a);return n?.notificationData??r.t0});d.meta={name:"selectMegaphoneNotificationData",key:"createSelectorSelectMegaphoneNotificationData",description:(e,t,a)=>{let n=l(e,t,a);return n?.notificationData??r.t0}};let u=(0,i.Ay)((e,t,a)=>{let n=l(e,t,a);return n?.notificationName});u.meta={name:"selectMegaphoneNotificationName",key:"createSelectorSelectMegaphoneNotificationName",description:(e,t,a)=>{let n=l(e,t,a);return n?.notificationName}};let m=(0,i.Ay)(e=>{let t=d(e,o.xu.SIDEBAR_FOOTER);return(0,n.A)(t)?d(e,o.xu.SIDEBAR_MENU):t});m.meta={name:"selectSidebarTrialMegaphoneNotificationData",key:"createSelectorSelectSidebarTrialMegaphoneNotificationData",description:e=>{let t=d(e,o.xu.SIDEBAR_FOOTER);return(0,n.A)(t)?d(e,o.xu.SIDEBAR_MENU):t}};let f=(0,i.Ay)(e=>s(e)?.megaphoneBootDataFetched??!1);f.meta={name:"selectIsMegaphoneNotificationBootDataLoaded",key:"createSelectorSelectIsMegaphoneNotificationBootDataLoaded",description:e=>s(e)?.megaphoneBootDataFetched??!1};let _=(0,i.Ay)(e=>s(e)?.shouldHideCoachmarks);_.meta={name:"selectShouldHideCoachmarks",key:"createSelectorSelectShouldHideCoachmarks",description:e=>s(e)?.shouldHideCoachmarks};let p=(0,i.Ay)(e=>s(e)?.shouldShowDispatcherToggle);p.meta={name:"selectShouldShowDispatcherToggle",key:"createSelectorSelectShouldShowDispatcherToggle",description:e=>s(e)?.shouldShowDispatcherToggle};let h=(0,i.Ay)((e,t)=>s(e)?.dispatcherSubmissions[t]);h.meta={name:"selectPreviousDispatcherSubmissionForSpace",key:"createSelectorSelectPreviousDispatcherSubmissionForSpace",description:(e,t)=>s(e)?.dispatcherSubmissions[t]},(0,i.Ay)(e=>s(e)?.lastGlobalCoachmarkFetchTs).meta={name:"selectLastGlobalCoachmarkFetchTs",key:"createSelectorSelectLastGlobalCoachmarkFetchTs",description:e=>s(e)?.lastGlobalCoachmarkFetchTs};let g=(0,i.Ay)((e,t)=>!!s(e)?.megaphoneSpaces?.[o.xu.GENERIC_NEW_BADGE]?.notificationData?.badges?.includes(t));g.meta={name:"selectIsNewBadgeVisible",key:"createSelectorSelectIsNewBadgeVisible",description:(e,t)=>!!s(e)?.megaphoneSpaces?.[o.xu.GENERIC_NEW_BADGE]?.notificationData?.badges?.includes(t)}},0xafce781a:(e,t,a)=>{"use strict";let n;a.d(t,{AD:()=>M,iR:()=>D,tE:()=>B,K8:()=>U,DN:()=>P,yJ:()=>F,u2:()=>L});var r=a(0x21f3c49e8),i=a(0x139aa1a7),o=a(0xbaaab71e),s=a(0x1059ba41d),l=a(0x19baa2ace),c=a(0x1ec68d6a3),d=a(0x1fea7ac86),u=a(0x16ed1b0dc),m=a(0xd6ba6894),f=a(0xd35ac109),_=a(0x1cf38bd02);function getSlackConnectInviteIdFromUrlForNewTeam(e){if(!(0,_.nc)(e))return;let t=(0,f.nT)(m.J.location.search).invite_id_to_accept;if(t&&"string"==typeof t)return t}var p=a(0x11c82607b),h=a(0x105dc1dae),g=a(0x21f2d2479),A=a(0x1f8f05a48),b=a(0x21bfacd01),y=a(0x22ef89887),S=a(0xb9604b6),E=a(0x5b1935a6),k=a(0x1df96de4c),T=a(0x1c7cb6e50);let prepare_data=e=>{let t,a,n=(t=E.Wm,Object.keys(a=(0,T.t)(e)||{}).reduce((e,n)=>({...e,...{[t[n]||n]:a[n]}}),{}));return(0,r.A)(n)?k.t0:n};var I=a(0x18a17ca8f),w=a(0x130084fd),C=a(0x13300685c),v=a(0x10437fca0),x=a(0x19895585a),R=a(0x9271cc31);let O=(0,c.getGenericLogger)(),N=new Set([E.xu.RECORD_CHANNEL_DETAILS_TAB_HEADER,E.xu.RECORD_CHANNEL_RELATED_CONVERSATIONS_TAB_HEADER,E.xu.RECORD_CHANNEL_RELATED_RECORD_LIST_TAB_HEADER,E.xu.RECORD_CHANNEL_SUMMARY_TAB_HEADER]),D=(0,p.Ay)("Load megaphone notification data",(e,t,a)=>{let n=(0,b.V)(t())||void 0;return(0,I.Nt)(t())?e((0,l.Y)({reason:"load-megaphone-notification-data",criticalOnly:n,...a})).then((t={})=>{if((0,r.A)(t))return;let{ok:n,error:i,response_metadata:o,notifications:s}=t;if(!1===n||i)return void O.warn(E.cK,"Error while fetching notification data",{error:i,messages:o?.messages});let l=s||{},c=Object.keys(l),d=Object.values(E.xu);c.forEach(t=>{if(!d.includes(t))return;let n=N.has(t)?void 0:a.channelId;if(null===l[t])t===E.xu.PROGRESSIVE_DISCLOSURE&&a?.isOrganicUseOfProgressiveDisclosureFeature||e((0,y.G0)({spaceName:t,channelId:n})),t===E.xu.LAUNCH_MODAL&&e((0,g.A)());else{let{name:a,data:r={}}=l[t];if(t===E.xu.CHANNEL_CONTEXT_BAR&&a===E.ze.SLACK_CONNECT_CHANNEL_CONTEXT_BANNER)return void e((0,y.G0)({spaceName:t,channelId:n,notificationName:a,notificationData:{...prepare_data(r),channelId:n}}));let i=a===E.ze.SLACK_CONNECT_SPONSORED_CONNECTIONS_WELCOME_MODAL,o=a===E.ze.WELCOME_PARTY_CHANNEL_JOIN_MODAL;e((0,y.G0)({spaceName:t,channelId:i||o?void 0:n,notificationName:a,notificationData:prepare_data(r)})),t===E.xu.LAUNCH_MODAL&&e((0,g.A)())}t===E.xu.SIDEBAR_FOOTER&&e((0,h.D)())})}):Promise.reject()});D.meta={name:"loadMegaphoneNotificationData",key:"createThunkLoadMegaphoneNotificationData",description:"Load megaphone notification data"};let L=(0,A.Ay)(D,36e5,!0,void 0,!1),M=(0,p.Ay)("Initial load for specific Megaphone Spaces that need to load on boot",(e,t,a,n)=>{let r=(0,v.$4)(t()),l=(0,s.Z9F)(),c=[[E.xu.CLIENT_FOOTER,E.xu.CLIENT_HEADER_RIGHT,E.xu.MESSAGE_PANE,E.xu.SIDEBAR_FOOTER,E.xu.LAUNCH_MODAL,E.xu.SIDEBAR_MENU,E.xu.IN_PRODUCT_COACHMARK,E.xu.EDUCATION_USER_GROUP_SECTIONS_COACHMARK,E.xu.QUICK_REACTIONS,E.xu.MESSAGE_ACTIONS_LABELS,E.xu.MESSAGE_ACTION_EDIT_MESSAGE_LABEL,E.xu.PROGRESSIVE_DISCLOSURE,E.xu.WELCOME_SPACE,E.xu.MESSAGE_INPUT,E.xu.EDIT_MESSAGE_INPUT,E.xu.ACTIVITY_TAB_SIDEBAR,E.xu.ACTIVITY_LIST,E.xu.TAB_RAIL_HOME_TAB,E.xu.ADMIN_MENU_BOTTOM_BANNER,E.xu.SIDEBAR_POPOUT,E.xu.RECORD_CHANNEL_SIDEBAR_SECTION],[E.xu.WORKSPACE_MENU_PRIMARY_PLAN_INFO,E.xu.WORKSPACE_MENU_SECONDARY_PLAN_INFO,E.xu.WORKSPACE_MENU_UPSELL,E.xu.EMOJI_DRAWER,E.xu.INVITE_MODAL_HEADING,E.xu.CREATE_CHANNEL_MAKE_SHARED_CTA,E.xu.GUESTS_MODAL_DROPDOWN,E.xu.MAIN_MENU,E.xu.PROFILE_MENU,E.xu.SIDEBAR_MENU_HEADER,E.xu.LATER_PAGE_HEADER,E.xu.LATER_PAGE_SIDEBAR_LINK,E.xu.LATER_PAGE_TODAY,E.xu.WORKFLOW_BUILDER_HEADER,E.xu.APP_HEADER,E.xu.ALL_WORKFLOWS_HEADER,E.xu.AUTOMATIONS_SIDEBAR_MENU_ITEM,E.xu.WORKFLOWS_MORE_ACTIONS_MENU,E.xu.CANVAS_TEMPLATE,E.xu.USER_MENU_COACHMARKS,E.xu.MORE_PEEK_MENU,E.xu.CREATE_MENU,E.xu.SEARCH_MODAL_FOOTER,E.xu.HUDDLE_INVITE_MODAL,E.xu.HUDDLE_TOOLBAR,E.xu.AUTOMATIONS_TAB_COACHMARKS,E.xu.LISTS_ADD_TO_LIST_MODAL,E.xu.SEARCH_MODAL_HEADER,E.xu.WORKSPACE_ADD_MENU,E.xu.WORKSPACE_TEAM_SWITCHER_MENU,E.xu.CANVAS_CREATE_MENU,E.xu.CALENDAR_PAGE_HEADER,E.xu.TODOS_ADD_TO_TODOS_MODAL,E.xu.TODOS_HOME_SIDEBAR,E.xu.CHANNEL_CONTEXT_MENU,E.xu.CHANNEL_HEADER_MORE_MENU_OPEN_SPLIT,E.xu.GENERIC_NEW_BADGE,E.xu.SIDEBAR_MENU_SEASONAL_LINK,E.xu.SIDEBAR_MENU_ONBOARDING_TASKS_LINK,E.xu.SLACKBOT_AI_DM_THREAD_HEADER,E.xu.SLACKBOT_AI_DM,E.xu.TODAY_VIEW_HEADER,E.xu.TOOLS_TAB_RAIL,E.xu.TOOLS_TAB_SIDEBAR_HEADER,E.xu.TOOLS_TAB_COACHMARKS]],d=getSlackConnectInviteIdFromUrlForNewTeam(t()),{getSiblingView:m}=n(o.U),f=m(t(),{container:x.mq.Primary})?.id,_=(0,R.F8)(t(),{tab:(0,R.e6)(t()),container:x.mq.Primary}),p=_?.viewType===i.D.AboutWorkspace;return Promise.all(c.map(t=>{let n={event:{type:E.jo.REQUEST_SPACES,spaces:t,iaVersion:4,isAppStoreBuild:l,isJoinerLaunchpadEnabled:r},reason:a.megaphoneReason};return(0,u.A)(f)&&(n.event.channel=f),p&&(n.event.externalWorkspaceId=_.id),d&&(n.event.slackConnectInviteId=d),e(D(n))}))});M.meta={name:"chunkedLoadMegaphoneNotificationBootData",key:"createThunkChunkedLoadMegaphoneNotificationBootData",description:"Initial load for specific Megaphone Spaces that need to load on boot"};let F=(0,A.Ay)(M,36e5,!0,void 0,!1),P=(0,p.Ay)("Load megaphone notification data after a random delay",(e,t,a)=>{n||(n=setTimeout(()=>{e(M(a)),n=null},(0,d.A)((0,w.IG)(t())||(0,C.fJ)(t())?0:2e4,-1,0)))});P.meta={name:"randomDelayedLoadMegaphoneNotificationData",key:"createThunkRandomDelayedLoadMegaphoneNotificationData",description:"Load megaphone notification data after a random delay"};let U=(0,p.Ay)("load megaphone on boot",async(e,t)=>(0,S.lN)(t())?Promise.resolve():(await e(F({megaphoneReason:"nav-boot"})),e((0,y.Py)())));U.meta={name:"maybeFetchMegaphoneOnBootEvent",key:"createThunkMaybeFetchMegaphoneOnBootEvent",description:"load megaphone on boot"};let B=(0,p.Ay)("load megaphone data immediately",async(e,t)=>(0,S.lN)(t())?Promise.resolve():(await e(M({megaphoneReason:"fetch-megaphone-data-immediately"})),e((0,y.Py)())));B.meta={name:"maybeFetchMegaphoneDataImmediately",key:"createThunkMaybeFetchMegaphoneDataImmediately",description:"load megaphone data immediately"}},0xf3c65e54:(e,t,a)=>{"use strict";a.d(t,{A:()=>f,j:()=>m});var n=a(0x4f6e90b4),r=a(0xe874a88a),i=a(0x18dac2b8e),o=a(0x50f4a241),s=a(0x11c82607b),l=a(0x1f8f05a48);let c={devOnlyDisableMegaphoneImpressions:!1};(0,n.ul)("megaphone",c);let d=(0,s.Ay)("record an event (e.g. dismissal, impression, etc) on a megaphone notification",(e,t,a)=>{let{notificationName:n,...s}=a;if(((0,i.Cu)()||(0,i.b3)())&&c.devOnlyDisableMegaphoneImpressions)return r.S.resolve();let l={notification:n,...s,reason:"record-notification-event"};return e((0,o.a)(l))});function recordNotificationEventImpl(e){return d(e)}d.meta={name:"recordNotificationEventBase",key:"createThunkRecordNotificationEventBase",description:"record an event (e.g. dismissal, impression, etc) on a megaphone notification"},Object.assign(recordNotificationEventImpl,d);let u=recordNotificationEventImpl,m=(0,l.Ay)(u,6e4,!0,void 0,!1),f=m},0x5b1935a6:(e,t,a)=>{"use strict";a.d(t,{K3:()=>s,Wm:()=>c,cK:()=>l,hw:()=>o,jo:()=>d,p_:()=>i,xu:()=>r,ze:()=>u});var n=a(0x218842a12);let r={PRICING_PAGE_PROMOTIONAL_HEADER:"pricing_page_promotional_header",PRICING_PAGE_INFO_BANNER:"pricing_page_info_banner",CHECKOUT_HEADER:"checkout_header",SIDEBAR_FOOTER:"sidebar_footer",WORKSPACE_MENU_PRIMARY_PLAN_INFO:"workspace_menu_primary_plan_info",WORKSPACE_MENU_SECONDARY_PLAN_INFO:"workspace_menu_secondary_plan_info",WORKSPACE_MENU_UPSELL:"workspace_menu_upsell",MESSAGE_PANE:"message_pane",MESSAGE_INPUT:"message_input",IN_PRODUCT_COACHMARK:"in_product_coachmark",LAUNCH_MODAL:"launch_modal",WELCOME_SPACE:"welcome_space",MESSAGE_ACTIONS_LABELS:"message_actions_labels",EMOJI_DRAWER:"emoji_drawer",CLIENT_FOOTER:"client_footer",CREATE_CHANNEL_MAKE_SHARED_CTA:"create_channel_make_shared_cta",INVITE_MODAL_HEADING:"invite_modal_learn_more_about_guests_cta",GUESTS_MODAL_DROPDOWN:"guests_modal_dropdown",SEARCH_RESULTS_CONTENT_ITEM:"search_results_content_item",SEARCH_RESULTS_HEADER:"search_results_header",SEARCH_RESULTS_FILE_TAB_HEADER:"search_results_file_tab_header",UNIFIED_SEARCH_RESULTS_HEADER:"unified_search_results_header",UNIFIED_SEARCH_FILTERS_FOOTER:"unified_search_filters_footer",ENTERPRISE_SEARCH_MANAGE_APPS_MODAL_FOOTER:"enterprise_search_manage_apps_modal_footer",QUICK_REACTIONS:"quick_reactions",PAID_BENEFITS_FOOTER:"paid_benefits_footer",PAID_BENEFITS_HEADER:"paid_benefits_header",SIDEBAR_MENU:"sidebar_menu",SIDEBAR_MENU_HEADER:"sidebar_menu_header",SIDEBAR_POPOUT:"sidebar_popout",CHANNEL_CONTEXT_BAR:"channel_context_bar",MAIN_MENU:"main_menu",PROGRESSIVE_DISCLOSURE:"progressive_disclosure",SLACK_CONNECT_SEARCH_BAR:"slack_connect_search_bar",VHQ_CANVAS:"vhq_canvas",CHANNEL_CANVAS_FOOTER:"channel_canvas_footer",HELP_PRC:"help_prc",HUDDLES_THREAD_HEADER:"huddles_thread_header",PROFILE_MENU:"profile_menu",LATER_PAGE_HEADER:"later_page_header",LATER_PAGE_SIDEBAR_LINK:"later_page_sidebar_link",LATER_PAGE_TODAY:"later_page_today",LISTS_SYNTHETIC_PAGE:"lists_synthetic_page",LISTS_RECORD_VIEW:"lists_record_view",LISTS_LIST_VIEW:"lists_list_view",LISTS_ADD_TO_LIST_MODAL:"lists_add_to_list_modal",LISTS_VIEWS_VIEW:"lists_views_view",LISTS_REFINEMENTS_VIEW:"lists_refinements_view",LISTS_NUDGES:"lists_nudges",LISTS_THREAD_VIEW:"lists_thread_view",LISTS_FIELD_MENU_VIEW:"lists_field_menu_view",LISTS_HOME_HEADER:"lists_home_header",LISTS_WORKFLOW_DUE_DATE_SUMMARIES_NEW_BADGE_SPACE:"lists_workflow_due_date_summaries_new_badge_space",LISTS_WORKFLOW_DUE_DATE_NOTIFICATIONS_NEW_BADGE_SPACE:"lists_workflow_due_date_notifications_new_badge_space",HUDDLE_TOOLBAR:"huddle_toolbar",TAB_RAIL_HOME_TAB:"tab_rail_home_tab",TAB_RAIL_LATER_TAB:"tab_rail_later_tab",SYNTHETIC_CANVAS_HEADER:"synthetic_canvas_header",STANDALONE_CANVAS_HEADER:"standalone_canvas_header",ORG_DASHBOARD_COACHMARKS:"org_dashboard_coachmarks",SALES_HOME_NOTIFICATION_SETTINGS_HEADER:"sales_home_notification_settings_header",SALESFORCE_ORGANIZATION_DETAILS_FOOTER:"salesforce_organization_details_footer",ORG_SETTINGS_COACHMARK:"org_settings_coachmark",MANAGE_APPS_COACHMARK:"manage_apps_coachmark",WORKFLOW_BUILDER_HEADER:"workflow_builder_header",APP_HEADER:"app_header",INSTALLED_APPS_HEADER:"installed_apps_header",APP_DIRECTORY_HEADER:"app_directory_header",PUBLISHED_WORKFLOWS_HEADER:"published_workflows_header",CANVAS_SYSTEM_MESSAGE:"canvas_system_message",SLACK_CONNECT_SETTINGS_HEADER:"slack_connect_settings_header",SLACK_CONNECT_SETTINGS_EXTERNAL_PEOPLE_PERMISSIONS:"slack_connect_settings_external_people_permissions",ACTIVITY_TAB_SIDEBAR:"activity_tab_sidebar",ACTIVITY_LIST:"activity_list",AUTOMATIONS_SIDEBAR_MENU_ITEM:"automations_sidebar_menu_item",AUTOMATIONS_TAB_COACHMARKS:"automations_tab_coachmarks",SLACK_CONNECT_CONNECTIONS_COACHMARKS:"slack_connect_connections_coachmarks",SLACK_CONNECT_CONNECTIONS_COACHMARKS_TEAM_SITE:"slack_connect_connections_coachmarks_team_site",SLACK_CONNECT_EXTERNAL_PEOPLES_PAGE_HEADER:"slack_connect_external_peoples_page_header",SLACK_CONNECT_EXTERNAL_CONNECTIONS_BROWSER_HEADER:"slack_connect_external_connections_browser_header",CLIENT_HEADER_RIGHT:"client_header_right",CANVAS_TEMPLATE:"canvas_template",CANVAS_TEMPLATE_GALLERY_FOOTER:"canvas_template_gallery_footer",USER_MENU_COACHMARKS:"user_menu_coachmarks",CANVAS_PEEK_HEADER:"canvas_peek_header",CANVAS_CREATE_MENU:"canvas_create_menu",CANVAS_AI_INTRO_MODAL:"canvas_ai_intro_modal",MORE_PEEK_MENU:"more_peek_menu",CREATE_MENU:"create_menu",SEARCH_MODAL_HEADER:"search_modal_header",SEARCH_MODAL_FOOTER:"search_modal_footer",SEARCH_MODAL_CONTENT:"search_modal_content",HUDDLE_INVITE_MODAL:"huddle_invite_modal",ALL_WORKFLOWS_HEADER:"all_workflows_header",WORKFLOWS_MORE_ACTIONS_MENU:"workflows_more_actions_menu",WORKFLOW_TEMPLATES_HEADER:"workflow_templates_header",WORKFLOWS_CHANNEL_TAB_HEADER:"workflows_channel_tab_header",WORKFLOW_BUILDER_COACHMARKS:"workflow_builder_coachmarks",WORKFLOW_BUILDER_ACTION_LIBRARY_BADGES:"workflow_builder_action_library_badges",WORKFLOW_BUILDER_ACTION_LIBRARY_COACHMARKS:"workflow_builder_action_library_coachmarks",WORKFLOW_ADMIN_MANAGE_INTEGRATIONS_TAB_NEW_BADGE:"workflow_admin_manage_integrations_tab_new_badge",WORKFLOW_STEPS_TRIGGERS_INTEGRATIONS_ADMIN_VIEW_HEADER:"workflow_steps_triggers_integrations_admin_view_header",HUDDLE_PAGE_HEADER:"huddle_page_header",RECORD_CHANNEL_DETAILS_TAB_HEADER:"record_channel_details_tab_header",RECORD_CHANNEL_RELATED_CONVERSATIONS_TAB_HEADER:"record_channel_related_conversations_tab_header",RECORD_CHANNEL_RELATED_CONVERSATIONS_SECONDARY_TAB_HEADER:"record_channel_related_conversations_secondary_tab_header",RECORD_CHANNEL_RELATED_RECORD_LIST_TAB_HEADER:"record_channel_related_record_list_tab_header",RECORD_CHANNEL_SIDEBAR_SECTION:"record_channel_sidebar_section",RECORD_CHANNEL_SUMMARY_TAB_HEADER:"record_channel_summary_tab_header",EDUCATION_USER_GROUP_SECTIONS_COACHMARK:"education_user_group_sections_coachmark",SLACK_AI_RECAP_HEADER:"slack_ai_recap_header",SLACK_AI_SEARCH_ANSWER:"slack_ai_search_answer",SLACK_AI_SEARCH_GENERATE_RESULT:"slack_ai_search_generate_result",SLACK_AI_SUMMARY_HEADER:"slack_ai_summary_header",AI_APPS_CHAT_TAB:"ai_apps_chat_tab",GLOBAL_ADMIN_HEADER:"global_admin_header",ADMIN_MENU_BOTTOM_BANNER:"admin_menu_bottom_banner",WORKFLOW_BUILDER_QUESTION_OPTION_INPUT:"workflow_builder_question_option_input",TODOS_SAVED_FOR_LATER_HEADER:"todos_saved_for_later_header",TODOS_PAGE_HEADER_DESKTOP:"todos_page_header_desktop",TODOS_TOP_PAGE_HEADER_DESKTOP:"todos_top_page_header_desktop",TODOS_ADD_TO_TODOS_MODAL:"todos_add_to_todos_modal",TODOS_ITEM_DETAILS_FLEXPANE_HEADER:"todos_item_details_flexpane_header",TODOS_HOME_SIDEBAR:"todos_home_sidebar",WORKFLOW_BUILDER_FORM_QUESTION_TYPE_SELECT:"workflow_builder_form_question_type_select",WORKFLOW_BUILDER_ACTION_LIBRARY_MESSAGE_POSTED_TRIGGER_ITEM:"workflow_builder_action_library_message_posted_trigger_item",WORKFLOW_BUILDER_MESSAGE_POSTED_TRIGGER_MODAL:"workflow_builder_message_posted_trigger_modal",WORKFLOW_BUILDER_ACTION_LIBRARY_NEW_CONDITIONAL_STEP_BADGES:"workflow_builder_action_library_new_conditional_step_badges",HERMES_WORKFLOWS_CONDITIONAL_TEMPLATES_NEW_BADGE_VIEW:"hermes_workflows_conditional_templates_new_badge_view",SLACK_DEVELOPER_PROGRAM_SANDBOX_WORKSPACE_BANNER:"slack_developer_program_sandbox_workspace_banner",SLACK_DEVELOPER_PROGRAM_SANDBOX_ARCHIVE_COUNTDOWN_BANNER:"slack_developer_program_sandbox_archive_countdown_banner",VIP_DND_PREFERENCES_BADGE:"vip_dnd_preferences_badge",WORKSPACE_TEAM_SWITCHER_MENU:"workspace_team_switcher_menu",WORKSPACE_ADD_MENU:"workspace_add_menu",CALENDAR_PAGE_HEADER:"calendar_page_header",THREAD_VIEW_TOP:"thread_view_top",WORKFLOW_BUILDER_LINK_TRIGGER_MODAL:"workflow_builder_link_trigger_modal",HUDDLE_THREAD_SUMMARY_COMPLETE_SLACKBOT_REPLY:"huddle_thread_summary_complete_slackbot_reply",UNIFIED_FILES_BROWSER_HEADER:"unified_files_browser_header",ADD_SALESFORCE_LIST_MODAL_HEADER:"add_salesforce_list_modal_header",SINGLE_RECORD_FLEXPANE_HEADER:"single_record_flexpane_header",CHANNEL_CONTEXT_MENU:"channel_context_menu",CHANNEL_HEADER_MORE_MENU_OPEN_SPLIT:"channel_header_more_menu_open_split",GENERIC_NEW_BADGE:"generic_new_badge",EDIT_MESSAGE_INPUT:"edit_message_input",SIDEBAR_MENU_SEASONAL_LINK:"sidebar_menu_seasonal_link",DOWNMARKET_LISTS_DETAILS_HEADER:"downmarket_lists_details_header",DOWNMARKET_CRM_CONTACT_RECORD_FLEXPANE_FOOTER:"downmarket_crm_contact_record_flexpane_footer",SIDEBAR_MENU_ONBOARDING_TASKS_LINK:"sidebar_menu_onboarding_tasks_link",HUDDLES_NUX_PREVIEW_BANNER:"huddles_nux_preview_banner",SLACKBOT_AI_DM_THREAD_HEADER:"slackbot_ai_dm_thread_header",SLACKBOT_AI_DM:"slackbot_ai_dm",PREFERENCES_NOTIFICATIONS_HEADER:"preferences_notifications_header",MESSAGE_ACTION_EDIT_MESSAGE_LABEL:"message_action_edit_message_label",MESSAGE_COMPOSER:"message_composer",CHANNEL_TAB_FOLDER_PEEK_HEADER:"channel_tab_folder_peek_header",TODAY_VIEW_HEADER:"today_view_header",TOOLS_TAB_RAIL:"tools_tab_rail",TOOLS_TAB_SIDEBAR_HEADER:"tools_tab_sidebar_header",TOOLS_TAB_COACHMARKS:"tools_tab_coachmarks"},i={DUNNING_DAY_1_BANNER:"dunning_day_1_banner",DUNNING_DAY_3_OWNER_CARDHOLDER_BANNER:"dunning_day_3_owner_cardholder_banner",DUNNING_DAY_3_ADMIN_BILLING_CONTACTS_BANNER:"dunning_day_3_admin_billing_contacts_banner",DUNNING_DAY_7_OWNER_CARDHOLDER_BANNER:"dunning_day_7_owner_cardholder_banner",DUNNING_DAY_7_ADMIN_BILLING_CONTACTS_BANNER:"dunning_day_7_admin_billing_contacts_banner",DUNNING_DAY_14_OWNER_CARDHOLDER_BANNER:"dunning_day_14_owner_cardholder_banner",DUNNING_DAY_14_ADMIN_BILLING_CONTACTS_BANNER:"dunning_day_14_admin_billing_contacts_banner",DUNNING_DAY_21_BILLING_STAKEHOLDERS_BANNER:"dunning_day_21_billing_stakeholders_banner",DUNNING_DAY_21_ALL_USERS_BANNER:"dunning_day_21_all_users_banner"},o={IMPRESSION:"impression",DISMISS:"dismiss",CLICK:"click"},s={COLLAPSE:"collapse",DEFAULT:"default"},l="MEGAPHONE",c={discountPct:"discountPercent",noOfDaysLeft:"numDaysLeft",payDateNext:"expirationDate",planExpirationTs:"expirationTs",subtype:"promoSubType",renewalLevel:"planRenewalLevel"},d={HUDDLE_ENDED:"huddle_ended",CONNECT_INVITE_SENT:"connect_invite_sent",HUDDLE_LARGE_WINDOW_OPEN:"huddles_large_window_opened",HUDDLE_MINI_WINDOW_OPEN:"huddles_mini_window_opened",HUDDLE_MINI_PLAYER_OPEN:"huddles_mini_player_opened",HUDDLES_SCREENSHARE_ON:"huddles_screenshare_on",HUDDLE_STARTED_FROM_THREAD:"huddle_started_from_thread",HUDDLES_SHOW_ALL_HUDDLES_NUX:"show_all_huddles_nux",PD_FIRST_MESSAGE_SENT:"first_message_sent",PD_FIRST_USER_INVITED:"first_user_invited",PD_REACJI_ICON_CLICKED:"reacji_icon_clicked",PD_MENTION_ICON_CLICKED:"mention_icon_clicked",REACJI:"reacji",MENTION:"mention",ADMIN_APPS_REQUESTS_PAGE_LOAD:"admin_apps_requests_page_load",HELP_HOME_OPENED:"help_home_opened",REPLY_IN_THREAD_CLICKED:"reply_in_thread_clicked",THREAD_REPLY_SENT:"thread_reply_sent",HUDDLE_HOVER:"huddle_hover",ADD_CHANNELS_CLICKED:"add_channels_clicked",CHANNEL_CREATED:"channel_created",CHANNEL_OPEN:"channel_open",CHANNEL_OPEN_FROM_COMPOSER:"channel_open_from_composer",CHANNEL_DETAILS_MODAL_OPENED:"channel_details_modal_opened",PROFILE_PICTURE_CLICKED:"profile_picture_clicked",STATUS_SET:"status_set",FILE_SHARED:"file_shared",MESSAGE_PINNED:"message_pinned",HELP_CENTER_INTERACTED:"help_center_interacted",LATER_PAGE_OPENED:"later_page_opened",LISTS_PAGE_OPENED:"lists_page_opened",LISTS_RECORD_VIEW_OPENED:"lists_record_view_opened",LISTS_LIST_OPENED:"lists_list_opened",LISTS_VIEWS_OPENED:"lists_views_opened",LISTS_REFINEMENTS_OPENED:"lists_refinements_opened",LISTS_TAB_PRESSED:"lists_tab_pressed",CANVAS_TAB_BOOT:"canvas_tab_boot",CANVAS_OPEN:"canvas_open",WORKFLOW_BUILDER_BOOT:"workflow_builder_boot",WORKFLOW_BUILDER_TRIGGER_SELECTED:"workflow_builder_trigger_selected",JOINER_LAUNCHPAD_DISMISSED:"joiner_launchpad_dismissed",EXTERNAL_WORKSPACE_LAUNCHED:"external_workspace_launched",LATER_TAB_REVEALED:"later_tab_revealed",TABS_REVEALED:"tabs_revealed",SEARCH_DROPDOWN_OPEN:"search_dropdown_open",SEARCH_DROPDOWN_CLOSED:"search_dropdown_closed",SEARCH_RESULTS_PAGE_CLOSED:"search_results_page_closed",ENTERPRISE_SEARCH_FIRST_APP_CONNECTED:"enterprise_search_first_app_connected",ENTERPRISE_SEARCH_EMAIL_NUDGE:"enterprise_search_email_nudge",DEV_TRIGGER_IA4_NUX_TOUR:"dev_trigger_ia4_nux_tour",DIGEST_CHANNEL_ADDED:"digest_channel_added",DIGEST_RECEIVED_PREVIEW:"digest_received_preview",SLACK_AI_NFX_ELIGIBLE_CHANNEL_OPENED:"slack_ai_nfx_eligible_channel_opened",SLACK_AI_NUX_ELIGIBLE_SUMMARY_GENERATED:"slack_ai_nux_eligible_summary_generated",SLACK_AI_FILE_SUMMARY_AVAILABLE:"slack_ai_file_summary_available",SLACK_AI_HUDDLE_SUMMARY_NUDGE_TIMER_ELAPSED:"slack_ai_huddle_summary_nudge_timer_elapsed",SLACK_AI_CHANNEL_THREAD_SUMMARY_AVAILABLE:"slack_ai_channel_thread_summary_available",PUSH_SUMMARY_TRIGGERED:"push_summary_triggered",WINDOWING_BUTTON_RENDERED:"windowing_button_rendered",DM_CANVAS_CLOSED:"dm_canvas_closed",LEFT_LISTS_TAB:"left_lists_tab",LISTS_FIELD_MENU_OPENED:"lists_field_menu_opened",USERGROUP_SECTION_ADDED:"usergroup_section_added",EDUCATION_SCHEDULED_SEND_IN_THREADS:"education_scheduled_send_in_threads",HUDDLES_PAGE_OPENED:"huddles_page_opened",HUDDLES_PREVIEW_WINDOW_OPENED:"huddles_preview_window_opened",REQUEST_SPACES:"request_spaces",CLOSE_EMOJI_PACK_FROM_QUICK_SOLUTION:"close_emoji_pack_from_quick_solution",CLOSE_CLIP_FROM_QUICK_SOLUTION:"close_clip_from_quick_solution",CLOSE_CANVAS_FROM_QUICK_SOLUTION:"close_canvas_from_quick_solution",SHOW_HUDDLE_FROM_QUICK_SOLUTION:"show_huddle_from_quick_solution",THREAD_PANE_OPENED:"thread_pane_opened",APP_HOME_OPENED:"app_home_opened",CHECKOUT_PAGE_OPENED:"checkout_page_opened",SOLUTIONS_CHANNEL_CREATED:"solutions_channel_created",SOLUTIONS_WELCOME_BANNER_DISMISSED:"solutions_welcome_banner_dismissed",SOLUTION_TEMPLATE_CHANNEL_USER_NAVIGATION:"solution_template_channel_user_navigation",CANVAS_TEMPLATE_GALLERY_OPENED:"canvas_template_gallery_opened",CANVAS_PEEK_OPENED:"canvas_peek_opened",CREATOR_GUIDED_SETUP_INVITES:"creator_guided_setup_invites",CREATOR_GUIDED_SETUP_MODAL_CLOSED:"creator_guided_setup_modal_closed",TRIAL_WELCOME_MODAL_CLOSED:"trial_welcome_modal_closed",SLACK_AI_AUTO_THREAD_SUMMARY_ELIGIBLE_SUMMARY_DETAILS_OPENED:"slack_ai_auto_thread_summary_eligible_summary_details_opened",TODOS_PAGE_OPENED:"todos_page_opened",TODOS_ITEM_FLEXPANE_OPENED:"todos_item_flexpane_opened",DOMAIN_MATCHING_SIGNUP_CONFIRMED:"domain_matching_signup_confirmed",SLACK_AI_AUTO_THREAD_SUMMARY_TRIGGER:"slack_ai_auto_thread_summary_trigger",APP_DIRECTORY_DETAIL_OPENED:"app_directory_detail_opened",JOINER_LAUNCHPAD_V2_CHANNEL_OPENED:"joiner_launchpad_v2_opened",HUDDLE_THREAD_SUMMARY_COMPLETE_SLACKBOT_REPLY_IMPRESSION:"huddle_thread_summary_complete_slackbot_reply_impression",UNIFIED_FILES_TAB_BOOT:"unified_files_tab_boot",SALESFORCE_LIST_VIEW_OPEN:"salesforce_list_view_open",RECORD_FLEXPANE_OPENED:"record_flexpane_opened",DOWNMARKET_CRM_CONTACT_RECORD_FLEXPANE_RENDERED:"downmarket_crm_contact_record_flexpane_rendered",CHANNEL_KNOWLEDGE_AGENT_FOLDER_CREATED:"channel_knowledge_agent_folder_created",CHANNEL_STARRED:"channel_starred",SECTION_MENU_OPENED:"section_menu_opened",SHAREABLE_SECTION_ADDED:"shareable_section_added",CHANNEL_SECTION_CREATED:"channel_section_created",CHANNEL_MUTED:"channel_muted",MUTED_CHANNELS_HIDDEN:"muted_channels_hidden",INACTIVE_CHANNELS_HIDDEN:"inactive_channels_hidden",DOWNMARKET_CRM_PAGE_OPENED:"downmarket_crm_page_opened",DOWNMARKET_CRM_ONBOARDING_CONTACT_ROW_RENDERED:"downmarket_crm_onboarding_contact_row_rendered",DOWNMARKET_CRM_ONBOARDING_ACCOUNT_ROW_RENDERED:"downmarket_crm_onboarding_account_row_rendered",CHANNEL_OPEN_WITH_SLACK_CONNECT_INVITES_CREATED:"channel_open_with_slack_connect_invites_created",SLACK_CONNECT_CHANNEL_INVITER_INVITE_CREATED:"slack_connect_channel_inviter_invite_created",SLACK_CONNECT_CHANNEL_INVITEE_JOINED:"slack_connect_channel_invitee_joined",WORK_OBJECT_NEW_FILE_VERSION_DETECTED:"work_object_new_file_version_detected",WORK_OBJECT_OPENED_IN_FLEXPANE_AFTER_CLICKING_BROWSER_CTA:"work_object_opened_in_flexpane_after_clicking_browser_cta",WORK_OBJECT_VIEW_DETAILS_TAB:"work_object_view_details_tab",SLACKBOT_AI_NUX_CLOSE:"slackbot_ai_nux_close",LEAD_FORM_SETUP_CLOSED:"lead_form_setup_closed",FOLDER_TAB_PEEK_OPENED:"folder_tab_peek_opened",PREJOIN_DM_WELCOME_PARTY_CHANNEL_OPENED:"prejoin_dm_welcome_party_channel_opened",PREJOIN_DM_WELCOME_PARTY_WARM_WELCOME_NUDGE:"PREJOIN_DM_WELCOME_PARTY_WARM_WELCOME_NUDGE",FIRST_ACTIVITY_CLEARED:"first_activity_cleared",FIRST_ACTIVITY_VIEW_CREATED:"first_activity_view_created",TODAY_MANAGE_CHANNELS_ACTION_BUTTON_SEEN:"today_manage_channels_action_button_seen"},u={SLACK_CONNECT_CHANNEL_CONTEXT_BANNER:"slack_connect_channel_context_banner",DISCOUNT_PROMO_WITH_EXISTING_DISCOUNT:"discount_promo_with_existing_discount",DUNNING_CLEARED:"dunning_cleared_banner",FREE_PLAN_BADGE:"free_plan_badge",DUNNING_NOTICE:"dunning_notice",MOBILE_AWARENESS_BANNER:"mobile_awareness_banner",MOBILE_SOCIAL_PROOF_BANNER:"mobile_social_proof_banner",SSB_LITE_BANNER:"ssb_lite_banner",SESSION_EXPIRY_WARNING_BANNER_15:"session_expiry_warning_banner_15",SESSION_EXPIRY_WARNING_BANNER_120:"session_expiry_warning_banner_120",CHECKOUT_RESCUE_BANNER:"checkout_rescue_banner",SHARED_CHANNELS_PAID_FEATURE_BADGE_V2:"shared_channels_paid_feature_badge_v2",PRODUCTIVITY_REACJI:"productivity_reacji",GUESTS_PAID_FEATURE_MODAL_DROPDOWN:"guests_paid_feature_modal_dropdown",HUDDLE_ONBOARDING_COACHMARK:"huddle_onboarding_coachmark",HUDDLE_TRIAL_START_COACHMARK:"huddle_trial_start_coachmark",CLIPS_REPACKAGING_COACHMARK:"clips_repackaging_coachmark",SIDEBAR_SIMPLIFICATION_COACHMARK:"sidebar_visual_updates_coachmark",UNREADS_SIMPLIFICATION_COACHMARK:"unreads_simplification_coachmark",HELP_TOUR_COACHMARK:"help_tour_coachmark",ADD_TO_MPDM_ONBOARDING_COACHMARK:"add_to_mpdm_onboarding_coachmark",HUDDLE_ENTRYPOINT:"huddle_entrypoint_coachmark",HUDDLE_MINI_PLAYER_EDUCATION:"huddle_mini_player_education",HUDDLE_HOVER_TIP:"huddle_hover_tip",USER_CREATED_TEMPLATE_COACHMARK:"canvas_user_created_template_coachmark",CREATE_VARIABLES_GUIDE:"canvas_create_variables_guide",DISCOUNT_SEAT_PROMO_PROGRESS_COACHMARK:"discount_seat_promo_progress_coachmark",DISCOUNT_SEAT_PROMO_REMINDER_COACHMARK:"discount_seat_promo_reminder_coachmark",LATER_NUX_COACHMARK_ARCHIVE_CALLOUT:"later_nux_coachmark_archive_callout",TOP_NAV_FEEDBACK_COACHMARK:"top_nav_feedback_coachmark",JOINER_LAUNCHPAD_DISMISSED_COACHMARK:"joiner_launchpad_joiner_launchpad_dismissed_coachmark",SLACK_AI_NUX_EDUCATION:"slack_ai_nux_education",SLACK_AI_DIGEST_NUX_EDUCATION:"slack_ai_digest_nux_education",SLACK_AI_DIGEST_ADDED_CHANNEL_EDUCATION:"slack_ai_digest_added_channel_education",SLACK_AI_PERSISTENT_SIDEBAR_NFX_COACHMARK:"slack_ai_persistent_sidebar_nfx_coachmark",CUSTOM_STATUS_OOO_COACHMARK:"custom_status_ooo_coachmark",PLATFORM_AI_APPS_COACHMARK:"platform_ai_apps",NEW_HOME_FOR_LATER_COACHMARK:"lists_new_home_for_later_coachmark",GUESTS_PAID_FEATURE_BADGE_V2:"guests_paid_feature_badge_v2",TRIAL_LAST_DAY_MODAL:"trial_last_day_modal",TRIAL_EXPIRATION_MODAL:"trial_expiration_modal",TRIAL_AWARENESS_MODAL:"trial_awareness_modal",TRIAL_SEVEN_DAYS_LEFT_MODAL:"trial_seven_days_left_modal",TRIAL_EXTENSION_NEW_YEAR_MODAL:"trial_extension_new_year_modal",ADD_WORKSPACES_TO_SSB_MODAL:"add_workspaces_to_ssb_modal",SSB_FULL_SCREEN_MODAL:"ssb_full_screen_modal",HUDDLE_FROM_THREAD_EDUCATIONAL_MODAL:"huddle_from_thread_educational_modal",ADMIN_AUTOMATION_REQUESTS_WELCOME_MODAL:"admin_automation_requests_welcome_modal",PROMOTIONAL_DISCOUNT_MODAL:"promotional_discount_modal",PROMOTIONAL_DISCOUNT_END_MODAL:"promotional_discount_end_modal",PERSISTENT_MOBILE_PROMO:"persistent_mobile_promo",SIMPLIFIED_MESSAGE_ACTIONS_LABELS:"simplified_message_actions_labels",JAPAN_SEND_BUTTON:"i18n_japan_beta_send_btn_banner",EDUCATION_TEAM_DISCOUNT:"education_discount_promo_banner",LOCAL_DISCOUNT_AWARENESS:"local_discount_awareness_banner",ESC_TRIAL:"shared_channel_trial_banner",TRIAL_THREE_DAYS_LEFT:"three_days_left_trial_banner",MESSAGE_LIMIT_APPROACHING:"approaching_msg_limit_banner",MESSAGE_LIMIT_JUST_REACHED:"just_reached_msg_limit_banner",MOBILE_AWARENESS_DIRECT_MESSAGE_PROMO:"mobile_awareness_direct_message_promo",REPACKAGING_ANNOUNCEMENT_BANNER:"repackaging_announcement_banner",SUGGEST_MESSAGE_TIP:"suggest_message_tip",WELCOME_DM_TIP:"welcome_dm_tip",SLACK_AI_PUSH_SUMMARIES_PROMPT:"slack_ai_push_summaries_prompt",POST_TRIAL_PROMOTIONAL_DISCOUNT:"post_trial_promotional_discount",TRIAL_INFO:"trial_info",TRIAL_INTRO_BANNER:"trial_intro_banner",TRIAL_PERSISTENT_BANNER:"trial_persistent_banner",TRIAL_SEVEN_DAYS_LEFT_BANNER:"paid_benefits_seven_days_left_banner",APP_ANALYTICS_COACHMARK:"app_analytics_coachmark",HUDDLE_ANALYTICS_COACHMARK:"huddle_analytics_coachmark",PROGRESSIVE_DISCLOSURE_TIP:"progressive_disclosure_tip",PD_FIRST_MESSAGE:"pd_first_message",PD_ADD_TEAMMATES:"pd_add_teammates",PD_REACJI:"pd_reacji",PD_MENTION:"pd_mention",PD_THREADS:"pd_threads",PD_ADD_CHANNELS:"pd_add_channels",PD_STATUS:"pd_status",PD_HELP_CENTER:"pd_help_center",PD_HUDDLES:"pd_huddles",PD_DISMISS_ALL:"pd_dismiss_all",QUICK_REACTIONS:"quick_reactions",TRIAL_SEARCH_FILE_LIMIT_HEADER:"trial_search_file_limit_header",LIMITED_HISTORY_SEARCH_TRIAL_OFFER_BANNER:"limited_history_search_trial_offer_banner",TRIAL_SEARCH_MESSAGE_LIMIT_HEADER:"trial_search_message_limit_header",TRIAL_SEARCH_HIGHLIGHT_MESSAGE_LIMIT:"trial_search_highlight_message_limit",SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB:"sidebar_benefits_active_trial_tab",SIDEBAR_BENEFITS_DISCOUNT_TAB:"sidebar_benefits_discount_tab",PAID_BENEFITS_LINK:"paid_benefits_link",SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB_MENU_HEADER:"sidebar_benefits_active_trial_tab_menu_header",SIDEBAR_MENU_HEADER_UPGRADE_CTA:"sidebar_menu_header_upgrade_cta",CONNECTABLE_CONTACTS_SEARCH_AWARENESS_TIP:"connectable_contacts_search_awareness_tip",HUDDLE_MINI_WINDOW_EDUCATION:"huddle_mini_window_education",HUDDLE_LARGE_WINDOW_EDUCATION:"huddle_large_window_education",SCREENSHARE_BUTTON_EDUCATION:"huddle_screenshare_button_education",CUDDLES_COACHMARK:"canvas_cuddles_coachmark",SHOW_ALL_HUDDLES_NUX:"show_all_huddles_nux",IA4_NEW_TEAMS_V3_NUX_EDUCATION:"ia4_new_teams_v3_nux_education",PLAN_INFO:"plan_info",LIMITED_HISTORY_COUNTDOWN:"limited_history_countdown",LIMITED_HISTORY_COUNTER:"limited_history_counter",DISCOUNT_PROMO:"discount_promo",WORKSPACE_MENU_UPGRADE_ITEM:"workspace_menu_upgrade_item",PROFILE_MENU_UPGRADE_CTA:"profile_menu_upgrade_cta",PROGRESSIVE_DISCLOSURE_HUDDLES_TIP:"progressive_disclosure_huddles_tip",HELP_TIP_FOR_MENTIONS_AND_REACTIONS:"help_tip_for_mentions_and_reactions",HELP_TIP_FOR_CMD_K:"help_tip_for_cmd_k",HELP_TIP_FOR_HISTORY:"help_tip_for_history",LATER_NUX_BANNER:"later_nux_banner",LATER_NUX_NEW_BADGE:"later_nux_new_badge",LATER_PAGE_TODAY:"later_page_today",HOME_TAB_BUTTON_NUDGE:"home_tab_button_nudge",LATER_TAB_BUTTON_NUDGE:"later_tab_button_nudge",AUTOMATION_NEW_CALLOUT:"automation_new_callout",CANVAS_TRIAL_BANNER:"canvas_trial_banner",CHANNEL_CANVAS_NUX_FREEMIUM_BANNER:"channel_canvas_nux_freemium_banner",SALES_HOME_NOTIFICATIONS_SETTINGS_BANNER:"sales_home_notification_settings_banner",ADMIN_CONNECTOR_AUTOMATION_COACHMARK:"admin_connector_automation_coachmark",JUST_REACHED_INSTALLED_APPS_LIMIT_BANNER:"just_reached_installed_apps_limit_banner",HOME_ACTIVITY_NUDGE:"home_activity_nudge",ACTIVITY_INBOX_INTERNAL_ONBOARDING:"activity_inbox_internal_onboarding",TWO_FACTOR_REQUIRE_ADMIN_BANNER:"two_factor_require_admin_banner",MIGRATION_UNBLOCKED_REFRESH_BANNER:"migration_unblocked_refresh_banner",TODOS_SAVED_FOR_LATER_INTRO_BANNER:"lists_todos_saved_for_later_intro_banner",STRAIGHT_TO_PLUS_HEADER_BANNER:"straight_to_plus_header_banner",...n.g}},0x1209850c6:(e,t,a)=>{"use strict";a.d(t,{Pd:()=>formatDateFromDateStr,Zv:()=>formatTsToDaysRemaining,qe:()=>formatDateToDaysRemaining});var n=a(0x1f355b555),r=a(0x6960d8b9);let formatDateToDaysRemaining=e=>e&&"0000-00-00"!==e?(0,n.Ay)(e).diff((0,n.Ay)().startOf("day"),"days"):0,formatTsToDaysRemaining=e=>e?(0,n.Ay)(e).startOf("day").diff((0,n.Ay)().startOf("day"),"days"):0,formatDateFromDateStr=(e,t=!0,a={})=>{let i=t?(0,n.Ay)(e).subtract(1,"day"):(0,n.Ay)(e);return(0,r.gw)(i.toDate(),{excludeYear:!0,...a})}},0x1ee041c21:(e,t,a)=>{"use strict";a.d(t,{K8:()=>f,ZO:()=>isSidebarBenefitsMenuLinkEnabled,Zo:()=>getClogStepVariant,dC:()=>isBenefitsPageLinkBold,mU:()=>isFirstDayOfTrial,oA:()=>isBenefitsPageChannelLinkEnabled,rK:()=>isBenefitsPageEnabled,zu:()=>isShowingDiscountOffer});var n=a(0x5739d664),r=a(0x3711e82d),i=a(0x10079cc7),o=a(0x20c23cf7a),s=a(0xb9604b6),l=a(0x5b1935a6),c=a(0x1209850c6),d=a(0x91e15f37),u=a(0x1472af90a),m=a(0xf052d367);let isSidebarBenefitsMenuLinkEnabled=e=>(0,s.Hp)(e,l.xu.SIDEBAR_MENU)===l.ze.PAID_BENEFITS_LINK,isFirstDayOfTrial=e=>{let t=(0,d.VQ)(e);return!!t&&0===(0,c.Zv)(t)},isBenefitsPageLinkBold=e=>{let t;if(isSidebarBenefitsMenuLinkEnabled(e))return!1;if(t=u.G7.PaidBenefitsPage,(0,m.kI)(e,t,u.X8.Impression)&&!(0,m.PU)(e,t)&&isFirstDayOfTrial(e))return!0;let a=l.xu.SIDEBAR_FOOTER,n=(0,s.Hp)(e,a),r=!1;if(n===l.ze.SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB){let{trialExpirationDate:t}=(0,s.Ak)(e),a=(0,c.qe)(t);(1===a||2===a)&&(r=!0)}return r},isShowingDiscountOffer=e=>(0,s.Hp)(e,l.xu.SIDEBAR_FOOTER)===l.ze.SIDEBAR_BENEFITS_DISCOUNT_TAB,isBenefitsPageChannelLinkEnabled=e=>(0,s.Hp)(e,l.xu.SIDEBAR_FOOTER)===l.ze.SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB,isBenefitsPageEnabled=e=>isSidebarBenefitsMenuLinkEnabled(e)||isBenefitsPageChannelLinkEnabled(e)||!!(0,o.Z2)(e)&&(0,s.Hp)(e,l.xu.SIDEBAR_MENU_HEADER)===l.ze.SLACK_AI_NUX_SIDEBAR_ENTRYPOINT||(0,s.Hp)(e,l.xu.SIDEBAR_MENU_HEADER)===l.ze.BUS_POCKET_GUIDE_SIDEBAR_MENU_HEADER,getClogStepVariant=e=>{let t,a=(0,s.Hp)(e,l.xu.SIDEBAR_FOOTER);if(isSidebarBenefitsMenuLinkEnabled(e)||a===l.ze.SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB){let{trialPlanLevel:a}=(0,s.Ak)(e);t=a===i.i6.standard.id?"standard_trial":"plus_trial"}else a===l.ze.SIDEBAR_BENEFITS_DISCOUNT_TAB&&(t="expired_offer");return t};r.EventId.UPGRDEXP_BENEFITS,r.UiStep.BENEFITS_SIDEBAR,r.UiComponentName.GOLDEN_GATE_SIDEBAR_CTA;let f=(0,n.A)((e,t,a)=>({link:{eventId:r.EventId.UPGRDEXP_BENEFITS,uiStep:r.UiStep.BENEFITS_SIDEBAR,stepVariant:e,uiComponentName:r.UiComponentName.GOLDEN_GATE_SIDEBAR_CTA,promoType:t,promoSubtype:a},onClick:{elementName:"sidebar_benefits",isPrimaryCTA:!0,onClick:{enableClogAction:!0}}}))},0x1c07a5a0:(e,t,a)=>{"use strict";a.d(t,{jM:()=>s,pD:()=>r,yq:()=>i});var n=a(0xcf658893);let{addObjects:r,removeObjects:i,clearObjects:o}=a(0x24d31328f).o1,s=(0,n.Ay)("indicate that the current member's permissions have changed (used by side effects)");s.meta={name:"currentUserRoleChanged",key:"createActionCurrentUserRoleChanged",description:"indicate that the current member's permissions have changed (used by side effects)"}},0x24d31328f:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,TU:()=>o,Tp:()=>c,o1:()=>l});var n=a(0x9e671ad),r=a(0x807220a2),i=a(0x107594e0c);let o={storeKey:"members",persistenceEnabled:!0,requiredForBoot:!0};function handleMemberUpdate(e,t){return e.updated===t?.updated?(0,n.A)(e,t)?t:e:e}let{reducer:s,actions:l,selectors:c}=(0,i.A)(o,{update:(0,r.SI)()?handleMemberUpdate:void 0}),d=s},0xe684f705:(e,t,a)=>{"use strict";a.d(t,{I_:()=>$,Zo:()=>z,cA:()=>er,gX:()=>Y,Eq:()=>ed,OA:()=>et,nv:()=>Z,H6:()=>ee,_7:()=>J,gA:()=>X,g9:()=>em,on:()=>eu,c2:()=>ec,Zm:()=>Q,Kk:()=>ei,Ru:()=>j,TO:()=>eo,Nd:()=>es,MV:()=>el});var n=a(0x20ef3966f),r=a(0x7bbe057),i=a(0x1e2051844),o=a(0x658a411c),s=a(0xc9c97240),l=a(0x1b1ee6b77),c=a(0x1df96de4c),d=a(0x20482ad21),u=a(0x1130a8ca8),m=a(0x1b9d5cc0c),f=a(0x82980ab8),_=a(0xf2964a91),p=a(0x4b8e0952),h=a(0x2119ca8c5),g=a(0x4f725d55),A=a(0x1d321040e),b=a(0x1cf0d97e1),y=a(0x9b971e7e),S=a(0x2231c0f3f),E=a(0x19c76d181),k=a(0x12b31912f),T=a(0x24d31328f),I=a(0x1511d1e5e),w=a(0xca924ee1),C=a(0x3e015234),v=a(0xceebc3d5),x=a(0x11c82607b),R=a(0x1c07a5a0);let O=(0,x.Ay)("bulk remove members from the store by ID",(e,t,{ids:a=[],isCacheEviction:n=!1})=>{e((0,R.yq)({ids:a,isCacheEviction:n})),a.length>0&&!n&&(0,v.CJ)(t())});O.meta={name:"bulkRemoveMembersById",key:"createThunkBulkRemoveMembersById",description:"bulk remove members from the store by ID"};let compare_members_store_cache_objects=function({objectA:e,objectB:t,lastAccessA:a=0,lastAccessB:n=0}={}){return(0,m.fy)(e)?1:(0,m.fy)(t)?-1:a-n},N=(0,w.A)(e=>new C.A({teamId:e,cacheSizeMaximum:700,cacheSizeTarget:500,evictionEnabled:!0,comparator:compare_members_store_cache_objects,getObjects:em,removeObjects:O,label:"members",samplePercentage:50,experimentSamplePercentage:100}));var D=a(0x16475a65c),L=a(0xbe0b63ff),M=a(0x1daf4b9c),F=a(0x33680aca),P=a(0x1906e0f30),U=a(0x15f4f83cf),B=a(0x22136dfc1),G=a(0x1266f1359),H=a(0x1126392c1);let{getObjectById:W}=T.Tp;function fetchMembersForTeamId(e,t,a){if(!a)throw Error("fetchMembersForTeamId requires a reason");let n=z((0,G.$D)(e)),r=t.filter(e=>n&&n[e]),i=(0,D.A)(t,r);return(0,G.Qw)(e,(0,F.A)({ids:i})).catch(()=>({members:[]})).then(({members:t})=>{let a=z((0,G.$D)(e)),n=r.map(e=>a&&a[e]);return t.concat(n)})}function upsertMembersForTeamId(e,t){let a=(0,G.$D)(e),n=t.filter(e=>!ei(a,e.id));(0,M.A)()||(0,E.Vr)(a)?(0,G.Qw)(e,(0,H.Ay)({members:n})):(0,B.h)(n)}let V=(0,w.A)(()=>new U.Ay({fetch:(e,t)=>fetchMembersForTeamId(e,t,"UnknownFetchManager"),upsertKnown:upsertMembersForTeamId,upsertNonExistent:upsertMembersForTeamId,makeUnknownObject:A.Fq,makeNonExistentObject:A.wN,isKnown:(e,t)=>{let a=W((0,G.$D)(e),t);return!!a&&!(0,L.GU)(a)},metricsName:"members",offlineDataStoreConfig:(0,P.p)(T.TU)})),j=new d.Ay("members"),K="X00000000",{UNSAFE_getAllObjects:q}=T.Tp,z=(0,b.Ay)(e=>q(e));z.meta={name:"getAllMembers",key:"createSelectorGetAllMembers",description:e=>q(e)};let $=(0,s.Mz)(z,(e={})=>Object.values((0,u.xH)(e))),Y=(0,s.Mz)($,e=>{let t=e.filter(_.o).map(e=>e.id);return 0===t.length?c.Ml:t}),Q=(0,b.Ay)((e,t)=>W(e,t));function getMemberByIdSelector(e,t,{fetchIfMissing:a=!0,preferNonExistentToNull:n=!0}={}){if(!e||!e?.members||!t)return n?(0,A._3)(K):null;let r=(0,y.JY)(e),i=Q(e,t);return i?(N(r).recordHit(t),(0,I.ez)(r,i.id)):(0,g.A)(t)?a&&(N(r).recordMiss(),i=V().fetchObjectWithId(r,t)):i=(0,A._3)(t),n&&!i&&(i=(0,A._3)(K)),i}Q.meta={name:"getRawMemberById",key:"createSelectorGetRawMemberById",description:(e,t)=>W(e,t)};let Z=(0,b.Ay)(getMemberByIdSelector);Z.meta={name:"getMemberById",key:"createSelectorGetMemberById",description:getMemberByIdSelector};let J=(0,b.Ay)((e,t)=>{let a=Z(e,t);return(0,f.wg)(a)||(0,f.Fh)(a)});J.meta={name:"getMemberNameById",key:"createSelectorGetMemberNameById",description:(e,t)=>{let a=Z(e,t);return(0,f.wg)(a)||(0,f.Fh)(a)}};let X=(0,b.Ay)((e,t)=>e&&e?.members&&t&&t.length?(0,n.A)(t,t=>Z(e,t)):c.Ml);X.meta={name:"getMembersById",key:"createSelectorGetMembersById",description:(e,t)=>e&&e?.members&&t&&t.length?(0,n.A)(t,t=>Z(e,t)):c.Ml};let ee=(0,b.Ay)((e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t),n=(0,i.A)($(e),({_name_lc:e,_display_name_lc:t,_display_name_normalized_lc:n}={})=>a===e||a===t||a===n);if(n)return Z(e,n.id)});ee.meta={name:"getMemberByName",key:"createSelectorGetMemberByName",description:(e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t),n=(0,i.A)($(e),({_name_lc:e,_display_name_lc:t,_display_name_normalized_lc:n}={})=>a===e||a===t||a===n);if(n)return Z(e,n.id)}};let et=(0,b.Ay)((e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t),n=(0,i.A)($(e),e=>(0,r.A)(e.profile.email??"")===a);if(n)return Z(e,n.id)});et.meta={name:"getMemberByEmail",key:"createSelectorGetMemberByEmail",description:(e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t),n=(0,i.A)($(e),e=>(0,r.A)(e.profile.email??"")===a);if(n)return Z(e,n.id)}};let ea=(0,b.Ay)(e=>{let t=(0,E.WR)(e);return Z(e,t,{fetchIfMissing:!1})});ea.meta={name:"getCurrentMemberUnmemoized",key:"createSelectorGetCurrentMemberUnmemoized",description:e=>{let t=(0,E.WR)(e);return Z(e,t,{fetchIfMissing:!1})}};let en=(0,S.A)(ea),er=(0,b.Ay)(e=>(0,h.Y)(e)?en(e):ea(e));er.meta={name:"getCurrentMember",key:"createSelectorGetCurrentMember",description:e=>(0,h.Y)(e)?en(e):ea(e)},(0,b.Ay)((e,t)=>{let a=er(e);return t===a?.id}).meta={name:"doesMemberIdBelongToCurrentMember",key:"createSelectorDoesMemberIdBelongToCurrentMember",description:(e,t)=>{let a=er(e);return t===a?.id}};let ei=(0,b.Ay)((e,t)=>!!Q(e,t));ei.meta={name:"hasMemberWithId",key:"createSelectorHasMemberWithId",description:(e,t)=>!!Q(e,t)};let eo=(0,b.Ay)((e,t)=>!!e&&!!t&&(0,p.ve)(Q(e,t)));eo.meta={name:"isMemberExistent",key:"createSelectorIsMemberExistent",description:(e,t)=>!!e&&!!t&&(0,p.ve)(Q(e,t))};let es=(0,b.Ay)((e,t,a,n)=>{if(!e||!t||!a||!ei(e,t))return!1;let r=Q(e,t);return!0===n||!1===n?r.updated===a&&(0,k.bo)(e,t)&&(0,k.zP)(e,t)===n:r.updated===a});es.meta={name:"isSameVersionMember",key:"createSelectorIsSameVersionMember",description:(e,t,a,n)=>{if(!e||!t||!a||!ei(e,t))return!1;let r=Q(e,t);return!0===n||!1===n?r.updated===a&&(0,k.bo)(e,t)&&(0,k.zP)(e,t)===n:r.updated===a}};let el=(0,b.Ay)((e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t);return(0,o.A)($(e),({_name_lc:e,_display_name_lc:t,_display_name_normalized_lc:n}={})=>a===e||a===t||a===n)});el.meta={name:"memberExistsWithName",key:"createSelectorMemberExistsWithName",description:(e,t)=>{if(!e||!t)return null;let a=(0,r.A)(t);return(0,o.A)($(e),({_name_lc:e,_display_name_lc:t,_display_name_normalized_lc:n}={})=>a===e||a===t||a===n)}};let ec=(0,b.Ay)((e,t,a)=>{if(!t)return null;let n=Z(e,t);return(0,m.c2)(n,a)});ec.meta={name:"getProfileImageForMember",key:"createSelectorGetProfileImageForMember",description:(e,t,a)=>{if(!t)return null;let n=Z(e,t);return(0,m.c2)(n,a)}};let ed=(0,b.Ay)((e,t)=>(0,i.A)($(e),e=>(0,m.PV)(e)===t));ed.meta={name:"getMemberByAppId",key:"createSelectorGetMemberByAppId",description:(e,t)=>(0,i.A)($(e),e=>(0,m.PV)(e)===t)};let eu=(0,s.Mz)(e=>$(e),e=>e.filter(e=>!(0,m.po)(e)).length);(0,s.Mz)(e=>$(e),e=>e.filter(e=>!(0,m.po)(e)&&!(0,m.zU)(e)).length);let em=(0,b.Ay)(e=>(0,u.xH)(z(e)));em.meta={name:"getMembersForCacheEviction",key:"createSelectorGetMembersForCacheEviction",description:e=>(0,u.xH)(z(e))};let ef={};Object.defineProperty(ef,"unknownFetchManager",{get:()=>V()}),Object.defineProperty(ef,"unknownMemberFetcher",{get:()=>(0,l.o)(V(),"fetch"),set:e=>{V().fetch=e}}),Object.defineProperty(ef,"getCacheManager",{get:()=>N})},0xc4a84715:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0x1cf0d97e1),r=a(0xe684f705),i=a(0x74f619bb);let o=(0,n.Ay)((e,t)=>{let a=(0,r.nv)(e,t),{status_text_canonical:n}=a.profile;return n?a.profile.status_emoji||"":(0,i.K)(e,a)?":headphones:":a.profile.status_emoji||""});o.meta={name:"getMemberCustomStatusEmoji",key:"createSelectorGetMemberCustomStatusEmoji",description:(e,t)=>{let a=(0,r.nv)(e,t),{status_text_canonical:n}=a.profile;return n?a.profile.status_emoji||"":(0,i.K)(e,a)?":headphones:":a.profile.status_emoji||""}};let s=o},0x74f619bb:(e,t,a)=>{"use strict";a.d(t,{K:()=>isCustomStatusAHuddlesStatus});var n=a(0x71479775),r=a(0xfa90ea0d),i=a(0x162161ec9),o=a(0x3711e82d),s=a(0x45012309),l=a(0xf9cb31c6);function isCustomStatusAHuddlesStatus(e,t){let a=(0,s.eo)({state:e}),c=new Date().getTime(),d=t.profile.huddle_state_expiration_ts?new Date(1e3*t.profile.huddle_state_expiration_ts).getTime():c,u=d>c;return!(0,l.Ie)(e)&&t.profile.huddle_state===i.g.IN_A_HUDDLE&&!!u&&!t.profile.status_emoji||((t.profile.huddle_state_expiration_ts??0)>0&&!u&&t.profile.huddle_state===i.g.IN_A_HUDDLE&&(0,n.A)(c,d)>=5&&(0,r.O)(.01)&&t.profile.huddle_state_call_id&&a.track(o.EventId.USERPROFILE,{contexts:{ui_context:{action:o.UiAction.UNKNOWN,ui_properties:{element_name:"huddle_id",element_value:t.profile.huddle_state_call_id}}}}),!1)}},0x81efe003:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o});var n=a(0x11c82607b),r=a(0xe684f705),i=a(0x1126392c1);let o=(0,n.Ay)("Disable Slack AI features for current user",(e,t,{isSlackAiEnabled:a})=>{let n={...(0,r.cA)(t()),slack_ai_enabled:a};e((0,i.Ay)({members:[n]}))});o.meta={name:"updateSlackAiEnabledStatus",key:"createThunkUpdateSlackAiEnabledStatus",description:"Disable Slack AI features for current user"}},0x1126392c1:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>K});var n=a(0x1e2051844),r=a(0x20ef3966f),i=a(0xca924ee1),o=a(0x202470d56),s=a(0x21f3c49e8),l=a(0x77727995),c=a(0x7bbe057),d=a(0x4bdf0df6),u=a(0x1df96de4c),m=a(0x1e49806fc),f=a(0x1a256ff50),_=a(0x45a875a6),p=a(0x2315b5d3b),h=a(0x24353cea1),g=a(0x350d87d7),A=a(0x153b1ae5d),b=a(0x23255e234),y=a(0x1bac8c9e9),S=a(0x1503cc0ff),E=a(0x4b8e0952),k=a(0xe5418754),T=a(0x1aad32b98),I=a(0x1cb3a1d29),w=a(0xceebc3d5),C=a(0x11c82607b),v=a(0x9b971e7e),x=a(0x1c2cf8d8f),R=a(0x19c76d181),O=a(0x1feee1711),N=a(0x24ca198aa);let D=(0,C.Ay)("Set canInteract from member objects",(e,t,a=[])=>{let n=a.filter(({is_stranger:e}={})=>!(0,O.A)(e)).map(({id:e="",is_stranger:t=!1}={})=>({id:e,interact:!t}));n.length&&e((0,N.Oy)({objects:n}))});D.meta={name:"setCanMembersInteract",key:"createThunkSetCanMembersInteract",description:"Set canInteract from member objects"};var L=a(0x1c07a5a0),M=a(0xe684f705);let F=(0,C.Ay)("bulk add members to the store",(e,t,a)=>e((0,L.pD)({objects:a})));F.meta={name:"dangerouslyBulkAddMembers",key:"createThunkDangerouslyBulkAddMembers",description:"bulk add members to the store"};var P=a(0x1511d1e5e),U=a(0x13a248e19),B=a(0x2207a1e7d),G=a(0x94dc6585),H=a(0x202e46926),W=a(0x5294713e);let V="Upsert a member",j=(0,C.Ay)(V,(e,t,{members:a=[]})=>{let i=t(),{members:o,presence:s}=processMembers(i,a),l=(0,R.WR)(i),c=(0,n.A)(o,{id:l});if(c){let t=(0,M.cA)(i);(0,E.z1)(t)||(0,b.Ez)(t)===(0,b.Ez)(c)&&(0,b.Yd)(t)===(0,b.Yd)(c)||e((0,L.jM)({user:c})),void 0===c.lob_sales_home_enabled||(0,_.r5)()||(e((0,W.me)(c.lob_sales_home_enabled)),c.lob_sales_home_enabled=void 0)}e(F(o)),e((0,G.H)(s)),e(D(o));let d=(0,v.ZT)(i)||(0,v.jV)(i),u=(0,r.A)(a,"id");return(0,P.mY)(d,u),(0,w.CJ)(i),o});j.meta={name:"upsertMembers",key:"createThunkUpsertMembers",description:V};let K=j;function processMembers(e,t){let a={members:[],presence:{}};return e&&t&&t.length?t.reduce((t,a)=>{let n=processMember(e,a),r=computePresence(e,a);return n&&(t.members.push(n),t.presence[n.id]=r),t},a):a}function processMember(e,t){if(!e||!t||!t.id)return null;let a={...t};delete a.presence;let n=computeProfile(e,t),r=computeColor(e,t),i=computeDeleted(e,t),o=computeLocality(e,t),s=computeUnknown(t),l=computeIsRestrictedOverride(t),c=computeIsSlackbot(t),d=computeIsSlackSecurityBot(t),m=computeDerivedNames(t),_=computeIsSelf(e,t),p=computeManualPresence(e,t),h=computeFirstLogin(e,t),g=computeTimeZone(t),A=computeIsInvitedUser(t),b=computeSlackAiEnabled(e,t),y=computeEnterpriseSearchEnabled(e,t),S={who_can_share_contact_card:t.who_can_share_contact_card??void 0},E={is_bot:!!t.is_bot},k={is_app_user:!!t.is_app_user},T={files:u.Ml,activity:u.Ml,stars:u.Ml,mentions:u.Ml,...a,profile:n,member_color:r,deleted:i,is_invited_user:A,...o,...s,...l,...c,...d,...m,..._,...p,...h,...g,...S,...E,...k,...b,...y},I=(0,M.Zm)(e,t.id);return(0,f.Ay)(I,T)?I:T}function computeProfile(e,t){let a=t.profile,n=computeProfileFields(e,a,t.id),r=computeImages(e,t),i=computeDerivedProfileNames(a),o=computeStatusEmojiDisplayInfo(e,a,t.id);delete a.status_emoji_display_info;let s={...a,fields:n,statusEmojiDisplayInfo:o,...r,...i,is_custom_image:!!a.is_custom_image,always_active:!!a.always_active,first_name:a.first_name??"",last_name:a.last_name??""},l=(0,M.Zm)(e,t.id),c=l?.profile;return(0,f.Ay)(c,s)?c:s}let q=(0,i.A)(e=>e.reduce((e,t)=>(e[t.emoji_name]=t,e),{}));function computeStatusEmojiDisplayInfo(e,t,a){let n=(0,M.Zm)(e,a),r=n?.profile?.statusEmojiDisplayInfo,i=t.status_emoji_display_info,o=u.t0;return i?.length&&(o=q(i)),(0,f.Ay)(r,o)?r:o}function computeProfileFields(e,t,a){let n=(0,M.Zm)(e,a);return(0,o.A)(t.fields)&&n&&!(0,s.A)(n?.profile?.fields)?n.profile.fields:t.fields}function computeImages(e,t){let a={},n=(0,g.A)(t)&&t?.profile?.team?t.profile.team:computeTeamId(e,t),r=(0,p.Z)(n),i=t.id,o=t?.profile?.avatar_hash,s=`${r}${n}-${i}-${o}-`;return["24","32","48","72","192","512","1024"].forEach(e=>{a[`image_${e}`]=`${s}${e}`}),a}function computeDerivedProfileNames(e){return{real_name_normalized:e.real_name_normalized??((0,m.A)(e.real_name)||""),display_name_normalized:e.display_name_normalized??((0,m.A)(e.display_name)||"")}}function computeColor(e,t){return(0,U.R)(e,t.id)||t.color}function computePresence(e,t){if((0,h.a)(t))return H.hR;if((0,h.c)(t))return H.z2;if(t?.presence&&(0,I.o)(t.presence))return t.presence;let a=(0,B.gd)(e,t.id);return a||H.z2}function computeDeleted(e,t){return t.enterprise_id||!((0,v.jV)(e)||(0,A.d)(t))||(0,R.wx)(e)?!!t.deleted:!!t.deleted&&!(0,l.A)(t,"enterprise_user.teams.length")}function computeLocality(e,t){let a,n={...t},r={},i=computeTeamId(e,n);n.team_id=i,r.team_id=i;let o=(0,T.nO)(n,(0,v.ZT)(e)),s=(0,v.jV)(e);return!o&&s&&(a=(0,T.dQ)(n)===s||(0,l.A)(n,"enterprise_user.enterprise_id")===s),r.isExternal=!o&&!a,r}function computeTeamId(e,t){if((0,x.HA)(e)&&t.enterprise_user)return t.enterprise_user.enterprise_id;let a=(0,T.dQ)(t);return a||(t.id===(0,l.A)(t,"enterprise_user.id")?(0,l.A)(t,"enterprise_user.enterprise_id"):(0,v.ZT)(e))}function computeUnknown(e){return e.name&&e.name!==e.id?{isUnknown:!1,isNonExistent:!1}:{}}function computeIsRestrictedOverride(e){return(0,b.Yd)(e)?{is_restricted:!0}:{}}function computeIsSelf(e,t){return t.id===(0,R.WR)(e)?{is_self:!0}:{}}function computeManualPresence(e,t){if(t.id===(0,R.WR)(e)){let a=(0,k.E8)(t);if(a)return{manual_presence:a};let n=(0,k.E8)((0,M.Zm)(e,t.id));if(n)return{manual_presence:n}}return u.t0}function computeFirstLogin(e,t){if(t.id===(0,R.WR)(e)){let a=(0,k.yF)(t);if(a)return{first_login:a};let n=(0,k.yF)((0,M.Zm)(e,t.id));if(n)return{first_login:n}}return u.t0}function computeIsSlackbot(e){return(0,y.n)(e)?{is_slackbot:!0}:{}}function computeIsSlackSecurityBot(e){return!(0,y.n)(e)&&(0,S.B)(e)?{is_slacksecuritybot:!0}:{}}function computeDerivedNames(e){let t=e.profile,a=(0,c.A)(e.name)||"",n=(0,c.A)(t.first_name??"")??"",r=(0,c.A)(t.last_name??"")??"",i=(0,c.A)(t.real_name),o=(0,m.A)(i)??"",s=(0,c.A)(t.display_name),l=(0,m.A)(s)??"";return{_name_lc:a,_first_name_lc:n,_last_name_lc:r,_real_name_lc:i,_real_name_normalized_lc:o,_display_name_lc:s,_display_name_normalized_lc:l,_email_normalized_lc:(0,m.A)((0,c.A)(e?.profile?.email||""))??""}}function computeTimeZone(e){return e.tz?{tz:e.tz}:(0,y.n)(e)?{tz:d.vp,tz_offset:d.eN}:{}}function computeIsInvitedUser(e){return e.is_invited_user??!1}function computeSlackAiEnabled(e,t){if(t.id===(0,R.WR)(e)){let a=(0,k.Yv)(t);if(null!=a)return{slack_ai_enabled:a};let n=(0,k.Yv)((0,M.Zm)(e,t.id));if(n)return{slack_ai_enabled:n}}return u.t0}function computeEnterpriseSearchEnabled(e,t){if(t.id===(0,R.WR)(e)){let a=(0,k.Ht)(t);if(null!=a)return{enterprise_search_enabled:a};let n=(0,k.Ht)((0,M.Zm)(e,t.id));if(n)return{enterprise_search_enabled:n}}return u.t0}},0x1511d1e5e:(e,t,a)=>{"use strict";a.d(t,{Hw:()=>getFreshObjects,mY:()=>markObjectsAsFresh,D1:()=>markObjectsAsStale,ez:()=>maybeRefetch});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0xd3c3edea),o=a(0x3793f9af),s=a(0x1a8cc04e1),l=a(0x128c3200c),c=a(0x1cbdfeceb),d=a(0x1a17c3c45),u=a(0x7eaf2e36),m=a(0x1866b1b2d),f=a(0x1ec68d6a3),_=a(0x1fea7ac86),p=a(0x1266f1359),h=a(0x141589b4d);let SubscriptionFetchManager=class SubscriptionFetchManager extends s.Ay{_subscribe;_unsubscribe;_interval;_maximum;_batchMaximum;_connectionCounts;_subscribedIdsByTeam;_unsubscribedIdsByTeam;_lastCallTimesByTeam;constructor(e){if(!e.subscribe||!e.unsubscribe)throw Error("SubscriptionFetchManager must be passed a `subscribe` and `unsubscribe` function");if(e.maximum&&e.batchMaximum&&e.batchMaximum>e.maximum)throw Error("SubscriptionFetchManager cannot be configured with a `batchMaximum` larger than `maximum`");super({...e,fetch:(e,t)=>this._manageSubscriptions(e,t)}),this._subscribe=e.subscribe,this._unsubscribe=e.unsubscribe,this._interval=e.interval||0,this._maximum=Math.min(e.maximum||1e3,1e3),this._batchMaximum=Math.min(e.batchMaximum||100,this._maximum,100),this._connectionCounts={},this._subscribedIdsByTeam={},this._unsubscribedIdsByTeam={},this._lastCallTimesByTeam={},(0,d.A)(this)}isObjectFresh(e,t){if(!this._isEnabled(e))return!0;this._maybeResetState(e);let a=this._getSubscribedIdsForTeam(e);return super.isObjectFresh(e,t)&&a.has(t)}markObjectsAsFresh(e,t=[]){super.markObjectsAsFresh(e,t),this._ensureObjectsAreFresh(e,t)}markObjectsAsStale(e,t=[]){if(!this._isEnabled(e))return;let a=this._getUnsubscribedIdsForTeam(e),n=this._getSubscribedIdsForTeam(e);t.forEach(e=>{n.delete(e)&&a.add(e)}),super.markObjectsAsStale(e,t)}_maybeResetState(e){let t=Math.max(this._versions[e],1),a=Math.max(this._connectionCounts[e],1),n=Math.max(this._slowConnectionCounts[e],1);if(super._maybeResetState(e),this._connectionCounts[e]=Math.max((0,h.EU)((0,p.$D)(e))??0,1),n!==this._slowConnectionCounts[e])this._unsubscribedIdsByTeam[e]=new Set,this._subscribedIdsByTeam[e]=new Set;else if(t!==this._versions[e]){let t=this._getUnsubscribedIdsForTeam(e);this._getSubscribedIdsForTeam(e).forEach(e=>t.add(e)),this._subscribedIdsByTeam[e]=new Set}else if(a!==this._connectionCounts[e]){let t=this._getSubscribedIdsForTeam(e);this._manageSubscribe(e,[...t])}}_getSubscribedIdsForTeam(e){return this._subscribedIdsByTeam[e]||(this._subscribedIdsByTeam[e]=new Set),this._subscribedIdsByTeam[e]}_getUnsubscribedIdsForTeam(e){return this._unsubscribedIdsByTeam[e]||(this._unsubscribedIdsByTeam[e]=new Set),this._unsubscribedIdsByTeam[e]}_addIdsAndPartition(e,t){if(!t||!t.length)return{toSubscribe:[],toUnsubscribe:[],pendingSubscribedIds:this._getSubscribedIdsForTeam(e)};let a=t.length,n={},r=new Set;t.forEach(e=>{n[e]=!0,r.add(e)});let i=this._getSubscribedIdsForTeam(e),o=this._getUnsubscribedIdsForTeam(e),s=i.size,l=[...o],c=a+s+o.size>=this._maximum?this._maximum-this._batchMaximum:this._maximum,d=this._objectFreshnessTTLs[e]||{},u=(0,m._)();return i.forEach(e=>{let t=d[e]>u;n[e]?t&&delete n[e]:t&&r.size<c?r.add(e):l.push(e)}),{toSubscribe:Object.keys(n),toUnsubscribe:l,pendingSubscribedIds:r}}_getNextDelay(e){let t=Math.max(0,(this._lastCallTimesByTeam[e]||0)+this._interval-Date.now());return t?(0,u.yy)((0,_.A)(t,0,.1)):Promise.resolve()}async _manageUnsubscribe(e,t){if(!t?.length)return Promise.resolve();for(let a of((0,f.default)({teamId:e}).debug(this._getLogLabel(),this._redactLog?`Unsubscribing ${t.length}) ids`:`Unsubscribing (${t.length}): ${t}`),(0,l.A)(t,this._batchMaximum)))try{await this._getNextDelay(e),this._lastCallTimesByTeam[e]=Date.now(),await this._unsubscribe(e,a),super.markObjectsAsStale(e,a)}catch{let t=this._getUnsubscribedIdsForTeam(e);a.forEach(e=>t.add(e))}}async _manageSubscribe(e,t){for(let a of((0,f.default)({teamId:e}).debug(this._getLogLabel(),this._redactLog?`Subscribing ${t.length} ids`:`Subscribing (${t.length}): ${t}`),(0,l.A)(t,this._batchMaximum)))await this._getNextDelay(e),this._lastCallTimesByTeam[e]=Date.now(),await this._subscribe(e,a)}async _manageSubscriptions(e,t){let a=[...this._getUnsubscribedIdsForTeam(e)];for(let n of(this._unsubscribedIdsByTeam[e]=new Set,await this._manageUnsubscribe(e,a),(0,l.A)(t,this._batchMaximum))){let{toSubscribe:t,toUnsubscribe:a,pendingSubscribedIds:r}=this._addIdsAndPartition(e,n),i=Promise.resolve();a.length&&(i=i.then(()=>this._manageUnsubscribe(e,a))),t.length&&(i=i.then(()=>this._manageSubscribe(e,t))),await (0,u.wj)(i,s.MT).catch(c.A).finally(()=>{this._subscribedIdsByTeam[e]=r})}}_testOnly_getLogLabel(){return`SFM${this._metricsName?`-${this._metricsName}`:""}`}_testOnly_getMaximum(){return this._maximum}_testOnly_getBatchMaximum(){return this._batchMaximum}_testOnly_getInterval(){return this._interval}_testOnly_setSubscribedIdsByTeam(e,t){this._subscribedIdsByTeam[e]=t}_testOnly_setUnsubscribedIdsByTeam(e,t){this._unsubscribedIdsByTeam[e]=t}_testOnly_setConnectionCountsByTeam(e,t){void 0===t?delete this._connectionCounts[e]:this._connectionCounts[e]=t}};var g=a(0xdb0ffe37),A=a(0x4b8e0952),b=a(0x19c76d181),y=a(0x12b31912f),S=a(0xe684f705);let getMaxAge=(e,t)=>{if(!e||!t)return 1;let a=(0,p.$D)(e),n=(0,S.Zm)(a,t),r=3600;return n?(0,A.ow)(n)?r=1800:((0,g.g)(n)||!(0,y.zP)(a,t))&&(r=600):r=1,(0,_.A)(r,-.2,.2)},E=(0,n.A)(()=>new SubscriptionFetchManager({storeKey:"members",subscribe:async(e,t)=>{await (0,p.Qw)(e,(0,o.Y)({ids:t,andSubscribe:!0}))},unsubscribe:async(e,t)=>{await (0,i.Tt)(e,{ids:t})},isEnabled:()=>!0,maxAge:getMaxAge,metricsName:"members",interval:1e3})),k=(0,n.A)(()=>new s.Ay({storeKey:"members",fetch:(e,t)=>(0,p.Qw)(e,(0,o.Y)({ids:t})),maxAge:getMaxAge,isEnabled:()=>!0,metricsName:"members"})),T=(0,n.A)(e=>(0,b.wb)((0,p.$D)(e))?E():k()),maybeRefetch=(e,t)=>T(e).maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>T(e).markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>T(e).markObjectsAsStale(e,t),getFreshObjects=e=>T(e).getFreshObjects(e);(0,r.zv)("conditionalFetchManagerMembers",k),(0,r.zv)("subscriptionFetchManagerMembers",E)},0x16fdace8:(e,t,a)=>{"use strict";a.d(t,{R:()=>r,y:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Add or replace channel member count info");r.meta={name:"addOrReplaceMembershipCountsForChannel",key:"createActionAddOrReplaceMembershipCountsForChannel",description:"Add or replace channel member count info"};let i=(0,n.Ay)("Add or replace channel member count info");i.meta={name:"updateMembershipCountsForChannel",key:"createActionUpdateMembershipCountsForChannel",description:"Add or replace channel member count info"}},0x212d58282:(e,t,a)=>{"use strict";a.d(t,{D1:()=>markObjectsAsStale,ap:()=>isObjectFresh,ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh,qH:()=>markAllObjectsAsStale});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0x1a8cc04e1),o=a(0x1266f1359),s=a(0x8454441f);let l=(0,n.A)(()=>new i.Ay({storeKey:"membershipCounts",fetch:(e,t)=>r.S.map(t,t=>(0,o.Qw)(e,(0,s.b)({channelId:t}))),isEnabled:()=>!0,metricsName:"membership-counts"})),maybeRefetch=(e,t)=>l().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>l().markObjectsAsFresh(e,t),markObjectsAsStale=(e,t)=>l().markObjectsAsStale(e,t),isObjectFresh=(e,t)=>l().isObjectFresh(e,t),markAllObjectsAsStale=e=>{let t=l().getFreshObjects(e);markObjectsAsStale(e,t)}},0xc1360909:(e,t,a)=>{"use strict";a.d(t,{E6:()=>u,n6:()=>c,q8:()=>l,qg:()=>m,s3:()=>d});var n=a(0x15c004feb),r=a(0x16ed1b0dc),i=a(0x1cf0d97e1),o=a(0x9b971e7e),s=a(0x212d58282);let l=(0,i.Ay)((e,t,a=!0)=>{if(!e||!t||!(0,r.A)(t))return;let n=(0,o.JY)(e);if(n)return a&&(0,s.ez)(n,t),e.membershipCounts[t]});l.meta={name:"getMembershipCountsByChannelId",key:"createSelectorGetMembershipCountsByChannelId",description:(e,t,a=!0)=>{if(!e||!t||!(0,r.A)(t))return;let n=(0,o.JY)(e);if(n)return a&&(0,s.ez)(n,t),e.membershipCounts[t]}};let c=(0,i.Ay)((e,{channelId:t,teamId:a}={})=>{if(!e||!a||!t||!(0,r.A)(t))return null;let i=l(e,t);if(!i?.counts||!(0,o.Kc)(e))return null;let s=i.counts.member_count_by_team?.[a];return"number"==typeof s&&(0,n.A)(s)?s:null});c.meta={name:"getMembershipCountByTeamId",key:"createSelectorGetMembershipCountByTeamId",description:(e,{channelId:t,teamId:a}={})=>{if(!e||!a||!t||!(0,r.A)(t))return null;let i=l(e,t);if(!i?.counts||!(0,o.Kc)(e))return null;let s=i.counts.member_count_by_team?.[a];return"number"==typeof s&&(0,n.A)(s)?s:null}},(0,i.Ay)((e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts&&a.counts.current_team_member_count||null}).meta={name:"getCurrentTeamMemberCountByChannelId",key:"createSelectorGetCurrentTeamMemberCountByChannelId",description:(e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts&&a.counts.current_team_member_count||null}};let d=(0,i.Ay)((e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);if(!a?.counts)return null;let n=a.counts.member_count_by_team;if(!n)return null;let i=(0,o.Kc)(e);if(!i)return null;let s=Object.keys(n).filter(e=>e!==i),c=0;return s.forEach(e=>{c+=n[e]}),c});d.meta={name:"getExternalTeamsMemberCountByChannelId",key:"createSelectorGetExternalTeamsMemberCountByChannelId",description:(e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);if(!a?.counts)return null;let n=a.counts.member_count_by_team;if(!n)return null;let i=(0,o.Kc)(e);if(!i)return null;let s=Object.keys(n).filter(e=>e!==i),c=0;return s.forEach(e=>{c+=n[e]}),c}};let u=(0,i.Ay)((e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts?a.counts.app_count??null:null});u.meta={name:"getAppCountByChannelId",key:"createSelectorGetAppCountByChannelId",description:(e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts?a.counts.app_count??null:null}};let m=(0,i.Ay)((e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts?a.counts.agent_count??null:null});m.meta={name:"getAgentCountByChannelId",key:"createSelectorGetAgentCountByChannelId",description:(e,t)=>{if(!e||!t||!(0,r.A)(t))return null;let a=l(e,t);return a?.counts?a.counts.agent_count??null:null}}},0x8454441f:(e,t,a)=>{"use strict";a.d(t,{b:()=>c});var n=a(0xe874a88a),r=a(0x213b6b336),i=a(0x11c82607b),o=a(0x19c76d181),s=a(0x16fdace8),l=a(0x100313bb4);let c=(0,i.Ay)("Gets member counts for a given model object",(e,t,{channelId:a})=>{if(!a)return n.S.resolve();let i=t(),c=!(0,o.TZ)(i)&&(0,l.s)(i);return e((0,r.t)({channelId:a,isAdmin:c})).then(t=>{if(!t)return;let n={counts:{current_team_member_count:t.members,member_count:t.people,restricted_member_count:t.guests,member_count_by_team:t.by_team,app_count:t.apps,agent_count:t.agents||0,invited_count:t.invited||0}};return e((0,s.R)({channelId:a,countInfo:n})),n})});c.meta={name:"fetchAndUpsertMembershipCountsForChannel",key:"createThunkFetchAndUpsertMembershipCountsForChannel",description:"Gets member counts for a given model object"}},0x14e96dc1:(e,t,a)=>{"use strict";a.d(t,{L:()=>c});var n=a(0xe874a88a),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x212d58282),s=a(0xc1360909),l=a(0x8454441f);let c=(0,r.Ay)("Returns a promise that resolves with fresh membership counts, either from store or fetched remotely.",(e,t,{channelId:a})=>{let r=t(),c=(0,i.ZT)(r);return c?(0,o.ap)(c,a)?n.S.resolve((0,s.q8)(t(),a)):n.S.resolve(e((0,l.b)({channelId:a})).then(e=>(e&&(0,o.mY)(c,[a]),e)).catch(()=>(0,s.q8)(t(),a))):n.S.resolve()});c.meta={name:"getFreshMembershipCountsAsync",key:"createThunkGetFreshMembershipCountsAsync",description:"Returns a promise that resolves with fresh membership counts, either from store or fetched remotely."}},0x11edcf721:(e,t,a)=>{"use strict";a.d(t,{Dp:()=>c,KG:()=>o,NA:()=>s,R5:()=>l,g9:()=>r,rU:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert membership info for users for a channel");r.meta={name:"upsertChannelMembershipInfoForUsers",key:"createActionUpsertChannelMembershipInfoForUsers",description:"Upsert membership info for users for a channel"};let i=(0,n.Ay)("Upsert fetched membership info for users for a channel if we are expecting it");i.meta={name:"upsertFetchedChannelMembershipInfoForUsers",key:"createActionUpsertFetchedChannelMembershipInfoForUsers",description:"Upsert fetched membership info for users for a channel if we are expecting it"};let o=(0,n.Ay)("Clear membership info for users for a channel");o.meta={name:"clearChannelMembershipInfoForUsers",key:"createActionClearChannelMembershipInfoForUsers",description:"Clear membership info for users for a channel"};let s=(0,n.Ay)("Clear membership info for the channel");s.meta={name:"clearChannelMembershipInfo",key:"createActionClearChannelMembershipInfo",description:"Clear membership info for the channel"};let l=(0,n.Ay)("Clear membership for the user in all channels");l.meta={name:"clearAllMembershipInfoForUser",key:"createActionClearAllMembershipInfoForUser",description:"Clear membership for the user in all channels"};let c=(0,n.Ay)("Clear all membership info");c.meta={name:"clearAllMembershipInfo",key:"createActionClearAllMembershipInfo",description:"Clear all membership info"}},0xcbe94f6f:(e,t,a)=>{"use strict";a.d(t,{Sk:()=>n,ln:()=>r});let n={isKnown:!0,isMember:!0},r={isKnown:!1};Object.defineProperty(r,"isMember",{get:()=>{throw Error("Value for isMember is not known; check isKnown before accessing this field")}})},0x12d2784bc:(e,t,a)=>{"use strict";a.d(t,{Ql:()=>S,Sv:()=>E,wr:()=>y});var n=a(0x1598e5174),r=a(0xb77a689a),i=a(0x21f3c49e8),o=a(0xc9a382f9),s=a(0x12185e091),l=a(0x280afe13),c=a(0x1b9d5cc0c),d=a(0x1cf0d97e1),u=a(0x9b971e7e),m=a(0x1266f1359),f=a(0x19c76d181),_=a(0x217553e42),p=a(0xe684f705),h=a(0x11edcf721),g=a(0xcbe94f6f),A=a(0x1b2d3a302),b=a(0x100313bb4);let y=(0,d.Ay)((e,t,a)=>!!(e&&e.membership&&e.membership[t]&&e.membership[t][a]&&e.membership[t][a].isKnown));y.meta={name:"isMembershipKnownForUser",key:"createSelectorIsMembershipKnownForUser",description:(e,t,a)=>!!(e&&e.membership&&e.membership[t]&&e.membership[t][a]&&e.membership[t][a].isKnown)},(0,d.Ay)((e,t)=>e&&e.membership&&e.membership[t]||{}).meta={name:"getCachedChannelMembershipInfo",key:"createSelectorGetCachedChannelMembershipInfo",description:(e,t)=>e&&e.membership&&e.membership[t]||{}};let S=(0,d.Ay)((e,t,a)=>{if(!(0,n.A)(e)||!(0,r.A)(t)||!(0,r.A)(a))return{};let d=e&&e.membership&&e.membership[t]&&e.membership[t][a]||{};if((0,i.A)(d)){let n=(0,_.OL)(e,t);if((0,s.LI)(n)&&(a===(0,l.e)(n)||(0,c.fy)((0,p.nv)(e,a))))return(0,o.A)(()=>{(0,m.Qw)((0,u.ZT)(e),(0,h.g9)({channelId:t,membershipInfo:{[a]:g.Sk}}))}),g.Sk}return d});S.meta={name:"getCachedChannelMembershipInfoForUser",key:"createSelectorGetCachedChannelMembershipInfoForUser",description:(e,t,a)=>{if(!(0,n.A)(e)||!(0,r.A)(t)||!(0,r.A)(a))return{};let d=e&&e.membership&&e.membership[t]&&e.membership[t][a]||{};if((0,i.A)(d)){let n=(0,_.OL)(e,t);if((0,s.LI)(n)&&(a===(0,l.e)(n)||(0,c.fy)((0,p.nv)(e,a))))return(0,o.A)(()=>{(0,m.Qw)((0,u.ZT)(e),(0,h.g9)({channelId:t,membershipInfo:{[a]:g.Sk}}))}),g.Sk}return d}};let E=(0,d.Ay)((e,t,a)=>{if(!(0,n.A)(e)||!(0,r.A)(t)||!(0,r.A)(a))return{};let s=!!((0,b.R)(e)||(0,b.s)(e))&&!(0,f.TZ)(e),l=S(e,t,a);return(0,i.A)(l)?((0,o.A)(()=>{(0,m.Qw)((0,u.JY)(e),(0,A.R)({channelId:t,userIds:[a],asAdminMode:s}))}),g.ln):l});E.meta={name:"getChannelMembershipInfoForUser",key:"createSelectorGetChannelMembershipInfoForUser",description:(e,t,a)=>{if(!(0,n.A)(e)||!(0,r.A)(t)||!(0,r.A)(a))return{};let s=!!((0,b.R)(e)||(0,b.s)(e))&&!(0,f.TZ)(e),l=S(e,t,a);return(0,i.A)(l)?((0,o.A)(()=>{(0,m.Qw)((0,u.JY)(e),(0,A.R)({channelId:t,userIds:[a],asAdminMode:s}))}),g.ln):l}}},0x1b2d3a302:(e,t,a)=>{"use strict";a.d(t,{R:()=>l});var n=a(0x303de21b),r=a(0x11c82607b),i=a(0x11edcf721),o=a(0xcbe94f6f),s=a(0xe82d0e4c);let l=(0,r.Ay)("Fetches membership info and updates the store with the result",(e,t,{channelId:a,userIds:r,asAdminMode:l}={})=>{let c=r.reduce((e,t)=>({...e,[t]:o.ln}),{});return e((0,i.g9)({channelId:a,membershipInfo:c})),(0,n.zW)(e,t,a,r,l).then(t=>e((0,i.rU)({channelId:a,membershipInfo:(0,s.X)(t)}))).catch(()=>e((0,i.KG)({channelId:a,userIds:r})))});l.meta={name:"fetchAndUpsertChannelMembershipForUsers",key:"createThunkFetchAndUpsertChannelMembershipForUsers",description:"Fetches membership info and updates the store with the result"}},0xe82d0e4c:(e,t,a)=>{"use strict";a.d(t,{X:()=>addIsKnownStatus});var n=a(0xdf8554bd);let addIsKnownStatus=(e={})=>{let t={};return Object.keys(e).forEach(a=>{(0,n.A)(e[a])&&(t[a]={isKnown:!0,isMember:e[a]})}),t}},0xecade3b6:(e,t,a)=>{"use strict";a.d(t,{$N:()=>l,JS:()=>m,KK:()=>u,d3:()=>d,er:()=>o,iE:()=>i,pn:()=>s,sr:()=>r,y6:()=>c});var n=a(0xcf658893);let r=(0,n.Ay)("Remove edits corresponding to a message");r.meta={name:"removeMessageEdit",key:"createActionRemoveMessageEdit",description:"Remove edits corresponding to a message"};let i=(0,n.Ay)("Start editing a message");i.meta={name:"startEditingMessage",key:"createActionStartEditingMessage",description:"Start editing a message"};let o=(0,n.Ay)("Stop editing a message");o.meta={name:"stopEditingMessage",key:"createActionStopEditingMessage",description:"Stop editing a message"};let s=(0,n.Ay)("Clear message editing data for a channel");s.meta={name:"stopEditingMessagesInChannel",key:"createActionStopEditingMessagesInChannel",description:"Clear message editing data for a channel"};let l=(0,n.Ay)("Update the current editing state of a message");l.meta={name:"updateEditState",key:"createActionUpdateEditState",description:"Update the current editing state of a message"};let c=(0,n.Ay)("Update the `didRequestToStopEditing` property");c.meta={name:"setDidRequestToStopEditing",key:"createActionSetDidRequestToStopEditing",description:"Update the `didRequestToStopEditing` property"};let d=(0,n.Ay)("Update the `hasUnsavedChanges` property");d.meta={name:"updateHasUnsavedChanges",key:"createActionUpdateHasUnsavedChanges",description:"Update the `hasUnsavedChanges` property"};let u=(0,n.Ay)("Update the `fileIds` property");u.meta={name:"updateUnsavedAttachments",key:"createActionUpdateUnsavedAttachments",description:"Update the `fileIds` property"};let m=(0,n.Ay)("Update the `fileIds` property with uploaded file ids");m.meta={name:"addUploadedFilesForMessageEdit",key:"createActionAddUploadedFilesForMessageEdit",description:"Update the `fileIds` property with uploaded file ids"}},0x1ef125c78:(e,t,a)=>{"use strict";a.d(t,{W4:()=>O,Np:()=>x,UL:()=>R,Kx:()=>k,km:()=>I,mz:()=>v,Rh:()=>C,e6:()=>w,pd:()=>T});var n=a(0x21f3c49e8),r=a(0x1feee1711),i=a(0x1595bdd0),o=a(0x1df96de4c),s=a(0x12185e091),l=a(0x21d6ed371),c=a(0x10dfcca9d),d=a(0xd2efd513),u=a(0x757d6d8),m=a(0x105ecbbed),f=a(0x1cf0d97e1),_=a(0x19c76d181),p=a(0xc561af5),h=a(0x217553e42),g=a(0x132e1beb4),A=a(0xb183234c),b=a(0x14c9312b3),y=a(0x18c9ce57f);let processEditGifUnfurlAttachments=e=>{if((0,r.A)(e))return;let t=[];for(let a of e)for(let e of a?.blocks??[]){let{fallback:a,image_url:n,image_width:r,image_height:i,image_bytes:o}=e||{};if(!n&&!(0,y.i)(n))continue;let s={from_url:n,image_url:n,image_width:r,image_height:i,image_bytes:o,fallback:a,original_url:n,original_gif_url:n,type:b.G};t.push(s)}return t},processEditUrlUnfurlAttachments=e=>{if(!(0,r.A)(e))return e.filter(e=>e.from_url)},processEditBlockUnfurlAttachments=e=>{if((0,r.A)(e))return;let t=[];for(let a of e)for(let e of a?.blocks??[])(0,g.v)(e)&&t.push(e);return t},processEditContactUnfurlAttachments=e=>{if((0,r.A)(e))return;let t=[];for(let a of e)for(let e of a?.blocks??[])(0,A.l)(e)&&t.push(e);return t};var S=a(0xd93ecf94),E=a(0x19895585a);let k=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:s=String(E.N2)})=>{let l=e?.messageEditWindow?.[String(s)];return(0,n.A)(l)||t&&l?.channelId!==t||a&&l?.ts!==a||!i&&l?.viewContext!==r?null:e.messageEditWindow?.[String(s)]??o.t0});k.meta={name:"getMessageEditData",key:"createSelectorGetMessageEditData",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:s=String(E.N2)})=>{let l=e?.messageEditWindow?.[String(s)];return(0,n.A)(l)||t&&l?.channelId!==t||a&&l?.ts!==a||!i&&l?.viewContext!==r?null:e.messageEditWindow?.[String(s)]??o.t0}};let T=(0,f.Ay)((e,{windowId:t=String(E.N2)})=>{let a=e?.messageEditWindow;return!((0,n.A)(a)||(0,n.A)(a[String(t)]))&&!!e?.messageEditWindow?.[String(t)]});T.meta={name:"isAnyMessageInWindowBeingEdited",key:"createSelectorIsAnyMessageInWindowBeingEdited",description:(e,{windowId:t=String(E.N2)})=>{let a=e?.messageEditWindow;return!((0,n.A)(a)||(0,n.A)(a[String(t)]))&&!!e?.messageEditWindow?.[String(t)]}};let I=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:e.messageEditWindow?.[String(o)]?.fileIds});I.meta={name:"getMessageEditFileIds",key:"createSelectorGetMessageEditFileIds",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:e.messageEditWindow?.[String(o)]?.fileIds}};let w=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return!(0,n.A)(s)&&(!t||s?.channelId===t)&&(!a||s?.ts===a)&&(!!i||s?.viewContext===r)&&!(0,n.A)(e.messageEditWindow?.[String(o)]?.initialAttachments)});w.meta={name:"hasMessageEditAttachments",key:"createSelectorHasMessageEditAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return!(0,n.A)(s)&&(!t||s?.channelId===t)&&(!a||s?.ts===a)&&(!!i||s?.viewContext===r)&&!(0,n.A)(e.messageEditWindow?.[String(o)]?.initialAttachments)}},(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:e.messageEditWindow?.[String(o)]?.initialAttachments}).meta={name:"getMessageEditAttachments",key:"createSelectorGetMessageEditAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:e.messageEditWindow?.[String(o)]?.initialAttachments}};let C=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditUrlUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)});C.meta={name:"getMessageEditUrlAttachments",key:"createSelectorGetMessageEditUrlAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditUrlUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)}};let v=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditGifUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)});v.meta={name:"getMessageEditGifAttachments",key:"createSelectorGetMessageEditGifAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditGifUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)}};let x=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditBlockUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)});x.meta={name:"getMessageEditBlockAttachments",key:"createSelectorGetMessageEditBlockAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditBlockUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)}};let R=(0,f.Ay)((e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditContactUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)});R.meta={name:"getMessageEditContactAttachments",key:"createSelectorGetMessageEditContactAttachments",description:(e,{channelId:t,ts:a,viewContext:r,ignoreViewContext:i=!1,windowId:o=String(E.N2)})=>{let s=e?.messageEditWindow?.[String(o)];return(0,n.A)(s)||t&&s?.channelId!==t||a&&s?.ts!==a||!i&&s?.viewContext!==r?null:processEditContactUnfurlAttachments(e.messageEditWindow?.[String(o)]?.initialAttachments)}},(0,f.Ay)((e,{tileKey:t,windowId:a=String(E.N2)})=>{let i=e?.messageEditWindow;return(0,n.A)(i)||(0,n.A)(i[String(a)])||i[String(a)].tileKey&&!t||!(0,r.A)(t)&&t!==i[String(a)].tileKey?null:e.messageEditWindow}).meta={name:"isMessageBeingEditedInTile",key:"createSelectorIsMessageBeingEditedInTile",description:(e,{tileKey:t,windowId:a=String(E.N2)})=>{let i=e?.messageEditWindow;return(0,n.A)(i)||(0,n.A)(i[String(a)])||i[String(a)].tileKey&&!t||!(0,r.A)(t)&&t!==i[String(a)].tileKey?null:e.messageEditWindow}},(0,f.Ay)((e,{windowId:t=String(E.N2)})=>!!(e?.messageEditWindow&&e.messageEditWindow[String(t)].hasUnsavedChanges)).meta={name:"hasUnsavedMessageEditChanges",key:"createSelectorHasUnsavedMessageEditChanges",description:(e,{windowId:t=String(E.N2)})=>!!(e?.messageEditWindow&&e.messageEditWindow[String(t)].hasUnsavedChanges)};let O=(0,f.Ay)((e,{channelId:t,threadTs:a}={})=>{if(!e||!t)return null;let n=(0,_.WR)(e),r=(0,h.OL)(e,t);if(!r||(0,s.Zx)(r))return null;let o=a?(0,m.Iu)(t,a):t,f=(0,p.tp)(e,o,null),g=(f?.timestamps||[]).map(a=>(0,S.Ld)(e,t,a)).filter(e=>!(!e||(0,d.A)(e))&&(a?!(0,l.aN)(e):!(0,l.dK)(e))),A=(0,l.N)((0,i.A)(g),n);if(!A)return null;let b=(0,u.t)(e,r);return(0,c._)(e,n,A,r,b)?A:null});O.meta={name:"getLastEditableMessageInChannel",key:"createSelectorGetLastEditableMessageInChannel",description:(e,{channelId:t,threadTs:a}={})=>{if(!e||!t)return null;let n=(0,_.WR)(e),r=(0,h.OL)(e,t);if(!r||(0,s.Zx)(r))return null;let o=a?(0,m.Iu)(t,a):t,f=(0,p.tp)(e,o,null),g=(f?.timestamps||[]).map(a=>(0,S.Ld)(e,t,a)).filter(e=>!(!e||(0,d.A)(e))&&(a?!(0,l.aN)(e):!(0,l.dK)(e))),A=(0,l.N)((0,i.A)(g),n);if(!A)return null;let b=(0,u.t)(e,r);return(0,c._)(e,n,A,r,b)?A:null}}},0x24ba4b468:(e,t,a)=>{"use strict";a.d(t,{$:()=>h});var n=a(0xbad225b5),r=a(0x16cf1da63),i=a(0xe874a88a),o=a(0x1bec40ee4),s=a(0x11cdf8541),l=a(0xf5bbd10a),c=a(0x11c82607b),d=a(0xecade3b6),u=a(0x1ef125c78),m=a(0x7b30b34e),f=a(0x1d5ba7e16),_=a(0x1fcbb004d),p=a(0x46dbff89);let h=(0,c.Ay)("Close open edits with no changes and warn on edits with unsaved changes",async(e,t,{scroll:a=!1,cancelUnsavedEdits:r=!1},o)=>{let{windowId:l}=o(s.C);if(r)return e((0,d.pn)({windowId:l})),i.S.resolve();let c=t(),m=(0,u.Kx)(c,{ignoreViewContext:!0,windowId:l});return m&&m.hasUnsavedChanges?new i.S((t,r)=>{e((0,p.q)({element:n.createElement(WrappedUnsavedEditsWarningModal,{edit:m,windowId:l,scroll:a,resolve:t,reject:r})}))}):(e((0,d.pn)({windowId:l})),i.S.resolve())});function WrappedUnsavedEditsWarningModal({edit:e,windowId:t,scroll:a,resolve:i,reject:s}){let c=(0,r.wA)(),u=(0,l.A)(),p=(0,n.useCallback)(()=>{c((0,d.er)({windowId:t})),c((0,_.O)()),(0,f.F)(u,e),i()},[e,u,i,c,t]),h=(0,n.useCallback)(()=>{c((0,_.O)()),a&&c((0,m.I)(e)),s()},[a,e,s,c]);return n.createElement(o.A,{closeAndCancelEditing:p,closeAndContinueEditing:h})}h.meta={name:"attemptToStopEditingInChannel",key:"createThunkAttemptToStopEditingInChannel",description:"Close open edits with no changes and warn on edits with unsaved changes"},WrappedUnsavedEditsWarningModal.displayName="WrappedUnsavedEditsWarningModal"},0x7b30b34e:(e,t,a)=>{"use strict";a.d(t,{I:()=>d});var n=a(0x11cdf8541),r=a(0x105ecbbed),i=a(0xb04c4a12),o=a(0x11c82607b),s=a(0xe7f7cf0b),l=a(0x235c05c79),c=a(0x19895585a);let d=(0,o.Ay)("Jump to the currently edited message",(e,t,{channelId:a,threadTs:o,ts:d,viewContext:u},m)=>{if(d)if(u===i.Y.THREAD){let{windowId:t=c.N2}=m(n.C),i=(0,r.Iu)(a,o);e((0,l.GC)({windowId:t,threadKey:i,ts:d}))}else e((0,s.A)({ts:d,highlightLazy:!0}))});d.meta={name:"jumpToEdit",key:"createThunkJumpToEdit",description:"Jump to the currently edited message"}},0x1d5ba7e16:(e,t,a)=>{"use strict";a.d(t,{F:()=>logWarning});var n=a(0x19895585a);let logWarning=(e,{channelId:t,ts:a,threadTs:r,viewContext:i,windowId:o=n.N2}={})=>{e.warn("UNSAVED-EDITS",`unsaved edit in ${t}, ts: ${a}, threadTs: ${r}, viewContext: ${i}, window: ${String(o)}`)}},0x249e56eed:(e,t,a)=>{"use strict";a.d(t,{E8:()=>A,F8:()=>u,FP:()=>d,I_:()=>C,KU:()=>g,Kh:()=>T,Ln:()=>S,Ue:()=>b,VT:()=>E,Xl:()=>h,YA:()=>c,Zk:()=>i,eW:()=>f,fB:()=>o,fL:()=>I,g4:()=>w,hm:()=>_,j8:()=>s,mK:()=>r,mp:()=>m,pv:()=>k,uo:()=>y,wm:()=>l,x0:()=>p});var n=a(0xcf658893);(0,n.Ay)("Traces action collection for span").meta={name:"traceActionCollectionForRootSpan",key:"createActionTraceActionCollectionForRootSpan",description:"Traces action collection for span"};let r=(0,n.Ay)("Sets the active channel");r.meta={name:"setActiveChannel",key:"createActionSetActiveChannel",description:"Sets the active channel"};let i=(0,n.Ay)("Jump to a timestamp in the active channel");i.meta={name:"jumpToTimestampInternal",key:"createActionJumpToTimestampInternal",description:"Jump to a timestamp in the active channel"};let o=(0,n.Ay)("User set the unread point manually");o.meta={name:"userSetUnreadPoint",key:"createActionUserSetUnreadPoint",description:"User set the unread point manually"};let s=(0,n.Ay)("Clear the userSetUnreadPoint flag");s.meta={name:"clearUserSetUnreadPointIfActive",key:"createActionClearUserSetUnreadPointIfActive",description:"Clear the userSetUnreadPoint flag"};let l=(0,n.Ay)("Sets the ghost last read marker");l.meta={name:"setGhostLastRead",key:"createActionSetGhostLastRead",description:"Sets the ghost last read marker"};let c=(0,n.Ay)("Updates the status of the unread line's visibility");c.meta={name:"setUnreadLineVisibility",key:"createActionSetUnreadLineVisibility",description:"Updates the status of the unread line's visibility"};let d=(0,n.Ay)("Clear the highlight from the initial message");d.meta={name:"clearHighlightTs",key:"createActionClearHighlightTs",description:"Clear the highlight from the initial message"};let u=(0,n.Ay)("set the ts of a message we want to announce on a screen reader");u.meta={name:"setAriaAnnounceMessageTs",key:"createActionSetAriaAnnounceMessageTs",description:"set the ts of a message we want to announce on a screen reader"};let m=(0,n.Ay)("clear the ts of a message to announce on a screen reader");m.meta={name:"clearAriaAnnounceMessageTs",key:"createActionClearAriaAnnounceMessageTs",description:"clear the ts of a message to announce on a screen reader"};let f=(0,n.Ay)("Save scroll position for a channel");f.meta={name:"saveScrollmark",key:"createActionSaveScrollmark",description:"Save scroll position for a channel"};let _=(0,n.Ay)("Showing or hiding the highlights back button");_.meta={name:"setHighlightsBackButtonVisible",key:"createActionSetHighlightsBackButtonVisible",description:"Showing or hiding the highlights back button"};let p=(0,n.Ay)("Sets the active channel session id");p.meta={name:"setActiveChannelSessionId",key:"createActionSetActiveChannelSessionId",description:"Sets the active channel session id"};let h=(0,n.Ay)("Set that the message pane has unmounted at least once");h.meta={name:"setMessagePaneHasUnmounted",key:"createActionSetMessagePaneHasUnmounted",description:"Set that the message pane has unmounted at least once"};let g=(0,n.Ay)("Signal to message pane that app space is open");g.meta={name:"setAppSpaceOpen",key:"createActionSetAppSpaceOpen",description:"Signal to message pane that app space is open"};let A=(0,n.Ay)("Set the message timestamp that should be focused");A.meta={name:"setFocusRequestedTs",key:"createActionSetFocusRequestedTs",description:"Set the message timestamp that should be focused"};let b=(0,n.Ay)("Set to true when last visible message in channel should be focused");b.meta={name:"setFocusLastVisibleMessageInChannel",key:"createActionSetFocusLastVisibleMessageInChannel",description:"Set to true when last visible message in channel should be focused"};let y=(0,n.Ay)("Set to true when the message input should be focused");y.meta={name:"setFocusMessageInput",key:"createActionSetFocusMessageInput",description:"Set to true when the message input should be focused"};let S=(0,n.Ay)("Keeps count of how many times a user has seen the quick reactions customization tooltip");S.meta={name:"setQuickReactionsTipViewCount",key:"createActionSetQuickReactionsTipViewCount",description:"Keeps count of how many times a user has seen the quick reactions customization tooltip"};let E=(0,n.Ay)("Set to true when quick reactions tip should not be shown");E.meta={name:"setHideQuickReactionsTip",key:"createActionSetHideQuickReactionsTip",description:"Set to true when quick reactions tip should not be shown"};let k=(0,n.Ay)("Set whether the unfurled joiners channel foreword has been seen");k.meta={name:"setHasSeenUnfurledJoinersForeword",key:"createActionSetHasSeenUnfurledJoinersForeword",description:"Set whether the unfurled joiners channel foreword has been seen"};let T=(0,n.Ay)("Toggle rendering for the #feat-mobile-awareness-dm-promo banner");T.meta={name:"setMobileAwarenessDmPromoChannelId",key:"createActionSetMobileAwarenessDmPromoChannelId",description:"Toggle rendering for the #feat-mobile-awareness-dm-promo banner"};let I=(0,n.Ay)("Keeps count of how many members are in a team");I.meta={name:"setUnfurledJoinersTeamMemberCounts",key:"createActionSetUnfurledJoinersTeamMemberCounts",description:"Keeps count of how many members are in a team"};let w=(0,n.Ay)("Set whether UnreadBanner is showing summarize variant for a channel");w.meta={name:"setUnreadBannerShowingSummarize",key:"createActionSetUnreadBannerShowingSummarize",description:"Set whether UnreadBanner is showing summarize variant for a channel"};let C=(0,n.Ay)("Set whether ArchivesBanner is showing summarize variant for a channel");C.meta={name:"setArchivesBannerShowingSummarize",key:"createActionSetArchivesBannerShowingSummarize",description:"Set whether ArchivesBanner is showing summarize variant for a channel"}},0x15e55b5ca:(e,t,a)=>{"use strict";a.d(t,{ud:()=>S,ZR:()=>w,Cn:()=>R,W7:()=>x,Ol:()=>E,XI:()=>v,dT:()=>D,jm:()=>N,ml:()=>getIsUnreadBannerShowingSummarize,A$:()=>y,rZ:()=>b,Au:()=>L,K6:()=>C,EI:()=>P,T$:()=>O,xL:()=>I,h0:()=>M,mt:()=>k,s2:()=>T});var n=a(0x1598e5174),r=a(0x1ec69ee01),i=a(0x12185e091),o=a(0x1ec68d6a3),s=a(0x16ed1b0dc),l=a(0xcd366154),c=a(0x1cf0d97e1),d=a(0x9b971e7e),u=a(0x691ce3ab),m=a(0x1266f1359),f=a(0x217553e42),_=a(0x1cb2c3583),p=a(0xf6ed6f31);let canNavigateToChannel=(e,t)=>{let a=(0,f.OL)(e,t,!1);return(0,f.gT)(e,t)&&(0,p.bl)(a)&&(!(0,i.JM)(a)||(0,r.nT)(a))};var h=a(0x19895585a),g=a(0x9271cc31),A=a(0x12b3a2912);let b=(0,c.Ay)(e=>e?.messagePane?.startTs);b.meta={name:"getMessagePaneStartTs",key:"createSelectorGetMessagePaneStartTs",description:e=>e?.messagePane?.startTs},(0,c.Ay)(e=>e?.messagePane?.startTsOffset).meta={name:"getMessagePaneStartTsOffset",key:"createSelectorGetMessagePaneStartTsOffset",description:e=>e?.messagePane?.startTsOffset},(0,c.Ay)(e=>e?.messagePane?.highlightTs).meta={name:"getMessagePaneHighlightTs",key:"createSelectorGetMessagePaneHighlightTs",description:e=>e?.messagePane?.highlightTs};let y=(0,c.Ay)(e=>e?.messagePane?.ariaAnnounceMessageTs);y.meta={name:"getMessagePaneAriaAnnounceMessageTs",key:"createSelectorGetMessagePaneAriaAnnounceMessageTs",description:e=>e?.messagePane?.ariaAnnounceMessageTs},(0,c.Ay)(e=>e?.messagePane?.highlightLazy).meta={name:"getMessagePaneHighlightLazy",key:"createSelectorGetMessagePaneHighlightLazy",description:e=>e?.messagePane?.highlightLazy};let S=(0,c.Ay)(e=>e?.messagePane?.userSetUnreadPoint);S.meta={name:"didUserSetUnreadPoint",key:"createSelectorDidUserSetUnreadPoint",description:e=>e?.messagePane?.userSetUnreadPoint};let E=(0,c.Ay)(e=>e?.messagePane?.ghostLastRead);E.meta={name:"getGhostLastRead",key:"createSelectorGetGhostLastRead",description:e=>e?.messagePane?.ghostLastRead};let k=(0,c.Ay)(e=>e?.messagePane?.isAppSpaceOpen);k.meta={name:"isAppSpaceOpen",key:"createSelectorIsAppSpaceOpen",description:e=>e?.messagePane?.isAppSpaceOpen};let T=(0,c.Ay)(e=>e?.messagePane?.unreadLineVisible);T.meta={name:"isUnreadLineVisible",key:"createSelectorIsUnreadLineVisible",description:e=>e?.messagePane?.unreadLineVisible};let I=(0,c.Ay)((e,t)=>e?.messagePane?.scrollmarks?.[t]);I.meta={name:"getScrollmark",key:"createSelectorGetScrollmark",description:(e,t)=>e?.messagePane?.scrollmarks?.[t]},(0,c.Ay)(e=>e?.messagePane?.overlayVisible).meta={name:"isOverlayVisible",key:"createSelectorIsOverlayVisible",description:e=>e?.messagePane?.overlayVisible},(0,c.Ay)(e=>e?.messagePane?.highlightsBackButtonVisible).meta={name:"isHighlightsBackButtonVisible",key:"createSelectorIsHighlightsBackButtonVisible",description:e=>e?.messagePane?.highlightsBackButtonVisible};let w=(0,c.Ay)(e=>e?.messagePane?.channelSessionId);w.meta={name:"getChannelSessionId",key:"createSelectorGetChannelSessionId",description:e=>e?.messagePane?.channelSessionId},(0,c.Ay)(e=>e?.messagePane?.prevChannelSwitchTs).meta={name:"getPrevChannelSwitchTs",key:"createSelectorGetPrevChannelSwitchTs",description:e=>e?.messagePane?.prevChannelSwitchTs};let C=(0,c.Ay)(e=>e?.messagePane?.prevChannelId);C.meta={name:"getPrevChannelId",key:"createSelectorGetPrevChannelId",description:e=>e?.messagePane?.prevChannelId};let v=(0,c.Ay)(e=>e?.messagePane?.hasMessagePaneUnmounted);v.meta={name:"getHasMessagePaneUnmounted",key:"createSelectorGetHasMessagePaneUnmounted",description:e=>e?.messagePane?.hasMessagePaneUnmounted};let x=(0,c.Ay)(e=>e?.messagePane?.focusRequestedTs);x.meta={name:"getFocusRequestedTs",key:"createSelectorGetFocusRequestedTs",description:e=>e?.messagePane?.focusRequestedTs};let R=(0,c.Ay)(e=>e?.messagePane?.focusLastVisibleMessageInChannel);R.meta={name:"getFocusLastVisibleMessageInChannel",key:"createSelectorGetFocusLastVisibleMessageInChannel",description:e=>e?.messagePane?.focusLastVisibleMessageInChannel},(0,c.Ay)(e=>e?.messagePane?.focusMessageInput).meta={name:"getFocusMessageInput",key:"createSelectorGetFocusMessageInput",description:e=>e?.messagePane?.focusMessageInput};let O=(0,c.Ay)(e=>e?.messagePane?.quickReactionsTipViewCount);O.meta={name:"getQuickReactionsTipViewCount",key:"createSelectorGetQuickReactionsTipViewCount",description:e=>e?.messagePane?.quickReactionsTipViewCount};let N=(0,c.Ay)(e=>e?.messagePane?.hideQuickReactionsTip);N.meta={name:"getHideQuickReactionsTip",key:"createSelectorGetHideQuickReactionsTip",description:e=>e?.messagePane?.hideQuickReactionsTip};let D=(0,c.Ay)(e=>e?.messagePane?.hasSeenUnfurledJoinersForeword);D.meta={name:"getHasSeenUnfurledJoinersForeword",key:"createSelectorGetHasSeenUnfurledJoinersForeword",description:e=>e?.messagePane?.hasSeenUnfurledJoinersForeword};let L=(0,c.Ay)(e=>e?.messagePane?.mobileAwarenessDmPromoChannelId);L.meta={name:"getMobileAwarenessDmPromoChannelId",key:"createSelectorGetMobileAwarenessDmPromoChannelId",description:e=>e?.messagePane?.mobileAwarenessDmPromoChannelId};let M=(0,c.Ay)(e=>e?.messagePane?.unfurledJoinersTeamMemberCounts);M.meta={name:"getUnfurledJoinersTeamMemberCounts",key:"createSelectorGetUnfurledJoinersTeamMemberCounts",description:e=>e?.messagePane?.unfurledJoinersTeamMemberCounts};let F=(0,c.Ay)((e,{currentChannelId:t})=>{let a,n=(0,u.en)(),o=(0,l.t)(n.getState()).slice(1),c=(0,g.e6)(e);for(let n of o){if(!(0,A.H)(n))continue;let o=n[h.jf],l=n[o]?.primary?.id;if(!(0,s.A)(l)||l===t)continue;let d=(0,f.OL)(e,l,!1);if(!(0,i.rI)(d)||(0,r.nT)(d)){if(o===c)return l;a||o!==h.k6.Home||(a=l)}}return a});F.meta={name:"getLastViewedChannelIdFromViewHistory",key:"createSelectorGetLastViewedChannelIdFromViewHistory",description:(e,{currentChannelId:t})=>{let a,n=(0,u.en)(),o=(0,l.t)(n.getState()).slice(1),c=(0,g.e6)(e);for(let n of o){if(!(0,A.H)(n))continue;let o=n[h.jf],l=n[o]?.primary?.id;if(!(0,s.A)(l)||l===t)continue;let d=(0,f.OL)(e,l,!1);if(!(0,i.rI)(d)||(0,r.nT)(d)){if(o===c)return l;a||o!==h.k6.Home||(a=l)}}return a}};let getPreviousChannelId=(e,{getSiblingView:t,mainView:a=!1})=>{let n=((e,{getSiblingView:t,mainView:a})=>a?(0,g.F8)(e,{tab:(0,g.e6)(e),container:h.mq.Primary})?.id:t?.(e,{container:h.mq.Primary})?.id)(e,{getSiblingView:t,mainView:a});if(a)return F(e,{currentChannelId:n});let r=C(e)??void 0;if(r!==n)return r},P=(0,c.Ay)((e,t)=>{if(!((0,n.A)(e)&&e.messagePane))return"";let a=getPreviousChannelId(e,t);if(a&&canNavigateToChannel(e,a))return a;let r=(0,f.h3)(e),i=r&&1===r.length&&r[0];if(i)return i.id;let s=(0,m.Qw)((0,d.ZT)(e),(0,_.W)());if(s)return s.id;let l=(0,f.o2)(e,"USLACKBOT");return l||((0,o.default)({state:e}).error("failed to find previous channel id or a suitable fallback"),"")});P.meta={name:"getPrevChannelIdWithFallback",key:"createSelectorGetPrevChannelIdWithFallback",description:(e,t)=>{if(!((0,n.A)(e)&&e.messagePane))return"";let a=getPreviousChannelId(e,t);if(a&&canNavigateToChannel(e,a))return a;let r=(0,f.h3)(e),i=r&&1===r.length&&r[0];if(i)return i.id;let s=(0,m.Qw)((0,d.ZT)(e),(0,_.W)());if(s)return s.id;let l=(0,f.o2)(e,"USLACKBOT");return l||((0,o.default)({state:e}).error("failed to find previous channel id or a suitable fallback"),"")}};let getIsUnreadBannerShowingSummarize=(e,t)=>!!e?.messagePane?.unreadBannerShowingSummarize?.[t]},0xe7f7cf0b:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(0x237b6a339),r=a(0x139aa1a7),i=a(0xbaaab71e),o=a(0x11c82607b),s=a(0x249e56eed),l=a(0x1b59ea031),c=a(0x1ad496a28),d=a(0x19895585a);let u=(0,o.Ay)("jumps to a timestamp in the message pane",(e,t,{ts:a,offset:o,highlight:u,highlightLazy:m},f)=>{let{view:_,container:p,activeTab:h,windowId:g}=f(i.U);if(_){let t=u?a:(0,n.A)();g===d.N2?(_.viewType===r.D.Channel&&e((0,l._)({channelId:_.id,scrollmark:null})),e((0,c.IZ)({windowId:d.N2,tab:h,container:p,params:{startTs:a,startTsOffset:o,highlightTs:t,highlightLazy:m,scrollmark:null}}))):e((0,c.IZ)({childWindowId:g,container:p,params:{startTs:a,startTsOffset:o,highlightTs:t,highlightLazy:m,scrollmark:null}}));return}e((0,s.Zk)({ts:a,offset:o,highlight:u,highlightLazy:m}))});u.meta={name:"jumpToTimestamp",key:"createThunkJumpToTimestamp",description:"jumps to a timestamp in the message pane"};let m=u},0x1b59ea031:(e,t,a)=>{"use strict";a.d(t,{_:()=>c});var n=a(0x12185e091),r=a(0xf6ed6f31),i=a(0x1ec68d6a3),o=a(0x11c82607b),s=a(0x217553e42),l=a(0x249e56eed);let c=(0,o.Ay)("Save the scrollmark if the current user is viewing a public channel that they are a member of",(e,t,{channelId:a,scrollmark:o})=>{let c=t(),d=(0,s.OL)(c,a),u=o;o&&isNaN(o.offset)&&(u=null,(0,i.default)({getState:t}).warn("MAYBE-SAVE-SCROLLMARK",`replacing NaN offset for ${a}`)),(!(0,n.rW)(d)||(0,r.bl)(d))&&e((0,l.eW)({channelId:a,scrollmark:u}))});c.meta={name:"maybeSaveScrollmark",key:"createThunkMaybeSaveScrollmark",description:"Save the scrollmark if the current user is viewing a public channel that they are a member of"}},0x1e75c70fa:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(0x65455bc3),r=a(0x17294c72a),i=a(0x1e2051844),o=a(0x21d6ed371),s=a(0x1b0a362c3),l=a(0x158809687),c=a(0x105ecbbed),d=a(0x1cf0d97e1),u=a(0xc561af5),m=a(0x7fa3cc8f),f=a(0x424ce7f7),_=a(0xc9c97240),p=a(0x134f7bf32);let h=(0,_.Mz)(p.A,e=>{let t=(0,m.A)(e);return(0,f.A)(t,"channelId")});var g=a(0xd93ecf94);let A=(0,d.Ay)((e,t)=>{let a=h(e)[t];if(!a)return null;let d=(0,n.A)((0,r.A)(a,"ts")),m=(0,i.A)(d,({ts:a})=>{let n=(0,g.Ld)(e,t,a,!1);if(!n||!n.showResend||(0,l.n)(n)&&(0,o.aN)(n)||!(0,l.n)(n)&&(0,o.dK)(n))return!1;let r=(0,l.n)(n)?(0,c.Iu)(t,(0,s.L)(n)):t;return!!r&&!!(0,u.xS)(e,r,a)});return m?(0,g.Ld)(e,t,m.ts,!1):null});A.meta={name:"findFailedMessage",key:"createSelectorFindFailedMessage",description:(e,t)=>{let a=h(e)[t];if(!a)return null;let d=(0,n.A)((0,r.A)(a,"ts")),m=(0,i.A)(d,({ts:a})=>{let n=(0,g.Ld)(e,t,a,!1);if(!n||!n.showResend||(0,l.n)(n)&&(0,o.aN)(n)||!(0,l.n)(n)&&(0,o.dK)(n))return!1;let r=(0,l.n)(n)?(0,c.Iu)(t,(0,s.L)(n)):t;return!!r&&!!(0,u.xS)(e,r,a)});return m?(0,g.Ld)(e,t,m.ts,!1):null}};let b=A},0x134f7bf32:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.messagePlaceholders);n.meta={name:"getAllPlaceholders",key:"createSelectorGetAllPlaceholders",description:e=>e?.messagePlaceholders}},0xaa8c4ddd:(e,t,a)=>{"use strict";a.d(t,{E$:()=>d,EU:()=>c,F1:()=>f,FE:()=>g,Kc:()=>r,QN:()=>o,Ti:()=>u,Wy:()=>A,_A:()=>_,eA:()=>p,eM:()=>l,oI:()=>h,tT:()=>i,u_:()=>m,xm:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Add messages");r.meta={name:"addMessages",key:"createActionAddMessages",description:"Add messages"};let i=(0,n.Ay)("Replace messages");i.meta={name:"replaceMessages",key:"createActionReplaceMessages",description:"Replace messages"};let o=(0,n.Ay)("Remove a message");o.meta={name:"removeMessage",key:"createActionRemoveMessage",description:"Remove a message"};let s=(0,n.Ay)("Remove an array of messages");s.meta={name:"bulkRemoveMessages",key:"createActionBulkRemoveMessages",description:"Remove an array of messages"};let l=(0,n.Ay)("Remove all messages for a channel");l.meta={name:"removeAllMessages",key:"createActionRemoveAllMessages",description:"Remove all messages for a channel"};let c=(0,n.Ay)("Remove all messages for multiple channels");c.meta={name:"bulkRemoveAllMessagesByChannelIds",key:"createActionBulkRemoveAllMessagesByChannelIds",description:"Remove all messages for multiple channels"};let d=(0,n.Ay)("Hide a thread broadcast");d.meta={name:"hideThreadBroadcast",key:"createActionHideThreadBroadcast",description:"Hide a thread broadcast"};let u=(0,n.Ay)("Show a thread broadcast");u.meta={name:"showThreadBroadcast",key:"createActionShowThreadBroadcast",description:"Show a thread broadcast"};let m=(0,n.Ay)("Edit the text of a message");m.meta={name:"editMessage",key:"createActionEditMessage",description:"Edit the text of a message"};let f=(0,n.Ay)("Set pending state of attachment action and parent attachment");f.meta={name:"setAttachmentActionAsPending",key:"createActionSetAttachmentActionAsPending",description:"Set pending state of attachment action and parent attachment"};let _=(0,n.Ay)("Set showing state of attachment action loading spinner");_.meta={name:"setAttachmentLoaderAsShowing",key:"createActionSetAttachmentLoaderAsShowing",description:"Set showing state of attachment action loading spinner"};let p=(0,n.Ay)("Removes the attachment");p.meta={name:"removeAttachment",key:"createActionRemoveAttachment",description:"Removes the attachment"};let h=(0,n.Ay)("Removes all messages from all channels");h.meta={name:"clearMessages",key:"createActionClearMessages",description:"Removes all messages from all channels"};let g=(0,n.Ay)("Sets an individual message as unhidden from a hidden sender");g.meta={name:"unhideMessage",key:"createActionUnhideMessage",description:"Sets an individual message as unhidden from a hidden sender"};let A=(0,n.Ay)("Sets whether an individual message is unhidden from a hidden sender");A.meta={name:"setUnhiddenMessageState",key:"createActionSetUnhiddenMessageState",description:"Sets whether an individual message is unhidden from a hidden sender"}},0x20cd565bc:(e,t,a)=>{"use strict";let n,r,i;a.d(t,{Ay:()=>M,TU:()=>L,Xb:()=>unwrapMutableState});var o=a(0xf4930165),s=a(0x6258badf),l=a(0x21f3c49e8),c=a(0x839ba347),d=a(0x20ef3966f),u=a(0x1595bdd0),m=a(0x424ce7f7),f=a(0x244f35bf8),_=a(0x9e671ad),p=a(0x1e2051844),h=a(0xb90908),g=a(0x250e0b598),A=a(0x1130a8ca8),b=a(0x14dd06fc9),y=a(0x167deb6e),S=a(0xec87564b),E=a(0x926d5797),k=a(0x21d6ed371),T=a(0x9ef0bef5),I=a(0xde270041),w=a(0x1337d9fa2);function isAgentPlaceholderMessage(e){return(0,w.gn)(e)&&(0,I._)(e)&&!(0,T.F)(e)}var C=a(0x1deaf9033),v=a(0xba77ecb9),x=a(0x227d83f0f),R=a(0xaa8c4ddd);let O=Symbol("Non-persisted messages map");var N=a(0x20aae6d9e);let setThreadBroadcastVisibility=(e,{channelId:t,ts:a,isHidden:n}={})=>{let r=e[t];if(!r)return e;let i=r[a];if(!i||"thread_broadcast"!==i.subtype||!!i._hidden_reply===n)return e;let o=(0,A.xH)(e),s=(0,A.xH)(o[t]);return s[a]={...i,_hidden_reply:n},o[t]=(0,A.HB)(s),(0,A.HB)(o)},setUnhiddenMessageStateInternal=(e,{channelId:t,ts:a,isUnhidden:n}={})=>{if(!t||!a||!e[t])return e;let r=e[t][a];if(!r)return e;let i=(0,A.xH)(e),o=(0,A.xH)(i[t]),s={...r};return n?s.isUnhidden=!0:delete s.isUnhidden,o[a]=s,i[t]=(0,A.HB)(o),(0,A.HB)(i)},unwrapMutableState=e=>{let t=(0,A.xH)(e);return(0,o.A)(t,e=>(0,A.xH)(e))},D={[g.q]:void 0},L={storeKey:"messages",persistenceEnabled:!0,beforeWriteTransform:e=>{let t=unwrapMutableState(e),a=t[O]||{},n=(0,s.A)(t,[O]);return(0,l.A)(a)||(0,c.A)(a,(e,t)=>{if((0,l.A)(n[t])||(0,l.A)(e))return;let a={...n[t]};(0,c.A)(e,(e,t)=>{a[t]=(0,N.v)(a[t])}),n[t]=a}),n}},processAndMergeMessages=(e,{messages:t,replace:a}={})=>{let n=t.map(e=>{let t=e.file&&e.file.id?{file:e.file.id}:{},a=(0,d.A)((0,u.A)(e.files),e=>"string"==typeof e?e:e.id),n=a&&a.length?{files:a}:{files:void 0},r=performance.now().toString();return{...e,...t,...n,__meta__:{lastUpdatedTs:r}}}),r=(0,m.A)(n,"channel"),i=(0,y.hM)(L),o=(0,E.VX)(L),s=(0,A.xH)(e),l=(0,A.xH)(s[O])??{},f=[];if((0,c.A)(r,(e,t)=>{s[t]||(s[t]={}),l[t]||(l[t]={});let n=(0,A.xH)(s[t]);e.forEach(e=>{let r=n[e.ts];!(isAgentPlaceholderMessage(e)&&(0,T.F)(r))&&(!a&&r?n[e.ts]={...r,...e}:n[e.ts]=e,(0,k.TD)(e)?(i||o)&&f.push({id:(0,C.H)({channel:t,ts:e.ts}),object:e}):l[t][e.ts]=e)}),s[t]=(0,A.HB)(n)}),i){let t=e[g.q];t&&(0,y.Cw)({shardId:t,objects:f,storeKey:L.storeKey})}if(o){let{storeKey:t}=L,a=e[g.q];if(a){let{teamId:e,userId:n}=(0,E.tp)(a);(0,S.h6)({tableName:{storeKey:t,teamId:e,userId:n},rows:f})}}return s[O]=(0,A.HB)(l),(0,A.HB)(s)},addOrReplaceMessages=(e,{messages:t,replace:a}={})=>{if(!t||!t.length||!(0,f.A)(t))return e;let n=(0,u.A)((0,d.A)(t,"root")),r=processAndMergeMessages(e,{messages:t,replace:a});return n.length?processAndMergeMessages(r,{messages:n,replace:!1}):r},M=(n=(0,y.hM)(L),r=(0,E.VX)(L),i=(0,v.Ay)({},D,L).on(R.Kc,(e,t)=>addOrReplaceMessages(e,{messages:t})).on(R.tT,(e,t)=>addOrReplaceMessages(e,{messages:t,replace:!0})).on(R.QN,(e,{message:t,isCacheEviction:a=!1})=>{let{channel:i,ts:o}=t;if(!i||!o)return e;let s=(0,A.xH)(e),l=s[g.q];if(n&&!a&&l&&(0,y.uD)({shardId:l,storeKey:L.storeKey,idsToDelete:[(0,C.H)({channel:i,ts:o})]}),r&&!a&&l){let{storeKey:e}=L,{teamId:t,userId:a}=(0,E.tp)(l);(0,S.w)({tableName:{storeKey:e,teamId:t,userId:a},ids:[(0,C.H)({channel:i,ts:o})]})}if(!e?.[i]?.[o])return e;let c=(0,A.xH)(s[i]);if(delete c[o],s[i]=(0,A.HB)(c),s[O]?.[i]?.[o]){let e=(0,A.xH)(s[O]);delete e[i][o],s[O]=(0,A.HB)(e)}return(0,A.HB)(s)}).on(R.xm,(e,{messages:t=[],isCacheEviction:a=!1})=>{if(!t?.length)return e;let i=(0,A.xH)(e),o=i[g.q];if(n&&!a&&o&&(0,y.uD)({shardId:o,storeKey:L.storeKey,idsToDelete:t.map(({channel:e,ts:t})=>(0,C.H)({channel:e,ts:t}))}),r&&!a&&o){let{storeKey:e}=L,{teamId:a,userId:n}=(0,E.tp)(o);(0,S.w)({tableName:{storeKey:e,teamId:a,userId:n},ids:t.map(({channel:e,ts:t})=>(0,C.H)({channel:e,ts:t}))})}let s=(0,A.xH)(i[O]),l=(0,m.A)(t,"channel");return(0,c.A)(l,(e,t)=>{if(!i[t])return;let a=(0,A.xH)(i[t]);e.forEach(e=>{e.ts&&(delete a[e.ts],i[O]?.[t]?.[e.ts]&&delete s[t][e.ts])}),i[t]=(0,A.HB)(a)}),i[O]=(0,A.HB)(s),(0,A.HB)(i)}).on(R.eM,(e,{channelId:t}={})=>{if(!t||!e[t])return e;let a=(0,A.xH)(e),n=(0,A.xH)(a[O]);return delete a[t],n?.[t]&&(delete n[t],a[O]=(0,A.HB)(n)),(0,A.HB)(a)}).on(R.EU,(e,{channelIds:t})=>{if(!t.some(t=>e[t]))return e;let a=(0,A.xH)(e),n=(0,A.xH)(a[O]);return t.forEach(e=>{a[e]&&(delete a[e],n?.[e]&&delete n[e])}),n&&(a[O]=(0,A.HB)(n)),(0,A.HB)(a)}).on(R.E$,(e,{channelId:t,ts:a}={})=>setThreadBroadcastVisibility(e,{channelId:t,ts:a,isHidden:!0})).on(R.Ti,(e,{channelId:t,ts:a}={})=>setThreadBroadcastVisibility(e,{channelId:t,ts:a,isHidden:!1})).on(R.u_,(e,{channelId:t,ts:a,text:n,blocks:r,memberId:i,editTs:o,files:s}={})=>{let l;if(!e[t])return e;let c=e[t][a];if(!c)return e;if(r){if((0,_.A)(r,c.blocks)&&(0,_.A)(s,c.files))return e}else if(c.text===n)return e;i&&o&&(l={user:i,ts:o});let d={...c,edited:l};r?d.blocks=r:d.text=n,s&&(d.files=s);let u=(0,A.xH)(e),m=(0,A.xH)(u[t]);return m[a]=d,u[t]=(0,A.HB)(m),(0,A.HB)(u)}).on(R.F1,(e,{channelId:t,messageTs:a,attachmentId:n,actionId:r,isPending:i}={})=>{let o=e[t][a];if(!o)return e;let s=o.__meta__||{},l={[`attachment-${n}-isPending`]:i},c={[`attachment-${n}-action-${r}-isPending`]:i},d=(0,A.xH)(e),u=(0,A.xH)(d[t]);return u[a]={...o,__meta__:{...s,...l,...c}},d[t]=(0,A.HB)(u),(0,A.HB)(d)}).on(R._A,(e,{channelId:t,messageTs:a,attachmentId:n,isShowing:r}={})=>{let i=e[t][a];if(!i)return e;let o=i.__meta__||{},s={[`attachment-${n}-loaderIsShowing`]:r},l=(0,A.xH)(e),c=(0,A.xH)(l[t]);return c[a]={...i,__meta__:{...o,...s}},l[t]=(0,A.HB)(c),(0,A.HB)(l)}).on(R.eA,(e,{channelId:t,messageTs:a,attachmentId:n,fileId:r}={})=>{let i=e[t];if(!i)return e;let o=i[a];if(!o||!(0,p.A)(o.attachments,{id:n}))return e;let s=r?o?.files?.filter(e=>e!==r):o?.files,l=(0,A.xH)(e),c=(0,A.xH)(l[t]);return c[a]={...o,attachments:(0,h.A)(o.attachments,{id:n}),files:s},l[t]=(0,A.HB)(c),(0,A.HB)(l)}).on(R.oI,()=>({...D})).on(R.FE,(e,{channelId:t,ts:a}={})=>setUnhiddenMessageStateInternal(e,{channelId:t,ts:a,isUnhidden:!0})).on(R.Wy,(e,{channelId:t,ts:a,isUnhidden:n}={})=>setUnhiddenMessageStateInternal(e,{channelId:t,ts:a,isUnhidden:n})),n&&(b.qV.createObjectStore({storeName:L.storeKey}),i.on(x.H,(e,t)=>(0,y.QA)({reducerState:e,shardId:t}))),r&&i.on(x.H,(e,t)=>(0,y.QA)({reducerState:e,shardId:t})),i)},0xd93ecf94:(e,t,a)=>{"use strict";a.d(t,{h8:()=>Y,Ld:()=>q,oJ:()=>Q,zG:()=>$,X_:()=>z,mv:()=>J,Lw:()=>Z,Vg:()=>isLastReplyInThreadFromAgent,u0:()=>X});var n=a(0xb77a689a),r=a(0x839ba347),i=a(0x7d48dd65),o=a(0x9b44b68b),s=a(0x20ef3966f),l=a(0x357885ff),c=a(0x55098bc0),d=a(0x1df96de4c),u=a(0x318bb66b),m=a(0x1130a8ca8),f=a(0x130c2e810),_=a(0x21d6ed371),p=a(0x1b0a362c3),h=a(0x15c7516a2),g=a(0x9ef0bef5),A=a(0x158809687),b=a(0x3fb798cf),y=a(0x1121794ee),S=a(0x105ecbbed),E=a(0x11439744b),k=a(0xb04c4a12),T=a(0x1deaf9033),I=a(0x1cf0d97e1),w=a(0x9b971e7e),C=a(0xdf55e8f3),v=a(0xc561af5),x=a(0x14ea3ce99),R=a(0xe684f705),O=a(0x2365edf4c),N=a(0x229a7b035),D=a(0xca924ee1),L=a(0x3e015234),M=a(0x11c82607b),F=a(0xaa8c4ddd),P=a(0x210d62337),U=a(0x5a5c86cb),B=a(0x1ec69ee01),G=a(0x12185e091),H=a(0xf6ed6f31),W=a(0x217553e42);function getUnusedMessages(e){let t=(0,m.xH)((0,O.e)(e));if(!t)return{};let a={};return(0,r.A)(t,(t,n)=>{let r=(0,m.xH)(t),i=(0,W.OL)(e,n,!1);if(!i||(0,G.Zx)(i))return;if(!(0,H.bl)(i))return void Object.assign(a,(0,P.A)(r,T.H));let o=(0,B._V)(e,i)??"0000000000.000000";Object.assign(a,(0,P.A)((0,U.A)(r,e=>!!(0,_.TD)(e)&&!(e.ts>o)),T.H))}),a}let V=(0,M.Ay)("Remove messages by message ID of the form channelId-ts",(e,t,{ids:a,isCacheEviction:n=!1})=>{let r=a.map(T.Y);e((0,F.xm)({messages:r,isCacheEviction:n}))});V.meta={name:"bulkRemoveMessagesById",key:"createThunkBulkRemoveMessagesById",description:"Remove messages by message ID of the form channelId-ts"};let j=(0,D.A)(e=>new L.A({teamId:e,cacheSizeMaximum:3e3,cacheSizeTarget:2e3,evictionEnabled:!0,comparator:({lastAccessA:e=0,lastAccessB:t=0,objectA:a,objectB:n})=>{let r=Date.now();return(r-e<36e5?e:a?.ts*1e3)-(r-t<36e5?t:n?.ts*1e3)},getObjects:getUnusedMessages,removeObjects:V,label:"messages"}));var K=a(0xd9883072);let q=(0,I.Ay)((e,t,a,r=!0)=>{let i=(0,w.ZT)(e),o=(0,N.c)(e,t,a);return o?(j(i).recordHit((0,T.H)({channel:t,ts:a})),o):!o&&r&&(0,n.A)(a)&&!(0,b.A)(a)&&t?((0,u.A)(1)&&(0,E.Cy)({state:e}).count("unknown_messages_get"),j(i).recordMiss(),(0,K.Ss)().fetchObjectWithId(i,(0,T.H)({channel:t,ts:a}))):null});q.meta={name:"getMessageByTimestamp",key:"createSelectorGetMessageByTimestamp",description:(e,t,a,r=!0)=>{let i=(0,w.ZT)(e),o=(0,N.c)(e,t,a);return o?(j(i).recordHit((0,T.H)({channel:t,ts:a})),o):!o&&r&&(0,n.A)(a)&&!(0,b.A)(a)&&t?((0,u.A)(1)&&(0,E.Cy)({state:e}).count("unknown_messages_get"),j(i).recordMiss(),(0,K.Ss)().fetchObjectWithId(i,(0,T.H)({channel:t,ts:a}))):null}};let z=(0,I.Ay)((e,t,a)=>{let n=q(e,t,a);if(!n)return null;let r=(0,y.S)(n);return r||null});z.meta={name:"getQuipCommentIdByTimestamp",key:"createSelectorGetQuipCommentIdByTimestamp",description:(e,t,a)=>{let n=q(e,t,a);if(!n)return null;let r=(0,y.S)(n);return r||null}};let $=(0,C.eI)((e,t,a,n=!0)=>{let i={};return(0,r.A)(a,a=>{i[a]=q(e,t,a,n)}),i}),Y=(0,I.Ay)((e,t)=>(0,m.xH)((0,O.e)(e)?.[t])??d.t0);Y.meta={name:"dangerouslyGetMessagesByChannelId",key:"createSelectorDangerouslyGetMessagesByChannelId",description:(e,t)=>(0,m.xH)((0,O.e)(e)?.[t])??d.t0},(0,I.Ay)((e,t)=>(0,O.e)(e)?.[t]??d.t0).meta={name:"getMessagesByChannelIdWrapped",key:"createSelectorGetMessagesByChannelIdWrapped",description:(e,t)=>(0,O.e)(e)?.[t]??d.t0};let Q=(0,I.Ay)((e,t,a)=>{if(!e||!(0,O.e)(e))return d.Ml;if(t){let n=Y(e,t);return(0,i.A)(n,a)}let n=(0,o.A)((0,m.xH)((0,O.e)(e))),r=(0,s.A)(n,t=>t?Q(e,t,a):[]);return(0,l.A)(r)});Q.meta={name:"getMessagesByProps",key:"createSelectorGetMessagesByProps",description:(e,t,a)=>{if(!e||!(0,O.e)(e))return d.Ml;if(t){let n=Y(e,t);return(0,i.A)(n,a)}let n=(0,o.A)((0,m.xH)((0,O.e)(e))),r=(0,s.A)(n,t=>t?Q(e,t,a):[]);return(0,l.A)(r)}};let Z=(0,I.Ay)((e,{channelId:t,messageTs:a,attachmentId:n}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__)return!1;let r=`attachment-${n}-isPending`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[r]});Z.meta={name:"isAttachmentPending",key:"createSelectorIsAttachmentPending",description:(e,{channelId:t,messageTs:a,attachmentId:n}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__)return!1;let r=`attachment-${n}-isPending`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[r]}};let J=(0,I.Ay)((e,{channelId:t,messageTs:a,attachmentId:n,actionId:r}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__)return!1;let i=`attachment-${n}-action-${r}-isPending`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[i]});J.meta={name:"isActionPending",key:"createSelectorIsActionPending",description:(e,{channelId:t,messageTs:a,attachmentId:n,actionId:r}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__)return!1;let i=`attachment-${n}-action-${r}-isPending`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[i]}};let X=(0,I.Ay)((e,{channelId:t,messageTs:a,messageContainerType:n,threadTs:r})=>{let i=q(e,t,a),o=i&&i.files&&1===i.files.length,s=i&&!(0,g.F)(i),l=i?.files&&i?.files[0],c=(0,R.cA)(e),d=l&&(0,x.Lp)(e,l,!0),u=d&&d?.user,m=c.id===u,f=d&&d?.is_public||m,_=n===k.Y.THREAD||n===k.Y.THREADS_VIEW;return!!(f||!f)&&!!o&&!!s&&!_&&!r});X.meta={name:"isSingleFileMessageAction",key:"createSelectorIsSingleFileMessageAction",description:(e,{channelId:t,messageTs:a,messageContainerType:n,threadTs:r})=>{let i=q(e,t,a),o=i&&i.files&&1===i.files.length,s=i&&!(0,g.F)(i),l=i?.files&&i?.files[0],c=(0,R.cA)(e),d=l&&(0,x.Lp)(e,l,!0),u=d&&d?.user,m=c.id===u,f=d&&d?.is_public||m,_=n===k.Y.THREAD||n===k.Y.THREADS_VIEW;return!!(f||!f)&&!!o&&!!s&&!_&&!r}},(0,I.Ay)((e,{channelId:t,messageTs:a,attachmentId:n}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__||!Z(e,{channelId:t,messageTs:a,attachmentId:n}))return!1;let r=`attachment-${n}-loaderIsShowing`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[r]}).meta={name:"isAttachmentLoaderShowing",key:"createSelectorIsAttachmentLoaderShowing",description:(e,{channelId:t,messageTs:a,attachmentId:n}={})=>{if(!(0,O.e)(e)?.[t]?.[a]?.__meta__||!Z(e,{channelId:t,messageTs:a,attachmentId:n}))return!1;let r=`attachment-${n}-loaderIsShowing`;return(0,O.e)(e)?.[t]?.[a]?.__meta__?.[r]}};let ee=(0,I.Ay)((e,{memberId:t,threadTs:a,channelId:n,filterRule:r=()=>!0})=>{if(!n)return;let i=(0,S.Iu)(n,a),o=(0,v.r7)(e,i)||{};return(0,c.A)(o.timestamps||[],a=>{let i=q(e,n,a);return!!i&&!!(0,f.lG)(e,i)&&(0,_.Hr)(i)===t&&r(i)})});function isLastReplyInThreadFromAgent(e,t,a){let n=(0,h.j)(t),r=(0,_.WY)(t),i=(0,_.Hr)(t),o=(0,p.L)(t);if(!i||!o||!n||!r||!(0,A.n)(t)||!(0,f.lG)(e,t))return!1;let s=ee(e,{memberId:i,threadTs:o,channelId:r,filterRule:a});return!!s&&n===s}ee.meta={name:"getLastThreadReplyFromAgent",key:"createSelectorGetLastThreadReplyFromAgent",description:(e,{memberId:t,threadTs:a,channelId:n,filterRule:r=()=>!0})=>{if(!n)return;let i=(0,S.Iu)(n,a),o=(0,v.r7)(e,i)||{};return(0,c.A)(o.timestamps||[],a=>{let i=q(e,n,a);return!!i&&!!(0,f.lG)(e,i)&&(0,_.Hr)(i)===t&&r(i)})}}},0x2365edf4c:(e,t,a)=>{"use strict";a.d(t,{e:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.messages);n.meta={name:"getAllMessages",key:"createSelectorGetAllMessages",description:e=>e?.messages}},0x229a7b035:(e,t,a)=>{"use strict";a.d(t,{c:()=>i});var n=a(0x1cf0d97e1),r=a(0x2365edf4c);let i=(0,n.Ay)((e,t,a)=>(0,r.e)(e)?.[t]?.[a]);i.meta={name:"getRawMessagesByTimestamp",key:"createSelectorGetRawMessagesByTimestamp",description:(e,t,a)=>(0,r.e)(e)?.[t]?.[a]}},0x1f3db393:(e,t,a)=>{"use strict";a.d(t,{A:()=>ee});var n=a(0x1595bdd0),r=a(0x9e671ad),i=a(0x6258badf),o=a(0x1d6bd61f0),s=a(0x11c82607b),l=a(0x9b971e7e),c=a(0x229a7b035),d=a(0xb77a689a),u=a(0xd4e00a1e),m=a(0x5a5c86cb),f=a(0x244f35bf8),_=a(0x20ef3966f),p=a(0x8eb6366c),h=a(0x77727995),g=a(0x10027d8bc),A=a(0xbc76db4d),b=a(0x10656c751),y=a(0x12185e091),S=a(0x21d6ed371),E=a(0x1ff5b60c4),k=a(0x94e8342),T=a(0x1ec68d6a3),I=a(0x157ccdb87),w=a(0xc67f3d80);function convertCallSubtypeToBlockMessage(e){return(0,w.Oi)(e)?!e.room||e.blocks?((0,T.getGenericLogger)({label:"CALLS"}).error(`Invalid call subtype message: ${JSON.stringify(e)}`),{...e,no_display:!0}):convert(e):e}function convert(e){return{...e,subtype:void 0,room:void 0,blocks:[{type:"call",call_id:e.room.id,block_id:e.room.id}]}}var C=a(0x1266f1359),v=a(0x217553e42),x=a(0x14ea3ce99),R=a(0x1de66e9e2);let O="PREPROCESS-IMSG-MAKE";function makeMsgObject(e,t,{imsg:a,channelId:n}={}){if(!a)return null;if(!a.ts)return(0,T.default)({getState:t}).error(O,"missing imsg.ts"),null;let r=n||a.channel;if(!r)return(0,T.default)({getState:t}).error(O,"missing channelId"),null;let i=t(),o=(0,l.JY)(t());if(!o)return null;let s=(0,b.d3)(o)?(0,C.$D)(o):t(),c=(0,v.OL)(s,r),f=(0,A.l)(s),_=makeThreadObject(e,t,{imsg:a=convertCallSubtypeToBlockMessage(a),channelId:r}),p=makeFileThreadObject(e,t,{imsg:a}),h=makeFilesObject(e,t,{imsg:a}),g=makePinnedObject(e,t,{imsg:a}),S=makeAttachmentsObject(e,t,{imsg:a}),k=makeBlocksObject(e,t,{imsg:a}),w=makeHuddleObject(e,t,{imsg:a}),x=makeScheduledHuddleObject(e,t,{imsg:a}),R=makeDeleteScheduledHuddleObject(e,t,{imsg:a}),N=f?makeAiAssistantObject(a):{},D=["channel_topic","channel_purpose","channel_join","channel_leave"].includes(a.type)?a.type:a.subtype,L="tombstone"===a.subtype&&a.hidden&&a.reply_count>0,M=_&&_.no_display||h&&h.no_display||g&&g.no_display||["group_join","group_purpose"].includes(a.subtype||"")&&(0,y.yz)(c)||a.hidden&&!L||"no_display"in a&&a.no_display;if(M){(0,T.default)({state:i}).info(O,"no_display true",a.channel,a.ts);let e=(0,I.E)({state:i}),t=e.createMetricsTrace({label:"messages"});t.count({name:"no_display"}).addTags({channel:a.channel,ts:a.ts}),e.reportTrace(t)}let F=(0,d.A)(a.text)?a.text:void 0;a.text&&!(0,d.A)(a.text)&&(0,T.default)({state:i}).error(O,`Invalid imsg.text type: ${typeof a.text} ${a.ts}`);let P=(0,u.A)(a,["_ephemeral_type","alert_type","bot_id","bot_profile","client_msg_id","dnd_suppressed","document_comment","document_unfurl","canvas_original_message_ts","edited","hidden","icons","inviter","is_ephemeral","is_locked","is_starred","reminder","locked_by_team_id","task","mrkdwn","metadata","name","no_notifications","old_name","pinned_to","purpose","story_topic","story_description","container","topic","upload","huddle_call_id","canvas_id","canvas_root_thread_channel_id","canvas_root_thread_ts","saved","slack_list","media_reactions_summary","mpdm_move","file_permission_status","slack_list","list_edit","file_annotation","schedule","is_auto_send","function_execution_id","version","ai_context","streaming_state","is_beyond_free_limit","record_context","canvas_update_ai_summary_blocks","canvas_update_user_ids","canvas_update_section_ids","canvas_update_canvas_id","assistant_app_thread","trigger_id","workflow_id","agentforce_help_request","show_agentforce_feedback","tab_id","tab_added_user_id","folder_id","folder_item_id","item_added_user_id","item_added_user_ids","screen_reader_text","agentforce_auto_reply_status","welcome_party_user_id"]),U=(0,m.A)({username:("bot_message"===a.subtype||"thread_broadcast"===a.subtype&&a.bot_id)&&a.username,pinned_info:a.pinned_info,slackbot_feels:"USLACKBOT"===a.user&&a.slackbot_feels,source_team_id:a.source_team||("source_team_id"in a?a.source_team_id:void 0),suppress_notification:a.suppress_notification||!1});return a.document_mention&&(U.document_mention=a.document_mention),U.language=a.language??void 0,{..._,...p,...h,...g,...S,...k,...w,...x,...R,...N,...P,...U,type:"message",ts:a.ts||"",channel:r,no_display:!!M,user:a.user,_rxn_key:(0,E.B)("message",a.ts,r),subtype:D,text:F}}function makeThreadObject(e,t,{imsg:a,channelId:n}={}){if(!a||!n)return null;let r=null;"thread_broadcast"===a.subtype&&a.root&&(r=e(ee({imsgs:[a.root],channelId:n,skipSlurp:!0}))[0]);let i={latest_reply:a.latest_reply,reply_users:a.reply_users,reply_users_count:a.reply_users_count},o="reply_broadcast"===a.subtype?{channel_id:a.channel,no_display:a.new_broadcast}:{};return{thread_ts:a.thread_ts,slackbot_feels:a.slackbot_feels||null,_hidden_reply:!!a.thread_ts&&a.thread_ts!==a.ts&&"thread_broadcast"!==a.subtype,reply_count:parseInt(a.reply_count,10)||0,replies:a.replies,...i,...o,...(0,m.A)({parent_ts:a.parent_ts,parent_user_id:a.parent_user_id,root:r,_subscribed:a.subscribed,_unread_count:a.unread_count,_last_read:a.last_read})}}function makeFileThreadObject(e,t,{imsg:a}={}){let r=(0,l.JY)(t());if(!r)return null;let i=(0,b.d3)(r)?(0,C.$D)(r):t();if(!a)return null;if(!a.files||!(0,f.A)(a.files))return{files:void 0};let o=(0,n.A)((0,_.A)(a.files,e=>{if(!e||!e.id)return null;let t=(0,x.Lp)(i,e.id,!1);return t||{id:e.id,isUnknown:!0}}));return(0,m.A)({files:o,x_files:a.x_files})}function makeFilesObject(e,t,{imsg:a}={}){if(!a||!["file_share","file_mention","file_comment"].includes(a.subtype||""))return null;let n=(0,l.JY)(t());if(!n)return null;let r=(0,b.d3)(n)?(0,C.$D)(n):t(),i=a.file?.id,o=i?(0,x.Lp)(r,i,!1):null;i&&!o&&(o={id:i,isUnknown:!0});let s="file_comment"===a.subtype&&a.comment,c="file_comment"===a.subtype&&!a.comment;return(0,m.A)({file:o,comment:s,no_display:c})}function makePinnedObject(e,t,{imsg:a}={}){let n;if(!a||"pinned_item"!==a.subtype)return null;let r=(0,l.JY)(t());if(!r)return null;let i=(0,b.d3)(r)?(0,C.$D)(r):t();return"F"===a.item_type?a.item?.id&&(n=(0,x.Lp)(i,a.item.id,!1)):["Fc","C","G","D"].includes(a.item_type||"")&&(n=a.item),(0,m.A)({item_type:a.item_type,item:n,no_display:!0})}function makeAttachmentsObject(e,t,{imsg:a}={}){return a?a.attachments?{attachments:a.attachments.map(makeAttachmentObject)}:{attachments:void 0}:null}function makeAttachmentObject(e){let t=(0,p.A)(e);return t.video_html_width&&(t.video_html_width=+t.video_html_width),t.video_html_height&&(t.video_html_height=+t.video_html_height),t.id&&(t.id=t.id.toString()),t}function makeBlocksObject(e,t,{imsg:a}={}){if(!a)return null;if(!a.blocks||!(0,h.A)(a,"blocks.length"))return{blocks:void 0};let n=!!a?.document_comment&&!!a?.document_comment?.is_archived,r=a&&(!a?.document_comment||n)?(0,S.M8)(a):void 0,i=!(0,k.A)(a.blocks,!1),o=a.blocks,s=(0,g.zM)(t()),l=(0,R.R)({blocks:o,suppressRichTextEditedLabel:i,isArchived:n,editedTs:r,isStopped:s&&a.ai_context?.result_status==="stopped_by_user"});return{blocks:o,blocksProcessed:l}}function makeHuddleObject(e,t,{imsg:a}){return(0,l.JY)(t())?a.room&&(void 0===a.subtype||"thread_broadcast"===a.subtype||"huddle_message"===a.subtype||"huddle_thread"===a.subtype)?{room_id:a.room.id}:{}:null}function makeScheduledHuddleObject(e,t,{imsg:a}){return(0,l.JY)(t())?a.schedule&&"scheduled_huddle_message"===a.subtype?{scheduled_huddle_id:a.schedule.id,schedule:a.schedule}:{}:null}function makeDeleteScheduledHuddleObject(e,t,{imsg:a}){return(0,l.JY)(t())?a.schedule&&"delete_scheduled_huddle_message"===a.subtype?{scheduled_huddle_id:a.schedule.id,schedule:a.schedule}:{}:null}function makeAiAssistantObject(e){return e.assistant_thread?{assistantThread:e.assistant_thread}:{}}var N=a(0x7fa3cc8f);function shouldCheckFileInfo(e){return"check_file_info"===e.file_access}var D=a(0x1337d9fa2),L=a(0x1121794ee),M=a(0x224811973),F=a(0x209e067d1),P=a(0x222719d7),U=a(0x16f981890),B=a(0x5418d932),G=a(0x19c76d181),H=a(0xf741057c),W=a(0x23e1fed85),V=a(0x1be74f5aa),j=a(0x37fb4286),K=a(0x8976310b),q=a(0x1d6635b8c),z=a(0x1beeaa71e),$=a(0x141589b4d),Y=a(0xe505b125),Q=a(0x10fd1d7a8),Z=a(0x1f70a7686);let J="PREPROCESS-IMSG-SLURP";function slurpData(e,t,{imsgs:a,channelId:n,trustReactions:r=!1}={}){if(!a)return;let i=(0,l.JY)(t());if(!i)return;let o=(0,b.d3)(i)?(0,C.$D)(i):t();slurpWorkObjects(e,t,{imsgs:a}),slurpBots(e,{imsgs:a}),slurpReactions(e,t,{imsgs:a,channelId:n,trustReactions:r}),slurpFileThreads(e,t,{imsgs:a}),(0,M.y)(o)&&slurpQuipComments(e,t,{imsgs:a,channelId:n||""}),slurpFiles(e,t,{imsgs:a}),slurpCalls(e,t,{imsgs:a}),slurpPinnedFiles(e,t,{imsgs:a}),slurpThreadSubscriptions(e,{imsgs:a,channelId:n||""})}function slurpWorkObjects(e,t,{imsgs:a}){a&&a.forEach(a=>{if(a){if(a.attachments){let n=a.attachments.map(a=>(a.blocks&&(0,V.z)(e,t,a.blocks),a));a.attachments=n}a.blocks&&(0,V.z)(e,t,a.blocks)}})}function slurpBots(e,{imsgs:t}){if(!t)return;let a=[];t.forEach(e=>{e&&e.bot_profile&&a.push(e.bot_profile)}),a.length&&e((0,H.s)({bots:a}))}function slurpReactions(e,t,{imsgs:a,channelId:n,trustReactions:r}){if(!a)return;let i={},o=[],s=t(),c=(0,l.JY)(s);if(!c)return;let d=(0,b.d3)(c)?(0,C.$D)(c):t();a.forEach(e=>{let t;if(!e)return;let a=n||e.channel;if(!a)return;t=(0,E.B)("message",e.ts,a);let l=r||!(0,$.UJ)(d)||(0,Q.N)(d,a)||(0,Q.N)(d,(0,G.WR)(d));if(e.reactions?i[t]={key:t,reactions:e.reactions}:(l||(0,D.Dv)(e))&&(0,z.bk)(s,t)&&o.push(t),(0,F.A)()){e.file&&(t=(0,E.B)("file",e.file.id),e.file.reactions?i[t]={key:t,reactions:e.file.reactions}:l&&(0,z.bk)(s,t)&&o.push(t));let a=e.comment;a&&(t=(0,E.B)("file_comment",a.id),a.reactions?i[t]={key:t,reactions:a.reactions}:l&&(0,z.bk)(s,t)&&o.push(t))}});let u=(0,N.A)(i);u.length&&e((0,q.Al)({objects:u})),o.length&&e((0,q.hB)({ids:o}))}function slurpFileThreads(e,t,{imsgs:a}){if(!a)return;let n=t();if(!(0,l.JY)(n))return;let r={};a.forEach(e=>{e&&!(0,D.m)(e)&&(e.files&&e.files.forEach(e=>{shouldCheckFileInfo(e)||(r[e.id||""]=e)}),e.file&&(0,T.default)({state:n}).warn(J,"imsg has both a files array and file object on it. It should only have one or the other."))}),Z.NP?(0,Z.NP)({action:(0,W.b)({files:(0,N.A)(r)}),teamOrEnterpriseId:(0,l.JY)(n)}):e((0,W.b)({files:(0,N.A)(r)}))}function slurpQuipComments(e,t,{imsgs:a,channelId:n}){if(!a)return;let r=[],i=t(),o=(0,l.ZT)(i);!o||(a.forEach(a=>{if(!a)return;let i=a.thread_ts||a.ts||"",s=(0,c.c)(t(),n,i);if(!s)return;let l=(0,L.S)(s);if(!l)return;let d=(0,K.r)(t(),l);(d?.channelId!==n||d?.threadTs!==i)&&r.push({id:l,channelId:n,threadTs:i});let u=a.reply_count;"number"==typeof u&&e((0,B.A)({channelId:n,teamId:o,quipCommentThreadId:l,replyCount:u}))}),r.length&&e((0,j.qJ)({objects:r})))}function slurpFiles(e,t,{imsgs:a}){if(!a)return;let n=t();if(!(0,l.JY)(n))return;let r={},i=(0,T.default)({state:n});a.forEach(e=>{if(!e||!["file_share","file_mention","file_comment"].includes(e.subtype||"")||!e.file)return;if(!e.file.id)return void i.error(J,`no file ID on file in imsg.subtype:${e.subtype} ${e.ts}`);let t=e.file,a=r[e.file.id];!shouldCheckFileInfo(e.file)&&(t=a||t).id&&(r[t.id]=t)}),Z.NP?(0,Z.NP)({action:(0,W.b)({files:(0,N.A)(r)}),teamOrEnterpriseId:(0,l.JY)(n)}):e((0,W.b)({files:(0,N.A)(r)}))}function slurpCalls(e,t,{imsgs:a}){if(!a||!(0,l.JY)(t()))return;let n=(0,T.default)({getState:t});a.forEach(t=>{if(!t||!["sh_room_created","sh_room_shared"].includes(t.subtype||"")&&!t.room)return;let a=t.room;a?a.id?e((0,P.oU)((0,U.Q)(a))):n.error(J,`no room id on room imsg.subtype:${t.subtype} ${t.ts}`):n.error(J,`no room on imsg.subtype:${t.subtype} ${t.ts}`)})}function slurpPinnedFiles(e,t,{imsgs:a}){let n={};a.forEach(e=>{!e||"pinned_item"!==e.subtype||"F"!==e.item_type||e.item&&e.item.id&&!e.item.is_deleted&&(n[e.item.id]=e.item)}),Z.NP?(0,Z.NP)({action:(0,W.b)({files:(0,N.A)(n)}),teamOrEnterpriseId:(0,l.JY)(t())}):e((0,W.b)({files:(0,N.A)(n)}))}function slurpThreadSubscriptions(e,{imsgs:t,channelId:a}){if(!t)return;let n=t.map(e=>{if(!e||!e.ts||!Object.prototype.hasOwnProperty.call(e,"subscribed"))return null;let t=a||e.channel;return t?{channelId:t,ts:e.ts,subscribed:e.subscribed,lastRead:e.last_read}:null}).filter(e=>!!e);n.length&&e((0,Y.S)({subscriptions:n}))}let X=(0,s.Ay)("Preprocesses an array of internal message objects",(e,t,{imsgs:a,channelId:s,skipSlurp:d=!1,trustReactions:u=!1,source:m=o.xT.Other}={})=>{if(!a||!a.length)return[];d||slurpData(e,t,{imsgs:a,channelId:s,trustReactions:u});let f=(0,n.A)(a.map(a=>makeMsgObject(e,t,{imsg:a,channelId:s}))),_=(0,l.ZT)(t());return(0,o.bC)()&&_&&f.forEach(e=>{let a=(0,c.c)(t(),e.channel,e.ts);(0,o.Y8)({type:o.an.Message,source:m,duplicate:void 0!==a&&(0,r.A)((0,i.A)(a,["version","__meta__"]),(0,i.A)(e,"version")),teamId:_})}),f});X.meta={name:"preprocessImsgs",key:"createThunkPreprocessImsgs",description:"Preprocesses an array of internal message objects"};let ee=X},0x1de66e9e2:(e,t,a)=>{"use strict";a.d(t,{R:()=>preprocessBlocks});var n=a(0x15681504d),r=a(0x99773ba7),i=a(0x1e8b70c20),o=a(0x17690f291),s=a(0x1c9b4eab),l=a(0xb65e4259),c=a(0xe56fc23c),d=a(0x1c7cb6e50);let preprocessBlocks=({blocks:e,suppressRichTextEditedLabel:t,isArchived:a,editedTs:u,isStopped:m})=>{let f=-1;if(m){for(let t=e.length-1;t>=0;t--)if("rich_text"===e[t]?.type){f=t;break}}return e?.map((e,_)=>{let p=(0,d.t)(e,10),h=p?.elements;return h?(h=(0,n.H)(h),h=(0,i.A)(h),h=(0,r.A)(h),h=(0,c.A)(h),h=(0,l.QB)(h),!t&&(u||a)?h=(0,o.A)({elements:h,editedTs:u||"",isArchived:a||!1}):m&&_===f&&(h=(0,s.A)({elements:h})),{...p,elements:h}):p})}},0x1be74f5aa:(e,t,a)=>{"use strict";a.d(t,{z:()=>slurpBlocks});var n=a(0x21f3c49e8),r=a(0x7fa3cc8f),i=a(0x9b971e7e),o=a(0x222719d7),s=a(0x16f981890),l=a(0x23e1fed85),c=a(0x1f70a7686);function slurpBlocks(e,t,a){let d={};a.forEach(t=>{switch(t.type){case"file":t.file&&t.file_id&&(d[t.file.id]=t.file);break;case"call":t.call&&t.call_id&&(e((0,o.oU)((0,s.a)(t.call.v1,t.call.media_backend_type))),delete t.call)}}),(0,n.A)(d)||(c.NP?(0,c.NP)({action:(0,l.b)({files:(0,r.A)(d)}),teamOrEnterpriseId:(0,i.JY)(t())}):e((0,l.b)({files:(0,r.A)(d)})))}},0x20aae6d9e:(e,t,a)=>{"use strict";function makeStub(e){return{type:e?.type,channel:e?.channel,ts:e?.ts,text:"",no_display:!0,_hidden_stub:!0,is_ephemeral:e?.is_ephemeral}}function isStub(e){return!!(e&&"_hidden_stub"in e&&e?._hidden_stub)}a.d(t,{D:()=>isStub,v:()=>makeStub})},0xd9883072:(e,t,a)=>{"use strict";a.d(t,{Ss:()=>p,vg:()=>addMessagesForTeamId});var n=a(0xca924ee1),r=a(0x16475a65c),i=a(0x318bb66b),o=a(0x14afd1a83),s=a(0x1906e0f30),l=a(0x15f4f83cf),c=a(0x1ec68d6a3),d=a(0x11439744b),u=a(0x1deaf9033),m=a(0x1266f1359),f=a(0xaa8c4ddd),_=a(0x20cd565bc);let p=(0,n.A)(()=>new l.Ay({fetch:(e,t)=>fetchMessagesForTeamId(e,t),metricsName:"messages",upsertKnown:addMessagesForTeamId,upsertNonExistent:addMessagesForTeamId,makeUnknownObject:e=>({...(0,u.Y)(e),id:e,isUnknown:!0}),makeNonExistentObject:e=>({...(0,u.Y)(e),id:e,isNonExistent:!0}),offlineDataStoreConfig:(0,s.p)(_.TU)}));function fetchMessagesForTeamId(e,t){let a={};t.forEach(e=>{let{channel:t,ts:n}=(0,u.Y)(e);a[t]||(a[t]=[]),a[t].push(n)});let n=Object.keys(a).map(e=>({channel:e,timestamps:a[e]}));return(0,m.Qw)(e,(0,o.mI)({query:n,reason:"messages-ufm"})).then(a=>{if(a.length<t.length){let n=(0,m.oK)(e);(0,d.Cy)({getState:n.getState}).count("unknown_messages_missing",t.length-a.length),(0,i.A)(1)&&(0,c.default)({getState:n.getState}).error("unknown_messages_missing",(0,r.A)(t,a).join(","))}return a.map(e=>({...e,id:(0,u.H)(e)}))})}function addMessagesForTeamId(e,t){return(0,m.Qw)(e,(0,f.tT)(t))}},0x895c7512:(e,t,a)=>{"use strict";a.d(t,{S:()=>r,U:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Open a modal");r.meta={name:"internalUpdateStore",key:"createActionInternalUpdateStore",description:"Open a modal"};let i=(0,n.Ay)("Sets a flag that will prevent the video recorder modal from being closed");i.meta={name:"setShouldPreventVideoRecorderModalClose",key:"createActionSetShouldPreventVideoRecorderModalClose",description:"Sets a flag that will prevent the video recorder modal from being closed"}},0x12bd9fb85:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s,Qv:()=>o});var n=a(0x4f6e90b4),r=a(0xba77ecb9),i=a(0x895c7512);let o={},s=(0,r.Ay)({},{lastUpdated:void 0,shouldPreventVideoRecorderModalClose:!1},{persistenceEnabled:!0,storeKey:"modal"}).on(i.S,e=>({...e,lastUpdated:Date.now()})).on(i.U,(e,t)=>({...e,shouldPreventVideoRecorderModalClose:t}));(0,n.ul)("modalStore",{modalsByTeamAndWindow:o})},0x1f57aea47:(e,t,a)=>{"use strict";a.d(t,{eo:()=>getModalStoreKey,iS:()=>u,oY:()=>d,wc:()=>c});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x12bd9fb85),s=a(0x19895585a);let getModalStoreKey=(e,t)=>t&&t!==s.N2?`${e}-${t}`:e,l=(0,r.Ay)(e=>e?.modal?.lastUpdated);l.meta={name:"getLastUpdated",key:"createSelectorGetLastUpdated",description:e=>e?.modal?.lastUpdated};let c=(0,r.Ay)((e,t)=>{l(e);let a=getModalStoreKey((0,i.ZT)(e)||(0,i.jV)(e),t);return o.Qv[a]=o.Qv[a]||n.Ml,o.Qv[a]});c.meta={name:"getCurrentModals",key:"createSelectorGetCurrentModals",description:(e,t)=>{l(e);let a=getModalStoreKey((0,i.ZT)(e)||(0,i.jV)(e),t);return o.Qv[a]=o.Qv[a]||n.Ml,o.Qv[a]}};let d=(0,r.Ay)((e,t)=>c(e,t).length>0);d.meta={name:"isModalOpen",key:"createSelectorIsModalOpen",description:(e,t)=>c(e,t).length>0};let u=(0,r.Ay)(e=>e?.modal?.shouldPreventVideoRecorderModalClose);u.meta={name:"getShouldPreventVideoRecorderModalClose",key:"createSelectorGetShouldPreventVideoRecorderModalClose",description:e=>e?.modal?.shouldPreventVideoRecorderModalClose}},0x1fcbb004d:(e,t,a)=>{"use strict";a.d(t,{O:()=>f});var n=a(0x1e4244368),r=a(0xd6ba6894),i=a(0x1df96de4c),o=a(0x11cdf8541),s=a(0x1ec68d6a3),l=a(0x11c82607b),c=a(0x9b971e7e),d=a(0x895c7512),u=a(0x12bd9fb85),m=a(0x1f57aea47);let f=(0,l.Ay)("Close the current modal",(e,t,{closeAll:a,closeNamed:l}={},f)=>{let _=t(),p=(0,c.ZT)(_)||(0,c.jV)(_),h=(0,m.eo)(p),g=!1,A=f&&f(o.C);if(A?.windowRef.deref()!==r.J&&A?.windowId){let e=A.windowId;h=(0,m.eo)(p,e),g=!0,(0,s.default)({getState:t}).info("CLOSE-MODAL",`Closing modal for child window with ID ${h}`)}a?g?delete u.Qv[h]:u.Qv[h]=i.Ml:l&&l.length&&u.Qv[h]?u.Qv[h]=u.Qv[h].filter(e=>!e.name||!l.includes(e.name)):u.Qv[h]&&(u.Qv[h]=(0,n.A)(u.Qv[h])),e((0,d.S)())});f.meta={name:"closeModal",key:"createThunkCloseModal",description:"Close the current modal"}},0x1b712feab:(e,t,a)=>{"use strict";a.d(t,{E:()=>d});var n=a(0x1ec68d6a3),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x895c7512),s=a(0x12bd9fb85),l=a(0x1f57aea47),c=a(0x19895585a);let d=(0,r.Ay)("Close the current modal",(e,t,{windowId:a}={})=>{if(!a||a===c.N2)return;let r=t(),d=(0,i.ZT)(r)||(0,i.jV)(r),u=(0,l.eo)(d,a);void 0!==s.Qv[u]&&((0,n.default)({getState:t}).info("CLOSE-MODALS-FOR-WINDOW",`Closing all modals for child window with ID ${String(a)}`),delete s.Qv[u],e((0,o.S)()))});d.meta={name:"closeModalsForWindow",key:"createThunkCloseModalsForWindow",description:"Close the current modal"}},0x46dbff89:(e,t,a)=>{"use strict";a.d(t,{q:()=>b});var n=a(0xbad225b5),r=a(0x2bba3a0),i=a(0x7d48dd65),o=a(0xd6ba6894);function getReactComponentName(e){if("string"!=typeof e){if("function"==typeof e)return"displayName"in e&&"string"==typeof e.displayName&&e.displayName?e.displayName:e.name||void 0;if("object"==typeof e&&null!==e){if(e.displayName)return e.displayName;if(e.type)return getReactComponentName(e.type);if(e.render)return getReactComponentName(e.render)}}}var s=a(0x12edaa96a),l=a(0x2ab73abf),c=a(0x4c96e5d9);let d=(0,a(0x11c8c5441).Ay)("Modal",{isFromQuipModal:!1});var u=a(0x11cdf8541),m=a(0x1862e217b),f=a(0x1ec68d6a3),_=a(0x11c82607b),p=a(0x9b971e7e),h=a(0x895c7512),g=a(0x12bd9fb85),A=a(0x1f57aea47);function getModalName({name:e,element:t}){return e||n.isValidElement(t)&&getReactComponentName(t.type)||"UnknownModalName"}let b=(0,_.Ay)("Open a modal",(e,t,{element:a,name:_,isStackable:b=!1,shouldAlwaysOpenInMainWindow:y=!1,forceTargetWindowId:S},E)=>{if(!n.isValidElement(a))return void(0,f.default)({getState:t}).warn("openModal: element is invalid");let k=getModalName({name:_,element:a}),T=t(),I=(0,p.ZT)(T)||(0,p.jV)(T),w=(0,A.eo)(I);if(y)e((0,m.e)());else{let e=E(u.C);if(e?.windowRef.deref()!==o.J&&e?.windowId){let a=e.windowId;w=(0,A.eo)(I,a),(0,f.default)({getState:t}).info("OPEN-MODAL",`Opening modal for child window with ID ${w}`)}S&&(w=(0,A.eo)(I,S),(0,f.default)({getState:t}).info("OPEN-MODAL",`Force opening modal for child window with ID ${w}`))}let C=g.Qv[w]?g.Qv[w].length:0,v=`modal-${(0,s.A)()}`,x=n.cloneElement(a,{key:v}),R=E(d);return(b||R.isFromQuipModal)&&C>0?g.Qv[w]=[...g.Qv[w],{element:x,name:k}]:g.Qv[w]=[{element:x,name:k}],e((0,h.S)()),(0,l.K7)(),(0,c.Ws)(),{render:t=>{let a=[...g.Qv[w]],i=(0,r.A)(a,{element:x});-1!==i&&(x=n.cloneElement(x,t),a[i]={element:x,name:k},g.Qv[w]=a,e((0,h.S)()))},close:()=>{g.Qv[w]=(0,i.A)(g.Qv[w],e=>e.element!==x),e((0,h.S)())}}});b.meta={name:"openModal",key:"createThunkOpenModal",description:"Open a modal"}},0x11eae4d05:(e,t,a)=>{"use strict";a.d(t,{e:()=>createModalThunk});var n=a(0xbad225b5),r=a(0x11c82607b),i=a(0x46dbff89);let createModalThunk=(e,{preDispatchHook:t}={})=>(0,r.Ay)(`Open ${e.displayName} modal`,(a,r,o)=>{let{openModalProps:s,...l}=o||{};if(t){let e=t(a,r,o);if(!0!==e)return e}let c=a((0,i.q)({element:n.createElement(e,{...l,closeModal:()=>c.close()}),...s}));return c})},0x16b708a7f:(e,t,a)=>{"use strict";a.d(t,{$M:()=>eu,Bs:()=>ea,Ce:()=>es,DN:()=>x,Dy:()=>z,EG:()=>u,FK:()=>J,Fi:()=>N,HC:()=>h,IL:()=>w,JH:()=>m,Jj:()=>v,Kg:()=>L,Ko:()=>Z,LO:()=>f,Le:()=>P,M5:()=>R,MB:()=>c,MU:()=>E,OU:()=>o,O_:()=>O,Ox:()=>G,Q6:()=>s,TG:()=>el,UF:()=>er,Um:()=>ed,Un:()=>I,Xb:()=>y,Xr:()=>k,ZQ:()=>Y,Zy:()=>i,Zz:()=>V,_f:()=>M,_w:()=>j,a2:()=>_,aB:()=>D,bD:()=>H,c2:()=>ei,dt:()=>B,fL:()=>b,fv:()=>q,gG:()=>d,gT:()=>Q,hr:()=>eo,hz:()=>K,i$:()=>T,iA:()=>S,iH:()=>U,iQ:()=>W,in:()=>g,jK:()=>p,jf:()=>ee,kC:()=>r,kh:()=>et,m4:()=>en,mr:()=>C,nS:()=>ec,ns:()=>X,oU:()=>$,q9:()=>em,qO:()=>F,wO:()=>A,yK:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Set admin-created workflow view, and optional id and payload for edit");r.meta={name:"setAdminWorkflowView",key:"createActionSetAdminWorkflowView",description:"Set admin-created workflow view, and optional id and payload for edit"};let i=(0,n.Ay)("Set celebration config payload for edit");i.meta={name:"setCelebrationWorkflowView",key:"createActionSetCelebrationWorkflowView",description:"Set celebration config payload for edit"};let o=(0,n.Ay)("Set celebration config toggle state");o.meta={name:"setCelebrationConfigToggleState",key:"createActionSetCelebrationConfigToggleState",description:"Set celebration config toggle state"};let s=(0,n.Ay)("Set field mapping updated for celebration config");s.meta={name:"setCelebrationFieldMappingUpdated",key:"createActionSetCelebrationFieldMappingUpdated",description:"Set field mapping updated for celebration config"};let l=(0,n.Ay)("Set end-user-created workflow view, and optional id and payload for edit");l.meta={name:"setUserWorkflowView",key:"createActionSetUserWorkflowView",description:"Set end-user-created workflow view, and optional id and payload for edit"};let c=(0,n.Ay)("Set is loading existing ACN workflow");c.meta={name:"setIsLoadingAdminWorkflowView",key:"createActionSetIsLoadingAdminWorkflowView",description:"Set is loading existing ACN workflow"};let d=(0,n.Ay)("Set is loading existing ECN workflow");d.meta={name:"setIsLoadingUserWorkflowView",key:"createActionSetIsLoadingUserWorkflowView",description:"Set is loading existing ECN workflow"};let u=(0,n.Ay)("Set datasource objects");u.meta={name:"setDatasourceObjects",key:"createActionSetDatasourceObjects",description:"Set datasource objects"};let m=(0,n.Ay)("Clear state of all admin-created workflow forms");m.meta={name:"clearAdminWorkflowForms",key:"createActionClearAdminWorkflowForms",description:"Clear state of all admin-created workflow forms"};let f=(0,n.Ay)("Clear state of all end-user-created workflow forms");f.meta={name:"clearUserWorkflowForms",key:"createActionClearUserWorkflowForms",description:"Clear state of all end-user-created workflow forms"};let _=(0,n.Ay)("Set a specific workflow form's state");_.meta={name:"setWorkflowForm",key:"createActionSetWorkflowForm",description:"Set a specific workflow form's state"};let p=(0,n.Ay)("Update a specific workflow form's state");p.meta={name:"updateWorkflowForm",key:"createActionUpdateWorkflowForm",description:"Update a specific workflow form's state"};let h=(0,n.Ay)("Delete Sales Notification workflow function success");h.meta={name:"deleteSalesNotificationWorkflowFunctionSuccess",key:"createActionDeleteSalesNotificationWorkflowFunctionSuccess",description:"Delete Sales Notification workflow function success"};let g=(0,n.Ay)("Delete Sales Notification workflow function failure");g.meta={name:"deleteSalesNotificationWorkflowFunctionFailure",key:"createActionDeleteSalesNotificationWorkflowFunctionFailure",description:"Delete Sales Notification workflow function failure"};let A=(0,n.Ay)('Set status to "fetching" when started fetching external datasource list.');A.meta={name:"setDatasourceListFetching",key:"createActionSetDatasourceListFetching",description:'Set status to "fetching" when started fetching external datasource list.'};let b=(0,n.Ay)("Set a status of the UI for external datasources ");b.meta={name:"setDatasourcesStatus",key:"createActionSetDatasourcesStatus",description:"Set a status of the UI for external datasources "};let y=(0,n.Ay)("Set list of successfully fetched external datasource list.");y.meta={name:"setDatasourceListSuccess",key:"createActionSetDatasourceListSuccess",description:"Set list of successfully fetched external datasource list."};let S=(0,n.Ay)("Set an error when failed to fetch external datasource list.");S.meta={name:"setDatasourceListError",key:"createActionSetDatasourceListError",description:"Set an error when failed to fetch external datasource list."};let E=(0,n.Ay)("Set info for given datasource id");E.meta={name:"setDatasourceInfo",key:"createActionSetDatasourceInfo",description:"Set info for given datasource id"};let k=(0,n.Ay)("Set flag to show onboarding opportunity coachmark");k.meta={name:"setShouldShowOnboardingOpptyCoachmark",key:"createActionSetShouldShowOnboardingOpptyCoachmark",description:"Set flag to show onboarding opportunity coachmark"};let T=(0,n.Ay)("Set activity logging form data in progress");T.meta={name:"setActivityLogFormData",key:"createActionSetActivityLogFormData",description:"Set activity logging form data in progress"};let I=(0,n.Ay)('Set status to "initial" when finished fetching a list of available admin Salesforce orgs.');I.meta={name:"setAdminOrgListInitial",key:"createActionSetAdminOrgListInitial",description:'Set status to "initial" when finished fetching a list of available admin Salesforce orgs.'};let w=(0,n.Ay)('Set status to "fetching" when started fetching a list of available admin Salesforce orgs.');w.meta={name:"setAdminOrgListFetching",key:"createActionSetAdminOrgListFetching",description:'Set status to "fetching" when started fetching a list of available admin Salesforce orgs.'};let C=(0,n.Ay)("Set an error when failed to fetch a list of available admin Salesforce orgs.");C.meta={name:"setAdminOrgListError",key:"createActionSetAdminOrgListError",description:"Set an error when failed to fetch a list of available admin Salesforce orgs."};let v=(0,n.Ay)("Set a list of fetched available admin Salesforce orgs in the redux state.");v.meta={name:"setAdminOrgListSuccess",key:"createActionSetAdminOrgListSuccess",description:"Set a list of fetched available admin Salesforce orgs in the redux state."};let x=(0,n.Ay)("Set UI status of Add Datasource step.");x.meta={name:"setAddSourceStatus",key:"createActionSetAddSourceStatus",description:"Set UI status of Add Datasource step."};let R=(0,n.Ay)("Set target environment for Add Datasource step");R.meta={name:"setAddSourceEnvironment",key:"createActionSetAddSourceEnvironment",description:"Set target environment for Add Datasource step"};let O=(0,n.Ay)("Set UI Status of OAuth for Add Datasource step");O.meta={name:"setAddSourceOAuthStatus",key:"createActionSetAddSourceOAuthStatus",description:"Set UI Status of OAuth for Add Datasource step"};let N=(0,n.Ay)("Clear OAuth info for Add Datasource step");N.meta={name:"resetAddSourceOAuth",key:"createActionResetAddSourceOAuth",description:"Clear OAuth info for Add Datasource step"};let D=(0,n.Ay)("Reset all data for Add Datasource step");D.meta={name:"resetAddSource",key:"createActionResetAddSource",description:"Reset all data for Add Datasource step"};let L=(0,n.Ay)("Set UI status of Create Datasource step");L.meta={name:"setCreateSourceStatus",key:"createActionSetCreateSourceStatus",description:"Set UI status of Create Datasource step"};let M=(0,n.Ay)("Set data for Create Datasource step");M.meta={name:"setCreateSourceData",key:"createActionSetCreateSourceData",description:"Set data for Create Datasource step"};let F=(0,n.Ay)("Set error for Create Datasource step");F.meta={name:"setCreateSourceError",key:"createActionSetCreateSourceError",description:"Set error for Create Datasource step"};let P=(0,n.Ay)('Set status to "fetching" when started fetching a list of available user Salesforce orgs.');P.meta={name:"setUserOrgsFetching",key:"createActionSetUserOrgsFetching",description:'Set status to "fetching" when started fetching a list of available user Salesforce orgs.'};let U=(0,n.Ay)("Set a list of successfully fetched available user Salesforce orgs in the redux state.");U.meta={name:"setUserOrgsSuccess",key:"createActionSetUserOrgsSuccess",description:"Set a list of successfully fetched available user Salesforce orgs in the redux state."};let B=(0,n.Ay)("Set an error when failed to fetch a list of available user Salesforce orgs.");B.meta={name:"setUserOrgsError",key:"createActionSetUserOrgsError",description:"Set an error when failed to fetch a list of available user Salesforce orgs."};let G=(0,n.Ay)("Set admin selected salesforce org");G.meta={name:"setAdminSelectedSalesforceOrg",key:"createActionSetAdminSelectedSalesforceOrg",description:"Set admin selected salesforce org"};let H=(0,n.Ay)("Reset admin selected salesforce org");H.meta={name:"resetAdminSelectedSalesforceOrg",key:"createActionResetAdminSelectedSalesforceOrg",description:"Reset admin selected salesforce org"};let W=(0,n.Ay)("Update notification prefs for given Salesforce org id");W.meta={name:"updateNotificationPrefsBySalesforceOrgId",key:"createActionUpdateNotificationPrefsBySalesforceOrgId",description:"Update notification prefs for given Salesforce org id"};let V=(0,n.Ay)("Set admin selected salesforce org object mappings");V.meta={name:"setAdminSelectedOrgObjectMappings",key:"createActionSetAdminSelectedOrgObjectMappings",description:"Set admin selected salesforce org object mappings"};let j=(0,n.Ay)("Set flag to show if shared activities is enabled for log a call feature");j.meta={name:"setIsSharedActivitiesEnabled",key:"createActionSetIsSharedActivitiesEnabled",description:"Set flag to show if shared activities is enabled for log a call feature"};let K=(0,n.Ay)('Set status of "Disconnect Org" UI');K.meta={name:"setDisconnectOrgStatus",key:"createActionSetDisconnectOrgStatus",description:'Set status of "Disconnect Org" UI'};let q=(0,n.Ay)('Set error of "Disconnect Org" UI after disconnecting attempt');q.meta={name:"setDisconnectOrgError",key:"createActionSetDisconnectOrgError",description:'Set error of "Disconnect Org" UI after disconnecting attempt'};let z=(0,n.Ay)("Set compact layout fields for log a call feature");z.meta={name:"setCompactLayoutFields",key:"createActionSetCompactLayoutFields",description:"Set compact layout fields for log a call feature"};let $=(0,n.Ay)("Set current salesforce org member ids");$.meta={name:"setCurrentOrgMemberIds",key:"createActionSetCurrentOrgMemberIds",description:"Set current salesforce org member ids"};let Y=(0,n.Ay)("Set current salesforce org admin ids");Y.meta={name:"setCurrentOrgAdminIds",key:"createActionSetCurrentOrgAdminIds",description:"Set current salesforce org admin ids"};let Q=(0,n.Ay)("Set total salesforce members for admin member table");Q.meta={name:"setTotalOrgMemberCount",key:"createActionSetTotalOrgMemberCount",description:"Set total salesforce members for admin member table"};let Z=(0,n.Ay)("Reset all data related to Salesforce org setup");Z.meta={name:"resetSalesforceOrgSetup",key:"createActionResetSalesforceOrgSetup",description:"Reset all data related to Salesforce org setup"};let J=(0,n.Ay)("Set status of Salesforce org setup UI");J.meta={name:"setSalesforceOrgSetupStatus",key:"createActionSetSalesforceOrgSetupStatus",description:"Set status of Salesforce org setup UI"};let X=(0,n.Ay)("Set error for Salesforce org setup UI");X.meta={name:"setSalesforceOrgSetupError",key:"createActionSetSalesforceOrgSetupError",description:"Set error for Salesforce org setup UI"};let ee=(0,n.Ay)("Set default salesforce org id for end user");ee.meta={name:"setUserDefaultSalesforceOrgId",key:"createActionSetUserDefaultSalesforceOrgId",description:"Set default salesforce org id for end user"};let et=(0,n.Ay)("Set sfdc user.info for sfdcOrgId");et.meta={name:"setSfdcUserInfo",key:"createActionSetSfdcUserInfo",description:"Set sfdc user.info for sfdcOrgId"},(0,n.Ay)("Update selected org id scoped to a feature").meta={name:"setUserSelectedSalesforceOrgId",key:"createActionSetUserSelectedSalesforceOrgId",description:"Update selected org id scoped to a feature"};let ea=(0,n.Ay)("Set main Sales Elevate page screen");ea.meta={name:"setSalesHomePageScreen",key:"createActionSetSalesHomePageScreen",description:"Set main Sales Elevate page screen"};let en=(0,n.Ay)("Update the selected datasource id in the adminOrgList data");en.meta={name:"updateSelectedDatasourceInAdminOrgData",key:"createActionUpdateSelectedDatasourceInAdminOrgData",description:"Update the selected datasource id in the adminOrgList data"};let er=(0,n.Ay)("Set selected default org object mappings");er.meta={name:"setUserDefaultSalesforceOrgObjectMappings",key:"createActionSetUserDefaultSalesforceOrgObjectMappings",description:"Set selected default org object mappings"};let ei=(0,n.Ay)("Loader for user org object mappings");ei.meta={name:"setIsLoadingUserObjectMappings",key:"createActionSetIsLoadingUserObjectMappings",description:"Loader for user org object mappings"};let eo=(0,n.Ay)("Set user org object mappings");eo.meta={name:"setUserSelectedOrgObjectMappingsByOrgId",key:"createActionSetUserSelectedOrgObjectMappingsByOrgId",description:"Set user org object mappings"};let es=(0,n.Ay)("Reset state of notifications list");es.meta={name:"resetNotificationsList",key:"createActionResetNotificationsList",description:"Reset state of notifications list"};let el=(0,n.Ay)("Set notifications status to `error` and set error type");el.meta={name:"setFetchNotificationsListError",key:"createActionSetFetchNotificationsListError",description:"Set notifications status to `error` and set error type"};let ec=(0,n.Ay)("Set notifications status to `fetching`");ec.meta={name:"setFetchNotificationsListFetching",key:"createActionSetFetchNotificationsListFetching",description:"Set notifications status to `fetching`"};let ed=(0,n.Ay)("Set notifications status to `success` and append items");ed.meta={name:"setFetchNotificationsListSuccess",key:"createActionSetFetchNotificationsListSuccess",description:"Set notifications status to `success` and append items"};let eu=(0,n.Ay)("Replace body of an existing notification");eu.meta={name:"updateNotificationBody",key:"createActionUpdateNotificationBody",description:"Replace body of an existing notification"};let em=(0,n.Ay)("Set flag to indicate this is a Sales Admin that is missing access to the set up Salesforce org(s)");em.meta={name:"setIsSalesAdminWithoutAccess",key:"createActionSetIsSalesAdminWithoutAccess",description:"Set flag to indicate this is a Sales Admin that is missing access to the set up Salesforce org(s)"}},0x75bb5a7b:(e,t,a)=>{"use strict";a.d(t,{$P:()=>f,Al:()=>E,Az:()=>Q,BX:()=>_,Cl:()=>J,Df:()=>H,G0:()=>D,GD:()=>x,H_:()=>I,I6:()=>y,PM:()=>g,Q1:()=>F,R5:()=>N,Rq:()=>V,SQ:()=>M,T1:()=>m,U2:()=>Y,V4:()=>O,Wd:()=>L,X9:()=>C,Yr:()=>Z,a6:()=>$,ab:()=>R,cx:()=>X,e2:()=>w,eZ:()=>p,ek:()=>h,k6:()=>A,kV:()=>b,kp:()=>v,lU:()=>ee,ox:()=>W,pQ:()=>S,pY:()=>G,qO:()=>u});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0x2bc7fdd5),o=a(0x18a03595d),s=a(0x1cf0d97e1),l=a(0x1d104c491);let c=(0,s.Ay)(e=>e.modernSelling.salesBulkGrid);c.meta={name:"getSalesBulkGridState",key:"createSelectorGetSalesBulkGridState",description:e=>e.modernSelling.salesBulkGrid};let d=(0,n.Mz)([c,(e,t)=>t],(e,t)=>e?.[t]||r.t0),u=(0,n.Mz)(d,e=>e?.listViewLabel||""),m=(0,n.Mz)(d,e=>e?.listViewObjectType||""),f=(0,n.Mz)(d,e=>e.listViewObjectLabel||""),_=(0,n.Mz)(d,e=>e.listViewObjectLabelPlural||""),p=(0,n.Mz)(d,e=>e.externalUrl),h=(0,n.Mz)(d,e=>e?.listVariant||l.et.SalesforceList),g=(0,n.Mz)(d,e=>e?.salesforceOrgId||""),A=(0,n.Mz)(d,e=>void 0!==e?.records),b=(0,n.Mz)(d,e=>e?.records||r.t0),y=(0,n.Mz)([(e,{listViewId:t})=>d(e,t),(e,{recordId:t})=>t],(e,t)=>e?.records?.[t]||r.t0),S=(0,n.Mz)(y,e=>e?.url?.value||""),E=(0,n.Mz)(d,e=>e?.otherRecordTypeIds||r.Ml),k=(0,n.Mz)(d,e=>e?.lastFetchDate||null),T=(0,n.Mz)(d,e=>e?.lastUpdateDates),I=(0,n.Mz)(d,e=>!!e?.createable),w=(0,n.Mz)(d,e=>e?.parentFieldApiName||""),C=(0,s.Ay)((e,{compositeListId:t,recordId:a})=>{let n=T(e,t),r=k(e,t);return n?.[a]||r||""});C.meta={name:"getLastFetchOrUpdateDate",key:"createSelectorGetLastFetchOrUpdateDate",description:(e,{compositeListId:t,recordId:a})=>{let n=T(e,t),r=k(e,t);return n?.[a]||r||""}};let v=(0,n.Mz)(d,e=>e?.readOnlyColumnIds||r.Ml),x=(0,n.Mz)(d,e=>e?.displayColumns||r.Ml),R=(0,n.Mz)(d,e=>(e?.displayColumns?.length??0)>0),O=(0,n.Mz)(x,e=>e.map(e=>e.field_api_name)),N=(0,n.Mz)(d,e=>!!e?.isFetchingBulkRecords),D=(0,n.Mz)(d,e=>e?.lastSyncedTime||null),L=(0,n.Mz)(d,e=>e?.fetchRecordError),M=(0,n.Mz)(d,e=>e?.updateRecordErrors||r.t0),F=(0,n.Mz)(d,e=>e?.activeRecord||null),P=(0,n.Mz)(F,e=>e?.recordId||""),U=(0,n.Mz)(F,e=>e?.rowState===i.H.Saving),B=(0,n.Mz)(d,e=>e.recordsToSave),G=(0,n.Mz)(B,e=>!!e?.length),H=(0,n.Mz)(B,e=>e?.[0]),W=(0,n.Mz)(d,e=>e.editedRecords),V=(0,n.Mz)(M,U,B,(e,t,a)=>{if(t)return!0;let n=a?.length;return!!n&&!!(n-Object.keys(e).length)}),j=(0,s.Ay)((e,{listViewId:t,recordId:a})=>{let n=y(e,{recordId:a||P(e,t),listViewId:t});return n?.RecordTypeId?.value||o.we});j.meta={name:"getRecordTypeId",key:"createSelectorGetRecordTypeId",description:(e,{listViewId:t,recordId:a})=>{let n=y(e,{recordId:a||P(e,t),listViewId:t});return n?.RecordTypeId?.value||o.we}};let K=(0,n.Mz)(d,e=>e?.picklists),q=(0,n.Mz)([(e,{listViewId:t})=>K(e,t),j],(e,t)=>e?.[t]||r.t0),z=(0,n.Mz)([q,(e,{columnKey:t})=>t],(e,t)=>e?.[t]||r.t0),$=(0,n.Mz)(z,e=>e?.values||r.Ml),Y=(0,n.Mz)(d,e=>e?.hasOver2kRecords||!1),Q=(0,n.Mz)(d,e=>e?.refinementConfig?.[0]),Z=(0,n.Mz)(d,e=>e?.hasEditsInPlace||!1),J=(0,n.Mz)(d,e=>e?.gridRowsSnapshot||r.Ml),X=(0,n.Mz)(d,e=>e?.recordIdsWithLimitedAccessChannels||[]),ee=(0,n.Mz)(d,e=>e?.isOwnerTransferable||!1)},0x1c1c45c18:(e,t,a)=>{"use strict";a.d(t,{KL:()=>p,KT:()=>o,Sb:()=>d,TO:()=>i,WV:()=>u,Wv:()=>r,_X:()=>h,a4:()=>f,cQ:()=>c,hA:()=>s,jA:()=>m,vq:()=>_,wN:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Set current list view browser object option");r.meta={name:"setListViewActiveObjectOption",key:"createActionSetListViewActiveObjectOption",description:"Set current list view browser object option"};let i=(0,n.Ay)("Upsert list views keyed by list view id based on search results");i.meta={name:"upsertListViewSearchResults",key:"createActionUpsertListViewSearchResults",description:"Upsert list views keyed by list view id based on search results"};let o=(0,n.Ay)("Upsert list view mapping keyed by org and object type");o.meta={name:"upsertListViewIdSearchResultsMap",key:"createActionUpsertListViewIdSearchResultsMap",description:"Upsert list view mapping keyed by org and object type"};let s=(0,n.Ay)("Set currently active full search list view ids for the list view browser");s.meta={name:"setListViewActiveSearchResultIds",key:"createActionSetListViewActiveSearchResultIds",description:"Set currently active full search list view ids for the list view browser"};let l=(0,n.Ay)("Set currently active full search query for the list view browser");l.meta={name:"setListViewActiveSearchQuery",key:"createActionSetListViewActiveSearchQuery",description:"Set currently active full search query for the list view browser"};let c=(0,n.Ay)("Reset active list views search results");c.meta={name:"resetListViewsActiveSearchResults",key:"createActionResetListViewsActiveSearchResults",description:"Reset active list views search results"};let d=(0,n.Ay)("Set list view recommendations for a Salesforce org");d.meta={name:"setListViewRecommendations",key:"createActionSetListViewRecommendations",description:"Set list view recommendations for a Salesforce org"};let u=(0,n.Ay)("Set object data for a list view recommendation");u.meta={name:"setListViewRecommendationObjectData",key:"createActionSetListViewRecommendationObjectData",description:"Set object data for a list view recommendation"};let m=(0,n.Ay)("Set whether list view recs are collapsed or expanded");m.meta={name:"setListViewRecommendationsCollapsed",key:"createActionSetListViewRecommendationsCollapsed",description:"Set whether list view recs are collapsed or expanded"};let f=(0,n.Ay)("Set a list of admin suggested list views for the sidebar");f.meta={name:"setAdminSuggestedListViewsForSidebar",key:"createActionSetAdminSuggestedListViewsForSidebar",description:"Set a list of admin suggested list views for the sidebar"};let _=(0,n.Ay)("Marks admin suggested list views for sidebar as fresh");_.meta={name:"markAdminSuggestedListViewsForSidebarAsFresh",key:"createActionMarkAdminSuggestedListViewsForSidebarAsFresh",description:"Marks admin suggested list views for sidebar as fresh"};let p=(0,n.Ay)("Marks admin suggested list views for sidebar as stale");p.meta={name:"markAdminSuggestedListViewsForSidebarAsStale",key:"createActionMarkAdminSuggestedListViewsForSidebarAsStale",description:"Marks admin suggested list views for sidebar as stale"};let h=(0,n.Ay)("Set selected explorer row\u2018s list view id and type in a picker");h.meta={name:"setSelectedExplorerRowListViewInfo",key:"createActionSetSelectedExplorerRowListViewInfo",description:"Set selected explorer row\u2018s list view id and type in a picker"}},0x2fd935d8:(e,t,a)=>{"use strict";a.d(t,{R:()=>r});var n=a(0x21c57995);let r=(0,a(0x11c82607b).Ay)("Search SalesForce objects by query",(e,t,a)=>e((0,n.K)(a)).then(e=>{let{records:t,...n}=e;return{records:t?t.map(t=>{let n=a.sobjects?.find(e=>e.sobjectApiName===t.type)?.fields?.[0],r=e.object_scope?.find(e=>e.id===t.type),i=r?.label,o=r?.label_plural;return{key:t.id,label:t.name||t.additional_fields?.[`${n}`]||`Salesforce ${t.type}`,value:t.id,type:t.type,objectLabel:i||"",objectLabelPlural:o||"",extras:t.additional_fields,url:t.url}}):[],...n}}));r.meta={name:"searchObjects",key:"createThunkSearchObjects",description:"Search SalesForce objects by query"}},0x1c8beab7f:(e,t,a)=>{"use strict";a.d(t,{cA:()=>F,o6:()=>P,wo:()=>U,Y:()=>x,i$:()=>R,CE:()=>O,J3:()=>eu,Ey:()=>B,e$:()=>H,rg:()=>G,sS:()=>W,Tt:()=>_,uJ:()=>m,MH:()=>p,xV:()=>eO,c:()=>eU,Ik:()=>eP,dH:()=>ep,lW:()=>eg,_N:()=>eh,Lm:()=>C,yp:()=>k,qA:()=>S,UU:()=>eN,UY:()=>E,SD:()=>eB,G4:()=>eR,Gg:()=>em,jg:()=>ex,uS:()=>v,D$:()=>eF,vK:()=>eT,iN:()=>eL,ZQ:()=>ew,cw:()=>eD,hV:()=>ev,fT:()=>L,C6:()=>eA,RC:()=>eE,tx:()=>eI,vV:()=>eM,Wy:()=>D,oL:()=>N,mR:()=>ek,rm:()=>y,EH:()=>h,gE:()=>A,dl:()=>I,CP:()=>w,C1:()=>T,DY:()=>b,O7:()=>z,T8:()=>$,oG:()=>Y,bi:()=>q,Om:()=>X,gr:()=>ee,Kr:()=>j,Ss:()=>K,Gq:()=>V,KY:()=>Z,k:()=>J,yj:()=>Q,C_:()=>ea,fY:()=>et,aV:()=>en,P_:()=>e_,Lz:()=>ef,Vp:()=>el,tV:()=>es,$r:()=>eS,H2:()=>ey,cc:()=>eo,iy:()=>eb,lC:()=>ed});var n=a(0x13815c0d1),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0xe10c040f),s=a(0x1f9d49863),l=a(0x100003af0);let getSelectedOrg=(e,t)=>t?e.find(({salesforce_org_id:e})=>e===t):null;var c=a(0x1cf0d97e1),d=a(0x1d104c491),u=a(0x2098e8d84);let m=(0,c.Ay)(e=>e.modernSelling?.adminWorkflowView);m.meta={name:"getAdminWorkflowView",key:"createSelectorGetAdminWorkflowView",description:e=>e.modernSelling?.adminWorkflowView};let f=(0,c.Ay)(e=>e.modernSelling?.adminWorkflowId);f.meta={name:"getAdminWorkflowId",key:"createSelectorGetAdminWorkflowId",description:e=>e.modernSelling?.adminWorkflowId};let _=(0,c.Ay)(e=>e.modernSelling?.adminWorkflowInitEditPayload);_.meta={name:"getAdminWorkflowInitEditPayload",key:"createSelectorGetAdminWorkflowInitEditPayload",description:e=>e.modernSelling?.adminWorkflowInitEditPayload};let p=(0,c.Ay)(e=>e.modernSelling?.adminWorkflowViewSalesforceOrgId);p.meta={name:"getAdminWorkflowViewSalesforceOrgId",key:"createSelectorGetAdminWorkflowViewSalesforceOrgId",description:e=>e.modernSelling?.adminWorkflowViewSalesforceOrgId};let h=(0,c.Ay)(e=>e.modernSelling?.userWorkflowView);h.meta={name:"getUserWorkflowView",key:"createSelectorGetUserWorkflowView",description:e=>e.modernSelling?.userWorkflowView};let g=(0,c.Ay)(e=>e.modernSelling?.userWorkflowId);g.meta={name:"getUserWorkflowId",key:"createSelectorGetUserWorkflowId",description:e=>e.modernSelling?.userWorkflowId};let A=(0,c.Ay)(e=>e.modernSelling?.userWorkflowViewSalesforceOrgId);A.meta={name:"getUserWorkflowViewSalesforceOrgId",key:"createSelectorGetUserWorkflowViewSalesforceOrgId",description:e=>e.modernSelling?.userWorkflowViewSalesforceOrgId};let b=(0,c.Ay)((e,t)=>t?f(e):g(e));b.meta={name:"getWorkflowId",key:"createSelectorGetWorkflowId",description:(e,t)=>t?f(e):g(e)};let y=(0,c.Ay)(e=>e.modernSelling?.userWorkflowInitEditPayload);y.meta={name:"getUserWorkflowInitEditPayload",key:"createSelectorGetUserWorkflowInitEditPayload",description:e=>e.modernSelling?.userWorkflowInitEditPayload};let S=(0,c.Ay)(e=>e.modernSelling?.isLoadingAdminWorkflowView);S.meta={name:"getIsLoadingAdminWorkflowView",key:"createSelectorGetIsLoadingAdminWorkflowView",description:e=>e.modernSelling?.isLoadingAdminWorkflowView};let E=(0,c.Ay)(e=>e.modernSelling?.isLoadingUserWorkflowView);E.meta={name:"getIsLoadingUserWorkflowView",key:"createSelectorGetIsLoadingUserWorkflowView",description:e=>e.modernSelling?.isLoadingUserWorkflowView};let k=(0,c.Ay)(e=>e.modernSelling?.datasourceObjects);k.meta={name:"getDatasourceObjects",key:"createSelectorGetDatasourceObjects",description:e=>e.modernSelling?.datasourceObjects},(0,c.Ay)(e=>e.modernSelling?.workflowForms).meta={name:"getWorkflowForms",key:"createSelectorGetWorkflowForms",description:e=>e.modernSelling?.workflowForms},(0,c.Ay)((e,t)=>e.modernSelling?.workflowForms?.[t]||null).meta={name:"getWorkflowForm",key:"createSelectorGetWorkflowForm",description:(e,t)=>e.modernSelling?.workflowForms?.[t]||null};let T=(0,c.Ay)((e,t)=>e.modernSelling?.workflowForms?.[t]?.values||null);T.meta={name:"getWorkflowFormValues",key:"createSelectorGetWorkflowFormValues",description:(e,t)=>e.modernSelling?.workflowForms?.[t]?.values||null};let I=(0,c.Ay)((e,t)=>e.modernSelling?.workflowForms?.[t]?.errors||null);I.meta={name:"getWorkflowFormErrors",key:"createSelectorGetWorkflowFormErrors",description:(e,t)=>e.modernSelling?.workflowForms?.[t]?.errors||null};let w=(0,c.Ay)((e,t)=>e.modernSelling?.workflowForms?.[t]?.formSubmitError||null);w.meta={name:"getWorkflowFormSubmitError",key:"createSelectorGetWorkflowFormSubmitError",description:(e,t)=>e.modernSelling?.workflowForms?.[t]?.formSubmitError||null};let C=(0,c.Ay)(e=>e.modernSelling?.datasourceInfo);C.meta={name:"getDatasourceInfoExtended",key:"createSelectorGetDatasourceInfoExtended",description:e=>e.modernSelling?.datasourceInfo};let v=(0,c.Ay)((e,t)=>e.modernSelling.notificationPrefsBySalesforceOrgId[t]);v.meta={name:"getNotificationPrefsForSalesforceOrg",key:"createSelectorGetNotificationPrefsForSalesforceOrg",description:(e,t)=>e.modernSelling.notificationPrefsBySalesforceOrgId[t]};let x=(0,c.Ay)((e,t)=>e.modernSelling?.adminSelectedOrgObjectMappingsInDatasourceSchema?.find(e=>e.target_identifier===(0,n.A)(t.toString())));x.meta={name:"getAdminOrgSchemaPrefForObjectType",key:"createSelectorGetAdminOrgSchemaPrefForObjectType",description:(e,t)=>e.modernSelling?.adminSelectedOrgObjectMappingsInDatasourceSchema?.find(e=>e.target_identifier===(0,n.A)(t.toString()))};let R=(0,c.Ay)(e=>x(e,d.hd.Opportunity));R.meta={name:"getAdminOrgSchemaPrefForOpportunity",key:"createSelectorGetAdminOrgSchemaPrefForOpportunity",description:e=>x(e,d.hd.Opportunity)};let O=(0,c.Ay)(e=>{let t=R(e),a=t?.field_mappings.find(e=>"stage"===e.target);return a?.source.values?.stage_closed});O.meta={name:"getAdminOrgSchemaStageForClosedValues",key:"createSelectorGetAdminOrgSchemaStageForClosedValues",description:e=>{let t=R(e),a=t?.field_mappings.find(e=>"stage"===e.target);return a?.source.values?.stage_closed}};let N=(0,c.Ay)((e,t)=>e.modernSelling?.selectedDefaultOrgObjectMappingsInDatasourceSchema?.find(e=>e.target_identifier===(0,n.A)(t.toString())));N.meta={name:"getUserOrgSchemaPrefForObjectType",key:"createSelectorGetUserOrgSchemaPrefForObjectType",description:(e,t)=>e.modernSelling?.selectedDefaultOrgObjectMappingsInDatasourceSchema?.find(e=>e.target_identifier===(0,n.A)(t.toString()))};let D=(0,c.Ay)((e,t)=>N(e,t)?.source?.sfdc_object_identifier);D.meta={name:"getUserOrgObjectIdentifierByObjectType",key:"createSelectorGetUserOrgObjectIdentifierByObjectType",description:(e,t)=>N(e,t)?.source?.sfdc_object_identifier};let L=(0,c.Ay)(e=>!!e.modernSelling?.shouldShowOnboardingOpptyCoachmark);L.meta={name:"getShouldShowOnboardingOpptyCoachmark",key:"createSelectorGetShouldShowOnboardingOpptyCoachmark",description:e=>!!e.modernSelling?.shouldShowOnboardingOpptyCoachmark};let M=(0,c.Ay)(e=>e.modernSelling?.activityLogFormData);M.meta={name:"getActivityLogFormData",key:"createSelectorGetActivityLogFormData",description:e=>e.modernSelling?.activityLogFormData};let F=(0,c.Ay)(e=>M(e)?.activityId);F.meta={name:"getActivityLogFormActivityId",key:"createSelectorGetActivityLogFormActivityId",description:e=>M(e)?.activityId};let P=(0,c.Ay)(e=>M(e)?.fieldData);P.meta={name:"getActivityLogFormFieldData",key:"createSelectorGetActivityLogFormFieldData",description:e=>M(e)?.fieldData};let U=(0,c.Ay)(e=>!!M(e)?.isFormDirty);U.meta={name:"getActivityLogFormIsDirty",key:"createSelectorGetActivityLogFormIsDirty",description:e=>!!M(e)?.isFormDirty};let B=(0,c.Ay)(e=>e.modernSelling?.adminSelectedSalesforceOrg);B.meta={name:"getAdminSelectedSalesforceOrg",key:"createSelectorGetAdminSelectedSalesforceOrg",description:e=>e.modernSelling?.adminSelectedSalesforceOrg};let G=(0,c.Ay)(e=>e.modernSelling?.adminSelectedSalesforceOrg?.salesforce_org_id);G.meta={name:"getAdminSelectedSalesforceOrgId",key:"createSelectorGetAdminSelectedSalesforceOrgId",description:e=>e.modernSelling?.adminSelectedSalesforceOrg?.salesforce_org_id};let H=(0,c.Ay)(e=>e.modernSelling?.adminSelectedSalesforceOrg?.datasource_id);H.meta={name:"getAdminSelectedSalesforceOrgDataSourceId",key:"createSelectorGetAdminSelectedSalesforceOrgDataSourceId",description:e=>e.modernSelling?.adminSelectedSalesforceOrg?.datasource_id};let W=(0,c.Ay)(e=>e.modernSelling?.adminSelectedSalesforceOrg?.is_elevate_org);W.meta={name:"getAdminSelectedSalesforceOrgIsNoneLegacyConnected",key:"createSelectorGetAdminSelectedSalesforceOrgIsNoneLegacyConnected",description:e=>e.modernSelling?.adminSelectedSalesforceOrg?.is_elevate_org};let V=(0,c.Ay)(e=>e.modernSelling.adminOrgList.status);V.meta={name:"selectAdminOrgListStatus",key:"createSelectorSelectAdminOrgListStatus",description:e=>e.modernSelling.adminOrgList.status};let j=(0,c.Ay)(e=>e.modernSelling.adminOrgList.data);j.meta={name:"selectAdminOrgListData",key:"createSelectorSelectAdminOrgListData",description:e=>e.modernSelling.adminOrgList.data};let K=(0,c.Ay)(e=>e.modernSelling.adminOrgList.error);K.meta={name:"selectAdminOrgListError",key:"createSelectorSelectAdminOrgListError",description:e=>e.modernSelling.adminOrgList.error};let q=(0,c.Ay)(e=>e.modernSelling.addSource.status);q.meta={name:"selectAddSourceStatus",key:"createSelectorSelectAddSourceStatus",description:e=>e.modernSelling.addSource.status};let z=(0,c.Ay)(e=>e.modernSelling.addSource.targetEnvironment);z.meta={name:"selectAddSourceEnvironment",key:"createSelectorSelectAddSourceEnvironment",description:e=>e.modernSelling.addSource.targetEnvironment};let $=(0,c.Ay)(e=>e.modernSelling.addSource.oAuthResponse);$.meta={name:"selectAddSourceOAuthResponse",key:"createSelectorSelectAddSourceOAuthResponse",description:e=>e.modernSelling.addSource.oAuthResponse};let Y=(0,c.Ay)(e=>e.modernSelling.addSource.oAuthStatus);Y.meta={name:"selectAddSourceOAuthStatus",key:"createSelectorSelectAddSourceOAuthStatus",description:e=>e.modernSelling.addSource.oAuthStatus};let Q=(0,c.Ay)(e=>e.modernSelling.createSource.status);Q.meta={name:"selectCreateSourceStatus",key:"createSelectorSelectCreateSourceStatus",description:e=>e.modernSelling.createSource.status};let Z=(0,c.Ay)(e=>e.modernSelling.createSource.data);Z.meta={name:"selectCreateSourceData",key:"createSelectorSelectCreateSourceData",description:e=>e.modernSelling.createSource.data};let J=(0,c.Ay)(e=>e.modernSelling.createSource.error);J.meta={name:"selectCreateSourceError",key:"createSelectorSelectCreateSourceError",description:e=>e.modernSelling.createSource.error};let X=(0,r.Mz)(j,e=>e.filter(({is_elevate_org:e,is_legacy_elevate_org:t,datasource_id:a})=>t?!a:!e)),ee=(0,r.Mz)(j,s.P),et=(0,c.Ay)(e=>e.modernSelling.datasources.status);et.meta={name:"selectDatasourceListStatus",key:"createSelectorSelectDatasourceListStatus",description:e=>e.modernSelling.datasources.status};let ea=(0,c.Ay)(e=>e.modernSelling.datasources.list);ea.meta={name:"selectDatasourceListData",key:"createSelectorSelectDatasourceListData",description:e=>e.modernSelling.datasources.list},(0,c.Ay)(e=>e.modernSelling.datasources.error).meta={name:"selectDatasourceListError",key:"createSelectorSelectDatasourceListError",description:e=>e.modernSelling.datasources.error};let en=(0,r.Mz)([ea,j],l.z),er=(0,c.Ay)(e=>e.modernSelling.userOrgs.status);er.meta={name:"selectUserOrgsStatus",key:"createSelectorSelectUserOrgsStatus",description:e=>e.modernSelling.userOrgs.status};let ei=(0,c.Ay)(e=>e.modernSelling.userOrgs.error);ei.meta={name:"selectUserOrgsError",key:"createSelectorSelectUserOrgsError",description:e=>e.modernSelling.userOrgs.error};let eo=(0,c.Ay)(e=>e.modernSelling.userOrgs.data);eo.meta={name:"selectUserOrgAuthListData",key:"createSelectorSelectUserOrgAuthListData",description:e=>e.modernSelling.userOrgs.data};let es=(0,r.Mz)([eo,er,ei],(e,t,a)=>e===i.Ml&&"success"===t&&null===a),el=(0,r.Mz)(eo,u.f),ec=(0,r.Mz)(eo,o.K),ed=(0,r.Mz)(eo,e=>e.filter(({auth:e})=>"none"===e)),eu=(0,c.Ay)(e=>e.modernSelling.adminSelectedOrgObjectMappings);eu.meta={name:"getAdminSelectedOrgObjectMappings",key:"createSelectorGetAdminSelectedOrgObjectMappings",description:e=>e.modernSelling.adminSelectedOrgObjectMappings};let em=(0,c.Ay)(e=>e.modernSelling.isSharedActivitiesEnabled);em.meta={name:"getIsSharedActivitiesEnabled",key:"createSelectorGetIsSharedActivitiesEnabled",description:e=>e.modernSelling.isSharedActivitiesEnabled};let ef=(0,c.Ay)(e=>e.modernSelling.disconnectOrg.status);ef.meta={name:"selectDisconnectOrgStatus",key:"createSelectorSelectDisconnectOrgStatus",description:e=>e.modernSelling.disconnectOrg.status};let e_=(0,c.Ay)(e=>e.modernSelling.disconnectOrg.error);e_.meta={name:"selectDisconnectOrgError",key:"createSelectorSelectDisconnectOrgError",description:e=>e.modernSelling.disconnectOrg.error};let ep=(0,c.Ay)(e=>e.modernSelling.compactLayoutFields);ep.meta={name:"getCompactLayoutFields",key:"createSelectorGetCompactLayoutFields",description:e=>e.modernSelling.compactLayoutFields};let eh=(0,c.Ay)(e=>e.modernSelling.currentOrgMemberIds);eh.meta={name:"getCurrentOrgMemberIds",key:"createSelectorGetCurrentOrgMemberIds",description:e=>e.modernSelling.currentOrgMemberIds};let eg=(0,c.Ay)(e=>e.modernSelling.currentOrgAdminIds);eg.meta={name:"getCurrentOrgAdminIds",key:"createSelectorGetCurrentOrgAdminIds",description:e=>e.modernSelling.currentOrgAdminIds};let eA=(0,c.Ay)(e=>e.modernSelling.totalOrgMemberCount);eA.meta={name:"getTotalOrgMemberCount",key:"createSelectorGetTotalOrgMemberCount",description:e=>e.modernSelling.totalOrgMemberCount};let eb=(0,r.Mz)([eo,(e,t)=>t],(e,t)=>e.filter(({salesforce_org_id:e})=>e===t)),ey=(0,c.Ay)(e=>e.modernSelling.salesforceOrgSetup.status);ey.meta={name:"selectSalesforceOrgSetupStatus",key:"createSelectorSelectSalesforceOrgSetupStatus",description:e=>e.modernSelling.salesforceOrgSetup.status};let eS=(0,c.Ay)(e=>e.modernSelling.salesforceOrgSetup.error);eS.meta={name:"selectSalesforceOrgSetupError",key:"createSelectorSelectSalesforceOrgSetupError",description:e=>e.modernSelling.salesforceOrgSetup.error};let eE=(0,c.Ay)(e=>e.modernSelling?.userDefaultSalesforceOrgId);eE.meta={name:"getUserDefaultSalesforceOrgId",key:"createSelectorGetUserDefaultSalesforceOrgId",description:e=>e.modernSelling?.userDefaultSalesforceOrgId};let ek=(0,c.Ay)((e,t)=>e.modernSelling.userOrgs.data.find(e=>e.salesforce_org_id===t)?.name);ek.meta={name:"getUserSelectedOrgName",key:"createSelectorGetUserSelectedOrgName",description:(e,t)=>e.modernSelling.userOrgs.data.find(e=>e.salesforce_org_id===t)?.name};let eT=(0,c.Ay)((e,t,a)=>{let n=e.modernSelling.userOrgs.data.find(e=>e.salesforce_org_id===t)?.instance_url;return n&&a?`${n}/${a}`:""});eT.meta={name:"getRecordUrl",key:"createSelectorGetRecordUrl",description:(e,t,a)=>{let n=e.modernSelling.userOrgs.data.find(e=>e.salesforce_org_id===t)?.instance_url;return n&&a?`${n}/${a}`:""}};let eI=(0,r.Mz)(ec,e=>e.length>1),ew=(0,r.Mz)(eo,eE,getSelectedOrg),eC=(0,c.Ay)(e=>e.modernSelling.sfdcUserInfo);eC.meta={name:"getSfdcUserInfo",key:"createSelectorGetSfdcUserInfo",description:e=>e.modernSelling.sfdcUserInfo};let ev=(0,r.Mz)([eC,(e,t)=>t],(e,t)=>{if(!e)return;let a=t||Object.keys(e)[0];if(a)return e[a]}),ex=(0,r.Mz)([ev,(e,t)=>t],e=>e?.isSharedActivitiesEnabled),eR=(0,r.Mz)([ev,(e,t)=>t],e=>e?.isAdmin??!1),eO=(0,r.Mz)([ev,(e,t)=>t],e=>e?.canCustomizeApplication??!1);(0,c.Ay)(e=>e.modernSelling.salesHomePageScreen).meta={name:"selectSalesHomePageScreen",key:"createSelectorSelectSalesHomePageScreen",description:e=>e.modernSelling.salesHomePageScreen};let eN=(0,c.Ay)(e=>e.modernSelling.isLoadingUserObjectMappings);eN.meta={name:"getIsLoadingUserObjectMappings",key:"createSelectorGetIsLoadingUserObjectMappings",description:e=>e.modernSelling.isLoadingUserObjectMappings};let eD=(0,r.Mz)(eo,A,getSelectedOrg),eL=(0,r.Mz)(j,p,getSelectedOrg),eM=(0,c.Ay)((e,t,a)=>{if(a)return e.modernSelling?.userSelectedOrgObjectMappingsInDatasourceSchemaByOrgId?.[a]?.find(e=>e.target_identifier===(0,n.A)(t.toString()))});eM.meta={name:"getUserObjectMappingByOrgId",key:"createSelectorGetUserObjectMappingByOrgId",description:(e,t,a)=>{if(a)return e.modernSelling?.userSelectedOrgObjectMappingsInDatasourceSchemaByOrgId?.[a]?.find(e=>e.target_identifier===(0,n.A)(t.toString()))}};let eF=(0,c.Ay)(e=>e.modernSelling.notificationsList);eF.meta={name:"getNotificationsList",key:"createSelectorGetNotificationsList",description:e=>e.modernSelling.notificationsList};let eP=(0,c.Ay)(e=>e.modernSelling.dealWinCelebrationConfigEnabled);eP.meta={name:"getCelebrationToggleState",key:"createSelectorGetCelebrationToggleState",description:e=>e.modernSelling.dealWinCelebrationConfigEnabled};let eU=(0,c.Ay)(e=>e.modernSelling.dealWinCelebrationFieldMappingUpdated);eU.meta={name:"getCelebrationFieldMappingUpdated",key:"createSelectorGetCelebrationFieldMappingUpdated",description:e=>e.modernSelling.dealWinCelebrationFieldMappingUpdated};let eB=(0,c.Ay)(e=>e.modernSelling.isSalesAdminWithoutAccess);eB.meta={name:"getIsSalesAdminWithoutAccess",key:"createSelectorGetIsSalesAdminWithoutAccess",description:e=>e.modernSelling.isSalesAdminWithoutAccess}},0xa49ba833:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r});var n=a(0x1dc39a002);let r=(0,a(0x11c82607b).Ay)("Fetches list of available objects for the current datasource",async(e,t,{salesforceOrgId:a})=>{let r=await e((0,n.s)({salesforceOrgId:a,reason:"sales-home-salesforce-orgs-get-admin-config",keys:["activity_tracked_objects"]}));return r.org_configs&&r.org_configs.length?r.org_configs[0]?.object_mappings:{}});r.meta={name:"fetchDatasourceObjectsListByOrgId",key:"createThunkFetchDatasourceObjectsListByOrgId",description:"Fetches list of available objects for the current datasource"}},0xbd196b81:(e,t,a)=>{"use strict";a.d(t,{T:()=>d});var n=a(0x1fa448c83),r=a(0x9587e59a),i=a(0x11c82607b),o=a(0x16b708a7f),s=a(0x1c8beab7f),l=a(0xa49ba833),c=a(0xa43abd4a);let d=(0,i.Ay)("Sets selected datasource to an org",async(e,t,{salesforceOrgId:a,setDefaultInApi:i=!0})=>{if(e((0,r.x)()),i&&a&&e((0,n.I)({reason:"modern-selling",salesforceOrgId:a})).then(({user_info:t})=>{e((0,o.kh)({sfdcOrgId:t.salesforce_org_id,sfdcUserInfoObj:{currency:t.currency,isSharedActivitiesEnabled:t.is_shared_activities_enabled}}))}),e((0,c.LS)(a)),e((0,o.jf)(a)),(0,s.ZQ)(t())?.datasource_id&&a){let t=await e((0,l.Y)({salesforceOrgId:a}));e((0,o.UF)(t))}});d.meta={name:"setDefaultSalesforceOrg",key:"createThunkSetDefaultSalesforceOrg",description:"Sets selected datasource to an org"}},0x1d104c491:(e,t,a)=>{"use strict";a.d(t,{$4:()=>A,Dj:()=>N,Ix:()=>s,Jd:()=>T,Lb:()=>r,Ns:()=>i,Oz:()=>E,QO:()=>k,Us:()=>S,YB:()=>n,_Y:()=>w,bc:()=>I,es:()=>x,et:()=>D,g$:()=>v,gI:()=>y,hd:()=>o,oE:()=>R,rI:()=>b,u3:()=>O,yP:()=>C});let n={adminAmountChanged:"adminAmountChanged",adminCloseDateChanged:"adminCloseDateChanged",adminDealWon:"adminDealWon",adminForecastReminder:"adminForecastReminder",adminNewOpportunityAlert:"adminNewOpportunityAlert",adminStageChanged:"adminStageChanged",adminSelectNotificationType:"adminSelectNotificationType",adminMissingFields:"adminMissingFields",adminOutdatedFields:"adminOutdatedFields",adminClosingSoonAlert:"adminClosingSoonAlert",adminPastCloseDateAlert:"adminPastCloseDateAlert",adminDealWinCelebration:"adminDealWinCelebration"},r={...n,userAmountChanged:"userAmountChanged",userCloseDateChanged:"userCloseDateChanged",userDealWon:"userDealWon",userForecastReminder:"userForecastReminder",userNewOpportunityAlert:"userNewOpportunityAlert",userStageChanged:"userStageChanged",userSelectNotificationType:"userSelectNotificationType"},i={daily:"daily",weekdays:"weekdays",weekly:"weekly",monthly:"monthly",once:"once",hourly:"hourly",yearly:"yearly"},o={Opportunity:"opportunity",Account:"account"},s={AccountId:"account_id",Amount:"amount",CloseDate:"close_date",Name:"name",NextSteps:"next_steps",OwnerId:"owner_id",Stage:"stage"};var l,c,d,u,m,f,_,p,h,g,A=((l={}).ALL_CHANNELS="all_channels",l.PRIVATE_CHANNELS_ONLY="private_channels_only",l.NO_CHANNELS="no_channels",l);let b={Production:"salesforce",Sandbox:"salesforce_sandbox"},y={BooleanSchemaField:"BooleanSchemaField",CurrencySchemaField:"CurrencySchemaField",DateSchemaField:"DateSchemaField",DateTimeSchemaField:"DateTimeSchemaField",DoubleSchemaField:"DoubleSchemaField",EmailSchemaField:"EmailSchemaField",LongSchemaField:"LongSchemaField",ReferenceSchemaField:"ReferenceSchemaField",SelectSchemaField:"SelectSchemaField",StringSchemaField:"StringSchemaField",UnknownSchemaField:"UnknownSchemaField",URLSchemaField:"URLSchemaField"},S={Any:"any",Increase:"increase",Decrease:"decrease"},E={Channel:"channel",SalesHome:"sales_home",Profile:"profile"};var k=((c={}).AccountsOwnedByMe="account_owner",c.AccountOwnedByReportChain="account_report_chain",c.All="all",c.MatchCriteria="criteria",c.OwnedByDirectReports="direct_reports",c.OwnedByMe="owner",c.OwnedByReportChain="report_chain",c.SpecificAccount="account",c.SpecificOpportunity="opportunity",c),T=((d={}).Any="any",d.AccountOwnedByMe="account_owner",d.AccountOwnedByReportChain="account_report_chain",d.OpportunityOwnedByAnyoneInReportChain="report_chain",d.OpportunityOwnedByDirectReports="direct_reports",d.OpportunityOwnedByMe="owner",d),I=((u={}).Any="any",u.General="general",u.DirectOwner="direct_owner",u.ManagerOrLeader="manager_or_leader",u),w=((m={}).Owner="owner",m.AccountOwner="account_owner",m.ManagerChain="manager_chain",m.AccountManagerChain="account_manager_chain",m.OwnerManager="owner_manager",m.AccountOwnerManager="account_owner_manager",m.User="user",m),C=((f={}).Match="match",f.Specific="specific",f),v=((_={}).AdminReminder="admin-reminder",_.AdminOpportunityChanged="admin-opportunity-changed",_.UserReminder="user-reminder",_.UserOpportunityChanged="user-opportunity-changed",_.AdminOutdatedFields="admin-outdated-fields",_.AdminClosingSoon="admin-closing-soon",_.AdminMissingFields="admin-missing-fields",_.AdminPastCloseDate="admin-past-close-date",_),x=((p={}).TO_ANOTHER="to_another",p.TO_FUTURE="to_future",p.TO_EARLIER="to_earlier",p),R=((h={}).DAYS="DaysTimePeriod",h.MONTHS="MonthsTimePeriod",h.FISCAL_QUARTER="FiscalQuarterTimePeriod",h.FISCAL_YEAR="FiscalYearTimePeriod",h);let O={[r.adminAmountChanged]:r.adminAmountChanged,[r.adminCloseDateChanged]:r.adminCloseDateChanged,[r.adminDealWon]:r.adminDealWon,[r.adminNewOpportunityAlert]:r.adminNewOpportunityAlert,[r.adminStageChanged]:r.adminStageChanged,[r.adminDealWinCelebration]:r.adminDealWinCelebration};r.userAmountChanged,r.userAmountChanged,r.userCloseDateChanged,r.userCloseDateChanged,r.userDealWon,r.userDealWon,r.userNewOpportunityAlert,r.userNewOpportunityAlert,r.userStageChanged,r.userStageChanged;let N={Opportunity:"Opportunity",Account:"Account",Case:"Case",Lead:"Lead",Contact:"Contact"};var D=((g={}).SalesforceList="salesforceList",g.SalesforceRelatedList="salesforceRelatedList",g)},0x2098e8d84:(e,t,a)=>{"use strict";a.d(t,{f:()=>getIsUserAuthorized});let getIsUserAuthorized=e=>e?.length?e.some(({auth:e})=>"ok"===e||"error"===e):null},0x1393a0ef7:(e,t,a)=>{"use strict";a.d(t,{S:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.networkAcquisition?.teamAcquisitionSource);n.meta={name:"getTeamAcquisitionSource",key:"createSelectorGetTeamAcquisitionSource",description:e=>e?.networkAcquisition?.teamAcquisitionSource}},0x1126a6f80:(e,t,a)=>{"use strict";a.d(t,{Uv:()=>r,g_:()=>s,mR:()=>o,t$:()=>l,uM:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Set one or multiple onboarding data");r.meta={name:"setOnboardingDataRedux",key:"createActionSetOnboardingDataRedux",description:"Set one or multiple onboarding data"};let i=(0,n.Ay)("Set the onboarding channel ID");i.meta={name:"setOnboardingChannelId",key:"createActionSetOnboardingChannelId",description:"Set the onboarding channel ID"};let o=(0,n.Ay)("Set the visibility of Tractor coachmark for sending a message");o.meta={name:"setTractorMessageCoachmarkVisible",key:"createActionSetTractorMessageCoachmarkVisible",description:"Set the visibility of Tractor coachmark for sending a message"};let s=(0,n.Ay)("Set the visibility of Tractor coachmark for sharing a file");s.meta={name:"setTractorFilesCoachmarkVisible",key:"createActionSetTractorFilesCoachmarkVisible",description:"Set the visibility of Tractor coachmark for sharing a file"};let l=(0,n.Ay)("Set whether user has sent invite during team creation for determining champion channel foreword experiment");l.meta={name:"setHasSentInviteDuringTeamCreation",key:"createActionSetHasSentInviteDuringTeamCreation",description:"Set whether user has sent invite during team creation for determining champion channel foreword experiment"}},0x1f5ddf6f2:(e,t,a)=>{"use strict";a.d(t,{$e:()=>i,OF:()=>n});let n="creator_guided_setup";var r,i=((r={})[r.Disabled=0]="Disabled",r[r.Enabled=1]="Enabled",r[r.Redeemed=2]="Redeemed",r)},0x1defa8f11:(e,t,a)=>{"use strict";a.d(t,{a4:()=>r,ax:()=>o,oL:()=>i});var n=a(0x1cf0d97e1);(0,n.Ay)(e=>e?.onboarding?.onboardingChannelId).meta={name:"getOnboardingChannelId",key:"createSelectorGetOnboardingChannelId",description:e=>e?.onboarding?.onboardingChannelId};let r=(0,n.Ay)(e=>e?.onboarding?.tractorMessageCoachmarkVisible);r.meta={name:"getTractorMessageCoachmarkVisibility",key:"createSelectorGetTractorMessageCoachmarkVisibility",description:e=>e?.onboarding?.tractorMessageCoachmarkVisible};let i=(0,n.Ay)(e=>e?.onboarding?.tractorFilesCoachmarkVisible);i.meta={name:"getTractorFilesCoachmarkVisibility",key:"createSelectorGetTractorFilesCoachmarkVisibility",description:e=>e?.onboarding?.tractorFilesCoachmarkVisible};let o=(0,n.Ay)((e,t)=>e?.onboarding?.[t]);o.meta={name:"getOnboardingData",key:"createSelectorGetOnboardingData",description:(e,t)=>e?.onboarding?.[t]}},0x1d5d5f0d2:(e,t,a)=>{"use strict";a.d(t,{O:()=>l});var n=a(0xdf55e8f3),r=a(0x1f5ddf6f2),i=a(0x1defa8f11);let o={has_sent_channel_invitations:!1,should_show_creator_guided_setup:!1,should_show_list_coachmark:!1,trial_redemption_status:r.$e.Disabled},s=Object.values(r.$e).filter(e=>"number"==typeof e),l=(0,n.eI)(e=>{let t,a=(0,i.ax)(e,r.OF);if("string"!=typeof a)return o;try{t=JSON.parse(a)}catch{return o}return{has_sent_channel_invitations:"has_sent_channel_invitations"in t&&"boolean"==typeof t.has_sent_channel_invitations?t.has_sent_channel_invitations:o.has_sent_channel_invitations,should_show_creator_guided_setup:"should_show_creator_guided_setup"in t&&"boolean"==typeof t.should_show_creator_guided_setup?t.should_show_creator_guided_setup:o.should_show_creator_guided_setup,should_show_list_coachmark:"should_show_list_coachmark"in t&&"boolean"==typeof t.should_show_list_coachmark?t.should_show_list_coachmark:o.should_show_list_coachmark,trial_redemption_status:"trial_redemption_status"in t&&s.includes(t.trial_redemption_status)?t.trial_redemption_status:o.trial_redemption_status}})},0x21a48b7c8:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(0x1cf0d97e1),r=a(0x1d5d5f0d2);let i=(0,n.Ay)(e=>(0,r.O)(e).trial_redemption_status);i.meta={name:"getCreatorGuidedSetupTrialRedemptionStatus",key:"createSelectorGetCreatorGuidedSetupTrialRedemptionStatus",description:e=>(0,r.O)(e).trial_redemption_status}},0x1624919a:(e,t,a)=>{"use strict";a.d(t,{S:()=>o});var n=a(0x723c7f7a),r=a(0x11c82607b),i=a(0x1126a6f80);let o=(0,r.Ay)("Update a user's onboarding data locally and via API",async(e,t,{pref:a,value:r,reason:o=""})=>(e((0,i.Uv)({[a]:r})),e((0,n.x)({field_name:a,field_value:`${r}`,reason:o||a}))));o.meta={name:"setOnboardingData",key:"createThunkSetOnboardingData",description:"Update a user's onboarding data locally and via API"}},0x1500b5f62:(e,t,a)=>{"use strict";a.d(t,{h:()=>o});var n=a(0x17a920ed8),r=a(0x11c82607b),i=a(0x1126a6f80);let o=(0,r.Ay)("Update a teams's onboarding data locally and via API",async(e,t,{pref:a,value:r,reason:o=""})=>(e((0,i.Uv)({[a]:r})),e((0,n.N)({fieldName:a,fieldValue:`${r}`,reason:o||a}))));o.meta={name:"setOnboardingTeamData",key:"createThunkSetOnboardingTeamData",description:"Update a teams's onboarding data locally and via API"}},0x1ebac3ac1:(e,t,a)=>{"use strict";a.d(t,{K:()=>s,U:()=>o});var n=a(0x18f2150ea),r=a(0x1cf0d97e1),i=a(0x19895585a);let o=(0,r.Ay)((e,t=i.N2)=>(0,n.A)(e?.openPopoversCount?.[t])?e.openPopoversCount[t]:0);o.meta={name:"getOpenPopoversCount",key:"createSelectorGetOpenPopoversCount",description:(e,t=i.N2)=>(0,n.A)(e?.openPopoversCount?.[t])?e.openPopoversCount[t]:0};let s=(0,r.Ay)((e,t=i.N2)=>o(e,t)>0);s.meta={name:"isPopoverOpen",key:"createSelectorIsPopoverOpen",description:(e,t=i.N2)=>o(e,t)>0}},0x100313bb4:(e,t,a)=>{"use strict";a.d(t,{R:()=>i,s:()=>o});var n=a(0x1cf0d97e1),r=a(0x68cc1187);let i=(0,n.Ay)(e=>e.adminContext?.pageContext===r.N.Team);i.meta={name:"isFromTeamView",key:"createSelectorIsFromTeamView",description:e=>e.adminContext?.pageContext===r.N.Team};let o=(0,n.Ay)(e=>e.adminContext.pageContext===r.N.Org);o.meta={name:"isFromOrgView",key:"createSelectorIsFromOrgView",description:e=>e.adminContext.pageContext===r.N.Org}},0x68cc1187:(e,t,a)=>{"use strict";a.d(t,{N:()=>r});var n,r=((n={}).Team="team",n.Org="org",n)},0x1d46cf7e2:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>r,E1:()=>i,gb:()=>n});let n={ALL_MEMBERS:"all_members",FULL_MEMBERS:"full_members",ORG_OWNERS:"org_owners",ORG_ADMINS_OWNERS:"org_admins_owners",GUESTS:"guests",INVITED:"invited",ALL_NON_GUESTS:"all_non_guests",ALL_EXCEPT_INVITED:"all_except_invited",PROFILE_ONLY:"profile_only"},r={ALL_DEVICE_ACCESS:"all_device_access",MOBILE_ONLY:"mobile_only_access"},i={Internal:"internal",External:"external"}},0x14017b66d:(e,t,a)=>{"use strict";a.d(t,{Fd:()=>S,DD:()=>R,Jr:()=>O,jy:()=>N,ZQ:()=>E,bv:()=>k,Wg:()=>T,RL:()=>I,gK:()=>D,JU:()=>L,LW:()=>M,VH:()=>h,dc:()=>y,i2:()=>b,Q4:()=>A,cQ:()=>p,kc:()=>v,BJ:()=>C,Cp:()=>g,ek:()=>_,Ag:()=>f});var n=a(0x128c3200c),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0x1cf0d97e1),s=a(0x147fb8c90),l=a(0xdf55e8f3),c=a(0xe684f705),d=a(0x82980ab8);let transformOrg=({id:e,name:t,instance_url:a,connection_status:n,seamless_auth_status:r,connection_update_status:i,environment:o,auto_user_provisioning:s,slack_user_mapping_field:l,sfdc_user_mapping_field:c,record_channel_configs_count:d,datasource_status:u,elevate_migration_status:m,date_permissions_last_synced:f,is_global_login_enabled:_,is_salesforce_org_auto_provisioned:p,datasource_id:h,is_slackbot_enabled:g})=>({id:e,name:t,url:a,connectionStatus:"CONNECTED"===n&&i?"CONNECTED_LEGACY":n,connectionUpdateStatus:i||"NONE",seamlessAuthStatus:r||"NOT_ENABLED",autoUserProvisioning:s,slackUserMappingFieldName:l||"",salesforceUserMappingFieldName:c||"",environment:o,recordChannelConfigsCount:d,datasourceStatus:u,elevateMigrationStatus:m,datePermissionsLastSynced:f,isGlobalLoginEnabled:_,isSalesforceOrgAutoProvisioned:p,datasourceId:h,isSlackbotEnabled:g});var u=a(0x8b5a1568);let m=(0,o.Ay)(e=>e.salesforce.organizations);m.meta={name:"selectSalesforceOrganizationsRaw",key:"createSelectorSelectSalesforceOrganizationsRaw",description:e=>e.salesforce.organizations};let f=(0,r.Mz)(m,e=>0===e.length?i.Ml:e.map(transformOrg)),_=(0,o.Ay)((e,t)=>f(e).find(e=>e.id===t));_.meta={name:"selectSalesforceOrg",key:"createSelectorSelectSalesforceOrg",description:(e,t)=>f(e).find(e=>e.id===t)};let p=(0,r.Mz)(f,e=>e.filter(({connectionStatus:e})=>(0,u.g)(e))),h=(0,r.Mz)(f,e=>e.find(e=>e.isSalesforceOrgAutoProvisioned&&"CONNECTED"===e.connectionStatus)),g=(0,o.Ay)(e=>e.salesforce.channelConfigs);g.meta={name:"selectRecordChannelConfigs",key:"createSelectorSelectRecordChannelConfigs",description:e=>e.salesforce.channelConfigs};let A=(0,o.Ay)(e=>e.salesforce.channelConfigObjectTypes);A.meta={name:"selectChannelConfigObjectTypes",key:"createSelectorSelectChannelConfigObjectTypes",description:e=>e.salesforce.channelConfigObjectTypes};let b=(0,o.Ay)(e=>e.salesforce.channelConfigObjectTypeRelatedData);b.meta={name:"selectChannelConfigObjectTypeRelatedData",key:"createSelectorSelectChannelConfigObjectTypeRelatedData",description:e=>e.salesforce.channelConfigObjectTypeRelatedData};let y=(0,o.Ay)(e=>(0,s.G2)(e,"salesforce__access"));y.meta={name:"selectCanAccessChannelConfigs",key:"createSelectorSelectCanAccessChannelConfigs",description:e=>(0,s.G2)(e,"salesforce__access")};let S=(0,l.eI)(e=>e.salesforce.membersConfig.members.reduce((e,t)=>(e[t.user_id]=t,e),{})),E=(0,l.eI)(e=>{let{currentPage:t,limit:a,members:n,nextCursor:r}=e.salesforce.membersConfig;return{currentPage:t,limit:a,members:n,nextCursor:r}}),k=(0,o.Ay)(e=>e.salesforce.membersConfig.limit);k.meta={name:"getOrgMembersPaginationLimit",key:"createSelectorGetOrgMembersPaginationLimit",description:e=>e.salesforce.membersConfig.limit};let T=(0,o.Ay)(e=>e.salesforce.membersConfig.searchTerm);T.meta={name:"getOrgMembersSearchTerm",key:"createSelectorGetOrgMembersSearchTerm",description:e=>e.salesforce.membersConfig.searchTerm};let I=(0,o.Ay)(e=>e.salesforce.membersConfig.totalMembers);I.meta={name:"getOrgMembersTotalMembers",key:"createSelectorGetOrgMembersTotalMembers",description:e=>e.salesforce.membersConfig.totalMembers};let w=(0,l.eI)(e=>{let t=T(e),{members:a}=E(e),n=(a||[]).reduce((e,t)=>(e.set(t.user_id,t),e),new Map),r=(0,c.gA)(e,[...n.keys()]).map(e=>((e,t)=>{let a={dateCreate:t?.date_create,isAuthed:t?.is_authed||!1,authFailureReason:t?.auth_failure_reason,hasCopilotAccess:t?.has_copilot_access||!1,hasElevateAccess:t?.has_elevate_access||!1};if(e.isUnknown)return{userId:e.id,name:"-",email:"-",...a};let n=(0,d.wg)(e);return{userId:e.id,name:n||e.name,email:e.profile?.email,...a}})(e,n.get(e.id)));return t&&t.length?r.filter(e=>e.name.toLowerCase().includes(t.toLowerCase())||e.email?.toLowerCase()?.includes(t.toLowerCase())):r}),C=(0,l.eI)(e=>{let{currentPage:t,limit:a}=E(e),r=w(e);return(0,n.A)([...r],a)[t]||[]}),v=(0,l.eI)(e=>{let{error:t,status:a}=e.salesforce.membersConfig;return{error:t,status:a}}),x=25,R=(0,o.Ay)((e,t=x)=>{let a=w(e);return!a||a.length<t});R.meta={name:"getIsOrgMemberPaginationDisabled",key:"createSelectorGetIsOrgMemberPaginationDisabled",description:(e,t=x)=>{let a=w(e);return!a||a.length<t}};let O=(0,o.Ay)((e,t=x)=>{if(R(e,t))return!1;let{currentPage:a,limit:r,nextCursor:i}=E(e),o=w(e),s=(0,n.A)(o,r),l=s[s.length-1]||[];return a<s.length-1||l.length===r&&!!i});O.meta={name:"getIsThereANextOrgMemberSet",key:"createSelectorGetIsThereANextOrgMemberSet",description:(e,t=x)=>{if(R(e,t))return!1;let{currentPage:a,limit:r,nextCursor:i}=E(e),o=w(e),s=(0,n.A)(o,r),l=s[s.length-1]||[];return a<s.length-1||l.length===r&&!!i}};let N=(0,o.Ay)((e,t=x)=>{if(R(e,t))return!1;let{currentPage:a}=E(e);return a>0});N.meta={name:"getIsThereAPreviousOrgMemberSet",key:"createSelectorGetIsThereAPreviousOrgMemberSet",description:(e,t=x)=>{if(R(e,t))return!1;let{currentPage:a}=E(e);return a>0}};let D=(0,o.Ay)(e=>e.salesforce.recordUnfurlsDefaultLayout);D.meta={name:"getRecordUnfurlsDefaultLayout",key:"createSelectorGetRecordUnfurlsDefaultLayout",description:e=>e.salesforce.recordUnfurlsDefaultLayout};let L=(0,o.Ay)(e=>e.salesforce.recordUnfurlsExceptions||i.Ml);L.meta={name:"getRecordUnfurlsExceptions",key:"createSelectorGetRecordUnfurlsExceptions",description:e=>e.salesforce.recordUnfurlsExceptions||i.Ml};let M=(0,o.Ay)(e=>(0,s.G2)(e,"salesforce_multi_org__access"));M.meta={name:"hasSalesforceMultiOrgAccess",key:"createSelectorHasSalesforceMultiOrgAccess",description:e=>(0,s.G2)(e,"salesforce_multi_org__access")}},0x8b5a1568:(e,t,a)=>{"use strict";a.d(t,{g:()=>getIsConnectedOrg});let getIsConnectedOrg=e=>"CONNECTED"===e},0x15ec5ab4c:(e,t,a)=>{"use strict";a.d(t,{eb:()=>o,hQ:()=>i,xg:()=>s});var n=a(0x1cf0d97e1);(0,n.Ay)(e=>e&&e.paidFeatures).meta={name:"getPaidFeatures",key:"createSelectorGetPaidFeatures",description:e=>e&&e.paidFeatures};let r=(0,n.Ay)((e,t)=>e?.paidFeatures?.indexOf(t)!==-1);r.meta={name:"isFeaturePurchased",key:"createSelectorIsFeaturePurchased",description:(e,t)=>e?.paidFeatures?.indexOf(t)!==-1};let i=(0,n.Ay)(e=>r(e,"ekm"));i.meta={name:"isEKMPurchased",key:"createSelectorIsEKMPurchased",description:e=>r(e,"ekm")};let o=(0,n.Ay)(e=>r(e,"slack_ai")||r(e,"slack_ai_enterprise_grid_workspaces"));o.meta={name:"isSlackAiPurchased",key:"createSelectorIsSlackAiPurchased",description:e=>r(e,"slack_ai")||r(e,"slack_ai_enterprise_grid_workspaces")};let s=(0,n.Ay)(e=>r(e,"slack_ai_trial"));s.meta={name:"isSlackAiTrialActive",key:"createSelectorIsSlackAiTrialActive",description:e=>r(e,"slack_ai_trial")}},0x357dacc7:(e,t,a)=>{"use strict";a.d(t,{IJ:()=>s,Oq:()=>o,hP:()=>i,ul:()=>l});var n=a(0x1cf0d97e1);let r={},i=(0,n.Ay)(e=>e?.pendingFileUploads??r);i.meta={name:"getAllPendingFileUploads",key:"createSelectorGetAllPendingFileUploads",description:e=>e?.pendingFileUploads??r};let o=(0,n.Ay)((e,{pendingFileId:t})=>i(e)?.[t]);o.meta={name:"getPendingFileById",key:"createSelectorGetPendingFileById",description:(e,{pendingFileId:t})=>i(e)?.[t]};let s=(0,n.Ay)((e,{pendingFileId:t})=>!!i(e)?.[t]?.isSending);s.meta={name:"getPendingFileSendingStatus",key:"createSelectorGetPendingFileSendingStatus",description:(e,{pendingFileId:t})=>!!i(e)?.[t]?.isSending};let l=(0,n.Ay)((e,{file:t})=>Object.values(i(e)).find(e=>e.file===t));l.meta={name:"getPendingFileUploadForFile",key:"createSelectorGetPendingFileUploadForFile",description:(e,{file:t})=>Object.values(i(e)).find(e=>e.file===t)},(0,n.Ay)((e,{pendingFileId:t})=>i(e)?.[t]?.persistedFileId).meta={name:"getPendingFilePersistedFileId",key:"createSelectorGetPendingFilePersistedFileId",description:(e,{pendingFileId:t})=>i(e)?.[t]?.persistedFileId}},0x7af14e27:(e,t,a)=>{"use strict";a.d(t,{Jz:()=>r,RR:()=>o,UR:()=>s,X0:()=>c,rK:()=>l,vG:()=>d,xt:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Sets team permission objects");r.meta={name:"setTeamPermissionObjects",key:"createActionSetTeamPermissionObjects",description:"Sets team permission objects"};let i=(0,n.Ay)("Sets permissions for relevant workspaces");i.meta={name:"setPermissionsForRelevantWorkspaces",key:"createActionSetPermissionsForRelevantWorkspaces",description:"Sets permissions for relevant workspaces"};let o=(0,n.Ay)("Adds permission for a relevant workspace");o.meta={name:"addPermissionsForRelevantWorkspace",key:"createActionAddPermissionsForRelevantWorkspace",description:"Adds permission for a relevant workspace"};let s=(0,n.Ay)("Removes permission for a relevant workspace");s.meta={name:"removePermissionsForRelevantWorkspace",key:"createActionRemovePermissionsForRelevantWorkspace",description:"Removes permission for a relevant workspace"};let l=(0,n.Ay)("Sets channel permission objects");l.meta={name:"setChannelPermissionObjects",key:"createActionSetChannelPermissionObjects",description:"Sets channel permission objects"};let c=(0,n.Ay)("Sets the channel management is loading flag");c.meta={name:"setChannelManagementLoading",key:"createActionSetChannelManagementLoading",description:"Sets the channel management is loading flag"};let d=(0,n.Ay)("Sets the channel management permissions");d.meta={name:"setChannelManagementPermissions",key:"createActionSetChannelManagementPermissions",description:"Sets the channel management permissions"}},0x5c354532:(e,t,a)=>{"use strict";a.d(t,{CS:()=>g,De:()=>M,Fe:()=>b,Fi:()=>R,Fk:()=>L,I5:()=>w,J3:()=>f,JF:()=>l,JQ:()=>P,Jm:()=>m,MQ:()=>B,Mb:()=>s,NH:()=>E,NQ:()=>H,Nb:()=>A,OB:()=>x,OY:()=>N,Pj:()=>F,Q4:()=>c,Qx:()=>G,T:()=>y,TB:()=>U,Tt:()=>T,YH:()=>O,j:()=>_,jJ:()=>C,jm:()=>v,jw:()=>D,m8:()=>S,oZ:()=>k,r2:()=>I,ry:()=>d,xQ:()=>o,xj:()=>u,yn:()=>p,zp:()=>h});var n=a(0xe8015073),r=a(0x1cf0d97e1),i=a(0xe4af74fc);createPermissionSelector(n.p.CONVERT_MPDM_TO_PRIVATE);let o=createPermissionSelector(n.p.ARCHIVE_CHANNEL),s=createPermissionSelector(n.p.UNARCHIVE_CHANNEL),l=createPermissionSelector(n.p.RENAME_CHANNEL),c=createPermissionSelector(n.p.DELETE_CHANNEL),d=createPermissionSelector(n.p.MANAGE_CHANNEL_PERMISSIONS),u=createPermissionSelector(n.p.MANAGE_CHANNEL_POSTING_PERMISSIONS),m=createPermissionSelector(n.p.MANAGE_CHANNEL_WORKFLOWS),f=createPermissionSelector(n.p.REMOVE_FROM_CHANNEL),_=createPermissionSelector(n.p.REMOVE_FROM_PRIVATE_CHANNEL),p=createPermissionSelector(n.p.VIEW_MESSAGE_ACTIVITY_PUBLIC_INTERNAL),h=createPermissionSelector(n.p.VIEW_MESSAGE_ACTIVITY_PUBLIC_SLACK_CONNECT),g=createPermissionSelector(n.p.VIEW_MESSAGE_ACTIVITY_PRIVATE_INTERNAL),A=createPermissionSelector(n.p.VIEW_MESSAGE_ACTIVITY_PRIVATE_SLACK_CONNECT),b=createPermissionSelector(n.p.CREATE_WORKFLOWS),y=createPermissionSelector(n.p.CREATE_WORKFLOW_TEMPLATE),S=createPermissionSelector(n.p.PUBLISH_WORKFLOW_TEMPLATE),E=createPermissionSelector(n.p.ADD_CUSTOM_EMOJI),k=createPermissionSelector(n.p.EDIT_SLACKBOT_RESPONSES),T=createPermissionSelector(n.p.CREATE_SLACK_CONNECT_DM),I=createPermissionSelector(n.p.ACCEPT_SLACK_CONNECT_INVITES);function createPermissionSelector(e,t=!1){return(0,r.Ay)((a,n)=>{let r,o=n||{};return r=o?.channelId?(0,i.WB)(a,{...o,permission:e}):t?(0,i.tA)(a,{...o,permission:e}):(0,i.yI)(a,{...o,permission:e}),!!r?.isAllowed})}let w=createPermissionSelector(n.p.CREATE_CANVAS_TEMPLATES),C=createPermissionSelector(n.p.PUBLISH_CANVAS_ORG_TEMPLATES),v=createPermissionSelector(n.p.UPDATE_NAME),x=createPermissionSelector(n.p.EDIT_PROFILE_PHOTO),R=createPermissionSelector(n.p.UPDATE_DISPLAY_NAME),O=createPermissionSelector(n.p.SET_CHANNEL_TOPIC),N=createPermissionSelector(n.p.SET_CHANNEL_PURPOSE),D=createPermissionSelector(n.p.INVITE_TO_CHANNEL),L=createPermissionSelector(n.p.INVITE_EXTERNAL_TO_CHANNEL);createPermissionSelector(n.p.CREATE_CHANNEL_EMAIL_ADDRESSES);let M=createPermissionSelector(n.p.CAN_AT_CHANNEL),F=createPermissionSelector(n.p.CAN_AT_EVERYONE),P=createPermissionSelector(n.p.MANAGE_CHANNEL_TABS),U=createPermissionSelector(n.p.CREATE_SOLUTION_TEMPLATE,!0),B=createPermissionSelector(n.p.PUBLISH_SOLUTION_TEMPLATE,!0),G=createPermissionSelector(n.p.MANAGE_SOLUTION_TEMPLATE,!0),H=createPermissionSelector(n.p.VIEW_WORKFLOW_FORM_RESPONSES,!0)},0x84401f94:(e,t,a)=>{"use strict";a.d(t,{LN:()=>A});var n=a(0xe0376d2),r=a(0x71ba7cac),i=a(0x13c34c271),o=a(0x12185e091),s=a(0xe8015073),l=a(0x3711e82d),c=a(0x45012309),d=a(0x1ec68d6a3),u=a(0x1dfdeb1c8),m=a(0x9b971e7e),f=a(0x19c76d181),_=a(0x217553e42),p=a(0x14149c126),h=a(0x100313bb4),g=a(0x1d1e3baab);let processPermissionsForTeamIds=(e,t)=>{let a={};return e?.forEach(e=>{a[e]={id:e,allowedForTeams:new Set}}),t&&Object.keys(t).forEach(e=>{(0,n.A)(t[e]).forEach(t=>{a[t]?.allowedForTeams.add(e)})}),Object.values(a)},processPermissions=(e,t)=>e?.map(e=>({id:e,isAllowed:t?.includes(e)||!1}))||[],A=(0,u.A)("Fetches the permissions for the member",(e,t,a={})=>{let u=t(),A="on"===(0,p._Z)(u,"slack_ai_permissions_deprecate_fe"),b=(0,m.JY)(u),y=a.memberId||(0,f.WR)(u),S=(e=>{if((0,f.TZ)(e))return!1;let t=(0,h.s)(e),a=(0,h.R)(e);return t||a})(u),E=!a.teamIds&&!a.channelId,k=(0,d.default)({state:u}),T={user_id:y,permissions:a.permissions||Object.values(s.p).filter(e=>e!==s.p.UNKNOWN_PERMISSION)};if((S||E)&&(T.as_admin=!0),a.channelId){let e=(0,_.OL)(u,a.channelId);(0,o.LI)(e)||(T.channel_id=a.channelId)}a.teamIds&&(T.team_ids=a.teamIds);let I=(0,n.A)(a?.permissions)||[];if(!A){let t=!a.teamIds&&!a.channelId,o=T.permissions.filter(e=>g.dM.has(e))||[],s=o?.length>0&&t,l=T.permissions.filter(e=>!g.dM.has(e))||[],c=l?.length>0;return o?.length>0&&!t&&k.error("Requesting Slack AI permissions for invalid context",{teamId:`${b}`,memberId:`${y}`,teamIds:`${a?.teamIds}`,channelId:`${a?.channelId}`,slackAIPermissions:`${o}`,otherPermissions:`${l}`}),Promise.allSettled([...c?[(0,i.P)(b,{method:i.J8.PERMISSIONS_INFO,args:{...T,permissions:l}})]:[],...s?[e((0,r.i)({permissions:o,reason:"fetch-slack-ai-permissions"}))]:[]]).then(e=>{let t=c?0:-1,r=-1;s&&(r=+(0===t));let getSettledResponse=t=>t>=0&&t<e.length?e[t]:null,i=getSettledResponse(t),o=getSettledResponse(r),l=i&&"rejected"===i.status,d=o&&"rejected"===o.status;l&&k.error("Error fetching permissions.info",i?.reason?.data?.error),d&&k.error("Error fetching slackAi.permissions.getForUser",o?.reason?.data?.error);let u="function"==typeof i?.value?i.value():i?.value,m="function"==typeof o?.value?o.value():o?.value,f=i?.status==="fulfilled"||u?.ok,_=o?.status==="fulfilled"||m?.ok;if(f||_){if(a.teamIds)return{permissionsForTeams:processPermissionsForTeamIds(I,f?u?.allowed_per_team:{}),permissionObjects:[]};let e=f&&u?.allowed?u?.allowed:[],t=_&&m?.allowed?m?.allowed:[],r=(0,n.A)([...e,...t])||[];return{permissionObjects:processPermissions(I.filter(e=>l?g.dM.has(e):!d||!g.dM.has(e)),r),permissionsForTeams:[]}}return{permissionsForTeams:[],permissionObjects:[]}})}return(0,i.P)(b,{method:i.J8.PERMISSIONS_INFO,args:T}).then(e=>((0,c.eo)({state:u}).track(l.EventId.PERMISSIONS_FETCHED,{channel_id:T.channel_id,error_type:e.error}),e.ok)?a.teamIds?{permissionsForTeams:processPermissionsForTeamIds(I,e.allowed_per_team),permissionObjects:[]}:{permissionObjects:processPermissions(I,(0,n.A)(e.allowed)||[]),permissionsForTeams:[]}:(k.error("Error fetching permissions.info",e.error),{permissionsForTeams:[],permissionObjects:[]}))});A.meta={name:"fetchPermissions",key:"createFetcherFetchPermissions",description:"Fetches the permissions for the member"}},0x1d1e3baab:(e,t,a)=>{"use strict";a.d(t,{BR:()=>i,dM:()=>D,pv:()=>M,sX:()=>getPermissionSet});var n,r=a(0xe8015073),i=((n={}).Client="client",n.Dashboard="dashboard",n);let o=[r.p.ARCHIVE_CHANNEL,r.p.CONVERT_MPDM_TO_PRIVATE,r.p.CREATE_PRIVATE_CHANNEL,r.p.CREATE_PUBLIC_CHANNEL,r.p.EDIT_CHANNEL_WORKSPACES],s=[r.p.CAN_AT_CHANNEL],l=[r.p.ADD_FULL_USER_TO_WORKSPACE,r.p.ADD_GUEST_USER_TO_WORKSPACE,r.p.REMOVE_FULL_USER_FROM_WORKSPACE,r.p.DEACTIVATE_FULL_USER,r.p.DEACTIVATE_GUEST_USER,r.p.REMOVE_GUEST_USER_FROM_WORKSPACE,r.p.DELETE_USER_PROFILE,r.p.INVITE_GUEST,r.p.CONVERT_TO_GUEST,r.p.CONVERT_TO_MEMBER,r.p.MANAGE_GUEST_INVITE_REQUESTS],c=[r.p.SEND_GRID_MIGRATION_INVITE,r.p.APPROVE_GRID_MIGRATION_INVITE],d=[r.p.MANAGE_PUBLIC_CHANNELS,r.p.MANAGE_PRIVATE_CHANNELS,r.p.MANAGE_WORKSPACE_PRIVATE_CHANNELS,r.p.EDIT_CHANNEL_WORKSPACES],u=[r.p.MANAGE_ROLES,r.p.MANAGE_CUSTOM_ROLES],m=[r.p.MANAGE_PERMISSIONS],f=[r.p.READ_AUDIT_LOGS],_=[r.p.WRITE_LEGAL_HOLDS,r.p.READ_LEGAL_HOLDS],p=[r.p.READ_NATIVE_DLP,r.p.WRITE_NATIVE_DLP],h=[r.p.VIEW_COMPLIANCE_EXPORT,r.p.RUN_COMPLIANCE_EXPORT,r.p.DOWNLOAD_COMPLIANCE_EXPORT,r.p.MANAGE_COMPLIANCE_EXPORT_TOKEN],g=[r.p.SIGN_OUT_USER,r.p.VIEW_SECURITY_SETTINGS,r.p.VIEW_SSO_SETTINGS],A=[r.p.REVIEW_FLAGGED_CONTENT],b=[r.p.MANAGE_SALESFORCE_CONNECTIONS];r.p.VIEW_DATA_SOURCE,r.p.CREATE_DATA_SOURCE,r.p.UPDATE_DATA_SOURCE;let y=[r.p.VIEW_OVERVIEW_ANALYTICS,r.p.VIEW_WORKSPACE_ANALYTICS,r.p.VIEW_MEMBER_ANALYTICS,r.p.VIEW_ORG_WIDE_CHANNEL_ANALYTICS,r.p.VIEW_HUDDLE_ANALYTICS,r.p.VIEW_CLIP_ANALYTICS,r.p.VIEW_APP_ANALYTICS,r.p.VIEW_CHANNEL_ANALYTICS,r.p.VIEW_AI_ANALYTICS,r.p.VIEW_CANVAS_ANALYTICS,r.p.VIEW_WORKFLOW_ANALYTICS,r.p.VIEW_LIST_ANALYTICS],S=[r.p.VIEW_TOP_LEVEL_WORKFLOWS,r.p.ADD_COLLABORATOR_TO_ANY_WORKFLOW,r.p.UNPUBLISH_ANY_WORKFLOW,r.p.CREATE_WORKFLOWS,r.p.VIEW_WORKFLOW_ANALYTICS];r.p.CREATE_WORKFLOW_TEMPLATE,r.p.PUBLISH_WORKFLOW_TEMPLATE;let E=[r.p.CREATE_CANVAS_TEMPLATES,r.p.PUBLISH_CANVAS_ORG_TEMPLATES,r.p.VIEW_CANVAS_ANALYTICS],k=[r.p.MANAGE_SALES_HOME,r.p.MANAGE_SALES_HOME_DATA_SOURCE],T=[r.p.ADD_CUSTOM_EMOJI,r.p.DELETE_CUSTOM_EMOJI,r.p.EDIT_SLACKBOT_RESPONSES],I=[r.p.UPDATE_NAME,r.p.UPDATE_DISPLAY_NAME,r.p.EDIT_PROFILE_PHOTO],w=[r.p.ACCEPT_SLACK_CONNECT_INVITES,r.p.MANAGE_SLACK_CONNECT,r.p.CREATE_SLACK_CONNECT_DM],C=[r.p.VIEW_APP_REQUESTS,r.p.MANAGE_AAA_AUTOMATION_RULES,r.p.MANAGE_SCOPE_RATINGS,r.p.VIEW_INSTALLED_APPS,r.p.MANAGE_ORG_LEVEL_APP_APPROVAL,r.p.VIEW_APPROVED_APPS,r.p.VIEW_RESTRICTED_APPS,r.p.ADD_ORG_APPS_TO_WORKSPACES,r.p.REMOVE_ORG_APPS_FROM_WORKSPACES,r.p.VIEW_DEPRECATIONS,r.p.MANAGE_WORKFLOW_CONNECTORS,r.p.MANAGE_WORKFLOW_TRIGGERS],v=[r.p.CREATE_SOLUTION_TEMPLATE,r.p.PUBLISH_SOLUTION_TEMPLATE,r.p.MANAGE_SOLUTION_TEMPLATE],x=[r.p.CREATE_LIST_TEMPLATE],R=[r.p.CREATE_USER_GROUPS,r.p.EDIT_USER_GROUPS,r.p.DELETE_USER_GROUPS],O=[r.p.CREATE_AND_EDIT_ORG_USER_GROUPS,r.p.EDIT_ORG_USER_GROUPS,r.p.DELETE_ORG_USER_GROUPS],N=[...f,...o,...s,...y,...S,...E,...k,...T,...I,...w,...C,...v,...x,...R],D=new Set([r.p.ACCESS_SLACK_AI_CHANNEL_THREAD_SUMMARIES,r.p.ACCESS_SLACK_AI_ACTION_ITEMS,r.p.ACCESS_SLACK_AI_DETAILED_FEEDBACK,r.p.ACCESS_SLACK_AI_FILE_SUMMARIES,r.p.ACCESS_SLACK_AI_HUDDLE_SUMMARIES,r.p.ACCESS_SLACK_AI_RECAP,r.p.ACCESS_SLACK_AI_SEARCH,r.p.ACCESS_SLACK_AI_STEPS_IN_WORKFLOW,r.p.ACCESS_SLACK_AI_TRANSLATIONS,r.p.ACCESS_SLACK_AI_WEB_SEARCH,r.p.ACCESS_SLACK_AI_WORKFLOW_BUILDER,r.p.ACCESS_SLACK_AI_RECORD_CHANNEL_DIGEST,r.p.ACCESS_SLACK_AI_DEVELOPMENT,r.p.ACCESS_SLACK_AI_EXPLAIN,r.p.ACCESS_SLACK_AI_CANVAS,r.p.ACCESS_SLACK_AI_SLACKBOT,r.p.ACCESS_SLACK_AI_FILTERS,r.p.ACCESS_SLACK_AI_SALESFORCE_CSV_MAPPER,r.p.ACCESS_SLACK_AI_SUGGESTED_SECTIONS,r.p.ACCESS_ENTERPRISE_SEARCH]),L=[...u,...f,..._,...l,...d,...p,...h,...y,...S,...g,...E,...A,...k,...T,...b,...C,...c,...m,...D,...O],M=new Set([...D,r.p.EDIT_CHANNEL_WORKSPACES,r.p.CAN_MANAGE_XWS_CHANNELS,...O]);function getPermissionSet(e){return"client"===e.context?N:"dashboard"===e.context?L:N}[...N]},0x203f8f1b:(e,t,a)=>{"use strict";a.d(t,{LC:()=>S,P7:()=>y,QL:()=>setPermissionFetchTTL,at:()=>E,dM:()=>fetchUnknownObjectWithId,ez:()=>maybeRefetch,r5:()=>k,yh:()=>T});var n=a(0xca924ee1),r=a(0x2264e6ea3),i=a(0x1a8cc04e1),o=a(0x15f4f83cf),s=a(0x1655a8085),l=a(0x1866b1b2d),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x1266f1359),m=a(0x84401f94),f=a(0x1d1e3baab),_=a(0x165774b3f),p=a(0x1e7882a2c);let h=3600,g=null,upsertPermissions=({teamId:e,permissionObjects:t,permissionsForTeams:a,channelId:n,teamIds:r})=>{(0,u.Qw)(e,(0,_.XC)({permissionObjects:t,permissionsForTeams:a,channelId:n,teamIds:r}))},A=(0,n.A)((e,t,a)=>new i.Ay({storeKey:"permissions",fetch:(e,n)=>(({teamId:e,permissions:t,channelId:a,teamIds:n})=>(0,u.Qw)(e,(0,m.LN)({permissions:t,channelId:a,teamIds:n})).then(t=>{upsertPermissions({teamId:e,permissionObjects:t.permissionObjects,permissionsForTeams:t.permissionsForTeams,channelId:a,teamIds:n})}))({teamId:e,permissions:n,channelId:t,teamIds:a}),isEnabled:()=>!0,maxAge:()=>h,metricsName:"permissions"})),getConditionalFetchManager=({teamId:e,channelId:t,teamIds:a})=>A(t||a?.join(",")||e,t,a),maybeRefetch=({teamId:e,permission:t,channelId:a,teamIds:n})=>{getConditionalFetchManager({teamId:e,channelId:a,teamIds:n}).maybeRefetch(e,t)},setPermissionFetchTTL=e=>{h=e},b=(0,n.A)((e,t,a)=>new o.Ay({metricsName:"permissions",fetch:(e,n)=>(({teamId:e,permissions:t,channelId:a,teamIds:n})=>(0,u.Qw)(e,(0,m.LN)({permissions:t,channelId:a,teamIds:n})))({teamId:e,permissions:n,channelId:t,teamIds:a}).then(e=>a?e.permissionsForTeams:e.permissionObjects),upsertKnown:(e,n)=>{let r=n.map(e=>e.id);return getConditionalFetchManager({teamId:e,channelId:t,teamIds:a}).markObjectsAsFresh(e,r),upsertPermissions({teamId:e,permissionObjects:a?.length?void 0:n,permissionsForTeams:a?.length?n:void 0,channelId:t,teamIds:a})},upsertNonExistent:(e,n)=>upsertPermissions({teamId:e,permissionObjects:a?.length?void 0:n,permissionsForTeams:a?.length?n:void 0,channelId:t,teamIds:a}),isEnabled:()=>!0})),getUnknownFetchManager=({teamId:e,channelId:t,teamIds:a})=>b(t||a?.join(",")||e,t,a),fetchUnknownObjectWithId=({teamId:e,permission:t,channelId:a,teamIds:n})=>getUnknownFetchManager({teamId:e,channelId:a,teamIds:n}).fetchObjectWithId(e,t),y=(0,c.Ay)("Mark Permissions as Stale for a given permission context",(e,t,{teamId:a,markStaleImmediately:n,permissions:r}={})=>{let i=t(),o=(0,l._)(),s=(0,d.JY)(i);(isOkayToMarkPermissionsAsStale(o)||n)&&(g=o,r&&((0,p._)(i).forEach(e=>{getConditionalFetchManager({teamId:s,channelId:e}).markObjectsAsStale(s,r)}),a?getConditionalFetchManager({teamId:s,teamIds:[a]}).markObjectsAsStale(a,r):(getConditionalFetchManager({teamId:s}).markObjectsAsStale(s,r),getConditionalFetchManager({teamId:s,teamIds:(0,d.VO)(i)}).markObjectsAsStale(s,r))))});y.meta={name:"markPermissionsAsStale",key:"createThunkMarkPermissionsAsStale",description:"Mark Permissions as Stale for a given permission context"};let S=(0,c.Ay)("Mark Permissions as Stale for a given channel",(e,t,{channelId:a,markStaleImmediately:n,permissions:r})=>{let i=t(),o=(0,l._)(),s=(0,d.JY)(i);(isOkayToMarkPermissionsAsStale(o)||n)&&(g=o,getConditionalFetchManager({teamId:s,channelId:a}).markObjectsAsStale(s,r))});S.meta={name:"markPermissionsAsStaleForChannel",key:"createThunkMarkPermissionsAsStaleForChannel",description:"Mark Permissions as Stale for a given channel"};let E=(0,c.Ay)("Mark all permissions as stale",(e,t,{markStaleImmediately:a}={})=>{e(y({markStaleImmediately:a,permissions:s.E}))});E.meta={name:"markAllPermissionsAsStale",key:"createThunkMarkAllPermissionsAsStale",description:"Mark all permissions as stale"};let k=(0,c.Ay)("Fetches Org and Team Permissions for the org and / or workspace dashboards",(e,t,{teamId:a}={})=>{let n=t(),r=a||(0,d.JY)(n),i=(0,f.sX)({context:f.BR.Dashboard}),o=getUnknownFetchManager({teamId:r});i.forEach(e=>o.fetchObjectWithId(r,e))});k.meta={name:"maybeFetchDashboardPermissions",key:"createThunkMaybeFetchDashboardPermissions",description:"Fetches Org and Team Permissions for the org and / or workspace dashboards"};let T=(0,c.Ay)("Fetches Org and Team Permissions",(e,t,{teamId:a}={})=>{let n=t(),i=a||(0,d.JY)(n),o=(0,f.sX)({context:f.BR.Client}),s=getUnknownFetchManager({teamId:i});if((0,r.JV)(i)){let e=getUnknownFetchManager({teamId:i,teamIds:(0,d.VO)(n)});o.forEach(t=>e.fetchObjectWithId(i,t))}else o.forEach(e=>s.fetchObjectWithId(i,e));f.pv.forEach(e=>s.fetchObjectWithId(i,e))});function isOkayToMarkPermissionsAsStale(e){let t=0;return null!==g&&(t=e-g),null===g||t>60}T.meta={name:"maybeFetchClientPermissions",key:"createThunkMaybeFetchClientPermissions",description:"Fetches Org and Team Permissions"}},0xd0eb5473:(e,t,a)=>{"use strict";a.d(t,{Jr:()=>isAllowed,Vf:()=>isAllowedForTeam,n9:()=>getAllowedTeams,t8:()=>isUnknown,t_:()=>allFetched});var n=a(0x658a411c),r=a(0x1df96de4c),i=a(0x15f4f83cf);let isAllowed=e=>e?.isAllowed||!1,isUnknown=e=>(0,i.mX)(e)||!1,getAllowedTeams=e=>Array.from(e?.allowedForTeams||r.Ml)||r.Ml,isAllowedForTeam=(e,t)=>t?.allowedForTeams?.has(e)||!1,allFetched=e=>!(0,n.A)(e,e=>isUnknown(e))},0xe4af74fc:(e,t,a)=>{"use strict";a.d(t,{yI:()=>C,WB:()=>v,tA:()=>x,oI:()=>R,l:()=>hasFetchedAnyWorkspacePermissions,w8:()=>hasFetchedOrgDashboardPermissions,KP:()=>hasFetchedTopLevelTeamPermissions});var n=a(0x1cf0d97e1),r=a(0x1d1e3baab),i=a(0x203f8f1b),o=a(0xd0eb5473),s=a(0x1e2051844),l=a(0x1df96de4c),c=a(0x2264e6ea3),d=a(0xbe2be077),u=a(0x16ed1b0dc),m=a(0x9b971e7e),f=a(0x19c76d181),_=a(0x68c29109),p=a(0x1e7882a2c);let h=(0,n.Ay)((e,{action:t,memberId:a,contextId:n,context:r},o=!0)=>{let l=(0,m.JY)(e),c=(0,_.oE)(e,{memberId:a,context:r,contextId:n})||[],d="channels"===r?n:void 0,u=(0,s.A)(c,{id:t});if(l){if(!u&&o)return(0,i.dM)({teamId:l,permission:t,channelId:d,memberId:a});(0,i.ez)({teamId:l,permission:t,channelId:d})}return u});h.meta={name:"canUserPerformActionOnContext",key:"createSelectorCanUserPerformActionOnContext",description:(e,{action:t,memberId:a,contextId:n,context:r},o=!0)=>{let l=(0,m.JY)(e),c=(0,_.oE)(e,{memberId:a,context:r,contextId:n})||[],d="channels"===r?n:void 0,u=(0,s.A)(c,{id:t});if(l){if(!u&&o)return(0,i.dM)({teamId:l,permission:t,channelId:d,memberId:a});(0,i.ez)({teamId:l,permission:t,channelId:d})}return u}};let g=(0,n.Ay)((e,{action:t,memberId:a,enterpriseId:n},r=!0)=>{let o=n||(0,m.JY)(e);if(!(0,d.k)(e)||!o)return;let l=a||(0,f.WR)(e),c=(0,_.oE)(e,{memberId:l,context:"teams",contextId:o})||[],u=(0,s.A)(c,{id:t});return!u&&r?(0,i.dM)({teamId:o,permission:t,memberId:l}):((0,i.ez)({teamId:o,permission:t}),u)});g.meta={name:"canUserPerformActionOnOrg",key:"createSelectorCanUserPerformActionOnOrg",description:(e,{action:t,memberId:a,enterpriseId:n},r=!0)=>{let o=n||(0,m.JY)(e);if(!(0,d.k)(e)||!o)return;let l=a||(0,f.WR)(e),c=(0,_.oE)(e,{memberId:l,context:"teams",contextId:o})||[],u=(0,s.A)(c,{id:t});return!u&&r?(0,i.dM)({teamId:o,permission:t,memberId:l}):((0,i.ez)({teamId:o,permission:t}),u)}};let A=(0,n.Ay)((e,t,a=!0)=>{let n=(0,m.VO)(e),r=t.action,o=t.memberId||(0,f.WR)(e),s=t.teamId||(0,m.JY)(e);if(s&&(!(0,c.JV)(s)||!(0,d.k)(e))){let t=h(e,{action:r,memberId:o,context:"teams",contextId:s},a);return Object.freeze({id:r,allowedForTeams:new Set(t?.isAllowed?[s]:l.Ml)})}if(n&&n.length>0){let t=(0,p.e)(n),l=(0,_.W8)(e,{memberId:o,relevantTeamIdsKey:t}),c=l?.[r];if(s){if(!c&&a)return(0,i.dM)({teamId:s,permission:r,teamIds:n,memberId:o});(0,i.ez)({teamId:s,permission:r,teamIds:n})}return c?Object.freeze({id:r,...c}):void 0}});A.meta={name:"getWorkspacesUserCanDoActionOn",key:"createSelectorGetWorkspacesUserCanDoActionOn",description:(e,t,a=!0)=>{let n=(0,m.VO)(e),r=t.action,o=t.memberId||(0,f.WR)(e),s=t.teamId||(0,m.JY)(e);if(s&&(!(0,c.JV)(s)||!(0,d.k)(e))){let t=h(e,{action:r,memberId:o,context:"teams",contextId:s},a);return Object.freeze({id:r,allowedForTeams:new Set(t?.isAllowed?[s]:l.Ml)})}if(n&&n.length>0){let t=(0,p.e)(n),l=(0,_.W8)(e,{memberId:o,relevantTeamIdsKey:t}),c=l?.[r];if(s){if(!c&&a)return(0,i.dM)({teamId:s,permission:r,teamIds:n,memberId:o});(0,i.ez)({teamId:s,permission:r,teamIds:n})}return c?Object.freeze({id:r,...c}):void 0}}};let b=(0,n.Ay)((e,{action:t,memberId:a,enterpriseId:n},r=!0)=>{if(!(0,d.k)(e))return;let i=(0,m.VO)(e);if(i&&i.length>0){let i=A(e,{action:t,memberId:a,teamId:n},r);return i?.isUnknown?Object.freeze({id:t,isUnknown:i?.isUnknown}):Object.freeze({id:t,isAllowed:!!i?.allowedForTeams&&i?.allowedForTeams?.size>0})}return g(e,{action:t,memberId:a,enterpriseId:n})});b.meta={name:"canUserPerformActionOnAnyEnterpriseTeam",key:"createSelectorCanUserPerformActionOnAnyEnterpriseTeam",description:(e,{action:t,memberId:a,enterpriseId:n},r=!0)=>{if(!(0,d.k)(e))return;let i=(0,m.VO)(e);if(i&&i.length>0){let i=A(e,{action:t,memberId:a,teamId:n},r);return i?.isUnknown?Object.freeze({id:t,isUnknown:i?.isUnknown}):Object.freeze({id:t,isAllowed:!!i?.allowedForTeams&&i?.allowedForTeams?.size>0})}return g(e,{action:t,memberId:a,enterpriseId:n})}};let y=(0,n.Ay)((e,{action:t,memberId:a},n=!0)=>{let r=(0,m.JY)(e)??"",i=a||(0,f.WR)(e);return(0,c.JV)(r)?b(e,{action:t,memberId:i,enterpriseId:r},n):h(e,{action:t,memberId:i,context:"teams",contextId:r},n)});y.meta={name:"canUserPerformActionOnTeam",key:"createSelectorCanUserPerformActionOnTeam",description:(e,{action:t,memberId:a},n=!0)=>{let r=(0,m.JY)(e)??"",i=a||(0,f.WR)(e);return(0,c.JV)(r)?b(e,{action:t,memberId:i,enterpriseId:r},n):h(e,{action:t,memberId:i,context:"teams",contextId:r},n)}};let S=(0,n.Ay)((e,{action:t,memberId:a},n=!0)=>{let r=(0,m.JY)(e)??"",i=a||(0,f.WR)(e);return(0,c.JV)(r)?g(e,{action:t,memberId:i,enterpriseId:r},n):h(e,{action:t,memberId:i,context:"teams",contextId:r},n)});S.meta={name:"canUserPerformActionOnTopLevelTeam",key:"createSelectorCanUserPerformActionOnTopLevelTeam",description:(e,{action:t,memberId:a},n=!0)=>{let r=(0,m.JY)(e)??"",i=a||(0,f.WR)(e);return(0,c.JV)(r)?g(e,{action:t,memberId:i,enterpriseId:r},n):h(e,{action:t,memberId:i,context:"teams",contextId:r},n)}};let E=(0,n.Ay)((e,{action:t,memberId:a,channelId:n},r=!0)=>{if(!n||!(0,u.A)(n))return;let i=a||(0,f.WR)(e);return h(e,{action:t,memberId:i,context:"channels",contextId:n},r)});E.meta={name:"canUserPerformActionOnChannel",key:"createSelectorCanUserPerformActionOnChannel",description:(e,{action:t,memberId:a,channelId:n},r=!0)=>{if(!n||!(0,u.A)(n))return;let i=a||(0,f.WR)(e);return h(e,{action:t,memberId:i,context:"channels",contextId:n},r)}};let{canUserPerformActionOnChannel:k,canUserPerformActionOnTopLevelTeam:T,canUserPerformActionOnTeam:I,getWorkspacesUserCanDoActionOn:w}={canUserPerformActionOnChannel:E,canUserPerformActionOnTeam:y,canUserPerformActionOnOrg:g,canUserPerformActionOnTopLevelTeam:S,getWorkspacesUserCanDoActionOn:A},C=(0,n.Ay)((e,t)=>I(e,{action:t.permission,...t}));C.meta={name:"getPermissionForAnyWorkspace",key:"createSelectorGetPermissionForAnyWorkspace",description:(e,t)=>I(e,{action:t.permission,...t})};let v=(0,n.Ay)((e,t)=>k(e,{action:t.permission,...t}));v.meta={name:"getPermissionForChannel",key:"createSelectorGetPermissionForChannel",description:(e,t)=>k(e,{action:t.permission,...t})};let x=(0,n.Ay)((e,t)=>T(e,{action:t.permission,...t}));x.meta={name:"getPermissionForTopLevelTeam",key:"createSelectorGetPermissionForTopLevelTeam",description:(e,t)=>T(e,{action:t.permission,...t})};let R=(0,n.Ay)((e,t)=>w(e,{action:t.permission,...t}));R.meta={name:"getPermissionWithAllowedTeams",key:"createSelectorGetPermissionWithAllowedTeams",description:(e,t)=>w(e,{action:t.permission,...t})};let hasFetchedAllPermissionsForTopLevelTeam=(e,t)=>{let a=t.map(t=>x(e,{permission:t}));return(0,o.t_)(a)},hasFetchedAnyWorkspacePermissions=(e,t)=>{let a,n=(0,r.sX)({context:r.BR.Client});return a=(t||n).map(t=>C(e,{permission:t})),(0,o.t_)(a)},hasFetchedTopLevelTeamPermissions=(e,t)=>{let a=r.pv;return hasFetchedAllPermissionsForTopLevelTeam(e,Array.from(t||a))},hasFetchedOrgDashboardPermissions=e=>hasFetchedAllPermissionsForTopLevelTeam(e,(0,r.sX)({context:r.BR.Dashboard}))},0x68c29109:(e,t,a)=>{"use strict";a.d(t,{P8:()=>c,W8:()=>u,oE:()=>d});var n=a(0xbe2be077),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x19c76d181),s=a(0x1e7882a2c);let l=(0,r.Ay)(e=>e?.permissions);l.meta={name:"getPermissionsState",key:"createSelectorGetPermissionsState",description:e=>e?.permissions};let c=(0,r.Ay)((e,{memberId:t,context:a})=>l(e)?.permissionObjects?.[t]?.[a]);c.meta={name:"getAllContextPermissions",key:"createSelectorGetAllContextPermissions",description:(e,{memberId:t,context:a})=>l(e)?.permissionObjects?.[t]?.[a]};let d=(0,r.Ay)((e,{memberId:t,context:a,contextId:n})=>l(e)?.permissionObjects?.[t]?.[a]?.[n]?.permissions);d.meta={name:"getContextPermissions",key:"createSelectorGetContextPermissions",description:(e,{memberId:t,context:a,contextId:n})=>l(e)?.permissionObjects?.[t]?.[a]?.[n]?.permissions};let u=(0,r.Ay)((e,{memberId:t,relevantTeamIdsKey:a})=>l(e)?.permissionObjects?.[t]?.relevantWorkspaces?.[a]);u.meta={name:"getRelevantWorkspacesPermissions",key:"createSelectorGetRelevantWorkspacesPermissions",description:(e,{memberId:t,relevantTeamIdsKey:a})=>l(e)?.permissionObjects?.[t]?.relevantWorkspaces?.[a]};let m=(0,r.Ay)((e,{memberId:t,context:a,contextId:n,permissionsToCheck:r})=>{let i=d(e,{memberId:t,context:a,contextId:n});return!!r?.length&&!!i?.length&&r.every(e=>i?.find(t=>t.id===e))});m.meta={name:"hasFetchedAllContextPermissions",key:"createSelectorHasFetchedAllContextPermissions",description:(e,{memberId:t,context:a,contextId:n,permissionsToCheck:r})=>{let i=d(e,{memberId:t,context:a,contextId:n});return!!r?.length&&!!i?.length&&r.every(e=>i?.find(t=>t.id===e))}},(0,r.Ay)((e,{permissionsToCheck:t})=>{let a=(0,o.WR)(e),r=(0,i.VO)(e),l=(0,i.JY)(e);if((0,n.k)(e)){let n=u(e,{memberId:a,relevantTeamIdsKey:(0,s.e)(r)});return!!t?.length&&!!n&&t.every(e=>n?.[e])}return m(e,{memberId:a,context:"teams",contextId:l,permissionsToCheck:t})}).meta={name:"hasFetchedWorkspacePermissions",key:"createSelectorHasFetchedWorkspacePermissions",description:(e,{permissionsToCheck:t})=>{let a=(0,o.WR)(e),r=(0,i.VO)(e),l=(0,i.JY)(e);if((0,n.k)(e)){let n=u(e,{memberId:a,relevantTeamIdsKey:(0,s.e)(r)});return!!t?.length&&!!n&&t.every(e=>n?.[e])}return m(e,{memberId:a,context:"teams",contextId:l,permissionsToCheck:t})}},(0,r.Ay)((e,{permissionsToCheck:t})=>{let a=(0,o.WR)(e),n=(0,i.JY)(e);return m(e,{memberId:a,context:"teams",contextId:n,permissionsToCheck:t})}).meta={name:"hasFetchedTopLevelTeamPermissions",key:"createSelectorHasFetchedTopLevelTeamPermissions",description:(e,{permissionsToCheck:t})=>{let a=(0,o.WR)(e),n=(0,i.JY)(e);return m(e,{memberId:a,context:"teams",contextId:n,permissionsToCheck:t})}}},0x165774b3f:(e,t,a)=>{"use strict";a.d(t,{di:()=>T,N7:()=>k,HE:()=>C,w7:()=>I,SG:()=>v,XC:()=>w});var n=a(0x2264e6ea3),r=a(0x93637498),i=a(0x3d6efb00),o=a(0xbe2be077),s=a(0x7fc9e5b3),l=a(0x1866b1b2d),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x19c76d181),m=a(0x14149c126),f=a(0x7af14e27),_=a(0x128c3200c),p=a(0x6960d8b9),h=a(0x1ec68d6a3),g=a(0x1f8f05a48),A=a(0x68c29109),b=a(0x1e7882a2c);function chunkObjectByKeys(e,t){let a=Object.keys(e);return(0,_.A)(a,t).map(t=>{let a={};return t.forEach(t=>{a[t]=e[t]}),a})}function getShortTimestamp(){return(0,p.Yq)(Date.now(),"{date_num} {time}")}let y=(0,c.Ay)("Log user's permissions to investigate during escals",(e,t)=>{let a=t(),n=(0,u.WR)(a),r=(0,d.JY)(a),i=(0,d.VO)(a),o=(0,A.oE)(a,{memberId:n,context:"teams",contextId:r})||[],s=(0,b.e)(i),l=(0,A.W8)(a,{memberId:n,relevantTeamIdsKey:s})||{},c=(0,A.P8)(a,{memberId:n,context:"channels"})||{};if("on"!==(0,m._Z)(a,"etf_escal_permission_fe_logs"))return;let f=(0,h.default)({state:a,label:"escal-ent-tools-frameworks"}),p=getShortTimestamp();try{if(o&&o.length>0){let e=(0,_.A)(o,15);e.forEach((t,a)=>{f.error(Error(`debug permission issues [${p}] top-level ${a+1}/${e.length}`),{topLevelPermissions:t},{subtype:"permissions-store"})})}else f.error(Error(`debug permission issues [${p}] top-level - no permissions`),{topLevelPermissions:o},{subtype:"permissions-store"})}catch(e){f.error(Error(`error logging debug permission issues [${p}] top-level`),{error:e},{subtype:"permissions-store"})}try{if(Object.keys(l).length>0){let e=chunkObjectByKeys(l,15);e.forEach((t,a)=>{f.error(Error(`debug permission issues [${p}] workspaces ${a+1}/${e.length}`),{relevantTeamIdsKey:s,workspacePermissions:t},{subtype:"permissions-store"})})}else f.error(Error(`debug permission issues [${p}] workspaces - no permissions`),{relevantTeamIdsKey:s,workspacePermissions:l},{subtype:"permissions-store"})}catch(e){f.error(Error(`error logging debug permission issues [${p}] workspaces`),{error:e},{subtype:"permissions-store"})}try{if(c&&Object.keys(c).length>0){let e=chunkObjectByKeys(c,15);e.forEach((t,a)=>{f.error(Error(`debug permission issues [${p}] channels ${a+1}/${e.length}`),{channelPermissions:t},{subtype:"permissions-store"})})}else f.error(Error(`debug permission issues [${p}] channels - no permissions`),{channelPermissions:c},{subtype:"permissions-store"})}catch(e){f.error(Error(`error logging debug permission issues [${p}] channels`),{error:e},{subtype:"permissions-store"})}});y.meta={name:"logPermissions",key:"createThunkLogPermissions",description:"Log user's permissions to investigate during escals"};let S=(0,c.Ay)("Log permissions requested for the wrong context",(e,t,a)=>{let n=t(),r=(0,d.JY)(n),{permissions:i,relevantTeamIdsKey:o}=a;(0,h.default)({state:n,label:"escal-ent-tools-frameworks"}).error(Error("permissions requested for the wrong context (any workspace context used on org dash)"),{teamId:r,relevantTeamIdsKey:o,permissions:i},{subtype:"permissions-store"})});S.meta={name:"logPermissionsWrongContextError",key:"createThunkLogPermissionsWrongContextError",description:"Log permissions requested for the wrong context"};let E=(0,g.Ay)(y,3e5,!1,void 0,!0,!1),shouldUseRelevantWorkspaces=(e,t)=>{let a=(0,d.VO)(e);return(0,o.k)(e)&&!(0,n.JV)(t)&&a?.length>0},k=(0,c.Ay)("Updates the team permissions",(e,t,a)=>{let{permissions:n,teamId:r}=a,i=t(),o=(0,u.WR)(i),s=r||(0,d.JY)(i);if(shouldUseRelevantWorkspaces(i,s)){let t=(0,d.VO)(i);return e((0,f.RR)({key:(0,b.e)(t),memberId:o,teamId:s,permissions:n}))}return e((0,f.Jz)({memberId:o,teamId:s,permissions:n?.map(e=>({id:e,isAllowed:!0}))}))});k.meta={name:"addTeamPermissions",key:"createThunkAddTeamPermissions",description:"Updates the team permissions"};let T=(0,c.Ay)("Updates the channel permissions",(e,t,a)=>{let{permissions:n,channelId:r}=a,i=t(),o=(0,u.WR)(i);return e((0,f.rK)({memberId:o,channelId:r,permissions:n?.map(e=>({id:e,isAllowed:!0}))}))});T.meta={name:"addChannelPermissions",key:"createThunkAddChannelPermissions",description:"Updates the channel permissions"};let I=(0,c.Ay)("Updates the team permissions",(e,t,a)=>{let{permissions:n,teamId:r}=a,i=t(),o=(0,u.WR)(i),s=r||(0,d.JY)(i);if((0,b._)(i).forEach(t=>{e((0,f.rK)({memberId:o,channelId:t,permissions:n?.map(e=>({id:e,isAllowed:!1}))}))}),shouldUseRelevantWorkspaces(i,s)){let t=(0,d.VO)(i);return e((0,f.UR)({key:(0,b.e)(t),memberId:o,teamId:s,permissions:n}))}return e((0,f.Jz)({memberId:o,teamId:s,permissions:n?.map(e=>({id:e,isAllowed:!1}))}))});I.meta={name:"removeTeamPermissions",key:"createThunkRemoveTeamPermissions",description:"Updates the team permissions"},(0,c.Ay)("Updates the channel permissions",(e,t,a)=>{let{permissions:n,channelId:r}=a,i=t(),o=(0,u.WR)(i);return e((0,f.rK)({memberId:o,channelId:r,permissions:n?.map(e=>({id:e,isAllowed:!1}))}))}).meta={name:"removeChannelPermissions",key:"createThunkRemoveChannelPermissions",description:"Updates the channel permissions"};let w=(0,c.Ay)("Updates the team permissions",(e,t,{channelId:a,teamIds:n,permissionObjects:r,permissionsForTeams:i})=>{let o=t(),s=(0,u.WR)(o),c=(0,d.JY)(o),_="on"===(0,m._Z)(o,"etf_escal_permission_fe_logs"),p="on"===(0,m._Z)(o,"gantry_manage_non_grid_access");if(n){let t={};i?.forEach(e=>{let{id:a,allowedForTeams:n}=e;t[a]={allowedForTeams:n}});let a=(0,b.e)(n);e((0,f.xt)({memberId:s,key:a,allowedPermissions:t})),(0,u.j9)(o)&&!p&&e(S({permissions:Object.keys(t),relevantTeamIdsKey:a}))}else r&&e(a?(0,f.rK)({memberId:s,channelId:a,permissions:r,timestamp:(0,l._)()}):(0,f.Jz)({memberId:s,teamId:c,permissions:r}));_&&e(E(o))});w.meta={name:"updateTeamPermissions",key:"createThunkUpdateTeamPermissions",description:"Updates the team permissions"};let C=(0,c.Ay)("Gets channel account type permissions",async(e,t,{channelId:a,permissions:n,reason:i})=>{e((0,f.X0)({isLoading:!0}));try{let t=await e((0,r.I)({channelId:a,permissions:n,reason:i})),o={[s.C.FULL_MEMBER]:[],[s.C.MULTI_CHANNEL_GUEST]:[]},l=t.account_types?.reduce((e,t)=>{let a=t.account_type;if(a){let n=t.permissions?.filter(e=>!!e?.permission).map(e=>({...{permission:e?.permission,isConfigurable:e?.is_configurable||!1,isAllowed:e?.is_allowed||!1},name:e?.localized_permission_display_name||""}));e[a]=n}return e},o);l&&e((0,f.vG)({channelId:a,permissionsByAccountType:l}))}catch(n){let t="string"==typeof n?n:n?.data?.error??"UNKNOWN ERROR";e((0,f.vG)({channelId:a,errorType:t}))}finally{e((0,f.X0)({isLoading:!1}))}});C.meta={name:"fetchChannelManagementPermissions",key:"createThunkFetchChannelManagementPermissions",description:"Gets channel account type permissions"};let v=(0,c.Ay)("Saves channel account type permissions",async(e,t,{channelId:a,accountType:n,permissions:r})=>e((0,i.u)({channelId:a,accountType:n,permissions:r,reason:"set channel account type permissions"})));v.meta={name:"saveChannelManagementPermissions",key:"createThunkSaveChannelManagementPermissions",description:"Saves channel account type permissions"}},0x1e7882a2c:(e,t,a)=>{"use strict";a.d(t,{_:()=>getAllChannelId,e:()=>getRelevantTeamIdsKey});var n=a(0x17294c72a),r=a(0xe0376d2),i=a(0x19c76d181);function getAllChannelId(e){let t=e.permissions,a=(0,i.WR)(e);return Object.keys(t.permissionObjects[a]?.channels||{})}let getRelevantTeamIdsKey=e=>(0,n.A)((0,r.A)(e)).join(",")},0xb5e797f:(e,t,a)=>{"use strict";a.d(t,{M:()=>i,t:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Persists a request payload by key");r.meta={name:"persistApiCallPayload",key:"createActionPersistApiCallPayload",description:"Persists a request payload by key"};let i=(0,n.Ay)("Clears the persisted apiCall payload at the key");i.meta={name:"clearApiCallPayload",key:"createActionClearApiCallPayload",description:"Clears the persisted apiCall payload at the key"}},0x16e90fe6d:(e,t,a)=>{"use strict";a.d(t,{$:()=>setPinsPopoverInstance,h:()=>getPinsPopoverInstance});let n=null,setPinsPopoverInstance=e=>{n=e},getPinsPopoverInstance=()=>n},0x105f056cd:(e,t,a)=>{"use strict";a.d(t,{M:()=>n});let n=(0,a(0xcf658893).Ay)("Set the plan info in redux.");n.meta={name:"setPlanInfo",key:"createActionSetPlanInfo",description:"Set the plan info in redux."}},0x6cc4c078:(e,t,a)=>{"use strict";a.d(t,{_f:()=>i,_s:()=>r});var n=a(0x1cf0d97e1);(0,n.Ay)(e=>e.planInfo).meta={name:"getPlanInfo",key:"createSelectorGetPlanInfo",description:e=>e.planInfo};let r=(0,n.Ay)(e=>e.planInfo?.is_plan_frozen??!1);r.meta={name:"isPlanFrozen",key:"createSelectorIsPlanFrozen",description:e=>e.planInfo?.is_plan_frozen??!1};let i=(0,n.Ay)(e=>e.planInfo?.reconnect_grace_period_start_ts??0);i.meta={name:"getReconnectGracePeriodStartTs",key:"createSelectorGetReconnectGracePeriodStartTs",description:e=>e.planInfo?.reconnect_grace_period_start_ts??0}},0x9643278e:(e,t,a)=>{"use strict";a.d(t,{J:()=>r});var n,r=((n={})[n.CLOSED=1]="CLOSED",n[n.OVERLAY=2]="OVERLAY",n[n.SECONDARY=3]="SECONDARY",n)},0x35945a76:(e,t,a)=>{"use strict";a.d(t,{$v:()=>f,Ag:()=>r,BG:()=>s,Hu:()=>_,PY:()=>d,eJ:()=>n,jx:()=>c,kZ:()=>o,n5:()=>u,u5:()=>m,wE:()=>l,z1:()=>i});let n="sidebar",r="all",i="hid",o="mentions",s="active",l="c",c="sort",d="default",u="recent",m="priority",f="1",_="0"},0x1b4ecf8e7:(e,t,a)=>{"use strict";a.d(t,{BJ:()=>r,PW:()=>u,T0:()=>i,bV:()=>c,mM:()=>l,qK:()=>s,s$:()=>o,xc:()=>d,zw:()=>n});let n="all_notifications_prefs",r="user_colors",i="frecency",o="ia_theme",s="emoji_use",l="channel_sections",c="channel_canvas_layouts",d="a11y_message_verbosity_settings",u={should_show_contextual_help_for_section_navigation:!0}},0x2244f10f:(e,t,a)=>{"use strict";a.d(t,{DH:()=>s,FD:()=>o,aG:()=>c,pK:()=>l});var n=a(0x1cf0d97e1),r=a(0x1ccef1c6f),i=a(0x1b4ecf8e7);let o=(0,n.Ay)((e,t)=>(0,r.ty)(e,i.zw)?.global?.[t]);o.meta={name:"getNotificationsGlobalPref",key:"createSelectorGetNotificationsGlobalPref",description:(e,t)=>(0,r.ty)(e,i.zw)?.global?.[t]};let s=(0,n.Ay)(e=>(0,r.ty)(e,i.zw)?.channels);s.meta={name:"getNotificationsChannelOverrides",key:"createSelectorGetNotificationsChannelOverrides",description:e=>(0,r.ty)(e,i.zw)?.channels};let l=(0,n.Ay)((e,t)=>(0,r.ty)(e,i.zw)?.channels?.[t]);l.meta={name:"getNotificationsChannelOverridesById",key:"createSelectorGetNotificationsChannelOverridesById",description:(e,t)=>(0,r.ty)(e,i.zw)?.channels?.[t]};let c=(0,n.Ay)((e,t,a)=>(0,r.ty)(e,i.zw)?.channels?.[t]?.[a]);c.meta={name:"getNotificationsChannelOverrideById",key:"createSelectorGetNotificationsChannelOverrideById",description:(e,t,a)=>(0,r.ty)(e,i.zw)?.channels?.[t]?.[a]}},0x14cd2eed9:(e,t,a)=>{"use strict";a.d(t,{K:()=>parseJSONPrefs});var n=a(0xb77a689a),r=a(0x1ec68d6a3);function parseJSONPrefs(e,t){if(!e||!(0,n.A)(e))return e||{};try{return JSON.parse(e)}catch{let e="Could not parse JSON prefs";return t&&(e+=` (${t})`),(0,r.getGenericLogger)().error(e),{}}}},0x590cde43:(e,t,a)=>{"use strict";a.d(t,{G:()=>i,e:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Update multiple team preferences");r.meta={name:"dangerouslyUpdateTeamPrefs",key:"createActionDangerouslyUpdateTeamPrefs",description:"Update multiple team preferences"};let i=(0,n.Ay)("Initialize team preferences");i.meta={name:"setTeamPrefs",key:"createActionSetTeamPrefs",description:"Initialize team preferences"}},0x13a248e19:(e,t,a)=>{"use strict";a.d(t,{R:()=>o});var n=a(0x1cf0d97e1),r=a(0x1ccef1c6f),i=a(0x1b4ecf8e7);let o=(0,n.Ay)((e,t)=>(0,r.ty)(e,i.BJ)?.[t]);o.meta={name:"getColorPrefForUser",key:"createSelectorGetColorPrefForUser",description:(e,t)=>(0,r.ty)(e,i.BJ)?.[t]}},0x20085de45:(e,t,a)=>{"use strict";a.d(t,{PZ:()=>r,it:()=>o,rX:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Initialize user preferences");r.meta={name:"dangerouslyInitializeUserPrefs",key:"createActionDangerouslyInitializeUserPrefs",description:"Initialize user preferences"};let i=(0,n.Ay)("Update one user pref");i.meta={name:"setUserPref",key:"createActionSetUserPref",description:"Update one user pref"};let o=(0,n.Ay)("Update multiple users pref");o.meta={name:"setMultipleUserPrefs",key:"createActionSetMultipleUserPrefs",description:"Update multiple users pref"}},0x11cad2003:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u,Kw:()=>innerGetPresenceById,Tz:()=>o,Z6:()=>innerGetAllPresence});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"presence",persistenceEnabled:!1}),{addObjects:o,removeObjects:s,clearObjects:l}=r,{UNSAFE_getAllObjects:c,getObjectById:d}=i,innerGetPresenceById=(e,t)=>d(e,t),innerGetAllPresence=e=>c(e),u=n},0x2207a1e7d:(e,t,a)=>{"use strict";a.d(t,{$M:()=>h,gd:()=>f,hH:()=>_});var n=a(0x5a5c86cb),r=a(0x1130a8ca8),i=a(0x24353cea1),o=a(0x4b8e0952),s=a(0x1cf0d97e1),l=a(0x1bc4b3ad8),c=a(0x19c76d181),d=a(0xe684f705),u=a(0x11cad2003),m=a(0x202e46926);let f=(0,s.Ay)((e,t)=>{let a=(0,d.nv)(e,t,{fetchIfMissing:!1});return(0,i.a)(a)&&!(0,o.z1)(a)?m.hR:(0,i.c)(a)?m.z2:(0,u.Kw)(e,t)?.presence});f.meta={name:"getPresenceByMemberId",key:"createSelectorGetPresenceByMemberId",description:(e,t)=>{let a=(0,d.nv)(e,t,{fetchIfMissing:!1});return(0,i.a)(a)&&!(0,o.z1)(a)?m.hR:(0,i.c)(a)?m.z2:(0,u.Kw)(e,t)?.presence}};let _=(0,s.Ay)(e=>f(e,(0,c.WR)(e)));_.meta={name:"getCurrentMemberPresence",key:"createSelectorGetCurrentMemberPresence",description:e=>f(e,(0,c.WR)(e))};let p=(0,s.Ay)(e=>(0,u.Z6)(e));p.meta={name:"getAllPresence",key:"createSelectorGetAllPresence",description:e=>(0,u.Z6)(e)};let h=(0,l.F)(e=>p(e),e=>{let t=(0,r.xH)(e);return(0,n.A)(t,e=>e?.presence==="active")})},0x94dc6585:(e,t,a)=>{"use strict";a.d(t,{H:()=>o});var n=a(0x1cb3a1d29),r=a(0x11c82607b),i=a(0x11cad2003);let o=(0,r.Ay)("bulk update presence for users",(e,t,a={})=>{let r=[],o=t();Object.keys(a).forEach(e=>{let t=a[e];if(!(0,n.o)(t))return;let s=(0,i.Kw)(o,e);t!==s?.presence&&r.push({id:e,presence:t})}),r.length&&e((0,i.Tz)({objects:r}))});o.meta={name:"bulkUpdatePresence",key:"createThunkBulkUpdatePresence",description:"bulk update presence for users"}},0x202e46926:(e,t,a)=>{"use strict";a.d(t,{eO:()=>n,hR:()=>r,z2:()=>i});let n=a(0x928f5329).u,r=n.Active,i=n.Away},0xd44d1c69:(e,t,a)=>{"use strict";a.d(t,{$3:()=>eZ,$f:()=>ex,$s:()=>B,$u:()=>x,AN:()=>en,Bk:()=>e2,C8:()=>ed,Cj:()=>ej,Dg:()=>eb,EV:()=>eL,Ev:()=>eI,F7:()=>K,Fo:()=>H,Gd:()=>C,Gp:()=>eS,HT:()=>R,IH:()=>N,Ik:()=>e0,Io:()=>E,JF:()=>eM,Jf:()=>eO,L:()=>b,MD:()=>A,MO:()=>eW,Nd:()=>eU,O9:()=>Q,Pr:()=>eN,QA:()=>ez,QQ:()=>L,RO:()=>e3,S_:()=>e6,Sx:()=>h,TX:()=>S,Tj:()=>et,Tm:()=>em,UO:()=>eG,VE:()=>X,VV:()=>eF,WG:()=>eJ,WV:()=>_,Wg:()=>eC,ZQ:()=>eQ,Zg:()=>eV,_x:()=>g,aR:()=>G,c$:()=>M,cE:()=>F,cX:()=>ef,e1:()=>selectIsSlackAILanguageUnsupported,e7:()=>$,er:()=>eq,f1:()=>eD,h$:()=>eu,h6:()=>ea,h7:()=>ei,hC:()=>T,hj:()=>eH,hv:()=>Z,iR:()=>e_,iz:()=>V,jF:()=>J,kB:()=>ew,kS:()=>D,kz:()=>eE,lc:()=>e4,mN:()=>U,mU:()=>eX,me:()=>er,n0:()=>e1,nc:()=>ev,oT:()=>k,od:()=>eB,q3:()=>j,qK:()=>ek,rn:()=>I,sS:()=>q,sz:()=>eR,tl:()=>ey,uQ:()=>Y,uf:()=>p,w4:()=>v,xG:()=>eK,xU:()=>eT,xn:()=>e9,y0:()=>O,yQ:()=>eP,yT:()=>ep,z8:()=>f,zN:()=>getAvailableCurrencies,zO:()=>W,zo:()=>eh});var n=a(0x21f3c49e8),r=a(0x1e2051844),i=a(0x1df96de4c),o=a(0x190a9df19),s=a(0x49e911f4),l=a(0x10079cc7),c=a(0x1cf0d97e1),d=a(0xdf55e8f3),u=a(0x8290e9aa);let getPlan=({availablePlans:e,currency:t,planTerm:a,planLevel:n,paymentMethod:r})=>{let i=r;return r===l.uq.INVOICE&&a===l.ck.monthly&&(i=l.uq.CREDIT_CARD),r===l.uq.INVOICE&&("INR"===t||"BRL"===t)&&(i=l.uq.CREDIT_CARD),e[t]?.[n]?.[i]?.[a]?.[l.lY.Default]||null},m=(0,c.Ay)(e=>{if(!e?.pricingPlans?.availablePlans)return null;let{availablePlans:t,activeCurrency:a,activeTerm:n,activePlanLevel:r,activePaymentMethod:i}=e.pricingPlans;return getPlan({availablePlans:t,currency:a,planTerm:n,planLevel:r,paymentMethod:i})});m.meta={name:"selectActivePlan",key:"createSelectorSelectActivePlan",description:e=>{if(!e?.pricingPlans?.availablePlans)return null;let{availablePlans:t,activeCurrency:a,activeTerm:n,activePlanLevel:r,activePaymentMethod:i}=e.pricingPlans;return getPlan({availablePlans:t,currency:a,planTerm:n,planLevel:r,paymentMethod:i})}};let getAvailableCurrencies=e=>e?.availablePlans?Object.keys(e.availablePlans):[],selectIsSlackAILanguageUnsupported=e=>!!e?.pricingPlans?.additionalAddonInfo&&e?.pricingPlans.additionalAddonInfo.isSlackAiLanguageUnsupported;(0,c.Ay)(e=>e&&e.pricingPlans?getAvailableCurrencies(e.pricingPlans):i.Ml).meta={name:"selectAvailableCurrencies",key:"createSelectorSelectAvailableCurrencies",description:e=>e&&e.pricingPlans?getAvailableCurrencies(e.pricingPlans):i.Ml};let f=(0,c.Ay)(e=>{let t=m(e);return t?.id||""});f.meta={name:"selectActiveProductId",key:"createSelectorSelectActiveProductId",description:e=>{let t=m(e);return t?.id||""}};let _=(0,c.Ay)(e=>{let t=m(e);return t?.costPerTerm||0});_.meta={name:"selectActivePlanCostPerTerm",key:"createSelectorSelectActivePlanCostPerTerm",description:e=>{let t=m(e);return t?.costPerTerm||0}};let p=(0,c.Ay)(e=>{let t=m(e);return t?.level||""});p.meta={name:"selectActivePlanLevel",key:"createSelectorSelectActivePlanLevel",description:e=>{let t=m(e);return t?.level||""}};let h=(0,c.Ay)(e=>{let t=m(e);return t?.term||""});h.meta={name:"selectActivePlanTerm",key:"createSelectorSelectActivePlanTerm",description:e=>{let t=m(e);return t?.term||""}};let g=(0,c.Ay)(e=>{let t=m(e);return t?.term===l.ck.yearly});g.meta={name:"selectActivePlanIsYearly",key:"createSelectorSelectActivePlanIsYearly",description:e=>{let t=m(e);return t?.term===l.ck.yearly}};let A=(0,c.Ay)(e=>{let t=m(e);return t?.currency||""});A.meta={name:"selectActiveCurrency",key:"createSelectorSelectActiveCurrency",description:e=>{let t=m(e);return t?.currency||""}};let b=(0,c.Ay)(e=>{let t=m(e);return t?.availableAddons||i.Ml});b.meta={name:"selectAvailableAddons",key:"createSelectorSelectAvailableAddons",description:e=>{let t=m(e);return t?.availableAddons||i.Ml}};let y=(0,c.Ay)((e,t)=>{if(!e?.pricingPlans?.availablePlans)return null;let{availablePlans:a,activeCurrency:n,activePlanLevel:r,activePaymentMethod:i}=e.pricingPlans;return a?.[n]?.[r]?.[i]?.[t]?.[l.lY.Default]||null});y.meta={name:"getTermPlanForActiveCurrency",key:"createSelectorGetTermPlanForActiveCurrency",description:(e,t)=>{if(!e?.pricingPlans?.availablePlans)return null;let{availablePlans:a,activeCurrency:n,activePlanLevel:r,activePaymentMethod:i}=e.pricingPlans;return a?.[n]?.[r]?.[i]?.[t]?.[l.lY.Default]||null}};let S=(0,c.Ay)(e=>{let t=y(e,l.ck.yearly);return t?.costPerTerm||0});S.meta={name:"selectCostPerTermForYearlyPlan",key:"createSelectorSelectCostPerTermForYearlyPlan",description:e=>{let t=y(e,l.ck.yearly);return t?.costPerTerm||0}};let E=(0,c.Ay)(e=>{let t=y(e,l.ck.monthly);return t?.costPerTerm||0});E.meta={name:"selectCostPerTermForMonthlyPlan",key:"createSelectorSelectCostPerTermForMonthlyPlan",description:e=>{let t=y(e,l.ck.monthly);return t?.costPerTerm||0}};let k=(0,c.Ay)(e=>!!e?.pricingPlans?.isPlansAndCostDataLoaded);k.meta={name:"selectIsPlansAndCostDataLoaded",key:"createSelectorSelectIsPlansAndCostDataLoaded",description:e=>!!e?.pricingPlans?.isPlansAndCostDataLoaded};let T=(0,c.Ay)(e=>!!(e?.pricingPlans?.isPlansDataLoading||e?.pricingPlans?.isCostDataLoading));T.meta={name:"selectIsPlansOrCostDataLoading",key:"createSelectorSelectIsPlansOrCostDataLoading",description:e=>!!(e?.pricingPlans?.isPlansDataLoading||e?.pricingPlans?.isCostDataLoading)};let I=(0,c.Ay)(e=>!!e?.pricingPlans?.isPlansDataLoading);I.meta={name:"selectIsPlansDataLoading",key:"createSelectorSelectIsPlansDataLoading",description:e=>!!e?.pricingPlans?.isPlansDataLoading};let w=(0,c.Ay)(e=>e?.pricingPlans?.activePlanCost);w.meta={name:"getActivePlanCost",key:"createSelectorGetActivePlanCost",description:e=>e?.pricingPlans?.activePlanCost};let C=(0,c.Ay)(e=>{let t=w(e);return t?.billableActiveUsers||0});C.meta={name:"selectBillableActiveUsers",key:"createSelectorSelectBillableActiveUsers",description:e=>{let t=w(e);return t?.billableActiveUsers||0}};let v=(0,c.Ay)(e=>{let t=w(e);return t?.outstandingInvoiceAmount||0});v.meta={name:"selectOutstandingInvoiceAmount",key:"createSelectorSelectOutstandingInvoiceAmount",description:e=>{let t=w(e);return t?.outstandingInvoiceAmount||0}};let x=(0,c.Ay)(e=>{let t=w(e);return t?.paidSeats||0});x.meta={name:"selectPaidSeats",key:"createSelectorSelectPaidSeats",description:e=>{let t=w(e);return t?.paidSeats||0}};let R=(0,c.Ay)(e=>{let t=w(e);return t?.subtotal||0});R.meta={name:"selectSubtotal",key:"createSelectorSelectSubtotal",description:e=>{let t=w(e);return t?.subtotal||0}};let O=(0,c.Ay)(e=>{let t=w(e);return t?.undiscountedSubtotal||0});O.meta={name:"selectUndiscountedSubtotal",key:"createSelectorSelectUndiscountedSubtotal",description:e=>{let t=w(e);return t?.undiscountedSubtotal||0}};let N=(0,c.Ay)(e=>{let t=w(e);return t?.totalRecurring||0});N.meta={name:"selectTotalRecurring",key:"createSelectorSelectTotalRecurring",description:e=>{let t=w(e);return t?.totalRecurring||0}};let D=(0,c.Ay)(e=>{let t=w(e);return t?.discount});D.meta={name:"selectDiscount",key:"createSelectorSelectDiscount",description:e=>{let t=w(e);return t?.discount}};let L=(0,c.Ay)(e=>{let t=w(e);return t?.addons});L.meta={name:"selectAddons",key:"createSelectorSelectAddons",description:e=>{let t=w(e);return t?.addons}};let M=(0,c.Ay)(e=>{let t=w(e);return t?.addons?.refund});M.meta={name:"selectAddonRefunds",key:"createSelectorSelectAddonRefunds",description:e=>{let t=w(e);return t?.addons?.refund}},(0,c.Ay)(e=>{let t=w(e);return t?.addons?.purchase}).meta={name:"selectAddonPurchases",key:"createSelectorSelectAddonPurchases",description:e=>{let t=w(e);return t?.addons?.purchase}};let F=(0,c.Ay)(e=>{let t=w(e);return!t||(0,n.A)(t.tax)?null:t.tax});F.meta={name:"selectTax",key:"createSelectorSelectTax",description:e=>{let t=w(e);return!t||(0,n.A)(t.tax)?null:t.tax}};let P=(0,c.Ay)(e=>{let t=w(e);return t?.credits});P.meta={name:"selectCredits",key:"createSelectorSelectCredits",description:e=>{let t=w(e);return t?.credits}};let U=(0,c.Ay)(e=>{let t=P(e);return t?.creditsApplied||0});U.meta={name:"selectCreditsApplied",key:"createSelectorSelectCreditsApplied",description:e=>{let t=P(e);return t?.creditsApplied||0}};let B=(0,c.Ay)(e=>{let t=P(e);return t?.currentCredits||0});B.meta={name:"selectCurrentTeamCredits",key:"createSelectorSelectCurrentTeamCredits",description:e=>{let t=P(e);return t?.currentCredits||0}};let G=(0,c.Ay)(e=>{let t=P(e);return t?.creditsRemaining||0});G.meta={name:"selectTeamCreditsRemaining",key:"createSelectorSelectTeamCreditsRemaining",description:e=>{let t=P(e);return t?.creditsRemaining||0}};let H=(0,c.Ay)(e=>{let t=P(e);return t?.proratedRefundCredits||0});H.meta={name:"selectTeamProratedRefundCredits",key:"createSelectorSelectTeamProratedRefundCredits",description:e=>{let t=P(e);return t?.proratedRefundCredits||0}};let W=(0,c.Ay)(e=>{let t=P(e);return t?.totalCreditsRemaining||0});W.meta={name:"selectTotalCreditsRemaining",key:"createSelectorSelectTotalCreditsRemaining",description:e=>{let t=P(e);return t?.totalCreditsRemaining||0}};let V=(0,c.Ay)(e=>{let t=P(e);return t?.totalCreditsApplied||0});V.meta={name:"selectTotalCreditsApplied",key:"createSelectorSelectTotalCreditsApplied",description:e=>{let t=P(e);return t?.totalCreditsApplied||0}};let j=(0,c.Ay)(e=>{let t=w(e);return t?.totalDueToday||0});j.meta={name:"selectTotalDueToday",key:"createSelectorSelectTotalDueToday",description:e=>{let t=w(e);return t?.totalDueToday||0}};let K=(0,c.Ay)(e=>{let t=w(e);return t?.quotedTermStart||""});K.meta={name:"getQuotedTermStartDate",key:"createSelectorGetQuotedTermStartDate",description:e=>{let t=w(e);return t?.quotedTermStart||""}};let q=(0,c.Ay)(e=>{let t=w(e);return t?.quotedTermEnd||""});q.meta={name:"getQuotedTermEndDate",key:"createSelectorGetQuotedTermEndDate",description:e=>{let t=w(e);return t?.quotedTermEnd||""}};let z=(0,c.Ay)(e=>e?.pricingPlans?.cachedCost);z.meta={name:"getCachedCost",key:"createSelectorGetCachedCost",description:e=>e?.pricingPlans?.cachedCost};let $=(0,c.Ay)((e,t,a,n,r,i)=>{let o=z(e),s=(0,l.y7)(t,a,n,r,i);return o?.[s]||null});$.meta={name:"selectLocalCostForCurrentPlan",key:"createSelectorSelectLocalCostForCurrentPlan",description:(e,t,a,n,r,i)=>{let o=z(e),s=(0,l.y7)(t,a,n,r,i);return o?.[s]||null}};let Y=(0,c.Ay)(e=>{let t=m(e);if(!t?.isInvoice)return 0;if(void 0!==t.minInvoiceSeats){let a=C(e);if(a>t.minInvoiceSeats)return a}return t.minInvoiceSeats||0});Y.meta={name:"selectMinInvoiceSeats",key:"createSelectorSelectMinInvoiceSeats",description:e=>{let t=m(e);if(!t?.isInvoice)return 0;if(void 0!==t.minInvoiceSeats){let a=C(e);if(a>t.minInvoiceSeats)return a}return t.minInvoiceSeats||0}};let Q=(0,c.Ay)(e=>{let t=m(e);return t&&t.isInvoice&&t.maxInvoiceSeats||0});Q.meta={name:"selectMaxInvoiceSeats",key:"createSelectorSelectMaxInvoiceSeats",description:e=>{let t=m(e);return t&&t.isInvoice&&t.maxInvoiceSeats||0}};let Z=(0,c.Ay)(e=>!!e?.pricingPlans?.apiError);Z.meta={name:"isAPIError",key:"createSelectorIsAPIError",description:e=>!!e?.pricingPlans?.apiError};let J=(0,c.Ay)(e=>{let t=m(e);return!!t?.isInvoice});J.meta={name:"isInvoiceActivePaymentMethod",key:"createSelectorIsInvoiceActivePaymentMethod",description:e=>{let t=m(e);return!!t?.isInvoice}};let X=(0,d.eI)(e=>{if(!e?.pricingPlans?.availablePlans)return[];let t=[];return Object.keys(e.pricingPlans.availablePlans).forEach(a=>{let n=getPlan({availablePlans:e.pricingPlans.availablePlans,currency:a,planTerm:e.pricingPlans.activeTerm,planLevel:e.pricingPlans.activePlanLevel,paymentMethod:e.pricingPlans.activePaymentMethod});n&&t.push(n)}),t}),ee=(0,c.Ay)(e=>e?.pricingPlans?.trialData);ee.meta={name:"getTeamTrialData",key:"createSelectorGetTeamTrialData",description:e=>e?.pricingPlans?.trialData};let et=(0,c.Ay)(e=>{let t=ee(e);return!!t?.isInTrial});et.meta={name:"selectIsTeamInTrial",key:"createSelectorSelectIsTeamInTrial",description:e=>{let t=ee(e);return!!t?.isInTrial}};let ea=(0,c.Ay)(e=>{let t=ee(e);return t?.endDate||0});ea.meta={name:"selectTeamTrialEndDate",key:"createSelectorSelectTeamTrialEndDate",description:e=>{let t=ee(e);return t?.endDate||0}};let en=(0,c.Ay)(e=>e?.pricingPlans?.currentPlanLevel||"");en.meta={name:"selectTeamCurrentPlanLevel",key:"createSelectorSelectTeamCurrentPlanLevel",description:e=>e?.pricingPlans?.currentPlanLevel||""},(0,c.Ay)(e=>e?.pricingPlans?.planRenewalLevel||"").meta={name:"selectTeamPlanRenewalLevel",key:"createSelectorSelectTeamPlanRenewalLevel",description:e=>e?.pricingPlans?.planRenewalLevel||""};let er=(0,c.Ay)(e=>{let t=e?.pricingPlans;return t?.termInfo.term===u.B.MONTHLY?l.ck.monthly:l.ck.yearly});er.meta={name:"selectTeamCurrentPlanTerm",key:"createSelectorSelectTeamCurrentPlanTerm",description:e=>{let t=e?.pricingPlans;return t?.termInfo.term===u.B.MONTHLY?l.ck.monthly:l.ck.yearly}};let ei=(0,c.Ay)(e=>e?.pricingPlans?.productNameForDisplay||"");ei.meta={name:"selectTeamCurrentProductName",key:"createSelectorSelectTeamCurrentProductName",description:e=>e?.pricingPlans?.productNameForDisplay||""};let eo=(0,c.Ay)(e=>e?.pricingPlans?.plansPageBoot);eo.meta={name:"getPlansPageBoot",key:"createSelectorGetPlansPageBoot",description:e=>e?.pricingPlans?.plansPageBoot};let es=(0,c.Ay)((e,t)=>{let a=eo(e);return a?.plans?.[t]});es.meta={name:"selectPlansPageBootPlanData",key:"createSelectorSelectPlansPageBootPlanData",description:(e,t)=>{let a=eo(e);return a?.plans?.[t]}};let el=(0,c.Ay)((e,t,a)=>{let n=es(e,t);return n?.[a]});el.meta={name:"selectPlansPageBootPlanTermData",key:"createSelectorSelectPlansPageBootPlanTermData",description:(e,t,a)=>{let n=es(e,t);return n?.[a]}};let ec=(0,c.Ay)((e,t,a)=>{let n=el(e,t,a);return n?.cost});ec.meta={name:"selectPlansPageBootCostData",key:"createSelectorSelectPlansPageBootCostData",description:(e,t,a)=>{let n=el(e,t,a);return n?.cost}};let ed=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.discounted_unit_price});ed.meta={name:"selectPlansPageBootDiscountPrice",key:"createSelectorSelectPlansPageBootDiscountPrice",description:(e,t,a)=>{let n=ec(e,t,a);return n?.discounted_unit_price}};let eu=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.discount?.percentage||0});eu.meta={name:"selectPlansPageBootDiscountPercentage",key:"createSelectorSelectPlansPageBootDiscountPercentage",description:(e,t,a)=>{let n=ec(e,t,a);return n?.discount?.percentage||0}};let em=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.discount?.duration||0});em.meta={name:"selectPlansPageBootDiscountDuration",key:"createSelectorSelectPlansPageBootDiscountDuration",description:(e,t,a)=>{let n=ec(e,t,a);return n?.discount?.duration||0}};let ef=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.discount?.name||""});ef.meta={name:"selectPlansPageBootDiscountName",key:"createSelectorSelectPlansPageBootDiscountName",description:(e,t,a)=>{let n=ec(e,t,a);return n?.discount?.name||""}};let e_=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a)?.discount;return n?.promo_type||n?.name||""});e_.meta={name:"selectPlansPageBootDiscountPromoType",key:"createSelectorSelectPlansPageBootDiscountPromoType",description:(e,t,a)=>{let n=ec(e,t,a)?.discount;return n?.promo_type||n?.name||""}};let ep=(0,c.Ay)(e=>{let t=eo(e);return t?.country||""});ep.meta={name:"selectPlansPageBootCountry",key:"createSelectorSelectPlansPageBootCountry",description:e=>{let t=eo(e);return t?.country||""}};let eh=(0,c.Ay)(e=>{let t=eo(e);return t?.country_code||""});eh.meta={name:"selectPlansPageBootCountryCode",key:"createSelectorSelectPlansPageBootCountryCode",description:e=>{let t=eo(e);return t?.country_code||""}};let eg=(0,c.Ay)(e=>{let t=eo(e);return t?.payments_status});eg.meta={name:"selectPlansPageBootPaymentsStatus",key:"createSelectorSelectPlansPageBootPaymentsStatus",description:e=>{let t=eo(e);return t?.payments_status}};let eA=(0,c.Ay)((e,t,a)=>{let n=el(e,t,a);return n?.product});eA.meta={name:"selectPlansPageBootProductData",key:"createSelectorSelectPlansPageBootProductData",description:(e,t,a)=>{let n=el(e,t,a);return n?.product}},(0,c.Ay)(e=>{let t=eo(e);return t?.renewal_date_after_trial_upgrade}).meta={name:"selectPlansPageBootRenewalDateAfterTrialUpgrade",key:"createSelectorSelectPlansPageBootRenewalDateAfterTrialUpgrade",description:e=>{let t=eo(e);return t?.renewal_date_after_trial_upgrade}};let eb=(0,c.Ay)(e=>{let t=eo(e);return t?.renewal_date_after_trial_upgrade_ts});eb.meta={name:"selectPlansPageBootRenewalDateAfterTrialUpgradeTs",key:"createSelectorSelectPlansPageBootRenewalDateAfterTrialUpgradeTs",description:e=>{let t=eo(e);return t?.renewal_date_after_trial_upgrade_ts}},(0,c.Ay)(e=>{let t=eo(e);return t?.price_increase_savings_pct||0}).meta={name:"selectPlansPageBootPriceIncreaseSavingsPct",key:"createSelectorSelectPlansPageBootPriceIncreaseSavingsPct",description:e=>{let t=eo(e);return t?.price_increase_savings_pct||0}};let ey=(0,c.Ay)(e=>{let t=eo(e);return t?.team_current_product_is_bespoke||!1});ey.meta={name:"selectPlansPageBootIsCurrentProductBespoke",key:"createSelectorSelectPlansPageBootIsCurrentProductBespoke",description:e=>{let t=eo(e);return t?.team_current_product_is_bespoke||!1}};let eS=(0,c.Ay)(e=>{let t=eo(e);return t?.team_current_product_is_comp||!1});eS.meta={name:"selectPlansPageBootIsCurrentProductComplimentary",key:"createSelectorSelectPlansPageBootIsCurrentProductComplimentary",description:e=>{let t=eo(e);return t?.team_current_product_is_comp||!1}};let eE=(0,c.Ay)(e=>{let t=eo(e);return!!t.team_current_addon_types&&t.team_current_addon_types.includes(l.wi.SlackAI)});eE.meta={name:"selectPlansPageBootIsSlackAIProvisioned",key:"createSelectorSelectPlansPageBootIsSlackAIProvisioned",description:e=>{let t=eo(e);return!!t.team_current_addon_types&&t.team_current_addon_types.includes(l.wi.SlackAI)}};let ek=(0,c.Ay)(e=>e?.pricingPlans?.isSlackAiToggleSelected);ek.meta={name:"selectIsSlackAiToggleSelected",key:"createSelectorSelectIsSlackAiToggleSelected",description:e=>e?.pricingPlans?.isSlackAiToggleSelected};let eT=(0,c.Ay)(e=>{let t=eo(e);return t?.team_current_product||""});eT.meta={name:"selectPlansPageBootCurrentProductId",key:"createSelectorSelectPlansPageBootCurrentProductId",description:e=>{let t=eo(e);return t?.team_current_product||""}};let eI=(0,c.Ay)(e=>{let t=eo(e);return t?.team_next_product||""});eI.meta={name:"selectPlansPageBootNextProductId",key:"createSelectorSelectPlansPageBootNextProductId",description:e=>{let t=eo(e);return t?.team_next_product||""}},(0,c.Ay)(e=>{let t=eo(e);return t?.payments_status?.provisions_status?.term_info?.end_dt||""}).meta={name:"selectPlansPageBootTermEndDate",key:"createSelectorSelectPlansPageBootTermEndDate",description:e=>{let t=eo(e);return t?.payments_status?.provisions_status?.term_info?.end_dt||""}};let ew=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.credits?.total_credits||0});ew.meta={name:"selectPlansPageBootTotalCredits",key:"createSelectorSelectPlansPageBootTotalCredits",description:(e,t,a)=>{let n=ec(e,t,a);return n?.credits?.total_credits||0}};let eC=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.credits?.months_free_from_credit||0});eC.meta={name:"selectPlansPageBootMonthsFreeFromCredit",key:"createSelectorSelectPlansPageBootMonthsFreeFromCredit",description:(e,t,a)=>{let n=ec(e,t,a);return n?.credits?.months_free_from_credit||0}};let ev=(0,c.Ay)(e=>{let t=eo(e);return t?.currency||""});ev.meta={name:"selectPlansPageBootCurrency",key:"createSelectorSelectPlansPageBootCurrency",description:e=>{let t=eo(e);return t?.currency||""}};let ex=(0,c.Ay)(e=>{let t=eg(e),a=t?.provisions_status?.level;if(!a)return"";let n=(0,r.A)(l.i6,["id",a]);return n?.name||""});ex.meta={name:"selectPlansPageBootActivePlanLevel",key:"createSelectorSelectPlansPageBootActivePlanLevel",description:e=>{let t=eg(e),a=t?.provisions_status?.level;if(!a)return"";let n=(0,r.A)(l.i6,["id",a]);return n?.name||""}};let eR=(0,c.Ay)(e=>{let t=eg(e),a=t?.provisions_status?.level??l.F2.FREE;return Object.values(l.F2).includes(a)?a:l.F2.FREE});eR.meta={name:"selectPlansPageBootCurrentPlanLevel",key:"createSelectorSelectPlansPageBootCurrentPlanLevel",description:e=>{let t=eg(e),a=t?.provisions_status?.level??l.F2.FREE;return Object.values(l.F2).includes(a)?a:l.F2.FREE}};let eO=(0,c.Ay)(e=>{let t=eg(e),a=t?.provisions_status?.renewal_level;if(!a)return"";let n=(0,r.A)(l.i6,["id",a]);return n?.name||""});eO.meta={name:"selectPlansPageBootRenewalPlanLevel",key:"createSelectorSelectPlansPageBootRenewalPlanLevel",description:e=>{let t=eg(e),a=t?.provisions_status?.renewal_level;if(!a)return"";let n=(0,r.A)(l.i6,["id",a]);return n?.name||""}};let eN=(0,c.Ay)(e=>!!e?.pricingPlans?.isPlansPageBootLoaded);eN.meta={name:"selectIsPlansPageBootLoaded",key:"createSelectorSelectIsPlansPageBootLoaded",description:e=>!!e?.pricingPlans?.isPlansPageBootLoaded};let eD=(0,c.Ay)(e=>!!e?.pricingPlans?.isPlanStatusDataLoaded);eD.meta={name:"selectIsPlanStatusDataLoaded",key:"createSelectorSelectIsPlanStatusDataLoaded",description:e=>!!e?.pricingPlans?.isPlanStatusDataLoaded};let eL=(0,c.Ay)(e=>{let t=eg(e);return"12m"===t?.provisions_status?.term_info?.term?l.ck.yearly:l.ck.monthly});eL.meta={name:"selectPlansPageBootActiveTerm",key:"createSelectorSelectPlansPageBootActiveTerm",description:e=>{let t=eg(e);return"12m"===t?.provisions_status?.term_info?.term?l.ck.yearly:l.ck.monthly}};let eM=(0,c.Ay)(e=>{let t=eg(e),a=t?.provisions_status?.term_info?.term;if(a)return"12m"===a?l.ru.ANNUALLY:l.ru.MONTHLY});eM.meta={name:"selectPlansPageBootCurrentTerm",key:"createSelectorSelectPlansPageBootCurrentTerm",description:e=>{let t=eg(e),a=t?.provisions_status?.term_info?.term;if(a)return"12m"===a?l.ru.ANNUALLY:l.ru.MONTHLY}};let eF=(0,c.Ay)(e=>{let t=eg(e);return 1e3*(t?.provisions_status?.term_info?.end_ts||0)});eF.meta={name:"selectPlansPageBootProductTermEndTs",key:"createSelectorSelectPlansPageBootProductTermEndTs",description:e=>{let t=eg(e);return 1e3*(t?.provisions_status?.term_info?.end_ts||0)}};let eP=(0,c.Ay)(e=>{let t=eg(e);return t?.payment_method===l.uq.TRIAL});eP.meta={name:"selectPlansPageBootIsTrial",key:"createSelectorSelectPlansPageBootIsTrial",description:e=>{let t=eg(e);return t?.payment_method===l.uq.TRIAL}};let eU=(0,c.Ay)(e=>{let t=eg(e);return t?.payment_method===l.uq.INVOICE});eU.meta={name:"selectPlansPageBootIsInvoice",key:"createSelectorSelectPlansPageBootIsInvoice",description:e=>{let t=eg(e);return t?.payment_method===l.uq.INVOICE}};let eB=(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);if(!n?.available_addons)return 0;let r=n.available_addons.find(e=>e.addon_type===l.wi.SlackAI);return r?.upfront_unit_cost_per_m||0});eB.meta={name:"selectPlansPageBootSlackAICostPerMonth",key:"createSelectorSelectPlansPageBootSlackAICostPerMonth",description:(e,t,a)=>{let n=eA(e,t,a);if(!n?.available_addons)return 0;let r=n.available_addons.find(e=>e.addon_type===l.wi.SlackAI);return r?.upfront_unit_cost_per_m||0}};let eG=(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);return n?.product_id||""});eG.meta={name:"selectPlansPageBootProductId",key:"createSelectorSelectPlansPageBootProductId",description:(e,t,a)=>{let n=eA(e,t,a);return n?.product_id||""}};let eH=(0,c.Ay)(e=>{if(eP(e)){let t=eo(e);return t?.payments_status?.provisions_status?.term_info?.end_ts||""}return 0});eH.meta={name:"selectPlansPageBootTrialTermEndDate",key:"createSelectorSelectPlansPageBootTrialTermEndDate",description:e=>{if(eP(e)){let t=eo(e);return t?.payments_status?.provisions_status?.term_info?.end_ts||""}return 0}};let eW=(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);return n?.cost_per_m||0});eW.meta={name:"selectPlansPageBootCostPerMonth",key:"createSelectorSelectPlansPageBootCostPerMonth",description:(e,t,a)=>{let n=eA(e,t,a);return n?.cost_per_m||0}},(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);return!!n?.available_addons&&n.available_addons.find(e=>e.addon_type===l.wi.SlackAI)}).meta={name:"selectPlansPageBootIsSlackAIAvailable",key:"createSelectorSelectPlansPageBootIsSlackAIAvailable",description:(e,t,a)=>{let n=eA(e,t,a);return!!n?.available_addons&&n.available_addons.find(e=>e.addon_type===l.wi.SlackAI)}};let eV=(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);if(!n?.available_addons)return"";let r=n.available_addons.find(e=>e.addon_type===l.wi.SlackAI);return r?.addon_id||""});eV.meta={name:"selectPlansPageBootSlackAIAddonId",key:"createSelectorSelectPlansPageBootSlackAIAddonId",description:(e,t,a)=>{let n=eA(e,t,a);if(!n?.available_addons)return"";let r=n.available_addons.find(e=>e.addon_type===l.wi.SlackAI);return r?.addon_id||""}};let ej=(0,c.Ay)((e,t,a)=>{let n=eA(e,t,a);return n?.cost_per_term||0});ej.meta={name:"selectPlansPageBootCostPerTerm",key:"createSelectorSelectPlansPageBootCostPerTerm",description:(e,t,a)=>{let n=eA(e,t,a);return n?.cost_per_term||0}};let eK=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.billable_active_users||0});eK.meta={name:"selectPlansPageBootBillableActiveUsers",key:"createSelectorSelectPlansPageBootBillableActiveUsers",description:(e,t,a)=>{let n=ec(e,t,a);return n?.billable_active_users||0}};let eq=(0,c.Ay)(e=>{let t=l.i6.standard.name,a=l.ck.yearly,n=eT(e),r=eC(e,t,a),i=ew(e,t,a),o=(0,s.sV)(e),c=eP(e);return!!((!n||c)&&r&&!o&&i>0)});eq.meta={name:"selectShouldShowCreditBannerAdvanced",key:"createSelectorSelectShouldShowCreditBannerAdvanced",description:e=>{let t=l.i6.standard.name,a=l.ck.yearly,n=eT(e),r=eC(e,t,a),i=ew(e,t,a),o=(0,s.sV)(e),c=eP(e);return!!((!n||c)&&r&&!o&&i>0)}};let ez=(0,c.Ay)(e=>{let t=(0,s.sV)(e),a=(0,o.p2)(e),n=ew(e,l.i6.standard.name,l.ck.yearly);return!eq(e)&&!t&&n>0&&a});ez.meta={name:"selectShouldShowCreditBannerBasic",key:"createSelectorSelectShouldShowCreditBannerBasic",description:e=>{let t=(0,s.sV)(e),a=(0,o.p2)(e),n=ew(e,l.i6.standard.name,l.ck.yearly);return!eq(e)&&!t&&n>0&&a}};let e$=(0,c.Ay)(e=>{let t=eo(e);return t?.pricing_page_promotional_header});e$.meta={name:"getPlansPagePromoHeader",key:"createSelectorGetPlansPagePromoHeader",description:e=>{let t=eo(e);return t?.pricing_page_promotional_header}};let eY=(0,c.Ay)(e=>{let t=e$(e);return t?.data});eY.meta={name:"getPlansPagePromoHeaderData",key:"createSelectorGetPlansPagePromoHeaderData",description:e=>{let t=e$(e);return t?.data}},(0,c.Ay)(e=>e$(e)?.name||"").meta={name:"selectPromoHeaderName",key:"createSelectorSelectPromoHeaderName",description:e=>e$(e)?.name||""};let eQ=(0,c.Ay)(e=>eY(e)?.promo_type||"");eQ.meta={name:"selectDiscountPromoType",key:"createSelectorSelectDiscountPromoType",description:e=>eY(e)?.promo_type||""};let eZ=(0,c.Ay)(e=>eY(e)?.subtype||"");eZ.meta={name:"selectDiscountPromoSubtype",key:"createSelectorSelectDiscountPromoSubtype",description:e=>eY(e)?.subtype||""};let eJ=(0,c.Ay)(e=>eY(e)?.discount_pct||0);eJ.meta={name:"selectPromoDiscountPercent",key:"createSelectorSelectPromoDiscountPercent",description:e=>eY(e)?.discount_pct||0};let eX=(0,c.Ay)(e=>1e3*(eY(e)?.discount_expiration_ts||0));eX.meta={name:"selectPromoExpirationTs",key:"createSelectorSelectPromoExpirationTs",description:e=>1e3*(eY(e)?.discount_expiration_ts||0)};let e0=(0,c.Ay)(e=>eY(e)?.discount_duration||0);e0.meta={name:"selectDiscountDuration",key:"createSelectorSelectDiscountDuration",description:e=>eY(e)?.discount_duration||0};let e1=(0,c.Ay)(e=>eY(e)?.upgrade_plan_levels);e1.meta={name:"selectUpgradePlanLevels",key:"createSelectorSelectUpgradePlanLevels",description:e=>eY(e)?.upgrade_plan_levels};let e2=(0,c.Ay)(e=>e?.pricingPlans?.isAddonCostDataLoaded||!1);e2.meta={name:"selectIsAddonCostDataLoaded",key:"createSelectorSelectIsAddonCostDataLoaded",description:e=>e?.pricingPlans?.isAddonCostDataLoaded||!1};let e3=(0,c.Ay)(e=>e?.pricingPlans?.addonCost||null);e3.meta={name:"selectCurrentAddonCostData",key:"createSelectorSelectCurrentAddonCostData",description:e=>e?.pricingPlans?.addonCost||null},(0,c.Ay)((e,t)=>{let a,n=w(e);return n?.addons?.purchase?.length&&(a=n.addons.purchase.find(e=>e.addonType===t)),a||void 0}).meta={name:"selectAddonPurchaseDataByType",key:"createSelectorSelectAddonPurchaseDataByType",description:(e,t)=>{let a,n=w(e);return n?.addons?.purchase?.length&&(a=n.addons.purchase.find(e=>e.addonType===t)),a||void 0}},(0,c.Ay)((e,t)=>{let a,n=w(e);return n?.addons?.refund?.length&&(a=n.addons.refund.find(e=>e.addonType===t)),a||void 0}).meta={name:"selectAddonRefundDataByType",key:"createSelectorSelectAddonRefundDataByType",description:(e,t)=>{let a,n=w(e);return n?.addons?.refund?.length&&(a=n.addons.refund.find(e=>e.addonType===t)),a||void 0}},(0,c.Ay)((e,t)=>{let a,n=m(e);return n?.availableAddons?.length&&(a=n?.availableAddons.find(e=>e.addonType===t)),a||void 0}).meta={name:"selectAvailableAddonByType",key:"createSelectorSelectAvailableAddonByType",description:(e,t)=>{let a,n=m(e);return n?.availableAddons?.length&&(a=n?.availableAddons.find(e=>e.addonType===t)),a||void 0}};let e4=(0,c.Ay)(e=>{let t=w(e);return t?.addons?.purchase?.length?t.addons.purchase:i.Ml});e4.meta={name:"selectAllAddonsForPurchase",key:"createSelectorSelectAllAddonsForPurchase",description:e=>{let t=w(e);return t?.addons?.purchase?.length?t.addons.purchase:i.Ml}},(0,c.Ay)(e=>{let t=eo(e);return t?.plans}).meta={name:"getPlansPageBootPlans",key:"createSelectorGetPlansPageBootPlans",description:e=>{let t=eo(e);return t?.plans}},(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.total_due_today}).meta={name:"selectPlansPageBootCostTotalDueToday",key:"createSelectorSelectPlansPageBootCostTotalDueToday",description:(e,t,a)=>{let n=ec(e,t,a);return n?.total_due_today}},(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.currency||"USD"}).meta={name:"selectPlansPageBootCostCurrency",key:"createSelectorSelectPlansPageBootCostCurrency",description:(e,t,a)=>{let n=ec(e,t,a);return n?.currency||"USD"}};let e6=(0,c.Ay)(e=>{let t=h(e);return ec(e,l.i6.standard.name,t)});e6.meta={name:"selectPlansPageBootCostFromActivePlan",key:"createSelectorSelectPlansPageBootCostFromActivePlan",description:e=>{let t=h(e);return ec(e,l.i6.standard.name,t)}};let e9=(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.unit_price});e9.meta={name:"selectPlansPageBootUnitPrice",key:"createSelectorSelectPlansPageBootUnitPrice",description:(e,t,a)=>{let n=ec(e,t,a);return n?.unit_price}},(0,c.Ay)((e,t,a)=>{let n=ec(e,t,a);return n?.total_recurring}).meta={name:"selectPlansPageBootTotalRecurring",key:"createSelectorSelectPlansPageBootTotalRecurring",description:(e,t,a)=>{let n=ec(e,t,a);return n?.total_recurring}}},0x8290e9aa:(e,t,a)=>{"use strict";a.d(t,{B:()=>r,b:()=>n});let n={EXPIRED_COST_REQUEST:"EXPIRED_COST_REQUEST"},r={MONTHLY:"1m",YEARLY:"12m"}},0x3ea72b02:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>l,DJ:()=>d,SI:()=>u,UV:()=>m,nl:()=>c,os:()=>f,rJ:()=>_,uJ:()=>o,uR:()=>s,xt:()=>r,zg:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Set eligibility data for a particular promo");r.meta={name:"setPromoEligibility",key:"createActionSetPromoEligibility",description:"Set eligibility data for a particular promo"};let i=(0,n.Ay)("Set whether eligibility data for a particular promo is fetching");i.meta={name:"setPromoEligibilityIsFetching",key:"createActionSetPromoEligibilityIsFetching",description:"Set whether eligibility data for a particular promo is fetching"};let o=(0,n.Ay)("Clear eligibility data for all promos");o.meta={name:"clearPromoEligibility",key:"createActionClearPromoEligibility",description:"Clear eligibility data for all promos"};let s=(0,n.Ay)("Set trial info data");s.meta={name:"setPromoTrialInfo",key:"createActionSetPromoTrialInfo",description:"Set trial info data"};let l=(0,n.Ay)("Set feature trial info data");l.meta={name:"setPromoFeatureTrialInfo",key:"createActionSetPromoFeatureTrialInfo",description:"Set feature trial info data"};let c=(0,n.Ay)("Set trial usage data");c.meta={name:"setPromoTrialUsage",key:"createActionSetPromoTrialUsage",description:"Set trial usage data"};let d=(0,n.Ay)("Set show trial started celebration");d.meta={name:"setShowTrialStartedCelebration",key:"createActionSetShowTrialStartedCelebration",description:"Set show trial started celebration"};let u=(0,n.Ay)("Set to enable the trial deep link");u.meta={name:"setIsTrialDeepLinkEnabled",key:"createActionSetIsTrialDeepLinkEnabled",description:"Set to enable the trial deep link"};let m=(0,n.Ay)("Set shown seasonal spider animation");m.meta={name:"setShownSeasonalSpiderAnimationForSession",key:"createActionSetShownSeasonalSpiderAnimationForSession",description:"Set shown seasonal spider animation"};let f=(0,n.Ay)("Set trigger seasonal spider animation");f.meta={name:"setTriggerSeasonalSpiderAnimation",key:"createActionSetTriggerSeasonalSpiderAnimation",description:"Set trigger seasonal spider animation"};let _=(0,n.Ay)("Set show MrBeast promo celebration");_.meta={name:"setShowMrBeastPromoCelebration",key:"createActionSetShowMrBeastPromoCelebration",description:"Set show MrBeast promo celebration"}},0x1e6074e15:(e,t,a)=>{"use strict";a.d(t,{A:()=>i,T:()=>makePromoKey});var n=a(0xba77ecb9),r=a(0x3ea72b02);let makePromoKey=(e,t)=>t?[e,t].join("-"):e,i=(0,n.Ay)({},{eligibility:{},trialInfo:void 0,showTrialStartedCelebration:!1,trialUsage:void 0,shownSeasonalSpiderAnimationForSession:!1,triggerSeasonalSpiderAnimation:!1,showMrBeastPromoCelebration:!1},{storeKey:"promo",persistenceEnabled:!1}).on(r.xt,(e,{campaignType:t,campaignSubType:a,...n})=>{let r=makePromoKey(t,a);return{...e,eligibility:{...e.eligibility,[r]:{...e.eligibility[r],...n}}}}).on(r.zg,(e,{campaignType:t,campaignSubType:a,isFetching:n})=>{let r=makePromoKey(t,a);return{...e,eligibility:{...e.eligibility,[r]:{...e.eligibility[r],isFetching:n}}}}).on(r.uJ,e=>({...e,eligibility:{}})).on(r.uR,(e,t)=>({...e,trialInfo:t})).on(r.Cg,(e,t)=>({...e,featureTrialInfo:t})).on(r.DJ,(e,t)=>({...e,showTrialStartedCelebration:t})).on(r.rJ,(e,t)=>({...e,showMrBeastPromoCelebration:t})).on(r.nl,(e,t)=>({...e,trialUsage:{...e.trialUsage,...t}})).on(r.SI,(e,t)=>({...e,isTrialDeepLinkEnabled:t})).on(r.UV,(e,t)=>({...e,shownSeasonalSpiderAnimationForSession:t})).on(r.os,(e,t)=>({...e,triggerSeasonalSpiderAnimation:t}))},0x91e15f37:(e,t,a)=>{"use strict";a.d(t,{CZ:()=>m,Cc:()=>u,Cr:()=>L,G:()=>I,Iv:()=>R,OH:()=>F,S8:()=>N,SW:()=>M,SZ:()=>p,Sk:()=>g,TG:()=>v,VQ:()=>h,W4:()=>_,Wm:()=>l,X:()=>C,bp:()=>o,e:()=>T,ek:()=>d,hq:()=>s,iH:()=>A,ke:()=>O,tV:()=>S,tu:()=>y,wM:()=>E,xc:()=>b,y7:()=>x,zk:()=>k});var n=a(0x1cf0d97e1),r=a(0x1e6074e15);let i=(0,n.Ay)((e,t,a)=>{if(!t)return;let n=(0,r.T)(t,a);return e?.promo?.eligibility[n]});i.meta={name:"selectPromoEligibility",key:"createSelectorSelectPromoEligibility",description:(e,t,a)=>{if(!t)return;let n=(0,r.T)(t,a);return e?.promo?.eligibility[n]}};let o=(0,n.Ay)((e,t,a)=>!!i(e,t,a)?.isFetching);o.meta={name:"selectPromoEligibilityIsFetching",key:"createSelectorSelectPromoEligibilityIsFetching",description:(e,t,a)=>!!i(e,t,a)?.isFetching};let s=(0,n.Ay)((e,t,a)=>!!i(e,t,a)?.isEligible);s.meta={name:"selectPromoIsEligible",key:"createSelectorSelectPromoIsEligible",description:(e,t,a)=>!!i(e,t,a)?.isEligible},(0,n.Ay)((e,t,a)=>i(e,t,a)?.discountPercent||0).meta={name:"selectPromoDiscountPercent",key:"createSelectorSelectPromoDiscountPercent",description:(e,t,a)=>i(e,t,a)?.discountPercent||0},(0,n.Ay)((e,t,a)=>i(e,t,a)?.expirationTimestamp||0).meta={name:"selectPromoDiscountExpirationTS",key:"createSelectorSelectPromoDiscountExpirationTS",description:(e,t,a)=>i(e,t,a)?.expirationTimestamp||0},(0,n.Ay)((e,t,a)=>i(e,t,a)?.discountDuration||0).meta={name:"selectPromoDiscountDuration",key:"createSelectorSelectPromoDiscountDuration",description:(e,t,a)=>i(e,t,a)?.discountDuration||0};let l=(0,n.Ay)(e=>e?.promo?.trialInfo);l.meta={name:"selectPromoTrialInfo",key:"createSelectorSelectPromoTrialInfo",description:e=>e?.promo?.trialInfo};let c=(0,n.Ay)(e=>e?.promo?.featureTrialInfo);c.meta={name:"selectPromoFeatureTrialInfo",key:"createSelectorSelectPromoFeatureTrialInfo",description:e=>e?.promo?.featureTrialInfo};let d=(0,n.Ay)(e=>!!l(e)?.isFetching);d.meta={name:"selectPromoTrialInfoIsFetching",key:"createSelectorSelectPromoTrialInfoIsFetching",description:e=>!!l(e)?.isFetching},(0,n.Ay)(e=>!!c(e)?.isFetching).meta={name:"selectPromoFeatureTrialInfoIsFetching",key:"createSelectorSelectPromoFeatureTrialInfoIsFetching",description:e=>!!c(e)?.isFetching},(0,n.Ay)(e=>c(e)?.data?.status).meta={name:"selectPromoFeatureTrialInfoStatus",key:"createSelectorSelectPromoFeatureTrialInfoStatus",description:e=>c(e)?.data?.status};let u=(0,n.Ay)(e=>!!c(e)?.data?.isActive);u.meta={name:"selectPromoFeatureTrialInfoIsActive",key:"createSelectorSelectPromoFeatureTrialInfoIsActive",description:e=>!!c(e)?.data?.isActive};let m=(0,n.Ay)(e=>c(e)?.data?.type);m.meta={name:"selectPromoFeatureTrialInfoType",key:"createSelectorSelectPromoFeatureTrialInfoType",description:e=>c(e)?.data?.type};let f=(0,n.Ay)(e=>c(e)?.data?.subtype||"");f.meta={name:"selectPromoFeatureTrialInfoSubtype",key:"createSelectorSelectPromoFeatureTrialInfoSubtype",description:e=>c(e)?.data?.subtype||""};let _=(0,n.Ay)(e=>l(e)?.data?.type);_.meta={name:"selectPromoTrialInfoType",key:"createSelectorSelectPromoTrialInfoType",description:e=>l(e)?.data?.type};let p=(0,n.Ay)(e=>l(e)?.data?.subtype||"");p.meta={name:"selectPromoTrialInfoSubtype",key:"createSelectorSelectPromoTrialInfoSubtype",description:e=>l(e)?.data?.subtype||""};let h=(0,n.Ay)(e=>1e3*(l(e)?.data?.dateStart||0));h.meta={name:"selectPromoTrialInfoStartTS",key:"createSelectorSelectPromoTrialInfoStartTS",description:e=>1e3*(l(e)?.data?.dateStart||0)};let g=(0,n.Ay)(e=>1e3*(l(e)?.data?.dateEnd||0));g.meta={name:"selectPromoTrialInfoEndTS",key:"createSelectorSelectPromoTrialInfoEndTS",description:e=>1e3*(l(e)?.data?.dateEnd||0)},(0,n.Ay)(e=>1e3*(c(e)?.data?.dateEnd||0)).meta={name:"selectPromoFeatureTrialInfoEndTS",key:"createSelectorSelectPromoFeatureTrialInfoEndTS",description:e=>1e3*(c(e)?.data?.dateEnd||0)};let A=(0,n.Ay)(e=>!!l(e)?.data?.isActive);A.meta={name:"selectPromoTrialInfoIsActive",key:"createSelectorSelectPromoTrialInfoIsActive",description:e=>!!l(e)?.data?.isActive};let b=(0,n.Ay)(e=>l(e)?.data?.productLevel||"");b.meta={name:"selectPromoTrialInfoExpiredOrActiveProductLevel",key:"createSelectorSelectPromoTrialInfoExpiredOrActiveProductLevel",description:e=>l(e)?.data?.productLevel||""};let y=(0,n.Ay)(e=>A(e)?b(e):"");y.meta={name:"selectPromoTrialInfoActiveProductLevel",key:"createSelectorSelectPromoTrialInfoActiveProductLevel",description:e=>A(e)?b(e):""};let S=(0,n.Ay)(e=>!!l(e)?.data?.hasFutureSwitch);S.meta={name:"selectPromoTrialInfoHasFutureSwitch",key:"createSelectorSelectPromoTrialInfoHasFutureSwitch",description:e=>!!l(e)?.data?.hasFutureSwitch};let E=(0,n.Ay)(e=>l(e)?.data?.nextProductLevel||"");E.meta={name:"selectPromoTrialInfoNextProductLevel",key:"createSelectorSelectPromoTrialInfoNextProductLevel",description:e=>l(e)?.data?.nextProductLevel||""};let k=(0,n.Ay)(e=>l(e)?.data?.daysRemaining||"");k.meta={name:"selectPromoTrialInfoRemainingDays",key:"createSelectorSelectPromoTrialInfoRemainingDays",description:e=>l(e)?.data?.daysRemaining||""};let T=(0,n.Ay)(e=>l(e)?.data?.hasBasePlanAiEntitlements||!1);T.meta={name:"selectPromoTrialInfoHasBasePlanAiEntitlements",key:"createSelectorSelectPromoTrialInfoHasBasePlanAiEntitlements",description:e=>l(e)?.data?.hasBasePlanAiEntitlements||!1};let I=(0,n.Ay)((e,t,a)=>A(e)&&_(e)===t&&(!a||p(e)===a));I.meta={name:"isTrialActiveForType",key:"createSelectorIsTrialActiveForType",description:(e,t,a)=>A(e)&&_(e)===t&&(!a||p(e)===a)};let w=(0,n.Ay)(e=>e?.promo?.trialUsage);w.meta={name:"selectPromoTriaUsage",key:"createSelectorSelectPromoTriaUsage",description:e=>e?.promo?.trialUsage};let C=(0,n.Ay)(e=>w(e)?.isFetching);C.meta={name:"selectPromoTriaUsageIsFetching",key:"createSelectorSelectPromoTriaUsageIsFetching",description:e=>w(e)?.isFetching};let v=(0,n.Ay)(e=>w(e)?.data);v.meta={name:"selectPromoTriaUsageData",key:"createSelectorSelectPromoTriaUsageData",description:e=>w(e)?.data};let x=(0,n.Ay)(e=>{let t=l(e)?.data?.daysRemaining;return t||(t=c(e)?.data?.daysRemaining),t||0});x.meta={name:"selectPromoTrialDaysLeft",key:"createSelectorSelectPromoTrialDaysLeft",description:e=>{let t=l(e)?.data?.daysRemaining;return t||(t=c(e)?.data?.daysRemaining),t||0}};let R=(0,n.Ay)(e=>7>=x(e));R.meta={name:"isPromoTrialLastWeek",key:"createSelectorIsPromoTrialLastWeek",description:e=>7>=x(e)};let O=(0,n.Ay)(e=>1>=x(e));O.meta={name:"isPromoTrialLastDay",key:"createSelectorIsPromoTrialLastDay",description:e=>1>=x(e)};let N=(0,n.Ay)(e=>!!e.promo.isTrialDeepLinkEnabled);N.meta={name:"getIsTrialDeepLinkEnabled",key:"createSelectorGetIsTrialDeepLinkEnabled",description:e=>!!e.promo.isTrialDeepLinkEnabled};let D=(0,n.Ay)(e=>{let t=A(e),a=_(e);if(t)return a;let n=u(e),r=m(e);return n?r:null});D.meta={name:"getActiveTrialType",key:"createSelectorGetActiveTrialType",description:e=>{let t=A(e),a=_(e);if(t)return a;let n=u(e),r=m(e);return n?r:null}},(0,n.Ay)(e=>{let t=A(e),a=p(e);if(t)return a;let n=u(e),r=f(e);return n?r:null}).meta={name:"getActiveTrialSubtype",key:"createSelectorGetActiveTrialSubtype",description:e=>{let t=A(e),a=p(e);if(t)return a;let n=u(e),r=f(e);return n?r:null}};let L=(0,n.Ay)(e=>!!D(e));L.meta={name:"getIsOnAnyActiveTrial",key:"createSelectorGetIsOnAnyActiveTrial",description:e=>!!D(e)};let M=(0,n.Ay)(e=>!!e.promo.shownSeasonalSpiderAnimationForSession);M.meta={name:"getShownSeasonalSpiderAnimationForSession",key:"createSelectorGetShownSeasonalSpiderAnimationForSession",description:e=>!!e.promo.shownSeasonalSpiderAnimationForSession};let F=(0,n.Ay)(e=>!!e.promo.triggerSeasonalSpiderAnimation);F.meta={name:"getTriggerSeasonalSpiderAnimation",key:"createSelectorGetTriggerSeasonalSpiderAnimation",description:e=>!!e.promo.triggerSeasonalSpiderAnimation}},0x431513f8:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(0xe874a88a),r=a(0x1f4c3a2d4),i=a(0xa1832ae4),o=a(0x1ec68d6a3),s=a(0x10079cc7),l=a(0x11c82607b),c=a(0x1f8f05a48),d=a(0x3ea72b02),u=a(0x1e191b98a),m=a(0x1ee439e69);let f=(0,l.Ay)("Fetch promo campaign eligibility",(e,t,{campaignType:a,campaignSubType:l,context:c,reason:u})=>{let f=(0,m.H7)(t()),_=(0,i.tc)(f),p=(0,i.KJ)(f),h=[s.ZO.PlusFeatureTrial,s.ZO.SlackFirstCrmTrial,s.ZO.NewYearPromo26];return _||p&&h.includes(a)?(e((0,d.zg)({campaignType:a,campaignSubType:l,isFetching:!0})),e((0,r.V)({campaignType:a,campaignSubType:l,context:c,reason:u})).then(t=>{let{isEligible:n,discountPercent:r,expirationTimestamp:i,discountDuration:o}=t;return e((0,d.xt)({campaignType:a,campaignSubType:l,isEligible:n,discountPercent:r,expirationTimestamp:i,discountDuration:o})),e((0,d.zg)({campaignType:a,campaignSubType:l,isFetching:!1})),t}).catch(n=>((0,o.default)({state:t()}).error(n.message),e((0,d.zg)({campaignType:a,campaignSubType:l,isFetching:!1})),n))):n.S.resolve({isEligible:!1})});f.meta={name:"fetchPromoEligibility",key:"createThunkFetchPromoEligibility",description:"Fetch promo campaign eligibility"};let _=(0,c.Ay)(f,u.C,!0,["context","reason"])},0x1e191b98a:(e,t,a)=>{"use strict";a.d(t,{C:()=>n,y:()=>r});let n=3e5,r={shareChannelPaywall:"share_channel_paywall",sharedChannelsIntro:"shared_channels_intro",trialStart:"trial_start",limitedHistoryBanner:"limited_history_banner",slackConnectHub:"slack_connect_hub",slackConnectHubHeader:"slack_connect_hub_header",slackConnectDMBanner:"slack_connect_dm_banner",addMoreItemsLink:"add_more_items_link",connectionsChannelSection:"connections_channel_section",paidBenefitsPage:"paid_benefits_page",adminBillingOverview:"admin_billing_overview",channelInviteModal:"channel_invite_modal",huddleChannelJoinMsgText:"huddle_channel_join_msg_text",fileStorageWarning:"file_storage_warning",huddleInviteModal:"huddle_invite_modal",canvasPageSyntheticView:"canvas_page_synthetic_view",workflowBuilderFreemiumBanner:"workflow_builder_freemium_banner",workflowPublishButton:"workflow_publish_button",workflowBuilderSidebar:"workflow_builder_sidebar"}},0x15bbd15e5:(e,t,a)=>{"use strict";a.d(t,{J1:()=>r,NA:()=>i,fw:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Add new versions to the activity history");r.meta={name:"addActivityHistory",key:"createActionAddActivityHistory",description:"Add new versions to the activity history"};let i=(0,n.Ay)("Clear the versions from activity history");i.meta={name:"clearActivityHistory",key:"createActionClearActivityHistory",description:"Clear the versions from activity history"};let o=(0,n.Ay)("Set the selected version id to the activity history");o.meta={name:"setSelectedVersionId",key:"createActionSetSelectedVersionId",description:"Set the selected version id to the activity history"}},0x217a09a00:(e,t,a)=>{"use strict";a.d(t,{Mk:()=>s,i3:()=>d,o:()=>c,xu:()=>l,yt:()=>o});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0x19895585a);let o=(0,r.Ay)((e,t)=>{let a=t===i.N2?"main":t;return e.quipActivityHistory[a]||n.t0});o.meta={name:"getActivityHistory",key:"createSelectorGetActivityHistory",description:(e,t)=>{let a=t===i.N2?"main":t;return e.quipActivityHistory[a]||n.t0}};let s=(0,r.Ay)((e,t,a)=>{if(!a)return;let n=t===i.N2?"main":t;return e.quipActivityHistory[n]?.versions?.find(e=>a===e.versionId)});s.meta={name:"getActivityHistoryVersionById",key:"createSelectorGetActivityHistoryVersionById",description:(e,t,a)=>{if(!a)return;let n=t===i.N2?"main":t;return e.quipActivityHistory[n]?.versions?.find(e=>a===e.versionId)}};let l=(0,r.Ay)((e,t)=>{let a=t===i.N2?"main":t,n=e.quipActivityHistory[a];if(!n)return;let{versions:r}=n;return r?.length?r[0]:void 0});l.meta={name:"getLatestActivityHistoryVersion",key:"createSelectorGetLatestActivityHistoryVersion",description:(e,t)=>{let a=t===i.N2?"main":t,n=e.quipActivityHistory[a];if(!n)return;let{versions:r}=n;return r?.length?r[0]:void 0}};let c=(0,r.Ay)((e,t)=>{let a=t===i.N2?"main":t;return e.quipActivityHistory?.[a]?.selectedVersionId});c.meta={name:"getSelectedActivityHistoryVersionId",key:"createSelectorGetSelectedActivityHistoryVersionId",description:(e,t)=>{let a=t===i.N2?"main":t;return e.quipActivityHistory?.[a]?.selectedVersionId}};let d=(0,r.Ay)((e,t)=>{let a=c(e,t);return s(e,t,a)});d.meta={name:"getSelectedCanvasHistoryVersion",key:"createSelectorGetSelectedCanvasHistoryVersion",description:(e,t)=>{let a=c(e,t);return s(e,t,a)}}},0xad2442ff:(e,t,a)=>{"use strict";a.d(t,{C:()=>i,x:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Store a new snippet for a Quip comment thread");r.meta={name:"upsertSnippet",key:"createActionUpsertSnippet",description:"Store a new snippet for a Quip comment thread"};let i=(0,n.Ay)("Remove a stored snippet for a Quip comment thread");i.meta={name:"removeSnippet",key:"createActionRemoveSnippet",description:"Remove a stored snippet for a Quip comment thread"}},0x37fb4286:(e,t,a)=>{"use strict";a.d(t,{qJ:()=>n.qJ});var n=a(0x235ad3721)},0x235ad3721:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,I$:()=>c,qJ:()=>o});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"quipCommentThreadIds",persistenceEnabled:!0}),{addObjects:o,removeObjects:s,clearObjects:l}=r,{getObjectById:c}=i,d=n},0x8976310b:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var n=a(0x1cf0d97e1),r=a(0x235ad3721);let i=(0,n.Ay)((e,t)=>(0,r.I$)(e,t));i.meta={name:"getThreadInfoForQuipCommentThreadId",key:"createSelectorGetThreadInfoForQuipCommentThreadId",description:(e,t)=>(0,r.I$)(e,t)}},0x15795982e:(e,t,a)=>{"use strict";a.d(t,{C:()=>n});let n=(0,a(0x1cf0d97e1).Ay)((e,t)=>e?.quipTempId?.[t]);n.meta={name:"getFileIdForTempId",key:"createSelectorGetFileIdForTempId",description:(e,t)=>e?.quipTempId?.[t]}},0x9cdedc15:(e,t,a)=>{"use strict";a.d(t,{$M:()=>s,Ay:()=>u,I$:()=>d,cn:()=>o,iJ:()=>c});var n=a(0xcea97afd),r=a(0x1bed827f4);let{reducer:i,actions:{addObjects:o,removeObjects:s,clearObjects:l,upsertObjects:c},selectors:{getObjectById:d}}=(0,n.A)({storeKey:"quipThreadIds",persistenceEnabled:!0},{fetchObjects:r.A}),u=i},0x2291c5d37:(e,t,a)=>{"use strict";a.d(t,{C:()=>i,X:()=>o});var n=a(0xbe0b63ff),r=a(0x1cf0d97e1);let i=a(0x9cdedc15).I$,o=(0,r.Ay)((e,t,a)=>{let r=i(e,t,a);return(0,n.uz)(r)?r.quipThreadId:null});o.meta={name:"getQuipThreadIdByFileId",key:"createSelectorGetQuipThreadIdByFileId",description:(e,t,a)=>{let r=i(e,t,a);return(0,n.uz)(r)?r.quipThreadId:null}}},0x1bed827f4:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(0x1b5a8db85);let r=(0,a(0x11c82607b).Ay)("Fetch quip IDs and re-map",(e,t,{ids:a,reason:r="fetch-quip-ids"})=>e((0,n.d)({fileIds:a,reason:r})).then(({lookup:e})=>Object.entries(e).map(([e,t])=>({id:e,quipThreadId:t}))));r.meta={name:"fetchQuipIds",key:"createThunkFetchQuipIds",description:"Fetch quip IDs and re-map"};let i=r},0x3fb00b9a:(e,t,a)=>{"use strict";a.d(t,{A:()=>c,a:()=>s});var n=a(0x11c82607b),r=a(0x9cdedc15),i=a(0x2291c5d37),o=a(0x1bed827f4);let s=(0,n.Ay)("Fetch the Quip IDs for given file IDs and upsert",async(e,t,{fileIds:a,reason:n="get-and-upsert-quip-thread-ids"})=>{let s=t(),l=[],c=[];if(a.forEach(e=>{let t=(0,i.X)(s,e,!1);t?c.push(t):l.push(e)}),!l.length)return c;let d=await e((0,o.A)({ids:l,reason:n})),u=d.map(e=>e.quipThreadId);if(u.length!==l.length)throw Error("At least one Quip thread ID not found in response");return e((0,r.iJ)({objects:d})),c.concat(u)});s.meta={name:"getAndUpsertQuipThreadIds",key:"createThunkGetAndUpsertQuipThreadIds",description:"Fetch the Quip IDs for given file IDs and upsert"};let l=(0,n.Ay)("Fetch the Quip ID for a given file ID and upsert",async(e,t,{fileId:a,reason:n="get-and-upsert-quip-thread-id"})=>(await e(s({fileIds:[a],reason:n})))[0]);l.meta={name:"getAndUpsertQuipThreadId",key:"createThunkGetAndUpsertQuipThreadId",description:"Fetch the Quip ID for a given file ID and upsert"};let c=l},0x1060f0c84:(e,t,a)=>{"use strict";a.d(t,{D1:()=>o,bJ:()=>r,k4:()=>i});var n=a(0x1cf0d97e1);let r=(0,n.Ay)((e,t)=>{let a=e?.quipTitle;return a?.[t]?.titleString});r.meta={name:"lastQuipTitleString",key:"createSelectorLastQuipTitleString",description:(e,t)=>{let a=e?.quipTitle;return a?.[t]?.titleString}};let i=(0,n.Ay)((e,t)=>{let a=e?.quipTitle;return a?.[t]?.titleBlocks});i.meta={name:"lastQuipTitleBlocks",key:"createSelectorLastQuipTitleBlocks",description:(e,t)=>{let a=e?.quipTitle;return a?.[t]?.titleBlocks}};let o=(0,n.Ay)((e,t)=>{let a=e?.quipTitle;return a?.[t]?.isEmpty});o.meta={name:"lastQuipTitleEmpty",key:"createSelectorLastQuipTitleEmpty",description:(e,t)=>{let a=e?.quipTitle;return a?.[t]?.isEmpty}}},0x1d6635b8c:(e,t,a)=>{"use strict";a.d(t,{Al:()=>s,Ay:()=>c,Tp:()=>o,hB:()=>l});var n=a(0x107594e0c);let toReaction=e=>({...e,baseName:e.name?.split("::")[0]}),{reducer:r,actions:i,selectors:o}=(0,n.A)({storeKey:"reactions",persistenceEnabled:!0},{transform:e=>{let{key:t,reactions:a}=e;return{id:t,object:a?.map(toReaction)}}}),{addObjects:s,removeObjects:l}=i,c=r},0x1beeaa71e:(e,t,a)=>{"use strict";a.d(t,{Pe:()=>l,S0:()=>getMostPopularReactionForKey,bk:()=>getReactionsForKey,pK:()=>getTotalReactionCountForKey});var n=a(0x1e2051844),r=a(0x2047dec93),i=a(0x7a13daf2),o=a(0x1cf0d97e1);let{getObjectById:s}=a(0x1d6635b8c).Tp,getReactionsForKey=(e,t)=>s(e,t),l=(0,o.Ay)((e,t,a)=>(0,n.A)(getReactionsForKey(e,t)||[],e=>e.name===a));l.meta={name:"getReactionsForKeyAndName",key:"createSelectorGetReactionsForKeyAndName",description:(e,t,a)=>(0,n.A)(getReactionsForKey(e,t)||[],e=>e.name===a)};let getTotalReactionCountForKey=(e,t)=>(0,r.A)(getReactionsForKey(e,t),"count"),getMostPopularReactionForKey=(e,t)=>(0,i.A)(getReactionsForKey(e,t),"count")},0x24beb32cf:(e,t,a)=>{"use strict";a.d(t,{Hg:()=>i,aR:()=>r,j3:()=>o});var n=a(0xcf658893);a(0x139951ee1);let r=(0,n.Ay)("Add records to the store by layoutType");r.meta={name:"upsertLayoutTypeRecords",key:"createActionUpsertLayoutTypeRecords",description:"Add records to the store by layoutType"};let i=(0,n.Ay)("Delete all locally cached records by Salesforce org id");i.meta={name:"deleteCachedRecordsBySalesforceOrgId",key:"createActionDeleteCachedRecordsBySalesforceOrgId",description:"Delete all locally cached records by Salesforce org id"};let o=(0,n.Ay)("Set list of objects that are channelable");o.meta={name:"setRecordChannelAllowedObjects",key:"createActionSetRecordChannelAllowedObjects",description:"Set list of objects that are channelable"}},0x204000df3:(e,t,a)=>{"use strict";a.d(t,{CK:()=>y,D1:()=>markObjectsAsStale,Eh:()=>isUnknownRecord,F3:()=>fetchAndUpsertKnownRecord,FB:()=>g,H9:()=>b,Mo:()=>A,S8:()=>E,Ss:()=>h,Yo:()=>markObjectsAsStaleForAllLayoutTypes,_s:()=>isExistentRecord,ez:()=>maybeRefetch,ff:()=>S,pV:()=>makeNonExistentRecord,x6:()=>isNonExistentRecord});var n=a(0xca924ee1),r=a(0xe874a88a),i=a(0xbe0b63ff),o=a(0x1eaf25708),s=a(0x1a8cc04e1),l=a(0x15f4f83cf),c=a(0x11c82607b),d=a(0x1266f1359),u=a(0x24beb32cf),m=a(0xf22f9a18),f=a(0x139951ee1);function makeNonExistentRecord(e,t=f.J1.RecordNotFound){return{...(0,i.WQ)(e),error:t}}function makeUnsupportedRecord(e,t=f.J1.UnsupportedObject,a=""){return{...(0,i.WQ)(e),error:t,salesforceUrl:a}}let _=(0,c.Ay)("Fetches record details",async(e,t,{record:a,layoutType:n,fallbackLayoutType:r})=>(0,o.f)(t())?{record:makeNonExistentRecord(a,f.J1.ClientKnownRestrictedUser)}:e((0,m.X)({record:a,reason:"record-detail-conditional-fetch",layoutType:n,fallbackLayoutType:r,mode:"Edit"})));async function fetchRecordDetailForTeamId(e,t,a,n){try{return(await (0,d.Qw)(e,_({record:t,reason:"record-detail-conditional-fetch",layoutType:a,fallbackLayoutType:n,mode:"Edit"}))).record}catch(e){if(e.name===f.J1.UnsupportedObject)return makeUnsupportedRecord(t,e.name,e.data?.salesforce_url);return makeNonExistentRecord(t,e.name)}}function fetchRecordDetailsForTeamId(e,t,a,n){return r.S.map(t,t=>fetchRecordDetailForTeamId(e,t,a,n))}function upsertRecords(e,t,a,n){(0,d.Qw)(e,(0,u.aR)(t.map(e=>({id:e.id,layoutType:a,fallbackLayoutType:n,record:e}))))}_.meta={name:"fetchRecordDetailInternal",key:"createThunkFetchRecordDetailInternal",description:"Fetches record details"};let fetchAndUpsertKnownRecord=(e,t,a,n)=>fetchRecordDetailForTeamId(e,t,a,n).then(t=>(upsertRecords(e,[t],a,n),t)),p=(0,n.A)((e,t)=>new s.Ay({storeKey:"recordDetails",maxAge:()=>600,metricsName:"records",fetch:(a,n)=>fetchRecordDetailsForTeamId(a,n,e,t).then(n=>upsertRecords(a,n,e,t))})),h=(0,n.A)((e,t)=>new l.Ay({fetch:(a,n)=>fetchRecordDetailsForTeamId(a,n,e,t),upsertNonExistent:(a,n)=>upsertRecords(a,n,e,t),upsertKnown:(a,n)=>{upsertRecords(a,n,e,t);let r=n.filter(i.uz).map(e=>e.id);p(e,t).markObjectsAsFresh(a,r)}})),maybeRefetch=(e,t,a=f.p5.RecordCrud,n=f.Xx.Full)=>p(a,n).maybeRefetch(e,t),markObjectsAsStale=(e,t,a=f.p5.RecordCrud,n=f.Xx.Full)=>p(a,n).markObjectsAsStale(e,t),markObjectsAsStaleForAllLayoutTypes=(e,t)=>{Object.keys(f.p5).forEach((a,n)=>Object.keys(f.Xx).forEach((n,r)=>p(a,n).markObjectsAsStale(e,t)))};function isUnknownRecord(e){return(0,i.mX)(e)}function isNonExistentRecord(e){return(0,i.lv)(e)}function isExistentRecord(e){return(0,i.uz)(e)}function createRecordErrorHelper(e){return t=>isNonExistentRecord(t)&&t?.error===e}let g=createRecordErrorHelper(f.J1.RecordNotFound),A=createRecordErrorHelper(f.J1.TokenNotFound),b=createRecordErrorHelper(f.J1.InsufficientRecordAccess),y=createRecordErrorHelper(f.J1.SalesHomeUserConfigNotFound),S=createRecordErrorHelper(f.J1.UnsupportedObject),E=createRecordErrorHelper(f.J1.ClientKnownRestrictedUser)},0x14236acae:(e,t,a)=>{"use strict";a.d(t,{Of:()=>u,P9:()=>f,PQ:()=>d,VY:()=>m});var n=a(0x188544c76),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0x1bc4b3ad8),s=a(0x204000df3),l=a(0x139951ee1);let c=Object.freeze((0,s.pV)("INVALID_RECORD_ID"));function getRecordDetailByIdSelector(e,t,a=!0,n=l.p5.RecordCrud,r=l.Xx.Full){let o=(0,i.JY)(e)||"",d=t&&e.recordDetails?.records?.[t]?.[n]?.[r];return d?((0,s.ez)(o,t,n,r),d):t&&a?(0,s.Ss)(n,r).fetchObjectWithId(o,t):a?c:null}let d=(0,r.Ay)(getRecordDetailByIdSelector);d.meta={name:"getRecordDetailById",key:"createSelectorGetRecordDetailById",description:getRecordDetailByIdSelector};let u=(0,o.F)(e=>e.recordDetails.records,(e,t)=>t,(e,t)=>Object.keys(e).filter(e=>(0,n.D)(e).salesforceOrgId===t));function getLastRecordUpsertSelector(e,t,a=l.p5.RecordCrud,n=l.Xx.Full){return t?e.recordDetails?.lastRecordUpserts?.[t]?.[a]?.[n]:void 0}let m=(0,r.Ay)(getLastRecordUpsertSelector);m.meta={name:"getLastRecordUpsert",key:"createSelectorGetLastRecordUpsert",description:getLastRecordUpsertSelector};let f=(0,r.Ay)(e=>e.recordDetails.recordChannelAllowedObjects);f.meta={name:"getRecordChannelAllowedObjects",key:"createSelectorGetRecordChannelAllowedObjects",description:e=>e.recordDetails.recordChannelAllowedObjects}},0xf22f9a18:(e,t,a)=>{"use strict";a.d(t,{X:()=>s});var n=a(0x96ecddc8),r=a(0xc0b7c558),i=a(0x188544c76),o=a(0x1a9a80bc);function getChildRelationshipsFromRecordId(e){let t=(0,r.f)(e)?(0,i.D)(e).rawRecordId:e;switch((0,o.ki)(t)){case o.Vj.EVENT:return["event_attendees"];case o.Vj.VIDEO_CALL:return["video_call_participants"];default:return}}let s=(0,a(0x11c82607b).Ay)("Wrapper around getRecordLayoutDetails to optionally send childRelationships arg to fetcher",async(e,t,{record:a,reason:r,layoutType:i,fallbackLayoutType:o,mode:s})=>{let l=getChildRelationshipsFromRecordId(a);return e((0,n.H)({record:a,reason:r,layoutType:i,fallbackLayoutType:o,mode:s,childRelationships:l}))});s.meta={name:"fetchRecordLayoutDetailsWrapper",key:"createThunkFetchRecordLayoutDetailsWrapper",description:"Wrapper around getRecordLayoutDetails to optionally send childRelationships arg to fetcher"}},0x139951ee1:(e,t,a)=>{"use strict";a.d(t,{J1:()=>n,Xx:()=>s,p5:()=>o});let n={...a(0x96ecddc8).c,ClientKnownRestrictedUser:"client_restricted_user"};var r,i,o=((r={}).RecordCrud="RecordCrud",r.UrlUnfurling="UrlUnfurling",r.Compact="Compact",r),s=((i={}).Full="Full",i.Compact="Compact",i)},0xa43abd4a:(e,t,a)=>{"use strict";a.d(t,{FW:()=>c,LS:()=>r,N3:()=>s,Uu:()=>d,Zk:()=>i,pI:()=>o,tF:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Set the user's currently selected org id (f.k.a. default org)");r.meta={name:"setCurrentOrgId",key:"createActionSetCurrentOrgId",description:"Set the user's currently selected org id (f.k.a. default org)"};let i=(0,n.Ay)("Set Salesforce organizations received from sfdc.integration.listOrgs");i.meta={name:"setOrganizations",key:"createActionSetOrganizations",description:"Set Salesforce organizations received from sfdc.integration.listOrgs"};let o=(0,n.Ay)("Set the status of fetching Salesforce organizations received from sfdc.integration.listOrgs");o.meta={name:"setSalesforceUserOrgStatus",key:"createActionSetSalesforceUserOrgStatus",description:"Set the status of fetching Salesforce organizations received from sfdc.integration.listOrgs"};let s=(0,n.Ay)("Set auth:ok for a Salesforce org");s.meta={name:"setOrgAuthOk",key:"createActionSetOrgAuthOk",description:"Set auth:ok for a Salesforce org"};let l=(0,n.Ay)("Set auth:none for a Salesforce org");l.meta={name:"setOrgAuthNone",key:"createActionSetOrgAuthNone",description:"Set auth:none for a Salesforce org"};let c=(0,n.Ay)("Adds or updates an existing Salesforce organization");c.meta={name:"upsertOrganization",key:"createActionUpsertOrganization",description:"Adds or updates an existing Salesforce organization"};let d=(0,n.Ay)("Removes an existing Salesforce organization");d.meta={name:"removeOrganization",key:"createActionRemoveOrganization",description:"Removes an existing Salesforce organization"}},0x8ed8ca46:(e,t,a)=>{"use strict";a.d(t,{bR:()=>A,mO:()=>f,GQ:()=>s,AQ:()=>g,mr:()=>d,Fs:()=>_,D2:()=>S,nG:()=>E,m6:()=>b,gD:()=>k,h7:()=>y,Ag:()=>l,Zt:()=>m,tP:()=>u,Ix:()=>c,tR:()=>p});var n=a(0xc9c97240),r=a(0x1cf0d97e1),i=a(0x1fc9d1580);let isSalesElevateEnabledOrg=e=>!0===e.can_access_elevate_features;var o=a(0x1d6d2d511);let s=(0,r.Ay)(e=>e.salesforceConnections.currentUserOrgId);s.meta={name:"selectCurrentSalesforceOrgId",key:"createSelectorSelectCurrentSalesforceOrgId",description:e=>e.salesforceConnections.currentUserOrgId};let l=(0,r.Ay)(e=>e.salesforceConnections.organizations);l.meta={name:"selectSalesforceOrganizations",key:"createSelectorSelectSalesforceOrganizations",description:e=>e.salesforceConnections.organizations};let c=(0,r.Ay)(e=>e.salesforceConnections.status);c.meta={name:"selectSalesforceOrganizationsStatus",key:"createSelectorSelectSalesforceOrganizationsStatus",description:e=>e.salesforceConnections.status};let d=(0,r.Ay)(e=>e.salesforceConnections.isInitialSalesforceOrgsFetchComplete);d.meta={name:"selectIsInitialSalesforceOrgsFetchComplete",key:"createSelectorSelectIsInitialSalesforceOrgsFetchComplete",description:e=>e.salesforceConnections.isInitialSalesforceOrgsFetchComplete};let u=(0,n.Mz)(l,o.N),m=(0,n.Mz)(l,e=>e.filter(({auth:e,is_global_login_enabled:t})=>("none"===e||"auto_auth_error"===e)&&t)),f=(0,n.Mz)(l,i.SX),_=(0,n.Mz)(f,e=>!!e.length),p=(0,n.Mz)(f,e=>e.length>1),h=(0,n.Mz)(l,e=>e.filter(isSalesElevateEnabledOrg)),g=(0,n.Mz)(h,e=>e.length>0),A=(0,n.Mz)(h,i.SX),b=(0,n.Mz)([l,(e,t)=>t],(e,t)=>e.find(e=>e.salesforce_org_id===t)),y=(0,n.Mz)(b,e=>e?.name),S=(0,n.Mz)(b,i.Bd),E=(0,n.Mz)(b,i.nY),k=(0,n.Mz)(b,e=>e?.instance_url)},0x10e9b6ae9:(e,t,a)=>{"use strict";a.d(t,{NJ:()=>u,SM:()=>m,lF:()=>d});var n=a(0x197194778),r=a(0x11c82607b),i=a(0x1f8f05a48),o=a(0xa43abd4a),s=a(0x8ed8ca46),l=a(0xd7f082d0),c=a(0x1fc9d1580);let d=(0,r.Ay)("Fetches a list of Salesforce organizations from sfdc.integration.listOrgs",async(e,t,{reason:a="fetch-salesforce-orgs",setCurrentOrgId:r}={})=>{let i=await e((0,n.N)({reason:a}));if(r){let a=i.current_salesforce_org_id;a||(0,s.GQ)(t())||(a=i.salesforce_orgs?.find(c.Bd)?.salesforce_org_id),a&&e((0,l.r)({setCurrentInApi:!1,salesforceOrgId:a}))}return i.salesforce_orgs});d.meta={name:"fetchSalesforceOrgs",key:"createThunkFetchSalesforceOrgs",description:"Fetches a list of Salesforce organizations from sfdc.integration.listOrgs"};let u=(0,r.Ay)("Fetches a list of Salesforce organizations from sfdc.integration.listOrgs and puts them to the store",async(e,t,{reason:a,setCurrentOrgId:n})=>{let r=await e(d({reason:a,setCurrentOrgId:n}));return e((0,o.Zk)(r)),r});u.meta={name:"fetchAndSetSalesforceUserOrgs",key:"createThunkFetchAndSetSalesforceUserOrgs",description:"Fetches a list of Salesforce organizations from sfdc.integration.listOrgs and puts them to the store"};let m=(0,i.Ay)(u,3e5,!0,["reason"],!1)},0xd7f082d0:(e,t,a)=>{"use strict";a.d(t,{r:()=>c});var n=a(0x91728dda),r=a(0xbcef9607),i=a(0x11c82607b),o=a(0xbd196b81),s=a(0xa43abd4a),l=a(0x8ed8ca46);let c=(0,i.Ay)("Sets the user's currently selected org id",async(e,t,{salesforceOrgId:a,setCurrentInApi:i=!0})=>{a&&i&&e((0,r.x)({reason:"set-current-salesforce-org-id",salesforceOrgId:a})),e((0,s.LS)(a));let c=(0,l.m6)(t(),a||"");c?.can_access_elevate_features&&(0,n.hx)(t())&&await e((0,o.T)({salesforceOrgId:a,setDefaultInApi:i}))});c.meta={name:"setCurrentSalesforceUserOrgId",key:"createThunkSetCurrentSalesforceUserOrgId",description:"Sets the user's currently selected org id"}},0x1fc9d1580:(e,t,a)=>{"use strict";a.d(t,{Bd:()=>isUserOrgConnected,SX:()=>getConnectedUserOrgs,nY:()=>isUserOrgDisconnected});let isUserOrgConnected=e=>e?.auth==="ok"||e?.auth==="error",isUserOrgDisconnected=e=>e?.auth==="none",getConnectedUserOrgs=e=>e.filter(isUserOrgConnected)},0x1d6d2d511:(e,t,a)=>{"use strict";a.d(t,{N:()=>getUserOrgsAvailableToConnectV2,e:()=>getUserOrgsAvailableToConnect});let getUserOrgsAvailableToConnect=e=>e.filter(({auth:e})=>"none"===e),getUserOrgsAvailableToConnectV2=e=>e.filter(({auth:e})=>"none"===e||"auto_auth_error"===e)},0x5294713e:(e,t,a)=>{"use strict";a.d(t,{CD:()=>o,En:()=>s,V5:()=>r,me:()=>i,tt:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Set the Salesforce features in redux.");r.meta={name:"setSalesforceFeatures",key:"createActionSetSalesforceFeatures",description:"Set the Salesforce features in redux."};let i=(0,n.Ay)("Set whether Sales Home is enabled for the user.");i.meta={name:"setLobSalesHomeEnabledForUser",key:"createActionSetLobSalesHomeEnabledForUser",description:"Set whether Sales Home is enabled for the user."};let o=(0,n.Ay)("Set whether Sales Home is enabled for the team.");o.meta={name:"setLobSalesHomeEnabledForTeam",key:"createActionSetLobSalesHomeEnabledForTeam",description:"Set whether Sales Home is enabled for the team."};let s=(0,n.Ay)("Set whether SFDC auto slack is enabled.");s.meta={name:"setIsSfdcAutoSlack",key:"createActionSetIsSfdcAutoSlack",description:"Set whether SFDC auto slack is enabled."};let l=(0,n.Ay)("Set whether the team is configured as Slack First CRM.");l.meta={name:"setIsSlackFirstCrm",key:"createActionSetIsSlackFirstCrm",description:"Set whether the team is configured as Slack First CRM."}},0x165bb8fb3:(e,t,a)=>{"use strict";a.d(t,{H7:()=>s,am:()=>i,wq:()=>o,yF:()=>r});var n=a(0x1cf0d97e1);(0,n.Ay)(e=>e.salesforceFeatures).meta={name:"getSalesforceFeatures",key:"createSelectorGetSalesforceFeatures",description:e=>e.salesforceFeatures};let r=(0,n.Ay)(e=>e.salesforceFeatures.lob_sales_home_enabled_for_user);r.meta={name:"isLobSalesHomeEnabledForUser",key:"createSelectorIsLobSalesHomeEnabledForUser",description:e=>e.salesforceFeatures.lob_sales_home_enabled_for_user};let i=(0,n.Ay)(e=>e.salesforceFeatures.lob_sales_home_enabled_for_team);i.meta={name:"isLobSalesHomeEnabledForTeam",key:"createSelectorIsLobSalesHomeEnabledForTeam",description:e=>e.salesforceFeatures.lob_sales_home_enabled_for_team};let o=(0,n.Ay)(e=>e.salesforceFeatures.is_sfdc_auto_slack);o.meta={name:"isSfdcAutoSlack",key:"createSelectorIsSfdcAutoSlack",description:e=>e.salesforceFeatures.is_sfdc_auto_slack};let s=(0,n.Ay)(e=>e.salesforceFeatures.is_slack_first_crm);s.meta={name:"isSlackFirstCrm",key:"createSelectorIsSlackFirstCrm",description:e=>e.salesforceFeatures.is_slack_first_crm}},0x1cfd855a2:(e,t,a)=>{"use strict";a.d(t,{GQ:()=>f,K2:()=>c,MB:()=>m,Q3:()=>u,SZ:()=>l,V:()=>s,eW:()=>d,nP:()=>o,rU:()=>i,s1:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set record search results in the store");r.meta={name:"setRecordSearchResults",key:"createActionSetRecordSearchResults",description:"Set record search results in the store"};let i=(0,n.Ay)("Upsert record search results to the store");i.meta={name:"upsertRecordSearchResults",key:"createActionUpsertRecordSearchResults",description:"Upsert record search results to the store"};let o=(0,n.Ay)("Set currently active full search record ids");o.meta={name:"setFullSearchActiveRecordIds",key:"createActionSetFullSearchActiveRecordIds",description:"Set currently active full search record ids"};let s=(0,n.Ay)("Upsert recently used record options for search");s.meta={name:"upsertRecentRecordId",key:"createActionUpsertRecentRecordId",description:"Upsert recently used record options for search"};let l=(0,n.Ay)("Set whether there are more search results than were returned from the API");l.meta={name:"setSearchHasMoreResults",key:"createActionSetSearchHasMoreResults",description:"Set whether there are more search results than were returned from the API"};let c=(0,n.Ay)("Set whether we are fetching relevant record options for an org");c.meta={name:"setIsFetchingRelevantRecordOptionsForOrg",key:"createActionSetIsFetchingRelevantRecordOptionsForOrg",description:"Set whether we are fetching relevant record options for an org"};let d=(0,n.Ay)("Set whether we are fetching all searchable record options for an org");d.meta={name:"setIsFetchingAllRecordOptionsForOrg",key:"createActionSetIsFetchingAllRecordOptionsForOrg",description:"Set whether we are fetching all searchable record options for an org"};let u=(0,n.Ay)("Set relevant record options for an org");u.meta={name:"setRelevantRecordOptionsForOrg",key:"createActionSetRelevantRecordOptionsForOrg",description:"Set relevant record options for an org"};let m=(0,n.Ay)("Set all searchable record options for an org");m.meta={name:"setAllRecordOptionsForOrg",key:"createActionSetAllRecordOptionsForOrg",description:"Set all searchable record options for an org"};let f=(0,n.Ay)("Clear all cached record options for an org");f.meta={name:"clearRecordOptionsForOrg",key:"createActionClearRecordOptionsForOrg",description:"Clear all cached record options for an org"}},0xa8e12280:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});let n=100},0xfcb945dc:(e,t,a)=>{"use strict";a.d(t,{$z:()=>h,Ai:()=>d,B5:()=>s,CJ:()=>c,Cb:()=>f,In:()=>r,Xd:()=>i,YF:()=>p,fk:()=>l,mC:()=>m,tU:()=>o,v2:()=>_,yO:()=>u});var n=a(0xcf658893);let r=(0,n.Ay)("Add multiple saved items and update cursor for pagination");r.meta={name:"bulkAddItems",key:"createActionBulkAddItems",description:"Add multiple saved items and update cursor for pagination"};let i=(0,n.Ay)("Upsert maybe unknown saved items");i.meta={name:"upsertMaybeUnknownSavedItems",key:"createActionUpsertMaybeUnknownSavedItems",description:"Upsert maybe unknown saved items"};let o=(0,n.Ay)("Remove saved item from the item map");o.meta={name:"removeItemFromItemMap",key:"createActionRemoveItemFromItemMap",description:"Remove saved item from the item map"};let s=(0,n.Ay)("Add saved item");s.meta={name:"addItem",key:"createActionAddItem",description:"Add saved item"};let l=(0,n.Ay)("Update saved item");l.meta={name:"updateItem",key:"createActionUpdateItem",description:"Update saved item"};let c=(0,n.Ay)("Update saved items when a DM is converted to MPDM");c.meta={name:"updateSavedItemsPostChannelConversion",key:"createActionUpdateSavedItemsPostChannelConversion",description:"Update saved items when a DM is converted to MPDM"};let d=(0,n.Ay)("Remove saved item");d.meta={name:"removeItem",key:"createActionRemoveItem",description:"Remove saved item"};let u=(0,n.Ay)("Update Saved counts in sidebar");u.meta={name:"updateCounts",key:"createActionUpdateCounts",description:"Update Saved counts in sidebar"};let m=(0,n.Ay)("Sets which itemid to highlight on for Saved for later after notification is clicked");m.meta={name:"setHighlightId",key:"createActionSetHighlightId",description:"Sets which itemid to highlight on for Saved for later after notification is clicked"};let f=(0,n.Ay)("The timestamp of the last time a message/reminder was added to Saved for later");f.meta={name:"setLastSavedTimestamp",key:"createActionSetLastSavedTimestamp",description:"The timestamp of the last time a message/reminder was added to Saved for later"};let _=(0,n.Ay)("Clears the timestamp of the last time a message/reminder was added to Saved for later");_.meta={name:"clearLastSavedTimestamp",key:"createActionClearLastSavedTimestamp",description:"Clears the timestamp of the last time a message/reminder was added to Saved for later"};let p=(0,n.Ay)("Sets activeTab value");p.meta={name:"setActiveTab",key:"createActionSetActiveTab",description:"Sets activeTab value"};let h=(0,n.Ay)("The timestamp of the last time a message/reminder was set as a custom date/time reminder");h.meta={name:"setLastSavedCustomDateReminderTimestamp",key:"createActionSetLastSavedCustomDateReminderTimestamp",description:"The timestamp of the last time a message/reminder was set as a custom date/time reminder"}},0x1e0936a38:(e,t,a)=>{"use strict";a.d(t,{N2:()=>m,cv:()=>_,cc:()=>p});var n=a(0xca924ee1),r=a(0xccad1590),i=a(0x1a8cc04e1),o=a(0x11c82607b),s=a(0x1266f1359),l=a(0x1b9ff23fe),c=a(0xfcb945dc),d=a(0x1bb4269d3);let u=(0,o.Ay)("Fetch and upsert saved reminders",async(e,t,{idsToFetch:a})=>{let n=await e((0,d.B)({idsToFetch:a}));return e((0,c.Xd)({items:n})),n});u.meta={name:"fetchAndUpsertSavedReminders",key:"createThunkFetchAndUpsertSavedReminders",description:"Fetch and upsert saved reminders"};let m="saved-store",f=(0,o.Ay)("Re-fetch saved items for the active tab on reconnect",(e,t)=>{let a=(0,l.e6)(t());return e((0,r.W3)({filter:a,replace:!0}))});f.meta={name:"refetchSavedItems",key:"createThunkRefetchSavedItems",description:"Re-fetch saved items for the active tab on reconnect"};let _=(0,n.A)(()=>new i.Ay({storeKey:"saved",fetch:e=>(0,s.Qw)(e,f()).then(()=>{_().markObjectsAsFresh(e,[m])}),isEnabled:()=>!0,metricsName:"saved"})),p=(0,n.A)(()=>new i.Ay({storeKey:"saved",maxAge:()=>14400,fetch:(e,t)=>(0,s.Qw)(e,u({idsToFetch:t})).then(t=>{let a=t.map(e=>e.id);p().markObjectsAsFresh(e,a)}),isEnabled:()=>!0}))},0x80f07ede:(e,t,a)=>{"use strict";a.d(t,{L:()=>o});var n=a(0xe747dd27),r=a(0x11c82607b),i=a(0xfcb945dc);let o=(0,r.Ay)("Format server-provided counts and update store with new values",(e,t,{counts:a})=>{let r=(0,n.XK)(a);e((0,i.yO)(r))});o.meta={name:"formatAndApplyCounts",key:"createThunkFormatAndApplyCounts",description:"Format server-provided counts and update store with new values"}},0x1b9ff23fe:(e,t,a)=>{"use strict";a.d(t,{_q:()=>T,e6:()=>V,CP:()=>M,iI:()=>x,Ty:()=>v,Fd:()=>F,fZ:()=>R,OV:()=>C,kz:()=>D,Rs:()=>U,E:()=>P,fj:()=>w,hf:()=>N,mD:()=>E,dc:()=>O,mc:()=>W,vb:()=>j,aT:()=>G,n3:()=>L,BK:()=>k,Bf:()=>I});var n=a(0x1e2051844),r=a(0xdd4fbdde),i=a(0x5fcdd233),o=a(0x1f28bdc18),s=a(0x121459a2),l=a(0x1cf0d97e1),c=a(0x9b971e7e),d=a(0x1ccef1c6f),u=a(0x1e0936a38),m=a(0xca924ee1),f=a(0x15f4f83cf),_=a(0x1266f1359),p=a(0x1bb4269d3),h=a(0x214d747c);let g=(0,m.A)(()=>new f.Ay({fetch:(e,t)=>fetchSavedRemindersForTeamId(e,t),upsertKnown:upsertSavedRemindersForTeamId,upsertNonExistent:upsertSavedRemindersForTeamId,isEnabled:()=>!0}));function fetchSavedRemindersForTeamId(e,t){return(0,_.Qw)(e,(0,p.B)({idsToFetch:t}))}function upsertSavedRemindersForTeamId(e,t){return(0,_.Qw)(e,(0,h.O)({savedReminders:t}))}var A=a(0xb8c5c3c3),b=a(0x1472af90a),y=a(0xf052d367);let S=(0,l.Ay)(e=>{let t=e.saved?.list,a=(0,c.ZT)(e);return(0,u.cv)().maybeRefetch(a,u.N2),t.sort((e,t)=>e.dateDue&&t.dateDue?e.dateDue-t.dateDue:e.dateDue&&!t.dateDue?-1:!e.dateDue&&t.dateDue?1:t.dateCreated-e.dateCreated)});S.meta={name:"getSavedItems",key:"createSelectorGetSavedItems",description:e=>{let t=e.saved?.list,a=(0,c.ZT)(e);return(0,u.cv)().maybeRefetch(a,u.N2),t.sort((e,t)=>e.dateDue&&t.dateDue?e.dateDue-t.dateDue:e.dateDue&&!t.dateDue?-1:!e.dateDue&&t.dateDue?1:t.dateCreated-e.dateCreated)}};let E=(0,l.Ay)(e=>e.saved?.counts);E.meta={name:"getSavedCounts",key:"createSelectorGetSavedCounts",description:e=>e.saved?.counts};let k=(0,l.Ay)(e=>E(e)?.uncompletedOverdueCount);k.meta={name:"getSavedOverdueCount",key:"createSelectorGetSavedOverdueCount",description:e=>E(e)?.uncompletedOverdueCount};let T=(0,l.Ay)(e=>{let t=S(e),a=(0,d.ty)(e,r.Gv),n=t.filter(e=>!(0,o.sN)(e)&&!(0,o.F$)(e));return a?n:n.filter(e=>!(e.dateDue&&!(0,o.JL)(e)))});T.meta={name:"getActiveSavedItems",key:"createSelectorGetActiveSavedItems",description:e=>{let t=S(e),a=(0,d.ty)(e,r.Gv),n=t.filter(e=>!(0,o.sN)(e)&&!(0,o.F$)(e));return a?n:n.filter(e=>!(e.dateDue&&!(0,o.JL)(e)))}};let I=(0,l.Ay)(e=>E(e)?.totalCount);I.meta={name:"getSavedTotalCount",key:"createSelectorGetSavedTotalCount",description:e=>E(e)?.totalCount};let w=(0,l.Ay)(e=>E(e).uncompletedCount);w.meta={name:"getLaterTabCount",key:"createSelectorGetLaterTabCount",description:e=>E(e).uncompletedCount};let C=(0,l.Ay)(e=>E(e).completedCount);C.meta={name:"getCompletedTabCount",key:"createSelectorGetCompletedTabCount",description:e=>E(e).completedCount};let v=(0,l.Ay)(e=>E(e).archivedCount);v.meta={name:"getArchivedTabCount",key:"createSelectorGetArchivedTabCount",description:e=>E(e).archivedCount};let x=(0,l.Ay)(e=>(e.saved?.list).filter(e=>(0,o.F$)(e)).sort((e,t)=>t.dateUpdated-e.dateUpdated));x.meta={name:"getArchivedSavedItems",key:"createSelectorGetArchivedSavedItems",description:e=>(e.saved?.list).filter(e=>(0,o.F$)(e)).sort((e,t)=>t.dateUpdated-e.dateUpdated)};let R=(0,l.Ay)(e=>(e.saved?.list).filter(e=>(0,o.sN)(e)).sort((e,t)=>t.dateCompleted-e.dateCompleted));R.meta={name:"getCompletedSavedItems",key:"createSelectorGetCompletedSavedItems",description:e=>(e.saved?.list).filter(e=>(0,o.sN)(e)).sort((e,t)=>t.dateCompleted-e.dateCompleted)};let O=(0,l.Ay)((e,t)=>{let a=S(e);return(0,n.A)(a,e=>(0,A.Fz)(e)===t)});O.meta={name:"getSavedItemById",key:"createSelectorGetSavedItemById",description:(e,t)=>{let a=S(e);return(0,n.A)(a,e=>(0,A.Fz)(e)===t)}};let N=(0,l.Ay)((e,{itemId:t,itemType:a,ts:n,itemDetail:r})=>{let i=(0,c.ZT)(e);if(!i||!t||!a)return;let o=(0,A.w1)({itemId:t,itemType:a,ts:n,itemDetail:r}),s=e.saved.itemMap[o];return s?((0,u.cc)().maybeRefetch(i,o),s):g().fetchObjectWithId(i,o)});N.meta={name:"getMaybeUnknownSavedItemById",key:"createSelectorGetMaybeUnknownSavedItemById",description:(e,{itemId:t,itemType:a,ts:n,itemDetail:r})=>{let i=(0,c.ZT)(e);if(!i||!t||!a)return;let o=(0,A.w1)({itemId:t,itemType:a,ts:n,itemDetail:r}),s=e.saved.itemMap[o];return s?((0,u.cc)().maybeRefetch(i,o),s):g().fetchObjectWithId(i,o)}};let D=(0,l.Ay)(e=>e.saved.highlightId);D.meta={name:"getHighlightId",key:"createSelectorGetHighlightId",description:e=>e.saved.highlightId};let L=(0,l.Ay)(e=>e.saved?.savedNextCursor);L.meta={name:"getSavedNextCursor",key:"createSelectorGetSavedNextCursor",description:e=>e.saved?.savedNextCursor};let M=(0,l.Ay)(e=>e.saved?.archivedNextCursor);M.meta={name:"getArchivedNextCursor",key:"createSelectorGetArchivedNextCursor",description:e=>e.saved?.archivedNextCursor};let F=(0,l.Ay)(e=>e.saved?.completedNextCursor);F.meta={name:"getCompletedNextCursor",key:"createSelectorGetCompletedNextCursor",description:e=>e.saved?.completedNextCursor};let P=(0,l.Ay)(e=>e.saved.lastSavedTs);P.meta={name:"getLastSavedTimestamp",key:"createSelectorGetLastSavedTimestamp",description:e=>e.saved.lastSavedTs};let U=(0,l.Ay)(e=>e.saved.lastSavedCustomDateReminderTs);U.meta={name:"getLastSavedCustomDateReminderTimestamp",key:"createSelectorGetLastSavedCustomDateReminderTimestamp",description:e=>e.saved.lastSavedCustomDateReminderTs};let B=(0,l.Ay)(e=>S(e).filter(e=>e.itemType===s.ll.message).map(e=>e).sort((e,t)=>(e.dateDue??0)-(t.dateDue??0)));B.meta={name:"getSavedMessages",key:"createSelectorGetSavedMessages",description:e=>S(e).filter(e=>e.itemType===s.ll.message).map(e=>e).sort((e,t)=>(e.dateDue??0)-(t.dateDue??0))};let G=(0,l.Ay)((e,t,a)=>{let r=B(e);return(0,n.A)(r,e=>e.itemId===t&&e.ts===a)});G.meta={name:"getSavedMessageItemByTs",key:"createSelectorGetSavedMessageItemByTs",description:(e,t,a)=>{let r=B(e);return(0,n.A)(r,e=>e.itemId===t&&e.ts===a)}};let H=(0,l.Ay)(e=>S(e).filter(e=>e.itemType===s.ll.list_record).map(e=>e).sort((e,t)=>(e.dateDue??0)-(t.dateDue??0)));H.meta={name:"getSavedRecords",key:"createSelectorGetSavedRecords",description:e=>S(e).filter(e=>e.itemType===s.ll.list_record).map(e=>e).sort((e,t)=>(e.dateDue??0)-(t.dateDue??0))};let W=(0,l.Ay)((e,t)=>{let a=H(e);return(0,n.A)(a,e=>e.recordId===t)});W.meta={name:"getSavedItemByRecordId",key:"createSelectorGetSavedItemByRecordId",description:(e,t)=>{let a=H(e);return(0,n.A)(a,e=>e.recordId===t)}};let V=(0,l.Ay)(e=>e.saved.activeTab);V.meta={name:"getActiveTab",key:"createSelectorGetActiveTab",description:e=>e.saved.activeTab},(0,l.Ay)(e=>{let t=V(e),a=(0,i.s9)(t);if(!(0,y.kI)(e,a,b.X8.Impression))return!1;let n=Date.now()/1e3,r=(0,y.zU)(e,a,b.X8.Impression)||n;return!(n-r>=86400)}).meta={name:"shouldShowEduEmptyStates",key:"createSelectorShouldShowEduEmptyStates",description:e=>{let t=V(e),a=(0,i.s9)(t);if(!(0,y.kI)(e,a,b.X8.Impression))return!1;let n=Date.now()/1e3,r=(0,y.zU)(e,a,b.X8.Impression)||n;return!(n-r>=86400)}};let j=(0,l.Ay)((e,t)=>{let a=S(e).find(e=>(0,A.Fz)(e)===t);return a?.state});j.meta={name:"getSavedItemStateByItemId",key:"createSelectorGetSavedItemStateByItemId",description:(e,t)=>{let a=S(e).find(e=>(0,A.Fz)(e)===t);return a?.state}}},0x1bb4269d3:(e,t,a)=>{"use strict";a.d(t,{B:()=>c});var n=a(0x242897a81),r=a.n(n),i=a(0x229afe6a5),o=a(0x1ee2e1f1b),s=a(0x11c82607b),l=a(0xb8c5c3c3);let c=(0,s.Ay)("Fetch and upsert saved reminders",(e,t,{idsToFetch:a})=>{let fetchAsync=async()=>{try{let t=[];for(let e of a){let a=(0,l.Cg)(e);t.push(a)}return(await e((0,i.L)({items:t,reason:"get-saved-items"}))).saved_items.map(e=>({id:(0,l.Tv)(e),savedItem:(0,o.x)(e)}))}catch{return[]}};return r().resolve(fetchAsync())});c.meta={name:"fetchSavedReminders",key:"createThunkFetchSavedReminders",description:"Fetch and upsert saved reminders"}},0x214d747c:(e,t,a)=>{"use strict";a.d(t,{O:()=>s});var n=a(0x11c82607b),r=a(0x9b971e7e),i=a(0xfcb945dc),o=a(0x1e0936a38);let s=(0,n.Ay)("Upsert saved reminders and mark them as fresh",(e,t,{savedReminders:a})=>{e((0,i.Xd)({items:a}));let n=(0,r.ZT)(t());if(!n)return;let s=a.map(e=>e.id);(0,o.cc)().markObjectsAsFresh(n,s)});s.meta={name:"updateSavedReminders",key:"createThunkUpdateSavedReminders",description:"Upsert saved reminders and mark them as fresh"}},0xb8c5c3c3:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>unpackCompoundKeyForSavedItem,Fz:()=>getIdForSavedItem,Ny:()=>looksLikeSavedItemId,Tv:()=>makeCompoundKeyForSavedApi,WH:()=>makeCompoundKeyForSavedListRecord,Y3:()=>formatSavedPropertyForItem,cw:()=>makeCompoundKeyForSavedCanvasSection,gc:()=>makeCompoundKeyForSavedListRecordField,iv:()=>makeCompoundKeyForSavedMessage,mY:()=>savedApiToMaybeUnknownSaveReminder,qR:()=>isValidSavedItemKey,w1:()=>makeCompoundKeyForSavedItem,xB:()=>getKeyForSavedItemList});var n=a(0x1f28bdc18),r=a(0x121459a2),i=a(0x57d5a5b5),o=a(0x16ed1b0dc),s=a(0xa985ed31),l=a(0x50279ca3),c=a(0x24663484d),d=a(0x1ee2e1f1b);let makeCompoundKeyForSavedItem=({itemId:e,itemType:t,ts:a,itemDetail:n})=>((...e)=>e.join("-"))(e,t,a,n),makeCompoundKeyForSavedApi=e=>{let t=e.item_id??"",a=e.item_type??"";return makeCompoundKeyForSavedItem({itemId:t,itemType:a,ts:e.ts??"",itemDetail:e.item_detail??""})},savedApiToMaybeUnknownSaveReminder=e=>({id:makeCompoundKeyForSavedApi(e),savedItem:(0,d.x)(e)}),unpackCompoundKeyForSavedItem=e=>{let t=e.split("-");return{itemId:t[0]??"",itemType:t[1]??"",ts:t[2]??"",itemDetail:t[3]??""}},makeCompoundKeyForSavedMessage=({channelId:e,messageTs:t})=>`${e}-${t}`,makeCompoundKeyForSavedListRecord=({listId:e,recordId:t})=>`${e}-${t}`,makeCompoundKeyForSavedListRecordField=({listId:e,recordId:t,columnId:a})=>`${e}-${t}-${a}`,makeCompoundKeyForSavedCanvasSection=({fileId:e,sectionId:t})=>`${e}-${t}`,getIdForSavedItem=e=>{if(e.itemType===r.ll.message)return`${e.itemId}-${e.ts}`;if(e.itemType===r.ll.list_record)return`${e.itemId}-${e.recordId}`;if(e.itemType===r.ll.canvas_section)return`${e.itemId}-${e.sectionId}`;if(e.itemType===r.ll.list_record_field)return`${e.itemId}-${e.recordId}-${e.columnId}`;return e.itemId},getKeyForSavedItemList=e=>{let t=getIdForSavedItem(e),a=e.dateDue??0;return`${t}_${a}`},formatSavedPropertyForItem=e=>{let t={is_archived:(0,n.F$)(e),state:e.state};return e.dateDue&&(t.date_due=e.dateDue),e.dateCompleted&&(t.date_completed=e.dateCompleted),t};function looksLikeSavedItemId(e){if((0,c.A)(e)||(0,s.A)(e))return!0;let t=e.split("-"),a=t[0],n=t[1];return!!((0,o.A)(a)&&(0,l.A)(n)||(0,s.A)(a)&&(0,i.or)(n)||(0,s.A)(a)&&n.startsWith("temp:C:"))}function isValidSavedItemKey(e){return looksLikeSavedItemId(e.split("_")[0])}},0x2db13fa8:(e,t,a)=>{"use strict";a.d(t,{CP:()=>o,CZ:()=>u,DU:()=>s,Ff:()=>r,IH:()=>d,RO:()=>m,e5:()=>l,fp:()=>i,j1:()=>f,oz:()=>c});var n=a(0x1cf0d97e1);let r=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.results);r.meta={name:"getSearchInChannelResults",key:"createSelectorGetSearchInChannelResults",description:(e,t)=>e.searchInChannel.channels[t]?.results};let i=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.query??"");i.meta={name:"getSearchInChannelQuery",key:"createSelectorGetSearchInChannelQuery",description:(e,t)=>e.searchInChannel.channels[t]?.query??""};let o=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.fullQuery??"");o.meta={name:"getSearchInChannelFullQuery",key:"createSelectorGetSearchInChannelFullQuery",description:(e,t)=>e.searchInChannel.channels[t]?.fullQuery??""};let s=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.queryOps??"");s.meta={name:"getSearchInChannelQueryOps",key:"createSelectorGetSearchInChannelQueryOps",description:(e,t)=>e.searchInChannel.channels[t]?.queryOps??""};let l=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.totalCount??0);l.meta={name:"getSearchInChannelTotalCount",key:"createSelectorGetSearchInChannelTotalCount",description:(e,t)=>e.searchInChannel.channels[t]?.totalCount??0};let c=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.searchInChannelSessionId);c.meta={name:"getSearchInChannelSessionId",key:"createSelectorGetSearchInChannelSessionId",description:(e,t)=>e.searchInChannel.channels[t]?.searchInChannelSessionId};let d=(0,n.Ay)(e=>e.searchInChannel.previousChannelId);d.meta={name:"getPreviousChannelId",key:"createSelectorGetPreviousChannelId",description:e=>e.searchInChannel.previousChannelId};let u=(0,n.Ay)(e=>e.searchInChannel.openMethod);u.meta={name:"getOpenMethod",key:"createSelectorGetOpenMethod",description:e=>e.searchInChannel.openMethod};let m=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.sessionTimeoutId);m.meta={name:"getSearchInChannelSessionTimeoutId",key:"createSelectorGetSearchInChannelSessionTimeoutId",description:(e,t)=>e.searchInChannel.channels[t]?.sessionTimeoutId};let f=(0,n.Ay)((e,t)=>e.searchInChannel.channels[t]?.forceExecuteSearch??!1);f.meta={name:"getForceExecuteSearch",key:"createSelectorGetForceExecuteSearch",description:(e,t)=>e.searchInChannel.channels[t]?.forceExecuteSearch??!1}},0x114180e52:(e,t,a)=>{"use strict";a.d(t,{N9:()=>r,cL:()=>s,o2:()=>i,zJ:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Set the search input box display query");r.meta={name:"setSearchInputQueryById",key:"createActionSetSearchInputQueryById",description:"Set the search input box display query"};let i=(0,n.Ay)("Clear the search input box display query");i.meta={name:"clearSearchInputQueryById",key:"createActionClearSearchInputQueryById",description:"Clear the search input box display query"};let o=(0,n.Ay)("Set the search input autocomplete open state");o.meta={name:"setSearchInputAutocompleteOpenById",key:"createActionSetSearchInputAutocompleteOpenById",description:"Set the search input autocomplete open state"};let s=(0,n.Ay)("Reset search input box redux state");s.meta={name:"reset",key:"createActionReset",description:"Reset search input box redux state"}},0xe80ed487:(e,t,a)=>{"use strict";a.d(t,{l:()=>o,x:()=>s});var n=a(0x1cf0d97e1),r=a(0xdf55e8f3),i=a(0x1950da728);let o=(0,r.ow)((e,t=i.Jx.OMNISWITCHER)=>e.searchInputBox?.[t]?.queryOps??[]),s=(0,n.Ay)((e,t)=>e.searchInputBox?.[t]?.isAutocompleteOpen??!1);s.meta={name:"isAutocompleteOpenForSearchInputId",key:"createSelectorIsAutocompleteOpenForSearchInputId",description:(e,t)=>e.searchInputBox?.[t]?.isAutocompleteOpen??!1}},0x1ed40993a:(e,t,a)=>{"use strict";a.d(t,{$D:()=>m,$V:()=>I,EO:()=>u,FM:()=>p,Gv:()=>o,KQ:()=>d,Pz:()=>c,Rm:()=>r,SV:()=>f,aZ:()=>b,ao:()=>_,c3:()=>i,cL:()=>g,cf:()=>y,l0:()=>T,lH:()=>E,mz:()=>w,nc:()=>S,p4:()=>s,qo:()=>l,t3:()=>A,wh:()=>h,x9:()=>k});var n=a(0xcf658893);let r=(0,n.Ay)("Set the query string for the editable request query");r.meta={name:"setEditableRequestQueryInternal",key:"createActionSetEditableRequestQueryInternal",description:"Set the query string for the editable request query"};let i=(0,n.Ay)("Set the query filter object on the editable request");i.meta={name:"setEditableRequestQueryFilterOnly",key:"createActionSetEditableRequestQueryFilterOnly",description:"Set the query filter object on the editable request"};let o=(0,n.Ay)("Set the preventQueryRewrite flag on the editable request");o.meta={name:"setEditableRequestPreventQueryRewrite",key:"createActionSetEditableRequestPreventQueryRewrite",description:"Set the preventQueryRewrite flag on the editable request"};let s=(0,n.Ay)("Remove results modules for the search");s.meta={name:"clearResponse",key:"createActionClearResponse",description:"Remove results modules for the search"};let l=(0,n.Ay)("Promote the editable request to become the request");l.meta={name:"setRequestFromEditableRequestInternal",key:"createActionSetRequestFromEditableRequestInternal",description:"Promote the editable request to become the request"};let c=(0,n.Ay)("Reset the editable request");c.meta={name:"resetEditableRequest",key:"createActionResetEditableRequest",description:"Reset the editable request"};let d=(0,n.Ay)("Set the search results");d.meta={name:"setResponse",key:"createActionSetResponse",description:"Set the search results"};let u=(0,n.Ay)("Adds to the search results");u.meta={name:"appendResponse",key:"createActionAppendResponse",description:"Adds to the search results"};let m=(0,n.Ay)("Adds to the externalsearch results");m.meta={name:"appendExternalResponse",key:"createActionAppendExternalResponse",description:"Adds to the externalsearch results"};let f=(0,n.Ay)("Set the suggestions for the current search query - for messages");f.meta={name:"setFilterSuggestions",key:"createActionSetFilterSuggestions",description:"Set the suggestions for the current search query - for messages"};let _=(0,n.Ay)("Set the suggestions for the current search query - for files");_.meta={name:"setFilterSuggestionsForFiles",key:"createActionSetFilterSuggestionsForFiles",description:"Set the suggestions for the current search query - for files"};let p=(0,n.Ay)("Clear the suggestions for the current search query");p.meta={name:"clearFilterSuggestions",key:"createActionClearFilterSuggestions",description:"Clear the suggestions for the current search query"};let h=(0,n.Ay)("Set the request ID for the current fetchAllSearchResults call");h.meta={name:"setLastFetchAllRequestId",key:"createActionSetLastFetchAllRequestId",description:"Set the request ID for the current fetchAllSearchResults call"};let g=(0,n.Ay)("Reset search result redux state");g.meta={name:"reset",key:"createActionReset",description:"Reset search result redux state"};let A=(0,n.Ay)("Update rewritten query value");A.meta={name:"setRewrittenQuery",key:"createActionSetRewrittenQuery",description:"Update rewritten query value"};let b=(0,n.Ay)("Clears rewritten query value");b.meta={name:"clearRewrittenQuery",key:"createActionClearRewrittenQuery",description:"Clears rewritten query value"};let y=(0,n.Ay)("Store the original user query before AI rewriting");y.meta={name:"setOriginalSearchQuery",key:"createActionSetOriginalSearchQuery",description:"Store the original user query before AI rewriting"};let S=(0,n.Ay)("Clear the original user query");S.meta={name:"clearOriginalSearchQuery",key:"createActionClearOriginalSearchQuery",description:"Clear the original user query"};let E=(0,n.Ay)("Set last known AI filters from API response");E.meta={name:"setLastKnownAiFilters",key:"createActionSetLastKnownAiFilters",description:"Set last known AI filters from API response"};let k=(0,n.Ay)("Set search summary loading state");k.meta={name:"setSearchSummaryLoading",key:"createActionSetSearchSummaryLoading",description:"Set search summary loading state"};let T=(0,n.Ay)("Set search summary error state");T.meta={name:"setSearchSummaryError",key:"createActionSetSearchSummaryError",description:"Set search summary error state"};let I=(0,n.Ay)("Set search summary results in state");I.meta={name:"setSearchSummary",key:"createActionSetSearchSummary",description:"Set search summary results in state"};let w=(0,n.Ay)("Clear search summary state");w.meta={name:"clearSearchSummary",key:"createActionClearSearchSummary",description:"Clear search summary state"}},0x70aa297f:(e,t,a)=>{"use strict";a.d(t,{$_:()=>er,$m:()=>k,Fw:()=>H,Gb:()=>Q,Gr:()=>es,Hd:()=>M,IA:()=>C,JL:()=>B,KO:()=>K,MM:()=>el,Pn:()=>Z,Q_:()=>T,RI:()=>P,Sg:()=>j,Ux:()=>Y,Uz:()=>y,Wl:()=>F,Y3:()=>v,YR:()=>b,Zi:()=>w,_G:()=>W,bE:()=>ee,bO:()=>eu,ce:()=>eo,dm:()=>x,iq:()=>G,k8:()=>N,ky:()=>E,lE:()=>L,mC:()=>q,nI:()=>J,q7:()=>z,qD:()=>I,qY:()=>X,qc:()=>ed,sL:()=>R,to:()=>ec,u2:()=>O,wH:()=>D,yR:()=>S,yk:()=>en,z$:()=>U});var n=a(0x1df96de4c),r=a(0x39b123a7),i=a(0x1edd1e248),o=a(0x108fb4e96),s=a(0x11f79e2d6),l=a(0x3d01f952),c=a(0x1cf0d97e1),d=a(0x1ccef1c6f),u=a(0xdf55e8f3),m=a(0x1bc4b3ad8),f=a(0x217553e42),_=a(0xe684f705),p=a(0x1276e10f8),h=a(0x237e0ebef),g=a(0x1950da728);let A=/:(.+?):/,b=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.query);b.meta={name:"getEditableRequestQuery",key:"createSelectorGetEditableRequestQuery",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.query};let y=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.request?.query);y.meta={name:"getRequestQuery",key:"createSelectorGetRequestQuery",description:(e,t=s.Ii)=>e.searchResults[t]?.request?.query};let S=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter);S.meta={name:"getEditableRequestQueryFilter",key:"createSelectorGetEditableRequestQueryFilter",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter},(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest).meta={name:"getEditableRequest",key:"createSelectorGetEditableRequest",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest},(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilterHistory).meta={name:"getEditableRequestQueryFilterHistory",key:"createSelectorGetEditableRequestQueryFilterHistory",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilterHistory};let E=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.request?.preventQueryRewrite);E.meta={name:"getRequestPreventQueryRewrite",key:"createSelectorGetRequestPreventQueryRewrite",description:(e,t=s.Ii)=>e.searchResults[t]?.request?.preventQueryRewrite};let k=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.lastKnownAiFilters);k.meta={name:"getLastKnownAiFilters",key:"createSelectorGetLastKnownAiFilters",description:(e,t=s.Ii)=>e.searchResults[t]?.lastKnownAiFilters};let T=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.from);T.meta={name:"getEditableRequestQueryFilterFrom",key:"createSelectorGetEditableRequestQueryFilterFrom",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.from};let I=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.creator);I.meta={name:"getEditableRequestQueryFilterCreator",key:"createSelectorGetEditableRequestQueryFilterCreator",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.creator};let w=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.in);w.meta={name:"getEditableRequestQueryFilterIn",key:"createSelectorGetEditableRequestQueryFilterIn",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.in};let C=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.editableRequest?.queryFilter?.with);C.meta={name:"getEditableRequestQueryFilterWith",key:"createSelectorGetEditableRequestQueryFilterWith",description:(e,t=s.Ii)=>e?.searchResults[t]?.editableRequest?.queryFilter?.with};let v=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.after);v.meta={name:"getEditableRequestQueryFilterAfter",key:"createSelectorGetEditableRequestQueryFilterAfter",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.after};let x=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.before);x.meta={name:"getEditableRequestQueryFilterBefore",key:"createSelectorGetEditableRequestQueryFilterBefore",description:(e,t=s.Ii)=>e.searchResults[t]?.editableRequest?.queryFilter?.before};let R=(0,u.eI)((e,t=s.Ii)=>{let a,n=e?.searchResults[t]?.editableRequest?.queryFilter?.fileType;return n&&(a=[...new Set(n.map(e=>g.UK[e]??e))]),a}),O=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.FILE));O.meta={name:"getEditableRequestQueryFilterHasFile",key:"createSelectorGetEditableRequestQueryFilterHasFile",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.FILE)};let N=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.LINK));N.meta={name:"getEditableRequestQueryFilterHasLink",key:"createSelectorGetEditableRequestQueryFilterHasLink",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.LINK)};let D=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.ACTION));D.meta={name:"getEditableRequestQueryFilterHasAction",key:"createSelectorGetEditableRequestQueryFilterHasAction",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.ACTION)};let L=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.PIN));L.meta={name:"getEditableRequestQueryFilterHasPin",key:"createSelectorGetEditableRequestQueryFilterHasPin",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.has?.includes(o.A.PIN)};let M=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.SAVED));M.meta={name:"getEditableRequestQueryFilterIsSaved",key:"createSelectorGetEditableRequestQueryFilterIsSaved",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.SAVED)};let F=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.THREAD));F.meta={name:"getEditableRequestQueryFilterIsThread",key:"createSelectorGetEditableRequestQueryFilterIsThread",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.THREAD)};let P=(0,c.Ay)((e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.DM));P.meta={name:"getEditableRequestQueryFilterIsDM",key:"createSelectorGetEditableRequestQueryFilterIsDM",description:(e,t=s.Ii)=>!!e?.searchResults[t]?.editableRequest?.queryFilter?.is?.includes(o.a4.DM)};let U=(0,u.eI)((e,t=s.Ii)=>{let a=e?.searchResults[t]?.editableRequest?.queryFilter?.has;if(!a)return n.Ml;let r=a.filter(e=>e.match(A)?.[0]);return r.length?r:n.Ml}),B=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.editableRequest?.queryFilter?.myReaction||n.Ml);B.meta={name:"getEditableRequestQueryFilterMyReaction",key:"createSelectorGetEditableRequestQueryFilterMyReaction",description:(e,t=s.Ii)=>e?.searchResults[t]?.editableRequest?.queryFilter?.myReaction||n.Ml};let G=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.request);G.meta={name:"getRequest",key:"createSelectorGetRequest",description:(e,t=s.Ii)=>e.searchResults[t]?.request},(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.previousRequest).meta={name:"getPreviousRequest",key:"createSelectorGetPreviousRequest",description:(e,t=s.Ii)=>e.searchResults[t]?.previousRequest},(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.previousRequest?.query).meta={name:"getPreviousRequestQuery",key:"createSelectorGetPreviousRequestQuery",description:(e,t=s.Ii)=>e.searchResults[t]?.previousRequest?.query},(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.response).meta={name:"getResponse",key:"createSelectorGetResponse",description:(e,t=s.Ii)=>e.searchResults[t]?.response};let H=(0,u.eI)((e,{windowId:t=s.Ii}={})=>{let a={};for(let[n,r]of Object.entries(e.searchResults[t]?.response?.results||{}))if(r.isExternal){let e=Object.values(r.items).flat();a[n]=e}return a}),W=(0,c.Ay)((e,{module:t,windowId:a=s.Ii}={})=>e.searchResults[a]?.response?.results?.[t]);W.meta={name:"getResponseModule",key:"createSelectorGetResponseModule",description:(e,{module:t,windowId:a=s.Ii}={})=>e.searchResults[a]?.response?.results?.[t]};let V={messages:void 0,files:void 0,channels:void 0,people:void 0,canvases:void 0,lists:void 0,listRecords:void 0},j=(0,u.eI)((e,t=s.Ii)=>{let a=e.searchResults[t]?.response?.results;if(!a)return V;let n={messages:void 0,files:void 0,channels:void 0,people:void 0,canvases:void 0,lists:void 0,listRecords:void 0,salesforce:void 0};return Object.entries(a).forEach(([e,t])=>{n[e]=t&&t.pagination&&t.pagination.total_count||0}),n}),K=(0,u.eI)((e,t,a=s.Ii)=>{let n=e.searchResults[a]?.response?.results;return n?n[t]?.pagination?.total_count??0:V}),q=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.lastFetchAllRequestId);q.meta={name:"getLastFetchAllRequestId",key:"createSelectorGetLastFetchAllRequestId",description:(e,t=s.Ii)=>e.searchResults[t]?.lastFetchAllRequestId};let z=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.suggestions);z.meta={name:"getFilterSuggestions",key:"createSelectorGetFilterSuggestions",description:(e,t=s.Ii)=>e.searchResults[t]?.suggestions};let $=(0,c.Ay)((e,t=s.Ii)=>e.searchResults[t]?.fileSuggestions);$.meta={name:"getFilterSuggestionsForFiles",key:"createSelectorGetFilterSuggestionsForFiles",description:(e,t=s.Ii)=>e.searchResults[t]?.fileSuggestions};let Y=(0,c.Ay)((e,{module:t,page:a=1,windowId:n=s.Ii}={})=>e.searchResults[n]?.response?.results[t]?.requestIds?.[a]);Y.meta={name:"getRequestIdForModule",key:"createSelectorGetRequestIdForModule",description:(e,{module:t,page:a=1,windowId:n=s.Ii}={})=>e.searchResults[n]?.response?.results[t]?.requestIds?.[a]};let Q=(0,u.jB)((e,t=s.Ii)=>{let a=z(e,t)||{};return{in:(a.in||[]).map(t=>(0,r.Z)(e,t.id)).filter(e=>!!e),from:(a.from||[]).map(t=>(0,r.Z)(e,t.id)).filter(e=>!!e)}}),Z=(0,u.jB)((e,t=s.Ii)=>{let a=$(e,t)||{};return{in:(a.in||[]).map(t=>(0,r.Z)(e,t.id)).filter(e=>!!e),from:(a.from||[]).map(t=>(0,r.Z)(e,t.id)).filter(e=>!!e)}}),J=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.rewrittenQuery);J.meta={name:"getRewrittenQuery",key:"createSelectorGetRewrittenQuery",description:(e,t=s.Ii)=>e?.searchResults[t]?.rewrittenQuery};let X=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.originalSearchQuery);X.meta={name:"getOriginalSearchQuery",key:"createSelectorGetOriginalSearchQuery",description:(e,t=s.Ii)=>e?.searchResults[t]?.originalSearchQuery};let ee=(0,c.Ay)((e,t=s.Ii)=>{let a=e?.searchResults[t]?.response?.results?.files;if(a&&!a.isExternal)return a.query});ee.meta={name:"getFilesResponseQuery",key:"createSelectorGetFilesResponseQuery",description:(e,t=s.Ii)=>{let a=e?.searchResults[t]?.response?.results?.files;if(a&&!a.isExternal)return a.query}};let et=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.summary?.status);et.meta={name:"getSearchSummaryStatus",key:"createSelectorGetSearchSummaryStatus",description:(e,t=s.Ii)=>e?.searchResults[t]?.summary?.status};let ea=(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.summary?.blocks);ea.meta={name:"getSearchSummaryBlocks",key:"createSelectorGetSearchSummaryBlocks",description:(e,t=s.Ii)=>e?.searchResults[t]?.summary?.blocks},(0,c.Ay)((e,t=s.Ii)=>e?.searchResults[t]?.summary?.summaryKey).meta={name:"getSearchSummaryKey",key:"createSelectorGetSearchSummaryKey",description:(e,t=s.Ii)=>e?.searchResults[t]?.summary?.summaryKey},(0,m.F)(et,ea,(e,t)=>!!(e===p.v.LOADING||e===p.v.ERROR||t?.length));let en=(0,c.Ay)((e,t)=>{let a=W(e,{module:t}),r=(0,h.WE)(e,t);return a?.items?.[r||1]||n.Ml});en.meta={name:"getModuleResultsForCurrentPage",key:"createSelectorGetModuleResultsForCurrentPage",description:(e,t)=>{let a=W(e,{module:t}),r=(0,h.WE)(e,t);return a?.items?.[r||1]||n.Ml}};let er=(0,c.Ay)((e,t)=>{let a=W(e,{module:t});return a?.pagination?.page_count});er.meta={name:"getPageCount",key:"createSelectorGetPageCount",description:(e,t)=>{let a=W(e,{module:t});return a?.pagination?.page_count}};let ei=(0,u.eI)(e=>{let t=W(e,{module:s.Qt.TOP_RESULTS});return t?.module_counts}),eo=(0,c.Ay)(e=>{let t=ei(e);return t?.channels||0});eo.meta={name:"getTopResultsChannelCount",key:"createSelectorGetTopResultsChannelCount",description:e=>{let t=ei(e);return t?.channels||0}};let es=(0,c.Ay)(e=>{let t=ei(e);return t?.messages||0});es.meta={name:"getTopResultsMessageCount",key:"createSelectorGetTopResultsMessageCount",description:e=>{let t=ei(e);return t?.messages||0}};let el=(0,c.Ay)(e=>{let t=ei(e);return t?.people||0});el.meta={name:"getTopResultsPeopleCount",key:"createSelectorGetTopResultsPeopleCount",description:e=>{let t=ei(e);return t?.people||0}};let ec=(0,c.Ay)((e,t)=>{let a=W(e,{module:t});return a?.pagination?.total_count??0});ec.meta={name:"getResultCount",key:"createSelectorGetResultCount",description:(e,t)=>{let a=W(e,{module:t});return a?.pagination?.total_count??0}};let ed=(0,c.Ay)((e,t)=>{let a=W(e,{module:t});return a?.pagination?.next_cursor});ed.meta={name:"getNextCursor",key:"createSelectorGetNextCursor",description:(e,t)=>{let a=W(e,{module:t});return a?.pagination?.next_cursor}},(0,c.Ay)(e=>{let t=R(e)||[];t=t.filter(e=>e.length);let a=(0,h.R5)(e)||g.Dx.all,n=(0,h.yy)(e)||g.xV.all,r=T(e)||[],o=w(e)||[],s=C(e)||[],l=I(e)||[],c=(0,h.fL)(e)||[],u=(0,h.lB)(e)||[],m=(0,h.aJ)(e)||[],f=(0,h.LX)(e)||[],_=(0,h.YM)(e)||[],p=(0,h.DL)(e)||[],A=(0,h.Lq)(e)||[];return(0,d.ty)(e,g.jv)||D(e)||O(e)||N(e)||L(e)||P(e)||M(e)||F(e)||U(e).length>0||B(e).length>0||(0,d.ty)(e,g.wA)||(0,i.Eh)(e)||(0,h.hz)(e)||(0,h.PB)(e)||(0,h.Xh)(e)||x(e)||v(e)||t.length>0||a!==g.Dx.all||n!==g.xV.all||r.length>0||o.length>0||s.length>0||l.length>0||c.length>0||u.length>0||m.length>0||f.length>0||_.length>0||p.length>0||A.length>0}).meta={name:"isSearchFilterApplied",key:"createSelectorIsSearchFilterApplied",description:e=>{let t=R(e)||[];t=t.filter(e=>e.length);let a=(0,h.R5)(e)||g.Dx.all,n=(0,h.yy)(e)||g.xV.all,r=T(e)||[],o=w(e)||[],s=C(e)||[],l=I(e)||[],c=(0,h.fL)(e)||[],u=(0,h.lB)(e)||[],m=(0,h.aJ)(e)||[],f=(0,h.LX)(e)||[],_=(0,h.YM)(e)||[],p=(0,h.DL)(e)||[],A=(0,h.Lq)(e)||[];return(0,d.ty)(e,g.jv)||D(e)||O(e)||N(e)||L(e)||P(e)||M(e)||F(e)||U(e).length>0||B(e).length>0||(0,d.ty)(e,g.wA)||(0,i.Eh)(e)||(0,h.hz)(e)||(0,h.PB)(e)||(0,h.Xh)(e)||x(e)||v(e)||t.length>0||a!==g.Dx.all||n!==g.xV.all||r.length>0||o.length>0||s.length>0||l.length>0||c.length>0||u.length>0||m.length>0||f.length>0||_.length>0||p.length>0||A.length>0}};let eu=(0,u.jB)(e=>{let t=(0,l.Fl)(e,10),a=(0,l.b5)(e,10);return{from:t.map(t=>(0,_.nv)(e,t.id)).filter(e=>!!e&&!!e.id),in:a.map(t=>(0,f.OL)(e,t.id,!1)).filter(e=>!!e&&!!e.id)}})},0x1276e10f8:(e,t,a)=>{"use strict";a.d(t,{Y:()=>n,v:()=>i});let n="IMPROVED_SEARCH";var r,i=((r={}).LOADING="loading",r.FETCHED="fetched",r.ERROR="error",r)},0x18b71ea0a:(e,t,a)=>{"use strict";a.d(t,{S:()=>_});var n=a(0xe874a88a),r=a(0x1ec68d6a3),i=a(0x11439744b),o=a(0x11f79e2d6),s=a(0x19b946539),l=a(0x11c82607b),c=a(0xe1b4a9f),d=a(0x196ee8604),u=a(0x70aa297f),m=a(0x14ed02a2e),f=a(0x141c1c56a);let _=(0,l.Ay)("Search external results for multiple connectors in parallel",(e,t,{query:a,requestId:l,querySessionId:_,reason:p,preventQueryRewrite:h=!1})=>{let g=t(),A=(0,r.default)({getState:t}),b=(0,i.Cy)({getState:t}),y=(0,d.Uv)(g),S=(0,c.Ot)(g);return y.map(i=>{let c=(0,s.Kf)(i.app_id);return i.is_connected?e((0,m.G)({query:a,searchAppArgs:S?.length?S:void 0,requestId:l,querySessionId:_,reason:p,appId:i.app_id,preventQueryRewrite:h})).timeout(o.zO).then(()=>{b.count("search_modules_response_ok"),b.count("search_modules_response_ok_external"),(0,u.mC)(g)===l&&(0,r.default)({getState:t}).info(o.dX,"External results loaded successfully"),e((0,f.FS)({moduleType:c,loading:!1}))}).catch(n.S.TimeoutError,()=>{A.warn(o.dX,"External results timed out"),e((0,f.yr)({moduleType:c,error:o.aF.Timeout,loading:!1}))}).catch(a=>{b.count("search_modules_response_error_any"),b.count("search_modules_response_error_any_external"),a instanceof n.S.TimeoutError?(b.count("search_modules_response_error_timeout"),b.count("search_modules_response_error_timeout_external")):a&&a.status>=400&&a.status<500?(b.count("search_modules_response_error_4xx"),b.count("search_modules_response_error_4xx_sexternal")):a&&a.status>=500&&a.status<600?(b.count("search_modules_response_error_5xx"),b.count("search_modules_response_error_5xx_external")):(b.count("search_modules_response_error_unknown"),b.count("search_modules_response_error_unknown_external")),(0,r.default)({getState:t}).warn(o.dX,"External results threw an error while loading"),A.error(a),e((0,f.yr)({moduleType:c,error:o.aF.Unknown,loading:!1}))}):(e((0,f.X2)({moduleType:c,moduleState:{loading:!1,page:1,error:o.aF.None}})),Promise.resolve())})});_.meta={name:"searchExternalRecordsInParallel",key:"createThunkSearchExternalRecordsInParallel",description:"Search external results for multiple connectors in parallel"}},0x14ed02a2e:(e,t,a)=>{"use strict";a.d(t,{G:()=>c});var n=a(0x1a3cd3e2e),r=a(0x11f79e2d6),i=a(0x19b946539),o=a(0x11c82607b),s=a(0x1ed40993a),l=a(0x141c1c56a);let c=(0,o.Ay)("Search for external records",(e,t,{query:a,requestId:o,querySessionId:c=null,reason:d="search-records",searchAppArgs:u,appId:m,page:f,nextCursor:_,preventQueryRewrite:p=!1})=>e((0,n.e)({query:a,reason:d,searchAppArgs:u,appId:m,highlight:!0,cursor:_,queryRewriteDisabled:p,clientReqId:c??void 0})).then(t=>{let n;for(let a of t.metadata||[])a.error&&e((0,l.yr)({moduleType:(0,i.Kf)(a.app_id),error:a.error,errorMessage:a.error_message,loading:!1})),n=a.cursor;let d=f||1,u={items:t.items||[],ok:t.ok,pagination:{total_count:0,page:d,next_cursor:n,per_page:t.items.length,page_count:n?d+1:d}};return 1===d?e((0,s.KQ)({module:(0,i.Kf)(m),result:u,isExternal:!0})):e((0,s.$D)({module:(0,i.Kf)(m),page:d,result:u})),{ok:!!t.ok,iid:o,client_req_id:c||void 0,request_id:o,module:r.MT.EXTERNAL,query:a,pagination:u.pagination}}));c.meta={name:"searchExternalRecords",key:"createThunkSearchExternalRecords",description:"Search for external records"}},0x152fa2b68:(e,t,a)=>{"use strict";a.d(t,{Ko:()=>l,QP:()=>c,Z8:()=>m,bc:()=>u,bf:()=>o,c8:()=>s,gA:()=>d,gl:()=>f,j1:()=>i,x:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set the timestamp for the query session the current time");r.meta={name:"touchLastEventTimeMs",key:"createActionTouchLastEventTimeMs",description:"Set the timestamp for the query session the current time"};let i=(0,n.Ay)("Set the timestamp for search session start time");i.meta={name:"touchLastSearchSessionTimeMs",key:"createActionTouchLastSearchSessionTimeMs",description:"Set the timestamp for search session start time"};let o=(0,n.Ay)("Set the timestamp for the query session start time");o.meta={name:"touchLastQuerySessionTimeMs",key:"createActionTouchLastQuerySessionTimeMs",description:"Set the timestamp for the query session start time"};let s=(0,n.Ay)("Sets a new ID for the query session");s.meta={name:"setQuerySessionId",key:"createActionSetQuerySessionId",description:"Sets a new ID for the query session"};let l=(0,n.Ay)("Destroy a query session ID by emptying it");l.meta={name:"destroyQuerySessionId",key:"createActionDestroyQuerySessionId",description:"Destroy a query session ID by emptying it"};let c=(0,n.Ay)("Sets a new ID for the search session");c.meta={name:"setSearchSessionId",key:"createActionSetSearchSessionId",description:"Sets a new ID for the search session"};let d=(0,n.Ay)("Destroy a search session ID by emptying it");d.meta={name:"destroySearchSessionId",key:"createActionDestroySearchSessionId",description:"Destroy a search session ID by emptying it"};let u=(0,n.Ay)("Set the search session original query if unset");u.meta={name:"setSearchSessionLastQuery",key:"createActionSetSearchSessionLastQuery",description:"Set the search session original query if unset"};let m=(0,n.Ay)("Destroy the search session original query by emptying it");m.meta={name:"destroySearchSessionLastQuery",key:"createActionDestroySearchSessionLastQuery",description:"Destroy the search session original query by emptying it"};let f=(0,n.Ay)("Sets search id for first navigation impression in the search session");f.meta={name:"setSearchSessionIdForNavigationImpression",key:"createActionSetSearchSessionIdForNavigationImpression",description:"Sets search id for first navigation impression in the search session"}},0x1a3697e9a:(e,t,a)=>{"use strict";a.d(t,{R:()=>r,l:()=>n});let n=3e5,r=12e4},0x86977389:(e,t,a)=>{"use strict";a.d(t,{G0:()=>c,GJ:()=>d,Od:()=>l,WQ:()=>u,_m:()=>s,aS:()=>o,rS:()=>i});var n=a(0x11f79e2d6),r=a(0x1cf0d97e1);let i=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionLastQuery);i.meta={name:"getSearchSessionLastQuery",key:"createSelectorGetSearchSessionLastQuery",description:(e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionLastQuery};let o=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.lastEventTimeMs);o.meta={name:"getLastEventTimeMs",key:"createSelectorGetLastEventTimeMs",description:(e,t=n.Ii)=>e.searchSession?.[t]?.lastEventTimeMs};let s=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.lastSearchSessionTimeMs);s.meta={name:"getLastSearchSessionTimeMs",key:"createSelectorGetLastSearchSessionTimeMs",description:(e,t=n.Ii)=>e.searchSession?.[t]?.lastSearchSessionTimeMs};let l=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.lastQuerySessionTimeMs);l.meta={name:"getLastQuerySessionTimeMs",key:"createSelectorGetLastQuerySessionTimeMs",description:(e,t=n.Ii)=>e.searchSession?.[t]?.lastQuerySessionTimeMs};let c=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.querySessionId);c.meta={name:"getPossiblyStaleQuerySessionId",key:"createSelectorGetPossiblyStaleQuerySessionId",description:(e,t=n.Ii)=>e.searchSession?.[t]?.querySessionId};let d=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionId);d.meta={name:"getPossiblyStaleSearchSessionId",key:"createSelectorGetPossiblyStaleSearchSessionId",description:(e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionId},(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionLastQuery).meta={name:"getPossiblyStaleSearchSessionLastQuery",key:"createSelectorGetPossiblyStaleSearchSessionLastQuery",description:(e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionLastQuery};let u=(0,r.Ay)((e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionIdForNavigationImpression);u.meta={name:"getSearchSessionIdForNavigationImpression",key:"createSelectorGetSearchSessionIdForNavigationImpression",description:(e,t=n.Ii)=>e.searchSession?.[t]?.searchSessionIdForNavigationImpression}},0x203ad9ac7:(e,t,a)=>{"use strict";a.d(t,{m:()=>c});var n=a(0x11f79e2d6),r=a(0x11c82607b),i=a(0x1bc37b253),o=a(0x152fa2b68),s=a(0x1a3697e9a),l=a(0x86977389);let c=(0,r.Ay)("Get a Query Session ID",(e,t)=>{let a=t(),r=(0,l.aS)(a),c=(0,l.G0)(a);return!c||!r||new Date().getTime()-r>s.R?e((0,i.z)()):(e((0,o.x)({windowId:n.Ii})),c)});c.meta={name:"getQuerySessionId",key:"createThunkGetQuerySessionId",description:"Get a Query Session ID"}},0xc7d91d1b:(e,t,a)=>{"use strict";a.d(t,{w:()=>c});var n=a(0x11f79e2d6),r=a(0x11c82607b),i=a(0x1bc37b253),o=a(0x152fa2b68),s=a(0x1a3697e9a),l=a(0x86977389);let c=(0,r.Ay)("Get a Search Session ID",(e,t)=>{let a=t(),r=(0,l.aS)(a),c=(0,l.GJ)(a);return!c||!r||new Date().getTime()-r>s.l?e((0,i.N)()):(e((0,o.x)({windowId:n.Ii})),c)});c.meta={name:"getSearchSessionId",key:"createThunkGetSearchSessionId",description:"Get a Search Session ID"}},0x178ee2320:(e,t,a)=>{"use strict";a.d(t,{S:()=>i,n:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Add a facet value");r.meta={name:"upsertFacet",key:"createActionUpsertFacet",description:"Add a facet value"};let i=(0,n.Ay)("Touch last updated ts value");i.meta={name:"touchLastUpdatedTs",key:"createActionTouchLastUpdatedTs",description:"Touch last updated ts value"}},0x231cfcc31:(e,t,a)=>{"use strict";a.d(t,{OA:()=>l,b8:()=>s,bw:()=>c,lZ:()=>o});var n=a(0x1a7c10f4),r=a(0x1cf0d97e1),i=a(0x1ee439e69);let o=(0,r.Ay)(e=>e.searchSharedFacets.lastUpdatedTs);o.meta={name:"getLastUpdatedTs",key:"createSelectorGetLastUpdatedTs",description:e=>e.searchSharedFacets.lastUpdatedTs};let s=(0,r.Ay)((e,t)=>e.searchSharedFacets[t]);s.meta={name:"getFacetSuggestions",key:"createSelectorGetFacetSuggestions",description:(e,t)=>e.searchSharedFacets[t]};let l=(0,r.Ay)(e=>{let t=(0,i.H7)(e);return(0,n.A)(t).find(e=>"division"===e.fieldName)});l.meta={name:"getDivisionScimField",key:"createSelectorGetDivisionScimField",description:e=>{let t=(0,i.H7)(e);return(0,n.A)(t).find(e=>"division"===e.fieldName)}};let c=(0,r.Ay)(e=>{let t=(0,i.H7)(e);return(0,n.A)(t).find(e=>"department"===e.fieldName)});c.meta={name:"getDepartmentScimField",key:"createSelectorGetDepartmentScimField",description:e=>{let t=(0,i.H7)(e);return(0,n.A)(t).find(e=>"department"===e.fieldName)}}},0x9eaebfe2:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0x11c82607b),r=a(0x178ee2320),i=a(0x231cfcc31);let o=(0,n.Ay)("Hydrate search-shared-facet suggestions",(e,t,{suggestions:a,bypassCache:n=!1})=>{let o=(0,i.lZ)(t());(n||!o||Date.now()-o>24e4)&&(e((0,r.n)({facet:"division",values:a?.division??[]})),e((0,r.n)({facet:"title",values:a?.title??[]})),e((0,r.n)({facet:"location",values:(a?.location??[]).sort((e,t)=>t.facet_count-e.facet_count)})),e((0,r.n)({facet:"department",values:a?.department??[]})),e((0,r.S)()))});o.meta={name:"hydrateFacetSuggestions",key:"createThunkHydrateFacetSuggestions",description:"Hydrate search-shared-facet suggestions"};let s=o},0x141c1c56a:(e,t,a)=>{"use strict";a.d(t,{AA:()=>X,AC:()=>d,BL:()=>o,Bd:()=>er,CR:()=>I,Cr:()=>b,Di:()=>A,Dl:()=>J,Ev:()=>x,F2:()=>K,FI:()=>$,FS:()=>i,Fl:()=>ec,GP:()=>C,GT:()=>eo,H:()=>P,H4:()=>V,Ic:()=>B,Kf:()=>j,L:()=>em,LM:()=>E,O3:()=>T,O6:()=>r,PZ:()=>f,Qf:()=>ee,R7:()=>M,RR:()=>m,Vm:()=>W,W3:()=>eu,WR:()=>g,X2:()=>p,XS:()=>ep,XT:()=>U,Xs:()=>ed,Yq:()=>y,_N:()=>el,as:()=>O,au:()=>u,bZ:()=>Q,cL:()=>w,cU:()=>es,ck:()=>s,dZ:()=>q,fU:()=>e_,fs:()=>ei,gC:()=>eh,jT:()=>S,jf:()=>L,kC:()=>z,ll:()=>k,lu:()=>N,oX:()=>c,oo:()=>v,pQ:()=>Z,pU:()=>Y,qV:()=>G,sV:()=>ea,t_:()=>H,u_:()=>l,vq:()=>en,w_:()=>et,xJ:()=>D,xx:()=>ef,y0:()=>F,y8:()=>h,yr:()=>_,z8:()=>R});var n=a(0xcf658893);let r=(0,n.Ay)("Set the currently active tab field in Search (use setTab instead for components)");r.meta={name:"setTabOnly",key:"createActionSetTabOnly",description:"Set the currently active tab field in Search (use setTab instead for components)"};let i=(0,n.Ay)("Set the loading state of a specific module");i.meta={name:"setLoadingModule",key:"createActionSetLoadingModule",description:"Set the loading state of a specific module"};let o=(0,n.Ay)("Set the pagination state for a specific module");o.meta={name:"setPageForModule",key:"createActionSetPageForModule",description:"Set the pagination state for a specific module"};let s=(0,n.Ay)("Set the sort option for a specific module");s.meta={name:"setSortForModule",key:"createActionSetSortForModule",description:"Set the sort option for a specific module"};let l=(0,n.Ay)("Set the sort option for all work object search modules");l.meta={name:"setSortForAllWorkObjectModules",key:"createActionSetSortForAllWorkObjectModules",description:"Set the sort option for all work object search modules"};let c=(0,n.Ay)("Indicate that the shared teams list is loading");c.meta={name:"setSearchSharedTeamsLoading",key:"createActionSetSearchSharedTeamsLoading",description:"Indicate that the shared teams list is loading"};let d=(0,n.Ay)("Indicate that the shared teams list request has failed");d.meta={name:"setSearchSharedTeamsError",key:"createActionSetSearchSharedTeamsError",description:"Indicate that the shared teams list request has failed"};let u=(0,n.Ay)("Indicate that the shared teams list request has resolved");u.meta={name:"setSearchSharedTeamsResolved",key:"createActionSetSearchSharedTeamsResolved",description:"Indicate that the shared teams list request has resolved"};let m=(0,n.Ay)("Channel search: set the list of org filters to be suggested");m.meta={name:"setChannelSearchOrgFilterSuggestions",key:"createActionSetChannelSearchOrgFilterSuggestions",description:"Channel search: set the list of org filters to be suggested"};let f=(0,n.Ay)("People search: set the list of org filters to be suggested");f.meta={name:"setPeopleSearchOrgFilterSuggestions",key:"createActionSetPeopleSearchOrgFilterSuggestions",description:"People search: set the list of org filters to be suggested"};let _=(0,n.Ay)("Set the error state for a specific module");_.meta={name:"setErrorForModule",key:"createActionSetErrorForModule",description:"Set the error state for a specific module"};let p=(0,n.Ay)("Set the entire UI state for a specific module");p.meta={name:"setStateForModule",key:"createActionSetStateForModule",description:"Set the entire UI state for a specific module"};let h=(0,n.Ay)("Set the last scroll position for a specific search tab");h.meta={name:"setTabScrollPosition",key:"createActionSetTabScrollPosition",description:"Set the last scroll position for a specific search tab"};let g=(0,n.Ay)("Set the persisted height cache");g.meta={name:"setHeightCache",key:"createActionSetHeightCache",description:"Set the persisted height cache"};let A=(0,n.Ay)("Resets the persisted height cache");A.meta={name:"resetHeightCache",key:"createActionResetHeightCache",description:"Resets the persisted height cache"};let b=(0,n.Ay)("Reset the scroll position for all of the search tabs to zero");b.meta={name:"resetScrollPosition",key:"createActionResetScrollPosition",description:"Reset the scroll position for all of the search tabs to zero"};let y=(0,n.Ay)("set view type value to grid or list");y.meta={name:"setViewType",key:"createActionSetViewType",description:"set view type value to grid or list"};let S=(0,n.Ay)("Sets the ID associated with the search session clear timer");S.meta={name:"setSessionTimeoutId",key:"createActionSetSessionTimeoutId",description:"Sets the ID associated with the search session clear timer"};let E=(0,n.Ay)("Sets the ID associated with the search session clear timer");E.meta={name:"setQuerySessionTimeoutId",key:"createActionSetQuerySessionTimeoutId",description:"Sets the ID associated with the search session clear timer"};let k=(0,n.Ay)("Set if new query session was initialized upon empty omniswitcher open");k.meta={name:"setIsNewQuerySessionOnEmpty",key:"createActionSetIsNewQuerySessionOnEmpty",description:"Set if new query session was initialized upon empty omniswitcher open"};let T=(0,n.Ay)("Sets the lastOpenMethod field, which tracks how the search interface was opened");T.meta={name:"setLastOpenMethod",key:"createActionSetLastOpenMethod",description:"Sets the lastOpenMethod field, which tracks how the search interface was opened"};let I=(0,n.Ay)("Sets the omniswitcherMode field, which tracks how the search interface was opened");I.meta={name:"setOmniswitcherMode",key:"createActionSetOmniswitcherMode",description:"Sets the omniswitcherMode field, which tracks how the search interface was opened"};let w=(0,n.Ay)("Reset search ui redux state");w.meta={name:"reset",key:"createActionReset",description:"Reset search ui redux state"};let C=(0,n.Ay)("Set whether or not the input was focused via the tab key");C.meta={name:"setFocusedViaTabKey",key:"createActionSetFocusedViaTabKey",description:"Set whether or not the input was focused via the tab key"};let v=(0,n.Ay)("Toggle debug display of solr info");v.meta={name:"toggleDebugInfoVisible",key:"createActionToggleDebugInfoVisible",description:"Toggle debug display of solr info"};let x=(0,n.Ay)("Channel search: set channel type filter");x.meta={name:"setChannelSearchFilterType",key:"createActionSetChannelSearchFilterType",description:"Channel search: set channel type filter"};let R=(0,n.Ay)("Channel search: set record channel filter toggle");R.meta={name:"setChannelSearchFilterOnlyRecordChannels",key:"createActionSetChannelSearchFilterOnlyRecordChannels",description:"Channel search: set record channel filter toggle"};let O=(0,n.Ay)("Channel search: set record channel filter options list");O.meta={name:"setRecordTypeOptionsList",key:"createActionSetRecordTypeOptionsList",description:"Channel search: set record channel filter options list"};let N=(0,n.Ay)("Salesforce record search: set Salesforce org id filter");N.meta={name:"setSalesforceSearchFilterOrgId",key:"createActionSetSalesforceSearchFilterOrgId",description:"Salesforce record search: set Salesforce org id filter"};let D=(0,n.Ay)("Salesforce record search: set Salesforce record type filter");D.meta={name:"setSalesforceSearchFilterRecordType",key:"createActionSetSalesforceSearchFilterRecordType",description:"Salesforce record search: set Salesforce record type filter"};let L=(0,n.Ay)("Salesforce record search: set Salesforce created by me filter");L.meta={name:"setSalesforceSearchFilterCreatedByMe",key:"createActionSetSalesforceSearchFilterCreatedByMe",description:"Salesforce record search: set Salesforce created by me filter"};let M=(0,n.Ay)("Channel search: set record channel filter options list api call timestamp");M.meta={name:"setRecordTypeFetchTs",key:"createActionSetRecordTypeFetchTs",description:"Channel search: set record channel filter options list api call timestamp"};let F=(0,n.Ay)("All of search: set active enterprise team id filter");F.meta={name:"setActiveEnterpriseTeamIdFilter",key:"createActionSetActiveEnterpriseTeamIdFilter",description:"All of search: set active enterprise team id filter"};let P=(0,n.Ay)("Channel search: set external org filters");P.meta={name:"setChannelSearchOrgFilters",key:"createActionSetChannelSearchOrgFilters",description:"Channel search: set external org filters"};let U=(0,n.Ay)("People search: set external org filters");U.meta={name:"setPeopleSearchOrgFilters",key:"createActionSetPeopleSearchOrgFilters",description:"People search: set external org filters"};let B=(0,n.Ay)("People search: set location filters");B.meta={name:"setPeopleSearchLocationFilters",key:"createActionSetPeopleSearchLocationFilters",description:"People search: set location filters"};let G=(0,n.Ay)("People search: set division filters");G.meta={name:"setPeopleSearchDivisionFilters",key:"createActionSetPeopleSearchDivisionFilters",description:"People search: set division filters"};let H=(0,n.Ay)("People search: set title filters");H.meta={name:"setPeopleSearchTitleFilters",key:"createActionSetPeopleSearchTitleFilters",description:"People search: set title filters"};let W=(0,n.Ay)("People search: set department filters");W.meta={name:"setPeopleSearchDepartmentFilters",key:"createActionSetPeopleSearchDepartmentFilters",description:"People search: set department filters"};let V=(0,n.Ay)("People search: set celebration filters");V.meta={name:"setPeopleSearchCelebrationFilters",key:"createActionSetPeopleSearchCelebrationFilters",description:"People search: set celebration filters"};let j=(0,n.Ay)("Channel search: change the status of a channel join request");j.meta={name:"setChannelJoin",key:"createActionSetChannelJoin",description:"Channel search: change the status of a channel join request"};let K=(0,n.Ay)("Channel search: change the status of a channel leave request");K.meta={name:"setChannelLeave",key:"createActionSetChannelLeave",description:"Channel search: change the status of a channel leave request"};let q=(0,n.Ay)("Channel search: clear the join and leave state for channels");q.meta={name:"clearChannelSearchJoinsandLeaves",key:"createActionClearChannelSearchJoinsandLeaves",description:"Channel search: clear the join and leave state for channels"},(0,n.Ay)("Message and file search: set flag to only search within the current team").meta={name:"setSearchOnlyCurrentTeam",key:"createActionSetSearchOnlyCurrentTeam",description:"Message and file search: set flag to only search within the current team"},(0,n.Ay)("Message and file search: set flag to not show bot and app messages").meta={name:"setSearchExcludeBots",key:"createActionSetSearchExcludeBots",description:"Message and file search: set flag to not show bot and app messages"},(0,n.Ay)("Message and file search: set flag to only search channels you are a member of").meta={name:"setSearchOnlyMyChannels",key:"createActionSetSearchOnlyMyChannels",description:"Message and file search: set flag to only search channels you are a member of"};let z=(0,n.Ay)("People search: set people type filter");z.meta={name:"setPeopleSearchFilterType",key:"createActionSetPeopleSearchFilterType",description:"People search: set people type filter"};let $=(0,n.Ay)("People search: set a custom filter");$.meta={name:"setPeopleSearchCustomFilter",key:"createActionSetPeopleSearchCustomFilter",description:"People search: set a custom filter"};let Y=(0,n.Ay)("People search: set timezone filter suggestions");Y.meta={name:"setPeopleSearchTimezoneFilterSuggestion",key:"createActionSetPeopleSearchTimezoneFilterSuggestion",description:"People search: set timezone filter suggestions"};let Q=(0,n.Ay)("Channel search: reset UI");Q.meta={name:"resetChannelSearchUi",key:"createActionResetChannelSearchUi",description:"Channel search: reset UI"};let Z=(0,n.Ay)("People search: reset UI");Z.meta={name:"resetPeopleSearchUi",key:"createActionResetPeopleSearchUi",description:"People search: reset UI"};let J=(0,n.Ay)("Search: reset modules");J.meta={name:"resetSearchModules",key:"createActionResetSearchModules",description:"Search: reset modules"};let X=(0,n.Ay)("People search: indicate team profile fields are loading");X.meta={name:"setPeopleSearchTeamProfileLoading",key:"createActionSetPeopleSearchTeamProfileLoading",description:"People search: indicate team profile fields are loading"};let ee=(0,n.Ay)("People search: indicate team profile fields had an error");ee.meta={name:"setPeopleSearchTeamProfileError",key:"createActionSetPeopleSearchTeamProfileError",description:"People search: indicate team profile fields had an error"};let et=(0,n.Ay)("People search: indicate team profile fields has resolved");et.meta={name:"setPeopleSearchTeamProfileResolved",key:"createActionSetPeopleSearchTeamProfileResolved",description:"People search: indicate team profile fields has resolved"};let ea=(0,n.Ay)("Sets unique id representing last omniswitcher search performed");ea.meta={name:"setLastOmniswitcherSearchId",key:"createActionSetLastOmniswitcherSearchId",description:"Sets unique id representing last omniswitcher search performed"};let en=(0,n.Ay)("Sets previous sidebar open state for reset after search close");en.meta={name:"setPreviousSidebarOpenState",key:"createActionSetPreviousSidebarOpenState",description:"Sets previous sidebar open state for reset after search close"};let er=(0,n.Ay)("Sets the window ID within which search should render, or an empty string for the main window");er.meta={name:"setWindowIdToRender",key:"createActionSetWindowIdToRender",description:"Sets the window ID within which search should render, or an empty string for the main window"};let ei=(0,n.Ay)("Sets canvas tab to active state to lazy load results");ei.meta={name:"setCanvasTabState",key:"createActionSetCanvasTabState",description:"Sets canvas tab to active state to lazy load results"};let eo=(0,n.Ay)("Sets files tab to active state to lazy load results");eo.meta={name:"setFilesTabState",key:"createActionSetFilesTabState",description:"Sets files tab to active state to lazy load results"};let es=(0,n.Ay)("Sets whether search was initiated with top results tab active");es.meta={name:"setTopResultsTabActiveState",key:"createActionSetTopResultsTabActiveState",description:"Sets whether search was initiated with top results tab active"};let el=(0,n.Ay)("Sets the sort fyi coachmark to seen once dismissed once");el.meta={name:"setShouldShowSortFyiCoachmark",key:"createActionSetShouldShowSortFyiCoachmark",description:"Sets the sort fyi coachmark to seen once dismissed once"};let ec=(0,n.Ay)("Hydrates basic ui object shape in state for specified search view id");ec.meta={name:"hydrateUiStateForSearchView",key:"createActionHydrateUiStateForSearchView",description:"Hydrates basic ui object shape in state for specified search view id"};let ed=(0,n.Ay)("Sets flag on whether the Salesforce onboarding tip is shown");ed.meta={name:"setShouldShowSalesforceTip",key:"createActionSetShouldShowSalesforceTip",description:"Sets flag on whether the Salesforce onboarding tip is shown"};let eu=(0,n.Ay)("Set work object app ids");eu.meta={name:"setWorkObjectAppIds",key:"createActionSetWorkObjectAppIds",description:"Set work object app ids"};let em=(0,n.Ay)("Set is work object search loading");em.meta={name:"setIsWorkObjectSearchLoading",key:"createActionSetIsWorkObjectSearchLoading",description:"Set is work object search loading"};let ef=(0,n.Ay)("Set the map of work object app ids to connector app ids");ef.meta={name:"setWorkObjectAppIdToConnectorAppIdMap",key:"createActionSetWorkObjectAppIdToConnectorAppIdMap",description:"Set the map of work object app ids to connector app ids"};let e_=(0,n.Ay)("Set all work object modules loading state");e_.meta={name:"setAllWorkObjectModulesLoading",key:"createActionSetAllWorkObjectModulesLoading",description:"Set all work object modules loading state"};let ep=(0,n.Ay)("Set the view mode for the work object search");ep.meta={name:"setWorkObjectViewMode",key:"createActionSetWorkObjectViewMode",description:"Set the view mode for the work object search"};let eh=(0,n.Ay)("Set whether to render the work object layout toggle for a specific app id");eh.meta={name:"upsertShouldRenderWorkObjectLayoutToggleByAppId",key:"createActionUpsertShouldRenderWorkObjectLayoutToggleByAppId",description:"Set whether to render the work object layout toggle for a specific app id"}},0x237e0ebef:(e,t,a)=>{"use strict";a.d(t,{AQ:()=>E,AW:()=>I,A_:()=>ed,Av:()=>eu,DL:()=>H,EK:()=>A,GX:()=>ee,IG:()=>Y,Kw:()=>eo,LM:()=>el,LX:()=>G,Lm:()=>et,Lq:()=>V,Ls:()=>ei,MU:()=>C,Mn:()=>x,PB:()=>q,QA:()=>ef,R5:()=>J,T4:()=>K,T5:()=>S,Tz:()=>eh,WE:()=>ec,Xh:()=>ea,YM:()=>W,YO:()=>y,a1:()=>w,aJ:()=>B,bi:()=>eb,dN:()=>N,ev:()=>es,fL:()=>U,fX:()=>ep,hU:()=>eS,he:()=>j,hv:()=>eA,hz:()=>O,iR:()=>D,id:()=>g,jB:()=>er,l7:()=>e_,lB:()=>P,ln:()=>v,lu:()=>ey,mL:()=>en,n1:()=>$,nM:()=>eg,nj:()=>k,o0:()=>Z,oK:()=>X,oL:()=>b,p6:()=>Q,rO:()=>T,tL:()=>M,tw:()=>F,u1:()=>em,yB:()=>L,yy:()=>R});var n=a(0x8ed587af),r=a(0xb9c13fce),i=a(0x167d76333),o=a(0xa1832ae4),s=a(0x4fcd1639),l=a(0x11f79e2d6),c=a(0x19b946539),d=a(0x1fe086707),u=a(0x1cf0d97e1),m=a(0x9b971e7e),f=a(0xdf55e8f3),_=a(0x16f8b3ac2),p=a(0x196ee8604),h=a(0x1ee439e69);let g=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.tab);g.meta={name:"getTab",key:"createSelectorGetTab",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.tab};let A=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.viewType);A.meta={name:"getViewType",key:"createSelectorGetViewType",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.viewType};let b=(0,u.Ay)((e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.modules?.[t]);b.meta={name:"getModuleState",key:"createSelectorGetModuleState",description:(e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.modules?.[t]};let y=(0,u.Ay)((e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.modules?.[t]?.sort);y.meta={name:"getSortByModule",key:"createSelectorGetSortByModule",description:(e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.modules?.[t]?.sort};let S=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.scrollPosition);S.meta={name:"getScrollPosition",key:"createSelectorGetScrollPosition",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.scrollPosition};let E=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.heightCache);E.meta={name:"getHeightCache",key:"createSelectorGetHeightCache",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.heightCache};let k=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.sessionTimeoutId);k.meta={name:"getSessionTimeoutId",key:"createSelectorGetSessionTimeoutId",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.sessionTimeoutId};let T=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.isNewQuerySessionOnEmpty);T.meta={name:"getIsNewQuerySessionOnEmpty",key:"createSelectorGetIsNewQuerySessionOnEmpty",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.isNewQuerySessionOnEmpty};let I=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.querySessionTimeoutId);I.meta={name:"getQuerySessionTimeoutId",key:"createSelectorGetQuerySessionTimeoutId",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.querySessionTimeoutId};let w=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.lastOpenMethod);w.meta={name:"getLastOpenMethod",key:"createSelectorGetLastOpenMethod",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.lastOpenMethod};let C=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.omniswitcherMode);C.meta={name:"getOmniswitcherMode",key:"createSelectorGetOmniswitcherMode",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.omniswitcherMode};let v=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.focusedViaTabKey);v.meta={name:"wasFocusedViaTabKey",key:"createSelectorWasFocusedViaTabKey",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.focusedViaTabKey};let x=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.isDebugInfoVisible);x.meta={name:"getIsDebugInfoVisible",key:"createSelectorGetIsDebugInfoVisible",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.isDebugInfoVisible};let R=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchFilterType);R.meta={name:"getChannelSearchFilterType",key:"createSelectorGetChannelSearchFilterType",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchFilterType};let O=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchFilterOnlyRecordChannels);O.meta={name:"getChannelSearchFilterOnlyRecordChannels",key:"createSelectorGetChannelSearchFilterOnlyRecordChannels",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchFilterOnlyRecordChannels},(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.recordTypeOptionsList).meta={name:"getRecordTypeOptionsList",key:"createSelectorGetRecordTypeOptionsList",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.recordTypeOptionsList},(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.recordTypeFetchTs).meta={name:"getRecordTypeFetchTs",key:"createSelectorGetRecordTypeFetchTs",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.recordTypeFetchTs};let N=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.canvasTabSelected);N.meta={name:"getCanvasTabState",key:"createSelectorGetCanvasTabState",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.canvasTabSelected};let D=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.filesTabSelected);D.meta={name:"getFilesTabState",key:"createSelectorGetFilesTabState",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.filesTabSelected};let L=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.topResultsTabActive);L.meta={name:"getTopResultsTabActiveState",key:"createSelectorGetTopResultsTabActiveState",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.topResultsTabActive};let M=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchOrgFilterSuggestions);M.meta={name:"getChannelSearchOrgFilterSuggestions",key:"createSelectorGetChannelSearchOrgFilterSuggestions",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchOrgFilterSuggestions};let F=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchOrgFilterSuggestions);F.meta={name:"getPeopleSearchOrgFilterSuggestions",key:"createSelectorGetPeopleSearchOrgFilterSuggestions",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchOrgFilterSuggestions};let P=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchOrgFilters);P.meta={name:"getChannelSearchOrgFilters",key:"createSelectorGetChannelSearchOrgFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.channelSearchOrgFilters};let U=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchOrgFilters);U.meta={name:"getPeopleSearchOrgFilters",key:"createSelectorGetPeopleSearchOrgFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchOrgFilters};let B=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchLocationFilters);B.meta={name:"getPeopleSearchLocationFilters",key:"createSelectorGetPeopleSearchLocationFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchLocationFilters};let G=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTitleFilters);G.meta={name:"getPeopleSearchTitleFilters",key:"createSelectorGetPeopleSearchTitleFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTitleFilters};let H=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchDepartmentFilters);H.meta={name:"getPeopleSearchDepartmentFilters",key:"createSelectorGetPeopleSearchDepartmentFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchDepartmentFilters};let W=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchDivisionFilters);W.meta={name:"getPeopleSearchDivisionFilters",key:"createSelectorGetPeopleSearchDivisionFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchDivisionFilters};let V=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchCelebrationFilters);V.meta={name:"getPeopleSearchCelebrationFilters",key:"createSelectorGetPeopleSearchCelebrationFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchCelebrationFilters};let j=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterOrgId);j.meta={name:"getSalesforceSearchFilterOrgId",key:"createSelectorGetSalesforceSearchFilterOrgId",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterOrgId};let K=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterRecordType);K.meta={name:"getSalesforceSearchFilterRecordType",key:"createSelectorGetSalesforceSearchFilterRecordType",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterRecordType};let q=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterCreatedByMe);q.meta={name:"getSalesforceSearchFilterCreatedByMe",key:"createSelectorGetSalesforceSearchFilterCreatedByMe",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.salesforceSearchFilterCreatedByMe};let z=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.sharedTeams);z.meta={name:"getSearchSharedTeams",key:"createSelectorGetSearchSharedTeams",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.sharedTeams},(0,u.Ay)((e,t=l.Ii)=>{let a=z(e,t);return a?.state==="loading"}).meta={name:"getLoadingStateForSearchSharedTeams",key:"createSelectorGetLoadingStateForSearchSharedTeams",description:(e,t=l.Ii)=>{let a=z(e,t);return a?.state==="loading"}},(0,f.eI)((e,t=l.Ii)=>{let{teamIds:a}=z(e,t);return(0,h.DK)(e,a).map(e=>({id:e?e.id:"",name:(0,o.F1)(e)}))});let $=(0,f.eI)(e=>{let t=(0,m.jV)(e);return(0,_.SF)(e).filter(e=>!!e.enterprise_id&&e.enterprise_id===t).map(t=>(0,h._J)(e,t.id))}),Y=(0,u.Ay)((e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.channelJoins[t]);Y.meta={name:"getChannelJoinById",key:"createSelectorGetChannelJoinById",description:(e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.channelJoins[t]};let Q=(0,u.Ay)((e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.channelLeaves[t]);Q.meta={name:"getChannelLeaveById",key:"createSelectorGetChannelLeaveById",description:(e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.channelLeaves[t]};let Z=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchFilterType);Z.meta={name:"getPeopleSearchFilterType",key:"createSelectorGetPeopleSearchFilterType",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchFilterType};let J=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchFilterType?.type);J.meta={name:"getPeopleSearchFilterTypeValue",key:"createSelectorGetPeopleSearchFilterTypeValue",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchFilterType?.type};let X=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchCustomFilters);X.meta={name:"getPeopleSearchCustomFilters",key:"createSelectorGetPeopleSearchCustomFilters",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchCustomFilters};let ee=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTimezoneFilterSuggestions);ee.meta={name:"getPeopleSearchTimezoneFilterSuggestions",key:"createSelectorGetPeopleSearchTimezoneFilterSuggestions",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTimezoneFilterSuggestions};let et=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTeamProfileState);et.meta={name:"getPeopleSearchTeamProfileState",key:"createSelectorGetPeopleSearchTeamProfileState",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.peopleSearchTeamProfileState};let ea=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.selectedEnterpriseTeamId);ea.meta={name:"getSearchSelectedEnterpriseTeamId",key:"createSelectorGetSearchSelectedEnterpriseTeamId",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.selectedEnterpriseTeamId};let en=(0,u.Ay)((e,t=l.Ii)=>{let a=b(e,l.Qt.MESSAGES,t);return a?.loading||!1});en.meta={name:"getLoadingStateForMessagesSuggestions",key:"createSelectorGetLoadingStateForMessagesSuggestions",description:(e,t=l.Ii)=>{let a=b(e,l.Qt.MESSAGES,t);return a?.loading||!1}};let er=(0,u.Ay)((e,t=l.Ii)=>{let a=b(e,l.Qt.FILES,t);return a?.loading||!1});er.meta={name:"getLoadingStateForFilesSuggestions",key:"createSelectorGetLoadingStateForFilesSuggestions",description:(e,t=l.Ii)=>{let a=b(e,l.Qt.FILES,t);return a?.loading||!1}};let ei=(0,u.Ay)((e,t=l.Ii)=>{let a=b(e,l.Qt.TOP_RESULTS,t);return a?.loading||!1});ei.meta={name:"getLoadingStateForTopResultsSuggestions",key:"createSelectorGetLoadingStateForTopResultsSuggestions",description:(e,t=l.Ii)=>{let a=b(e,l.Qt.TOP_RESULTS,t);return a?.loading||!1}};let eo=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.lastOmniswitcherSearchId);eo.meta={name:"getLastOmniswitcherSearchId",key:"createSelectorGetLastOmniswitcherSearchId",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.lastOmniswitcherSearchId};let es=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.shouldShowSortCoachmark);es.meta={name:"getShouldShowSortFyiCoachmark",key:"createSelectorGetShouldShowSortFyiCoachmark",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.shouldShowSortCoachmark};let el=(0,u.Ay)(e=>e?.searchUi?.windowIdToRender);el.meta={name:"getWindowIdToRender",key:"createSelectorGetWindowIdToRender",description:e=>e?.searchUi?.windowIdToRender};let ec=(0,u.Ay)((e,t,a=l.Ii)=>{if(!t)return -1;let n=b(e,t,a);if(!n)return -1;let{page:r}=n;return r});ec.meta={name:"getPage",key:"createSelectorGetPage",description:(e,t,a=l.Ii)=>{if(!t)return -1;let n=b(e,t,a);if(!n)return -1;let{page:r}=n;return r}};let ed=(0,u.Ay)((e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return!1;let{loading:r}=n;return!!r});ed.meta={name:"getLoadingState",key:"createSelectorGetLoadingState",description:(e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return!1;let{loading:r}=n;return!!r}};let eu=(0,u.Ay)((e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return"";let{error:r}=n;return r});eu.meta={name:"getErrorState",key:"createSelectorGetErrorState",description:(e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return"";let{error:r}=n;return r}};let em=(0,u.Ay)((e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return"";let{errorMessage:r}=n;return r});em.meta={name:"getErrorMessage",key:"createSelectorGetErrorMessage",description:(e,t,a=l.Ii)=>{let n=b(e,t,a);if(!n)return"";let{errorMessage:r}=n;return r}};let ef=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectAppIds);ef.meta={name:"getWorkObjectAppIds",key:"createSelectorGetWorkObjectAppIds",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectAppIds};let e_=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectAppIdToConnectorAppId);e_.meta={name:"getWorkObjectAppIdToConnectorAppIdMap",key:"createSelectorGetWorkObjectAppIdToConnectorAppIdMap",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectAppIdToConnectorAppId};let ep=(0,u.Ay)((e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.workObjectAppIdToConnectorAppId[t]);ep.meta={name:"getConnectorAppIdForWorkObjectAppId",key:"createSelectorGetConnectorAppIdForWorkObjectAppId",description:(e,t,a=l.Ii)=>e.searchUi.instances?.[a]?.workObjectAppIdToConnectorAppId[t]};let eh=(0,f.jB)(e=>{let t=[],a=(0,n.kR)(e),o=(0,i.F)(e),u=(0,r.N)(e),m=(0,n.v4)(e),f=(0,s.L)(e),_=(0,p.VK)(e),h=(0,n.YR)(e);a&&t.push([l.Qt.TOP_RESULTS]);let g=[];g.push(l.Qt.MESSAGES,l.Qt.FILES,l.Qt.PEOPLE,l.Qt.CHANNELS),f&&g.splice(1,0,l.Qt.DMS),o&&g.push(l.Qt.CANVASES),u&&g.push(l.Qt.SALESFORCE),t.push(g);let A=ef(e),b=e_(e),y=Object.values(b||{});if(h&&A.length>0)if(m){let e=[];for(let t of A){let a=b[t];if(a){let n=_.find(e=>e.app_id===a);n?.is_connected||e.push((0,d.Hw)(t))}else e.push((0,d.Hw)(t))}t.push([...e])}else t.push([...A.map(e=>(0,d.Hw)(e))]);if(m&&_.length)if(h){let e=_.filter(e=>!y.includes(e.app_id));t.push([...e.map(e=>(0,c.Kf)(e.app_id))])}else t.push([..._.map(e=>(0,c.Kf)(e.app_id))]);return t}),eg=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.isWorkObjectSearchLoading||!1);eg.meta={name:"getIsWorkObjectSearchLoading",key:"createSelectorGetIsWorkObjectSearchLoading",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.isWorkObjectSearchLoading||!1};let eA=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectViewMode);eA.meta={name:"getWorkObjectViewMode",key:"createSelectorGetWorkObjectViewMode",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.workObjectViewMode};let eb=(0,u.Ay)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.shouldShowSalesforceTip);eb.meta={name:"getShouldShowSalesforceTip",key:"createSelectorGetShouldShowSalesforceTip",description:(e,t=l.Ii)=>e.searchUi.instances?.[t]?.shouldShowSalesforceTip};let ey=(0,f.eI)((e,t=l.Ii)=>Object.keys(e.searchUi.instances?.[t]?.modules||{}).filter(e=>(0,d.NP)(e))),eS=(0,f.eI)((e,t=l.Ii)=>e.searchUi.instances?.[t]?.shouldRenderWorkObjectLayoutToggleByAppId??{})},0x1950da728:(e,t,a)=>{"use strict";a.d(t,{$Z:()=>C,Ab:()=>q,BR:()=>o,CB:()=>r,Cq:()=>I,Dx:()=>f,FP:()=>m,G6:()=>x,Il:()=>B,J7:()=>U,Jx:()=>V,K_:()=>i,L:()=>p,LV:()=>W,Mn:()=>g,R5:()=>T,Rj:()=>F,Sj:()=>y,Tm:()=>h,UB:()=>A,UK:()=>v,VU:()=>l,Vi:()=>P,ZH:()=>H,aJ:()=>c,aM:()=>w,cb:()=>k,cs:()=>N,d0:()=>z,gT:()=>_,gZ:()=>b,hv:()=>D,iO:()=>d,jv:()=>S,kK:()=>n,qi:()=>G,rd:()=>R,rs:()=>K,t9:()=>O,wA:()=>E,wU:()=>isToggleFilterKey,wb:()=>s,xV:()=>u,zv:()=>L});let n={relevantMessages:"relevantMessages",recentMessages:"recentMessages",oldest:"timestamp_asc"},r="repos",i={all_pull_requests:"all_pull_requests",my_pull_requests:"my_pull_requests",assigned_to_me:"assigned_to_me",mentions_me:"mentions_me"},o={relevant:"relevantTopResults",newest:"newestTopResults",oldest:"oldestTopResults"},s={relevant:"score",newest:"timestamp",oldest:"timestamp_asc"},l={relevant:"score",recent:"timestamp",oldest:"timestamp_asc",name:"name",reverseAlpha:"name_desc",lastRead:"last_read",lastEngaged:"last_engaged",createdNew:"created"},c={relevant:"relevant",name:"name",created:"created",oldest:"created_asc",memberCount:"member_count",memberCountLeast:"member_count_asc",reverseAlpha:"name_desc"},d={relevant:"relevant",name:"name",reverseAlpha:"name_desc"},u={all:"all",public:"private_exclude",private:"private",archived:"archived",shared:"shared"},m={all_channels:"all_channels",my_channels:"my_channels",other_channels:"other_channels",recently_left_channels:"recently left channels",recently_joined_channels:"recently joined channels"},f={all:"0,1,2,3,4,5,6,7,8,9",owners:"0,1",admins:"0,1,2",full:"0,1,2,3,7",guests:"4,5,8",deactivated:"6",profile_only:"9"},_="search_hide_my_channels",p="search_top_results_sort",h="search_work_objects_sort",g="search_sort",A="search_channel_sort",b="search_people_sort",y="search_hide_deactivated_users",S="search_exclude_bots",E="search_only_my_channels",k={SEARCHY:"searchy",SWITCHY:"switchy"},T={DEFAULT:"default",MESSAGES:"messages",FILES:"files",PEOPLE:"people",CHANNELS:"channels",SHORTCUTS:"shortcuts",WORKFLOWS:"workflows",SALESFORCE:"salesforce",AGENTS:"agents",DMS:"dms"};T.MESSAGES,T.FILES,T.CHANNELS,T.PEOPLE,T.WORKFLOWS,T.SALESFORCE,T.AGENTS,T.DMS;let I=["key_k","key_t","key_button"],w=["key_g","key_f","click","inline_search_button","blank_state_button","history","key_g_page","click_page","key_nav_input","click_channel_context","suggestion_action","click_channel_section_context","about_modal","link","search_in_channel_escape_hatch","auto_slack_launchpad","salesforce_app"],C={ALL:"",POSTS:"docs",SNIPPETS:"snippets",EMAILS:"emails",IMAGES:"images",AUDIO:"audio",VIDEOS:"videos",PDFS:"pdfs",SPREADSHEETS:"spreadsheets",PRESENTATIONS:"presentations",DOCUMENTS:"documents",CANVASES:"canvases",LISTS:"lists",QUIP:"quip",CANVAS_TEMPLATE:"canvas_template"},v={doc:"docs",snippet:"snippets",email:"emails",image:"images",video:"videos",pdf:"pdfs",spreadsheet:"spreadsheets",presentation:"presentations",document:"documents",canvas:"canvases",list:"lists"},x=["documents","spreadsheets","presentations","pdfs","videos","images"],R={file:"file",canvas:"canvas",list:"list"},O={[C.ALL]:"files",[C.POSTS]:"posts",[C.SNIPPETS]:"text-snippet",[C.EMAILS]:"email",[C.IMAGES]:"image",[C.AUDIO]:"sound",[C.VIDEOS]:"video",[C.PDFS]:"pdf-file",[C.SPREADSHEETS]:"spreadsheet",[C.PRESENTATIONS]:"presentation",[C.DOCUMENTS]:"document",[C.CANVASES]:"canvas",[C.LISTS]:"lists"},N={[u.all]:"channel",[u.private]:"lock",[u.archived]:"archive",[u.shared]:"buildings",[u.public]:"channel"},D={FROM:"filter-from",IN:"filter-in",DATE:"filter-date",FILE_TYPE:"filter-file-type",CHANNEL_TYPE:"filter-channel-type",RECORD_TYPE:"filter-record-type",ACCOUNT_TYPE:"filter-account-type",ORG:"filter-org",WORKSPACE:"filter-workspace",MORE:"filter-more",REACTION:"filter-reaction",SORT:"filter-sort",HIDE_MY_CHANNELS:"filter-hide-my-channels",HIDE_DEACTIVATED_USERS:"filter-hide-deactivated-users",HAS_FILE:"filter-has-file",HAS_LINK:"filter-has-link",HAS_ACTION:"filter-has-action",HAS_PIN:"filter-has-pin",IS_SAVED:"filter-is-saved",IS_THREAD:"filter-is-thread",IS_DM:"filter-is-dm",ONLY_MY_CHANNELS:"filter-only-my-channels",RECENTLY_LEFT_CHANNELS:"filter-recently-left-channels",RECENTLY_JOINED_CHANNELS:"filter-recently-joined-channels",EXCLUDE_BOTS:"filter-exclude-non-members",WITH:"filter-with",NOT_FROM:"filter-not-from",ALL_FILES:"filter-all-files",ALL_CHANNELS:"filter-all-channels",SALESFORCE_ORG_ID:"filter-salesforce-org",SALESFORCE_RECORD_TYPE:"filter-salesforce-record-type",SALESFORCE_CREATED_BY_ME:"filter-salesforce-created-by-me",SHARED_WITH_YOU:"shared-with-you",CREATED_BY_YOU:"created-by-you",CREATOR:"creator",LOCATION:"location",CELEBRATION:"celebration",TITLE:"title",DIVISION:"division",DEPARTMENT:"department",ONLY_RECORD_CHANNELS:"filter-only-record-channels",EXTERNAL_FILE_TYPE:"included_file_types",SHARED_WITH_ME:"shared_with_me",OWNED_BY_ME:"owned_by_me",FILE_MODIFIED_DATE:"date_modified",CREATED_BY_ME:"created_by_me",REPOS:"repos",PULL_REQUESTS:"pull_requests_header",SOURCES:"sources"},L={MULTI_SELECT:"multi_select",DROPDOWN:"dropdown",SELECT:"select",TOGGLE:"toggle",DATE_MODIFIED:"date_modified",EXTERNAL_FILE_TYPES:"external_file_types",SEARCHABLE_MULTI_SELECT:"searchable_multi_select"},M=[D.ONLY_MY_CHANNELS,D.EXCLUDE_BOTS,D.HIDE_MY_CHANNELS,D.HIDE_DEACTIVATED_USERS,D.HAS_FILE,D.HAS_LINK,D.HAS_ACTION,D.HAS_PIN,D.IS_SAVED,D.IS_THREAD,D.IS_DM,D.CREATED_BY_YOU,D.SHARED_WITH_YOU,D.SHARED_WITH_ME],isToggleFilterKey=e=>M.includes(e),F={TODAY:"search-filters-today-preset",YESTERDAY:"search-filters-yesterday-preset",LAST_7_DAYS:"search-filters-week-preset",LAST_30_DAYS:"search-filters-month-preset",LAST_3_MONTHS:"search-filters-quarter-preset",LAST_12_MONTHS:"search-filters-year-preset",LAST_3_YEARS:"search-filters-3-years-preset"},P=280,U=486,B=234,G=452,H=32,W={20:20,50:50,100:100,all:"all"},V={OMNISWITCHER:"omniswitcher",OPERATOR:"operator",UNIFIED_FILES_EXPLORER:"unified-files-explorer",CANVAS_EXPLORER:"canvas-explorer",CANVAS_PICKER_EXPLORER:"canvas-picker-explorer",LIST_EXPLORER:"list-explorer",RELATED_LISTS_EXPLORER:"related-lists-explorer",FILE_EXPLORER:"file-explorer",PEOPLE_EXPLORER:"people-explorer",WORKFLOWS_EXPLORER:"workflows-explorer",MANAGED_WORKFLOWS_EXPLORER:"managed-workflows-explorer",SLACKBOT_AUTOMATIONS_EXPLORER:"slackbot-automations-explorer",YOUR_WORKFLOW_TEMPLATES_EXPLORER:"your-workflow-templates-explorer",WORKFLOW_TEMPLATES_EXPLORER:"workflow-templates-explorer",CHANNEL_EXPLORER:"channel-explorer",CANVAS_FILTER_VIEW:"canvas_filter_view",FILES_FILTER_VIEW:"files_filter_view",JOINER_LAUNCHPAD_PEOPLE_PICKER:"joiner_launchpad_people_picker",USER_GROUP_EXPLORER:"user-group-explorer",SALES_LIST_VIEW_EXPLORER:"sales-list-view-explorer",EXTERNAL_CONNECTIONS_EXPLORER:"external-connections-explorer",CHANNEL_FILES_EXPLORER:"channel-files-explorer",SEARCH_IN_CHANNEL:"search-in-channel",AGENT_EXPLORER:"agent-explorer",UNIFIED_FILE_PICKER:"unified-file-picker",UNIFIED_FILES_EXPLORER_CHILD:"unified-files-explorer-child",SEARCH_PRIMARY_PROTOTYPE:"search-primary-prototype"};var j,K=((j={}).ANNIVERSARY="anniversary",j.NEW_HIRE="new_hire",j);let q={POPULAR_THIS_WEEK:"Popular this week",RECENTLY_UPDATED_BY_OTHERS:"Recently updated by others",RECENTLY_UPDATED_BY_YOU:"Recently updated by you",RECENTLY_VIEWED:"Recently viewed",FREQUENTLY_VIEWED_BY_YOU:"Frequently viewed by you",NEW:"New",RECENTLY_SHARED_BY_YOU:"Recently shared by you"},z={FULL:"full",COMPACT:"compact"}},0x113d1778:(e,t,a)=>{"use strict";a.d(t,{$3:()=>D,$f:()=>es,$q:()=>en,Au:()=>p,B3:()=>v,Bh:()=>d,CA:()=>eM,CB:()=>ee,EU:()=>A,EY:()=>l,F$:()=>X,FC:()=>P,FV:()=>eR,FX:()=>em,F_:()=>Z,G_:()=>eV,Gg:()=>e_,Gu:()=>eE,HU:()=>g,II:()=>eO,IJ:()=>eP,JR:()=>eS,Kd:()=>N,Lc:()=>r,Lt:()=>eW,My:()=>eC,Nm:()=>m,Nv:()=>et,O6:()=>ei,O9:()=>f,ON:()=>ef,P:()=>T,PC:()=>ep,Ph:()=>eL,Q6:()=>eD,QK:()=>ec,QZ:()=>O,R7:()=>ew,RP:()=>eH,T$:()=>eN,Tj:()=>I,Vp:()=>eT,W3:()=>eo,X9:()=>ek,XH:()=>J,Xr:()=>z,Z$:()=>_,ZU:()=>c,Zm:()=>el,_A:()=>F,_l:()=>eF,_t:()=>y,aF:()=>K,am:()=>eB,bN:()=>eU,bk:()=>h,bs:()=>k,by:()=>S,eF:()=>eG,ep:()=>G,f0:()=>Y,fh:()=>V,fy:()=>u,gL:()=>eb,gn:()=>U,hL:()=>ey,ho:()=>ed,i7:()=>q,iM:()=>ej,jt:()=>H,jv:()=>s,jy:()=>C,lB:()=>$,lG:()=>eu,lf:()=>ev,o1:()=>Q,pX:()=>eA,pl:()=>er,pm:()=>eh,pt:()=>b,qQ:()=>M,qZ:()=>eI,qy:()=>eg,rG:()=>i,ro:()=>x,sf:()=>W,sl:()=>w,su:()=>o,t4:()=>E,uu:()=>ea,vT:()=>j,ve:()=>ex,vs:()=>L,yf:()=>R,yx:()=>B});var n=a(0xcf658893);let r=(0,n.Ay)("Sets solution template perf");r.meta={name:"setSolutionTemplatePref",key:"createActionSetSolutionTemplatePref",description:"Sets solution template perf"};let i=(0,n.Ay)("Sets the isAddingProgressiveDisclosureTipTimestamp status");i.meta={name:"setIsAddingProgressiveDisclosureTipTimestamp",key:"createActionSetIsAddingProgressiveDisclosureTipTimestamp",description:"Sets the isAddingProgressiveDisclosureTipTimestamp status"};let o=(0,n.Ay)("Updates the team name");o.meta={name:"setTeamNameValue",key:"createActionSetTeamNameValue",description:"Updates the team name"};let s=(0,n.Ay)("Updates current user full name");s.meta={name:"setProfileStepFullNameValue",key:"createActionSetProfileStepFullNameValue",description:"Updates current user full name"};let l=(0,n.Ay)("Sets current step of the team creation setup wizard");l.meta={name:"setCurrentStep",key:"createActionSetCurrentStep",description:"Sets current step of the team creation setup wizard"};let c=(0,n.Ay)("Sets the current setup creation flow (ex: default vs shared channel vs. tada from pricing or promo)");c.meta={name:"setSetupCreationFlow",key:"createActionSetSetupCreationFlow",description:"Sets the current setup creation flow (ex: default vs shared channel vs. tada from pricing or promo)"};let d=(0,n.Ay)("Add channels as users selects them");d.meta={name:"addChannel",key:"createActionAddChannel",description:"Add channels as users selects them"};let u=(0,n.Ay)("Update the name of a channel");u.meta={name:"updateChannel",key:"createActionUpdateChannel",description:"Update the name of a channel"};let m=(0,n.Ay)("Set skipped invites");m.meta={name:"setSkippedInvites",key:"createActionSetSkippedInvites",description:"Set skipped invites"};let f=(0,n.Ay)("Set skipped select people");f.meta={name:"setSkippedPeople",key:"createActionSetSkippedPeople",description:"Set skipped select people"};let _=(0,n.Ay)("Set shared invite link");_.meta={name:"setSharedInviteLink",key:"createActionSetSharedInviteLink",description:"Set shared invite link"};let p=(0,n.Ay)("Set invite emails");p.meta={name:"setEmails",key:"createActionSetEmails",description:"Set invite emails"};let h=(0,n.Ay)("Remove email");h.meta={name:"removeEmail",key:"createActionRemoveEmail",description:"Remove email"};let g=(0,n.Ay)("Clear invite emails");g.meta={name:"clearEmails",key:"createActionClearEmails",description:"Clear invite emails"};let A=(0,n.Ay)("Set selected members");A.meta={name:"setMembers",key:"createActionSetMembers",description:"Set selected members"};let b=(0,n.Ay)("Remove selected member");b.meta={name:"removeMember",key:"createActionRemoveMember",description:"Remove selected member"};let y=(0,n.Ay)("Set Joiner setup people step is loading");y.meta={name:"setPeopleStepIsLoading",key:"createActionSetPeopleStepIsLoading",description:"Set Joiner setup people step is loading"};let S=(0,n.Ay)("Sets the shared-invite details");S.meta={name:"setSharedInviteDetails",key:"createActionSetSharedInviteDetails",description:"Sets the shared-invite details"};let E=(0,n.Ay)("Sets the shared-invite acceptance result");E.meta={name:"setSharedInviteAcceptanceResult",key:"createActionSetSharedInviteAcceptanceResult",description:"Sets the shared-invite acceptance result"};let k=(0,n.Ay)("Sets the error result for fetching shared-invite info");k.meta={name:"setSharedInviteInfoError",key:"createActionSetSharedInviteInfoError",description:"Sets the error result for fetching shared-invite info"};let T=(0,n.Ay)("Set store state for progressive disclosure tips");T.meta={name:"setCurrentProgressiveDisclosureTip",key:"createActionSetCurrentProgressiveDisclosureTip",description:"Set store state for progressive disclosure tips"};let I=(0,n.Ay)("Save a timer for delayed progressive disclosure tip");I.meta={name:"setProgressiveDisclosureTipTimer",key:"createActionSetProgressiveDisclosureTipTimer",description:"Save a timer for delayed progressive disclosure tip"};let w=(0,n.Ay)("Set progressive disclosure sent message counter");w.meta={name:"setProgressiveDisclosureSentMessageCounter",key:"createActionSetProgressiveDisclosureSentMessageCounter",description:"Set progressive disclosure sent message counter"};let C=(0,n.Ay)("Set progressive disclosure last message timestamp for Megaphone controlled tip");C.meta={name:"setProgressiveDisclosureLastMessageTsForMegaphoneControlledTip",key:"createActionSetProgressiveDisclosureLastMessageTsForMegaphoneControlledTip",description:"Set progressive disclosure last message timestamp for Megaphone controlled tip"};let v=(0,n.Ay)("Check if progressive disclosure is currently enabled");v.meta={name:"initProgressiveDisclosure",key:"createActionInitProgressiveDisclosure",description:"Check if progressive disclosure is currently enabled"};let x=(0,n.Ay)("Disable progressive disclosure");x.meta={name:"disableProgressiveDisclosure",key:"createActionDisableProgressiveDisclosure",description:"Disable progressive disclosure"};let R=(0,n.Ay)("Set requestId from the contacts request");R.meta={name:"setContactsRequestId",key:"createActionSetContactsRequestId",description:"Set requestId from the contacts request"};let O=(0,n.Ay)("Set calendar contact import step");O.meta={name:"setCalendarContactImportStep",key:"createActionSetCalendarContactImportStep",description:"Set calendar contact import step"};let N=(0,n.Ay)("Set teammate invitation suggestions from calendar app");N.meta={name:"setSuggestedContactsFromImport",key:"createActionSetSuggestedContactsFromImport",description:"Set teammate invitation suggestions from calendar app"};let D=(0,n.Ay)("Set teammate invitation external suggestions from calendar app");D.meta={name:"setSuggestedExternalContactsFromImport",key:"createActionSetSuggestedExternalContactsFromImport",description:"Set teammate invitation external suggestions from calendar app"};let L=(0,n.Ay)("Set selected teammates to invite from calendar app suggestions");L.meta={name:"setSelectedContacts",key:"createActionSetSelectedContacts",description:"Set selected teammates to invite from calendar app suggestions"};let M=(0,n.Ay)("Set selected external teammates to invite from calendar app suggestions");M.meta={name:"setSelectedExternalContacts",key:"createActionSetSelectedExternalContacts",description:"Set selected external teammates to invite from calendar app suggestions"};let F=(0,n.Ay)("Set hasSuccessfullyHuddled value");F.meta={name:"setHasSuccessfullyHuddled",key:"createActionSetHasSuccessfullyHuddled",description:"Set hasSuccessfullyHuddled value"};let P=(0,n.Ay)("Set hasSeenHuddlesExplainer value");P.meta={name:"setHasSeenHuddlesExplainer",key:"createActionSetHasSeenHuddlesExplainer",description:"Set hasSeenHuddlesExplainer value"};let U=(0,n.Ay)("Set isSwitchOnExplainerVisible value");U.meta={name:"setIsSwitchOnExplainerVisible",key:"createActionSetIsSwitchOnExplainerVisible",description:"Set isSwitchOnExplainerVisible value"};let B=(0,n.Ay)("Set isOnboardingHuddlesTipVisible value");B.meta={name:"setIsOnboardingHuddlesTipVisible",key:"createActionSetIsOnboardingHuddlesTipVisible",description:"Set isOnboardingHuddlesTipVisible value"};let G=(0,n.Ay)("Set inviterUserId value");G.meta={name:"setInviterUserId",key:"createActionSetInviterUserId",description:"Set inviterUserId value"};let H=(0,n.Ay)("Set sidebar index of click on recommended dm for clogging send action");H.meta={name:"setRecommendedDmSidebarIndex",key:"createActionSetRecommendedDmSidebarIndex",description:"Set sidebar index of click on recommended dm for clogging send action"};let W=(0,n.Ay)("Set recommended channels for the joiner launchpad page");W.meta={name:"setLaunchpadRecommendedChannels",key:"createActionSetLaunchpadRecommendedChannels",description:"Set recommended channels for the joiner launchpad page"};let V=(0,n.Ay)("Set recommended channels metadata for the joiner launchpad page");V.meta={name:"setLaunchpadRecommendedChannelsMetadata",key:"createActionSetLaunchpadRecommendedChannelsMetadata",description:"Set recommended channels metadata for the joiner launchpad page"};let j=(0,n.Ay)("Set when there are new, unseen joiner launchpad recommendations");j.meta={name:"setHasNewLaunchpadRecommendations",key:"createActionSetHasNewLaunchpadRecommendations",description:"Set when there are new, unseen joiner launchpad recommendations"};let K=(0,n.Ay)("Set recent channel summaries for recommended channels for the joiner launchpad page");K.meta={name:"setLaunchpadRecommendedRecentChannelSummaries",key:"createActionSetLaunchpadRecommendedRecentChannelSummaries",description:"Set recent channel summaries for recommended channels for the joiner launchpad page"};let q=(0,n.Ay)("Update single channel summary for the joiner launchpad page");q.meta={name:"updateLaunchpadRecommendedChannelSummary",key:"createActionUpdateLaunchpadRecommendedChannelSummary",description:"Update single channel summary for the joiner launchpad page"};let z=(0,n.Ay)("Set the value of isFocusedOnEmailInvitesInput");z.meta={name:"setIsFocusedOnEmailInvitesInput",key:"createActionSetIsFocusedOnEmailInvitesInput",description:"Set the value of isFocusedOnEmailInvitesInput"};let $=(0,n.Ay)("Set the value of hasUploadedPhoto");$.meta={name:"setHasUploadedPhoto",key:"createActionSetHasUploadedPhoto",description:"Set the value of hasUploadedPhoto"};let Y=(0,n.Ay)("Set when Welcome DM message suggestion tip is visible");Y.meta={name:"setIsWelcomeDmTipOpen",key:"createActionSetIsWelcomeDmTipOpen",description:"Set when Welcome DM message suggestion tip is visible"};let Q=(0,n.Ay)("Set the channelId when welcome DM message is being sent");Q.meta={name:"setWelcomeDmSentToChannel",key:"createActionSetWelcomeDmSentToChannel",description:"Set the channelId when welcome DM message is being sent"};let Z=(0,n.Ay)("Set when PD First message flag was shown");Z.meta={name:"setHasSeenPDFirstMessageFlag",key:"createActionSetHasSeenPDFirstMessageFlag",description:"Set when PD First message flag was shown"};let J=(0,n.Ay)("Set when PD First message success coachmark was dismissed");J.meta={name:"setPDFirstMessageSuccessClosed",key:"createActionSetPDFirstMessageSuccessClosed",description:"Set when PD First message success coachmark was dismissed"};let X=(0,n.Ay)("set the current IA4 NUX step");X.meta={name:"setCurrentIA4NUXStep",key:"createActionSetCurrentIA4NUXStep",description:"set the current IA4 NUX step"};let ee=(0,n.Ay)("Set whether user has seen the resurrected user welcome page");ee.meta={name:"setHasSeenResurrectedUserWelcomePage",key:"createActionSetHasSeenResurrectedUserWelcomePage",description:"Set whether user has seen the resurrected user welcome page"};let et=(0,n.Ay)("Store a teammates onboarding status");et.meta={name:"setTeammatesOnboardingStatus",key:"createActionSetTeammatesOnboardingStatus",description:"Store a teammates onboarding status"};let ea=(0,n.Ay)("set the current Workspace Weaver tip step");ea.meta={name:"setCurrentWorkspaceWeaverTipStep",key:"createActionSetCurrentWorkspaceWeaverTipStep",description:"set the current Workspace Weaver tip step"};let en=(0,n.Ay)("Set apps fetched for solution guide");en.meta={name:"setSolutionGuideAppDetails",key:"createActionSetSolutionGuideAppDetails",description:"Set apps fetched for solution guide"};let er=(0,n.Ay)("Set the number of days left before Straight to Paid discount expires");er.meta={name:"setStraightToPaidDaysRemaining",key:"createActionSetStraightToPaidDaysRemaining",description:"Set the number of days left before Straight to Paid discount expires"};let ei=(0,n.Ay)("Set whether user has seen the channel foreword animation in tractor channel");ei.meta={name:"setShouldRunSolutionsOnboardingAnimation",key:"createActionSetShouldRunSolutionsOnboardingAnimation",description:"Set whether user has seen the channel foreword animation in tractor channel"};let eo=(0,n.Ay)("Set whether user has seen the solutions onboarding huddles coachmark");eo.meta={name:"setShouldShowSolutionsOnboardingHuddlesCoachmark",key:"createActionSetShouldShowSolutionsOnboardingHuddlesCoachmark",description:"Set whether user has seen the solutions onboarding huddles coachmark"};let es=(0,n.Ay)("Set whether user has seen the canvas coachmark when canvas solution card is clicked");es.meta={name:"setShouldShowSolutionsOnboardingCanvasCoachmark",key:"createActionSetShouldShowSolutionsOnboardingCanvasCoachmark",description:"Set whether user has seen the canvas coachmark when canvas solution card is clicked"};let el=(0,n.Ay)("Set whether user has seen the list coachmark when list solution card is clicked");el.meta={name:"setShouldShowSolutionsOnboardingListCoachmark",key:"createActionSetShouldShowSolutionsOnboardingListCoachmark",description:"Set whether user has seen the list coachmark when list solution card is clicked"};let ec=(0,n.Ay)("Sets template info");ec.meta={name:"setSolutionTemplateInfo",key:"createActionSetSolutionTemplateInfo",description:"Sets template info"};let ed=(0,n.Ay)("Sets the channel id where the solution template provisioning was started");ed.meta={name:"setSolutionTemplateChannelProvisionId",key:"createActionSetSolutionTemplateChannelProvisionId",description:"Sets the channel id where the solution template provisioning was started"};let eu=(0,n.Ay)("Sets selected template id in setup flow");eu.meta={name:"setSelectedTemplateId",key:"createActionSetSelectedTemplateId",description:"Sets selected template id in setup flow"};let em=(0,n.Ay)("Sets entry point value which is used for clogging");em.meta={name:"setGalleryEntryPointStateValue",key:"createActionSetGalleryEntryPointStateValue",description:"Sets entry point value which is used for clogging"};let ef=(0,n.Ay)("Sets template detailed info");ef.meta={name:"setSolutionTemplateDetailedInfo",key:"createActionSetSolutionTemplateDetailedInfo",description:"Sets template detailed info"};let e_=(0,n.Ay)("Sets a flag to update the show_dm_canvas_preview user pref");e_.meta={name:"setShouldUpdateShowDmCanvasPreviewPref",key:"createActionSetShouldUpdateShowDmCanvasPreviewPref",description:"Sets a flag to update the show_dm_canvas_preview user pref"};let ep=(0,n.Ay)("Sets a flag to show tab highlight on canvas creation");ep.meta={name:"setShouldShowDmCanvasTabHighlight",key:"createActionSetShouldShowDmCanvasTabHighlight",description:"Sets a flag to show tab highlight on canvas creation"};let eh=(0,n.Ay)("Sets a flag to determine if a solutions_channel_created Megaphone event should be sent after Megaphone is fully booted");eh.meta={name:"setShouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot",key:"createActionSetShouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot",description:"Sets a flag to determine if a solutions_channel_created Megaphone event should be sent after Megaphone is fully booted"};let eg=(0,n.Ay)("Sets a flag to determine if a creator_guided_setup_invites Megaphone event should be sent after Megaphone is fully booted");eg.meta={name:"setShouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot",key:"createActionSetShouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot",description:"Sets a flag to determine if a creator_guided_setup_invites Megaphone event should be sent after Megaphone is fully booted"};let eA=(0,n.Ay)("Sets whether to highlight the channel tab ID of the newly created canvas/list in the #all-company-name channel");eA.meta={name:"setChannelTabIdToHighlight",key:"createActionSetChannelTabIdToHighlight",description:"Sets whether to highlight the channel tab ID of the newly created canvas/list in the #all-company-name channel"};let eb=(0,n.Ay)("Sets whether to show the resource tab coachmark while clicking the foreword card");eb.meta={name:"setShouldShowResourcesTabCoachmark",key:"createActionSetShouldShowResourcesTabCoachmark",description:"Sets whether to show the resource tab coachmark while clicking the foreword card"};let ey=(0,n.Ay)("Sets whether to show the preview during the team creation flow");ey.meta={name:"setShouldShowAiWorkspaceSetupPreview",key:"createActionSetShouldShowAiWorkspaceSetupPreview",description:"Sets whether to show the preview during the team creation flow"};let eS=(0,n.Ay)("Sets whether to show the loading state while fetching the AI preview");eS.meta={name:"setIsLoadingAiWorkspaceSetupPreview",key:"createActionSetIsLoadingAiWorkspaceSetupPreview",description:"Sets whether to show the loading state while fetching the AI preview"};let eE=(0,n.Ay)("Sets the user object state machine");eE.meta={name:"setUserObjectState",key:"createActionSetUserObjectState",description:"Sets the user object state machine"};let ek=(0,n.Ay)("Sets the user object state machine for auto slack onboarding");ek.meta={name:"setAutoSlackUserObjectState",key:"createActionSetAutoSlackUserObjectState",description:"Sets the user object state machine for auto slack onboarding"};let eT=(0,n.Ay)("Sets the user object state machine for AI workspace team creation");eT.meta={name:"setAiWorkspaceUserObjectState",key:"createActionSetAiWorkspaceUserObjectState",description:"Sets the user object state machine for AI workspace team creation"};let eI=(0,n.Ay)("Sets whether to show the AI workspace team creation loader");eI.meta={name:"setShowAiWorkspaceTeamCreationLoader",key:"createActionSetShowAiWorkspaceTeamCreationLoader",description:"Sets whether to show the AI workspace team creation loader"};let ew=(0,n.Ay)("Sets whether to show the AI workspace team creation celebration");ew.meta={name:"setHasShownAiWorkspaceTeamCreationCelebration",key:"createActionSetHasShownAiWorkspaceTeamCreationCelebration",description:"Sets whether to show the AI workspace team creation celebration"};let eC=(0,n.Ay)("Sets the user object state machine for joiner personalized launchpad");eC.meta={name:"setJoinerPersonalizedLaunchpadObjectState",key:"createActionSetJoinerPersonalizedLaunchpadObjectState",description:"Sets the user object state machine for joiner personalized launchpad"};let ev=(0,n.Ay)("Marks that the joiner personalized launchpad state machine has been initialized in Redux");ev.meta={name:"setJoinerPersonalizedLaunchpadStateInitialized",key:"createActionSetJoinerPersonalizedLaunchpadStateInitialized",description:"Marks that the joiner personalized launchpad state machine has been initialized in Redux"};let ex=(0,n.Ay)("Set available topic tags in store");ex.meta={name:"setAvailableJoinerLaunchpadTopicTags",key:"createActionSetAvailableJoinerLaunchpadTopicTags",description:"Set available topic tags in store"};let eR=(0,n.Ay)("Set tagged channels in store");eR.meta={name:"setTopicTaggedJoinerLaunchpadChannels",key:"createActionSetTopicTaggedJoinerLaunchpadChannels",description:"Set tagged channels in store"};let eO=(0,n.Ay)("Set topic tagged joiner launchpad channels error");eO.meta={name:"setTopicTaggedJoinerLaunchpadChannelsError",key:"createActionSetTopicTaggedJoinerLaunchpadChannelsError",description:"Set topic tagged joiner launchpad channels error"};let eN=(0,n.Ay)("Sets the welcome party state machine");eN.meta={name:"setWelcomePartyObjectState",key:"createActionSetWelcomePartyObjectState",description:"Sets the welcome party state machine"};let eD=(0,n.Ay)("Set the ID of the resurrected user welcome AI channel summaries");eD.meta={name:"setResurrectedUserWelcomeAiChannelSummaryId",key:"createActionSetResurrectedUserWelcomeAiChannelSummaryId",description:"Set the ID of the resurrected user welcome AI channel summaries"};let eL=(0,n.Ay)("Set the client message id for Inviter/Manager welcome card message");eL.meta={name:"setInviterJoinerFirstDmClientMsgId",key:"createActionSetInviterJoinerFirstDmClientMsgId",description:"Set the client message id for Inviter/Manager welcome card message"};let eM=(0,n.Ay)("Set the client message id for selected user welcome card message");eM.meta={name:"setWelcomeCardSentToJoinerClientMsgId",key:"createActionSetWelcomeCardSentToJoinerClientMsgId",description:"Set the client message id for selected user welcome card message"};let eF=(0,n.Ay)("Set whether the user has clicked the Slack Connect inviter message suggestion for a channel");eF.meta={name:"setHasClickedSlackConnectInviterMessageSuggestionForChannel",key:"createActionSetHasClickedSlackConnectInviterMessageSuggestionForChannel",description:"Set whether the user has clicked the Slack Connect inviter message suggestion for a channel"};let eP=(0,n.Ay)("Set the results for onboarding apps");eP.meta={name:"setOnboardingAppsResults",key:"createActionSetOnboardingAppsResults",description:"Set the results for onboarding apps"};let eU=(0,n.Ay)("Reset the onboarding apps to initial state");eU.meta={name:"resetOnboardingApps",key:"createActionResetOnboardingApps",description:"Reset the onboarding apps to initial state"};let eB=(0,n.Ay)("Set imported contacts from CSV");eB.meta={name:"setCSVImportedContacts",key:"createActionSetCSVImportedContacts",description:"Set imported contacts from CSV"};let eG=(0,n.Ay)("Set whether the user has imported contacts from CSV");eG.meta={name:"setHasImportedCSVContacts",key:"createActionSetHasImportedCSVContacts",description:"Set whether the user has imported contacts from CSV"};let eH=(0,n.Ay)("Set whether the user has imported contacts from Google");eH.meta={name:"setHasImportedGoogleContacts",key:"createActionSetHasImportedGoogleContacts",description:"Set whether the user has imported contacts from Google"};let eW=(0,n.Ay)("Set whether the onboarding tasks popover is programmatically opened (i.e. from clicking push notification)");eW.meta={name:"setOnboardingTasksPopoverOpen",key:"createActionSetOnboardingTasksPopoverOpen",description:"Set whether the onboarding tasks popover is programmatically opened (i.e. from clicking push notification)"};let eV=(0,n.Ay)("Sets the user object state machine for in-product team creation");eV.meta={name:"setInProductTeamCreationUserObjectState",key:"createActionSetInProductTeamCreationUserObjectState",description:"Sets the user object state machine for in-product team creation"};let ej=(0,n.Ay)("Sets whether the in-product team creation state machine has been loaded");ej.meta={name:"setIsInproductTeamCreationStateMachineLoaded",key:"createActionSetIsInproductTeamCreationStateMachineLoaded",description:"Sets whether the in-product team creation state machine has been loaded"}},0x54ef0daa:(e,t,a)=>{"use strict";a.d(t,{$I:()=>k,$f:()=>A,AH:()=>R,Ay:()=>c,BF:()=>y,FR:()=>w,Gg:()=>I,Ks:()=>E,LP:()=>C,Mm:()=>m,Nv:()=>l,QY:()=>M,T:()=>T,Uo:()=>u,VH:()=>p,Xg:()=>s,Yt:()=>h,bj:()=>S,dJ:()=>L,f9:()=>d,gm:()=>g,h2:()=>v,hc:()=>x,j:()=>f,n1:()=>b,qP:()=>F,r6:()=>P,tX:()=>N,uy:()=>O,wq:()=>D,ye:()=>_});var n,r=a(1927545e3),i=a(0xb04c4a12),o=a(0x74bbb29a);let s=15,l=7,c="immediate_start_trial",d=200,u=180,m={[o.vZ.TeamName]:r.c.SetupTeamName,[o.vZ.Profile]:r.c.SetupProfile,[o.vZ.Channels]:r.c.SetupChannels,[o.vZ.Tada]:r.c.SetupTada,[o.vZ.CalendarContactImport]:r.c.SetupCalendarContactImport,[o.vZ.Welcome]:r.c.SetupWelcome,[o.vZ.People]:r.c.SetupPeople,[o.vZ.BusinessChallenge]:r.c.SetupBusinessChallenge,[o.vZ.Department]:r.c.SetupDepartment,[o.b]:r.c.JoinerLaunchpad,[o.lW]:r.c.NewTeamLaunchpad,[o.h1]:r.c.SalesAutoSlackLaunchpad,[o.Z1]:r.c.ResurrectedUserWelcome,[o.vZ.StraightToPaidPlans]:r.c.SetupStraightToPaidPlans,[o.vZ.JoinerProfile]:r.c.SetupJoinerProfile,[o.vZ.TeammateIntro]:r.c.SetupTeammateIntro,[o.vZ.Topics]:r.c.SetupTopics,[o.vZ.OauthContactImport]:r.c.SetupOauthContactImport,[o.vZ.SocialUseCase]:r.c.SetupSocialUseCase},f={[r.c.SetupTeamName]:o.pG.TeamName,[r.c.SetupProfile]:o.pG.Profile,[r.c.SetupChannels]:o.pG.Channels,[r.c.SetupTada]:o.pG.Tada,[r.c.SetupCalendarContactImport]:o.pG.CalendarContactImport,[r.c.SetupWelcome]:o.pG.Welcome,[r.c.SetupPeople]:o.pG.People,[r.c.SetupBusinessChallenge]:o.pG.BusinessChallenge,[r.c.SetupDepartment]:o.pG.Department,[r.c.SetupStraightToPaidPlans]:o.pG.StraightToPaidPlans,[r.c.SetupJoinerProfile]:o.pG.JoinerProfile,[r.c.SetupTeammateIntro]:o.pG.TeammateIntro,[r.c.SetupTopics]:o.pG.Topics,[r.c.SetupOauthContactImport]:o.pG.OauthContactImport,[r.c.SetupSocialUseCase]:o.pG.SocialUseCase},_=30,p="has_redeemed_ai_workspace_setup_trial",h="has_redeemed_solutions_gallery_trial",g="setup_flow_step",A="joiner_launchpad_enabled",b="joiner_launchpad_onboarding_complete",y="joiner_launchpad_recommended_conversations",S="joiner_launchpad_is_provisioned",E="auto_slack_launchpad_enabled",k="is_provisioned_and_has_manager_id";var T=((n={}).SELF_DM_TEMPLATE_NAME="FeatPreFillDmCanvasSelfDmCanvas",n.DM_TEMPLATE_NAME="WeeklySyncExpansionPreFillDmCanvasTemplate",n);let I="show_dm_canvas_preview",w=["entry_point","from","p","s2p","sled","dept","solution","tof","remote_promo"],C="setup_query_string",v="is_onboarding_modal_profile_updated",x="onboarding_modal_step",R={ONBOARDING_MODAL_STEP_TEAM:"onboarding_modal_step_team",ONBOARDING_MODAL_STEP_PROFILE:"onboarding_modal_step_profile",ONBOARDING_MODAL_STEP_DONE:"onboarding_modal_step_done",ONBOARDING_MODAL_STEP_COMPLETE:"onboarding_modal_step_complete"};R.ONBOARDING_MODAL_STEP_TEAM,R.ONBOARDING_MODAL_STEP_PROFILE,R.ONBOARDING_MODAL_STEP_DONE,R.ONBOARDING_MODAL_STEP_COMPLETE,R.ONBOARDING_MODAL_STEP_TEAM,R.ONBOARDING_MODAL_STEP_PROFILE,R.ONBOARDING_MODAL_STEP_DONE,R.ONBOARDING_MODAL_STEP_COMPLETE;let O={pm:"product_management",engg:"engineering",sales:"sales"},N="solutions_gallery_template_file_ids",D="ai_workspace_team_creation_flow_cards",L=[o.BT.JoinerPersonalizedTopicsSelectable,o.BT.JoinerPersonalizedTopicsSkippable],M=[o.BT.JoinerPersonalizedDm,...L],F=[o.BT.Joiner,...M],P=[i.Y.MESSAGE_PANE,i.Y.COMPOSER_VIEW]},0x1af8c33db:(e,t,a)=>{"use strict";a.d(t,{A$:()=>u,Lf:()=>c,Pl:()=>m,Vg:()=>l,ie:()=>f,kd:()=>d});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0x12f41fc32),o=a(0x6a0c7015),s=a(0x74bbb29a);let l=(0,n.Ay)((e,t)=>{let a=(0,o.CG)(e);return a.tips?.[t]?.ts||null});l.meta={name:"getProgressiveDisclosureTipLastShown",key:"createSelectorGetProgressiveDisclosureTipLastShown",description:(e,t)=>{let a=(0,o.CG)(e);return a.tips?.[t]?.ts||null}};let c=(0,n.Ay)(e=>{let t=(0,o.CG)(e),a={};return Object.entries(t.tips||{}).forEach(([e,t])=>{t?.ts&&e!==s.ml.CompletedAll&&(a[e]=t.ts)}),a});c.meta={name:"getProgressiveDisclosureTipLastShownForAllTips",key:"createSelectorGetProgressiveDisclosureTipLastShownForAllTips",description:e=>{let t=(0,o.CG)(e),a={};return Object.entries(t.tips||{}).forEach(([e,t])=>{t?.ts&&e!==s.ml.CompletedAll&&(a[e]=t.ts)}),a}};let d=(0,n.Ay)((e,t)=>{let a=(0,o.CG)(e);return!!a.tips?.[t]?.organicUse});d.meta={name:"getProgressiveDisclosureTipOrganicUse",key:"createSelectorGetProgressiveDisclosureTipOrganicUse",description:(e,t)=>{let a=(0,o.CG)(e);return!!a.tips?.[t]?.organicUse}};let u=(0,n.Ay)(e=>!!(0,o.CG)(e).isComplete);u.meta={name:"getProgressiveDisclosureCompleted",key:"createSelectorGetProgressiveDisclosureCompleted",description:e=>!!(0,o.CG)(e).isComplete};let m=(0,n.Ay)(e=>{let t=(0,o.CG)(e).allEligibleTips||[];return t.filter(e=>e!==s.ml.Huddles)});m.meta={name:"getAllEligibleTips",key:"createSelectorGetAllEligibleTips",description:e=>{let t=(0,o.CG)(e).allEligibleTips||[];return t.filter(e=>e!==s.ml.Huddles)}};let f=(0,n.Ay)(e=>{let t=(0,o.CG)(e);return{storeState:t.currentTip||null,storeStateTs:t.currentTipTs||null}});f.meta={name:"getSavedCurrentProgressiveDisclosureTip",key:"createSelectorGetSavedCurrentProgressiveDisclosureTip",description:e=>{let t=(0,o.CG)(e);return{storeState:t.currentTip||null,storeStateTs:t.currentTipTs||null}}},o.QL,(0,r.Ay)("Clear progressive disclosure storage value",e=>e((0,i.AZ)({pref:o.QL,value:"{}"})))},0x6a0c7015:(e,t,a)=>{"use strict";a.d(t,{CG:()=>getProgressiveDisclosureState,QL:()=>i});var n=a(0x1598e5174),r=a(0x1ccef1c6f);let i="progressive_disclosure_state",getProgressiveDisclosureState=e=>{let t=(0,r.ty)(e,i)||"{}",a={};try{a=JSON.parse(t)}catch{}return(0,n.A)(a)||(a={}),a}},0x1cc14e4db:(e,t,a)=>{"use strict";a.d(t,{$X:()=>A,Rr:()=>k,S6:()=>T,Zg:()=>h,_k:()=>E,o$:()=>g,qc:()=>S,s_:()=>I,yD:()=>y});var n=a(0xd6ba6894),r=a(0x18dac2b8e),i=a(0xa1832ae4),o=a(0x1b887bf79),s=a(0x10079cc7),l=a(0x1cf0d97e1),c=a(0xb9604b6),d=a(0x5b1935a6),u=a(0x1defa8f11),m=a(0xd44d1c69),f=a(0x91e15f37),_=a(0x1682adc03),p=a(0x1ee439e69);let h=(0,l.Ay)(e=>(0,p.zz)(e)&&(0,i.tc)((0,p.H7)(e)));h.meta={name:"isAutoSlackFreeTeam",key:"createSelectorIsAutoSlackFreeTeam",description:e=>(0,p.zz)(e)&&(0,i.tc)((0,p.H7)(e))};let g=(0,l.Ay)(e=>(0,c.Hp)(e,d.xu.CLIENT_HEADER_RIGHT)===d.ze.AUTO_SLACK_SALESFORCE_PLUS_TRIAL_GUIDE_SUNROOF);g.meta={name:"isExplorePaidFeaturesPageSunroofActive",key:"createSelectorIsExplorePaidFeaturesPageSunroofActive",description:e=>(0,c.Hp)(e,d.xu.CLIENT_HEADER_RIGHT)===d.ze.AUTO_SLACK_SALESFORCE_PLUS_TRIAL_GUIDE_SUNROOF};let A=(0,l.Ay)(e=>(0,p.zz)(e)&&!(0,o.X)(e));A.meta={name:"isSfEmbedJoinerAndCannotPurchaseSlack",key:"createSelectorIsSfEmbedJoinerAndCannotPurchaseSlack",description:e=>(0,p.zz)(e)&&!(0,o.X)(e)};let b="force_team_size",y=(0,l.Ay)(e=>{let t=(0,_.a)(e)||0;if((0,r.Cu)()){let e=new URLSearchParams(n.J.location.search);if(e.has(b)){let a=e.get(b);a&&(t=parseInt(a,10))}}return t>50});y.meta={name:"shouldHighlightSales",key:"createSelectorShouldHighlightSales",description:e=>{let t=(0,_.a)(e)||0;if((0,r.Cu)()){let e=new URLSearchParams(n.J.location.search);if(e.has(b)){let a=e.get(b);a&&(t=parseInt(a,10))}}return t>50}};let S=(0,l.Ay)((e,t)=>{let a=(0,m.$f)(e);return t===s.i6.free.name?""===a:a===t});S.meta={name:"isPlanActive",key:"createSelectorIsPlanActive",description:(e,t)=>{let a=(0,m.$f)(e);return t===s.i6.free.name?""===a:a===t}};let E=(0,l.Ay)((e,t)=>""===(0,m.$f)(e)?t===s.i6.plus.name:S(e,t));E.meta={name:"highlightPlan",key:"createSelectorHighlightPlan",description:(e,t)=>""===(0,m.$f)(e)?t===s.i6.plus.name:S(e,t)};let k=(0,l.Ay)((e,t)=>{let a=(0,m.yQ)(e),n=(0,f.tV)(e),r=(0,f.wM)(e),i=t===s.i6.free.name&&a&&!n&&""===r;return a&&n&&r===s.i6[t].id||i});k.meta={name:"showTrialCountdown",key:"createSelectorShowTrialCountdown",description:(e,t)=>{let a=(0,m.yQ)(e),n=(0,f.tV)(e),r=(0,f.wM)(e),i=t===s.i6.free.name&&a&&!n&&""===r;return a&&n&&r===s.i6[t].id||i}};let T=(0,l.Ay)(e=>h(e)&&!(0,u.ax)(e,"has_redeemed_auto_slack_trial"));T.meta={name:"isEligibleForSalesforcePlusTrial",key:"createSelectorIsEligibleForSalesforcePlusTrial",description:e=>h(e)&&!(0,u.ax)(e,"has_redeemed_auto_slack_trial")};let I=(0,l.Ay)(e=>(0,f.W4)(e)===s.ZO.SfdcAutoSlackPlusTrial);I.meta={name:"isTeamOnSalesforcePlusTrial",key:"createSelectorIsTeamOnSalesforcePlusTrial",description:e=>(0,f.W4)(e)===s.ZO.SfdcAutoSlackPlusTrial}},0x18a17ca8f:(e,t,a)=>{"use strict";a.d(t,{I0:()=>tb,Nt:()=>ai,Z7:()=>tO,ly:()=>e$,S9:()=>eY,UR:()=>ts,j7:()=>em,sN:()=>an,JB:()=>ae,hf:()=>t7,av:()=>t4,OJ:()=>t5,vF:()=>t2,hc:()=>t6,Gk:()=>t3,eO:()=>t9,Yi:()=>eA,FN:()=>tG,cG:()=>tf,VP:()=>e4,$O:()=>e7,w:()=>t0,A3:()=>ew,cE:()=>ef,jl:()=>tu,dT:()=>aa,Si:()=>td,Rj:()=>tS,zO:()=>af,FX:()=>a_,Ej:()=>am,te:()=>e8,xS:()=>tl,Pn:()=>ao,iZ:()=>th,wu:()=>tm,G8:()=>ap,Nk:()=>eg,AL:()=>ah,WZ:()=>tz,y1:()=>tY,M_:()=>tq,ko:()=>t$,cs:()=>ei,m9:()=>el,bw:()=>es,fJ:()=>eo,vk:()=>er,Nn:()=>tK,mF:()=>tI,iT:()=>eX,Q1:()=>tJ,sW:()=>eQ,_E:()=>ed,zE:()=>e9,br:()=>e6,Oz:()=>tV,Nj:()=>tj,Po:()=>ey,fe:()=>tL,zi:()=>eZ,nr:()=>ep,o4:()=>e2,vO:()=>e0,ji:()=>e3,xJ:()=>eJ,sJ:()=>tB,Wi:()=>tU,lh:()=>tP,Et:()=>tH,KM:()=>tF,if:()=>at,hu:()=>tM,eJ:()=>tD,Ee:()=>tN,AC:()=>tT,we:()=>eb,eF:()=>ec,e1:()=>eh,EH:()=>as,ng:()=>tk,yp:()=>ej,TQ:()=>eV,E8:()=>eW,rX:()=>t1,lb:()=>tc,w7:()=>tw,Pm:()=>ty,bx:()=>eE,nO:()=>ek,RJ:()=>eO,S3:()=>tE,ps:()=>tp,kR:()=>e1,lF:()=>au,s_:()=>al,lQ:()=>tQ,GC:()=>tZ,f4:()=>tX,qh:()=>e5,Li:()=>eu,o3:()=>eI,H$:()=>eR,g6:()=>ex,N1:()=>ev,mj:()=>eC,Sp:()=>t8,Z:()=>tr,s4:()=>tn,li:()=>eq,oR:()=>ez,qB:()=>tC,lP:()=>tv,kT:()=>tR,NP:()=>tx,E2:()=>e_,ok:()=>to,DE:()=>ti,Mt:()=>ad,DV:()=>tA,Wg:()=>tt,jv:()=>te,Y8:()=>ta});var n=a(0xb77a689a),r=a(0xc9c97240),i=a(0x20b4dda68),o=a(0x1df96de4c),s=a(0x18dac2b8e),l=a(0x17fee64c3),c=a(0x30d0b075),d=a(0xd35ac109),u=a(0x229352509),m=a(1927545e3),f=a(0xe5418754),_=a(0xa1832ae4),p=a(0x190a9df19),h=a(0x1ab54b1d),g=a(0x3711e82d),A=a(0x6960d8b9),b=a(0x16ed1b0dc),y=a(0x10079cc7),S=a(0x1cf0d97e1),E=a(0xf1527618),k=a(0x1ccef1c6f),T=a(0xdf55e8f3),I=a(0x2231c0f3f),w=a(0x217553e42),C=a(0x1ab312eae),v=a(0x14149c126),x=a(0xb9604b6),R=a(0x5b1935a6),O=a(0xe684f705),N=a(0xc4a84715),D=a(0x1393a0ef7),L=a(0x1defa8f11),M=a(0xd44d1c69),F=a(0x165bb8fb3),P=a(0x54ef0daa),U=a(0x1af8c33db),B=a(0x19f74d539),G=a(0x12219f474),H=a(0x16dda54b4),W=a(0xe91e45de),V=a(0x19dffa924),j=a(0x2138e90e2),K=a(0xddcf4cb7),q=a(0x10437fca0),z=a(0x188cf45ff),$=a(0xf2f68e39),Y=a(0x22acc360e),Q=a(0x1de0eefdb),Z=a(0x74bbb29a),J=a(0x1682adc03),X=a(0x1ee439e69),ee=a(0x1472af90a),et=a(0xf052d367),ea=a(0x19895585a);let en=(0,S.Ay)((e,{id:t})=>{if(t!==ea.N2)return e.view.children[t];let a=e.view.main[ea.jf];return e.view.main[a]});en.meta={name:"getActiveViewSetByWindowId",key:"createSelectorGetActiveViewSetByWindowId",description:(e,{id:t})=>{if(t!==ea.N2)return e.view.children[t];let a=e.view.main[ea.jf];return e.view.main[a]}};let er=(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.selectedTopics);er.meta={name:"getJoinerPersonalizedLaunchpadSelectedTopics",key:"createSelectorGetJoinerPersonalizedLaunchpadSelectedTopics",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.selectedTopics};let ei=(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.state);ei.meta={name:"getJoinerPersonalizedLaunchpadDmState",key:"createSelectorGetJoinerPersonalizedLaunchpadDmState",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.state},(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.state!==Z.l8.UNINITIALIZED).meta={name:"getJoinerPersonalizedLaunchpadStateMachineInitialized",key:"createSelectorGetJoinerPersonalizedLaunchpadStateMachineInitialized",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.state!==Z.l8.UNINITIALIZED};let eo=(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.teammateMemberId);eo.meta={name:"getJoinerPersonalizedLaunchpadDmStateTeammateMemberId",key:"createSelectorGetJoinerPersonalizedLaunchpadDmStateTeammateMemberId",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.teammateMemberId};let es=(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.teammateInitialMessageTimestamp);es.meta={name:"getJoinerPersonalizedLaunchpadDmStateTeammateInitialMessageTimestamp",key:"createSelectorGetJoinerPersonalizedLaunchpadDmStateTeammateInitialMessageTimestamp",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.teammateInitialMessageTimestamp};let el=(0,S.Ay)(e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.isStateTerminal);el.meta={name:"getJoinerPersonalizedLaunchpadDmStateIsTerminal",key:"createSelectorGetJoinerPersonalizedLaunchpadDmStateIsTerminal",description:e=>e.setupCreation.joinerPersonalizedLaunchpadDmState.isStateTerminal},(0,S.Ay)(e=>e?.setupCreation?.isAddingProgressiveDisclosureTipTimestamp??!1).meta={name:"getIsAddingProgressiveDisclosureTipTimestamp",key:"createSelectorGetIsAddingProgressiveDisclosureTipTimestamp",description:e=>e?.setupCreation?.isAddingProgressiveDisclosureTipTimestamp??!1};let ec=(0,S.Ay)(e=>e?.setupCreation?.teamName);ec.meta={name:"getTeamNameValue",key:"createSelectorGetTeamNameValue",description:e=>e?.setupCreation?.teamName};let ed=(0,S.Ay)(e=>e?.setupCreation?.profileStepFullName);ed.meta={name:"getProfileStepFullName",key:"createSelectorGetProfileStepFullName",description:e=>e?.setupCreation?.profileStepFullName};let eu=(0,S.Ay)(e=>{let t=en(e,{id:ea.N2}),a=t?.[ea.mq.Primary]?.id;return!!a&&Object.values(Z.mH).includes(a)});eu.meta={name:"isSetupPageActive",key:"createSelectorIsSetupPageActive",description:e=>{let t=en(e,{id:ea.N2}),a=t?.[ea.mq.Primary]?.id;return!!a&&Object.values(Z.mH).includes(a)}};let em=(0,S.Ay)((e,{getSiblingView:t})=>{let a;if(eu(e)){let n=t(e,{container:ea.mq.Primary})?.id;a=Object.entries(Z.mH).find(([,e])=>n===e)?.[0]}return a});em.meta={name:"getActiveSetupCreationStep",key:"createSelectorGetActiveSetupCreationStep",description:(e,{getSiblingView:t})=>{let a;if(eu(e)){let n=t(e,{container:ea.mq.Primary})?.id;a=Object.entries(Z.mH).find(([,e])=>n===e)?.[0]}return a}};let ef=(0,S.Ay)(e=>e?.setupCreation?.emails);ef.meta={name:"getEmails",key:"createSelectorGetEmails",description:e=>e?.setupCreation?.emails};let e_=(0,S.Ay)(e=>{if(!(0,K.v)(e))return!1;let t=(0,f.yF)((0,O.cA)(e));if(!t)return!1;let a=(0,A.KR)(new Date,(0,A.$4)(t));if((0,s.Cu)()&&window.location.search.includes("day1_joiner_days_since_creation")){let{day1_joiner_days_since_creation:e}=(0,d.nT)(window.location.search);e&&(0,n.A)(e)&&(a=parseInt(e,10))}return a<=P.Nv});e_.meta={name:"showAndRenameBrowserPagesForJoinerInSetupCreationFlow",key:"createSelectorShowAndRenameBrowserPagesForJoinerInSetupCreationFlow",description:e=>{if(!(0,K.v)(e))return!1;let t=(0,f.yF)((0,O.cA)(e));if(!t)return!1;let a=(0,A.KR)(new Date,(0,A.$4)(t));if((0,s.Cu)()&&window.location.search.includes("day1_joiner_days_since_creation")){let{day1_joiner_days_since_creation:e}=(0,d.nT)(window.location.search);e&&(0,n.A)(e)&&(a=parseInt(e,10))}return a<=P.Nv}};let ep=(0,S.Ay)(e=>e?.setupCreation?.setupCreationFlow);ep.meta={name:"getSetupCreationFlow",key:"createSelectorGetSetupCreationFlow",description:e=>e?.setupCreation?.setupCreationFlow};let eh=(0,S.Ay)(e=>(0,p.$G)(e)?g.UiComponentVariant.USER_TYPE_CREATOR:g.UiComponentVariant.USER_TYPE_JOINER);eh.meta={name:"getUiComponentVariantUserType",key:"createSelectorGetUiComponentVariantUserType",description:e=>(0,p.$G)(e)?g.UiComponentVariant.USER_TYPE_CREATOR:g.UiComponentVariant.USER_TYPE_JOINER};let eg=(0,S.Ay)(e=>{let t=(0,J.a)(e);return"number"==typeof t&&t>0&&t<50});eg.meta={name:"getIsTeamEligibleForOnlineFirstSort",key:"createSelectorGetIsTeamEligibleForOnlineFirstSort",description:e=>{let t=(0,J.a)(e);return"number"==typeof t&&t>0&&t<50}};let eA=(0,S.Ay)(e=>e?.setupCreation?.calendarImportStep||Z.wL.BeginAuth);eA.meta={name:"getCalendarImportStep",key:"createSelectorGetCalendarImportStep",description:e=>e?.setupCreation?.calendarImportStep||Z.wL.BeginAuth};let eb=(0,S.Ay)(e=>e?.setupCreation?.suggestedContacts||o.Ml);eb.meta={name:"getSuggestedContacts",key:"createSelectorGetSuggestedContacts",description:e=>e?.setupCreation?.suggestedContacts||o.Ml},(0,S.Ay)(e=>e?.setupCreation?.suggestedExternalContacts||o.Ml).meta={name:"getSuggestedExternalContacts",key:"createSelectorGetSuggestedExternalContacts",description:e=>e?.setupCreation?.suggestedExternalContacts||o.Ml};let ey=(0,S.Ay)(e=>e?.setupCreation?.selectedContacts||new Set);ey.meta={name:"getSelectedContacts",key:"createSelectorGetSelectedContacts",description:e=>e?.setupCreation?.selectedContacts||new Set},(0,S.Ay)(e=>e?.setupCreation?.selectedExternalContacts||new Set).meta={name:"getSelectedExternalContacts",key:"createSelectorGetSelectedExternalContacts",description:e=>e?.setupCreation?.selectedExternalContacts||new Set};let eS=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.CalendarContactImport);eS.meta={name:"isSetupPageCalendarImportStep",key:"createSelectorIsSetupPageCalendarImportStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.CalendarContactImport};let eE=(0,S.Ay)(e=>ep(e)===Z.BT.Default);eE.meta={name:"isInDefaultCreatorFlow",key:"createSelectorIsInDefaultCreatorFlow",description:e=>ep(e)===Z.BT.Default};let ek=(0,S.Ay)(e=>ep(e)===Z.BT.StraightToPaid);ek.meta={name:"isInStraightToPaidFlow",key:"createSelectorIsInStraightToPaidFlow",description:e=>ep(e)===Z.BT.StraightToPaid};let eT=(0,S.Ay)(e=>ep(e)===Z.BT.StraightToPaidFromPricing);eT.meta={name:"isInStraightToPaidFromPricingFlow",key:"createSelectorIsInStraightToPaidFromPricingFlow",description:e=>ep(e)===Z.BT.StraightToPaidFromPricing};let eI=(0,S.Ay)((e,{getSiblingView:t})=>{let a=t(e,{container:ea.mq.Primary})?.id;return(0,E.Yx)(e)&&(a===Z.mH.CalendarContactImport&&(0,L.ax)(e,"calendar_oauth_attempted")||(eE(e)||ek(e)||eT(e))&&a===Z.mH.CalendarContactImport)});eI.meta={name:"isSetupPageBootstrapInviteStepActive",key:"createSelectorIsSetupPageBootstrapInviteStepActive",description:(e,{getSiblingView:t})=>{let a=t(e,{container:ea.mq.Primary})?.id;return(0,E.Yx)(e)&&(a===Z.mH.CalendarContactImport&&(0,L.ax)(e,"calendar_oauth_attempted")||(eE(e)||ek(e)||eT(e))&&a===Z.mH.CalendarContactImport)}};let ew=(0,r.Mz)(e=>ef(e),e=>ey(e),(e=[],t)=>{let a=[...t];return e.forEach(e=>{a.some(t=>t.email===e)||a.push({email:e})}),a}),eC=(0,S.Ay)((e,{getSiblingView:t,steps:a})=>{let n=t(e,{container:ea.mq.Primary})?.id;return!!n&&a.includes(n)});eC.meta={name:"isSetupStepActive",key:"createSelectorIsSetupStepActive",description:(e,{getSiblingView:t,steps:a})=>{let n=t(e,{container:ea.mq.Primary})?.id;return!!n&&a.includes(n)}};let ev=(0,S.Ay)((e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.TeamName]}));ev.meta={name:"isSetupPageTeamNameStepActive",key:"createSelectorIsSetupPageTeamNameStepActive",description:(e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.TeamName]})};let ex=(0,S.Ay)((e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.Profile]}));ex.meta={name:"isSetupPageProfileStepActive",key:"createSelectorIsSetupPageProfileStepActive",description:(e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.Profile]})};let eR=(0,S.Ay)((e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.Channels]}));eR.meta={name:"isSetupPageChannelsStepActive",key:"createSelectorIsSetupPageChannelsStepActive",description:(e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.Channels]})};let eO=(0,S.Ay)((e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.People]}));eO.meta={name:"isJoinerSetupPagePeopleStepActive",key:"createSelectorIsJoinerSetupPagePeopleStepActive",description:(e,{getSiblingView:t})=>eC(e,{getSiblingView:t,steps:[Z.mH.People]})};let eN=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.TeamName);eN.meta={name:"isSetupPageTeamNameStep",key:"createSelectorIsSetupPageTeamNameStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.TeamName};let eD=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Profile);eD.meta={name:"isSetupPageProfileStep",key:"createSelectorIsSetupPageProfileStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Profile};let eL=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Channels);eL.meta={name:"isSetupPageChannelsStep",key:"createSelectorIsSetupPageChannelsStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Channels};let eM=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Tada);eM.meta={name:"isSetupPageTadaStep",key:"createSelectorIsSetupPageTadaStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Tada};let eF=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.StraightToPaidPlans);eF.meta={name:"isSetupPageSTPStep",key:"createSelectorIsSetupPageSTPStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.StraightToPaidPlans};let eP=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Welcome);eP.meta={name:"isJoinerSetupPageWelcomeStep",key:"createSelectorIsJoinerSetupPageWelcomeStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Welcome};let eU=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.People);eU.meta={name:"isJoinerSetupPagePeopleStep",key:"createSelectorIsJoinerSetupPagePeopleStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.People};let eB=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.JoinerProfile);eB.meta={name:"isJoinerSetupPageProfileStep",key:"createSelectorIsJoinerSetupPageProfileStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.JoinerProfile};let eG=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.TeammateIntro);eG.meta={name:"isJoinerSetupPageTeammateIntroStep",key:"createSelectorIsJoinerSetupPageTeammateIntroStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.TeammateIntro};let eH=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Topics);eH.meta={name:"isJoinerSetupPageTopicsStep",key:"createSelectorIsJoinerSetupPageTopicsStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.Topics},(0,S.Ay)(e=>e?.setupCreation?.topicTaggedJoinerLaunchpadChannelsError===u.U.Unavailable).meta={name:"isJoinerPersonalizedLaunchpadTopicTaggingUnavailable",key:"createSelectorIsJoinerPersonalizedLaunchpadTopicTaggingUnavailable",description:e=>e?.setupCreation?.topicTaggedJoinerLaunchpadChannelsError===u.U.Unavailable};let eW=(0,S.Ay)(e=>ep(e)===Z.BT.JoinerPersonalizedDm);eW.meta={name:"isCurrentSetupFlowJoinerPersonalizedLaunchpadDmSetupFlow",key:"createSelectorIsCurrentSetupFlowJoinerPersonalizedLaunchpadDmSetupFlow",description:e=>ep(e)===Z.BT.JoinerPersonalizedDm};let eV=(0,S.Ay)(e=>{let t=ep(e);return P.dJ.includes(t)});eV.meta={name:"isCurrentSetupFlowAnyJoinerPersonalizedLaunchpadTopicsSetupFlow",key:"createSelectorIsCurrentSetupFlowAnyJoinerPersonalizedLaunchpadTopicsSetupFlow",description:e=>{let t=ep(e);return P.dJ.includes(t)}};let ej=(0,S.Ay)(e=>{let t=ep(e);return P.QY.includes(t)});ej.meta={name:"isCurrentSetupFlowAnyJoinerPersonalizedLaunchpadFlow",key:"createSelectorIsCurrentSetupFlowAnyJoinerPersonalizedLaunchpadFlow",description:e=>{let t=ep(e);return P.QY.includes(t)}};let eK=(0,S.Ay)(e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.OauthContactImport);eK.meta={name:"isSetupPageOauthContactImportStep",key:"createSelectorIsSetupPageOauthContactImportStep",description:e=>(0,L.ax)(e,"setup_flow_step")===Z.GO.OauthContactImport};let eq=(0,S.Ay)(e=>{let t=(0,D.S)(e);if(t===h.S.SharedChannelInvite||t===h.S.SharedDmInvite||!(0,E.Yx)(e)||!(0,p.$G)(e)||(0,F.wq)(e))return null;let a=(0,B.CC)(e)?7:5,n=((0,w.DM)(e)||[]).length>a;(0,s.Cu)()&&window.location.search.includes("skip_onboarding_channels_check")&&(n=!1);let r=n||(0,L.ax)(e,"has_sent_first_message");return(0,L.ax)(e,"setup_flow_step")===Z.GO.Completed||r?null:eN(e)?Z.vZ.TeamName:eD(e)?Z.vZ.Profile:eS(e)?Z.vZ.CalendarContactImport:eL(e)?Z.vZ.Channels:eK(e)?Z.vZ.OauthContactImport:eM(e)?Z.vZ.Tada:eF(e)?Z.vZ.StraightToPaidPlans:null});eq.meta={name:"maybeGetSetupCreationRouteForCreator",key:"createSelectorMaybeGetSetupCreationRouteForCreator",description:e=>{let t=(0,D.S)(e);if(t===h.S.SharedChannelInvite||t===h.S.SharedDmInvite||!(0,E.Yx)(e)||!(0,p.$G)(e)||(0,F.wq)(e))return null;let a=(0,B.CC)(e)?7:5,n=((0,w.DM)(e)||[]).length>a;(0,s.Cu)()&&window.location.search.includes("skip_onboarding_channels_check")&&(n=!1);let r=n||(0,L.ax)(e,"has_sent_first_message");return(0,L.ax)(e,"setup_flow_step")===Z.GO.Completed||r?null:eN(e)?Z.vZ.TeamName:eD(e)?Z.vZ.Profile:eS(e)?Z.vZ.CalendarContactImport:eL(e)?Z.vZ.Channels:eK(e)?Z.vZ.OauthContactImport:eM(e)?Z.vZ.Tada:eF(e)?Z.vZ.StraightToPaidPlans:null}};let ez=(0,S.Ay)(e=>((0,K.v)(e)||(0,z.r)(e)||(0,$.s)(e)||(0,Y.H)(e))&&(0,L.ax)(e,"setup_flow_step")!==Z.GO.Completed?eP(e)?Z.vZ.Welcome:eU(e)?Z.vZ.People:eB(e)?Z.vZ.JoinerProfile:eG(e)?Z.vZ.TeammateIntro:eH(e)?Z.vZ.Topics:null:null);ez.meta={name:"maybeGetSetupCreationRouteForJoiner",key:"createSelectorMaybeGetSetupCreationRouteForJoiner",description:e=>((0,K.v)(e)||(0,z.r)(e)||(0,$.s)(e)||(0,Y.H)(e))&&(0,L.ax)(e,"setup_flow_step")!==Z.GO.Completed?eP(e)?Z.vZ.Welcome:eU(e)?Z.vZ.People:eB(e)?Z.vZ.JoinerProfile:eG(e)?Z.vZ.TeammateIntro:eH(e)?Z.vZ.Topics:null:null};let e$=(0,S.Ay)(e=>e?.setupCreation?.skippedInvites);e$.meta={name:"didSkipInvites",key:"createSelectorDidSkipInvites",description:e=>e?.setupCreation?.skippedInvites};let eY=(0,S.Ay)(e=>e?.setupCreation?.skippedPeople);eY.meta={name:"didSkipPeople",key:"createSelectorDidSkipPeople",description:e=>e?.setupCreation?.skippedPeople};let eQ=(0,S.Ay)(e=>e?.setupCreation?.peopleStepIsLoading);eQ.meta={name:"getPeopleStepIsLoading",key:"createSelectorGetPeopleStepIsLoading",description:e=>e?.setupCreation?.peopleStepIsLoading};let eZ=(0,S.Ay)(e=>e?.setupCreation?.channel);eZ.meta={name:"getSetupChannel",key:"createSelectorGetSetupChannel",description:e=>e?.setupCreation?.channel};let eJ=(0,S.Ay)(e=>e?.setupCreation?.sharedInviteLink);eJ.meta={name:"getSharedInviteLink",key:"createSelectorGetSharedInviteLink",description:e=>e?.setupCreation?.sharedInviteLink};let eX=(0,S.Ay)(e=>e?.setupCreation?.members);eX.meta={name:"getMembers",key:"createSelectorGetMembers",description:e=>e?.setupCreation?.members};let e0=(0,S.Ay)(e=>e?.setupCreation?.sharedInviteDetails);e0.meta={name:"getSharedInviteDetails",key:"createSelectorGetSharedInviteDetails",description:e=>e?.setupCreation?.sharedInviteDetails};let e1=(0,S.Ay)((e,t)=>{let a=ep(e),n=Z.g6[a];return n.indexOf(Z.pG[t])===n.length-1});e1.meta={name:"isLastStepInSetupCreationFlow",key:"createSelectorIsLastStepInSetupCreationFlow",description:(e,t)=>{let a=ep(e),n=Z.g6[a];return n.indexOf(Z.pG[t])===n.length-1}},(0,S.Ay)(e=>e?.setupCreation?.sharedInviteAcceptanceResult).meta={name:"getSharedInviteAcceptanceResult",key:"createSelectorGetSharedInviteAcceptanceResult",description:e=>e?.setupCreation?.sharedInviteAcceptanceResult};let e2=(0,S.Ay)(e=>e?.setupCreation?.sharedInviteAcceptanceResult?.error);e2.meta={name:"getSharedInviteAcceptanceError",key:"createSelectorGetSharedInviteAcceptanceError",description:e=>e?.setupCreation?.sharedInviteAcceptanceResult?.error};let e3=(0,S.Ay)(e=>e?.setupCreation?.sharedInviteInfoError);e3.meta={name:"getSharedInviteInfoError",key:"createSelectorGetSharedInviteInfoError",description:e=>e?.setupCreation?.sharedInviteInfoError};let e4=(0,S.Ay)(e=>e?.setupCreation?.progressiveDisclosureCurrentTip);e4.meta={name:"getCurrentProgressiveDisclosureTip",key:"createSelectorGetCurrentProgressiveDisclosureTip",description:e=>e?.setupCreation?.progressiveDisclosureCurrentTip};let e6=(0,S.Ay)(e=>e?.setupCreation?.progressiveDisclosureTipTimer);e6.meta={name:"getProgressiveDisclosureTipTimer",key:"createSelectorGetProgressiveDisclosureTipTimer",description:e=>e?.setupCreation?.progressiveDisclosureTipTimer};let e9=(0,S.Ay)(e=>e?.setupCreation?.progressiveDisclosureLastMessageTs);e9.meta={name:"getProgressiveDisclosureLastMessageTsForMegaphoneControlledTip",key:"createSelectorGetProgressiveDisclosureLastMessageTsForMegaphoneControlledTip",description:e=>e?.setupCreation?.progressiveDisclosureLastMessageTs},(0,S.Ay)(e=>(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)).meta={name:"getCurrentProgressiveDisclosureMegaphoneNotificationTip",key:"createSelectorGetCurrentProgressiveDisclosureMegaphoneNotificationTip",description:e=>(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)};let e5=(0,S.Ay)(e=>!!(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE));e5.meta={name:"isProgressiveDisclosureEnabled",key:"createSelectorIsProgressiveDisclosureEnabled",description:e=>!!(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)};let e8=(0,S.Ay)(e=>{let t="";if((0,p.$G)(e)){let a=(0,C.X)(e);if(!(t=a[0]?.id)&&(0,B.CC)(e)){let a=(0,B.e1)(e);if(a){let e=a?.split("|");t=e?.[0]}}if(!t&&(0,G.R)(e)){let a=(0,L.ax)(e,Z.up),n=(0,w.zb)(e,a);n&&(t=n)}}else t=(0,X.H7)(e).onboarding_channel_id;return t});e8.meta={name:"getInitialChannelId",key:"createSelectorGetInitialChannelId",description:e=>{let t="";if((0,p.$G)(e)){let a=(0,C.X)(e);if(!(t=a[0]?.id)&&(0,B.CC)(e)){let a=(0,B.e1)(e);if(a){let e=a?.split("|");t=e?.[0]}}if(!t&&(0,G.R)(e)){let a=(0,L.ax)(e,Z.up),n=(0,w.zb)(e,a);n&&(t=n)}}else t=(0,X.H7)(e).onboarding_channel_id;return t}};let e7=(0,S.Ay)(e=>e?.setupCreation?.currentWorkspaceWeaverTipStep);e7.meta={name:"getCurrentWorkspaceWeaverTipState",key:"createSelectorGetCurrentWorkspaceWeaverTipState",description:e=>e?.setupCreation?.currentWorkspaceWeaverTipStep};let te=(0,S.Ay)((e,{tip:t})=>e7(e)?.state===Z.V9.Flag&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Flag);te.meta={name:"showProgressiveDisclosureTipFlag",key:"createSelectorShowProgressiveDisclosureTipFlag",description:(e,{tip:t})=>e7(e)?.state===Z.V9.Flag&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Flag};let tt=(0,S.Ay)((e,{tip:t})=>e7(e)?.state===Z.V9.Explainer&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Explainer);tt.meta={name:"showProgressiveDisclosureTipExplainer",key:"createSelectorShowProgressiveDisclosureTipExplainer",description:(e,{tip:t})=>e7(e)?.state===Z.V9.Explainer&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Explainer};let ta=(0,S.Ay)((e,{tip:t})=>e7(e)?.state===Z.V9.Success&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Success);ta.meta={name:"showProgressiveDisclosureTipSuccess",key:"createSelectorShowProgressiveDisclosureTipSuccess",description:(e,{tip:t})=>e7(e)?.state===Z.V9.Success&&e7(e)?.tip===t||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE)===Z.z8[t]&&(0,x.OL)(e,R.xu.PROGRESSIVE_DISCLOSURE)?.step===Z.V9.Success};let tn=(0,S.Ay)(e=>{let t=(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return t?Z.Nh[t]:void 0});tn.meta={name:"maybeGetCurrentProgressiveDisclosureMegaphoneNotificationTip",key:"createSelectorMaybeGetCurrentProgressiveDisclosureMegaphoneNotificationTip",description:e=>{let t=(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return t?Z.Nh[t]:void 0}};let tr=(0,S.Ay)(e=>{let t,a=e7(e),n=(a?.tip?Z.z8[a?.tip]:null)||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return n&&ta(e,{tip:Z.Nh[n]})&&(t=Z.Nh[n]),t});tr.meta={name:"maybeGetCurrentProgressiveDisclosureMegaphoneNotificationSuccessTip",key:"createSelectorMaybeGetCurrentProgressiveDisclosureMegaphoneNotificationSuccessTip",description:e=>{let t,a=e7(e),n=(a?.tip?Z.z8[a?.tip]:null)||(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return n&&ta(e,{tip:Z.Nh[n]})&&(t=Z.Nh[n]),t}},(0,S.Ay)(e=>e?.setupCreation?.progressiveDisclosureSentMessageCounter||0).meta={name:"getProgressiveDisclosureSentMessageCounter",key:"createSelectorGetProgressiveDisclosureSentMessageCounter",description:e=>e?.setupCreation?.progressiveDisclosureSentMessageCounter||0};let ti=(0,S.Ay)((e,{channelId:t})=>{let a=(0,V.RB)(e,t);return te(e,{tip:Z.ml.FirstMessage})&&!a});ti.meta={name:"showFirstMessageProgressiveDisclosureFlag",key:"createSelectorShowFirstMessageProgressiveDisclosureFlag",description:(e,{channelId:t})=>{let a=(0,V.RB)(e,t);return te(e,{tip:Z.ml.FirstMessage})&&!a}};let to=(0,S.Ay)((e,{channelId:t})=>{let a=(0,V.RB)(e,t);return tt(e,{tip:Z.ml.FirstMessage})&&!a});to.meta={name:"showFirstMessageProgressiveDisclosureExplainer",key:"createSelectorShowFirstMessageProgressiveDisclosureExplainer",description:(e,{channelId:t})=>{let a=(0,V.RB)(e,t);return tt(e,{tip:Z.ml.FirstMessage})&&!a}},(0,S.Ay)(e=>{if(!(0,p.$G)(e)||(0,W.H)(e)>1)return!0;let t=(0,f.yF)((0,O.cA)(e));return!t||(0,A._T)(new Date,(0,A.$4)(t))>=P.Uo}).meta={name:"showReacjiProgressiveDisclosureFlag",key:"createSelectorShowReacjiProgressiveDisclosureFlag",description:e=>{if(!(0,p.$G)(e)||(0,W.H)(e)>1)return!0;let t=(0,f.yF)((0,O.cA)(e));return!t||(0,A._T)(new Date,(0,A.$4)(t))>=P.Uo}};let ts=(0,S.Ay)((e,{tip:t})=>!!e5(e)&&!!te(e,{tip:t}));ts.meta={name:"eligibleToShowProgressiveDisclosureFlag",key:"createSelectorEligibleToShowProgressiveDisclosureFlag",description:(e,{tip:t})=>!!e5(e)&&!!te(e,{tip:t})},(0,S.Ay)(e=>(0,U.Pl)(e).find(t=>!(0,U.Vg)(e,t))).meta={name:"getNextProgressiveDisclosureTipToShow",key:"createSelectorGetNextProgressiveDisclosureTipToShow",description:e=>(0,U.Pl)(e).find(t=>!(0,U.Vg)(e,t))};let tl=(0,S.Ay)(e=>{let t=e8(e);if(t)return t;let a=(0,w.W2)(e)?.id;if(a)return a;let n=(0,w.o2)(e,i.Q$);return n||m.c.Unreads});tl.meta={name:"getInitialRedirectChannelId",key:"createSelectorGetInitialRedirectChannelId",description:e=>{let t=e8(e);if(t)return t;let a=(0,w.W2)(e)?.id;if(a)return a;let n=(0,w.o2)(e,i.Q$);return n||m.c.Unreads}};let tc=(0,S.Ay)(e=>{let t=(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return!!(t===R.ze.PROGRESSIVE_DISCLOSURE_TIP||t&&Z.UO.includes(Z.Nh[t]))});tc.meta={name:"isEligibleForProgressiveDisclosure",key:"createSelectorIsEligibleForProgressiveDisclosure",description:e=>{let t=(0,x.Hp)(e,R.xu.PROGRESSIVE_DISCLOSURE);return!!(t===R.ze.PROGRESSIVE_DISCLOSURE_TIP||t&&Z.UO.includes(Z.Nh[t]))}};let td=(0,S.Ay)(e=>e?.setupCreation?.hasSuccessfullyHuddled??!1);td.meta={name:"getHasSuccessfullyHuddled",key:"createSelectorGetHasSuccessfullyHuddled",description:e=>e?.setupCreation?.hasSuccessfullyHuddled??!1};let tu=(0,S.Ay)(e=>e?.setupCreation?.hasSeenHuddlesExplainer??!1);tu.meta={name:"getHasSeenHuddlesExplainer",key:"createSelectorGetHasSeenHuddlesExplainer",description:e=>e?.setupCreation?.hasSeenHuddlesExplainer??!1},(0,S.Ay)(e=>e?.setupCreation?.isSwitchOnExplainerVisible??!1).meta={name:"getIsSwitchOnExplainerVisible",key:"createSelectorGetIsSwitchOnExplainerVisible",description:e=>e?.setupCreation?.isSwitchOnExplainerVisible??!1},(0,S.Ay)(e=>e?.setupCreation?.isOnboardingHuddlesTipVisible??!1).meta={name:"getIsOnboardingHuddlesTipVisible",key:"createSelectorGetIsOnboardingHuddlesTipVisible",description:e=>e?.setupCreation?.isOnboardingHuddlesTipVisible??!1};let tm=(0,S.Ay)(e=>(0,x.Hp)(e,R.xu.IN_PRODUCT_COACHMARK)===R.ze.HUDDLE_HOVER_TIP);tm.meta={name:"getIsEligibleForOnboardingHuddlesTip",key:"createSelectorGetIsEligibleForOnboardingHuddlesTip",description:e=>(0,x.Hp)(e,R.xu.IN_PRODUCT_COACHMARK)===R.ze.HUDDLE_HOVER_TIP};let tf=(0,S.Ay)(e=>e?.setupCreation?.contactsRequestId??null);tf.meta={name:"getContactsRequestId",key:"createSelectorGetContactsRequestId",description:e=>e?.setupCreation?.contactsRequestId??null},(0,S.Ay)(e=>(0,k.Vz)(e).split(",").some(e=>(0,b.A)(e))).meta={name:"hasSuggestedChannels",key:"createSelectorHasSuggestedChannels",description:e=>(0,k.Vz)(e).split(",").some(e=>(0,b.A)(e))};let t_=(0,S.Ay)(e=>{let t=(0,J.a)(e);return!!t&&"number"==typeof t&&t>=15});t_.meta={name:"isLargeTeam",key:"createSelectorIsLargeTeam",description:e=>{let t=(0,J.a)(e);return!!t&&"number"==typeof t&&t>=15}};let tp=(0,S.Ay)(e=>{if((0,l.z$)())return!1;let t=(0,X.H7)(e);return!!((0,_.tc)(t)||(0,_.KJ)(t)||(0,_.NB)(t))&&!(0,p.$G)(e)});tp.meta={name:"isLargeTeamJoinerOnboardingSuggestionsEligible",key:"createSelectorIsLargeTeamJoinerOnboardingSuggestionsEligible",description:e=>{if((0,l.z$)())return!1;let t=(0,X.H7)(e);return!!((0,_.tc)(t)||(0,_.KJ)(t)||(0,_.NB)(t))&&!(0,p.$G)(e)}};let th=(0,S.Ay)(e=>e?.setupCreation?.inviterUserId);th.meta={name:"getInviterUserId",key:"createSelectorGetInviterUserId",description:e=>e?.setupCreation?.inviterUserId};let tg=(0,S.Ay)((e,t)=>th(e)===t);tg.meta={name:"isMemberInviter",key:"createSelectorIsMemberInviter",description:(e,t)=>th(e)===t};let tA=(0,S.Ay)((e,t)=>!!t&&tg(e,t)&&!(0,N.A)(e,t)&&(0,q.ij)(e));tA.meta={name:"showInviterLabel",key:"createSelectorShowInviterLabel",description:(e,t)=>!!t&&tg(e,t)&&!(0,N.A)(e,t)&&(0,q.ij)(e)},(0,S.Ay)(e=>e?.setupCreation?.recommendedDmSidebarIndex).meta={name:"getRecommendedDmSidebarIndex",key:"createSelectorGetRecommendedDmSidebarIndex",description:e=>e?.setupCreation?.recommendedDmSidebarIndex};let tb=(0,S.Ay)(e=>{let t=(0,f.yF)((0,O.cA)(e));return!!t&&14>(0,A.KR)(new Date,(0,A.$4)(t))});tb.meta={name:"accountIsLessThanTwoWeeksOld",key:"createSelectorAccountIsLessThanTwoWeeksOld",description:e=>{let t=(0,f.yF)((0,O.cA)(e));return!!t&&14>(0,A.KR)(new Date,(0,A.$4)(t))}};let ty=(0,S.Ay)(e=>!!e.setupCreation.isFocusedOnEmailInvitesInput);ty.meta={name:"isFocusedOnEmailInvitesInput",key:"createSelectorIsFocusedOnEmailInvitesInput",description:e=>!!e.setupCreation.isFocusedOnEmailInvitesInput};let tS=(0,S.Ay)(e=>!!e.setupCreation.hasUploadedPhoto);tS.meta={name:"getHasUploadedPhoto",key:"createSelectorGetHasUploadedPhoto",description:e=>!!e.setupCreation.hasUploadedPhoto};let tE=(0,S.Ay)(e=>"large_team"===(0,L.ax)(e,"user_onboarding_team_size_category")&&t_(e)&&tb(e));tE.meta={name:"isLargeTeamJoiner",key:"createSelectorIsLargeTeamJoiner",description:e=>"large_team"===(0,L.ax)(e,"user_onboarding_team_size_category")&&t_(e)&&tb(e)};let tk=(0,S.Ay)(e=>{let t=(0,f.yF)((0,O.cA)(e));return!!t&&(0,A.KR)((0,A.$4)(Date.now()),(0,A.$4)(t))<=P.ye});tk.meta={name:"isAccountYoungEnoughForDmPreviewHiding",key:"createSelectorIsAccountYoungEnoughForDmPreviewHiding",description:e=>{let t=(0,f.yF)((0,O.cA)(e));return!!t&&(0,A.KR)((0,A.$4)(Date.now()),(0,A.$4)(t))<=P.ye}};let tT=(0,S.Ay)(e=>e?.setupCreation?.straightToPaidDaysRemaining);tT.meta={name:"getStraightToPaidDaysRemaining",key:"createSelectorGetStraightToPaidDaysRemaining",description:e=>e?.setupCreation?.straightToPaidDaysRemaining};let tI=(0,S.Ay)(e=>{let t,a=(0,x._7)(e,R.xu.SIDEBAR_MENU_HEADER);return a?.notificationName===R.ze.STRAIGHT_TO_PAID_SIDEBAR_MENU_HEADER_OFFER_CTA&&(t=a.notificationData?.discountExpirationTs),"number"==typeof t?t:0});tI.meta={name:"getMegaphoneS2PExpirationTs",key:"createSelectorGetMegaphoneS2PExpirationTs",description:e=>{let t,a=(0,x._7)(e,R.xu.SIDEBAR_MENU_HEADER);return a?.notificationName===R.ze.STRAIGHT_TO_PAID_SIDEBAR_MENU_HEADER_OFFER_CTA&&(t=a.notificationData?.discountExpirationTs),"number"==typeof t?t:0}};let tw=(0,S.Ay)(e=>{if(!(0,M.Pr)(e))return!1;let t=(0,M.ZQ)(e);return[y.k2.Local,y.k2.PnpDiscount,y.k2.StraightToPaid,y.k2.MrBeastPromo].includes(t)});tw.meta={name:"isEligibleForTeamCreationDiscount",key:"createSelectorIsEligibleForTeamCreationDiscount",description:e=>{if(!(0,M.Pr)(e))return!1;let t=(0,M.ZQ)(e);return[y.k2.Local,y.k2.PnpDiscount,y.k2.StraightToPaid,y.k2.MrBeastPromo].includes(t)}},(0,S.Ay)(e=>!!(0,M.Pr)(e)&&(0,M.ZQ)(e)===y.k2.StraightToPaid).meta={name:"hasStraightToPaidDiscount",key:"createSelectorHasStraightToPaidDiscount",description:e=>!!(0,M.Pr)(e)&&(0,M.ZQ)(e)===y.k2.StraightToPaid};let tC=(0,S.Ay)(e=>!!e?.setupCreation?.shouldRunSolutionsOnboardingAnimation);tC.meta={name:"shouldRunSolutionsOnboardingAnimation",key:"createSelectorShouldRunSolutionsOnboardingAnimation",description:e=>!!e?.setupCreation?.shouldRunSolutionsOnboardingAnimation};let tv=(0,S.Ay)(e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingCanvasCoachmark);tv.meta={name:"shouldShowSolutionsOnboardingCanvasCoachmark",key:"createSelectorShouldShowSolutionsOnboardingCanvasCoachmark",description:e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingCanvasCoachmark};let tx=(0,S.Ay)(e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingListCoachmark);tx.meta={name:"shouldShowSolutionsOnboardingListCoachmark",key:"createSelectorShouldShowSolutionsOnboardingListCoachmark",description:e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingListCoachmark};let tR=(0,S.Ay)(e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingHuddlesCoachmark);tR.meta={name:"shouldShowSolutionsOnboardingHuddlesCoachmark",key:"createSelectorShouldShowSolutionsOnboardingHuddlesCoachmark",description:e=>!!e?.setupCreation?.shouldShowSolutionsOnboardingHuddlesCoachmark};let tO=(0,S.Ay)((e,t)=>!!(0,Q.BX)(e)&&e8(e)===t);tO.meta={name:"canWrapSolutionOnboardingHuddlesCoachmark",key:"createSelectorCanWrapSolutionOnboardingHuddlesCoachmark",description:(e,t)=>!!(0,Q.BX)(e)&&e8(e)===t};let tN=(0,S.Ay)(e=>e?.setupCreation?.solutionTemplateInfo);tN.meta={name:"getSolutionTemplateInfo",key:"createSelectorGetSolutionTemplateInfo",description:e=>e?.setupCreation?.solutionTemplateInfo};let tD=(0,S.Ay)(e=>e?.setupCreation?.solutionTemplateDetailedInfo);tD.meta={name:"getSolutionTemplateDetailedInfo",key:"createSelectorGetSolutionTemplateDetailedInfo",description:e=>e?.setupCreation?.solutionTemplateDetailedInfo};let tL=(0,S.Ay)(e=>e?.setupCreation?.selectedSolutionTemplateId);tL.meta={name:"getSelectedSolutionTemplateId",key:"createSelectorGetSelectedSolutionTemplateId",description:e=>e?.setupCreation?.selectedSolutionTemplateId};let tM=(0,S.Ay)(e=>e?.setupCreation?.solutionTemplateChannelProvisionId);tM.meta={name:"getSolutionTemplateChannelProvisionId",key:"createSelectorGetSolutionTemplateChannelProvisionId",description:e=>e?.setupCreation?.solutionTemplateChannelProvisionId};let tF=(0,S.Ay)(e=>e?.setupCreation?.shouldUpdateShowDmCanvasPreviewPref);tF.meta={name:"getShouldUpdateShowDmCanvasPreviewPref",key:"createSelectorGetShouldUpdateShowDmCanvasPreviewPref",description:e=>e?.setupCreation?.shouldUpdateShowDmCanvasPreviewPref};let tP=(0,S.Ay)(e=>e?.setupCreation?.shouldShowDmCanvasTabHighlight);tP.meta={name:"getShouldShowDmCanvasTabHighlight",key:"createSelectorGetShouldShowDmCanvasTabHighlight",description:e=>e?.setupCreation?.shouldShowDmCanvasTabHighlight};let tU=(0,S.Ay)(e=>e.setupCreation.shouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot??!1);tU.meta={name:"getShouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot",key:"createSelectorGetShouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot",description:e=>e.setupCreation.shouldEmitSolutionsChannelCreatedMegaphoneEventAfterBoot??!1};let tB=(0,S.Ay)(e=>e.setupCreation.shouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot??!1);tB.meta={name:"getShouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot",key:"createSelectorGetShouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot",description:e=>e.setupCreation.shouldEmitCreatorGuidedSetupInvitesMegaphoneEventAfterBoot??!1},(0,S.Ay)(e=>e?.setupCreation?.shouldShowDeferredAllCompanyChannelCoachmark).meta={name:"getShouldShowDeferredAllCompanyChannelCoachmark",key:"createSelectorGetShouldShowDeferredAllCompanyChannelCoachmark",description:e=>e?.setupCreation?.shouldShowDeferredAllCompanyChannelCoachmark};let tG=(0,S.Ay)(e=>e?.setupCreation?.channelTabIdToHighlight);tG.meta={name:"getChannelTabIdToHighlight",key:"createSelectorGetChannelTabIdToHighlight",description:e=>e?.setupCreation?.channelTabIdToHighlight};let tH=(0,r.Mz)([e=>e?.setupCreation?.shouldShowResourcesTabCoachmark,e=>(0,et.PU)(e,ee.G7.AIWorkspaceResourceTabCoachmark)],(e,t)=>e&&!t),tW=(0,S.Ay)(e=>e.setupCreation.recommendedLaunchpadChannels);tW.meta={name:"getRecommendedLaunchpadChannelIds",key:"createSelectorGetRecommendedLaunchpadChannelIds",description:e=>e.setupCreation.recommendedLaunchpadChannels};let tV=(0,T.eI)(e=>{let t=tW(e);return(0,w.LO)(e,t)}),tj=(0,S.Ay)(e=>e.setupCreation.recommendedLaunchpadChannelsMetadata);tj.meta={name:"getRecommendedLaunchpadChannelsMetadata",key:"createSelectorGetRecommendedLaunchpadChannelsMetadata",description:e=>e.setupCreation.recommendedLaunchpadChannelsMetadata};let tK=(0,S.Ay)(e=>e.setupCreation.recommendedLaunchpadRecentChannelSummaries);tK.meta={name:"getLaunchpadRecentChannelSummaries",key:"createSelectorGetLaunchpadRecentChannelSummaries",description:e=>e.setupCreation.recommendedLaunchpadRecentChannelSummaries};let tq=(0,S.Ay)(e=>e.setupCreation.joinerLaunchpadProfileDetailsState.state);tq.meta={name:"getJoinerLaunchpadV2ProfileDetailsState",key:"createSelectorGetJoinerLaunchpadV2ProfileDetailsState",description:e=>e.setupCreation.joinerLaunchpadProfileDetailsState.state};let tz=(0,S.Ay)(e=>e.setupCreation.joinerLaunchpadCustomStatusState.state);tz.meta={name:"getJoinerLaunchpadV2CustomStatusState",key:"createSelectorGetJoinerLaunchpadV2CustomStatusState",description:e=>e.setupCreation.joinerLaunchpadCustomStatusState.state};let t$=(0,S.Ay)(e=>e.setupCreation.joinerLaunchpadProfileDetailsState.isStateTerminal);t$.meta={name:"getJoinerLaunchpadV2ProfileDetailsStateIsTerminal",key:"createSelectorGetJoinerLaunchpadV2ProfileDetailsStateIsTerminal",description:e=>e.setupCreation.joinerLaunchpadProfileDetailsState.isStateTerminal};let tY=(0,S.Ay)(e=>e.setupCreation.joinerLaunchpadCustomStatusState.isStateTerminal);tY.meta={name:"getJoinerLaunchpadV2CustomStatusStateIsTerminal",key:"createSelectorGetJoinerLaunchpadV2CustomStatusStateIsTerminal",description:e=>e.setupCreation.joinerLaunchpadCustomStatusState.isStateTerminal};let tQ=(0,S.Ay)(e=>!!(0,L.ax)(e,P.h2));tQ.meta={name:"isOnboardingModalProfileUpdated",key:"createSelectorIsOnboardingModalProfileUpdated",description:e=>!!(0,L.ax)(e,P.h2)};let tZ=(0,S.Ay)(e=>(0,L.ax)(e,P.hc)===P.AH.ONBOARDING_MODAL_STEP_COMPLETE);tZ.meta={name:"isOnboardingModalStepComplete",key:"createSelectorIsOnboardingModalStepComplete",description:e=>(0,L.ax)(e,P.hc)===P.AH.ONBOARDING_MODAL_STEP_COMPLETE},(0,S.Ay)(e=>(0,L.ax)(e,P.hc)===P.AH.ONBOARDING_MODAL_STEP_TEAM).meta={name:"isOnboardingModalStepTeamName",key:"createSelectorIsOnboardingModalStepTeamName",description:e=>(0,L.ax)(e,P.hc)===P.AH.ONBOARDING_MODAL_STEP_TEAM};let tJ=(0,S.Ay)(e=>e?.setupCreation?.onboardingAppsResults?.length?e?.setupCreation?.onboardingAppsResults:(0,o.B4)());tJ.meta={name:"getOnboardingAppsResults",key:"createSelectorGetOnboardingAppsResults",description:e=>e?.setupCreation?.onboardingAppsResults?.length?e?.setupCreation?.onboardingAppsResults:(0,o.B4)()};let tX=(0,S.Ay)(e=>e.setupCreation.isOnboardingTasksPopoverOpen);tX.meta={name:"isOnboardingTasksPopoverOpen",key:"createSelectorIsOnboardingTasksPopoverOpen",description:e=>e.setupCreation.isOnboardingTasksPopoverOpen};let t0=(0,S.Ay)(e=>{try{let{dept:t}=JSON.parse((0,L.ax)(e,P.LP))||{};return t?P.uy[t]:null}catch{return null}});t0.meta={name:"getDepartmentFromQueryString",key:"createSelectorGetDepartmentFromQueryString",description:e=>{try{let{dept:t}=JSON.parse((0,L.ax)(e,P.LP))||{};return t?P.uy[t]:null}catch{return null}}};let t1=(0,S.Ay)(e=>"on"===(0,v._Z)(e,"deeplink_creator_onboarding"));t1.meta={name:"isDeeplinkCreatorOnboardingEnabled",key:"createSelectorIsDeeplinkCreatorOnboardingEnabled",description:e=>"on"===(0,v._Z)(e,"deeplink_creator_onboarding")};let t2=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadSalesforceListsState.state);t2.meta={name:"getAutoSlackLaunchpadSalesforceListsState",key:"createSelectorGetAutoSlackLaunchpadSalesforceListsState",description:e=>e.setupCreation.autoSlackLaunchpadSalesforceListsState.state};let t3=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadSalesforceSearchState.state);t3.meta={name:"getAutoSlackLaunchpadSalesforceSearchState",key:"createSelectorGetAutoSlackLaunchpadSalesforceSearchState",description:e=>e.setupCreation.autoSlackLaunchpadSalesforceSearchState.state};let t4=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadMobileAppState.state);t4.meta={name:"getAutoSlackLaunchpadMobileAppState",key:"createSelectorGetAutoSlackLaunchpadMobileAppState",description:e=>e.setupCreation.autoSlackLaunchpadMobileAppState.state};let t6=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadSalesforceListsState.isStateTerminal);t6.meta={name:"getAutoSlackLaunchpadSalesforceListsStateIsTerminal",key:"createSelectorGetAutoSlackLaunchpadSalesforceListsStateIsTerminal",description:e=>e.setupCreation.autoSlackLaunchpadSalesforceListsState.isStateTerminal};let t9=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadSalesforceSearchState.isStateTerminal);t9.meta={name:"getAutoSlackLaunchpadSalesforceSearchStateIsTerminal",key:"createSelectorGetAutoSlackLaunchpadSalesforceSearchStateIsTerminal",description:e=>e.setupCreation.autoSlackLaunchpadSalesforceSearchState.isStateTerminal};let t5=(0,S.Ay)(e=>e.setupCreation.autoSlackLaunchpadMobileAppState.isStateTerminal);t5.meta={name:"getAutoSlackLaunchpadMobileAppStateIsTerminal",key:"createSelectorGetAutoSlackLaunchpadMobileAppStateIsTerminal",description:e=>e.setupCreation.autoSlackLaunchpadMobileAppState.isStateTerminal},(0,S.Ay)(e=>"on"===(0,v._Z)(e,"spam_email_recaptcha_v3")).meta={name:"isSpamEmailRecaptchaV3GroupOn",key:"createSelectorIsSpamEmailRecaptchaV3GroupOn",description:e=>"on"===(0,v._Z)(e,"spam_email_recaptcha_v3")},(0,S.Ay)(e=>"on"===(0,v._Z)(e,"recaptcha_enterprise_migration")).meta={name:"isRecaptchaEnterpriseMigrationGroupOn",key:"createSelectorIsRecaptchaEnterpriseMigrationGroupOn",description:e=>"on"===(0,v._Z)(e,"recaptcha_enterprise_migration")};let t8=(0,S.Ay)(e=>"on"===(0,v._Z)(e,"solutions_gallery_channel_cards"));t8.meta={name:"isSolutionsGalleryChannelCardsFeatureEnabled",key:"createSelectorIsSolutionsGalleryChannelCardsFeatureEnabled",description:e=>"on"===(0,v._Z)(e,"solutions_gallery_channel_cards")},(0,S.Ay)(e=>e.setupCreation?.aiWorkspaceTeamCreationState?.state).meta={name:"getAiWorkspaceTeamCreationState",key:"createSelectorGetAiWorkspaceTeamCreationState",description:e=>e.setupCreation?.aiWorkspaceTeamCreationState?.state};let t7=(0,S.Ay)(e=>e.setupCreation?.aiWorkspaceTeamCreationState?.isStateTerminal??!1);t7.meta={name:"getAiWorkspaceTeamCreationStateIsTerminal",key:"createSelectorGetAiWorkspaceTeamCreationStateIsTerminal",description:e=>e.setupCreation?.aiWorkspaceTeamCreationState?.isStateTerminal??!1};let ae=(0,S.Ay)(e=>e.setupCreation?.aiWorkspaceTeamCreationState?.metadata);ae.meta={name:"getAiWorkspaceTeamCreationMetadata",key:"createSelectorGetAiWorkspaceTeamCreationMetadata",description:e=>e.setupCreation?.aiWorkspaceTeamCreationState?.metadata};let at=(0,S.Ay)(e=>e.setupCreation?.showAiWorkspaceTeamCreationLoader);at.meta={name:"getShowAiWorkspaceTeamCreationLoader",key:"createSelectorGetShowAiWorkspaceTeamCreationLoader",description:e=>e.setupCreation?.showAiWorkspaceTeamCreationLoader};let aa=(0,S.Ay)(e=>e.setupCreation?.hasShownAiWorkspaceTeamCreationCelebration);aa.meta={name:"getHasShownAiWorkspaceTeamCreationCelebration",key:"createSelectorGetHasShownAiWorkspaceTeamCreationCelebration",description:e=>e.setupCreation?.hasShownAiWorkspaceTeamCreationCelebration};let an=(0,S.Ay)(e=>e.setupCreation?.aiWorkspaceTeamCreationState?.error);an.meta={name:"getAiWorkspaceTeamCreationError",key:"createSelectorGetAiWorkspaceTeamCreationError",description:e=>e.setupCreation?.aiWorkspaceTeamCreationState?.error};let ar=(0,S.Ay)(e=>{let t=t7(e),a=an(e),n=at(e),r=(0,G.R)(e),i=(0,H.fx)(e),o=(0,j.w)(e),s=(0,E.Yx)(e);return!!i||!!r&&!s||!!r&&!!o||r&&t&&!a&&!n});ar.meta={name:"getCanFetchMegaphoneNotificationsForAiWorkspaceTeamCreation",key:"createSelectorGetCanFetchMegaphoneNotificationsForAiWorkspaceTeamCreation",description:e=>{let t=t7(e),a=an(e),n=at(e),r=(0,G.R)(e),i=(0,H.fx)(e),o=(0,j.w)(e),s=(0,E.Yx)(e);return!!i||!!r&&!s||!!r&&!!o||r&&t&&!a&&!n}};let ai=(0,S.Ay)(e=>!(0,G.R)(e)||ar(e));ai.meta={name:"canFetchMegaphoneNotificationsForNewTeam",key:"createSelectorCanFetchMegaphoneNotificationsForNewTeam",description:e=>!(0,G.R)(e)||ar(e)};let ao=(0,S.Ay)(e=>e.setupCreation.inviterJoinerFirstDmClientMsgId);ao.meta={name:"getInviterJoinerFirstDmClientMsgId",key:"createSelectorGetInviterJoinerFirstDmClientMsgId",description:e=>e.setupCreation.inviterJoinerFirstDmClientMsgId};let as=(0,S.Ay)(e=>e.setupCreation.welcomeCardSentToJoinerClientMsgId);as.meta={name:"getWelcomeCardSentToJoinerClientMsgId",key:"createSelectorGetWelcomeCardSentToJoinerClientMsgId",description:e=>e.setupCreation.welcomeCardSentToJoinerClientMsgId};let al=(0,S.Ay)(e=>{let t=(0,X.H7)(e);return(0,_.tc)(t)||(0,_.KJ)(t)||(0,_.NB)(t)});al.meta={name:"isNonEnterpriseTeam",key:"createSelectorIsNonEnterpriseTeam",description:e=>{let t=(0,X.H7)(e);return(0,_.tc)(t)||(0,_.KJ)(t)||(0,_.NB)(t)}};let ac=(0,I.A)((0,r.Mz)(e=>al(e),e=>(0,p.$G)(e),(e,t)=>e&&t)),ad=(0,I.A)((0,r.Mz)(e=>ac(e),e=>(0,O.on)(e),(e,t)=>e&&t<2)),au=(0,S.Ay)(e=>{let t={level:y.i6.standard.name,term:y.ck.monthly};if("on"!==(0,v._Z)(e,"mrbeast_campaign"))return!1;let a=(0,M.iR)(e,t.level,t.term),n=(0,M.cX)(e,t.level,t.term);return a===y.k2.MrBeastPromo||"mr_beast_promo_discount_50_pct_3_months"===n});au.meta={name:"isMrbeastCampaignGroupOn",key:"createSelectorIsMrbeastCampaignGroupOn",description:e=>{let t={level:y.i6.standard.name,term:y.ck.monthly};if("on"!==(0,v._Z)(e,"mrbeast_campaign"))return!1;let a=(0,M.iR)(e,t.level,t.term),n=(0,M.cX)(e,t.level,t.term);return a===y.k2.MrBeastPromo||"mr_beast_promo_discount_50_pct_3_months"===n}},(0,S.Ay)(e=>e?.setupCreation?.csvImportedContacts||o.Ml).meta={name:"getCSVImportedContacts",key:"createSelectorGetCSVImportedContacts",description:e=>e?.setupCreation?.csvImportedContacts||o.Ml},(0,S.Ay)(e=>e?.setupCreation?.hasImportedCSVContacts).meta={name:"getHasImportedCSVContacts",key:"createSelectorGetHasImportedCSVContacts",description:e=>e?.setupCreation?.hasImportedCSVContacts},(0,S.Ay)(e=>e?.setupCreation?.hasImportedGoogleContacts).meta={name:"getHasImportedGoogleContacts",key:"createSelectorGetHasImportedGoogleContacts",description:e=>e?.setupCreation?.hasImportedGoogleContacts};let am=(0,S.Ay)(e=>e?.setupCreation?.inProductTeamCreationState?.state);am.meta={name:"getInProductTeamCreationState",key:"createSelectorGetInProductTeamCreationState",description:e=>e?.setupCreation?.inProductTeamCreationState?.state};let af=(0,S.Ay)(e=>e?.setupCreation?.inProductTeamCreationState?.error);af.meta={name:"getInProductTeamCreationError",key:"createSelectorGetInProductTeamCreationError",description:e=>e?.setupCreation?.inProductTeamCreationState?.error};let a_=(0,S.Ay)(e=>(0,c.LL)(e?.setupCreation?.inProductTeamCreationState?.metadata??"")??o.t0);a_.meta={name:"getInProductTeamCreationMetadata",key:"createSelectorGetInProductTeamCreationMetadata",description:e=>(0,c.LL)(e?.setupCreation?.inProductTeamCreationState?.metadata??"")??o.t0},(0,S.Ay)(e=>e?.setupCreation?.inProductTeamCreationState?.isStateTerminal).meta={name:"getInProductTeamCreationStateIsTerminal",key:"createSelectorGetInProductTeamCreationStateIsTerminal",description:e=>e?.setupCreation?.inProductTeamCreationState?.isStateTerminal};let ap=(0,S.Ay)(e=>e?.setupCreation?.isInproductTeamCreationStateMachineLoaded);ap.meta={name:"getIsInproductTeamCreationStateMachineLoaded",key:"createSelectorGetIsInproductTeamCreationStateMachineLoaded",description:e=>e?.setupCreation?.isInproductTeamCreationStateMachineLoaded};let ah=(0,S.Ay)(e=>e?.setupCreation?.joinerChannelWelcomePartyState);ah.meta={name:"getJoinerChannelWelcomePartyState",key:"createSelectorGetJoinerChannelWelcomePartyState",description:e=>e?.setupCreation?.joinerChannelWelcomePartyState}},0x19f74d539:(e,t,a)=>{"use strict";a.d(t,{M:()=>s,yN:()=>l,Qk:()=>c,e1:()=>u,xR:()=>m,CC:()=>d});let hasNavigatedFromAIWorkspaceCreationPage=()=>"true"===new URLSearchParams(window.location.search).get("is_from_ai");var n=a(0x190a9df19),r=a(0x1cf0d97e1),i=a(0x14149c126),o=a(0x1defa8f11);let s="ai_workspace_channel_info",l="ai_workspace_data",c=(0,r.Ay)(e=>"on"===(0,i._Z)(e,"ai_workspace_team_check",!1));c.meta={name:"getAIWorkspaceTeamCheckExperiment",key:"createSelectorGetAIWorkspaceTeamCheckExperiment",description:e=>"on"===(0,i._Z)(e,"ai_workspace_team_check",!1)};let d=(0,r.Ay)(e=>c(e)&&(0,n.$G)(e)&&(!!(0,o.ax)(e,s)||hasNavigatedFromAIWorkspaceCreationPage()));d.meta={name:"isUserInCreateAiWorkspaceFlow",key:"createSelectorIsUserInCreateAiWorkspaceFlow",description:e=>c(e)&&(0,n.$G)(e)&&(!!(0,o.ax)(e,s)||hasNavigatedFromAIWorkspaceCreationPage())};let u=(0,r.Ay)(e=>(0,o.ax)(e,s));u.meta={name:"getChannelsCreatedByAi",key:"createSelectorGetChannelsCreatedByAi",description:e=>(0,o.ax)(e,s)};let m=(0,r.Ay)((e,t)=>d(e)&&!!u(e)&&u(e)?.includes(t));m.meta={name:"isChannelCreatedByAi",key:"createSelectorIsChannelCreatedByAi",description:(e,t)=>d(e)&&!!u(e)&&u(e)?.includes(t)}},0x130084fd:(e,t,a)=>{"use strict";a.d(t,{zb:()=>p,qF:()=>g,Hi:()=>h,Bl:()=>A,JK:()=>R,mx:()=>O,kY:()=>x,$L:()=>E,g2:()=>U,Nh:()=>P,jC:()=>F,Xk:()=>b,pE:()=>w,H4:()=>v,IG:()=>S,l8:()=>C,Jb:()=>y,to:()=>I,eJ:()=>T,W8:()=>M,Pt:()=>L,sv:()=>N});var n=a(0x21f3c49e8),r=a(0x1df96de4c),i=a(0xa1832ae4),o=a(0x1cf0d97e1),s=a(0x1ccef1c6f),l=a(0xb9604b6),c=a(0x5b1935a6),d=a(0x1defa8f11),u=a(0x54ef0daa),m=a(0x4623fc8f);let f=(0,o.Ay)(e=>e?.setupCreation?.solutionTemplatePref);f.meta={name:"getSolutionTemplatePrefState",key:"createSelectorGetSolutionTemplatePrefState",description:e=>e?.setupCreation?.solutionTemplatePref};var _=a(0x1ee439e69);let p={NEW_TEAM:"new_team",EXISTING_TEAM:"existing_team"},h={CANVAS:"canvas",LIST:"list",CHANNEL:"channel",WORKFLOW:"workflow"},g={COACHMARK:"coachmark",MODAL:"modal"},A="solution_template",b=(0,o.Ay)(e=>{let t=(0,s.ty)(e,A)||"{}";try{let a=JSON.parse(t);if(Object.keys(a).length||(a=f(e)??r.t0,Object.keys(a).length))return a;return r.t0}catch{return r.t0}});b.meta={name:"getSolutionTemplatePref",key:"createSelectorGetSolutionTemplatePref",description:e=>{let t=(0,s.ty)(e,A)||"{}";try{let a=JSON.parse(t);if(Object.keys(a).length||(a=f(e)??r.t0,Object.keys(a).length))return a;return r.t0}catch{return r.t0}}};let y=(0,o.Ay)(e=>{let t,a=(0,s.ty)(e,A)||"{}";try{t=JSON.parse(a)}catch{t={}}return!!(0,n.A)(t)&&!(0,n.A)(f(e))});y.meta={name:"isSolutionProvisioningFlowInProgress",key:"createSelectorIsSolutionProvisioningFlowInProgress",description:e=>{let t,a=(0,s.ty)(e,A)||"{}";try{t=JSON.parse(a)}catch{t={}}return!!(0,n.A)(t)&&!(0,n.A)(f(e))}};let S=(0,o.Ay)(e=>b(e)&&!(0,n.A)(b(e)));S.meta={name:"isGalleryFlowEnabled",key:"createSelectorIsGalleryFlowEnabled",description:e=>b(e)&&!(0,n.A)(b(e))};let E=(0,o.Ay)(e=>S(e)&&b(e)?.type||void 0);E.meta={name:"getGalleryTemplateType",key:"createSelectorGetGalleryTemplateType",description:e=>S(e)&&b(e)?.type||void 0};let k=(0,o.Ay)(e=>S(e)&&b(e)?.flow||void 0);k.meta={name:"getGalleryFlowType",key:"createSelectorGetGalleryFlowType",description:e=>S(e)&&b(e)?.flow||void 0};let isGalleryFlowType=(e,t)=>k(e)&&k(e)===t,T=(0,o.Ay)(e=>isGalleryFlowType(e,p.NEW_TEAM));T.meta={name:"isUserInNewTeamGalleryFlow",key:"createSelectorIsUserInNewTeamGalleryFlow",description:e=>isGalleryFlowType(e,p.NEW_TEAM)};let I=(0,o.Ay)(e=>isGalleryFlowType(e,p.EXISTING_TEAM));I.meta={name:"isUserInExistingTeamGalleryFlow",key:"createSelectorIsUserInExistingTeamGalleryFlow",description:e=>isGalleryFlowType(e,p.EXISTING_TEAM)};let isGalleryTemplateType=(e,t)=>E(e)&&E(e)===t,w=(0,o.Ay)(e=>isGalleryTemplateType(e,h.CANVAS));w.meta={name:"isCanvasGalleryFlow",key:"createSelectorIsCanvasGalleryFlow",description:e=>isGalleryTemplateType(e,h.CANVAS)};let C=(0,o.Ay)(e=>isGalleryTemplateType(e,h.LIST));C.meta={name:"isListGalleryFlow",key:"createSelectorIsListGalleryFlow",description:e=>isGalleryTemplateType(e,h.LIST)};let v=(0,o.Ay)(e=>isGalleryTemplateType(e,h.CHANNEL));v.meta={name:"isChannelSolutionGalleryFlow",key:"createSelectorIsChannelSolutionGalleryFlow",description:e=>isGalleryTemplateType(e,h.CHANNEL)};let x=(0,o.Ay)(e=>S(e)&&b(e)?.template||void 0);x.meta={name:"getGalleryTemplateName",key:"createSelectorGetGalleryTemplateName",description:e=>S(e)&&b(e)?.template||void 0};let R=(0,o.Ay)(e=>S(e)?`activate_template_gallery_${E(e)}_${x(e)}`:void 0);R.meta={name:"getGalleryEntryClogValue",key:"createSelectorGetGalleryEntryClogValue",description:e=>S(e)?`activate_template_gallery_${E(e)}_${x(e)}`:void 0};let O=(0,o.Ay)(e=>{let t=(0,m.f)(e);if(t&&t?.type&&t?.template)return`activate_template_gallery_${t.type}_${t.template}`});O.meta={name:"getGalleryEntryClogValueFromState",key:"createSelectorGetGalleryEntryClogValueFromState",description:e=>{let t=(0,m.f)(e);if(t&&t?.type&&t?.template)return`activate_template_gallery_${t.type}_${t.template}`}};let N=(0,o.Ay)(e=>T(e));N.meta={name:"showNewTeamCreationFlowLayout",key:"createSelectorShowNewTeamCreationFlowLayout",description:e=>T(e)};let D=(0,o.Ay)(e=>(0,l.Hp)(e,c.xu.WELCOME_SPACE)===c.ze.SOLUTIONS_GALLERY_TRIAL_TIP_COACHMARK);D.meta={name:"isSolutionsGalleryTrialTipCoachmarkShowing",key:"createSelectorIsSolutionsGalleryTrialTipCoachmarkShowing",description:e=>(0,l.Hp)(e,c.xu.WELCOME_SPACE)===c.ze.SOLUTIONS_GALLERY_TRIAL_TIP_COACHMARK};let L=(0,o.Ay)(e=>T(e)&&!(0,i.tc)((0,_.H7)(e))&&(w(e)||C(e))&&!D(e));L.meta={name:"showLoadingStateForListOrCanvas",key:"createSelectorShowLoadingStateForListOrCanvas",description:e=>T(e)&&!(0,i.tc)((0,_.H7)(e))&&(w(e)||C(e))&&!D(e)};let M=(0,o.Ay)(e=>!(0,i.tc)((0,_.H7)(e))&&v(e)&&T(e));M.meta={name:"shouldProvisionTemplateForNewTeamChannelFlow",key:"createSelectorShouldProvisionTemplateForNewTeamChannelFlow",description:e=>!(0,i.tc)((0,_.H7)(e))&&v(e)&&T(e)};let F=(0,o.Ay)((e,{templateId:t})=>{if(t)try{let{provisioning_state:a,template_id:n}=JSON.parse((0,d.ax)(e,u.tX));if(n!==t)return;return a}catch{return}});F.meta={name:"getSolutionProvisioningStatus",key:"createSelectorGetSolutionProvisioningStatus",description:(e,{templateId:t})=>{if(t)try{let{provisioning_state:a,template_id:n}=JSON.parse((0,d.ax)(e,u.tX));if(n!==t)return;return a}catch{return}}};let P=(0,o.Ay)((e,{templateId:t})=>{try{let{template_id:a,assets:n}=JSON.parse((0,d.ax)(e,u.tX));if(a!==t)return;return n}catch{return}});P.meta={name:"getSolutionProvisionedAssets",key:"createSelectorGetSolutionProvisionedAssets",description:(e,{templateId:t})=>{try{let{template_id:a,assets:n}=JSON.parse((0,d.ax)(e,u.tX));if(a!==t)return;return n}catch{return}}};let U=(0,o.Ay)(e=>{try{let{solution:t}=JSON.parse((0,d.ax)(e,u.LP))||{};if(!t)return;let[a,n]=t.split(".");if(!a||!n)return;return{type:a,template:n}}catch{return}});U.meta={name:"getSolutionFromSetupQueryString",key:"createSelectorGetSolutionFromSetupQueryString",description:e=>{try{let{solution:t}=JSON.parse((0,d.ax)(e,u.LP))||{};if(!t)return;let[a,n]=t.split(".");if(!a||!n)return;return{type:a,template:n}}catch{return}}}},0x12219f474:(e,t,a)=>{"use strict";a.d(t,{R:()=>p,Y:()=>_});var n=a(0x7ed0bca9),r=a(0xb8504a42),i=a(0x17f03e906),o=a(0x1cf0d97e1),s=a(0x19f74d539),l=a(0x130084fd),c=a(0x1c3eab6e3),d=a(0x16dda54b4),u=a(0x18fb1ba),m=a(0x6d2e1c47),f=a(0x1ee439e69);let _=(0,o.Ay)(e=>{let t=(0,l.eJ)(e),a=(0,s.CC)(e),o=(0,u.b7)(e);if((0,i.c)(e)||(0,n.Fr)())return!1;let c=(0,f.H7)(e);return!((0,r.r7)(c)||t||a||o||(0,m.Q)(e))});_.meta={name:"isEligibleForAiWorkspaceTeamCreation",key:"createSelectorIsEligibleForAiWorkspaceTeamCreation",description:e=>{let t=(0,l.eJ)(e),a=(0,s.CC)(e),o=(0,u.b7)(e);if((0,i.c)(e)||(0,n.Fr)())return!1;let c=(0,f.H7)(e);return!((0,r.r7)(c)||t||a||o||(0,m.Q)(e))}};let p=(0,o.Ay)(e=>{let t=(0,c.lP)(e),a=(0,d.Qm)(e);return(!!t||!!a)&&!!_(e)});p.meta={name:"isEligibleForAiWorkspaceTeamCreationExperiment",key:"createSelectorIsEligibleForAiWorkspaceTeamCreationExperiment",description:e=>{let t=(0,c.lP)(e),a=(0,d.Qm)(e);return(!!t||!!a)&&!!_(e)}}},0x247c3f14a:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var n=a(0x1fef2be00),r=a(0xb8504a42),i=a(0x190a9df19),o=a(0x1cf0d97e1),s=a(0x1ccef1c6f),l=a(0x1defa8f11),c=a(0x54ef0daa),d=a(0x13300685c),u=a(0x74bbb29a),m=a(0x1ee439e69);let f=(0,o.Ay)(e=>{if(!(0,d.fJ)(e)||!(0,n.g)(e)||!(0,i.$G)(e))return!1;let t=(0,m.H7)(e);return!((0,r.r7)(t)||(0,s.ty)(e,"onboarding_complete"))&&(0,l.ax)(e,c.gm)===u.GO.Completed});f.meta={name:"isEligibleForCreatorGuidedSetup",key:"createSelectorIsEligibleForCreatorGuidedSetup",description:e=>{if(!(0,d.fJ)(e)||!(0,n.g)(e)||!(0,i.$G)(e))return!1;let t=(0,m.H7)(e);return!((0,r.r7)(t)||(0,s.ty)(e,"onboarding_complete"))&&(0,l.ax)(e,c.gm)===u.GO.Completed}}},0x13300685c:(e,t,a)=>{"use strict";a.d(t,{fJ:()=>m});var n=a(0xa1832ae4),r=a(0x17f03e906),i=a(0x1cf0d97e1),o=a(0x1f5ddf6f2),s=a(0x21a48b7c8),l=a(0x19f74d539),c=a(0x130084fd),d=a(0x1ee439e69);let u=[o.$e.Enabled,o.$e.Redeemed],m=(0,i.Ay)(e=>{if((0,r.c)(e))return!1;let t=(0,d.H7)(e);if(!(0,n.tc)(t)&&!(0,n.KJ)(t)&&!(0,n.NB)(t))return!1;let a=(0,s.Z)(e);if(!u.includes(a))return!1;let i=(0,n.$L)(t);if(i>=0x67858ce0&&i<=0x67c0e060)return!0;if(i>=1744665e3){let t=(0,l.CC)(e),a=(0,c.eJ)(e);return!t&&!a}return!1});m.meta={name:"isTeamEligibleForCreatorGuidedSetup",key:"createSelectorIsTeamEligibleForCreatorGuidedSetup",description:e=>{if((0,r.c)(e))return!1;let t=(0,d.H7)(e);if(!(0,n.tc)(t)&&!(0,n.KJ)(t)&&!(0,n.NB)(t))return!1;let a=(0,s.Z)(e);if(!u.includes(a))return!1;let i=(0,n.$L)(t);if(i>=0x67858ce0&&i<=0x67c0e060)return!0;if(i>=1744665e3){let t=(0,l.CC)(e),a=(0,c.eJ)(e);return!t&&!a}return!1}}},0xfd109cfc:(e,t,a)=>{"use strict";a.d(t,{BF:()=>d,LT:()=>m,Lt:()=>c,Ze:()=>u,oh:()=>f});var n=a(0x17fee64c3),r=a(0xa1832ae4),i=a(0x1cf0d97e1),o=a(0xb9604b6),s=a(0x5b1935a6),l=a(0x1ee439e69);let c="huddle_started_from_cta",d="clip_started_from_cta",u="emoji_modal_from_cta",m=(0,i.Ay)((e,t)=>(0,o.Hp)(e,s.xu.IN_PRODUCT_COACHMARK)===t);m.meta={name:"showDecorateGeneralRandomCoachmark",key:"createSelectorShowDecorateGeneralRandomCoachmark",description:(e,t)=>(0,o.Hp)(e,s.xu.IN_PRODUCT_COACHMARK)===t};let f=(0,i.Ay)(e=>{let t=(0,l.H7)(e),a=(0,r.$L)(t);return!(0,n.z$)()&&!!((0,r.tc)(t)||(0,r.KJ)(t)||(0,r.NB)(t))&&!(a<0x66c355bc)});f.meta={name:"isEligibleForDecorateDefaultChannelsSelector",key:"createSelectorIsEligibleForDecorateDefaultChannelsSelector",description:e=>{let t=(0,l.H7)(e),a=(0,r.$L)(t);return!(0,n.z$)()&&!!((0,r.tc)(t)||(0,r.KJ)(t)||(0,r.NB)(t))&&!(a<0x66c355bc)}}},0x18811833d:(e,t,a)=>{"use strict";a.d(t,{x_:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"ai_slackbot_sampling")).meta={name:"aiSlackbotSamplingGetAssignment",key:"createSelectorAiSlackbotSamplingGetAssignment",description:e=>(0,o.ze)(e,"ai_slackbot_sampling")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"ai_slackbot_sampling"));s.meta={name:"aiSlackbotSamplingIsControl",key:"createSelectorAiSlackbotSamplingIsControl",description:e=>"control"===(0,o.ze)(e,"ai_slackbot_sampling")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"ai_slackbot_sampling"));l.meta={name:"aiSlackbotSamplingIsTreatment",key:"createSelectorAiSlackbotSamplingIsTreatment",description:e=>"treatment"===(0,o.ze)(e,"ai_slackbot_sampling")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"ai_slackbot_sampling")??""));c.meta={name:"aiSlackbotSamplingIsAnyTreatment",key:"createSelectorAiSlackbotSamplingIsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"ai_slackbot_sampling")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"aiSlackbotSamplingIsExposed",key:"createSelectorAiSlackbotSamplingIsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"ai_slackbot_sampling")??""));u.meta={name:"aiSlackbotSamplingIsAAExposed",key:"createSelectorAiSlackbotSamplingIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"ai_slackbot_sampling")??"")},(0,r.Ay)("Log exposure for the ai_slackbot_sampling experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"ai_slackbot_sampling");a&&a.log_exposures&&(0,i.K)("ai_slackbot_sampling",a,e,t)})(n,{sendImmediately:a})}).meta={name:"aiSlackbotSamplingMaybeLogExposure",key:"createThunkAiSlackbotSamplingMaybeLogExposure",description:"Log exposure for the ai_slackbot_sampling experiment if it is exposed"}},0x1c3eab6e3:(e,t,a)=>{"use strict";a.d(t,{lP:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"ai_workspace_team_creation_v1")).meta={name:"aiWorkspaceTeamCreationV1GetAssignment",key:"createSelectorAiWorkspaceTeamCreationV1GetAssignment",description:e=>(0,o.ze)(e,"ai_workspace_team_creation_v1")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"ai_workspace_team_creation_v1"));s.meta={name:"aiWorkspaceTeamCreationV1IsControl",key:"createSelectorAiWorkspaceTeamCreationV1IsControl",description:e=>"control"===(0,o.ze)(e,"ai_workspace_team_creation_v1")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"ai_workspace_team_creation_v1"));l.meta={name:"aiWorkspaceTeamCreationV1IsTreatment",key:"createSelectorAiWorkspaceTeamCreationV1IsTreatment",description:e=>"treatment"===(0,o.ze)(e,"ai_workspace_team_creation_v1")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"ai_workspace_team_creation_v1")??""));c.meta={name:"aiWorkspaceTeamCreationV1IsAnyTreatment",key:"createSelectorAiWorkspaceTeamCreationV1IsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"ai_workspace_team_creation_v1")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"aiWorkspaceTeamCreationV1IsExposed",key:"createSelectorAiWorkspaceTeamCreationV1IsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"ai_workspace_team_creation_v1")??""));u.meta={name:"aiWorkspaceTeamCreationV1IsAAExposed",key:"createSelectorAiWorkspaceTeamCreationV1IsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"ai_workspace_team_creation_v1")??"")},(0,r.Ay)("Log exposure for the ai_workspace_team_creation_v1 experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"ai_workspace_team_creation_v1");a&&a.log_exposures&&(0,i.K)("ai_workspace_team_creation_v1",a,e,t)})(n,{sendImmediately:a})}).meta={name:"aiWorkspaceTeamCreationV1MaybeLogExposure",key:"createThunkAiWorkspaceTeamCreationV1MaybeLogExposure",description:"Log exposure for the ai_workspace_team_creation_v1 experiment if it is exposed"}},0x16dda54b4:(e,t,a)=>{"use strict";a.d(t,{D6:()=>f,Qm:()=>d,fx:()=>l,zB:()=>c});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"ai_workspace_team_creation_v2")).meta={name:"aiWorkspaceTeamCreationV2GetAssignment",key:"createSelectorAiWorkspaceTeamCreationV2GetAssignment",description:e=>(0,o.ze)(e,"ai_workspace_team_creation_v2")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"ai_workspace_team_creation_v2"));s.meta={name:"aiWorkspaceTeamCreationV2IsControl",key:"createSelectorAiWorkspaceTeamCreationV2IsControl",description:e=>"control"===(0,o.ze)(e,"ai_workspace_team_creation_v2")};let l=(0,n.Ay)(e=>"treatment_with_welcome_modal"===(0,o.ze)(e,"ai_workspace_team_creation_v2"));l.meta={name:"aiWorkspaceTeamCreationV2IsTreatmentWithWelcomeModal",key:"createSelectorAiWorkspaceTeamCreationV2IsTreatmentWithWelcomeModal",description:e=>"treatment_with_welcome_modal"===(0,o.ze)(e,"ai_workspace_team_creation_v2")};let c=(0,n.Ay)(e=>"treatment_without_welcome_modal"===(0,o.ze)(e,"ai_workspace_team_creation_v2"));c.meta={name:"aiWorkspaceTeamCreationV2IsTreatmentWithoutWelcomeModal",key:"createSelectorAiWorkspaceTeamCreationV2IsTreatmentWithoutWelcomeModal",description:e=>"treatment_without_welcome_modal"===(0,o.ze)(e,"ai_workspace_team_creation_v2")};let d=(0,n.Ay)(e=>["treatment_with_welcome_modal","treatment_without_welcome_modal"].includes((0,o.ze)(e,"ai_workspace_team_creation_v2")??""));d.meta={name:"aiWorkspaceTeamCreationV2IsAnyTreatment",key:"createSelectorAiWorkspaceTeamCreationV2IsAnyTreatment",description:e=>["treatment_with_welcome_modal","treatment_without_welcome_modal"].includes((0,o.ze)(e,"ai_workspace_team_creation_v2")??"")};let u=(0,n.Ay)(e=>s(e)||d(e));u.meta={name:"aiWorkspaceTeamCreationV2IsExposed",key:"createSelectorAiWorkspaceTeamCreationV2IsExposed",description:e=>s(e)||d(e)};let m=(0,n.Ay)(e=>["aa_control","aa_treatment_with_welcome_modal","aa_treatment_without_welcome_modal"].includes((0,o.ze)(e,"ai_workspace_team_creation_v2")??""));m.meta={name:"aiWorkspaceTeamCreationV2IsAAExposed",key:"createSelectorAiWorkspaceTeamCreationV2IsAAExposed",description:e=>["aa_control","aa_treatment_with_welcome_modal","aa_treatment_without_welcome_modal"].includes((0,o.ze)(e,"ai_workspace_team_creation_v2")??"")};let f=(0,r.Ay)("Log exposure for the ai_workspace_team_creation_v2 experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(u(n)||m(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"ai_workspace_team_creation_v2");a&&a.log_exposures&&(0,i.K)("ai_workspace_team_creation_v2",a,e,t)})(n,{sendImmediately:a})});f.meta={name:"aiWorkspaceTeamCreationV2MaybeLogExposure",key:"createThunkAiWorkspaceTeamCreationV2MaybeLogExposure",description:"Log exposure for the ai_workspace_team_creation_v2 experiment if it is exposed"}},0x1dd2241d5:(e,t,a)=>{"use strict";a.d(t,{KB:()=>l,Pn:()=>c,ce:()=>s,md:()=>f,xd:()=>d});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"inproduct_team_creation")).meta={name:"inproductTeamCreationGetAssignment",key:"createSelectorInproductTeamCreationGetAssignment",description:e=>(0,o.ze)(e,"inproduct_team_creation")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"inproduct_team_creation"));s.meta={name:"inproductTeamCreationIsControl",key:"createSelectorInproductTeamCreationIsControl",description:e=>"control"===(0,o.ze)(e,"inproduct_team_creation")};let l=(0,n.Ay)(e=>"treatment_pro"===(0,o.ze)(e,"inproduct_team_creation"));l.meta={name:"inproductTeamCreationIsTreatmentPro",key:"createSelectorInproductTeamCreationIsTreatmentPro",description:e=>"treatment_pro"===(0,o.ze)(e,"inproduct_team_creation")};let c=(0,n.Ay)(e=>"treatment_business_plus"===(0,o.ze)(e,"inproduct_team_creation"));c.meta={name:"inproductTeamCreationIsTreatmentBusinessPlus",key:"createSelectorInproductTeamCreationIsTreatmentBusinessPlus",description:e=>"treatment_business_plus"===(0,o.ze)(e,"inproduct_team_creation")};let d=(0,n.Ay)(e=>["treatment_pro","treatment_business_plus"].includes((0,o.ze)(e,"inproduct_team_creation")??""));d.meta={name:"inproductTeamCreationIsAnyTreatment",key:"createSelectorInproductTeamCreationIsAnyTreatment",description:e=>["treatment_pro","treatment_business_plus"].includes((0,o.ze)(e,"inproduct_team_creation")??"")};let u=(0,n.Ay)(e=>s(e)||d(e));u.meta={name:"inproductTeamCreationIsExposed",key:"createSelectorInproductTeamCreationIsExposed",description:e=>s(e)||d(e)};let m=(0,n.Ay)(e=>["aa_control","aa_treatment_pro","aa_treatment_business_plus"].includes((0,o.ze)(e,"inproduct_team_creation")??""));m.meta={name:"inproductTeamCreationIsAAExposed",key:"createSelectorInproductTeamCreationIsAAExposed",description:e=>["aa_control","aa_treatment_pro","aa_treatment_business_plus"].includes((0,o.ze)(e,"inproduct_team_creation")??"")};let f=(0,r.Ay)("Log exposure for the inproduct_team_creation experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(u(n)||m(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"inproduct_team_creation");a&&a.log_exposures&&(0,i.K)("inproduct_team_creation",a,e,t)})(n,{sendImmediately:a})});f.meta={name:"inproductTeamCreationMaybeLogExposure",key:"createThunkInproductTeamCreationMaybeLogExposure",description:"Log exposure for the inproduct_team_creation experiment if it is exposed"}},0x234baa7fe:(e,t,a)=>{"use strict";a.d(t,{oX:()=>f,pe:()=>d,sm:()=>c,ul:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"joiner_personalized_launchpad_dm")).meta={name:"joinerPersonalizedLaunchpadDmGetAssignment",key:"createSelectorJoinerPersonalizedLaunchpadDmGetAssignment",description:e=>(0,o.ze)(e,"joiner_personalized_launchpad_dm")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"joiner_personalized_launchpad_dm"));s.meta={name:"joinerPersonalizedLaunchpadDmIsControl",key:"createSelectorJoinerPersonalizedLaunchpadDmIsControl",description:e=>"control"===(0,o.ze)(e,"joiner_personalized_launchpad_dm")};let l=(0,n.Ay)(e=>"treatment_with_modal"===(0,o.ze)(e,"joiner_personalized_launchpad_dm"));l.meta={name:"joinerPersonalizedLaunchpadDmIsTreatmentWithModal",key:"createSelectorJoinerPersonalizedLaunchpadDmIsTreatmentWithModal",description:e=>"treatment_with_modal"===(0,o.ze)(e,"joiner_personalized_launchpad_dm")};let c=(0,n.Ay)(e=>"treatment_with_setup_flow"===(0,o.ze)(e,"joiner_personalized_launchpad_dm"));c.meta={name:"joinerPersonalizedLaunchpadDmIsTreatmentWithSetupFlow",key:"createSelectorJoinerPersonalizedLaunchpadDmIsTreatmentWithSetupFlow",description:e=>"treatment_with_setup_flow"===(0,o.ze)(e,"joiner_personalized_launchpad_dm")};let d=(0,n.Ay)(e=>["treatment_with_modal","treatment_with_setup_flow"].includes((0,o.ze)(e,"joiner_personalized_launchpad_dm")??""));d.meta={name:"joinerPersonalizedLaunchpadDmIsAnyTreatment",key:"createSelectorJoinerPersonalizedLaunchpadDmIsAnyTreatment",description:e=>["treatment_with_modal","treatment_with_setup_flow"].includes((0,o.ze)(e,"joiner_personalized_launchpad_dm")??"")};let u=(0,n.Ay)(e=>s(e)||d(e));u.meta={name:"joinerPersonalizedLaunchpadDmIsExposed",key:"createSelectorJoinerPersonalizedLaunchpadDmIsExposed",description:e=>s(e)||d(e)};let m=(0,n.Ay)(e=>["aa_control","aa_treatment_with_modal","aa_treatment_with_setup_flow"].includes((0,o.ze)(e,"joiner_personalized_launchpad_dm")??""));m.meta={name:"joinerPersonalizedLaunchpadDmIsAAExposed",key:"createSelectorJoinerPersonalizedLaunchpadDmIsAAExposed",description:e=>["aa_control","aa_treatment_with_modal","aa_treatment_with_setup_flow"].includes((0,o.ze)(e,"joiner_personalized_launchpad_dm")??"")};let f=(0,r.Ay)("Log exposure for the joiner_personalized_launchpad_dm experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(u(n)||m(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"joiner_personalized_launchpad_dm");a&&a.log_exposures&&(0,i.K)("joiner_personalized_launchpad_dm",a,e,t)})(n,{sendImmediately:a})});f.meta={name:"joinerPersonalizedLaunchpadDmMaybeLogExposure",key:"createThunkJoinerPersonalizedLaunchpadDmMaybeLogExposure",description:"Log exposure for the joiner_personalized_launchpad_dm experiment if it is exposed"}},0x27d96443:(e,t,a)=>{"use strict";a.d(t,{kx:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"joiner_personalized_launchpad_topics")).meta={name:"joinerPersonalizedLaunchpadTopicsGetAssignment",key:"createSelectorJoinerPersonalizedLaunchpadTopicsGetAssignment",description:e=>(0,o.ze)(e,"joiner_personalized_launchpad_topics")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"joiner_personalized_launchpad_topics"));s.meta={name:"joinerPersonalizedLaunchpadTopicsIsControl",key:"createSelectorJoinerPersonalizedLaunchpadTopicsIsControl",description:e=>"control"===(0,o.ze)(e,"joiner_personalized_launchpad_topics")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"joiner_personalized_launchpad_topics"));l.meta={name:"joinerPersonalizedLaunchpadTopicsIsTreatment",key:"createSelectorJoinerPersonalizedLaunchpadTopicsIsTreatment",description:e=>"treatment"===(0,o.ze)(e,"joiner_personalized_launchpad_topics")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"joiner_personalized_launchpad_topics")??""));c.meta={name:"joinerPersonalizedLaunchpadTopicsIsAnyTreatment",key:"createSelectorJoinerPersonalizedLaunchpadTopicsIsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"joiner_personalized_launchpad_topics")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"joinerPersonalizedLaunchpadTopicsIsExposed",key:"createSelectorJoinerPersonalizedLaunchpadTopicsIsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"joiner_personalized_launchpad_topics")??""));u.meta={name:"joinerPersonalizedLaunchpadTopicsIsAAExposed",key:"createSelectorJoinerPersonalizedLaunchpadTopicsIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"joiner_personalized_launchpad_topics")??"")},(0,r.Ay)("Log exposure for the joiner_personalized_launchpad_topics experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"joiner_personalized_launchpad_topics");a&&a.log_exposures&&(0,i.K)("joiner_personalized_launchpad_topics",a,e,t)})(n,{sendImmediately:a})}).meta={name:"joinerPersonalizedLaunchpadTopicsMaybeLogExposure",key:"createThunkJoinerPersonalizedLaunchpadTopicsMaybeLogExposure",description:"Log exposure for the joiner_personalized_launchpad_topics experiment if it is exposed"}},0x112919a7a:(e,t,a)=>{"use strict";a.d(t,{KN:()=>f,lD:()=>d,o2:()=>c,rI:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"joiner_recent_channel_content")).meta={name:"joinerRecentChannelContentGetAssignment",key:"createSelectorJoinerRecentChannelContentGetAssignment",description:e=>(0,o.ze)(e,"joiner_recent_channel_content")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"joiner_recent_channel_content"));s.meta={name:"joinerRecentChannelContentIsControl",key:"createSelectorJoinerRecentChannelContentIsControl",description:e=>"control"===(0,o.ze)(e,"joiner_recent_channel_content")};let l=(0,n.Ay)(e=>"simple"===(0,o.ze)(e,"joiner_recent_channel_content"));l.meta={name:"joinerRecentChannelContentIsSimple",key:"createSelectorJoinerRecentChannelContentIsSimple",description:e=>"simple"===(0,o.ze)(e,"joiner_recent_channel_content")};let c=(0,n.Ay)(e=>"expanded_ai"===(0,o.ze)(e,"joiner_recent_channel_content"));c.meta={name:"joinerRecentChannelContentIsExpandedAi",key:"createSelectorJoinerRecentChannelContentIsExpandedAi",description:e=>"expanded_ai"===(0,o.ze)(e,"joiner_recent_channel_content")};let d=(0,n.Ay)(e=>["simple","expanded_ai"].includes((0,o.ze)(e,"joiner_recent_channel_content")??""));d.meta={name:"joinerRecentChannelContentIsAnyTreatment",key:"createSelectorJoinerRecentChannelContentIsAnyTreatment",description:e=>["simple","expanded_ai"].includes((0,o.ze)(e,"joiner_recent_channel_content")??"")};let u=(0,n.Ay)(e=>s(e)||d(e));u.meta={name:"joinerRecentChannelContentIsExposed",key:"createSelectorJoinerRecentChannelContentIsExposed",description:e=>s(e)||d(e)};let m=(0,n.Ay)(e=>["aa_control","aa_simple","aa_expanded_ai"].includes((0,o.ze)(e,"joiner_recent_channel_content")??""));m.meta={name:"joinerRecentChannelContentIsAAExposed",key:"createSelectorJoinerRecentChannelContentIsAAExposed",description:e=>["aa_control","aa_simple","aa_expanded_ai"].includes((0,o.ze)(e,"joiner_recent_channel_content")??"")};let f=(0,r.Ay)("Log exposure for the joiner_recent_channel_content experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(u(n)||m(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"joiner_recent_channel_content");a&&a.log_exposures&&(0,i.K)("joiner_recent_channel_content",a,e,t)})(n,{sendImmediately:a})});f.meta={name:"joinerRecentChannelContentMaybeLogExposure",key:"createThunkJoinerRecentChannelContentMaybeLogExposure",description:"Log exposure for the joiner_recent_channel_content experiment if it is exposed"}},0x217768ad:(e,t,a)=>{"use strict";a.d(t,{k:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"pnp_two_go",!1));i.meta={name:"pnpTwoGoIsOn",key:"createSelectorPnpTwoGoIsOn",description:e=>"on"===(0,r._Z)(e,"pnp_two_go",!1)}},0x7d27f1cc:(e,t,a)=>{"use strict";a.d(t,{NY:()=>l});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"prejoin_welcome_dm_party")).meta={name:"prejoinWelcomeDmPartyGetAssignment",key:"createSelectorPrejoinWelcomeDmPartyGetAssignment",description:e=>(0,o.ze)(e,"prejoin_welcome_dm_party")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"prejoin_welcome_dm_party"));s.meta={name:"prejoinWelcomeDmPartyIsControl",key:"createSelectorPrejoinWelcomeDmPartyIsControl",description:e=>"control"===(0,o.ze)(e,"prejoin_welcome_dm_party")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"prejoin_welcome_dm_party"));l.meta={name:"prejoinWelcomeDmPartyIsTreatment",key:"createSelectorPrejoinWelcomeDmPartyIsTreatment",description:e=>"treatment"===(0,o.ze)(e,"prejoin_welcome_dm_party")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"prejoin_welcome_dm_party")??""));c.meta={name:"prejoinWelcomeDmPartyIsAnyTreatment",key:"createSelectorPrejoinWelcomeDmPartyIsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"prejoin_welcome_dm_party")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"prejoinWelcomeDmPartyIsExposed",key:"createSelectorPrejoinWelcomeDmPartyIsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"prejoin_welcome_dm_party")??""));u.meta={name:"prejoinWelcomeDmPartyIsAAExposed",key:"createSelectorPrejoinWelcomeDmPartyIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"prejoin_welcome_dm_party")??"")},(0,r.Ay)("Log exposure for the prejoin_welcome_dm_party experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"prejoin_welcome_dm_party");a&&a.log_exposures&&(0,i.K)("prejoin_welcome_dm_party",a,e,t)})(n,{sendImmediately:a})}).meta={name:"prejoinWelcomeDmPartyMaybeLogExposure",key:"createThunkPrejoinWelcomeDmPartyMaybeLogExposure",description:"Log exposure for the prejoin_welcome_dm_party experiment if it is exposed"}},0x1cf38bd02:(e,t,a)=>{"use strict";a.d(t,{Xf:()=>f,YM:()=>l,nc:()=>m});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"slack_connect_straight_to_paid")).meta={name:"slackConnectStraightToPaidGetAssignment",key:"createSelectorSlackConnectStraightToPaidGetAssignment",description:e=>(0,o.ze)(e,"slack_connect_straight_to_paid")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"slack_connect_straight_to_paid"));s.meta={name:"slackConnectStraightToPaidIsControl",key:"createSelectorSlackConnectStraightToPaidIsControl",description:e=>"control"===(0,o.ze)(e,"slack_connect_straight_to_paid")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"slack_connect_straight_to_paid"));l.meta={name:"slackConnectStraightToPaidIsTreatment",key:"createSelectorSlackConnectStraightToPaidIsTreatment",description:e=>"treatment"===(0,o.ze)(e,"slack_connect_straight_to_paid")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"slack_connect_straight_to_paid")??""));c.meta={name:"slackConnectStraightToPaidIsAnyTreatment",key:"createSelectorSlackConnectStraightToPaidIsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"slack_connect_straight_to_paid")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"slackConnectStraightToPaidIsExposed",key:"createSelectorSlackConnectStraightToPaidIsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"slack_connect_straight_to_paid")??""));u.meta={name:"slackConnectStraightToPaidIsAAExposed",key:"createSelectorSlackConnectStraightToPaidIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"slack_connect_straight_to_paid")??"")};let m=(0,n.Ay)(e=>d(e)||u(e));m.meta={name:"slackConnectStraightToPaidIsExposedOrAAExposed",key:"createSelectorSlackConnectStraightToPaidIsExposedOrAAExposed",description:e=>d(e)||u(e)};let f=(0,r.Ay)("Log exposure for the slack_connect_straight_to_paid experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"slack_connect_straight_to_paid");a&&a.log_exposures&&(0,i.K)("slack_connect_straight_to_paid",a,e,t)})(n,{sendImmediately:a})});f.meta={name:"slackConnectStraightToPaidMaybeLogExposure",key:"createThunkSlackConnectStraightToPaidMaybeLogExposure",description:"Log exposure for the slack_connect_straight_to_paid experiment if it is exposed"}},0xc6fdf6db:(e,t,a)=>{"use strict";a.d(t,{P2:()=>d,_1:()=>m,dp:()=>l,zL:()=>u});var n=a(0x1cf0d97e1),r=a(0x11c82607b),i=a(0xce702808),o=a(0x14149c126);(0,n.Ay)(e=>(0,o.ze)(e,"social_team_segmentation")).meta={name:"socialTeamSegmentationGetAssignment",key:"createSelectorSocialTeamSegmentationGetAssignment",description:e=>(0,o.ze)(e,"social_team_segmentation")};let s=(0,n.Ay)(e=>"control"===(0,o.ze)(e,"social_team_segmentation"));s.meta={name:"socialTeamSegmentationIsControl",key:"createSelectorSocialTeamSegmentationIsControl",description:e=>"control"===(0,o.ze)(e,"social_team_segmentation")};let l=(0,n.Ay)(e=>"treatment"===(0,o.ze)(e,"social_team_segmentation"));l.meta={name:"socialTeamSegmentationIsTreatment",key:"createSelectorSocialTeamSegmentationIsTreatment",description:e=>"treatment"===(0,o.ze)(e,"social_team_segmentation")};let c=(0,n.Ay)(e=>["treatment"].includes((0,o.ze)(e,"social_team_segmentation")??""));c.meta={name:"socialTeamSegmentationIsAnyTreatment",key:"createSelectorSocialTeamSegmentationIsAnyTreatment",description:e=>["treatment"].includes((0,o.ze)(e,"social_team_segmentation")??"")};let d=(0,n.Ay)(e=>s(e)||c(e));d.meta={name:"socialTeamSegmentationIsExposed",key:"createSelectorSocialTeamSegmentationIsExposed",description:e=>s(e)||c(e)};let u=(0,n.Ay)(e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"social_team_segmentation")??""));u.meta={name:"socialTeamSegmentationIsAAExposed",key:"createSelectorSocialTeamSegmentationIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,o.ze)(e,"social_team_segmentation")??"")};let m=(0,r.Ay)("Log exposure for the social_team_segmentation experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(d(n)||u(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,o.KK)(e,"social_team_segmentation");a&&a.log_exposures&&(0,i.K)("social_team_segmentation",a,e,t)})(n,{sendImmediately:a})});m.meta={name:"socialTeamSegmentationMaybeLogExposure",key:"createThunkSocialTeamSegmentationMaybeLogExposure",description:"Log exposure for the social_team_segmentation experiment if it is exposed"}},0x18c8cd9b1:(e,t,a)=>{"use strict";a.d(t,{d:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"thread_proactive_summarizer",!1));i.meta={name:"threadSummarizerIsOn",key:"createSelectorThreadSummarizerIsOn",description:e=>"on"===(0,r._Z)(e,"thread_proactive_summarizer",!1)}},0xf241ee58:(e,t,a)=>{"use strict";a.d(t,{y:()=>l});var n=a(0x1cf0d97e1),r=a(0x1defa8f11),i=a(0x54ef0daa),o=a(0x18a17ca8f),s=a(0x12219f474);let l=(0,n.Ay)((e,{channelId:t,skipChannelCheck:a})=>{if(!(0,s.R)(e)||(0,o.te)(e)!==t&&!a)return;let n=(0,r.ax)(e,i.wq);try{if(n)return JSON.parse(n);return}catch{return}});l.meta={name:"getAiWorkspaceCreatedFileIds",key:"createSelectorGetAiWorkspaceCreatedFileIds",description:(e,{channelId:t,skipChannelCheck:a})=>{if(!(0,s.R)(e)||(0,o.te)(e)!==t&&!a)return;let n=(0,r.ax)(e,i.wq);try{if(n)return JSON.parse(n);return}catch{return}}}},0xe91e45de:(e,t,a)=>{"use strict";a.d(t,{H:()=>m});var n=a(0xd6ba6894),r=a(0x18dac2b8e),i=a(0x6960d8b9),o=a(0x1cf0d97e1),s=a(0xe5418754),l=a(0xe684f705);let c="force_first_login_date",d=(0,o.Ay)(e=>{if((0,r.Cu)()||(0,r.$i)()){let e=new URLSearchParams(n.J.location.search);if(e.has(c)){let t=e.get(c);if(t)return(0,i.$4)(t,{parseFormat:"YYYY-MM-DD"})}}let t=(0,l.cA)(e),a=(0,s.yF)(t)??0;if(a)return(0,i.$4)(a)});d.meta={name:"getFirstLoginDate",key:"createSelectorGetFirstLoginDate",description:e=>{if((0,r.Cu)()||(0,r.$i)()){let e=new URLSearchParams(n.J.location.search);if(e.has(c)){let t=e.get(c);if(t)return(0,i.$4)(t,{parseFormat:"YYYY-MM-DD"})}}let t=(0,l.cA)(e),a=(0,s.yF)(t)??0;if(a)return(0,i.$4)(a)}};let u="force_days_since_first_login",m=(0,o.Ay)(e=>{if((0,r.Cu)()||(0,r.$i)()){let e=new URLSearchParams(n.J.location.search);if(e.has(u)){let t=e.get(u);if(t)return parseInt(t,10)}}let t=d(e);return t?(0,i.KR)(new Date,t):0});m.meta={name:"getDaysSinceFirstLogin",key:"createSelectorGetDaysSinceFirstLogin",description:e=>{if((0,r.Cu)()||(0,r.$i)()){let e=new URLSearchParams(n.J.location.search);if(e.has(u)){let t=e.get(u);if(t)return parseInt(t,10)}}let t=d(e);return t?(0,i.KR)(new Date,t):0}}},0x4623fc8f:(e,t,a)=>{"use strict";a.d(t,{f:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.setupCreation?.galleryEntryPointStateValue);n.meta={name:"getGalleryEntryPointStateValue",key:"createSelectorGetGalleryEntryPointStateValue",description:e=>e?.setupCreation?.galleryEntryPointStateValue}},0x1195a3e30:(e,t,a)=>{"use strict";a.d(t,{I:()=>c});var n=a(0x20145e572),r=a(0x202e0e290),i=a(0x1cf0d97e1),o=a(0xd44d1c69),s=a(0x1dd2241d5),l=a(0x18fb1ba);let c=(0,i.Ay)(e=>{if(!(0,s.xd)(e)||!(0,o.Pr)(e)||(0,l.b7)(e))return!1;let t=(0,r.Zp)();if(t===r.sx.Social||t===r.sx.Edu)return!1;let a=(0,o.zo)(e);return!n.J1.includes(a)});c.meta={name:"isTeamEligibleForInproductTeamCreation",key:"createSelectorIsTeamEligibleForInproductTeamCreation",description:e=>{if(!(0,s.xd)(e)||!(0,o.Pr)(e)||(0,l.b7)(e))return!1;let t=(0,r.Zp)();if(t===r.sx.Social||t===r.sx.Edu)return!1;let a=(0,o.zo)(e);return!n.J1.includes(a)}}},0x19dffa924:(e,t,a)=>{"use strict";a.d(t,{gT:()=>D,hA:()=>L,wy:()=>C,OE:()=>N,xl:()=>R,Xo:()=>v,U:()=>U,XM:()=>F,Kr:()=>M,Qq:()=>O,RB:()=>P});var n=a(0x1ec69ee01),r=a(0x12185e091),i=a(0x21d6ed371),o=a(0x2cd13c8a),s=a(0x15e23c874),l=a(0x6960d8b9),c=a(0x1cf0d97e1),d=a(0x19c76d181),u=a(0x217553e42),m=a(0x21491cdb1),f=a(0xd93ecf94),_=a(0x11c82607b),p=a(0xce702808),h=a(0x14149c126);(0,c.Ay)(e=>(0,h.ze)(e,"inviter_joiner_first_dm")).meta={name:"inviterJoinerFirstDmGetAssignment",key:"createSelectorInviterJoinerFirstDmGetAssignment",description:e=>(0,h.ze)(e,"inviter_joiner_first_dm")};let g=(0,c.Ay)(e=>"control"===(0,h.ze)(e,"inviter_joiner_first_dm"));g.meta={name:"inviterJoinerFirstDmIsControl",key:"createSelectorInviterJoinerFirstDmIsControl",description:e=>"control"===(0,h.ze)(e,"inviter_joiner_first_dm")};let A=(0,c.Ay)(e=>"treatment"===(0,h.ze)(e,"inviter_joiner_first_dm"));A.meta={name:"inviterJoinerFirstDmIsTreatment",key:"createSelectorInviterJoinerFirstDmIsTreatment",description:e=>"treatment"===(0,h.ze)(e,"inviter_joiner_first_dm")};let b=(0,c.Ay)(e=>["treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm")??""));b.meta={name:"inviterJoinerFirstDmIsAnyTreatment",key:"createSelectorInviterJoinerFirstDmIsAnyTreatment",description:e=>["treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm")??"")};let y=(0,c.Ay)(e=>g(e)||b(e));y.meta={name:"inviterJoinerFirstDmIsExposed",key:"createSelectorInviterJoinerFirstDmIsExposed",description:e=>g(e)||b(e)};let S=(0,c.Ay)(e=>["aa_control","aa_treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm")??""));S.meta={name:"inviterJoinerFirstDmIsAAExposed",key:"createSelectorInviterJoinerFirstDmIsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm")??"")},(0,_.Ay)("Log exposure for the inviter_joiner_first_dm experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(y(n)||S(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,h.KK)(e,"inviter_joiner_first_dm");a&&a.log_exposures&&(0,p.K)("inviter_joiner_first_dm",a,e,t)})(n,{sendImmediately:a})}).meta={name:"inviterJoinerFirstDmMaybeLogExposure",key:"createThunkInviterJoinerFirstDmMaybeLogExposure",description:"Log exposure for the inviter_joiner_first_dm experiment if it is exposed"},(0,c.Ay)(e=>(0,h.ze)(e,"inviter_joiner_first_dm_v2")).meta={name:"inviterJoinerFirstDmV2GetAssignment",key:"createSelectorInviterJoinerFirstDmV2GetAssignment",description:e=>(0,h.ze)(e,"inviter_joiner_first_dm_v2")};let E=(0,c.Ay)(e=>"control"===(0,h.ze)(e,"inviter_joiner_first_dm_v2"));E.meta={name:"inviterJoinerFirstDmV2IsControl",key:"createSelectorInviterJoinerFirstDmV2IsControl",description:e=>"control"===(0,h.ze)(e,"inviter_joiner_first_dm_v2")};let k=(0,c.Ay)(e=>"treatment"===(0,h.ze)(e,"inviter_joiner_first_dm_v2"));k.meta={name:"inviterJoinerFirstDmV2IsTreatment",key:"createSelectorInviterJoinerFirstDmV2IsTreatment",description:e=>"treatment"===(0,h.ze)(e,"inviter_joiner_first_dm_v2")};let T=(0,c.Ay)(e=>["treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm_v2")??""));T.meta={name:"inviterJoinerFirstDmV2IsAnyTreatment",key:"createSelectorInviterJoinerFirstDmV2IsAnyTreatment",description:e=>["treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm_v2")??"")};let I=(0,c.Ay)(e=>E(e)||T(e));I.meta={name:"inviterJoinerFirstDmV2IsExposed",key:"createSelectorInviterJoinerFirstDmV2IsExposed",description:e=>E(e)||T(e)};let w=(0,c.Ay)(e=>["aa_control","aa_treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm_v2")??""));w.meta={name:"inviterJoinerFirstDmV2IsAAExposed",key:"createSelectorInviterJoinerFirstDmV2IsAAExposed",description:e=>["aa_control","aa_treatment"].includes((0,h.ze)(e,"inviter_joiner_first_dm_v2")??"")},(0,_.Ay)("Log exposure for the inviter_joiner_first_dm_v2 experiment if it is exposed",(e,t,{sendImmediately:a=!1}={})=>{let n=t();(I(n)||w(n))&&((e,{sendImmediately:t=!1}={})=>{let a=(0,h.KK)(e,"inviter_joiner_first_dm_v2");a&&a.log_exposures&&(0,p.K)("inviter_joiner_first_dm_v2",a,e,t)})(n,{sendImmediately:a})}).meta={name:"inviterJoinerFirstDmV2MaybeLogExposure",key:"createThunkInviterJoinerFirstDmV2MaybeLogExposure",description:"Log exposure for the inviter_joiner_first_dm_v2 experiment if it is exposed"};let C=(0,c.Ay)(e=>A(e)||k(e));C.meta={name:"inviterJoinerFirstDmIsTreatment",key:"createSelectorInviterJoinerFirstDmIsTreatment",description:e=>A(e)||k(e)};let v=(0,c.Ay)((e,t)=>!!t&&C(e)&&(0,r.LI)((0,u.OL)(e,t))&&!!(0,m.j)(e,t)?.inviter_joiner);v.meta={name:"isEligibleForInviterJoinerDmNudge",key:"createSelectorIsEligibleForInviterJoinerDmNudge",description:(e,t)=>!!t&&C(e)&&(0,r.LI)((0,u.OL)(e,t))&&!!(0,m.j)(e,t)?.inviter_joiner};let x=(0,c.Ay)((e,t)=>v(e,t)?(0,m.j)(e,t)?.inviter_joiner:null);x.meta={name:"getInviterJoinerChannelProperties",key:"createSelectorGetInviterJoinerChannelProperties",description:(e,t)=>v(e,t)?(0,m.j)(e,t)?.inviter_joiner:null};let R=(0,c.Ay)((e,t)=>{let a=(0,d.WR)(e),n=x(e,t);return n?.inviter_id===a||n?.manager_id===a});R.meta={name:"isEligibleForInviterJoinerDmAsInviterOrManager",key:"createSelectorIsEligibleForInviterJoinerDmAsInviterOrManager",description:(e,t)=>{let a=(0,d.WR)(e),n=x(e,t);return n?.inviter_id===a||n?.manager_id===a}};let O=(0,c.Ay)((e,t)=>R(e,t)&&!x(e,t)?.welcome_message_ts);O.meta={name:"shouldShowInviterJoinerWelcomeCardNudge",key:"createSelectorShouldShowInviterJoinerWelcomeCardNudge",description:(e,t)=>R(e,t)&&!x(e,t)?.welcome_message_ts};let N=(0,c.Ay)((e,t)=>{let a=(0,d.WR)(e),n=x(e,t);return n?.manager_id===a});N.meta={name:"isCurrentUserManager",key:"createSelectorIsCurrentUserManager",description:(e,t)=>{let a=(0,d.WR)(e),n=x(e,t);return n?.manager_id===a}};let D=(0,c.Ay)((e,t)=>{let a=x(e,t)?.welcome_message_ts;return a?(0,f.Ld)(e,t,a):null});D.meta={name:"getWelcomeMessage",key:"createSelectorGetWelcomeMessage",description:(e,t)=>{let a=x(e,t)?.welcome_message_ts;return a?(0,f.Ld)(e,t,a):null}};let L=(0,c.Ay)((e,t)=>!!x(e,t)?.welcome_message_seen);L.meta={name:"hasSeenWelcomeCardMessage",key:"createSelectorHasSeenWelcomeCardMessage",description:(e,t)=>!!x(e,t)?.welcome_message_seen};let M=(0,c.Ay)((e,t)=>{if(!R(e,t))return!1;let a=x(e,t)?.joiner_notification_message_ts;if(!a)return!1;let n=(0,l.$4)(a/1e3);return 14>=(0,l.KR)(new Date,n)});M.meta={name:"shouldShowInviterJoinerPartyHat",key:"createSelectorShouldShowInviterJoinerPartyHat",description:(e,t)=>{if(!R(e,t))return!1;let a=x(e,t)?.joiner_notification_message_ts;if(!a)return!1;let n=(0,l.$4)(a/1e3);return 14>=(0,l.KR)(new Date,n)}};let F=(0,c.Ay)((e,t)=>!!t&&v(e,t)&&!R(e,t)&&!!D(e,t)&&!x(e,t)?.nudge_is_dismissed);F.meta={name:"shouldShowInviterJoinerFirstDmReplyNudge",key:"createSelectorShouldShowInviterJoinerFirstDmReplyNudge",description:(e,t)=>!!t&&v(e,t)&&!R(e,t)&&!!D(e,t)&&!x(e,t)?.nudge_is_dismissed};let P=(0,c.Ay)((e,t)=>!(!t||!v(e,t)||R(e,t))&&!!D(e,t));P.meta={name:"shouldSuppressProgressiveDisclosureFirstMessageTipForJoiner",key:"createSelectorShouldSuppressProgressiveDisclosureFirstMessageTipForJoiner",description:(e,t)=>!(!t||!v(e,t)||R(e,t))&&!!D(e,t)};let U=(0,c.Ay)((e,t)=>{let a=((0,o.A)(e,t,5)||[]).find(e=>(0,i.pm)(e));if(!a)return!1;let r=(0,u.OL)(e,t),l=(0,n._V)(e,r);return!!r&&!!l&&(0,s.A)(a,l)});U.meta={name:"isJoinerNotificationForInviterUnread",key:"createSelectorIsJoinerNotificationForInviterUnread",description:(e,t)=>{let a=((0,o.A)(e,t,5)||[]).find(e=>(0,i.pm)(e));if(!a)return!1;let r=(0,u.OL)(e,t),l=(0,n._V)(e,r);return!!r&&!!l&&(0,s.A)(a,l)}}},0xddcf4cb7:(e,t,a)=>{"use strict";a.d(t,{v:()=>d});var n=a(0x1cf0d97e1),r=a(0xf1527618),i=a(0x1defa8f11),o=a(0x165bb8fb3),s=a(0x2138e90e2),l=a(0x188cf45ff),c=a(0x74bbb29a);let d=(0,n.Ay)(e=>!((0,l.r)(e)||!(0,r.Yx)(e)||!(0,s.w)(e)||(0,o.wq)(e))&&[c.GO.Welcome,c.GO.People,c.GO.Completed].includes((0,i.ax)(e,"setup_flow_step")));d.meta={name:"isJoinerSetupCreationFlowEnabled",key:"createSelectorIsJoinerSetupCreationFlowEnabled",description:e=>!((0,l.r)(e)||!(0,r.Yx)(e)||!(0,s.w)(e)||(0,o.wq)(e))&&[c.GO.Welcome,c.GO.People,c.GO.Completed].includes((0,i.ax)(e,"setup_flow_step"))}},0x2138e90e2:(e,t,a)=>{"use strict";a.d(t,{w:()=>i});var n=a(0x190a9df19),r=a(0x49e911f4);let i=(0,a(0x1cf0d97e1).Ay)(e=>!((0,n.$G)(e)||(0,r.sV)(e)||(0,r.AB)(e)));i.meta={name:"isJoiner",key:"createSelectorIsJoiner",description:e=>!((0,n.$G)(e)||(0,r.sV)(e)||(0,r.AB)(e))}},0xa022033c:(e,t,a)=>{"use strict";a.d(t,{v:()=>c,z:()=>d});var n=a(0xb8504a42),r=a(0x3711e82d),i=a(0x1cf0d97e1),o=a(0x1defa8f11),s=a(0x54ef0daa),l=a(0x1ee439e69);let c=(0,i.Ay)(e=>{let t=(0,l.H7)(e);return!!(0,n.r7)(t)&&!!(0,o.ax)(e,s.$I)});c.meta={name:"isJoinerChannelRecommendationsByManagerIdEnabled",key:"createSelectorIsJoinerChannelRecommendationsByManagerIdEnabled",description:e=>{let t=(0,l.H7)(e);return!!(0,n.r7)(t)&&!!(0,o.ax)(e,s.$I)}};let d=(0,i.Ay)(e=>c(e)?r.UiComponentVariant.JOINER_CHANNEL_RECOMMENDATIONS_BY_MANAGER_ID:void 0);d.meta={name:"getJoinerChannelRecommendationsClogVariant",key:"createSelectorGetJoinerChannelRecommendationsClogVariant",description:e=>c(e)?r.UiComponentVariant.JOINER_CHANNEL_RECOMMENDATIONS_BY_MANAGER_ID:void 0}},0x10437fca0:(e,t,a)=>{"use strict";a.d(t,{$4:()=>S,Gt:()=>w,LI:()=>y,X8:()=>I,hK:()=>T,ij:()=>k,nM:()=>E});var n=a(0x1df96de4c),r=a(0x17fee64c3),i=a(0xc01c51c8),o=a(0x23255e234),s=a(0xa1832ae4),l=a(0x1ec68d6a3),c=a(0x1cf0d97e1),d=a(0x1ccef1c6f),u=a(0xe684f705),m=a(0x1defa8f11),f=a(0x54ef0daa),_=a(0x234baa7fe),p=a(0x112919a7a),h=a(0xe91e45de),g=a(0xa022033c),A=a(0x67de4f9d),b=a(0x1ee439e69);let y=(0,c.Ay)(e=>{if(!(0,m.ax)(e,f.Ks))return!1;let t=(0,u.cA)(e);return!((0,o.Ez)(t)||(0,o.Yd)(t)||(0,A.tR)(e))});y.meta={name:"isAutoSlackLaunchpadEnabled",key:"createSelectorIsAutoSlackLaunchpadEnabled",description:e=>{if(!(0,m.ax)(e,f.Ks))return!1;let t=(0,u.cA)(e);return!((0,o.Ez)(t)||(0,o.Yd)(t)||(0,A.tR)(e))}};let S=(0,c.Ay)((e,t=!1)=>{if((0,r.z$)())return!1;if(y(e))return!0;if(!(t||(0,m.ax)(e,f.$f)))return!1;let a=(0,u.cA)(e);if((0,o.Ez)(a)||(0,o.Yd)(a))return!1;let n=(0,b.H7)(e);return!!(0,g.v)(e)||!(!((0,p.lD)(e)||(0,_.pe)(e))&&!((0,s.tc)(n)||(0,s.KJ)(n)||(0,s.NB)(n))||(0,A.tR)(e))});S.meta={name:"isJoinerLaunchpadEnabled",key:"createSelectorIsJoinerLaunchpadEnabled",description:(e,t=!1)=>{if((0,r.z$)())return!1;if(y(e))return!0;if(!(t||(0,m.ax)(e,f.$f)))return!1;let a=(0,u.cA)(e);if((0,o.Ez)(a)||(0,o.Yd)(a))return!1;let n=(0,b.H7)(e);return!!(0,g.v)(e)||!(!((0,p.lD)(e)||(0,_.pe)(e))&&!((0,s.tc)(n)||(0,s.KJ)(n)||(0,s.NB)(n))||(0,A.tR)(e))}};let E=(0,c.Ay)(e=>!!e?.setupCreation?.hasNewLaunchpadRecommendations);E.meta={name:"hasNewLaunchpadRecommendations",key:"createSelectorHasNewLaunchpadRecommendations",description:e=>!!e?.setupCreation?.hasNewLaunchpadRecommendations};let k=(0,c.Ay)(e=>!(0,d.ty)(e,"onboarding_complete")&&1>(0,h.H)(e));k.meta={name:"shouldUseNewUserSorting",key:"createSelectorShouldUseNewUserSorting",description:e=>!(0,d.ty)(e,"onboarding_complete")&&1>(0,h.H)(e)},(0,c.Ay)(e=>S(e)&&k(e)).meta={name:"joinerLaunchpadShouldUseNewUserSortingTreatment",key:"createSelectorJoinerLaunchpadShouldUseNewUserSortingTreatment",description:e=>S(e)&&k(e)};let T=(0,c.Ay)(e=>{let t=(0,l.getGenericLogger)({label:"JOINER_LAUNCHPAD"});try{if((0,m.ax)(e,f.BF))return JSON.parse((0,m.ax)(e,f.BF))[i.J.JOINED_CHANNELS];return n.Ml}catch{return t.info("Error parsing JSON from onboarding pref"),n.Ml}});T.meta={name:"getLaunchpadJoinedChannelRecommendations",key:"createSelectorGetLaunchpadJoinedChannelRecommendations",description:e=>{let t=(0,l.getGenericLogger)({label:"JOINER_LAUNCHPAD"});try{if((0,m.ax)(e,f.BF))return JSON.parse((0,m.ax)(e,f.BF))[i.J.JOINED_CHANNELS];return n.Ml}catch{return t.info("Error parsing JSON from onboarding pref"),n.Ml}}};let I=(0,c.Ay)((e,t)=>{let a=(0,l.getGenericLogger)({label:"JOINER_LAUNCHPAD"});try{if((0,m.ax)(e,f.BF))return JSON.parse((0,m.ax)(e,f.BF))[i.J.CHANNELS].includes(t);return!1}catch{return a.info("Error parsing JSON from onboarding pref"),!1}});I.meta={name:"isChannelInLaunchpadRecommendations",key:"createSelectorIsChannelInLaunchpadRecommendations",description:(e,t)=>{let a=(0,l.getGenericLogger)({label:"JOINER_LAUNCHPAD"});try{if((0,m.ax)(e,f.BF))return JSON.parse((0,m.ax)(e,f.BF))[i.J.CHANNELS].includes(t);return!1}catch{return a.info("Error parsing JSON from onboarding pref"),!1}}};let w=(0,c.Ay)(e=>!!(0,m.ax)(e,f.bj));w.meta={name:"isJoinerLaunchpadRecentChannelContentProvisionedUser",key:"createSelectorIsJoinerLaunchpadRecentChannelContentProvisionedUser",description:e=>!!(0,m.ax)(e,f.bj)}},0x248471c11:(e,t,a)=>{"use strict";a.d(t,{t:()=>n});let n=(0,a(0x1cf0d97e1).Ay)(e=>e?.setupCreation?.availableJoinerLaunchpadTopicTags);n.meta={name:"getAvailableJoinerLaunchpadTopicTags",key:"createSelectorGetAvailableJoinerLaunchpadTopicTags",description:e=>e?.setupCreation?.availableJoinerLaunchpadTopicTags}},0x3f882c2a:(e,t,a)=>{"use strict";a.d(t,{G:()=>o});var n=a(0x1cf0d97e1),r=a(0x248471c11),i=a(0x74bbb29a);let o=(0,n.Ay)(e=>{let t=(0,r.t)(e);return t&&0!==t.length?t.length<3?i.aU.TopicsSkippable:i.aU.TopicsSelectable:i.aU.NoTopics});o.meta={name:"getJoinerPersonalizedLaunchpadTopicsExperience",key:"createSelectorGetJoinerPersonalizedLaunchpadTopicsExperience",description:e=>{let t=(0,r.t)(e);return t&&0!==t.length?t.length<3?i.aU.TopicsSkippable:i.aU.TopicsSelectable:i.aU.NoTopics}}},0x23bfd984c:(e,t,a)=>{"use strict";a.d(t,{d:()=>s});var n=a(0x1cf0d97e1),r=a(0xf1527618),i=a(0x165bb8fb3),o=a(0x2138e90e2);let s=(0,n.Ay)(e=>!(!(0,r.Yx)(e)||!(0,o.w)(e)||(0,i.wq)(e)));s.meta={name:"isEligibleForBasicJoinerSetupFlow",key:"createSelectorIsEligibleForBasicJoinerSetupFlow",description:e=>!(!(0,r.Yx)(e)||!(0,o.w)(e)||(0,i.wq)(e))}},0x188cf45ff:(e,t,a)=>{"use strict";a.d(t,{r:()=>d});var n=a(0x1cf0d97e1),r=a(0xf1527618),i=a(0x1defa8f11),o=a(0x165bb8fb3),s=a(0x234baa7fe),l=a(0x2138e90e2),c=a(0x74bbb29a);let d=(0,n.Ay)(e=>!(!(0,r.Yx)(e)||!(0,l.w)(e)||!(0,s.sm)(e)||(0,o.wq)(e))&&[c.GO.JoinerProfile,c.GO.TeammateIntro,c.GO.Completed].includes((0,i.ax)(e,"setup_flow_step")));d.meta={name:"isJoinerPersonalizedLaunchpadDmSetupFlowEnabled",key:"createSelectorIsJoinerPersonalizedLaunchpadDmSetupFlowEnabled",description:e=>!(!(0,r.Yx)(e)||!(0,l.w)(e)||!(0,s.sm)(e)||(0,o.wq)(e))&&[c.GO.JoinerProfile,c.GO.TeammateIntro,c.GO.Completed].includes((0,i.ax)(e,"setup_flow_step"))}},0xf2f68e39:(e,t,a)=>{"use strict";a.d(t,{s:()=>c});var n=a(0x1cf0d97e1),r=a(0x1defa8f11),i=a(0x27d96443),o=a(0x3f882c2a),s=a(0x23bfd984c),l=a(0x74bbb29a);let c=(0,n.Ay)(e=>!!(0,s.d)(e)&&!!(0,i.kx)(e)&&(0,o.G)(e)===l.aU.TopicsSelectable&&[l.GO.JoinerProfile,l.GO.TeammateIntro,l.GO.Topics,l.GO.Completed].includes((0,r.ax)(e,"setup_flow_step")));c.meta={name:"isJoinerPersonalizedLaunchpadTopicsSelectableSetupFlowEnabled",key:"createSelectorIsJoinerPersonalizedLaunchpadTopicsSelectableSetupFlowEnabled",description:e=>!!(0,s.d)(e)&&!!(0,i.kx)(e)&&(0,o.G)(e)===l.aU.TopicsSelectable&&[l.GO.JoinerProfile,l.GO.TeammateIntro,l.GO.Topics,l.GO.Completed].includes((0,r.ax)(e,"setup_flow_step"))}},0x22acc360e:(e,t,a)=>{"use strict";a.d(t,{H:()=>c});var n=a(0x1cf0d97e1),r=a(0x1defa8f11),i=a(0x27d96443),o=a(0x3f882c2a),s=a(0x23bfd984c),l=a(0x74bbb29a);let c=(0,n.Ay)(e=>!!(0,s.d)(e)&&!!(0,i.kx)(e)&&(0,o.G)(e)===l.aU.TopicsSkippable&&[l.GO.JoinerProfile,l.GO.TeammateIntro,l.GO.Completed].includes((0,r.ax)(e,"setup_flow_step")));c.meta={name:"isJoinerPersonalizedLaunchpadTopicsSkippableSetupFlowEnabled",key:"createSelectorIsJoinerPersonalizedLaunchpadTopicsSkippableSetupFlowEnabled",description:e=>!!(0,s.d)(e)&&!!(0,i.kx)(e)&&(0,o.G)(e)===l.aU.TopicsSkippable&&[l.GO.JoinerProfile,l.GO.TeammateIntro,l.GO.Completed].includes((0,r.ax)(e,"setup_flow_step"))}},0x189f08ca8:(e,t,a)=>{"use strict";a.d(t,{Q:()=>h});var n=a(0xeb02388),r=a(0x1c760ba43),i=a(0x12185e091),o=a(0x21dd74f4c),s=a(0xc1963a64),l=a(0x167d76333),c=a(0x17f03e906),d=a(0x1cf0d97e1),u=a(0x1ccef1c6f),m=a(0x217553e42),f=a(0x54ef0daa),_=a(0x18a17ca8f),p=a(0x19dffa924);let h=(0,d.Ay)((e,t)=>{if(!t||!(0,l.F)(e)||(0,o.G)(e,t)||!(0,_.KM)(e)&&!(0,u.ty)(e,f.Gg)||(0,n.G)(e,{channelId:t??""}).some(({type:e})=>e===r.Xy.Canvas)||(0,c.c)(e)||(0,p.XM)(e,t))return!1;let a=(0,m.OL)(e,t);return(0,i.LI)(a)||(0,s.V)(e,a)});h.meta={name:"isEligibleForPrefillDmCanvas",key:"createSelectorIsEligibleForPrefillDmCanvas",description:(e,t)=>{if(!t||!(0,l.F)(e)||(0,o.G)(e,t)||!(0,_.KM)(e)&&!(0,u.ty)(e,f.Gg)||(0,n.G)(e,{channelId:t??""}).some(({type:e})=>e===r.Xy.Canvas)||(0,c.c)(e)||(0,p.XM)(e,t))return!1;let a=(0,m.OL)(e,t);return(0,i.LI)(a)||(0,s.V)(e,a)}}},0x18fb1ba:(e,t,a)=>{"use strict";a.d(t,{Su:()=>f,b7:()=>_,kw:()=>d});var n=a(0xd6ba6894),r=a(0x12c020c3),i=a(0x547f8f7a),o=a(0x1cf0d97e1),s=a(0x1defa8f11),l=a(0x54ef0daa);let c=(0,o.Ay)((e,t)=>{try{let{entry_point:a}=(0,r.qN)(n.J.location.href),{entry_point:i}=JSON.parse((0,s.ax)(e,l.LP))||{};return[a,i].includes(t)}catch{return!1}});c.meta={name:"isEntryPoint",key:"createSelectorIsEntryPoint",description:(e,t)=>{try{let{entry_point:a}=(0,r.qN)(n.J.location.href),{entry_point:i}=JSON.parse((0,s.ax)(e,l.LP))||{};return[a,i].includes(t)}catch{return!1}}};let d=(0,o.Ay)(e=>{try{let t=(0,i.JE)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=[i.tG.BizPlusMonthly,i.tG.BizPlusAnnually].includes(a);return t||n}catch{return!1}});d.meta={name:"isBuyingPlusPlan",key:"createSelectorIsBuyingPlusPlan",description:e=>{try{let t=(0,i.JE)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=[i.tG.BizPlusMonthly,i.tG.BizPlusAnnually].includes(a);return t||n}catch{return!1}}};let u=(0,o.Ay)(e=>{try{let t=(0,i.Mh)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=[i.tG.ProMonthly,i.tG.ProAnnually].includes(a);return t||n}catch{return!1}});u.meta={name:"isBuyingStandardPlan",key:"createSelectorIsBuyingStandardPlan",description:e=>{try{let t=(0,i.Mh)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=[i.tG.ProMonthly,i.tG.ProAnnually].includes(a);return t||n}catch{return!1}}};let m=(0,o.Ay)(e=>{try{let t=(0,i.yo)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=a===i.tG.Free;return t||n}catch{return!1}});m.meta={name:"isStartingWithFreePlan",key:"createSelectorIsStartingWithFreePlan",description:e=>{try{let t=(0,i.yo)(),{p:a}=JSON.parse((0,s.ax)(e,l.LP))||{},n=a===i.tG.Free;return t||n}catch{return!1}}};let f=(0,o.Ay)(e=>(c(e,"pricing_page")||c(e,"enterprise"))&&(u(e)||d(e)));f.meta={name:"isFromPricingToCheckoutQueryOrPref",key:"createSelectorIsFromPricingToCheckoutQueryOrPref",description:e=>(c(e,"pricing_page")||c(e,"enterprise"))&&(u(e)||d(e))};let _=(0,o.Ay)(e=>c(e,"pricing_page")&&(u(e)||d(e)||m(e)));_.meta={name:"isFromPricingToCheckoutQueryOrPrefIncludingFree",key:"createSelectorIsFromPricingToCheckoutQueryOrPrefIncludingFree",description:e=>c(e,"pricing_page")&&(u(e)||d(e)||m(e))}},0x67de4f9d:(e,t,a)=>{"use strict";a.d(t,{C_:()=>m,HR:()=>c,Uk:()=>l,k8:()=>f,tR:()=>u});var n=a(0x23255e234),r=a(0x6960d8b9),i=a(0x1cf0d97e1),o=a(0x1ccef1c6f),s=a(0xe684f705);let l="resurrected_user_welcome_ts",c=(0,i.Ay)(e=>(0,o.ty)(e,l)??0);c.meta={name:"getResurrectedUserWelcomeTs",key:"createSelectorGetResurrectedUserWelcomeTs",description:e=>(0,o.ty)(e,l)??0};let d=(0,i.Ay)((e,t)=>{let a=(0,s.cA)(e);return!((0,n.Ez)(a)||(0,n.Yd)(a))&&(t??c(e))>0});d.meta={name:"meetsResurrectedUserWelcomeCriteria",key:"createSelectorMeetsResurrectedUserWelcomeCriteria",description:(e,t)=>{let a=(0,s.cA)(e);return!((0,n.Ez)(a)||(0,n.Yd)(a))&&(t??c(e))>0}};let u=(0,i.Ay)((e,t)=>d(e,t));u.meta={name:"isResurrectedUserWelcomeEnabled",key:"createSelectorIsResurrectedUserWelcomeEnabled",description:(e,t)=>d(e,t)};let m=(0,i.Ay)(e=>e.setupCreation?.hasSeenResurrectedUserWelcomePage);m.meta={name:"hasSeenResurrectedUserWelcomePage",key:"createSelectorHasSeenResurrectedUserWelcomePage",description:e=>e.setupCreation?.hasSeenResurrectedUserWelcomePage};let f=(0,i.Ay)(e=>{if(m(e))return!1;let t=c(e);if(!t)return!1;let a=(0,r.$4)(t);return 5>Math.abs((0,r._T)(new Date,a))});f.meta={name:"shouldBoldResurrectedUserWelcomeSidebarLink",key:"createSelectorShouldBoldResurrectedUserWelcomeSidebarLink",description:e=>{if(m(e))return!1;let t=c(e);if(!t)return!1;let a=(0,r.$4)(t);return 5>Math.abs((0,r._T)(new Date,a))}}},0x1e743a3a5:(e,t,a)=>{"use strict";a.d(t,{n:()=>o,s:()=>s});var n=a(0x1c18c5d4e),r=a(0x1cf0d97e1),i=a(0x130084fd);let o="SLACK_FIRST_CRM",s=(0,r.Ay)(e=>!!(0,n.I)(e)&&!!(0,i.eJ)(e)&&(0,i.kY)(e)===o&&(0,i.$L)(e)===i.Hi.LIST);s.meta={name:"isUserInContactsTemplateFlow",key:"createSelectorIsUserInContactsTemplateFlow",description:e=>!!(0,n.I)(e)&&!!(0,i.eJ)(e)&&(0,i.kY)(e)===o&&(0,i.$L)(e)===i.Hi.LIST}},0x6d2e1c47:(e,t,a)=>{"use strict";a.d(t,{Q:()=>s,Tv:()=>l});var n=a(0x202e0e290),r=a(0x1cf0d97e1),i=a(0xc6fdf6db);let o=(0,r.Ay)(e=>(0,i.P2)(e)||(0,i.zL)(e));o.meta={name:"isSocialTeamSegmentationExposedOrAAExposed",key:"createSelectorIsSocialTeamSegmentationExposedOrAAExposed",description:e=>(0,i.P2)(e)||(0,i.zL)(e)};let s=(0,r.Ay)(e=>{if(!o(e))return!1;let t=(0,n.Zp)();return t===n.sx.Social||t===n.sx.Edu});s.meta={name:"isEligibleForSocialOrEduTeamFlow",key:"createSelectorIsEligibleForSocialOrEduTeamFlow",description:e=>{if(!o(e))return!1;let t=(0,n.Zp)();return t===n.sx.Social||t===n.sx.Edu}};let l=(0,r.Ay)(e=>s(e)&&(0,i.dp)(e));l.meta={name:"isInSocialOrEduTeamFlow",key:"createSelectorIsInSocialOrEduTeamFlow",description:e=>s(e)&&(0,i.dp)(e)}},0x1de0eefdb:(e,t,a)=>{"use strict";a.d(t,{Ax:()=>_,BX:()=>m,Qe:()=>f});var n=a(0x17fee64c3),r=a(0xad477880),i=a(0x497a02e0),o=a(0xa1832ae4),s=a(0x1cf0d97e1),l=a(0x8f36a342),c=a(0xb9604b6),d=a(0x5b1935a6),u=a(0x1ee439e69);let m=(0,s.Ay)(e=>{if((0,n.z$)())return!1;let t=(0,u.H7)(e);return!!((0,o.tc)(t)||(0,o.KJ)(t)||(0,o.NB)(t))});m.meta={name:"isSolutionsOnboardingEligible",key:"createSelectorIsSolutionsOnboardingEligible",description:e=>{if((0,n.z$)())return!1;let t=(0,u.H7)(e);return!!((0,o.tc)(t)||(0,o.KJ)(t)||(0,o.NB)(t))}};let f=(0,s.Ay)((e,{sectionType:t,channel:a})=>t===l.VZ.Channels&&!!m(e)&&(0,c.Hp)(e,d.xu.WELCOME_SPACE)===d.ze.SOLUTIONS_ONBOARDING_WELCOME_CHANNEL_COACHMARK&&(0,i.H)(e,a));f.meta={name:"showSolutionsOnboardingTractorChannelCoachmark",key:"createSelectorShowSolutionsOnboardingTractorChannelCoachmark",description:(e,{sectionType:t,channel:a})=>t===l.VZ.Channels&&!!m(e)&&(0,c.Hp)(e,d.xu.WELCOME_SPACE)===d.ze.SOLUTIONS_ONBOARDING_WELCOME_CHANNEL_COACHMARK&&(0,i.H)(e,a)};let _=(0,s.Ay)((e,t)=>!!(0,r.sk)(t)&&m(e));_.meta={name:"isSolutionsOnboardingForewordCardsEnabled",key:"createSelectorIsSolutionsOnboardingForewordCardsEnabled",description:(e,t)=>!!(0,r.sk)(t)&&m(e)}},0x1f59b75a1:(e,t,a)=>{"use strict";a.d(t,{X:()=>o});var n=a(0x1cf0d97e1),r=a(0xb9604b6),i=a(0x5b1935a6);let o=(0,n.Ay)(e=>{let t=(0,r.Hp)(e,i.xu.SIDEBAR_POPOUT);return t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_ORG_SIZE||t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_OFFICE_POLICY||t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_EXTERNAL_CONNECTION});o.meta={name:"isTenuredTeamSolutionEnabled",key:"createSelectorIsTenuredTeamSolutionEnabled",description:e=>{let t=(0,r.Hp)(e,i.xu.SIDEBAR_POPOUT);return t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_ORG_SIZE||t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_OFFICE_POLICY||t===i.ze.SIDEBAR_POPOUT_TENURED_SOLUTION_EXTERNAL_CONNECTION}}},0x2113f330b:(e,t,a)=>{"use strict";a.d(t,{J:()=>l,c:()=>s});var n=a(0x11c82607b),r=a(0x12f41fc32),i=a(0x113d1778),o=a(0x130084fd);let s=(0,n.Ay)("Clear solution_template pref and redux state",async(e,t,{reason:a})=>{e((0,r.AZ)({pref:o.Bl,value:"{}",reason:a}))});s.meta={name:"clearSolutionTemplatePref",key:"createThunkClearSolutionTemplatePref",description:"Clear solution_template pref and redux state"};let l=(0,n.Ay)("Clear solution_template pref and redux state",async(e,t,{reason:a})=>{e(s({reason:a})),e((0,i.Lc)({}))});l.meta={name:"clearSolutionTemplatePrefState",key:"createThunkClearSolutionTemplatePrefState",description:"Clear solution_template pref and redux state"}},0x2067f54f8:(e,t,a)=>{"use strict";a.d(t,{M:()=>l});var n=a(0x1ec68d6a3),r=a(0x11c82607b),i=a(0x247c3f14a),o=a(0x1780e8044),s=a(0x1472af90a);let l=(0,r.Ay)("Determine the user's eligibility for the channel invitation coachmark in #feat-creator-guided-setup",async(e,t)=>{let a=(0,n.default)({getState:t}),r=t();if(!(0,i.A)(r))return!1;try{let[t]=await e((0,o.L)({interactions:[{component:s.G7.CreatorGuidedSetupInvitationCoachmark,type:s.X8.Dismiss}],reason:"creator-guided-setup-invitation-coachmark"}));return!t}catch(e){return a.error(Error(`Could not load the dismiss user interactions for CreatorGuidedSetupInvitationCoachmark: ${e}`)),!1}});l.meta={name:"getIsEligibleForCreatorGuidedSetupInvitationCoachmark",key:"createThunkGetIsEligibleForCreatorGuidedSetupInvitationCoachmark",description:"Determine the user's eligibility for the channel invitation coachmark in #feat-creator-guided-setup"}},0xd2de06fc:(e,t,a)=>{"use strict";a.d(t,{Y:()=>o});var n=a(0x200d043fb),r=a(0x11c82607b),i=a(0x19f74d539);let o=(0,r.Ay)("Is file created by AI",async(e,t)=>{let a=t();if(!(0,i.CC)(a))return!1;let r=await e((0,n.I)());return!!r.data?.botUserId});o.meta={name:"isFileCreatedByAi",key:"createThunkIsFileCreatedByAi",description:"Is file created by AI"}},0xaea9ff04:(e,t,a)=>{"use strict";a.d(t,{t:()=>u});var n=a(0x21f3c49e8),r=a(0x11c82607b),i=a(0xafce781a),o=a(0x5b1935a6),s=a(0x113d1778),l=a(0x18a17ca8f),c=a(0x130084fd),d=a(0x2113f330b);let u=(0,r.Ay)("Maybe dispatch megaphone event to load the success coachmark once solutions have been created",async(e,t,{templateType:a}={})=>{let r=t(),u=(0,c.eJ)(r),m=(0,c.to)(r),f=(0,c.IG)(r),_=(0,l.Sp)(r),p="";if(u&&(p="new_team"),m&&(p="existing_team"),!f||!p||!a)return;(!_||_&&a!==c.Hi.CHANNEL)&&await e((0,i.iR)({event:{type:o.jo.SOLUTION_TEMPLATE_CHANNEL_USER_NAVIGATION,flow:p,templateType:a}}));let h=(0,c.Xk)(r);(0,n.A)(h)||(e((0,s.FX)(h)),e((0,d.J)({reason:"maybe_load_solutions_gallery_success_coachmark"})))});u.meta={name:"maybeLoadSolutionsGallerySuccessCoachmark",key:"createThunkMaybeLoadSolutionsGallerySuccessCoachmark",description:"Maybe dispatch megaphone event to load the success coachmark once solutions have been created"}},0x74bbb29a:(e,t,a)=>{"use strict";a.d(t,{$2:()=>_,B:()=>isAiWorkspaceTeamCreationState,BT:()=>M,FB:()=>$,GO:()=>C,H4:()=>I,HN:()=>B,MA:()=>E,Mr:()=>U,NI:()=>K,Nh:()=>H,O1:()=>w,Tk:()=>isAutoSlackLaunchpadState,UO:()=>V,V9:()=>T,Vb:()=>m,Yj:()=>P,Z1:()=>D,_B:()=>q,aU:()=>y,ar:()=>Q,b:()=>R,bP:()=>b,dN:()=>S,eY:()=>isAutoSlackLaunchpadStateMachine,fS:()=>isWelcomePartyStateMachine,g6:()=>F,h1:()=>O,iN:()=>L,jI:()=>isJoinerLaunchpadV2State,l8:()=>A,lW:()=>N,mH:()=>x,mO:()=>isJoinerLaunchpadV2StateMachine,mZ:()=>isJoinerPersonalizedLaunchpadStateMachine,ml:()=>k,mx:()=>p,pA:()=>h,pG:()=>d,qO:()=>f,sG:()=>z,sN:()=>u,tO:()=>isJoinerPersonalizedLaunchpadState,u$:()=>g,up:()=>Z,vZ:()=>v,wL:()=>Y,wV:()=>W,yN:()=>isWelcomePartyState,z:()=>j,z8:()=>G});var n,r,i,o,s=a(1927545e3),l=a(0x11ea712ca),c=a(0x5b1935a6);let d={TeamName:"TeamName",Profile:"Profile",Channels:"Channels",Tada:"Tada",CalendarContactImport:"CalendarContactImport",StraightToPaidPlans:"StraightToPaidPlans",Welcome:"Welcome",People:"People",JoinerProfile:"JoinerProfile",TeammateIntro:"TeammateIntro",Topics:"Topics",AppDownload:"AppDownload",BusinessChallenge:"BusinessChallenge",Department:"Department",OauthContactImport:"OauthContactImport",SocialUseCase:"SocialUseCase"},u={JOINER_LAUNCHPAD_V2_PROFILE_UPDATE_BUTTON:"JOINER_LAUNCHPAD_V2_PROFILE_UPDATE_BUTTON",JOINER_LAUNCHPAD_V2_STATUS_BUTTON:"JOINER_LAUNCHPAD_V2_STATUS_BUTTON"},m={START:"START",EDIT:"EDIT",NOT_LOADED:"NOT_LOADED",LOADED:"LOADED"},f={AUTOSLACK_ONBOARDING_LAUNCHPAD_SALESFORCE_LISTS_BUTTON:"AUTOSLACK_ONBOARDING_LAUNCHPAD_SALESFORCE_LISTS_BUTTON",AUTOSLACK_ONBOARDING_LAUNCHPAD_SALESFORCE_SEARCH_BUTTON:"AUTOSLACK_ONBOARDING_LAUNCHPAD_SALESFORCE_SEARCH_BUTTON",AUTOSLACK_ONBOARDING_LAUNCHPAD_MOBILE_BUTTON:"AUTOSLACK_ONBOARDING_LAUNCHPAD_MOBILE_BUTTON"},_={START:"START",REDO:"REDO",NOT_LOADED:"NOT_LOADED",LOADED:"LOADED"},p={AI_WORKSPACE_TEAM_CREATION_FLOW:"AI_WORKSPACE_TEAM_CREATION_FLOW"},h={DEPARTMENT:"DEPARTMENT",BUSINESS_CHALLENGE:"BUSINESS_CHALLENGE",PROMPT_INPUT_COLLECTED:"PROMPT_INPUT_COLLECTED",LLM_GENERATED_CHANNEL_CREATED:"LLM_GENERATED_CHANNEL_CREATED",LLM_GENERATED_LIST_AND_CANVAS_CREATED:"LLM_GENERATED_LIST_AND_CANVAS_CREATED",SETUP_COMPLETE:"SETUP_COMPLETE"},g={JOINER_PERSONALIZED_LAUNCHPAD_DM:"JOINER_PERSONALIZED_LAUNCHPAD_DM"},A={UNINITIALIZED:"UNINITIALIZED",UNSTARTED:"UNSTARTED",STARTED:"STARTED",COMPLETE:"COMPLETE"},b={Projects:"projects",TeamCollaboration:"team_collaboration",Social:"social",OrganizationAnnouncements:"organization_announcements",PlacesToAskQuestions:"places_to_ask_questions"},y={NoTopics:"no_topics",TopicsSkippable:"topics_skippable",TopicsSelectable:"topics_selectable"},S={WELCOME_PARTY:"WELCOME_PARTY"},E={SENDING:"SENDING",SENT:"SENT"};var k=((n={}).FirstMessage="first_message",n.AddTeammates="add_teammates",n.Reacji="reacji",n.Huddles="huddles",n.AtMention="at_mention",n.Threads="threads",n.AddChannels="add_channels",n.Status="status",n.DismissedAll="dismissed_all",n.CompletedAll="completed_all",n),T=((r={}).Flag="flag",r.Explainer="explainer",r.Success="success",r),I=((i={}).NobodyJoins="nobody_joins",i.StartedHuddlesOverview="started_huddles_overview",i.StartedNotificationSent="started_notification_sent",i.SwitchOff="switch_off",i.SwitchOnHuddlesOverview="switch_on_huddles_overview",i.SwitchOnWelcomeBack="switch_on_welcome_back",i),w=((o={}).NobodyJoins="nobody_joins",o.SomeoneJoins="someone_joins",o);function isJoinerLaunchpadV2StateMachine(e){return e in u}function isJoinerLaunchpadV2State(e){return!!e&&e in m}function isAutoSlackLaunchpadStateMachine(e){return e in f}function isAutoSlackLaunchpadState(e){return null!=e&&e in _}function isAiWorkspaceTeamCreationState(e){return null!=e&&e in h}function isJoinerPersonalizedLaunchpadStateMachine(e){return e in g}function isJoinerPersonalizedLaunchpadState(e){return!!e&&e in A}function isWelcomePartyStateMachine(e){return e in S}function isWelcomePartyState(e){return!!e&&e in E}let C={Completed:"setup_flow_completed",TeamName:"setup_step_team_name",Profile:"setup_step_profile",Channels:"setup_step_channels",Tada:"setup_step_tada",CalendarContactImport:"setup_step_calendar_import",StraightToPaidPlans:"setup_step_straight_to_paid_plans",Welcome:"setup_step_welcome",People:"setup_step_people",JoinerProfile:"setup_step_joiner_profile",TeammateIntro:"setup_step_teammate_intro",Topics:"setup_step_topics",AppDownload:"setup_step_app_download",BusinessChallenge:"setup_step_business_challenge",Department:"setup_step_department",OauthContactImport:"setup_step_oauth_contact_import",SocialUseCase:"setup_step_social_use_case"},v={TeamName:"setup-team-name",Profile:"setup-profile",Channels:"setup-channels",Tada:"setup-tada",CalendarContactImport:"setup-calendar-contact-import",StraightToPaidPlans:"setup-plans",Welcome:"setup-welcome",People:"setup-people",JoinerProfile:"setup-joiner-profile",TeammateIntro:"setup-teammate-intro",Topics:"setup-topics",AppDownload:"setup-app-download",BusinessChallenge:"setup-business-challenge",Department:"setup-department",OauthContactImport:"setup-oauth-contact-import",SocialUseCase:"setup-social-use-case"},x={TeamName:s.c.SetupTeamName,Profile:s.c.SetupProfile,Channels:s.c.SetupChannels,Tada:s.c.SetupTada,CalendarContactImport:s.c.SetupCalendarContactImport,StraightToPaidPlans:s.c.SetupStraightToPaidPlans,Welcome:s.c.SetupWelcome,People:s.c.SetupPeople,JoinerProfile:s.c.SetupJoinerProfile,TeammateIntro:s.c.SetupTeammateIntro,Topics:s.c.SetupTopics,AppDownload:s.c.SetupAppDownload,BusinessChallenge:s.c.SetupBusinessChallenge,Department:s.c.SetupDepartment,OauthContactImport:s.c.SetupOauthContactImport,SocialUseCase:s.c.SetupSocialUseCase},R="joiner-launchpad",O="auto-slack-launchpad",N="new-team-launchpad",D="resurrected-user-welcome",L="tenured-team-solutions",M={Default:"Default",PricingOrPromo:"PricingOrPromo",StraightToPaid:"StraightToPaid",StraightToPaidFromPricing:"StraightToPaidFromPricing",GalleryFlow:"GalleryFlow",CreatorGuidedSetup:"CreatorGuidedSetup",CreatorGuidedSetupPricingOrPromo:"CreatorGuidedSetupPricingOrPromo",CreatorGuidedSetupStraightToPaid:"CreatorGuidedSetupStraightToPaid",CreatorGuidedSetupFromPricing:"CreatorGuidedSetupFromPricing",AiWorkspaceFlow:"AiWorkspaceFlow",AiWorkspaceTeamCreation:"AiWorkspaceTeamCreation",SlackFirstCrm:"SlackFirstCrm",SlackFirstCrmNoContacts:"SlackFirstCrmNoContacts",TopOfFunnelTrial:"TopOfFunnelTrial",SocialOrEduTeamFlow:"SocialOrEduTeamFlow",Mobile:"Mobile",MobileStraightToPaidFromPricing:"MobileStraightToPaidFromPricing",MobileNonS2PFromPricing:"MobileNonS2PFromPricing",MobileMrbeastCampaign:"MobileMrbeastCampaign",MobileWebOptimizations:"MobileWebOptimizations",Joiner:"Joiner",JoinerPersonalizedDm:"JoinerPersonalized",JoinerPersonalizedTopicsSelectable:"JoinerPersonalizedTopicsSelectable",JoinerPersonalizedTopicsSkippable:"JoinerPersonalizedTopicsSkippable"},F={Default:[d.TeamName,d.Profile,d.CalendarContactImport,d.Channels],PricingOrPromo:[d.TeamName,d.Profile,d.CalendarContactImport,d.Channels,d.Tada],StraightToPaid:[d.TeamName,d.Profile,d.CalendarContactImport,d.Channels,d.StraightToPaidPlans],StraightToPaidFromPricing:[d.TeamName,d.Profile,d.CalendarContactImport,d.Channels,d.Tada],GalleryFlow:[d.TeamName,d.Profile,d.Channels],CreatorGuidedSetup:[d.TeamName,d.Profile,d.CalendarContactImport],CreatorGuidedSetupPricingOrPromo:[d.TeamName,d.Profile,d.CalendarContactImport,d.Tada],CreatorGuidedSetupStraightToPaid:[d.TeamName,d.Profile,d.CalendarContactImport,d.StraightToPaidPlans],CreatorGuidedSetupFromPricing:[d.TeamName,d.Profile,d.CalendarContactImport,d.Tada],AiWorkspaceFlow:[d.TeamName,d.Profile,d.StraightToPaidPlans],Joiner:[d.Welcome,d.People],JoinerPersonalized:[d.JoinerProfile,d.TeammateIntro],JoinerPersonalizedTopicsSelectable:[d.JoinerProfile,d.Topics],JoinerPersonalizedTopicsSkippable:[d.JoinerProfile],Mobile:[d.Profile,d.TeamName,d.CalendarContactImport,d.Channels,d.AppDownload],MobileMrbeastCampaign:[d.Profile,d.TeamName,d.CalendarContactImport,d.Channels,d.StraightToPaidPlans,d.AppDownload],MobileStraightToPaidFromPricing:[d.Profile,d.TeamName,d.CalendarContactImport,d.Channels,d.Tada,d.AppDownload],MobileNonS2PFromPricing:[d.Profile,d.TeamName,d.CalendarContactImport,d.Channels,d.AppDownload],MobileWebOptimizations:[d.Profile,d.TeamName,d.CalendarContactImport,d.AppDownload],AiWorkspaceTeamCreation:[d.TeamName,d.Profile,d.CalendarContactImport,d.Department,d.BusinessChallenge,d.StraightToPaidPlans],SlackFirstCrm:[d.TeamName,d.Profile,d.CalendarContactImport,d.OauthContactImport,d.StraightToPaidPlans],SlackFirstCrmNoContacts:[d.TeamName,d.Profile,d.CalendarContactImport,d.StraightToPaidPlans],TopOfFunnelTrial:[d.TeamName,d.Profile,d.CalendarContactImport,d.Tada],SocialOrEduTeamFlow:[d.Profile,d.SocialUseCase,d.TeamName,d.CalendarContactImport,d.StraightToPaidPlans]},P={ContinueToCheckout:"continue_to_checkout",ContinueToCheckoutPlus:"continue_to_checkout_plus",ContinueToCheckoutRemotePromo:"continue_to_checkout_remote_promo",SkipToClient:"skip_to_client",ContinueToTrialCheckout:"continue_to_trial_checkout"},U={Project:l.kA.PROJECT},B={Channel:"channel",PeopleHeading:"people-heading",ChannelHeading:"channel-heading",DirectMessagesHeading:"direct-messages-heading",DirectMessagesEmpty:"direct-messages-empty",DirectMessageEmail:"direct-message-email",DirectMessageMember:"direct-message-member",DirectMessageSelf:"direct-message-self",SeeMore:"see-more",SlackConnectHeading:"slack-connect-heading",Spacers:"spacers"},G={first_message:c.ze.PD_FIRST_MESSAGE,add_teammates:c.ze.PD_ADD_TEAMMATES,reacji:c.ze.PD_REACJI,at_mention:c.ze.PD_MENTION,threads:c.ze.PD_THREADS,add_channels:c.ze.PD_ADD_CHANNELS,status:c.ze.PD_STATUS,completed_all:c.ze.PD_HELP_CENTER,huddles:c.ze.PD_HUDDLES,dismissed_all:c.ze.PD_DISMISS_ALL},H={[c.ze.PD_FIRST_MESSAGE]:"first_message",[c.ze.PD_ADD_TEAMMATES]:"add_teammates",[c.ze.PD_REACJI]:"reacji",[c.ze.PD_MENTION]:"at_mention",[c.ze.PD_THREADS]:"threads",[c.ze.PD_ADD_CHANNELS]:"add_channels",[c.ze.PD_STATUS]:"status",[c.ze.PD_HELP_CENTER]:"completed_all",[c.ze.PD_HUDDLES]:"huddles",[c.ze.PD_DISMISS_ALL]:"dismissed_all"},W=["first_message","add_teammates","reacji","huddles","at_mention","threads","add_channels","status"],V=["first_message","add_teammates","reacji","at_mention","threads","add_channels","status","completed_all","huddles"],j={first_message:!0,add_teammates:!0,at_mention:!0,add_channels:!0},K={at_mention:!0,reacji:!0},q={first_message:!0,at_mention:!0,threads:!0},z={first_message:!0,at_mention:!0,threads:!0,reacji:!0},$={reacji:!0},Y={BeginAuth:"BeginAuth",SelectTeammates:"SelectTeammates"},Q={Generic:"generic",MaxSelected:"max_selected",ExternalMaxSelected:"external_max_selected"},Z="tractor_channel_name"},0xd5e9def4:(e,t,a)=>{"use strict";a.d(t,{k:()=>i});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e.sharedPrompts.sharedPrompts);r.meta={name:"getAllSharedPrompts",key:"createSelectorGetAllSharedPrompts",description:e=>e.sharedPrompts.sharedPrompts};let i=(0,n.Ay)((e,t)=>r(e)?.[t]);i.meta={name:"getSharedPromptById",key:"createSelectorGetSharedPromptById",description:(e,t)=>r(e)?.[t]}},0x218771dd5:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,Gc:()=>o,I$:()=>c});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"slackDocFileIds",persistenceEnabled:!0}),{addObjects:o,removeObjects:s,clearObjects:l}=r,{getObjectById:c}=i,d=n},0x986c27f7:(e,t,a)=>{"use strict";a.d(t,{R:()=>i});var n=a(0x1cf0d97e1),r=a(0x218771dd5);let i=(0,n.Ay)((e,t)=>(0,r.I$)(e,t)?.fileId??null);i.meta={name:"getFileIdForQuipThreadId",key:"createSelectorGetFileIdForQuipThreadId",description:(e,t)=>(0,r.I$)(e,t)?.fileId??null}},0xeb4f1a4d:(e,t,a)=>{"use strict";a.d(t,{$9:()=>p,CM:()=>y,ET:()=>l,Ee:()=>b,IA:()=>i,J5:()=>d,Kb:()=>f,Nh:()=>s,ZH:()=>g,bF:()=>m,gZ:()=>u,h5:()=>h,kl:()=>_,mY:()=>o,t_:()=>c,vQ:()=>A,xM:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Sets the active thread ts");r.meta={name:"setActiveThread",key:"createActionSetActiveThread",description:"Sets the active thread ts"};let i=(0,n.Ay)("Dismisses the current context (file or channel)");i.meta={name:"dismissContext",key:"createActionDismissContext",description:"Dismisses the current context (file or channel)"};let o=(0,n.Ay)("Sets the session id");o.meta={name:"setSessionId",key:"createActionSetSessionId",description:"Sets the session id"};let s=(0,n.Ay)("Sets the error state and context");s.meta={name:"setError",key:"createActionSetError",description:"Sets the error state and context"};let l=(0,n.Ay)("Clears the error state");l.meta={name:"clearError",key:"createActionClearError",description:"Clears the error state"};let c=(0,n.Ay)("Sets the number of uses remaining for the current user and total uses");c.meta={name:"setUsesRemaining",key:"createActionSetUsesRemaining",description:"Sets the number of uses remaining for the current user and total uses"};let d=(0,n.Ay)("Sets whether to override the NUX toggle");d.meta={name:"setShouldOverrideNuxToggle",key:"createActionSetShouldOverrideNuxToggle",description:"Sets whether to override the NUX toggle"};let u=(0,n.Ay)("Sets whether the limits info notification should animate");u.meta={name:"setShouldAnimateLimitsInfoNotification",key:"createActionSetShouldAnimateLimitsInfoNotification",description:"Sets whether the limits info notification should animate"};let m=(0,n.Ay)("Sets whether we have processed setTeamPermissionObjects for Slackbot AI NUX init");m.meta={name:"setHasProcessedTeamPermissionObjectsForNux",key:"createActionSetHasProcessedTeamPermissionObjectsForNux",description:"Sets whether we have processed setTeamPermissionObjects for Slackbot AI NUX init"};let f=(0,n.Ay)("Sets the active skill ID");f.meta={name:"setActiveSkill",key:"createActionSetActiveSkill",description:"Sets the active skill ID"};let _=(0,n.Ay)("Sets the active skills library");_.meta={name:"setSkillsLibrary",key:"createActionSetSkillsLibrary",description:"Sets the active skills library"};let p=(0,n.Ay)("Sets whether MCP servers are currently being fetched");p.meta={name:"setMcpServersLoading",key:"createActionSetMcpServersLoading",description:"Sets whether MCP servers are currently being fetched"};let h=(0,n.Ay)("Sets the list of MCP servers");h.meta={name:"setMcpServers",key:"createActionSetMcpServers",description:"Sets the list of MCP servers"};let g=(0,n.Ay)("Updates a single MCP server connection status");g.meta={name:"updateMcpServerConnection",key:"createActionUpdateMcpServerConnection",description:"Updates a single MCP server connection status"};let A=(0,n.Ay)("Adds an active Agentforce agent to a thread");A.meta={name:"addActiveAgentforceAgent",key:"createActionAddActiveAgentforceAgent",description:"Adds an active Agentforce agent to a thread"};let b=(0,n.Ay)("Excludes an Agentforce agent from a thread");b.meta={name:"excludeAgentforceAgent",key:"createActionExcludeAgentforceAgent",description:"Excludes an Agentforce agent from a thread"};let y=(0,n.Ay)("Undoes exclusion of an Agentforce agent from a thread");y.meta={name:"undoExcludeAgentforceAgent",key:"createActionUndoExcludeAgentforceAgent",description:"Undoes exclusion of an Agentforce agent from a thread"}},0x1294547f8:(e,t,a)=>{"use strict";a.d(t,{$O:()=>ep,Bn:()=>getSampleSparkleTimestamp,Ep:()=>H,F8:()=>eg,FB:()=>G,MQ:()=>eh,MZ:()=>Q,N:()=>e_,Pi:()=>eT,Pj:()=>ek,R7:()=>W,RL:()=>getLatestSlackbotReplies,Ri:()=>Z,SW:()=>eb,Sg:()=>J,U3:()=>eA,U5:()=>z,VR:()=>el,Vx:()=>eE,aG:()=>ef,b9:()=>$,cq:()=>et,fL:()=>ed,ge:()=>em,hn:()=>q,i7:()=>ea,j4:()=>er,lm:()=>j,lp:()=>ee,oQ:()=>ec,r9:()=>eI,t_:()=>X,tr:()=>eo,wh:()=>en,xM:()=>K,xj:()=>Y,zO:()=>es,zS:()=>ei});var n=a(0x20bafd237),r=a(0x20b4dda68),i=a(0x22ee6a672),o=a(0x139aa1a7),s=a(0x48071695),l=a(0x23a2f925a),c=a(0x10027d8bc),d=a(0x3ca4e1cc),u=a(0x1ec69ee01),m=a(0x114ffe897),f=a(0x21d6ed371),_=a(0x46aa31ce),p=a(0xde270041),h=a(0x15e23c874),g=a(0x66a0f59a),A=a(0xa1832ae4),b=a(0x105ecbbed),y=a(0x16ed1b0dc),S=a(0x107e97a6b),E=a(0x1cf0d97e1),k=a(0x1ccef1c6f),T=a(0xdf55e8f3),I=a(0x365a4cc3),w=a(0x19c76d181),C=a(0xc561af5),v=a(0x217553e42),x=a(0x14ea3ce99),R=a(0xd93ecf94),O=a(0x75bb5a7b),N=a(0x204000df3),D=a(0x14236acae),L=a(0x18811833d),M=a(0xe91e45de),F=a(0x93a9f6f3),P=a(0x1ee439e69),U=a(0x19895585a),B=a(0x190cec51b);let G=(0,E.Ay)(e=>e?.slackbotAi?.channelId);G.meta={name:"getChannelId",key:"createSelectorGetChannelId",description:e=>e?.slackbotAi?.channelId};let H=(0,E.Ay)(e=>e?.slackbotAi?.activeThreadTs);H.meta={name:"getActiveThreadTs",key:"createSelectorGetActiveThreadTs",description:e=>e?.slackbotAi?.activeThreadTs};let W=(0,E.Ay)(e=>e?.slackbotAi?.lastOpenedAt);W.meta={name:"getLastOpenedAt",key:"createSelectorGetLastOpenedAt",description:e=>e?.slackbotAi?.lastOpenedAt};let V=(0,E.Ay)(e=>e?.slackbotAi?.dismissedContextId);V.meta={name:"getDismissedContextId",key:"createSelectorGetDismissedContextId",description:e=>e?.slackbotAi?.dismissedContextId};let j=(0,E.Ay)(e=>e?.slackbotAi?.sessionId);j.meta={name:"getSlackbotAiSessionId",key:"createSelectorGetSlackbotAiSessionId",description:e=>e?.slackbotAi?.sessionId};let K=(0,E.Ay)(e=>e?.slackbotAi?.sessionIdSetAt);K.meta={name:"getSessionIdSetAt",key:"createSelectorGetSessionIdSetAt",description:e=>e?.slackbotAi?.sessionIdSetAt};let q=(0,E.Ay)(e=>e?.slackbotAi?.shouldOverrideNuxToggle);q.meta={name:"getShouldOverrideNuxToggle",key:"createSelectorGetShouldOverrideNuxToggle",description:e=>e?.slackbotAi?.shouldOverrideNuxToggle};let z=(0,E.Ay)(e=>!!e?.slackbotAi?.shouldAnimateLimitsInfoNotification);z.meta={name:"getShouldAnimateLimitsInfoNotification",key:"createSelectorGetShouldAnimateLimitsInfoNotification",description:e=>!!e?.slackbotAi?.shouldAnimateLimitsInfoNotification};let $=(0,E.Ay)(e=>!!e?.slackbotAi?.hasProcessedTeamPermissionObjectsForNux);$.meta={name:"getHasProcessedTeamPermissionObjectsForNux",key:"createSelectorGetHasProcessedTeamPermissionObjectsForNux",description:e=>!!e?.slackbotAi?.hasProcessedTeamPermissionObjectsForNux};let Y=(0,E.Ay)(e=>e?.slackbotAi?.activeSkillId);Y.meta={name:"getActiveSkillId",key:"createSelectorGetActiveSkillId",description:e=>e?.slackbotAi?.activeSkillId};let Q=(0,E.Ay)(e=>e?.slackbotAi?.skillsLibrary??"my_library");Q.meta={name:"getSkillsLibrary",key:"createSelectorGetSkillsLibrary",description:e=>e?.slackbotAi?.skillsLibrary??"my_library"};let Z=(0,E.Ay)((e,t)=>!!(0,c.gT)(e)&&(0,m.D)(t));Z.meta={name:"isChannelSlackbotAiIm",key:"createSelectorIsChannelSlackbotAiIm",description:(e,t)=>!!(0,c.gT)(e)&&(0,m.D)(t)};let J=(0,E.Ay)((e,t)=>{let{channelId:a,threadTs:n}=t;if(!a||!n||!(0,c.gT)(e))return!1;let i=(0,v.OL)(e,a);if(!(0,m.D)(i))return!1;let o=(0,R.Ld)(e,a,n,!1);if(o&&(0,f.tH)(o))return!0;let s=(0,b.Iu)(a,n),l=(0,C.tp)(e,s,n),d=l?.timestamps;if(!d?.length)return!1;let u=null;for(let t=d.length-1;t>=0;t--){let n=(0,R.Ld)(e,a,d[t],!0);if(n&&!(0,f.aw)(n)){u=n;break}}if(!u)return!1;if(u.user!==r.Q$)return!0;let _=u.ai_context?.result_status;return!(0,p.b)(u)&&"failed"!==_});J.meta={name:"shouldDisableSendingToSlackbot",key:"createSelectorShouldDisableSendingToSlackbot",description:(e,t)=>{let{channelId:a,threadTs:n}=t;if(!a||!n||!(0,c.gT)(e))return!1;let i=(0,v.OL)(e,a);if(!(0,m.D)(i))return!1;let o=(0,R.Ld)(e,a,n,!1);if(o&&(0,f.tH)(o))return!0;let s=(0,b.Iu)(a,n),l=(0,C.tp)(e,s,n),d=l?.timestamps;if(!d?.length)return!1;let u=null;for(let t=d.length-1;t>=0;t--){let n=(0,R.Ld)(e,a,d[t],!0);if(n&&!(0,f.aw)(n)){u=n;break}}if(!u)return!1;if(u.user!==r.Q$)return!0;let _=u.ai_context?.result_status;return!(0,p.b)(u)&&"failed"!==_}};let X=(0,E.Ay)((e,t)=>{let{channelId:a,threadTs:i}=t;if(!a||!i||!(0,c.gT)(e)||!(0,c.zM)(e))return!1;let o=(0,v.OL)(e,a);if(!(0,m.D)(o))return!1;let s=(0,R.Ld)(e,a,i,!1);if(s&&(0,f.tH)(s))return!1;let l=(0,b.Iu)(a,i),d=(0,C.tp)(e,l,i),u=(0,n.A)(d?.timestamps);if(!u)return!1;let _=(0,R.Ld)(e,a,u,!0);if(_?.user!==r.Q$)return!1;let p=_.ai_context?.result_status;return"streaming"===p||"pending"===p});X.meta={name:"canStopSlackbotAiResponse",key:"createSelectorCanStopSlackbotAiResponse",description:(e,t)=>{let{channelId:a,threadTs:i}=t;if(!a||!i||!(0,c.gT)(e)||!(0,c.zM)(e))return!1;let o=(0,v.OL)(e,a);if(!(0,m.D)(o))return!1;let s=(0,R.Ld)(e,a,i,!1);if(s&&(0,f.tH)(s))return!1;let l=(0,b.Iu)(a,i),d=(0,C.tp)(e,l,i),u=(0,n.A)(d?.timestamps);if(!u)return!1;let _=(0,R.Ld)(e,a,u,!0);if(_?.user!==r.Q$)return!1;let p=_.ai_context?.result_status;return"streaming"===p||"pending"===p}};let ee=(0,E.Ay)((e,t)=>{if(!(0,c.gT)(e)||!(0,c.JL)(e)||!(0,I.tS)(e)&&!(0,c.r8)(e)||!t||!(0,g.A)(t)||(0,f.aw)(t)||(0,f.aN)(t)||!(0,_.A)(e,t))return!1;let a=(0,v.OL)(e,t.channel);return!!a&&!!(0,m.D)(a)});ee.meta={name:"shouldAllowSlackbotAiFeedback",key:"createSelectorShouldAllowSlackbotAiFeedback",description:(e,t)=>{if(!(0,c.gT)(e)||!(0,c.JL)(e)||!(0,I.tS)(e)&&!(0,c.r8)(e)||!t||!(0,g.A)(t)||(0,f.aw)(t)||(0,f.aN)(t)||!(0,_.A)(e,t))return!1;let a=(0,v.OL)(e,t.channel);return!!a&&!!(0,m.D)(a)}};let et=(0,T.jB)((e,t)=>{if(!(0,c.gT)(e)||!(0,c.FE)(e)||!t)return null;let a=(0,v.OL)(e,t);if(!(0,m.D)(a))return null;let n=V(e),r=j(e),s=Y(e),l=(0,B.R)(e,{container:U.mq.Primary,windowId:U.N2}),u=(0,B.R)(e,{container:U.mq.Secondary,windowId:U.N2});if((0,i.GI)(e)&&u?.viewType===o.D.Record){let t=u.params?.recordId||u.id;if(t&&t===n)return s?{skill_id:s}:null;if(t){let a=(0,D.PQ)(e,t);if((0,N._s)(a))return{salesforce_record:{record_id:t,record_name:a.name,object_type:a.object_api_name,object_label:a.object_label},slackbot_ai_session_id:r||void 0,...s?{skill_id:s}:{}}}}if(l?.viewType===o.D.Canvas){let e=l.params?.entityId||l.id,t=(0,S.QY)(e);if(t&&t!==n)return{files:[{id:t}],...s?{skill_id:s}:{}}}else if(l?.viewType===o.D.List&&(0,c.UH)(e)){let e=l.params?.listId||l.id,t=(0,S.QY)(e);if(t&&t!==n)return{files:[{id:t}],...s?{skill_id:s}:{}}}if((0,c.Kd)(e)&&u?.viewType===o.D.Thread){let e=u.params?.threadId;if(e){let{channelId:t,threadTs:a}=(0,b.Sb)(e);if(t&&a&&`${t}:${a}`!==n)return{channels:[{id:t,is_active:!0,thread_ts:a}],slackbot_ai_session_id:r||void 0,...s?{skill_id:s}:{}}}}let f=null,_=(0,B.R)(e,{container:U.mq.Split,windowId:U.N2});if(l?.viewType===o.D.Channel){let e=l.id;(0,y.A)(e)&&e!==n&&(f={channels:[{id:e,is_active:!0}],slackbot_ai_session_id:r||void 0})}else if(l?.viewType===o.D.Thread&&(0,c.Kd)(e)){let e=l.params?.threadId,t=null,a=null;if(e){let n=(0,b.Sb)(e);t=n.channelId??null,a=n.threadTs??null}t&&a&&`${t}:${a}`!==n&&(f={channels:[{id:t,is_active:!0,thread_ts:a}],slackbot_ai_session_id:r||void 0})}else if(l?.viewType===o.D.Record&&(0,i.GI)(e)){let t=l.params?.recordId||l.id;if(t&&t!==n){let a=(0,D.PQ)(e,t);(0,N._s)(a)&&(f={salesforce_record:{record_id:t,record_name:a.name,object_type:a.object_api_name,object_label:a.object_label},slackbot_ai_session_id:r||void 0})}}if((0,d.XH)(e)&&_){let a=_.params?.workObjectContext,i=_.viewType===o.D.Channel&&_.id===t;if(a&&i){let t=H(e);(t?`${a.entity_url}:${t}`:a.entity_url)!==n&&(f={work_object:a,slackbot_ai_session_id:r||void 0})}}if((0,i.GI)(e)&&l?.viewType===o.D.SalesBulkGrid){let t=l.id;if(t&&t!==n){let a=(0,O.qO)(e,t),n=(0,O.T1)(e,t),i=(0,O.BX)(e,t),o=(0,O.PM)(e,t);n&&(f={salesforce_list_view:{list_view_id:t,list_view_label:a||void 0,object_type:n,object_label:i||void 0,salesforce_org_id:o||void 0},slackbot_ai_session_id:r||void 0})}}return s&&(f={...f,skill_id:s}),f}),ea=(0,E.Ay)((e,t)=>{let a=et(e,t);if(!a)return!1;let n=a?.files||[];return!!n?.length&&(0,x.Lp)(e,n[0].id)});ea.meta={name:"getActiveFile",key:"createSelectorGetActiveFile",description:(e,t)=>{let a=et(e,t);if(!a)return!1;let n=a?.files||[];return!!n?.length&&(0,x.Lp)(e,n[0].id)}};let en=(0,E.Ay)((e,t)=>{let a=et(e,t);if(!a)return null;let n=(a.channels||[]).find(e=>e.is_active);return n?(0,v.OL)(e,n.id):null});en.meta={name:"getActiveChannel",key:"createSelectorGetActiveChannel",description:(e,t)=>{let a=et(e,t);if(!a)return null;let n=(a.channels||[]).find(e=>e.is_active);return n?(0,v.OL)(e,n.id):null}},(0,E.Ay)((e,t)=>{let a=et(e,t);if(!a)return null;let n=(a.channels||[]).find(e=>e.is_active);return n&&n.thread_ts||null}).meta={name:"getActiveThread",key:"createSelectorGetActiveThread",description:(e,t)=>{let a=et(e,t);if(!a)return null;let n=(a.channels||[]).find(e=>e.is_active);return n&&n.thread_ts||null}};let er=(0,E.Ay)((e,t)=>{let a=et(e,t);return a&&a.work_object||null});er.meta={name:"getActiveWorkObject",key:"createSelectorGetActiveWorkObject",description:(e,t)=>{let a=et(e,t);return a&&a.work_object||null}};let ei=(0,E.Ay)((e,t)=>{let a=et(e,t);return a&&a.salesforce_record||null});ei.meta={name:"getActiveSalesforceRecord",key:"createSelectorGetActiveSalesforceRecord",description:(e,t)=>{let a=et(e,t);return a&&a.salesforce_record||null}};let eo=(0,E.Ay)((e,t)=>{let a=et(e,t);return a&&a.salesforce_list_view||null});eo.meta={name:"getActiveSalesforceListView",key:"createSelectorGetActiveSalesforceListView",description:(e,t)=>{let a=et(e,t);return a&&a.salesforce_list_view||null}};let es=(0,E.Ay)(e=>{let t=(0,B.R)(e,{container:U.mq.Split,windowId:U.N2});return t&&t.params?.workObjectTitle||null});es.meta={name:"getActiveWorkObjectTitle",key:"createSelectorGetActiveWorkObjectTitle",description:e=>{let t=(0,B.R)(e,{container:U.mq.Split,windowId:U.N2});return t&&t.params?.workObjectTitle||null}};let el=(0,E.Ay)(e=>{let t=(0,v.o2)(e,"USLACKBOT"),a=(0,v.OL)(e,t);return(0,s.N)(e,a)||0});el.meta={name:"getSlackbotHistoryTabBadgeCount",key:"createSelectorGetSlackbotHistoryTabBadgeCount",description:e=>{let t=(0,v.o2)(e,"USLACKBOT"),a=(0,v.OL)(e,t);return(0,s.N)(e,a)||0}};let ec=(0,E.Ay)((e,t)=>{let{channelId:a,threadTs:n}=t;if(!a||!n)return!1;let r=(0,R.Ld)(e,a,n,!1);if(!r)return!1;let i=(0,v.OL)(e,a);return!!(0,m.D)(i)&&(0,f.tH)(r)});ec.meta={name:"isSlackbotAlertThread",key:"createSelectorIsSlackbotAlertThread",description:(e,t)=>{let{channelId:a,threadTs:n}=t;if(!a||!n)return!1;let r=(0,R.Ld)(e,a,n,!1);if(!r)return!1;let i=(0,v.OL)(e,a);return!!(0,m.D)(i)&&(0,f.tH)(r)}};let getLatestSlackbotReplies=(e,t,a)=>{let n={};for(let i of a){let a=i.message.latest_reply;if(a){let o=(0,R.Ld)(e,t,a,!0);o&&o.user===r.Q$&&(n[i.ts]=o)}}return n};(0,E.Ay)(e=>e?.slackbotAi?.errorState).meta={name:"getErrorState",key:"createSelectorGetErrorState",description:e=>e?.slackbotAi?.errorState},(0,E.Ay)(e=>e?.slackbotAi?.errorContext).meta={name:"getErrorContext",key:"createSelectorGetErrorContext",description:e=>e?.slackbotAi?.errorContext},(0,E.Ay)(e=>e?.slackbotAi?.errorState==="network").meta={name:"getHasNetworkError",key:"createSelectorGetHasNetworkError",description:e=>e?.slackbotAi?.errorState==="network"},(0,E.Ay)(e=>e?.slackbotAi?.errorState==="api").meta={name:"getHasApiError",key:"createSelectorGetHasApiError",description:e=>e?.slackbotAi?.errorState==="api"},(0,E.Ay)(e=>e?.slackbotAi?.errorState==="stream_interrupted").meta={name:"getHasStreamInterruptedError",key:"createSelectorGetHasStreamInterruptedError",description:e=>e?.slackbotAi?.errorState==="stream_interrupted"};let ed=(0,E.Ay)(e=>e?.slackbotAi?.usesRemaining);ed.meta={name:"getUsesRemaining",key:"createSelectorGetUsesRemaining",description:e=>e?.slackbotAi?.usesRemaining};let eu=(0,E.Ay)(e=>e?.slackbotAi?.totalUsages);eu.meta={name:"getTotalUsages",key:"createSelectorGetTotalUsages",description:e=>e?.slackbotAi?.totalUsages};let em=(0,E.Ay)(e=>{if(!(0,L.x_)(e)||!(0,c.gT)(e))return"not-applicable";let t=(0,P.H7)(e);if(!(0,A.KJ)(t))return"not-applicable";let a=ed(e),n=eu(e);if("number"==typeof a&&"number"==typeof n)return a===n?"has-all":a>0?"has-some":"has-none"});em.meta={name:"getSlackbotSampleStatus",key:"createSelectorGetSlackbotSampleStatus",description:e=>{if(!(0,L.x_)(e)||!(0,c.gT)(e))return"not-applicable";let t=(0,P.H7)(e);if(!(0,A.KJ)(t))return"not-applicable";let a=ed(e),n=eu(e);if("number"==typeof a&&"number"==typeof n)return a===n?"has-all":a>0?"has-some":"has-none"}};let ef=(0,E.Ay)((e,t)=>{let a=em(e),n=ed(e);return"has-some"===a&&!!n&&n<t});ef.meta={name:"isRemainingSlackbotSampleCountBelow",key:"createSelectorIsRemainingSlackbotSampleCountBelow",description:(e,t)=>{let a=em(e),n=ed(e);return"has-some"===a&&!!n&&n<t}};let e_=(0,E.Ay)((e,t)=>{let a=(0,v.OL)(e,t);if(!(0,m.D)(a))return!1;let n=em(e);return"has-some"===n||"has-all"===n});e_.meta={name:"shouldShowSlackbotPreviewBadge",key:"createSelectorShouldShowSlackbotPreviewBadge",description:(e,t)=>{let a=(0,v.OL)(e,t);if(!(0,m.D)(a))return!1;let n=em(e);return"has-some"===n||"has-all"===n}};let ep="slackbot_ai_sparkle_sample_timestamp",eh=1,getSampleSparkleTimestamp=e=>(0,k.ty)(e,ep)||0,eg=(0,E.Ay)(e=>{if("has-all"!==em(e)||3>(0,M.H)(e)||(0,l.sb)(e)!==F.Gf.NOT_STARTED)return!1;let t=getSampleSparkleTimestamp(e);return t!==eh&&(0===t||(Date.now()-t)/864e5<=2)});eg.meta={name:"shouldShowSampleSparkle",key:"createSelectorShouldShowSampleSparkle",description:e=>{if("has-all"!==em(e)||3>(0,M.H)(e)||(0,l.sb)(e)!==F.Gf.NOT_STARTED)return!1;let t=getSampleSparkleTimestamp(e);return t!==eh&&(0===t||(Date.now()-t)/864e5<=2)}};let eA=(0,E.Ay)(e=>{if("has-all"!==em(e))return!1;let t=getSampleSparkleTimestamp(e);return 0!==t&&t!==eh&&(Date.now()-t)/864e5>=2});eA.meta={name:"shouldShowSampleTickleText",key:"createSelectorShouldShowSampleTickleText",description:e=>{if("has-all"!==em(e))return!1;let t=getSampleSparkleTimestamp(e);return 0!==t&&t!==eh&&(Date.now()-t)/864e5>=2}};let eb=(0,E.Ay)((e,t)=>{let{messageTs:a,isSlackbotNotification:n}=t;if(!n||!(0,c.gT)(e)||!a)return!1;let r=(0,v.o2)(e,"USLACKBOT");if(!r)return!1;let i=(0,R.Ld)(e,r,a,!1);if(!i)return!1;let o=(0,v.OL)(e,r),s=o?(0,u._V)(e,o):"0",l=(0,w.WR)(e);return(0,h.A)(i,s||"0",l||"")});eb.meta={name:"shouldShowSlackbotNotificationDot",key:"createSelectorShouldShowSlackbotNotificationDot",description:(e,t)=>{let{messageTs:a,isSlackbotNotification:n}=t;if(!n||!(0,c.gT)(e)||!a)return!1;let r=(0,v.o2)(e,"USLACKBOT");if(!r)return!1;let i=(0,R.Ld)(e,r,a,!1);if(!i)return!1;let o=(0,v.OL)(e,r),s=o?(0,u._V)(e,o):"0",l=(0,w.WR)(e);return(0,h.A)(i,s||"0",l||"")}};let ey=[],eS=[],eE=(0,E.Ay)((e,t)=>t?e?.slackbotAi?.activeAgentforceAgents?.[t]??ey:ey);eE.meta={name:"getActiveAgentforceAgents",key:"createSelectorGetActiveAgentforceAgents",description:(e,t)=>t?e?.slackbotAi?.activeAgentforceAgents?.[t]??ey:ey};let ek=(0,E.Ay)((e,t)=>t?e?.slackbotAi?.excludedAgentforceAgents?.[t]??eS:eS);ek.meta={name:"getExcludedAgentforceBotUserIds",key:"createSelectorGetExcludedAgentforceBotUserIds",description:(e,t)=>t?e?.slackbotAi?.excludedAgentforceAgents?.[t]??eS:eS};let eT=(0,E.Ay)(e=>e?.slackbotAi?.mcpServers);eT.meta={name:"getMcpServers",key:"createSelectorGetMcpServers",description:e=>e?.slackbotAi?.mcpServers};let eI=(0,E.Ay)(e=>e?.slackbotAi?.mcpServersLoading??!1);eI.meta={name:"getMcpServersLoading",key:"createSelectorGetMcpServersLoading",description:e=>e?.slackbotAi?.mcpServersLoading??!1}},0x208ff08f6:(e,t,a)=>{"use strict";a.d(t,{T:()=>l});var n=a(0x12edaa96a),r=a(0x11c82607b),i=a(0xeb4f1a4d),o=a(0x1294547f8),s=a(0x93a9f6f3);let l=(0,r.Ay)("Ensure Slackbot AI session ID exists",(e,t)=>{let a=t(),r=(0,o.lm)(a),l=(0,o.xM)(a),c=Date.now(),d=l&&c-l>s.V6;return(!r||d)&&(r=(0,n.A)(),e((0,i.mY)({sessionId:r}))),r});l.meta={name:"ensureSlackbotAiSessionId",key:"createThunkEnsureSlackbotAiSessionId",description:"Ensure Slackbot AI session ID exists"}},0x624c12c8:(e,t,a)=>{"use strict";a.d(t,{B:()=>y,w:()=>b});var n=a(0x20b4dda68),r=a(0x114ffe897),i=a(0x105ecbbed),o=a(0x3711e82d),s=a(0x45012309),l=a(0x12256831),c=a(0x16ed1b0dc),d=a(0x1fc95ec5c),u=a(0x11c82607b),m=a(0xc561af5),f=a(0x217553e42),_=a(0x8f3c4496),p=a(0xd93ecf94),h=a(0xeb4f1a4d),g=a(0x208ff08f6),A=a(0x19895585a);let b=(0,u.Ay)("Log a Slackbot AI event",(e,t,{ts:a,eventId:r,threadTs:c,slackbotAiCategoryKey:d,slackbotAiChannelTab:u,citationType:_,feedback:A,promptId:b,category:y,promptPosition:S,isPrompt:E,entrypoint:k,uiPage:T,uiAction:I,uiStep:w,elementValue:C,userAgent:v})=>{let x,R=t(),O=(0,s.eo)({state:R}),N=e((0,g.T)()),D=(0,f.o2)(R,n.Q$);if(a&&D){let e=(0,i.Iu)(D,c),t=(0,m.tp)(R,e);x=(t?.timestamps??[]).filter(e=>{let t=(0,p.Ld)(R,D,e);return t?.user&&t.user!==n.Q$}).length||void 0}let L=c?(0,l.A)(c):null,M="number"==typeof S?S.toString():S;O.track(r,{contexts:{slackbotai:{slackbotai_session_id:N,slackbotai_thread_id:L,slackbotai_turn_number:x,slackbotai_category_key:d,slackbotai_channel_tab:u,slackbotai_citation_type:_,slackbotai_feedback_type:A,slackbotai_prompt_category:y,slackbotai_suggested_prompt_id:b,slackbotai_prompt_position:M,slackbotai_is_prompt:E},ui_context:{entry_point:k,...I&&{action:I},...T&&{ui_page:T},...w&&{ui_step:w},...C&&{ui_properties:{element_value:C}}}},user_agent:v}),r===o.EventId.SLACKBOTAI_DM_UNMOUNT&&e((0,h.mY)({sessionId:null}))});b.meta={name:"logSlackbotAiEvent",key:"createThunkLogSlackbotAiEvent",description:"Log a Slackbot AI event"};let y=(0,u.Ay)("Track Slackbot message copy if applicable",(e,t,{selection:a,focusedContainer:i,splitViewChannelId:s,primaryViewId:l})=>{let u;if(!a||(i===A.mq.Split&&s?u=s:l&&(0,c.A)(l)&&(u=l),!u))return;let m=t(),f=(0,_.s)(m,u);if(!(0,r.D)(f))return;let h=a.anchorNode instanceof Element?a.anchorNode:a.anchorNode?.parentElement,g=h?.closest("[data-msg-ts]")?.getAttribute("data-msg-ts")??void 0;if(!g)return;let y=(0,p.Ld)(m,u,g,!1);y&&y.user===n.Q$&&(0,d.A)(`slackbot-message-copy-${g}`,()=>{e(b({eventId:o.EventId.SLACKBOTAI_MESSAGE_TEXT_COPY,ts:g}))},500)});y.meta={name:"trackSlackbotMessageCopy",key:"createThunkTrackSlackbotMessageCopy",description:"Track Slackbot message copy if applicable"}},0x93a9f6f3:(e,t,a)=>{"use strict";a.d(t,{Ct:()=>s,Gf:()=>o,V6:()=>r,XM:()=>n,Xh:()=>i,i1:()=>c,rI:()=>l,xE:()=>getMcpServerKey});let n={DownmarketCrmAccountRecordView:"sfdc_account_flexpane",DownmarketCrmContactRecordView:"sfdc_contact_flexpane",DownmarketCrmOpportunityRecordView:"sfdc_opportunity_flexpane",DownmarketCrmLeadRecordView:"sfdc_lead_flexpane",DownmarketCrmCaseRecordView:"sfdc_case_flexpane",UpmarketCrmAccountRecordView:"upmarket_sfdc_account_flexpane",UpmarketCrmContactRecordView:"upmarket_sfdc_contact_flexpane",UpmarketCrmOpportunityRecordView:"upmarket_sfdc_opportunity_flexpane",UpmarketCrmLeadRecordView:"upmarket_sfdc_lead_flexpane",UpmarketCrmCaseRecordView:"upmarket_sfdc_case_flexpane",DownmarketCrmUnfurlContactRecord:"sfdc_contact_unfurl",DownmarketCrmUnfurlAccountRecord:"sfdc_account_unfurl",StartAgentOrAssistantThread:"start-agent-or-assistant-thread",WorkObjectAskSlackbotAiButton:"work-object-ask-slackbot-ai-button",SearchAnswersHandoff:"search-answers-handoff",SearchSuggestion:"search-suggestion",TodaySearchSlackbotThread:"today-search-slackbot-thread",AskSlackbot:"ask-slackbot",MeetingPrepThread:"meeting-prep-thread",AgendaMeetingPrep:"agenda-meeting-prep",CommandCenterNewThread:"command-center-new-thread",HeaderButton:"header-button",Omniswitcher:"omniswitcher",SlackbotAiNuxTrigger:"slackbot-ai-nux-trigger",TodaySearchSlackbotChannelTab:"today-search-slackbot-channel-tab",ModNShorcut:"mod-n-shortcut",GetAiAppDetails:"get-ai-app-details",DeepLink:"deep-link",Sidebar:"sidebar",Slackiversary:"slackiversary",AiExplain:"ai-explain",Unknown:"unknown"};function getMcpServerKey(e){return"app"===e.service_type?`${e.service_type}:${e.app_id}`:`${e.service_type}`}let r=6e5,i="0000000000.000000",o={NOT_STARTED:"NOT_STARTED",NUX_OPENED:"NUX_OPENED",SPLASH_COMPLETE:"SPLASH_COMPLETE",ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",NUX_COMPLETE:"NUX_COMPLETE"},s="slackbot_ai_nux_cookie",l="slackbot_ai_nux_state",c={MyLibrary:"my_library",Explore:"explore"}},0x1c43f1b91:(e,t,a)=>{"use strict";a.d(t,{A2:()=>isSlackAiWrappedFeedbackEnabled,X:()=>isSlackiversaryEnabled,bZ:()=>isSlackiversaryForceVisible});var n=a(0x14149c126);function isSlackiversaryEnabled(e){return"on"===(0,n._Z)(e,"slack_ai_slackiversary")}function isSlackiversaryForceVisible(e){return"on"===(0,n._Z)(e,"slackiversary_force_visible")}function isSlackAiWrappedFeedbackEnabled(e){return"on"===(0,n._Z)(e,"slack_ai_wrapped_feedback")}},0x1046b9f07:(e,t,a)=>{"use strict";a.d(t,{Ek:()=>r,RQ:()=>o,mR:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Clears all slash commands");r.meta={name:"resetCommands",key:"createActionResetCommands",description:"Clears all slash commands"};let i=(0,n.Ay)("Removes a slash command");i.meta={name:"removeCommand",key:"createActionRemoveCommand",description:"Removes a slash command"};let o=(0,n.Ay)("Adds an array of slash commands from the server");o.meta={name:"bulkAddServerCommands",key:"createActionBulkAddServerCommands",description:"Adds an array of slash commands from the server"}},0x185ca5bfc:(e,t,a)=>{"use strict";a.d(t,{Iv:()=>s,K8:()=>c,SF:()=>u,Su:()=>_,Sx:()=>d,YN:()=>g,Yv:()=>m,_7:()=>h,_f:()=>l,aW:()=>r,rx:()=>p,tM:()=>o,ux:()=>i,uy:()=>f});var n=a(0xcf658893);let r=(0,n.Ay)("Connected to socket");r.meta={name:"connected",key:"createActionConnected",description:"Connected to socket"};let i=(0,n.Ay)("Disconnected from socket");i.meta={name:"disconnected",key:"createActionDisconnected",description:"Disconnected from socket"};let o=(0,n.Ay)("Provisionally connected");o.meta={name:"provisionallyConnected",key:"createActionProvisionallyConnected",description:"Provisionally connected"};let s=(0,n.Ay)("Provisionally connected timeout");s.meta={name:"provisionallyConnectedTimeout",key:"createActionProvisionallyConnectedTimeout",description:"Provisionally connected timeout"};let l=(0,n.Ay)("Error message received from socket");l.meta={name:"socketErrorMessageReceived",key:"createActionSocketErrorMessageReceived",description:"Error message received from socket"};let c=(0,n.Ay)("Synthetic message received from degraded mode handler");c.meta={name:"degradedModeMessageReceived",key:"createActionDegradedModeMessageReceived",description:"Synthetic message received from degraded mode handler"};let d=(0,n.Ay)("Socket Manager state changed");d.meta={name:"stateChanged",key:"createActionStateChanged",description:"Socket Manager state changed"};let u=(0,n.Ay)("Trouble connecting to socket");u.meta={name:"troubleConnecting",key:"createActionTroubleConnecting",description:"Trouble connecting to socket"};let m=(0,n.Ay)("Socket closed when we did not expect it to");m.meta={name:"unexpectedSocketClosure",key:"createActionUnexpectedSocketClosure",description:"Socket closed when we did not expect it to"};let f=(0,n.Ay)("Waiting for rate limit");f.meta={name:"waitingForRateLimit",key:"createActionWaitingForRateLimit",description:"Waiting for rate limit"};let _=(0,n.Ay)("Set the last connected primary region");_.meta={name:"setLastConnectedPrimaryRegion",key:"createActionSetLastConnectedPrimaryRegion",description:"Set the last connected primary region"};let p=(0,n.Ay)("Set whether we will use the backup region on our next connect attempt");p.meta={name:"setShouldUseBackupRegion",key:"createActionSetShouldUseBackupRegion",description:"Set whether we will use the backup region on our next connect attempt"};let h=(0,n.Ay)("Socket is in failover mode");h.meta={name:"setFailoverMode",key:"createActionSetFailoverMode",description:"Socket is in failover mode"};let g=(0,n.Ay)("Client counts have been applied");g.meta={name:"setCountsAreApplied",key:"createActionSetCountsAreApplied",description:"Client counts have been applied"}},0x141589b4d:(e,t,a)=>{"use strict";a.d(t,{Bl:()=>d,EU:()=>g,Ib:()=>m,LJ:()=>E,LK:()=>i,ON:()=>c,UJ:()=>o,WO:()=>b,XE:()=>s,XX:()=>h,ZV:()=>y,d4:()=>A,o4:()=>u,rb:()=>l,sJ:()=>_,sZ:()=>f,uc:()=>S,wq:()=>k,yf:()=>p});var n=a(0x12af72ca4),r=a(0x1cf0d97e1);(0,r.Ay)(e=>e&&e.socket&&e.socket.currentState===n.tV.NEVER_CONNECTED).meta={name:"hasNeverConnected",key:"createSelectorHasNeverConnected",description:e=>e&&e.socket&&e.socket.currentState===n.tV.NEVER_CONNECTED};let i=(0,r.Ay)(e=>!!e&&!!e.socket&&e.socket.currentState&&[n.tV.SLEEP,n.tV.SLEEPING,n.tV.ASLEEP].indexOf(e.socket.currentState)>=0);i.meta={name:"isAsleep",key:"createSelectorIsAsleep",description:e=>!!e&&!!e.socket&&e.socket.currentState&&[n.tV.SLEEP,n.tV.SLEEPING,n.tV.ASLEEP].indexOf(e.socket.currentState)>=0};let o=(0,r.Ay)(e=>!!(e&&e.socket&&e.socket.currentState===n.tV.CONNECTED));o.meta={name:"isConnected",key:"createSelectorIsConnected",description:e=>!!(e&&e.socket&&e.socket.currentState===n.tV.CONNECTED)};let s=(0,r.Ay)(e=>!!e&&!!e.socket&&e.socket.currentState&&[n.tV.CONNECT,n.tV.FAST_RECONNECTING,n.tV.PROV_CONNECT,n.tV.PROV_CONNECTING,n.tV.PROV_CONNECTED,n.tV.PROV_FINALIZE,n.tV.PROV_FINALIZING,n.tV.CHECKING_FAST_RECONNECT].indexOf(e.socket.currentState)>=0);s.meta={name:"isConnecting",key:"createSelectorIsConnecting",description:e=>!!e&&!!e.socket&&e.socket.currentState&&[n.tV.CONNECT,n.tV.FAST_RECONNECTING,n.tV.PROV_CONNECT,n.tV.PROV_CONNECTING,n.tV.PROV_CONNECTED,n.tV.PROV_FINALIZE,n.tV.PROV_FINALIZING,n.tV.CHECKING_FAST_RECONNECT].indexOf(e.socket.currentState)>=0};let l=(0,r.Ay)(e=>!!(e&&e.socket&&e.socket.currentState===n.tV.PROV_CONNECTED));l.meta={name:"isProvisionallyConnected",key:"createSelectorIsProvisionallyConnected",description:e=>!!(e&&e.socket&&e.socket.currentState===n.tV.PROV_CONNECTED)};let c=(0,r.Ay)(e=>o(e)||l(e));c.meta={name:"hasOpenWebSocket",key:"createSelectorHasOpenWebSocket",description:e=>o(e)||l(e)};let d=(0,r.Ay)(e=>e&&e.socket&&e.socket.slowConnectionCount>0);d.meta={name:"wasPreviouslyConnected",key:"createSelectorWasPreviouslyConnected",description:e=>e&&e.socket&&e.socket.slowConnectionCount>0};let u=(0,r.Ay)(e=>d(e)&&s(e));u.meta={name:"isReconnecting",key:"createSelectorIsReconnecting",description:e=>d(e)&&s(e)};let m=(0,r.Ay)(e=>e&&e.socket&&e.socket.troubleConnecting);m.meta={name:"isHavingTroubleReconnecting",key:"createSelectorIsHavingTroubleReconnecting",description:e=>e&&e.socket&&e.socket.troubleConnecting};let f=(0,r.Ay)(e=>!!(e&&e.socket&&e.socket.currentState===n.tV.WAIT_FOR_CONNECTIVITY));f.meta={name:"isWaitingForConnectivity",key:"createSelectorIsWaitingForConnectivity",description:e=>!!(e&&e.socket&&e.socket.currentState===n.tV.WAIT_FOR_CONNECTIVITY)};let _=(0,r.Ay)(e=>!!(e&&e.socket&&e.socket.currentState===n.tV.WAIT_FOR_RATE_LIMIT));_.meta={name:"isWaitingForRateLimit",key:"createSelectorIsWaitingForRateLimit",description:e=>!!(e&&e.socket&&e.socket.currentState===n.tV.WAIT_FOR_RATE_LIMIT)};let p=(0,r.Ay)(e=>!!e?.socket?.lastConnectWasFast);p.meta={name:"wasLastConnectFast",key:"createSelectorWasLastConnectFast",description:e=>!!e?.socket?.lastConnectWasFast};let h=(0,r.Ay)(e=>e&&e.socket&&1===e.socket.slowConnectionCount&&!e.socket.lastConnectWasFast);h.meta={name:"isFirstConnection",key:"createSelectorIsFirstConnection",description:e=>e&&e.socket&&1===e.socket.slowConnectionCount&&!e.socket.lastConnectWasFast};let g=(0,r.Ay)(e=>e&&e.socket&&e.socket.connectionCount);g.meta={name:"getConnectionCount",key:"createSelectorGetConnectionCount",description:e=>e&&e.socket&&e.socket.connectionCount};let A=(0,r.Ay)(e=>e&&e.socket&&e.socket.slowConnectionCount);A.meta={name:"getSlowConnectionCount",key:"createSelectorGetSlowConnectionCount",description:e=>e&&e.socket&&e.socket.slowConnectionCount};let b=(0,r.Ay)(e=>e&&e.socket&&e.socket.lastConnectedPrimaryRegion);b.meta={name:"getLastConnectedPrimaryRegion",key:"createSelectorGetLastConnectedPrimaryRegion",description:e=>e&&e.socket&&e.socket.lastConnectedPrimaryRegion};let y=(0,r.Ay)(e=>e&&e.socket&&e.socket.useBackupRegion);y.meta={name:"shouldUseBackupRegion",key:"createSelectorShouldUseBackupRegion",description:e=>e&&e.socket&&e.socket.useBackupRegion};let S=(0,r.Ay)(e=>e&&e.socket&&e.socket.failoverMode);S.meta={name:"isFailoverMode",key:"createSelectorIsFailoverMode",description:e=>e&&e.socket&&e.socket.failoverMode};let E=(0,r.Ay)(e=>e?.socket?.currentState);E.meta={name:"getCurrentState",key:"createSelectorGetCurrentState",description:e=>e?.socket?.currentState};let k=(0,r.Ay)(e=>e&&e.socket&&e.socket.countsAreApplied);k.meta={name:"areCountsApplied",key:"createSelectorAreCountsApplied",description:e=>e&&e.socket&&e.socket.countsAreApplied}},0x1cc2e327f:(e,t,a)=>{"use strict";a.d(t,{O2:()=>promiseToHaveNonTroubledWebSocket,WV:()=>p,js:()=>h});var n=a(0xe874a88a),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x1416f5ec2),s=a(0x19c76d181),l=a(0x185ca5bfc),c=a(0x141589b4d);let d={},u={},m={};function promiseToHaveNonTroubledWebSocket(e){if(!(0,s.wb)(e))return n.S.reject(Error("Socket intentionally disabled in this app"));if((0,c.Ib)(e))return n.S.reject(Error("Socket in a troubled connection state"));if((0,c.ON)(e))return n.S.resolve();let t=(0,i.ZT)(e);return t?(d[t]||(d[t]=new n.S((e,a)=>{u[t]=e,m[t]=a})),d[t]):n.S.reject(Error("Failed to get teamId"))}let f=(0,r.Ay)("Maybe resolve non-troubled websocket side effect handler",(e,t)=>{let a=(0,i.ZT)(t());!a||u[a]&&(u[a](),u[a]=void 0,m[a]=void 0,d[a]=void 0)});f.meta={name:"maybeResolveNonTroubledWebSocket",key:"createThunkMaybeResolveNonTroubledWebSocket",description:"Maybe resolve non-troubled websocket side effect handler"};let _=(0,r.Ay)("Maybe reject non-troubled websocket side effect handler",(e,t)=>{let a=(0,i.ZT)(t());!a||m[a]&&(m[a](Error("Socket entered trouble connecting state")),m[a]=void 0,u[a]=void 0,d[a]=void 0)});_.meta={name:"maybeRejectNonTroubledWebSocket",key:"createThunkMaybeRejectNonTroubledWebSocket",description:"Maybe reject non-troubled websocket side effect handler"};let p=(0,o.fs)([l.aW,l.tM],f),h=(0,o.fs)([l.SF],_)},0x1f4054cec:(e,t,a)=>{"use strict";a.d(t,{Om:()=>promiseToHaveOpenWebSocket,ZL:()=>f});var n=a(0xe874a88a),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x1416f5ec2),s=a(0x19c76d181),l=a(0x185ca5bfc),c=a(0x141589b4d);let d={},u={};function promiseToHaveOpenWebSocket(e){if(!(0,s.wb)(e))return n.S.reject(Error("Socket intentionally disabled in this app"));if((0,c.ON)(e))return n.S.resolve();let t=(0,i.ZT)(e);return t?(d[t]||(d[t]=new n.S(e=>{u[t]=e})),d[t]):n.S.reject(Error("Failed to get teamId"))}let m=(0,r.Ay)("Maybe resolve promise to have open websocket",(e,t)=>{let a=(0,i.ZT)(t());!a||u[a]&&(u[a](),u[a]=void 0,d[a]=void 0)});m.meta={name:"maybeResolveOpenWebSocketPromise",key:"createThunkMaybeResolveOpenWebSocketPromise",description:"Maybe resolve promise to have open websocket"};let f=(0,o.fs)([l.aW,l.tM],m)},0xc504b2d7:(e,t,a)=>{"use strict";a.d(t,{Hc:()=>o,UK:()=>r,hc:()=>i,nd:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Set a summary/detail pair");r.meta={name:"setSummaryDetailItemInternal",key:"createActionSetSummaryDetailItemInternal",description:"Set a summary/detail pair"};let i=(0,n.Ay)("Remove a summary/detail pair");i.meta={name:"removeSummaryDetailItem",key:"createActionRemoveSummaryDetailItem",description:"Remove a summary/detail pair"};let o=(0,n.Ay)("Updates the detail view expiration timestamp");o.meta={name:"updateExpirationTimestamp",key:"createActionUpdateExpirationTimestamp",description:"Updates the detail view expiration timestamp"};let s=(0,n.Ay)("Removes all detail view items for a child window");s.meta={name:"removeSummaryDetailItemsForWindow",key:"createActionRemoveSummaryDetailItemsForWindow",description:"Removes all detail view items for a child window"}},0x93dce0c6:(e,t,a)=>{"use strict";a.d(t,{U$:()=>i,yi:()=>o});var n=a(0x1cf0d97e1),r=a(0x19895585a);(0,n.Ay)((e,{windowId:t=r.N2})=>{let a=t===r.N2?"main":t;return e?.summaryDetail?.[a]}).meta={name:"getSummaryDetailByWindow",key:"createSelectorGetSummaryDetailByWindow",description:(e,{windowId:t=r.N2})=>{let a=t===r.N2?"main":t;return e?.summaryDetail?.[a]}};let i=(0,n.Ay)((e,{entityId:t,windowId:a=r.N2})=>{let n=a===r.N2?"main":a;return e?.summaryDetail?.[n]?.[t]?.item});i.meta={name:"getSummaryDetailById",key:"createSelectorGetSummaryDetailById",description:(e,{entityId:t,windowId:a=r.N2})=>{let n=a===r.N2?"main":a;return e?.summaryDetail?.[n]?.[t]?.item}};let o=(0,n.Ay)((e,{entityId:t,windowId:a=r.N2})=>{let n=a===r.N2?"main":a;return e?.summaryDetail?.[n]?.[t]?.timestamp});o.meta={name:"getDetailItemExpirationTimestamp",key:"createSelectorGetDetailItemExpirationTimestamp",description:(e,{entityId:t,windowId:a=r.N2})=>{let n=a===r.N2?"main":a;return e?.summaryDetail?.[n]?.[t]?.timestamp}}},0x1d78cd5f7:(e,t,a)=>{"use strict";a.d(t,{VO:()=>b});var n=a(0x139aa1a7),r=a(0x1d73a63ad),i=a(0x19895585a);function getWindow(e){return e===i.N2?window:(0,r.ZF)(e)?.childWindowRef??window}function isChannelCanvasFocused(e=i.N2){let t=getWindow(e),a=t.document.activeElement;return!!Array.from(t.document.querySelectorAll('[data-channel-canvas="true"]')).find(e=>e.contains(a))}var o=a(0x1ec68d6a3),s=a(0x11c82607b),l=a(0x1abacbd45),c=a(0x2048d058d),d=a(0xc504b2d7),u=a(0x93dce0c6),m=a(0x1ffb48fd),f=a(0x90ec463),_=a(0x900959e2),p=a(0x9271cc31),h=a(0x1731631dc);let g="APPLY-DETAIL-VIEW",A=(0,s.Ay)("Applies the detail view to a given view set if applicable",(e,t,{viewSet:a,windowId:n,preserveExistingSecondaryView:r,origin:o,dangerouslyOverrideRouting:s=!1})=>{let l=t(),c=(0,h.W7)(l),d=a[i.mq.Primary],u=a[i.mq.Secondary];if(d&&!u)return maybeAutomaticallyOpenSecondary(e,t,{viewSet:a,windowId:n,preserveExistingSecondaryView:r,origin:o,dangerouslyOverrideRouting:s});if((0,_.V)({primaryView:d,secondaryView:u})){let t=(0,f.P)(d,c);t&&u&&e((0,m.l)({entityId:t,item:{origin:o,viewType:u?.viewType,view:u},windowId:n}))}return a});function maybeAutomaticallyOpenSecondary(e,t,{viewSet:a,windowId:r,preserveExistingSecondaryView:o}){let s=t(),l=a[i.mq.Primary],c=r===i.N2,m=(0,h.W7)(s),_=(0,f.P)(l,m);if(!_)return a;if(o&&!c){let e=(0,p.Yi)(s,{container:i.mq.Secondary,windowId:r});if(e)return{[i.mq.Primary]:l,[i.mq.Secondary]:e}}let g=(0,u.U$)(s,{entityId:_,windowId:r});if(!g)return a;let A=(0,u.yi)(s,{entityId:_,windowId:r});if(g.viewType!==n.D.ChannelCanvas&&A&&Date.now()>A)return e((0,d.hc)({entityId:_,windowId:r})),a;let b=g.view,y=b.id,S=b.viewType,E=b.params;return y&&S&&S!==n.D.Unknown?{[i.mq.Primary]:l,[i.mq.Secondary]:{...b,id:y,params:E?.highlightRoot?{...E,highlightRoot:!1}:E,viewType:S}}:(e((0,d.hc)({entityId:_,windowId:r})),{[i.mq.Primary]:l})}A.meta={name:"applyRawDetailViewToViewSet",key:"createThunkApplyRawDetailViewToViewSet",description:"Applies the detail view to a given view set if applicable"};let b=(0,s.Ay)("Applies detail view + channel canvas",(e,t,{viewSet:a,windowId:n,preserveExistingSecondaryView:r,dangerouslyOverrideRouting:s=!1})=>{let d=isChannelCanvasFocused(n)?"channel_canvas":void 0,u=e(A({viewSet:a,windowId:n,preserveExistingSecondaryView:r,origin:d,dangerouslyOverrideRouting:s}));(0,o.getGenericLogger)().info(g,"ViewSet with detail view applied",{viewSet:u});let m=e((0,l.y)({viewSet:u}));(0,o.getGenericLogger)().info(g,"ViewSet with channel canvas applied",{viewSet:m});let f=m?.[i.mq.Primary];return e((0,c.n)({channelId:f?.id,isFlex:!1})),m});b.meta={name:"applyDetailViewToViewSet",key:"createThunkApplyDetailViewToViewSet",description:"Applies detail view + channel canvas"}},0x1ffb48fd:(e,t,a)=>{"use strict";a.d(t,{A:()=>l,l:()=>s});var n=a(0x21f3c49e8),r=a(0x11c82607b),i=a(0xc504b2d7),o=a(0x19895585a);let s=(0,r.Ay)("Sets the summary detail item",(e,t,{entityId:a,item:r,windowId:s=o.N2})=>{let l=r.view?.params?{...r.view?.params}:{};(0,n.A)(l)||(delete l.timestamp,delete l.replyTs);let c={...r,view:{...r.view,params:l}};e((0,i.UK)({entityId:a,item:c,windowId:s}))});s.meta={name:"setSummaryDetailItem",key:"createThunkSetSummaryDetailItem",description:"Sets the summary detail item"};let l=s},0x90ec463:(e,t,a)=>{"use strict";function getEntityIdForView(e,t=!1){return t&&e?.params?.parentTab?`${e.id}-${e.params?.tabId}`:e?.params?.parentTab?e.params.parentTab:e?.id}a.d(t,{P:()=>getEntityIdForView})},0x900959e2:(e,t,a)=>{"use strict";a.d(t,{V:()=>isValidDetailView});var n=a(0x16ed1b0dc),r=a(0x1529370e7);function isValidDetailView({primaryView:e,secondaryView:t}){let a=e?.id,i=t?.id;if(!a||!i)return!1;let o=(0,n.A)(a)&&["thread","user_profile","rimeto_profile","user_groups","files","docs","channel_canvas","search_in_channel","about_ai_app"].includes(i),s=(0,r.Ay)(a)&&["comment_thread","comment_stream","activity_history"].includes(i),l=!!e?.params?.parentTab&&t?.params?.parentTab===e.params.parentTab;return o||s||l}},0x2491684f4:(e,t,a)=>{"use strict";a.d(t,{O:()=>n});let n=(0,a(0xcf658893).Ay)("Set total size of team");n.meta={name:"setTeamTargetingCriteria",key:"createActionSetTeamTargetingCriteria",description:"Set total size of team"}},0x1682adc03:(e,t,a)=>{"use strict";a.d(t,{a:()=>p});var n=a(0x1cf0d97e1),r=a(0x9b971e7e),i=a(0xca924ee1),o=a(0x1a8cc04e1),s=a(0x1266f1359),l=a(0x9a92c550),c=a(0x1b9d5cc0c),d=a(0x11c82607b),u=a(0xe684f705),m=a(0x2491684f4);let f=(0,d.Ay)("Fetch and set team targeting info from CDS",async(e,t)=>{let a=(0,u.cA)(t());if(!(0,c.TS)(a))return{teamSize:void 0};let n=await e((0,l.H)({reason:"team_targeting_criteria"}));return n?.ok&&n?.users?.count&&!isNaN(n.users.count)?(e((0,m.O)({teamSize:n.users.count})),{teamSize:n.users.count}):{teamSize:void 0}});f.meta={name:"fetchTeamTargetingCriteria",key:"createThunkFetchTeamTargetingCriteria",description:"Fetch and set team targeting info from CDS"};let _=(0,i.A)(()=>new o.Ay({storeKey:"teamTargetingCriteria",fetch:e=>(0,s.Qw)(e,f()),isEnabled:()=>!0,metricsName:"team_targeting_criteria"})),maybeRefetch=e=>_().maybeRefetch(e,"teamTargetingCriteria"),p=(0,n.Ay)((e,t=!0)=>{if(!e)return;let a=(0,r.ZT)(e);if(a)return t&&maybeRefetch(a),e?.teamTargetingCriteria?.teamSize});p.meta={name:"getCurrentTeamSize",key:"createSelectorGetCurrentTeamSize",description:(e,t=!0)=>{if(!e)return;let a=(0,r.ZT)(e);if(a)return t&&maybeRefetch(a),e?.teamTargetingCriteria?.teamSize}},(0,n.Ay)(e=>e?.teamTargetingCriteria?.teamSize).meta={name:"getTeamSize",key:"createSelectorGetTeamSize",description:e=>e?.teamTargetingCriteria?.teamSize}},0xb96bc369:(e,t,a)=>{"use strict";a.d(t,{ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x1a8cc04e1),o=a(0x1266f1359),s=a(0x1e2d84aaa);let l=(0,n.A)(()=>new i.Ay({storeKey:"teams",fetch:(e,t)=>(0,o.Qw)(e,(0,s.JG)({ids:t,reason:"conditional-fetching"})),isEnabled:()=>!0,metricsName:"teams"})),maybeRefetch=(e,t)=>l().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>l().markObjectsAsFresh(e,t);(0,r.zv)("conditionalFetchManagerTeams",l)},0xbea6f915:(e,t,a)=>{"use strict";a.d(t,{wo:()=>D,Zs:()=>j,ZO:()=>L,au:()=>U,gH:()=>P,JR:()=>V,mp:()=>C,sN:()=>K,IA:()=>w,$e:()=>M,Mx:()=>W,eF:()=>q,YX:()=>x,Ek:()=>H,no:()=>O,qq:()=>v,Ry:()=>R,P8:()=>F,Zr:()=>G,Ro:()=>B});var n=a(0x33644bb7),r=a(0x9e671ad),i=a(0x1aa941557),o=a(0x17294c72a),s=a(0x20ef3966f),l=a(0x1d24ec95f),c=a(0x21f3c49e8),d=a(0xe874a88a),u=a(0x1df96de4c),m=a(0x2264e6ea3),f=a(0x17cc64c8),_=a(0x22a29f141);let p=(0,a(0x1dfdeb1c8).A)("Get the profile for the current team from the API",(e,t,{reason:a}={})=>e((0,_.apiCall)({method:"team.profile.get",reason:a})));p.meta={name:"fetchTeamProfileApi",key:"createFetcherFetchTeamProfileApi",description:"Get the profile for the current team from the API"};var h=a(0xa1832ae4),g=a(0x1ec68d6a3),A=a(0xcf658893),b=a(0x11c82607b),y=a(0x9b971e7e),S=a(0x24aeaa8b2),E=a(0x1b3f8f344),k=a(0x1ee439e69),T=a(0x23a11dd28);let I=(0,b.Ay)("Update a team only if exists",(e,t,{teamId:a,update:r}={})=>{let i=t(),o=a||(0,y.ZT)(i),s=(0,k._J)(i,o,!1);if(!(0,h.hc)(s))return;let l=(0,n.A)(r)?r(s):r;l&&e((0,T.XS)({team:{...s,...l}}))});I.meta={name:"updateTeam",key:"createThunkUpdateTeam",description:"Update a team only if exists"};let w=(0,b.Ay)("Rename a team",(e,t,{teamId:a,name:n}={})=>{e(I({teamId:a,update:{name:n}}))});w.meta={name:"renameTeam",key:"createThunkRenameTeam",description:"Rename a team"};let C=(0,A.Ay)("Triggers maybeUpdateTeamIconSideEffect side effect that syncs the local config and client store with the new icon");C.meta={name:"postTeamIconUpdate",key:"createActionPostTeamIconUpdate",description:"Triggers maybeUpdateTeamIconSideEffect side effect that syncs the local config and client store with the new icon"};let v=(0,b.Ay)("Update icon for a team",(e,t,{teamId:a,icon:n}={})=>{e(I({teamId:a,update:{icon:n}})),e(C({teamId:a,icon:n}))});v.meta={name:"updateTeamIcon",key:"createThunkUpdateTeamIcon",description:"Update icon for a team"};let x=(0,b.Ay)("Updates the number of public retention channels on a team",(e,t,{teamId:a,retentionChannelCount:n}={})=>{e(I({teamId:a,update:{retention_channel_count:n}}))});x.meta={name:"updateRetentionChannelCount",key:"createThunkUpdateRetentionChannelCount",description:"Updates the number of public retention channels on a team"};let R=(0,b.Ay)("Update is_migrating for a team",(e,t,{teamId:a,isMigrating:n}={})=>{e(I({teamId:a,update:{is_migrating:n}}))});R.meta={name:"updateTeamIsMigrating",key:"createThunkUpdateTeamIsMigrating",description:"Update is_migrating for a team"};let O=(0,b.Ay)("Update externalOrgMigrated (client-only property) for a team",(e,t,{teamId:a,externalOrgMigrated:n,isMigrating:r}={})=>{e(I({teamId:a,update:{externalOrgMigrated:n,is_migrating:r}}))});O.meta={name:"updateTeamExternalOrgMigrated",key:"createThunkUpdateTeamExternalOrgMigrated",description:"Update externalOrgMigrated (client-only property) for a team"};let N=(0,b.Ay)("Alter pinned canvases for an external workspace",(e,t,{externalWorkspaceId:a,getUpdatedPinnedCanvases:n})=>{let i=(0,k._J)(t(),a,!1);if(!i)return;let o=n(i.pinned_canvases??u.Ml);if(!(0,r.A)(i?.pinned_canvases,o))return e(I({teamId:a,update:{pinned_canvases:o.length>0?o:u.Ml}}))});N.meta={name:"alterExternalWorkspacePinnedCanvases",key:"createThunkAlterExternalWorkspacePinnedCanvases",description:"Alter pinned canvases for an external workspace"};let D=(0,b.Ay)("Add to the list of pinned canvases for an external workspace",(e,t,{externalWorkspaceId:a,canvasToAdd:n})=>e(N({externalWorkspaceId:a,getUpdatedPinnedCanvases:e=>[...e,n]})));D.meta={name:"addExternalWorkspacePinnedCanvas",key:"createThunkAddExternalWorkspacePinnedCanvas",description:"Add to the list of pinned canvases for an external workspace"},(0,b.Ay)("Remove from the list of pinned canvases for an external workspace",(e,t,{externalWorkspaceId:a,canvasIdToRemove:n})=>e(N({externalWorkspaceId:a,getUpdatedPinnedCanvases:e=>e.filter(e=>e.canvas_id!==n)}))).meta={name:"removeExternalWorkspacePinnedCanvas",key:"createThunkRemoveExternalWorkspacePinnedCanvas",description:"Remove from the list of pinned canvases for an external workspace"};let L=(0,b.Ay)("Delete team profile fields",(e,t,{teamId:a,fieldsToDelete:n}={})=>{let r=(0,i.A)(n);e(I({teamId:a,update:({profile:e}={})=>{if(!e||!e.fields||!e.fields.length)return null;let t=e.fields;return{profile:{...e,fields:t.filter(e=>void 0===r[e.id])}}}}))});L.meta={name:"deleteTeamProfileFields",key:"createThunkDeleteTeamProfileFields",description:"Delete team profile fields"};let M=(0,b.Ay)("Reorder team profile fields",(e,t,{teamId:a,fields:n}={})=>{let r=(0,i.A)(n,"id");e(I({teamId:a,update:({profile:e}={})=>{if(!e||!e.fields||!e.fields.length)return null;let t=(0,o.A)((0,s.A)(e.fields,e=>r[e.id]?{...e,...r[e.id]}:e),"ordering");return{profile:{...e,fields:t}}}}))});M.meta={name:"reorderTeamProfileFields",key:"createThunkReorderTeamProfileFields",description:"Reorder team profile fields"};let F=(0,b.Ay)("Update team profile fields",(e,t,{teamId:a,fields:n}={})=>{e(I({teamId:a,update:({profile:e}={})=>{if(!e||!e.fields||!e.fields.length)return null;let t=(0,i.A)(e.fields,"id"),[a,r]=(0,l.A)(n,e=>void 0!==t[e.id]),c=(0,i.A)(a,"id"),d=e.fields;return a.length>0&&(d=(0,o.A)((0,s.A)(e.fields,e=>c[e.id]?{...e,...c[e.id]}:e),"ordering")),r.length>0&&(d=d.concat(r)),{profile:{...e,fields:d}}}}))});F.meta={name:"updateTeamProfileFields",key:"createThunkUpdateTeamProfileFields",description:"Update team profile fields"};let P=(0,b.Ay)("Ensure team is known in org",(e,t,{teamId:a=null,additionalOptions:n={},reason:r=""}={})=>e((0,f.vp)({teamId:a,additionalOptions:n,reason:r})).then(t=>e((0,T.XS)({team:t}))).catch(()=>!1));P.meta={name:"ensureEnterpriseTeamIsKnown",key:"createThunkEnsureEnterpriseTeamIsKnown",description:"Ensure team is known in org"};let U=(0,b.Ay)("Ensure team is known in org by domain",(e,t,a)=>{if(!a)return d.S.reject(Error("ensureEnterpriseTeamByDomain: No domain provided!"));let n=(0,k.lL)(t(),a);return n?d.S.resolve(n):e(P({teamId:null,additionalOptions:{domain:a}})).then(e=>e||d.S.reject(Error("ensureEnterpriseTeamByDomain: Team not found")))});U.meta={name:"ensureEnterpriseTeamByDomain",key:"createThunkEnsureEnterpriseTeamByDomain",description:"Ensure team is known in org by domain"};let B=(0,b.Ay)('Upserts and sets the current user\u2019s team (workspace-level "team")',(e,t,{team:a}={})=>{if(!a||!a.id||!(0,m.Ay)(a.id))throw Error("Invalid team model object passed into upsertSelfTeam");return e((0,E.h)({id:a.id})),e((0,T.XS)({team:a}))});B.meta={name:"upsertSelfTeam",key:"createThunkUpsertSelfTeam",description:'Upserts and sets the current user\u2019s team (workspace-level "team")'};let G=(0,b.Ay)('Upserts and sets the current user\u2019s enterprise org (org-level "team")',(e,t,{team:a}={})=>{if(!a||!a.id||!(0,m.JV)(a.id))throw Error("Invalid enterprise team model object passed into upsertSelfEnterprise.");return(0,m.JV)(a.id)||(0,g.default)({getState:t}).error(`Object with invalid enterprise id passed into upsertSelfEnterprise. Got enterprise id = ${a.id}`),e((0,S.B)({id:a.id})),e((0,T.XS)({team:a}))});G.meta={name:"upsertSelfEnterprise",key:"createThunkUpsertSelfEnterprise",description:'Upserts and sets the current user\u2019s enterprise org (org-level "team")'};let H=(0,b.Ay)("Update self enterprise org name",(e,t,a)=>{if(!a)return d.S.reject(Error("updateSelfEnterpriseName: No name provided"));let n=(0,k.lp)(t());return!n||(0,h.Zx)(n)?d.S.reject(Error("updateSelfEnterpriseName: Enterprise team not found")):e((0,T.XS)({team:{...n,name:a}}))});H.meta={name:"updateSelfEnterpriseName",key:"createThunkUpdateSelfEnterpriseName",description:"Update self enterprise org name"};let W=(0,b.Ay)("Update organization name for all enterprise teams of the organization",(e,t,a)=>{if(!a)return d.S.reject(Error("updateEnterpriseNameForAllTeams: No name provided"));let n=(0,k.lp)(t());if(!n||(0,h.Zx)(n))return d.S.reject(Error("updateEnterpriseNameForAllTeams: Enterprise team not found"));let r=(0,k.iq)(t(),n.id);return r&&r.length?d.S.all(r.map(t=>e(I({teamId:t.id,update:{enterprise_name:a}})))):d.S.resolve()});W.meta={name:"updateEnterpriseNameForAllTeams",key:"createThunkUpdateEnterpriseNameForAllTeams",description:"Update organization name for all enterprise teams of the organization"};let V=(0,b.Ay)("Get the profile for the current team",(e,t,{reason:a}={})=>e(p({reason:a})).then(a=>{if(!a||(0,c.A)(a.profile))return d.S.resolve();let n=t();return e(I({teamId:(0,y.ZT)(n),update:{profile:a.profile}}))}));V.meta={name:"fetchTeamProfile",key:"createThunkFetchTeamProfile",description:"Get the profile for the current team"};let j=(0,A.Ay)("Add team");j.meta={name:"addTeam",key:"createActionAddTeam",description:"Add team"};let K=(0,A.Ay)("Remove team");K.meta={name:"removeTeam",key:"createActionRemoveTeam",description:"Remove team"};let q=(0,A.Ay)("Trigger side effects when a migration for an external org has updated");q.meta={name:"updateExternalTeamMigration",key:"createActionUpdateExternalTeamMigration",description:"Trigger side effects when a migration for an external org has updated"}},0x1ee439e69:(e,t,a)=>{"use strict";a.d(t,{Xp:()=>Y,eD:()=>$,iK:()=>B,iq:()=>L,fu:()=>q,H7:()=>V,Po:()=>j,Yc:()=>K,bf:()=>et,Fo:()=>ee,H2:()=>J,dj:()=>X,lp:()=>Q,BQ:()=>Z,FR:()=>z,lL:()=>G,fz:()=>P,_J:()=>M,DK:()=>F,BP:()=>U,zz:()=>en,Dz:()=>er,se:()=>ea,Hx:()=>ei});var n=a(0x16475a65c),r=a(0xca924ee1),i=a(0x1e2051844),o=a(0x7d48dd65),s=a(0xe67fcf33),l=a(0x21f3c49e8),c=a(0xc9a382f9),d=a(0xc9c97240),u=a(0x19b3ba9fd),m=a(0x2264e6ea3),f=a(0x1675fec49),_=a(0x15f4f83cf),p=a(0xae0b47e2),h=a(0xa1832ae4),g=a(0x6960d8b9),A=a(0x2119ca8c5),b=a(0x1cf0d97e1),y=a(0x9b971e7e),S=a(0xdf55e8f3),E=a(0x2231c0f3f),k=a(0x1266f1359),T=a(0x165bb8fb3),I=a(0xb96bc369),w=a(0x17cc64c8),C=a(0x1ec68d6a3),v=a(0x11c82607b),x=a(0xbea6f915);let R=(0,v.Ay)("fetches enterprise info and updates the store",(e,t)=>e((0,w.Mu)()).then(t=>{t&&t.id&&e((0,x.Zr)({team:t}))}).catch(e=>{(0,C.default)({getState:t}).error(e,"Error fetching enterprise info")}));R.meta={name:"fetchAndUpsertEnterpriseOrgInfo",key:"createThunkFetchAndUpsertEnterpriseOrgInfo",description:"fetches enterprise info and updates the store"};var O=a(0x23a11dd28);function fetchTeamsForTeamId(e,t,a,r=!1){if(!a)throw Error("fetchTeamsForTeamId requires a reason");let i=(0,k.$D)(e),o=t.filter(e=>i&&i.teams&&i.teams[e]),s=(0,n.A)(t,o);return(0,k.Qw)(e,(0,f.D_)({ids:s,reason:a,includeHiddenTeams:r})).catch(()=>[]).then((t=[])=>{let a=(0,k.$D)(e),n=o.map(e=>a&&a.teams[e]);return t.concat(n)})}function upsertTeamsForTeamId(e,t){t.map(t=>(0,k.Qw)(e,(0,O.XS)({team:t})))}let N=(0,r.A)(()=>new _.Ay({fetch:(e,t)=>fetchTeamsForTeamId(e,t,"UnknownFetchManager"),metricsName:"teams",upsertKnown:upsertTeamsForTeamId,upsertNonExistent:upsertTeamsForTeamId})),D=(0,r.A)(()=>new _.Ay({fetch:(e,t)=>fetchTeamsForTeamId(e,t,"UnknownFetchManager",!0),metricsName:"teams",upsertKnown:upsertTeamsForTeamId,upsertNonExistent:upsertTeamsForTeamId}));function getFirstTeamIdAssociatedWithEnterpriseId(e,t){let a=(0,i.A)(e&&e.teams,{enterprise_id:t});return a&&a.id}let L=(0,d.Mz)((e,t)=>e.teams,(e,t)=>t,(e,t)=>(0,o.A)(e,{enterprise_id:t}));function retrieveTeam(e,t,a,n=!1){let r=e&&e.teams&&e.teams[t],i=(0,y.ZT)(e)||(0,y.jV)(e);return r?((0,I.ez)(i,r.id),r):a?n?D().fetchObjectWithId(i,t):N().fetchObjectWithId(i,t):null}function getTeamByIdSelector(e,t,a=!0,n=!1){return e&&((0,m.JV)(t)||(0,m.Ay)(t))?retrieveTeam(e,t,a,n):null}let M=(0,b.Ay)(getTeamByIdSelector);M.meta={name:"getTeamById",key:"createSelectorGetTeamById",description:getTeamByIdSelector};let F=(0,b.Ay)((e,t=[],a=!0)=>t.map(t=>M(e,t,a)).filter(u.b));F.meta={name:"getTeamsById",key:"createSelectorGetTeamsById",description:(e,t=[],a=!0)=>t.map(t=>M(e,t,a)).filter(u.b)};let P=(0,b.Ay)((e,t)=>M(e,getFirstTeamIdAssociatedWithEnterpriseId(e,t)));P.meta={name:"getTeamByEnterpriseId",key:"createSelectorGetTeamByEnterpriseId",description:(e,t)=>M(e,getFirstTeamIdAssociatedWithEnterpriseId(e,t))};let U=(0,b.Ay)((e,t)=>(0,s.A)(e,["teams",t]));U.meta={name:"hasTeamWithId",key:"createSelectorHasTeamWithId",description:(e,t)=>(0,s.A)(e,["teams",t])};let B=(0,b.Ay)(e=>e&&e.teams);B.meta={name:"getAllTeams",key:"createSelectorGetAllTeams",description:e=>e&&e.teams};let G=(0,b.Ay)((e,t)=>{let a=(0,i.A)(e&&e.teams,{domain:t});return a?.id?M(e,a.id):null});G.meta={name:"getTeamByDomain",key:"createSelectorGetTeamByDomain",description:(e,t)=>{let a=(0,i.A)(e&&e.teams,{domain:t});return a?.id?M(e,a.id):null}};let H=(0,b.Ay)(e=>M(e,(0,y.ZT)(e)));H.meta={name:"getCurrentTeamUnmemoized",key:"createSelectorGetCurrentTeamUnmemoized",description:e=>M(e,(0,y.ZT)(e))};let W=(0,E.A)(H),V=(0,b.Ay)(e=>(0,A.Y)(e)?W(e):H(e));V.meta={name:"getCurrentTeam",key:"createSelectorGetCurrentTeam",description:e=>(0,A.Y)(e)?W(e):H(e)};let j=(0,b.Ay)(e=>M(e,(0,y.JY)(e)));j.meta={name:"getCurrentTeamOrEnterprise",key:"createSelectorGetCurrentTeamOrEnterprise",description:e=>M(e,(0,y.JY)(e))};let K=(0,b.Ay)(e=>M(e,(0,y.Kc)(e)));K.meta={name:"getCurrentTopLevelTeam",key:"createSelectorGetCurrentTopLevelTeam",description:e=>M(e,(0,y.Kc)(e))};let q=(0,b.Ay)(e=>{let t=(0,y.s_)(e);return t?M(e,t):null});q.meta={name:"getCurrentOrDefaultWorkspace",key:"createSelectorGetCurrentOrDefaultWorkspace",description:e=>{let t=(0,y.s_)(e);return t?M(e,t):null}};let z=(0,S.$j)(e=>F(e,(0,y.kN)(e)??[]),e=>e),$=(0,S.$j)(e=>F(e,(0,y.VO)(e)??[]),e=>e),Y=(0,b.Ay)(e=>e&&e.teams&&(0,o.A)(e.teams,"enterprise_id"));Y.meta={name:"getAllEnterpriseTeams",key:"createSelectorGetAllEnterpriseTeams",description:e=>e&&e.teams&&(0,o.A)(e.teams,"enterprise_id")},(0,b.Ay)((e,t)=>!!e&&!!t&&(0,h.hc)(e&&e.teams&&e.teams[t])).meta={name:"isTeamExistent",key:"createSelectorIsTeamExistent",description:(e,t)=>!!e&&!!t&&(0,h.hc)(e&&e.teams&&e.teams[t])};let Q=(0,b.Ay)(e=>{if(!e)return;let t=(0,y.jV)(e);return t?M(e,t):null});Q.meta={name:"getSelfEnterpriseTeam",key:"createSelectorGetSelfEnterpriseTeam",description:e=>{if(!e)return;let t=(0,y.jV)(e);return t?M(e,t):null}};let Z=(0,S.eI)(e=>{if(!e)return;let t=(0,y.jV)(e);return t?M(e,t):null}),J=(0,b.Ay)(e=>{if(!e)return"";let t=Q(e);return(0,p.v4)(t)});J.meta={name:"getSelfEnterpriseOrgName",key:"createSelectorGetSelfEnterpriseOrgName",description:e=>{if(!e)return"";let t=Q(e);return(0,p.v4)(t)}};let X=(0,b.Ay)(e=>{if(!e)return"";let t=Q(e);return(0,p.X2)(t)});X.meta={name:"getSelfEnterpriseOwnerEmail",key:"createSelectorGetSelfEnterpriseOwnerEmail",description:e=>{if(!e)return"";let t=Q(e);return(0,p.X2)(t)}};let ee=(0,b.Ay)(e=>{if(!e)return"";let t=Q(e);return(0,p.VZ)(t)});ee.meta={name:"getSelfEnterpriseIDPLabel",key:"createSelectorGetSelfEnterpriseIDPLabel",description:e=>{if(!e)return"";let t=Q(e);return(0,p.VZ)(t)}};let et=(0,b.Ay)(e=>{let t=Q(e);return t?.primary_owner});et.meta={name:"getEnterprisePrimaryOwner",key:"createSelectorGetEnterprisePrimaryOwner",description:e=>{let t=Q(e);return t?.primary_owner}},(0,b.Ay)(e=>e&&e.bootData&&e.bootData.enterprise_url?`https://${e.bootData.enterprise_url}/`:"").meta={name:"getSelfEnterpriseOrgUrl",key:"createSelectorGetSelfEnterpriseOrgUrl",description:e=>e&&e.bootData&&e.bootData.enterprise_url?`https://${e.bootData.enterprise_url}/`:""},(0,b.Ay)(e=>{let t=Q(e);if((0,l.A)(t)){let t=R();(0,c.A)(k.Qw,(0,y.ZT)(e),t)}return t||{}}).meta={name:"getPotentiallyUnknownEnterprise",key:"createSelectorGetPotentiallyUnknownEnterprise",description:e=>{let t=Q(e);if((0,l.A)(t)){let t=R();(0,c.A)(k.Qw,(0,y.ZT)(e),t)}return t||{}}},(0,b.Ay)(e=>!!(0,h.qR)(V(e))).meta={name:"getCurrentTeamIsPaidTeam",key:"createSelectorGetCurrentTeamIsPaidTeam",description:e=>!!(0,h.qR)(V(e))};let ea=(0,b.Ay)(e=>{let t=j(e);return!!t?.simplified_grid_upgrade_eligible});ea.meta={name:"isTeamEligibleForSimpleGridUpgrade",key:"createSelectorIsTeamEligibleForSimpleGridUpgrade",description:e=>{let t=j(e);return!!t?.simplified_grid_upgrade_eligible}};let en=(0,b.Ay)(e=>(0,T.wq)(e));en.meta={name:"isTeamAutoSlack",key:"createSelectorIsTeamAutoSlack",description:e=>(0,T.wq)(e)};let er=(0,b.Ay)(e=>(0,T.wq)(e));er.meta={name:"isTeamAutoSlackForOnboarding",key:"createSelectorIsTeamAutoSlackForOnboarding",description:e=>(0,T.wq)(e)};let ei=(0,b.Ay)(e=>{let t=j(e),a=t?.date_create?1e3*t.date_create:new Date;return 90>(0,g.ez)(new Date,a)});ei.meta={name:"shouldShowGrid101",key:"createSelectorShouldShowGrid101",description:e=>{let t=j(e),a=t?.date_create?1e3*t.date_create:new Date;return 90>(0,g.ez)(new Date,a)}},Object.defineProperty({getFirstTeamIdAssociatedWithEnterpriseId},"unknownFetchManager",{get:()=>N()})},0x1e2d84aaa:(e,t,a)=>{"use strict";a.d(t,{JG:()=>_,OU:()=>m,U4:()=>u,dj:()=>p,vB:()=>f});var n=a(0x21f3c49e8),r=a(0xe874a88a),i=a(0x1675fec49),o=a(0x22a29f141),s=a(0x11c82607b),l=a(0x1ee439e69),c=a(0x23a11dd28);let d=(0,s.Ay)("Fetch all teams connected via external shared channels",(e,t,{ids:a,includeAll:n=!1,includeApprovedOrgs:r=!1,reason:i="fetchExternalTeams"}={})=>e((0,o.apiCall)({method:"team.listExternal",args:{...a&&{teams:a},include_all_visible:+!!n,include_approved_orgs:+!!r},reason:i})));d.meta={name:"fetchExternalTeams",key:"createThunkFetchExternalTeams",description:"Fetch all teams connected via external shared channels"};let u=(0,s.Ay)("Fetch all teams connected via external shared channels",(e,t,{includeApprovedOrgs:a=!1,reason:n="fetchAndUpsertExternalTeams"}={})=>e(d({includeApprovedOrgs:a,reason:n})).then(a=>{let{teams:n}=a;return processTeams(t(),e,n,{allTeamsAreExternal:!0})}).catch(e=>{throw e}));u.meta={name:"fetchAndUpsertExternalTeams",key:"createThunkFetchAndUpsertExternalTeams",description:"Fetch all teams connected via external shared channels"};let m=(0,s.Ay)("Upsert an array of TeamSummaryApi objects",(e,t,{teams:a})=>{processTeams(t(),e,a,{allTeamsAreExternal:!0})});m.meta={name:"upsertExternalTeamSummaries",key:"createThunkUpsertExternalTeamSummaries",description:"Upsert an array of TeamSummaryApi objects"};let f=(0,s.Ay)("Fetches and upserts user groups that match a query",(e,t,{query:a,count:n,ids:r,marker:o,reason:s="fetchAndUpsertTeamsWithQuery",signal:l}={})=>e((0,i.Fo)({query:a,count:n,ids:r,marker:o,reason:s,signal:l})).then(a=>({teams:processTeams(t,e,a?.items),next_cursor_mark:a?.next_cursor_mark})));function processTeams(e,t,a,{allTeamsAreExternal:n=!1}={}){return a.map(e=>t((0,c.XS)({team:e,isExternal:n})))}f.meta={name:"fetchAndUpsertTeamsWithQuery",key:"createThunkFetchAndUpsertTeamsWithQuery",description:"Fetches and upserts user groups that match a query"};let _=(0,s.Ay)("Fetches and upserts missing teams from the API",(e,t,{ids:a,reason:o}={})=>(0,n.A)(a)?r.S.resolve([]):e((0,i.D_)({ids:a,reason:o})).then((t=[])=>t.map(t=>e((0,c.XS)({team:t})))));_.meta={name:"fetchAndUpsertTeamsFromAPI",key:"createThunkFetchAndUpsertTeamsFromAPI",description:"Fetches and upserts missing teams from the API"};let p=(0,s.Ay)("Returns the enterprise organization\u2019s primary owner's email",(e,t)=>{let a=t();return(0,l.dj)(a)});p.meta={name:"getSelfEnterpriseOwnerEmail",key:"createThunkGetSelfEnterpriseOwnerEmail",description:"Returns the enterprise organization\u2019s primary owner's email"}},0x23a11dd28:(e,t,a)=>{"use strict";a.d(t,{XS:()=>w});var n=a(0x244f35bf8),r=a(0x77727995),i=a(0x155d02b1c),o=a(0x18af67efb),s=a(0x45a875a6);let l=(0,a(0x1133e6f81).A)("TS.permissions.teams.canLeaveTeam",()=>!1);var c=a(0xb8504a42),d=a(0x3711e82d),u=a(0x45012309),m=a(0x209e067d1),f=a(0x11d0b0bd1),_=a(0x11c82607b),p=a(0x9b971e7e),h=a(0x1d600678),g=a(0x1266f1359),A=a(0x5dd50c72),b=a(0x180732543),y=a(0x105f056cd),S=a(0x5294713e),E=a(0x141589b4d),k=a(0xb96bc369),T=a(0xbea6f915),I=a(0x1ee439e69);let w=(0,_.Ay)("Upsert a team",(e,t,{team:a,isExternal:n=!1}={})=>{if(!a||!a.id)return a;let r=t(),i=(0,p.ZT)(r)||(0,p.jV)(r);(0,k.mY)(i,[a.id]);let o=(0,I.BP)(r,a.id)?(0,I._J)(r,a.id,!1):{},l=computeUnknown(o,a),c=mergeProfile(o,a),d=computeOtherAccount(a),u=computeIsMigrating(o,a),m={...o,...a,...l,...u,profile:c,...d};return n&&e((0,b.j)({id:m.id})),processExternalOrgMigrations(e,r,m),m=maybeSetEnterpriseProperties(m),(0,s.r5)()||processSalesforceFeatures(e,i,m),processPlanInfo(e,i,m),e((0,T.Zs)(m)).payload});function computeOtherAccount(e){let{_other_account:t}=e;return{_other_account:!!t}}function mergeProfile(e={},t={}){let a=e.profile,n=t.profile,r=computeProfileFields(a,n);return{...a,...n,fields:r}}function computeProfileFields({fields:e}={},{fields:t}={}){let a=e&&!t?e:t;return(0,n.A)(a)?a:[]}function computeUnknown(e={},t={}){return t.name||e.name?{isUnknown:!1,isNonExistent:!1}:{}}function computeIsMigrating(e={},t={}){return void 0!==t.is_migrating?{is_migrating:t.is_migrating}:void 0!==e.is_migrating?{}:{is_migrating:!1}}function processExternalOrgMigrations(e,t,a={}){if(!a.external_org_migrations)return;let n=(0,p.ZT)(t);if(a.id!==n)return;if((0,A.u)(t)){let e=(0,I._J)(t,n),i=(0,r.A)(e,"external_org_migrations.date_updated");if(void 0!==i&&i<a.external_org_migrations.date_updated){let n=`team.external_org_migrations has updated for current team ${e.id} (cached: ${i} updated: ${a.external_org_migrations.date_updated}), external team data could be stale`;(0,m.A)()?(0,f.As)({immediate:!0,reason:n,reasonKey:"external_org_migrations"}):(0,f.yQ)({noCache:!0,reason:n,reasonKey:"external_org_migrations"});let r=(0,u.eo)({state:t});r.track(d.EventId.ENTERPRISE_EXTERNAL_ORG_MIGRATION,{contexts:{ui_context:{action:d.UiAction.FORCE_COLD_BOOT,step:(0,E.o4)(t)?d.UiStep.RECONNECT:d.UiStep.BOOT}}}),r.sendDataAndEmptyQueue()}}let i=!1;a.external_org_migrations.current&&a.external_org_migrations.current.forEach(a=>{let n=(0,I._J)(t,a.team_id);n&&(e(w({team:{...n,is_migrating:!0}})),i=!0)}),i&&e((0,T.eF)())}function maybeSetDiscoverability(e){if(!(0,c.r7)(e))return e;switch(e.is_open=!1,e.is_closed=!1,e.is_unlisted=!1,e.discoverable||(0,g.oK)(e.id)&&(0,h.x)((0,g.$D)(e.id),"discoverable")){case"public":case"open":e.is_open=!0;break;case"private":case"closed":e.is_closed=!0;break;case"invite_only":e.is_invite_only=!0;break;default:e.is_unlisted=!0}return e}function maybeSetDescription(e){return(0,c.r7)(e)&&(e.description=(0,i.A)(e.description)),e}function maybeSetUserCounts(e){return(0,c.r7)(e)&&(e.user_counts||(e.user_counts={}),e.user_counts.active_members||(e.user_counts.active_members=0)),e}function maybeSetJoinedDate(e){return(0,c.r7)(e)&&void 0===e.joined_date&&(e.joined_date=0),e}function maybeSetCanLeaveTeam(e){return(0,c.r7)(e)&&l(e)&&(e.can_leave=!0,e.cannot_leave_reasons=[]),e}function maybeSetTopChannels(e){if(!(0,c.r7)(e))return e;if(e.top_combined_channels||(e.top_combined_channels=[]),e.your_channels||e.your_groups){let t=[];e.your_channels&&(t=t.concat(e.your_channels)),e.your_groups&&(t=t.concat(e.your_groups)),e.top_combined_channels=(0,o.A)(e.top_combined_channels.concat(t),"id").sort((e,t)=>{let a=e.name.toLowerCase(),n=t.name.toLowerCase();return a<n?-1:+(a>n)})}return e}function maybeSetEnterpriseProperties(e){if(!(0,c.r7)(e))return e;let t=e;return maybeSetTopChannels(t=maybeSetCanLeaveTeam(t=maybeSetJoinedDate(t=maybeSetUserCounts(t=maybeSetDescription(t=maybeSetDiscoverability(t))))))}function processSalesforceFeatures(e,t,a){t===a.id&&(void 0!==a.lob_sales_home_enabled&&e((0,S.CD)(a.lob_sales_home_enabled)),void 0!==a.is_sfdc_auto_slack&&e((0,S.En)(a.is_sfdc_auto_slack)))}function processPlanInfo(e,t,a){if(!t||t!==a.id)return;let n={};void 0!==a.is_plan_frozen&&(n.is_plan_frozen=a.is_plan_frozen),"reconnect_grace_period_start_ts"in a&&void 0!==a.reconnect_grace_period_start_ts&&(n.reconnect_grace_period_start_ts=a.reconnect_grace_period_start_ts),Object.keys(n).length>0&&e((0,y.M)(n))}w.meta={name:"upsertTeam",key:"createThunkUpsertTeam",description:"Upsert a team"}},0x235c05c79:(e,t,a)=>{"use strict";a.d(t,{$k:()=>i,E6:()=>f,F$:()=>c,GC:()=>r,HC:()=>u,Kc:()=>s,Oh:()=>_,aV:()=>o,eW:()=>m,pJ:()=>d,uD:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Jump to a reply timestamp");r.meta={name:"jumpToReply",key:"createActionJumpToReply",description:"Jump to a reply timestamp"};let i=(0,n.Ay)("Clears the jump-to timestamp");i.meta={name:"clearStartTs",key:"createActionClearStartTs",description:"Clears the jump-to timestamp"};let o=(0,n.Ay)("Clears the active highlight");o.meta={name:"clearHighlight",key:"createActionClearHighlight",description:"Clears the active highlight"};let s=(0,n.Ay)("Show or hide the drag overlay");s.meta={name:"setShowDragOverlay",key:"createActionSetShowDragOverlay",description:"Show or hide the drag overlay"};let l=(0,n.Ay)("Clear metadata for a thread in a window");l.meta={name:"clearThread",key:"createActionClearThread",description:"Clear metadata for a thread in a window"};let c=(0,n.Ay)("Focus when the thread is loaded");c.meta={name:"setFocusRequested",key:"createActionSetFocusRequested",description:"Focus when the thread is loaded"};let d=(0,n.Ay)("Focus the input when the thread is loaded");d.meta={name:"setFocusInput",key:"createActionSetFocusInput",description:"Focus the input when the thread is loaded"};let u=(0,n.Ay)("Cancel request to focus the given thread's input");u.meta={name:"cancelFocusInput",key:"createActionCancelFocusInput",description:"Cancel request to focus the given thread's input"};let m=(0,n.Ay)("Save thread scrollmark when thread component is unmounted");m.meta={name:"saveScrollmark",key:"createActionSaveScrollmark",description:"Save thread scrollmark when thread component is unmounted"};let f=(0,n.Ay)("Clear thread scrollmark when thread component is mounted");f.meta={name:"clearScrollmark",key:"createActionClearScrollmark",description:"Clear thread scrollmark when thread component is mounted"};let _=(0,n.Ay)("Removes all thread metadata for a window");_.meta={name:"clearThreadsForWindow",key:"createActionClearThreadsForWindow",description:"Removes all thread metadata for a window"}},0x812355f4:(e,t,a)=>{"use strict";a.d(t,{GD:()=>_,Ss:()=>f});var n=a(0x1aba66b56),r=a(0xca924ee1),i=a(0xe874a88a),o=a(0x19b3ba9fd),s=a(0x6327b0da),l=a(0x1a8cc04e1),c=a(0x15f4f83cf),d=a(0x105ecbbed),u=a(0x1266f1359),m=a(0xe505b125);function upsertSubscriptionsForTeamId(e,t){(0,u.Qw)(e,(0,m.S)({subscriptions:t}))}function fetchSubscriptionsForTeamId(e,t){return i.S.all(t.map(t=>{let{channelId:a,threadTs:r}=(0,d.Sb)(t);return a&&r?(0,u.Qw)(e,(0,s.Nf)({channelId:a,threadTs:r})).then(({subscriptions:e}={})=>{let i=(0,n.A)(e,r);return{id:t,channelId:a,ts:r,subscribed:i}}):null})).then(e=>e.filter(o.b))}let f=(0,r.A)(()=>new c.Ay({fetch:(e,t)=>fetchSubscriptionsForTeamId(e,t),upsertKnown:upsertSubscriptionsForTeamId,upsertNonExistent:upsertSubscriptionsForTeamId})),_=(0,r.A)(()=>new l.Ay({storeKey:"threadSub",fetch:(e,t)=>fetchSubscriptionsForTeamId(e,t)}))},0x926eb3d:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>o,Tp:()=>i,o1:()=>r});let{reducer:n,actions:r,selectors:i}=(0,a(0x107594e0c).A)({storeKey:"threadSub",persistenceEnabled:!0}),o=n},0x28c6a9ff:(e,t,a)=>{"use strict";a.d(t,{Ov:()=>f,R1:()=>u,fc:()=>getThreadSubById,nq:()=>d,pn:()=>m,uV:()=>c});var n=a(0x15f4f83cf),r=a(0x105ecbbed),i=a(0x1cf0d97e1),o=a(0x9b971e7e),s=a(0x812355f4);let{getObjectById:l}=a(0x926eb3d).Tp,getThreadSubById=(e,t)=>l(e,t),c=(0,i.Ay)((e,{channelId:t,ts:a}={})=>e&&t&&a?getThreadSubById(e,(0,r.Iu)(t,a)||""):null);c.meta={name:"getSubscription",key:"createSelectorGetSubscription",description:(e,{channelId:t,ts:a}={})=>e&&t&&a?getThreadSubById(e,(0,r.Iu)(t,a)||""):null};let d=(0,i.Ay)((e,{channelId:t,ts:a,fetchIfMissing:i=!0}={})=>{if(!e||!t||!a)return null;let l=(0,r.Iu)(t,a),d=c(e,{channelId:t,ts:a}),u=(0,o.ZT)(e);return d&&"boolean"==typeof d.subscribed?((0,s.GD)().maybeRefetch(u,d.id),d):d&&(0,n.GU)(d)?d:i?(0,s.Ss)().fetchObjectWithId(u,l||""):null});d.meta={name:"getSubscriptionState",key:"createSelectorGetSubscriptionState",description:(e,{channelId:t,ts:a,fetchIfMissing:i=!0}={})=>{if(!e||!t||!a)return null;let l=(0,r.Iu)(t,a),d=c(e,{channelId:t,ts:a}),u=(0,o.ZT)(e);return d&&"boolean"==typeof d.subscribed?((0,s.GD)().maybeRefetch(u,d.id),d):d&&(0,n.GU)(d)?d:i?(0,s.Ss)().fetchObjectWithId(u,l||""):null}};let u=(0,i.Ay)((e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&!!n.subscribed});u.meta={name:"getIsSubscribed",key:"createSelectorGetIsSubscribed",description:(e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&!!n.subscribed}};let m=(0,i.Ay)((e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&"boolean"==typeof n.subscribed});m.meta={name:"getIsSubscriptionLoaded",key:"createSelectorGetIsSubscriptionLoaded",description:(e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&"boolean"==typeof n.subscribed}};let f=(0,i.Ay)((e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&!!n.isUnknown});f.meta={name:"getIsSubscriptionLoading",key:"createSelectorGetIsSubscriptionLoading",description:(e,{channelId:t,ts:a}={})=>{let n=d(e,{channelId:t,ts:a});return!!n&&!!n.isUnknown}}},0x898edbc1:(e,t,a)=>{"use strict";a.d(t,{C:()=>u});var n=a(0xdefaa6fc),r=a(0x21f83e7e5);function moveTimestampBackInTime(e){let t=e.split("."),a=t[1],i=parseInt(a,10);if(0===i){let e=parseInt(t[0],10);return`${e-1}.999999`}let o=a.length-`${i}`.length,s=i-1,l=o>0?(0,n.A)(`${s}`,6,"0"):`${s}`,c=6===`${l}`.length?`${l}`:(0,r.A)(`${l}`,6,"0");return`${t[0]}.${c}`}var i=a(0x6327b0da),o=a(0x105ecbbed),s=a(0xb2b38ac2),l=a(0x11c82607b),c=a(0x28c6a9ff),d=a(0x74cf0ed5);let u=(0,l.Ay)("Updates the last_read for a thread",(e,t,a)=>{let{channelId:n,ts:r,lastRead:l,read:u=!0}=a||{},m=(0,c.nq)(t(),{channelId:n,ts:r});if(u&&(!m?.subscribed||m?.lastRead&&m?.lastRead===l))return;e((0,d.C)({channelId:n,ts:r,lastRead:u?l:moveTimestampBackInTime(l)}));let f=(0,o.Iu)(n,r);e((0,s.f)({lastReadCursor:l,threadKey:f})),e((0,i.C2)({channelId:n,threadTs:r,lastRead:l,read:u}))});u.meta={name:"markThread",key:"createThunkMarkThread",description:"Updates the last_read for a thread"}},0x74cf0ed5:(e,t,a)=>{"use strict";a.d(t,{C:()=>l});var n=a(0x105ecbbed),r=a(0x11c82607b),i=a(0x926eb3d),o=a(0x28c6a9ff);let{addObjects:s}=i.o1,l=(0,r.Ay)("Update thread subscription status",(e,t,a)=>{let{channelId:r,ts:i,id:l,...c}=a||{},d=l||(0,n.Iu)(r,i);d&&e(s({objects:[{...(0,o.fc)(t(),d),id:d,...c}]}))});l.meta={name:"setSubscription",key:"createThunkSetSubscription",description:"Update thread subscription status"}},0xe505b125:(e,t,a)=>{"use strict";a.d(t,{S:()=>u});var n=a(0x105ecbbed),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x812355f4),s=a(0x926eb3d),l=a(0x28c6a9ff);let{addObjects:c}=s.o1,d=(0,r.Ay)("Update many thread subscriptions",(e,t,a)=>{let{subscriptions:r}=a||{},i=[];(r||[]).forEach(e=>{let{channelId:a,ts:r,id:o,...s}=e||{},c=o||(0,n.Iu)(a,r);if(!c)return;let d=(0,l.fc)(t(),c);i.push({...d,id:c,...s})}),i.length&&e(c({objects:i}))});d.meta={name:"bulkSetSubscriptions",key:"createThunkBulkSetSubscriptions",description:"Update many thread subscriptions"};let u=(0,r.Ay)("Upsert some subscriptions",(e,t,{subscriptions:a}={})=>{if(!a?.length)return;let r=(0,i.ZT)(t()),s=a.map(e=>e.id||(0,n.Iu)(e.channelId,e.ts)).filter(e=>!!e);(0,o.GD)().markObjectsAsFresh(r,s),e(d({subscriptions:a}))});u.meta={name:"upsertSubscriptions",key:"createThunkUpsertSubscriptions",description:"Upsert some subscriptions"}},0x1ad5bc318:(e,t,a)=>{"use strict";a.d(t,{G:()=>n});let n=(0,a(0xcf658893).Ay)("Go to next toast state");n.meta={name:"nextToastInternal",key:"createActionNextToastInternal",description:"Go to next toast state"}},0x1f9089af7:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>o,QX:()=>getShouldErrorInTestIfNoContainer,UB:()=>i,lv:()=>s});var n=a(0xba77ecb9),r=a(0x1ad5bc318);let getShouldErrorInTestIfNoContainer=()=>!1,i={},o=(0,n.Ay)({},{},{persistenceEnabled:!0,storeKey:"toast"}).on(r.G,(e,t)=>({...e,[t]:(e[t]||0)+1})),s={}},0xf9124039:(e,t,a)=>{"use strict";a.d(t,{HL:()=>s,Ly:()=>l,c8:()=>makeToastStoreKey,kD:()=>getStringifiedWindowId,lM:()=>getQueueForTeamAndWindow,xD:()=>c});var n=a(0x1cf0d97e1),r=a(0x9b971e7e),i=a(0x1f9089af7),o=a(0x19895585a);let s=(0,n.Ay)((e,t)=>e?.toast?.[String(t)]||0);s.meta={name:"getToastKey",key:"createSelectorGetToastKey",description:(e,t)=>e?.toast?.[String(t)]||0};let getStringifiedWindowId=e=>e===o.N2?"main":e,makeToastStoreKey=(e,t=o.N2)=>`${e}-${getStringifiedWindowId(t)}`,getQueueForTeamAndWindow=(e,t)=>{let a=makeToastStoreKey(e,t);return i.UB[a]||[]},l=(0,n.Ay)((e,t)=>(s(e,t??""),getQueueForTeamAndWindow((0,r.JY)(e),t)[0]||null));l.meta={name:"getCurrentToast",key:"createSelectorGetCurrentToast",description:(e,t)=>(s(e,t??""),getQueueForTeamAndWindow((0,r.JY)(e),t)[0]||null)};let c=(0,n.Ay)(e=>!!l(e));c.meta={name:"isToastShowing",key:"createSelectorIsToastShowing",description:e=>!!l(e)}},0x6ea1f0ed:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});var n=a(0x11cdf8541),r=a(0x1ec68d6a3),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x1ad5bc318),l=a(0x1f9089af7),c=a(0xf9124039),d=a(0x19895585a);let u=(0,i.Ay)("Dismiss the current toast",(e,t,a,i)=>{let u=t(),m=(0,o.JY)(u),f=i(n.C).windowId||d.N2;((e,t=d.N2)=>{let a=(0,c.c8)(e,t),n=l.UB[a],i=(0,c.kD)(t);n?n.length?l.UB[a]=n.slice(1):(0,r.default)({teamId:e}).warn(`Empty toast queue for team ${e} and window ${i}`):(0,r.default)({teamId:e}).warn(`No toast queue found for team ${e} and window ${i}`)})(m,f),e((0,s.G)(String(f)))});u.meta={name:"dismissCurrentToast",key:"createThunkDismissCurrentToast",description:"Dismiss the current toast"}},0x16ffed5ab:(e,t,a)=>{"use strict";a.d(t,{M:()=>p});var n=a(0xbad225b5),r=a(0x1914b45dc),i=a(0x22480f425),o=a(0x11cdf8541),s=a(0x1d73a63ad),l=a(0x1ec68d6a3),c=a(0x11c82607b),d=a(0x9b971e7e),u=a(0x1ad5bc318),m=a(0x1f9089af7),f=a(0xf9124039),_=a(0x19895585a);let p=(0,c.Ay)("Enqueue a toast message",(e,t,{element:a,targetWindow:c,targetWindowId:p}={},h)=>{var g;let A,b,y=(0,l.default)({getState:t});if(!n.isValidElement(a))return void y.error("enqueueToast: toast is not a valid React element");let S=t(),E=(0,d.JY)(S),k=p;c&&!k&&(k=(0,s.f5)(c)),k||(k=h(o.C).windowId||_.N2);let T=(0,f.c8)(E,k),I=(0,r.A)()||(0,i.A)();!m.lv[T]&&(!I||(0,m.QX)())?y.error(`enqueueToast: No ToastContainer mounted for team ${E} and window ${(0,f.kD)(k)}`):1===(g=k,A=(0,f.c8)(E,g),b=(0,f.lM)(E,g).concat([a]),m.UB[A]=b,b).length&&e((0,u.G)(String(k)))});p.meta={name:"enqueueToast",key:"createThunkEnqueueToast",description:"Enqueue a toast message"}},0x1a6af17a1:(e,t,a)=>{"use strict";a.d(t,{Dj:()=>isNativeCalUIEnabled,_V:()=>isTodayExperimentEnabled});var n=a(0x14149c126);let isTodayExperimentEnabled=e=>"on"===(0,n._Z)(e,"today"),isNativeCalUIEnabled=e=>"on"===(0,n._Z)(e,"native_cal_ui")},0x10fd1d7a8:(e,t,a)=>{"use strict";a.d(t,{N:()=>o,s:()=>s});var n=a(0x658a411c),r=a(0x1cf0d97e1),i=a(0x1bc4b3ad8);let o=(0,r.Ay)((e,t)=>!!e?.topics?.[t]?.desynced);o.meta={name:"isTopicDesynced",key:"createSelectorIsTopicDesynced",description:(e,t)=>!!e?.topics?.[t]?.desynced};let s=(0,i.F)(e=>e?.topics,(e={})=>(0,n.A)(e,e=>!!e?.desynced))},0x14a385132:(e,t,a)=>{"use strict";a.d(t,{CW:()=>i,Yw:()=>o,nH:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set serialized data for a key");r.meta={name:"setSerializedData",key:"createActionSetSerializedData",description:"Set serialized data for a key"};let i=(0,n.Ay)("Clear all serialized data");i.meta={name:"clearSerializedData",key:"createActionClearSerializedData",description:"Clear all serialized data"};let o=(0,n.Ay)("Clear the data for a single key");o.meta={name:"clearSerializedDataForKey",key:"createActionClearSerializedDataForKey",description:"Clear the data for a single key"}},0xc386ba5:(e,t,a)=>{"use strict";a.d(t,{$m:()=>u,LI:()=>l,SO:()=>o,iz:()=>r,nF:()=>s,o7:()=>i,pA:()=>c,t:()=>m,wx:()=>d});var n=a(0xcf658893);let r=(0,n.Ay)("Set the initial unread counts");r.meta={name:"setInitialUnreadCounts",key:"createActionSetInitialUnreadCounts",description:"Set the initial unread counts"};let i=(0,n.Ay)("Update the initial unread count for a single channel");i.meta={name:"setInitialUnreadCountsForChannel",key:"createActionSetInitialUnreadCountsForChannel",description:"Update the initial unread count for a single channel"};let o=(0,n.Ay)("Set initial and per-channel counts and calculate totals");o.meta={name:"initializeUnreadCounts",key:"createActionInitializeUnreadCounts",description:"Set initial and per-channel counts and calculate totals"};let s=(0,n.Ay)("Update the per-channel counts for a single channel");s.meta={name:"unreadCountForChannelChanged",key:"createActionUnreadCountForChannelChanged",description:"Update the per-channel counts for a single channel"};let l=(0,n.Ay)("Update the unread counts for threads");l.meta={name:"unreadCountForThreadsChanged",key:"createActionUnreadCountForThreadsChanged",description:"Update the unread counts for threads"};let c=(0,n.Ay)("Set the list of enterprise channels to exclude from total counts");c.meta={name:"setChannelsToSuppress",key:"createActionSetChannelsToSuppress",description:"Set the list of enterprise channels to exclude from total counts"};let d=(0,n.Ay)("Remove some channels from countsPerChannel");d.meta={name:"omitChannelsFromCounts",key:"createActionOmitChannelsFromCounts",description:"Remove some channels from countsPerChannel"};let u=(0,n.Ay)("Update channel badges counts");u.meta={name:"updateChannelBadgesCounts",key:"createActionUpdateChannelBadgesCounts",description:"Update channel badges counts"};let m=(0,n.Ay)("Update the counts last fetched timestamp");m.meta={name:"updateCountsLastFetched",key:"createActionUpdateCountsLastFetched",description:"Update the counts last fetched timestamp"}},0x13d8d1bde:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>l,n6:()=>s});var n=a(0x6258badf),r=a(0x2047dec93),i=a(0xba77ecb9),o=a(0xc386ba5);let s={channelsToSuppress:{},countsPerChannel:{},initialUnreads:{},suppressThreads:!1,threadsLastUpdatedTimestamp:"0",threadsMentionCount:0,threadsMentionCountByChannel:{},threadsUnreadCount:0,totalUnreadHighlights:0,totalUnreadHighlightsWithoutThreadUnreads:0,totalUnreads:0,totalUnreadsInChannels:0,totalUnsuppressedUnreadsInChannels:0,channelBadges:{thread_mentions:0,thread_unreads:0},totalUnreadHighlightsWithoutDms:0,totalUnreadHighlightsWithoutDmsAndThreadUnreads:0},l=(0,i.Ay)({},s,{storeKey:"unreadCounts",persistenceEnabled:!0}).on(o.iz,(e,t)=>({...e,initialUnreads:t})).on(o.o7,(e,{id:t,unreadCnt:a,unreadHighlightCnt:n,unreadVIPMentionCnt:r}={})=>({...e,initialUnreads:{...e.initialUnreads,[t]:{unreadCnt:a,unreadHighlightCnt:n,unreadVIPMentionCnt:r}}})).on(o.SO,(e,{initialUnreads:t,countsPerChannel:a,channelsToSuppress:n}={})=>({...e,initialUnreads:t,countsPerChannel:a,channelsToSuppress:n,...calculateTotalCounts(a,e.threadsUnreadCount,n,e.suppressThreads,e.channelBadges)})).on(o.nF,(e,t)=>{if(!t)return e;let{id:a,unreadCnt:r,unreadHighlightCnt:i}=t,o=r||i?{...e.countsPerChannel,[a]:{unreadCnt:r,unreadHighlightCnt:i}}:(0,n.A)(e.countsPerChannel,a);return{...e,countsPerChannel:o,...calculateTotalCounts(o,e.threadsUnreadCount,e.channelsToSuppress,e.suppressThreads,e.channelBadges)}}).on(o.LI,(e,t)=>{if(!t)return e;let a=t.threadsUnreadCount||0,n=t.threadsUnreadCountByChannel,r=t.threadsMentionCount||0,i=t.threadsMentionCountByChannel||{},o=t.threadsLastUpdatedTimestamp||e.threadsLastUpdatedTimestamp,s=t.suppressThreads||!1;return{...e,threadsUnreadCount:a,threadsUnreadCountByChannel:n,threadsMentionCount:r,threadsMentionCountByChannel:i,threadsLastUpdatedTimestamp:o,suppressThreads:s,channelBadges:{...e.channelBadges,thread_unreads:a,thread_mentions:r},...calculateTotalCounts(e.countsPerChannel,a,e.channelsToSuppress,s,e.channelBadges)}}).on(o.pA,(e,t)=>t?{...e,channelsToSuppress:t,...calculateTotalCounts(e.countsPerChannel,e.threadsUnreadCount,t,e.suppressThreads,e.channelBadges)}:e).on(o.wx,(e,{channelIds:t}={})=>{if(!t||!t.length)return e;let a=(0,n.A)(e.countsPerChannel,t);return{...e,countsPerChannel:a,...calculateTotalCounts(a,e.threadsUnreadCount,e.channelsToSuppress,e.suppressThreads,e.channelBadges)}}).on(o.$m,(e,t)=>{let a={...e.channelBadges,...t};return{...e,channelBadges:a,...calculateTotalCounts(e.countsPerChannel,e.threadsUnreadCount,e.channelsToSuppress,e.suppressThreads,a)}}).on(o.t,(e,t)=>({...e,countsLastFetched:t}));function calculateTotalCounts(e={},t=0,a={},i=!1,o={}){let s=(0,r.A)(Object.values(e),e=>e.unreadCnt??0),l=Object.values((0,n.A)(e,Object.keys(a))),c=(0,r.A)(l,e=>e.unreadCnt??0),d=(o?.channels||0)+(o?.thread_mentions||0)+(o?.thread_unreads||0)+(o?.dms||0)+(o?.app_dms||0),u=(o?.channels||0)+(o?.thread_mentions||0)+(o?.dms||0)+(o?.app_dms||0);return{totalUnreadsInChannels:c,totalUnsuppressedUnreadsInChannels:s,totalUnreads:c+(!i&&t||0),totalUnreadHighlights:d,totalUnreadHighlightsWithoutThreadUnreads:u,totalUnreadHighlightsWithoutDms:(o?.channels||0)+(o?.thread_mentions||0)+(o?.thread_unreads||0)+(o?.app_dms||0),totalUnreadHighlightsWithoutDmsAndThreadUnreads:(o?.channels||0)+(o?.thread_mentions||0)+(o?.app_dms||0)}}},0x1067595c0:(e,t,a)=>{"use strict";a.d(t,{Cc:()=>b,Do:()=>g,Lh:()=>u,Z6:()=>i,aX:()=>_,b4:()=>c,bH:()=>m,f3:()=>s,kP:()=>o,nJ:()=>p,rM:()=>h,ty:()=>l,xY:()=>A,zx:()=>f});var n=a(0x1cf0d97e1),r=a(0x13d8d1bde);(0,n.Ay)(e=>e?.unreadCounts?.totalUnreadsInChannels).meta={name:"getTotalUnreadsInChannels",key:"createSelectorGetTotalUnreadsInChannels",description:e=>e?.unreadCounts?.totalUnreadsInChannels};let i=(0,n.Ay)(e=>e?.unreadCounts?.totalUnreads);i.meta={name:"getTotalUnreads",key:"createSelectorGetTotalUnreads",description:e=>e?.unreadCounts?.totalUnreads};let o=(0,n.Ay)(e=>e?.unreadCounts?.totalUnreads>0);o.meta={name:"teamHasUnreads",key:"createSelectorTeamHasUnreads",description:e=>e?.unreadCounts?.totalUnreads>0};let s=(0,n.Ay)(e=>e?.unreadCounts?.totalUnsuppressedUnreadsInChannels>0);s.meta={name:"hasUnsuppressedUnreadChannels",key:"createSelectorHasUnsuppressedUnreadChannels",description:e=>e?.unreadCounts?.totalUnsuppressedUnreadsInChannels>0},(0,n.Ay)(e=>e?.unreadCounts?.totalUnsuppressedUnreadsInChannels).meta={name:"getTotalUnsuppressedUnreadsInChannels",key:"createSelectorGetTotalUnsuppressedUnreadsInChannels",description:e=>e?.unreadCounts?.totalUnsuppressedUnreadsInChannels};let l=(0,n.Ay)(e=>e?.unreadCounts?.countsPerChannel);l.meta={name:"getCountsPerChannel",key:"createSelectorGetCountsPerChannel",description:e=>e?.unreadCounts?.countsPerChannel};let c=(0,n.Ay)((e,t)=>e?.unreadCounts?.initialUnreads[t]);c.meta={name:"getInitialUnreadCountsByChannelId",key:"createSelectorGetInitialUnreadCountsByChannelId",description:(e,t)=>e?.unreadCounts?.initialUnreads[t]};let d={unreadCnt:0,unreadHighlightCnt:0,unreadVIPMentionCnt:0},u=(0,n.Ay)((e,t)=>{let a=l(e);return a&&a[t]||d});u.meta={name:"getCountsForChannel",key:"createSelectorGetCountsForChannel",description:(e,t)=>{let a=l(e);return a&&a[t]||d}};let m=(0,n.Ay)(e=>e?.unreadCounts?.channelsToSuppress);m.meta={name:"getChannelsToSuppress",key:"createSelectorGetChannelsToSuppress",description:e=>e?.unreadCounts?.channelsToSuppress};let f=(0,n.Ay)(e=>e?.unreadCounts?.threadsUnreadCount>0);f.meta={name:"hasUnreadThreads",key:"createSelectorHasUnreadThreads",description:e=>e?.unreadCounts?.threadsUnreadCount>0},(0,n.Ay)(e=>e?.unreadCounts?.threadsUnreadCount).meta={name:"getThreadsUnreadCount",key:"createSelectorGetThreadsUnreadCount",description:e=>e?.unreadCounts?.threadsUnreadCount};let _=(0,n.Ay)(e=>e?.unreadCounts?.threadsUnreadCountByChannel);_.meta={name:"getThreadsUnreadCountByChannel",key:"createSelectorGetThreadsUnreadCountByChannel",description:e=>e?.unreadCounts?.threadsUnreadCountByChannel};let p=(0,n.Ay)(e=>e?.unreadCounts?.threadsMentionCount);p.meta={name:"getThreadsMentionCount",key:"createSelectorGetThreadsMentionCount",description:e=>e?.unreadCounts?.threadsMentionCount};let h=(0,n.Ay)(e=>e?.unreadCounts?.threadsMentionCountByChannel);h.meta={name:"getThreadsMentionCountByChannel",key:"createSelectorGetThreadsMentionCountByChannel",description:e=>e?.unreadCounts?.threadsMentionCountByChannel},(0,n.Ay)(e=>e?.unreadCounts?.threadsLastUpdatedTimestamp).meta={name:"getThreadsLastUpdatedTimestamp",key:"createSelectorGetThreadsLastUpdatedTimestamp",description:e=>e?.unreadCounts?.threadsLastUpdatedTimestamp};let g=(0,n.Ay)(e=>l(e)!==r.n6.countsPerChannel);g.meta={name:"hasCountsPerChannelChanged",key:"createSelectorHasCountsPerChannelChanged",description:e=>l(e)!==r.n6.countsPerChannel};let A=(0,n.Ay)(e=>e?.unreadCounts?.channelBadges);A.meta={name:"getChannelBadgesCount",key:"createSelectorGetChannelBadgesCount",description:e=>e?.unreadCounts?.channelBadges},(0,n.Ay)(e=>e?.unreadCounts?.totalUnreadHighlightsWithoutThreadUnreads).meta={name:"getTotalUnreadHighlightsWithoutThreadUnreads",key:"createSelectorGetTotalUnreadHighlightsWithoutThreadUnreads",description:e=>e?.unreadCounts?.totalUnreadHighlightsWithoutThreadUnreads};let b=(0,n.Ay)(e=>e?.unreadCounts?.countsLastFetched);b.meta={name:"getCountsLastFetched",key:"createSelectorGetCountsLastFetched",description:e=>e?.unreadCounts?.countsLastFetched}},0x20ddbda49:(e,t,a)=>{"use strict";a.d(t,{AK:()=>f,ET:()=>c,QL:()=>d,Ue:()=>_,_s:()=>u,iF:()=>m});var n=a(0x2264e6ea3),r=a(0xc04a0cb6),i=a(0x11809ca3c),o=a(0x1cf0d97e1),s=a(0x9b971e7e),l=a(0x1ee439e69);let getUserEnterpriseAccountType=(e,t,a)=>{if(!(0,i.h)(e))return!1;let o=(0,s.jV)(e);if(!o||!e?.userAccountTypes?.enterprise?.[o]?.[t])return!1;if(!a)return!0;if((0,n.JV)(a))return o===a;if(!(0,n.Ay)(a))return!1;let c=(0,l._J)(e,a,!1);return!!(o===c?.enterprise_id||(0,r.N)(e,c))},c=(0,o.Ay)((e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterprisePrimaryOwner",t));c.meta={name:"isUserEnterprisePrimaryOwner",key:"createSelectorIsUserEnterprisePrimaryOwner",description:(e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterprisePrimaryOwner",t)};let d=(0,o.Ay)((e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterpriseOwner",t));d.meta={name:"isUserEnterpriseOwner",key:"createSelectorIsUserEnterpriseOwner",description:(e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterpriseOwner",t)};let u=(0,o.Ay)((e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterpriseAdmin",t));u.meta={name:"isUserEnterpriseAdmin",key:"createSelectorIsUserEnterpriseAdmin",description:(e,{teamId:t}={})=>getUserEnterpriseAccountType(e,"isEnterpriseAdmin",t)};let getUserWorkspaceAccountType=(e,t,a)=>{if(!(0,i.h)(e))return!1;let r=a||(0,s.ZT)(e);return!!r&&!!(0,n.Ay)(r)&&(e?.userAccountTypes?.workspaces?.[r]?.[t]||!1)},m=(0,o.Ay)((e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspacePrimaryOwner",t));m.meta={name:"isUserWorkspacePrimaryOwner",key:"createSelectorIsUserWorkspacePrimaryOwner",description:(e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspacePrimaryOwner",t)};let f=(0,o.Ay)((e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspaceOwner",t));f.meta={name:"isUserWorkspaceOwner",key:"createSelectorIsUserWorkspaceOwner",description:(e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspaceOwner",t)};let _=(0,o.Ay)((e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspaceAdmin",t));_.meta={name:"isUserWorkspaceAdmin",key:"createSelectorIsUserWorkspaceAdmin",description:(e,{teamId:t}={})=>getUserWorkspaceAccountType(e,"isWorkspaceAdmin",t)}},0x1565d06ef:(e,t,a)=>{"use strict";a.d(t,{P:()=>n});let n=(0,a(0x1cf0d97e1).Ay)((e,t)=>{let a=e?.userAlerts?.[t];return a?a.unreadCount:0});n.meta={name:"getUserAlertsUnreadCount",key:"createSelectorGetUserAlertsUnreadCount",description:(e,t)=>{let a=e?.userAlerts?.[t];return a?a.unreadCount:0}}},0x687556ae:(e,t,a)=>{"use strict";a.d(t,{QF:()=>s,nc:()=>l});var n=a(0x9b44b68b),r=a(0xc9c97240),i=a(0x1cf0d97e1);let o=(0,i.Ay)(e=>e?.userGroupMembership);o.meta={name:"getAllUserGroupMembership",key:"createSelectorGetAllUserGroupMembership",description:e=>e?.userGroupMembership};let s=(0,r.Mz)(e=>o(e),e=>(0,n.A)(e).filter(t=>e?.[t]?.isMember)),l=(0,i.Ay)((e,t)=>e?.userGroupMembership?.[t]?.isMember||!1);l.meta={name:"isUserGroupMember",key:"createSelectorIsUserGroupMember",description:(e,t)=>e?.userGroupMembership?.[t]?.isMember||!1}},0xaac3cc35:(e,t,a)=>{"use strict";a.d(t,{$:()=>r,ES:()=>s,GQ:()=>o,S9:()=>d,Yp:()=>i,kt:()=>c,ub:()=>u,zz:()=>l});var n=a(0xcf658893);let r=(0,n.Ay)("Add a user group, overwriting anything previously stored with the same id");r.meta={name:"addGroup",key:"createActionAddGroup",description:"Add a user group, overwriting anything previously stored with the same id"};let i=(0,n.Ay)("Remove a user group");i.meta={name:"removeGroup",key:"createActionRemoveGroup",description:"Remove a user group"};let o=(0,n.Ay)("Bulk add user groups, overwriting anything previously stored with the same id");o.meta={name:"bulkAddGroups",key:"createActionBulkAddGroups",description:"Bulk add user groups, overwriting anything previously stored with the same id"};let s=(0,n.Ay)("Add a member to a group");s.meta={name:"addMemberToGroup",key:"createActionAddMemberToGroup",description:"Add a member to a group"};let l=(0,n.Ay)("Bulk add members to a user group, overwriting anything previously stored in the users field");l.meta={name:"bulkAddMembersToGroup",key:"createActionBulkAddMembersToGroup",description:"Bulk add members to a user group, overwriting anything previously stored in the users field"};let c=(0,n.Ay)("Append members to a user group (pagination)");c.meta={name:"appendMembersToGroup",key:"createActionAppendMembersToGroup",description:"Append members to a user group (pagination)"};let d=(0,n.Ay)("Remove a member from a group");d.meta={name:"removeMemberFromGroup",key:"createActionRemoveMemberFromGroup",description:"Remove a member from a group"};let u=(0,n.Ay)("Updates the purpose of the user group");u.meta={name:"updateDescription",key:"createActionUpdateDescription",description:"Updates the purpose of the user group"}},0xdd21b1a9:(e,t,a)=>{"use strict";a.d(t,{ez:()=>maybeRefetch,mY:()=>markObjectsAsFresh});var n=a(0xca924ee1),r=a(0x4f6e90b4),i=a(0x11e2b5969),o=a(0x1a8cc04e1),s=a(0x1266f1359);let l=(0,n.A)(()=>new o.Ay({storeKey:"userGroups",fetch:(e,t)=>(0,s.Qw)(e,(0,i.WU)({ids:t})),isEnabled:()=>!0,metricsName:"userGroups"})),maybeRefetch=(e,t)=>l().maybeRefetch(e,t),markObjectsAsFresh=(e,t)=>l().markObjectsAsFresh(e,t);(0,r.zv)("conditionalFetchManagerUserGroups",l)},0x475c9cfe:(e,t,a)=>{"use strict";a.d(t,{jJ:()=>R,Ss:()=>T,E_:()=>P,lJ:()=>I,xw:()=>L,ej:()=>U,UN:()=>F,IM:()=>O,Np:()=>D,D7:()=>M,JO:()=>x,dk:()=>w});var n=a(0xca924ee1),r=a(0x1aba66b56),i=a(0xe67fcf33),o=a(0x1e2051844),s=a(0x16475a65c),l=a(0xc9c97240),c=a(0x1df96de4c),d=a(0x18def662b),u=a(0x11e2b5969),m=a(0x15f4f83cf),f=a(0x61f75169),_=a(0x49e911f4),p=a(0xd2fa49d0);function makeUnknownUserGroup(e){return{id:e,name:e,isUnknown:!0,handle:e}}function makeNonExistentUserGroup(e){return{id:e,isNonExistent:!0}}var h=a(0x1cf0d97e1),g=a(0x9b971e7e),A=a(0xdf55e8f3),b=a(0x1266f1359),y=a(0x217553e42),S=a(0x687556ae),E=a(0xdd21b1a9),k=a(0x24d1dd698);let T=(0,n.A)(()=>new m.Ay({fetch:(e,t)=>fetchUserGroupsForTeamId(e,t,"UnknownFetchManager"),upsertKnown:upsertUserGroupsForTeamId,upsertNonExistent:upsertUserGroupsForTeamId,makeUnknownObject:makeUnknownUserGroup,makeNonExistentObject:makeNonExistentUserGroup,metricsName:"userGroups"})),I=(0,h.Ay)((e,t,a=!0)=>{if(!t)return!1;let n=e&&e.userGroups&&e.userGroups[t];if((0,_.DM)(e))return makeNonExistentUserGroup(t);let r=(0,g.JY)(e);return n?(0,E.ez)(r,n.id):(0,p.A)(t)?a&&r&&(n=T().fetchObjectWithId(r,t)):n=makeNonExistentUserGroup(t),n});I.meta={name:"getUserGroupById",key:"createSelectorGetUserGroupById",description:(e,t,a=!0)=>{if(!t)return!1;let n=e&&e.userGroups&&e.userGroups[t];if((0,_.DM)(e))return makeNonExistentUserGroup(t);let r=(0,g.JY)(e);return n?(0,E.ez)(r,n.id):(0,p.A)(t)?a&&r&&(n=T().fetchObjectWithId(r,t)):n=makeNonExistentUserGroup(t),n}},(0,h.Ay)((e,t,a=!0)=>!!t&&t.map(t=>I(e,t,a))).meta={name:"getUserGroupsByIds",key:"createSelectorGetUserGroupsByIds",description:(e,t,a=!0)=>!!t&&t.map(t=>I(e,t,a))};let w=(0,h.Ay)((e,t,a)=>{let n=I(e,t),r=a??(0,g.JY)(e);return(0,f.$Q)(n)!==r});w.meta={name:"isUserGroupFromAnotherTeam",key:"createSelectorIsUserGroupFromAnotherTeam",description:(e,t,a)=>{let n=I(e,t),r=a??(0,g.JY)(e);return(0,f.$Q)(n)!==r}};let C=(0,h.Ay)(e=>!!e&&!!e.userGroups&&e.userGroups);C.meta={name:"getAllUserGroups",key:"createSelectorGetAllUserGroups",description:e=>!!e&&!!e.userGroups&&e.userGroups};let v=(0,l.Mz)(e=>C(e),(e={})=>Object.values(e)),x=(0,h.Ay)((e,t)=>!!e&&!!t&&!!e&&!!e.userGroups&&(0,f.hc)(e.userGroups[t]));x.meta={name:"isUserGroupExistent",key:"createSelectorIsUserGroupExistent",description:(e,t)=>!!e&&!!t&&!!e&&!!e.userGroups&&(0,f.hc)(e.userGroups[t])};let R=(0,l.Mz)(e=>v(e),e=>e.filter(f.hc)),O=(0,h.Ay)((e,t)=>e&&t&&e.userGroups[t]&&e.userGroups[t].users?.length&&e.userGroups[t]?.users||c.Ml);O.meta={name:"getUserGroupMembers",key:"createSelectorGetUserGroupMembers",description:(e,t)=>e&&t&&e.userGroups[t]&&e.userGroups[t].users?.length&&e.userGroups[t]?.users||c.Ml};let N=(0,h.Ay)((e,{memberId:t,groupId:a})=>!!e&&!!e.userGroups&&!!e.userGroups[a]&&(0,r.A)(e.userGroups[a].users,t));N.meta={name:"isMemberInGroup",key:"createSelectorIsMemberInGroup",description:(e,{memberId:t,groupId:a})=>!!e&&!!e.userGroups&&!!e.userGroups[a]&&(0,r.A)(e.userGroups[a].users,t)};let D=(0,h.Ay)((e,t)=>(0,i.A)(e,["userGroups",t]));D.meta={name:"hasGroupWithId",key:"createSelectorHasGroupWithId",description:(e,t)=>(0,i.A)(e,["userGroups",t])};let L=(0,h.Ay)((e,t)=>!!e&&(0,o.A)(e.userGroups,{name:t}));L.meta={name:"getUserGroupByName",key:"createSelectorGetUserGroupByName",description:(e,t)=>!!e&&(0,o.A)(e.userGroups,{name:t})};let M=(0,h.Ay)((e,t,a)=>{if(!e||!t||!a||!D(e,t))return!1;let n=e.userGroups[t];return(0,f.G5)(n)===a});M.meta={name:"isSameVersionUserGroup",key:"createSelectorIsSameVersionUserGroup",description:(e,t,a)=>{if(!e||!t||!a||!D(e,t))return!1;let n=e.userGroups[t];return(0,f.G5)(n)===a}},(0,h.Ay)((e,t)=>t?v(e).filter(a=>N(e,{memberId:t,groupId:a.id})):[]).meta={name:"getMemberUserGroups",key:"createSelectorGetMemberUserGroups",description:(e,t)=>t?v(e).filter(a=>N(e,{memberId:t,groupId:a.id})):[]},(0,h.Ay)(e=>(0,S.QF)(e).map(t=>I(e,t))).meta={name:"getCurrentMemberUserGroups",key:"createSelectorGetCurrentMemberUserGroups",description:e=>(0,S.QF)(e).map(t=>I(e,t))},(0,h.Ay)((e,t)=>v(e).filter(e=>t?!e.date_delete:!e.date_delete&&e.team_id)).meta={name:"getActiveUserGroups",key:"createSelectorGetActiveUserGroups",description:(e,t)=>v(e).filter(e=>t?!e.date_delete:!e.date_delete&&e.team_id)};let F=(0,A.eI)((e,{userGroup:t,includePrivateChannels:a=!0,includeNonExistentChannels:n=!1})=>{if(!t||(0,m.GU)(t)||!t.prefs)return[];let r=t.prefs.channels||[];if(!a)return r;let i=t.prefs.groups||[];return n||(i=i.filter(t=>(0,y.gT)(e,t))),[...r,...i]}),P=(0,A.eI)((e,{userGroup:t})=>{let a=(0,d.Ow)(e);return!t||!t.prefs||(0,m.GU)(t)||!a?[]:(t.prefs.additional_channels||[]).filter(t=>(0,y.gT)(e,t))}),U=(0,A.eI)((e,{userGroup:t})=>!(0,d.Ow)(e)||!t||!t.prefs||(0,m.GU)(t)?null:t.prefs?.file_id);function fetchUserGroupsForTeamId(e,t,a){if(!a)throw Error("fetchUserGroupsForTeamId requires a reason");let n=(0,b.$D)(e),r=t.filter(e=>n&&n.userGroups&&n.userGroups[e]),i=(0,s.A)(t,r);return(0,b.Qw)(e,(0,u.iW)({ids:i,reason:a})).catch(()=>({userGroups:[]})).then(({userGroups:t=[]})=>{let a=(0,b.$D)(e),n=r.map(e=>a&&a.userGroups[e]);return t.concat(n)})}function upsertUserGroupsForTeamId(e,t){(0,b.Qw)(e,(0,k.A)({userGroups:t}))}},0x11bcaa7eb:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0x11c82607b),r=a(0x9b971e7e),i=a(0x475c9cfe);let o=(0,n.Ay)("fetch usergroup ids",(e,t,{userGroupIds:a})=>{let n=t(),o=(0,r.JY)(n);a.map(e=>(0,i.Ss)().fetchObjectWithId(o||"",e))});o.meta={name:"fetchUserGroupsById",key:"createThunkFetchUserGroupsById",description:"fetch usergroup ids"};let s=o},0xa85a6337:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(0x61f75169),r=a(0x49e911f4),i=a(0x11c82607b),o=a(0xaac3cc35),s=a(0x475c9cfe);let l=(0,i.Ay)("Upsert user group entity",(e,t,{userGroup:a,isBulkUpsert:r=!1})=>{let i=t();if(!i||!a||!a.id||(0,n.hc)(a)&&!a.name&&!a.handle)return null;let l=(0,s.Np)(i,a.id)?(0,s.lJ)(i,a.id):{},{name:c}=a,d={...l,...a,user_count:(0,n.Br)(a),_name_lc:c&&c.toLocaleLowerCase(),is_usergroup:!0};return d={...(e=>{let{isUnknown:t,...a}=e;return(0,n.ue)(e)?{...a,isNonExistent:!1}:a})(d)},r||e((0,o.GQ)([d])),d});l.meta={name:"upsertEntity",key:"createThunkUpsertEntity",description:"Upsert user group entity"};let c=(0,i.Ay)("Upsert User group",(e,t,a)=>!(!a||(0,r.DM)(t()))&&e(l(a)));c.meta={name:"upsertUserGroup",key:"createThunkUpsertUserGroup",description:"Upsert User group"};let d=c},0x24d1dd698:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(0x20ef3966f),r=a(0x49e911f4),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0xaac3cc35),l=a(0xdd21b1a9),c=a(0xa85a6337);let d="Upsert a user group",u=(0,i.Ay)(d,(e,t,{userGroups:a=[],reason:i=d})=>{if((0,r.DM)(t()))return!1;let u=[];a.forEach(t=>{let a=e((0,c.A)({userGroup:t,isBulkUpsert:!0,reason:i}));a&&u.push(a)});let m=(0,o.JY)(t()),f=(0,n.A)(a,"id");return(0,l.mY)(m,f),u.length&&e((0,s.GQ)(u)),u});u.meta={name:"upsertUserGroups",key:"createThunkUpsertUserGroups",description:d};let m=u},0x1780e8044:(e,t,a)=>{"use strict";a.d(t,{L:()=>o});var n=a(0x11c82607b),r=a(0xf052d367),i=a(0x18632f75a);let o=(0,n.Ay)("Fetch the recorded interactions for a list of user interactions, and load them if necessary",async(e,t,{interactions:a,reason:n})=>{let o=t(),s=[];return a.forEach(e=>{(0,r.kI)(o,e.component,e.type)||s.push(e)}),s.length>0&&(await e((0,i.b)({interactions:s,reason:n})),o=t()),a.map(({component:e,step:t,type:a})=>(0,r.Tn)(o,e,a,t))});o.meta={name:"getHasRecordedInteractionByComponent",key:"createThunkGetHasRecordedInteractionByComponent",description:"Fetch the recorded interactions for a list of user interactions, and load them if necessary"}},0x1472af90a:(e,t,a)=>{"use strict";a.d(t,{G7:()=>i,X8:()=>r,pn:()=>n});let n={Banner:"BANNER",Default:"DEFAULT",Dialog:"DIALOG",DunningDay14AdminBillingContactsBanner:"DUNNING_DAY_14_ADMIN_BILLING_CONTACTS_BANNER",DunningDay14OwnerCardholderBanner:"DUNNING_DAY_14_OWNER_CARDHOLDER_BANNER",DunningDay1Banner:"DUNNING_DAY_1_BANNER",DunningDay21AllUsersBanner:"DUNNING_DAY_21_ALL_USERS_BANNER",DunningDay21BillingStakeholdersBanner:"DUNNING_DAY_21_BILLING_STAKEHOLDERS_BANNER",DunningDay3AdminBillingContactsBanner:"DUNNING_DAY_3_ADMIN_BILLING_CONTACTS_BANNER",DunningDay3OwnerCardholderBanner:"DUNNING_DAY_3_OWNER_CARDHOLDER_BANNER",DunningDay7AdminBillingContactsBanner:"DUNNING_DAY_7_ADMIN_BILLING_CONTACTS_BANNER",DunningDay7OwnerCardholderBanner:"DUNNING_DAY_7_OWNER_CARDHOLDER_BANNER",EmailTrigger:"EMAIL_TRIGGER",Reaction:"REACTION",Tooltip:"TOOLTIP"},r={Click:"CLICK",Dismiss:"DISMISS",Impression:"IMPRESSION"},i={AddFromContactsCoachmark:"ADD_FROM_CONTACTS_COACHMARK",AddWorkspacesToSsbModal:"ADD_WORKSPACES_TO_SSB_MODAL",AllCompanyNameChannelForeword:"ALL_COMPANY_NAME_CHANNEL_FOREWORD",AllCompanyNameTemplatesChannelCoachmark:"ALL_COMPANY_NAME_TEMPLATES_CHANNEL_COACHMARK",AllCompanyNameTemplatesDeferredCoachmark:"ALL_COMPANY_NAME_TEMPLATES_DEFERRED_COACHMARK",AIWorkspaceResourceTabCoachmark:"AI_WORKSPACE_RESOURCE_TAB_COACHMARK",ApproachingMsgLimitBanner:"APPROACHING_MSG_LIMIT_BANNER",AutoXdeviceSigninMobilePrompt:"AUTO_XDEVICE_SIGNIN_MOBILE_PROMPT",CanvasEducationalPrompt:"CANVAS_EDUCATIONAL_PROMPT",CanvasSFDCRecordMenuItemTrigger:"CANVAS_SFDC_RECORD_MENU_ITEM_TRIGGER",CanvasSFDCRecordPlaceholderMenuItemTrigger:"CANVAS_SFDC_RECORD_PLACEHOLDER_MENU_ITEM_TRIGGER",ChannelAnalyticsCustomDateRangeCoachmark:"CHANNEL_ANALYTICS_CUSTOM_DATE_RANGE_COACHMARK",ChannelAnalyticsEditColumnsCoachmark:"CHANNEL_ANALYTICS_EDIT_COLUMNS_COACHMARK",ChannelInviteModalScscBanner:"CHANNEL_INVITE_MODAL_SCSC_BANNER",ChannelTabsAddChannelFolderBadge:"CHANNEL_TABS_ADD_CHANNEL_FOLDER_BADGE",ClipsNux:"CLIPS_NUX",ClipsNuxBlur:"CLIPS_NUX_BLUR",ClipsNuxEntrypointAudio:"CLIPS_NUX_ENTRYPOINT_AUDIO",ClipsNuxEntrypointVideo:"CLIPS_NUX_ENTRYPOINT_VIDEO",ClipsNuxPill:"CLIPS_NUX_PILL",ClipsRepackagingCoachmark:"CLIPS_REPACKAGING_COACHMARK",ConnectableContactsDmInviteCoachmark:"CONNECTABLE_CONTACTS_DM_INVITE_COACHMARK",ConnectableContactsDmInviteModal:"CONNECTABLE_CONTACTS_DM_INVITE_MODAL",ConnectableContactsDmInviteNonSlackCoachmark:"CONNECTABLE_CONTACTS_DM_INVITE_NON_SLACK_COACHMARK",ConnectableContactsDmInviteNonSlackModal:"CONNECTABLE_CONTACTS_DM_INVITE_NON_SLACK_MODAL",ConnectableContactsSearchAwarenessTip:"CONNECTABLE_CONTACTS_SEARCH_AWARENESS_TIP",ConnectInviteCoachmark:"CONNECT_INVITE_COACHMARK",ConnectInviteEduCoachmark:"CONNECT_INVITE_EDU_COACHMARK",CustomStatusAwarenessCoachmark:"CUSTOM_STATUS_AWARENESS_COACHMARK",DiscountPromo:"DISCOUNT_PROMO",DiscountPromoWithExistingDiscount:"DISCOUNT_PROMO_WITH_EXISTING_DISCOUNT",DownmarketCrmContactsPage:"DOWNMARKET_CRM_CONTACTS_PAGE",DunningClearedBanner:"DUNNING_CLEARED_BANNER",DunningNotice:"DUNNING_NOTICE",EducationDiscountPromoBanner:"EDUCATION_DISCOUNT_PROMO_BANNER",EmailDownloadAppNotification:"EMAIL_DOWNLOAD_APP_NOTIFICATION",ExternalConnectionsPageBanner:"EXTERNAL_CONNECTIONS_PAGE_BANNER",ExternalMemberAwarenessBanner:"EXTERNAL_MEMBER_AWARENESS_BANNER",FirstTimeRespondLaterCoachmark:"FIRST_TIME_RESPOND_LATER_COACHMARK",GoogleDriveRichConnectMessageForReceiver:"GOOGLE_DRIVE_RICH_CONNECT_MESSAGE_FOR_RECEIVER",GovSlackBanner:"GOV_SLACK_BANNER",GuestsPaidFeatureBadge:"GUESTS_PAID_FEATURE_BADGE",GuestsPaidFeatureBadgeV2:"GUESTS_PAID_FEATURE_BADGE_V2",GuestsPaidFeatureModalDropdown:"GUESTS_PAID_FEATURE_MODAL_DROPDOWN",HelpTourCoachmark:"HELP_TOUR_COACHMARK",HubNextEduBanner:"HUB_NEXT_EDU_BANNER",HuddlesTrialProBanner:"HUDDLES_TRIAL_PRO_BANNER",HuddleCallMenu:"HUDDLE_CALL_MENU",HuddleCallNudgesBanner:"HUDDLE_CALL_NUDGES_BANNER",HuddleEducationalCard:"HUDDLE_EDUCATIONAL_CARD",HuddleOnboardingCoachmark:"HUDDLE_ONBOARDING_COACHMARK",HuddleTrialStartCoachmark:"HUDDLE_TRIAL_START_COACHMARK",HuddleRecordingLegalModal:"HUDDLE_RECORDING_LEGAL_MODAL",HuddlePageBanner:"HUDDLE_PAGE_BANNER",HuddleCanvasButton:"HUDDLE_CANVAS_BUTTON",I18NJapanBetaSendBtnBanner:"I18N_JAPAN_BETA_SEND_BTN_BANNER",InproductTeamCreationMarketSegmentationModal:"INPRODUCT_TEAM_CREATION_MARKET_SEGMENTATION_MODAL",InproductTeamCreationWelcomeCard:"INPRODUCT_TEAM_CREATION_WELCOME_CARD",InstantSlackHuddlesTip:"INSTANT_SLACK_HUDDLES_TIP",IntroductionsEducationCoachmark:"INTRODUCTIONS_EDUCATION_COACHMARK",JustReachedMsgLimitBanner:"JUST_REACHED_MSG_LIMIT_BANNER",LimitedHistorySearchTrialOfferBanner:"LIMITED_HISTORY_SEARCH_TRIAL_OFFER_BANNER",ListsArchiveAddItemConfirmationModal:"LISTS_ARCHIVE_ADD_ITEM_CONFIRMATION_MODAL",LocalDiscountAwarenessBanner:"LOCAL_DISCOUNT_AWARENESS_BANNER",MemberCustomDateRangeCoachmark:"MEMBER_CUSTOM_DATE_RANGE_COACHMARK",MemberCustomDateRangeWorkspacesCoachmark:"MEMBER_CUSTOM_DATE_RANGE_WORKSPACES_COACHMARK",MentionAwarenessEphemeral:"MENTION_AWARENESS_EPHEMERAL",MentionAwarenessInlineTip:"MENTION_AWARENESS_INLINE_TIP",MobileAppPromoSocialProof:"MOBILE_APP_PROMO_SOCIAL_PROOF",MobileAwarenessBanner:"MOBILE_AWARENESS_BANNER",MobileAwarenessDirectMessagePromo:"MOBILE_AWARENESS_DIRECT_MESSAGE_PROMO",MobileSocialProofBanner:"MOBILE_SOCIAL_PROOF_BANNER",PaidBenefitsLink:"PAID_BENEFITS_LINK",PaidBenefitsPage:"PAID_BENEFITS_PAGE",PaidBenefitsSevenDaysLeftBanner:"PAID_BENEFITS_SEVEN_DAYS_LEFT_BANNER",PaidTeamsContactSalesBanner:"PAID_TEAMS_CONTACT_SALES_BANNER",PersistentMobilePromo:"PERSISTENT_MOBILE_PROMO",PlanInfo:"PLAN_INFO",PostTrialPromotionalDiscount:"POST_TRIAL_PROMOTIONAL_DISCOUNT",ProductivityReacji:"PRODUCTIVITY_REACJI",ProgressiveDisclosureHuddlesTip:"PROGRESSIVE_DISCLOSURE_HUDDLES_TIP",ProgressiveDisclosureTip:"PROGRESSIVE_DISCLOSURE_TIP",QuickReactions:"QUICK_REACTIONS",ReactjiAwarenessCoachmark:"REACTJI_AWARENESS_COACHMARK",RemoteWorkBanner:"REMOTE_WORK_BANNER",RepackagingAnnouncementBanner:"REPACKAGING_ANNOUNCEMENT_BANNER",SessionExpiryWarningBannerFifteenMin:"SESSION_EXPIRY_WARNING_BANNER_FIFTEEN_MIN",SessionExpiryWarningBannerTwoHour:"SESSION_EXPIRY_WARNING_BANNER_TWO_HOUR",SevenDaysLeftTrialBanner:"SEVEN_DAYS_LEFT_TRIAL_BANNER",SharedChannelsPaidFeatureBadge:"SHARED_CHANNELS_PAID_FEATURE_BADGE",SharedChannelsPaidFeatureBadgeV2:"SHARED_CHANNELS_PAID_FEATURE_BADGE_V2",SharedChannelInviteExpirationSlackbot:"SHARED_CHANNEL_INVITE_EXPIRATION_SLACKBOT",SharedChannelInviteRecipientAcceptSlackbotMessage:"SHARED_CHANNEL_INVITE_RECIPIENT_ACCEPT_SLACKBOT_MESSAGE",SharedChannelTrialBanner:"SHARED_CHANNEL_TRIAL_BANNER",SidebarBenefitsActiveTrialTab:"SIDEBAR_BENEFITS_ACTIVE_TRIAL_TAB",SidebarBenefitsBadge:"SIDEBAR_BENEFITS_BADGE",SidebarBenefitsDiscountTab:"SIDEBAR_BENEFITS_DISCOUNT_TAB",SidebarBenefitsTab:"SIDEBAR_BENEFITS_TAB",SidebarOnboardingInvitePrompt:"SIDEBAR_ONBOARDING_INVITE_PROMPT",SidebarVisualUpdatesCoachmark:"SIDEBAR_VISUAL_UPDATES_COACHMARK",SlackforceAddEphemeralListToSidebarBanner:"SLACKFORCE_ADD_EPHEMERAL_LIST_TO_SIDEBAR_BANNER",UnreadsSimplificationCoachmark:"UNREADS_SIMPLIFICATION_COACHMARK",SimplifiedMessageActionsLabels:"SIMPLIFIED_MESSAGE_ACTIONS_LABELS",SlackChannelConnectContextBanner:"SLACK_CHANNEL_CONNECT_CONTEXT_BANNER",SlackConnectAutoApproveChannelsAnnouncementCoachmark:"SLACK_CONNECT_AUTO_APPROVE_CHANNELS_ANNOUNCEMENT_COACHMARK",SlackConnectAwarenessModal:"SLACK_CONNECT_AWARENESS_MODAL",SlackConnectContextBanner:"SLACK_CONNECT_CONTEXT_BANNER",SlackConnectDmTrialAdminCoachmark:"SLACK_CONNECT_DM_TRIAL_ADMIN_COACHMARK",SlackConnectDmTrialBanner:"SLACK_CONNECT_DM_TRIAL_BANNER",SlackConnectDmTrialIneligibleBanner:"SLACK_CONNECT_DM_TRIAL_INELIGIBLE_BANNER",SlackConnectDmTrialOfferBanner:"SLACK_CONNECT_DM_TRIAL_OFFER_BANNER",SlackConnectHubDmInviteCoachmark:"SLACK_CONNECT_HUB_DM_INVITE_COACHMARK",SlackConnectPartnerAdminExperienceBanner:"SLACK_CONNECT_PARTNER_ADMIN_EXPERIENCE_BANNER",SlackConnectSaveContactModal:"SLACK_CONNECT_SAVE_CONTACT_MODAL",SocialChannelForewordHuddleCard:"SOCIAL_CHANNEL_FOREWORD_HUDDLE_CARD",SsbFullScreenModal:"SSB_FULL_SCREEN_MODAL",SsbLiteBanner:"SSB_LITE_BANNER",ThreeDaysLeftTrialBanner:"THREE_DAYS_LEFT_TRIAL_BANNER",TileFirstLaunchCoachmark:"TILE_FIRST_LAUNCH_COACHMARK",TrialApproachingExpiryEscBanner:"TRIAL_APPROACHING_EXPIRY_ESC_BANNER",TrialAwarenessFooter:"TRIAL_AWARENESS_FOOTER",TrialAwarenessModal:"TRIAL_AWARENESS_MODAL",TrialAwarenessSlackConnectNotification:"TRIAL_AWARENESS_SLACK_CONNECT_NOTIFICATION",TrialDowngradeSurvey:"TRIAL_DOWNGRADE_SURVEY",TrialExpirationModal:"TRIAL_EXPIRATION_MODAL",TrialExtensionNewYearModal:"TRIAL_EXTENSION_NEW_YEAR_MODAL",TrialInfo:"TRIAL_INFO",TrialIntroBanner:"TRIAL_INTRO_BANNER",TrialLastDayHuddlesSpeedbump:"TRIAL_LAST_DAY_HUDDLES_SPEEDBUMP",TrialLastDayModal:"TRIAL_LAST_DAY_MODAL",TrialLastDayNotification:"TRIAL_LAST_DAY_NOTIFICATION",TrialMidpointSharedChannelsBanner:"TRIAL_MIDPOINT_SHARED_CHANNELS_BANNER",TrialOneWeekLeftSharedChannelsBanner:"TRIAL_ONE_WEEK_LEFT_SHARED_CHANNELS_BANNER",TrialPersistentBanner:"TRIAL_PERSISTENT_BANNER",TrialSearchFileLimitHeader:"TRIAL_SEARCH_FILE_LIMIT_HEADER",TrialSearchHighlightMessageLimit:"TRIAL_SEARCH_HIGHLIGHT_MESSAGE_LIMIT",TrialSearchMessageLimitHeader:"TRIAL_SEARCH_MESSAGE_LIMIT_HEADER",TrialSevenDaysLeftHuddlesSpeedbump:"TRIAL_SEVEN_DAYS_LEFT_HUDDLES_SPEEDBUMP",TrialSevenDaysLeftModal:"TRIAL_SEVEN_DAYS_LEFT_MODAL",TrialSevenDaysLeftNotification:"TRIAL_SEVEN_DAYS_LEFT_NOTIFICATION",TrialStartHuddlesSpeedbump:"TRIAL_START_HUDDLES_SPEEDBUMP",TrialStartModal:"TRIAL_START_MODAL",TrialStartNotification:"TRIAL_START_NOTIFICATION",UnlimitedAppsPaidFeatureBadge:"UNLIMITED_APPS_PAID_FEATURE_BADGE",UnlimitedAppsPaidFeatureBadgeV2:"UNLIMITED_APPS_PAID_FEATURE_BADGE_V2",UploadFromMobilePromo:"UPLOAD_FROM_MOBILE_PROMO",VideoButtonOnboardingCoachmark:"VIDEO_BUTTON_ONBOARDING_COACHMARK",LaterTabCompleted:"LATER_TAB_COMPLETED",LaterTabArchived:"LATER_TAB_ARCHIVED",LaterTabInProgress:"LATER_TAB_IN_PROGRESS",LaterClearAllButton:"LATER_CLEAR_ALL_BUTTON",LaterItemActionsArchiveToggle:"LATER_ITEM_ACTIONS_ARCHIVE_TOGGLE",LaterItemActionsCompletedToggle:"LATER_ITEM_ACTIONS_COMPLETED_TOGGLE",SalesforceAdminMigrateUsersLaterCoachmark:"SALESFORCE_ADMIN_MIGRATE_USERS_LATER_COACHMARK",SalesforceAppListViewsTab:"SALESFORCE_APP_LIST_VIEWS_TAB",SalesHomeOpportunitiesOnboarding:"SALES_HOME_OPPORTUNITIES_ONBOARDING",SalesHomeMetricsOnboarding:"SALES_HOME_METRICS_ONBOARDING",SalesHomeNotificationsOnboarding:"SALES_HOME_NOTIFICATIONS_ONBOARDING",SalesHomeOpportunitiesEditing:"SALES_HOME_OPPORTUNITIES_EDITING",SalesHomeListViewBrowserNux:"SALES_HOME_LIST_VIEW_BROWSER_NUX",SalesHomeDealListSelectionNux:"SALES_HOME_DEAL_LIST_SELECTION_NUX",SalesSearchSuggestionNewBadge:"SALES_SEARCH_SUGGESTION_NEW_BADGE",SlackAiDigestAddedChannelEducation:"SLACK_AI_DIGEST_ADDED_CHANNEL_EDUCATION",SlackAiNuxEducation:"SLACK_AI_NUX_EDUCATION",SlackAiNfxSummary:"SLACK_AI_NFX_SUMMARY",SlackAiNfxSearch:"SLACK_AI_NFX_SEARCH",SlackAiChannelSummariesCoachmark:"SLACK_AI_CHANNEL_SUMMARIES_COACHMARK",SlackAiNfxSummarizeButtonLabel:"SLACK_AI_NFX_SUMMARIZE_BUTTON_LABEL",SlackAiHuddleSummariesLegalModal:"SLACK_AI_HUDDLE_SUMMARIES_LEGAL_MODAL",SlackAiHuddlesNuxCoachmark:"SLACK_AI_HUDDLES_NUX_COACHMARK",SlackAiHuddleSummariesNudgeBanner:"SLACK_AI_HUDDLE_SUMMARIES_NUDGE_BANNER",SlackAiHuddlesNuxLabel:"SLACK_AI_HUDDLES_NUX_LABEL",SlackAiRecap:"SLACK_AI_RECAP",SlackAiRecapMutingNuxBanner:"SLACK_AI_RECAP_MUTING_NUX_BANNER",SlackAiRealTimeRecapNuxBanner:"SLACK_AI_REAL_TIME_RECAP_NUX_BANNER",SlackAiSearchGenerateNewLabel:"SLACK_AI_SEARCH_GENERATE_NEW_LABEL",SlackAiSearchKeywordNewLabel:"SLACK_AI_SEARCH_KEYWORD_NEW_LABEL",CanvasTabCanvasCreated:"CANVAS_TAB_CANVAS_CREATED",CanvasTabCanvasOpened:"CANVAS_TAB_CANVAS_OPENED",CanvasTabBrowserOpened:"CANVAS_TAB_BROWSER_OPENED",CanvasFloatingToolbarAddCommentText:"CANVAS_FLOATING_TOOLBAR_ADD_COMMENT_TEXT",CanvasInsertionMenuTrigger:"CANVAS_INSERTION_MENU_TRIGGER",CanvasCuddlesCoachmark:"CANVAS_CUDDLES_COACHMARK",CanvasProfileMenuItemTrigger:"CANVAS_PROFILE_MENU_ITEM_TRIGGER",CanvasDateMentionMenuItemTrigger:"CANVAS_DATE_MENTION_MENU_ITEM_TRIGGER",CanvasCalloutMenuItemTrigger:"CANVAS_CALLOUT_MENU_ITEM_TRIGGER",SalesHomeMultiOrgNotificationsCoachmark:"SALES_HOME_MULTI_ORG_NOTIFICATIONS_COACHMARK",SalesHomeMultiOrgNewOrgAvailableCoachmark:"SALES_HOME_MULTI_ORG_NEW_ORG_AVAILABLE_COACHMARK",DownmarketCrmAddFieldSpeedbump:"DOWNMARKET_CRM_ADD_FIELD_SPEEDBUMP",AddTabMenuTrigger:"ADD_TAB_MENU_TRIGGER",CanvasTemplateButtonsChannelCanvas:"CANVAS_TEMPLATE_BUTTONS_CHANNEL_CANVAS",CanvasTemplateButtonsStandaloneCanvas:"CANVAS_TEMPLATE_BUTTONS_STANDALONE_CANVAS",CanvasTemplatePreviewChannelCanvas:"CANVAS_TEMPLATE_PREVIEW_CHANNEL_CANVAS",CanvasNuxCreateWithAiNotification:"CANVAS_NUX_CREATE_WITH_AI_NOTIFICATION",ChannelTabsFilesTabCoachmark:"CHANNEL_TABS_FILES_TAB_COACHMARK",ChannelTabsPinsTabCoachmark:"CHANNEL_TABS_PINS_TAB_COACHMARK",ChannelTabsAddItemClicked:"CHANNEL_TABS_ADD_ITEM_CLICKED",SolutionsMoreMenuItem:"SOLUTIONS_MORE_MENU_ITEM",ChannelInviteModalClosed:"CHANNEL_INVITE_MODAL_CLOSED",SlackAiFileSummaryCoachmark:"SLACK_AI_FILE_SUMMARY_COACHMARK",SlackAiNuxAutoThreadSummariesBanner:"SLACK_AI_NUX_AUTO_THREAD_SUMMARIES_BANNER",SlackAiMessageTranslationsCoachmark:"SLACK_AI_MESSAGE_TRANSLATIONS_COACHMARK",SolutionsTabIntroductionCoachmark:"SOLUTIONS_TAB_INTRODUCTION_COACHMARK",CreatorGuidedSetupListCoachmark:"CREATOR_GUIDED_SETUP_LIST_COACHMARK",CreatorGuidedSetupInvitationCoachmark:"CREATOR_GUIDED_SETUP_INVITATION_COACHMARK",ListsAddTrackingFieldsBundleMenuOptionNewBadge:"LISTS_ADD_TRACKING_FIELDS_BUNDLE_MENU_OPTION_NEW_BADGE",SlackAiManageSettingsButton:"SLACK_AI_MANAGE_SETTINGS_BUTTON",UnifiedBrowserFoldersBadge:"UNIFIED_BROWSER_FOLDERS_BADGE",UnifiedFilesBrowserAllFiles:"UNIFIED_FILES_BROWSER_ALL_FILES",StarredChannelSectionBadge:"STARRED_CHANNEL_SECTION_BADGE",MutedChannelsReactiveCoachmark:"MUTED_CHANNELS_REACTIVE_COACHMARK",CanvasAiSuggestionCard:"CANVAS_AI_SUGGESTION_CARD",CanvasAiOverlaySubmitButton:"CANVAS_AI_OVERLAY_SUBMIT_BUTTON",CanvasChannelTabAiMenu:"CANVAS_CHANNEL_TAB_AI_MENU",ActivityInboxOnboardingModal:"ACTIVITY_INBOX_ONBOARDING_MODAL",ActivityInboxThreadsEduBanner:"ACTIVITY_INBOX_THREADS_EDU_BANNER",ActivityInboxDmsTabEduBanner:"ACTIVITY_INBOX_DMS_TAB_EDU_BANNER",ActivityInboxDmsViewNudgeBanner:"ACTIVITY_INBOX_DMS_VIEW_NUDGE_BANNER",ActivityInboxDmsViewVisit:"ACTIVITY_INBOX_DMS_VIEW_VISIT",ActivityOneDotOh:"ACTIVITY_ONE_DOT_OH",CanvasAiOverlayBanner:"CANVAS_AI_OVERLAY_BANNER",ShareablePromptFooter:"SHAREABLE_PROMPT_FOOTER"}},0x20670d932:(e,t,a)=>{"use strict";a.d(t,{kB:()=>o,po:()=>r,tp:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert user interactions");r.meta={name:"setUserInteractions",key:"createActionSetUserInteractions",description:"Upsert user interactions"};let i=(0,n.Ay)("Increment the count for the given interaction, inserting into the redux store if necessary.");i.meta={name:"incrementUserInteraction",key:"createActionIncrementUserInteraction",description:"Increment the count for the given interaction, inserting into the redux store if necessary."};let o=(0,n.Ay)("Set user interactions to loaded");o.meta={name:"setUserInteractionsLoaded",key:"createActionSetUserInteractionsLoaded",description:"Set user interactions to loaded"}},0x110ea4a25:(e,t,a)=>{"use strict";a.d(t,{A:()=>o,g:()=>makeInteractionKey});var n=a(0xba77ecb9),r=a(0x1472af90a),i=a(0x20670d932);let makeInteractionKey=({component:e,type:t,step:a=r.pn.Default})=>[e,t,a].join("-"),o=(0,n.Ay)({},{interactions:{},interactionsLoaded:{}},{persistenceEnabled:!1,storeKey:"userInteractions"}).on(i.po,(e,t)=>({...e,interactions:{...e.interactions,...t.reduce((e,t)=>(e[makeInteractionKey(t)]=t,e),{})}})).on(i.tp,(e,{component:t,type:a,step:n=r.pn.Default})=>{let i={...e,interactions:{...e.interactions}},o=makeInteractionKey({component:t,type:a,step:n}),s=Math.floor(Date.now()/1e3);return i.interactions[o]=o in e.interactions?{...e.interactions[o],count:e.interactions[o].count+1,dateLastRecorded:s}:{component:t,type:a,step:n,count:1,dateFirstRecorded:s,dateLastRecorded:s},i}).on(i.kB,(e,t)=>({...e,interactionsLoaded:{...e.interactionsLoaded,...t.reduce((e,t)=>(e[makeInteractionKey(t)]=!0,e),{})}}))},0xf052d367:(e,t,a)=>{"use strict";a.d(t,{Fh:()=>c,PU:()=>_,Pg:()=>f,Tn:()=>u,h$:()=>m,kI:()=>p,ky:()=>s,rD:()=>d,zU:()=>l});var n=a(0x1cf0d97e1),r=a(0x1472af90a),i=a(0x110ea4a25);let o=(0,n.Ay)((e,t,a,n=r.pn.Default)=>{let o=(0,i.g)({component:t,type:a,step:n});return e?.userInteractions?.interactions?.[o]});o.meta={name:"getUserInteraction",key:"createSelectorGetUserInteraction",description:(e,t,a,n=r.pn.Default)=>{let o=(0,i.g)({component:t,type:a,step:n});return e?.userInteractions?.interactions?.[o]}};let s=(0,n.Ay)((e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.count??0);s.meta={name:"getCount",key:"createSelectorGetCount",description:(e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.count??0};let l=(0,n.Ay)((e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.dateFirstRecorded||0);l.meta={name:"getDateFirstRecorded",key:"createSelectorGetDateFirstRecorded",description:(e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.dateFirstRecorded||0};let c=(0,n.Ay)((e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.dateLastRecorded||0);c.meta={name:"getDateLastRecorded",key:"createSelectorGetDateLastRecorded",description:(e,t,a,n=r.pn.Default)=>o(e,t,a,n)?.dateLastRecorded||0};let d=(0,n.Ay)((e,t,a,n,i=r.pn.Default)=>s(e,t,a,i)>=n);d.meta={name:"hasRecordedInteractionNTimes",key:"createSelectorHasRecordedInteractionNTimes",description:(e,t,a,n,i=r.pn.Default)=>s(e,t,a,i)>=n};let u=(0,n.Ay)((e,t,a,n=r.pn.Default)=>d(e,t,a,1,n));u.meta={name:"hasRecordedInteraction",key:"createSelectorHasRecordedInteraction",description:(e,t,a,n=r.pn.Default)=>d(e,t,a,1,n)};let m=(0,n.Ay)((e,t,a=r.pn.Default)=>u(e,t,r.X8.Click,a));m.meta={name:"hasClickedComponent",key:"createSelectorHasClickedComponent",description:(e,t,a=r.pn.Default)=>u(e,t,r.X8.Click,a)};let f=(0,n.Ay)((e,t,a=r.pn.Default)=>u(e,t,r.X8.Dismiss,a));f.meta={name:"hasDismissedComponent",key:"createSelectorHasDismissedComponent",description:(e,t,a=r.pn.Default)=>u(e,t,r.X8.Dismiss,a)};let _=(0,n.Ay)((e,t,a=r.pn.Default)=>u(e,t,r.X8.Impression,a));_.meta={name:"hasSeenComponent",key:"createSelectorHasSeenComponent",description:(e,t,a=r.pn.Default)=>u(e,t,r.X8.Impression,a)};let p=(0,n.Ay)((e,t,a,n=r.pn.Default)=>{let o=(0,i.g)({component:t,type:a,step:n});return!!e?.userInteractions?.interactionsLoaded?.[o]});p.meta={name:"hasLoadedInteraction",key:"createSelectorHasLoadedInteraction",description:(e,t,a,n=r.pn.Default)=>{let o=(0,i.g)({component:t,type:a,step:n});return!!e?.userInteractions?.interactionsLoaded?.[o]}}},0x18632f75a:(e,t,a)=>{"use strict";a.d(t,{b:()=>c,z:()=>d});var n=a(0xe874a88a),r=a(0xac8aa349),i=a(0x1ff6c246f),o=a(0x11c82607b),s=a(0x20670d932),l=a(0xf052d367);let c=(0,o.Ay)("Fetches and updates user interactions for the given types and subtypes",(e,t,a)=>{let i,o=t();if(a.useCache){let e=a.cacheFilter??l.Tn;i=a.interactions.filter(t=>!e(o,t.component,t.type))}else i=a.interactions;if(0===i.length)return n.S.resolve();let c={components:i.map(e=>e.component),types:i.map(e=>e.type),reason:a.reason};return e((0,r.l)(c)).then(t=>{e((0,s.kB)(i)),t.interactions.length&&e((0,s.po)(t.interactions))})});c.meta={name:"loadUserInteractions",key:"createThunkLoadUserInteractions",description:"Fetches and updates user interactions for the given types and subtypes"};let d=(0,o.Ay)("Record that a user has taken an action on a UI component",(e,t,a)=>(e((0,s.tp)(a)),e((0,i.H)(a))));d.meta={name:"recordUserInteraction",key:"createThunkRecordUserInteraction",description:"Record that a user has taken an action on a UI component"}},0x252f4e135:(e,t,a)=>{"use strict";a.d(t,{$t:()=>o,Dy:()=>u,Fe:()=>m,KY:()=>l,SP:()=>r,Sd:()=>d,hk:()=>i,ie:()=>s,mV:()=>c,w5:()=>f});var n=a(0xcf658893);let r=(0,n.Ay)("Set the user-specified sidebar width and mode (use setSidebarColumn instead)");r.meta={name:"setSidebarColumnInternal",key:"createActionSetSidebarColumnInternal",description:"Set the user-specified sidebar width and mode (use setSidebarColumn instead)"};let i=(0,n.Ay)("Set the user-specified wide sidebar width and mode (use setWideSidebarColumn instead)");i.meta={name:"setSidebarWideColumnInternal",key:"createActionSetSidebarWideColumnInternal",description:"Set the user-specified wide sidebar width and mode (use setWideSidebarColumn instead)"};let o=(0,n.Ay)("Set the user-specified extra wide sidebar width and mode (use setExtraWideSidebarColumn instead)");o.meta={name:"setSidebarExtraWideColumnInternal",key:"createActionSetSidebarExtraWideColumnInternal",description:"Set the user-specified extra wide sidebar width and mode (use setExtraWideSidebarColumn instead)"};let s=(0,n.Ay)("Set the user-specified secondary width and mode (use setSecondaryColumn instead)");s.meta={name:"setSecondaryColumnInternal",key:"createActionSetSecondaryColumnInternal",description:"Set the user-specified secondary width and mode (use setSecondaryColumn instead)"};let l=(0,n.Ay)("Sets whether or not the sidebar is part of the grid layout at normal window sizes (use setIsSidebarVisible instead)");l.meta={name:"setIsSidebarVisibleInternal",key:"createActionSetIsSidebarVisibleInternal",description:"Sets whether or not the sidebar is part of the grid layout at normal window sizes (use setIsSidebarVisible instead)"};let c=(0,n.Ay)("Sets whether or not the protype full rail workspace switcher is showing (use setIsWorkspaceSwitcherVisible thunk instead)");c.meta={name:"setIsWorkspaceSwitcherVisibleInternal",key:"createActionSetIsWorkspaceSwitcherVisibleInternal",description:"Sets whether or not the protype full rail workspace switcher is showing (use setIsWorkspaceSwitcherVisible thunk instead)"};let d=(0,n.Ay)("Set the user-specified split width intent (use setSplitColumnWidthIntent instead)");d.meta={name:"setSplitColumnWidthIntentInternal",key:"createActionSetSplitColumnWidthIntentInternal",description:"Set the user-specified split width intent (use setSplitColumnWidthIntent instead)"};let u=(0,n.Ay)("Set the user-specified split width mode (use setSplitColumnWidthMode instead)");u.meta={name:"setSplitColumnWidthModeInternal",key:"createActionSetSplitColumnWidthModeInternal",description:"Set the user-specified split width mode (use setSplitColumnWidthMode instead)"};let m=(0,n.Ay)("Sets whether or not compact mode is enabled in the client (use toggleCompactModeEnabled thunk instead to persist the value)");m.meta={name:"setCompactModeEnabledInternal",key:"createActionSetCompactModeEnabledInternal",description:"Sets whether or not compact mode is enabled in the client (use toggleCompactModeEnabled thunk instead to persist the value)"};let f=(0,n.Ay)("Sets whether or not the split is part of the grid layout at normal window sizes (use setIsSplitVisible instead)");f.meta={name:"setIsSplitVisibleInternal",key:"createActionSetIsSplitVisibleInternal",description:"Sets whether or not the split is part of the grid layout at normal window sizes (use setIsSplitVisible instead)"}},0x137583fc6:(e,t,a)=>{"use strict";a.d(t,{f:()=>l});var n=a(0x1848be2bf),r=a(0x11c82607b),i=a(0x691ce3ab),o=a(0x252f4e135),s=a(0x164ee0b8e);let l=(0,r.Ay)("Set the user-specified split width and mode",(e,t,{splitWidthIntent:a,splitWidthMode:r})=>{a&&((0,s.q9)(n.qD,a),e((0,o.Sd)({splitWidthIntent:a})),(0,i.dispatchForClientStore)((0,o.Sd)({splitWidthIntent:a}))),r&&((0,s.q9)(n.$D,r),e((0,o.Dy)({splitWidthMode:r})),(0,i.dispatchForClientStore)((0,o.Dy)({splitWidthMode:r})))});l.meta={name:"setSplitColumn",key:"createThunkSetSplitColumn",description:"Set the user-specified split width and mode"}},0x1ad496a28:(e,t,a)=>{"use strict";a.d(t,{Ad:()=>m,IZ:()=>o,Ks:()=>g,Vt:()=>i,Wx:()=>h,ZP:()=>p,cn:()=>s,gU:()=>S,gg:()=>f,h4:()=>A,jN:()=>r,lM:()=>u,qf:()=>b,r8:()=>l,vB:()=>d,wj:()=>_,x:()=>y,z6:()=>c});var n=a(0xcf658893);let r=(0,n.Ay)("Remove the specified view");r.meta={name:"removeViewInternal",key:"createActionRemoveViewInternal",description:"Remove the specified view"};let i=(0,n.Ay)("Set the view for the specified container");i.meta={name:"setViewInternal",key:"createActionSetViewInternal",description:"Set the view for the specified container"};let o=(0,n.Ay)("Update the params for an existing view");o.meta={name:"updateParamsForView",key:"createActionUpdateParamsForView",description:"Update the params for an existing view"};let s=(0,n.Ay)("Update the state for an existing view");s.meta={name:"updateStateForViewInternal",key:"createActionUpdateStateForViewInternal",description:"Update the state for an existing view"};let l=(0,n.Ay)("Add a new window to the store with the specified view inside it");l.meta={name:"setViewSetInternal",key:"createActionSetViewSetInternal",description:"Add a new window to the store with the specified view inside it"};let c=(0,n.Ay)("Set the main window tabbed view sets");c.meta={name:"setMainWindowTabbedViewsInternal",key:"createActionSetMainWindowTabbedViewsInternal",description:"Set the main window tabbed view sets"};let d=(0,n.Ay)("Set the active tab for the main window");d.meta={name:"setActiveTabInternal",key:"createActionSetActiveTabInternal",description:"Set the active tab for the main window"};let u=(0,n.Ay)("Remove an existing window from the store by its windowId");u.meta={name:"removeWindow",key:"createActionRemoveWindow",description:"Remove an existing window from the store by its windowId"};let m=(0,n.Ay)("Sets a single split view");m.meta={name:"setSplitView",key:"createActionSetSplitView",description:"Sets a single split view"};let f=(0,n.Ay)("Sets a single split view child window");f.meta={name:"setSplitViewChildWindow",key:"createActionSetSplitViewChildWindow",description:"Sets a single split view child window"};let _=(0,n.Ay)("Replaces a single split view");_.meta={name:"replaceSplitView",key:"createActionReplaceSplitView",description:"Replaces a single split view"};let p=(0,n.Ay)("Removes the active split view");p.meta={name:"removeSplitViewInternal",key:"createActionRemoveSplitViewInternal",description:"Removes the active split view"};let h=(0,n.Ay)("Replaces a single split view child window");h.meta={name:"replaceSplitViewChildWindow",key:"createActionReplaceSplitViewChildWindow",description:"Replaces a single split view child window"},(0,n.Ay)("Removes the active split view").meta={name:"removeSplitView",key:"createActionRemoveSplitView",description:"Removes the active split view"};let g=(0,n.Ay)("Removes the active split view child window");g.meta={name:"removeSplitViewChildWindow",key:"createActionRemoveSplitViewChildWindow",description:"Removes the active split view child window"};let A=(0,n.Ay)("Removes a single split view");A.meta={name:"removeSplitViewByIndex",key:"createActionRemoveSplitViewByIndex",description:"Removes a single split view"};let b=(0,n.Ay)("Removes all split views");b.meta={name:"removeAllSplitViews",key:"createActionRemoveAllSplitViews",description:"Removes all split views"};let y=(0,n.Ay)("Removes all split views in a child window");y.meta={name:"removeAllSplitViewChildWindow",key:"createActionRemoveAllSplitViewChildWindow",description:"Removes all split views in a child window"};let S=(0,n.Ay)("Sets the active split view");S.meta={name:"setActiveSplitView",key:"createActionSetActiveSplitView",description:"Sets the active split view"}},0x19895585a:(e,t,a)=>{"use strict";a.d(t,{F0:()=>A,K5:()=>g,Lk:()=>d,N2:()=>f,On:()=>m,T2:()=>_,TQ:()=>y,_C:()=>p,jf:()=>u,k6:()=>c,mq:()=>l,oF:()=>S,rI:()=>b,vJ:()=>h});var n,r=a(0x14fad6485),i=a(0x4f6e90b4),o=a(0x139aa1a7),s=a(1927545e3);let l={Sidebar:"sidebar",Primary:"primary",Secondary:"secondary",Modal:"modal",Peek:"peek",Split:"split",Headless:"headless"},c={Home:"home",DMs:"dms",Activity:"activity",ActivityInbox:"activity-inbox",ActivityInboxSidebarPrototype:"activity-inbox-sidebar-prototype",SalesHome:"sales-home",Today:"today",Later:"later",Browse:"browse",Search:"search",Records:"records",Platform:"platform",Huddles:"huddles",Todos:"todos",Assistant:"assistant",UnifiedFiles:"unified-files",SlackKitPlayground:"slack-kit-playground",Solutions:"solutions",Agents:"agents",Sidekicks:"sidekicks",BBM:"bbm",Admin:"admin",LaterSidebarPrototype:"later-sidebar-prototype",SearchSidebarPrototype:"search-sidebar-prototype"},d=[c.Today,c.Home,c.DMs,c.Activity,c.ActivityInbox,c.ActivityInboxSidebarPrototype,c.SearchSidebarPrototype,c.Huddles,c.Search,c.Todos,c.SalesHome,c.UnifiedFiles,c.Later,c.LaterSidebarPrototype,c.Solutions,c.Agents,c.Assistant,c.Platform,c.SlackKitPlayground],u="__activeTab",m="__persistedSplitView",f=r.Ab,_="split",p="__activeSplit";var h=((n={}).MainWindow="main-surface",n.ChildWindow="child-surface",n.Split="split-surface",n);(0,i.ul)("MainWindowId",f);let g=["thread","comment_thread"],A=[o.D.Thread,o.D.QuipCommentThread],b="CHILD_WINDOW_LAYOUT",y=[s.c.Activity,"activity",s.c.Later],S=Object.freeze({main:{[u]:c.Home,[c.Home]:{[l.Sidebar]:{id:o.D.ChannelList,viewType:o.D.ChannelList}},[c.DMs]:{[l.Sidebar]:{id:o.D.DmsList,viewType:o.D.DmsList},[l.Primary]:{id:s.c.Empty,viewType:o.D.Page}},[c.Activity]:{[l.Sidebar]:{id:o.D.ActivityList,viewType:o.D.ActivityList},[l.Primary]:{id:s.c.Empty,viewType:o.D.Page}},[c.ActivityInbox]:{[l.Sidebar]:{id:o.D.ActivityInbox,viewType:o.D.ActivityInbox},[l.Primary]:{id:o.D.ActivityEmpty,viewType:o.D.ActivityEmpty}},[c.UnifiedFiles]:{[l.Sidebar]:{id:o.D.UnifiedFilesSidebar,viewType:o.D.UnifiedFilesSidebar},[l.Primary]:{id:o.D.BrowseUnifiedFiles,viewType:o.D.BrowseUnifiedFiles}},[c.Solutions]:{[l.Sidebar]:{id:o.D.MoreSolutionsSidebar,viewType:o.D.MoreSolutionsSidebar},[l.Primary]:{id:o.D.Solutions,viewType:o.D.Solutions}},[c.Agents]:{[l.Sidebar]:{id:o.D.MoreAgentsSidebar,viewType:o.D.MoreAgentsSidebar},[l.Primary]:{id:o.D.Agents,viewType:o.D.Agents}},[c.Sidekicks]:{[l.Sidebar]:{id:o.D.MoreSidekicksSidebar,viewType:o.D.MoreSidekicksSidebar},[l.Primary]:{id:o.D.Sidekicks,viewType:o.D.Sidekicks}},[c.SlackKitPlayground]:{[l.Primary]:{id:o.D.SlackKitPlayground,viewType:o.D.SlackKitPlayground}},[c.Assistant]:{[l.Primary]:{id:o.D.AssistantHome,viewType:o.D.AssistantHome}},[c.Later]:{[l.Sidebar]:{id:o.D.LaterList,viewType:o.D.LaterList},[l.Primary]:{id:s.c.Empty,viewType:o.D.Page}},[c.SalesHome]:{[l.Sidebar]:{id:o.D.SalesSidebar,viewType:o.D.SalesSidebar},[l.Primary]:{id:o.D.SalesHome,viewType:o.D.SalesHome}},[c.Records]:{[l.Primary]:{id:o.D.RecordChannelCreate,viewType:o.D.RecordChannelCreate}},[c.Browse]:{[l.Sidebar]:{id:o.D.BrowseList,viewType:o.D.BrowseList},[l.Primary]:{id:o.D.BrowseUnifiedFiles,viewType:o.D.BrowseUnifiedFiles}},[c.Search]:{[l.Sidebar]:{id:o.D.Search,viewType:o.D.Search},[l.Primary]:{id:o.D.SearchEmpty,viewType:o.D.SearchEmpty}},[c.Platform]:{[l.Sidebar]:{id:o.D.MorePlatformSidebar,viewType:o.D.MorePlatformSidebar},[l.Primary]:{id:s.c.Empty,viewType:o.D.Page}},[c.Todos]:{[l.Primary]:{id:s.c.Todos,viewType:o.D.Tasks}},[c.Huddles]:{[l.Primary]:{id:s.c.Huddles,viewType:o.D.Page}},[c.BBM]:{[l.Sidebar]:{id:o.D.BBMMain,viewType:o.D.BBMMain}},[c.Admin]:{[l.Sidebar]:{id:o.D.Admin,viewType:o.D.Admin}},[c.Today]:{[l.Primary]:{id:s.c.TodayV2,viewType:o.D.TodayV2}},[c.ActivityInboxSidebarPrototype]:{[l.Sidebar]:{id:o.D.ActivitySidebarPrototype,viewType:o.D.ActivitySidebarPrototype},[l.Primary]:{id:o.D.ActivityInbox,viewType:o.D.ActivityInbox}},[c.LaterSidebarPrototype]:{[l.Sidebar]:{id:o.D.LaterSidebarPrototype,viewType:o.D.LaterSidebarPrototype},[l.Primary]:{id:o.D.LaterList,viewType:o.D.LaterList}},[c.SearchSidebarPrototype]:{[l.Sidebar]:{id:o.D.SearchSidebarPrototype,viewType:o.D.SearchSidebarPrototype},[l.Primary]:{id:o.D.SearchPrimaryPrototype,viewType:o.D.SearchPrimaryPrototype}}},children:{},split:{main:{[p]:void 0,stack:[]},children:{}}})},0x9271cc31:(e,t,a)=>{"use strict";a.d(t,{e6:()=>f,WC:()=>v,f6:()=>T,Yi:()=>w,hZ:()=>I,zi:()=>k,F8:()=>S,Le:()=>y,Gl:()=>b,Oy:()=>h,mx:()=>g,w$:()=>A,Bl:()=>C,YY:()=>E});var n=a(0x1626b8eae),r=a(0x21f3c49e8),i=a(0x4f6e90b4),o=a(0x1df96de4c),s=a(0x1cf0d97e1),l=a(0xdf55e8f3),c=a(0x21bfacd01),d=a(0x19895585a),u=a(0x15bc0d169);let visualize=e=>{let t=e.view;Object.keys(t.children).forEach(e=>{let a,n=t.children[e],r=Object.keys(n).filter(e=>void 0!==n[e]).map(e=>({key:e,...n[e]})),i=(a=["\u2502\u250C","","","","","\u2514"],r.forEach(e=>{a[0]+=`${"\u2500".repeat(38)}\u{252C}`,a[1]+=`\u{2502} ${e.key}${" ".repeat(38-e.key.length-1)}`,a[2]+=`\u{2502} ${e.id}${" ".repeat(38-e.id.length-1)}`,a[3]+=`\u{2502} ${" ".repeat(37)}`,a[4]+=`\u{2502} ${" ".repeat(37)}`,a[5]+=`${"\u2500".repeat(38)}\u{2534}`}),a[0]=a[0].slice(0,-1),a[0]+=`\u{2510}\u{2502}
\u{2502}`,a[1]+=`\u{2502}\u{2502}
\u{2502}`,a[2]+=`\u{2502}\u{2502}
\u{2502}`,a[3]+=`\u{2502}\u{2502}
\u{2502}`,a[4]+=`\u{2502}\u{2502}
\u{2502}`,a[5]=a[5].slice(0,-1),a[5]+=`\u{2518}\u{2502}
`,a.join("")),o=38*r.length+r.length+1,s=`[WINDOW]: ${e}`,l=Math.max(0,o-s.length-1),c=`\u{250C}${"\u2500".repeat(o)}\u{2510}
`;c+=`\u{2502} ${s}${" ".repeat(l)}\u{2502}
`,c+=i,console.log(c+=`\u{2514}${"\u2500".repeat(o)}\u{2518}
`)})},m=(0,n.A)(()=>{(0,i.ul)("visualizeViewContainers",visualize)}),f=(0,s.Ay)(e=>e.view.main[d.jf]);f.meta={name:"getActiveTab",key:"createSelectorGetActiveTab",description:e=>e.view.main[d.jf]};let _=(0,s.Ay)((e,{index:t})=>e.view.split.main.stack[t]);_.meta={name:"getSplitViewByIndex",key:"createSelectorGetSplitViewByIndex",description:(e,{index:t})=>e.view.split.main.stack[t]};let p=(0,s.Ay)((e,{index:t,windowId:a})=>e.view.split.children[a].stack[t]);p.meta={name:"getSplitViewChildWindowByIndex",key:"createSelectorGetSplitViewChildWindowByIndex",description:(e,{index:t,windowId:a})=>e.view.split.children[a].stack[t]};let h=(0,s.Ay)(e=>{let t=e?.view?.split?.main[d._C];if(void 0!==t)return _(e,{index:t})});h.meta={name:"getSplitView",key:"createSelectorGetSplitView",description:e=>{let t=e?.view?.split?.main[d._C];if(void 0!==t)return _(e,{index:t})}};let g=(0,s.Ay)((e,{windowId:t})=>{let a=e?.view?.split?.children[t]?.[d._C];if(void 0!==a)return p(e,{index:a,windowId:t})});g.meta={name:"getSplitViewChildWindow",key:"createSelectorGetSplitViewChildWindow",description:(e,{windowId:t})=>{let a=e?.view?.split?.children[t]?.[d._C];if(void 0!==a)return p(e,{index:a,windowId:t})}};let A=(0,s.Ay)(e=>{let t=e.view.split.main.stack;return(0,r.A)(t)?o.Ml:t});A.meta={name:"getSplitViewStack",key:"createSelectorGetSplitViewStack",description:e=>{let t=e.view.split.main.stack;return(0,r.A)(t)?o.Ml:t}},(0,s.Ay)(e=>e.view.split.main[d._C]).meta={name:"getActiveSplitViewIndex",key:"createSelectorGetActiveSplitViewIndex",description:e=>e.view.split.main[d._C]};let b=(0,s.Ay)(e=>e?.view?.main);b.meta={name:"getMainWindowViewSets",key:"createSelectorGetMainWindowViewSets",description:e=>e?.view?.main};let y=(0,s.Ay)((e,{tab:t})=>e.view.main[t]);y.meta={name:"getMainWindowViewSetByTab",key:"createSelectorGetMainWindowViewSetByTab",description:(e,{tab:t})=>e.view.main[t]};let S=(0,s.Ay)((e,{tab:t,container:a})=>(m(),a!==d.mq.Split||(0,c.V)(e))?a&&t?e?.view?.main?.[t]?.[a]:void 0:h(e));S.meta={name:"getMainWindowViewByTabAndContainer",key:"createSelectorGetMainWindowViewByTabAndContainer",description:(e,{tab:t,container:a})=>(m(),a!==d.mq.Split||(0,c.V)(e))?a&&t?e?.view?.main?.[t]?.[a]:void 0:h(e)};let E=(0,s.Ay)((e,{tab:t,viewSet:a})=>{let n=y(e,{tab:t});return t===f(e)&&(0,u.A)(a,n)});E.meta={name:"isDuplicateMainWindowViewSet",key:"createSelectorIsDuplicateMainWindowViewSet",description:(e,{tab:t,viewSet:a})=>{let n=y(e,{tab:t});return t===f(e)&&(0,u.A)(a,n)}};let k=(0,s.Ay)(e=>e?.view.children);k.meta={name:"getChildWindowViewSets",key:"createSelectorGetChildWindowViewSets",description:e=>e?.view.children};let T=(0,s.Ay)(e=>Object.keys(e?.view.children));T.meta={name:"getChildWindowIds",key:"createSelectorGetChildWindowIds",description:e=>Object.keys(e?.view.children)};let I=(0,s.Ay)((e,{windowId:t})=>{if(t&&t!==d.N2)return e?.view?.children[t]});I.meta={name:"getChildWindowViewSetByWindow",key:"createSelectorGetChildWindowViewSetByWindow",description:(e,{windowId:t})=>{if(t&&t!==d.N2)return e?.view?.children[t]}};let w=(0,s.Ay)((e,{container:t,windowId:a})=>{if(m(),a&&t&&a!==d.N2)return t===d.mq.Split?g(e,{windowId:a}):e?.view?.children[a]?.[t]});w.meta={name:"getChildWindowViewByContainer",key:"createSelectorGetChildWindowViewByContainer",description:(e,{container:t,windowId:a})=>{if(m(),a&&t&&a!==d.N2)return t===d.mq.Split?g(e,{windowId:a}):e?.view?.children[a]?.[t]}};let C=(0,s.Ay)((e,{windowId:t,viewSet:a})=>{let n=I(e,{windowId:t});return!!n&&(0,u.A)(a,n)});C.meta={name:"isDuplicateChildWindowViewSet",key:"createSelectorIsDuplicateChildWindowViewSet",description:(e,{windowId:t,viewSet:a})=>{let n=I(e,{windowId:t});return!!n&&(0,u.A)(a,n)}};let v=(0,s.Ay)(e=>e?.view);v.meta={name:"getAllViews",key:"createSelectorGetAllViews",description:e=>e?.view},(0,l.eI)((e,{surface:t,windowId:a,tab:n})=>{if(t===d.vJ.MainWindow){let t=n??f(e),a=y(e,{tab:t});return{type:d.vJ.MainWindow,windowId:d.N2,tab:t,viewSet:a}}if(t===d.vJ.ChildWindow&&a){let t=I(e,{windowId:a});return{type:d.vJ.ChildWindow,windowId:a,viewSet:t}}if(t===d.vJ.Split&&(!a||a===d.N2)){let t=h(e);return{type:d.vJ.Split,windowId:d.N2,viewSet:t?{[d.mq.Split]:t}:void 0}}if(t===d.vJ.Split&&a){let t=g(e,{windowId:a});return{type:d.vJ.Split,windowId:a,viewSet:t?{[d.mq.Split]:t}:void 0}}})},0x1423d1276:(e,t,a)=>{"use strict";a.d(t,{e:()=>c});var n=a(0x1df96de4c),r=a(0x1cf0d97e1),i=a(0x21bfacd01),o=a(0x19895585a),s=a(0x9271cc31),l=a(0x1e974bbde);let c=(0,r.Ay)((e,{filterFunction:t,includeUiState:a=!1})=>{let r=[],{viewSet:c,windowId:d,tab:u}=(0,l.Z)(e,{includeUiState:a});if(!c||!d)return n.Ml;let m=(0,i.V)(e),f=(0,s.Oy)(e);for(let[e,a]of(!m&&f&&d===o.N2&&t({container:o.mq.Split,view:f,windowId:d})&&r.push({view:f,container:o.mq.Split,windowId:d}),Object.entries(c))){if(!a||!t({container:e,view:a,windowId:d}))continue;let n={view:a,container:e,windowId:d};u&&(n.tab=u),r.push(n)}return r});c.meta={name:"getAllMatchingFocusedActiveViews",key:"createSelectorGetAllMatchingFocusedActiveViews",description:(e,{filterFunction:t,includeUiState:a=!1})=>{let r=[],{viewSet:c,windowId:d,tab:u}=(0,l.Z)(e,{includeUiState:a});if(!c||!d)return n.Ml;let m=(0,i.V)(e),f=(0,s.Oy)(e);for(let[e,a]of(!m&&f&&d===o.N2&&t({container:o.mq.Split,view:f,windowId:d})&&r.push({view:f,container:o.mq.Split,windowId:d}),Object.entries(c))){if(!a||!t({container:e,view:a,windowId:d}))continue;let n={view:a,container:e,windowId:d};u&&(n.tab=u),r.push(n)}return r}}},0x9168058f:(e,t,a)=>{"use strict";a.d(t,{l:()=>s});var n=a(0x1cf0d97e1),r=a(0x19895585a),i=a(0x9271cc31),o=a(0x211b4fc96);let getAllContainerViews=({container:e,viewSet:t,windowIdOrTab:a,filterFunction:n})=>{let i=[],s=t[e];if(s){let t=(0,o.xL)(a)?r.N2:a;if(n?.({view:s,container:e,windowId:t})){let n={view:s,container:e,windowId:t};(0,o.xL)(a)&&(n.tab=a),i.push(n)}}return i},getMatchingViews=({viewStateSection:e,filterFunction:t,container:a})=>{let n=[],i=["__activeTab"];for(let[s,l]of Object.entries(e??{}))if(l&&"string"!=typeof l){if(a&&(0,o.DW)(a)&&l[a]){n.push(...getAllContainerViews({container:a,viewSet:l,windowIdOrTab:s,filterFunction:t}));continue}for(let[e,a]of Object.entries(l??{})){if(!a||i.includes(s))continue;let l=(0,o.xL)(s)?r.N2:s;if(t?.({view:a,container:e,windowId:l})){let t={view:a,container:e,windowId:l};(0,o.xL)(s)&&(t.tab=s),n.push(t)}}}return n},s=(0,n.Ay)((e,{filterFunction:t,container:a})=>{let n=(0,i.WC)(e),r=getMatchingViews({viewStateSection:n?.main??{},filterFunction:t,container:a}),o=getMatchingViews({viewStateSection:n?.children??{},filterFunction:t,container:a});return r.concat(o)});s.meta={name:"getAllMatchingViews",key:"createSelectorGetAllMatchingViews",description:(e,{filterFunction:t,container:a})=>{let n=(0,i.WC)(e),r=getMatchingViews({viewStateSection:n?.main??{},filterFunction:t,container:a}),o=getMatchingViews({viewStateSection:n?.children??{},filterFunction:t,container:a});return r.concat(o)}}},0x1df60c2b6:(e,t,a)=>{"use strict";a.d(t,{a:()=>s});var n=a(0x139aa1a7),r=a(0x16ed1b0dc),i=a(0x1cf0d97e1),o=a(0x9168058f);let s=(0,i.Ay)((e,{viewType:t})=>(0,o.l)(e,{filterFunction:({view:e})=>e.viewType===t||t===n.D.Channel&&(0,r.A)(e.id)}));s.meta={name:"getAllViewsByViewType",key:"createSelectorGetAllViewsByViewType",description:(e,{viewType:t})=>(0,o.l)(e,{filterFunction:({view:e})=>e.viewType===t||t===n.D.Channel&&(0,r.A)(e.id)})}},0x190cec51b:(e,t,a)=>{"use strict";a.d(t,{R:()=>o});var n=a(0x1cf0d97e1),r=a(0x19895585a),i=a(0x9271cc31);let o=(0,n.Ay)((e,{container:t,windowId:a})=>{let n;if(a===r.N2){let a=(0,i.e6)(e);n=(0,i.F8)(e,{tab:a,container:t})}return a!==r.N2&&(n=(0,i.Yi)(e,{container:t,windowId:a})),n});o.meta={name:"getCurrentWindowViewByContainer",key:"createSelectorGetCurrentWindowViewByContainer",description:(e,{container:t,windowId:a})=>{let n;if(a===r.N2){let a=(0,i.e6)(e);n=(0,i.F8)(e,{tab:a,container:t})}return a!==r.N2&&(n=(0,i.Yi)(e,{container:t,windowId:a})),n}}},0xc77f71a0:(e,t,a)=>{"use strict";a.d(t,{H:()=>l});var n=a(0x10027d8bc),r=a(0x1c760ba43),i=a(0x114ffe897),o=a(0x1cf0d97e1),s=a(0x217553e42);let l=(0,o.Ay)((e,t)=>{if(!(0,n.Dj)(e))return r.fY.Channel;let a=(0,s.OL)(e,t);return(0,i.D)(a)?r.fY.SlackbotAiConversation:r.fY.Channel});l.meta={name:"getDefaultTabForChannel",key:"createSelectorGetDefaultTabForChannel",description:(e,t)=>{if(!(0,n.Dj)(e))return r.fY.Channel;let a=(0,s.OL)(e,t);return(0,i.D)(a)?r.fY.SlackbotAiConversation:r.fY.Channel}}},0x1e974bbde:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(0xb64d15f8),r=a(0x1cf0d97e1),i=a(0x19895585a),o=a(0x9271cc31),s=a(0x6258badf);let l=(0,r.Ay)((e,{id:t})=>t===i.N2?(0,s.A)(e.view.main,[i.jf]):e.view.children[t]?e.view.children[t]:null);l.meta={name:"getViewSetByWindowId",key:"createSelectorGetViewSetByWindowId",description:(e,{id:t})=>t===i.N2?(0,s.A)(e.view.main,[i.jf]):e.view.children[t]?e.view.children[t]:null};var c=a(0xe822f938);let d=(0,r.Ay)((e,t)=>{let a,r=(0,c._I)(e),s={viewSet:void 0,windowId:void 0};if(!r)return s;let d=(0,c.pA)(e);if(!d)return s;let u=l(e,{id:d})??{},m=(0,o.e6)(e),f=d===i.N2;if(f){if(!m)return s;a=(a=u?.[m])&&t?.includeUiState?(0,n.W_)(e,{viewSet:a,windowId:i.N2,tab:m}):a}else a=(a=u)&&t?.includeUiState?(0,n.W_)(e,{viewSet:a,windowId:d}):a;let _={viewSet:a,windowId:d};return f&&(_.tab=m),_});d.meta={name:"getFocusedActiveViewSet",key:"createSelectorGetFocusedActiveViewSet",description:(e,t)=>{let a,r=(0,c._I)(e),s={viewSet:void 0,windowId:void 0};if(!r)return s;let d=(0,c.pA)(e);if(!d)return s;let u=l(e,{id:d})??{},m=(0,o.e6)(e),f=d===i.N2;if(f){if(!m)return s;a=(a=u?.[m])&&t?.includeUiState?(0,n.W_)(e,{viewSet:a,windowId:i.N2,tab:m}):a}else a=(a=u)&&t?.includeUiState?(0,n.W_)(e,{viewSet:a,windowId:d}):a;let _={viewSet:a,windowId:d};return f&&(_.tab=m),_}}},0xfb848f2e:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(0x192bd8716),r=a(0x11c82607b),i=a(0x1ad496a28),o=a(0x19895585a),s=a(0x9271cc31),l=a(0x234807d08),c=a(0x23b48b140);let d=(0,r.Ay)("Replace view set",(e,t,a)=>{let{windowId:r,childWindowId:d,viewSet:u,tab:m}=a;if(e((0,i.r8)({...a,viewSet:(0,l.t)(u)})),e((0,n.x)({viewSet:u,windowId:r})),r===o.N2){let a=(0,s.Gl)(t());if(!a)return;let n={...a,[m]:(0,l.t)(u)};e((0,c.A)({windowId:o.N2,entry:n}))}else e((0,c.A)({windowId:d,entry:(0,l.t)(u)}))});d.meta={name:"replaceViewSet",key:"createThunkReplaceViewSet",description:"Replace view set"};let u=d},0x1a204ce4e:(e,t,a)=>{"use strict";a.d(t,{A:()=>b,m:()=>h});var n=a(0xf87a4e28),r=a(0x197c69854),i=a(0x21708578c),o=a(0x2487bf97b),s=a(0x56f7449b),l=a(0x1ec68d6a3),c=a(0x157ccdb87),d=a(0x11c82607b),u=a(0x4bdacb39),m=a(0x1ad496a28),f=a(0x19895585a),_=a(0x9271cc31),p=a(0x10baafd1e);let h={Click:"click",Keyboard:"keyboard",AutoSwitch:"autoswitch",Omniswitcher:"omniswitcher",Peek:"peek",More:"more",OSMenu:"osmenu",Boot:"boot",InboxSettings:"inbox",GlobalCreateKeyboardShortcut:"globalcreatekeyboardshortcut",DeepLink:"deepLink",ListsWelcomeBanner:"listsWelcomeBanner",TodayAutoNavigate:"today-auto-navigate"},g="TAB-SWITCH",A=(0,d.Ay)("Set the active tab for the main window",async(e,t,{tab:a,reason:d,skipNavigationProcessing:h=!1,navigateProps:A})=>{let b=t(),y=(0,_.e6)(b);if(a===y)return;let S=(0,c.E)({state:b});if(h)e((0,m.vB)({tab:a})),(0,l.getGenericLogger)().info(g,`Set active tab to ${a} without navigation processing`);else{let t=(0,_.Le)(b,{tab:y}),n=(0,_.Le)(b,{tab:a}),c=(0,_.Oy)(b),{viewSet:d,terminateNavigation:m}=await e((0,r.F)({context:o.b.TabSwitch,prevViewSet:t,prevTab:y,nextViewSet:n,nextTab:a,windowId:f.N2,prevSplitView:c,nextSplitView:c}));if(m||!d)return void(0,l.getGenericLogger)().info(g,`Terminating tab switch to ${a} due to ${m?"middleware terminating navigation":"no view set"}`);(0,l.getGenericLogger)().info(g,"Built view set after middleware",{viewSet:d,nextTab:a}),d&&n!==d&&(n=d);let h={prevViewSet:t,prevTab:y,nextViewSet:n,nextTab:a,windowId:f.N2,navigateParams:A??{},triggerType:s.w.ACTIVE_TAB_UPDATE,prevSplitView:c,nextSplitView:c};e((0,u.c)(h)),e((0,p.A)({windowId:f.N2,tab:a,viewSet:n})),e((0,i.C)(h))}let E=S.createSpan({name:"ia4client:navigate:tabSwitch",samplingOptions:{sampleType:n.tS.ALWAYS},options:{tags:{prevTab:y,nextTab:a,reason:d.toString()}}});E.close(),S.reportSpans([E])});A.meta={name:"setActiveTab",key:"createThunkSetActiveTab",description:"Set the active tab for the main window"};let b=A},0x10baafd1e:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(0x192bd8716),r=a(0x11c82607b),i=a(0x1ad496a28),o=a(0x19895585a),s=a(0x9271cc31),l=a(0x234807d08),c=a(0xff0e8722);let d=(0,r.Ay)("Set the view set, i.e. multiple containers at once, in the specified window",(e,t,a)=>{let{windowId:r,childWindowId:d,viewSet:u,tab:m}=a;if(e((0,n.x)({viewSet:u,windowId:r??d,tab:m})),e((0,i.r8)({...a,viewSet:(0,l.t)(u)})),r===o.N2){let a=(0,s.Gl)(t());if(!a)return;let n={...a,[m]:(0,l.t)(u)};e((0,c.A)({windowId:o.N2,entry:n}))}else e((0,c.A)({windowId:d,entry:(0,l.t)(u)}))});d.meta={name:"setViewSet",key:"createThunkSetViewSet",description:"Set the view set, i.e. multiple containers at once, in the specified window"};let u=d},0x19969407e:(e,t,a)=>{"use strict";a.d(t,{Y:()=>s});var n=a(0x11c82607b),r=a(0x1867ace9),i=a(0x19895585a),o=a(0x9271cc31);let s=(0,n.Ay)("Determine if current history entry should be replaced instead of pushing a new one when navigating in main window",(e,t,a)=>{let{navigateInPlace:n,targetTab:s,targetViewSet:l,windowId:c,targetContainer:d}=a;if(n)return!0;let u=c===i.N2,m=t(),f=u?(0,o.YY)(m,{tab:s,viewSet:l}):(0,o.Bl)(m,{windowId:c,viewSet:l});return!!f&&((0,r.V)(m)?d===(0,r.T)(m,{id:c}):f)});s.meta={name:"shouldReplaceHistory",key:"createThunkShouldReplaceHistory",description:"Determine if current history entry should be replaced instead of pushing a new one when navigating in main window"}},0x1af63fe13:(e,t,a)=>{"use strict";a.d(t,{v:()=>l});var n=a(0x12866476b),r=a(0x1fa981ad0),i=a(0x11c82607b);let o=(0,i.Ay)("Upserts uiState for a view container in a product surface",(e,t,a)=>{let i=t(),{windowId:o,uiState:s,isSplitView:l=!1,container:c,tab:d}=a,u=(0,r.j)({windowId:o,isSplitView:l,container:c,tab:d});if(!u)return;let m={...(0,n.mB)(i,u),...s};return e((0,n.SF)({objects:[{id:u,uiState:m}]}))});o.meta={name:"upsertUiState",key:"createThunkUpsertUiState",description:"Upserts uiState for a view container in a product surface"};var s=a(0x19895585a);let l=(0,i.Ay)("Updates uiState in the ui state store",(e,t,a)=>{let{container:n,uiState:r,windowId:i,tab:l}=a,c=n===s.mq.Split,d="isSplitView"in a?a.isSplitView:c;return e(o({windowId:i??a.childWindowId,uiState:r,isSplitView:d,container:n,tab:l}))});l.meta={name:"updateStateForView",key:"createThunkUpdateStateForView",description:"Updates uiState in the ui state store"}},0x15bc0d169:(e,t,a)=>{"use strict";a.d(t,{A:()=>areViewSetsEquivalent,T:()=>areViewsEquivalent});var n=a(0x206c7a40f),r=a(0x1feee1711),i=a(0x21f3c49e8),o=a(0x9e671ad);let s=new Set(["uiState","prev"]),normalizeView=e=>{let t=e.params&&(0,n.A)(e.params,r.A);return{...(0,n.A)(e,(e,t)=>(0,r.A)(e)||"params"===t||s.has(t)),...!(0,i.A)(t)&&{params:t}}},areViewsEquivalent=(e,t)=>!!e&&!!t&&(0,o.A)(normalizeView(e),normalizeView(t));function areViewSetsEquivalent(e,t){if(!e||!t)return!1;let a=Object.keys((0,n.A)(e,r.A));return(0,o.A)(a,Object.keys((0,n.A)(t,r.A)))&&a.every(a=>areViewsEquivalent(e[a],t[a]))}},0x1731631dc:(e,t,a)=>{"use strict";a.d(t,{Jz:()=>isSplitViewEnabled,Kb:()=>isSplitViewMoveOutEnabled,W7:()=>isNestedSecondaryViewEnabled,dZ:()=>isSplitViewBackMenuEnabled,fc:()=>isSplitViewToggleButtonEnabled,yX:()=>isSplitViewChildWindowsEnabled,zG:()=>isSplitViewStackEnabled});var n=a(0x21bfacd01),r=a(0x14149c126);let isSplitViewEnabled=e=>"on"===(0,r._Z)(e,"split_view")&&!(0,n.V)(e),isSplitViewChildWindowsEnabled=e=>isSplitViewEnabled(e)&&"on"===(0,r._Z)(e,"splitview_child_windows"),isSplitViewStackEnabled=e=>isSplitViewEnabled(e)&&"on"===(0,r._Z)(e,"split_view_stack"),isSplitViewMoveOutEnabled=e=>isSplitViewEnabled(e)&&"on"===(0,r._Z)(e,"split_view_move_out"),isSplitViewBackMenuEnabled=e=>isSplitViewEnabled(e)&&"on"===(0,r._Z)(e,"split_view_back_menu"),isSplitViewToggleButtonEnabled=e=>isSplitViewEnabled(e)&&"on"===(0,r._Z)(e,"split_view_toggle_button"),isNestedSecondaryViewEnabled=e=>"on"===(0,r._Z)(e,"nested_secondary_view")},0x211b4fc96:(e,t,a)=>{"use strict";a.d(t,{DW:()=>isViewContainer,IL:()=>isViewType,eg:()=>isView,kT:()=>isViewSet,xL:()=>isTabName});var n=a(0x9b44b68b),r=a(0x249159109),i=a(0x7fa3cc8f),o=a(0xb77a689a),s=a(0xe67fcf33),l=a(0x225645a46),c=a(0x139aa1a7),d=a(0x19895585a);function isViewSet(e){if(!e)return!1;let t=(0,n.A)(e),a=(0,r.A)(t,isViewContainer),o=(0,i.A)(e),s=(0,r.A)(o,isView);return a&&s}function isViewContainer(e){return(0,i.A)(d.mq).includes(e)}function isTabName(e){return Object.values(d.k6).includes(e)}let isViewType=e=>!!c.D[e];function isView(e){return!(!e||!e.id||!(0,o.A)(e.id)||!e.viewType||!isViewType(e.viewType)||(0,s.A)(e,"params")&&!(0,l.A)(e.params)&&void 0!==e.params||(0,s.A)(e,"uiState")&&!(0,l.A)(e.uiState)&&void 0!==e.uiState||(0,s.A)(e,"prev")&&!isView(e.prev)&&void 0!==e.prev)}},0x234807d08:(e,t,a)=>{"use strict";a.d(t,{Z:()=>scrubUiStateForView,t:()=>scrubUiState});var n=a(0x6258badf),r=a(0x206c7a40f),i=a(0x139aa1a7),o=a(0x1ec68d6a3),s=a(0x211b4fc96);let l=(0,o.getGenericLogger)({label:"SCRUB-UI-STATE"}),isViewContainerAndView=e=>{let[t,a]=e,r=(0,s.DW)(t)&&((0,s.eg)(a)||!!a&&(a.viewType===i.D.Canvas||a.viewType===i.D.ChannelCanvas)&&(0,s.eg)({...(0,n.A)(a,"options")}));if(!r){let e="";try{e=JSON.stringify(a)}catch{}l.error(Error("attempted to write invalid view to history"),{container:t,view:e})}return r},scrubUiState=e=>Object.entries(Object.entries(e).reduce((e,[t,a])=>{if(!a)return e;let n=(0,r.A)(a,e=>void 0===e);return e[t]=n,e},{})).filter(isViewContainerAndView).reduce((e,[t,a])=>(e[t]={...(0,n.A)(a,"uiState")},e),{}),scrubUiStateForView=e=>(0,n.A)(e,"uiState")},0x22c0126c1:(e,t,a)=>{"use strict";a.d(t,{LK:()=>tabHasExtraWideSidebar,R2:()=>tabHasNarrowSidebar,Ul:()=>tabHasCollapsibleSidebar,d_:()=>tabHasWideSidebar});var n=a(0x19895585a);let r=[n.k6.Activity,n.k6.DMs,n.k6.Later],tabHasExtraWideSidebar=e=>e===n.k6.Search||e===n.k6.ActivityInbox,tabHasWideSidebar=e=>r.includes(e),tabHasNarrowSidebar=e=>!tabHasWideSidebar(e)&&!tabHasExtraWideSidebar(e),tabHasCollapsibleSidebar=(e,t)=>t?e!==n.k6.Search&&e!==n.k6.ActivityInbox:e===n.k6.Home},0x20c8d66c6:(e,t,a)=>{"use strict";a.d(t,{V4:()=>r,ix:()=>i,s4:()=>o});var n=a(0xcf658893);let r=(0,n.Ay)("Remove the specified ViewSet key from the store");r.meta={name:"removeViewSetMetadata",key:"createActionRemoveViewSetMetadata",description:"Remove the specified ViewSet key from the store"};let i=(0,n.Ay)("Add a ViewSet key to the store with initial state");i.meta={name:"addViewSetMetadata",key:"createActionAddViewSetMetadata",description:"Add a ViewSet key to the store with initial state"};let o=(0,n.Ay)("Update metadata for a ViewSet in the store");o.meta={name:"updateViewSetMetadata",key:"createActionUpdateViewSetMetadata",description:"Update metadata for a ViewSet in the store"}},0x117f78ac8:(e,t,a)=>{"use strict";a.d(t,{K$:()=>r,NE:()=>i,oZ:()=>n});let n={Single:"single",Multi:"multi"},r="childWindowDefaultViewport",i="childWindowThreadViewport"},0x16082db4b:(e,t,a)=>{"use strict";a.d(t,{N:()=>i,j:()=>r});var n=a(0x1cf0d97e1);let r=(0,n.Ay)((e,{windowId:t})=>e?.viewSetMetadata?.[t]);r.meta={name:"getViewSetMetadata",key:"createSelectorGetViewSetMetadata",description:(e,{windowId:t})=>e?.viewSetMetadata?.[t]};let i=(0,n.Ay)((e,{windowId:t})=>!!e?.viewSetMetadata?.[t]?.forceSingleColumnMode);i.meta={name:"getForceSingleColumnMode",key:"createSelectorGetForceSingleColumnMode",description:(e,{windowId:t})=>!!e?.viewSetMetadata?.[t]?.forceSingleColumnMode}},0xdb650e:(e,t,a)=>{"use strict";a.d(t,{N:()=>_});var n=a(0x129702595),r=a(0x76f28ce7),i=a(0xa624a5c7),o=a(0x11c82607b),s=a(0x21bfacd01),l=a(0x19895585a),c=a(0x9271cc31),d=a(0x22c0126c1),u=a(0x20c8d66c6),m=a(0x117f78ac8),f=a(0x16082db4b);let _=(0,o.Ay)("Switch main window column mode if we need to",(e,t,{windowWidth:a,passedInNewColumnMode:o},_)=>{let p=t(),h=(0,f.j)(p,{windowId:l.N2}),g=h?.columnMode,A=(0,c.e6)(p),b=(0,s.V)(p),y=a>=((0,d.LK)(A)?n.xG:n._d)?m.oZ.Multi:m.oZ.Single;if(!b&&o)y=o;else if(!b)return;if(g!==y){let{getFocusedContainer:t}=_(r.W),a=(0,c.Le)(p,{tab:A||l.k6.Home}),n=t()===l.mq.Primary,o=!!a?.[l.mq.Secondary];y===m.oZ.Single&&n&&o&&e((0,i.YI)({})),e((0,u.s4)({windowId:l.N2,metadata:{columnMode:y}}))}});_.meta={name:"maybeSwitchMainWindowColumnMode",key:"createThunkMaybeSwitchMainWindowColumnMode",description:"Switch main window column mode if we need to"}},0x2220539ac:(e,t,a)=>{"use strict";a.d(t,{bD:()=>o,cx:()=>i,gM:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set a new list of Whats New updates");r.meta={name:"setWhatsNewUpdates",key:"createActionSetWhatsNewUpdates",description:"Set a new list of Whats New updates"};let i=(0,n.Ay)("Adds persisted file id for feedback flexpane");i.meta={name:"setWhatsNewLoading",key:"createActionSetWhatsNewLoading",description:"Adds persisted file id for feedback flexpane"};let o=(0,n.Ay)("Mark Whats New fetch as failed");o.meta={name:"setWhatsNewFetchFailed",key:"createActionSetWhatsNewFetchFailed",description:"Mark Whats New fetch as failed"}},0x1092fdc4b:(e,t,a)=>{"use strict";a.d(t,{RQ:()=>u,HJ:()=>f,_B:()=>m});var n=a(0x223ac29bb),r=a(0x1cf0d97e1),i=a(0x9b971e7e),o=a(0xca924ee1),s=a(0x1a8cc04e1),l=a(0x1266f1359),c=a(0x1af435628);let d=(0,o.A)(e=>new s.Ay({storeKey:"newWhatsNew",fetch:t=>(0,l.Qw)(t,(0,c.E)({reason:e})),isEnabled:()=>!0})),u=(0,r.Ay)(e=>e?.newWhatsNew?.isLoading);u.meta={name:"getIsLoading",key:"createSelectorGetIsLoading",description:e=>e?.newWhatsNew?.isLoading};let m=(0,r.Ay)((e,t)=>{let a=(0,i.ZT)(e),r=(0,n.Yp)();return e?.newWhatsNew?.locale!==r&&d(t).markObjectsAsStale(a,[r]),d(t).maybeRefetch(a,r),e?.newWhatsNew?.updates??[]});m.meta={name:"getWhatsNewUpdates",key:"createSelectorGetWhatsNewUpdates",description:(e,t)=>{let a=(0,i.ZT)(e),r=(0,n.Yp)();return e?.newWhatsNew?.locale!==r&&d(t).markObjectsAsStale(a,[r]),d(t).maybeRefetch(a,r),e?.newWhatsNew?.updates??[]}};let f=(0,r.Ay)(e=>e?.newWhatsNew?.fetchFailed);f.meta={name:"getWhatsNewFetchFailed",key:"createSelectorGetWhatsNewFetchFailed",description:e=>e?.newWhatsNew?.fetchFailed}},0x1af435628:(e,t,a)=>{"use strict";a.d(t,{E:()=>l});var n=a(0x22a29f141),r=a(0x223ac29bb);let i=(0,a(0x1dfdeb1c8).A)("Fetch whats new articles",(e,t,{reason:a})=>e((0,n.apiCall)({args:{locale:(0,r.Yp)()},method:"helpcenter.getWhatsNew",reason:a})));i.meta={name:"fetchWhatsNewArticles",key:"createFetcherFetchWhatsNewArticles",description:"Fetch whats new articles"};var o=a(0x11c82607b),s=a(0x2220539ac);let l=(0,o.Ay)("Fetch and upsert What's New updates into store",async(e,t,{reason:a})=>{e((0,s.cx)({isLoading:!0}));try{let t=await e(i({reason:a}));return e((0,s.gM)({updates:t.articles}))}catch(t){throw e((0,s.bD)({fetchFailed:!0})),t}});l.meta={name:"fetchAndUpsertNewWhatsNewUpdates",key:"createThunkFetchAndUpsertNewWhatsNewUpdates",description:"Fetch and upsert What's New updates into store"}},0x3c2c9330:(e,t,a)=>{"use strict";a.d(t,{$Z:()=>i,In:()=>s,Nr:()=>u,aV:()=>c,iV:()=>wrappedReplaceCurrentHistoryEntryForWindowInternal,o1:()=>r,px:()=>createWindowHistoryStoreActions,s0:()=>m,xU:()=>wrappedPushHistoryEntryForWindowInternal,zA:()=>o});var n=a(0xcf658893);function createWindowHistoryStoreActions(){return{pushHistoryEntryForWindowInternal:(0,n.Ay)("Push new view set onto a windows history stack"),replaceCurrentHistoryEntryForWindowInternal:(0,n.Ay)("Replace current history entry for window"),removeHistoryForWindow:(0,n.Ay)("Removes the entire history stack for a window"),removeRecentHistoryForWindow:(0,n.Ay)("Removes the entire recents history stack for a window"),updateIndexForWindow:(0,n.Ay)("Update the current index in the history stack for a window"),popHistoryAboveIndexForWindow:(0,n.Ay)("Remove all entries from the history stack above the specified index")}}let r=(0,n.Ay)("Sets the very first history entry after a new window is opened");r.meta={name:"setInitialHistoryEntryForWindow",key:"createActionSetInitialHistoryEntryForWindow",description:"Sets the very first history entry after a new window is opened"};let i=(0,n.Ay)("Update the view set params at a specified index");i.meta={name:"updateHistoryEntryParamsForWindow",key:"createActionUpdateHistoryEntryParamsForWindow",description:"Update the view set params at a specified index"};let{pushHistoryEntryForWindowInternal:o,replaceCurrentHistoryEntryForWindowInternal:s,...l}=createWindowHistoryStoreActions(),{removeHistoryForWindow:c,removeRecentHistoryForWindow:d,updateIndexForWindow:u,popHistoryAboveIndexForWindow:m}=l,wrappedPushHistoryEntryForWindowInternal=e=>o(e),wrappedReplaceCurrentHistoryEntryForWindowInternal=e=>s(e)},0x1f0a2e299:(e,t,a)=>{"use strict";a.d(t,{s4:()=>m,Qm:()=>d,GZ:()=>u,X2:()=>f,Hh:()=>p,n5:()=>_});var n=a(0x60760cde),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0x1cf0d97e1),s=a(0x9b971e7e),l=a(0x1867ace9),c=a(0x15bc0d169);function getStackWithoutDuplicatedEntries(e,t,a){if((0,l.V)(e))return a;let n=e.windowHistory?.[t]?.index,r=e.windowHistory?.[t]?.stack[n];if(!r)return a;let{id:i,...o}=r;return a.filter(e=>{let{id:t,...a}=e;return!(0,c.A)(a,o)})}let canNavigateStack=(e,t,a)=>0===getStackWithoutDuplicatedEntries(e,t,a).length;(0,o.Ay)((e,{windowId:t})=>{let{stack:a,index:n}=e.windowHistory?.[t];return a&&a[n]}).meta={name:"getCurrentHistoryEntryForWindow",key:"createSelectorGetCurrentHistoryEntryForWindow",description:(e,{windowId:t})=>{let{stack:a,index:n}=e.windowHistory?.[t];return a&&a[n]}};let d=(0,o.Ay)((e,{windowId:t})=>t?e.windowHistory?.[t]?.stack:(0,i.B4)());d.meta={name:"getHistoryForChildWindow",key:"createSelectorGetHistoryForChildWindow",description:(e,{windowId:t})=>t?e.windowHistory?.[t]?.stack:(0,i.B4)()};let u=(0,o.Ay)((e,{windowId:t})=>t?e.windowHistory?.[t]?.index:0);u.meta={name:"getHistoryIndexForWindow",key:"createSelectorGetHistoryIndexForWindow",description:(e,{windowId:t})=>t?e.windowHistory?.[t]?.index:0};let m=(0,o.Ay)((e,{windowId:t})=>{if(!t)return;let a=u(e,{windowId:t});return e.windowHistory?.[t]?.stack[a]});m.meta={name:"getCurrentViewsetForWindow",key:"createSelectorGetCurrentViewsetForWindow",description:(e,{windowId:t})=>{if(!t)return;let a=u(e,{windowId:t});return e.windowHistory?.[t]?.stack[a]}};let f=(0,o.Ay)((e,{windowId:t})=>t?e.windowHistory?.[t]?.previousIndex:0);f.meta={name:"getHistoryPreviousIndexForWindow",key:"createSelectorGetHistoryPreviousIndexForWindow",description:(e,{windowId:t})=>t?e.windowHistory?.[t]?.previousIndex:0};let _=(0,o.Ay)((e,{windowId:t})=>{if(!t)return!0;let a=e.windowHistory?.[t];if(!a)return!0;let{stack:n,index:r}=a;return!n||0===r||canNavigateStack(e,t,n.slice(0,r))});_.meta={name:"isForwardDisabledForWindow",key:"createSelectorIsForwardDisabledForWindow",description:(e,{windowId:t})=>{if(!t)return!0;let a=e.windowHistory?.[t];if(!a)return!0;let{stack:n,index:r}=a;return!n||0===r||canNavigateStack(e,t,n.slice(0,r))}};let p=(0,o.Ay)((e,{windowId:t})=>{if(!t)return!0;let a=e.windowHistory?.[t];if(!a)return!0;let{stack:n,index:r}=a;return!n||r+1===n.length||canNavigateStack(e,t,n.slice(r+1))});p.meta={name:"isBackDisabledForWindow",key:"createSelectorIsBackDisabledForWindow",description:(e,{windowId:t})=>{if(!t)return!0;let a=e.windowHistory?.[t];if(!a)return!0;let{stack:n,index:r}=a;return!n||r+1===n.length||canNavigateStack(e,t,n.slice(r+1))}},(0,r.Mz)((e,{windowId:t})=>d(e,{windowId:t}),e=>(0,s.ZT)(e),(e,t)=>(0,n.A)(e||[],1).map(({id:e,...a})=>({viewSet:a,id:e,teamId:t}))),(0,o.Ay)((e,{windowId:t})=>!!t&&e.windowHistory?.[t]?.stack?.length>1).meta={name:"getWindowHasHistoryStack",key:"createSelectorGetWindowHasHistoryStack",description:(e,{windowId:t})=>!!t&&e.windowHistory?.[t]?.stack?.length>1}},0xff0e8722:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(0x12edaa96a),r=a(0x148685a07),i=a(0xfee0a4ff),o=a(0x11c82607b),s=a(0x9b971e7e),l=a(0x691ce3ab),c=a(0x19895585a),d=a(0x3c2c9330),u=a(0x1f0a2e299),m=a(0x1270387c5);let f=(0,o.Ay)("Add a new entry to this windows history stack",(e,t,a)=>{let o=t();if(!a.windowId||!a.entry)return;if(a.windowId===c.N2){let e=(0,i.XG)((0,l.Ry)());e>0&&(0,l.dispatchForClientStore)((0,r.$E)({windowId:a.windowId,index:e}))}else if(a.windowId===c.T2);else{let t=(0,u.GZ)(o,{windowId:a.windowId});t>0&&e((0,d.s0)({windowId:a.windowId,index:t}))}let f=(0,n.A)();if(a.windowId===c.N2){let e=Date.now(),t=(0,s.ZT)(o)||"";(0,l.dispatchForClientStore)((0,r.y2)({windowId:a.windowId,entry:{...a.entry,id:f,ts:e,teamId:t,isIA4:!0}})),(0,m.c)(o,f,a.entry);return}e(a.windowId===c.T2?(0,d.xU)({windowId:a.windowId,entry:{view:{...a.entry},id:f}}):(0,d.xU)({windowId:a.windowId,entry:{...a.entry,id:f}}))});f.meta={name:"pushHistoryEntryForWindow",key:"createThunkPushHistoryEntryForWindow",description:"Add a new entry to this windows history stack"};let _=f},0x23b48b140:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(0x12edaa96a),r=a(0x148685a07),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x691ce3ab),l=a(0x19895585a),c=a(0x3c2c9330),d=a(0x1270387c5);let u=(0,i.Ay)("Add a new entry to this windows history stack",(e,t,a)=>{if(!a.windowId||!a.entry)return;let i=t(),u=(0,n.A)();if(a.windowId===l.N2){let e=Date.now(),t=(0,o.ZT)(i)||"";(0,s.dispatchForClientStore)((0,r.HQ)({windowId:a.windowId,entry:{...a.entry,id:u,ts:e,teamId:t,isIA4:!0}})),(0,d.g)(i,u,a.entry)}else e((0,c.iV)({windowId:a.windowId,entry:{...a.entry,id:u}}))});u.meta={name:"replaceCurrentHistoryEntryForWindow",key:"createThunkReplaceCurrentHistoryEntryForWindow",description:"Add a new entry to this windows history stack"};let m=u},0x12b3a2912:(e,t,a)=>{"use strict";function isIA4HistoryStackEntry(e){return e.isIA4}a.d(t,{H:()=>isIA4HistoryStackEntry})},0x1270387c5:(e,t,a)=>{"use strict";a.d(t,{c:()=>pushState,g:()=>replaceState});var n=a(0xd6ba6894),r=a(0x1d30b0ef7),i=a(0x16ed1b0dc),o=a(0xa985ed31),s=a(0x1529370e7),l=a(0x107e97a6b),c=a(0x9b971e7e),d=a(0x19895585a),u=a(0x9271cc31);function pushState(e,t,a){let r={isIA4:!0,teamId:(0,c.ZT)(e)||"",id:t,state:a,splitView:(0,u.Oy)(e)},i=getURLForHistoryEntry(e,r);n.J.history.pushState(r,"",i)}function replaceState(e,t,a){let r={isIA4:!0,teamId:(0,c.ZT)(e)||"",id:t,state:a,splitView:(0,u.Oy)(e)},i=getURLForHistoryEntry(e,r);n.J.history.replaceState(r,"",i)}function getURLForHistoryEntry(e,t){let a=[t.teamId],n=t.state[d.jf];switch(!0){case n===d.k6.Home:{let e=t.state[n]?.[d.mq.Primary]?.id;e&&(0,i.A)(e)&&a.push(e);break}case n===d.k6.UnifiedFiles:{a.push(n);let e=t.state[n]?.[d.mq.Primary]?.id;if(!e)break;if((0,s.Ay)(e)){let t=(0,l.QY)(e);t&&(a.push("doc"),a.push(t))}else(0,o.A)(e)&&(a.push("list"),a.push(e));break}default:a.push(n)}return`${(0,r.a8)()}/${a.join("/")}${window.location.search}`}},0xea4b588d:(e,t,a)=>{"use strict";a.d(t,{NV:()=>c,_p:()=>r,d1:()=>s,jO:()=>l,pb:()=>o,w3:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Internally update the window focus state");r.meta={name:"innerUpdateFocus",key:"createActionInnerUpdateFocus",description:"Internally update the window focus state"};let i=(0,n.Ay)("Mark the window as unloading");i.meta={name:"setUnloading",key:"createActionSetUnloading",description:"Mark the window as unloading"};let o=(0,n.Ay)("What kind of boot is this");o.meta={name:"setBootType",key:"createActionSetBootType",description:"What kind of boot is this"};let s=(0,n.Ay)("Set the entire window state --  this should only be used when the data is coming from the client-store");s.meta={name:"setWindow",key:"createActionSetWindow",description:"Set the entire window state --  this should only be used when the data is coming from the client-store"};let l=(0,n.Ay)("Remove data for the specified window (use this during window teardown)");l.meta={name:"innerRemoveWindow",key:"createActionInnerRemoveWindow",description:"Remove data for the specified window (use this during window teardown)"};let c=(0,n.Ay)("Internally set the sizing and positioning data for a window (please use setViewport thunk instead)");c.meta={name:"innerSetViewport",key:"createActionInnerSetViewport",description:"Internally set the sizing and positioning data for a window (please use setViewport thunk instead)"}},0x1e693d89b:(e,t,a)=>{"use strict";a.d(t,{G:()=>n});let n="window-restoration"},0xe822f938:(e,t,a)=>{"use strict";a.d(t,{FM:()=>I,OD:()=>S,YR:()=>f,Yq:()=>E,_I:()=>T,b0:()=>u,fq:()=>b,ko:()=>y,nI:()=>A,nV:()=>g,pA:()=>w,pp:()=>k,su:()=>d,zk:()=>c});var n=a(0x658a411c),r=a(0xf59e4385),i=a(0x1cf0d97e1),o=a(0xdf55e8f3),s=a(0x19895585a),l=a(0x117f78ac8);let c=(0,i.Ay)((e,t=s.N2)=>e?.window?.[t]);c.meta={name:"getWindow",key:"createSelectorGetWindow",description:(e,t=s.N2)=>e?.window?.[t]};let d=(0,i.Ay)((e,t=s.N2)=>e?.window?.[t]?.timeLastBlurEvent);d.meta={name:"getWindowLastBlurEvent",key:"createSelectorGetWindowLastBlurEvent",description:(e,t=s.N2)=>e?.window?.[t]?.timeLastBlurEvent};let u=(0,i.Ay)((e,t=s.N2)=>e?.window?.[t]?.timeLastFocusEvent);u.meta={name:"getWindowLastFocusEvent",key:"createSelectorGetWindowLastFocusEvent",description:(e,t=s.N2)=>e?.window?.[t]?.timeLastFocusEvent};let m=(0,i.Ay)((e,t)=>{let a=t[0];return t.forEach(t=>{let n=e.window[t],r=e.window[a];if(n){if(!r){a=t;return}Math.max(n.timeCreation,n.timeLastFocusEvent)>Math.max(r.timeCreation,r.timeLastFocusEvent)&&(a=t)}}),c(e,a)});m.meta={name:"getMostRecentlyFocusedWindowInner",key:"createSelectorGetMostRecentlyFocusedWindowInner",description:(e,t)=>{let a=t[0];return t.forEach(t=>{let n=e.window[t],r=e.window[a];if(n){if(!r){a=t;return}Math.max(n.timeCreation,n.timeLastFocusEvent)>Math.max(r.timeCreation,r.timeLastFocusEvent)&&(a=t)}}),c(e,a)}};let f=(0,i.Ay)((e,t)=>{let a=[...r.bS],n=e.view.children[t],i=e.viewSetMetadata[t];return!!(n?.primary?.id&&a.includes(n.primary.id))||!!((n?.secondary?.viewType&&s.F0.includes(n.secondary.viewType)||n?.secondary?.id&&s.K5.includes(n.secondary.id))&&i?.columnMode===l.oZ.Single)});f.meta={name:"isThreadView",key:"createSelectorIsThreadView",description:(e,t)=>{let a=[...r.bS],n=e.view.children[t],i=e.viewSetMetadata[t];return!!(n?.primary?.id&&a.includes(n.primary.id))||!!((n?.secondary?.viewType&&s.F0.includes(n.secondary.viewType)||n?.secondary?.id&&s.K5.includes(n.secondary.id))&&i?.columnMode===l.oZ.Single)}};let _=(0,i.Ay)((e,t)=>{let a=[...r.bS],n=e.view.children[t],i=e.viewSetMetadata[t];return!(n?.primary?.id&&a.includes(n.primary.id))&&(!n.secondary||i?.columnMode!==l.oZ.Single||!!(n.secondary.viewType&&!s.F0.includes(n.secondary.viewType)||n.secondary?.id&&!s.K5.includes(n.secondary.id)))});_.meta={name:"isRegularView",key:"createSelectorIsRegularView",description:(e,t)=>{let a=[...r.bS],n=e.view.children[t],i=e.viewSetMetadata[t];return!(n?.primary?.id&&a.includes(n.primary.id))&&(!n.secondary||i?.columnMode!==l.oZ.Single||!!(n.secondary.viewType&&!s.F0.includes(n.secondary.viewType)||n.secondary?.id&&!s.K5.includes(n.secondary.id)))}};let p=(0,i.Ay)(e=>(0,n.A)(Object.keys(e.view.children),t=>f(e,t)));p.meta={name:"isAThreadChildViewOpen",key:"createSelectorIsAThreadChildViewOpen",description:e=>(0,n.A)(Object.keys(e.view.children),t=>f(e,t))};let h=(0,i.Ay)(e=>(0,n.A)(Object.keys(e.view.children),t=>_(e,t)));h.meta={name:"isARegularChildViewOpen",key:"createSelectorIsARegularChildViewOpen",description:e=>(0,n.A)(Object.keys(e.view.children),t=>_(e,t))};let g=(0,i.Ay)(e=>{if(!p(e))return null;let t=Object.keys(e.view.children).filter(t=>f(e,t));return m(e,t)});g.meta={name:"getMostRecentlyFocusedThreadWindow",key:"createSelectorGetMostRecentlyFocusedThreadWindow",description:e=>{if(!p(e))return null;let t=Object.keys(e.view.children).filter(t=>f(e,t));return m(e,t)}};let A=(0,i.Ay)(e=>{if(!h(e))return null;let t=Object.keys(e.view.children).filter(t=>_(e,t));return m(e,t)});A.meta={name:"getMostRecentlyFocusedRegularWindow",key:"createSelectorGetMostRecentlyFocusedRegularWindow",description:e=>{if(!h(e))return null;let t=Object.keys(e.view.children).filter(t=>_(e,t));return m(e,t)}};let b=(0,i.Ay)(e=>e?.window);b.meta={name:"getAllWindows",key:"createSelectorGetAllWindows",description:e=>e?.window};let y=(0,i.Ay)((e,t=s.N2)=>!!e&&e?.window?.[t]?.isFocused);y.meta={name:"isWindowFocused",key:"createSelectorIsWindowFocused",description:(e,t=s.N2)=>!!e&&e?.window?.[t]?.isFocused};let S=(0,i.Ay)(e=>{if(!e)return!1;let t=b(e);return!!t&&Reflect.ownKeys(t).some(t=>e?.window?.[t]?.isFocused)});S.meta={name:"isAnyWindowFocused",key:"createSelectorIsAnyWindowFocused",description:e=>{if(!e)return!1;let t=b(e);return!!t&&Reflect.ownKeys(t).some(t=>e?.window?.[t]?.isFocused)}};let E=(0,i.Ay)((e,t=s.N2)=>!!e&&e?.window?.[t]?.isUnloading);E.meta={name:"isWindowUnloading",key:"createSelectorIsWindowUnloading",description:(e,t=s.N2)=>!!e&&e?.window?.[t]?.isUnloading};let k=(0,i.Ay)((e,t=s.N2)=>e?.window?.[t]?.bootType);k.meta={name:"getBootType",key:"createSelectorGetBootType",description:(e,t=s.N2)=>e?.window?.[t]?.bootType};let T=(0,o.$j)(e=>e.window?Object.keys(e.window):[],e=>e),I=(0,i.Ay)(e=>{let t=T(e);return m(e,t)});I.meta={name:"getMostRecentlyFocusedWindow",key:"createSelectorGetMostRecentlyFocusedWindow",description:e=>{let t=T(e);return m(e,t)}};let w=(0,i.Ay)(e=>T(e).find(t=>e.window?.[t]?.isFocused??!1));w.meta={name:"getCurrentlyFocusedWindowId",key:"createSelectorGetCurrentlyFocusedWindowId",description:e=>T(e).find(t=>e.window?.[t]?.isFocused??!1)}},0xb3515851:(e,t,a)=>{"use strict";a.d(t,{M:()=>E,v:()=>flushWindowRestorationDataOnDesktopQuit});var n=a(0x2286acf6c),r=a(0x4f6e90b4),i=a(0x62a17882),o=a(0x124dcf146),s=a(0x1ec68d6a3),l=a(0x1fdf007c4),c=a(0x184deeba7),d=a(0x11c82607b),u=a(0x1266f1359),m=a(0x19895585a),f=a(0x9271cc31),_=a(0x16082db4b),p=a(0x1e693d89b),h=a(0xe822f938),g=a(0x164ee0b8e),A=a(0x1bb02f2c4);let b=!1,y=(0,d.Ay)("Set localStorage data to reconstructing a multi-window layout (internal)",(e,t)=>{let a=(0,s.getGenericLogger)({label:"WIN-RESTORE"});if(a.info("maybeSaveWindowRestorationDataInternal isAppQuitting:",b),b||!(0,i.y3)()&&!(0,l.S)())return;let n=t(),r=(0,c.L)(n),d=(0,h._I)(n).filter(e=>e!==m.N2);if(!d.length){a.info("There are no open windows, persisting an empty scene."),(0,g.q9)(p.G,{});return}let y=(0,A.getBootedWorkspaces)(n),S={},E={};y.forEach(e=>{let t=(0,u.$D)(e),a=(0,f.WC)(t);S[e]=a,Object.keys(a.children).forEach(t=>{E[t]=e})});let k={};if(d.forEach(e=>{if(E[e]){let t=E[e],r=(0,u.$D)(t),i=(0,_.j)(r,{windowId:e}),o=(0,h.zk)(n,e)?.viewport;k[t]=k[t]||{},k[t][e]={viewSet:S[t].children[e],windowViewport:o,shouldNavigateInContext:i?.shouldNavigateInContext,shouldShowSearch:i?.shouldShowSearch},a.info(`Persisting window ${e} in team ${t} with dimensions:`,o)}}),!Object.keys(E).length)return void a.info("Did not find any windows to persist among the open ones.");if(a.info("Found",Object.keys(E).length,"window(s) to restore later. Writing to localStorage\u2026"),(0,g.q9)(p.G,k),a.info("Sucessfully persisted windows to the window-restoration localConfig"),r){let e=(0,s.getGenericLogger)({label:"WIN-RESTORE-DISPLAYS"});(0,o.A)(n).then(t=>{t.displays.forEach((t,a)=>{try{e.info(`Display ${a}: ${JSON.stringify(t)}`)}catch{}})})}});y.meta={name:"maybeSaveWindowRestorationDataInternal",key:"createThunkMaybeSaveWindowRestorationDataInternal",description:"Set localStorage data to reconstructing a multi-window layout (internal)"};let S=(0,n.A)(e=>{e(y())},2e3),E=(0,d.Ay)("Set localStorage data to reconstructing a multi-window layout on debounce",e=>{S(e)});E.meta={name:"maybeSaveWindowRestorationData",key:"createThunkMaybeSaveWindowRestorationData",description:"Set localStorage data to reconstructing a multi-window layout on debounce"};let k=(0,d.Ay)("Set localStorage data to reconstructing a multi-window layout immediately",(e,t)=>{let a=t();(0,c.L)(a)||e(y())});k.meta={name:"maybeSaveWindowRestorationDataImmediately",key:"createThunkMaybeSaveWindowRestorationDataImmediately",description:"Set localStorage data to reconstructing a multi-window layout immediately"};let finalFlush=()=>k;(0,i.dY)("4.40.47")&&window.addEventListener("beforeunload",finalFlush);let flushWindowRestorationDataOnDesktopQuit=()=>{(0,s.getGenericLogger)({label:"WIN-RESTORE"}).info("Flushing current window restoration data and ignoring all future saves due to app quit"),finalFlush(),b=!0,window.removeEventListener("beforeunload",finalFlush)};(0,r.ul)("saveWindowRestorationData",y)},0x12c8f2e51:(e,t,a)=>{"use strict";a.d(t,{H:()=>s,l:()=>c});var n=a(0x2286acf6c),r=a(0x11c82607b),i=a(0xe822f938);let o=new class{resolvers=[];subscribed(){return this.resolvers.length>0}subscribe(){return new Promise(e=>{this.resolvers.push(e)})}notify(){for(let e of this.resolvers)e();this.resolvers=[]}},s=(0,r.Ay)("waitForAllWindowsBlurred",(e,t)=>(0,i.OD)(t())?o.subscribe():Promise.resolve());s.meta={name:"waitForAllWindowsBlurred",key:"createThunkWaitForAllWindowsBlurred",description:"waitForAllWindowsBlurred"};let l=(0,n.A)(e=>{e()||o.notify()},500),c=(0,r.Ay)("maybeNotifySubscribers",(e,t)=>{o.subscribed()&&l(()=>(0,i.OD)(t()))});c.meta={name:"maybeNotifySubscribers",key:"createThunkMaybeNotifySubscribers",description:"maybeNotifySubscribers"}},0x11a399abe:(e,t,a)=>{"use strict";a.d(t,{Oh:()=>s,Pe:()=>r,cm:()=>l,f:()=>i,gC:()=>o,uo:()=>c});var n=a(0xcf658893);let r=(0,n.Ay)("Adds Workflow templates list to the store");r.meta={name:"upsertWorkflowList",key:"createActionUpsertWorkflowList",description:"Adds Workflow templates list to the store"};let i=(0,n.Ay)("Sets isWorkflowTemplatesListLoading");i.meta={name:"setIsWorkflowTemplatesListLoading",key:"createActionSetIsWorkflowTemplatesListLoading",description:"Sets isWorkflowTemplatesListLoading"};let o=(0,n.Ay)("Sets template id to scroll to after deeplink");o.meta={name:"setDeepLinkTemplateId",key:"createActionSetDeepLinkTemplateId",description:"Sets template id to scroll to after deeplink"};let s=(0,n.Ay)("Bulk upsert workflow templates");s.meta={name:"upsertWorkflowTemplates",key:"createActionUpsertWorkflowTemplates",description:"Bulk upsert workflow templates"};let l=(0,n.Ay)("Remove workflow template by id");l.meta={name:"removeWorkflowTemplateById",key:"createActionRemoveWorkflowTemplateById",description:"Remove workflow template by id"};let c=(0,n.Ay)("Set the list of featured workflow template ids");c.meta={name:"setFeaturedWorkflowTemplateIds",key:"createActionSetFeaturedWorkflowTemplateIds",description:"Set the list of featured workflow template ids"}},0x209bc8f97:(e,t,a)=>{"use strict";a.d(t,{G:()=>m});var n=a(0x242897a81),r=a.n(n),i=a(0xca924ee1),o=a(0xbe0b63ff),s=a(0x1a8cc04e1),l=a(0x1266f1359),c=a(0x11a399abe),d=a(0x201dafc71);let u=(0,a(0x11c82607b).Ay)("Fetch workflow template by id",async(e,t,a)=>{let{template:n}=await e((0,d.R)({templateId:a,reason:"workflow_templates_store:fetch_by_id"}));return n});u.meta={name:"fetchWorkflowTemplateById",key:"createThunkFetchWorkflowTemplateById",description:"Fetch workflow template by id"};let m=(0,i.A)(()=>new s.Ay({storeKey:"workflowTemplates",fetch:fetchWorkflowTemplateForTeamId,isEnabled:()=>!0,metricsName:"workflow-templates"}));function fetchWorkflowTemplateForTeamId(e,t){return r().map(t,async t=>{try{return await (0,l.Qw)(e,u(t))}catch{return(0,o.WQ)(t)}}).then(t=>(0,l.Qw)(e,(0,c.Oh)(t)))}},0x1e2607008:(e,t,a)=>{"use strict";a.d(t,{V:()=>c});var n=a(0x20ef3966f),r=a(0x1c8cd6703),i=a(0x11c82607b),o=a(0x9b971e7e),s=a(0x11a399abe),l=a(0x209bc8f97);let c=(0,i.Ay)("Fetch list of workflow templates from API",async(e,t,a)=>{let i=t(),c=(0,o.ZT)(i),d=await e((0,r.v)(a)),u=d.templates.filter(e=>!e.has_restricted_apps&&!e.has_restricted_trigger_types);return e((0,s.Oh)(u)),c&&(0,l.G)().markObjectsAsFresh(c,(0,n.A)(u,"id")),{...d,templates:u}});c.meta={name:"fetchAndUpsertWorkflowTemplatesList",key:"createThunkFetchAndUpsertWorkflowTemplatesList",description:"Fetch list of workflow templates from API"}},0x141db06ab:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x1e068833e),r=a(0x2b4a00ff);let __WEBPACK_DEFAULT_EXPORT__=function(e){let t=(0,r.MC)?.(e),a=t?.entityId,i=t?.draftId;return a&&(0,n.di)(i)}},0x60c7a9a7:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x1daf4b9c),r=a(0x1c760ba43),i=a(0x16ed1b0dc),o=a(0x1459852c4),s=a(0x19895585a),l=a(0x9271cc31),c=a(0x1423d1276);let __WEBPACK_DEFAULT_EXPORT__=e=>{let t,a=(0,c.e)(e,{filterFunction:({view:e})=>(0,i.A)(e.id)})[0],d=a?.view.id,u=a?.windowId;return!!(0,i.A)(d)&&(!(0,n.A)()||!(t=u===s.N2?(0,l.F8)(e,{tab:(0,l.e6)(e),container:s.mq.Primary})?.params?.tabId:(0,l.Yi)(e,{windowId:u,container:s.mq.Primary})?.params?.tabId)||t===o.K.Messages||t===r.Xy.Channel)}},0x41a72513:(e,t,a)=>{"use strict";a.d(t,{T2:()=>isWorkspaceFocused,k_:()=>getFocusedWorkspaces,ky:()=>inAppHomeRememberLastTabIdExperiment,nU:()=>getFocusedWorkspaceTimestamp,vB:()=>getFocusedWorkspace});var n=a(0x9b971e7e),r=a(0x14149c126);let getFocusedWorkspaces=e=>e&&e.workspace&&e.workspace.focusedWorkspaces,getFocusedWorkspaceTimestamp=(e,t)=>(e&&e.workspace&&e.workspace.focusedWorkspacesWithTimestamps)[t],getFocusedWorkspace=e=>getFocusedWorkspaces(e)?.[0],isWorkspaceFocused=e=>getFocusedWorkspace(e)===(0,n.ZT)(e),inAppHomeRememberLastTabIdExperiment=e=>"on"===(0,r._Z)(e,"app_home_remember_last_tab")},0x1bb324c0:(e,t,a)=>{"use strict";a.d(t,{ko:()=>f,q2:()=>A});var n,r=a(0xe874a88a),i=a(0xf6ce0946),o=a(0x7c532221),s=a(0xb8504a42),l=a(0x11c82607b),c=a(0x9b971e7e),d=a(0xaa51370c),u=a(0x8468bab2),m=a(0x1ee439e69),f=((n={}).None="none",n.Viewer="viewer",n.Editor="editor",n);let _=(0,l.Ay)("Sets a permission level for workspace link share",(e,t,{payload:a})=>{let n={...a};return n.reason="enable_cross_org_link_share",e((0,o.v)(n))});_.meta={name:"setWorkspaceLinkSharingPermission",key:"createThunkSetWorkspaceLinkSharingPermission",description:"Sets a permission level for workspace link share"};let p=(0,l.Ay)("Sets a permission level for workspace link share and updates file",(e,t,{payload:a})=>e(_({payload:a})).then(()=>e((0,u.w3)({fileId:a.fileId,orgOrWorkspaceAccess:a.accessLevel}))));p.meta={name:"setWorkspaceLinkSharingPermissionAndUpdatesFile",key:"createThunkSetWorkspaceLinkSharingPermissionAndUpdatesFile",description:"Sets a permission level for workspace link share and updates file"};let h=(0,l.Ay)("Removes a workspace or org level link share",(e,t,{payload:a})=>{let n={...a};return n.reason="disable_cross_org_link_share",e((0,i.a)(n))});h.meta={name:"removeWorkspaceLinkSharingPermission",key:"createThunkRemoveWorkspaceLinkSharingPermission",description:"Removes a workspace or org level link share"};let g=(0,l.Ay)("Removes a workspace or org level link share and updates file",(e,t,{payload:a})=>e(h({payload:a})).then(()=>e((0,u.w3)({fileId:a.fileId,orgOrWorkspaceAccess:"none"}))));g.meta={name:"removeWorkspaceLinkSharingPermissionAndUpdatesFile",key:"createThunkRemoveWorkspaceLinkSharingPermissionAndUpdatesFile",description:"Removes a workspace or org level link share and updates file"};let A=(0,l.Ay)("Calls the appropriate workspace link sharing thunk depending on the provided input.",(e,t,{fileId:a,orgSharingSetting:n})=>{let i=t(),o=(0,m.H7)(i),l=(0,c.Kc)(i),u=(0,s.r7)(o)?"org":"workspace";return"none"===n?e(g({payload:{fileId:a,entityType:u,entityId:l}})).catch(e=>r.S.reject(e)):"viewer"===n||"editor"===n?e(p({payload:{fileId:a,entityType:u,entityId:l,accessLevel:"viewer"===n?d.z.Read:d.z.Write}})).catch(e=>r.S.reject(e)):r.S.reject(Error("Invalid org sharing setting"))});A.meta={name:"handleWorkspaceLinkSharingPermissionAndUpdatesFile",key:"createThunkHandleWorkspaceLinkSharingPermissionAndUpdatesFile",description:"Calls the appropriate workspace link sharing thunk depending on the provided input."}},0x19baab14f:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0x11c82607b),r=a(0xaa8c4ddd),i=a(0x1f3db393);let o=(0,n.Ay)("Process message data from the api/socket and add it to the messages-store (but not the channel-history-store)",(e,t,{messages:a,channelId:n})=>{let o=e((0,i.A)({imsgs:a,channelId:n}));return e((0,r.Kc)(o)),o[0]});o.meta={name:"upsertRawMessages",key:"createThunkUpsertRawMessages",description:"Process message data from the api/socket and add it to the messages-store (but not the channel-history-store)"};let s=o},0xe8924012:(e,t,a)=>{"use strict";a.d(t,{f:()=>withTeamId});var n=a(0x1266f1359);let withTeamId=e=>(t,a)=>(0,n.Qw)(t,e(a))},0xa144a6db:(e,t,a)=>{"use strict";a.d(t,{f:()=>getCurrentRouteInfo});var n=a(0xcf583510),r=a(0x9e671ad),i=a(0x68248169),o=a(0x99404835),s=a(0x8c63ed52),l=a(0x6949945);function getCurrentRouteInfo(e=(0,l.v)(),{throwOnNoRoute:t=!0}={}){let a=(0,s.U2)(),c=(0,s.Oq)(),d=(0,s.PV)();if(!c)throw Error("No routes defined. Call defineRoutes to configure your app's routes!");if(void 0!==a[e])return(0,s.wy)(e);let isInputValidFn=(e,t,a)=>d[t.value]&&d[t.value].call(null,e[a].value),u=e.split("/").filter(e=>""!==e).map((e,t)=>({index:t,value:e}));for(let t=0,a=Object.keys(c),l=a.length;t<l;t++){let l=c[a[t]];for(let c=0;c<l.paths.length;c++){let d=l.paths[c].split("/").filter(e=>""!==e).map((e,t)=>({index:t,value:e})),m=(0,n.A)(u,d,r.A),f=(0,n.A)(d,u,r.A).map(({index:e,value:t})=>({index:e,value:(0,i.A)(t,":")}));if(m.length===f.length&&f.every(isInputValidFn.bind(null,m))){let n={routeName:a[t],params:(0,o.A)(f.map(({value:e})=>e),m.map(({value:e})=>e)),path:l.paths[c]};return(0,s.rz)(e,n),n}}}if(t)throw Error(`Path '${e}' didn't match any known defined route`);return null}},0x1e509306c:(e,t,a)=>{"use strict";a.d(t,{FN:()=>d,KH:()=>m,KW:()=>h,LU:()=>A,MX:()=>c,My:()=>s,SS:()=>g,TG:()=>i,UI:()=>_,ai:()=>f,ip:()=>l,lp:()=>o,pd:()=>u,qN:()=>p,zR:()=>setRoutes});var n=a(0x742207c8),r=a(0x1ae5d492);let i="ROUTE_CHECKOUT",o="ROUTE_CANCEL_STD",s="ROUTE_CANCEL_PLUS",l="ROUTE_CHECKOUT_FORM",c="ROUTE_CHECKOUT_REVIEW",d="ROUTE_CHECKOUT_SUCCESS",u="ROUTE_LEARN_MORE_STD",m="ROUTE_LEARN_MORE_PLUS",f="ROUTE_LEARN_MORE_BUSINESSPLUS",_="ROUTE_CHECKOUT_ADDON",p="ROUTE_CHECKOUT_ADDON_SUCCESS",h="ROUTE_CHECKOUT_TRIAL",g="ROUTE_CHECKOUT_TRIAL_SUCCESS",A="ROUTE_DOWNGRADE_PLUS",b={planLevel:e=>e?.length>0};function setRoutes(){(0,r.S2)(b,{[n.o]:{paths:["/"]},[l]:{paths:["/checkout/form"]},[c]:{paths:["/checkout/review"]},[d]:{paths:["/checkout/success"]},[_]:{paths:["/checkout/addon"]},[p]:{paths:["/checkout/addon/sucess"]},[h]:{paths:["/checkout/trial"]},[g]:{paths:["/checkout/trial/success"]},[i]:{paths:["/checkout","/checkout/:planLevel"]},[o]:{paths:["/cancel/standard"]},[s]:{paths:["/cancel/plus"]},[A]:{paths:["/downgrade/plus"]},[u]:{paths:["/pro"]},[m]:{paths:["/plus"]},[f]:{paths:["/businessplus"]}})}},0x1ae5d492:(e,t,a)=>{"use strict";a.d(t,{$C:()=>notifyRouteWillNavigateListeners,Dd:()=>addRouteDidNavigateListener,EB:()=>isRouteValid,GB:()=>R,KM:()=>removeRouteDidNavigateListener,M5:()=>routeToUrl,MY:()=>getCurrentRouteName,OX:()=>notifyRouteDidNavigateListeners,Om:()=>getAppContextIdType,S2:()=>defineRoutes,Tf:()=>removeRouteWillNavigateListener,Y8:()=>addRouteWillNavigateListener,_U:()=>navigateToRoute});var n=a(0x33644bb7),r=a(0x225645a46),i=a(0x211fc28d8),o=a(0x16475a65c),s=a(0x206c7a40f),l=a(0x202470d56),c=a(0x1ee15af19),d=a(0x17294c72a),u=a(0x68248169),m=a(0x4f6e90b4),f=a(0x8c63ed52),_=a(0x6949945),p=a(0x24145c789),h=a(0x742207c8),g=a(0xbf8832f0),A=a(0x2475c1d07),b=a(0x2264e6ea3),y=a(0x12edaa96a),S=a(0xa144a6db),E=a(0x1d30b0ef7),k=a(0x1ec68d6a3),T=a(0x209e067d1),I=a(0x8ad213fa),w=a(0x16ed1b0dc),C=a(0xa985ed31),v=a(0x4f725d55),x=a(0xd2fa49d0);let R="SlackHistoryEvent";function getAppContextIdType(){return(0,E.xq)()===E.yS.USER_TEAM?"teamOrEnterpriseId":(0,E.ii)()?"enterpriseId":"teamId"}function getPrevAppContextIdType(){return(0,E.ii)()?"prevEnterpriseId":"prevTeamId"}function getNextAppContextIdType(){return(0,E.ii)()?"nextEnterpriseId":"nextTeamId"}let O=["paths"],N=[],D={botId:I.A,channelId:w.A,fileId:C.A,memberId:v.A,teamId:b.Ay,enterpriseId:b.JV,teamOrEnterpriseId:b.Am,userGroupId:x.A},L={},M={};function addRouteWillNavigateListener(e,t=[]){return addRouteChangeListener(L,e,t)}function addRouteDidNavigateListener(e,t=[]){return addRouteChangeListener(M,e,t)}function addRouteChangeListener(e,t,a){if(!(0,n.A)(t))throw Error(`The listener argument to ${e} must be a function; ${typeof t} given`);if(!Array.isArray(a))throw Error(`routes provided must be an array of route names; ${typeof a} given`);0===a.length&&a.push("ALL"),a.forEach(e=>{if("ALL"!==e&&!e.startsWith("ROUTE_"))throw Error(`Invalid route; ${e} given`)});let r=Symbol("listener");return a.forEach(a=>{let n=e[a]||new Map;n.set(r,t),e[a]=n}),r}function removeRouteWillNavigateListener(e){return removeRouteChangeListener(L,e)}function removeRouteDidNavigateListener(e){return removeRouteChangeListener(M,e)}function removeRouteChangeListener(e,t){let a=!1;return Object.keys(e).forEach(n=>{a=e[n].delete(t)||a}),a}async function notifyRouteWillNavigateListeners({prevTeamOrEnterpriseId:e,nextTeamOrEnterpriseId:t,prevRouteInfo:a,routeName:n,params:r,reason:i,shouldReplaceState:o,navigationTimestamp:s,uuid:l}){let c=[],d=[],u=!1;return[n,"ALL"].forEach(m=>{if(!L[m]||u)return;let f=L[m].entries();for(let _=0,p=L[m].size;_<p;_++){let m=f.next().value;if(!m)continue;let[_,p]=m;if(!d.includes(_)){let m=p({[getPrevAppContextIdType()]:e,[getNextAppContextIdType()]:t,prevRouteInfo:a,routeName:n,params:r,reason:i,shouldReplaceState:o,navigationTimestamp:s,uuid:l});if(!1===m){u=!0;break}c.push((0,A.y)(m)?m:Promise.resolve(m)),d.push(_)}}}),!u&&Promise.all(c).then(e=>e.every(e=>!1!==e)).catch(e=>((0,k.getGenericLogger)().warn("ROUTES","navigation prevented by promise rejection",e),!1))}function notifyRouteDidNavigateListeners({prevTeamOrEnterpriseId:e,nextTeamOrEnterpriseId:t,prevRouteInfo:a,routeName:n,params:r,reason:i,shouldReplaceState:o,navigationTimestamp:s,uuid:l}){let c=[];[n,"ALL"].forEach(d=>{M[d]&&M[d].forEach((d,u)=>{c.includes(u)||(d({[getPrevAppContextIdType()]:e,[getNextAppContextIdType()]:t,prevRouteInfo:a,routeName:n,params:r,reason:i,shouldReplaceState:o,navigationTimestamp:s,uuid:l}),c.push(u))})})}function defineRoutes(e,t){let a=(0,f.Oq)(),n=(0,f.PV)();if(a||n)throw Error("Cannot call defineRoutes multiple times");if(!(0,r.A)(t))throw Error("Routes param must be an object of defined valid routes for your Gantry app");if(!(0,r.A)(e))throw Error("Validations passed in much be an object defining all param validations");let s=(0,i.A)((0,E.a8)(),"/"),l={...D,...e},c=Object.keys(t),d=Object.keys(l),u=c.reduce((e,a)=>{let n=t[a];if(!(0,r.A)(n))throw Error(`Route '${a}' must be an object following the Route schema`);let i=Object.keys(n),l=(0,o.A)(O,i),c=(0,o.A)(i,O).filter(e=>!N.includes(e));if(l.length>0||c.length>0)throw Error(`Route '${a}' has an invalid definition; missing keys: ${l.join(", ")}; extra keys: ${c.join(", ")}`);let u=n.paths.map(e=>`${s}/:${getAppContextIdType()}${e}`),m={};return u.forEach(e=>{let t=parsePlaceholders(e);t.forEach(e=>{if(!d.includes(e))throw Error(`Route ${a} is missing a validation for '${e}'`)}),m[e]=t}),Object.values(m).reduce((e,t)=>(e.forEach(e=>{if(0===(0,o.A)(t,e).length&&0===(0,o.A)(e,t).length)throw Error(`Route ${a} has two paths defined with the same placeholders: ${t.join(", ")}`)}),e.push(t),e),[]),e[a]=Object.freeze({...n,paths:u,placeholders:m}),e},{});(0,f.B4)(u),(0,f.C)(l)}function isRouteValid({routeName:e,params:t}={}){if(!e)return!1;let a=(0,f.Oq)(),n=(0,f.PV)(),r=a[e];return!!r&&r.paths.some(e=>r.placeholders[e].filter(e=>e!==getAppContextIdType()).every(e=>t?.[e]&&n[e](t[e])))}function getCurrentRouteObj(e=(0,_.v)()){let t=(0,f.Oq)(),a=(0,S.f)(e,{throwOnNoRoute:!1});return a?t[a.routeName]:null}function getCurrentRouteName(e=(0,_.v)()){let t=(0,S.f)(e);return t?.routeName}function routeToUrl(e,t){let a=(0,f.Oq)(),n=(0,f.PV)();if(!a)throw Error("No routes defined. Call defineRoutes to configure your app's routes!");let r=(0,s.A)(t,l.A),i={[getAppContextIdType()]:(0,g.oI)(),...r},u=Object.keys(i),m=a[e],_=(0,c.A)((0,d.A)(m.paths.filter(e=>{let t=m.placeholders[e];return 0===(0,o.A)(t,u).length}),e=>{let t=m.placeholders[e];return(0,o.A)(u,t).length}));if(!_)throw Error(`Route '${e}' does not have any paths that match the provided params: ${Object.keys(t).join(", ")}`);return Object.keys(i).reduce((t,a)=>{let r=i[a];if(!n[a]?.call(null,r??"")){let t;try{t=JSON.stringify(i)}catch{t="[could not stringify]"}throw TypeError(`'${a}' in '${e}' with value '${r}' doesn't pass it's validation check - the url is invalid. Path: ${_}. Params: ${t}`)}return t.replace(RegExp(`:${a}`,"g"),i[a])},_)}async function navigateToRoute(e,t={},{reason:a,shouldReplaceState:n=!1,navigationTimestamp:r=Date.now()}={}){let i=(0,f.Oq)();if(!i)throw Error("No routes defined. Call defineRoutes to configure your app's routes!");if(!i[e])throw Error(`Could find route with name '${e}'`);let o=(0,y.A)().slice(0,8);(0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"navigateToRoute called with reason",a);let c=getAppContextIdType(),d=(0,g.oI)(),u=(0,s.A)({[c]:d,...t},l.A);(0,E.xq)()===E.yS.USER_TEAM&&t.teamId&&!(0,E.qS)()&&((0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"[XWS]","teamId param passed in USER_TEAM context",t.teamId),u.teamOrEnterpriseId=t.teamId,delete u.teamId);let m=u[c];(0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"Attempting to navigate to new route",u);let _=routeToUrl(e,u),A=window.location.pathname,b=(0,S.f)(A,{throwOnNoRoute:!1});if(p.p.prevNavigatedTeamOrEnterpriseId=m,p.p.popstatePrevRouteInfo=(0,S.f)(_,{throwOnNoRoute:!1}),A===_&&b&&b.routeName!==h.o&&!t.timestamp&&!t.replyTs&&!t.adminSearchQuery)return(0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"Exiting early",{prevUrl:A,nextUrl:_}),{routeName:e,params:u,reason:a};(0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"About to run notifyRouteWillNavigateListeners to determine shouldNavigate");let I=await notifyRouteWillNavigateListeners({prevTeamOrEnterpriseId:d,nextTeamOrEnterpriseId:m,prevRouteInfo:b,routeName:e,params:u,reason:a,shouldReplaceState:n,navigationTimestamp:r,uuid:o});return((0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"notifyRouteWillNavigateListeners finished, shouldNavigate is",I),!1===I)?((0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"willNavigateListener caused early exit"),p.p.prevNavigatedTeamOrEnterpriseId=(0,g.oI)(),p.p.popstatePrevRouteInfo=b,null):(n?((0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"willNavigateListener is replacing the current state with",`${_}${window.location.search}`),window.history.replaceState({id:o,isIA3:(0,T.A)()},"",`${_}${window.location.search}`)):window.history.pushState({id:o,isIA3:(0,T.A)()},"",`${_}${window.location.search}`),notifyRouteDidNavigateListeners({prevTeamOrEnterpriseId:d,nextTeamOrEnterpriseId:m,prevRouteInfo:b,routeName:e,params:u,reason:a,shouldReplaceState:n,navigationTimestamp:r,uuid:o}),(0,k.getGenericLogger)().info("ROUTES",`[${o}]`,`[${e}]`,"Navigated to new route"),{routeName:e,params:u,reason:a})}function parsePlaceholders(e){return e.split("/").filter(e=>e.length>2&&":"===e[0]).map(e=>(0,u.A)(e,":"))}(0,m.ul)("router",{getCurrentRouteObj,getCurrentRouteName,getCurrentRouteInfo:S.f,routeToUrl,navigateToRoute});let F={routeDidNavigateListeners:M,routeWillNavigateListeners:L,notifyRouteWillNavigateListeners,notifyRouteDidNavigateListeners,parsePlaceholders};Object.defineProperty(F,"routeDidNavigateListeners",{get:()=>M,set:e=>{M=e}}),Object.defineProperty(F,"routeWillNavigateListeners",{get:()=>L,set:e=>{L=e}}),Object.defineProperty(F,"notifyRouteWillNavigateListeners",{get:()=>notifyRouteWillNavigateListeners,set:e=>{notifyRouteWillNavigateListeners=e}}),Object.defineProperty(F,"notifyRouteDidNavigateListeners",{get:()=>notifyRouteDidNavigateListeners,set:e=>{notifyRouteDidNavigateListeners=e}}),Object.defineProperty(F,"parsePlaceholders",{get:()=>parsePlaceholders,set:e=>{parsePlaceholders=e}})},0x115bd3d97:(e,t,a)=>{"use strict";a.d(t,{T:()=>isSlackAiManagementEnabled});var n=a(0x147fb8c90),r=a(0x15ec5ab4c);function isSlackAiManagementEnabled(e){return(0,n.G2)(e,"slack_ai__access")||(0,r.eb)(e)||(0,r.xg)(e)}},0x151a93a75:(e,t,a)=>{"use strict";a.d(t,{JZ:()=>getAgentforceSalesforceOrgId,OK:()=>getAppAssistantDescription,Yz:()=>getAppAssistantSuggestedPrompts,EL:()=>getAppAvatarUrl,eI:()=>getAppCommands,Sy:()=>getAppDescription,i1:()=>getAppDirectoryUrl,hY:()=>getAppHomeTeamDisplayName,zq:()=>getAppHomeWorkspaceId,jM:()=>getAppHomepageUrl,R7:()=>getAppId,fj:()=>getAppName,LS:()=>getAppScreenshots,W_:()=>getAppServiceId,wW:()=>getAppSupportUrl,Ij:()=>getAppTagline,DT:()=>getAppTopLevelTeamId,yN:()=>getAppTruncatedDescription,Ov:()=>getAppType,tY:()=>getAppUser,wV:()=>getAppUserId,AP:()=>getAppYoutubeUrl,C9:()=>getExternalTopLevelTeam,DH:()=>getInstalledUserId,UV:()=>getInstallerIsYou,We:()=>getManageUrl,BX:()=>getSettingsButtonUrl,FN:()=>getSettingsUrl,E8:()=>getYoutubeIdFromUrl,Mk:()=>isAgentAppProfile,DZ:()=>isAgentforceAgentAvailable,hk:()=>isAgentforceAppProfile,H7:()=>isAgentforceChannelExpertProfile,L:()=>isAiAppProfile,j_:()=>isAiSidekickProfile,KH:()=>isAppActive,p7:()=>isAppApproved,pj:()=>isAppCustomIntegration,Nw:()=>isAppDistributed,x$:()=>isAppExternal,nK:()=>isAppOrgShared,UA:()=>isAppPublished,FY:()=>shouldHideDescriptionExpansion,vu:()=>shouldShowAboutApp,JE:()=>shouldShowAppDirectoryLink,tt:()=>shouldShowAppScreenshots,xb:()=>shouldShowAppSettings,qc:()=>shouldShowAppSpace,iV:()=>shouldShowDirectMessageItem,Bl:()=>shouldShowHomepage,KN:()=>shouldShowSettingsButton,w_:()=>shouldShowSlashCommands,_V:()=>shouldShowSupport});var n=a(0x21f3c49e8),r=a(0x91728dda),i=a(0x1cbd9cf82),o=a(0x15f4f83cf),s=a(0x121a53a99),l=a(0x16dc93e4b),c=a(0x1b9d5cc0c),d=a(0x12b31912f),u=a(0x217553e42);function isActionable(e,t){let a=(0,u.Pu)(e,t&&t.id);return!(!(0,d.zP)(e,t&&t.id||"")&&!a)&&!(0,c.Pd)(e,t)}var m=a(0x23255e234),f=a(0x4b8e0952),_=a(0xa1832ae4),p=a(0x49e911f4),h=a(0x1b7bc2fc6),g=a(0x28be1268),A=a(0x1a769a9e8),b=a(0x215450ff3);let truncate_to_nearest_word_boundary=function(e,t){if(e.length<=t)return e;let a=e.substring(0,t),n=a.lastIndexOf(" ");return n>0&&n>t-15?a.substring(0,n)+"\u2026":a.substring(0,a.length-1)+"\u2026"};var y=a(0x9b971e7e),S=a(0x14cb5efef),E=a(0xeeed8b91),k=a(0x1e4ae349d),T=a(0x3384beeb),I=a(0xe684f705),w=a(0x1ee439e69);let isAppActive=e=>!!(e&&e.installation&&e.installation.is_active),isAppSlackIntegration=e=>!!(e&&e.app_type===h.uk.Slack),isAppCustomIntegration=e=>!!(e&&e.app_type===h.uk.CustomIntegration),isAppPublished=e=>!!(e&&e.directory_profile&&e.directory_profile.is_published),isAppDistributed=e=>!!(e&&e.directory_profile&&e.directory_profile.is_distributed),isAppApproved=e=>!!(e&&e.directory_profile&&e.directory_profile.is_approved);function isAgentforceAppProfile(e){return!(!e||(0,g.r)(e))&&(!!e.agentforce||!!e.legacy_app?.agentforce)}let getAppId=e=>e&&!(0,g.r)(e)?e.app_id:void 0,getAppName=e=>{if(!e||(0,g.r)(e))return"";let t=e&&"profile"in e?e.profile.name:"";return isAgentforceAppProfile(e)&&e.legacy_app?.auth?.full_name?e.legacy_app.auth.full_name:t},getAppTagline=e=>e&&e.profile&&e.profile.tagline,getAppType=e=>e&&e.app_type,getAppServiceId=e=>e&&e.service_id,getInstalledUserId=e=>e&&e.installation&&e.installation.installer_user_id,getAppHomeWorkspaceId=e=>e&&e.home_workspace_id,getAppTopLevelTeamId=e=>e&&(e.home_enterprise_id||e.home_workspace_id),getAppAvatarUrl=(e,t)=>{let a=getAppHomeWorkspaceId(t)||(0,w.H7)(e).id,n=t&&isAppCustomIntegration(t)&&t.profile&&t.profile.icons&&t.profile.icons.emoji?t.profile.icons.emoji:null;return n?(0,k.Ez)(e,{text:n,teamId:a,emojiMode:(0,l.w)(e,{forceDisplay:!0}),emojiSize:T.lw.LARGE}):(0,A.A)(t.profile,192)},getAppCommands=e=>e&&e.commands||[],getAppScreenshots=e=>e&&e.directory_profile&&e.directory_profile.screenshots||[],getAppHomepageUrl=e=>e&&e.directory_profile&&e.directory_profile.home_url,getAppYoutubeUrl=e=>e&&e.directory_profile&&e.directory_profile.youtube_url,getAppSupportUrl=e=>e&&e.directory_profile&&e.directory_profile.support_url,getYoutubeIdFromUrl=e=>{let t=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);return void 0!==t[2]?t[2].split(/[^0-9a-z_-]/i)[0]:""},getAppDescription=e=>e&&e.profile&&e.profile.description||"",getAppAssistantDescription=e=>e&&!(0,g.r)(e)&&e.legacy_app?.assistant_description||"",getAppAssistantSuggestedPrompts=e=>e.legacy_app?.assistant_suggested_prompts,getAppHomeTeamDisplayName=(e,t)=>{let a=getExternalTopLevelTeam(e,t);if(a)return(0,o.uz)(a)?(0,_.F1)(a):void 0;if(isAppOrgShared(e,t)){let a=getAppHomeWorkspaceId(t),n=(0,w._J)(e,a);return(0,o.uz)(n)?(0,_.F1)(n):void 0}let n=getAppTopLevelTeamId(t),r=(0,w._J)(e,n);return(0,o.uz)(r)?(0,_.F1)(r):void 0},getTruncationLimit=({isAboutAiAppFlexpane:e})=>e?100:350,getAppTruncatedDescription=({appProfile:e,isAboutAiAppFlexpane:t})=>truncate_to_nearest_word_boundary(getAppDescription(e),getTruncationLimit({isAboutAiAppFlexpane:t}));function getInstallerIsYou(e,t){let a=(0,I.cA)(e),n=getInstalledUserId(t);return a.id===n}function shouldHideDescriptionExpansion({appProfile:e,isAboutAiAppFlexpane:t}){let a=!getAppCommands(e),n=getAppScreenshots(e)&&getAppYoutubeUrl(e);return isAppSlackIntegration(e)&&a||(0,b.A)(getAppDescription(e)||"")<getTruncationLimit({isAboutAiAppFlexpane:t})||!n&&a}function getAppDirectoryUrl(e,t){if(!t)return"";let a=getAppId(t);if(a===(0,E.a_)()||(0,r.Xf)(e)&&a===(0,i.Io)())return"";let n=isAppCustomIntegration(t),o=isAppSlackIntegration(t);if(!n&&!o){let a=isAppExternal(e,t),n=isAppPublished(t),r=isAppDistributed(t);if(!(a?n:r))return""}let s=(0,w._J)(e,getAppHomeWorkspaceId(t));return(0,_.Zl)(s,`/apps/${a}`)}function getSettingsUrl(e,t){if(!t)return"";let a=getAppServiceId(t),n=(0,I.cA)(e),r=(0,m.Ez)(n),i=(0,w.fu)(e);return isAppExternal(e,t)||!a||r||(0,o.GU)(i)||getAppId(t)===(0,E.a_)()?"":(0,_.Zl)(i,`/services/${a}?settings=1`)}function getManageUrl(e,t){if(!t)return"";let a=getAppId(t),n=getAppHomeWorkspaceId(t),r=(0,w._J)(e,n);return r&&a&&(0,_.Zl)(r,`/apps/${a}`)}function isAppExternal(e,t){return(0,y.Kc)(e)!==getAppTopLevelTeamId(t)}function isAppOrgShared(e,t){let a=(0,y.ZT)(e);if(getAppHomeWorkspaceId(t)===a)return!1;let n=(0,y.Kc)(e);return getAppTopLevelTeamId(t)===n}function isAppInstalled(e){return!(!e||(0,g.r)(e))&&!!(e.installation&&e.installation.is_installed)}function shouldShowSettingsButton(e,t){return!(!t||(0,p.DM)(e)||isAppExternal(e,t)||(0,s.fg)(t)||(0,r.Xf)(e)&&getAppId(t)===(0,i.Io)())&&isAppInstalled(t)&&!!(getSettingsUrl(e,t)||getAppId(t))}function getSettingsButtonUrl(e,t,a){let n=getSettingsUrl(e,t);if(n)return n;let r=getAppId(t);if(r){let t=`/apps/${r}?settings=1`;if(a){let n=(0,w._J)(e,a);return(0,_.Zl)(n,t)}return t}}function getExternalTopLevelTeam(e,t){if(!t)return null;let a=isAppExternal(e,t),n=getAppTopLevelTeamId(t);return a&&n?(0,w._J)(e,n):null}function shouldShowSlashCommands(e,t){return!(!isAppActive(t)||isAppExternal(e,t)||isAppOrgShared(e,t))}function shouldShowAppSettings(e,t){let a=(0,r.Xf)(e),n=isAppActive(t),o=isAppOrgShared(e,t),s=(0,I.cA)(e),l=(0,m.Ez)(s),c=a&&getAppId(t)===(0,i.Io)(),d=isSlackChannelExpertProfile(t),u=isAgentforceAppProfile(t);return(n||o)&&!l&&!c&&!d&&!u}function shouldShowHomepage(e,t){let a=getAppHomepageUrl(t),n=(0,r.Xf)(e)&&getAppId(t)===(0,i.Io)();return!!a&&!n}function shouldShowSupport(e,t){let a=getAppSupportUrl(t),n=(0,r.Xf)(e)&&getAppId(t)===(0,i.Io)();return!!a&&!n}function shouldShowAppDirectoryLink(e,t){return!isSlackChannelExpertProfile(t)&&!!getAppDirectoryUrl(e,t)}function shouldShowAppScreenshots(e){let t=getAppScreenshots(e),a=getAppYoutubeUrl(e);return!!(t&&t.length)||!!a&&""!==a}function getAppUserId(e){return e&&!(0,g.r)(e)?e.app_user?.id:void 0}function getAppUser(e,t){if((0,o.GU)(t))return null;let a=getAppUserId(t);if(a){let t=(0,I.nv)(e,a);return(0,f.ow)(t)?null:t}if(!a&&!isAppExternal(e,t)){let a=getAppId(t);return(0,I.Eq)(e,a)}return null}function shouldShowAppSpace(e,t){if((0,o.GU)(t))return!1;let a=getAppUser(e,t);return isAppExternal(e,t)?a&&t.app_type===h.uk.Xoxp&&isAppActive(t):!!a}function shouldShowDirectMessageItem(e,t){if((0,o.GU)(t))return!1;let a=getAppUser(e,t)??void 0,n=isActionable(e,a);return isAppExternal(e,t)?n&&t.app_type===h.uk.Xoxp:!isSlackChannelExpertProfile(t)&&n}function shouldShowAboutApp(e,t){return!(0,o.GU)(t)&&getAppId(t)!==(0,E.a_)()&&(!isAppExternal(e,t)||isAppPublished(t)||shouldShowDirectMessageItem(e,t))}function isAgentAppProfile(e){return!(!e||(0,g.r)(e))&&(e.legacy_app?.is_agent_app??!1)}function isAiAppProfile(e){return!(!e||(0,g.r)(e))&&(!!isAgentAppProfile(e)||(e.legacy_app?.is_ai_app??!1))}function isAiSidekickProfile(e){return!(0,n.A)(e.legacy_app?.sidekick)}function isAgentforceAgentAvailable(e){return!(!e||(0,g.r)(e))&&!!(e.agentforce?.is_available||e.legacy_app?.agentforce?.is_available)}function isAgentforceChannelExpertProfile(e,t){let a=(0,S.wL)(e);return!!a&&getAppId(t)===a}let getAgentforceSalesforceOrgId=e=>e&&!(0,g.r)(e)?e.legacy_app?.agentforce?.salesforce_org_id:void 0;function isSlackChannelExpertProfile(e){return!(!e||(0,g.r)(e))&&e.native_agent?.type==="channel_expert"}},0x121a53a99:(e,t,a)=>{"use strict";a.d(t,{Av:()=>getAppMessagesSentCounts,B_:()=>getAppMessagesConsumedRealTimeSearch,Ct:()=>getAppCategories,DW:()=>getAppFilesConsumed,Dn:()=>getAppLastMsgSentDate,Ef:()=>isAppExistent,IF:()=>getAppMemberAutomationsCounts,Ig:()=>getAppMessagesConsumedWeb,Jr:()=>getAppFirstAutomationDate,KB:()=>getAppMessagesReadCounts,MI:()=>getAppFirstActiveDate,Of:()=>getAppDateCreated,Ot:()=>getAppShortDescription,R0:()=>getAppMembersReadMessageCounts,R7:()=>getAppId,Sr:()=>isAppInstalled,T$:()=>getAppMessagesConsumedEvents,U9:()=>getAppDateInstalled,UL:()=>getAppLastActiveDate,V5:()=>getAppAutomationsExecutedCounts,WP:()=>isAppUnknownOrNonExistent,Wm:()=>isAppWorkflowApp,XK:()=>hasBotUser,XT:()=>getAppLastAutomationDate,YV:()=>getAppMessagesConsumed,ap:()=>getAppMessagesConsumedDiscovery,c9:()=>getAppActionsTakenCounts,dp:()=>getAppSource,fg:()=>isAppSalesHomeWorkflowApp,fj:()=>getAppName,iX:()=>isAiApp,im:()=>getAppActiveUsersCounts,it:()=>isAppUnknown,kJ:()=>isAgentforceApp,mR:()=>getAppMessagesConsumedAdminOversight,n:()=>getAppFirstMsgSentDate,qc:()=>getAppIcons,t2:()=>isAgentApp,vS:()=>canAppBeAddedToChannel});var n=a(0x15f4f83cf),r=a(0x12185e091),i=a(0x189391f29),o=a(0x1b9d5cc0c),s=a(0x217553e42),l=a(0xe684f705),c=a(0x12d2784bc);let getAppIcons=e=>e?.icons,getAppName=e=>{if(e&&"name"in e)return e.name},getAppShortDescription=e=>e&&"short_description"in e&&e.short_description?e.short_description:e&&"description"in e&&e.description?e.description:void 0,isAppExistent=(...e)=>(0,n.uz)(...e),isAppUnknown=(...e)=>(0,n.mX)(...e),isAppUnknownOrNonExistent=(...e)=>(0,n.GU)(...e),isAppWorkflowApp=e=>!!e?.is_workflow_app,canAppBeAddedToChannel=(e,t,a)=>{if(!t?.is_installed)return!1;let n=t.bot_user_id;if(!n)return!1;let d=(0,l.nv)(e,n);if(!d)return!1;let u=(0,s.OL)(e,a);if((0,r.JM)(u)&&!(0,o.$S)(d)||(0,i.R)(e,u))return!1;let m=(0,c.Sv)(e,a,n);return!!m.isKnown&&!m.isMember},isAppInstalled=e=>!!e?.is_installed,getAppId=e=>e?.id,getAppFirstMsgSentDate=e=>e?.first_message_sent_date,getAppLastMsgSentDate=e=>e?.last_message_sent_date,getAppFirstActiveDate=e=>e?.first_active_date,getAppLastActiveDate=e=>e?.last_active_date,getAppFirstAutomationDate=e=>e?.first_automation_date,getAppLastAutomationDate=e=>e?.last_automation_date,getAppSource=e=>e?.source,getAppCategories=e=>e?.categories,getAppMembersReadMessageCounts=e=>e?.member_reads,getAppActiveUsersCounts=e=>e?.active_users,getAppMessagesReadCounts=e=>e?.messages_read,getAppMessagesSentCounts=e=>e?.messages_sent,getAppActionsTakenCounts=e=>e?.actions_taken,getAppMemberAutomationsCounts=e=>e?.member_automations,getAppAutomationsExecutedCounts=e=>e?.automations_executed,isAppSalesHomeWorkflowApp=e=>e?.sales_home_workflow_app_type===1,getAppDateCreated=e=>e?.date_created,getAppDateInstalled=e=>e?.date_installed,getAppMessagesConsumed=e=>e?.messages_consumed,getAppFilesConsumed=e=>e?.files_consumed,getAppMessagesConsumedWeb=e=>e?.messages_consumed_web,getAppMessagesConsumedDiscovery=e=>e?.messages_consumed_discovery,getAppMessagesConsumedEvents=e=>e?.messages_consumed_events,getAppMessagesConsumedRealTimeSearch=e=>e?.messages_consumed_real_time_search,getAppMessagesConsumedAdminOversight=e=>e?.messages_consumed_admin_oversight,isAgentforceApp=e=>"agentforce"in e&&!!e.agentforce&&!!e.agentforce?.salesforce_bot_id,isAiApp=e=>"is_ai_app"in e&&!!e.is_ai_app,isAgentApp=e=>"is_agent_app"in e&&!!e.is_agent_app,hasBotUser=e=>"bot_user"in e&&!!e.bot_user?.id},0x1fcf34926:(e,t,a)=>{"use strict";a.d(t,{Wg:()=>isBookmarkId});let isBookmarkId=e=>/^Bk[a-zA-Z0-9]+$/.test(e)},0x1bd866cd7:(e,t,a)=>{"use strict";a.d(t,{AW:()=>getTeamIdFromBotOrUser,Hg:()=>getBotName,cl:()=>getTeamIdFromBotAppUser});var n=a(0x1aba66b56),r=a(0x2264e6ea3),i=a(0xf2964a91),o=a(0x1bac8c9e9),s=a(0x1ec68d6a3),l=a(0x1fc95ec5c);function getBotName(e){return e?.name}function getTeamIdFromBotAppUser(e,t){if(!e||!e.team_id&&!e.enterprise_user||(0,o.U)(e))return t;if(e.team_id&&(0,r.Ay)(e.team_id))return e.team_id;if(e.team_id&&(0,r.JV)(e.team_id)&&(0,i.o)(e))return t;let a=e.enterprise_user&&e.enterprise_user.teams||[];if(a.length>0)return(0,n.A)(a,t)?t:a[0];if(t){let a=e.id;(0,l.A)(a,()=>{(0,s.default)({teamId:t}).warn("Cannot find workspace for app or bot user in this org.")})}return t}function getTeamIdFromBotOrUser({member:e,bot:t,botProfile:a,currentTeamId:n}={}){return t?.team_id&&(0,r.Ay)(t.team_id)?t.team_id:a?.team_id&&(0,r.Ay)(a.team_id)?a.team_id:getTeamIdFromBotAppUser(e,n)}},0x2cbcf09d:(e,t,a)=>{"use strict";a.d(t,{s:()=>getTopLevelTeamIdForBotOrUser});var n=a(0x2264e6ea3),r=a(0x151a93a75),i=a(0xa1832ae4),o=a(0x28be1268),s=a(0x9b971e7e),l=a(0x11bab834e),c=a(0x21d99e321),d=a(0x5dd1c0f2),u=a(0x1ee439e69);function getTopLevelTeamIdForBotOrUser(e,{member:t,bot:a,botProfile:m,botId:f}={}){let _=(0,c.T)(e);if(t?.team_id)return t.team_id;let p=a?.team_id||m?.team_id;if(p){if((0,n.JV)(p))return p;let t=(0,u._J)(e,p);if(t&&(0,i.hc)(t))return t.enterprise_id||t.id;if(f&&(0,i.QR)(t)){let t=_?(0,d.sO)(e,{appId:a?.app_id,serviceId:f}):(0,l.G2)(e,{appId:a?.app_id,serviceId:f,homeWorkspaceId:p});if(t&&!(0,o.r)(t))return(0,r.DT)(t)}return p}return(0,s.Kc)(e)}},0x227b05149:(e,t,a)=>{"use strict";a.d(t,{j:()=>getIsCanvasPrintingEnabledTeamPref,z:()=>l});var n=a(0xb8504a42),r=a(0xb1f0729f),i=a(0x9b971e7e),o=a(0x1d600678),s=a(0x1ee439e69);let l="canvas_printing_enabled",getIsCanvasPrintingEnabledTeamPref=e=>{let t=(0,s.H7)(e);return!!((0,n.r7)(t)||(0,i.jV)(e)?(0,r.SI)(e,l):(0,o.x)(e,l))}},0x127ae2ce0:(e,t,a)=>{"use strict";a.d(t,{K:()=>getReadOnlyCanvasSubteamIdsTeamPref,k:()=>l});var n=a(0xb8504a42),r=a(0xb1f0729f),i=a(0x9b971e7e),o=a(0x1d600678),s=a(0x1ee439e69);let l="read_only_canvas_subteam_ids",getReadOnlyCanvasSubteamIdsTeamPref=e=>{let t=(0,s.H7)(e),a=(0,n.r7)(t)||(0,i.jV)(e)?(0,r.SI)(e,l):(0,o.x)(e,l);return void 0!==a?a:[]}},0x154700aaa:(e,t,a)=>{"use strict";a.d(t,{C:()=>getSidebarSectionCategoryForChannel});var n=a(0x1ec69ee01),r=a(0x12185e091),i=a(0x114ffe897),o=a(0x143fb6398),s=a(0x8f36a342);let getSidebarSectionCategoryForChannel=({channel:e,isStarred:t,isApp:a,shouldSeparateApps:l,allowAssignmentToStarredSection:c,showConnectSection:d,isGuest:u,isAiApp:m,isAgent:f,isSalesforceApp:_,insertIntoSalesforceSection:p})=>t&&c?s.VZ.Stars:(0,r.U_)(e)||_||p?s.VZ.SalesforceRecords:d&&(0,o.ju)(e)?s.VZ.SlackConnect:f?s.VZ.Agents:m||a&&l||(0,i.D)(e)||(0,n.Cx)(e)||a&&!u?s.VZ.RecentApps:(0,r.LI)(e)||(0,r.yz)(e)?s.VZ.DirectMessages:s.VZ.Channels},0x1e4080330:(e,t,a)=>{"use strict";a.d(t,{f:()=>makeClientLocalChannelSection});var n=a(0x12edaa96a),r=a(0x8f36a342);let i=new Map,makeClientLocalChannelSection=({type:e,name:t="",emoji:a="",nextChannelSectionId:o=""})=>{let s;if(!e)throw Error("Type must be provided to makeClientLocalChannelSection");let l=(e===r.VZ.Priority?"VIP unreads":t)||t;switch(e){case r.VZ.Channels:case r.VZ.DirectMessages:case r.VZ.RecentApps:case r.VZ.Agents:case r.VZ.Stars:case r.VZ.SlackConnect:case r.VZ.SalesforceRecords:case r.VZ.Priority:s=r.m1[e];break;default:s=`local-${(0,n.A)()}`}let c=`${s}|${l}|${a}|${o}`,d=i.get(c);if(d)return d;let u={id:s,type:e,name:l,emoji:a,nextChannelSectionId:o,isClientLocal:!0};return Object.values(r.m1).includes(s)&&i.set(c,u),u}},0x1ecd6391a:(e,t,a)=>{"use strict";a.d(t,{d:()=>teamIdFromWorkspaceChannelSectionId});var n=a(0x46cf166);let teamIdFromWorkspaceChannelSectionId=e=>{if((0,n.A)(e))return e?.replace(/^L/,"T")}},0x1ec69ee01:(e,t,a)=>{"use strict";a.d(t,{$M:()=>getUnreadCount,AQ:()=>getHasReadOnlyDraft,B9:()=>getChannelCreatedTime,BP:()=>getUnreadHighlightCount,Bn:()=>constructAbsoluteChannelPermalink,Cx:()=>isSlackSecurityBot,Ez:()=>isUserInChannel,FB:()=>getChannelId,FT:()=>isSuggestedChannel,H9:()=>isRead,Hd:()=>getImOrMpimMemberIds,Hx:()=>getChannelPreviousNames,I3:()=>neverNeedsJoinedMsg,KJ:()=>isUnread,Mi:()=>hasBarrier,N4:()=>getMpimMemberCount,NI:()=>canThread,OJ:()=>getUnreadVipMentionCount,Oi:()=>makeNameForMpim,PE:()=>isVisibleIm,Si:()=>getChannelInternalTeamIds,Ug:()=>getMemberIdsFromMpim,VE:()=>getIsChannelMoved,VM:()=>isEndedIm,WV:()=>isDormant,Wb:()=>getChannelCreator,XW:()=>getChannelInternalTeamIdsCount,Xh:()=>getChannelGuestCount,Ze:()=>getLatestTs,Zu:()=>getMpimMemberNameList,_A:()=>isMostRecentlyCreatedChannel,_V:()=>getLastReadTs,_i:()=>getChannelUserId,bK:()=>teamIdForChannelFromAnotherTeam,bU:()=>isPreview,cU:()=>getChannelTopicText,d3:()=>getMembersInDisplayOrder,df:()=>isSearchSystemUser,dh:()=>getPriority,dq:()=>isImWithInvitedUser,ed:()=>ei,fO:()=>getChannelInternalTeamIdsSampleTeam,gH:()=>getLeaveActionWithReason,gs:()=>getChannelConnectedTeamIds,hG:()=>isReadOnlyFileThread,iZ:()=>isImWithDeletedMember,jj:()=>getChannelName,kR:()=>getBadgeCountWithMuted,lQ:()=>isOrgDefaultChannel,lo:()=>isFromAnotherTeam,m2:()=>isStarred,mi:()=>isUserInChannelOnAnyTeam,nT:()=>isOpen,qT:()=>getPinnedItemsCount,qh:()=>getChannelLastActivityTs,qw:()=>en,uA:()=>legacyIsFromAnotherTeam,uy:()=>getAgentListener,vC:()=>getChannelMemberCount,vw:()=>maybeGetTeamIdForChannelFromAnotherTeam,w6:()=>isVisibleMpim,yE:()=>getChannelManagerCount,yc:()=>getHasDraft,yz:()=>getChannelNumOfMembers,z8:()=>getPurpose});var n=a(0x55098bc0),r=a(0x1595bdd0),i=a(0x20ef3966f),o=a(0x7d48dd65),s=a(0x21da4684a),l=a(0x77727995),c=a(0x1aba66b56),d=a(0x1e2051844),u=a(0x7a13daf2),m=a(0xc9c97240),f=a(0xe874a88a),_=a(0x20b4dda68),p=a(0x2172ff7ff),h=a(0xb62e6bf4),g=a(0x12185e091),A=a(0x73d7ee71),b=a(0x280afe13),y=a(0x6f213e53),S=a(0x19d55d0e1),E=a(0x245dcaf6b),k=a(0xf6ed6f31),T=a(0x1e79c438d),I=a(0x11640e941),w=a(0x16df7a1d3),C=a(0x123177bf2),v=a(0x2232139de),x=a(0xbd3de346),R=a(0x20679dcfc),O=a(0x1b9d5cc0c),N=a(0x21d85d6e5),D=a(0xf2964a91),L=a(0xdb0ffe37),M=a(0x1aad32b98),F=a(0x3fb798cf),P=a(0x143fb6398),U=a(0xa1832ae4),B=a(0x155965105);a(0x1ec68d6a3);var G=a(0x9b971e7e),H=a(0x4790a9e9),W=a(0x1ccef1c6f),V=a(0x16f8b3ac2),j=a(0x19c76d181),K=a(0x1960dd36f),q=a(0x814e7940),z=a(0x1e3ee2c86),$=a(0x11ea712ca),Y=a(0x217553e42),Q=a(0x17f39e0ff),Z=a(0x1c2eef3c8),J=a(0x14ea3ce99),X=a(0xe684f705),ee=a(0x212d58282),et=a(0x14e96dc1);let ea=B.Ef,en={NONE:"",LEAVE:"leave",CLOSE:"close",CONFIRM_AND_LEAVE:"confirm_and_leave",CONFIRM_LEAVE_AND_ARCHIVE:"confirm_leave_and_archive"},isOpen=e=>!!(e&&e.is_open),isStarred=(e,t)=>!!t&&(0,H.ng)(e,t.id),isEndedIm=e=>!!e&&!!(0,g.LI)(e)&&!!(0,E.Zz)(e)&&e.frozen_reason===$.Re.EXTERNAL_DM_ENDED,isDormant=e=>!!e?.properties?.is_dormant,isRead=e=>e&&!e.unread_cnt,isUnread=e=>e&&!isRead(e);function getChannelId(e){return e&&e.id}let getUnreadCount=e=>e&&e.unread_cnt,getUnreadHighlightCount=e=>e&&e.unread_highlight_cnt,getUnreadVipMentionCount=e=>e&&e?.vip_count,getLastReadTs=(e,t)=>{if(t)return(0,K.G)(e,t.id)},getPinnedItemsCount=e=>e&&e.pinned_items_count,getPriority=(e,t)=>{if(t)return(0,z.A)(e,t.id)},getPurpose=e=>e&&e.purpose&&e.purpose.value,getChannelName=e=>e&&e.name,getChannelUserId=e=>e&&e.user,getChannelCreator=e=>e&&e.creator,getChannelCreatedTime=e=>e&&e.created,getChannelGuestCount=e=>e&&e.guest_count,getChannelLastActivityTs=e=>e&&e.last_activity_ts,getChannelMemberCount=e=>e&&e.member_count,getChannelManagerCount=e=>e&&e.channel_manager_count,getChannelNumOfMembers=e=>e&&e.num_members,getChannelConnectedTeamIds=e=>e&&e.connected_team_ids,getChannelInternalTeamIds=e=>e&&e.internal_team_ids,getChannelInternalTeamIdsCount=e=>e&&e.internal_team_ids_count,getChannelInternalTeamIdsSampleTeam=e=>e&&e.internal_team_ids_sample_team,isPreview=e=>!(0,y.F)(e)&&((0,g.rW)(e)||(0,g.rI)(e))&&!(0,k.bl)(e),canThread=(e,t)=>!!(t&&!(t&&t.is_non_threadable||(0,C.P)(e,t))),isReadOnlyFileThread=(e,t)=>{if(!t||!(0,S.jT)(t))return!1;let a=(0,R.l)(t.id),n=a?(0,J.Lp)(e,a):void 0;return!(n&&(0,x.l7)(n))&&!(0,x.mW)(n)},isVisibleMpim=(e,t)=>!!(0,g.yz)(t)&&(!!(isOpen(t)||isStarred(e,t)||isUnread(t))||(!!(0,q.b5)(e,t.id)||!!t.msgs&&!!t.msgs.length)&&(!t.members||2!==t.members.length)),isVisibleIm=(e,t)=>!!(0,g.LI)(t)&&(!!(isOpen(t)||isStarred(e,t)||isUnread(t))||!!(0,q.b5)(e,t.id)||!!t.msgs&&!!t.msgs.length);function getLatestTs(e,t,a){let r=(0,q.b5)(e,t),i=(0,n.A)(a,e=>!(0,F.A)(e));return i&&(!r||i>r)&&(r=i),r}function isImAndIsMemberDeleted(e,t){return!!e&&!!t&&(0,g.LI)(e)&&(0,D.o)(t)}let isImWithDeletedMember=(e,t)=>{if(!t)return!1;let a=(0,X.nv)(e,t.user);return isImAndIsMemberDeleted(t,a)},getHasDraft=(e,t)=>!!(0,Z.N8)(e,{channelId:t}),getHasReadOnlyDraft=(e,t)=>!!t&&((0,C.P)(e,t)||(0,v.B)(e,t))&&getHasDraft(e,t.id),er=[],ei=(0,m.Mz)(e=>(0,W.Vz)(e),e=>(0,Q.o)(e),(e,t)=>e?e.split(",").filter(e=>{let a=t?.[e];return a&&(0,g.rW)(a)&&!(0,k.bl)(a)&&!(0,y.F)(a)&&!(0,P.ju)(a)&&!(0,w.S)(a)}):er),isSuggestedChannel=(e,t)=>!!(t&&-1!==ei(e).indexOf(t.id)),neverNeedsJoinedMsg=e=>e&&e.never_needs_joined_msg,isOrgDefaultChannel=e=>!!(e&&e.is_org_default&&(0,g.rW)(e)&&(0,I.M)(e)),getIsChannelMoved=e=>1===e.is_moved,getBadgeCountWithMuted=(e,t,a)=>e?(0,g.yz)(e)&&t?e.unread_highlight_cnt:(0,g.yz)(e)||(0,g.LI)(e)||a?e.unread_cnt:e.unread_highlight_cnt:0,getMemberIdsFromMpim=e=>e&&(0,g.yz)(e)?e.members:void 0;function getMembersInDisplayOrder(e,t){if(!t)return[];let a=(0,j.WR)(e);return(0,r.A)((0,i.A)((0,o.A)(getMemberIdsFromMpim(t),e=>e!==a),t=>(0,X.nv)(e,t)))}function makeNameForMpim(e,t){let a=getMembersInDisplayOrder(e,t);return a.length<2?t._internal_name:`@${(0,i.A)((0,r.A)(a),t=>(0,L.g)(t)?`${t.name}_${(0,M.Ux)(e,t)}`:t.name).join(",")}`}let getChannelTopicText=e=>e?.topic?.value,isFromAnotherTeam=e=>e&&e.fromAnotherTeam,isUserInChannel=e=>!!((0,g.LI)(e)||(0,g.yz)(e)||(0,k.bl)(e)&&!isFromAnotherTeam(e)&&(0,T.V)(e)),isUserInChannelOnAnyTeam=e=>!!((0,g.LI)(e)||(0,g.yz)(e)||(0,k.bl)(e)&&(0,T.V)(e)),legacyIsFromAnotherTeam=(e,t)=>!!t&&!!(t.team_id&&t.team_id!==(0,G.ZT)(e)),teamIdForChannelFromAnotherTeam=(e,t)=>{let a=(0,G.ZT)(e);if((0,h.ss)(e))return a;let n=(0,X.cA)(e),r=(0,s.A)((0,A.R)(e,t)||[],(0,l.A)(n,"enterprise_user.teams")||[]);if((0,c.A)(r,a))return a;let i=(0,V.SF)(e),o=(0,d.A)(i,e=>(0,c.A)(r,e.id));return o?o.id:r&&r[0]},maybeGetTeamIdForChannelFromAnotherTeam=(e,t)=>isFromAnotherTeam(t)?teamIdForChannelFromAnotherTeam(e,t):void 0,getLeaveActionWithReason=(e,t,a)=>{let n=t(),{ok:r,reason:i}=ea(n,a.id);if(!r&&i)return f.S.resolve({action:en.NONE,reason:i});if(!(0,g.Zp)(a))return f.S.resolve({action:en.LEAVE});if((0,y.F)(a))return f.S.resolve({action:en.CLOSE});if((0,P.ju)(a))return f.S.resolve({action:en.CONFIRM_AND_LEAVE});let o=(0,G.ZT)(n);return o&&(0,ee.D1)(o,[a.id]),e((0,et.L)({channelId:a.id})).then(e=>1===(e?.counts.member_count||0)?{action:en.CONFIRM_LEAVE_AND_ARCHIVE}:{action:en.CONFIRM_AND_LEAVE})},isSearchSystemUser=e=>(0,b.e)(e)===_.QF,isSlackSecurityBot=e=>(0,b.e)(e)===_.cW,isImWithInvitedUser=(e,t)=>{if(!(0,g.LI)(t))return!1;let a=(0,b.e)(t),n=(0,X.nv)(e,a);return!!(0,O.zU)(n)},getChannelPreviousNames=e=>e&&e.previous_names,getAgentListener=e=>e?.properties?.agent_listener,isMostRecentlyCreatedChannel=(e,t)=>{let a=(0,Y.DM)(e),n=(0,u.A)(a,"created");return t.id===n?.id};function getMpimMemberCount(e){return e&&e.members?Math.max((e.members.length||1)-1,2):null}function constructAbsoluteChannelPermalink({team:e,channelId:t,archive:a=!1}){return`${(0,U.Zl)(e)}${a?"archives":"messages"}/${t}`}let getMpimMemberNameList=(e,t)=>{let a=(0,Y.OL)(e,t);if((0,g.JM)(a)){let t=getMemberIdsFromMpim(a);if(!t)return er;let n=t.map(t=>{let a=(0,X.nv)(e,t);return(0,O.fy)(a)?null:(0,N.sE)(e,a)});return(0,r.A)(n).sort(p.Ay)}return er},hasBarrier=e=>!!e?.has_barrier,getImOrMpimMemberIds=e=>e?(0,g.LI)(e)?[(0,b.e)(e)]:getMemberIdsFromMpim(e):null;Object.defineProperty({},"canUserLeaveChannelWithReason",{get:()=>ea,set:e=>{ea=e}})},0xfee8fb3:(e,t,a)=>{"use strict";a.d(t,{l:()=>canChannelBeClosed});var n=a(0x1ec69ee01),r=a(0x12185e091);let canChannelBeClosed=e=>!!((0,r.LI)(e)||(0,r.yz)(e)||(0,r.rI)(e)&&(0,n.nT)(e))},0x17429e0ec:(e,t,a)=>{"use strict";a.d(t,{k:()=>channelIsCanvasFile});var n=a(0x19d55d0e1),r=a(0xbd3de346),i=a(0x20679dcfc),o=a(0x14ea3ce99);let channelIsCanvasFile=(e,t)=>{if(t&&(0,n.jT)(t)){let a=(0,o.Lp)(e,(0,i.l)(t?.id));return(0,r.wL)(a)}return!1}},0x12185e091:(e,t,a)=>{"use strict";a.d(t,{Cu:()=>s,Eb:()=>l,FV:()=>isSlackCRMSupportChannel,JM:()=>isImOrMpim,K5:()=>getChannelPrivacyType,LI:()=>isIm,Pc:()=>isClosableChannelType,QR:()=>isNonExistent,U_:()=>isSalesforceRecordChannel,ZZ:()=>isSlackCrmLeadsChannel,Zp:()=>isPrivateChannel,Zx:()=>isUnknownOrNonExistent,cb:()=>isHuddleChannel,gx:()=>isRequired,hc:()=>isExistent,jq:()=>isChannelObject,mz:()=>getChannelType,rI:()=>isRecordChannel,rW:()=>isPublicChannel,t8:()=>isUnknown,yz:()=>isMpim});var n=a(0x8b588d25),r=a(0x15f4f83cf),i=a(0x16ed1b0dc),o=a(0x22722f0d0);let isIm=e=>!!(e&&e.is_im),isMpim=e=>!!(e&&e.is_mpim),isImOrMpim=e=>isIm(e)||isMpim(e),isRecordChannel=e=>!!e?.properties?.record_channel?.record_id,isSalesforceRecordChannel=e=>isRecordChannel(e)&&(0,o.V)((0,n.iJ)(e)),isSlackCrmLeadsChannel=e=>!!e?.properties?.crm?.leads_channel,isSlackCRMSupportChannel=e=>!!e?.properties?.crm?.support_channel,isHuddleChannel=e=>e?.properties?.huddles?.is_huddle_channel??!1,isPrivateChannel=e=>!!(e&&(e.is_private||e.is_group)&&!isMpim(e)),isPublicChannel=e=>!!(e&&e.is_channel&&!isPrivateChannel(e)&&!isMpim(e)),isRequired=e=>!!(e&&(e.is_general||e.is_org_mandatory)),s={im:"im",mpim:"mpim",private:"private",channel:"channel",unknown:null},getChannelType=e=>isIm(e)?s.im:isMpim(e)?s.mpim:isPrivateChannel(e)?s.private:isPublicChannel(e)?s.channel:s.unknown,l={public:0,dm:1,private:2,mpdm:3},getChannelPrivacyType=e=>isIm(e)?l.dm:isMpim(e)?l.mpdm:isPrivateChannel(e)?l.private:isPublicChannel(e)?l.public:null;function isUnknownOrNonExistent(e){return(0,r.GU)(e)}function isUnknown(e){return(0,r.mX)(e)}function isNonExistent(e){return(0,r.lv)(e)}function isExistent(e){return(0,r.uz)(e)}let isChannelObject=e=>!!e&&(0,i.A)(e.id)&&getChannelType(e)!==s.unknown&&!isUnknownOrNonExistent(e);function isClosableChannelType(e){return isIm(e)||isMpim(e)}},0x53f531a4:(e,t,a)=>{"use strict";a.d(t,{j:()=>getChannelName});var n=a(0x12185e091);function getChannelName(e){return!e||(0,n.t8)(e)?null:e.name}},0x180c47f59:(e,t,a)=>{"use strict";a.d(t,{v:()=>getChannelUnlinkedTs});let getChannelUnlinkedTs=e=>e&&e.unlinked||0},0x16fb57e5:(e,t,a)=>{"use strict";a.d(t,{X:()=>getChannelUseCase});var n=a(0x12185e091),r=a(0x21d145283),i=a(0x21dd74f4c),o=a(0xc1963a64),s=a(0x11ea712ca);let getChannelUseCase=(e,t)=>{if(t){if((0,r.N)(t))return s.kA.GENERAL;if((0,n.yz)(t))return s.kA.MPDM;if((0,i.G)(e,t.id))return s.kA.APP_OR_BOT_DM;if((0,o.V)(e,t))return s.kA.SELF_DM;if((0,n.LI)(t))return s.kA.DM;switch(t.use_case){case s.kA.PROJECT:case s.kA.RANDOM:return t.use_case;default:return s.kA.GENERIC}}}},0x216ede730:(e,t,a)=>{"use strict";function getConnectedLimitedTeamIds(e,t){return e&&t?t.connectedLimitedTeamIds??t.connected_limited_team_ids??[]:[]}a.d(t,{A:()=>getConnectedLimitedTeamIds})},0x6b35329:(e,t,a)=>{"use strict";a.d(t,{A:()=>getConnectedTeamIds});var n=a(0x1df96de4c);function getConnectedTeamIds(e,t){return e&&t&&(t.connectedTeamIds||t.connected_team_ids)?t.connectedTeamIds??t.connected_team_ids??n.Ml:n.Ml}},0xf159cb74:(e,t,a)=>{"use strict";a.d(t,{c:()=>getContextTeamId});let getContextTeamId=e=>e?.context_team_id},0x76ad3aef:(e,t,a)=>{"use strict";a.d(t,{j:()=>getConversationHostId});let getConversationHostId=e=>{if(e&&e.conversation_host_id)return e.conversation_host_id}},0x1ecc7f772:(e,t,a)=>{"use strict";a.d(t,{Mn:()=>getDisplayName,SB:()=>getDisplayNameForChannel,Xx:()=>getMpimDisplayName,Bp:()=>getMpimDisplayNameAlphabetical});var n=a(0x1595bdd0),r=a(0xca924ee1),i=a(0x20482ad21),o=a(0x1e864b930),s=a(0x2172ff7ff),l=a(0x1ec69ee01),c=a(0xf9cb31c6);let d=new i.Ay("huddles");function getDisplayNameForCalendarHuddle(e,t){let a=(0,l.cU)(t);return a||((0,c.a$)(e)?d.t("Huddle"):"Huddle")}var u=a(0x12185e091),m=a(0x53f531a4),f=a(0x19d55d0e1),_=a(0xbd3de346),p=a(0x20679dcfc),h=a(0x22fd0ecc8),g=a(0x1b9d5cc0c),A=a(0x2378cf6ec),b=a(0x21d85d6e5),y=a(0x3f9b1657),S=a(0x1ec68d6a3),E=a(0x1fe886fee),k=a(0x1cf0d97e1),T=a(0x19c76d181),I=a(0x217553e42),w=a(0x14ea3ce99),C=a(0xb129c1d5),v=a(0xe684f705);let x=new i.Ay("channels"),getDisplayName=e=>e?(0,u.LI)(e)||(0,u.yz)(e)?e._display_name||e.name:(0,y.A)({channelName:e.name,includePrefix:!1,isUnknown:(0,u.t8)(e),isNonExistent:(0,u.QR)(e)}):"",getMpimDisplayName=(e,t,a,r)=>{let i=(0,E.h)(e);if(!(0,u.yz)(t))return null;let o=(0,l.cU)(t);if(i&&o&&!r)return o;let s=a;if(a||(s=(0,l.Ug)(t)),!s)return(0,S.default)({state:e}).error(Error("Unable to get display name for MPIM because we\u2019re missing members"),{channelId:(0,l.FB)(t)}),null;let c=s.map(t=>{let a=(0,v.nv)(e,t);return(0,g.fy)(a)?null:(0,b.sE)(e,a)});return(0,n.A)(c).join(", ")},getMpimDisplayNameAlphabetical=(e,t,{truncateMpimNames:a=!1,memberToExclude:r,forceMpimNames:i=!1}={})=>{if(!(0,u.yz)(t))return"";let c=(0,l.cU)(t);if((0,E.h)(e)&&c&&!i)return c;let d=(0,l.Ug)(t);if(!d)return(0,S.default)({state:e}).error(Error("Unable to get display name for MPIM because we\u2019re missing members"),{channelId:(0,l.FB)(t)}),"";let m=d.filter(e=>e!==r).map(t=>{let a=(0,v.nv)(e,t);return(0,g.fy)(a)?"":(0,C.a)(e,a.id)?x.t("Name hidden"):(0,b.sE)(e,a)}),f=(0,n.A)(m);if(a){let e=f.sort(s.Ay);return 0===e.length?"":e.length<=3?(0,o.A)(e,{noEscape:!0}).join(""):x.t("{firstName}, {secondName}, and {numRemaining} others",{firstName:e[0],secondName:e[1],numRemaining:e.length-2})}return f.sort(s.Ay).join(", ")},R=(0,k.Ay)((e,t,{truncateMpimNames:a=!1}={})=>{let n;if(t)if((0,u.yz)(t)){let r=getMpimDisplayNameAlphabetical(e,t,{truncateMpimNames:a});n=x.t("DM with {channelName}",{channelName:r||""})}else if((0,u.LI)(t)){let a=(0,A.I)(e,t.user);n=x.t("DM with {channelName}",{channelName:a||""}),(0,T.WR)(e)===t.user&&(n=x.t("DM with yourself"))}else n=(0,y.A)({channelName:(0,m.j)(t),includePrefix:!0,isUnknown:(0,u.t8)(t),isNonExistent:(0,u.QR)(t)});else n=null;x.t("{channelName}",{channelName:n||""});return(0,u.JM)(t)?x.t("Canvas for {channelName}",{channelName:n||""}):x.t("{channelName} canvas",{channelName:n||""})});R.meta={name:"getDisplayNameForChannelCanvas",key:"createSelectorGetDisplayNameForChannelCanvas",description:(e,t,{truncateMpimNames:a=!1}={})=>{let n;if(t)if((0,u.yz)(t)){let r=getMpimDisplayNameAlphabetical(e,t,{truncateMpimNames:a});n=x.t("DM with {channelName}",{channelName:r||""})}else if((0,u.LI)(t)){let a=(0,A.I)(e,t.user);n=x.t("DM with {channelName}",{channelName:a||""}),(0,T.WR)(e)===t.user&&(n=x.t("DM with yourself"))}else n=(0,y.A)({channelName:(0,m.j)(t),includePrefix:!0,isUnknown:(0,u.t8)(t),isNonExistent:(0,u.QR)(t)});else n=null;x.t("{channelName}",{channelName:n||""});return(0,u.JM)(t)?x.t("Canvas for {channelName}",{channelName:n||""}):x.t("{channelName} canvas",{channelName:n||""})}};let O=(0,r.A)(e=>{let t=e.match(/ZC:[0-9A-Z]+?:(.+?)$/i);return t?t[1]:e}),getDisplayNameForChannel=(e,t,{publicChannelIncludeHashSign:a=!0,imIncludeAtSign:n=!0,truncateMpimNames:r=!1,forceMpimNames:i=!1,privateChannelUseHashSign:o=!1,recordChannelUseHashSign:s=!1,forceIncludePrefix:l=!1}={})=>{if(!t)return"";if((0,f.jT)(t)){let a=(0,p.l)(t.id),n=a?(0,w.Lp)(e,a):void 0;if(n&&(0,_.DQ)(n)){let{linked_channel_id:t}=n;if(t){let a=(0,I.OL)(e,t);if(a)return R(e,a)}return(0,h.SB)(n)||""}}if((0,u.yz)(t))return getMpimDisplayNameAlphabetical(e,t,{truncateMpimNames:r,forceMpimNames:i});if((0,u.LI)(t))return(0,A.I)(e,t.user,!1,n);if((0,c.a$)(e)&&(0,u.cb)(t))return getDisplayNameForCalendarHuddle(e,t);if((0,u.rI)(t)){let e=O(t.name||"...");return s?`#${e}`:e}return(0,y.A)({channelName:t.name,includePrefix:l||!!(0,u.rW)(t)&&!!a||!!(0,u.Zp)(t)&&!!o,isUnknown:(0,u.t8)(t),isNonExistent:(0,u.QR)(t)})}},0x1b3ecb96a:(e,t,a)=>{"use strict";a.d(t,{l:()=>getExternalWorkspaceIdForChannelId});let getExternalWorkspaceIdForChannelId=(e,t)=>{}},0x73d7ee71:(e,t,a)=>{"use strict";a.d(t,{R:()=>getInternalTeamIds,S:()=>getInternalTeamIdsFromChannel});var n=a(0x1df96de4c);let getInternalTeamIds=(e,t)=>e&&t&&(t.internalTeamIds||t.internal_team_ids)?t.internalTeamIds??t.internal_team_ids??n.Ml:n.Ml,getInternalTeamIdsFromChannel=e=>e&&(e?.internalTeamIds||e.internal_team_ids)?e.internalTeamIds??e.internal_team_ids??n.Ml:n.Ml},0x280afe13:(e,t,a)=>{"use strict";a.d(t,{e:()=>getMemberIdFromIm});var n=a(0x12185e091);let getMemberIdFromIm=e=>e&&(0,n.LI)(e)&&e.user||void 0},0x136bdf2c4:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(0x2172ff7ff),r=a(0x1ec69ee01),i=a(0x12185e091),o=a(0x2378cf6ec),s=a(0x1ec68d6a3),l=a(0xdf55e8f3),c=a(0x19c76d181);let d=(0,l.eI)((e,t,a=!0)=>{if(!(0,i.yz)(t))return;let l=(0,r.Ug)(t);if(!l)return void(0,s.default)({state:e}).error(Error("Unable to get display name for MPIM because we\u2019re missing members"),{channelId:(0,r.FB)(t)});let d=(0,c.WR)(e);return l.filter(e=>d!==e).map(t=>({id:t,name:(0,o.I)(e,t,!1,!1,!1,a)})).sort((e,t)=>(0,n.Ay)(e.name,t.name)).map(e=>e.id)})},0xb70d870b:(e,t,a)=>{"use strict";a.d(t,{N:()=>getMostRelevantWorkspaceIdForChannel,f:()=>getRelevantWorkspaceIdsForChannel});var n=a(0x21da4684a),r=a(0x21f3c49e8),i=a(0x1df96de4c),o=a(0x2264e6ea3),s=a(0xb62e6bf4),l=a(0xf159cb74),c=a(0x73d7ee71),d=a(0x100fb9ff5),u=a(0x18b8a1e5b),m=a(0x1aad32b98),f=a(0x1ae984313),_=a(0x1ec68d6a3),p=a(0x9b971e7e),h=a(0x14149c126),g=a(0xe684f705);let getSelfWorkspaceMembership=e=>{let t=(0,g.cA)(e);return(0,m.HI)(t)},getRelevantWorkspaceIdsForChannel=(e,t,{useWorkspaceMembership:a=!1}={})=>{if(!t)return;let m="on"===(0,h._Z)(e,"support_channel_e_context_id");if((0,f.X)(e)){if((0,u.O)(t))return getSelfWorkspaceMembership(e).slice(0,50);if((0,d.t)(t))return(0,c.R)(e,t);let a=(0,l.c)(t);return a?[a]:i.Ml}if(!(0,s.ss)(e)){let t=(0,p.ZT)(e);return t?[t]:void 0}let g=(0,p.kN)(e);if((0,u.O)(t))return g;if((0,d.t)(t)){let i=(0,c.R)(e,t);if(!i)return void(0,_.default)({state:e}).error(Error("did not receive internal team ids for an org shared channel"));if(!g)return;let o=(0,n.A)(i,g);return(0,r.A)(o)&&a?(o=(0,n.A)(i,getSelfWorkspaceMembership(e)),(0,r.A)(o)?o:[o[0]]):o}let A=(0,l.c)(t);if(A)return(0,o.Ay)(A)||m?[A]:void(0,_.default)({state:e}).error(Error("did not receive a T-id for a local channel"),{teamId:A,channelId:t.id})},getMostRelevantWorkspaceIdForChannel=(e,t,{useWorkspaceMembership:a=!1}={})=>{let n=getRelevantWorkspaceIdsForChannel(e,t,{useWorkspaceMembership:a});if(!n||(0,r.A)(n))return;let i=(0,p.E$)(e);return i&&n.includes(i)?i:n[0]}},0xe6b69a0a:(e,t,a)=>{"use strict";a.d(t,{J:()=>isAppChannel});var n=a(0x280afe13),r=a(0x350d87d7);let isAppChannel=(e,t)=>{let a=(0,n.e)(e),i=t&&a&&t[a]||null;return(0,r.A)(i)}},0x6f213e53:(e,t,a)=>{"use strict";a.d(t,{F:()=>isArchived});let isArchived=e=>!!(e&&e.is_archived)},0x189391f29:(e,t,a)=>{"use strict";a.d(t,{R:()=>isChannelInExternalSelfWorkspace,x:()=>isChannelInExternalSelfWorkspaceById});let isChannelInExternalSelfWorkspace=(e,t)=>!1,isChannelInExternalSelfWorkspaceById=(e,t)=>!1},0x1959bfc10:(e,t,a)=>{"use strict";a.d(t,{o:()=>isChannelSearchIm});var n=a(0x20b4dda68),r=a(0x280afe13);function isChannelSearchIm(e){return(0,r.e)(e)===n.QF}},0x114ffe897:(e,t,a)=>{"use strict";a.d(t,{D:()=>isChannelSlackbotIm});var n=a(0x20b4dda68),r=a(0x280afe13);function isChannelSlackbotIm(e){return(0,r.e)(e)===n.Q$}},0x19d55d0e1:(e,t,a)=>{"use strict";a.d(t,{K3:()=>isFileChannel,OR:()=>isFileChannelById,jT:()=>deprecatedIsFileChannel});var n=a(0xbe0b63ff),r=a(0x1ec69ee01),i=a(0x20679dcfc),o=a(0x217553e42),s=a(0x14ea3ce99);let deprecatedIsFileChannel=e=>!!(e&&e.is_file),isFileChannel=(e,t,{fetchFileIfMissing:a=!1}={})=>{if((0,n.uz)(t))return!!t.is_file;let o=t&&(0,r.FB)(t);if(!o)return;let l=(0,i.l)(o),c=(0,s.Lp)(e,l,a);return!!(0,n.uz)(c)||!(0,n.lv)(c)&&void 0},isFileChannelById=(e,t,{fetchChannelIfMissing:a=!0,fetchFileIfMissing:n=!1}={})=>{let r=(0,o.OL)(e,t,a);return isFileChannel(e,r,{fetchFileIfMissing:n})}},0x245dcaf6b:(e,t,a)=>{"use strict";a.d(t,{Zz:()=>isFrozen,sP:()=>isFrozenAndInGracePeriod});var n=a(0x1f355b555),r=a(0x12185e091),i=a(0x180c47f59),o=a(0x1e79c438d),s=a(0x1266f1359),l=a(0x6cc4c078);let isFrozen=e=>!!(e&&e.is_frozen);function isFrozenAndInGracePeriod(e,t){if(!e||(0,r.rW)(t)&&!(t&&t.grace_period_end))return!1;let a=(0,i.v)(t);if((0,o.V)(t)&&isFrozen(t)&&a){let t=(0,s.$D)("string"==typeof e?e:e.id),r=(0,l._f)(t);if(r){let e=n.Ay.unix(r),t=n.Ay.unix(a),i=(0,n.Ay)(e).add(5,"day");return(r===a||t.isAfter(r))&&i.isAfter((0,n.Ay)())}}return!1}Object.defineProperty({isFrozenAndInGracePeriod},"isFrozenAndInGracePeriod",{get:()=>isFrozenAndInGracePeriod,set:e=>{isFrozenAndInGracePeriod=e}})},0x21d145283:(e,t,a)=>{"use strict";a.d(t,{N:()=>isGeneral});let isGeneral=e=>!!(e&&e.is_general)},0x21dd74f4c:(e,t,a)=>{"use strict";a.d(t,{G:()=>d,s:()=>isImWithAppOrSlackbotPure});var n=a(0x12185e091),r=a(0x280afe13),i=a(0x114ffe897),o=a(0x1b9d5cc0c),s=a(0x1cf0d97e1),l=a(0x217553e42),c=a(0xe684f705);let d=(0,s.Ay)((e,t)=>{let a=(0,l.OL)(e,t);if(!(0,n.LI)(a))return!1;if((0,i.D)(a))return!0;let s=(0,r.e)(a),d=(0,c.nv)(e,s);return!!(0,o.po)(d)});d.meta={name:"isImWithAppOrSlackbot",key:"createSelectorIsImWithAppOrSlackbot",description:(e,t)=>{let a=(0,l.OL)(e,t);if(!(0,n.LI)(a))return!1;if((0,i.D)(a))return!0;let s=(0,r.e)(a),d=(0,c.nv)(e,s);return!!(0,o.po)(d)}};let isImWithAppOrSlackbotPure=({channel:e,member:t})=>!!(0,n.LI)(e)&&!!((0,i.D)(e)||(0,o.po)(t))},0x1ede77aa4:(e,t,a)=>{"use strict";a.d(t,{K:()=>u});var n=a(0xb77a689a),r=a(0x12185e091),i=a(0x280afe13),o=a(0x114ffe897),s=a(0x1b9d5cc0c),l=a(0x1cf0d97e1),c=a(0x217553e42),d=a(0xe684f705);let u=(0,l.Ay)((e,t,a)=>{let l=!a,u=(0,n.A)(t)?(0,c.OL)(e,t,l):t;if(!(0,r.LI)(u)||(0,o.D)(u))return!1;let m=(0,i.e)(u),f=(0,d.nv)(e,m,{fetchIfMissing:l});return!!(0,s.po)(f)});u.meta={name:"isImWithApp",key:"createSelectorIsImWithApp",description:(e,t,a)=>{let l=!a,u=(0,n.A)(t)?(0,c.OL)(e,t,l):t;if(!(0,r.LI)(u)||(0,o.D)(u))return!1;let m=(0,i.e)(u),f=(0,d.nv)(e,m,{fetchIfMissing:l});return!!(0,s.po)(f)}}},0xf6ed6f31:(e,t,a)=>{"use strict";a.d(t,{bl:()=>isMemberOfChannel,cV:()=>isMemberOfPrivateChannel,g6:()=>isMemberOrTransparentMemberOfChannel});var n=a(0x12185e091),r=a(0x19d55d0e1);let isMemberOfChannel=e=>!!(e&&e.is_member),isMemberOrTransparentMemberOfChannel=e=>isMemberOfChannel(e)||(0,r.jT)(e),isMemberOfPrivateChannel=e=>(0,n.Zp)(e)&&(!(0,n.U_)(e)||isMemberOfChannel(e))},0x497a02e0:(e,t,a)=>{"use strict";a.d(t,{H:()=>isMostRecentlyCreatedOnboardingProjectChannel});var n=a(0x16fb57e5),r=a(0xf1527618),i=a(0x11ea712ca),o=a(0x1ab312eae);let isMostRecentlyCreatedOnboardingProjectChannel=(e,t)=>{if(!(0,r.Yx)(e)||(0,n.X)(e,t)!==i.kA.PROJECT)return!1;let a=(0,o.X)(e);return t.id===a[0]?.id}},0x1e79c438d:(e,t,a)=>{"use strict";a.d(t,{V:()=>isNonImOrMpimChannel});var n=a(0x12185e091);let isNonImOrMpimChannel=e=>!!e&&((0,n.rW)(e)||(0,n.Zp)(e))},0x11640e941:(e,t,a)=>{"use strict";a.d(t,{M:()=>isOrgSharedPublicOrPrivateChannel});var n=a(0x1e79c438d),r=a(0x100fb9ff5);function isOrgSharedPublicOrPrivateChannel(e){return!!e&&!!(0,r.t)(e)&&(0,n.V)(e)}},0x100fb9ff5:(e,t,a)=>{"use strict";a.d(t,{M:()=>isOrgSharedPublicOrPrivateChannel,t:()=>isOrgShared});var n=a(0x1e79c438d);let isOrgShared=e=>!!(e&&e.is_org_shared);function isOrgSharedPublicOrPrivateChannel(e){return!!e&&!!isOrgShared(e)&&(0,n.V)(e)}},0x16df7a1d3:(e,t,a)=>{"use strict";a.d(t,{S:()=>isOrgWidePublicOrPrivateChannel});var n=a(0x1e79c438d),r=a(0x18b8a1e5b);let isOrgWidePublicOrPrivateChannel=e=>!!e&&!!(0,r.O)(e)&&(0,n.V)(e)},0x18b8a1e5b:(e,t,a)=>{"use strict";a.d(t,{O:()=>isOrgWide});var n=a(0x12185e091),r=a(0x100fb9ff5);let isOrgWide=e=>!!e&&!!(0,r.t)(e)&&(!!(0,n.JM)(e)||!!e.is_global_shared)},0x123177bf2:(e,t,a)=>{"use strict";a.d(t,{P:()=>isReadOnly});var n=a(0x12185e091),r=a(0x21d145283),i=a(0xc8da1589),o=a(0xa1832ae4),s=a(0x1ec68d6a3),l=a(0x147fb8c90),c=a(0x24edd4aab),d=a(0x1ee439e69);let isReadOnly=(e,t)=>{if(!t)return!1;let a=(0,c.e)(e,t.id);if(a){let c=(0,d.H7)(e),u=(0,l.G2)(e,"manage_channel_posting__access");if(((0,o.tc)(c)||(0,o.KJ)(c))&&!(0,r.N)(t))return(0,i.p)(e,t)||u?!!a:((0,s.default)({state:e}).warn("Only the #general channel on free or standard teams can be read only. Make sure who_can_post pref is being set correctly on BE. This _could_ be caused by a team downgrading their payment plan"),!1);if((0,n.JM)(t))return(0,s.default)({state:e}).error(`MPIMs and IMs cannot be announce-only. Make sure is_read_only state is populated correctly for channel ${t.id}`),!1}return!!a}},0xc1963a64:(e,t,a)=>{"use strict";a.d(t,{V:()=>o});var n=a(0x280afe13),r=a(0x1cf0d97e1),i=a(0x19c76d181);let o=(0,r.Ay)((e,t)=>{if(!t)return!1;let a=(0,i.WR)(e);return!!a&&(0,n.e)(t)===a});o.meta={name:"isSelfIm",key:"createSelectorIsSelfIm",description:(e,t)=>{if(!t)return!1;let a=(0,i.WR)(e);return!!a&&(0,n.e)(t)===a}}},0x2232139de:(e,t,a)=>{"use strict";a.d(t,{B:()=>isThreadOnly});var n=a(0x12185e091),r=a(0x19d55d0e1),i=a(0x21d145283),o=a(0xc8da1589),s=a(0xa1832ae4),l=a(0x1ec68d6a3),c=a(0x147fb8c90),d=a(0x98cc114f),u=a(0x1ee439e69);let isThreadOnly=(e,t)=>{if(!t)return!1;if((0,r.jT)(t))return!0;let a=(0,d.o)(e,t.id);if(a){let r=(0,u.H7)(e),d=(0,c.G2)(e,"manage_channel_posting__access");if(((0,s.tc)(r)||(0,s.KJ)(r))&&!(0,i.N)(t))return(0,o.p)(e,t)||d?!!a:((0,l.default)({state:e}).warn("Only the #general channel on free or standard teams can be thread only. Make sure is_thread_only/can_thread pref is being set correctly on BE. This _could_ be caused by a team downgrading their payment plan"),!1);if((0,n.JM)(t))return(0,l.default)({state:e}).error(`MPIMs and IMs cannot be announce-only. Make sure is_thread_only state is populated correctly for channel ${t.id}`),!1}return!!a}},0x1a115a2e4:(e,t,a)=>{"use strict";a.d(t,{KE:()=>getExternallyMigratedTeamId,LS:()=>getExternallyMigratingTeamId,Pd:()=>isUnavailable,Xs:()=>needsReload,f5:()=>isMigrating,hL:()=>getUnavailableTeamId});var n=a(0x1595bdd0),r=a(0x1e2051844),i=a(0x6b35329),o=a(0x143fb6398),s=a(0xa1832ae4),l=a(0x14149c126),c=a(0x1ee439e69);let isMigrating=(e,t)=>!!e&&!!t&&!!t.is_migrating,needsReload=(e,t)=>{if(e&&t&&"on"===(0,l._Z)(e,"slack_connect_grid_migration_blocker"))return t.needsReload},isReloadRequired=(e,t)=>{let a;if(!t)return!1;if("on"===(0,l._Z)(e,"slack_connect_grid_migration_blocker"))return!!needsReload(e,t);if(!(0,o.ju)(t))return!1;let n=(0,i.A)(e,t);if(!n||0===n.length)return!1;let r=!1;return n.forEach(t=>{(a=(0,c._J)(e,t))&&a.externalOrgMigrated&&!a.is_migrating&&(r=!0)}),r},getConnectedTeams=(e,t)=>{if(!t||!(0,o.ju)(t))return[];let a=(0,i.A)(e,t);return a&&a.length?(0,c.DK)(e,a,!1):[]},getExternallyMigratingTeamId=(e,t)=>{if("on"!==(0,l._Z)(e,"slack_connect_grid_migration_blocker"))return;let a=getConnectedTeams(e,t);if(!a.length)return;let n=a.find(e=>e.is_migrating);return n?.id},getExternallyMigratedTeamId=(e,t)=>{if("on"!==(0,l._Z)(e,"slack_connect_grid_migration_blocker"))return;let a=getConnectedTeams(e,t);if(!a.length||a.find(e=>e.is_migrating))return;let n=a.find(e=>e.externalOrgMigrated&&!e.is_migrating);return n?.id},getUnavailableTeamId=(e,t)=>{let a=(0,i.A)(e,t);if(!a||!a.length)return;let o=(0,c.iK)(e),l=(0,n.A)(a.map(e=>o?.[e])),d=(0,r.A)(l,s.Pd);return d&&d.id},isUnavailable=(e,t)=>!!t&&!!(0,o.ju)(t)&&("on"===(0,l._Z)(e,"slack_connect_grid_migration_blocker")?!!isMigrating(e,t)||isReloadRequired(e,t):!!getUnavailableTeamId(e,t)||isReloadRequired(e,t))},0xc8da1589:(e,t,a)=>{"use strict";a.d(t,{p:()=>shouldReturnChannelPrefValueForFreeOrStandardTeam});var n=a(0x189391f29),r=a(0x143fb6398),i=a(0xb0245531);let shouldReturnChannelPrefValueForFreeOrStandardTeam=(e,t)=>(0,n.R)(e,t)||(0,r.ju)(t)&&(0,i.b)(e,t)},0x6badb612:(e,t,a)=>{"use strict";a.d(t,{i:()=>shouldStopChannelMentions});var n=a(0x12185e091),r=a(0x100fb9ff5),i=a(0x21b0fd259),o=a(0xf038462c),s=a(0x190a9df19),l=a(0x1d600678),c=a(0x19c76d181),d=a(0x217553e42),u=a(0xe684f705),m=a(0xc1360909);let shouldStopChannelMentions=(e,t,a={})=>{let{relatedMemberId:f,allowToAdmins:_}=a,p=(0,d.gT)(e,t)&&(0,d.OL)(e,t),h=f?(0,u.nv)(e,f):null;if(!t||!p||!(0,c.u8)(e)||(0,n.LI)(p)&&!(0,n.yz)(p))return!1;let g=(0,m.q8)(e,p.id),A=(g?.counts.member_count||0)>=((0,l.x)(e,"loud_channel_mentions_limit")||1/0);return!(A&&_&&((0,r.t)(p)&&(0,s.FQ)(e)||!(0,r.t)(p)&&(0,o.S4)(e,p))||A&&h&&((0,r.t)(p)&&(0,i.n5)(h)||!(0,r.t)(p)&&(0,i.LF)(e,h)))&&A}},0x15ce7705d:(e,t,a)=>{"use strict";function isOptionEmail(e){return!!e?.entity?.isEmail}function getOptionEmailAddress(e){return isOptionEmail(e)?e?.entity?.value??null:null}function getOptionClassification(e){return e?.classification}a.d(t,{CC:()=>isOptionEmail,gQ:()=>getOptionEmailAddress,mv:()=>getOptionClassification})},0x3fb4d5f0:(e,t,a)=>{"use strict";a.d(t,{x:()=>o});var n=a(0x1cf0d97e1),r=a(0x17a41206b),i=a(0x141589b4d);let o=(0,n.Ay)(e=>(0,r.sc)(e)?(0,i.Ib)(e)?r.M9.DEGRADED:r.M9.ONLINE:r.M9.OFFLINE);o.meta={name:"getClientMode",key:"createSelectorGetClientMode",description:e=>(0,r.sc)(e)?(0,i.Ib)(e)?r.M9.DEGRADED:r.M9.ONLINE:r.M9.OFFLINE}},0x7ed0bca9:(e,t,a)=>{"use strict";a.d(t,{DK:()=>shouldShowAppleRosettaUpgrade,F2:()=>shouldShowBlockingModal,Fr:()=>isMobile,O:()=>shouldShowWoaArchUpgrade,Rr:()=>willBeDeprecatedBrowser,hq:()=>isAppStore,nU:()=>willBeDeprecatedOS,sj:()=>isMSI,u_:()=>getBrowserDeprecationWarningState,zI:()=>willBeDeprecatedSSB});var n=a(0x1e33662b),r=a.n(n),i=a(0xd6ba6894);a(0xcc110d9);var o=a(0x62a17882),s=a(0x12c020c3),l=a(0x165f8a7fa),c=a(0x3288ef0e),d=a(0xb8b13bf6),u=a(0x103783718),m=a(0x16c32b54b),f=a(0x691ce3ab),_=a(0x14149c126);let lt=(e,t)=>0>(0,l.Z)((0,l.P)(e),(0,l.P)(t));function shouldShowBlockingModal(e){return"on"===(0,_._Z)(e,c.CF.SystemsBlockingModals)&&!(0,m.A)((0,f.Ry)(),c.CF.SystemsBlockingModals,"off")}function willBeDeprecatedSSB(e){if((0,s.qN)(window.location.href).deprecation_will_be_deprecated_ssb)return d.H8.nonBlocking;if(!(0,o.y3)())return d.H8.false;let isDeprecated=e=>!(0,o.dY)(e.slack);if(isDeprecated(c.Ww.current)&&shouldShowBlockingModal(e))return d.H8.blocking;if("on"===(0,_._Z)(e,c.CF.Systems)&&isDeprecated(c.Ww.next)){if("on"===(0,_._Z)(e,c.CF.SystemsPhaseThree)&&shouldShowBlockingModal(e))return d.H8.blocking;if("on"===(0,_._Z)(e,c.CF.SystemsPhaseOne))return d.H8.nonBlocking}return d.H8.false}function willBeDeprecatedBrowser(e){if((0,s.qN)(window.location.href).deprecation_will_be_deprecated_browser)return!0;if((0,o.y3)())return!1;let isDeprecated=e=>!!(r().chrome&&lt(r().version,e.chrome)||r().firefox&&lt(r().version,e.firefox)||r().msedge&&lt(r().version,e.edge)||r().safari&&lt(r().version,e.safari));return!!(isDeprecated(c.Ww.current)||"on"===(0,_._Z)(e,c.CF.Systems)&&"on"===(0,_._Z)(e,c.CF.SystemsPhaseOne)&&"on"===(0,_._Z)(e,"admin_browser_deprecation_warning_february_2026")&&isDeprecated(c.Ww.next))}let getBrowserDeprecationWarningState=e=>{if((0,s.qN)(i.J.location.href).deprecation_is_unsupported_browser)return!0;if(i.J?.navigator?.userAgent==="slack_cli_tool/1.0"||(0,o.y3)())return!1;let t="on"===(0,_._Z)(e,"admin_browser_deprecation_warning_february_2026");if(isMobile())return!1;let a=(0,u.A)(),n=a?.indexOf("Edg/")>-1;return!!t&&(r().chrome&&lt(r().version,c.Ww.next.chrome)||r().firefox&&lt(r().version,c.Ww.next.firefox)||n&&lt(r().version,c.Ww.next.edge)||r().safari&&lt(r().version,c.Ww.next.safari))};function willBeDeprecatedOS(e){if((0,s.qN)(window.location.href).deprecation_will_be_outdated_os)return!0;if(!(0,o.y3)())return!1;let t=(0,u.A)(),isDeprecated=e=>{if(!r().osname||"unknown"===r().osname.toLowerCase())return!1;if("macOS"===r().osname)return!!r().osversion&&lt(r().osversion,e.mac);let a=t?.indexOf("OS_Product/Workstation")>-1;if("Windows"===r().osname&&(a&&lt(r().osversion,e.windowsWorkstation)||!a&&lt(r().osversion,e.windowsServer)&&!e.windowsServerLongTermVersions.includes(r().osversion)))return!0;if("Linux"===r().osname){let a=t?.match(/Ubuntu ((?:\d{1,5}\.?){1,3})/)?.[1];if(a&&lt(a,e.ubuntu))return!0;let n=t?.match(/Red Hat (?:Enterprise )?Linux ((?:\d{1,5}\.?){1,3})/)?.[1];if(n&&lt(n,e.redHat))return!0}return!1};return!!isDeprecated(c.Ww.current)||!!("on"===(0,_._Z)(e,c.CF.Systems)&&"on"===(0,_._Z)(e,c.CF.SystemsPhaseOne)&&isDeprecated(c.Ww.next))&&("Windows"===r().osname?"on"===(0,_._Z)(e,c.CF.SystemsWindows):"Linux"!==r().osname||"on"===(0,_._Z)(e,c.CF.SystemsLinux))}let shouldShowWoaArchUpgrade=e=>{if(!(0,o.y3)()||"on"!==(0,_._Z)(e,c.CF.SystemsWoAUpgrade))return!1;let t=window.navigator?.userAgent;return!!t&&(0,o.qu)(t)&&!t.includes("WindowsStore")},shouldShowAppleRosettaUpgrade=e=>{if(!(0,o.y3)()||"on"!==(0,_._Z)(e,c.CF.SystemsRosettaUpgrade))return!1;let t=window.navigator?.userAgent;return!!t&&(0,o.Tl)(t)};function isMobile(){return!!(0,s.qN)(window.location.href).deprecation_is_mobile||!!r().mobile||!!r().tablet}function isAppStore(){return window.process&&window.process.mas||window.navigator.userAgent&&window.navigator.userAgent.includes("MacAppStore")||window.process&&window.process.windowsStore||window.navigator.userAgent&&window.navigator.userAgent.includes("WindowsStore")||window.navigator.userAgent&&window.navigator.userAgent.includes("Snap")}function isMSI(){return!!window.navigator.userAgent?.match(/\bMSI\b/)}},0xa794f9e1:(e,t,a)=>{"use strict";a.d(t,{$9:()=>getUnattachedNotScheduledDraftDestination,CV:()=>isComposerDraftEqual,EF:()=>getDraftUniqueId,GP:()=>getAttachedDraftDestination,Hx:()=>getDraftServerLastUpdatedTs,Jt:()=>sortDraftsByDateScheduled,KL:()=>getDraftMemberIds,Mq:()=>getIdsOfMemberMentionsFromDraftOps,S1:()=>getDraftUnfurl,V:()=>getDraftDateScheduled,Zo:()=>getServerDraftClientId,_l:()=>getDraftOps,a8:()=>getDraftFilePermissions,aY:()=>getDraftAttachments,au:()=>getNormalizedDraftDestinations,h0:()=>createDraftDestinations,hJ:()=>getDraftDateCreatedTs,i5:()=>getDraftClientIdFromServerDraft,iS:()=>getDraftServerId,l7:()=>getDraftDestinations,lq:()=>getServerDraftBlocks,m8:()=>getDraftCursorIndex,mI:()=>getDraftThreadIds,mw:()=>sortDraftsByTimestamp,sC:()=>isComposerDraft,sp:()=>getDraftLastUpdatedTs,ue:()=>getDraftClientId,v7:()=>hasDraftText,zl:()=>getDraftChannelIds});var n=a(0x839ba347),r=a(0x21f3c49e8),i=a(0x20ef3966f),o=a(0xd4e00a1e),s=a(0x6258badf),l=a(0x244f35bf8),c=a(0x155d02b1c),d=a(0xe0376d2),u=a(0xce200d01),m=a(0x9e671ad),f=a(0x17294c72a),_=a(0x118cdcdea),p=a.n(_),h=a(0x23fb5a202),g=a(0x193ee5834),A=a(0xfc2ab6be),b=a(0xd03b77ca),y=a(0x1308fe1af),S=a(0x1973dd8ce);function createDraftDestinations({channelIds:e,memberIds:t}={}){let a=[];return(0,n.A)(e,e=>{a.push({channel_id:e})}),(0,r.A)(t)||a.push({user_ids:t}),a}function getNormalizedDraftDestinations(e){let t=isComposerDraft(e),a=getDraftDestinations(e);return(0,i.A)(a,e=>t?(0,r.A)(e.user_ids)||!e.channel_id||e.thread_ts?!(0,r.A)(e.user_ids)&&e.channel_id&&e.thread_ts?(0,s.A)(e,["user_ids"]):e:(0,o.A)(e,["user_ids"]):(0,s.A)(e,["user_ids"]))}function getDraftCursorIndex(e){return e&&e.cursor_index}function getDraftDestinations(e){return e&&e.destinations}function getDraftChannelIds(e){let t=getDraftDestinations(e)||[],a=[];return t.forEach(e=>{e.channel_id&&a.push(e.channel_id)}),a}function getDraftThreadIds(e){let t=getDraftDestinations(e)||[],a=[];return t.forEach(e=>{e.channel_id&&e.thread_ts&&a.push((0,S.Q)({channelId:e.channel_id,threadTs:e.thread_ts}))}),a}function getDraftClientId(e){return e&&e.client_draft_id}function getDraftUniqueId(e){return isComposerDraft(e)?getDraftClientId(e):e&&e.temp_attached_draft_unique_id}function getDraftClientIdFromServerDraft(e){let t;if(!(!e||(0,r.A)(e))){if(isComposerDraft(e))t=getServerDraftClientId(e);else{let{channelId:a,threadTs:n}=getAttachedDraftDestination(e)||{};t=(0,S.Q)({channelId:a,threadTs:n})}return t}}function getServerDraftClientId(e){return e&&e.client_msg_id}function getServerDraftBlocks(e){return e?.blocks}function getDraftServerId(e){return e&&e.id}function getDraftMemberIds(e){let t=getDraftDestinations(e)||[],a=[];return t.forEach(e=>{e.user_ids&&a.push(...e.user_ids)}),a}function getDraftUnfurl(e){if(e&&e.unfurl&&(0,l.A)(e.unfurl))return e.unfurl.map(e=>(0,c.A)(e.url))}function getDraftAttachments(e){return e?.attachments}function getDraftOps(e){return e&&e.ops}let getIdsOfMemberMentionsFromDraftOps=e=>{let t=getDraftOps(e)||[];return(0,d.A)((0,u.A)(t,(e,t)=>{if(!(0,y.Sn)(t))return;let a=(0,y.I4)(t);a&&e.push(a)},[]))};function getDraftLastUpdatedTs(e){return e&&e.last_updated}function getDraftServerLastUpdatedTs(e){return e&&e.last_updated_ts}function getDraftDateCreatedTs(e){return e&&e.date_created}function getAttachedDraftDestination(e){let t=e?.destinations?.[0]?.thread_ts&&e?.date_scheduled;if(isComposerDraft(e)&&!t)return null;let a=getDraftDestinations(e);return!a||(0,r.A)(a)?null:{channelId:a[0].channel_id,isBroadcast:a[0].broadcast,threadTs:a[0].thread_ts}}function getUnattachedNotScheduledDraftDestination(e){if(!isComposerDraft(e)||e?.date_scheduled)return null;let t=getDraftDestinations(e);return!t||(0,r.A)(t)?null:{channelId:t[0].channel_id,isBroadcast:t[0].broadcast,threadTs:t[0].thread_ts}}function getDraftDateScheduled(e){return e&&e.date_scheduled}function hasDraftText(e,{trimWhitespace:t=!1}={}){if(!e||(0,r.A)(e))return!1;let a=getDraftOps(e),n=new(p())(a?.slice());return(0,b.A)(n,{trimWhitespace:t})}function isComposerDraft(e){return!!(e&&e.is_from_composer)}function isComposerDraftEqual(e,t){if(!e||!t||(0,r.A)(e)||(0,r.A)(t))return!1;let a=getDraftServerId(e),n=getDraftServerId(t);if(!(0,m.A)(a,n))return!1;let i=getDraftServerLastUpdatedTs(e),o=getDraftServerLastUpdatedTs(t);if(!(0,m.A)(i,o))return!1;let s=getDraftDestinations(e),l=getDraftDestinations(t);if(!(0,m.A)(s,l)||!(0,m.A)(e.ops,t.ops))return!1;let c=(0,h.A)(e),d=(0,h.A)(t);if(!(0,m.A)(c,d))return!1;let u=getDraftDateScheduled(e),f=getDraftDateScheduled(t);return!!(0,m.A)(u,f)&&isComposerDraft(e)===isComposerDraft(t)&&(0,A.A)(e)===(0,A.A)(t)&&(0,g.A)(e)===(0,g.A)(t)}function sortDraftsByTimestamp(e){return(0,r.A)(e)?e:e.slice().sort((e,t)=>{let a=getDraftLastUpdatedTs(e)||0;return(getDraftLastUpdatedTs(t)||0)-a})}function sortDraftsByDateScheduled(e){return(0,f.A)(e,e=>`${getDraftDateScheduled(e)}_${getDraftLastUpdatedTs(e)}`)}function getDraftFilePermissions(e){if(e&&e.file_permissions)return e.file_permissions}},0x23fb5a202:(e,t,a)=>{"use strict";function getDraftFiles(e){return e?.file_ids}a.d(t,{A:()=>getDraftFiles})},0x193ee5834:(e,t,a)=>{"use strict";function getDraftSlashCommandAppId(e){return e?.slash_command_app_id}a.d(t,{A:()=>getDraftSlashCommandAppId})},0xfc2ab6be:(e,t,a)=>{"use strict";function getDraftSlashCommandApplicableTeamId(e){return e?.slash_command_applicable_team_id}a.d(t,{A:()=>getDraftSlashCommandApplicableTeamId})},0x6556c7bb:(e,t,a)=>{"use strict";a.d(t,{A:()=>getNumDraftFiles});var n=a(0x21f3c49e8),r=a(0xe180a236),i=a(0xa794f9e1),o=a(0x23fb5a202),s=a(0x16b50768c);function getNumDraftFiles(e,t){if(!t||(0,n.A)(t))return 0;let a=(0,i.ue)(t),l=(0,o.A)(t),c=(0,s.A)(e,a);return(0,r.A)(l)+(0,r.A)(c)}},0x2076e58db:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(0x7fa3cc8f),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0xa794f9e1),s=a(0x1c2eef3c8);let l=(0,r.Mz)([e=>(0,s.Hw)(e)],e=>{let t=(0,n.A)(e).filter(e=>(0,o.V)(e));return t.length?t:i.Ml})},0x16b50768c:(e,t,a)=>{"use strict";a.d(t,{A:()=>getUnsentPendingFileIds});var n=a(0xc9c97240),r=a(0x1efa64175),i=a(0x357dacc7);let o=(0,n.Mz)(e=>(0,r.nK)(e),e=>(0,i.hP)(e),(e,t)=>{let a={};return Object.keys(e).forEach(n=>{a[n]=e[n].filter(e=>!t[e]?.isSending)}),a}),s=[];function getUnsentPendingFileIds(e,t){return o(e)[t]||s}},0x14ebbe52a:(e,t,a)=>{"use strict";a.d(t,{A:()=>getVisibleDraftsCount});var n=a(0x3d5dc445),r=a(0x1c2eef3c8);function getVisibleDraftsCount(e,t){let a=t?.includeAllTeams?(0,n.J)(e,{includeScheduledDrafts:t?.includeScheduledDrafts}):(0,n.Q)(e,{includeScheduledDrafts:t?.includeScheduledDrafts}),i=(0,r.zY)(e)||[],o=(a||[]).length-i.length;return o>0?o:0}},0x3d5dc445:(e,t,a)=>{"use strict";a.d(t,{J:()=>b,Q:()=>y});var n=a(0xc9c97240),r=a(0x15f4f83cf),i=a(0x1ec69ee01),o=a(0x12185e091),s=a(0x6f213e53),l=a(0xf6ed6f31),c=a(0xa794f9e1),d=a(0x5738b4bc),u=a(0xad417b9),m=a(0xdf55e8f3),f=a(0x217553e42),_=a(0x1c2eef3c8),p=a(0xd93ecf94),h=a(0x141db06ab);let getVisibleChannelDraftIds=(e,t)=>{let a=(0,_.Hw)(e),n={};return Object.values(a).forEach(a=>{if(!(0,c.sC)(a)){let{channelId:m,threadTs:_}=(0,c.GP)(a)||{},h=(0,f.OL)(e,m);if(!(!t&&(0,i.lo)(h)||!h||!m||(0,o.Zx)(h)||(0,s.F)(h))&&(0,l.g6)(h)&&(!_||(0,u.X)(e,m))&&(_||(0,d.E)(e,m))){if(_){let t=(0,p.Ld)(e,m,_);if(!t||(0,r.GU)(t))return}n[(0,c.EF)(a)]=!0}}}),n},g=(0,m.eI)(e=>getVisibleChannelDraftIds(e,!1)),A=(0,m.eI)(e=>getVisibleChannelDraftIds(e,!0)),getVisibleUnifiedDraftsInner=(e,t,a,n)=>Object.values(e).filter(e=>(0,c.sC)(e)?!((0,c.ue)(e)===t||!a&&(0,c.V)(e)):!!n[(0,c.EF)(e)]),b=(0,n.Mz)([(e,t={})=>(0,_.Hw)(e),(e,t={})=>(0,h.A)(e),(e,t={})=>!!t.includeScheduledDrafts,(e,t={})=>A(e)],getVisibleUnifiedDraftsInner),y=(0,n.Mz)([(e,t={})=>(0,_.Hw)(e),(e,t={})=>(0,h.A)(e),(e,t={})=>!!t.includeScheduledDrafts,(e,t={})=>g(e)],getVisibleUnifiedDraftsInner)},0x20f6d0fd1:(e,t,a)=>{"use strict";a.d(t,{A:()=>hasDraftDestination});var n=a(0x21f3c49e8),r=a(0xa794f9e1),i=a(0x168f7af82);function hasDraftDestination(e,{draft:t,includePendingEmailDestinations:a=!0}){let o=(0,r.l7)(t);if(!a)return!(0,n.A)(o);let s=(0,r.ue)(t),l=(0,i.Kh)(e,{draftId:s});return!(0,n.A)(o)||!(0,n.A)(l)}},0x23e653cee:(e,t,a)=>{"use strict";a.d(t,{A:()=>hasDraftFiles});var n=a(0x6556c7bb);function hasDraftFiles(e,t){return(0,n.A)(e,t)>0}},0x1393fbd8c:(e,t,a)=>{"use strict";a.d(t,{A:()=>isDraftEmpty});var n=a(0xa794f9e1),r=a(0x20f6d0fd1),i=a(0x23e653cee);function isDraftEmpty(e,t){return!((0,n.v7)(t,{trimWhitespace:!0})||(0,r.A)(e,{draft:t})||(0,i.A)(e,t))}},0x1f38409f2:(e,t,a)=>{"use strict";function getEmojiCollectionDateCreate(e){return e&&e.date_create}a.d(t,{P:()=>getEmojiCollectionDateCreate})},0xf2ef6247:(e,t,a)=>{"use strict";function getEmojiCollectionEmoji(e){return e&&e.emoji}a.d(t,{H:()=>getEmojiCollectionEmoji})},0x14f968184:(e,t,a)=>{"use strict";function getEmojiCollectionName(e){return e&&e.name}a.d(t,{M:()=>getEmojiCollectionName})},0x36209c43:(e,t,a)=>{"use strict";function isEmojiCollectionInstalled(e){return e&&e.installed}a.d(t,{j:()=>isEmojiCollectionInstalled})},0xdafb3627:(e,t,a)=>{"use strict";a.d(t,{$v:()=>i,V3:()=>o,Xz:()=>c,Zo:()=>s,cc:()=>l,dX:()=>r,uz:()=>d});var n=a(0x8c8bafa3);let r=6,i=9,o=5,s=`https://a.${(0,n.Jv)()}/production-standard-emoji-assets`,l="14.0",c="15.0",d=3},0x16dc93e4b:(e,t,a)=>{"use strict";a.d(t,{w:()=>getEmojiMode});var n=a(0x62a17882),r=a(0x7bc42e7e);function getEmojiMode(e,{forceDisplay:t}={}){return(0,r.P)(e)&&!t?"as_text":(0,n.cX)()?"apple":"google"}},0x19690f7a4:(e,t,a)=>{"use strict";a.d(t,{w:()=>getEmojiUrlPrefix});var n=a(0xdafb3627);function getEmojiUrlPrefix({emoji15Enabled:e}){let t=e?n.Xz:n.cc;return`${n.Zo}/${t}`}},0x15c1838d:(e,t,a)=>{"use strict";a.d(t,{x:()=>hasEmojiSkinTones});var n=a(0x21f3c49e8);let hasEmojiSkinTones=e=>!!(e&&!(0,n.A)(e.skinVariations))},0x178bb5f4a:(e,t,a)=>{"use strict";a.d(t,{J:()=>isValidSkinToneId});let isValidSkinToneId=e=>!!(e&&/^[2-6]$/.test(e))},0xf8862d23:(e,t,a)=>{"use strict";a.d(t,{d:()=>looksLikeValidUnicode});let n=/^(?:[a-f0-9]{4,5}-)*[a-f0-9]{4,5}$/;function looksLikeValidUnicode(e){return n.test(e)}},0x7bc42e7e:(e,t,a)=>{"use strict";a.d(t,{P:()=>shouldRenderEmojiAsText});var n=a(0x1ccef1c6f);function shouldRenderEmojiAsText(e){return"as_text"===(0,n.ty)(e,"emoji_mode")}},0xae0b47e2:(e,t,a)=>{"use strict";a.d(t,{MZ:()=>getEnterpriseDomain,VZ:()=>getEnterpriseIDPLabel,X2:()=>getEnterprisePrimaryOwnerEmail,fJ:()=>getEnterpriseIcon,kt:()=>isLimitedSandbox,v4:()=>getEnterpriseName});var n=a(0x77727995);function getEnterpriseDomain(e){return e?.domain||""}function getEnterpriseIcon(e,t){return t&&e?.icon?.[`image_${t}`]?e.icon[`image_${t}`]:e?.icon}function getEnterpriseName(e){return e?.name||""}function getEnterprisePrimaryOwnerEmail(e){return e?.primary_owner?.email}function getEnterpriseIDPLabel(e,t){let a=t||"IDP";if(!e)return a;let r=(0,n.A)(e,"saml_provider")||a;return"saml"===r.toLowerCase()&&(r=a),getEnterpriseSSOProviderLabel(e)||r}function getEnterpriseSSOProviderLabel(e){if(!e||!e.sso_provider)return null;let t=(0,n.A)(e,"sso_provider.type",""),a=(0,n.A)(e,"sso_provider.name",null);return""===t||"saml"===t?null:a}let isLimitedSandbox=e=>e?.pay_prod_cur==="enterprise_sandbox_ltd"},0xbd3de346:(e,t,a)=>{"use strict";a.d(t,{nO:()=>canDownloadFile,AX:()=>canDraftFileBeDeleted,Dn:()=>extendFileWithPinnedInfo,b5:()=>fileHasAiSummary,YB:()=>fileHasMoreShares,a9:()=>fileIsAiEnabled,bB:()=>fileIsCSV,DQ:()=>fileIsCanvas,FJ:()=>fileIsCanvasType,Ts:()=>fileIsConvertedPDF,ZH:()=>fileIsDoc,nJ:()=>fileIsEmail,Lc:()=>fileIsGoogleSheet,Oj:()=>fileIsGoogleSlides,CL:()=>fileIsHostedSupportedMedia,d3:()=>fileIsHuddleCanvas,Hn:()=>fileIsHuddleTranscript,sJ:()=>fileIsImage,l7:()=>fileIsList,EJ:()=>fileIsMeeting,c0:()=>fileIsMiro,fD:()=>fileIsNamePronunciation,F1:()=>fileIsPDF,pI:()=>fileIsPlayableAudio,_y:()=>fileIsPlayableVideo,Y8:()=>fileIsPoll,Z0:()=>fileIsPost,wL:()=>fileIsQuip,eP:()=>fileIsRefreshable,Zv:()=>fileIsRestrictedSharingEnabled,g9:()=>fileIsSkill,U9:()=>fileIsStandaloneCanvas,ez:()=>fileIsSupportedVideo,y:()=>fileIsTSV,SJ:()=>fileIsTaskList,PX:()=>fileIsViewableInMediaViewer,vH:()=>fileOwnedByCurrentUser,kL:()=>getAutomationShares,MK:()=>getChannelShares,tJ:()=>getDLPTombstoneMessage,S:()=>getDimensionsWithOrientation,Df:()=>getDmAndMpdmFileShares,$y:()=>getExternalFileIcon,Mh:()=>getFileAutompleteUrl,xR:()=>getFileEntityId,G$:()=>getFileImageDataUrl,Mx:()=>getFileImageOrientation,pc:()=>getFileImageWidthHeight,eB:()=>getFileOpenMode,IE:()=>getFilePermalink,o3:()=>getFileShareLocations,VP:()=>getFileTimestamp,J4:()=>getFileTypeFromMimeType,Hx:()=>getFileTypeLabel,Rv:()=>getFileTypeSvgIconName,C0:()=>getFiletypeIcon,xS:()=>getGdriveID,yz:()=>getMostRecentShareDate,tB:()=>getOrientationTransformStyles,fX:()=>getPDFUrlForFile,iA:()=>getPeopleShares,X7:()=>getPrivateFileShareLocations,Jq:()=>getPublicFileShareLocations,b4:()=>getPublicUrl,Vl:()=>getSourceCanvasId,N7:()=>getSrcForFullSizeImage,iv:()=>getTeamsSharedWith,WA:()=>getThumbForFileInContainer,mN:()=>getThumbSrcForFile,PY:()=>getTinyThumb,lW:()=>getUnknownPrivateChannelsWithFileAccessCount,mb:()=>hasCompletedAISummary,CF:()=>hasFileBeenShared,nY:()=>hasTinyThumb,Ki:()=>isBlockedExternalCanvas,AL:()=>isBlockedExternalList,LI:()=>isCanvasSectionSaved,Sp:()=>isDLPTombstoned,AY:()=>isDSARestricted,GL:()=>isExpandableSnippet,ge:()=>isExternal,Bp:()=>isExternalAccessDenied,J1:()=>isExternalPendingFile,Eo:()=>isExternallySharedFile,fo:()=>isFile,L$:()=>isFileAiSuggestion,CA:()=>isFileCanvasCannedTemplate,l4:()=>isFileCanvasPublishedOrgTemplate,Bf:()=>isFileCanvasPublishedSalesTemplate,dE:()=>isFileCanvasTemplate,uO:()=>isFileDeleted,ny:()=>isFileGlobalCanvasCannedTemplate,AZ:()=>isFileListCannedTemplate,Vc:()=>isFileListTemplate,Nz:()=>isFileListTemplateFeatured,qk:()=>isFileListTemplateLocalizationRequested,p5:()=>isFileListTemplateReadyForReview,Me:()=>isFileListTemplateReadyToBeFeatured,$J:()=>isFileMaybeTruncated,E$:()=>isFileObject,SH:()=>isFilePrintable,qx:()=>isFilePublic,Si:()=>isFileSharedWithOrg,NF:()=>isFileWorkObjectCompatible,kn:()=>isHiddenByStorageLimit,ln:()=>isLocked,c4:()=>isNotFound,sR:()=>isNotVisible,yr:()=>isOrgAccessEditor,x0:()=>isOrgAccessViewer,Cd:()=>isPendingFile,eX:()=>isPendingImageFile,xg:()=>isPendingVideoFile,Vx:()=>isRemote,Gs:()=>isSaved,Qr:()=>isShareFromBlockKitImage,mt:()=>isShareFromBlockKitViewSubmission,We:()=>isShareFromBookmark,VE:()=>isStarred,aK:()=>isTombstone,sp:()=>isValidBoxPayload,aq:()=>isValidDropboxPayload,mu:()=>isValidGoogleDrivePayload,dA:()=>isValidSizePendingFile,mW:()=>isWriteable,hF:()=>nonImageCanUseFSFV,ZG:()=>shouldShowFile,kc:()=>validateFiles});var n=a(0x21f3c49e8),r=a(0xb77a689a),i=a(0x225645a46),o=a(0x77727995),s=a(0x1f4e32220),l=a(0x1aba66b56),c=a(0x2f3077a8),d=a(0x18f2150ea),u=a(0x6258badf),m=a(0xcf4efe9),f=a(0x20b4dda68),_=a(0x1df96de4c),p=a(0x18dac2b8e),h=a(0x62a17882),g=a(0x20482ad21),A=a(0x12c020c3),b=a(0x1e3c7661),y=a(0x24e98a449);function doesAppProvideEntityType(e,t){let a=e&&"work_objects"in e&&e?.work_objects;return!!a&&!!a.is_active&&(a?.entity_types||[]).includes(t)}var S=a(0x1b26458f7),E=a(0x1bc652f98),k=a(0x15f4f83cf),T=a(0x227b05149),I=a(0x108b445e9),w=a(0x108d3428e),C=a(0x184bdf20),v=a(0xdb0ffe37),x=a(0x1cf0d97e1),R=a(0xe684f705);let O=(0,x.Ay)((e,t)=>{let a=(0,R.nv)(e,t.user);return!!a&&(0,v.g)(a)});O.meta={name:"isCanvasExternal",key:"createSelectorIsCanvasExternal",description:(e,t)=>{let a=(0,R.nv)(e,t.user);return!!a&&(0,v.g)(a)}};var N=a(0x5c236c7d),D=a(0x2275c26b8),L=a(0xa985ed31),M=a(0x1529370e7);function fromUint8Array(e){return btoa(String.fromCharCode(...e))}function toUint8Array(e){let t=atob(e),a=new Uint8Array(t.length);for(let e=0;e<a.length;e++)a[e]=t.charCodeAt(e);return a}let F=(0,a(0xca924ee1).A)(e=>{switch(e){case 1:return{header:toUint8Array("/9j/2wCEAHJPVmRWR3JkXWSBeXKIq/+6q52dq//6/8////////////////////////////////////////////////////8BeYGBq5ar/7q6///////////////////////////////////////////////////////////////////////////AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};case 2:return{header:toUint8Array("/9j/2wCEAFA3PEY8MlBGQUZaVVBfeMiCeG5uePWvuZHI//////////////////////////////////////////////////8BVVpaeGl464KC6//////////////////////////////////////////////////////////////////////////AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};case 3:return{header:toUint8Array("/9j/2wCEADUlKC8oITUvKy88OTU/UIVXUElJUKN1e2GFwarLyL6qurfV8P//1eL/5re6////////////zv////////////8BOTw8UEZQnVdXnf/cutz////////////////////////////////////////////////////////////////////AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};case 4:return{header:toUint8Array("/9j/2wCEACgcHiMeGSgjISMtKygwPGRBPDc3PHtYXUlkkYCZlo+AjIqgtObDoKrarYqMyP/L2u71////m8H////6/+b9//gBKy0tPDU8dkFBdviljKX4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+P/AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};case 5:return{header:toUint8Array("/9j/2wCEACAWGBwYFCAcGhwkIiAmMFA0MCwsMGJGSjpQdGZ6eHJmcG6AkLicgIiuim5woNqirr7EztDOfJri8uDI8LjKzsYBIiQkMCowXjQ0XsaEcITGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxv/AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};case 6:return{header:toUint8Array("/9j/2wCEABsSFBcUERsXFhceHBsgKEIrKCUlKFE6PTBCYFVlZF9VXVtqeJmBanGQc1tdhbWGkJ6jq62rZ4C8ybqmx5moq6QBHB4eKCMoTisrTqRuXW6kpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpP/AABEIAAAAAAMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA=="),offset:141};default:return null}});function getTypeParameters(e=0){let t=F(e);return{header:t?.header?.slice()??new Uint8Array,offset:t?.offset}}function getDecodedParameters(e=""){let t=toUint8Array(e),a=t.slice(0,1)[0];return{type:a,dimensions:t.slice(1,5),tail:t.slice(5)}}function isLikelyValidTinyThumb(e=""){let{type:t,dimensions:a,tail:n}=getDecodedParameters(e);return!!(t>0&&t<=6&&4===a.length&&n.length)}function makeTinyThumb(e=""){if(!e)return null;let{type:t,dimensions:a,tail:n}=getDecodedParameters(e);if(!(t>0&&t<=6)||!a.length||!n.length)return null;let{offset:r,header:i}=getTypeParameters(t);if(!r||!i.length)return null;let o=i.length,s=o+n.length,l=new Uint8Array(s);for(let e=r;e<r+4;e++)i[e]=a[e-r];for(let e=0;e<s;e++)e<o?l[e]=i[e]:l[e]=n[e-o];return`data:image/jpeg;base64,${fromUint8Array(l)}`}var P=a(0x19c76d181),U=a(0x14149c126),B=a(0xaa51370c),G=a(0x12c0240a);let H=new g.Ay("files"),isFileMaybeTruncated=e=>void 0!==e.content?!!e.is_truncated:!!e.size&&e.size>f.HN,isTombstone=e=>!!e&&((0,k.lv)(e)||"tombstone"===e.mode),isLocked=e=>!!e&&e.is_locked,isNotFound=e=>!!e&&("not_found"===e.mode||"file_not_found"===e.file_access),isExternalAccessDenied=e=>!!e&&("access_denied"===e.mode||"access_denied"===e.file_access),isBlockedExternalCanvas=e=>!!e&&("canvas_slack_connect_blocked"===e.mode||G.r.includes(e.file_access)),isBlockedExternalList=e=>!!e&&("lists_slack_connect_blocked"===e.mode||G.V.includes(e.file_access)),isNotVisible=e=>!!e&&("not_visible"===e.mode||"not_visible"===e.file_access||(0,N.K)(e)),isHiddenByStorageLimit=e=>!!e&&("hidden_by_limit"===e.mode||!!e.is_hidden_by_limit),isStarred=e=>!!e&&e.is_starred,isSaved=e=>!!e&&!!e.saved,isCanvasSectionSaved=(e,t)=>!!e&&!!e.savedSections&&!!e.savedSections[t],isFilePublic=e=>!!e?.is_public,isFileDeleted=e=>!!e?.is_deleted,isDLPTombstoned=e=>!!e?.is_tombstoned,isDSARestricted=e=>e?.restriction_type===f.Wk.DSA_RESTRICTED,shouldShowFile=(e,t={includeTempQuipDocs:!1})=>{let{includeTempQuipDocs:a}=t;return!!e&&!((0,k.lv)(e)&&!(a&&(0,M.oH)(e.id))||!(0,k.lv)(e)&&isTombstone(e)||isNotFound(e)||isHiddenByStorageLimit(e)||isExternalAccessDenied(e)||isBlockedExternalCanvas(e)||isBlockedExternalList(e)||isNotVisible(e)||(0,N.K)(e)||isFileDeleted(e)||isDLPTombstoned(e)||isDSARestricted(e))},getPublicFileShareLocations=e=>e&&e.shares&&e.shares.public&&Object.keys(e.shares.public)||[],getPrivateFileShareLocations=e=>e&&e.shares&&e.shares.private&&Object.keys(e.shares.private)||[],getFileShareLocations=e=>e&&e.shares?getPublicFileShareLocations(e).concat(getPrivateFileShareLocations(e)):[],getUnknownPrivateChannelsWithFileAccessCount=e=>e&&e.private_channels_with_file_access_count?e.private_channels_with_file_access_count:0,getDmAndMpdmFileShares=e=>e&&e.dm_mpdm_users_with_file_access?e.dm_mpdm_users_with_file_access:[],getPeopleShares=e=>e?.share_metadata?.users||{count:0,shares:_.Ml,featured:_.Ml,maxCounted:!1},getChannelShares=e=>e?.share_metadata?.channels||{count:0,shares:_.Ml,featured:_.Ml,maxCounted:!1},getAutomationShares=e=>e?.share_metadata?.automations||{count:0,shares:_.Ml},fileHasMoreShares=e=>!!e?.has_more_shares,getTeamsSharedWith=e=>e&&e.teams_shared_with?e.teams_shared_with:[],isExternallySharedFile=e=>getTeamsSharedWith(e).length>1,getSourceCanvasId=e=>e&&e.source_canvas_id?e.source_canvas_id:null,getFileTimestamp=e=>e?e.updated||e.created||e.timestamp:null,getMostRecentShareDate=e=>{if(!e)return null;let t=getPublicFileShareLocations(e),a=getPrivateFileShareLocations(e),r=0;if(!(0,n.A)(a))for(let t=0;t<a.length;t++){let n=e.shares?.private[a[t]][0].ts;if(n){let e=parseFloat(n);e>r&&(r=e)}}let i=0;if(!(0,n.A)(t))for(let a=0;a<t.length;a++){let n=e.shares?.public[t[a]][0].ts;if(n){let e=parseFloat(n);e>i&&(i=e)}}return 0===i&&0===r?getFileTimestamp(e):i>r?i:r},hasFileBeenShared=e=>!!e&&!!e.shares&&!!getFileShareLocations(e).length,isFileSharedWithOrg=e=>!!e&&!!e.org_or_workspace_access&&"none"!==e.org_or_workspace_access,fileIsRestrictedSharingEnabled=e=>!!e&&!!e.is_restricted_sharing_enabled,fileIsAiEnabled=e=>!!e&&!e.excluded_from_slack_ai,fileIsImage=e=>{if(!shouldShowFile(e))return!1;let t=e.thumb_360||e.thumb_360_gif,a=e.mimetype&&-1!==e.mimetype.indexOf("image/");return t&&a||e.thumb},getFileOpenMode=e=>"hosted"!==e.mode?"external":!fileIsImage(e)&&e.mimetype?.indexOf("image/")?"download":"pdf"===e.filetype?"window":"download",fileIsPDF=e=>!!shouldShowFile(e)&&("pdf"===e.filetype||!!e.converted_pdf),fileIsCSV=e=>!!shouldShowFile(e)&&"csv"===e.filetype,fileIsTSV=e=>!!shouldShowFile(e)&&"tsv"===e.filetype,fileIsConvertedPDF=e=>!!e&&!!e.converted_pdf,getPDFUrlForFile=e=>fileIsPDF(e)?e.converted_pdf||e.url_private_download:null,isExternalPendingFile=e=>!!e&&!!(e.is_box||e.is_dropbox),isBlob=e=>e instanceof Blob||"object"==typeof e&&"size"in e&&"type"in e&&"function"==typeof e.slice,isFile=e=>e instanceof File||"object"==typeof e&&"name"in e&&isBlob(e),isPendingFile=e=>!!e&&!!isBlob(e),isPendingImageFile=e=>!!e&&!!isPendingFile(e)&&!!(0,r.A)(e.type)&&-1!==e.type.indexOf("image/"),isPendingVideoFile=e=>!!e&&!!isPendingFile(e)&&!!(0,r.A)(e.type)&&e.type.startsWith("video/"),isValidSizePendingFile=(e,t)=>!!isPendingFile(e)&&!!e.size&&t>e.size,isFileObject=e=>!!e&&(0,L.A)(e.id)&&!(0,k.GU)(e),fileIsPost=e=>e?.mode==="post"||e?.mode==="space"||e?.mode==="docs",fileIsCanvas=e=>!!e&&(e?.mode==="quip"||e?.filetype==="quip"),fileIsEmail=e=>!!e&&e?.filetype==="email",fileIsSkill=e=>!!e&&e?.is_skill===!0&&fileIsCanvas(e),fileIsHuddleTranscript=e=>!!e&&(e?.mode==="huddle_transcript"||e?.filetype==="huddle_transcript"),fileIsHuddleCanvas=e=>!!e&&fileIsCanvas(e)&&e.is_huddle_canvas,fileIsQuip=e=>!!e&&fileIsCanvas(e),fileIsStandaloneCanvas=e=>!!e&&fileIsCanvas(e),fileIsDoc=e=>e?.mode==="docs",fileIsList=e=>(e?.mode==="list"||e?.filetype==="list")&&e?.subtype!=="poll",fileIsPoll=e=>(e?.mode==="list"||e?.filetype==="list")&&e?.subtype==="poll",fileIsTaskList=e=>(e?.mode==="list"||e?.filetype==="list")&&e?.subtype==="tasks",fileIsMiro=e=>e?.filetype==="miro",fileIsNamePronunciation=e=>e?.subtype==="slack_name_pronunciation",isFileAiSuggestion=e=>e?.is_ai_suggested||!1,nonImageCanUseFSFV=e=>!!e&&("pdf"===e.filetype||e.converted_pdf)&&"hosted"===e.mode&&e.size&&e.size<=5e7,isExternal=e=>!!e.is_external&&"app"!==e.external_type,fileIsCanvasType=e=>!!e&&(fileIsCanvas(e)||fileIsHuddleTranscript(e)||fileIsHuddleCanvas(e)),canDownloadFile=e=>!!e&&shouldShowFile(e)&&!fileIsCanvasType(e),isValidGoogleDrivePayload=e=>!!e.id&&!!e.name&&!!e.mimeType,getGdriveID=e=>e&&isValidGoogleDrivePayload(e)?e.id:null,isValidDropboxPayload=e=>!!e.id&&!!e.name&&!!e.link&&e.link.indexOf("dropbox.com")>-1,isValidBoxPayload=e=>!!(0,i.A)(e)&&!!e.id&&"file"===e.type&&!!(0,r.A)(e.name)&&!!(0,i.A)(e.shared_link)&&!!(0,r.A)(e.shared_link.url),isRemote=e=>!!e.is_external&&"app"===e.external_type,fileIsRefreshable=e=>isExternal(e),W=/^(m4a|mp3|wav)$/,V=/^(mp4|mov|webm)$/,fileIsSupportedAudio=e=>{let t=e?.filetype;return!!t&&(W.test(t)||e?.subtype==="audio_story")},fileIsSupportedVideo=e=>{let t=e?.filetype;return!!t&&V.test(t)},fileIsCodeFile=e=>!!(e?.filetype&&f.nT.includes(e.filetype)),fileIsHosted=e=>!!e&&(!e.is_external||!(0,n.A)((0,o.A)(e,"video.outputs"))||"salesforce"===e.external_type),fileIsHostedSupportedMedia=e=>{if(!e)return!1;let t=fileIsSupportedAudio(e)||fileIsSupportedVideo(e),a=fileIsHosted(e);return t&&a},fileIsPlayableAudio=e=>!!e&&!isTombstone(e)&&fileIsHostedSupportedMedia(e)&&((0,I.A)(e)||fileIsSupportedAudio(e)),fileIsPlayableVideo=e=>!!e&&!isTombstone(e)&&!(0,I.A)(e)&&((0,C.A)(e)||fileIsHosted(e)&&(fileIsSupportedVideo(e)||e.mimetype?.startsWith("video")&&!!e.mp4)),fileIsViewableInMediaViewer=e=>!!(fileIsImage(e)||fileIsPDF(e)&&getPDFUrlForFile(e)||fileIsHostedSupportedMedia(e)||(0,w.A)(e)||fileIsPlayableVideo(e)),getFileTypeLabel=e=>{if(!e)return null;switch(e?.filetype){case"quip":return H.t("Canvas");case"gdoc":return H.t("Document");case"png":return H.t("Image");case"list":return H.t("List");case"email":return H.t("Email");case"pdf":return H.t("PDF");case"gpres":return H.t("Presentation");case"text":return H.t("Snippets");case"gsheet":return H.t("Spreadsheet");case"webm":case"mov":case"mp4":return H.t("Video");default:return H.t("File")}},getFileTypeSvgIconName=e=>{let t=e?.filetype;if(!e||!t)return"file";if(fileIsSupportedAudio(e))return"music";if(fileIsSupportedVideo(e))return"video";if(fileIsCodeFile(e))return"code";switch(e?.filetype){case"quip":return"canvas";case"gdoc":return"document";case"list":return"lists";case"email":return"email";case"pdf":return"pdf-file";case"text":return"text-snippet";case"binary":return"binary";case"disk":return"disc-image";case"font":return"text";case"jpg":case"png":case"gif":case"webp":case"tiff":case"bmp":case"svg":case"heic":case"psd":case"gdraw":return"image";case"gpres":case"ppt":case"pptx":case"potx":case"key":case"slides":return"presentation";case"gsheet":case"xls":case"xlsx":case"xltx":case"xlsm":case"xlsb":case"numbers":case"csv":return"spreadsheet";case"zip":case"gzip":case"7z":case"rar":case"tar":case"gz":case"bz2":case"xz":return"zip";default:return"file"}},getFilePermalink=(e,t,a,n,r)=>{if(!e)return"";let i=e.permalink??"";if(fileIsPost(e)){let e=(0,A.qN)(i);if(!e||!e.origin_team)return(0,A.M6)(i,"origin_team",t)}if(fileIsQuip(e)){let e=i;return a&&(e=(0,A.M6)(i,"focus_thread_ts",a)),n&&(e=(0,A.M6)(i,"focus_section_id",n)),e}if(fileIsList(e)){let e=i;return a?e=(0,A.M6)(i,"focus_thread_ts",a):r&&(e=(0,A.M6)(i,"view_id",r)),e}return i},isExpandableSnippet=e=>!!e&&(e.lines_more&&e.lines_more>0||e.preview_is_truncated),isWriteable=e=>!(!e||fileIsCanvas(e)||fileIsList(e))||(e?.access===B.z.Write||e?.access===B.z.Owner)&&!isLocked(e),isOrgAccessEditor=e=>!!e&&!!e.org_or_workspace_access&&e.org_or_workspace_access===B.z.Write,isOrgAccessViewer=e=>!!e&&!!e.org_or_workspace_access&&e.org_or_workspace_access===B.z.Read,isFileCanvasTemplate=e=>!!e&&fileIsCanvas(e)&&!!e.canvas_template_mode,isFileCanvasCannedTemplate=e=>!!e&&isFileCanvasTemplate(e)&&"USLACKBOT"===e.user,isFileGlobalCanvasCannedTemplate=e=>!!e&&isFileCanvasCannedTemplate(e)&&!!e.is_global_template,isFileCanvasPublishedSalesTemplate=e=>!!e&&isFileCanvasTemplate(e)&&!!e.is_org_visible&&"sales_published"===e.canvas_template_mode,isFileCanvasPublishedOrgTemplate=e=>!!e&&isFileCanvasTemplate(e)&&!isFileCanvasCannedTemplate(e)&&!!e.is_org_visible&&"published"===e.canvas_template_mode,isFileListTemplate=e=>!!e&&fileIsList(e)&&!!e.list_template_mode,isFileListCannedTemplate=e=>!!e&&fileIsList(e)&&((0,p.Cu)()?Object.values(b.YD).includes(e.id):Object.values(b.op).includes(e.id)),isFileListTemplateReadyForReview=e=>!!e&&fileIsList(e)&&e?.list_template_mode!==D.x6.DRAFT&&(e?.list_template_type===D.l7.GALLERY||e?.list_template_type===D.l7.STARTER),isFileListTemplateLocalizationRequested=e=>isFileListTemplate(e)&&e?.list_template_localization_status===D.oB.REQUESTED,isFileListTemplateFeatured=e=>isFileListTemplate(e)&&e?.list_template_mode===D.x6.FEATURED,isFileListTemplateReadyToBeFeatured=e=>isFileListTemplate(e)&&e?.list_template_mode===D.x6.STAGING&&e?.list_template_localization_status===D.oB.COMPLETED,isFilePrintable=(e,t)=>{let a="on"===(0,U._Z)(t,"canvas_printing",!1),n=!!(0,T.j)(t);return!!e&&!!fileIsCanvas(e)&&!!a&&!!n&&(O(t,e)?n&&(e.canvas_printing_enabled??!1):n)},getTinyThumb=e=>makeTinyThumb(e.thumb_tiny),hasTinyThumb=e=>!!(e.thumb_tiny&&isLikelyValidTinyThumb(e.thumb_tiny)),getThumbSrcForFile=(e,t={})=>{if(!e||!e.thumb_360&&!e.thumb_360_gif&&!e.thumb_pdf)return"";let{suppressAnimations:a}=t,n=t.maxSize||480;if(a&&("gif"===e.filetype||"png"===e.filetype||"webp"===e.filetype)){if(e.deanimate)return e.deanimate;if(e.deanimate_gif)return e.deanimate_gif;if(n>480&&e.thumb_1024)return e.thumb_1024;if(n>360&&e.thumb_960)return e.thumb_960;if(e.thumb_720)return e.thumb_720;if(e.thumb_480)return e.thumb_480;if(e.thumb_160)return e.thumb_160}if(e.thumb_480_gif||e.thumb_360_gif){if(n>360&&e.thumb_480_gif)return e.thumb_480_gif;if(t.isCfsImage&&e.thumb_360)return e.thumb_360;if(e.thumb_360_gif)return e.thumb_360_gif}return e.thumb_pdf?e.thumb_pdf:n>480&&e.thumb_1024?e.thumb_1024:n>360&&e.thumb_960?e.thumb_960:e.thumb_720?e.thumb_720:e.thumb_480?e.thumb_480:e.thumb_360},getThumbForFileInContainer=(e,t)=>{let a;if(!e)return null;let{cover:n,suppressAnimations:r}=t,{containerHeight:i,containerWidth:o}=t;(0,h.X4)()&&(i*=2,o*=2);let l=r?[64,80,160,360,480,720,800,960,1024]:[360,480];return(r&&e.original_h&&e.original_h<=360&&e.original_w&&e.original_w<=360&&(0,s.A)(l,360),l.find(t=>{let r=`thumb_${t}`;if(!e[r])return!1;let s=e[r],l=e[`thumb_${t}_h`]||t,c=e[`thumb_${t}_w`]||t;return(a={src:s,height:l,width:c},n)?l>=i&&c>=o:l>=i||c>=o}),a)?((0,h.X4)()&&(a.height/=2,a.width/=2),a):e.thumb_pdf?{src:e.thumb_pdf}:e.deanimate?{src:e.deanimate}:e.deanimate_gif?{src:e.deanimate_gif}:null},getSrcForFullSizeImage=(e,t)=>{if(t?.suppressAnimations){if(e.deanimate)return e.deanimate;if(e.deanimate_gif)return e.deanimate_gif;if("png"===e.filetype&&e.created&&e.created<0x5fe28f8d||"webp"===e.filetype)return getThumbForFileInContainer(e,{...t,containerHeight:2048,containerWidth:2048})?.src}return e.url_private},getFiletypeIcon=e=>{if(e)return(0,o.A)(m.Q,e)},getFileTypeFromMimeType=e=>{if(!e||!(0,r.A)(e))return null;if("application/vnd.ms-excel"===e)return"csv";let[t,a]=e.split("/");return(0,l.A)(f.$D,a)?a:t},getFileEntityId=e=>"USLACKBOT"===e.user&&e.bot_id?{botId:e.bot_id}:{userId:e.user,botId:e.bot_id},getFileImageDataUrl=e=>e&&e&&e.dataUrl?e.dataUrl:null,getFileImageOrientation=e=>e&&e&&e.orientation?e.orientation:null,getFileImageWidthHeight=e=>e?{width:e.width,height:e.height}:{},getOrientationTransformStyles=({orientation:e,imageDimensionRatio:t}={})=>e&&(0,c.A)(e,2,9)&&t?{transform:({2:"scaleX(-1)",3:"rotate(180deg)",4:"rotate(180deg) scaleX(-1)",5:`rotate(90deg) scale(${t}, -${t})`,6:`rotate(90deg) scale(${t})`,7:`rotate(90deg) scale(-${t}, ${t})`,8:`rotate(-90deg) scale(${t}, ${t})`})[e],imageOrientation:"none"}:{},getDimensionsWithOrientation=({fileWidth:e,fileHeight:t,orientation:a})=>a>=5?{width:t,height:e}:{width:e,height:t},validateFiles=(e,t)=>{if(!e)return;let a={goodFiles:[],excludedFiles:[]},n=0;function directoryFallbackTest(e,t){let a;if(e.size<16384&&window.FileReader){(a=new FileReader).onload=()=>{a.onerror=null,a.onload=null,a=null,t(!1)},a.onerror=()=>{a.onerror=null,a.onload=null,a=null,t(!0)};try{a.readAsDataURL(e)}catch{a.onerror=null,a.onload=null,a=null,t(!0)}}else t(!1)}function isDirectory(e,t,a){t&&t.isDirectory?a(!0,e,t):isExternalPendingFile(e)?a(!1,e,t):directoryFallbackTest(e,n=>{a(n,e,t)})}!function(e){let r,i;e.forEach(o=>{r=o,i=o,(o.isFile||o.isDirectory)&&(i=o),o.getAsEntry?i=o.getAsEntry():o.webkitGetAsEntry&&(i=o.webkitGetAsEntry()),"function"==typeof o.getAsFile?r=o.getAsFile():File&&o instanceof File&&(r=o),isDirectory(r,i,(r,o,s)=>{r?i.name?a.excludedFiles.push(s):a.excludedFiles.push(o):isExternalPendingFile(o)?o.link?a.goodFiles.push(o):a.excludedFiles.push(o):!(0,d.A)(o.size)||o.size<=0?a.excludedFiles.push(o):a.goodFiles.push(o),(n+=1)===e.length&&t(a)})},this)}(e)},extendFileWithPinnedInfo=(e,t,a)=>{if(!e||!t)return null;if(!a){if(!e.pinned_info||!e.pinned_info[t])return e;let a=(0,u.A)(e.pinned_info,t);return(0,n.A)(a)?(0,u.A)(e,"pinned_info"):{...e,pinned_info:a}}let r="pinnedBy"in a?a.pinnedBy:void 0,i="pinnedTs"in a?a.pinnedTs:void 0;return e.pinned_info&&e.pinned_info[t]&&e.pinned_info[t].pinned_by===r&&e.pinned_info[t].pinned_ts===i?e:{...e,pinned_info:{...e.pinned_info,[t]:{pinned_by:r||"",pinned_ts:i||0}}}},getPublicUrl=e=>e?e.permalink_public:null,getFileAutompleteUrl=(e,t)=>e?e.external_url||getFilePermalink(e,t):null,isShareFromBookmark=e=>"0000000000.000000"===e.ts&&e.dateLastShared&&void 0===e.source,isShareFromBlockKitViewSubmission=e=>"0000000000.000000"===e.ts&&e.dateLastShared&&"BK_VIEW_SUBMISSION"===e.source,isShareFromBlockKitImage=e=>"BK_IMAGE"===e.source,canDraftFileBeDeleted=e=>!(hasFileBeenShared(e)||fileIsQuip(e)||fileIsPost(e)),fileIsGoogleSheet=e=>e?.filetype==="gsheet",fileIsGoogleSlides=e=>e?.filetype==="gpres",getDLPTombstoneMessage=e=>e?e.content?e.content:e.preview?e.preview:H.t("Tombstoned"):null,fileOwnedByCurrentUser=(e,t)=>{let a=(0,P.WR)(e);return(fileIsStandaloneCanvas(t)||fileIsList(t))&&t?.access===B.z.Owner||t?.user===a},fileHasAiSummary=e=>{let t=(e.created||0)>=0x6699ad38;return shouldShowFile(e)&&["doc","docx","email","pdf","ppt","pptx","xls","xlsx"].includes(e?.filetype??"")&&t},hasCompletedAISummary=e=>!!e&&!!e.ai_summary&&"COMPLETED"===e.ai_summary.status,getExternalFileIcon=e=>{if(fileIsSupportedAudio(e))return"audio";if(fileIsSupportedVideo(e))return"video";if(fileIsCodeFile(e))return"code";switch(e?.filetype){case"binary":return"binary";case"disk":return"disk";case"font":return"font";case"jpg":case"png":case"gif":case"webp":case"tiff":case"bmp":case"svg":case"heic":case"psd":case"gdraw":return"image";case"pdf":return"pdf";case"gpres":case"ppt":case"pptx":case"potx":case"key":case"slides":return"presentation";case"gsheet":case"xls":case"xlsx":case"xltx":case"xlsm":case"xlsb":case"numbers":case"csv":return"spreadsheet";case"zip":case"gzip":case"7z":case"rar":case"tar":case"gz":case"bz2":case"xz":return"zip";default:return"file"}},isFileWorkObjectCompatible=(e,t)=>(e.app_id!==y.iw||e.external_id?.split("::").length!==2)&&!!(doesAppProvideEntityType(t,E.C.SlackEntitiesFile)||(0,S.k)(e?.app_id,e)),fileIsMeeting=(e,t)=>!!e&&!!t&&!!e.meeting_metadata},0x92599c42:(e,t,a)=>{"use strict";a.d(t,{K5:()=>isFileTypeSupportedForPreview,TT:()=>r,bc:()=>n,hp:()=>i});let n=["c","cc","cmake","cpp","csharp","css","csv","diff","erb","groovy","h","haml","htm","html","java","javascript","json","less","log","matlab","markdown","ocaml","php","perl","properties","py","rb","rst","sass","scala","scheme","shell","sql","text","xlsb","xml","yaml"],r=["doc","docx","gdoc","gsheet","numbers","ods","odt","pages","pdf","rtf","xls","xlsm","xlsx","gpres","key","odp","ppt","pptx","application/pdf"],i=["ai","bmp","gif","eps","heic","jpeg","jpg","png","psd","svg","tif","tiff","image/jpeg","image/png","image/gif","image"],isFileTypeSupportedForPreview=e=>{let t=(e.filetype||"").toLowerCase();return n.concat(r,i).includes(t)}},0x20679dcfc:(e,t,a)=>{"use strict";a.d(t,{l:()=>getFileIdForChannelId,p:()=>getChannelIdForFileId});let getChannelIdForFileId=e=>e.replace(/^F/,"C"),getFileIdForChannelId=e=>e.replace(/^C/,"F")},0x108b445e9:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x230670247);let __WEBPACK_DEFAULT_EXPORT__=e=>e?.subtype==="audio_story"||e?.subtype===n.iN||e?.subtype==="slack_name_pronunciation"},0x1a1bf97fe:(e,t,a)=>{"use strict";a.d(t,{K:()=>fileIsSalesforce});let fileIsSalesforce=e=>!!e?.is_salesforce_file},0x108d3428e:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x108b445e9),r=a(0x184bdf20);let __WEBPACK_DEFAULT_EXPORT__=e=>(0,n.A)(e)||(0,r.A)(e)},0x184bdf20:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x230670247);let __WEBPACK_DEFAULT_EXPORT__=e=>e?.subtype==="video_story"||e?.subtype===n.BX},0xe8efe2c1:(e,t,a)=>{"use strict";a.d(t,{f:()=>getFileIdForFileChannelId});var n=a(0x19d55d0e1),r=a(0x20679dcfc);let getFileIdForFileChannelId=(e,t,{fetchChannelIfMissing:a=!0}={})=>t&&(0,n.OR)(e,t,{fetchChannelIfMissing:a,fetchFileIfMissing:!0})?(0,r.l)(t):""},0x22fd0ecc8:(e,t,a)=>{"use strict";a.d(t,{SB:()=>getFileDisplayName,V:()=>getFileTitle,WP:()=>getFileName,dh:()=>getFileAltText,zo:()=>fileHasAltText});var n=a(0x17478cdb7),r=a(0x155d02b1c),i=a(0x20482ad21),o=a(0xd25e59ba);let s=new i.Ay("files");function getFileName(e){return e?(0,n.A)(e.name)||(0,o.s)({file:e})||s.t("Untitled"):null}function getFileTitle(e){return e?(0,n.A)((0,r.A)(e.title)):null}function getFileDisplayName(e){return e?getFileTitle(e)||getFileName(e):null}function fileHasAltText(e){return!!(e&&(0,n.A)(e.alt_txt))}function getFileAltText(e){return e?(0,n.A)(e.alt_txt)||getFileDisplayName(e):null}},0x10f4e00cd:(e,t,a)=>{"use strict";a.d(t,{t:()=>getFileStatus});var n=a(0xbd3de346);function getFileStatus(e){return!e||(0,n.uO)(e)||(0,n.aK)(e)?"deleted":(0,n.kn)(e)||(0,n.Bp)(e)||(0,n.Ki)(e)||(0,n.AL)(e)||!(0,n.ZG)(e)?"hidden":(0,n.sR)(e)?"locked":(0,n.ZG)(e)||(0,n.Sp)(e)||(0,n.AY)(e)?"normal":"missing"}},0x1abdfd657:(e,t,a)=>{"use strict";a.d(t,{t:()=>getFileType});var n=a(0xbd3de346);function getFileType(e){return e?(0,n.sJ)(e)?"image":(0,n.pI)(e)?"audio":(0,n._y)(e)?"video":(0,n.Z0)(e)?"post":(0,n.l7)(e)?"list":(0,n.DQ)(e)?"quip":(0,n.Hn)(e)?"huddle_transcript":"snippet"===e.mode?"snippet":"email"===e.mode?"email":"docs"===e.mode?"docs":"generic":null}},0x1a3aebc27:(e,t,a)=>{"use strict";a.d(t,{rB:()=>isBoxApp});let n=["ALQ9XG76D","A042QCUUP7H","A092NHP0N94"],isBoxApp=e=>n.includes(e)},0x5c236c7d:(e,t,a)=>{"use strict";a.d(t,{K:()=>isTemplateNotVisible});var n=a(0x2115976f7);function isTemplateNotVisible(e){return e?.mode===n.s.TemplateNotVisible||e?.file_access===n.s.TemplateNotVisible}},0xd25e59ba:(e,t,a)=>{"use strict";a.d(t,{s:()=>maybeGetFileStatusString,x:()=>getFileStatusStringByType});var n=a(0x20482ad21),r=a(0x10f4e00cd),i=a(0x1abdfd657),o=a(0x5c236c7d);let s=new n.Ay("files");function generateDeletedString(e){switch(e){case"quip":return s.t("Deleted canvas",{fallbackHash:"2424529aad3b7e048b1c1450b5587b0daaf81be6",fallbackHashNs:"canvas"});case"list":return s.t("Deleted list",{fallbackHash:"40bee6c493b78a077ed2ab4836d26987fa550378",fallbackHashNs:"lists"});default:return s.t("Deleted file")}}function generateHiddenString(e){switch(e){case"quip":return s.t("Private canvas");case"list":return s.t("Private list");default:return s.t("Hidden file")}}function generateLockedString(e){return(0,o.K)(e)?s.t("Private template"):s.t("Access denied")}function generateMissingString(e){switch(e){case"quip":return s.t("Private canvas");case"list":return s.t("Private list");default:return s.t("File not found")}}function maybeGetFileStatusString({file:e,fileType:t}){let a=t??(0,i.t)(e),n=(0,r.t)(e);return getFileStatusStringByType({file:e,fileType:a,fileStatus:n})}function getFileStatusStringByType({fileType:e,fileStatus:t,file:a}){switch(t){case"deleted":return generateDeletedString(e);case"hidden":return generateHiddenString(e);case"locked":return generateLockedString(a);case"missing":return generateMissingString(e);default:return""}}},0x2315b5d3b:(e,t,a)=>{"use strict";a.d(t,{Z:()=>getAvatarBaseUrlForTeamOrEnterpriseId});var n=a(0x18dac2b8e),r=a(0x8c8bafa3),i=a(0xbf8832f0),o=a(0x1266f1359),s=a(0x1ee439e69);function getCurrentState(){let e=(0,i.oI)();if(e)return(0,o.$D)(e)}function getTeam(e){let t=getCurrentState();if(t)return(0,s._J)(t,e)}function getAvatarBaseUrlForTeamOrEnterpriseId(e){return getAvatarBaseUrl((e?getTeam(e):void 0)??void 0)}function getDefaultAvatarBaseUrl(){return(0,n.Cu)()||(0,n.$i)()?`https://${(0,r.W7)()}/avatarsource/`:`https://ca.${(0,r.Jv)()}/`}function getAvatarBaseUrl(e){return e?.avatar_base_url??getDefaultAvatarBaseUrl()}},0x145d46a61:(e,t,a)=>{"use strict";a.d(t,{dm:()=>E,NV:()=>M,SU:()=>C,a$:()=>I,O4:()=>R,RK:()=>v,Gx:()=>N,PO:()=>D,Xm:()=>J,EY:()=>ef,BH:()=>G,dq:()=>et,b2:()=>H,EA:()=>P,s3:()=>S,l:()=>L,$T:()=>F,sQ:()=>em,B$:()=>V,P6:()=>Z,Ry:()=>Y,kY:()=>j,a9:()=>en,Xz:()=>er,Mw:()=>ea,_1:()=>eS,oI:()=>ep,dI:()=>ec,EI:()=>eg,yH:()=>eE,kZ:()=>eA,wQ:()=>ek,sn:()=>ed,nw:()=>ey,tQ:()=>Q,Nj:()=>B,mv:()=>e_,qV:()=>q,Lh:()=>U,Mp:()=>ei,QR:()=>es,EW:()=>z,eF:()=>W,HD:()=>eo,AC:()=>ee,qZ:()=>el,cA:()=>eu,Md:()=>eb,fS:()=>eh,vJ:()=>$,mh:()=>K,_G:()=>X});var n=a(0xe8015073),r=a(0xd0eb5473),i=a(0xe4af74fc);let canUserManageDataSourcesForAnyWorkspace=e=>{let t=(0,i.yI)(e,{permission:n.p.VIEW_DATA_SOURCE}),a=(0,i.yI)(e,{permission:n.p.CREATE_DATA_SOURCE}),o=(0,i.yI)(e,{permission:n.p.UPDATE_DATA_SOURCE});return(0,r.Jr)(t)&&(0,r.Jr)(a)&&(0,r.Jr)(o)},canUserManageDataSourcesForTopLevelTeam=e=>{let t=(0,i.tA)(e,{permission:n.p.VIEW_DATA_SOURCE}),a=(0,i.tA)(e,{permission:n.p.CREATE_DATA_SOURCE}),o=(0,i.tA)(e,{permission:n.p.UPDATE_DATA_SOURCE});return(0,r.Jr)(t)&&(0,r.Jr)(a)&&(0,r.Jr)(o)};var o=a(0x3ae020be),s=a(0xfb9cbb1),l=a(0xbe2be077),c=a(0x21b0fd259),d=a(0xb8504a42),u=a(0x190a9df19),m=a(0x11809ca3c),f=a(0x9b971e7e),_=a(0xe684f705),p=a(0x1ee439e69),h=a(0x20ddbda49);function isCurrentUserTopLevelAdminOrOwner(e){if((0,m.h)(e)){let t=(0,f.Kc)(e);return!!t&&((0,l.k)(e)?(0,h._s)(e)||(0,h.QL)(e)||(0,h.ET)(e):(0,h.Ue)(e,{teamId:t})||(0,h.AK)(e,{teamId:t})||(0,h.iF)(e,{teamId:t}))}let t=(0,p.H7)(e),a=(0,_.cA)(e);return(0,d.r7)(t)?(0,c.n5)(a)||(0,c.rr)(a):(0,u.h3)(e)}var g=a(0x1cf0d97e1),A=a(0x19c76d181),b=a(0x14149c126);let y=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_free_teams"));y.meta={name:"isHermesFreeTeamsEnabled",key:"createSelectorIsHermesFreeTeamsEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_free_teams")},(0,g.Ay)(e=>y(e)).meta={name:"isHermesStableAnyGroupsOn",key:"createSelectorIsHermesStableAnyGroupsOn",description:e=>y(e)};let S=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_builder_next"));S.meta={name:"isHermesBuilderNextEnabled",key:"createSelectorIsHermesBuilderNextEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_builder_next")};let E=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"builder_template_creator"));E.meta={name:"canUserEditTemplates",key:"createSelectorCanUserEditTemplates",description:e=>"on"===(0,b._Z)(e,"builder_template_creator")};let k=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_3p_data_sources"));k.meta={name:"isHermes3pDataSourcesEnabled",key:"createSelectorIsHermes3pDataSourcesEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_3p_data_sources")};let T=(0,g.Ay)(e=>k(e));T.meta={name:"canUserUseHermes3pDataSources",key:"createSelectorCanUserUseHermes3pDataSources",description:e=>k(e)};let I=(0,g.Ay)(e=>T(e)&&(canUserManageDataSourcesForAnyWorkspace(e)||isCurrentUserTopLevelAdminOrOwner(e)));I.meta={name:"canUserManageHermes3pDataSourcesForAnyWorkspace",key:"createSelectorCanUserManageHermes3pDataSourcesForAnyWorkspace",description:e=>T(e)&&(canUserManageDataSourcesForAnyWorkspace(e)||isCurrentUserTopLevelAdminOrOwner(e))};let w=(0,g.Ay)(e=>T(e)&&(canUserManageDataSourcesForTopLevelTeam(e)||isCurrentUserTopLevelAdminOrOwner(e)));w.meta={name:"canUserManageHermes3pDataSourcesForTopLevelTeam",key:"createSelectorCanUserManageHermes3pDataSourcesForTopLevelTeam",description:e=>T(e)&&(canUserManageDataSourcesForTopLevelTeam(e)||isCurrentUserTopLevelAdminOrOwner(e))};let C=(0,g.Ay)(e=>(0,o.E)(e)||I(e));C.meta={name:"canUserManageAnyDataSourceForAnyWorkspace",key:"createSelectorCanUserManageAnyDataSourceForAnyWorkspace",description:e=>(0,o.E)(e)||I(e)};let v=(0,g.Ay)(e=>canUserManageDataSourcesForAnyWorkspace(e)||isCurrentUserTopLevelAdminOrOwner(e)||(0,s.k)(e));v.meta={name:"canUserManageHermesTeamSecretsForAnyWorkspace",key:"createSelectorCanUserManageHermesTeamSecretsForAnyWorkspace",description:e=>canUserManageDataSourcesForAnyWorkspace(e)||isCurrentUserTopLevelAdminOrOwner(e)||(0,s.k)(e)};let x=(0,g.Ay)(e=>canUserManageDataSourcesForTopLevelTeam(e)||isCurrentUserTopLevelAdminOrOwner(e)||(0,s.k)(e));x.meta={name:"canUserManageHermesTeamSecretsForTopLevelTeam",key:"createSelectorCanUserManageHermesTeamSecretsForTopLevelTeam",description:e=>canUserManageDataSourcesForTopLevelTeam(e)||isCurrentUserTopLevelAdminOrOwner(e)||(0,s.k)(e)};let R=(0,g.Ay)(e=>I(e)||v(e));R.meta={name:"canUserManageHermesIntegrationsForAnyWorkspace",key:"createSelectorCanUserManageHermesIntegrationsForAnyWorkspace",description:e=>I(e)||v(e)};let O=(0,g.Ay)(e=>w(e)||x(e));O.meta={name:"canUserManageHermesIntegrationsForTopLevelTeam",key:"createSelectorCanUserManageHermesIntegrationsForTopLevelTeam",description:e=>w(e)||x(e)};let N=(0,g.Ay)(e=>(0,o.E)(e)||R(e));N.meta={name:"canUserManageIntegrationsForAnyWorkspace",key:"createSelectorCanUserManageIntegrationsForAnyWorkspace",description:e=>(0,o.E)(e)||R(e)};let D=(0,g.Ay)(e=>(0,o.f)(e)||O(e));D.meta={name:"canUserManageIntegrationsForTopLevelTeam",key:"createSelectorCanUserManageIntegrationsForTopLevelTeam",description:e=>(0,o.f)(e)||O(e)},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"legacy_workflows_override")).meta={name:"isLegacyWorkflowsOverrideEnabled",key:"createSelectorIsLegacyWorkflowsOverrideEnabled",description:e=>"on"===(0,b._Z)(e,"legacy_workflows_override")};let L=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_builder_webhook_user_email"));L.meta={name:"isHermesBuilderWebhookUserEmailEnabled",key:"createSelectorIsHermesBuilderWebhookUserEmailEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_builder_webhook_user_email")};let M=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"workflow_templates_can_install_on_provision"));M.meta={name:"canUserInstallAppsOnProvision",key:"createSelectorCanUserInstallAppsOnProvision",description:e=>"on"===(0,b._Z)(e,"workflow_templates_can_install_on_provision")},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"post_wfb_ga_content")).meta={name:"isHermesBuilderPostGAContentEnabled",key:"createSelectorIsHermesBuilderPostGAContentEnabled",description:e=>"on"===(0,b._Z)(e,"post_wfb_ga_content")};let F=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"third_party_user_form_parity"));F.meta={name:"isHermesThirdPartyUserFormParityEnabled",key:"createSelectorIsHermesThirdPartyUserFormParityEnabled",description:e=>"on"===(0,b._Z)(e,"third_party_user_form_parity")};let P=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_builder_channel_created_trigger"));P.meta={name:"isHermesBuilderChannelCreatedTriggerEnabled",key:"createSelectorIsHermesBuilderChannelCreatedTriggerEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_builder_channel_created_trigger")};let U=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_in_client"));U.meta={name:"isWfbFeatMoveBuilderToClientEnabled",key:"createSelectorIsWfbFeatMoveBuilderToClientEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_in_client")};let B=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_builder_agent"));B.meta={name:"isWfbBuilderAgentEnabled",key:"createSelectorIsWfbBuilderAgentEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_builder_agent")};let G=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"allow_workflow_import_any_step"));G.meta={name:"isAllowWorkflowImportAnyStepEnabled",key:"createSelectorIsAllowWorkflowImportAnyStepEnabled",description:e=>"on"===(0,b._Z)(e,"allow_workflow_import_any_step")};let H=(0,g.Ay)(e=>U(e)&&(0,A.TZ)(e));H.meta={name:"isClientBuilderExperienceActive",key:"createSelectorIsClientBuilderExperienceActive",description:e=>U(e)&&(0,A.TZ)(e)};let W=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_wfb_import_export_fe"));W.meta={name:"isWfbImportExportEnabled",key:"createSelectorIsWfbImportExportEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_wfb_import_export_fe")};let V=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"nested_dynamic_inputs_timestamp"));V.meta={name:"isNestedDynamicInputsTimestampEnabled",key:"createSelectorIsNestedDynamicInputsTimestampEnabled",description:e=>"on"===(0,b._Z)(e,"nested_dynamic_inputs_timestamp")};let j=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"template_creation_discoverability"));j.meta={name:"isTemplateCreationDiscoverabilityEnabled",key:"createSelectorIsTemplateCreationDiscoverabilityEnabled",description:e=>"on"===(0,b._Z)(e,"template_creation_discoverability")};let K=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"workflow_templates_editing"));K.meta={name:"isWorkflowTemplatesEditingEnabled",key:"createSelectorIsWorkflowTemplatesEditingEnabled",description:e=>"on"===(0,b._Z)(e,"workflow_templates_editing")},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wf_action_entity")).meta={name:"isWfActionEntityEnabled",key:"createSelectorIsWfActionEntityEnabled",description:e=>"on"===(0,b._Z)(e,"wf_action_entity")};let q=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_conditional_branching_new_types"));q.meta={name:"isWfbConditionalBranchingNewTypesEnabled",key:"createSelectorIsWfbConditionalBranchingNewTypesEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_conditional_branching_new_types")};let z=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_hermes_trials"));z.meta={name:"isWfbHermesTrialsEnabled",key:"createSelectorIsWfbHermesTrialsEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_hermes_trials")};let $=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"workflow_templates_be_provision_3puf_steps"));$.meta={name:"isWorkflowTemplatesBeProvision3pufStepsEnabled",key:"createSelectorIsWorkflowTemplatesBeProvision3pufStepsEnabled",description:e=>"on"===(0,b._Z)(e,"workflow_templates_be_provision_3puf_steps")};let Y=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"hermes_3p_auth_callback_sfdc_org_validation"));Y.meta={name:"isSalesforceOrgValidationsEnabled",key:"createSelectorIsSalesforceOrgValidationsEnabled",description:e=>"on"===(0,b._Z)(e,"hermes_3p_auth_callback_sfdc_org_validation")};let Q=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_back_to_basics_eclair_release"));Q.meta={name:"isWfbBackToBasicsEclairReleaseEnabled",key:"createSelectorIsWfbBackToBasicsEclairReleaseEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_back_to_basics_eclair_release")},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_back_to_basics_guacamole_release")).meta={name:"isWfbBackToBasicsGuacamoleReleaseEnabled",key:"createSelectorIsWfbBackToBasicsGuacamoleReleaseEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_back_to_basics_guacamole_release")};let Z=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"polling_3p_triggers"));Z.meta={name:"isPolling3pTriggersToggleEnabled",key:"createSelectorIsPolling3pTriggersToggleEnabled",description:e=>"on"===(0,b._Z)(e,"polling_3p_triggers")};let J=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"platform_3p_steps_distribution"));J.meta={name:"is3pStepDistributionEnabled",key:"createSelectorIs3pStepDistributionEnabled",description:e=>"on"===(0,b._Z)(e,"platform_3p_steps_distribution")};let X=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"show_non_distributed_steps_to_approving_admin"));X.meta={name:"showNonDistributedStepsToApprovingAdminEnabled",key:"createSelectorShowNonDistributedStepsToApprovingAdminEnabled",description:e=>"on"===(0,b._Z)(e,"show_non_distributed_steps_to_approving_admin")};let ee=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_migrate_manage_integrations_to_admin"));ee.meta={name:"isWfbMigrateManageIntegrationsToAdminEnabled",key:"createSelectorIsWfbMigrateManageIntegrationsToAdminEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_migrate_manage_integrations_to_admin")};let et=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"ask_agentforce_step"));et.meta={name:"isAskAgentforceStepEnabled",key:"createSelectorIsAskAgentforceStepEnabled",description:e=>"on"===(0,b._Z)(e,"ask_agentforce_step")};let ea=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"troops_wfb_send_summary_to_my_sales_home"));ea.meta={name:"isTroopsWfbSendSummaryToMySalesHomeEnabled",key:"createSelectorIsTroopsWfbSendSummaryToMySalesHomeEnabled",description:e=>"on"===(0,b._Z)(e,"troops_wfb_send_summary_to_my_sales_home")};let en=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"troops_snapshots_monthly_quarterly_frequency"));en.meta={name:"isTroopsSnapshotsMonthlyQuarterlyFrequencyEnabled",key:"createSelectorIsTroopsSnapshotsMonthlyQuarterlyFrequencyEnabled",description:e=>"on"===(0,b._Z)(e,"troops_snapshots_monthly_quarterly_frequency")};let er=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"troops_time_period_filter_conditions"));er.meta={name:"isTroopsTimePeriodFilterConditionsEnabled",key:"createSelectorIsTroopsTimePeriodFilterConditionsEnabled",description:e=>"on"===(0,b._Z)(e,"troops_time_period_filter_conditions")};let ei=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_3p_granular_salesforce_event_trigger_permissions"));ei.meta={name:"isWfbGranularSalesforceEventTriggerPermissionsEnabled",key:"createSelectorIsWfbGranularSalesforceEventTriggerPermissionsEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_3p_granular_salesforce_event_trigger_permissions")};let eo=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_message_posted_trigger_feature_fast_follows"));eo.meta={name:"isWfbMessagePostedTriggerFeatureFastFollowsToggleEnabled",key:"createSelectorIsWfbMessagePostedTriggerFeatureFastFollowsToggleEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_message_posted_trigger_feature_fast_follows")};let es=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_3p_granular_salesforce_event_trigger_permissions_v2"));es.meta={name:"isWfbGranularSalesforceEventTriggerPermissionsV2Enabled",key:"createSelectorIsWfbGranularSalesforceEventTriggerPermissionsV2Enabled",description:e=>"on"===(0,b._Z)(e,"wfb_3p_granular_salesforce_event_trigger_permissions_v2")};let el=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_sales_admin_functions_permission_translations"));el.meta={name:"isWfbSalesAdminFunctionsPermissionTranslationsEnabled",key:"createSelectorIsWfbSalesAdminFunctionsPermissionTranslationsEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_sales_admin_functions_permission_translations")};let ec=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"enable_wfb_ai_answer_step"));ec.meta={name:"isWfbAiAnswerStepEnabled",key:"createSelectorIsWfbAiAnswerStepEnabled",description:e=>"on"===(0,b._Z)(e,"enable_wfb_ai_answer_step")};let ed=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_prompt_writer"));ed.meta={name:"isWfbAiStepPromptWriterEnabled",key:"createSelectorIsWfbAiStepPromptWriterEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_prompt_writer")};let eu=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_send_to_salesforce_app"));eu.meta={name:"isWfbSendToSalesforceAppEnabled",key:"createSelectorIsWfbSendToSalesforceAppEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_send_to_salesforce_app")},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_add_agent_to_channel_step")).meta={name:"isWfbAddAgentToChannelStepEnabled",key:"createSelectorIsWfbAddAgentToChannelStepEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_add_agent_to_channel_step")},(0,g.Ay)(e=>"on"===(0,b._Z)(e,"platform_ts_conversion_batch_1")).meta={name:"isPlatformTsConversionBatch1Enabled",key:"createSelectorIsPlatformTsConversionBatch1Enabled",description:e=>"on"===(0,b._Z)(e,"platform_ts_conversion_batch_1")};let em=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"message_posted_trigger_in_private_channels"));em.meta={name:"isMessagePostedTriggerInPrivateChannelsEnabled",key:"createSelectorIsMessagePostedTriggerInPrivateChannelsEnabled",description:e=>"on"===(0,b._Z)(e,"message_posted_trigger_in_private_channels")};let ef=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_private_channel_access_on_off"));ef.meta={name:"isAiStepPrivateChannelAccessEnabled",key:"createSelectorIsAiStepPrivateChannelAccessEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_private_channel_access_on_off")};let e_=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_conditional_branching_increase_max_step_count"));e_.meta={name:"isWfbConditionalBranchingIncreaseMaxStepCountEnabled",key:"createSelectorIsWfbConditionalBranchingIncreaseMaxStepCountEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_conditional_branching_increase_max_step_count")};let ep=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_connector_access"));ep.meta={name:"isWfbAiAnswerStepConnectorAccessEnabled",key:"createSelectorIsWfbAiAnswerStepConnectorAccessEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_connector_access")};let eh=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"workflow_execution_window"));eh.meta={name:"isWorkflowExecutionWindowEnabled",key:"createSelectorIsWorkflowExecutionWindowEnabled",description:e=>"on"===(0,b._Z)(e,"workflow_execution_window")};let eg=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_disable_trigger_variables"));eg.meta={name:"isWfbAiDisableTriggerVariablesEnabled",key:"createSelectorIsWfbAiDisableTriggerVariablesEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_disable_trigger_variables")};let eA=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_combined_picker"));eA.meta={name:"isWfbAiStepCombinedPickerEnabled",key:"createSelectorIsWfbAiStepCombinedPickerEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_combined_picker")};let eb=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"workflow_interactivity_next"));eb.meta={name:"isWfbWorkflowInteractivityNextEnabled",key:"createSelectorIsWfbWorkflowInteractivityNextEnabled",description:e=>"on"===(0,b._Z)(e,"workflow_interactivity_next")};let ey=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_translations"));ey.meta={name:"isWfbAiStepTranslationsEnabled",key:"createSelectorIsWfbAiStepTranslationsEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_translations")};let eS=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_3p_field_access_display"));eS.meta={name:"isWfb3pFieldAccessDisplayEnabled",key:"createSelectorIsWfb3pFieldAccessDisplayEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_3p_field_access_display")};let eE=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_enable_webhook_triggers"));eE.meta={name:"isWfbAiEnableWebhookTriggersEnabled",key:"createSelectorIsWfbAiEnableWebhookTriggersEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_enable_webhook_triggers")};let ek=(0,g.Ay)(e=>"on"===(0,b._Z)(e,"wfb_ai_step_nux"));ek.meta={name:"isWfbAiStepNuxEnabled",key:"createSelectorIsWfbAiStepNuxEnabled",description:e=>"on"===(0,b._Z)(e,"wfb_ai_step_nux")}},0xebdd009e:(e,t,a)=>{"use strict";a.d(t,{$t:()=>getHuddleClogContext,$z:()=>getHuddleToggleKeyboardShortcutString,A5:()=>getMemberNameFromUserId,Bn:()=>doesChannelSupportHuddles,C6:()=>isHuddlesIndirectLink,F7:()=>isHuddlesVideoEnabledForOrgWorkspaces,Fm:()=>getAlertForHuddlesBanner,Ft:()=>isHuddleEndState,Gb:()=>eA,J6:()=>isHuddleWindowMaximized,K8:()=>getHuddleActivityStatus,Lb:()=>getMemberFromPeer,MY:()=>isAloneInHuddleCoachmarkOpen,NZ:()=>hasActiveHuddleReferenceInClientStore,Or:()=>isActiveHuddleThreadMessage,Pn:()=>ef,Qj:()=>shouldShowHuddlesShoutyRoosterWarning,Qw:()=>getDidUserMissHuddleInvite,R8:()=>isHuddlesTranscriptionsEnabledForOrgWorkspaces,RW:()=>getRoomIdFromCredentials,Rc:()=>getParticipantIdsFiltered,S9:()=>shouldShowCallMenuHuddleDiscoveryLink,TA:()=>isUserInActiveHuddle,U6:()=>isMessageHuddleRecapMessage,UA:()=>isHuddlesTranscriptionsEnabledForChannel,UE:()=>getHuddleClogCallsContext,Ul:()=>isSelfUserNewToHuddles,VQ:()=>isFullscreenEnabled,Vh:()=>isHuddleActive,WH:()=>getMemberNameFromPeer,Xx:()=>doesChannelHaveHuddle,ZP:()=>canHuddleWithMember,bD:()=>isUserHuddlingInChannel,cq:()=>getCompactWindowDefaultHeight,df:()=>getParticipantLimit,eu:()=>isHuddleLoadingState,gG:()=>getHuddlesClogContextForBackgroundActions,gO:()=>setFullscreen,hp:()=>getMemberPronounsFromUserId,hv:()=>isHuddleDisabledForDM,kC:()=>shouldShowHuddlesBanner,kn:()=>getHuddleClogClientContext,n6:()=>isCalendarHuddleKnockToEnterRequired,oz:()=>isHuddleSurveyState,pZ:()=>isHuddleTransitionState,pl:()=>isHuddleEnabledOrHasActiveHuddle,pt:()=>eg,pw:()=>getTitlebarVariant,qp:()=>wasUserInEndedHuddle,r5:()=>isUserHuddlingOnAnotherDevice,rU:()=>isBottomBarBannerActive,rl:()=>getChannelHuddleSuggestionsForNUX,sx:()=>isHuddleActiveState,uc:()=>isWindowFullscreen,uz:()=>isHuddleWindowOpenInClientStore,vw:()=>e_,w1:()=>getHuddlesClogContext,wc:()=>isHuddleDisabledForMPDM,wu:()=>isValidChannelForHuddleNux,xe:()=>hasImUserJoinedAndLeft,xv:()=>getHuddleSurfaceFromWindowSize,xz:()=>doesChannelSupportHuddlesWithReason});var n,r,i,o=a(0x21f3c49e8),s=a(0x1feee1711),l=a(0x658a411c),c=a(0x7d48dd65),d=a(0x1aba66b56),u=a(0xbe0b63ff),m=a(0x62a17882),f=a(0x20482ad21),_=a(0xb62e6bf4),p=a(0x51fc3908),h=a(0x7c3af0bb),g=a(0x5fc81c19),A=a(0x16b207260),b=a(0x1334bf7f0),y=a(0x115aa5ac3),S=a(0xb27404ef),E=a(0x1ec69ee01),k=a(0x12185e091);a(0x1ecc7f772);var T=a(0x280afe13);a(0x136bdf2c4);var I=a(0x6f213e53),w=a(0x114ffe897),C=a(0x19d55d0e1),v=a(0x245dcaf6b),x=a(0x21dd74f4c),R=a(0xc1963a64),O=a(0x1b9d5cc0c),N=a(0x82980ab8);a(0x2378cf6ec),a(0x1bac8c9e9),a(0x1503cc0ff);var D=a(0x21d6ed371),L=a(0x1f66b5878),M=a(0x143fb6398),F=a(0x1b154a8c4),P=a(0xa1832ae4),U=a(0x5738b4bc),B=a(0xc67f3d80),G=a(7854195),H=a(0xb04c4a12),W=a(0x23717bef),V=a(0x1d600678),j=a(0x1ccef1c6f),K=a(0x1c9613e9),q=a(0x222719d7),z=a(0x167b46d0f),$=a(0x691ce3ab),Y=a(0x2231c0f3f),Q=a(0x19c76d181),Z=a(0x217553e42),J=a(0x357cac43),X=a(0x14149c126),ee=a(0xb129c1d5),et=a(0x7c2e2ba1),ea=a(0x7b0b485),en=a(0xf9cb31c6),er=a(0x21c11a1dc),ei=a(0x1b02505ff),eo=a(0x13d894892),es=a(0xe684f705),el=a(0xc1360909),ec=a(0xd93ecf94),ed=a(0x18a17ca8f),eu=a(0xe91e45de),em=a(0xe822f938),ef=((n={}).EXTERNALLY_SHARED_CHANNEL="externally_shared_channel",n.ADMIN_DISABLED="admin_disabled",n.UNSUPPORTED_BROWSER="unsupported_browser",n),e_=((r={})[r.BROWSER=1]="BROWSER",r[r.MAC=2]="MAC",r[r.WINDOWS=3]="WINDOWS",r);let ep=new f.Ay("huddles"),eh=/^Hi/,eg=(0,Y.A)(e=>{let t=(0,b.R)(e);return(((0,_.ss)(e)?isCurrentUserWhoCanDoTeamPrefOnSelfWorkspaces(e,"allow_huddles"):(0,V.x)(e,"allow_huddles"))||!1)&&!t});var eA=((i={}).ACTIVE="active",i.INACTIVE_BUT_LIVE="inactive-but-live",i.MISSED="missed",i);function doesChannelSupportHuddlesWithReason(e,t){if(!t||(0,C.jT)(t))return[!1,void 0];let a=eg(e),n=a||(0,eo.I)(e,t.id);if(!a&&!(0,eo.I)(e,t.id))return[!1,"admin_disabled"];if(!(0,u.uz)(t)||(0,R.V)(e,t)||(0,x.G)(e,t.id)||(0,E.Cx)(t)||!(0,U.E)(e,t.id)&&!(0,k.cb)(t)||(0,E.bU)(t)||(0,I.F)(t)||(0,v.Zz)(t)||(0,F.M)(t)||(0,E.dq)(e,t)||!n)return[!1,void 0];if((0,p.yh)())return[!1,"unsupported_browser"];let r="on"===(0,X._Z)(e,"huddles_channel_properties"),i=!1;if(r)i=!!t?.properties?.huddles_restricted;else{let a=(0,W.d)(e,t.id,"can_huddle");i=a&&a?.enabled===!1}let o=getIsHuddlesAllowedTeamPrefForChannel(e,t.id);return i||!1===o?[!1,"admin_disabled"]:[!0,void 0]}let hasActiveHuddleReferenceInClientStore=()=>{let e=(0,$.en)();if(!e)return!1;let t=e.getState(),a=(0,ea.Ak)(t);return!(0,o.A)(a)},isHuddleEnabledOrHasActiveHuddle=e=>{let t=eg(e),a=hasActiveHuddleReferenceInClientStore();return t||a};function doesChannelSupportHuddles(e,t){return doesChannelSupportHuddlesWithReason(e,t)[0]}function doesChannelHaveHuddle(e,t){return!!eg(e)&&(0,er.LY)(e,t)>0}let eb=new Set([K.vT.SpeakingWhenMuted,K.vT.RemotePeerMuted,K.vT.RemotePeerSlowConnection,K.vT.ScreenShareFreeTeam,K.vT.NoGroupCallsForFreeTeam,K.vT.PeerMuteRequest]);function getAlertForHuddlesBanner(e){return(0,K.xw)(e).find(e=>!eb.has(e.type))}function shouldShowHuddlesBanner(e){return isHuddleEnabledOrHasActiveHuddle(e)&&!!getAlertForHuddlesBanner(e)}function getHuddlesClogContext(e,t,a){let n=(0,er.LY)(e,t),r=(0,Z.OL)(e,t),i=(0,k.mz)(r)||void 0,o=(0,$.Ry)(),{callId:s}=(0,ea.Qn)(o)||{};return{channel_id:t,channel_type:i,num_participants:n,is_recommended:a,room_id:s}}function getHuddlesClogContextForBackgroundActions(e,t){return{...getHuddlesClogContext(e,t),window_focused:(0,em.ko)(e),window_visible:(0,J.Sr)(e)}}function isHuddleLoadingState(e){return[ei.RJ.STARTING,ei.RJ.PENDING,ei.RJ.COMPLETING_PRE_JOIN].includes(e)}function isHuddleActiveState(e){return isHuddleLoadingState(e)||e===ei.RJ.STARTED}function isHuddleTransitionState(e){return isHuddleLoadingState(e)||e===ei.RJ.ENDING}function isHuddleEndState(e){return[ei.RJ.NOT_STARTED,ei.RJ.SURVEY,ei.RJ.SURVEY_GOOD].includes(e)}function isHuddleSurveyState(e){return[ei.RJ.SURVEY,ei.RJ.SURVEY_GOOD].includes(e)}function isUserHuddlingInChannel(e,t){let a=(0,Q.WR)(e);return!!(0,er.ft)(e,t).find(({id:e})=>e===a)}function getRoomIdFromCredentials(e){let t=e?.meeting?.ExternalMeetingId;return t?.split("-")[1]??null}function canHuddleWithMember(e,t,a){if(!t)return!1;let n=(0,E.Mi)((0,Z.Pu)(e,t.id));return!(!eg(e)||!(0,u.uz)(t)||(0,O.fy)(t)&&!a)&&!!(0,O.ls)(t)&&!n}function isAloneInHuddleCoachmarkOpen(e){return e===ei.J_.IN_PROGRESS_ALONE_NOTICE_ACTIVE||e===ei.J_.INITIAL_ALONE_NOTICE_ACTIVE}function shouldShowHuddlesShoutyRoosterWarning(e,t,a){if(null===t||(0,er.LY)(e,t)>0||(0,ea.aQ)((0,$.Ry)())?.channelId===t)return!1;let n=(0,Z.OL)(e,t);if(!n||!(0,u.uz)(n))return!1;if(a)return!0;if(!n||(0,k.JM)(n))return!1;let r=(0,el.q8)(e,t),i=(0,j.ty)(e,"huddles_show_shouty_rooster"),o=r?.counts.member_count;return!!o&&!(o<=g.Qp)&&!1!==i}function getParticipantLimit(e){return(0,en.nC)(e)?g.yL:g.$s}function getHuddleToggleKeyboardShortcutString(){return(0,m.cX)()?(0,m.y3)()?ep.t("Command + Shift + H"):ep.t("Command + Shift + Option + H"):(0,m.y3)()?ep.t("Ctrl + Shift + H"):ep.t("Ctrl + Shift + Alt + H")}K.vT.SpeakingWhenMuted,K.vT.RemotePeerMuted,K.vT.RemotePeerSlowConnection,K.vT.ScreenShareFreeTeam,K.vT.NoGroupCallsForFreeTeam;let shouldShowCallMenuHuddleDiscoveryLink=(e,t,a)=>{let n=eg(e)&&(0,en.Ms)(e);if(t)return n&&canHuddleWithMember(e,t);if(a){let t=(0,Z.OL)(e,a),r=t&&doesChannelSupportHuddles(e,t);return n&&r}return n},isHuddlesTranscriptionsEnabledForChannel=(e,t)=>(0,s.A)(t)?(0,V.x)(e,"allow_huddles_transcriptions")||!1:(0,_.ss)(e)?getIsHuddlesOrgAllowedPrefEnabledForChannel(e,"allow_huddles_transcriptions",t):(0,V.x)(e,"allow_huddles_transcriptions")||!1,isHuddlesTranscriptionsEnabledForOrgWorkspaces=e=>(0,_.ss)(e)?isCurrentUserWhoCanDoTeamPrefOnSelfWorkspaces(e,"allow_huddles_transcriptions"):(0,V.x)(e,"allow_huddles_transcriptions")||!1,getMemberFromPeer=(e,t)=>{let a=(0,Q.WR)(e);return(0,es.nv)(e,(0,z.fy)(t)?a:t.userId)},getMemberName=(e,t)=>(0,ee.a)(e,t?.id)?ep.t("Name hidden"):(0,N.wg)(t)||(0,N.Fh)(t),getMemberNameFromPeer=(e,t)=>{let a=getMemberFromPeer(e,t);return getMemberName(e,a)},getMemberNameFromUserId=(e,t)=>{let a=(0,es.nv)(e,t);return getMemberName(e,a)},getMemberPronounsFromUserId=(e,t)=>{let a=(0,es.nv)(e,t);return(0,O.fD)(a)},isHuddleActive=({state:e,roomId:t})=>{let a=(0,er.P_)(e,t);return!!a&&!a.hasEnded&&(0===a.allParticipants.length||!(a.allParticipants.length>0)||0!==a.activeParticipants.length)},isUserInActiveHuddle=({state:e,roomId:t,userId:a})=>{if(!t||!a||!isHuddleActive({state:e,roomId:t}))return!1;let n=(0,er.P_)(e,t);return!!n&&(0,l.A)(n.activeParticipants,e=>(0,B.MZ)(e)&&e.slackId===a)},getDidUserMissHuddleInvite=(e,t)=>{if(!t||!(0,en.Z0)(e))return!1;let a=(0,q.H6)(e,t);if(!a)return!1;let n=(0,Q.WR)(e);return(0,en.Z0)(e)&&!!a.hasEnded&&n in(a.missedParticipants||{})},getHuddleActivityStatus=(e,t)=>{switch(!0){case isHuddleActive({state:e,roomId:t}):return"active";case!(({state:e,roomId:t})=>{let a=(0,er.P_)(e,t);return!a||!!a.hasEnded})({state:e,roomId:t}):return"inactive-but-live";case getDidUserMissHuddleInvite(e,t):return"missed";default:return}},wasUserInEndedHuddle=({state:e,roomId:t,userId:a})=>{if(!t||!a||isHuddleActive({state:e,roomId:t}))return!1;let n=(0,er.P_)(e,t);return!!n&&(0,l.A)(n.allParticipants,e=>(0,B.MZ)(e)&&e.slackId===a)},getParticipantIdsFiltered=({participantsIds:e,userIdsToExclude:t})=>e&&e.length?(0,c.A)(e,e=>!(0,d.A)(t,e)):[],hasImUserJoinedAndLeft=({state:e,channel:t,roomId:a})=>{if(!t||!a||!(0,k.LI)(t))return!1;let n=(0,T.e)(t),r=(0,er.P_)(e,a);return!!r&&!isUserInActiveHuddle({state:e,roomId:a,userId:n})&&(0,l.A)(r.allParticipants,e=>(0,B.MZ)(e)&&e.slackId===n)},isValidChannelForHuddleNux=(e,t)=>{if(!t)return!1;let a=(0,Z.OL)(e,t);if(!a)return!1;let n=doesChannelSupportHuddles(e,a);return!!a&&!(0,w.D)(a)&&!(0,E.Cx)(a)&&!(0,R.V)(e,a)&&!!n},isUserHuddlingOnAnotherDevice=(e,{channelId:t})=>{if(!t)return!1;let a=(0,$.Ry)(),n=(0,ea.hc)(a)===t;return isUserHuddlingInChannel(e,t)&&!n},isHuddleDisabledForDM=({isDM:e,escImOrMpimMemberIds:t,huddlesDisabledUserIds:a})=>e&&t&&a&&1===a.length&&a[0]===t[0],isHuddleDisabledForMPDM=({isMPDM:e,escImOrMpimMemberIds:t,huddlesDisabledUserIds:a})=>e&&t&&a&&a.length===t.length-1,getTitlebarVariant=()=>(0,S.xY)()?(0,m.cX)()?2:3:1;function getIsHuddlesAllowedTeamPrefForChannel(e,t){return getIsHuddlesOrgAllowedPrefEnabledForChannel(e,"allow_huddles",t)}function isHuddlesVideoEnabledForOrgWorkspaces(e){return(0,_.ss)(e)?isCurrentUserWhoCanDoTeamPrefOnSelfWorkspaces(e,"allow_huddles_video"):(0,V.x)(e,"allow_huddles_video")||!1}function getIsHuddlesOrgAllowedPrefEnabledForChannel(e,t,a){if((0,_.ss)(e)){let n=(0,Z.OL)(e,a);return(0,k.QR)(n)?(0,L.p$)(e,t):(0,L.Bx)(e,t,a)}return(0,V.x)(e,t)||!1}function isCurrentUserWhoCanDoTeamPrefOnSelfWorkspaces(e,t){return(0,L.p$)(e,t)}function getHuddleClogContext(e,{huddleId:t}){let a=(0,et.fG)(e,{huddleId:t});return{canvas_thread_channel_id:a?.channelId,canvas_thread_id:a?.ts?.replace(".","")}}function getHuddleClogClientContext(e){return{canvas_huddle_session_id:(0,ea.oK)(e)}}function getHuddleClogCallsContext(e){return{room_id:(0,ea.E9)(e),channel_id:(0,ea.hc)(e)}}function isHuddleWindowOpenInClientStore(){let e=(0,$.Ry)();return(0,ea.j)(e)}function getHuddleSurfaceFromWindowSize(e){return!e||e.closed?null:e.innerWidth<=A.m3?G.yG.WINDOW_COMPACT:G.yG.WINDOW_FULL}function isHuddleWindowMaximized(e){let t=e.screen.availTop,a=!!isNaN(t)||20>=Math.abs(t-e.screenTop),n=e.screen.availLeft,r=!!isNaN(n)||20>=Math.abs(n-e.screenLeft),i=20>=Math.abs(e.screen.availHeight-e.outerHeight),o=20>=Math.abs(e.screen.availWidth-e.outerWidth);return a&&r&&i&&o}function getCompactWindowDefaultHeight({self:e,peers:t}){let a=t.filter(e=>e.isCameraEnabled).length||e.isCameraEnabled&&!e.isHidingSelf,n=t.length+ +!e.isHidingSelf;if(t.some(e=>!!e.isScreenshareEnabled&&!!e.tileIds?.screenshare?.tileId))return Math.round((A.UJ-2*h.ph)/h.HO)+A.eZ;if(a){if(n>=5)return A.kO;if(4===n)return A.kL;if(3===n)return A.dC;if(2===n)return A.ro}return A.t8}let isFullscreenEnabled=e=>!!(0,S.qp)()&&!!e.document.fullscreenEnabled,isWindowFullscreen=e=>!!e.document.fullscreenElement,setFullscreen=(e,t)=>t?e.document.body.requestFullscreen():e.document.exitFullscreen();function isMessageHuddleRecapMessage({message:e,parentMessage:t,viewContext:a}){return!!(t&&t.room_id&&(!a||H.Y.MESSAGE_PANE===a)&&e?.ts!==e?.thread_ts)}function isSelfUserNewToHuddles(e){if((0,ed.Si)(e))return!1;let t=(0,eu.H)(e);return!t||t<=5}function getChannelHuddleSuggestionsForNUX(e){let t=(0,Z.h3)(e),a=[];return t.forEach(t=>{a.length<3&&doesChannelSupportHuddles(e,t)&&a.push(t)}),a}function isHuddlesIndirectLink(e){return eh.test(e)}function isActiveHuddleThreadMessage({state:e,threadTs:t,channelId:a}){if(!(0,Q.TZ)(e)||!a)return!1;let n=(0,er.it)(e,a),r=(0,ec.Ld)(e,a,t);return!!(r&&(0,D.mb)(r)&&n)}function isCalendarHuddleKnockToEnterRequired(e,t){if(!t||!(0,k.cb)(t))return!1;let a=(0,et.uX)(e,t.id)===y.XR.HuddleKnock,n=(0,E.gs)(t)??[],r=(0,P.ZT)(e);return a||(0,M.ju)(t)&&n.some(e=>e===r)&&t.conversation_host_id&&r!==t.conversation_host_id}function isBottomBarBannerActive(e){let t=(0,$.Ry)();return isHuddleEnabledOrHasActiveHuddle(e)&&((0,et.b3)(e)||!(0,ea.j)(t)&&(0,et.$k)(e))}},0x8a1c321f:(e,t,a)=>{"use strict";a.d(t,{o:()=>isMemberInIdpGroup});var n=a(0x126817248);function isMemberInIdpGroup(e,t){return!!e&&!!e.users&&-1!==(0,n.A)(e.users,t)}},0xbe2be077:(e,t,a)=>{"use strict";a.d(t,{k:()=>isEnterprise});var n=a(0x9b971e7e),r=a(0x19c76d181);function isEnterprise(e){return!0===(0,r.u8)(e)||!!(0,n.jV)(e)}},0x70de3606:(e,t,a)=>{"use strict";a.d(t,{$V:()=>isTodosLaterV2Enabled,$x:()=>isSuppressedSlackFirstCrmTrial,CJ:()=>isListsAddToListQuickActionEnabled,Cc:()=>isListsAutomationsTemplateDmEnabled,Dq:()=>isListsNewTodoWorkflowsEnabled,E9:()=>isReleasedTierTSEnabled,FD:()=>isProvisionalTodosEnabled,Fh:()=>isListsEnabled,Il:()=>teamHasFullListsAccess,Is:()=>isListsAutomationsEntrypointsEnabled,Ix:()=>isDownmarketCrmEnabledForUser,Kl:()=>isListTemplateCreationPermitted,L2:()=>isListsSubTasksEnabled,OK:()=>isListsAriaStringsEnabled,QX:()=>isListsIncludeEndDateToggleEnabled,Rr:()=>isListTodosRollbackEnabled,SP:()=>isListsPerfTwoEnabled,YF:()=>isNoVirtualizedListEnabled,_L:()=>isListsFileBackedTemplatesEnabled,_q:()=>isListsGridTodosEnabled,ay:()=>isTodosPrefsNuxEnabled,ci:()=>isApprovalsInTodosEnabled,fn:()=>isListsAddToSidebarEnabled,hD:()=>isSlackCrmTenuredTeamsEnabledForUser,hk:()=>isListsTextyAutocompleteEnabled,qM:()=>isListsMarkAsDoneForCheckboxEnabled,qP:()=>isListsEnableFreemiumAccessEnabled,tl:()=>isTodosEnabled,u$:()=>isListsTemplatesEnabled,v:()=>isListsInLaterExperimentEnabled,vS:()=>isListsTemplateAdmin,v_:()=>isPerfCacheRecordsEnabled,vc:()=>isListsGridTodosEnabledForList,y$:()=>isListsTabbingNavigationEnabled});var n=a(0x14fde54c),r=a(0x67fa0e69),i=a(0xa1832ae4),o=a(0xe8015073),s=a(0x20c23cf7a),l=a(0x14149c126),c=a(0x14ea3ce99),d=a(0xd0eb5473),u=a(0xe4af74fc),m=a(0x165bb8fb3),f=a(0x1ee439e69);let ReleaseTier=class ReleaseTier{name;primacy;static NONE=new ReleaseTier("None",0);static PLAYGROUND=new ReleaseTier("Playground",40);static FRIENDS_OF=new ReleaseTier("Friends Of",35);static DOGFOOD=new ReleaseTier("Dogfood",30);static TINYSPECK=ReleaseTier.DOGFOOD;static PILOT=new ReleaseTier("Pilot",10);constructor(e,t){this.name=e,this.primacy=t}includes(e){return this.primacy>=e.primacy}};function isReleaseTier(e,t){return getHighestUserTier(e).includes(t)&&getHighestTeamTier(e).includes(t)}function getHighestUserTier(e){return"on"===(0,l._Z)(e,"lists_playground")?ReleaseTier.PLAYGROUND:"on"===(0,l._Z)(e,"lists_friends_of")?ReleaseTier.FRIENDS_OF:"on"===(0,l._Z)(e,"lists_dogfood")?ReleaseTier.DOGFOOD:"on"===(0,l._Z)(e,"lists_pilot")?ReleaseTier.PILOT:ReleaseTier.NONE}function getHighestTeamTier(e){return"on"===(0,l._Z)(e,"lists_playground_teams")?ReleaseTier.PLAYGROUND:"on"===(0,l._Z)(e,"lists_friends_of_teams")?ReleaseTier.FRIENDS_OF:"on"===(0,l._Z)(e,"lists_dogfood_teams")?ReleaseTier.DOGFOOD:"on"===(0,l._Z)(e,"lists_pilot_teams")?ReleaseTier.PILOT:ReleaseTier.NONE}function isListsEnabled(e){return isReleaseTier(e,ReleaseTier.PILOT)}let teamHasFullListsAccess=e=>!(0,i.tc)((0,f.H7)(e))&&isListsEnabled(e)&&(0,r.A)(e);function isReleasedTierTSEnabled(e){return"on"===(0,l._Z)(e,"lists_playground")||"on"===(0,l._Z)(e,"lists_dogfood")}function isListsEnableFreemiumAccessEnabled(e){return"on"===(0,l._Z)(e,"lists_enable_freemium_access")}function isListsAddToSidebarEnabled(e){return"on"===(0,l._Z)(e,"lists_pin_to_sidebar")}function isListsAddToListQuickActionEnabled(e){return!(0,s.Jd)(e)}function isListsTextyAutocompleteEnabled(e){return"on"===(0,l._Z)(e,"lists_texty_autocomple")}function isListsIncludeEndDateToggleEnabled(e){return!1}function isListsMarkAsDoneForCheckboxEnabled(e){return"on"===(0,l._Z)(e,"lists_done_checkbox")}function isListsInLaterExperimentEnabled(e){return"on"===(0,l._Z)(e,"lists_in_later")}function isListsTabbingNavigationEnabled(e){return"on"===(0,l._Z)(e,"lists_tabbing_navigation")}function isListsAutomationsTemplateDmEnabled(e){return"on"===(0,l._Z)(e,"lists_automations_template_dm")}function isListsAutomationsEntrypointsEnabled(e){return"on"===(0,l._Z)(e,"lists_automations_entrypoints")}function isListsGridTodosEnabled(e){return"on"===(0,l._Z)(e,"lists_grid_todos")}function isProvisionalTodosEnabled(e){return"on"===(0,l._Z)(e,"provisional_todos")}function isListsGridTodosEnabledForList(e,t){if(!isListsGridTodosEnabled(e))return!1;let a=(0,c.Lp)(e,t);return!!(0,n.Ux)(a)}function isTodosEnabled(e){return!isListTodosRollbackEnabled(e)&&isListsGridTodosEnabled(e)&&"on"===(0,l._Z)(e,"todos")}function isTodosLaterV2Enabled(e){return isTodosEnabled(e)&&"on"===(0,l._Z)(e,"todos_later_v2")}function isListTemplateConversionsEnabled(e){return"on"===(0,l._Z)(e,"list_template_conversions")}function isListsFileBackedTemplatesEnabled(e){return"on"===(0,l._Z)(e,"lists_file_backed_templates")}function isListsTemplateAdmin(e){return"on"===(0,l._Z)(e,"lists_template_admins")}function isListTemplateCreationPermitted(e){let t=(0,u.tA)(e,{permission:o.p.CREATE_LIST_TEMPLATE});return!!isListTemplateConversionsEnabled(e)&&(0,d.Jr)(t)}function isListsNewTodoWorkflowsEnabled(e){return"on"===(0,l._Z)(e,"lists_monster_step")}function isListsSubTasksEnabled(e){return"on"===(0,l._Z)(e,"lists_sub_tasks")}function isApprovalsInTodosEnabled(e){return"on"===(0,l._Z)(e,"approvals_in_todos")}function isListsTemplatesEnabled(e){return"on"===(0,l._Z)(e,"lists_templates")}function isTodosPrefsNuxEnabled(e){return isTodosEnabled(e)&&"on"===(0,l._Z)(e,"todos_prefs_nux")}function isListsPerfTwoEnabled(e){return"on"===(0,l._Z)(e,"lists_perf_2")}function isListTodosRollbackEnabled(e){return"on"===(0,l._Z)(e,"lists_todos_rollback")}function isListsAriaStringsEnabled(e){return"on"===(0,l._Z)(e,"lists_aria_translations_strings")}function isDownmarketCrmEnabledForUser(e){return"on"===(0,l.ze)(e,"slack_first_crm")&&(0,m.H7)(e)}function isSlackCrmTenuredTeamsEnabledForUser(e){return"on"===(0,l.ze)(e,"slack_crm_tenured_teams")}function isSuppressedSlackFirstCrmTrial(e){return"on"===(0,l._Z)(e,"suppress_slack_first_crm_trial")}function isNoVirtualizedListEnabled(e){return"on"===(0,l._Z)(e,"lists_no_virtualized_list_component")}function isPerfCacheRecordsEnabled(e){return"on"===(0,l._Z)(e,"lists_perf_cache_records")}},0x67fa0e69:(e,t,a)=>{"use strict";a.d(t,{A:()=>isListsPrefEnabled});var n=a(0x14fde54c),r=a(0x1d600678),i=a(0x14149c126);function isListsPrefEnabled(e){return"on"===(0,i._Z)(e,"allow_lists_override")||(0,r.x)(e,"allow_lists")===n.MB.FULL}},0x14fde54c:(e,t,a)=>{"use strict";a.d(t,{MB:()=>b,T$:()=>getAllowListsTeamPref,dG:()=>getChannelIdForListFileId,K2:()=>getColumnTypeIcon,Lx:()=>getColumnTypeLabel,UE:()=>getFileListSchema,cv:()=>getFileListViewById,nX:()=>getFileListViews,BS:()=>getIsListFromBlankTemplate,Ho:()=>getIsListSchemaMigrated,BA:()=>getListHasTaskAssignment,Kb:()=>getListIcon,JN:()=>getListIconUrl,uA:()=>getListSchema,Ux:()=>getListTodoMode,Qq:()=>getListViewById,Br:()=>getListViews,wy:()=>isAssignedToMe,Ke:()=>isFieldEmpty,Sl:()=>isListRecordFieldSavedButUncompleted,Pe:()=>isListRecordSaved,cq:()=>isListRecordSavedButUncompleted,z7:()=>isListRecordTombstoned,th:()=>isMessagePrivate,Ct:()=>isSelectWithOnlyDeletedOptions,yJ:()=>isTodosListAndTodosReminderExperimentEnabled});var n=a(0xe747dd27),r=a(0x20482ad21),i=a(0x5739d664),o=a(0x1e3c7661);a(0x7ef54618);var s=a(0x153cbdf74),l=a(0xa076e611),c=a(0xbe2be077),d=a(0x21d6ed371);a(0x1c2e38de1);var u=a(0x2275c26b8),m=a(0xb1f0729f),f=a(0x1d600678),_=a(0x19c76d181),p=a(0x14149c126),h=a(0x1888ea2e3);a.p,a.p,new r.Ay("lists");let getChannelIdForListFileId=e=>e.replace(/^F/,"C"),isSelectWithOnlyDeletedOptions=(e,t,a)=>{try{if(t!==s.$.Select)return!1;let n=a?.choices?.map(e=>e.value);return("string"==typeof e&&e?.split(o.eY).every(e=>!n?.includes(e)))??!1}catch{return!1}},isFieldEmpty=e=>null==e||Array.isArray(e)&&0===e.length,getColumnTypeIcon=e=>{let t=(0,u.nF)();return t.get(e)?.icon||{name:"text-snippet"}},getColumnTypeLabel=e=>{let t=(0,u.nF)();return t.get(e)?.label},getIsListFromBlankTemplate=e=>{if(!e)return!1;let t=e.creationSource?.type===u.$J.TEMPLATE?e.creationSource?.referenceId||null:e.list_metadata?.creation_source?.type===u.$J.TEMPLATE&&e.list_metadata?.creation_source?.reference_id||null;return!!t&&(t===l.K.Blank||o.TQ.has(t))},getListIcon=e=>{if(e)return e.list_metadata?.icon||e.icon},getListIconUrl=e=>{if(e)return e.list_metadata?.icon_url},g=(0,i.A)(e=>e.map(e=>(0,n.XK)(e))),getListViews=e=>{if(e){if(e.list_metadata?.views)return g(e.list_metadata?.views);if(e.views)return e.views}},getFileListViews=e=>e?.list_metadata?.views,getListSchema=e=>{if(e){if(e.list_metadata?.schema)return g(e.list_metadata?.schema);if(e.schema)return e.schema}},getFileListSchema=e=>e?.list_metadata?.schema,getListViewById=(e,t)=>{if(!e||!t)return;let a=getListViews(e);if(a)return a.find(e=>e.id===t)},getFileListViewById=(e,t)=>{if(!e||!t)return;let a=getFileListViews(e);if(a)return a.find(e=>e.id===t)},getListTodoMode=e=>e.list_metadata?.todo_mode,getIsListSchemaMigrated=e=>e.list_metadata?.todo_mode!==void 0,A="allow_lists",b={READ_ONLY:"read_only",FULL:"full"},getAllowListsTeamPref=e=>((0,c.k)(e)?(0,m.SI)(e,A):(0,f.x)(e,A))||b.FULL,getListHasTaskAssignment=e=>{if(!e)return!1;let t=getListSchema(e);return!!t&&!!t.find(e=>e.options?.forAssignment)};function isListRecordSaved(e){return!!e?.saved}function isListRecordSavedButUncompleted(e){return!(!e?.saved||e?.saved?.date_completed)}function isListRecordFieldSavedButUncompleted(e,t){return!(!e?.savedFields?.[t]||e?.savedFields[t]?.date_completed)}function isListRecordTombstoned(e){return!!e?.isDeleted}function isMessagePrivate(e){return!(e?.attachments?e?.attachments[0]:void 0)&&!(0,d.ow)(e)&&(0,d.xh)(e)}function isTodoAssigneeColumn({columnKey:e,columnId:t}){return e&&e===s.$.TodoAssignee||t&&"Col01"===t}function isAssignedToMe(e,t){if("on"!==(0,p._Z)(e,"lists_grid_todos"))return!1;let a=(0,_.WR)(e);for(let e of t)if(isTodoAssigneeColumn({columnKey:e.key,columnId:e.column_id}))return(e.user??[]).includes(a);return!1}let isTodosListAndTodosReminderExperimentEnabled=({listId:e,state:t})=>"on"===(0,p._Z)(t,"todos")&&"on"!==(0,p._Z)(t,"lists_todos_rollback")&&(0,h.P)(t,e)},0x1b9d5cc0c:(e,t,a)=>{"use strict";a.d(t,{$S:()=>isAppUser,AO:()=>isMigratedDummyQuipUser,An:()=>getMemberMentionRegExp,Ax:()=>getMemberSalesWinName,BM:()=>getMemberTimezoneOffset,Bz:()=>getMemberStartDate,CG:()=>isConfigurable,I6:()=>getMemberGuestExpiration,Jc:()=>getMemberSkype,K6:()=>getMemberId,KE:()=>hasOutOfOfficeSet,Me:()=>isSlackAiEnabled,NB:()=>isMember,PJ:()=>isTwoFactorAuthEnabled,PV:()=>getAppIdFromMember,Pd:()=>isUnavailable,Ry:()=>getMemberSalesWinCloseDate,TF:()=>isHideable,TS:()=>isActiveOrInvitedMember,Tj:()=>g,To:()=>getMemberSalesWinDate,UA:()=>isOrgDeleted,UM:()=>getMemberStatusExpiration,Vr:()=>has2FAEnabled,XS:()=>getMemberProfileFieldFirstName,Ye:()=>getMemberProfile,ZF:()=>isSsoAuthEnabled,ZX:()=>h,Zd:()=>getMemberIdpGroupIds,_W:()=>isActiveOrGuestMember,a8:()=>getMemberColor,aH:()=>hasCustomStatusSet,aY:()=>getMemberAvatarHash,c2:()=>getProfileImageForMember,eJ:()=>isSuspended,et:()=>getMemberTimezone,fD:()=>getMemberPronouns,fy:()=>isSelf,gd:()=>isInactive,hh:()=>isProfileOnlyUser,jc:()=>getMemberProfileImage48,jm:()=>getMemberProfileFields,kB:()=>getMemberPendingEmail,lQ:()=>getMemberProfileFieldLastName,le:()=>isMemberChannelManager,ls:()=>isActiveMember,mm:()=>isPending,pP:()=>getMemberGuestInvitedBy,po:()=>isBotUser,q4:()=>getMemberProfileStatusEmojiDisplayInfo,qj:()=>getMemberOrgName,r0:()=>isEnterpriseSearchEnabledMemberRule,rG:()=>getMemberSalesWinAmount,rN:()=>getMemberTitle,rP:()=>isForgotten,tJ:()=>isMobileOnlyMember,v3:()=>isWorkflowBot,v8:()=>getMemberPhone,vV:()=>hasRemovalRestriction,wg:()=>getMemberRealName,xJ:()=>hasCustomProfilePhoto,z0:()=>getMemberGuestExpirationTs,zU:()=>isInvitedUser,zY:()=>getMemberEmail});var n=a(0x1aba66b56),r=a(0x16493b4bb),i=a(0x350d87d7),o=a(0xf2964a91),s=a(0x23255e234),l=a(0x1bac8c9e9),c=a(0x1503cc0ff),d=a(0x1aad32b98),u=a(0xa1832ae4),m=a(0x4f725d55),f=a(0x1039c723e),_=a(0x8cb4303a),p=a(0x13a248e19);let h="UREVOKEDU",g="revokeduser";function getMemberColor(e,t){return(0,p.R)(e,t.id)||t.member_color||t.color}function getMemberMentionRegExp(e){return e&&RegExp(`<@(${e})\\b`)}function getMemberStatusExpiration(e){let t=parseInt((e&&e.profile&&e.profile.status_expiration||0).toString(),10),a=Math.round(Date.now()/1e3)+1;return t?Math.max(t,a):t}function getMemberGuestExpiration(e){return e?.guest_expiration??void 0}function getMemberGuestExpirationTs(e){return e?.profile?.guest_expiration_ts??void 0}function getMemberGuestInvitedBy(e){return e?.profile?.guest_invited_by??void 0}function getMemberAvatarHash(e){return e?.profile?.avatar_hash??void 0}function getMemberProfileImage48(e){return e?.profile?.image_48??void 0}function getProfileImageForMember(e,t){if(!e||!e.profile)return null;let a=e.profile.image_512||e.profile.image_192;return t&&e.profile[`image_${t}`]&&(a=e.profile[`image_${t}`]),a&&a.match(/^\//)&&(a=`https://${window.location.hostname}${a}`),a}function getMemberProfileStatusEmojiDisplayInfo(e){return e?.profile?.statusEmojiDisplayInfo}function isMember(e){return!!e&&(0,m.A)(e.id)}function isWorkflowBot(e){return!!(e&&e.is_workflow_bot)}function getAppIdFromMember(e){return(0,i.A)(e)?e&&e.profile&&e.profile.api_app_id:null}function isAppUser(e){return!!(e&&e.is_app_user)}function isSlackAiEnabled(e){return!!(e&&e.slack_ai_enabled)}function isEnterpriseSearchEnabledMemberRule(e){return!!(e&&e.enterprise_search_enabled)}function isSelf(e){return!!(e&&e.is_self)}function isPending(e){return!!(e&&e.is_pending)}function isInactive(e){return!!(e&&e.is_inactive)}function isOrgDeleted(e){return!!(e&&e.is_org_user_deleted)}function isForgotten(e){return!!(e&&e.is_forgotten)}function isSuspended(e){return!!(e&&e.suspended)}function isHideable(e){return!!(e&&!isSelf(e)&&!isProfileOnlyUser(e)&&isActiveMember(e)&&!(0,i.A)(e))}function isBotUser(e){return!!(e&&(e.is_bot||(0,l.U)(e)))}function isInvitedUser(e){return!!(e&&e.is_invited_user)}function isProfileOnlyUser(e){return!!(e&&e.is_profile_only_user)}function hasCustomProfilePhoto(e){return!!(e&&e.profile&&e.profile.is_custom_image)}function isActiveMember(e){return!!e&&!isBotUser(e)&&!(0,l.U)(e)&&!(0,c.C)(e)&&!(0,s.Ez)(e)&&!(0,s.Yd)(e)&&!(0,o.o)(e)&&!isInvitedUser(e)&&!isForgotten(e)}function isTwoFactorAuthEnabled(e){return!!(e&&e.two_factor_auth_enabled)}function isSsoAuthEnabled(e){return!!e?.has_sso_token}function isConfigurable(e){return!!(e&&(e.is_bot&&e.bot_can_be_configured||(0,l.U)(e)))}function isUnavailable(e,t){return!!t&&!!t.team_id&&(0,u.Bg)(e,(0,d.Ux)(e,t))}function hasRemovalRestriction(e,t){return!!e&&!!t&&!!t.id&&(0,_.bz)(e,t.id)}function hasCustomStatusSet(e){return!!(e&&e.profile&&e.profile.status_emoji)}function getMemberProfileFieldFirstName(e){return e&&e.profile&&e.profile.first_name||""}function getMemberProfileFieldLastName(e){return e&&e.profile&&e.profile.last_name||""}function getMemberOrgName(e){return(e&&e.enterprise_user&&e.enterprise_user.enterprise_name)??void 0}function getMemberTitle(e){return(e&&e.profile&&e.profile.title)??void 0}function getMemberPronouns(e){return e?.profile?.pronouns}function getMemberPhone(e){return(e&&e.profile&&e.profile.phone)??void 0}function getMemberEmail(e){return(e&&e.profile&&e.profile.email)??void 0}function getMemberPendingEmail(e){return(e&&e.email_pending&&e.email_pending&&e.email_pending.new_email)??void 0}function getMemberSkype(e){return(e&&e.profile&&e.profile.skype)??void 0}function getMemberTimezone(e){let t=e&&e.tz;return t&&"undefined"!==t?t:null}function getMemberTimezoneOffset(e){return(e&&e.tz_offset)??void 0}function getMemberStartDate(e){return(e&&e.profile&&e.profile.start_date)??void 0}function getMemberSalesWinDate(e){return(e&&e.profile&&e.profile.opportunity_win_date)??void 0}function getMemberSalesWinCloseDate(e){return(e&&e.profile&&e.profile.opportunity_win_close_date)??void 0}function getMemberSalesWinName(e){return(e&&e.profile&&e.profile.opportunity_account_name)??void 0}function getMemberSalesWinAmount(e){return(e&&e.profile&&e.profile.opportunity_win_amount)??void 0}function hasOutOfOfficeSet(e){return!!(e&&e.profile&&(e.profile.ooo_end_date||e.profile.status_text_canonical===r.Q))}function getMemberProfileFields(e){return e&&e.profile&&e.profile.fields}function getMemberProfile(e){return(e&&e.profile)??void 0}function getMemberId(e){return(e&&e.id)??void 0}function getMemberIdpGroupIds(e){return(e&&e.idpgroups)??void 0}function isActiveOrGuestMember(e){return!!e&&!isBotUser(e)&&!(0,l.U)(e)&&!(0,c.C)(e)&&!(0,o.o)(e)&&!isInvitedUser(e)&&!isForgotten(e)}let has2FAEnabled=e=>!!(e&&e.has_2fa),isMemberChannelManager=(e,t,a)=>{let r=(0,f.t)(e,a);return(0,n.A)(r,t)};function isActiveOrInvitedMember(e){return!!e&&!isBotUser(e)&&!(0,s.Ez)(e)&&!(0,s.Yd)(e)&&!(0,l.U)(e)&&!(0,c.C)(e)&&!(0,o.o)(e)&&!isForgotten(e)}function isMobileOnlyMember(e){return!!e?.is_mobile_only}function isMigratedDummyQuipUser(e){return!!(e&&e.is_migrated_dummy_quip_user)}function getMemberRealName(e){return e?.profile?.real_name??""}},0x4cdbb756:(e,t,a)=>{"use strict";a.d(t,{A:()=>getBotIdFromMember});var n=a(0x1b9d5cc0c),r=a(0x350d87d7),i=a(0x4b8e0952),o=a(0x1c2cf8d8f),s=a(0x4f725d55),l=a(0x1cf0d97e1),c=a(0x9b971e7e),d=a(0xca924ee1),u=a(0xd3c3edea),m=a(0x222442a50);let f=(0,a(0x1dfdeb1c8).A)("Fetches raw bot members",async(e,t,{ids:a,updated:n})=>{let r=(0,c.ZT)(t());if(!a||!a.length||!r)return Promise.resolve({members:[]});let i=(0,u.CV)(r,{ids:a,updated:n}),{objects:o,canInteract:s}=await i;return{members:(0,m.o)(o,s,t())}});f.meta={name:"fetchRawBotMembersById",key:"createFetcherFetchRawBotMembersById",description:"Fetches raw bot members"};var _=a(0x1a8cc04e1),p=a(0x1266f1359),h=a(0x1c34649ec);let{addObjects:g,removeObjects:A,clearObjects:b}=h.o1,y=(0,d.A)(()=>new _.Ay({storeKey:"botsMetadata",fetch:(e,t)=>{let a={},n=(0,p.$D)(e);return t.forEach(e=>{a[e]=S(n,e)?.updated||0}),(0,p.Qw)(e,f({ids:t,updated:a,reason:"bots-metadata-store CFM"})).catch(()=>({members:[]})).then(t=>{let{members:a=[]}=t,n=a.map(({id:e,updated:t,profile:{bot_id:a}})=>({id:e,botId:a,updated:t}));(0,p.Qw)(e,g({objects:n}))})},isEnabled:()=>!0,metricsName:"bot-ids"})),maybeRefetch=(e,t)=>y().maybeRefetch(e,t),{getObjectById:S}=h.Tp,E=(0,l.Ay)((e,t)=>{let a=(0,c.ZT)(e);if(a&&(0,s.A)(t))return maybeRefetch(a,t),S(e,t)?.botId});function getBotIdFromMember(e,t){return(0,i.ow)(t)||!(0,r.A)(t)?null:(0,o.HA)(e)?E(e,(0,n.K6)(t)):t&&t.profile&&t.profile.bot_id}E.meta={name:"getBotIdForMemberId",key:"createSelectorGetBotIdForMemberId",description:(e,t)=>{let a=(0,c.ZT)(e);if(a&&(0,s.A)(t))return maybeRefetch(a,t),S(e,t)?.botId}}},0xd2b56b99:(e,t,a)=>{"use strict";a.d(t,{A:()=>getMemberNameByIdWithExternalTeam});var n=a(0x21d85d6e5),r=a(0xdb0ffe37),i=a(0x1aad32b98),o=a(0xa1832ae4),s=a(0xe684f705),l=a(0x1ee439e69);function getMemberNameByIdWithExternalTeam(e,t,a,c){let d=(0,s.nv)(e,t)??void 0,u=(0,n.sE)(e,d,a,c);if((0,r.g)(d)){let t=(0,i.Ux)(e,d),a=(0,l._J)(e,t),n=(0,o.F1)(a);return`${u} (${n})`}return u}},0x82980ab8:(e,t,a)=>{"use strict";a.d(t,{Fh:()=>getMemberProfileFieldDisplayName,Gt:()=>getMemberMentionName,Mu:()=>getMemberSecondaryName,ZL:()=>getMemberEmailNormalizedLc,j_:()=>getMemberRealNameLowerCase,sJ:()=>getMemberProfileFieldDisplayNameLowerCase,wg:()=>getMemberRealName});var n=a(0x1af285d2e);function getUserNameHelper(e,t){return e&&t&&e.profile?.[t]?e.profile?.[t]:"real_name"===t&&e?.real_name?e?.real_name:""}function getMemberNameHelper(e,t){return e&&t?("_real_name_normalized_lc"===t||"_display_name_normalized_lc"===t||"_email_normalized_lc"===t)&&e[t]?e[t]:"real_name"!==t&&"display_name"!==t?"":getUserNameHelper(e,t):""}function getMemberRealName(e){return getUserNameHelper(e,"real_name")}function getMemberRealNameLowerCase(e){return getMemberNameHelper(e,"_real_name_normalized_lc")}function getMemberProfileFieldDisplayName(e){return getUserNameHelper(e,"display_name")}function getMemberProfileFieldDisplayNameLowerCase(e){return getMemberNameHelper(e,"_display_name_normalized_lc")}function getMemberSecondaryName(e,t){let a=getMemberRealName(t),r=getMemberProfileFieldDisplayName(t);return(0,n.E)(e)?r:r?a:""}function getMemberMentionName(e){let t=getMemberProfileFieldDisplayName(e);return t||getMemberRealName(e)}function getMemberEmailNormalizedLc(e){return getMemberNameHelper(e,"_email_normalized_lc")}},0x2378cf6ec:(e,t,a)=>{"use strict";a.d(t,{I:()=>getPrefCompliantMemberNameById});var n=a(0x15f4f83cf),r=a(0x21d85d6e5),i=a(0xe684f705);function getPrefCompliantMemberNameById(e,t,a,o,s,l){let c=(0,i.nv)(e,t,{preferNonExistentToNull:!1,fetchIfMissing:!s})??void 0;return!c||s&&(0,n.mX)(c)?t||"":(0,r.sE)(e,c,a,o,l)}},0x21d85d6e5:(e,t,a)=>{"use strict";a.d(t,{V3:()=>getPrefCompliantMemberNameLowerCase,oj:()=>getPrefCompliantMemberNamePure,sE:()=>getPrefCompliantMemberName});var n=a(0x1e93512b3),r=a(0x20482ad21),i=a(0x82980ab8),o=a(0x1af285d2e),s=a(0xb129c1d5);let l=new r.Ay("members");function getPrefCompliantMemberName(e,t,a,n,r){let i=(r??!0)&&(0,s.a)(e,t?.id)?l.t("Name hidden"):null;return getPrefCompliantMemberNamePure({displayRealNames:(0,o.E)(e),member:t,shouldEscape:!!a,includeAtSign:!!n,memberHiddenText:i})}function getPrefCompliantMemberNamePure({displayRealNames:e,member:t=null,shouldEscape:a=!1,includeAtSign:r=!1,memberHiddenText:o=null}){if(!t)return"";let s=r?"@":"";if(o)return s+o;let l=s+((e?null:(0,i.Fh)(t))||(0,i.wg)(t));return a?(0,n.A)(l):l}function getPrefCompliantMemberNameLowerCase(e,t,a){if(!t)return"";let r=(0,i.j_)(t)||"";return!(0,o.E)(e)&&(0,i.sJ)(t)&&(r=(0,i.sJ)(t)||""),a?(0,n.A)(r):r}},0x21b0fd259:(e,t,a)=>{"use strict";a.d(t,{Jm:()=>isWorkspaceOwner,LF:()=>isWorkspaceAdmin,Z3:()=>isWorkspacePrimaryOwner,j:()=>i,n5:()=>isEnterpriseAdmin,nA:()=>isEnterprisePrimaryOwner,rr:()=>isEnterpriseOwner});var n=a(0x1b9d5cc0c),r=a(0x1c2cf8d8f);let isEnterprisePrimaryOwner=e=>!!(e&&e.enterprise_user&&e.enterprise_user.is_primary_owner),isEnterpriseOwner=e=>!!(e&&e.enterprise_user&&e.enterprise_user.is_owner),isEnterpriseAdmin=e=>!!(e&&e.enterprise_user&&e.enterprise_user.is_admin),isWorkspacePrimaryOwner=(e,t)=>(0,r.HA)(e)?(0,r.qq)(e,(0,n.K6)(t)):!!(t&&t.is_primary_owner),isWorkspaceOwner=(e,t)=>(0,r.HA)(e)?(0,r.u8)(e,(0,n.K6)(t)):!!(t&&t.is_owner),isWorkspaceAdmin=(e,t)=>(0,r.HA)(e)?(0,r.qc)(e,(0,n.K6)(t)):!!(t&&t.is_admin),i=isWorkspaceAdmin},0x1c9a3c4c1:(e,t,a)=>{"use strict";function isAgentforceMember(e){return e?.is_agentforce_bot??!1}a.d(t,{D:()=>isAgentforceMember})},0x24353cea1:(e,t,a)=>{"use strict";a.d(t,{a:()=>isAlwaysActive,c:()=>isAlwaysAway});var n=a(0xf2964a91);function isAlwaysActive(e){return(e&&e.profile&&!(0,n.o)(e)&&e.profile.always_active)??void 0}function isAlwaysAway(e){return!!(e&&e.is_invited_user||(0,n.o)(e))}},0x350d87d7:(e,t,a)=>{"use strict";function isAppOrBot(e){return!!(e&&(e.is_app_user||e.is_bot))}a.d(t,{A:()=>isAppOrBot})},0xf2964a91:(e,t,a)=>{"use strict";function isDeleted(e){return!!(e&&e.deleted)}a.d(t,{o:()=>isDeleted})},0x67343473:(e,t,a)=>{"use strict";a.d(t,{q:()=>isDisconnected});var n=a(0xf2964a91),r=a(0xdb0ffe37);function isDisconnected(e){return(0,r.g)(e)&&(0,n.o)(e)}},0x153b1ae5d:(e,t,a)=>{"use strict";a.d(t,{d:()=>isEnterpriseUser});var n=a(0x21f3c49e8);function isEnterpriseUser(e){return!!(e&&!(0,n.A)(e.enterprise_user))}},0x19c76507b:(e,t,a)=>{"use strict";a.d(t,{i:()=>isExternalById});var n=a(0xdb0ffe37),r=a(0x1ec68d6a3),i=a(0xe684f705);function isExternalById(e,t){let a=(0,i.nv)(e,t)??void 0;return a?(0,n.g)(a):((0,r.default)({state:e}).warn(`Trying to check for external team membership by id (${t}) but member is not present in the model.`),!1)}},0xdb0ffe37:(e,t,a)=>{"use strict";function isExternal(e){return!!(e&&e.isExternal)}a.d(t,{g:()=>isExternal})},0x23255e234:(e,t,a)=>{"use strict";a.d(t,{Ez:()=>isRestricted,P:()=>isGuest,Yd:()=>isUltraRestricted});let isRestricted=e=>!!(e&&e.is_restricted),isUltraRestricted=e=>!!(e&&e.is_ultra_restricted),isGuest=e=>isRestricted(e)},0x1e4dfc7f9:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x1bac8c9e9),r=a(0x1aad32b98),i=a(0xe739523),o=a(0x9b971e7e),s=a(0xe684f705);let __WEBPACK_DEFAULT_EXPORT__=(e,t,a)=>{if(!t||!a||!e)return!1;let l="string"==typeof t?(0,s.nv)(e,t)??void 0:t;if((0,n.U)(l))return!1;let c=(0,o.ZT)(e),d=((0,r.nO)(l,c)?(0,o.Kc)(e):(0,r.Ux)(e,l))??"";return(0,i.A)(e,d,a)}},0x2434bed34:(e,t,a)=>{"use strict";a.d(t,{h:()=>isNativeChannelExpert});var n=a(0x20b4dda68),r=a(0x1b9d5cc0c);let isNativeChannelExpert=e=>"string"==typeof e?e===n.jR:(0,r.K6)(e)===n.jR},0x1bac8c9e9:(e,t,a)=>{"use strict";a.d(t,{U:()=>isSlackbot,n:()=>hasSlackbotId});var n=a(0x20b4dda68);let hasSlackbotId=e=>!!(e&&e.id===n.Q$),isSlackbot=e=>!!(e&&e.is_slackbot)||!!(e&&hasSlackbotId(e))},0x1503cc0ff:(e,t,a)=>{"use strict";a.d(t,{B:()=>hasSlackSecurityBotId,C:()=>isSlackSecurityBot});var n=a(0x20b4dda68);let hasSlackSecurityBotId=e=>!!(e&&e.id===n.cW),isSlackSecurityBot=e=>!!(e&&e.is_slacksecuritybot)||!!(e&&e.id===n.cW)},0x4b8e0952:(e,t,a)=>{"use strict";a.d(t,{ow:()=>isNonExistentMember,tJ:()=>isUnknownMember,ve:()=>isExistentMember,z1:()=>isUnknownOrNonExistentMember});var n=a(0x15f4f83cf);function isUnknownOrNonExistentMember(e){return(0,n.GU)(e)}function isUnknownMember(e){return(0,n.mX)(e)}function isNonExistentMember(e){return(0,n.lv)(e)}function isExistentMember(e){return(0,n.uz)(e)}},0xe5418754:(e,t,a)=>{"use strict";function getMemberManualPresence(e){return e?e.manual_presence:null}function getMemberFirstLogin(e){return e?e.first_login:null}function getSlackAiEnabled(e){return e?e.slack_ai_enabled:null}function getEnterpriseSearchEnabled(e){return e?e.enterprise_search_enabled:null}a.d(t,{E8:()=>getMemberManualPresence,Ht:()=>getEnterpriseSearchEnabled,Yv:()=>getSlackAiEnabled,yF:()=>getMemberFirstLogin})},0x1aad32b98:(e,t,a)=>{"use strict";a.d(t,{C_:()=>isOnlyEnabledOnThisTeam,D5:()=>getTeamIdFromAppOrBotProfile,HI:()=>getMemberWorkspaces,Jy:()=>isEnabledOnZeroTeams,NC:()=>getMemberWorkspacesInCommon,QI:()=>getTopLevelTeamIdFromMember,Ux:()=>getTeamIdForMember,dQ:()=>getTeamIdFromMember,nO:()=>isMemberOfTeam});var n=a(0x1aba66b56),r=a(0x21da4684a),i=a(0x1df96de4c),o=a(0x350d87d7),s=a(0x1bac8c9e9),l=a(0x9b971e7e);let getTeamIdFromMember=e=>e?.team_id,getTopLevelTeamIdFromMember=e=>e?.enterprise_id||e?.team_id,getTeamIdFromAppOrBotProfile=e=>(0,o.A)(e)?e?.profile?.team:getTeamIdFromMember(e),getMemberWorkspaces=e=>e?.enterprise_user?.teams??(0,i.B4)(),isMemberOfTeam=(e,t)=>!!e&&!!t&&(getTeamIdFromMember(e)===t||(0,n.A)(getMemberWorkspaces(e),t)),isEnabledOnZeroTeams=e=>!!(e&&e.enterprise_user&&e.enterprise_user.teams&&0===e.enterprise_user.teams.length),isOnlyEnabledOnThisTeam=e=>!!(e&&e.enterprise_user&&e.enterprise_user.teams&&e.enterprise_user.teams.length<=1),getTeamIdForMember=(e,t)=>{let a=(0,l.ZT)(e);return isMemberOfTeam(t,a)||(0,s.U)(t)?a??"":getTeamIdFromMember(t)??""},getMemberWorkspacesInCommon=(e,t)=>{if(e&&t){if(e.enterprise_user&&t.enterprise_user){let a=getMemberWorkspaces(e),n=getMemberWorkspaces(t);return(0,r.A)(a,n)}let a=e.team_id;if(a===t.team_id)return[a]}return[]}},0x21d6ed371:(e,t,a)=>{"use strict";a.d(t,{$2:()=>J,$Q:()=>isArchivedDocumentComment,AT:()=>hasMeaninglessSentTs,CO:()=>getMessagePurpose,Cc:()=>isMsgHistoryLimited,Cy:()=>isDocumentUnfurl,DL:()=>getAssociatedMessageTs,DY:()=>isUnprocessedMsg,Ds:()=>isCanvasShareMessage,EH:()=>isCalendarEventMessage,F0:()=>isDocumentCommentVisible,F6:()=>getUserId,GO:()=>isScheduledHuddleCanceledMsg,Gs:()=>isSaved,HT:()=>getMessageName,Hr:()=>getMessageMemberId,I8:()=>isHuddleNoteMsg,If:()=>getMessageAttachments,J3:()=>getReplyUsersCount,K0:()=>Y,KG:()=>isJoinLeave,M$:()=>getLatestReply,M8:()=>getMessageEditedTs,N:()=>getLastMessageByMember,N$:()=>canRunAppAction,NL:()=>hasAttachments,NZ:()=>isInviteForCurrentUser,O1:()=>getAgentResponseParentMessageInfo,Oh:()=>Q,P5:()=>getMessageText,P9:()=>isSavedButUncompleted,Qd:()=>shouldNameMessageAuthorInCanvasUnfurl,Sd:()=>isSlackbotAi,TD:()=>shouldPersistMessage,U8:()=>isMessageEditedByMember,UM:()=>isAgentMessageWithFeedback,UV:()=>getReplyCount,Vd:()=>isHiddenListRecordMessage,WL:()=>containsAtCommand,WY:()=>getMessageChannelId,Y$:()=>getRemovableFileIds,YH:()=>getLastReadReplyTs,YQ:()=>hasFiles,Z:()=>getMessageMentions,ZO:()=>isCustomResponse,Zz:()=>getSlackbotFeels,_W:()=>isAiAssistantInitialMsg,_b:()=>getSourceTeamId,_t:()=>isCanvasShareMessageWithFiles,aH:()=>isListEditMsg,aN:()=>isHiddenInThread,aw:()=>isEphemeral,dG:()=>isJoinerNotification,dK:()=>isHidden,fo:()=>isFile,gP:()=>canCopyLink,gT:()=>getMessagePinnedInfo,hk:()=>isDisconnectedFeedback,iM:()=>hasMessageBlocks,j1:()=>canBeShared,jX:()=>isRoot,kT:()=>getMessageOldName,kZ:()=>getCanvasRootLastSeen,kk:()=>canAddReminder,lE:()=>constructAbsoluteMsgPermalink,lO:()=>isDocumentCommentRootMessageWithoutComment,lT:()=>isSlackAssistantProgressMsg,ln:()=>isLocked,m2:()=>isStarred,mb:()=>isHuddleMsg,nM:()=>isActionable,nZ:()=>shouldDisplayAsEdited,nm:()=>getReplyUsers,oq:()=>getMessageBotId,ow:()=>isMessageUnknown,pm:()=>isJoinerNotificationForInviter,qL:()=>isAiAssistantRootMsg,qe:()=>getMessageAttachmentImage,qu:()=>containsSlackLink,rx:()=>isListRecordRootMsg,s_:()=>extractCalendarEventIds,t0:()=>getMentionIdsFromBlocks,tH:()=>isSlackbotNotification,tO:()=>getMessageTopic,uk:()=>constructMsgPermalink,up:()=>isSlackbotAiThinking,vZ:()=>isFromCurrentUser,w9:()=>containsAtChannel,x2:()=>richTextMessageContainAnyMention,xS:()=>shouldRenderBlocksInsteadOfText,xh:()=>isMessageNonExistent,y7:()=>Z,yG:()=>getMpdmMoveInfo,z5:()=>getSalesforceMentionName,zh:()=>isDocumentCommentRead,zv:()=>isScheduledHuddleMsg});var n=a(0x1aba66b56),r=a(0x20bafd237),i=a(0x77727995),o=a(0x21f3c49e8),s=a(0x839ba347),l=a(0xe0376d2),c=a(0xe1870af4),d=a(0x1e2051844),u=a(0x20b4dda68),m=a(0x195d5c868),f=a(0x8c8bafa3),_=a(0x1d5f57074),p=a(0xc4e87e00),h=a(0x1a65aae75),g=a(0x16cd5ae97),A=a(0xd4353fc8),b=a(0x1d5104085),y=a(0x14840bf59),S=a(0x10027d8bc),E=a(0x15f4f83cf),k=a(0x2434bed34),T=a(0x1b0a362c3),I=a(0x15c7516a2),w=a(0x203beba52),C=a(0x12d1ec34),v=a(0x1c24816a5),x=a(0x1c8b9de2f),R=a(0xd0109e4f),O=a(0xd2efd513),N=a(0x1337d9fa2),D=a(0xa1832ae4),L=a(0x15ebe2ca0),M=a(0x5d26167d),F=a(0x3c9eceea),P=a(0x1ed767a16);a(0x3711e82d);var U=a(0x6960d8b9),B=a(0x12256831),G=a(0x2174d91c0),H=a(0x2048e7b71);a(0xb04c4a12);var W=a(0x10079cc7),V=a(0x22ec45147),j=a(0x1ccef1c6f),K=a(0x181aa15e6),q=a(0x131daede6),z=a(0x20aae6d9e),$=a(0x2244f10f);let Y=/<!everyone\b/,Q=/<!channel\b/,Z=/<!group\b/,J=/<!here\b/,X=/<!sf:(\w+?)>/,isMessageUnknown=e=>(0,E.mX)(e),isMessageNonExistent=e=>(0,E.lv)(e);function isEphemeral(e){return!!(e&&e.is_ephemeral)}function isArchivedDocumentComment(e){return!!e?.document_comment?.is_archived}function getCanvasRootLastSeen(e){let t=e?.document_comment?.last_seen;return t||Number.isInteger(t)?t:null}function getAssociatedMessageTs(e){let t=e?.canvas_original_message_ts;return t||(isEphemeral(e)?e?.attachments?.[0]?.ts:void 0)}function isDocumentCommentRead(e){let t=getCanvasRootLastSeen(e);return e?.latest_reply&&null!==t?(0,B.A)(e.latest_reply)===t:null}function isDocumentCommentVisible(e){return e?.document_comment?.is_visible}function isJoinLeave(e){return!!e&&(0,n.A)(["channel_join","channel_leave","group_join","group_leave"],e.subtype)}function isJoinerNotification(e){return!!e&&(0,n.A)(["joiner_notification_for_inviter","joiner_notification"],e.subtype)}function isJoinerNotificationForInviter(e){return!!e&&(0,n.A)(["joiner_notification_for_inviter"],e.subtype)}function shouldPersistMessage(e){return e&&!isEphemeral(e)&&!(0,O.A)(e)}function isHidden(e){return!!e&&!!(isMessageNonExistent(e)||"no_display"in e&&e.no_display||"_hidden_reply"in e&&e._hidden_reply||(0,z.D)(e))}function isHiddenInThread(e){return!!e&&!!(isMessageNonExistent(e)||e.no_display||(0,z.D)(e))}function isStarred(e){return!!(e&&e.is_starred||e?.comment&&e?.comment.is_starred)}function isSaved(e){return!!e?.saved}function isSavedButUncompleted(e){return!(!e?.saved||e?.saved?.date_completed)}function isFile(e){return!!e&&(0,C.A)(e.subtype)}function hasFiles(e){return!!(e&&e.files)}function hasAttachments(e){return(e?.attachments?.length??0)>0}function hasMessageBlocks(e){return!!(e&&e.blocks&&e.blocks.length>0)}let isCalendarEventMessage=e=>!!e?.attachments?.filter(e=>e.calendar_event)?.length,extractCalendarEventIds=e=>e?.attachments?.find(e=>e.calendar_event)?.calendar_event;function shouldRenderBlocksInsteadOfText(e){return e&&isCanvasShareMessage(e)?!e.files:!(e&&(0,N.gA)(e)||e&&(0,N.Lo)(e)||e&&(0,w.A)(e?.subtype))&&!(isHuddleMsg(e)||isHuddleNoteMsg(e)||isScheduledHuddleMsg(e)||isScheduledHuddleCanceledMsg(e)||isListRecordRootMsg(e)||isCalendarEventMessage(e)||(0,y.dU)(e))&&hasMessageBlocks(e)}function isRoot(e){if(!e)return!1;let t=(0,I.j)(e),a=(0,T.L)(e);return!!a&&a===t}function isLocked(e){return!!(e&&e?.is_locked)}function isFromCurrentUser(e,t){return e.user===t||e.comment&&e.comment.user===t}function isDisconnectedFeedback(e){return e.is_ephemeral&&"bot_message"===e.subtype&&"disconnected_feedback"===e._ephemeral_type}function getLastReadReplyTs(e){if(e.latest_reply)return e.latest_reply;if(e.replies&&e.replies.length){let t=e.replies;return t[t.length-1].ts}return e.ts}function getMessageChannelId(e){return e&&e.channel||void 0}function getReplyCount(e){return e&&e.reply_count||0}function getReplyUsers(e){return e&&e.reply_users||[]}function getReplyUsersCount(e){return e&&e.reply_users_count||0}function getLatestReply(e){if(!e)return null;if(e.latest_reply)return e.latest_reply;let t=(0,r.A)(e.replies);return(0,i.A)(t,"ts")}function getMessageTopic(e){return e?e.topic:""}function getMessagePurpose(e){return e?e.purpose:""}function getMessageOldName(e){return e?e.old_name:""}function getMessageName(e){return e?e.name:""}function getMessageMemberId(e){return e?e.user:null}function getMessageBotId(e){return e?e.bot_id:null}function getSourceTeamId(e){return e?e.source_team_id||e.team:null}function getMessageEditedTs(e){return e&&e.edited&&e.edited.ts}function isMessageEditedByMember(e){return e?.edited?.user!==u.Q$}function shouldDisplayAsEdited(e){return!!e&&(!e.document_comment||!!isArchivedDocumentComment(e))&&!!getMessageEditedTs(e)}function isMsgHistoryLimited(e,t){if(!t||!(0,D.tc)(t))return!1;let a=(0,U.$4)(e?.ts);return(0,m.A)(new Date,a,{units:"days",useFractionalUnits:!0})>=W.RF}function isUnprocessedMsg(e){return(0,O.A)(e)&&!isEphemeral(e)}function isActionable(e){return!(!e||isMessageUnknown(e)||(0,N.s7)(e)||(0,N.Dv)(e)||(0,N.TD)(e)||e.isEKMError||(0,x.k)(e))&&!(isEphemeral(e)||(0,N.aK)(e)||(0,v.o)(e)||(0,O.A)(e))}function canRunAppAction(e){if((0,N.m)(e))return!1;let t=(0,N.ys)(e);return isActionable(e)&&(!t||(0,n.A)(["bot_message","thread_broadcast"],t))}function canAddReminder(e,{message:t}){if((0,N.m)(t)||isEphemeral(t))return!1;let a=(0,N.ys)(t);return!!(!a||(0,S.gT)(e)&&"ai"===a&&t?.user===u.Q$)||["bot_message","file_share","file_mention","file_comment","me_message","reply_broadcast","thread_broadcast","story_share","async_meeting"].includes(a)}function canCopyLink(e,{message:t}){if((0,N.m)(t))return!1;let a=!1;return t&&!t.is_ephemeral&&(0,P.tD)()&&(a=!0,((0,N.aK)(t)||(0,v.o)(t)||(0,N.Iu)(t)&&t.user!==u.Q$&&!(0,k.h)(t.user))&&(a=!1),(0,x.k)(t)&&(a=!1)),a}function isInviteForCurrentUser(e,t){return"channel_join"===e.subtype&&!!e.inviter&&e.user===t||"group_join"===e.subtype&&!!e.inviter&&e.user===t}let getDefaultMentions=()=>({broadcasts:new Set,channelIds:[],userIds:[],userGroupIds:[],messageIds:[],fileIds:[],canvasSectionIds:[],listRecordIds:[]});function getMentionIdsFromBlocks(e,t){let a=getDefaultMentions(),n=(0,A.U)(t);if(!n||0===n.length||(0,o.A)(n?.[0]?.elements))return a;let r={...a};function getMentions(e){e.forEach(e=>{switch(e.type){case p.Lv.CHANNEL:r.channelIds.push(e.channel_id);break;case p.Lv.USER:r.userIds.push(e.user_id);break;case p.Lv.USERGROUP:r.userGroupIds.push(e.usergroup_id);break;case p.Lv.BROADCAST:r.broadcasts.add(e.range);break;case p.Lv.MESSAGE_MENTION:"channel_id"in e&&e.channel_id&&r.channelIds.push(e.channel_id),"author_id"in e&&e.author_id&&r.userIds.push(e.author_id),r.messageIds.push({channelId:e.channel_id,ts:e.message_ts});break;case p.Lv.CANVAS:r.fileIds.push(e.file_id),e.section_id&&r.canvasSectionIds.push((0,K.l)(e.file_id,e.section_id));break;case p.Lv.FILE:r.fileIds.push(e.file_id);break;case p.Lv.LIST_RECORD:r.fileIds.push(e.file_id),e.record_id&&r.listRecordIds.push((0,q.s2)(e.file_id,e.record_id))}})}for(let e of n)for(let t=0;t<e.elements.length;t++){let a=e.elements[t];if(a.type===p.Lv.LIST)for(let e=0;e<a.elements.length;e++)getMentions(a.elements[e].elements);else getMentions(a.elements)}return r}function getMessageMentions(e,t){if((0,R.A)(t,!0)){let a=getRichTextMentions(e,t);return(0,g.L)(t?.blocks)?a:mergeMentions(a,getNonRichTextMentions(t))}return getNonRichTextMentions(t)}function getNonRichTextMentions(e){let t=getDefaultMentions();if(!e||!e?.text)return t;let a=(0,H.sm)(e.text,"EDIT"),n=(0,G.A)(a);return(0,s.A)(n,e=>{switch(e?.type){case"member":t.userIds.push(e?.id);break;case"channel":t.channelIds.push(e?.id);break;case"command":{let a=e?.data?.type;a&&("subteam"===a?t.userGroupIds.push(e.data?.id):(0,F.S)(a)&&t.broadcasts.add(a))}}}),t}function getRichTextMentions(e,t){return(0,R.A)(t,!0)?getMentionIdsFromBlocks(e,t?.blocks):getDefaultMentions()}function mergeMentions(e,t){return{broadcasts:new Set([...e.broadcasts,...t.broadcasts]),channelIds:(0,l.A)([...e.channelIds,...t.channelIds]),userIds:(0,l.A)([...e.userIds,...t.userIds]),userGroupIds:(0,l.A)([...e.userGroupIds,...t.userGroupIds]),messageIds:(0,l.A)([...e.messageIds,...t.messageIds]),fileIds:(0,l.A)([...e.fileIds,...t.fileIds]),canvasSectionIds:(0,l.A)([...e.canvasSectionIds,...t.canvasSectionIds]),listRecordIds:(0,l.A)([...e.listRecordIds,...t.listRecordIds])}}function richTextMessageContainAnyMention(e){let t=e?.blocks?.[0];if(!t)return!1;let a=!1;function checkChunkForAnyMention(e){return!!a||(e.some(e=>(e.type===p.Lv.USER||e.type===p.Lv.USERGROUP||e.type===p.Lv.BROADCAST)&&(a=!0,!0)),a)}for(let e=0;e<t.elements.length&&!a;e++){let a=t.elements[e];if(a.type===p.Lv.LIST)for(let e=0;e<a.elements.length&&!checkChunkForAnyMention(a.elements[e].elements);e++);else checkChunkForAnyMention(a.elements)}return a}function canBeShared(e){return!(0,N.m)(e)&&isActionable(e)}function getMessagePinnedInfo(e){if(!e||!e.pinned_info)return null;let{pinned_by:t,pinned_ts:a}=e.pinned_info;return t||a?{pinnedBy:t,pinnedTs:a}:null}function getRemovableFileIds(e){return e.x_files||[]}function getMessageText(e){return e?.text}function getMessageAttachments(e){return e.attachments}function getMessageAttachmentImage(e,t){return!(0,j.ty)(e,"expand_inline_imgs")||(0,$.FD)(e,"no_text_in_notifications")?null:t.attachments&&t.attachments.length>0&&t.attachments[0].image_url}let getUserId=e=>e?.user;function containsAtCommand(e){return!!e&&(!!Z.test(e)||Object.values(L.N).some(t=>"here"!==t.ms_name&&e.includes(t.cmd)))}function containsAtChannel(e){return!!e&&Q.test(e)}function getSalesforceMentionName(e){if(!e)return null;let t=X.exec(e)?.[1];return t&&(0,M.A)(`BKsf:${t}`)?.name||null}function getLastMessageByMember(e,t){let a=(0,c.A)(e,"ts","desc");return(0,d.A)(a,e=>{if(!e)return!1;let a=(0,N.ys)(e);return(!a||"me_message"===a||"thread_broadcast"===a)&&e.user===t})}function constructMsgPermalink(e,t,a){let n=`/archives/${e}/p${(t||"").replace(".","")}`;return a&&a!==t?`${n}?thread_ts=${a}&cid=${e}`:n}function constructAbsoluteMsgPermalink({teamDomain:e,channelId:t,ts:a,threadTs:n}){let r=constructMsgPermalink(t,a,n);if("string"==typeof e)return`https://${e}.${(0,f.Xk)()}${r}`;let i=(0,D.Zl)(e);return i="/"===i[i.length-1]?i.slice(0,-1):i,`${i}${r}`}let containsSlackLink=e=>{if(!e||!e.blocks||!e.blocks.length)return!1;let t=!1,a=!1;return e.blocks.forEach(e=>{e.type===p.Lv.RICH_TEXT&&e.elements.forEach(e=>{t||e.type===p.Lv.SECTION&&e.elements.forEach(e=>{if(!t&&e.type===p.Lv.LINK){var n;let r;a=!0,n=e.url,r=(0,_.Ay)(n),t=(0,V.A)(r.hostname)||h.X.includes(r.protocol)}})})}),{hasLink:a,hasSlackLink:t}};function isHuddleMsg(e){return!!e&&!!e.room_id&&(!e.subtype||(0,N.SM)(e)||(0,N.kn)(e))}function isScheduledHuddleMsg(e){return!!e&&"scheduled_huddle_message"===e.subtype}function isScheduledHuddleCanceledMsg(e){return!!e&&"scheduled_huddle_canceled"===e.subtype}function isSlackAssistantProgressMsg(e){return!!e&&e?.subtype==="slack_assistant_progress"}function isHuddleNoteMsg(e){return!!e&&"huddle_notes_started"===e.subtype}function isDocumentUnfurl(e){return!!e&&"document_unfurl"===e.subtype}function getMpdmMoveInfo(e){return e&&"mpdm_move"===e.subtype?e.mpdm_move:null}function isListRecordRootMsg(e){return!!e&&!!e.slack_list&&"list_record_comment"===e.subtype}function isListEditMsg(e){return!!e&&!!e.list_edit&&"list_edit"===e.subtype}function isAiAssistantRootMsg(e){return!!e&&"assistant_app_thread"===e.subtype}function isAiAssistantInitialMsg(e){return!!e&&"assistant_app_initial_thread"===e.subtype}function isHiddenListRecordMessage(e,t=[]){return!!e&&!!t.length&&!!(e.list_edit&&"list_edit"===e.subtype&&t.includes(b.$o.HideEditHistory)||!e.list_edit&&!e.subtype&&t.includes(b.$o.HideMessages))}function hasMeaninglessSentTs(e){return!!e&&(0,N.O0)(e)}function isCanvasShareMessage(e){return e?.subtype==="canvas_sharing_message"}function isCanvasShareMessageWithFiles(e){return e?.subtype==="canvas_sharing_message"&&!!e.files&&e.files.length>0}function isDocumentCommentRootMessageWithoutComment(e){return!!e&&(0,N.O0)(e)&&0===getReplyCount(e)}function shouldNameMessageAuthorInCanvasUnfurl(e){return!!e&&!(0,N.O0)(e)}let isSlackbotAi=e=>!!e&&e.user===u.Q$&&(e.ai_context?.type==="slackbot_ai"||"ai"===e.subtype),getSlackbotFeels=e=>e&&isSlackbotAi(e)&&e.ai_context?.result_status==="failed"?"sad_surprise":null,isSlackbotNotification=e=>!(!e||isSlackbotAi(e))&&e.user===u.Q$,isCustomResponse=e=>!!e&&"slackbot_response"===e.subtype&&e.user===u.Q$,isSlackbotAiThinking=e=>{if(e&&isSlackbotAi(e)){let t=e.ai_context?.result_status;return"streaming"===t||"pending"===t}return!1};function isAgentMessageWithFeedback(e){return!!e?.show_agentforce_feedback}function getAgentResponseParentMessageInfo(e){if(e&&e.ai_context)return{channelId:e.ai_context?.parent_channel_id,messageTs:e.ai_context?.parent_message_ts}}},0xe6678816:(e,t,a)=>{"use strict";a.d(t,{A:()=>blocksContainMention});var n=a(0x658a411c),r=a(0x20b4dda68),i=a(0x18d46d308);function blocksContainMention(e,t){return(0,n.A)(e,e=>blockContainsMention(e,t))}function blockContainsMention(e,t){switch(e.type){case r.WP.section:case r.WP.header:if(e.text&&elementContainsMention(e.text,t)||e.fields&&elementsContainMention(e.fields,t))return!0;break;case r.WP.context:if(e.elements&&elementsContainMention(e.elements,t))return!0}return!1}function elementContainsMention(e,t){return e.type===r.ze.mrkdwn&&(0,i.A)({text:e.text,...t})}function elementsContainMention(e,t){return(0,n.A)(e,e=>elementContainsMention(e,t))}},0x46aa31ce:(e,t,a)=>{"use strict";a.d(t,{A:()=>canAddReaction});var n=a(0x245dcaf6b),r=a(0xbd3de346),i=a(0xe8efe2c1),o=a(0x21d6ed371),s=a(0x1b0a362c3),l=a(0x10071dab2),c=a(0x1944fd4df),d=a(0x1337d9fa2),u=a(0x1b154a8c4),m=a(0x217553e42),f=a(0x14ea3ce99);function canAddReaction(e,t){if(!t||!(0,o.nM)(t)||(0,d.m)(t))return!1;if((0,c.l)(e,t)){let a=(0,i.f)(e,t.channel),n=(0,f.Lp)(e,a);if(!(0,r.mW)(n))return!1}let a=(0,m.OL)(e,t.channel);if((0,n.Zz)(a)||(0,u.M)(a))return!1;let _=(0,s.L)(t);return!(_&&(0,l.A)(e,{threadTs:_,channelId:a?a.id:""}))}},0xeeadf100:(e,t,a)=>{"use strict";a.d(t,{A:()=>can_channel_have_at_channel_mentions});var n=a(0x12185e091),r=a(0x21d145283),i=a(0x71e68ec7),o=a(0x5738b4bc),s=a(0x217553e42),l=a(0x8baf11b5),c=a(0x2244f10f);let can_channel_have_at_channel_mentions=function(e,t){if((0,n.LI)(t))return!1;if((0,r.N)(t)&&!(0,o.c)(e,(0,s.W2)(e)))return!0;let a=(0,i.gn)(e,t.id),d=(0,l.B)(e,t.id);return"everything"===a&&!d||!(0,c.aG)(e,t.id,"suppress_at_channel")}},0x1a837c63b:(e,t,a)=>{"use strict";a.d(t,{A:()=>canCountAsUnreadForCurrentUser});var n=a(0x1aba66b56),r=a(0x21d6ed371);let i=["channel_canvas_updated_unread_ignore","tabbed_canvas_updated_unread_ignore","channel_join","channel_leave","group_join","group_leave","huddle_message","huddle_thread","mpim_notify_disabled","app_conversation_join","app_conversation_leave","app_conversation_created","channel_tab_added_unread_ignore","folder_item_added_unread_ignore"];function canCountAsUnreadForCurrentUser(e,t){return!(0,r.dK)(e)&&(!!(0,r.NZ)(e,t)||!(e.user===t||e.comment&&e.comment.user===t||(0,n.A)(i,e.subtype))&&!e.dnd_suppressed)}Object.defineProperty({},"ignoredMessageTypes",{get:()=>i})},0x10dfcca9d:(e,t,a)=>{"use strict";a.d(t,{_:()=>canEditMessage});var n=a(0x21f3c49e8),r=a(0x20b4dda68),i=a(940089e4),o=a(0x10027d8bc),s=a(0x114ffe897),l=a(0xc1963a64),c=a(0x21d6ed371),d=a(0x1b0a362c3),u=a(0x658a411c);function hasEventBlock(e){return!!e&&(0,u.A)(e,e=>e.type===r.WP.event)}function hasEventBlockInMessage(e){return!!e&&(!!hasEventBlock(e.blocks)||!!e.attachments&&(0,u.A)(e.attachments,e=>hasEventBlock(e.blocks)))}var m=a(0x203beba52),f=a(0x1c24816a5),_=a(0x158809687),p=a(0xd2efd513),h=a(0x10071dab2),g=a(0x5738b4bc),A=a(0xad417b9),b=a(0x42a4b4de);function canEditMessage(e,t,a,u,y){if(!t||!a||!u||void 0===y||a.user!==t||(0,s.D)(u)&&(0,o.gT)(e)||(0,m.A)(a.subtype)||(0,c.fo)(a)||"reply_broadcast"===a.subtype||"tombstone"===a.subtype||(0,f.o)(a)||"bookmark_created"===a.subtype||"bookmark_removed"===a.subtype||a.blocks&&a.blocks.length>0&&(1===a.blocks.length&&a.blocks[0].type!==r.WP.rich_text||a.blocks.length>1)||(0,b.u)(e)&&!(0,n.A)(a.pendingFiles))return!1;if((0,l.V)(e,u))return!0;if(0===y||y>-1&&(Date.now()-(0,i.A)(a.ts))/6e4>y||(0,_.n)(a)&&!(0,A.X)(e,u.id)||!(0,_.n)(a)&&!(0,g.E)(e,u.id))return!1;let S=(0,d.L)(a);return!(S&&(0,h.A)(e,{threadTs:S,channelId:u.id})||hasEventBlockInMessage(a)||(0,p.A)(a))}},0x10c60dabc:(e,t,a)=>{"use strict";a.d(t,{c:()=>canMsgMentionChannelIfMention});var n=a(0x16cd5ae97),r=a(0x6badb612),i=a(0x21d6ed371),o=a(0xe6678816),s=a(0xd0109e4f),l=a(0x1902586d8),c=a(0x9b971e7e),d=a(0x19c76d181);function checkTextForMention(e,t){return!(e.text&&(i.K0.test(e.text)||i.Oh.test(e.text)||i.y7.test(e.text)||i.$2.test(e.text)||e.blocks&&(0,o.A)(e.blocks,t)))}function canMsgMentionChannelIfMention({state:e,msg:t,channelId:a,userId:i}){if(!(0,d.u8)(e))return!0;let o={msg:t,memberId:i,teamId:(0,c.ZT)(e),options:{ignoreUserAndUserGroupMentions:!0,ignoreHighlightWords:!0}},u=(0,s.A)(t,!0);if((0,n.L)(t.blocks)){if(!(0,l.Xt)(t,o))return!0}else if(u){if(!(0,l.Xt)(t,o)&&checkTextForMention(t,o))return!0}else if(checkTextForMention(t,o))return!0;return!(0,r.i)(e,a,{relatedMemberId:i})}},0x18d46d308:(e,t,a)=>{"use strict";a.d(t,{A:()=>checkForMention});var n=a(0x1b9d5cc0c),r=a(0x21d6ed371),i=a(0x158809687),o=a(0x61f75169),s=a(0x687556ae);function checkForUserGroupMention(e,t){let a=new RegExp(o.i_),n=a.exec(t);for(;n;){let r=n[1];if((0,s.nc)(e,r))return!0;n=a.exec(t)}return!1}var l=a(0x22a75d737),c=a(0x1266f1359),d=a(0x14149c126);function checkForMention({text:e,msg:t,memberId:a,highlightWords:o,teamId:s,options:u}){if(!e)return!1;let m=(0,i.n)(t);if(!u.ignoreUserAndUserGroupMentions&&a){let t=(0,n.An)(a);if(t&&t.test(e))return!0}if(!u.ignoreAtHereMentions&&r.$2.test(e)||!u.ignoreAtEveryoneMentions&&!m&&r.K0.test(e)||!u.ignoreAtChannelMentions&&!m&&r.Oh.test(e)||!u.ignoreAtChannelMentions&&!m&&r.y7.test(e))return!0;let f=(0,c.$D)(s),_="on"===(0,d._Z)(f,"notify_for_at_user_mentions_in_muted_channels"),p=checkForUserGroupMention(f,e);return!u.ignoreUserGroupMentions&&!!p&&!!_||!!p&&!_||!u.ignoreHighlightWords&&!!((0,l.Ay)(e,o).length>0)}},0x1b21facf3:(e,t,a)=>{"use strict";a.d(t,{I:()=>containsMention});var n=a(0x16cd5ae97),r=a(0x658a411c),i=a(0xe6678816),o=a(0x18d46d308);function attachmentsContainMention(e,t){return(0,r.A)(e,e=>!e.from_url&&(!!((0,o.A)({text:e.title,...t})||(0,o.A)({text:e.pretext,...t})||(0,o.A)({text:e.text,...t})||(0,o.A)({text:e.footer,...t})||e.blocks&&(0,i.A)(e.blocks,t))||(0,r.A)(e.fields,e=>(0,o.A)({text:e.value,...t}))))}var s=a(0xd0109e4f),l=a(0x1902586d8);function containsMention(e,t,a,r,c={ignoreAtHereMentions:!1,ignoreHighlightWords:!1,ignoreAtEveryoneMentions:!1,ignoreAtChannelMentions:!1,ignoreUserAndUserGroupMentions:!1,ignoreUserGroupMentions:!1}){if("pinned_item"===e.subtype)return!1;let d={msg:e,memberId:t,highlightWords:a,teamId:r,options:c},u=!!e.blocks,m=(0,s.A)(e,!0),f=(0,n.L)(e.blocks);return!!(!m&&!u&&(0,o.A)({text:e.text,...d})||!f&&u&&(0,i.A)(e.blocks,d)||m&&(0,l.Xt)(e,d)||e.attachments&&attachmentsContainMention(e.attachments,d))}},0x2cd13c8a:(e,t,a)=>{"use strict";a.d(t,{A:()=>getLastMessagesInChannel});var n=a(0x1595bdd0),r=a(0x20ef3966f),i=a(0x9e026186),o=a(0x17294c72a),s=a(0xb90908),l=a(0x1a0a2c304),c=a(0x21d6ed371),d=a(0x46aa31ce),u=a(0xc561af5),m=a(0xd93ecf94);function getLastMessagesInChannel(e,t,a=5){let f=(0,u.tp)(e,t);if(!f||!f.timestamps)return null;let _=(0,m.h8)(e,t),p=(0,l.A)((0,n.A)((0,r.A)(f.timestamps,e=>_[e])));return(0,i.A)((0,o.A)((0,s.A)(p.messages,t=>(0,c.dK)(t)||!(0,d.A)(e,t)),"ts"),a)}},0x1b0a362c3:(e,t,a)=>{"use strict";function getMessageThreadTs(e){return e&&e.thread_ts||void 0}a.d(t,{L:()=>getMessageThreadTs})},0x15c7516a2:(e,t,a)=>{"use strict";function getMessageTs(e){return e&&e.ts||void 0}a.d(t,{j:()=>getMessageTs})},0xa88049da:(e,t,a)=>{"use strict";a.d(t,{A:()=>getMsgSenderEntity});var n=a(0x77727995),r=a(0x1ee15af19),i=a(0x20b4dda68),o=a(0x20482ad21),s=a(0xf9cb31c6);let l=new o.Ay("huddles");var c=a(0xd2b56b99),d=a(0x19c76d181);let u=new o.Ay("huddles");var m=a(0x12185e091),f=a(0xebdd009e),_=a(0x217553e42),p=a(0x21c11a1dc);let h=new o.Ay("huddles");var g=a(0x10027d8bc),A=a(0xbc76db4d),b=a(0xbd3de346),y=a(0x4cdbb756),S=a(0x21d6ed371),E=a(0x1337d9fa2),k=a(0xa1832ae4),T=a(0x9b971e7e),I=a(0x18476a827),w=a(0x14ea3ce99),C=a(0xe684f705),v=a(0xd93ecf94),x=a(0x1ee439e69);let R=new o.Ay("assistant");function getMsgSenderEntity(e,t,a){let o=t.user||(0,n.A)(t,"comment.user"),O=t.document_comment;O&&(O.most_recent_editor?o=O.most_recent_editor:O.authors&&O.authors.length>0&&(o=O.authors[0]));let N=t.username,D=null,L=t.file||(0,r.A)(t.files),M=a||(L?(0,w.Lp)(e,L):null),F=t.bot_id||M&&M.bot_id;if(!F){let t=(0,C.nv)(e,o);F=(0,y.A)(e,t)??void 0}let P=null;F&&(P=(D=(0,I.AF)(e,F))?D.app_id:null);let U=(0,A.l)(e),B=(0,g.ZV)(e),G=(0,g.gT)(e);if((0,S.mb)(t))return{username:(({msg:e,state:t,roomId:a})=>{let n=(0,_.OL)(t,e.channel),r=(0,m.LI)(n),i=(0,m.yz)(n)||r,o=h.t("Huddles"),s=(0,f.Vh)({state:t,roomId:a}),l=(0,p.E$)(t,a),d=(0,f.Qw)(t,a),u=(0,p.xx)(t,a),g=(0,p._5)(t,a),A=(0,p.l)(t,a),b=g.length+A.length,y=(0,p.Ej)(t,a)?.trim();if(s&&!l)if(y)o=h.rt("{huddleTopic} is happening",{huddleTopic:y}).props?.children;else if(i&&0!==b){let e,a,n=g.slice(0,2),r=A.slice(0,2);n.forEach(n=>{e?a||(a=(0,c.A)(t,n)):e=(0,c.A)(t,n)}),r.forEach(t=>{e?a||(a=t):e=t}),o=h.t("{participants, plural, =0 {{firstParticipant} is} =1 {{firstParticipant} and {secondParticipant} are} other {{firstParticipant} and # others are}} in the huddle.",{participants:b-1,firstParticipant:e,secondParticipant:a})}else o=h.t("A huddle is happening");return s&&l&&(o=y?h.rt("You joined {huddleTopic}",{huddleTopic:y}).props?.children:h.t("You joined the huddle")),s||(o=d?h.t("You missed a huddle"):y&&u.length?h.rt("{huddleTopic} happened",{huddleTopic:y}).props?.children:y&&!u.length?h.rt("{huddleTopic} happened, but no one joined",{huddleTopic:y}).props?.children:h.t("A huddle happened")),o})({msg:t,state:e,roomId:t.room_id}),isHuddleMsg:!0,huddleActivityStatus:(0,f.K8)(e,t.room_id)};if((0,E.AZ)(t))return{username:R.t("Slack")};if(t?.ai_context?.summary?.type==="huddle")return{userId:t.user,isAiHuddleSummary:!0};if((0,E.Iu)(t)&&t?.ai_context?.summary?.type==="huddle"){let e=R.t("AI huddle notes are ready");return{username:t?.ai_context?.result_status==="complete"?e:R.t("Slack AI"),isHuddleMsg:!0}}if(U&&(0,E.qZ)(t)||U&&t?.thread_ts&&t?.user==="USLACKBOT"&&(0,E.qZ)((0,v.Ld)(e,t?.channel,t?.thread_ts)))return{username:"Slack Assistant",isAssistantThread:!0};if((0,S.zv)(t)){let a=(0,s.MJ)(e),n=t.schedule??null;return{username:a?(({schedule:e,state:t})=>{if(!(0,s.MJ)(t)||!e)return null;let a=(0,d.WR)(t)===e.inviter_user_id,n=(0,c.A)(t,e.inviter_user_id??""),r=u.rt("You scheduled a huddle"),i=u.rt("{memberName} scheduled a huddle",{memberName:n}),o=a?r:i,l=e.topic;if(l){let e=u.rt("You scheduled {huddleTopic}",{huddleTopic:l}),t=u.rt("{memberName} scheduled {huddleTopic}",{memberName:n,huddleTopic:l});o=a?e:t}return o.props?.children})({schedule:n,state:e}):"Huddle was scheduled",isScheduledHuddleMsg:!0}}if((0,S.GO)(t)){let a=(0,s.MJ)(e),n=t.schedule??null;return{username:a?(({schedule:e,state:t})=>{if(!(0,s.MJ)(t))return"";let a=l.t("A scheduled huddle is canceled"),n=e?.topic;return n&&(a=l.t("Scheduled huddle {huddleTopic} has been canceled",{huddleTopic:n})),a})({schedule:n,state:e}):"Scheduled Huddle was deleted",isDeleteScheduledHuddleMsg:!0}}if((0,S.aH)(t))return{userId:t.list_edit?.created_by,isListEditMsg:!0};if((0,E.cb)(t)||(0,E.Ni)(t))return{username:"Canvas updated"};if((0,E.gA)(t))return{userId:t.tab_added_user_id};if((0,E.Lo)(t))return{userId:t.item_added_user_id};if((0,S.ZO)(t)&&B){let t=(0,T.Kc)(e),a=(0,x._J)(e,t);return{username:(0,k.F1)(a)}}return o===i.Q$&&M&&M.bot_id?"email"===M.filetype&&D&&D.name?{...(0,b.xR)(M),botId:F,appId:P,isEmailMsg:!0}:{...(0,b.xR)(M),username:N||M.username,botId:F,appId:P}:G&&(0,S.tH)(t)?{username:R.t("Slack")}:o?{appId:P,botId:F,userId:o}:{appId:P,botId:F,username:N}}},0x1781c9bc2:(e,t,a)=>{"use strict";a.d(t,{A:()=>getPermalinkForMessage});var n=a(0x21d6ed371),r=a(0x61c84a5e),i=a(0x1ee439e69);function getPermalinkForMessage(e,t,a=!1){let o=(0,r.A)(e,t),s=(0,i._J)(e,o);return(0,n.lE)({teamDomain:s,channelId:t.channel,ts:t.ts,threadTs:a?void 0:t.thread_ts})}},0x61c84a5e:(e,t,a)=>{"use strict";a.d(t,{A:()=>getTeamIdForMessage});var n=a(0xb62e6bf4),r=a(0xb70d870b),i=a(0x1ec69ee01),o=a(0x9b971e7e);function getTeamIdForChannel(e,t){return(0,i.lo)(t)?(0,i.bK)(e,t):(0,o.ZT)(e)}var s=a(0x21d6ed371),l=a(0x217553e42);function getTeamIdForMessage(e,t){let a=(0,l.OL)(e,t.channel);if((0,n.ss)(e))return(0,r.N)(e,a,{useWorkspaceMembership:!0});let i=(0,s._b)(t);return getTeamIdForChannel(e,a)||i}},0x9ef0bef5:(e,t,a)=>{"use strict";function hasBlocksOrText(e){return!!e&&(void 0!==e.blocks||!!e.text)}a.d(t,{F:()=>hasBlocksOrText})},0x22f33987a:(e,t,a)=>{"use strict";a.d(t,{A:()=>isAppMessage});var n=a(0x1b9d5cc0c),r=a(0xe684f705);function isAppMessage(e,t){if(!t.bot_id)return!1;let a=(0,r.nv)(e,t.user,{preferNonExistentToNull:!1,fetchIfMissing:!1});return(0,n.$S)(a)}},0x203beba52:(e,t,a)=>{"use strict";a.d(t,{A:()=>isAutomatedSubtype});let n=["channel_join","channel_leave","channel_topic","channel_purpose","channel_archive","channel_unarchive","channel_convert_to_private","channel_convert_to_public","channel_convert_to_linked_private","channel_convert_to_linked_private_read","channel_convert_to_linked_private_edit","channel_convert_to_linked_private_transfer","channel_convert_shared","channel_invite_speedbump","group_join","group_leave","group_topic","group_purpose","group_archive","group_unarchive","group_name","channel_name","play_sound","pinned_item","unpinned_item","sh_room_shared","sh_room_created","bot_enable","bot_disable","bot_add","bot_remove","bot_updated","reminder_add","reminder_delete","reply_broadcast","app_conversation_join","app_conversation_leave","app_conversation_created","channel_posting_permissions","retention_threshold","joiner_notification","joiner_notification_for_inviter","prejoin_dm_welcome_party_notification","slack_connect_dm_acceptance","canvas","mpdm_move","canvas_open_by_default","canvas_editing_permissions_changed","channel_canvas_updated","channel_canvas_updated_unread_ignore","tabbed_canvas_updated","tabbed_canvas_updated_unread_ignore","automatic_ai_huddle_notes_enabled","automatic_ai_huddle_notes_disabled","welcome_party"];function isAutomatedSubtype(e,{automatedSubtypes:t=n}={}){return!!e&&t.includes(e)}},0x12d1ec34:(e,t,a)=>{"use strict";a.d(t,{A:()=>isFileSubtype});let n=["file_comment","file_mention","file_share","file_upload"];function isFileSubtype(e,{fileSubtypes:t=n}={}){return!!e&&t.includes(e)}},0x3d3abe88:(e,t,a)=>{"use strict";a.d(t,{d:()=>isHiddenThread});var n=a(0x1337d9fa2);let isHiddenThread=e=>"thread_hidden"===(0,n.ys)(e)},0xde270041:(e,t,a)=>{"use strict";function isMessageStreaming(e){return e?.streaming_state==="in_progress"||e?.ai_context?.result_status==="streaming"}function isMessageStreamingComplete(e){return e?.streaming_state==="completed"||e?.ai_context?.result_status==="complete"||e?.ai_context?.result_status==="stopped_by_user"}a.d(t,{_:()=>isMessageStreaming,b:()=>isMessageStreamingComplete})},0x15e23c874:(e,t,a)=>{"use strict";a.d(t,{A:()=>isMessageUnread});var n=a(0x1a837c63b),r=a(0xd2efd513);function isMessageUnread(e,t,a){return!(!e||e.ts<=t||(0,r.A)(e))&&!!(0,n.A)(e,a||"")}},0x1c24816a5:(e,t,a)=>{"use strict";a.d(t,{o:()=>isModerated});var n=a(0x1337d9fa2),r=a(0x3d3abe88);function isModerated(e){return!!e&&("moderated"===(0,n.ys)(e)||(0,r.d)(e))}},0x158809687:(e,t,a)=>{"use strict";a.d(t,{n:()=>isReply});var n=a(0x1b0a362c3),r=a(0x15c7516a2);function isReply(e){if(!e)return!1;let t=(0,r.j)(e),a=(0,n.L)(e);return!!a&&a!==t}},0x1c8b9de2f:(e,t,a)=>{"use strict";a.d(t,{k:()=>isRetentionThreshold});var n=a(0x1337d9fa2);function isRetentionThreshold(e){return"retention_threshold"===(0,n.ys)(e)}},0xd0109e4f:(e,t,a)=>{"use strict";a.d(t,{A:()=>isRichTextMessage,x:()=>isNonEmptyRichTextMessage});var n=a(0xc4e87e00),r=a(0x94e8342);function isRichTextMessage(e,t){return!!e&&(0,r.A)(e.blocks,t)}function isNonEmptyRichTextMessage(e,t){return!!e&&!!isRichTextMessage(e,t)&&(t?!!e.blocks?.some(e=>e.type===n.Lv.RICH_TEXT&&e.elements.some(e=>e.elements?.length)):e?.blocks?.[0].type==="rich_text"&&e.blocks[0].elements.some(e=>e.elements?.length))}},0x66a0f59a:(e,t,a)=>{"use strict";a.d(t,{A:()=>isSlackbotMessage});var n=a(0x20b4dda68),r=a(0x21d6ed371);function isSlackbotMessage(e){return(0,r.Hr)(e)===n.Q$}},0xd2efd513:(e,t,a)=>{"use strict";a.d(t,{A:()=>isTempMsg});var n=a(0x3fb798cf);function isTempMsg(e){return e&&(0,n.A)(e.ts)}},0x3fb798cf:(e,t,a)=>{"use strict";a.d(t,{A:()=>isTempTs});var n=a(0x20b4dda68);function isTempTs(e){return!e||e.indexOf(n.Py)>=0}},0x10071dab2:(e,t,a)=>{"use strict";a.d(t,{A:()=>isThreadLocked});var n=a(0x21d6ed371),r=a(0xd93ecf94);function isThreadLocked(e,{threadTs:t,channelId:a}){if(!t||!a)return!1;let i=(0,r.Ld)(e,a,t,!1);return!!i&&(0,n.ln)(i)}},0x1944fd4df:(e,t,a)=>{"use strict";a.d(t,{l:()=>messageIsCanvasComment});var n=a(0x17429e0ec),r=a(0x217553e42);let messageIsCanvasComment=(e,t)=>{if(!t)return!1;let a=t?.channel,i=(0,r.OL)(e,a);return(0,n.k)(e,i)}},0x1337d9fa2:(e,t,a)=>{"use strict";function getMessageSubtype(e){return e?e.subtype:void 0}function isFileComment(e){return"file_comment"===getMessageSubtype(e)}function isThreadBroadcast(e){return"thread_broadcast"===getMessageSubtype(e)}function isHuddleMessage(e){return"huddle_message"===getMessageSubtype(e)||"huddle_thread"===getMessageSubtype(e)}function isAssistantThreadMessage(e){return"assistant_thread"===getMessageSubtype(e)}function isAiMessage(e){return"ai"===getMessageSubtype(e)}function isAgentforceMessage(e){return"agentforce_message"===getMessageSubtype(e)}function isTombstone(e){return"tombstone"===getMessageSubtype(e)}function isEKMAccessDeniedMessage(e){return"ekm_access_denied"===getMessageSubtype(e)}function isDLPTombstoneMessage(e){return"dlp_tombstone"===getMessageSubtype(e)}function isDocumentCommentRootMessage(e){return"document_comment_root"===getMessageSubtype(e)}function isDSARestrictedMessage(e){return"dsa_restricted"===getMessageSubtype(e)}function isThreadHiddenMessage(e){return"thread_hidden"===getMessageSubtype(e)}function isChannelCanvasUpdateMessage(e){return"channel_canvas_updated"===getMessageSubtype(e)||"channel_canvas_updated_unread_ignore"===getMessageSubtype(e)}function isChannelTabCanvasUpdateMessage(e){return"tabbed_canvas_updated"===getMessageSubtype(e)||"tabbed_canvas_updated_unread_ignore"===getMessageSubtype(e)}function isChannelTabAddedMessage(e){return"channel_tab_added"===getMessageSubtype(e)||"channel_tab_added_unread_ignore"===getMessageSubtype(e)}function isFolderItemAddedMessage(e){return"folder_item_added"===getMessageSubtype(e)||"folder_item_added_unread_ignore"===getMessageSubtype(e)}function isChannelTopicSubtype(e){return"channel_topic"===getMessageSubtype(e)}function isChannelNameSubtype(e){return"channel_name"===getMessageSubtype(e)}function isChannelDescriptionSubtype(e){return"channel_purpose"===getMessageSubtype(e)}function isWelcomePartyMessage(e){return"welcome_party"===getMessageSubtype(e)}a.d(t,{AZ:()=>isWelcomePartyMessage,Dv:()=>isDLPTombstoneMessage,Iu:()=>isAiMessage,Lo:()=>isFolderItemAddedMessage,Ni:()=>isChannelTabCanvasUpdateMessage,O0:()=>isDocumentCommentRootMessage,PQ:()=>isChannelTopicSubtype,SM:()=>isThreadBroadcast,TD:()=>isDSARestrictedMessage,XW:()=>isChannelNameSubtype,Y$:()=>isChannelDescriptionSubtype,aK:()=>isTombstone,cb:()=>isChannelCanvasUpdateMessage,gA:()=>isChannelTabAddedMessage,gn:()=>isAgentforceMessage,kn:()=>isHuddleMessage,m:()=>isFileComment,qZ:()=>isAssistantThreadMessage,s7:()=>isEKMAccessDeniedMessage,sh:()=>isThreadHiddenMessage,ys:()=>getMessageSubtype})},0x1121794ee:(e,t,a)=>{"use strict";a.d(t,{S:()=>getQuipCommentId});let getQuipCommentId=e=>e?.document_comment?.thread_id},0x1902586d8:(e,t,a)=>{"use strict";a.d(t,{HZ:()=>getMentionedUserIdsFromRichTextBlock,Xt:()=>richTextMessageContainMention,xD:()=>getMentionedUserIdsFromRichTextMessage});var n=a(0xc4e87e00),r=a(0xd4353fc8),i=a(0x158809687),o=a(0x22a75d737),s=a(0x1266f1359),l=a(0x14149c126),c=a(0x687556ae);function deriveValuesFromElementsInRichTextBlock(e,t){for(let a=0;a<e.elements.length;a++){let r=e.elements[a];if(r.type===n.Lv.LIST)for(let e=0;e<r.elements.length;e++)t(r.elements[e].elements);else t(r.elements)}}function richTextMessageContainMention(e,t){for(let a of(0,r.U)(e.blocks))if(richTextBlockContainMention(e,a,t))return!0;return!1}function richTextBlockContainMention(e,t,a){let r=(0,i.n)(e),d=!a.options.ignoreUserAndUserGroupMentions,u=!a.options.ignoreUserAndUserGroupMentions&&!a.options.ignoreUserGroupMentions,m=!a.options.ignoreUserAndUserGroupMentions,f=!a.options.ignoreAtHereMentions,_=!r&&!a.options.ignoreAtChannelMentions,p=!r&&!a.options.ignoreAtEveryoneMentions,h=(0,s.$D)(a.teamId),g=!1,A=!1,b={here:!1,channel:!1,everyone:!1};deriveValuesFromElementsInRichTextBlock(t,function(e){e.forEach(e=>{switch(e.type){case n.Lv.USER:g||e.user_id!==a.memberId||(g=!0);break;case n.Lv.USERGROUP:!A&&(0,c.nc)(h,e.usergroup_id)&&(A=!0);break;case n.Lv.BROADCAST:b[e.range]=!0}})});let y="on"===(0,l._Z)(h,"notify_for_at_user_mentions_in_muted_channels");return!!y&&!!d&&!!g||!!y&&!!u&&!!A||!y&&!!m&&(!!g||!!A)||!!f&&!!b.here||!!_&&!!b.channel||!!p&&!!b.everyone||!a.options.ignoreHighlightWords&&!!(0,o.fw)(t,a.highlightWords).length||!1}function getMentionedUserIdsFromRichTextMessage(e){let t=(0,r.U)(e.blocks);return 0===t.length?[]:getMentionedUserIdsFromRichTextBlock(t[0])}function getMentionedUserIdsFromRichTextBlock(e){let t=new Set;return deriveValuesFromElementsInRichTextBlock(e,function(e){e.forEach(e=>(e.type===n.Lv.USER&&e.user_id&&t.add(e.user_id),null))}),[...t]}},0x841ac5d7:(e,t,a)=>{"use strict";a.d(t,{R:()=>shouldIgnoreHighlightWords});var n=a(0x1b9d5cc0c);function shouldIgnoreHighlightWords(e,t){return"bot_message"===e.subtype&&!(0,n.v3)(e.bot_profile)||!!t}},0x5ee8bdf7:(e,t,a)=>{"use strict";a.d(t,{l:()=>shouldMessageBadgeChannel});var n=a(0x12185e091),r=a(0xeeadf100),i=a(0x10c60dabc),o=a(0x1b21facf3),s=a(0x841ac5d7),l=a(0x217553e42);function shouldMessageBadgeChannel({state:e,msg:t,channel:a,currentUserId:c,userIsAway:d,userPresenceLastChanged:u,highlightWords:m,isAppMsg:f,teamId:_}){if(!t||!a)return!1;if((0,l.fz)(e,a.id))return!0;if((0,n.LI)(a)||(0,r.A)(e,a)){let n=1e3*parseFloat(t.ts),r=(0,s.R)(t,f);if((0,o.I)(t,c,m,_,{ignoreAtHereMentions:d||n<(u||0),ignoreHighlightWords:r})&&(0,i.c)({state:e,msg:t,channelId:a.id,userId:t.user}))return!0}else{let n={ignoreHighlightWords:(0,s.R)(t,f),ignoreAtEveryoneMentions:!0,ignoreAtChannelMentions:!0,ignoreAtHereMentions:!0};if((0,o.I)(t,c,m,_,n)&&(0,i.c)({state:e,msg:t,channelId:a.id,userId:t.user}))return!0}return!1}},0x1f4366f23:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(0xca924ee1),r=a(0x62a17882),i=a(0x42b23751);let o=(0,n.A)(()=>(0,r.y3)()||!i.m?"na":window.Notification?window.Notification.permission:"na")},0x71e68ec7:(e,t,a)=>{"use strict";a.d(t,{Wv:()=>areGlobalDesktopNotificationsDisabled,QR:()=>areGlobalMobileNotificationsDisabled,UK:()=>areGlobalNotificationsDisabled,Px:()=>canPlayMessageSound,wW:()=>canPlaySound,Yj:()=>checkPermission,qR:()=>getCalculatedChannelNotificationOverrides,gn:()=>getCalculatedDesktopNotifySetting,u0:()=>getCalculatedDesktopPushNotificationsEnabledSetting,rl:()=>getCalculatedGlobalDesktopPushNotificationsEnabled,YY:()=>getCalculatedGlobalNotificationPref,mo:()=>getCalculatedMobileNotifySetting,Bf:()=>e_,qF:()=>getHuddleInviteSoundPath,DJ:()=>getMessageArrivedSoundPath,Q7:()=>getMessageSentSoundPath,oh:()=>getNewMsgSoundPath,ug:()=>getNotificationDisabledType,nn:()=>getSavedItemReminderSoundPath,_7:()=>shouldShowNotificationForActivitiesSummary,pK:()=>shouldShowNotificationForApprovals,rr:()=>shouldShowNotificationForChannelMessage,gA:()=>shouldShowNotificationForDesktopNotification,RM:()=>shouldShowNotificationForDirectMessage,HW:()=>shouldShowNotificationForHuddle,KH:()=>shouldShowNotificationForOnboardingTasksReminder,x6:()=>shouldShowNotificationForSavedItem,K0:()=>shouldShowNotificationForTodos,e8:()=>shouldShowPermissionButton,Ug:()=>shouldSuppressNotificationForSeasonalDelight,xS:()=>shouldSuppressNotificationForWelcomeParty});var n=a(0x1aba66b56),r=a(0x77727995),i=a(0x1e2051844),o=a(0x17294c72a),s=a(0x2286acf6c),l=a(0x62a17882),c=a(0x139aa1a7),d=a(0xc677a6f6),u=a(0x126495e8),m=a(0x24860bff2),f=a(0x1059ba41d),_=a(0x1ec69ee01),p=a(0x12185e091),h=a(0x6f213e53),g=a(0x114ffe897),A=a(0xf6ed6f31),b=a(0x21d6ed371),y=a(0xeeadf100),S=a(0x1a837c63b),E=a(0x10c60dabc),k=a(0x1b21facf3),T=a(0x22f33987a),I=a(0x158809687),w=a(0x1337d9fa2),C=a(0x841ac5d7),v=a(0x1f4366f23),x=a(0x42b23751),R=a(0x105ecbbed),O=a(0x173c04d58),N=a(7854195),D=a(0x121459a2),L=a(0x1ec68d6a3),M=a(0x10b52336d),F=a(0x209e067d1),P=a(0x1fdacff80),U=a(0xd6f0064d),B=a(0xcaa08ff7),G=a(0x1cf0d97e1),H=a(0x8baf11b5),W=a(0x9b971e7e),V=a(0x131598af9),j=a(0x1ccef1c6f),K=a(0x691ce3ab),q=a(0xdf55e8f3),z=a(0x216a87ae3),$=a(0x20c81ddcb),Y=a(0x19c76d181),Q=a(0x217553e42),Z=a(0x74130fc1),J=a(0x14149c126),X=a(0xb129c1d5),ee=a(0x7c2e2ba1),et=a(0x21c11a1dc);let ea=(0,G.Ay)(e=>e?.notifications?.maxTs);ea.meta={name:"getMaxTimestamp",key:"createSelectorGetMaxTimestamp",description:e=>e?.notifications?.maxTs};var en=a(0x2244f10f),er=a(0x2207a1e7d),ei=a(0x28c6a9ff),eo=a(0x1e974bbde),es=a(0x60c7a9a7),el=a(0x41a72513),ec=a(0x1bb02f2c4);let ed=["channel_leave","channel_join","group_leave","group_join"];function shouldShowNotificationForChannelMessage(e,t,a){let r=(0,L.default)({state:e});if(!t||!a)return U.Z.BAD_ARGUMENTS;if("no_display"in t&&t.no_display)return U.Z.NO_DISPLAY_OVERRIDE;if("is_file"in a&&a.is_file&&"subtype"in t&&t.subtype){if("subtype"in t&&(0,n.A)(["document_comment_root","list_record_comment"],t.subtype))return U.Z.FILE_CHANNEL_ROOT_COMMENT;if("subtype"in t&&"canvas_section_stub"===t.subtype)return U.Z.FILE_CHANNEL_SECTION_STUB}let i=(0,Y.WR)(e),o=(0,V.A)(e),s=(0,W.ZT)(e),l="on"===(0,J._Z)(e,"notify_for_at_user_mentions_in_muted_channels");if((0,I.n)(t)&&!(0,k.I)(t,i,o,s,{ignoreHighlightWords:!0}))return U.Z.REPLY_MESSAGE;if("subtype"in t&&t.subtype&&-1!==ed.indexOf(t.subtype))return U.Z.JOIN_LEAVE_MESSAGE;let c=getCalculatedDesktopNotifySetting(e,a.id);if("nothing"===c)return U.Z.SILENT_PREFERENCE;let d=(0,y.A)(e,a),u=checkMessageAndUpdateMentions(e,t,d),m=checkMessageAndUpdateMentions(e,t,!1,!1);if("subtype"in t&&"bot_message"===t.subtype&&"everything"!==c&&!u)return U.Z.BOT_MESSAGE;if((0,T.A)(e,t)&&"everything"!==c&&!u)return U.Z.APP_MESSAGE;if("subtype"in t&&(0,n.A)(["document_mention","list_mention"],t.subtype)&&!u)return U.Z.NO_MENTIONS;let f=(0,S.A)(t,i),_=(0,H.B)(e,a.id);return checkPermission()?u&&f||"everything"===c?shouldSuppressNotificationInActiveChannel(e,t,a)?(r.info("NOTIFICATIONS",`shouldSuppressNotificationInActiveChannel: ${shouldSuppressNotificationInActiveChannel(e,t,a)}`),U.Z.ACTIVE_VIEW_VISIBLE):"user"in t&&(0,b.vZ)(t,i)?U.Z.FROM_CURRENT_USER:"no_notifications"in t&&t.no_notifications?U.Z.NO_NOTIFICATIONS_OVERRIDE:_&&!l||_&&l&&!m?U.Z.MUTED_CHANNEL:!(0,Z.ux)(e)||"_ignore_dnd"in t&&t._ignore_dnd||(0,B.Wh)(e,{message:t})?shouldSuppressXWSNotification(e,a)?U.Z.FROM_ANOTHER_TEAM:(0,O.Y)(e,a)?U.Z.LESS_RELEVANT_ORG_TEAM:"user"in t&&shouldSuppressOversizedMention(e,t,a)?U.Z.OVERSIZED_MENTION:"user"in t&&shouldSupressHiddenSender(e,t)?U.Z.SENDER_IS_HIDDEN:(0,w.cb)(t)?U.Z.CHANNEL_CANVAS_UPDATE_MESSAGE:(0,w.Ni)(t)?U.Z.CANVAS_TAB_UPDATE_MESSAGE:(0,w.gA)(t)?U.Z.CHANNEL_TAB_ADDED_MESSAGE:(0,w.Lo)(t)?U.Z.FOLDER_ITEM_ADDED_MESSAGE:(r.info("NOTIFICATIONS","SuppressNotificationReason: NONE"),U.Z.NONE):(r.info("NOTIFICATIONS",`shouldOverrideDndForMessage: ${(0,B.Wh)(e,{message:t})}`),U.Z.USER_IN_DND):(r.info("NOTIFICATIONS","notifySetting: NO_MENTIONS"),U.Z.NO_MENTIONS):(r.info("NOTIFICATIONS",`checkPermission: ${checkPermission()}`),U.Z.PERMISSION_DENIED)}function shouldShowNotificationForHuddle(e,t){if(!checkPermission())return U.Z.PERMISSION_DENIED;if((0,Z.ux)(e))return U.Z.USER_IN_DND;if((0,H.B)(e,t))return U.Z.MUTED_CHANNEL;if(m.m[getCalculatedDesktopNotifySetting(e,t)]===m.m.nothing)return U.Z.SILENT_PREFERENCE;let a=(0,Q.OL)(e,t,!1);return!a||(0,p.QR)(a)?U.Z.BAD_ARGUMENTS:shouldSuppressXWSNotification(e,a)?U.Z.FROM_ANOTHER_TEAM:(0,O.Y)(e,a)?U.Z.LESS_RELEVANT_ORG_TEAM:U.Z.NONE}function shouldShowNotificationForSavedItem(e,t){if(!checkPermission())return U.Z.PERMISSION_DENIED;if(areGlobalDesktopNotificationsDisabled(e))return U.Z.SILENT_PREFERENCE;if(t.itemType===D.ll.message){let a=t.itemId,n=(0,Q.OL)(e,a);if(!n||(0,p.QR)(n))return U.Z.BAD_ARGUMENTS;if(shouldSuppressXWSNotification(e,n))return U.Z.FROM_ANOTHER_TEAM;if((0,O.Y)(e,n))return U.Z.LESS_RELEVANT_ORG_TEAM}else if(shouldSuppressXWSNotificationForLater(e))return U.Z.FROM_ANOTHER_TEAM;return U.Z.NONE}function shouldShowNotificationForTodos(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:shouldSuppressXWSNotificationForLater(e)?U.Z.FROM_ANOTHER_TEAM:U.Z.NONE:U.Z.PERMISSION_DENIED}function shouldShowNotificationForApprovals(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:U.Z.NONE:U.Z.PERMISSION_DENIED}function shouldShowNotificationForDirectMessage(e,t,a){return t&&a?"no_display"in t&&t.no_display?U.Z.NO_DISPLAY_OVERRIDE:(0,I.n)(t)?U.Z.REPLY_MESSAGE:"nothing"===getDefaultDesktopNotifySetting(e,a.id)?U.Z.SILENT_PREFERENCE:checkPermission()?shouldSuppressNotificationInActiveChannel(e,t,a)?U.Z.ACTIVE_VIEW_VISIBLE:"user"in t&&(0,b.vZ)(t,(0,Y.WR)(e))?U.Z.FROM_CURRENT_USER:(0,H.B)(e,a.id)?U.Z.MUTED_CHANNEL:"no_notifications"in t&&t.no_notifications?U.Z.NO_NOTIFICATIONS_OVERRIDE:!(0,Z.ux)(e)||"_ignore_dnd"in t&&t._ignore_dnd||(0,B.Wh)(e,{message:t})?(0,O.Y)(e,a)?U.Z.LESS_RELEVANT_ORG_TEAM:shouldSuppressEmailShared(e,t,a)?U.Z.EMAIL_SHARED:shouldSupressHiddenSender(e,t)?U.Z.SENDER_IS_HIDDEN:(0,w.cb)(t)?U.Z.CHANNEL_CANVAS_UPDATE_MESSAGE:(0,w.Ni)(t)?U.Z.CANVAS_TAB_UPDATE_MESSAGE:"subtype"in t&&((0,b.qL)(t)||(0,b._W)(t))?U.Z.AI_ASSISTANT_ROOT_MESSAGE:(0,w.gA)(t)?U.Z.CHANNEL_TAB_ADDED_MESSAGE:(0,w.Lo)(t)?U.Z.FOLDER_ITEM_ADDED_MESSAGE:U.Z.NONE:U.Z.USER_IN_DND:U.Z.PERMISSION_DENIED:U.Z.BAD_ARGUMENTS}function shouldShowNotificationForDesktopNotification(e,t){if(!t||!t.channel)return U.Z.BAD_ARGUMENTS;let a=(0,Q.OL)(e,t.channel,!1);if(!a||(0,p.QR)(a))return U.Z.BAD_ARGUMENTS;if(shouldSuppressXWSNotification(e,a))return U.Z.FROM_ANOTHER_TEAM;if((0,O.Y)(e,a))return U.Z.LESS_RELEVANT_ORG_TEAM;if("is_channel_invite"in t&&t.is_channel_invite)return U.Z.NONE;let{ts:n,thread_ts:r}=t;if(!(0,I.n)({ts:n,thread_ts:r}))return U.Z.NOT_REPLY_MESSAGE;if(shouldSuppressNotificationInActiveThread(e,t,a)||shouldSuppressNotificationInActiveHuddle(e,t,a))return U.Z.ACTIVE_VIEW_VISIBLE;if("user"in t&&shouldSupressHiddenSender(e,t))return U.Z.SENDER_IS_HIDDEN;let i=ea(e);if(!i||n>i)return U.Z.REDUNDANT_SOCKET_EVENT;let o=(0,ei.nq)(e,{channelId:a.id,ts:r,fetchIfMissing:!1}),s=o?o.lastRead:null;return s&&s>=n?U.Z.ALREADY_SEEN_REPLY:U.Z.NONE}function checkMessageAndUpdateMentions(e,t,a,n){let r=!1,i=(0,T.A)(e,t);if(a){let a={ignoreHighlightWords:(0,C.R)(t,i),ignoreAtEveryoneMentions:!1,ignoreAtChannelMentions:!1,ignoreAtHereMentions:"away"===(0,er.hH)(e)},n=(0,W.ZT)(e);r=(0,k.I)(t,(0,Y.WR)(e),(0,V.A)(e),n,a)}else{let a={ignoreHighlightWords:(0,C.R)(t,i),ignoreAtEveryoneMentions:!0,ignoreAtChannelMentions:!0,ignoreAtHereMentions:!0,ignoreUserGroupMentions:!n},o=(0,W.ZT)(e);r=(0,k.I)(t,(0,Y.WR)(e),(0,V.A)(e),o,a)}return r}function checkPermission(){return!!x.m&&(!!(0,l.y3)()||"granted"===(0,v.A)())}function shouldShowPermissionButton(){return!(!x.m||checkPermission())&&"denied"!==(0,v.A)()}function shouldSuppressNotificationInActiveChannel(e,t,a){if(!(!(0,F.A)()||(0,el.T2)(e))||"text"in t&&(0,b.WL)(t.text))return!1;let{viewSet:n,windowId:r}=(0,eo.Z)(e);return!!r&&a.id===n?.primary?.id&&(0,es.A)(e)&&!("_hidden_reply"in t&&t._hidden_reply)}function shouldSuppressXWSNotification(e,t){return!!(0,_.lo)(t)}function shouldSuppressXWSNotificationForLater(e){let t=(0,K.Ry)(),a=(0,W.ZT)(e),n=(0,ec.getFocusedWorkspace)(t),r=(0,ec.getWorkspaceOrgId)(t,a),i=(0,ec.getWorkspaceOrgId)(t,n);return r&&r===i&&n!==a}function shouldSuppressNotificationInActiveThread(e,t,a){if(!(!(0,F.A)()||(0,el.T2)(e))||"text"in t&&(0,b.WL)(t.text))return!1;let{viewSet:n,windowId:r}=(0,eo.Z)(e);if(!r)return!1;let i=n?.secondary,o=i?.id;if(t.thread_ts&&(0,$.Nv)(e,t.thread_ts))return!0;let s=(0,z.Q6)(e,t.channel,!0),l=(0,z.Q6)(e,t.channel,!1);if(t.thread_ts===l||t.thread_ts===s||t.ts===l||t.ts===s)return!0;if(o!==c.D.Thread)return!1;let{channelId:d,threadTs:u}=(0,R.Sb)(i?.params?.threadId);return!!(t.thread_ts&&a.id===d&&t.thread_ts===u)}function shouldSuppressNotificationInActiveHuddle(e,t,a){let n=t.thread_ts,r=a.id;if(!(0,et.cJ)(e,r))return!1;let i=(0,et.Yw)(e,r);if(!i?.canvasThreadTs||i.canvasThreadTs!==n||!(0,u.k)(r))return!1;let o=(0,ee.Ec)(e,{huddleId:i.id});return o===N.yG.WINDOW_COMPACT?(0,ee.rL)(e,{huddleId:i.id,surface:o}):(0,ee.vu)(e)}function shouldSuppressEmailShared(e,t,a){return!!(0,g.D)(a)&&!!((0,r.A)(t,"upload")&&(0,i.A)((0,r.A)(t,"files",[]),{mode:"email"}))}function shouldSuppressOversizedMention(e,t,a){return!(!(0,Y.u8)(e)||"user"in t&&(0,E.c)({state:e,msg:t,channelId:a.id,userId:t.user}))}function shouldSupressHiddenSender(e,t){return(0,X.a)(e,t.user)}function areGlobalNotificationsDisabled(e){return areGlobalDesktopNotificationsDisabled(e)&&areGlobalMobileNotificationsDisabled(e)}function areGlobalDesktopNotificationsDisabled(e){return"nothing"===(0,en.FD)(e,"global_desktop")}function areGlobalMobileNotificationsDisabled(e){return"nothing"===(0,en.FD)(e,"global_mobile")}function getGlobalChannelNotifySetting(e,t){if("desktop"!==t&&"mobile"!==t)throw Error(`Platform must be desktop or mobile: ${t}`);let a=(0,en.FD)(e,`global_${t}`);return"nothing"===a?"mentions_dms":a}function getGlobalDmNotifySetting(e,t){if("desktop"!==t&&"mobile"!==t)throw Error(`Platform must be desktop or mobile: ${t}`);let a=(0,en.FD)(e,`global_mpdm_${t}`);return"nothing"===a?"mentions_dms":a?a:"nothing"===getGlobalChannelNotifySetting(e,t)?"nothing":"everything"}function getCalculatedGlobalNotificationPref(e,t){return"global_desktop"===t||"global_mobile"===t?getGlobalChannelNotifySetting(e,"global_desktop"===t?"desktop":"mobile"):"global_mpdm_desktop"===t||"global_mpdm_mobile"===t?getGlobalDmNotifySetting(e,"global_mpdm_desktop"===t?"desktop":"mobile"):(0,en.FD)(e,t)}function getDefaultNotifySetting(e,t,a){let n=(0,Q.OL)(e,t,!1);return!n||(0,p.QR)(n)||(0,_.lo)(n)?null:(0,p.yz)(n)||(0,p.LI)(n)?getGlobalDmNotifySetting(e,a):getGlobalChannelNotifySetting(e,a)}function getCalculatedGlobalDesktopPushNotificationsEnabled(e){let t=(0,en.FD)(e,"global_desktop_push_enabled");return!0===t||void 0===t}function getCalculatedDesktopPushNotificationsEnabledSetting(e,t){if(t){let a=(0,en.aG)(e,t,"desktop_push_enabled");if(void 0!==a)return!!a}return getCalculatedGlobalDesktopPushNotificationsEnabled(e)}function getCalculatedNotifySetting(e,t,a){if("desktop"!==a&&"mobile"!==a)throw Error(`Platform must be desktop or mobile: ${a}`);let n=(0,Q.OL)(e,t,!1);if(!n||(0,p.QR)(n)||(0,_.lo)(n))return null;let r=(0,en.aG)(e,t,a);return r?"nothing"===r?"mentions_dms":r:getDefaultNotifySetting(e,t,a)}function getCalculatedDesktopNotifySetting(e,t){return getCalculatedNotifySetting(e,t,"desktop")}function getCalculatedMobileNotifySetting(e,t){return getCalculatedNotifySetting(e,t,"mobile")}function getDefaultDesktopNotifySetting(e,t){return getDefaultNotifySetting(e,t,"desktop")}function getDefaultMobileNotifySetting(e,t){return getDefaultNotifySetting(e,t,"mobile")}let eu=(0,G.Ay)((e,t,a)=>{if((0,p.QR)(t)||(0,_.lo)(t)||!(0,A.bl)(t)||(0,h.F)(t))return!1;if(a.muted||a.suppress_at_channel||void 0!==a.follow_all_threads||void 0!==a.badge_all_unreads)return!0;if((0,p.yz)(t)||(0,p.LI)(t)){if(getDefaultDesktopNotifySetting(e,t.id)!==a.desktop||getDefaultMobileNotifySetting(e,t.id)!==a.mobile)return!0}else if((0,en.FD)(e,"global_desktop")!==a.desktop||(0,en.FD)(e,"global_mobile")!==a.mobile)return!0;return void 0!==a.desktop&&void 0!==a.mobile&&a.desktop!==a.mobile});eu.meta={name:"doesChannelHaveOverrides",key:"createSelectorDoesChannelHaveOverrides",description:(e,t,a)=>{if((0,p.QR)(t)||(0,_.lo)(t)||!(0,A.bl)(t)||(0,h.F)(t))return!1;if(a.muted||a.suppress_at_channel||void 0!==a.follow_all_threads||void 0!==a.badge_all_unreads)return!0;if((0,p.yz)(t)||(0,p.LI)(t)){if(getDefaultDesktopNotifySetting(e,t.id)!==a.desktop||getDefaultMobileNotifySetting(e,t.id)!==a.mobile)return!0}else if((0,en.FD)(e,"global_desktop")!==a.desktop||(0,en.FD)(e,"global_mobile")!==a.mobile)return!0;return void 0!==a.desktop&&void 0!==a.mobile&&a.desktop!==a.mobile}};let em=(0,G.Ay)((e,t,a)=>{if(a.muted||!0===a.follow_all_threads)return!0;let n=getCalculatedDesktopNotifySetting(e,t);if(!0===a.badge_all_unreads&&"everything"===n||!0===a.suppress_at_channel&&"mentions_dms"===n)return!0;let r=(0,en.FD)(e,"global_desktop_push_enabled");if(!r&&!0===a.desktop_push_enabled||r&&!1===a.desktop_push_enabled)return!0;let i=(0,en.FD)(e,"global_mobile");if("nothing"===i&&void 0!==a.mobile&&"nothing"!==a.mobile||"nothing"!==i&&"nothing"===a.mobile)return!0;let o=getDefaultDesktopNotifySetting(e,t);return void 0!==a.desktop&&a.desktop!==o});em.meta={name:"doesChannelHaveOverrideText",key:"createSelectorDoesChannelHaveOverrideText",description:(e,t,a)=>{if(a.muted||!0===a.follow_all_threads)return!0;let n=getCalculatedDesktopNotifySetting(e,t);if(!0===a.badge_all_unreads&&"everything"===n||!0===a.suppress_at_channel&&"mentions_dms"===n)return!0;let r=(0,en.FD)(e,"global_desktop_push_enabled");if(!r&&!0===a.desktop_push_enabled||r&&!1===a.desktop_push_enabled)return!0;let i=(0,en.FD)(e,"global_mobile");if("nothing"===i&&void 0!==a.mobile&&"nothing"!==a.mobile||"nothing"!==i&&"nothing"===a.mobile)return!0;let o=getDefaultDesktopNotifySetting(e,t);return void 0!==a.desktop&&a.desktop!==o}};let ef=(0,q.eI)(e=>{let t=[],a=[],n=(0,en.DH)(e);if(!n)return t;for(let r of Object.keys(n)){let i=(0,Q.OL)(e,r,!1);i&&eu(e,i,n[r])&&((0,p.yz)(i)?a.push(i):t.push(i))}return(0,o.A)(t,"name").concat(a)});function getCalculatedChannelNotificationOverrides(e,t){let a=(0,en.pK)(e,t);if(!a)return;let n={...a};return"nothing"===n.desktop&&(n.desktop="mentions_dms"),"nothing"===n.mobile&&(n.mobile="mentions_dms"),n}let e_=(0,q.eI)(e=>ef(e).filter(t=>{let a=(0,en.pK)(e,t.id);return!!a&&em(e,t.id,a)}));function getNotificationDisabledType(){let e=checkPermission(),t=null;if(!e){let e=(0,v.A)();t="denied"===e?d.ur.NotAllowed:"default"===e?d.ur.NotYetAllowed:d.ur.Impossible}return t}function getNewMsgSoundPath(e,{message:t,unjoinedChannelMentionSenderUserId:a}){let n=(0,L.default)({state:e}),r=(0,en.FD)(e,"desktop_sound"),i=(0,en.FD)(e,"priority_desktop_sound"),o=(0,B.Tk)(e,{message:t,desktopSoundType:r,priorityDesktopSoundType:i,unjoinedChannelMentionSenderUserId:a});if(!r)return;let s=o?i:r;n.info("NOTIFICATIONS",`New msg sound path: ${s}`);let l=(0,P.$O)();return l[s]&&l[s].url}let ep=new Map;function shouldSuppressConsecutiveMessageSound({channelId:e,threadTs:t}){let a=(0,R.Iu)({channelId:e,threadTs:t})??e,n=ep.get(a);if(n)return n(),!0;let r=localStorage.getItem("debug_message_sound_debounce_duration")??5e3,i=(0,s.A)(()=>ep.delete(a),Number(r));return ep.set(a,i),i(),!1}async function canPlaySound(e,{message:t,unjoinedChannelMentionSenderUserId:a}){let n=(0,L.default)({state:e});if((0,f.g9M)()&&!await (0,f.Rby)())return n.debug("NOTIFICATIONS","canPlaySound=false (OS)"),!1;if((0,j.ty)(e,"mute_sounds"))return n.debug("NOTIFICATIONS","canPlaySound=false (mute_sounds)"),!1;if((0,Z.ux)(e)&&!(0,B.Wh)(e,{message:t,unjoinedChannelMentionSenderUserId:a}))return n.debug("NOTIFICATIONS","canPlaySound=false (DND)"),!1;if("on"===(0,J._Z)(e,"message_sound_debounce")&&t&&shouldSuppressConsecutiveMessageSound({channelId:t.channel,threadTs:t.thread_ts}))return n.debug("NOTIFICATIONS","canPlaySound=false (recent)"),!1;return n.debug("NOTIFICATIONS","canPlaySound=true"),!0}function canPlayMessageSound(e){return!((0,j.ty)(e,"mute_sounds")||(0,Z.ux)(e))}function getHuddleInviteSoundPath(e){let t=(0,j.ty)(e,"huddle_invite_sound_v2");if(!t)return;let a={...(0,P.$O)(),...(0,P.N7)()};return a[t]&&a[t].url}function getSavedItemReminderSoundPath(e){let t=(0,en.FD)(e,"desktop_sound")??"b2.mp3",a=(0,P.$O)();return a[t]&&a[t].url}function getMessageSentSoundPath(e=M.uO){let t=(0,P.$O)();return t[e]&&t[e].url}function getMessageArrivedSoundPath(e=M.$G){let t=(0,P.$O)();return t[e]&&t[e].url}function shouldShowNotificationForActivitiesSummary(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:U.Z.NONE:U.Z.PERMISSION_DENIED}function shouldShowNotificationForOnboardingTasksReminder(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:U.Z.NONE:U.Z.PERMISSION_DENIED}function shouldSuppressNotificationForSeasonalDelight(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:U.Z.NONE:U.Z.PERMISSION_DENIED}function shouldSuppressNotificationForWelcomeParty(e){return checkPermission()?areGlobalDesktopNotificationsDisabled(e)?U.Z.SILENT_PREFERENCE:U.Z.NONE:U.Z.PERMISSION_DENIED}},0x42b23751:(e,t,a)=>{"use strict";a.d(t,{m:()=>n});let n=(0,a(0x62a17882).y3)()||window.Notification||"webkitNotifications"in window},0x6e20c837:(e,t,a)=>{"use strict";a.d(t,{im:()=>k,Wm:()=>getPermalinkType,WJ:()=>getSonicUrlForPermalink,Tg:()=>getTeamAndChannelFromPermalink,$N:()=>parsePermalink,XN:()=>parsePermalinkFromParsedUrl});var n,r=a(0x1595bdd0),i=a(0xd35ac109),o=a(0x1d5f57074),s=a(0x1d10dc8cb),l=a(0x8ed587af),c=a(0x1ae5d492);let d="entity-url=";var u=a(0xc67f3d80),m=a(0x23cae8190),f=a(0x16ed1b0dc),_=a(0xa985ed31),p=a(0x1370f30c3),h=a(0x1ec220982),g=a(0x4f725d55),A=a(0x203d83ff),b=a(0x217553e42),y=a(0xd5e9def4),S=a(0x1ee439e69),E=a(0x2575d1a8),k=((n={}).MESSAGE="message",n.FILE="file",n.MEMBER="member",n.ROOM="room",n.FREE_WILLY="free-willy",n.QUIP="quip",n.SEARCH="search",n.SLACKHELP="slackhelp",n.SHORTCUT_LINK_TRIGGER="shortcuts",n.HUDDLE="huddle",n.LIST="list",n.CHANNEL_CANVAS="canvas",n.ORG_CHART="org_chart",n.WIDGETS="widgets",n.CREATE="create",n.SHARED_PROMPT="shared_prompt",n.WORK_OBJECT="work-object",n.CALENDAR="calendar",n.CHANNEL_SECTION="channel-section",n.SALESFORCE_RECORD_FLEXPANE="salesforce-record-flexpane",n);function findChannelByIdentifier(e,t){return t?(0,b.OL)(e,t,!1)||(0,b.Pu)(e,t.replace(/^@/,""))||(0,b.Os)(e,t):null}function getPermalinkType(e){switch(e){case"archives":case"messages":case"conversation":return"message";case"file":case"files":return"file";case"team":return"member";case"calls":return"room";case"free-willy":return"free-willy";case"docs":return"quip";case"search":return"search";case"slackhelp":return"slackhelp";case"shortcuts":return"shortcuts";case"huddle":return"huddle";case"lists":return"list";case"canvas":return"canvas";case"org_chart":return"org_chart";case"widgets":return"widgets";case"create":return"create";case"prompts":return"shared_prompt";case"work-object":return"work-object";case"calendar":return"calendar";case"channel-section":return"channel-section";case"salesforce":return"salesforce-record-flexpane";default:return null}}function getPermalinkParams(e,t,a,n){let o=(0,r.A)(t.split("/")),s=getPermalinkType(o[0]);switch(s){case"create":{if(o.length<=2)return null;let e=o[1];if("channel"===e)return{type:s,id:o[2],entity:e};return null}case"message":{let t=o[1],n=findChannelByIdentifier(e,t),r=n&&n.id||t;if(!r)return null;if("tabs"===o[2])return{type:s,channelId:r,tabId:o[3]?.toString()};let l=(0,i.nT)(a);return{type:s,channelId:r,ts:(0,m.A)(o[2]),threadTs:(0,m.A)(l.thread_ts?.toString())}}case"huddle":{let t;if(!o[1])return null;let a=null;if((0,f.A)(o[1])?a=o[1]:(0,f.A)(o[2])&&(t=o[1],a=o[2]),a){let n=findChannelByIdentifier(e,a),r=n&&n.id||a;if(!r)return null;return{type:s,channelId:r,teamId:t}}if((0,u.bU)(o[1]))return{type:s,roomId:o[1]};return null}case"file":{let e=o[2];if(!(0,_.A)(e))return null;return{type:s,fileId:e}}case"work-object":if(!(0,l.v4)(e))return null;return(({pathParts:e,type:t})=>{try{let a=e[1],n=a.split(":")[1],r=e[2],i=decodeURIComponent(atob(e[3])).split("&"),o={functionId:r,inputs:{}},s=/\[(.*?)\]/,l="";return i.forEach(e=>{if(e.startsWith(d))l=e.slice(d.length);else{let t=e.split("="),a=t[0].match(s);a&&a[1]&&(o.inputs[a[1]]=t[1])}}),{type:t,entityId:a,functionId:r,lookupFunction:o,appId:n,entityUrl:l}}catch{return null}})({pathParts:o,type:s});case"member":{let e=o[1];if(!(0,g.A)(e))return null;return{type:s,memberId:e}}case"room":{let e=o[1];if(e&&(0,u.bU)(e))return{type:s,roomId:e};let t=o.length>2?o[2]:null;if(t&&(0,u.cd)(t))return{type:s,callId:t,channelId:o[1]};if(t&&(0,u.bU)(t))return{type:s,roomId:t,teamId:o[1]};return null}case"free-willy":{let e=o[2];if(e&&(0,u.cd)(e))return{type:s,callId:e,channelId:o[1]};if(e&&(0,u.bU)(e))return{type:s,roomId:e,teamId:o[1]};return null}case"quip":{let e=o[1],t=o[2];if(t&&(0,_.A)(t)&&"app"!==n){let n=(0,i.nT)(a);return{type:s,fileId:t,teamId:e,focusThreadTs:(0,m.A)(n.focus_thread_ts?.toString())||"",focusSectionId:n.focus_section_id?.toString()||""}}return null}case"list":{let e=o[2];if(e&&(0,_.A)(e)){let t=(0,i.nT)(a),n=(0,m.A)(t.focus_thread_ts?.toString())||"";return{type:s,fileId:e,recordId:t.record_id?.toString()||"",viewId:t.view_id?.toString()||"",focusThreadTs:n}}return null}case"search":return{type:s,encodedSearchString:o[1]};case"slackhelp":if(o.length>=2){if((0,p.A)(o[2]))return{type:s,articleId:o[2]};if("whats_new"===o[1])return{type:s,articleId:"whats_new"}}return{type:s};case"shortcuts":if((0,h.A)(o[1]))return{type:s,triggerId:o[1]};return null;case"canvas":{let t=o[1],n=findChannelByIdentifier(e,t),r=n&&n.id||t;if(!r)return null;let l={type:s,channelId:r},c=(0,i.nT)(a),d=c.focus_section_id?.toString(),u=c.last_read_ts?.toString();if(d&&(l.focusSectionId=d),u){let e=u.length<13?1e3:1;l.lastReadTs=Number(u)*e}return l}case"shared_prompt":{let t=o[1],a=(0,y.k)(e,t),n={type:s,id:t};return a&&(n.prompt=a.prompt,n.appId=a.appId,n.isSlackbot=a.isSlackbot,n.promptRichText=a.promptRichText),n}case"org_chart":{let e=o[1];if((0,g.A)(e))return{type:s,memberId:e};return null}case"widgets":return{type:s,widgetId:o[1]};case"calendar":return{type:s,eventId:o[1]};case"channel-section":return{type:s,channelSectionId:o[1]};case"salesforce-record-flexpane":{let e=o[1],t=o[3];if(!e||!t||"records"!==o[2])return null;return{type:s,orgId:e,recordId:t}}default:return null}}function parsePermalink(e,t){return t?parsePermalinkFromParsedUrl(e,(0,o.Ay)(t)):null}function parsePermalinkFromParsedUrl(e,t){let a,{hostname:n,pathname:r,search:i}=t;if(!n||!r||!(0,A.A)(n))return null;"slack.com"!==n&&(a=n.split(".")[0]);let o=getPermalinkParams(e,r,i,a);return o?{subdomain:a,...o}:null}function getTeamAndChannelFromPermalink(e,t){let a={channel:null,team:null};if(!e||!t)return a;let n=parsePermalink(e,t);if(!n)return a;let{subdomain:r,channelId:i}=n;return{channel:(0,b.OL)(e,i),team:(0,S.lL)(e,r)}}function getSonicUrlForPermalink(e,t){let a=(0,E.A)(e,t.subdomain);if(a)switch(t.type){case"file":if(t.channelId&&t.fileId)return(0,c.M5)(s.De,{teamId:a,entityId:t.channelId,fileId:t.fileId});break;case"member":if(t.channelId&&t.memberId){if(t.ts)return(0,c.M5)(s.Q$,{teamId:a,entityId:t.channelId,memberId:t.memberId,timestamp:t.ts});return(0,c.M5)(s.Q$,{teamId:a,entityId:t.channelId,memberId:t.memberId})}break;case"message":if(t.channelId){if(t.ts&&t.threadTs)return(0,c.M5)(s.lM,{teamId:a,entityId:t.channelId,threadId:`${t.channelId}-${t.threadTs}`,replyTs:t.threadTs});if(t.ts)return(0,c.M5)(s._G,{teamId:a,entityId:t.channelId,timestamp:t.ts});return(0,c.M5)(s._G,{teamId:a,entityId:t.channelId})}}}},0xe87b4f3b:(e,t,a)=>{"use strict";a.d(t,{Bf:()=>m,EH:()=>p,M7:()=>g,MA:()=>f,S0:()=>_,fh:()=>A,ji:()=>h,o5:()=>canUserViewWorkflowTemplatesAndUseDeepLinks,pr:()=>b,qr:()=>canUserViewWorkflowsAndUseDeepLinks});var n=a(0xcaea2334),r=a(0x3e058968),i=a(0x115aa5ac3),o=a(0x145d46a61),s=a(0x49e911f4),l=a(0x2498088b6),c=a(0x17f03e906),d=a(0x1cf0d97e1),u=a(0x147fb8c90);let m=(0,d.Ay)(e=>(0,u.G2)(e,"hermes__read"));m.meta={name:"canUserViewWorkflows",key:"createSelectorCanUserViewWorkflows",description:e=>(0,u.G2)(e,"hermes__read")},(0,d.Ay)(e=>(0,u.G2)(e,i.CP.WorkflowConditionalStepsUse)).meta={name:"isFeatureConditionalBranchingEnabled",key:"createSelectorIsFeatureConditionalBranchingEnabled",description:e=>(0,u.G2)(e,i.CP.WorkflowConditionalStepsUse)};let f=(0,d.Ay)(e=>m(e)&&(0,n._)(e));f.meta={name:"canUserViewRecentlyUsed",key:"createSelectorCanUserViewRecentlyUsed",description:e=>m(e)&&(0,n._)(e)};let _=(0,d.Ay)(e=>m(e)&&(0,n._)(e));_.meta={name:"canUserViewBrowseShortcuts",key:"createSelectorCanUserViewBrowseShortcuts",description:e=>m(e)&&(0,n._)(e)};let p=(0,d.Ay)(e=>m(e)&&((0,n.I)(e)||(0,o.EW)(e))&&!(0,s.DM)(e));p.meta={name:"canUserViewManagedByYou",key:"createSelectorCanUserViewManagedByYou",description:e=>m(e)&&((0,n.I)(e)||(0,o.EW)(e))&&!(0,s.DM)(e)};let h=(0,d.Ay)(e=>(0,o.Lh)(e)&&m(e)&&((0,n.I)(e)||(0,o.EW)(e)));h.meta={name:"canUserViewWorkflowEditor",key:"createSelectorCanUserViewWorkflowEditor",description:e=>(0,o.Lh)(e)&&m(e)&&((0,n.I)(e)||(0,o.EW)(e))};let g=(0,d.Ay)(e=>(0,o.dm)(e)&&m(e)&&(0,n.I)(e));g.meta={name:"canUserViewYourWorkflowTemplates",key:"createSelectorCanUserViewYourWorkflowTemplates",description:e=>(0,o.dm)(e)&&m(e)&&(0,n.I)(e)};let canUserViewWorkflowsAndUseDeepLinks=e=>m(e),A=(0,d.Ay)(e=>{let t=m(e),a=(0,r.Kl)(e),n=(0,c.c)(e),i=(0,l.t_)(e);return!!t&&!!a&&!n&&!!i});A.meta={name:"canUserViewWorkflowTemplates",key:"createSelectorCanUserViewWorkflowTemplates",description:e=>{let t=m(e),a=(0,r.Kl)(e),n=(0,c.c)(e),i=(0,l.t_)(e);return!!t&&!!a&&!n&&!!i}};let canUserViewWorkflowTemplatesAndUseDeepLinks=e=>A(e),b=(0,d.Ay)(e=>!(0,s.DM)(e));b.meta={name:"canUserViewApps",key:"createSelectorCanUserViewApps",description:e=>!(0,s.DM)(e)}},0xb4ea2806:(e,t,a)=>{"use strict";a.d(t,{x:()=>computeChannelPostingPermissions});var n=a(0x21f3c49e8),r=a(0x1aba66b56),i=a(0x1ee15af19),o=a(0x21b0fd259),s=a(0x4b8e0952),l=a(0x143fb6398),c=a(0xb0245531),d=a(0xf038462c),u=a(0x49e911f4),m=a(0xe684f705);let checkChannelPrefCascade=(e,{prefValue:t,channel:a})=>{if((0,n.A)(t))return!1;let f=(0,m.cA)(e);if((0,s.ow)(f))return!1;if((0,r.A)(t.user,f.id))return!0;let _=t.role||t.type,p=(0,l.ju)(a)&&(0,c.b)(e,a);switch((0,i.A)(_)){case"ra":case"all":default:return!0;case"regular":return!p&&!(0,u.sV)(e);case"admin":return!p&&(0,d.S4)(e,a);case"org_admin":return!p&&(0,o.n5)(f)}},computeChannelPostingPermissions=(e,{prefValuePost:t,prefValueThread:a,channel:n})=>{let r=!t||checkChannelPrefCascade(e,{prefValue:t,channel:n}),i=!a||checkChannelPrefCascade(e,{prefValue:a,channel:n});return{isReadOnly:!r&&!i,isThreadOnly:!r&&i}}},0x20700f08e:(e,t,a)=>{"use strict";a.d(t,{KV:()=>isLockedOrgPrefSet,LE:()=>canUserDoWorkflowCreationTeamPrefForTeamIds,pq:()=>canUserDoWorkflowCreationTeamPrefInSomeWorkspace});var n=a(0x202470d56),r=a(0x23255e234),i=a(0x2574d112),o=a(0x10ff57a01),s=a(0x63855930),l=a(0xb8504a42),c=a(0xb1f0729f),d=a(0x9b971e7e),u=a(0xe684f705),m=a(0x1ee439e69);let isLockedOrgPrefSet=(e,t)=>{let a=(0,c.SI)(e,t);return!(0,n.A)(a)},checkWorkspacePrefValueForTeamIds=(e,t)=>(0,s.v)(e,"type")&&e.type.includes("selected")&&(0,s.v)(e,"workspace")&&e.workspace.some(e=>t.includes(e)),canUserDoWorkflowCreationTeamPrefForTeamIds=(e,t,a)=>{let n=(0,u.cA)(e),s=(0,c.SI)(e,t),l=(0,r.Ez)(n);return!!(checkWorkspacePrefValueForTeamIds(s,a)&&!l||Object.values((0,o.p)(e,t,a)).some(e=>checkWorkspacePrefValueForTeamIds(e,a))&&!l)||(0,i.TE)(e,t,a)},canUserDoWorkflowCreationTeamPrefInSomeWorkspace=(e,t)=>{let a=(0,u.cA)(e),n=(0,m.H7)(e);return!(!(0,l.r7)(n)||"who_can_create_workflows"!==t||isLockedOrgPrefSet(e,t)||(0,r.Ez)(a))||canUserDoWorkflowCreationTeamPrefForTeamIds(e,t,(0,d.VO)(e))}},0x1f66b5878:(e,t,a)=>{"use strict";a.d(t,{Bx:()=>canUserDoEnableStyleTeamPrefForChannelById,JF:()=>canUserDoEnableStyleTeamPrefForChannel,PN:()=>canUserDoEnableStyleTeamPrefForTeamIds,p$:()=>canUserDoEnableStyleTeamPrefInSomeWorkspace});var n=a(0xb70d870b),r=a(0x10ff57a01),i=a(0x9b971e7e),o=a(0x217553e42);let s={allow_box_cfs:!1},canUserDoEnableStyleTeamPrefForTeamIds=(e,t,a)=>Object.values((0,r.p)(e,t,a)).some(e=>(e??s[t])!==!1),canUserDoEnableStyleTeamPrefForChannel=(e,t,a)=>{if(!a)return!1;let r=(0,n.f)(e,a);return!!r&&canUserDoEnableStyleTeamPrefForTeamIds(e,t,r)},canUserDoEnableStyleTeamPrefForChannelById=(e,t,a)=>{let n=(0,o.OL)(e,a);return canUserDoEnableStyleTeamPrefForChannel(e,t,n)},canUserDoEnableStyleTeamPrefInSomeWorkspace=(e,t)=>{let a=(0,i.VO)(e);return canUserDoEnableStyleTeamPrefForTeamIds(e,t,a)}},0x1c2e38de1:(e,t,a)=>{"use strict";a.d(t,{p:()=>getMostPermissiveFileUploadPref,v:()=>s});var n,r=a(0x1f66b5878),i=a(0x10ff57a01),o=a(0x9b971e7e),s=((n={}).ALLOW_ALL="allow_all",n.IMAGES_ONLY="disable_all_except_images",n.DISABLE_ALL="disable_all",n);let getMostPermissiveFileUploadPref=e=>{let t=(0,o.VO)(e);if((0,r.PN)(e,"allow_box_cfs",t)||!t.length)return"allow_all";let a=Object.values((0,i.p)(e,"disable_file_uploads",t));return["allow_all","disable_all_except_images","disable_all"].find(e=>a.some(t=>t===e))??"allow_all"}},0x757d6d8:(e,t,a)=>{"use strict";a.d(t,{t:()=>getMsgEditWindowMinsForChannel});var n=a(0xb70d870b),r=a(0x1d600678);let getMsgEditWindowMinsForChannel=(e,t)=>{if(!t)return -1;let a=(0,n.f)(e,t);if(!a)return -1;let i=-1;for(let t=0;t<a.length;t++){let n=(0,r.x)(e,"msg_edit_window_mins",a[t]);if(-1===n)return n;n>i&&(i=n)}return i}},0x1ae984313:(e,t,a)=>{"use strict";a.d(t,{X:()=>shouldIgnoreWorkspaceMembership});var n=a(0x21f3c49e8),r=a(0x190a9df19),i=a(0x1d30b0ef7),o=a(0x9b971e7e),s=a(0x1d600678);let shouldIgnoreWorkspaceMembership=e=>(0,i.xq)()===i.yS.ENTERPRISE&&!!(0,r.FQ)(e)&&!(0,o.kN)(e)&&(0,n.A)((0,s.a)(e))},0x2574d112:(e,t,a)=>{"use strict";a.d(t,{Ic:()=>canUserDoTeamPrefForTeamId,TE:()=>canUserDoTeamPref,eT:()=>g});var n=a(0x21f3c49e8),r=a(0x21da4684a),i=a(0x9e671ad),o=a(0xb62e6bf4),s=a(0x23255e234),l=a(0x1ae984313),c=a(0x10ff57a01),d=a(0x63855930),u=a(0x190a9df19),m=a(0x1ec68d6a3),f=a(0x9b971e7e),_=a(0x1d600678),p=a(0xe684f705),h=a(0x687556ae);let g={RA:"ra",REGULAR:"regular",ADMIN:"admin",OWNER:"owner",ORG_ADMIN:"org_admin",ORG_OWNER:"org_owner"},canUserDoStringTeamPref=(e,t)=>{switch(e){case g.RA:return!0;case g.REGULAR:return!t.isRestricted;case g.ADMIN:return t.canActAsWorkspaceAdmin;case g.OWNER:return t.canActAsWorkspaceOwner;case g.ORG_ADMIN:return t.isEnterpriseAdmin;case g.ORG_OWNER:return t.isEnterpriseOwner;default:return}},canUserDoTeamPrefForTeamId=(e,t,a)=>{let i,o,l,c,m,f=(0,p.cA)(e),_=(i=(0,p.cA)(e),o=(0,u.p2)(e,a),l=(0,u.Zo)(e,a),c=(0,u.hu)(e,a),m=(0,u.FQ)(e,a),{isRestricted:(0,s.Ez)(i),isWorkspaceOwner:o,isWorkspaceAdmin:l,isEnterpriseOwner:c,isEnterpriseAdmin:m,canActAsWorkspaceOwner:o||m,canActAsWorkspaceAdmin:l||m}),g=!_.isRestricted;if((0,n.A)(t))return g;if("string"==typeof t)return canUserDoStringTeamPref(t,_)??g;if((0,d.v)(t,"user")&&t.user.includes(f.id))return!0;if((0,d.v)(t,"subteam")){let a=(0,h.QF)(e);if((0,r.A)(t.subteam,a).length>0)return!0}return!!(0,d.v)(t,"type")&&(0===t.type.length?g:t.type.some(e=>canUserDoStringTeamPref(e,_)))},canUserDoTeamPref=(e,t,a)=>{if((0,l.X)(e))return!0;let n=(0,o.ss)(e);if(a&&!n){let n=(0,f.kN)(e)??[];(0,i.A)(a,n)||(0,m.default)({state:e}).error(`Unexpected team id set when org unified not enabled when checking canUserDoTeamPref for pref name ${t}. Expected ${n.join(", ")}, got ${a.join(", ")}.`)}if(!a||!n){let a=(0,_.x)(e,t);return canUserDoTeamPrefForTeamId(e,a)}return Object.entries((0,c.p)(e,t,a)).some(([t,a])=>canUserDoTeamPrefForTeamId(e,a,t))}},0x10ff57a01:(e,t,a)=>{"use strict";a.d(t,{p:()=>getTeamPrefForTeamIds});var n=a(0x1d24ec95f),r=a(0x202470d56),i=a(0x1ec68d6a3),o=a(0xb1f0729f),s=a(0x9b971e7e),l=a(0x1d600678),c=a(0x1ee439e69);let getTeamPrefForTeamIds=(e,t,a)=>{let d=(0,s.VO)(e),[u,m]=(0,n.A)(a,e=>d.includes(e));m.length>0&&(0,i.default)({state:e}).warn(`Workspace ID's not included in self workspace ids when retrieving team prefs: ${m.join(", ")}`);let f=(0,s.jV)(e),_=(0,o.wc)(e,t),p=(0,o.SI)(e,t);return u.reduce((a,n)=>{let i=(0,c._J)(e,n),o=f&&i?.enterprise_id===f;return o&&!(0,r.A)(_)?a[n]=_:o&&!(0,r.A)(p)?a[n]=p:a[n]=(0,l.x)(e,t,n),a},{})}},0x63855930:(e,t,a)=>{"use strict";a.d(t,{v:()=>isPrefValueWithField});var n=a(0x4c1ca4d7);let isPrefValueWithField=(e,t)=>(0,n.A)(e)&&void 0!==e[t]},0x242c380a:(e,t,a)=>{"use strict";a.d(t,{$:()=>getMemberHighlightById});let getMemberHighlightById=e=>{if(!e)return;let t=e.replace(/^@/,"");return`<@${t}`}},0x250b0b4fd:(e,t,a)=>{"use strict";a.d(t,{J:()=>getUserGroupHighlightById});let getUserGroupHighlightById=e=>{if(e)return`<!subteam^${e}`}},0xf3719a28:(e,t,a)=>{"use strict";a.d(t,{H:()=>getChannelCanvasProperties});var n=a(0x5739d664),r=a(0x107e97a6b),i=a(0xdf55e8f3),o=a(0x217553e42);let s=(0,n.A)((e,t)=>{let a=!!e?.is_migrated,n=t||!a?e?.file_id:void 0,i=e?.is_empty,o=e?.is_primary_view,s=n?(0,r.Lo)({id:n}):null,l=e?.is_linked_canvas_deleted,c=e?.is_open_by_default,d=e?.is_open_by_default_timestamp?e?.is_open_by_default_timestamp*1e3:void 0;return{fileId:n,quipDocId:s,isEmpty:i,isPrimaryView:o,isOpenByDefault:c,isOpenByDefaultTs:d,isLinkedCanvasDeleted:l,editsRestrictedToChannelManager:e?.edits_restricted_to_channel_manager,muteChannelCanvasUpdates:e?.mute_edit_updates,isMigrated:a}}),getChannelCanvasProperties=(e,t)=>s(e?.properties?.canvas,t);(0,i.eI)((e,{channelId:t})=>{let a=(0,o.OL)(e,t)?.properties?.canvas;return a?s(a,!0):null})},0x224811973:(e,t,a)=>{"use strict";a.d(t,{y:()=>teamHasCanvasAccess});var n=a(0x17fee64c3),r=a(0x17f03e906),i=a(0x14149c126),o=a(0x100313bb4);let teamHasCanvasAccess=e=>!((0,o.R)(e)&&(0,n.z$)()||"on"===(0,i._Z)(e,"canvas_govslack_killswitch")&&(0,n.z$)())&&!(0,r.c)(e)},0x167d76333:(e,t,a)=>{"use strict";a.d(t,{F:()=>teamHasFullCanvasAccess});var n=a(0x224811973),r=a(0x8cc877c4);let teamHasFullCanvasAccess=e=>(0,n.y)(e)&&(0,r.r)(e)},0x1d37f5c8a:(e,t,a)=>{"use strict";a.d(t,{J:()=>getReactionKey});var n=a(0x12d1ec34),r=a(0x1ff5b60c4);let getReactionKey=(e,t)=>{let a,i,o;e&&("file_comment"===e.subtype?[i,a]=["file_comment",e.comment]:(0,n.A)(e.subtype)?[i,a]=["file",t]:[i,a,o]=["message",e,e.channel]);let s="message"===i?a?.ts:a?.id;return a&&(a._rxn_key||(0,r.B)(i,s,o))}},0x1ff5b60c4:(e,t,a)=>{"use strict";a.d(t,{B:()=>makeReactionKey});let makeReactionKey=(e,t,a)=>{if(!e||!t)throw TypeError("makeReactionKey: missing type or ID");if("message"===e&&!a)throw TypeError("makeReactionKey: no channel ID provided for message type");if("message"!==e&&a)throw TypeError("makeReactionKey: channel ID provided for non-message type");return`${e}-${t}-${a||""}`}},0x1f28bdc18:(e,t,a)=>{"use strict";a.d(t,{F$:()=>isArchived,JL:()=>isOverDue,Ub:()=>isSavedMessageSelectedInPrimaryView,cw:()=>isSavedListRecordSelectedInPrimaryView,sN:()=>isSavedItemCompleted});var n=a(0x105ecbbed),r=a(0x121459a2),i=a(0x19895585a);let isSavedItemCompleted=e=>!!e&&!!e.dateCompleted,isArchived=e=>(e.itemType===r.ll.message||e.itemType===r.ll.file||e.itemType===r.ll.canvas_section||e.itemType===r.ll.list_record||e.itemType===r.ll.list_record_field)&&!!e.isArchived,isOverDue=e=>{let t=Math.floor(Date.now()/1e3);return!!(e.dateDue&&e.dateDue<=t)},isSavedMessageSelectedInPrimaryView=({item:e,primaryView:t})=>{if(e.itemType!==r.ll.message)return!1;if(t?.id===e.itemId&&t?.params?.startTs===e.ts)return!0;let{channelId:a}=(0,n.Sb)(t?.params?.threadId);return!!(t?.id&&i.K5.includes(t.id))&&a===e.itemId&&t?.params?.replyTs===e.ts},isSavedListRecordSelectedInPrimaryView=({item:e,primaryView:t})=>e.itemType===r.ll.list_record&&t?.id===e.recordId},0x5e7c6650:(e,t,a)=>{"use strict";a.d(t,{ze:()=>Y,CE:()=>q,ex:()=>L,Gl:()=>N,eb:()=>K,Ge:()=>shouldShowAutoslackLaunchpadLink,Wf:()=>P,lH:()=>shouldShowExplorePaidFeaturesLink,jM:()=>H,u_:()=>B,Bp:()=>U,wb:()=>V,GM:()=>M,aF:()=>W,Ew:()=>j,c_:()=>F,my:()=>D,aK:()=>shouldShowTodayLink,Mr:()=>G});var n=a(0xc9c97240),r=a(0x2076e58db),i=a(0x14ebbe52a),o=a(0xebdd009e),s=a(0x70de3606),l=a(0xe87b4f3b),c=a(0x224811973),d=a(0x1ccef1c6f),u=a(0x1bc4b3ad8);let m=(0,u.F)(e=>(0,d.ty)(e,"sidebar_theme_custom_values"),e=>{if(e)try{return JSON.parse(e)}catch{return}});var f=a(0x14cd2eed9);let _=(0,u.F)(e=>(0,d.ty)(e,"ia_top_nav_theme"),e=>{if(e)try{return(0,f.K)(e)}catch{return}});var p=a(0x382cbff6),h=a(0xfab062b2),g=a(0x49e911f4),A=a(0x12cbe336e),b=a(0x20df09e0a),y=a(0x1cf0d97e1),S=a(0x2524b31ef),E=a(0x20c23cf7a),k=a(0x1fb2d2a87),T=a(0xb9604b6),I=a(0x5b1935a6),w=a(0x1b9ff23fe),C=a(0x1cc14e4db),v=a(0x18a17ca8f),x=a(0x10437fca0),R=a(0x1067595c0),O=a(0x19895585a);let N=(0,y.Ay)(e=>!0===(0,d.ty)(e,"enable_unread_view"));N.meta={name:"shouldShowAllUnreadsLink",key:"createSelectorShouldShowAllUnreadsLink",description:e=>!0===(0,d.ty)(e,"enable_unread_view")};let D=(0,y.Ay)((e,t)=>{if(!(0,d.ty)(e,"enable_threads_view"))return!1;if(t(e,{container:O.mq.Primary})?.id!=="Vall_threads"){let t=(0,d.ty)(e,"has_received_threaded_message"),a=(0,R.zx)(e);return t||a}return!0});D.meta={name:"shouldShowThreadsLink",key:"createSelectorShouldShowThreadsLink",description:(e,t)=>{if(!(0,d.ty)(e,"enable_threads_view"))return!1;if(t(e,{container:O.mq.Primary})?.id!=="Vall_threads"){let t=(0,d.ty)(e,"has_received_threaded_message"),a=(0,R.zx)(e);return t||a}return!0}};let L=(0,y.Ay)(e=>!1!==(0,d.ty)(e,"enable_all_dms_view")&&!1!==(0,d.ty)(e,"reached_all_dms_disclosure"));L.meta={name:"shouldShowAllDMsLink",key:"createSelectorShouldShowAllDMsLink",description:e=>!1!==(0,d.ty)(e,"enable_all_dms_view")&&!1!==(0,d.ty)(e,"reached_all_dms_disclosure")};let M=(0,y.Ay)(e=>!0===(0,d.ty)(e,"has_received_mention_or_reaction")&&!1!==(0,d.ty)(e,"enable_mentions_and_reactions_view"));M.meta={name:"shouldShowMentionsReactionsLink",key:"createSelectorShouldShowMentionsReactionsLink",description:e=>!0===(0,d.ty)(e,"has_received_mention_or_reaction")&&!1!==(0,d.ty)(e,"enable_mentions_and_reactions_view")};let F=(0,y.Ay)(e=>!0===(0,d.ty)(e,"has_starred_item")&&!1!==(0,d.ty)(e,"enable_saved_items_view"));F.meta={name:"shouldShowSavedLink",key:"createSelectorShouldShowSavedLink",description:e=>!0===(0,d.ty)(e,"has_starred_item")&&!1!==(0,d.ty)(e,"enable_saved_items_view")};let P=(0,y.Ay)(e=>{if(!(0,d.ty)(e,"enable_sent_view"))return!1;let t=(0,d.ty)(e,"has_sent_ten_messages"),a=t&&t>=10;if(a)return!0;let n=(0,i.A)(e,{includeScheduledDrafts:!1}),o=(0,r.A)(e).length;return!!a||0!==n||0!==o});P.meta={name:"shouldShowDraftsAndSentLink",key:"createSelectorShouldShowDraftsAndSentLink",description:e=>{if(!(0,d.ty)(e,"enable_sent_view"))return!1;let t=(0,d.ty)(e,"has_sent_ten_messages"),a=t&&t>=10;if(a)return!0;let n=(0,i.A)(e,{includeScheduledDrafts:!1}),o=(0,r.A)(e).length;return!!a||0!==n||0!==o}};let U=(0,y.Ay)(e=>(0,w.mD)(e).uncompletedOverdueCount>0||!0===(0,d.ty)(e,"has_starred_item"));U.meta={name:"shouldShowLaterLink",key:"createSelectorShouldShowLaterLink",description:e=>(0,w.mD)(e).uncompletedOverdueCount>0||!0===(0,d.ty)(e,"has_starred_item")};let B=(0,y.Ay)(e=>!!(0,o.pl)(e)&&!!(0,d.ty)(e,"enable_huddles_home_view"));B.meta={name:"shouldShowHuddlesLink",key:"createSelectorShouldShowHuddlesLink",description:e=>!!(0,o.pl)(e)&&!!(0,d.ty)(e,"enable_huddles_home_view")};let G=(0,y.Ay)(e=>!!(0,h.v)(e)&&!!(0,d.ty)(e,"enable_todos_view"));G.meta={name:"shouldShowTodosLink",key:"createSelectorShouldShowTodosLink",description:e=>!!(0,h.v)(e)&&!!(0,d.ty)(e,"enable_todos_view")},(0,y.Ay)(e=>(0,v.E2)(e)||!0===(0,d.ty)(e,"enable_channel_browser_view")).meta={name:"shouldShowChannelBrowserLink",key:"createSelectorShouldShowChannelBrowserLink",description:e=>(0,v.E2)(e)||!0===(0,d.ty)(e,"enable_channel_browser_view")};let H=(0,y.Ay)(e=>(0,d.ty)(e,"enable_file_browser_view_for_docs"));H.meta={name:"shouldShowFileBrowserLink",key:"createSelectorShouldShowFileBrowserLink",description:e=>(0,d.ty)(e,"enable_file_browser_view_for_docs")};let W=(0,y.Ay)(e=>!!((0,c.y)(e)&&(0,d.ty)(e,"enable_quip_file_browser_view")));W.meta={name:"shouldShowQuipFileBrowserLink",key:"createSelectorShouldShowQuipFileBrowserLink",description:e=>!!((0,c.y)(e)&&(0,d.ty)(e,"enable_quip_file_browser_view"))};let V=(0,y.Ay)(e=>!!((0,s.Il)(e)&&(0,d.ty)(e,"enable_lists_browser_view")));V.meta={name:"shouldShowListsBrowserLink",key:"createSelectorShouldShowListsBrowserLink",description:e=>!!((0,s.Il)(e)&&(0,d.ty)(e,"enable_lists_browser_view"))};let j=(0,y.Ay)(e=>(0,E.hS)(e)&&(0,d.ty)(e,"enable_recap_view"));j.meta={name:"shouldShowRecapLink",key:"createSelectorShouldShowRecapLink",description:e=>(0,E.hS)(e)&&(0,d.ty)(e,"enable_recap_view")},(0,y.Ay)(e=>(0,v.E2)(e)||!0===(0,d.ty)(e,"enable_people_browser_view")).meta={name:"shouldShowPeopleBrowserLink",key:"createSelectorShouldShowPeopleBrowserLink",description:e=>(0,v.E2)(e)||!0===(0,d.ty)(e,"enable_people_browser_view")},(0,y.Ay)(e=>!!(0,l.Bf)(e)).meta={name:"shouldShowAutomationsLink",key:"createSelectorShouldShowAutomationsLink",description:e=>!!(0,l.Bf)(e)},(0,y.Ay)(e=>(0,d.ty)(e,"enable_app_browser_view")).meta={name:"isAutomationsLinkAlwaysShown",key:"createSelectorIsAutomationsLinkAlwaysShown",description:e=>(0,d.ty)(e,"enable_app_browser_view")};let K=(0,y.Ay)(e=>!(0,g.sV)(e)&&(0,S.cS)(e));K.meta={name:"shouldShowAppsSection",key:"createSelectorShouldShowAppsSection",description:e=>!(0,g.sV)(e)&&(0,S.cS)(e)};let q=(0,y.Ay)(e=>{let t=(0,d.ty)(e,"sidebar_theme");return t===b.Ry.default?b.Xk.defaultTheme:(0,b.BX)(t)?t:null});q.meta={name:"getChannelSidebarThemeName",key:"createSelectorGetChannelSidebarThemeName",description:e=>{let t=(0,d.ty)(e,"sidebar_theme");return t===b.Ry.default?b.Xk.defaultTheme:(0,b.BX)(t)?t:null}};let z=(0,y.Ay)((e,t)=>"dark"===(0,k.to)(e)?b.Pl[t]:b.v7[t]);z.meta={name:"getChannelSidebarBuiltinThemeByName",key:"createSelectorGetChannelSidebarBuiltinThemeByName",description:(e,t)=>"dark"===(0,k.to)(e)?b.Pl[t]:b.v7[t]};let $=(0,n.Mz)(e=>m(e),e=>{if((0,b.rM)(e))return e}),Y=(0,n.Mz)(e=>z(e,"default_theme"),e=>q(e),e=>$(e),e=>_(e),e=>(0,k.to)(e),(e,t,a,n,r)=>{let i;return i=a?(0,b._l)(a,(0,b.Kc)(n)?n:void 0):e,t&&t!==b.Ry.customTheme&&t!==b.Ry.workspaceDefault&&t!==b.Ry.orgDefault?t===b.Ry.default||t===b.Xk.defaultTheme?e:"dark"===(r||"light")?b.Pl[t]||i:b.v7[t]||i:i});function shouldShowAutoslackLaunchpadLink(e){return(0,x.LI)(e)&&(0,T.Hp)(e,I.xu.SIDEBAR_MENU_HEADER)!==I.ze.AUTO_SLACK_LAUNCHPAD_GET_STARTED_HEADER}function shouldShowExplorePaidFeaturesLink(e){return(0,C.o$)(e)}function shouldShowTodayLink(e){return(0,p.d9)(e)&&((0,A.hi)(e)||(0,p.xh)(e))}},0x143fb6398:(e,t,a)=>{"use strict";a.d(t,{Up:()=>isExternallySharedPublicChannel,iG:()=>isExternallySharedChannelDisconnected,ju:()=>isExternallySharedChannel});var n=a(0x12185e091),r=a(0x180c47f59);let isExternallySharedChannel=e=>!!e?.is_ext_shared,isExternallySharedPublicChannel=e=>!!(e?.is_ext_shared&&!(0,n.Zp)(e)),isExternallySharedChannelDisconnected=e=>!!(0,r.v)(e)},0xb0245531:(e,t,a)=>{"use strict";a.d(t,{b:()=>isHostedByAnotherTeam});var n=a(0x9b971e7e);let isHostedByAnotherTeam=(e,t)=>!!(t&&t.conversation_host_id&&t.conversation_host_id!==(0,n.Kc)(e)&&t.conversation_host_id!==(0,n.ZT)(e))},0x1b154a8c4:(e,t,a)=>{"use strict";a.d(t,{M:()=>isPendingIm});var n=a(0x12185e091);let isPendingIm=e=>!!(e&&e.is_pending_ext_shared&&(0,n.LI)(e))},0x8cc877c4:(e,t,a)=>{"use strict";a.d(t,{r:()=>isSpaceshipPrefEnabled});var n=a(0x127ae2ce0),r=a(0x1d600678),i=a(0x14149c126),o=a(0x687556ae);function isSpaceshipPrefEnabled(e){return"on"===(0,i._Z)(e,"allow_spaceship_override")||!("on"===(0,i._Z)(e,"canvas_read_only_role")&&(0,n.K)(e).some(t=>(0,o.nc)(e,t)))&&"full"===(0,r.x)(e,"allow_spaceship")}},0x207eb3801:(e,t,a)=>{"use strict";a.d(t,{C$:()=>getAnalyticTypeFromEntityId,Cw:()=>isTableauVisualizationUrl,GM:()=>isLiveTableauAnalytic,MH:()=>isTableauDashboardUrl,PO:()=>isTableauMetricWorkObject,Ry:()=>isTableauMetric,Tc:()=>isTableauDashboard,XI:()=>isTableauWorkObject,_q:()=>getTableauUnfurlErrorState,bw:()=>isTableauVisualization,e3:()=>isTableauMetricUrl,f1:()=>getSalesforceOrgIdFromEntityId,jJ:()=>isTableauVisualizationWorkObject,k6:()=>looksLikeTableauWorkObjectEntityId,qv:()=>isExternalTableauWorkObject,rZ:()=>isTableauAuthRedirectStatus,to:()=>isTableauDashboardWorkObject,u2:()=>getSubmetricIdFromEntityId});var n=a(0x121d9a491),r=a(0x177c6bf9e),i=a(0xbed542d2),o=a(0x24e98a449),s=a(0x1bc652f98),l=a(0x1ec68d6a3),c=a(0x158cf1cb);function isTableauWorkObject(e){return e?e.work_object_type===o.R7.TABLEAU||"slack_type"in e&&e.slack_type===r.fI:((0,l.getGenericLogger)().error(Error("isTableauWorkObject: workObject is undefined")),!1)}function isTableauMetricWorkObject(e){return isTableauWorkObject(e)&&isTableauMetric(e.tableau)}function isTableauMetric(e){return e?.subtype===r.Go.SUBMETRIC}function isTableauMetricUrl(e){return e.includes("/tableau/exploreMetric/")}function isTableauDashboardWorkObject(e){return isTableauWorkObject(e)&&e.tableau?.subtype==="dashboard"}function isTableauVisualizationWorkObject(e){return isTableauWorkObject(e)&&e.tableau?.subtype==="visualization"}function isTableauDashboard(e){return e?.subtype===r.Go.DASHBOARD}function isTableauDashboardUrl(e){return e.includes("/tableau/dashboard/")}function isTableauVisualization(e){return e?.subtype===r.Go.VISUALIZATION}function isTableauVisualizationUrl(e){return e.includes("/tableau/visualization/")}function getTableauUnfurlErrorState(e){if(e&&(0,n.O$)(e)){if(isTableauDashboardUrl(e))return"tableau_dashboard_error";if(isTableauVisualizationUrl(e))return"tableau_visualization_error";if(isTableauMetricUrl(e))return"tableau_metric_error"}}function isExternalTableauWorkObject(e){return e?.work_object_type==="external"&&e.work_object_entity_type===s.C.SlackEntitiesTableauAnalytics}let isLiveTableauAnalytic=(e,t)=>{if(e?.entityTypeForClogging()!==s.C.SlackEntitiesTableauAnalytics)return!1;let a=e?.displayType();return"metric"===a||!!t&&"dashboard"===a},getSalesforceOrgIdFromEntityId=e=>e?.split(":")[4],getSubmetricIdFromEntityId=e=>e?.split(":")[5],getAnalyticTypeFromEntityId=e=>{let t=e?.split(":")[3];return"visualization"===t?"visualization":"dashboard"===t?"dashboard":"submetric"===t?"metric":void 0},looksLikeTableauWorkObjectEntityId=e=>{if(!e)return!1;let t=e.split(":");if("W"!==t[0]||t[1]!==c.Ei)return!1;let a=t.slice(2).join(":");return null!==(0,i.CK)(a)},isTableauAuthRedirectStatus=e=>!!e&&r.yx.AUTH_REDIRECT===e},0xa1832ae4:(e,t,a)=>{"use strict";a.d(t,{FH:()=>getCurrentDefaultWorkspaceUrl,IE:()=>getCurrentTeamDisplayName,Hg:()=>getEnterpriseAwareTeamDomain,k7:()=>getEnterpriseFormattedDomain,zs:()=>getExternalWorkspacePinnedCanvases,AP:()=>getGantryAppsManageUrl,p:()=>getGracePeriodEndDate,TU:()=>getSSOProviderLabel,$L:()=>getTeamCreationDateTimestamp,Ml:()=>getTeamDescription,F1:()=>getTeamDisplayName,Ic:()=>getTeamDomain,zM:()=>getTeamEmailDomains,Ss:()=>getTeamEnterpriseId,mf:()=>getTeamEnterpriseName,Rf:()=>getTeamIcon,ZT:()=>getTeamId,Uz:()=>getTeamImgProxyUrlRoot,L_:()=>getTeamInitials,lk:()=>getTeamPlan,Ig:()=>getTeamProfileFields,W0:()=>getTeamPublicUrl,c4:()=>getTeamRetentionChannelCount,S5:()=>getTeamRootDomain,gd:()=>getTeamSsoProvider,Zl:()=>getTeamUrl,ZN:()=>getTeamUrlById,Rt:()=>hasSSOProviderConfigured,B5:()=>isCMSteam,hc:()=>isExistent,QR:()=>isNonExistent,Ah:()=>isOnCompliancePlan,Wl:()=>isOnCompliancePlanOrEnterprise,Ab:()=>isOnEnterprisePlan,tc:()=>isOnFreePlan,NB:()=>isOnPlusPlan,Ny:()=>isOnPlusPlanOrHigher,KJ:()=>isOnStandardPlan,qR:()=>isPaidTeam,hk:()=>isSamlEnabled,dk:()=>isSsoEnabled,P2:()=>isSsoUsernameChoiceDisabled,IJ:()=>isTeam,Pd:()=>isUnavailable,Bg:()=>isUnavailableById,t8:()=>isUnknown,Zx:()=>isUnknownOrNonExistent,jr:()=>omitCurrentTeamId,gC:()=>openAuthenticatedUrlInBrowser,yJ:()=>openTeamUrlInBrowser});var n=a(0x21f3c49e8),r=a(0x77727995),i=a(0x1673f3229),o=a(0x1f355b555),s=a(0x1df96de4c),l=a(0x8c8bafa3),c=a(0x20482ad21),d=a(0x2264e6ea3),u=a(0x12aa0728d),m=a(0x1d5f57074),f=a(0xb62e6bf4),_=a(0x1059ba41d),p=a(0xff17647d),h=a(0x15f4f83cf),g=a(0xb8504a42),A=a(0x4aaaf207),b=a(0x7531c6a4),y=a(0x209e067d1),S=a(0x9b971e7e),E=a(0x1d600678),k=a(0x1266f1359),T=a(0x6cc4c078),I=a(0x1ee439e69);function isTeam(e){return!!e&&(0,d.Ay)(e.id)}function isPaidTeam(e){return!!e&&!!e.plan&&""!==e.plan}function getTeamEnterpriseId(e){return(0,f.y0)()&&(0,g.kA)(e)?e?.id:e?.enterprise_id}function getTeamEnterpriseName(e){return(0,f.y0)()&&(0,g.kA)(e)?e?.name:e?.enterprise_name}function getAuthMode(e){let t,a=e&&getTeamEnterpriseId(e),n=(0,b.F)();return(t=n?(0,k.$D)(a):(0,y.A)()&&a?(0,k.$D)(a)??(0,k.$D)(e?.id):(0,k.$D)(e?.id),n)?t?.prefs?.enterprise?.locked_prefs?.auth_mode:(0,E.x)(t,"auth_mode",e?.id)}function isSsoEnabled(e){let t=getAuthMode(e);return!!t&&"normal"!==t}function isSamlEnabled(e){return"saml"===getAuthMode(e)}function isSsoUsernameChoiceDisabled(e){return!1===(0,E.x)((0,k.$D)(e.id),"sso_choose_username")}function isUnknownOrNonExistent(e){return(0,h.GU)(e)}function isUnknown(e){return(0,h.mX)(e)}function isNonExistent(e){return(0,h.lv)(e)}function isExistent(e){return(0,h.uz)(e)}function getTeamDisplayName(e){let t=new c.Ay("team_token").t("Unknown Workspace");return!e||isNonExistent(e)||isUnknown(e)?t:e.name?e.name:t}let getCurrentTeamDisplayName=e=>getTeamDisplayName((0,I.H7)(e));function getTeamProfileFields(e){return e&&e.profile&&e.profile.fields}function getTeamSsoProvider(e){return e&&e.sso_provider}function getSSOProviderLabel(e,t){if(!e||(0,n.A)(e))return t;let a=(0,r.A)(e,"type",""),i=(0,r.A)(e,"name","");return""===a||"saml"===a?t:i||t}function hasSSOProviderConfigured(e){return!(!e||(0,n.A)(e))&&""!==(0,r.A)(e,"type","")}function isOnCompliancePlan(e){return!!e&&"compliance"===e.plan}function isOnPlusPlan(e){return!!e&&"plus"===e.plan}function isOnStandardPlan(e){return!!e&&"std"===e.plan}function getTeamPlan(e){return e.plan||""}function isOnFreePlan(e){return!!e&&!e.plan&&!(0,g.r7)(e)}function isOnPlusPlanOrHigher(e){return!!e&&(isOnPlusPlan(e)||isOnCompliancePlan(e)||(0,g.r7)(e))}function isOnCompliancePlanOrEnterprise(e){return!!e&&(isOnCompliancePlan(e)||(0,g.r7)(e))}function isOnEnterprisePlan(e){return!!e&&(0,g.r7)(e)}function getGracePeriodEndDate(e){let t=(0,T._f)(e);if(t){let e=o.Ay.unix(t);return(0,o.Ay)(e).add(5,"day").format("MMMM D")}}function isUnavailable(e){return isMigrating(e)||(0,A.x)(e)}function isUnavailableById(e,t){return!!t&&isUnavailable((0,I._J)(e,t))}function isMigrating(e){return!!e&&e.is_migrating}function getTeamIcon(e){return e&&e.icon}function getTeamId(e){return e&&e.id}function getTeamDomain(e){return e?.domain||""}function getEnterpriseAwareTeamDomain(e){if(e?.id&&e?.domain)return getEnterpriseFormattedDomain(e.id,e.domain)}function getTeamDescription(e){return e?.description}function getEnterpriseFormattedDomain(e,t){return(0,d.JV)(e)?`${t}.enterprise`:t}function getTeamPublicUrl(e,t=!1){return t?e&&(0,m.Ay)(e.public_url).hostname:e&&e.public_url}function getTeamInitials(e,{limit:t=1/0}={}){if(!e)return"";let a=e.replace(/[^\w\s-]/g,"").split(/[\s|-]+/).map(e=>e[0]).slice(0,t).join("");return a?a.toUpperCase():e.slice(0,t)}function getTeamEmailDomains(e){return e?.email_domain}function getTeamCreationDateTimestamp(e){return e&&(e.date_create||e.date_created)||0}function makeTeamHost(e){let t=e.id&&(0,d.JV)(e.id)?"enterprise.":"";return`${e.domain}.${t}${(0,l.Xk)()}`}function getTeamRootDomain(e){let t=e?.url,a=getEnterpriseAwareTeamDomain(e);return t&&a?(0,u.yz)(t).replace(`${a}.`,""):(0,l.Xk)()}function getTeamUrl(e,t="",a=!1){let n;return n=e&&(e.domain||e.url)?e.url?new URL(e.url).host:makeTeamHost(e):`my.${(0,l.Xk)()}`,a?n:`https://${n}/${"/"===t[0]?t.slice(1,t.length):t}`}let getTeamUrlById=(e,t,a="",n=!1)=>getTeamUrl((0,I._J)(e,t),a,n);function getGantryAppsManageUrl(e){let t=getTeamRootDomain(e);return`https://app.${t}/apps-manage/${e?.id}/`}function getCurrentDefaultWorkspaceUrl(e){return getTeamUrl(((0,f.ss)(e)?(0,I.fu)(e):void 0)??(0,I.H7)(e))}function getTeamImgProxyUrlRoot(e){let t=e?.image_proxy_url;return t||`https://${(0,l.Ey)()}/`}function openAuthenticatedUrlInBrowser(e,t,a="_blank"){let n=getTeamUrl(e),r="/"===t[0]?t.slice(1,t.length):t;(0,p.g)()?(n+=`web/open/${r}`,(0,_.Pxz)(n)):(n+=r,window.open(n,a))}function openTeamUrlInBrowser(e,t,a="_blank"){let n=getTeamUrl(e);n+="/"===t[0]?t.slice(1,t.length):t,window.open(n,a)}function omitCurrentTeamId(e,t){let a=(0,S.Kc)(e);return(0,i.A)(t,a)}function getTeamRetentionChannelCount(e){return e?.retention_channel_count}let getExternalWorkspacePinnedCanvases=e=>e?.pinned_canvases||s.Ml;function isCMSteam(e){return"T0514RALHL4"===e.id||"T013MLBA89G"===e.id}},0x1047c38ea:(e,t,a)=>{"use strict";a.d(t,{kN:()=>isTeamOpen,ol:()=>isTeamHidden});let isTeamOpen=e=>!!(e&&e.is_open),isTeamHidden=e=>!!e&&!!e.is_unlisted},0x1ccf28882:(e,t,a)=>{"use strict";a.d(t,{X:()=>o,p:()=>i});var n=a(0x1df96de4c),r=a(0x1cf0d97e1);let i=(0,r.Ay)((e,t)=>n.Ml);i.meta={name:"getExternalSelfWorkspaceAllowedOrgIdsForChannel",key:"createSelectorGetExternalSelfWorkspaceAllowedOrgIdsForChannel",description:(e,t)=>n.Ml};let o=(0,r.Ay)((e,t)=>n.Ml);o.meta={name:"getExternalSelfWorkspaceAllowedOrgIdsForChannelById",key:"createSelectorGetExternalSelfWorkspaceAllowedOrgIdsForChannelById",description:(e,t)=>n.Ml}},0x94d4d4bb:(e,t,a)=>{"use strict";a.d(t,{L:()=>i});var n=a(0x1cf0d97e1),r=a(0x19895585a);let i=(0,n.Ay)((e,t)=>r.k6.Home);i.meta={name:"getTabForExternalSelfWorkspace",key:"createSelectorGetTabForExternalSelfWorkspace",description:(e,t)=>r.k6.Home}},0xb8504a42:(e,t,a)=>{"use strict";a.d(t,{kA:()=>isEnterprise,r7:()=>isEnterpriseOrEnterpriseWorkspace,tz:()=>isEnterpriseWorkspace});var n=a(0x2264e6ea3),r=a(0xb62e6bf4);function isEnterpriseOrEnterpriseWorkspace(e){return!!((0,r.y0)()&&isEnterprise(e))||!!e&&!!e.enterprise_id}function isEnterpriseWorkspace(e){return!!e&&!!e?.enterprise_id}function isEnterprise(e){return!!e&&(0,n.JV)(e?.id??"")}},0x4aaaf207:(e,t,a)=>{"use strict";function isExternalOrgMigrated(e){return!!e&&!1===e.is_migrating&&!!e.externalOrgMigrated}a.d(t,{x:()=>isExternalOrgMigrated})},0xc04a0cb6:(e,t,a)=>{"use strict";a.d(t,{N:()=>isExternalSelfWorkspaceHostedByUsersHomeTeam});let isExternalSelfWorkspaceHostedByUsersHomeTeam=(e,t)=>!1},0x1edb6b65f:(e,t,a)=>{"use strict";a.d(t,{B:()=>isExternalSelfWorkspaceById,N:()=>isExternalSelfWorkspace});let isExternalSelfWorkspace=e=>!1,isExternalSelfWorkspaceById=(e,t)=>!1},0xe739523:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0xb77a689a),r=a(0x216ede730),i=a(0x217553e42);let __WEBPACK_DEFAULT_EXPORT__=(e,t,a)=>{if(!e||!t||!a)return!1;let o=(0,n.A)(a)?(0,i.OL)(e,a):a;if(!o)return!1;let s=(0,r.A)(e,o);if(!s)return!1;let l=(0,n.A)(t)?t:t.id;return s.some(e=>e===l)}},0x223534609:(e,t,a)=>{"use strict";function isVerified(e){return!!e&&!!e.is_verified}a.d(t,{p:()=>isVerified})},0x105ecbbed:(e,t,a)=>{"use strict";a.d(t,{Sb:()=>decodeThreadKey,jA:()=>getCurrentThreadKey,Iu:()=>getThreadKey,xm:()=>getThreadParams,lB:()=>isThreadViewContext,PV:()=>makeIdForThreadList});var n=a(0x139aa1a7);let r=/^Qpc:[A-Za-z0-9:]{8,}$/;function looksLikeEncodedQuipCommentThreadId(e){return r.test(e)}var i=a(0xb04c4a12),o=a(0x107e97a6b),s=a(0x8976310b),l=a(0x19895585a);function getThreadKey(e,t){return"string"==typeof e||"number"==typeof e?e&&t?`${e}-${t}`:void 0:e?.quipCommentThreadId?`${e.channelId}-${(0,o.Md)(e.quipCommentThreadId)}`:e?.threadTs?`${e.channelId}-${e.threadTs}`:void 0}function decodeThreadKey(e){if(!e)return{};let[t,a]=e.split("-"),n=looksLikeEncodedQuipCommentThreadId(a);return{channelId:t,threadTs:n?void 0:a,quipCommentThreadId:n?(0,o.iK)(a):void 0}}function getThreadParams(e,t){if(!t)return{};let a=decodeThreadKey(t),{quipCommentThreadId:n}=a,r=n&&(0,s.r)(e,n),i=a.threadTs||r?.threadTs;return{channelId:a.channelId||r?.channelId,threadTs:i}}function getCurrentThreadKey(e,{getSiblingView:t}){let a=t(e,{container:l.mq.Secondary});return a?.id!==n.D.Thread?null:a?.params?.threadId}function makeIdForThreadList(e,t=""){return e?`${e}-thread-list-${t}`:""}function isThreadViewContext(e){return[i.Y.THREAD,i.Y.THREADS_VIEW,i.Y.MEDIA_VIEWER_THREAD,i.Y.HUDDLE_THREADS,i.Y.QUIP_GANTRY_THREAD,i.Y.LIST_RECORD_THREAD_FLEXPANE,i.Y.QUIP_INLINE_COMMENTS,i.Y.AI_APP_CHAT,i.Y.AI_APP_SPLIT,i.Y.AGENT_DM_CONVERSATION,i.Y.AGENT_HOME_DM_CONVERSATION,i.Y.AGENT_PREVIEW_CONVERSATION,i.Y.SLACKBOT_AI_CONVERSATION].includes(e)}},0x382cbff6:(e,t,a)=>{"use strict";a.d(t,{D6:()=>isTodayManageChannelsModalEnabled,DK:()=>isTodayStreamUnreadsEnabled,Hj:()=>isTodayLaterEduEnabled,JH:()=>isTodayI18nEnabled,JQ:()=>isTodaySlackGPTInMainViewEnabled,K2:()=>isTodayTestingAutoNavigationEnabled,L1:()=>isTodayCalendarEnabled,L9:()=>isTodayAgendaReturnToSlackbotThreadEnabled,Mg:()=>isTodayFocusRecommendationEnabled,RU:()=>isTodayManageChannelsNuxEnabled,Vg:()=>isTodayTabReorderEnabled,W4:()=>isTodayOutlookCalIntegrationEnabled,_d:()=>isTodayPeekEnabled,bq:()=>isTodaySlackCrmEnabled,d9:()=>isTodayV2Enabled,dD:()=>isTodayTopicsV2Enabled,lu:()=>isTodayLaterEnabled,me:()=>isTodayDismissOnReadEnabled,og:()=>isTodayTabEnabled,pI:()=>isTodayActionItemsEnabled,rU:()=>isTodayFocusSlackbotContextEnabled,u0:()=>isTodayAutoNavigationEnabled,xF:()=>isTodayAgendaResponsiveUIEnabled,xh:()=>isDownmarketCrmSynthViewEnabled});var n=a(0x1c18c5d4e),r=a(0x14149c126);function isTodayV2Enabled(e){return"on"===(0,r._Z)(e,"today_v2")}function isTodayCalendarEnabled(e){return"on"===(0,r._Z)(e,"today_calendar")}function isTodayOutlookCalIntegrationEnabled(e){return"on"===(0,r._Z)(e,"today_outlook_cal_integration")}function isTodayActionItemsEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_action_items")}function isTodayI18nEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_i18n")}function isTodayAutoNavigationEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_auto_navigate")}function isTodaySlackCrmEnabled(e){return"on"===(0,r._Z)(e,"today_slack_crm")&&(0,n.I)(e)}function isTodayTabEnabled(e){return isTodayV2Enabled(e)||isTodaySlackCrmEnabled(e)}function isTodayTestingAutoNavigationEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_testing_auto_nav")}function isTodaySlackGPTInMainViewEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_slackgpt_in_main_view")}function isTodayStreamUnreadsEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_stream_unreads")}function isTodayDismissOnReadEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_dismiss_on_read")}function isTodayAgendaResponsiveUIEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_agenda_responsive_ui")}function isTodayFocusRecommendationEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_focus_recommendation")}function isTodayPeekEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_peek")}function isTodayManageChannelsModalEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_manage_channels_modal")}function isTodayManageChannelsNuxEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_manage_channels_nux")}function isTodayAgendaReturnToSlackbotThreadEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_agenda_return_to_slackbot_thread")}function isTodayTabReorderEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_tab_reorder")}function isTodayTopicsV2Enabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_topics_v2")}function isTodaySynthViewEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_synth_view")}function isTodayLaterEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_later")}function isTodayLaterEduEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_later_edu")}function isTodayFocusSlackbotContextEnabled(e){return isTodayV2Enabled(e)&&"on"===(0,r._Z)(e,"today_focus_slackbot_context")}function isDownmarketCrmSynthViewEnabled(e){return(0,n.I)(e)&&isTodaySynthViewEnabled(e)}},0xfab062b2:(e,t,a)=>{"use strict";a.d(t,{v:()=>isTodosInHomeEnabled});var n=a(0x70de3606),r=a(0x14149c126);function isTodosInHomeEnabled(e){return(0,n.tl)(e)&&"on"===(0,r._Z)(e,"todos_in_home")}},0x882c83c3:(e,t,a)=>{"use strict";a.d(t,{r:()=>d});var n=a(0x1aba66b56),r=a(0x7fa3cc8f),i=a(0x1cf0d97e1),o=a(0x1ccef1c6f),s=a(2339329e3),l=a(0x237e0ebef),c=a(0x1950da728);let d=(0,i.Ay)((e,t)=>{let a=(0,o.ty)(e,s.X),i=(0,o.ty)(e,"stick_user_sort");return("topResults"===t||i||(a=(0,l.YO)(e,t)),(0,n.A)((0,r.A)(c.VU),a))?a:c.VU.relevant});d.meta={name:"getFileSearchSort",key:"createSelectorGetFileSearchSort",description:(e,t)=>{let a=(0,o.ty)(e,s.X),i=(0,o.ty)(e,"stick_user_sort");return("topResults"===t||i||(a=(0,l.YO)(e,t)),(0,n.A)((0,r.A)(c.VU),a))?a:c.VU.relevant}}},0x1195a3bc:(e,t,a)=>{"use strict";a.d(t,{K:()=>c});var n=a(0x1edd1e248),r=a(0x1ccef1c6f),i=a(0xdf55e8f3),o=a(0x70aa297f),s=a(0x237e0ebef),l=a(0x1950da728);let c=(0,i.eI)(e=>[...new Set([...getAppliedFiltersForMessages(e),...getAppliedFiltersForFiles(e),...getAppliedFiltersForChannels(e),...getAppliedFiltersForPeople(e),...getAppliedFiltersForSalesforce(e)])]);function getAppliedFiltersForMessages(e){let t=[],a=(0,o.Q_)(e),n=a&&a.length>0,i=(0,o.IA)(e),s=i&&i.length>0,c=(0,o.Zi)(e),d=c&&c.length>0,u=(0,o.dm)(e),m=(0,o.Y3)(e),f=(0,o.sL)(e),_=f&&f.length>0&&!f.includes(""),p=(0,r.ty)(e,l.wA),h=(0,r.ty)(e,l.jv),g=(0,o.z$)(e),A=(0,o.JL)(e),b=g&&g.length||A&&A.length,y=(0,o.u2)(e),S=(0,o.k8)(e),E=(0,o.wH)(e),k=(0,o.lE)(e),T=(0,o.Hd)(e),I=(0,o.Wl)(e),w=(0,o.RI)(e);return n&&t.push(l.hv.FROM),s&&t.push(l.hv.WITH),d&&t.push(l.hv.IN),(u||m)&&t.push(l.hv.DATE),_&&t.push(l.hv.FILE_TYPE),p&&t.push(l.hv.ONLY_MY_CHANNELS),h&&t.push(l.hv.EXCLUDE_BOTS),b&&t.push(l.hv.REACTION),y&&t.push(l.hv.HAS_FILE),S&&t.push(l.hv.HAS_LINK),E&&t.push(l.hv.HAS_ACTION),k&&t.push(l.hv.HAS_PIN),I&&t.push(l.hv.IS_THREAD),T&&t.push(l.hv.IS_SAVED),w&&t.push(l.hv.IS_DM),t}function getAppliedFiltersForChannels(e){let t=[],a=(0,s.yy)(e),i=(0,r.ty)(e,l.wA),o=(0,n.Eh)(e),c=!!(a&&a!==l.xV.all),d=(0,s.lB)(e),u=d&&d.length>0,m=(0,s.Xh)(e),f=(0,s.hz)(e);return o&&t.push(l.hv.ALL_CHANNELS),i&&t.push(l.hv.ONLY_MY_CHANNELS),c&&t.push(l.hv.CHANNEL_TYPE),u&&t.push(l.hv.ORG),m&&t.push(l.hv.WORKSPACE),f&&t.push(l.hv.ONLY_RECORD_CHANNELS),t}function getAppliedFiltersForFiles(e){let t=[],a=(0,o.qD)(e),n=a&&a.length>0,r=(0,o.Q_)(e),i=r&&r.length>0,s=(0,o.IA)(e),c=s&&s.length>0,d=(0,o.Zi)(e),u=d&&d.length>0,m=(0,o.dm)(e),f=(0,o.Y3)(e),_=(0,o.sL)(e),p=_&&_.length>0&&!_.includes("");return n&&t.push(l.hv.CREATOR),i&&t.push(l.hv.FROM),c&&t.push(l.hv.WITH),u&&t.push(l.hv.IN),(m||f)&&t.push(l.hv.DATE),p&&t.push(l.hv.FILE_TYPE),t}function getAppliedFiltersForPeople(e){let t=[],a=(0,s.aJ)(e),n=a&&a.length>0,r=(0,s.LX)(e),i=r&&r.length>0,o=(0,s.YM)(e),c=o&&o.length>0,d=(0,s.DL)(e),u=d&&d.length>0,m=(0,s.Lq)(e),f=m&&m.length>0,_=(0,s.lB)(e),p=_&&_.length>0,h=(0,s.R5)(e),g=h&&h!==l.Dx.all;return n&&t.push(l.hv.LOCATION),i&&t.push(l.hv.TITLE),c&&t.push(l.hv.DIVISION),u&&t.push(l.hv.DEPARTMENT),f&&t.push(l.hv.CELEBRATION),p&&t.push(l.hv.ORG),g&&t.push(l.hv.ACCOUNT_TYPE),t}function getAppliedFiltersForSalesforce(e){let t=[],a=(0,s.T4)(e),n=(0,s.PB)(e);return a&&t.push(l.hv.SALESFORCE_RECORD_TYPE),n&&t.push(l.hv.SALESFORCE_CREATED_BY_ME),t}},0x1edd1e248:(e,t,a)=>{"use strict";a.d(t,{Eh:()=>d,Kn:()=>f,WJ:()=>g,_S:()=>u,fB:()=>A,jn:()=>p,tW:()=>m,uX:()=>h,y6:()=>_});var n=a(0x20ee644c3),r=a(0x49e911f4),i=a(0x11f79e2d6),o=a(0x1cf0d97e1),s=a(0x1ccef1c6f),l=a(0x237e0ebef),c=a(0x1950da728);let d=(0,o.Ay)(e=>(0,s.ty)(e,c.gT));d.meta={name:"getChannelSearchHideMemberChannels",key:"createSelectorGetChannelSearchHideMemberChannels",description:e=>(0,s.ty)(e,c.gT)};let u=(0,o.Ay)(e=>{let t=(0,s.ty)(e,"stick_user_sort"),a=(0,s.ty)(e,c.L);return t||(a=(0,l.YO)(e,i.Qt.TOP_RESULTS)),a});u.meta={name:"getTopResultsSearchSort",key:"createSelectorGetTopResultsSearchSort",description:e=>{let t=(0,s.ty)(e,"stick_user_sort"),a=(0,s.ty)(e,c.L);return t||(a=(0,l.YO)(e,i.Qt.TOP_RESULTS)),a}};let m=(0,o.Ay)((e,t)=>{let a=(0,s.ty)(e,"stick_user_sort"),n=(0,s.ty)(e,c.Tm);return a||(n=(0,l.YO)(e,t)),n});m.meta={name:"getWorkObjectSearchSort",key:"createSelectorGetWorkObjectSearchSort",description:(e,t)=>{let a=(0,s.ty)(e,"stick_user_sort"),n=(0,s.ty)(e,c.Tm);return a||(n=(0,l.YO)(e,t)),n}};let f=(0,o.Ay)(e=>{let t=(0,s.ty)(e,c.UB);return(0,s.ty)(e,"stick_user_sort")||(t=(0,l.YO)(e,i.Qt.CHANNELS)),t});f.meta={name:"getChannelSearchSort",key:"createSelectorGetChannelSearchSort",description:e=>{let t=(0,s.ty)(e,c.UB);return(0,s.ty)(e,"stick_user_sort")||(t=(0,l.YO)(e,i.Qt.CHANNELS)),t}};let _=(0,o.Ay)(e=>{let t=(0,s.ty)(e,"stick_user_sort"),a=(0,s.ty)(e,c.gZ);return t||(a=(0,l.YO)(e,i.Qt.PEOPLE)),a});_.meta={name:"getPeopleSearchSort",key:"createSelectorGetPeopleSearchSort",description:e=>{let t=(0,s.ty)(e,"stick_user_sort"),a=(0,s.ty)(e,c.gZ);return t||(a=(0,l.YO)(e,i.Qt.PEOPLE)),a}};let p=(0,o.Ay)(e=>(0,s.ty)(e,"result_count_toggle"));p.meta={name:"getResultCountToggle",key:"createSelectorGetResultCountToggle",description:e=>(0,s.ty)(e,"result_count_toggle")};let h=(0,o.Ay)(e=>(0,s.ty)(e,c.Sj));h.meta={name:"getPeopleSearchHideDeactivatedUsers",key:"createSelectorGetPeopleSearchHideDeactivatedUsers",description:e=>(0,s.ty)(e,c.Sj)};let g=(0,o.Ay)(e=>{let t=(0,s.ty)(e,c.Mn);switch(!(0,s.ty)(e,"stick_user_sort")&&(t=(0,l.YO)(e,i.Qt.MESSAGES)),t){case"not_set_new_user":case"not_set":case"score":return c.kK.relevantMessages;case"timestamp":return c.kK.recentMessages;default:return t||c.kK.relevantMessages}});g.meta={name:"getMessageSort",key:"createSelectorGetMessageSort",description:e=>{let t=(0,s.ty)(e,c.Mn);switch(!(0,s.ty)(e,"stick_user_sort")&&(t=(0,l.YO)(e,i.Qt.MESSAGES)),t){case"not_set_new_user":case"not_set":case"score":return c.kK.relevantMessages;case"timestamp":return c.kK.recentMessages;default:return t||c.kK.relevantMessages}}};let A=(0,o.Ay)(e=>!(0,r.sV)(e)&&(0,n.l)(e));A.meta={name:"shouldShowUserGroupsView",key:"createSelectorShouldShowUserGroupsView",description:e=>!(0,r.sV)(e)&&(0,n.l)(e)}},0x10723ca4b:(e,t,a)=>{"use strict";a.d(t,{F:()=>shouldCountUnreadsInModel,v:()=>useUnreadCountAsMentionCount});var n=a(0x12185e091),r=a(0x6f213e53),i=a(0x19d55d0e1),o=a(0xf6ed6f31),s=a(0x2537c7ec5),l=a(0x8baf11b5);function shouldCountUnreadsInModel(e,t){return!(!t||(0,l.B)(e,t.id))&&(!!(0,n.LI)(t)||!((0,r.F)(t)||!(0,o.bl)(t)||!(0,s.WK)(e,t)||(0,i.jT)(t)))}function useUnreadCountAsMentionCount(e,t){return(0,n.LI)(t)||(0,n.yz)(t)&&!(0,l.B)(e,t.id)}},0x61f75169:(e,t,a)=>{"use strict";a.d(t,{$Q:()=>getUserGroupTeamId,Br:()=>getUserGroupUserCount,DF:()=>isSectionEnabled,Ew:()=>canCreateUserGroupsInWorkspace,FW:()=>getOrgLevelUserGroupEnterpriseId,G5:()=>getUserGroupUpdatedDate,Hf:()=>getChannelCountFromUserGroup,IM:()=>getUserGroupMembers,Kf:()=>getUserGroupWorkspaceIds,Mm:()=>canCreateUserGroups,NF:()=>getUserGroupDescription,O9:()=>canMentionUserGroups,Og:()=>isUserGroupMembershipRequired,PH:()=>isUserGroup,QR:()=>isNonExistent,TZ:()=>getUserGroupNameLowerCase,V1:()=>isUserGroupActive,ZV:()=>getDateCreateFromUserGroup,ZZ:()=>isAutoGeneratedUserGroupForAdmins,Zx:()=>isUnknownOrNonExistent,cA:()=>isAutoGeneratedUserGroupForOwners,dR:()=>getWorkspaceIdsWhereUserCanCreateUserGroups,dq:()=>isOrgLevelUserGroup,f4:()=>getWorkspaceIdsWhereUserCanEditUserGroups,fF:()=>canDeleteUserGroups,hc:()=>isExistent,i_:()=>m,lT:()=>isUserGroupIdpGroup,lw:()=>isUserGroupConnectedToTeamId,oW:()=>getUserGroupEnterpriseSubteamId,p2:()=>isUserGroupVisible,ph:()=>getUpdatedByFromUserGroup,ql:()=>canEditUserGroups,r2:()=>isAutoGeneratedUserGroup,rk:()=>canDeleteUserGroupsInWorkspace,sA:()=>getCreatedByFromUserGroup,t8:()=>isUnknown,ue:()=>getUserGroupName,wC:()=>canEditUserGroupsInWorkspace,x_:()=>getUserGroupHandle,y5:()=>getUserGroupId});var n=a(0x2264e6ea3),r=a(0x15f4f83cf),i=a(0x23255e234),o=a(0xe8015073),s=a(0xc39d85ac),l=a(0xd2fa49d0),c=a(0xe684f705),d=a(0xd0eb5473),u=a(0xe4af74fc);function getUserGroupId(e){return!e||isUnknownOrNonExistent(e)?"":e.id||""}function getUserGroupName(e){return!e||isUnknownOrNonExistent(e)?"":e.name||""}function getUserGroupNameLowerCase(e){return e?e._name_lc:null}function getUserGroupHandle(e,{includeAtSign:t=!0}={}){return(0,s.k)({userGroupHandle:e?e.handle:void 0,includePrefix:t,isUnknown:!!e&&isUnknown(e),isNonExistent:!!e&&isNonExistent(e)})}function getUserGroupDescription(e){return!e||isUnknownOrNonExistent(e)?"":e.description}function isUserGroupConnectedToTeamId(e,t){return!(!e||isUnknownOrNonExistent(e))&&(e.teams?.includes(t)??!1)}function getUserGroupUserCount(e){return!e||isUnknownOrNonExistent(e)?0:parseInt(e.user_count,10)||0}function getUserGroupWorkspaceIds(e){return!e||isUnknownOrNonExistent(e)?[]:e.teams||[]}function getUserGroupTeamId(e){return!e||isUnknownOrNonExistent(e)?"":e.team_id}function getOrgLevelUserGroupEnterpriseId(e){return!e||isUnknownOrNonExistent(e)?"":e.enterprise_id}function getUserGroupEnterpriseSubteamId(e){return!e||isUnknownOrNonExistent(e)?"":e.enterprise_subteam_id}function isUserGroup(e){return!!e&&(e.is_usergroup||(0,l.A)(e.id))}function isUserGroupMembershipRequired(e){return!(!e||isUnknownOrNonExistent(e))&&e&&!!e.auto_provision}function isAutoGeneratedUserGroup(e){return!(!e||isUnknownOrNonExistent(e))&&e&&!!e.auto_type}function isAutoGeneratedUserGroupForOwners(e){return!(!e||isUnknownOrNonExistent(e))&&e&&!!e.auto_type&&"owner"===e.auto_type}function isAutoGeneratedUserGroupForAdmins(e){return!(!e||isUnknownOrNonExistent(e))&&e&&!!e.auto_type&&"admin"===e.auto_type}function isUserGroupActive(e){return!(!e||isUnknownOrNonExistent(e))&&!e.date_delete}function getUserGroupUpdatedDate(e){return!e||isUnknownOrNonExistent(e)?null:e.date_update}function getUserGroupMembers(e){return!e||isUnknownOrNonExistent(e)?[]:e.users??[]}function canEditUserGroups(e){let t=(0,c.cA)(e);if((0,i.Ez)(t))return!1;let a=(0,u.yI)(e,{permission:o.p.EDIT_USER_GROUPS}),n=(0,u.yI)(e,{permission:o.p.CREATE_USER_GROUPS});return(0,d.Jr)(a)||(0,d.Jr)(n)}function canEditUserGroupsInWorkspace(e,t){let a=(0,c.cA)(e);if((0,i.Ez)(a))return!1;let n=(0,u.oI)(e,{permission:o.p.EDIT_USER_GROUPS}),r=(0,u.oI)(e,{permission:o.p.CREATE_USER_GROUPS});return(0,d.Vf)(t,n)||(0,d.Vf)(t,r)}function getWorkspaceIdsWhereUserCanEditUserGroups(e){let t=(0,c.cA)(e);if((0,i.Ez)(t))return[];let a=(0,u.oI)(e,{permission:o.p.EDIT_USER_GROUPS});return(0,d.n9)(a)}function canCreateUserGroups(e){let t=(0,c.cA)(e);if((0,i.Ez)(t))return!1;let a=(0,u.yI)(e,{permission:o.p.CREATE_USER_GROUPS});return(0,d.Jr)(a)}function getWorkspaceIdsWhereUserCanCreateUserGroups(e){let t=(0,c.cA)(e);if((0,i.Ez)(t))return[];let a=(0,u.oI)(e,{permission:o.p.CREATE_USER_GROUPS});return(0,d.n9)(a)}function canCreateUserGroupsInWorkspace(e,t){let a=(0,c.cA)(e);if((0,i.Ez)(a))return!1;let n=(0,u.oI)(e,{permission:o.p.CREATE_USER_GROUPS});return(0,d.Vf)(t,n)}function canDeleteUserGroups(e){let t=(0,c.cA)(e);if((0,i.Ez)(t))return!1;let a=(0,u.yI)(e,{permission:o.p.DELETE_USER_GROUPS});return(0,d.Jr)(a)}function canDeleteUserGroupsInWorkspace(e,t){let a=(0,c.cA)(e);if((0,i.Ez)(a))return!1;let n=(0,u.oI)(e,{permission:o.p.DELETE_USER_GROUPS});return(0,d.Vf)(t,n)}function canMentionUserGroups(e){let t=(0,c.cA)(e);return!(0,i.Ez)(t)}function isUnknownOrNonExistent(e){return(0,r.GU)(e)}function isUnknown(e){return(0,r.mX)(e)}function isNonExistent(e){return(0,r.lv)(e)}function isExistent(e){return(0,r.uz)(e)}function isSectionEnabled(e){return!!(e&&e.is_section)}let m=/<!subteam\^(S[A-Za-z0-9]{8,})(\|@[a-z0-9-_]*)?>/gm;function getChannelCountFromUserGroup(e){return!e||isUnknownOrNonExistent(e)?0:e.channel_count||0}function getCreatedByFromUserGroup(e){return!e||isUnknownOrNonExistent(e)?null:e.created_by??null}function getDateCreateFromUserGroup(e){return!e||isUnknownOrNonExistent(e)?0:e.date_create??0}function getUpdatedByFromUserGroup(e){return!e||isUnknownOrNonExistent(e)?null:e.updated_by??null}function isUserGroupIdpGroup(e){return!(!e||isUnknownOrNonExistent(e))&&(e.is_idp_group??!1)}function isUserGroupVisible(e){return!(!e||isUnknownOrNonExistent(e))&&(e.is_visible??!1)}let isOrgLevelUserGroup=e=>!(!e||isUnknownOrNonExistent(e))&&(0,n.JV)(getUserGroupTeamId(e))},0x20ee644c3:(e,t,a)=>{"use strict";a.d(t,{l:()=>isUserGroupsFeatureAccessEnabled});var n=a(0x147fb8c90);let isUserGroupsFeatureAccessEnabled=e=>(0,n.G2)(e,"user_groups__manage")},0x1b887bf79:(e,t,a)=>{"use strict";a.d(t,{X:()=>s});var n=a(0x190a9df19),r=a(0x1cf0d97e1),i=a(0x1d600678),o=a(0x1ee439e69);let s=(0,r.Ay)(e=>{let t=(0,o.Yc)(e);return(0,n.p2)(e,t.id)||(0,i.x)(e,"all_users_can_purchase")||!1});s.meta={name:"getCanCurrentUserUpgradeSlack",key:"createSelectorGetCanCurrentUserUpgradeSlack",description:e=>{let t=(0,o.Yc)(e);return(0,n.p2)(e,t.id)||(0,i.x)(e,"all_users_can_purchase")||!1}}},0xf038462c:(e,t,a)=>{"use strict";a.d(t,{Me:()=>canUserActAsWorkspaceAdmin,S4:()=>u,EC:()=>m,Ol:()=>canUserActAsWorkspaceOwner,yG:()=>s,Fm:()=>f,Ur:()=>_});var n=a(0x190a9df19),r=a(0xb70d870b),i=a(0x9b971e7e),o=a(0x1ee439e69);let getWorkspaceIdsOnWhichUserCanActAs=(e,t)=>(0,i.VO)(e).filter(a=>t(e,a)),createCanUserActAsRules=e=>({canUserActAsInChannel:(t,a)=>{let n=(0,r.f)(t,a);return!!n&&n.some(a=>e(t,a))},canUserActAsInSomeWorkspace:t=>(0,i.VO)(t).some(a=>e(t,a)),getWorkspaceIdsOnWhichUserCanActAs:t=>getWorkspaceIdsOnWhichUserCanActAs(t,e),getWorkspacesOnWhichUserCanActAs:t=>(0,o.DK)(t,getWorkspaceIdsOnWhichUserCanActAs(t,e))}),canUserActAsWorkspaceOwner=(e,t)=>(0,n.FQ)(e,t)||(0,n.p2)(e,t),{canUserActAsInChannel:s,canUserActAsInSomeWorkspace:l,getWorkspaceIdsOnWhichUserCanActAs:c,getWorkspacesOnWhichUserCanActAs:d}=createCanUserActAsRules(canUserActAsWorkspaceOwner),canUserActAsWorkspaceAdmin=(e,t)=>(0,n.FQ)(e,t)||(0,n.Zo)(e,t),{canUserActAsInChannel:u,canUserActAsInSomeWorkspace:m,getWorkspaceIdsOnWhichUserCanActAs:f,getWorkspacesOnWhichUserCanActAs:_}=createCanUserActAsRules(canUserActAsWorkspaceAdmin)},0x1675f3d68:(e,t,a)=>{"use strict";a.d(t,{D:()=>canUserAddEmoji});var n=a(0x5c354532);let canUserAddEmoji=e=>(0,n.NH)(e)},0x87e5a179:(e,t,a)=>{"use strict";a.d(t,{$:()=>canUserEditChannelManagersById,B:()=>canUserEditChannelManagers});var n=a(0x12185e091),r=a(0xf6ed6f31),i=a(0xa1832ae4),o=a(0xf038462c),s=a(0xe8015073),l=a(0x217553e42),c=a(0xe684f705),d=a(0xd0eb5473),u=a(0xe4af74fc),m=a(0x1ee439e69);let canUserEditChannelManagers=(e,t)=>{let a=(0,c.cA)(e);if(!(0,n.jq)(t)||!a)return!1;let l=(0,m.H7)(e);if((0,i.tc)(l)||(0,n.JM)(t))return!1;let f=(0,o.S4)(e,t);if(!f&&!(0,r.bl)(t))return!1;let _=(0,u.WB)(e,{permission:s.p.ASSIGN_CHANNEL_MANAGER,channelId:t.id});return!!(0,d.Jr)(_)||!!f},canUserEditChannelManagersById=(e,t)=>{let a=(0,l.OL)(e,t);return canUserEditChannelManagers(e,a)}},0x155965105:(e,t,a)=>{"use strict";a.d(t,{Ef:()=>canUserLeaveChannelWithReason,JH:()=>m,Y9:()=>canUserLeaveChannel});var n=a(0x15f4f83cf),r=a(0x12185e091),i=a(0x6f213e53),o=a(0x19d55d0e1),s=a(0x21d145283),l=a(0xf6ed6f31),c=a(0x49e911f4),d=a(0xdfb51b59),u=a(0x217553e42);let m={USER_NOT_FOUND:"user_not_found",CHANNEL_NOT_FOUND:"channel_not_found",CANT_LEAVE_GENERAL:"cant_leave_general",CANT_LEAVE_MANDATORY_SHARED_CHANNEL:"cant_leave_mandatory_shared_channel",USER_IS_RESTRICTED:"user_is_restricted",USER_IS_RESTRICTED_LAST_CHANNEL:"user_is_restricted_last_channel",USER_IS_ULTRA_RESTRICTED:"user_is_ultra_restricted",LAST_MEMBER:"last_member"},f={ok:!1,reason:m.CHANNEL_NOT_FOUND},_={ok:!1,reason:m.USER_IS_ULTRA_RESTRICTED},p={ok:!1,reason:m.CANT_LEAVE_GENERAL},h={ok:!1,reason:m.CANT_LEAVE_MANDATORY_SHARED_CHANNEL},g={ok:!1,reason:m.USER_IS_RESTRICTED},A={ok:!1,reason:m.USER_IS_RESTRICTED_LAST_CHANNEL},canUserLeaveChannelWithReason=(e,t)=>{if(!t)return f;let a=(0,u.OL)(e,t,!1);if(a&&(0,o.K3)(e,a))return f;if((0,c.AB)(e)&&!(0,r.LI)(a)&&!(0,r.yz)(a))return _;if(!a||(0,n.mX)(a))return d.O;if((0,n.lv)(a))return f;if((0,s.N)(a))return p;if((0,r.gx)(a))return h;if((0,c.sV)(e)){if((0,r.rW)(a))return g;if(!(0,u.DM)(e).some(e=>((0,r.rW)(e)||(0,r.Zp)(e))&&(0,l.bl)(e)&&!(0,i.F)(e)&&e.id!==t))return A}return d.O},canUserLeaveChannel=(e,t)=>canUserLeaveChannelWithReason(e,t).ok},0x3ae020be:(e,t,a)=>{"use strict";a.d(t,{E:()=>canUserManageSalesHomeDataSourcesForAnyWorkspace,f:()=>canUserManageSalesHomeDataSourcesForTopLevelTeam});var n=a(0x91728dda),r=a(0xe8015073),i=a(0xd0eb5473),o=a(0xe4af74fc);let canUserManageSalesHomeDataSourcesForAnyWorkspace=e=>{let t=(0,o.yI)(e,{permission:r.p.MANAGE_SALES_HOME}),a=(0,o.yI)(e,{permission:r.p.MANAGE_SALES_HOME_DATA_SOURCE});return(0,n.hx)(e)&&(0,i.Jr)(t)&&(0,i.Jr)(a)},canUserManageSalesHomeDataSourcesForTopLevelTeam=e=>{let t=(0,o.tA)(e,{permission:r.p.MANAGE_SALES_HOME}),a=(0,o.tA)(e,{permission:r.p.MANAGE_SALES_HOME_DATA_SOURCE});return(0,n.hx)(e)&&(0,i.Jr)(t)&&(0,i.Jr)(a)}},0x5738b4bc:(e,t,a)=>{"use strict";a.d(t,{E:()=>canUserPostInChannelById,c:()=>canUserPostInChannel});var n=a(0x1ec69ee01),r=a(0x12185e091),i=a(0x6f213e53),o=a(0x245dcaf6b),s=a(0x1ede77aa4),l=a(0x123177bf2),c=a(0x2232139de),d=a(0x1b154a8c4),u=a(0x61222c0e),m=a(0x13852a196),f=a(0x217553e42);let canUserPostInChannel=(e,t)=>!(!(0,r.jq)(t)||(0,d.M)(t)||(0,o.Zz)(t)||(0,i.F)(t)||(0,n.iZ)(e,t)||(0,l.P)(e,t)||(0,c.B)(e,t)||(0,s.K)(e,t)&&!(0,u.A)(e,t.id)||(0,s.K)(e,t)&&(0,u.A)(e,t.id)&&(0,m.A)(e,t.id)||(0,r.cb)(t)),canUserPostInChannelById=(e,t)=>{let a=(0,f.OL)(e,t,!1);return!!a&&canUserPostInChannel(e,a)}},0xad417b9:(e,t,a)=>{"use strict";a.d(t,{X:()=>canUserPostInThread});var n=a(0x1ec69ee01),r=a(0x217553e42);let canUserPostInThread=(e,t)=>{let a=(0,r.gT)(e,t)&&(0,r.OL)(e,t);return!!a&&(0,n.NI)(e,a)&&!(0,n.hG)(e,a)}},0x18d0989be:(e,t,a)=>{"use strict";a.d(t,{C:()=>canUserPostOrDraft});var n=a(0x1ec69ee01),r=a(0x5738b4bc),i=a(0x217553e42);let canUserPostOrDraft=(e,t)=>{let a=(0,i.OL)(e,t);return(0,r.c)(e,a)||(0,n.AQ)(e,a)}},0x114e0988c:(e,t,a)=>{"use strict";a.d(t,{e:()=>canUserRunAppAction});var n=a(0x49e911f4),r=a(0x1d600678);function canUserRunAppAction(e){if((0,n.AB)(e))return!1;let t=(0,n.sV)(e);return!(0,r.x)(e,"commands_only_regular")||!t}},0x159a0d582:(e,t,a)=>{"use strict";a.d(t,{W:()=>hasFullAccessOrgDashboard,c:()=>hasFullAccessTeamSite});var n=a(0xf038462c),r=a(0x190a9df19),i=a(0x14149c126),o=a(0x1ee439e69);let hasFullAccessOrgDashboard=e=>(0,r.hu)(e)||(0,r.FQ)(e),hasFullAccessTeamSite=e=>{if("on"===(0,i._Z)(e,"gantry_manage_non_grid_access")){let t=(0,o.H7)(e);return(0,n.Me)(e,t?.id)}return(0,r.p2)(e)||(0,r.Zo)(e)}},0x190a9df19:(e,t,a)=>{"use strict";a.d(t,{$G:()=>isCurrentUserWorkspacePrimaryOwner,FQ:()=>isCurrentUserEnterpriseAdmin,PY:()=>d,V7:()=>isCurrentUserEnterprisePrimaryOwner,Zo:()=>isCurrentUserWorkspaceAdmin,h3:()=>u,hu:()=>isCurrentUserEnterpriseOwner,p2:()=>isCurrentUserWorkspaceOwner});var n=a(0x21b0fd259),r=a(0x1edb6b65f),i=a(0xc04a0cb6),o=a(0x11809ca3c),s=a(0xe684f705),l=a(0x1ee439e69),c=a(0x20ddbda49);let isCurrentUserEnterpriseAccountType=(e,t,a,n)=>{if(t){if((0,o.h)(e))return a(e,{teamId:t});let n=(0,l._J)(e,t,!1);if((0,r.N)(n)&&!(0,i.N)(e,n))return!1}return n((0,s.cA)(e))},isCurrentUserEnterprisePrimaryOwner=(e,t)=>isCurrentUserEnterpriseAccountType(e,t,c.ET,n.nA),isCurrentUserEnterpriseOwner=(e,t)=>isCurrentUserEnterpriseAccountType(e,t,c.QL,n.rr),isCurrentUserEnterpriseAdmin=(e,t)=>isCurrentUserEnterpriseAccountType(e,t,c._s,n.n5),d=isCurrentUserEnterpriseAdmin,isCurrentUserWorkspaceAccountType=(e,t,a,n)=>{if(t){if((0,o.h)(e))return a(e,{teamId:t});let n=(0,l._J)(e,t,!1);if((0,r.N)(n))return!1}let i=(0,s.cA)(e);return n(e,i)},isCurrentUserWorkspacePrimaryOwner=(e,t)=>isCurrentUserWorkspaceAccountType(e,t,c.iF,n.Z3),isCurrentUserWorkspaceOwner=(e,t)=>isCurrentUserWorkspaceAccountType(e,t,c.AK,n.Jm),isCurrentUserWorkspaceAdmin=(e,t)=>isCurrentUserWorkspaceAccountType(e,t,c.Ue,n.LF),u=isCurrentUserWorkspaceAdmin},0xfb9cbb1:(e,t,a)=>{"use strict";a.d(t,{k:()=>isCurrentUserAppmin});var n=a(0xb62e6bf4),r=a(0x2574d112),i=a(0x9b971e7e);let isCurrentUserAppmin=(e,t)=>{let a;return t?(0,r.TE)(e,"who_can_manage_integrations",[t]):((0,n.ss)(e)&&(a=(0,i.kN)(e)),(0,r.TE)(e,"who_can_manage_integrations",a))}},0x205bde5a6:(e,t,a)=>{"use strict";a.d(t,{M:()=>isCurrentUserChannelCreator});var n=a(0x1ec69ee01),r=a(0xe684f705);let isCurrentUserChannelCreator=(e,t)=>{let a=(0,r.cA)(e);return!!t&&a.id===(0,n.Wb)(t)}},0x49e911f4:(e,t,a)=>{"use strict";a.d(t,{AB:()=>isCurrentUserUltraRestricted,DM:()=>isCurrentUserGuest,sV:()=>isCurrentUserRestricted});var n=a(0x23255e234),r=a(0xe684f705);let isCurrentUserRestricted=e=>{let t=(0,r.cA)(e);return(0,n.Ez)(t)},isCurrentUserUltraRestricted=e=>{let t=(0,r.cA)(e);return(0,n.Yd)(t)},isCurrentUserGuest=e=>isCurrentUserRestricted(e)},0x1576409bb:(e,t,a)=>{"use strict";a.d(t,{O:()=>isUserChannelManagerOfChannel});var n=a(0x1aba66b56),r=a(0x1039c723e),i=a(0xe684f705);function isUserChannelManagerOfChannel(e,t){let a=(0,i.cA)(e),o=(0,r.t)(e,t);return(0,n.A)(o,a.id)}},0x15e3c2e33:(e,t,a)=>{"use strict";a.d(t,{U:()=>isUserLoggedIntoASlackConnectWorkspace});let isUserLoggedIntoASlackConnectWorkspace=e=>!1},0x11809ca3c:(e,t,a)=>{"use strict";a.d(t,{h:()=>shouldUseUserAccountTypesStore});var n=a(0xb62e6bf4);let shouldUseUserAccountTypesStore=e=>Object.keys(e.userAccountTypes||{}).length>0&&(0,n.ss)(e)},0x2498088b6:(e,t,a)=>{"use strict";a.d(t,{am:()=>userCanViewAllPublishedWorkflows,nY:()=>userCanUseCsvExport,so:()=>isInfoBarriersEnabled,t_:()=>userCanLaunchWorkflowBuilder});var n=a(0x1595bdd0),r=a(0x1e4dfc7f9),i=a(0x20700f08e),o=a(0x1f66b5878),s=a(0xb8504a42),l=a(0x190a9df19),c=a(0x49e911f4),d=a(0x9b971e7e),u=a(0xe684f705),m=a(0x1ee439e69);let userCanLaunchWorkflowBuilder=(e,t)=>{let a=(0,u.cA)(e),n=(0,c.sV)(e),i=!!t&&(0,r.A)(e,a,t);return!n&&!i},isInfoBarriersEnabled=e=>{let t=(0,m.H7)(e);return(0,s.r7)(t)&&(0,o.p$)(e,"enable_info_barriers")},userCanUseCsvExport=(e,t)=>{let a=(0,m.H7)(e),r=(0,n.A)(t??[]),l=0===r.length,c="workflows_export_csv_enabled";if((0,s.kA)(a)&&!t&&!(0,i.KV)(e,c))return!0;let u=l?(0,d.kN)(e):r;return!!u&&(0,o.PN)(e,c,u)},userCanViewAllPublishedWorkflows=e=>{let t=(0,l.PY)(e),a=(0,d.kN)(e);if(t)return!0;let n=(0,l.h3)(e);return a&&(n=a.some(t=>(0,l.h3)(e,t))),!!n&&(0,i.pq)(e,"who_can_create_workflows")}},0x1599ad93e:(e,t,a)=>{"use strict";a.d(t,{N5:()=>isHelpFlexpaneOpen,ZV:()=>isOverlayOpen,cH:()=>getOverlayOpenCount,ot:()=>isChannelOrThreadView,u_:()=>canUserSwitchWorkspaces,xI:()=>currentUserAttention,xT:()=>isUserAttentionOnChat});var n=a(0x139aa1a7),r=a(0x1f57aea47),i=a(0x1ebac3ac1),o=a(0xe80ed487),s=a(0x237e0ebef),l=a(0x1950da728),c=a(0x19895585a),d=a(0x9271cc31),u=a(0xe822f938),m=a(0x41a72513);let f="message_pane",_="window_not_focused",p="workspace_not_focused",h="fs_modal_is_showing",g="universal_search_is_showing",A="popover_is_showing";function currentUserAttention(e,t){return t?(0,u.ko)(e,t)?t!==c.N2||(0,m.T2)(e)?(0,r.oY)(e,t)?h:(0,i.K)(e,t)?A:(0,o.x)(e,l.Jx.OMNISWITCHER)&&(0,s.LM)(e)===t?g:f:p:_:(0,m.T2)(e)?(0,u.ko)(e)?(0,i.K)(e)?A:(0,r.oY)(e)?h:(0,o.x)(e,l.Jx.OMNISWITCHER)&&""===(0,s.LM)(e)?g:f:_:p}function isUserAttentionOnChat(e,t){return currentUserAttention(e,t)===f}function getOverlayOpenCount(e,t){return(0,r.wc)(e,t).length+(0,i.U)(e,t)}function isOverlayOpen(e,t){return!!((0,u.ko)(e,t)&&(t||(0,m.T2)(e))&&((0,i.K)(e,t)||(0,r.oY)(e,t)))}function isChannelOrThreadView(e,t){let a=(0,d.e6)(e),r=t===c.N2?(0,d.Le)(e,{tab:a}):(0,d.hZ)(e,{windowId:t});return!!r&&Object.keys(r).some(e=>{let t=r[e];return t&&[n.D.Channel,n.D.Thread].includes(t.viewType)})}function canUserSwitchWorkspaces(e){return!(0,r.oY)(e)}function isHelpFlexpaneOpen(e){let t=(0,d.e6)(e),a=(0,d.Le)(e,{tab:t});return a.secondary?.viewType===n.D.HelpBrowser}},0x173c04d58:(e,t,a)=>{"use strict";a.d(t,{Y:()=>shouldSuppressOrgChannel,t:()=>isMostRecentlyUsedEnterpriseWorkspace});var n=a(0x21da4684a),r=a(0x21f3c49e8),i=a(0x1ee15af19),o=a(0x62a17882),s=a(0xb62e6bf4),l=a(0x1059ba41d),c=a(0x12185e091),d=a(0x73d7ee71),u=a(0x100fb9ff5),m=a(0x16df7a1d3),f=a(0x1aad32b98),_=a(0x1ec68d6a3),p=a(0x209e067d1),h=a(0x9b971e7e),g=a(0x19c76d181),A=a(0xe684f705),b=a(0x41a72513);function shouldSuppressOrgChannel(e,t){if((0,s.ss)(e)||!t||!(0,o.y3)()&&!(0,p.A)()||!(0,u.t)(t)||!(0,h.jV)(e)||!(0,g.u8)(e))return!1;let a=(0,h.ZT)(e),n=(0,_.default)({teamId:a}),r=(0,p.A)()?mostRecentlyUsedEnterpriseWorkspace(e,t):mostRecentlyUsedDesktopEnterpriseTeam(e,t);return r?r!==a:(n.warn(`Missing relevant team for ${t.id} in shouldSuppressOrgChannel`),!1)}function isMostRecentlyUsedEnterpriseWorkspace(e){return(0,h.ZT)(e)===mostRecentlyUsedEnterpriseWorkspace(e)}function mostRecentlyUsedEnterpriseWorkspace(e,t){if((0,s.ss)(e))return(0,h.ZT)(e);let a=t?getEnterpriseTeamIds(e,t):(0,f.HI)((0,A.cA)(e)),o=(0,n.A)((0,b.k_)(e)??[],a??[]);return(0,r.A)(o)?(0,i.A)(a):o.length>0&&o[0]}function mostRecentlyUsedDesktopEnterpriseTeam(e,t){let a=getEnterpriseTeamIds(e,t);if(!a)return null;let n=(0,l.wjr)(a);return Array.isArray(n)&&n.length>0?n[0]:Array.isArray(a)&&a.length>0?a[0]:null}function getEnterpriseTeamIds(e,t){return(0,c.LI)(t)||(0,c.yz)(t)||(0,m.S)(t)?(0,f.HI)((0,A.cA)(e)):(0,d.R)(e,t)}},0x2537c7ec5:(e,t,a)=>{"use strict";a.d(t,{WK:()=>shouldInboxViewsShowChannel,ay:()=>shouldIncludeLaterOverdueCounts,d$:()=>shouldSuppressBadgeCountingForChannel,dQ:()=>shouldSuppressThreadBadgeCounting,fA:()=>shouldSuppressThreadBadgeCountingForChannel});var n=a(0xb62e6bf4),r=a(0x1ec69ee01),i=a(0xbe2be077),o=a(0x173c04d58);function shouldSuppressBadgeCountingForChannel(e,t){return(0,r.lo)(t)||(0,o.Y)(e,t)}function shouldSuppressThreadBadgeCountingForChannel(e,t){return(0,o.Y)(e,t)}function shouldSuppressThreadBadgeCounting(e){return(0,i.k)(e)&&!(0,o.t)(e)}function shouldInboxViewsShowChannel(e,t){return!!(0,i.k)(e)||!(0,r.lo)(t)}function shouldIncludeLaterOverdueCounts(e){return!!(!(0,i.k)(e)||(0,n.ss)(e))||(0,o.t)(e)}},0x14d1848b1:(e,t,a)=>{"use strict";a.d(t,{R:()=>doNotLogforMSWJest,f:()=>withMSWJestSuppression});var n=a(0x1cbdfeceb),r=a(0x5e3083e4);function doNotLogforMSWJest(){return(0,r.A)()}function withMSWJestSuppression(e){return(0,r.A)()?{action:n.A,debug:n.A,devHint:n.A,error:()=>Error(),info:n.A,timeStamp:n.A,warn:n.A}:e}},0x578d74f:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s,Wh:()=>o});var n,r=a(0xc48503ad),i=a.n(r),o=((n={}).messageAction="message_action",n.globalAction="global_action",n.channelAction="channel_action",n);let s=i().oneOf(Object.values({messageAction:"message_action",globalAction:"global_action",channelAction:"channel_action"}))},0x1b7bc2fc6:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>s,Pc:()=>o,uk:()=>i});var n=a(0xc48503ad),r=a.n(n);let i={Xoxp:"xoxp",Xoxa:"xoxa",CustomIntegration:"custom_integration",Slack:"slack"},o={CHANNEL_EXPERT:"channel_expert",CRM_ASSISTANT:"crm_assistant"},s=r().shape({app_id:r().string.isRequired,home_workspace_id:r().string,home_enterprise_id:r().string,service_id:r().string.isRequired,config_url:r().string,app_type:r().oneOf(["xoxp","xoxa","custom_integration","slack"]),profile:r().shape({name:r().string.isRequired,color:r().string,description:r().string,tagline:r().string,icons:r().objectOf(r().string)}).isRequired,directory_profile:r().shape({screenshots:r().array,youtube_url:r().string,home_url:r().string,support_url:r().string,is_distributed:r().bool,is_published:r().bool,is_approved:r().bool}).isRequired,installation:r().shape({installer_user_id:r().string,is_active:r().bool,is_deleted:r().bool}).isRequired,app_user:r().shape({id:r().string,username:r().string}),commands:r().arrayOf(r().shape({name:r().string.isRequired,usage:r().string,description:r().string}).isRequired),legacy_app:r().object,id:r().string,is_workflow_app:r().bool,is_agentbuilder_description_sync_enabled:r().bool})},0xc67f3d80:(e,t,a)=>{"use strict";a.d(t,{Dn:()=>g,Hu:()=>S,Is:()=>isDm,L$:()=>isSlackBlockParticipant,LQ:()=>getSlackParticipants,MK:()=>convertFreeWillyConnectionQuality,MZ:()=>IsSlackParticipant,ND:()=>I,NS:()=>k,Oi:()=>isCallSubtypeMessage,Sl:()=>y,YY:()=>handleCallAPIResponse,bU:()=>isRoomId,cd:()=>isCallId,lD:()=>T,mT:()=>E,rS:()=>_,rq:()=>p,sU:()=>looksLikeChannelId,t1:()=>isConversationId,uZ:()=>b,xr:()=>h,z3:()=>A});var n,r,i,o,s,l,c,d,u,m,f=a(0x7d48dd65);a(0x6affae29);let _="calls_server_credentials",p="A00";var h=((n={}).Accept="accept",n.Reject="reject",n.DoNotDisturb="dnd",n.OnCall="on_call",n.Hangup="hangup",n.Missed="missed",n),g=((r={}).ORCA="orca",r.FREE_WILLY="free_willy",r.PLATFORM_CALL="platform_call",r),A=((i={}).Outgoing="outgoing",i.Incoming="incoming",i),b=((o={}).UserEndedOrphanedCall="UserEndedOrphanedCall",o.OutgoingInviteRejected="OutgoingInviteRejected",o.ShowSurvey="ShowSurvey",o.SessionTimeout="SessionTimeout",o.PeerJoinTimeout="PeerJoinTimeout",o.InformationBarrierActive="InformationBarrierActive",o.DeviceLocked="DeviceLocked",o.MaxTeams="rooms_max_teams",o.CallEnded="rooms_call_ended",o.MaxParticipants="room_max_participants",o.UnauthorizedRoom="rooms_invalid_room",o.InvalidParameters="rooms_invalid_parameters",o.NoServersAvailable="rooms_no_servers_available",o.UnauthorizedChannel="rooms_invalid_channel",o.CallInfoError="rooms_info_error",o.CallsDisabled="calls_disabled",o.RegionMismatch="rooms_region_mismatch",o),y=((s={}).New="new",s.Edit="edit",s.End="end",s.ChangeHue="change-hue",s.Position="position",s),S=((l={}).video="video",l.audio="audio",l.phone="phone",l),E=((c={}).MICROPHONE="microphone",c.CAMERA="camera",c.SCREEN="screen",c),k=((d={}).AUDIO_ELEMENT_ERROR="audio-element-error",d.AUDIO_LEVEL_ERROR="audio-level-error",d),T=((u={}).ERROR="error",u.NOT_READABLE_ERROR="not-readable-error",u.NOT_FOUND_ERROR="not-found-error",u),I=((m={}).SPEAKER="speaker",m.GALLERY="gallery",m);function isCallId(e){return e.startsWith("R")}function isRoomId(e){return e.startsWith("Vr")||e.startsWith("zt-")}function isConversationId(e){return e.startsWith("C")||e.startsWith("D")||e.startsWith("G")}function isDm(e){return e.startsWith("D")}function looksLikeChannelId(e){return e.startsWith("C")}function isCallSubtypeMessage(e){return"sh_room_created"===e.subtype||"sh_room_shared"===e.subtype}function isSlackBlockParticipant(e){return void 0!==e.slack_id}function IsSlackParticipant(e){return void 0!==e.slackId}function getSlackParticipants(e){return(0,f.A)(e,e=>IsSlackParticipant(e))}function convertFreeWillyConnectionQuality(e){return 1===e?"good":.5===e?"bad":"worst"}function massageMessageToCallsServerType(e){return{token:e.token,tokenExpiry:e.token_expiry,hostname:e.hostname,port:e.port,turn:{username:e.turn_auth.username,password:e.turn_auth.password,ports:e.turn_ports},...e.survey&&{survey:e.survey}}}function callsServerCreateOrJoinRoomResponseType(e){return{meeting:e.free_willy.meeting,attendee:e.free_willy.attendee,...e.survey&&{survey:e.survey}}}function handleCallAPIResponse(e){return e.free_willy?callsServerCreateOrJoinRoomResponseType(e):massageMessageToCallsServerType(e)}},0x7441941c:(e,t,a)=>{"use strict";a.d(t,{$x:()=>isChannelSectionInteractive,OL:()=>isClientLocalPrefUpdatable,lJ:()=>isChannelSectionClientLocal});var n=a(0x8f36a342),r=a(0x35945a76);function isChannelSectionClientLocal(e){return!!e&&"isClientLocal"in e&&!0===e.isClientLocal}function isChannelSectionInteractive(e){return!isChannelSectionClientLocal(e)||e?.type===n.VZ.Quip}function isClientLocalPrefUpdatable(e,t){switch(!0){case e.type===n.VZ.Priority&&t===r.jx:case e.type===n.VZ.Priority:return!0;default:return!1}}},0x369418ec:(e,t,a)=>{"use strict";a.d(t,{w:()=>r});var n,r=((n={}).Member="member",n.Channel="channel",n.Automation="automation",n)},0x1795d8821:(e,t,a)=>{"use strict";a.d(t,{A2:()=>en,CD:()=>eo,EF:()=>q,HN:()=>ei,Il:()=>ea,Pj:()=>Z,TE:()=>K,Uk:()=>Q,Zk:()=>Y,eV:()=>et,gx:()=>ee,oW:()=>J,qT:()=>er,sR:()=>z,x:()=>X,xl:()=>$});var n,r,i,o,s,l,c,d=a(0x6c35b374),u=a(0x1b6439f69),m=a(0x1e4cd147d),f=a(0x1ed90e6b3),_=a(0x4606d3e2),p=a(0x2f471e95),h=a(0x7c89cc64),g=a(0x1b703ba7c),A=a(0xfacdb09f),b=a(0xf41d99af),y=a(0x84a76a69),S=a(0x155c3e769),E=a(0x1264bbd40),k=a(0x185eec583),T=a(0x1b2789362),I=a(0x241468cf8),w=a(0x1e7ffc097),C=a(0x253c25b78),v=a(0x73140534),x=a(0x224b93f6a),R=a(0x1e361565a),O=a(0x214e7cb34),N=a(0x54e31f8f),D=a(0x1c66ddbda),L=a(0x12d811198),M=a(0x20a6d1776),F=a(0x117d8f9e4),P=a(0xd449c218),U=a(0x38c17ead),B=a(0x1da15ec28),G=a(0x23bf72346),H=a(0x1f19f0e11),W=a(4388698),V=a(0x49a036bc),j=a(0x3bcf02af);let K={Array:d.b.Array,Boolean:m.G.Boolean,Integer:k.I.Integer,Number:R.n.Number,Object:O.D.Object,String:M.V.String,SlackTypesBlocks:u.D.SlackTypesBlocks,SlackTypesCanvasId:f.u.SlackTypesCanvasId,SlackTypesCanvasTemplateId:_.o.SlackTypesCanvasTemplateId,SlackTypesChannelCanvasId:p.j.SlackTypesChannelCanvasId,SlackTypesChannelId:h.f.SlackTypesChannelId,SlackTypesCredentialOauth2:P.P.SlackTypesCredentialOauth2,SlackTypesCurrency:g.S.SlackTypesCurrency,SlackTypesDate:A.B.SlackTypesDate,SlackTypesDynamicPair:b.W.SlackTypesDynamicPair,SlackTypesToplevelTeamId:B.I.SlackTypesToplevelTeamId,SlackTypesExpandedRichText:y.D.SlackTypesExpandedRichText,SlackTypesFileId:S.s.SlackTypesFileId,SlackTypesFormInputObject:E.p.SlackTypesFormInputObject,SlackTypesInteractivity:T.j.SlackTypesInteractivity,SlackTypesListId:w.K.SlackTypesListId,SlackTypesMessageContext:C.t.SlackTypesMessageContext,SlackTypesMessageTs:v.E.SlackTypesMessageTs,SlackTypesRichText:N.W.SlackTypesRichText,SlackTypesLimitedRichText:I.C.SlackTypesLimitedRichText,SlackTypesSalesforceRecordId:L.Y.SlackTypesSalesforceRecordId,SlackTypesTeamId:F.d.SlackTypesTeamId,SlackTypesTimestamp:U.H.SlackTypesTimestamp,SlackTypesUserContext:G.h.SlackTypesUserContext,SlackTypesUserEmail:H.q.SlackTypesUserEmail,SlackTypesUsergroupId:j.U.SlackTypesUsergroupId,SlackTypesUserId:W.D.SlackTypesUserId,SlackUserPermission:V.z.SlackTypesUserPermission,SlackTypesSalesforceDataField:D.M.SlackTypesSalesforceDataField},q=Object.values(K),z={CustomTypeEmojiReaction:"emojiReaction"},$={Boolean:m.G.Boolean,Integer:k.I.Integer,Number:R.n.Number,String:M.V.String,SlackTypesCanvasId:f.u.SlackTypesCanvasId,SlackTypesCanvasTemplateId:_.o.SlackTypesCanvasTemplateId,SlackTypesChannelCanvasId:p.j.SlackTypesChannelCanvasId,SlackTypesChannelId:h.f.SlackTypesChannelId,SlackTypesCurrency:g.S.SlackTypesCurrency,SlackTypesDynamicPair:b.W.SlackTypesDynamicPair,SlackTypesFileId:S.s.SlackTypesFileId,SlackTypesListId:w.K.SlackTypesListId,SlackTypesMessageContext:C.t.SlackTypesMessageContext,SlackTypesTeamId:F.d.SlackTypesTeamId,SlackTypesMixed:x.$.SlackTypesMixed,SlackTypesTimestamp:U.H.SlackTypesTimestamp,SlackTypesUserEmail:H.q.SlackTypesUserEmail,SlackTypesUsergroupId:j.U.SlackTypesUsergroupId,SlackTypesUserId:W.D.SlackTypesUserId};var Y=((n={}).AddSpreadsheetRow="add_spreadsheet_row",n.SelectSpreadsheetRow="select_spreadsheet_row",n.UpdateSpreadsheetRow="update_spreadsheet_row",n.DeleteSpreadsheetRow="delete_spreadsheet_row",n),Q=((r={}).MessagePosted="message_posted",r);let Z={Everyone:"everyone",NamedEntities:"named_entities",NoOne:"no_one"};var J=((i={}).AddPin="add_pin",i.RemovePin="remove_pin",i.CreateCanvas="canvas_create",i.CreateChannelCanvas="channel_canvas_create",i.CreateChannel="create_channel",i.TestUserPermission="test_user_permission",i.AddUserToUsergroup="add_user_to_usergroup",i.RemoveUserFromUserGroup="remove_user_from_usergroup",i.ArchiveChannel="archive_channel",i.UnarchiveChannel="unarchive_channel",i.ChangeUserStatus="change_user_status",i.ChangeClientColorScheme="change_client_color_scheme",i.CreateUsergroup="create_usergroup",i.Delay="delay",i.InviteUserToChannel="invite_user_to_channel",i.Placeholder="placeholder",i.RenameChannel="rename_channel",i.SendEphemeralMessage="send_ephemeral_message",i.SendMessage="send_message",i.TurnoffDnd="turnoff_dnd",i.TurnonDnd="turnon_dnd",i.UpdateCanvasContent="canvas_update_content",i.UpdateCanvasContentV2="canvas_update_content_v2",i.UpdateCanvasVariables="canvas_update_variables",i.UpdateChannelTopic="update_channel_topic",i.OpenForm="open_form",i.SendDm="send_dm",i.SendToMySalesHome="send_to_my_sales_home",i.SendToMySalesforceApp="send_to_my_salesforce_app",i.SendToRecordChannel="send_to_record_channel",i.SendToSalesHome="send_to_sales_home",i.SendToSalesforceApp="send_to_salesforce_app",i.SendSummaryToMySalesHome="send_summary_to_my_sales_home",i.SendSummaryToSalesHome="send_summary_to_sales_home",i.ReplyInThread="reply_in_thread",i.ShareCanvas="share_canvas",i.AddListRecord="list_add_record",i.SummarizeChannel="summarize_channel",i.RemoveReaction="remove_reaction",i.SearchSummary="search_summary",i.FindRecordChannel="lookup_record_channel",i.CreateRecordChannel="create_record_channel",i.AskAgentforce="ask_agentforce",i.AiAnswer="ai_answer",i.AddAgentToChannel="add_agent_to_channel",i),X=((o={}).BUILDER="BUILDER",o.END_USER="END_USER",o),ee=((s={}).LAST_INTERACTOR="LAST_INTERACTOR",s.CALLER_USER="CALLER_USER",s),et=((l={}).STRING="string",l.OBJECT="object",l),ea=((c={}).SELECT="select",c.MULTI_SELECT="multi-select",c.KEY_VALUE="key-value",c);let en=[K.SlackTypesUserId,K.SlackTypesChannelId,K.SlackTypesFileId],er={DateTime:"slack#/types/date_time",Reaction:"slack#/types/reaction",Timezone:"slack#/types/timezone"},ei={...K,...er},eo=Object.values(ei)},7854195:(e,t,a)=>{"use strict";a.d(t,{KL:()=>u,Q$:()=>f,cM:()=>c,o:()=>d,qt:()=>_,yG:()=>m});var n,r,i,o,s,l,c=((n={}).CallAttachment="call-attachment",n.CanvasFile="canvas-file",n.QuipFile="quip-file",n.Screenshare="screenshare",n.Tableau="tableau",n.Link="link",n.None="none",n),d=((r={}).Standard="standard",r.Effect="effect",r.Sticker="sticker",r.Gif="gif",r),u=((i={}).Threads="threads",i.Notes="notes",i.Particpants="particpants",i.Captions="captions",i),m=((o={}).WINDOW_COMPACT="huddle_window_compact",o.WINDOW_FULL="huddle_window_full",o),f=((s={}).OpenLargeWindow="open_large_window",s.ResizeToLargeWindow="resize_to_large_window",s),_=((l={}).Pending="pending",l.Accepted="accepted",l.Declined="declined",l.Canceled="canceled",l.JoiningSoon="joining_soon",l.Expired="expired",l.Invalid="invalid",l.DeclinedAcknowledged="declined_acknowledged",l)},0x1c6fdf03:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var n=a(0xc48503ad),r=a.n(n);let i=r().shape({id:r().string.isRequired,name:r().string.isRequired,icons:r().objectOf(r().string).isRequired,is_xoxa_app:r().bool,app_user_id:r().string});var o=a(0x578d74f);let s=r().shape({appId:r().string.isRequired,id:r().string.isRequired,name:r().string.isRequired,description:r().string,type:o.Ay,app:r().object,channelId:r().string,teams:r().arrayOf(r().string)}),l=r().shape({id:r().string,type:o.Ay.isRequired,name:r().string.isRequired,description:r().string.isRequired,callbackId:r().string.isRequired}),c=r().shape({app:r().shape({id:r().string.isRequired,name:r().string.isRequired,icons:r().oneOfType([r().objectOf(r().string),r().array]).isRequired}).isRequired,id:r().string.isRequired,name:r().string.isRequired,description:r().string.isRequired}),d=r().shape({app_id:r().string.isRequired,id:r().string.isRequired,name:r().string.isRequired,desc:r().string,teams:r().arrayOf(r().string),isEnterpriseInstall:r().bool,isWorkspaceAgnostic:r().bool}),u=r().shape({channel_id:r().string,app_id:r().string.isRequired,app_installed_team_id:r().string.isRequired,home_tab_enabled:r().bool,messages_tab_enabled:r().bool,home_view_id:r().string,conversation_id:r().string}),m=r().oneOf(Object.values({home:"home"}));var f=a(0x1b7bc2fc6);let _=r().shape({id:r().string.isRequired,isUnknown:r().bool,isNonExistent:r().bool}),p=r().shape({openCount:r().number,unreadCount:r().number.isRequired});function maybeUnknown(e){return r().oneOfType([e,_])}let h=r().shape({scopes:r().arrayOf(r().string).isRequired,is_dangerous:r().bool,short_description:r().string.isRequired,long_description:r().string});var g=a(0x2264e6ea3);function TeamId(e,t,a="UNKNOWN COMPONENT"){return e[t]&&(0,g.Ay)(e[t])?null:Error(`The prop \u{2018}${t}\u{2019} is required through type TeamId in \u{2018}${a}\u{2019}, but its value is \u{2018}${e[t]}\u{2019}.`)}let A=r().shape({body:r().string.isRequired,title:r().string.isRequired,draft:r().bool.isRequired,user_segment_id:r().number.isRequired,zendesk_id:r().number.isRequired,section_id:r().number.isRequired}),b={App:i,AppAction:s,AppActionMenuItem:c,AppActionConfig:l,AppActionType:o.Ay,AppGlobalAction:d,AppHome:u,AppHomeTabEnum:m,AppProfile:f.Ay,GenericUnknown:_,HelpIssuesTicketStats:p,maybeUnknown:maybeUnknown,ScopeInfo:h,TeamId:TeamId,NewWhatsNewUpdate:A}},0x2275c26b8:(e,t,a)=>{"use strict";a.d(t,{$J:()=>L,Ao:()=>h,CM:()=>S,DE:()=>O,HB:()=>g,VJ:()=>D,WZ:()=>x,YP:()=>I,cf:()=>v,ey:()=>C,hx:()=>w,l7:()=>y,lR:()=>E,nF:()=>getFieldTypeMap,oB:()=>b,pC:()=>N,pd:()=>T,q_:()=>M,sp:()=>R,x6:()=>A,y7:()=>k});var n,r,i,o,s,l,c,d,u,m,f=a(0x20482ad21),_=a(0x153cbdf74);let p=new f.Ay("lists"),h={FailedSaving:"failed_saving",FailedImport:"failed_import",SlackConnect:"slack_connect"},g="lists-browser-page";var A=((n={}).DRAFT="draft",n.PUBLISHED="published",n.READY_FOR_LOCALIZATION="ready_for_localization",n.DENY_LOCALIZATION="deny_localization",n.STAGING="staging",n.FEATURED="featured",n),b=((r={}).NOT_STARTED="not_started",r.REQUESTED="requested",r.IN_PROGRESS="in_progress",r.COMPLETED="completed",r),y=((i={}).GALLERY="gallery",i.PRIVATE="private",i.STARTER="starter",i);let S=":star:",E=5,k=!0,T=":sparkling_heart:";var I=((o={}).SingleSelect="single_select",o.MultiSelect="multi_select",o),w=((s={}).SingleEntity="single_entity",s.MultiEntity="multi_entity",s),C=((l={}).Single="single",l.Range="range",l),v=((c={}).Default="default",c.DdMmYyyy="DD/MM/YYYY",c.MmDdYyyy="MM/DD/YYYY",c.YyyyMmDd="YYYY/MM/DD",c.MonthDdYyyy="MMMM DD, YYYY",c.DdMonthYyyy="DD MMMM YYYY",c),x=((d={}).SelectList="select_list",d.SearchInput="search_input",d.ColumnEditorToken="column_editor_token",d.TodosPrimaryColumn="todos_primary_column",d);let getFieldTypeMap=()=>new Map([[_.$.Text,{value:_.$.Text,label:p.t("Text"),icon:{name:"text-snippet"},description:p.t("A single line of text."),configColumnDefaultOptions:{format:"text"}}],[_.$.Number,{value:_.$.Number,label:p.t("Number"),icon:{name:"number"},configColumnDefaultOptions:{precision:0}}],[_.$.Select,{value:_.$.Select,label:p.t("Select"),icon:{name:"caret-dropdown"},configColumnDefaultOptions:{format:"single_select",choices:[]}}],[_.$.Date,{value:_.$.Date,label:p.t("Date"),icon:{name:"calendar"},configColumnDefaultOptions:{format:"single",dateFormat:"default"}}],[_.$.User,{value:_.$.User,label:p.t("People"),icon:{name:"user-groups"},configColumnDefaultOptions:{format:"single_entity",showMemberName:k,defaultValue:null}}],[_.$.Assignee,{value:_.$.Assignee,label:p.t("Assignee"),icon:{name:"user-groups"},configColumnDefaultOptions:{format:"single_entity",showMemberName:k,defaultValue:null}}],[_.$.Attachment,{value:_.$.Attachment,label:p.t("Files",{fallbackHash:"83208040694b84506e6b06ddc8727afe2a341064"}),icon:{name:"files"},description:"Attachments allow you to add images, documents, or other files which can then be viewed or downloaded."}],[_.$.Checkbox,{value:_.$.Checkbox,label:p.t("Checkbox"),icon:{name:"checkbox"},description:"A single checkbox that can be checked or unchecked."}],[_.$.Email,{value:_.$.Email,label:"Email",icon:{name:"email"}}],[_.$.Phone,{value:_.$.Phone,label:"Phone",icon:{name:"call"}}],[_.$.Channel,{value:_.$.Channel,label:p.t("Channel"),icon:{name:"channel"},configColumnDefaultOptions:{format:"single_entity",showMemberName:k,defaultValue:null}}],[_.$.Rating,{value:_.$.Rating,label:p.t("Rating"),icon:{name:"star"},configColumnDefaultOptions:{emoji:S,max:E}}],[_.$.Message,{value:_.$.Message,label:p.t("Message"),icon:{name:"direct-messages"}}],[_.$.CreatedTime,{value:_.$.CreatedTime,label:p.t("Created time"),icon:{name:"clock"}}],[_.$.LastEditedTime,{value:_.$.LastEditedTime,label:p.t("Last edited time"),icon:{name:"clock"}}],[_.$.CreatedBy,{value:_.$.CreatedBy,label:p.t("Created by"),icon:{name:"user"}}],[_.$.LastEditedBy,{value:_.$.LastEditedBy,label:p.t("Last edited by"),icon:{name:"user"}}],[_.$.Link,{value:_.$.Link,label:p.t("Link"),icon:{name:"link"}}],[_.$.Vote,{value:_.$.Vote,label:p.t("Vote"),icon:{name:"caret-up-full"}}],[_.$.DueDate,{value:_.$.DueDate,label:p.t("Due date"),icon:{name:"clock"}}],[_.$.Completed,{value:_.$.Completed,label:p.t("Completed"),icon:{name:"check"}}],[_.$.Canvas,{value:_.$.Canvas,label:p.t("Canvas"),icon:{name:"canvas-browser"},configColumnDefaultOptions:{format:"single_entity",showMemberName:k,defaultValue:null}}],[_.$.TodoAssignee,{value:_.$.TodoAssignee,label:p.t("Assignee"),icon:{name:"user"}}],[_.$.TodoDueDate,{value:_.$.TodoDueDate,label:p.t("Due date"),icon:{name:"calendar"}}],[_.$.TodoCompleted,{value:_.$.TodoCompleted,label:p.t("Completed"),icon:{name:"check-circle"}}]]),R=new Set([_.$.CreatedBy,_.$.LastEditedBy,_.$.CreatedTime,_.$.LastEditedTime]),O=new Set([_.$.TodoAssignee,_.$.TodoDueDate,_.$.TodoCompleted]),N=new Set([_.$.Rating,_.$.Text,_.$.RichText,_.$.Number,_.$.Checkbox,_.$.Select,_.$.MultiSelect,_.$.Date,_.$.User,_.$.Channel,_.$.Attachment,_.$.Link,_.$.TodoAssignee,_.$.TodoDueDate,_.$.TodoCompleted]);var D=((u={}).NORMAL="normal",u.UNDO="undo",u.REDO="redo",u),L=((m={}).BLANK="blank",m.COPY="copy_from_list",m.TEMPLATE="template",m.IMPORT_FROM_CSV="import_from_csv",m);let M=["list_record_assigned","list_record_edited","list_user_mentioned","list_todo_notification"]},0x162161ec9:(e,t,a)=>{"use strict";a.d(t,{g:()=>r});var n,r=((n={}).DEFAULT_UNSET="default_unset",n.AVAILABLE_FOR_HUDDLE="available_for_huddle",n.IN_A_HUDDLE="in_a_huddle",n)},0x1ab54b1d:(e,t,a)=>{"use strict";a.d(t,{S:()=>i,h:()=>o});var n,r,i=((n={}).None="",n.SharedChannelInvite="shared_channel_invite",n.SharedDmInvite="shared_dm_invite",n.SharedWorkspaceInvite="shared_workspace_invite",n),o=((r={}).RenamedTeam="naq_stn_renamed_team",r.FailedRenameTeam="naq_stn_failed_rename_team",r.SkipSuccessSCDM="naq_stn_skip_success_scdm",r.SkipSuccessSCSC="naq_stn_skip_success_scsc",r.SkipFailure="naq_stn_skip_failure",r.MainMenuClickEditUrl="naq_stn_click_edit_url",r.CreateNatSuccess="naq_stn_create_nat_success",r)},0x7fc9e5b3:(e,t,a)=>{"use strict";a.d(t,{C:()=>n});let n={FULL_MEMBER:"FULL_MEMBER",MULTI_CHANNEL_GUEST:"MULTI_CHANNEL_GUEST"}},0x1655a8085:(e,t,a)=>{"use strict";a.d(t,{E:()=>n,p:()=>r});let n=Object.keys(a(0x240f66d6a).aX),r=n.reduce((e,t)=>({...e,[t]:t}),{})},0xe8015073:(e,t,a)=>{"use strict";a.d(t,{p:()=>n.p});var n=a(0x1655a8085)},0x121459a2:(e,t,a)=>{"use strict";a.d(t,{CU:()=>l,ax:()=>o,ll:()=>s});var n,r,i,o=((n={}).saved="saved",n.archived="archived",n.completed="completed",n),s=((r={}).message="message",r.reminder="reminder",r.file="file",r.list_record="list_record",r.list_record_field="list_record_field",r.canvas_section="canvas_section",r),l=((i={}).completed="completed",i.uncompleted="uncompleted",i.archived="archived",i.unarchived="unarchived",i)},0x80c0d323:(e,t,a)=>{"use strict";a.d(t,{l:()=>o,r:()=>i});var n,r,i=((n={}).BOLD="bold",n.ITALIC="italic",n.STRIKE="strike",n.LINK="link",n.COMMAND="command",n.MEMBER="member",n.CHANNEL="channel",n.EMOJI="emoji",n.JUMBOEMOJI="jumbomoji",n.HEX="hex",n.CODE="code",n.QUOTE="quote",n.PRE="pre",n.QUOTE_PREFIX="quote_prefix",n.LONGQUOTE_PREFIX="long_quote_prefix",n.LINE_BREAK="line_break",n.PARA_BREAK="paragraph_break",n.SPACE_HARD="space_hard",n.HIGHLIGHT="highlight",n.UNKNOWN="unknown",n),o=((r={}).BOLD_START="<B:START>",r.BOLD_END="<B:END>",r.ITALIC_START="<I:START>",r.ITALIC_END="<I:END>",r.CODE_START="<CODE:START>",r.CODE_END="<CODE:END>",r.STRIKE_START="<STRIKE:START>",r.STRIKE_END="<STRIKE:END>",r.LINK_START="<LINK:START>",r.LINK_END="<LINK:END>",r.PRE_START="<PRE:START>",r.PRE_END="<PRE:END>",r.HIGHLIGHT_START="<HIGHLIGHT:START>",r.HIGHLIGHT_END="<HIGHLIGHT:END>",r.QUOTE_START="<QUOTE:START>",r.QUOTE_END="<QUOTE:END>",r.QUOTE_PREFIX="<QUOTE:PREFIX>",r.LONGQUOTE_PREFIX="<LONGQUOTE:PREFIX>",r.PARA_BREAK="<PARA:BREAK>",r.LINE_BREAK="<LINE:BREAK>",r.SPACE_HARD="<SPACE:HARD>",r.EMOJI_COLONS="<EMOJI:COLONS>",r.JUMBOMOJI_COLONS="<JUMBOMOJI:COLONS>",r.HEX_BLOCK="<HEX:BLOCK>",r)},0x14da433d6:(e,t,a)=>{"use strict";a.d(t,{K:()=>r});var n,r=((n={}).MyTodos="my_todos",n.AssignedToYou="assigned_to_you",n.TodoLater="todo_later",n)},0x2a3fb7ec:(e,t,a)=>{"use strict";function arrayIncludes(e,t){return e.includes(t)}a.d(t,{X:()=>arrayIncludes})},0x18d0e5cc9:(e,t,a)=>{"use strict";a.d(t,{V:()=>isRichTextBroadcastElement,e:()=>isRichTextBroadcastElementSnakeCaseOrCamelCase});let{BROADCAST:n}=a(0xc4e87e00).Lv,isRichTextBroadcastElement=e=>e?.type===n,isRichTextBroadcastElementSnakeCaseOrCamelCase=e=>e?.type===n},0x1cb9a6a00:(e,t,a)=>{"use strict";a.d(t,{Et:()=>isRichTextCanvasElementSnakeCase,Fb:()=>isRichTextDeprecatedCanvasElement,c3:()=>isRichTextCanvasElement,mj:()=>isRichTextCanvasElementCamelCase});let{CANVAS:n,_CANVAS_MENTION:r}=a(0xc4e87e00).Lv,isRichTextCanvasElement=e=>e?.type===n,isRichTextDeprecatedCanvasElement=e=>e?.type===r,isRichTextCanvasElementSnakeCase=e=>e?.type===n&&"file_id"in e,isRichTextCanvasElementCamelCase=e=>e?.type===n&&"fileId"in e},0x937b29a1:(e,t,a)=>{"use strict";a.d(t,{P9:()=>isRichTextChannelElement,VI:()=>isRichTextChannelElementCamelCase,XQ:()=>isRichTextChannelElementSnakeCase});let{CHANNEL:n}=a(0xc4e87e00).Lv,isRichTextChannelElement=e=>e?.type===n,isRichTextChannelElementSnakeCase=e=>e?.type===n&&"channel_id"in e,isRichTextChannelElementCamelCase=e=>e?.type===n&&"channelId"in e},0xd9d6b679:(e,t,a)=>{"use strict";a.d(t,{e:()=>isRichTextCodeBlockElement,h:()=>isRichTextCodeBlockElementSnakeCaseOrCamelCase});let{PREFORMATTED:n}=a(0xc4e87e00).Lv,isRichTextCodeBlockElement=e=>e?.type===n,isRichTextCodeBlockElementSnakeCaseOrCamelCase=e=>e?.type===n},0x16728c81d:(e,t,a)=>{"use strict";a.d(t,{f:()=>isRichTextColorElement,m:()=>isRichTextColorElementSnakeCaseOrCamelCase});let{COLOR:n}=a(0xc4e87e00).Lv,isRichTextColorElement=e=>e?.type===n,isRichTextColorElementSnakeCaseOrCamelCase=e=>e?.type===n},0x6be85b50:(e,t,a)=>{"use strict";a.d(t,{i:()=>isRichTextDateElement,p:()=>isRichTextDateElementSnakeCaseOrCamelCase});let{DATE:n}=a(0xc4e87e00).Lv,isRichTextDateElement=e=>e?.type===n,isRichTextDateElementSnakeCaseOrCamelCase=e=>e?.type===n},0x1c1e8557c:(e,t,a)=>{"use strict";a.d(t,{E2:()=>isRichTextEmojiElement,Gm:()=>isRichTextEmojiElementCamelCase,wK:()=>isRichTextEmojiElementSnakeCase});let{EMOJI:n}=a(0xc4e87e00).Lv,isRichTextEmojiElement=e=>e?.type===n,isRichTextEmojiElementSnakeCase=e=>{let t=e?.type===n;return!!t&&"display_url"in e||!!t&&"display_team_id"in e||!!t&&"display_alias"in e||!!t&&"skin_tone"in e||!!t&&!("displayUrl"in e)&&!("displayTeamId"in e)&&!("displayAlias"in e)&&!("skinTone"in e)&&!("display_url"in e)&&!("display_team_id"in e)&&!("display_alias"in e)&&!("skin_tone"in e)||!1},isRichTextEmojiElementCamelCase=e=>{let t=e?.type===n;return!!t&&"displayUrl"in e||!!t&&"displayTeamId"in e||!!t&&"displayAlias"in e||!!t&&"skinTone"in e||!!t&&!("displayUrl"in e)&&!("displayTeamId"in e)&&!("displayAlias"in e)&&!("skinTone"in e)&&!("display_url"in e)&&!("display_team_id"in e)&&!("display_alias"in e)&&!("skin_tone"in e)||!1}},0x746e8582:(e,t,a)=>{"use strict";a.d(t,{Ai:()=>isRichTextFileElement,Y1:()=>isRichTextFileElementCamelCase,eZ:()=>isRichTextFileElementSnakeCase,v1:()=>isRichTextDeprecatedFileElement});let{FILE:n,_FILE_MENTION:r}=a(0xc4e87e00).Lv,isRichTextFileElement=e=>e?.type===n,isRichTextDeprecatedFileElement=e=>e?.type===r,isRichTextFileElementSnakeCase=e=>e?.type===n&&"file_id"in e,isRichTextFileElementCamelCase=e=>e?.type===n&&"fileId"in e},0x2afd3d78:(e,t,a)=>{"use strict";a.d(t,{_:()=>isRichTextLinkElement,j:()=>isRichTextLinkElementSnakeCaseOrCamelCase});let{LINK:n}=a(0xc4e87e00).Lv,isRichTextLinkElement=e=>e?.type===n,isRichTextLinkElementSnakeCaseOrCamelCase=e=>e?.type===n},0x108d007e0:(e,t,a)=>{"use strict";a.d(t,{C:()=>isRichTextListElement,x:()=>isRichTextListElementSnakeCaseOrCamelCase});let{LIST:n}=a(0xc4e87e00).Lv,isRichTextListElement=e=>e?.type===n,isRichTextListElementSnakeCaseOrCamelCase=e=>e?.type===n},0x806fe6c8:(e,t,a)=>{"use strict";a.d(t,{DW:()=>isRichTextListRecordElement,f9:()=>isRichTextListRecordElementSnakeCase,tj:()=>isRichTextListRecordElementCamelCase});let{LIST_RECORD:n}=a(0xc4e87e00).Lv,isRichTextListRecordElement=e=>e?.type===n,isRichTextListRecordElementSnakeCase=e=>e?.type===n&&"file_id"in e,isRichTextListRecordElementCamelCase=e=>e?.type===n&&"fileId"in e},0x958e0da2:(e,t,a)=>{"use strict";a.d(t,{Vx:()=>isRichTextMessageMentionElementSnakeCase,Zs:()=>isRichTextMessageMentionElementCamelCase,hk:()=>isRichTextMessageMentionElement});let{MESSAGE_MENTION:n}=a(0xc4e87e00).Lv,isRichTextMessageMentionElement=e=>e?.type===n,isRichTextMessageMentionElementSnakeCase=e=>e?.type===n&&"message_ts"in e,isRichTextMessageMentionElementCamelCase=e=>e?.type===n&&"messageTs"in e},0x244dacb16:(e,t,a)=>{"use strict";a.d(t,{L:()=>isRichTextQuoteElementSnakeCaseOrCamelCase,Y:()=>isRichTextQuoteElement});let{QUOTE:n}=a(0xc4e87e00).Lv,isRichTextQuoteElement=e=>e?.type===n,isRichTextQuoteElementSnakeCaseOrCamelCase=e=>e?.type===n},0xd2ef9f49:(e,t,a)=>{"use strict";a.d(t,{B:()=>isRichTextSectionElement,c:()=>isRichTextSectionElementSnakeCaseOrCamelCase});let{SECTION:n}=a(0xc4e87e00).Lv,isRichTextSectionElement=e=>e?.type===n,isRichTextSectionElementSnakeCaseOrCamelCase=e=>e?.type===n},0x1706ebf53:(e,t,a)=>{"use strict";a.d(t,{G:()=>isRichTextTextElementSnakeCaseOrCamelCase,P:()=>isRichTextTextElement});let{TEXT:n}=a(0xc4e87e00).Lv,isRichTextTextElement=e=>e?.type===n,isRichTextTextElementSnakeCaseOrCamelCase=e=>e?.type===n},0x727d8d2d:(e,t,a)=>{"use strict";a.d(t,{v:()=>isRichTextUnknownElementWithText});var n=a(0xb77a689a),r=a(0x7fa3cc8f),i=a(0xc4e87e00);let isRichTextUnknownElementWithText=e=>(0,n.A)(e?.text)&&!(0,r.A)(i.Lv).includes(e?.type)},0xa0368533:(e,t,a)=>{"use strict";a.d(t,{v:()=>isRichTextUnknownElementWithUrl});var n=a(0xb77a689a),r=a(0x7fa3cc8f),i=a(0xc4e87e00);let isRichTextUnknownElementWithUrl=e=>(0,n.A)(e?.url)&&!(0,r.A)(i.Lv).includes(e?.type)},0x23a9df45f:(e,t,a)=>{"use strict";a.d(t,{H1:()=>isRichTextUserElement,Ns:()=>isRichTextUserElementCamelCase,pb:()=>isRichTextUserElementSnakeCase});let{USER:n}=a(0xc4e87e00).Lv,isRichTextUserElement=e=>e?.type===n,isRichTextUserElementSnakeCase=e=>e?.type===n&&"user_id"in e,isRichTextUserElementCamelCase=e=>e?.type===n&&"userId"in e},0x80759cc4:(e,t,a)=>{"use strict";a.d(t,{GH:()=>isRichTextUsergroupElement,qg:()=>isRichTextUsergroupElementCamelCase,wA:()=>isRichTextUsergroupElementSnakeCase});let{USERGROUP:n}=a(0xc4e87e00).Lv,isRichTextUsergroupElement=e=>e?.type===n,isRichTextUsergroupElementSnakeCase=e=>e?.type===n&&"usergroup_id"in e,isRichTextUsergroupElementCamelCase=e=>e?.type===n&&"usergroupId"in e},0xf6eb05c:(e,t,a)=>{"use strict";a.d(t,{QJ:()=>isRichTextVariableElementSnakeCase,_7:()=>isRichTextVariableElementCamelCase,uM:()=>isRichTextVariableElement});let{_VARIABLE:n}=a(0xc4e87e00).Lv,isRichTextVariableElement=e=>e?.type===n,isRichTextVariableElementSnakeCase=e=>e?.type===n&&"template_type"in e,isRichTextVariableElementCamelCase=e=>e?.type===n&&"templateType"in e},0x242251ce6:(e,t,a)=>{"use strict";a.d(t,{$K:()=>isRichTextWorkflowMentionElement,NJ:()=>isRichTextWorkflowMentionElementCamelCase,x6:()=>isRichTextWorkflowMentionElementSnakeCase});let{WORKFLOW_MENTION:n}=a(0xc4e87e00).Lv,isRichTextWorkflowMentionElement=e=>e?.type===n,isRichTextWorkflowMentionElementSnakeCase=e=>e?.type===n&&"workflow_id"in e,isRichTextWorkflowMentionElementCamelCase=e=>e?.type===n&&"workflowId"in e},0x3264c4f4:(e,t,a)=>{"use strict";a.d(t,{MQ:()=>isRichTextWorkflowtokenElementSnakeCase,eW:()=>isRichTextWorkflowtokenElementCamelCase,ed:()=>isRichTextWorkflowtokenElement});let{WORKFLOWTOKEN:n}=a(0xc4e87e00).Lv,isRichTextWorkflowtokenElement=e=>e?.type===n,isRichTextWorkflowtokenElementSnakeCase=e=>e?.type===n&&"data_type"in e,isRichTextWorkflowtokenElementCamelCase=e=>e?.type===n&&"dataType"in e},0x94e8342:(e,t,a)=>{"use strict";a.d(t,{A:()=>isRichText});var n=a(0xc4e87e00);function isRichText(e,t){return!!e&&(t?!!e.some(e=>e?.type===n.Lv.RICH_TEXT):1===e.length&&e?.[0]?.type===n.Lv.RICH_TEXT)}},0x28be1268:(e,t,a)=>{"use strict";a.d(t,{r:()=>isUnknownAppProfile});let isUnknownAppProfile=e=>!!e?.isUnknown},0x7a81b888:(e,t,a)=>{"use strict";a.d(t,{T:()=>isValidPageId});var n=a(1927545e3);function isValidPageId(e){return Object.values(n.c).includes(e)}},0x2356cde2b:(e,t,a)=>{"use strict";a.d(t,{f:()=>isQuipCommentThread}),a(0x139aa1a7);var n=a(0x1529370e7);function isQuipCommentThread(e){return e?.id==="comment_thread"&&(0,n.Ay)(e?.params?.entityId)}},0x195009a80:(e,t,a)=>{"use strict";a.d(t,{F:()=>buildAppProfileFromLegacyEndpoint});var n=a(0x20ef3966f),r=a(0x82980ab8),i=a(0x4b8e0952);let buildAppProfileFromLegacyEndpoint=(e,t,a)=>{let o,s,{agentforce:l,is_ai_app:c,is_agent_app:d,app_card_color:u,app_user_id:m,auth:f,bot_user:_,config:p,commands:h,config_url:g,enterprise_id:A,desc:b,icons:y,id:S,is_directory_published:E,is_directory_approved:k,is_slack_integration:T,is_distributed:I,is_xoxa_app:w,is_workflow_app:C,long_desc:v,long_desc_formatted:x,org_status:R,name:O,support_url:N,team_id:D,screenshots:L,url:M,youtube_url:F,is_installed:P,sales_home_workflow_app_type:U}=t,B="xoxp";w?B="xoxa":p&&p.is_custom_integration?B="custom_integration":T&&(B="slack");let G=S||"",H=O||"",W=m||"",V=!0,j=!1;p?(p.date_deleted&&0!==parseInt(p.date_deleted,10)&&(j=!0,V=!1),p.date_deleted&&0!==parseInt(p.date_deleted,10)&&(V=!1),p.is_active&&p.is_active<1&&(V=!1)):f?f.revoked&&(V=!1):V=!1,p&&p.created_by&&(o=p.created_by),f&&f.created_by&&(o=f.created_by);let K=h?(0,n.A)(h,e=>({name:e.name,usage:e.usage,description:e.desc})):void 0;if(w&&W&&H)s={id:W,username:H};else if(_&&_.id&&_.username)s={id:_.id,username:_.username};else if(a&&!(0,i.ow)(a)&&a.id){let e=(0,r.Gt)(a);e&&(s={id:a.id,username:e})}let q=H;p&&(p.real_name?q=p.real_name:p.username&&(q=p.username));let z=b;p&&p.descriptive_label&&(z=p.descriptive_label);let $=y;p&&p.icons&&($=p.icons);let Y=_&&_.memberships_count||void 0;return{id:G,app_id:G,home_workspace_id:D,home_enterprise_id:A,service_id:e||"",config_url:g,app_type:B,is_workflow_app:C,sales_home_workflow_app_type:U,org_status:R,profile:{name:q,color:u||void 0,description:v,formattedDescription:x,tagline:z,icons:$,custom_integration_type:p&&p.custom_integration_type||void 0},directory_profile:{screenshots:L,youtube_url:F,home_url:M,support_url:N,is_distributed:I,is_published:E,is_approved:k},installation:{installer_user_id:o,is_active:V,is_deleted:j,memberships_count:Y,date_created:p&&p.date_created||void 0,is_installed:P},app_user:s,commands:K,legacy_app:t,agentforce:l,is_ai_app:c,is_agent_app:d}}},0x22d3b4662:(e,t,a)=>{"use strict";a.d(t,{A:()=>convertRichTextToPlainText});var n=a(0x18f2150ea),r=a(0x1db69cda),i=a(0x6affae29),o=a(0x20482ad21),s=a(0x668181b3),l=a(0x91cea13),c=a(0x24a115b5a),d=a(0x160ca5b34),u=a(0xd7587e61),m=a(0x1a919df7f),f=a(0xc4e87e00),_=a(0x87da79b8),p=a(0x15f4f83cf),h=a(0x12185e091),g=a(0x1ecc7f772),A=a(0xf6ed6f31),b=a(0xf8862d23),y=a(0x82980ab8),S=a(0x108d007e0),E=a(0x1bb04e660);function convertNumberToLetterIncrement(e){if(e<=0)return"";let t="",a=e;for(;a>0;)t=String.fromCharCode(97+(a-=1)%26)+t,a=Math.floor(a/26);return t}let k=["","c","cc","ccc","cd","d","dc","dcc","dccc","cm","","x","xx","xxx","xl","l","lx","lxx","lxxx","xc","","i","ii","iii","iv","v","vi","vii","viii","ix"];function convertNumberToRomanNumeral(e){if(e<=0)return"";let t=e.toString().split(""),a="";for(let e=2;e>=0;e--)a=(k[parseInt(t.pop()||"0",10)+10*e]||"")+a;return Array(parseInt(t.join("")||"0",10)+1).join("m")+a}var T=a(0x6960d8b9),I=a(0x62427837),w=a(0x1d06c44fe),C=a(0x3f9b1657),v=a(0xc39d85ac),x=a(0x8fe25a72),R=a(0x23dc4dba0),O=a(0x223ac29bb),N=a(0x9b971e7e),D=a(0x217553e42),L=a(0xb129c1d5),M=a(0xe684f705),F=a(0x475c9cfe);let P=new o.Ay("channel_token"),userToText=(e,t)=>{let a=t.userId||t.user_id,n=(0,M.nv)(e,a);if((0,L.a)(e,a))return P.t("Hidden user");let r=(0,y.Gt)(n);return`@${r||a}`},U={[f.Lv.TEXT]:(e,t)=>t.text||"",[f.Lv.USER]:userToText,[f.Lv._CANVAS_USER_MENTION]:userToText,[f.Lv.CANVAS_USER_MENTION]:userToText,[f.Lv.USERGROUP]:(e,t)=>{let a=(0,F.lJ)(e,t.usergroup_id);if(!1===a)return(0,v.k)({userGroupHandle:"",isUnknown:!0,isNonExistent:!0});let n=(0,p.lv)(a);return(0,v.k)({userGroupHandle:n?"":a.handle??"",isUnknown:(0,p.mX)(a),isNonExistent:(0,p.lv)(a)})},[f.Lv.CHANNEL]:(e,t)=>{let a=(0,D.OL)(e,t.channel_id),n=(0,g.SB)(e,a,{publicChannelIncludeHashSign:!1,imIncludeAtSign:!1})??"",r=(0,p.mX)(a),i=(0,p.lv)(a),o=(0,h.Zp)(a),s=(0,A.bl)(a);return i||o&&!s?`#${P.t("private-channel")}`:(0,C.A)({channelName:n,isUnknown:r,isNonExistent:i})},[f.Lv.BROADCAST]:(e,t)=>`@${t.range}`,[f.Lv.DATE]:(e,t)=>!t.timestamp&&t.fallback?t.fallback:(0,T.Yq)(t.timestamp,t.format,{...t.fallback&&{fallbackString:t.fallback}}),[f.Lv.COLOR]:(e,t)=>t.value||"",[f.Lv.LINK]:(e,t,{linkFormat:a})=>{let{text:n="",url:r=""}=t;if(!n&&!r)return"";if(!n)return r;switch(a){case"default":return n;case"prefer_url":return r;case"bracket":return`[ ${n}: ${r} ]`;case"phrase":return`[ ${n} (${P.t("link")})]`;default:(0,i.Kh)(a)}},[f.Lv.EMOJI]:(e,t,{convertEmoji:a})=>{let n=(0,E.G)(t,{state:e,localize:!1}),r=(0,w.bR)({state:e,locale:(0,O.Yp)(),name:n});return"phrase"===a?(0,I.A)(r||"",{state:e})||"":"unicode"===a&&t?.unicode&&(0,b.d)(t.unicode)?(0,R.z)({codePointLikeString:t.unicode})||"":"unicode"!==a||t?.unicode?r??"":(0,x.A)(e,{messageText:n,teamId:(0,N.ZT)(e)})},[f.Lv.FILE]:(e,t)=>{let{label:a}=(0,c.P)(e,{fileId:t.file_id,fetchIfMissing:!1});return a},[f.Lv.CANVAS]:(e,t)=>{let{label:a}=(0,l.V)(e,{fileId:t.file_id,sectionId:t.section_id,fetchIfMissing:!1});return a},[f.Lv.LIST_RECORD]:(e,t)=>{let{label:a}=(0,d.Z)(e,{fileId:t.file_id,recordId:t.record_id,viewId:t.view_id});return a},[f.Lv.MESSAGE_MENTION]:(e,t,{convertUnknownSlugToUrl:a})=>{let{label:n,isDisabled:r}=(0,u.Q)(e,{channelId:t.channel_id,messageTs:t.message_ts,fetchIfMissing:!1});return a&&t.url&&r?t.url:n},[f.Lv.WORKFLOW_MENTION]:(e,t)=>{let{label:a}=(0,m.q)(e,{functionTriggerId:t.function_trigger_id,text:t.text||""});return a},[f.Lv._EMOJI_GROUP]:(e,t,{convertEmoji:a})=>{let n=(0,E.G)({...t,type:f.Lv.EMOJI},{state:e,localize:!1}),r=(0,w.bR)({state:e,locale:(0,O.Yp)(),name:n});if("phrase"===a)return(0,I.U)(r||"",t.size||0,{state:e})??"";let i=("unicode"===a?(0,x.A)(e,{messageText:n,teamId:(0,N.ZT)(e)}):r)??"";return P.t("{size} {emojiName} {size, plural, =1 {emoji} other {emojis}}",{emojiName:i,size:t.size})},[f.Lv.WORKFLOWTOKEN]:(e,t)=>{let a;return(Object.values(e.workflowBuilder.workflowEditor.workflowsById).find(e=>{let n=e.variables.list;return a=(0,s.x)(n,t.id)}),a)?`@${a.label}`:t.id}};function getUnorderedListCharacter({indent:e}){return(0,n.A)(e)&&e%3!=0?e%3==1?"\u25E6":e%3==2?"\u25A0":"\u2022":"\u2022"}function getOrderedListCharacter({indent:e,incr:t}){return(0,n.A)(e)&&e%3!=0?e%3==1?convertNumberToLetterIncrement(t):e%3==2?convertNumberToRomanNumeral(t):t:t}function maybeGroupEmojies(e){return(0,_.A)((0,r.A)(e))}function convertRichTextToPlainText(e,t,{convertEmoji:a="text",linkFormat:n="default",convertUnknownSlugToUrl:r=!1}={}){if(!t||!t.length)return"";let convertSection=t=>{if(!t||!t.elements)return"";let i=[];return t.elements.forEach(t=>{if(!t||!t.type)return;let o=U[t.type],s=o?.(e,t,{convertEmoji:a,linkFormat:n,convertUnknownSlugToUrl:r})??"";i.push(s)}),i.join("")},i=[];return maybeGroupEmojies(t[0].elements).forEach(e=>{if(e&&e.type)if((0,S.C)(e)){let t=e.offset||0,a=e.indent||0,n=1+t;e.elements.forEach(t=>{let r=convertSection(t);if("ordered"===e.style){let e=getOrderedListCharacter({indent:a,incr:n});i.push(`${e}. ${r}.`),n+=1}else{let e=getUnorderedListCharacter({indent:a});i.push(`${e} ${r}.`)}})}else i.push(convertSection(e))}),i.join(`
`)}},0x1bb04e660:(e,t,a)=>{"use strict";a.d(t,{G:()=>getEmojiElementAsText});var n=a(0xc4e87e00),r=a(0xf8862d23),i=a(0x1d06c44fe),o=a(0x223ac29bb),s=a(0x1e4ae349d);function getEmojiElementAsText(e,{state:t,localize:a}){if(!e||e.type!==n.Lv.EMOJI)return"";let l=e.skinTone||e.skin_tone,c=e.unicode,d="";return(!c&&l?d=`:${e.name}::skin-tone-${l}:`:l||c?c&&(0,r.d)(c)&&(d=`:${(0,s.qJ)(t,c)}:`):d=`:${e.name}:`,a)?(0,i.bR)({state:t,locale:(0,o.Yp)(),name:d})||"":d}},0x5a9acf69:(e,t,a)=>{"use strict";a.d(t,{A:()=>richTextBlocksMap});var n=a(0x108d007e0);function richTextBlocksMap(e,t){return e&&e.length?e.map(e=>{if(!e)return e;if((0,n.C)(e)){let a=e.elements.map(e=>t(e));return{...e,elements:a}}return t(e)}):e}},0x15ebe2ca0:(e,t,a)=>{"use strict";a.d(t,{N:()=>n});let n={BKeveryone:{ms_name:"everyone",cmd:"<!everyone>",is_broadcast_keyword:!0,is_enabled_by_default:!0},BKchannel:{ms_name:"channel",cmd:"<!channel>",is_broadcast_keyword:!0,is_enabled_by_default:!0},BKhere:{ms_name:"here",cmd:"<!here|@here>",is_broadcast_keyword:!0,is_enabled_by_default:!0},"BKsf:accountteam":{ms_name:"sf:accountteam",cmd:"<!sf:accountteam>",is_broadcast_keyword:!0,is_enabled_by_default:!1},"BKsf:dealteam":{ms_name:"sf:dealteam",cmd:"<!sf:dealteam>",is_broadcast_keyword:!0,is_enabled_by_default:!1},"BKassistant:einstein":{ms_name:"assistant:einstein",cmd:"<!assistant:einstein>",is_broadcast_keyword:!0,is_enabled_by_default:!1}}},0x5d26167d:(e,t,a)=>{"use strict";a.d(t,{A:()=>getBroadcastKeywordById});var n=a(0x15ebe2ca0);let r=new(a(0x20482ad21)).Ay("broadcast_keywords");function getBroadcastKeywordDescription(e,t=null,a=!1,n=!1){switch(e&&e.ms_name){case"channel":return r.t("Notify everyone in this channel.");case"everyone":return r.t("Notify everyone in your workspace.");case"here":return r.t("Notify every online member in this channel.");case"sf:accountteam":if(!t)return"";return a?r.t("Notify the Account Team for {recordName}.",{recordName:t}):`Notify the Account Team for ${t}.`;case"sf:dealteam":if(!t)return"";return a?r.t("Notify the Deal Team for {recordName}.",{recordName:t}):`Notify the Deal Team for ${t}.`;case"assistant:einstein":return n?r.t("Ask Einstein anything in Salesforce."):"";default:return""}}var i=a(0x1ae731f57);function isBroadcastKeywordsKey(e){return Object.keys(n.N).includes(e)}function getBroadcastKeywordById(e,t=null,a=!1,r=!1){let o;return("BKgroup"===e?o=n.N.BKchannel:isBroadcastKeywordsKey(e)&&(o=n.N[e]),o)?{id:e,name:(0,i.A)(o,a,r),description:getBroadcastKeywordDescription(o,t,a,r),...o}:null}},0x1ae731f57:(e,t,a)=>{"use strict";a.d(t,{A:()=>getBroadcastKeywordName});let n=new(a(0x20482ad21)).Ay("broadcast_keywords");function getBroadcastKeywordName(e,t=!1,a=!1){if(!e)return"";switch(e.ms_name){case"channel":return n.t("channel");case"everyone":return n.t("everyone");case"here":return n.t("here");case"assistant:einstein":return a?n.t("Einstein Copilot"):"Einstein Copilot";case"sf:accountteam":return t?n.t("account team"):"account team";case"sf:dealteam":return t?n.t("deal team"):"deal team";default:return e.ms_name||""}}},0x739d71af:(e,t,a)=>{"use strict";a.d(t,{c:()=>getMentionBroadcastKeywords});var n=a(0x15ebe2ca0);function getMentionBroadcastKeywords(){let e=Object.keys(n.N);return e.push("BKgroup"),e}},0x3c9eceea:(e,t,a)=>{"use strict";a.d(t,{S:()=>isBroadcastKeywordMsName});var n=a(0x15ebe2ca0);function isBroadcastKeywordMsName(e){return!!e&&Object.values(n.N).some(t=>t.ms_name===e)}},0x1c7cb6e50:(e,t,a)=>{"use strict";a.d(t,{A:()=>camelCaseKeys,t:()=>camelCaseKeysDeep});var n=a(0x220a941b7);function camelCaseKeys(e,t){return camelCaseKeyDeepPrivate(e,0,0,t)}function camelCaseKeysDeep(e,t,a){return camelCaseKeyDeepPrivate(e,0,t??5,a)}function camelCaseKeyDeepPrivate(e,t,a,r){return t>a||!e||"object"!=typeof e||e instanceof Date||e instanceof RegExp?e:Array.isArray(e)?e.map(e=>camelCaseKeyDeepPrivate(e,t+1,a,r)):Object.keys(e).reduce((i,o)=>(i[r?.[o]||(0,n.A)(o)]=camelCaseKeyDeepPrivate(e[o],t+1,a,r),i),{})}},0x8f58d804:(e,t,a)=>{"use strict";a.d(t,{A:()=>canViewOpenInMultiViewWindow});var n=a(0x1384f171),r=a(0x139aa1a7),i=a(0x1e3c7661),o=a(1927545e3),s=a(0x1fcf34926),l=a(0x145d46a61),c=a(0x70de3606),d=a(0x57d5a5b5),u=a(0x16ed1b0dc),m=a(0xe9443465),f=a(0x4f725d55),_=a(0x1529370e7),p=a(0x22722f0d0),h=a(0x54eb2d82),g=a(0x114c5f44f),A=a(0xb46fca98);function canViewOpenInMultiViewWindow(e,t){let a=(0,A.iT)(e),b=(0,l.Lh)(e),y=(0,n.Lh)(e);if(b&&(new Set([o.c.WorkflowBeingCreated]).has(t)||(0,m.A)(t)||(0,g.A)(t))||(0,c.Fh)(e)&&((0,d.pI)(t)||"record"===t||(0,d.or)(t)))return!0;let S=[r.D.Tasks,r.D.AssignedTasks,o.c.Todos];return!!((0,c.tl)(e)&&S.includes(t)||t===o.c.Composer||new Set([o.c.BrowseUnifiedFiles,r.D.BrowseUnifiedFiles,o.c.BrowseUnifiedFilesCanvases,r.D.BrowseUnifiedFilesCanvases,o.c.BrowseUnifiedFilesLists,r.D.BrowseUnifiedFilesLists,r.D.AssignedTasks,r.D.DeletedUnifiedFiles,r.D.List,i.i$]).has(t))||t===r.D.MeetingDetails||!!a&&t===o.c.BrowseHuddles||!!y&&t===r.D.ActivityInbox||t===r.D.WorkObject||(0,u.A)(t)||(0,_.Ay)(t)||(0,f.A)(t)||(0,p.V)(t)||(0,s.Wg)(t)||t===o.c.Activity||t===o.c.Later||"activity"===t||"thread"===t||"comment_thread"===t||"comment_stream"===t||"activity_history"===t||"quip_automations_overview"===t||"channel_canvas"===t||"ai_summary_details"===t||"help"===t||"help_article"===t||"help_category"===t||"whats_new"===t||"shortcuts"===t||"rimeto_profile"===t||"files"===t||"user_groups"===t||"app_popout"===t||"huddle_transcript_details"===t||"search_in_channel"===t||(0,p.V)(t)||"SalesLogActivity"===t||t===r.D.AgentHomeConversation||t===r.D.TimelineSources||"external_user_profile"===t||(0,h.U)(t)||t===r.D.TodayV2||t===r.D.TodayUnreads||t===r.D.TodayActionItems||t===r.D.TodayAgenda||t===r.D.AiMessageAnalysis||t===r.D.UserWithMetadataList}},0x1c8f352ff:(e,t,a)=>{"use strict";a.d(t,{Kx:()=>replaceSpecialCharacters,Mj:()=>replaceSpaces,Zo:()=>getErrorStringFromChannelNameErrors,_E:()=>isFriendlyChannelNamesEnabled,cv:()=>channelNameValidation,e3:()=>hasSpecialCharacters,gi:()=>d,zU:()=>getMaxLength});var n=a(0x20482ad21),r=a(0x3ed00af5),i=a(0x217553e42),o=a(0x14149c126),s=a(0xe684f705),l=a(0x475c9cfe);let c=new n.Ay("channel_modal"),d={hasNameRequiredWarning:!1,hasMaxLengthWarning:!1,hasSpecialsWarning:!1,hasPunctuationWarning:!1,hasNameTakenWarning:!1,hasUnknownWarning:!1,hasRestriction:!1};function getMaxLength(){return 80}let u=/[ .,;'`~!@#$%^&*+=)(\\/:"<>?|\u2018\u2019{}[\]]/;function hasSpecialCharacters(e){return!!e&&u.test(e.trim())}function replaceSpecialCharacters(e){return e?e.replace(RegExp(u,"g"),""):""}function replaceSpaces(e){return e?.replace(/\s/g,"-")??""}function channelNameValidation(e,t="",a=t,n=80,o=!1){let c=!t.trim(),d=(0,r.A)(t)>n,u=hasSpecialCharacters(t),m=/^[-|_]+$/.test(t),f=/[A-Z]/.test(t),_=!1;return t!==a&&e&&!o&&(_=!!((0,i.Os)(e,t)||(0,s.MV)(e,t)||(0,l.xw)(e,t))),{hasNameRequiredWarning:c,hasMaxLengthWarning:d,hasSpecialsWarning:u,hasPunctuationWarning:m,hasLowercaseWarning:f,hasNameTakenWarning:_}}function getErrorStringFromChannelNameErrors(e,t={}){let{maxChannelNameLength:a,workspaceName:n,experimentFriendlyChannelNamesGroupOn:r}=t;if(e){if(e.hasNameRequiredWarning)return c.t("Give your channel a name to continue. You can always change the name later.");if(e.hasMaxLengthWarning)return c.t("Channel names can\u2019t be longer than {maxLength} characters.",{maxLength:a,fallbackHash:"127ff0ed3a8e172f76150b0968fc50ca66bb01f0",fallbackHashNs:"ui_validation"});if(e.hasSpecialsWarning)return r?c.t("Channel names can\u2019t contain the punctuation you included."):c.t("Channel names can\u2019t contain spaces or punctuation. Use dashes to separate words.");if(e.hasPunctuationWarning)return c.t("Channel names can\u2019t contain spaces or punctuation. Use dashes to separate words.");if(e.hasNameTakenWarning)return n?c.t("That name is already taken by a channel, username, or user group in {workspaceName}.",{workspaceName:n,fallbackHash:"2be2d42952863ce22e9194e94d15cd3eea63bbcc",fallbackHashNs:"ui_validation"}):c.t("That name is already taken by a channel, username, or user group in this workspace.");if(e.hasRestriction)return c.t("Your organization\u2019s settings have changed and may limit who can create channels. Contact an Admin or channel Owner to add people.");if(e.hasUnknownWarning)return c.t("For some weird reason, that didn\u2019t work. Please try again to continue.")}}let isFriendlyChannelNamesEnabled=e=>"on"===(0,o._Z)(e,"friendly_channel_names")},0x1632f6a87:(e,t,a)=>{"use strict";a.d(t,{i1:()=>_,je:()=>getChannelSectionNameIfStatic,v2:()=>getChannelSectionNameWithState,yF:()=>getStarredSectionName});var n=a(0x20482ad21),r=a(0x50ff7328),i=a(0x1be9380c8),o=a(0x22efab6f7),s=a(0x1ecd6391a),l=a(0xa1832ae4),c=a(0x11c82607b),d=a(0x8f36a342),u=a(0x14149c126),m=a(0x1ee439e69);let f=new n.Ay("channel_sidebar"),_=(0,c.Ay)("Get channel section name",(e,t,{channelSection:a})=>getChannelSectionNameWithState(t(),a));function getChannelSectionNameWithState(e,t){if(!t)return"";let a="on"===(0,u._Z)(e,"adoption_instant_slack_invitee"),n=(0,i.pc)(e),c=getChannelSectionNameIfStatic(t);if(c)return c;switch(t.type){case d.VZ.DirectMessages:return(0,r.A)(e)&&a?f.t("Other Members"):f.t("Direct messages");case d.VZ.SalesforceRecords:return n?(0,o.XP)():(0,o.Dt)();case d.VZ.ExternalWorkspace:return(0,l.F1)((0,m._J)(e,(0,s.d)(t?.id)));case d.VZ.Standard:default:return t.name}}function getChannelSectionNameIfStatic(e){switch(e.type){case d.VZ.Channels:return f.t("Channels");case d.VZ.OrgChannels:return f.t("Organization channels");case d.VZ.RecentApps:return f.t("Apps");case d.VZ.Agents:return f.t("Agents");case d.VZ.SharedChannels:return f.t("Shared channels");case d.VZ.SlackConnect:return f.t("External connections",{fallbackHash:"1414032968e6344d2d3cd0ba2b96dca7cd6df78f"});case d.VZ.Stars:return getStarredSectionName();case d.VZ.Priority:return f.t("VIP unreads");case d.VZ.ExternalWorkspaces:return f.t("External workspaces");default:return null}}function getStarredSectionName(){return f.t("Starred")}_.meta={name:"getChannelSectionName",key:"createThunkGetChannelSectionName",description:"Get channel section name"}},0x175710aa8:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n="CHANNEL-SECTIONS"},0x17f12c25:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});let __WEBPACK_DEFAULT_EXPORT__=(e,t)=>e.x>=t.left&&e.x<t.left+t.width&&e.y>=t.top&&e.y<t.top+t.height},0x16a19677b:(e,t,a)=>{"use strict";a.d(t,{Av:()=>n,Cv:()=>s,Gi:()=>i,HA:()=>h,L:()=>p,SI:()=>_,hM:()=>r,il:()=>c,jL:()=>l,mU:()=>d,sr:()=>o});let n=400,r=380,i=28,o=28,s=.9,l=.8,c=28,d={[-3]:.7,[-2]:.8,[-1]:.9,0:1,1:1.1,2:1.25,3:1.5,4:1.75,5:2};var u,m,f,_=((u={}).Both="both",u.Primary="primary",u.Secondary="secondary",u),p=((m={}).Fullscreen="fullscreen",m.Horizontal="horizontal",m.Partial="partial",m.Vertical="vertical",m),h=((f={}).Regular="regular",f.Threads="threads",f)},0x178a174c1:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x17f12c25);let __WEBPACK_DEFAULT_EXPORT__=(e,t,a)=>e.find(e=>(0,n.A)(t,e))??a??e[0]},0x124dcf146:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(0x4f6e90b4),r=a(0x62a17882),i=a(0x1059ba41d),o=a(0x178a174c1),s=a(0x24558b75f);let l=(0,a(0x1cf0d97e1).Ay)(async e=>{let t=[{height:screen.height,left:0,top:0,width:screen.width}];if((0,i.g9M)())t=(await (0,i.zxd)()).map(e=>({height:e.workArea.height,left:e.workArea.x,top:e.workArea.y,width:e.workArea.width}));else if((0,s.n3)(e)&&"getScreenDetails"in window&&"function"==typeof window.getScreenDetails&&!(0,r.yz)())try{t=(await window.getScreenDetails()).screens.map(e=>({height:e.availHeight,left:e.availLeft,top:e.availTop,width:e.availWidth}))}catch{}let a=(0,o.A)(t,{x:window.screenX,y:window.screenY});return{displays:t,mainWindowDisplay:a}});l.meta={name:"getDisplays",key:"createSelectorGetDisplays",description:async e=>{let t=[{height:screen.height,left:0,top:0,width:screen.width}];if((0,i.g9M)())t=(await (0,i.zxd)()).map(e=>({height:e.workArea.height,left:e.workArea.x,top:e.workArea.y,width:e.workArea.width}));else if((0,s.n3)(e)&&"getScreenDetails"in window&&"function"==typeof window.getScreenDetails&&!(0,r.yz)())try{t=(await window.getScreenDetails()).screens.map(e=>({height:e.availHeight,left:e.availLeft,top:e.availTop,width:e.availWidth}))}catch{}let a=(0,o.A)(t,{x:window.screenX,y:window.screenY});return{displays:t,mainWindowDisplay:a}}},(0,n.ul)("getDisplays",l);let c=l},0x17bf87dc4:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(0xef503114),r=a(0x9b971e7e);let i="web-",o=RegExp(`^${i}`),s={},l={generateAndEnqueue:(e,t)=>{let a=(0,r.ZT)(e);if(!a)throw Error("generateAndEnqueue: missing teamId");s[a]||(s[a]=[]);let n=`${i}${Date.now()}`,o={...t,token:n};return s[a].unshift(o),s[a]=s[a].slice(0,10),n},check:(e,t)=>{let a=(0,r.ZT)(e);if(!a)throw Error("check: missing teamId");return s[a]||(s[a]=[]),s[a].find(e=>e.token===t)},getTimeDelta:e=>{let t=Date.now(),a=parseInt(e.replace(o,""),10);if((0,n.A)(a))throw Error("Invalid token");return{delta:t-a,nowTs:t,tokenTs:a}},list:e=>{let t=(0,r.ZT)(e);if(!t)throw Error("list: missing teamId");return s[t]||(s[t]=[]),s[t].slice()}}},0x1ed767a16:(e,t,a)=>{"use strict";let n;a.d(t,{FW:()=>writeTextFromEvent,LJ:()=>writeMimeTypes,Ur:()=>getFilesFromClipboardEvent,i_:()=>getClipboardTextWithMemberIDs,tD:()=>canWriteText,x3:()=>writeText});var r=a(0x1e33662b),i=a.n(r),o=a(0xca924ee1),s=a(0x20ef3966f),l=a(0x7d48dd65),c=a(0x1aba66b56),d=a(0xd6ba6894),u=a(0x62a17882),m=a(0x22480f425),f=a(0x1059ba41d),_=a(0x3711e82d),p=a(0x45012309),h=a(0x47830536),g=a(0x1ec68d6a3),A=a(0x1343db4c6),b=a(0x1308fe1af),y=a(0x2398accc);d.J?.document?.queryCommandSupported&&(0,h.x)(d.J.document.body,"click",()=>{n=d.J.document.queryCommandSupported("copy")});let S="clipboardTextarea",E=(0,g.getGenericLogger)(),k=(0,o.A)(()=>!!i().chrome&&i().version>=42||!!i().firefox&&i().version>=41||!!i().msie&&i().version>=9||!!i().opera&&i().version>=29||!!i().safari&&i().version>=10.1||!!i().msedge&&i().version>=88||!!n),T=(0,o.A)(()=>{let e=new w,t=new I;return e.canWriteText()?e:t}),I=class{currentRanges;selection;constructor(){this.currentRanges=[],this.selection=null}canWriteText(){return k()}writeText(e,t){let a=t?t?.document:d.J.document;if(!this.canWriteText())return E.warn("Cannot write string to clipboard"),!1;let n=a.createElement("textarea");n.id=S,n.appendChild(a.createTextNode(e)),a.body.appendChild(n);let r=this.writeNode(n,t);return a.body.removeChild(n),r}canWriteHTML(){return k()}writeHTML(e){if(!this.canWriteHTML())return E.warn("Cannot write html to clipboard"),!1;let t=d.J.document.createElement("p");t.innerHTML=e;let a=d.J.document.createElement("textarea");a.id=S,a.innerHTML=t.innerHTML,d.J.document.body.appendChild(a);let n=this.writeNode(a);return d.J.document.body.removeChild(a),n}writeNode(e,t){let a=t?t?.document:d.J.document,n=!1;if("input"!==e.type&&"textarea"!==e.type)return E.warn("Can only write input and textarea node's to clipboard"),!1;let r=a.activeElement;try{this.saveSelection();let n=t?t.getSelection():d.J.getSelection();n?.removeAllRanges(),e.select(),(0,m.A)()?a.execCommand("copy",!1,e.value):a.execCommand("copy")}catch(e){n=!0,E.warn(`Something bad happened when we tried to copy: ${e}`)}finally{this.restoreSelection(),r&&r.focus&&r.focus()}return!n}saveSelection(e){if(this.currentRanges=[],this.selection=e?e.getSelection():d.J.getSelection(),this.selection)for(let e=0,t=this.selection.rangeCount;e<t;e++)this.currentRanges.push(this.selection.getRangeAt(e))}restoreSelection(){if(this.selection){this.selection.removeAllRanges();for(let e=0,t=this.currentRanges.length;e<t;e++)this.selection.addRange(this.currentRanges[e])}}},w=class{canWriteText(){return(0,f.ExQ)()}writeText(e){return this.canWriteText()?e?((0,f.pSJ)(e),!0):(E.warn("Cannot copy empty string to clipboard"),!1):(E.warn("Cannot write string to clipboard"),!1)}canWriteHTML(){return!1}writeHTML(){return E.warn("We cannot write HTML in SSB"),!1}},canWriteText=()=>T().canWriteText(),writeText=(e,t)=>T().writeText(e||"",t),writeTextFromEvent=(e,t)=>{let a=Object.keys(t);if(0===a.length)return;let n=[],r=null;try{let r=(e.originalEvent||e).clipboardData||d.J.clipboardData;a.forEach(e=>{try{r.setData(e,t[e]);let a=r.getData(e);t[e]===a&&n.push(e)}catch(t){E.warn(`TS.clipboard.writeTextFromEvent: error copying to "${e}" (${t})`)}})}catch(e){r=e}(r||0!==n.length||(r="failed to write to clipboard"),r)?E.error(`clipboard.writeTextFromEvent: ${r}`):(0,p.eo)().track(_.EventId.CLIPBOARD_WRITE,{action:e.type,err:r,types:n.join(",")})},writeMimeTypes=(e,t)=>{let a=t||d.J;if(0===Object.keys(e).length)return;let listener=t=>{t.preventDefault(),writeTextFromEvent(t,e)};a.document.addEventListener("copy",listener),a.document.execCommand("copy"),a.document.removeEventListener("copy",listener)},getClipboardTextWithMemberIDs=e=>{if(!e)return{text:"",members:{}};let t=e.clipboardData?.getData("text/plain")?"text/plain":"Text",a=e.clipboardData?.getData(t)||"",n=e.clipboardData?.getData("slack/texty"),r=e.clipboardData?.getData("text/html");if(n){let e,t=a,r={};try{e=JSON.parse(n)}catch{return{text:t,members:r}}return e&&e.ops&&(t=e.ops.map(e=>{let t="",a=(0,A.A)(e);return(0,b.Ay)(e)?(0,b.zJ)(e)||(0,b.BQ)(e)?t=a:r[t=(0,b.I4)(e)]=a:(0,y.A)(e)&&(t=a),t}).join("")),{text:t,members:r}}return r?((e,t)=>{let a=/(?:data-stringify-id="([WUS][A-Z\d]{8,})"[^>]+)?data-stringify-label="(@?[^"]+)"(?:[^>]+data-stringify-id="([WUS][A-Z\d]{8,})")?/g,n=e,r=a.exec(t),i={};for(;null!==r;){r.index===a.lastIndex&&(a.lastIndex+=1);let e=r[1]||r[3],o=r[2];e&&o&&(n=n.replace(o,e),i[e]=o),r=a.exec(t)}if(!Object.keys(i).length){let e=/data-message-sender="([WUS][A-Z\d]{8,})"[^>]*>\s*([^<]+)/gm;for(r=e.exec(t);null!==r;){r.index===e.lastIndex&&(e.lastIndex+=1);let a=r[1],o=r[2];a&&o&&(n=n.replace(o,a),i[a]=o),r=e.exec(t)}}return{text:n,members:i}})(a,r):{text:a,members:{}}};Object.defineProperty({},"copyQueryCommandSupported",{get:()=>n,set(e){n=e}});let getFilesFromClipboardEvent=e=>{let t=(0,s.A)(e.clipboardData?.items,e=>e.type);return(0,l.A)(e.clipboardData?.files,e=>!(-1!==e.type.indexOf("image")&&((0,u.cX)()&&(0,c.A)(t,"text/plain")&&(0,c.A)(t,"text/html")&&(0,c.A)(t,"text/rtf")||(0,u.uF)()&&(0,c.A)(t,"text/plain")&&(0,c.A)(t,"text/html")&&(0,c.A)(t,"image/png")))&&!0)}},0x3711e82d:(e,t,a)=>{"use strict";a.r(t),a.d(t,{BlockKitElementType:()=>l.RJ,BlockType:()=>l._B,CanvasAction:()=>c.bS,CanvasCreateEntryPoint:()=>c.$W,CanvasCreateMethod:()=>c.qs,CanvasEventName:()=>c.GW,CanvasObject:()=>c.q$,CanvasOpenEntryPoint:()=>c.l9,ChannelPrivacyType:()=>c.Eb,ClientBuildType:()=>c.A0,ConnectionType:()=>c.Xt,CustomStatus:()=>c.mo,CustomStatusDuration:()=>c.CM,CustomStatusPreset:()=>c.Vf,CustomStatusSetOrigin:()=>c.q5,DesktopNotificationMethod:()=>c.Fy,DndPreset:()=>c.yP,DndSnoozeType:()=>c.FR,ElementType:()=>c.RJ,EventId:()=>c.y1,FileUploadAction:()=>c.s7,FileUploadSrc:()=>c.AV,FileUploadType:()=>c.K9,FollowAction:()=>c.WD,Interaction:()=>l.N3,InteractionElement:()=>l.xG,MessageReadLocation:()=>d.t,MetricSampleFilter:()=>c.PX,MetricStartType:()=>c.xp,MetricTargetType:()=>c.CC,MetricTrigger:()=>c.fi,MigrationEventSeverity:()=>c.IO,MsgFormattingInputContext:()=>c.mj,MsgFormattingInputFormat:()=>c.W8,MsgFormattingInputSource:()=>c.CR,Origin:()=>c.$e,PushDeliveryMethod:()=>c.kf,PushNotificationConversationType:()=>c.P9,PushType:()=>c.dQ,ServiceType:()=>c.C0,SurfaceType:()=>l.Og,TimingStatus:()=>c.Ln,UiAction:()=>c.lG,UiActionStatus:()=>c.ZD,UiComponent:()=>c.G7,UiComponentName:()=>u,UiComponentVariant:()=>m,UiElement:()=>c.HP,UiPage:()=>f,UiPropertiesDisplayName:()=>_,UiStep:()=>p,UnfollowAction:()=>c.zn,ViewExitEvent:()=>c.aW});var n,r,i,o,s,l=a(0xa8fdbf1),c=a(0xe11d0816),d=a(0x1e25165a6),u=((n={}).MPIM_ADD_PEOPLE_DIALOG="mpim_add_people_dialog",n.MPDM_ADD_PEOPLE_MODAL="mpdm_add_people_modal",n.NO_COMMON_EXTERNALLY_SHARED_CHANNEL_ERROR_MODAL="no_common_externally_shared_channel_error_modal",n.GOLDEN_GATE_SIDEBAR_CTA="golden_gate_sidebar_cta",n.PAID_BENEFITS_VIEW="paid_benefits_view",n.PAID_BENEFITS_VIEW_PNP="paid_benefits_view_pnp",n.PAID_BENEFITS_HEADER="paid_benefits_header",n.AUTO_CHARGE_FEATURE_TRIALS_PAID_BENEFITS_HEADER_REMINDER="auto_charge_feature_trials_paid_benefits_header_reminder",n.SIDEBAR_SIMPLIFICATION_COACHMARK="sidebar_simplification_coachmark",n.UNREADS_SIMPLIFICATION_COACHMARK="unreads_simplification_coachmark",n.TENURED_TEAMS_DISCOUNT_ONE_WEEK_LEFT_BANNER="tenured_teams_discount_one_week_left_banner",n.TENURED_TEAMS_DISCOUNT_ONE_DAY_LEFT_BANNER="tenured_teams_discount_one_day_left_banner",n.TENURED_TEAMS_DISCOUNT_AWARENESS_BANNER="tenured_teams_discount_awareness_banner",n.SHARED_CHANNELS_TRIAL_TWO_WEEK_REMINDER_BANNER="shared_channels_trial_two_week_reminder_banner",n.SHARED_CHANNELS_TRIAL_ONE_WEEK_REMINDER_BANNER="shared_channels_trial_one_week_reminder_banner",n.SHARED_CHANNELS_TRIAL_THREE_DAY_REMINDER_BANNER="shared_channels_trial_three_day_reminder_banner",n.SHARED_CHANNELS_TRIAL_TRIAL_END_BANNER="shared_channels_trial_trial_end_banner",n.LOCAL_DISCOUNT_AWARENESS_BANNER="local_discount_awareness_banner",n.JUST_REACHED_MSG_LIMIT_BANNER="just_reached_msg_limit_banner",n.TRIAL_ONE_WEEK_REMINDER_BANNER="trial_one_week_reminder_banner",n.TRIAL_THREE_DAY_REMINDER_BANNER="trial_three_day_reminder_banner",n.EDUCATION_DISCOUNT_PROMO_BANNER="education_discount_promo_banner",n.JAPAN_BETA_SEND_BTN_BANNER="japan_beta_send_btn_banner",n.APPROACHING_MSG_LIMIT_BANNER="approaching_msg_limit_banner",n.SHARED_CHANNEL_TRIAL_BANNER="shared_channel_trial_banner",n.UNFURLED_JOINERS_CONTEXTUAL_BANNER="unfurled_joiners_contextual_banner",n.LIMITED_HISTORY_BANNER="limited_history_banner",n.LIMITED_HISTORY_TRIAL_MDPM_VIDEO_BANNER="limited_history_trial_mpdm_video_banner",n.LIMITED_HISTORY_TRIAL_CHANNEL_VIDEO_BANNER="limited_history_trial_channel_video_banner",n.LIMITED_HISTORY_SEARCH_VIDEO_TIP="limited_history_search_video_tip",n.EXTERNAL_MEMBER_AWARENESS_BANNER="external_member_awareness_banner",n.EXTERNAL_MEMBERS_SPEED_BUMP="external_members_speed_bump",n.REPACKAGING_ANNOUNCEMENT_BANNER="repackaging_announcement_banner",n.GUIDED_TRIAL_SHARED_CHANNEL_BANNER="guided_trial_shared_channel_banner",n.NO_RECENT_MSGS_DIVIDER="no_recent_msgs_divider",n.WORK_OBJECT_MSG_UNFURL_MENU="work_object_msg_unfurl_menu",n.WORK_OBJECT_MSG_UNFURL="work_object_msg_unfurl",n.WORK_OBJECT_FLEXPANE_MENU="work_object_flexpane_menu",n.WORK_OBJECT_FLEXPANE="work_object_flexpane",n.WORK_OBJECT_FILE_PREVIEW_CONTAINER="work_object_file_preview_container",n.WORK_OBJECT_FILE_VIEWER="work_object_file_viewer",n.WORK_OBJECT_FILE_PREVIEW_WO_FLEXPANE="work_object_file_preview_wo_flexpane",n.WORK_OBJECT_FILE_VIEWER_THREADS_VIEWER="work_object_file_viewer_threads_viewer",n.WORK_OBJECT_FILE_DOWNLOAD_CONTEXT="work_object_file_download_context",n.WORK_OBJECT_REFERENCE_UNFURL="work_object_reference_unfurl",n.WORK_OBJECT_REFERENCE_UNFURL_MENU="work_object_reference_unfurl_menu",n.WORK_OBJECT_UNFURL_ASK_SLACKBOT="work_object_unfurl_ask_slackbot",n.WORK_OBJECT_UNFURL_ASK_SLACKBOT_BUTTON="work_object_unfurl_ask_slackbot_button",n.WORK_OBJECT_CLICK_PREFERENCE_MENU="work_object_click_preference_menu",n.EMAIL_ATTACHMENT_GALLERY="email_attachment_gallery",n.EXTERNAL_MEMBERS_HEADER_MEGAPHONE_BANNER_MEMBERSHIP_INCREASED="external_members_header_megaphone_banner_membership_increased",n.SLACK_CONNECT_MESSAGE_PANE_BANNER="slack_connect_message_pane_banner",n.LIMITED_HISTORY_ALERT="limited_history_alert",n.LEARN_MORE_PAGE_STANDARD="plans_pro_page",n.LEARN_MORE_PAGE_PLUS="plans_plus_page",n.LEARN_MORE_HERO_BANNER="header",n.LEARN_MORE_STICKY_HEADER="sticky_header",n.LEARN_MORE_FEATURES="feature_overview",n.LEARN_MORE_FAQ="frequently_asked_questions",n.LEARN_MORE_SECURITY="value_security",n.LEARN_MORE_ALSO_INCLUDED="feature_pro_highlight",n.LEARN_MORE_COMPLIANCE="value_control",n.LEARN_MORE_VALUE_DHQ="value_dhq",n.LEARN_MORE_VALUE_SLACK_CONNECT="value_slack_connect",n.SLACK_AI_DEPRECATION_BANNER="slack_ai_deprecation_banner",n.PRICING_PLANS_PAGE="pricing_plans_page",n.PNP_SLACK_AI_PLANS_PAGE_INFORMATION_BANNER="pnp_slack_ai_plans_page_information_banner",n.PLAN_INFO_BANNER="plan_info_banner",n.TRIAL_BANNER="trial_banner",n.CREDIT_BANNER_BASIC="credit_banner_basic",n.CREDIT_BANNER_ADVANCED="credit_banner_advanced",n.SMALL_FEATURES_TABLE="small_features_table",n.ALL_FEATURES="all_features",n.CURRENCY_BANNER="currency_banner",n.ENTERPRISE_SECURITY="enterprise_security",n.HAPPY_CUSTOMERS="happy_customers",n.FAIR_BILLING="fair_billing",n.SLACK_FOR_GOOD="slack_for_good",n.FREQUENTLY_ASKED_QUESTIONS_SECTION="frequently_asked_questions_section",n.BACK_TO_TOP="back_to_top",n.CONTACT_US="contact_us",n.LOCAL_PROMO_NOTICE="local_promo_notice",n.DISCOUNT_PROMO_HEADER="discount_promo_header",n.ZENDESK_WIDGET="zendesk_widget",n.PLANS_TABLE_STICKY_HEADER="plans_table_sticky_header",n.PLANS_TABLE_FOOTER="plans_table_footer",n.SLACK_AI_ENTERPRISE="slack_ai_enterprise",n.SLACK_AI_BANNER="slack_ai_banner",n.SLACK_AI_TOGGLE="slack_ai_toggle",n.SLACK_AI_MODAL="slack_ai_modal",n.PLANS_PAGE_SLACK_AI_DISCOUNT_HERO_BANNER="plans_page_slack_ai_discount_hero_banner",n.TRIAL_EXPIRATION_MODAL="trial_expiration_modal",n.TRIAL_EXPIRATION_DISCOUNT_END_MODAL="trial_expiration_discount_end_modal",n.TRIAL_END_PROMO_OFFER_MODAL="trial_end_promo_offer_modal",n.TRIAL_OFFER_MODAL="trial_offer_modal",n.TRIAL_AWARENESS_MODAL="trial_awareness_modal",n.TRIAL_START_SHOWCASE_ALL_FEATURES_MODAL="trial_start_showcase_all_features_modal",n.FREE_TEAMS_SHOWCASE_ALL_FEATURES_MODAL="free_teams_showcase_all_features_modal",n.TRIAL_OPT_OUT_MODAL="trial_opt_out_modal",n.TRIAL_EXTENSION_NEW_YEAR_MODAL="trial_extension_new_year_modal",n.TRIAL_WELCOME_TO_PRO_MODAL="trial_welcome_to_pro_modal",n.TRIAL_MESSAGE_LIMIT_SEARCH_HEADER="trial_message_limit_search_header",n.PAID_FEATURE_BADGE="paid_feature_badge",n.PAID_FEATURE_INVITE_MEMBER_BANNER="paid_feature_invite_member_banner",n.PAID_FEATURE_INVITE_GUEST_BANNER="paid_feature_invite_guest_banner",n.TRIAL_SEARCH_MESSAGE_LIMIT_HEADER="trial_search_message_limit_header",n.TRIAL_SEARCH_MESSAGE_LIMIT_HEADER_v2="trial_search_message_limit_header_v2",n.TRIAL_SEVEN_DAYS_LEFT_MODAL="trial_seven_days_left_modal",n.TRIAL_LAST_DAY_VHQ_MODAL="trial_last_day_vhq_modal",n.TRIAL_PRO_BADGE="trial_pro_badge",n.START_TRIAL_MODAL_SPEEDBUMP="start_trial_modal_speedbump",n.HUDDLE_INVITE_MODAL_FREE_BANNER="huddle_invite_modal_free_banner",n.HUDDLE_INVITE_MODAL_TRIAL_BANNER="huddle_invite_modal_trial_banner",n.TRIAL_AWARENESS_SIDEBAR_MENU_HEADER="trial_awareness_sidebar_menu_header",n.LIMITED_HISTORY_TRIAL_OFFER_BANNER="limited_history_trial_offer_banner",n.LIMITED_HISTORY_FLOATING_TRIAL_OFFER_BANNER="limited_history_floating_trial_offer_banner",n.LIMITED_HISTORY_TRIAL_BANNER="limited_history_trial_banner",n.LIMITED_HISTORY_SEARCH_TRIAL_OFFER_BANNER="limited_history_search_trial_offer_banner",n.LIMITED_HISTORY_SEARCH_TRIAL_OFFER_BANNER_V2="limited_history_search_trial_offer_banner_v2",n.LIMITED_HISTORY_COUNTDOWN="limited_history_countdown",n.LIMITED_HISTORY_COUNTER="limited_history_counter",n.DISCOUNT_SEAT_PROMO_REMINDER_COACHMARK="discount_seat_promo_reminder_coachmark",n.INVITE_MODAL_DISCOUNT_SEATS_PROMO_HEADER="invite_modal_discount_seats_promo_header",n.DISCOUNT_SEAT_PROMO_PROGRESS_COACHMARK="discount_seat_promo_progress_coachmark",n.COMMENTS_STREAM="comments_stream",n.DISCOUNT_SEAT_PROMO_OMNISWITCHER_BANNER="discount_seat_promo_omniswitcher_banner",n.SLACK_AI_OFFER_BANNER="slack_ai_offer_banner",n.SLACK_AI_SMALL_OFFER_BANNER="slack_ai_small_offer_banner",n.BLADE_AI_AGENTS="blade_ai_agents",n.PAGE_TEMPLATE="page_template",n.INC_HEADER_NAV="inc_header_nav",n.INC_HEADER_NAV_DEUX="inc_header_nav_deux",n.INC_FOOTER_NAV="inc_footer_nav",n.INC_MOBILE_NAV="inc_mobile_nav",n.INC_WORKSPACE_NAV="inc_workspace_nav",n.INC_CTA_SIGNUP="inc_cta_signup",n.INC_CTA_CREATE="inc_cta_create",n.INC_CTA_FOOTER="inc_cta_footer",n.INC_SKIP_LINK="inc_skip_link",n.INC_PANEL="inc_panel",n.INC_CARD="inc_card",n.INC_COOKIE_BANNER="inc_cookie_banner",n.INC_ANNOUNCEMENT_BANNER="inc_announcement_banner",n.TESTIMONIAL="testimonial",n.INC_ABOUT_NAVIGATION="inc_about_navigation",n.INC_FS_YOUTUBE_PLAYER="inc_fs_youtube_player",n.INC_VIDEO_FOUR="inc_video_four",n.INC_ATTRIBUTION="inc_attribution",n.INC_PICKER_HERO="inc_picker_hero",n.INC_CONTENT_SWITCHER="inc_content_switcher",n.INC_FEATURE_TILE="inc_feature_tile",n.INC_CARD_CUSTOMER="inc_card_customer",n.INC_CARD_SLACKTIPS="inc_card_slacktips",n.INC_ENTRY_CARD="inc_entry_card",n.SPEC_NAV="spec_nav",n.SPEC_CTA_CFP="spec_cta_cfp",n.SPEC_CTA_TRY_SLACK="spec_cta_try_slack",n.SPEC_FOOTER="spec_footer",n.SPEC_SKIP_LINK="spec_skip_link",n.CHANNEL_BROWSER="channel_browser",n.CHANNEL_OPTIONS_DIALOG="channel_options_dialog",n.GLOBAL_NAV="global_nav",n.CHANNEL_HEADER="channel_header",n.SIDEBAR="sidebar",n.MSGPANE="msgpane",n.QUICKSWITCH="quickswitch",n.APP_ICON="app_icon",n.SIDEBAR_ENTITY="sidebar_entity",n.SIDEBAR_ENTITY_SECTION_SELECTOR="sidebar_entity_section_selector",n.HC_LOCALE_BANNER="hc_locale_banner",n.HC_PURPLE_BANNER="hc_purple_banner",n.HC_LOCALE_PICKER="hc_locale_picker",n.HC_HEADER_NAV="hc_header_nav",n.HC_FOOTER_NAV="hc_footer_nav",n.HC_MOBILE_NAV="hc_mobile_nav",n.HC_HOME_HERO="hc_home_hero",n.HC_SEARCH_RESULTS_HEADER="hc_search_results_header",n.HC_SEARCH_RESULTS="hc_search_results",n.HC_SEARCH_AUTOCOMPLETE="hc_search_autocomplete",n.HC_SEARCH_QUICKLINKS="hc_search_quicklinks",n.HC_PRIMARY_CARD="hc_primary_card",n.HC_SECONDARY_CARD="hc_secondary_card",n.HC_FEATURED_ARTICLES="hc_featured_articles",n.HC_RELATED_ARTICLES="hc_related_articles",n.HC_RECENT_ARTICLES="hc_recent_articles",n.HC_SECTION_LIST="hc_section_list",n.HC_SECTION_TREE="hc_section_tree",n.HC_BREADCRUMB="hc_breadcrumb",n.HC_GLOBAL_NAV="hc_global_nav",n.HC_PERSONAL_BANNER="hc_personal_banner",n.HC_FEEDBACK_FORM="hc_feedback_form",n.HC_STATUS_SITE_BANNER="hc_status_site_banner",n.HC_CONTACT_US_HERO="hc_contact_us_hero",n.ACCORDION_EXPANSION="accordion_expansion",n.BLOG_NAV_TOP="blog_nav_top",n.BLOG_NAV_FOOTER="blog_nav_footer",n.BLOG_ASIDE="blog_aside",n.BLOG_CARD_JUMBO="blog_card_jumbo",n.BLOG_CARD_SPOTLIGHT="blog_card_spotlight",n.BLOG_CARD_SUMMARY="blog_card_summary",n.BLOG_MOST_READ="blog_most_read",n.BLOG_COLLAGE_TILE="blog_collage_tile",n.BLOG_SIGNUP_FOOTER="blog_signup_footer",n.BLOG_POST_TAG_LIST="blog_post_tag_list",n.BLOG_KEEP_READING="blog_keep_reading",n.BLOG_PAGINATION="blog_pagination",n.BLOG_POST_META_SHARE="blog_post_meta_share",n.BLOG_POST_AD="blog_post_ad",n.BLOG_HERO="blog_hero",n.BLOG_SECTION_TITLE="blog_section_title",n.STATE_OF_WORK_AD="state_of_work_ad",n.RESOURCES_ARTICLE_TOC="resources_article_toc",n.RESOURCES_ARTICLE_CTA="resources_article_cta",n.RESOURCES_FEEDBACK_FORM="resources_feedback_form",n.WEBINARS_FEEDBACK_FORM="webinars_feedback_form",n.TIPS_FEEDBACK_FORM="tips_feedback_form",n.SLACK_TIPS_STRIP="slack_tips_strip",n.ENTRY_POST="entry_post",n.FRONTIERS_SIGNUP_FOOTER="frontiers_signup_footer",n.FRONTIERS_NAVIGATION="frontiers_navigation",n.FRONTIERS_FOOTER="frontiers_footer",n.FRONTIERS_PRICING_MODULE="frontiers_pricing_module",n.FRONTIERS_HERO="frontiers_hero",n.PUI_GUI_HEADER="ui_generator_header",n.PUI_GUI_UI="ui_generator_ui",n.PUI_GUI_SIDEBAR="ui_generator_sidebar",n.PUI_GUI_TOOLBAR="ui_generator_toolbar",n.PUI_GUI_PAGINATION="ui_generator_pagination",n.PUI_GUI_MODAL="ui_generator_modal",n.PUI_GUI_VIDEO="ui_generator_video",n.TABLE="table",n.FILTER="filter",n.DIALOG="dialog",n.MENU="menu",n.SEARCH_INPUT="search_input",n.ALERT="alert",n.FILE_PREVIEW="file_preview",n.FILE="file",n.REMOTE_FILE="remote_file",n.TOAST="toast",n.GUEST_SINGLE="guest_single",n.GUEST_MULTI="guest_multi",n.PRICING_CALCULATOR="pricing_calculator",n.INTERACTIVE_PRICING_CALCULATOR="interactive_pricing_calculator",n.PAYMENT_METHOD_SELECTOR="payment_method_selector",n.INVOICE_DETAILS_INPUT="invoice_details_input",n.CHECKOUT_HEADER="checkout_header",n.ADDRESS_FORM="address_form",n.CREDIT_CARD_FORM="credit_card_form",n.PAYMENT_ELEMENT_FORM="payment_element_form",n.PRICING_FORM="pricing_form",n.CHECKOUT_BODY_BANNER="checkout_body_banner",n.CHECKOUT_REVIEW="checkout_review",n.CHECKOUT_PLAN_HIGHLIGHTS="checkout_plan_highlights",n.PRICING_CALCULATOR_AI_SECTION="pricing_calculator_ai_section",n.CHECKOUT_RESCUE_BANNER="checkout_rescue_banner",n.PROMO_HEADER_LOCK_IN_PROMO="promo_header_lockin_promo",n.PRO_LOCKIN_CLIENT_FOOTER_BANNER="pro_lockin_client_footer_banner",n.PRO_LOCKIN_TEAM_MENU="pro_lockin_team_menu",n.FILE_STORAGE_WARNING="file_storage_warning",n.HIDDEN_MESSAGES_BANNER="hidden_messages_banner",n.FILE_LIMIT_ERROR_MODAL="file_limit_error_modal",n.MESSAGE_LIMIT_ERROR_MODAL="message_limit_error_modal",n.BLOCK_KIT_BUTTON="block_kit_button",n.BLOCK_KIT_CHANNELS_SELECT="block_kit_channels_select",n.BLOCK_KIT_USERS_SELECT="block_kit_users_select",n.BLOCK_KIT_CONVERSATIONS_SELECT="block_kit_conversations_select",n.BLOCK_KIT_EXTERNAL_SELECT="block_kit_external_select",n.BLOCK_KIT_DATEPICKER="block_kit_datepicker",n.BLOCK_KIT_OVERFLOW="block_kit_overflow",n.BLOCK_KIT_STATIC_SELECT="block_kit_static_select",n.BLOCK_KIT_CHECKBOXES="block_kit_checkboxes",n.BLOCK_KIT_RADIO_BUTTONS="block_kit_radio_buttons",n.BLOCK_KIT_MULTI_CHANNELS_SELECT="block_kit_multi_channels_select",n.BLOCK_KIT_MULTI_USERS_SELECT="block_kit_multi_users_select",n.BLOCK_KIT_MULTI_CONVERSATIONS_SELECT="block_kit_multi_conversations_select",n.BLOCK_KIT_MULTI_EXTERNAL_SELECT="block_kit_multi_external_select",n.BLOCK_KIT_MULTI_STATIC_SELECT="block_kit_multi_static_select",n.BLOCK_KIT_PLAIN_TEXT_INPUT="block_kit_plain_text_input",n.BLOCK_KIT_TIMEPICKER="block_kit_timepicker",n.DUNNING_DAY_1_BANNER="dunning_day_1_banner",n.DUNNING_DAY_3_OWNER_CARDHOLDER_BANNER="dunning_day_3_owner_cardholder_banner",n.DUNNING_DAY_3_ADMIN_BILLING_CONTACTS_BANNER="dunning_day_3_admin_billing_contacts_banner",n.DUNNING_DAY_7_OWNER_CARDHOLDER_BANNER="dunning_day_7_owner_cardholder_banner",n.DUNNING_DAY_7_ADMIN_BILLING_CONTACTS_BANNER="dunning_day_7_admin_billing_contacts_banner",n.DUNNING_DAY_14_OWNER_CARDHOLDER_BANNER="dunning_day_14_owner_cardholder_banner",n.DUNNING_DAY_14_ADMIN_BILLING_CONTACTS_BANNER="dunning_day_14_admin_billing_contacts_banner",n.DUNNING_DAY_21_BILLING_STAKEHOLDERS_BANNER="dunning_day_21_billing_stakeholders_banner",n.DUNNING_DAY_21_ALL_USERS_BANNER="dunning_day_21_all_users_banner",n.CSP_DOWNGRADE_PLAN_EXPIRING_WARNING_BANNER="csp_downgrade_plan_expiring_warning_banner",n.CSP_DOWNGRADE_PLAN_EXPIRING_WARNING_BANNER_NON_DISMISSABLE="csp_downgrade_plan_expiring_warning_banner_non_dismissable",n.ACL_FIXER="acl_fixer",n.CHANNEL_ACTION="channel_action",n.APP_LAUNCHER_BANNER="app_launcher_banner",n.OPT_MODAL="opt_modal",n.OPT_WORKSPACE_LAUNCHER="opt_workspace_launcher",n.WORKFLOWS="workflows",n.WORKFLOW_QUESTION_EDITOR="workflow_question_editor",n.WORKFLOW_ACTIONS="workflow_actions",n.DOWNLOAD_RESPONSES_MODAL="download_responses_modal",n.WORKFLOW_PREVIEW="workflow_preview",n.WORKFLOW_HOVER_CARD="workflow_hover_card",n.WORKFLOW_DETAILS_MODAL="workflow_details_modal",n.WORKFLOW_UNFURL="workflow_unfurl",n.WORKFLOW_SPEEDBUMP="workflow_speedbump",n.WORKFLOW_SHARE_DIALOG="workflow_share_dialog",n.WORKFLOW_ADD_TO_CHANNEL_MODAL="workflow_add_to_channel_modal",n.WORKFLOW_UNSUPPORTED_PARAMETER="workflow_unsupported_parameter",n.WORKFLOW_AI_BUILDER="workflow_ai_builder",n.WORKFLOW_AI_PROMPT_SUGGESTIONS="workflow_ai_prompt_suggestions",n.WORKFLOW_AI_RESULT_PREVIEW="workflow_ai_result_preview",n.WORKFLOW_AI_RESULT_ERROR="workflow_ai_result_error",n.WORKFLOW_AI_ANSWER_FEEDBACK="workflow_ai_answer_feedback",n.WORKFLOWS_TAB_PEEK="workflows_tab_peek",n.WORKFLOW_TRIAL_AWARENESS_BANNER="workflows_trial_awareness_banner",n.HERMES_WORKFLOWS_DROPDOWN_MENTION_SUPPORT_BADGE="hermes_workflows_dropdown_mention_support_badge",n.HERMES_WORKFLOWS_LEGACY_WORKFLOWS_SHUTDOWN_BANNER="hermes_workflows_legacy_workflows_shutdown_banner",n.HERMES_WORKFLOWS_LEGACY_WORKFLOWS_SHUTDOWN_ADMIN_CLIENT_BANNER="hermes_workflows_legacy_workflows_shutdown_admin_client_banner",n.HERMES_WORKFLOWS_OPTION_ITEM_MENTION_TIP="hermes_workflows_option_item_mention_tip",n.HERMES_WORKFLOWS_CONDITIONAL_BRANCHING_ROLLBACK_BANNER="hermes_workflows_conditional_branching_rollback_banner",n.CHANNEL_SECTIONS_MODAL="channel_sections_modal",n.HUDDLES_SHOUTY_ROOSTER_DIALOG="huddles_shouty_rooster_dialog",n.HUDDLES_CONFIRMATION_DIALOG="huddles_confirmation_dialog",n.HUDDLES_FOOTER="huddles_footer",n.HUDDLES_HEADER="huddles_header",n.HUDDLES_INVITE="huddles_invite",n.HUDDLES_INVITE_CONFIRMATION_DIALOG="huddles_invite_confirmation_dialog",n.HUDDLES_INVITE_WINDOW="huddles_invite_window",n.HUDDLES_PREVIEW_V2="huddles_preview_v2",n.HUDDLES_MIC_SETTINGS_MENU="huddles_mic_settings_menu",n.HUDDLES_SPEAKER_SETTINGS_MENU="huddles_speaker_settings_menu",n.HUDDLES_CAMERA_SETTINGS_MENU="huddles_camera_settings_menu",n.HUDDLES_POPOVER="huddles_popover",n.HUDDLES_INVITE_MODAL="huddles_invite_modal",n.HUDDLES_TOPIC_DIALOG="huddles_topic_dialog",n.HUDDLES_NOTIFICATION="huddles_notification",n.HUDDLES_SIDEBAR="huddles_sidebar",n.HUDDLES_BANNER="huddles_banner",n.HUDDLES_MIC_ALERT="huddle_mic_alert",n.HUDDLES_UNSUPPORTED_ALERRT="huddles_unsupported_alert",n.HUDDLES_MINI_PANEL="huddles_mini_panel",n.HUDDLES_ALONE_WARNING_COACHMARK="huddles_alone_warning_coachmark",n.HUDDLES_DISCOVERY_CALLS_CALL_BLOCK="huddles_discovery_calls_call_block",n.HUDDLES_TRIAL_JOIN="huddles_trial_join",n.HUDDLES_IN_THREAD_SPEEDBUMP="huddles_in_thread_speedbump",n.HUDDLES_JOIN_SPEEDBUMP_MODAL="huddles_join_speedbump_modal",n.HUDDLES_JOIN_MULTI_DEVICE_MODAL="huddles_join_multi_device_modal",n.HUDDLES_KTE_REQUEST_MODAL="huddles_kte_request_modal",n.HUDDLES_JOIN_PREVIEW_MODAL="huddles_join_preview_modal",n.HUDDLES_TRIAL_AWARENESS_BANNER="huddles_trial_awareness_banner",n.SLACK_CONNECT_TRIAL_AWARENESS_BANNER="slack_connect_trial_awareness_banner",n.APPS_TRIAL_AWARENESS_BANNER="apps_trial_awareness_banner",n.HUDDLES_PAGE_SIDEBAR_LINK="huddles_page_sidebar_link",n.TEMPLATES_TRIAL_AWARENESS_BANNER="templates_trial_awareness_banner",n.CALENDAR_NUX_NEW_BADGE="calendar_nux_new_badge",n.CALENDAR_NUX_BANNER="calendar_nux_banner",n.HUDDLES_LINKS_NUX_CARD="huddles_links_nux_card",n.QUIP_MAIN_EMBED="quip_main_embed",n.QUIP_FLEXPANE_EMBED="quip_flexpane_embed",n.QUIP_TILE_EMBED="quip_tile_embed",n.QUIP_NEW_WINDOW_EMBED="quip_new_window",n.QUIP_FILE_BROWSER_LIST="quip_file_browser_list",n.QUIP_PERMISSIONS_REQUEST_SLACKBOT="quip_permissions_request_slackbot",n.QUIP_PERMISSIONS_REQUEST_MODAL="quip_permissions_request_modal",n.QUIP_PERMISSIONS_REVOKE="quip_permissions_revoke",n.QUIP_PERMISSIONS_ACCESS_SELECT="quip_permissions_access_select",n.QUIP_SHARE_DIALOG="quip_share_dialog",n.QUIP_SHARE_DIALOG_SPEEDBUMP="quip_share_dialog_speedbump",n.QUIP_UNFURL_EPHEMERAL="quip_unfurl_ephemeral",n.QUIP_UNFURL_MESSAGE="quip_unfurl_message",n.QUIP_UNFURL_EMPTY="quip_unfurl_empty",n.QUIP_UNFURL_PUBLIC_LINK="quip_unfurl_public_link",n.QUIP_UNFURL_GENERIC="quip_unfurl_generic",n.QUIP_UNFURL_USER_PROFILE="quip_unfurl_user_profile",n.QUIP_UNFURL_FILE="quip_unfurl_file",n.QUIP_UNFURL_CANVAS="quip_unfurl_canvas",n.QUIP_ACTIVITY_HISTORY_RESTORE_MODAL="quip_activity_history_restore_modal",n.QUIP_ACTIVITY_HISTORY_FLEX_PANE="quip_activity_history_flexpane",n.QUIP_HARD_DELETED_CHANNEL_CANVAS="quip_soft_deleted_channel_canvas",n.QUIP_PERMISSIONS_CONFIRMATION_SPEEDBUMP="quip_permissions_confirmation_speedbump",n.QUIP_SYSTEM_MESSAGE="quip_system_message",n.QUIP_UNFURL_PRIVATE_MESSAGE_SPEEDBUMP="quip_unfurl_private_message_speedbump",n.QUIP_UNFURL_WORKFLOW_PLACEHOLDER="quip_unfurl_workflow_placeholder",n.QUIP_EMBED_SHARE_DIALOG="quip_embed_share_dialog",n.CANVAS_VARIABLES_TAB="canvas_variables_tab",n.CANVAS_WORKFLOWS_TAB="canvas_workflows_tab",n.CANVAS_WORKFLOW_CREATE_MODAL="canvas_workflow_create_modal",n.CANVAS_EDIT_VARIABLES_MODAL="canvas_edit_variables_modal",n.CANVAS_NEW_EDITS_PILL="canvas_new_edits_pill",n.CANVAS_NEW_EDITS_HIGHLIGHTS="canvas_new_edits_highlights",n.UNIFIED_FILES_BROWSER="unified_files_browser",n.WINDOWED_UNIFIED_FILES_BROWSER="windowed_unified_files_browser",n.UNIFIED_FILE_PICKER_MODAL_SIDEBAR="unified_file_picker_modal_sidebar",n.APP_SETTINGS_APP_SELECT="app_settings_app_select",n.APP_SETTINGS_CREDENTIALS_SECTION="app_settings_credentials_section",n.APP_SETTINGS_DISTRIBUTE_CHECKLIST_SECTION="app_settings_distribute_checklist_section",n.APP_SETTINGS_DISTRIBUTE_TOOLS_SECTION="app_settings_distribute_tools_section",n.APP_SETTINGS_PRIVATE_DISTRIBUTION_SECTION="app_settings_private_distribution_section",n.APP_SETTINGS_HEADER="app_settings_header",n.APP_SETTINGS_INSTALLATION_COUNT_SECTION="app_settings_installation_count_section",n.APP_SETTINGS_NAV="app_settings_nav",n.APP_SETTINGS_SECURITY_COMPLIANCE_SECTION="app_settings_security_compliance_section",n.APP_SETTINGS_SUBMISSION_CHECKLIST_SECTION="app_settings_submission_checklist_section",n.APP_SETTINGS_SUBMISSION_PROGRESS_SECTION="app_settings_submission_progress_section",n.APP_SETTINGS_SUBMISSION_UNDISTRIBUTED_SECTION="app_settings_submission_undistributed_section",n.APP_SETTINGS_SUBMISSION_MODAL="app_settings_submission_modal",n.APP_SETTINGS_SUBMITTED_SECTION="app_settings_submitted_section",n.APP_SETTINGS_UNDISTRIBUTE_SECTION="app_settings_undistribute_section",n.APP_SETTINGS_SOCKET_MODE_SECTION="app_settings_socket_mode_section",n.APP_SETTINGS_RATE_LIMITS_SECTION="app_settings_rate_limits_section",n.APP_SETTINGS_FIRST_SUBMISSION_MODAL="app_settings_first_submission_modal",n.APP_SETTINGS_REDESIGN_OPT_IN="app_settings_redesign_opt_in",n.APP_SETTINGS_REDESIGN_OPT_OUT="app_settings_redesign_opt_out",n.WS_APPS_MANAGE_ACCESSLIST_TAB_REQUESTS="ws_apps_manage_tab_requests",n.WS_APPS_MANAGE_ACCESSLIST_TAB_APPROVED="ws_apps_manage_tab_approved",n.WS_APPS_MANAGE_ACCESSLIST_TAB_RESTRICTED="ws_apps_manage_tab_restricted",n.WS_APPS_MANAGE_ACCESSLIST_TAB_INSTALLED="ws_apps_manage_tab_installed",n.WS_APPS_MANAGE_APP_DETAIL="ws_apps_manage_app_detail",n.WS_APPS_MANAGE_REQUEST_DETAIL="ws_apps_manage_request_detail",n.ADD_APPROVED_ORG_MODAL="add_approved_org_modal",n.APPROVED_ORGS_MODAL="approved_orgs_modal",n.TEAM_SITE_NAV="team_site_nav",n.TEAM_SITE_LEFT_NAV="team_site_left_nav",n.TEAM_SITE_TOP_NAV="team_site_top_nav",n.TEAM_SITE_NAV_SEARCH_ENTERPRISE_WORKSPACES_MODAL="team_site_nav_search_enterprise_workspaces_modal",n.RETENTION_AND_EXPORTS_VIEW="retention_and_exports_view",n.UNFURLED_JOINERS_CHANNEL_FOREWORD_HEADER="unfurled_joiners_channel_foreword_header",n.BANNER_DOWNLOAD_MOBILE_SEND_LINK_ERROR="banner_download_mobile_send_link_error",n.SMS_DIALOG_SEND_LINK_ERROR="sms_dialog_send_link_error",n.DESKTOP_ENTRY_POINT="desktop_entry_point",n.MOBILE_ENTRY_POINT="mobile_entry_point",n.MOBILE_DOWNLOAD_SEND_LINK_ERROR="mobile_download_send_link_error",n.ADD_WORKSPACES_TO_SSB_MODAL="add_workspaces_to_ssb_modal",n.PROGRESSIVE_DISCLOSURE_HUDDLES_DESKTOP="progressive_disclosure_huddles_desktop",n.PROGRESSIVE_DISCLOSURE_HUDDLES_WEB="progressive_disclosure_huddles_web",n.SETUP_JOINER_COACHMARK="setup_joiner_coachmark",n.BOOKMARK_BAR="bookmark_bar",n.CHANNEL_CREATE_TRIAL_STARTED_COACHMARK="channel_create_trial_started_coachmark",n.TRIAL_TRY_SLACK_CONNECT_FOR_CHANNELS_MODAL="trial_try_slack_connect_for_channels_modal",n.TRIAL_SLACK_CONNECT_HUB_TRIAL_OFFER_BANNER="trial_slack_connect_hub_trial_offer_banner",n.TRIAL_SLACK_CONNECT_HUB_IN_TRIAL_LEARN_MORE_BANNER="trial_slack_connect_hub_in_trial_learn_more_banner",n.SLACK_CONNECT_DM_TRIAL_OFFER_BANNER="slack_connect_dm_trial_offer_banner",n.SLACK_CONNECT_DM_TRIAL_BANNER="slack_connect_dm_trial_banner",n.SLACK_CONNECT_DM_TRIAL_INELIGIBLE_BANNER="slack_connect_dm_trial_ineligible_banner",n.SLACK_CONNECT_DM_TRIAL_ADMIN_COACHMARK="slack_connect_dm_trial_admin_coachmark",n.INVITE_TO_WORKSPACE_MODAL="invite_to_workspace_modal",n.SLACK_CONNECT_PAGE="slack_connect_page",n.SLACK_CONNECT_UNVERIFIED_EMAIL_PAGE_CONENT="slack_connect_unverified_email_page_content",n.SLACK_CONNECT_UNVERIFIED_EMAIL_PAGE_ERROR="slack_connect_unverified_email_page_error",n.SLACK_CONNECT_PAGE_HEADER="slack_connect_header",n.MANAGE_SLACK_CONNECT_MENU_COACHMARK="manage_slack_connect_menu_coachmark",n.VERIFY_EMAIL_MODAL="verify_email_modal",n.SLACK_CONNECT_SIDEBAR_SECTION_BADGE="slack_connect_sidebar_section_badge",n.SLACK_CONNECT_ACCEPT_MODAL="slack_connect_accept_modal",n.SLACK_CONNECT_ACCEPTED_ANOTHER_WORKSPACE_MODAL="slack_connect_accepted_another_workspace_modal",n.SLACK_CONNECT_PENDING_IN_ANOTHER_WORKSPACE_MODAL="slack_connect_pending_in_another_workspace_modal",n.SLACK_CONNECT_CONFIRM_WORKSPACE_MODAL="slack_connect_confirm_workspace_modal",n.SLACK_CONNECT_SELECT_WORKSPACE_MODAL="slack_connect_select_workspace_modal",n.SLACK_CONNECT_START_FREE_TRIAL_MODAL="slack_connect_start_free_trial",n.SLACK_CONNECT_CONFIRM_TRUST_MODAL="slack_connect_confirm_trust_modal",n.SLACK_CONNECT_UPGRADE_MODAL="slack_connect_upgrade_modal",n.SLACK_CONNECT_RECEIVED_SHARED_CHANNEL_CARD="slack_connect_received_shared_channel_card",n.SLACK_CONNECT_RECEIVED_DM_CARD="slack_connect_received_dm_card",n.SLACK_CONNECT_EXTERNAL_PEOPLE_PERMISSIONS_BANNER="slack_connect_external_people_permissions_banner",n.SLACK_CONNECT_PARTNER_ADMIN_EXPERIENCE_BANNER="slack_connect_partner_admin_experience_banner",n.SHARED_WORKSPACES_PENDING_INVITATION_CARD="shared_workspace_pending_invitation_card",n.SHARED_WORKSPACES_RECEIVED_INVITATION_CARD="shared_workspace_received_invitation_card",n.SHARED_WORKSPACES_SENT_INVITATION_CARD="shared_workspace_sent_invitation_card",n.SLACK_CONNECT_HUB_INVITATIONS_BUTTON="slack_connect_hub_invitations_button",n.SLACK_CONNECT_HUB_BACK_BUTTON="slack_connect_hub_back_button",n.SLACK_CONNECT_HUB_ORG_CARD="slack_connect_hub_org_card",n.SLACK_CONNECT_HUB_ORG_CARD_CTA_CHANNEL="slack_connect_hub_org_card_cta_channel",n.SLACK_CONNECT_HUB_ORG_CARD_CTA_CHANNEL_TRIAL="slack_connect_hub_org_card_cta_channel_trial",n.SLACK_CONNECT_HUB_ORG_CARD_CTA_DM="slack_connect_hub_org_card_cta_dm",n.SLACK_CONNECT_HUB_CHANNEL_ROW="slack_connect_hub_channel_row",n.SLACK_CONNECT_HUB_IM_ROW="slack_connect_hub_im_row",n.SLACK_CONNECT_HUB_MPIM_ROW="slack_connect_hub_mpim_row",n.SLACK_CONNECT_HUB_MEMBER_CARD="slack_connect_hub_member_card",n.SLACK_CONNECT_HUB_CONNECTED_CONTACTS_SECTION="slack_connect_hub_connected_contacts_section",n.SLACK_CONNECT_HUB_CONNECTED_CONTACTS_CARD="slack_connect_hub_connected_contacts_card",n.SLACK_CONNECT_HUB_CONNECTABLE_CONTACTS_SECTION="slack_connect_hub_connectable_contacts_section",n.SLACK_CONNECT_HUB_CONNECTABLE_CONTACTS_CARD="slack_connect_hub_connectable_contacts_card",n.SLACK_CONNECT_HUB_HERO_BANNER="slack_connect_hub_hero_banner",n.SLACK_CONNECT_HUB_INSTRUCTION_SECTION="slack_connect_hub_instruction_section",n.SLACK_CONNECT_HUB_LOGO_FARM="slack_connect_hub_logo_farm",n.SLACK_CONNECT_HUB_QUOTE_CAROUSEL="slack_connect_hub_quote_carousel",n.EXTERNAL_CONNECTIONS_SIDEBAR="external_connections_sidebar",n.EXTERNAL_CONNECTIONS_HEADER="external_connections_header",n.SLACK_CONNECT_NUX_CTAS="slack_connect_nux_ctas",n.SLACK_CONNECT_ADMIN_CTAS="slack_connect_admin_ctas",n.GUIDED_TRIAL_SIDEBAR_PEEK_VIEW="guided_trial_sidebar_peek_view",n.GUIDED_TRIAL_PLANS_AT_GLANCE_MODAL="guided_trial_plans_at_glance_modal",n.GUIDED_TRIAL_SIDEBAR_BADGE="guided_trial_sidebar_badge",n.GUIDED_TRIAL_CANVASES_PAGE_HEADER_BANNER="guided_trial_canvases_page_header_banner",n.GUIDED_TRIAL_LISTS_PAGE_HEADER_BANNER="guided_trial_lists_page_header_banner",n.GUIDED_TRIAL_CANVAS_PAGE_HEADER_BANNER="guided_trial_canvas_page_header_banner",n.GUIDED_TRIAL_SEARCH_FOOTER_BANNER="guided_trial_search_footer_banner",n.SPONSORED_CONNECTIONS_CHANNEL_DETAILS_BANNER="sponsored_connections_channel_details_banner",n.SPONSORED_CONNECTIONS_CHANNEL_INVITE_EDUCATION_BANNER="sponsored_connections_channel_invite_education_banner",n.SPONSORED_CONNECTIONS_MANAGE_SLACK_CONNECT_TOOLTIP="sponsored_connections_manage_slack_connect_tooltip",n.SLACK_CONNECT_SUGGESTED_WORKSPACE="slack_connect_suggested_workspace",n.SLACK_CONNECT_MESSAGE_INPUT_INVITER_BANNER="slack_connect_message_input_inviter_banner",n.SLACK_CONNECT_MESSAGE_INPUT_SUGGESTION_BUTTON="slack_connect_message_input_suggestion_button",n.SLACK_CONNECT_MESSAGE_INPUT_PLACEHOLDER_WARNING_MODAL="slack_connect_message_input_placeholder_warning_modal",n.SLACK_CONNECT_MESSAGE_INPUT_PLACEHOLDER_WARNING_MODAL_EDIT_MESSAGE_BUTTON="slack_connect_message_input_placeholder_warning_modal_edit_message_button",n.SLACK_CONNECT_MESSAGE_INPUT_PLACEHOLDER_WARNING_MODAL_SEND_MESSAGE_BUTTON="slack_connect_message_input_placeholder_warning_modal_send_message_button",n.SLACK_CONNECT_SLACKBOT_MESSAGE_UPLOAD_FILES_BUTTON="slack_connect_slackbot_message_upload_files_button",n.SLACK_CONNECT_SLACKBOT_MESSAGE_CREATE_NEW_RESOURCE_BUTTON="slack_connect_slackbot_message_create_new_resource_button",n.HUDDLE_TRIAL_START_COACHMARK="huddle_trial_start_coachmark",n.HUDDLE_EDUCATION_COACHMARK="huddle_education_coachmark",n.TRIAL_FEATURE_TOOLTIP="trial_feature_tooltip",n.HUDDLES_TRIAL_PRO_BANNER="huddles_trial_pro_banner",n.CLIPS_REPACKAGING_COACHMARK="clips_repackaging_coachmark",n.HUDDLES_SCHEDULED_NUX="huddles_scheduled_nux",n.PRO_TRIAL_ENTRY_POINT_MODAL="pro_trial_entry_point_modal",n.TRIAL_ENTRY_POINT_MODAL="trial_entry_point_modal",n.SAVED_ITEM="saved_item",n.SAVED_LATER_CUSTOM_MODAL="saved_later_custom_modal",n.SAVED_MORE_ACTIONS_MENU="saved_more_actions_menu",n.SAVED_REMIND_MENU="saved_remind_menu",n.SAVED_MESSAGE_ACTION_BUTTON="saved_message_action_button",n.SAVED_DATE_DUE_PILL="saved_date_due_pill",n.SAVED_DATE_DUE_MENU_ITEM="saved_date_due_menu_item",n.SAVED_SNOOZE_ONE_HOUR="saved_snooze_one_hour",n.SAVED_SNOOZE_THREE_HOURS="saved_snooze_three_hours",n.SAVED_SNOOZE_TOMORROW="saved_snooze_tomorrow",n.SAVED_SNOOZE_NEXT_WEEK="saved_snooze_next_week",n.SAVED_LATER_ACTION_MENU="saved_later_action_menu",n.LATER_IS_BACK_BANNER="later_is_back_banner",n.ACTIVITY_MARK_READ_HOVER="activity_mark_read_hover",n.ACTIVITY_MARK_READ_CONTEXT_MENU_ITEM="activity_mark_read_context_menu_item",n.ACTIVITY_MARK_UNREAD_HOVER="activity_mark_unread_hover",n.ACTIVITY_CLEAR_HOVER="activity_clear_hover",n.ACTIVITY_UNCLEAR_HOVER="activity_unclear_hover",n.ACTIVITY_MARK_COMPLETE_HOVER="activity_mark_complete_hover",n.CATCH_UP_MARK_READ_BUTTON="catch_up_mark_read_button",n.CATCH_UP_UNDO_MARK_READ_BUTTON="catch_up_undo_mark_read_button",n.CATCH_UP_NEXT="catch_up_next",n.CATCH_UP_PREVIOUS="catch_up_previous",n.CATCH_UP_EXIT_BUTTON="catch_up_exit_button",n.CATCH_UP_MENTIONS_BUTTON="catch_up_mentions_button",n.CATCH_UP_DMS_BUTTON="catch_up_dms_button",n.CATCH_UP_CHANNELS_BUTTON="catch_up_channels_button",n.ADMIN_SETTINGS_TRIAL_HEADER_BANNER="admin_settings_trial_header_banner",n.ADMIN_TEAM_PERMISSIONS_SLACK_CONNECT_DISCOVERABILITY="admin_team_permissions_slack_connect_discoverability",n.ADMIN_EXTERNAL_MEMBERS_TABLE="admin_external_members_table",n.ADMIN_BULK_REMOVE_MODAL="admin_bulk_remove_modal",n.ADMIN_BULK_REMOVE_MODAL_TABLE="admin_bulk_remove_modal_table",n.ADMIN_REMOVE_MEMBER_DIALOG="admin_remove_member_dialog",n.ADMIN_MEMBER_CHANNELS="admin_member_channels",n.ADMIN_MEMBER_CHANNELS_TABLE="admin_member_channels_table",n.ADMIN_CHANNELS_PERMISSIONS_PANEL="admin_channels_permissions_panel",n.ADMIN_MEMBER_DETAILS="admin_member_details",n.ADMIN_CHANNELS_MODAL="admin_channels_modal",n.ADMIN_REMOVE_ATTACHMENT_MODAL="admin_remove_attachment_modal",n.A11Y_PREFS_SETUP_COACHMARK="a11y_prefs_setup_coachmark",n.A11Y_PREFS_SETUP_MODAL="a11y_prefs_setup_modal",n.AV_PREFS_MODAL="av_prefs_modal",n.ADVANCED_SEARCH_MODAL="advanced-search-modal",n.TOP_NAV_SEARCH_INPUT_BOX="top-nav-search-input-box",n.VIDEO_BLOCK="Video_block",n.CONNECTABLE_CONTACTS_DM_INVITE_MODAL="connectable_contacts_dm_invite_modal",n.CONNECTABLE_CONTACTS_DM_INVITE_COACHMARK="connectable_contacts_dm_invite_coachmark",n.CONNECTABLE_CONTACTS_CONTACT_CARD="connectable_contacts_contact_card",n.CONNECTABLE_CONTACTS_PROFILE_FLEXPANE="connectable_contacts_profile_flexpane",n.CONNECTABLE_CONTACTS_SEARCH_AWARENESS_PROMPT="connectable_contacts_search_awareness_prompt",n.ADMIN_BILLING_STRIPE_PAYMENT_ELEMENT="admin_billing_stripe_payment_element",n.ADMIN_BILLING_PAYMENT_METHODS_LIST="admin_billing_payment_methods_list",n.ADMIN_BILLING_PAYMENT_METHOD="admin_billing_payment_method",n.ADMIN_BILLING_PAYMENT_METHOD_OUTSTANDING_BALANCE_HEADER="admin_billing_payment_method_outstanding_balance_header",n.ADMIN_BILLING_ADDRESS_FORM="admin_billing_address",n.ADMIN_BILLING_UPGRADES_PURCHASING="admin_billing_upgrade_purchasing",n.ADMIN_BILLING_EMAIL_SETTINGS="admin_billing_email_settings",n.ADMIN_BILLING_SWITCH_METHOD_MODAL="admin_billing_switch_method_modal",n.ADMIN_BILLING_CHANGE_PLAN_MODAL="admin_billing_change_plan_modal",n.ADMIN_BILLING_PAID_FEATURES="admin_billing_paid_features",n.ADMIN_BILLING_PREMIUM_WORKFLOWS="admin_billing_premium_workflows",n.ADMIN_BILLING_ALERTS="admin_billing_alerts",n.ADMIN_BILLING_SLACK_AI="admin_billing_slack_ai",n.ADMIN_BILLING_SLACK_AI_TRIAL_INFO_BANNER="admin_billing_slack_ai_trial_info_banner",n.ADMIN_BILLING_AI_ADDON_DEPRECATION_BANNER="admin_billing_ai_addon_deprecation_banner",n.UNDO_SEND_MESSAGE_DIALOG="undo_send_message_dialog",n.USERPROFILE_HUDDLES_BUTTON="userprofile_huddles_button",n.USERPROFILE_AFFILIATIONS_SECTION_LINK="userprofile_affiliations_section_link",n.USERPROFILE_GENERIC_SECTION_LINK="userprofile_generic_section_link",n.USERPROFILE_TITLE_LINK="userprofile_title_link",n.USERPROFILE_PRIMARY_LOCATION_LINK="userprofile_primary_location_link",n.USERPROFILE_SET_STATUS_BUTTON="userprofile_set_status_button",n.USERPROFILE_MORE_ELLIPSIS_BUTTON="userprofile_more_ellipsis_button",n.USERPROFILE_CONTACT_SECTION_EMAIL_LINK="userprofile_contact_section_email_link",n.USERPROFILE_CONTACT_SECTION_PHONE_LINK="userprofile_contact_section_phone_link",n.USERPROFILE_CONTACT_SECTION_COPY_EMAIL_BUTTON="userprofile_contact_section_copy_email_button",n.USERPROFILE_CONTACT_SECTION_COPY_PHONE_BUTTON="userprofile_contact_section_copy_phone_button",n.USERPROFILE_SMART_TAGS_ELEMENT_TAG="userprofile_smart_tags_element_tag",n.USERPROFILE_EDIT_LINK_SECTION="userprofile_edit_link_section",n.USERPROFILE_DATE_ELEMENT_LINK="userprofile_date_element_link",n.USERPROFILE_ADD_MISSING_ELEMENT="userprofile_add_missing_element",n.USERPROFILE_PEOPLE_SECTION_LINK="userprofile_people_section_link",n.USERPROFILE_MESSAGE_BUTTON="userprofile_message_button",n.USERPROFILE_PREVIEW_BUTTON="userprofile_preview_button",n.USERPROFILE_UPLOAD_PHOTO_BUTTON="userprofile_upload_photo_button",n.USERPROFILE_DM_LINK="userprofile_dm_link",n.USERPROFILE_SEE_ALL_DMS_LINK="userprofile_see_all_dms_link",n.USERPROFILE_SLACKIVERSARY_BUTTON="userprofile_slackiversary_button",n.USERPROFILE_SHARE_CELEBRATIONS_MODAL="userprofile_share_celebrations_modal",n.USERPROFILE_SHARE_CELEBRATIONS_BUTTON="userprofile_share_celebrations_button",n.HELP_FLEXPANE_TOUR_COACHMARK="help_flexpane_tour_coachmark",n.SSB_LANDING_REGULAR_LOGIN_LINK="ssb_landing_regular_login_link",n.SSB_LANDING_OPTIMIZED_LOGIN_LINK="ssb_landing_optimized_login_link",n.SSB_LANDING_MANUAL_LOGIN_LINK="ssb_landing_manual_login_link",n.SSB_LANDING_CREATE_NEW_WORKSPACE_REGULAR_LINK="ssb_landing_create_new_workspace_regular_link",n.SSB_LANDING_CREATE_NEW_WORKSPACE_OPTIMIZED_LINK="ssb_landing_create_new_workspace_optimized_link",n.SSB_LANDING_FORGET_WORKSPACES_LINK="ssb_landing_forget_workspaces_link",n.FIND_WORKSPACES_MANUAL_LOGIN_LINK="find_workspaces_manual_login_link",n.FIND_WORKSPACES_FORGET_WORKSPACES_LINK="find_workspaces_forget_workspaces_link",n.FIND_WORKSPACES_SIGN_IN_BUTTON="find_workspaces_sign_in_button",n.FORGET_WORKSPACES_MODAL_YES_BUTTON="forget_workspaces_modal_yes_button",n.FORGET_WORKSPACES_MODAL_NO_BUTTON="forget_workspaces_modal_no_button",n.CHANNEL_FILES="channel_files",n.UPGRADE_BUTTON="upgrade_button",n.UPGRADE_MENU_ITEM="upgrade_menu_item",n.GOVSLACK_BANNER="govslack_banner",n.ADD_MPDM_ONBOARDING_COACHMARK="add_mpdm_onboarding_coachmark",n.EMOJI_MULTI_SKIN_TONE_PICKER="emoji_multi_skin_tone_picker",n.EMOJI_PICKER_GROUP_TABS="emoji_picker_group_tabs",n.GIFS_PICKER="gif_picker",n.DISCOUNT_SEAT_PROMO_PEOPLE_BANNER="discount_seat_promo_people_banner",n.USER_SESSION_EXPIRATION_BANNER_SHOWN_15="user_session_expiration_banner_shown_15",n.USER_SESSION_EXPIRATION_BANNER_SHOWN_120="user_session_expiration_banner_shown_120",n.LIST_SHARE_DIALOG_SPEEDBUMP="list_share_dialog_speedbump",n.LISTS_PERMISSIONS_CONFIRMATION_SPEEDBUMP="lists_permissions_confirmation_speedbump",n.LISTS_BROWSER="lists_browser",n.LISTS_EPHEMERAL_MESSAGE_ACTIONS="lists_ephemeral_message_actions",n.LISTS_MAIN_EMBED="lists_main_embed",n.LISTS_NEW_WINDOW_EMBED="lists_new_window",n.LISTS_SIDEBAR="lists_sidebar_embed",n.GRID_VIEW="grid_view",n.RECORD_VIEW="record_view",n.BOARD_VIEW="board_view",n.LISTS_NUX_WELCOME_BANNER="lists_nux_welcome_banner",n.LISTS_NUX_ENTRY="lists_nux_entry",n.LISTS_NUX_CREATE_MENU="lists_nux_create_menu",n.LISTS_NUX_MORE_MENU="lists_nux_more_menu",n.LISTS_NUX_PEEK_INTRO_VIEW="lists_nux_peek_intro_view",n.LISTS_NUX_EXPLORER_HEADER="lists_nux_explorer_header",n.LISTS_NUX_ADD_TO_LIST="lists_nux_add_to_list",n.LISTS_NUX_TASK_BUNDLE="lists_nux_task_bundle",n.LISTS_NUX_THREAD="lists_nux_thread",n.LISTS_NUX_VIEWS_VIEW="lists_nux_views_view",n.LISTS_NUX_VIEWS_NUDGE="lists_nux_views_nudge",n.LISTS_NUX_FIELD_MENU="lists_nux_field_menu",n.LISTS_NUX_REFINEMENTS_VIEW="lists_nux_refinements_view",n.LISTS_NUX_REFINEMENTS_NUDGE="lists_nux_refinements_nudge",n.LISTS_NUX_ADD_TO_LIST_MESSAGE_OVERFLOW_MENU_ITEM="lists_nux_add_to_list_message_overflow_menu_item",n.LISTS_NUX_ADD_TO_LIST_MESSAGE_ACTION_BAR_ITEM="lists_nux_add_to_list_message_action_bar_item",n.LISTS_FREEMIUM_UPGRADE="lists_freemium_upgrade",n.LISTS_ADD_TO_LIST_DIALOG="lists_add_to_list_dialog",n.LISTS_ERROR_BANNER="lists_error_banner",n.LISTS_SLACK_CONNECT_BANNER="lists_slack_connect_banner",n.LISTS_DELETE_LIST_DIALOG="lists_delete_list_dialog",n.LISTS_SUBTASKS="lists_subtasks",n.ASSIGNED_ITEMS_VIEW="assigned_items_view",n.LISTS_ASSIGNMENTS_FIELDS_TOGGLE="lists_assignments_fields_toggle",n.LISTS_ASSIGNMENTS_FIELDS_MIGRATION_MODAL="lists_assignments_fields_migration_modal",n.LISTS_ASSIGNMENTS_FIELDS_INTRO_BANNER="lists_assignmnet_fields_intro_banner",n.LISTS_TASKS_LIST_INTRO_BANNER="lists_tasks_list_intro_banner",n.LISTS_DEFAULT_LIST_INTRO_BANNER="lists_default_list_intro_banner",n.LISTS_TABBING_NAVIGATION_MODAL="lists_tabbing_navigation_modal",n.SLACK_AI_SIDEBAR_PURCHASE_CTA="slack_ai_sidebar_purchase_cta",n.SLACK_AI_SIDEBAR_TRIAL_START_CTA="slack_ai_sidebar_trial_start_cta",n.SLACK_AI_REQUEST_TO_PURCHASE_PRE_SEARCH_BANNER="slack_ai_request_to_purchase_pre_search_banner",n.SLACK_AI_REQUEST_TO_PURCHASE_SEARCH_RESULTS_BANNER="slack_ai_request_to_purchase_search_results_banner",n.SLACK_AI_REQUEST_TO_PURCHASE_SIDEBAR_CTA="slack_ai_request_to_purchase_sidebar_cta",n.SLACK_AI_REQUEST_TO_PURCHASE_CHANNEL_BANNER="slack_ai_request_to_purchase_channel_banner",n.SLACK_AI_REQUEST_TO_PURCHASE_MODAL="slack_ai_request_to_purchase_modal",n.SLACK_AI_RECAP_MUTING_NUX_BANNER="slack_ai_recap_muting_nux_banner",n.SLACK_AI_REAL_TIME_RECAP_NUX_BANNER="slack_ai_real_time_recap_nux_banner",n.SLACK_AI_REAL_TIME_RECAP_NUX_BANNER_OPT_IN="slack_ai_real_time_recap_nux_banner_opt_in",n.SLACK_AI_REAL_TIME_RECAP_NUX_BANNER_OPT_OUT="slack_ai_real_time_recap_nux_banner_opt_out",n.SLACK_AI_RECAP_REFRESH_BUTTON="slack_ai_recap_refresh_button",n.SLACK_AI_RECAP_SINGLE_CHANNEL_REFRESH_BUTTON="slack_ai_recap_single_channel_refresh_button",n.SLACK_AI_SEARCH_NUX_BANNER="slack_ai_search_nux_banner",n.SLACK_AI_RECAP_SORT_MENU="slack_ai_recap_sort_button",n.SLACK_AI_REAL_TIME_RECAP_NUX_BANNER_REFRESH_BUTTON="slack_ai_real_time_recap_nux_banner_refresh_button",n.SLACK_AI_ADMIN_OPT_IN_BANNER="slack_ai_admin_opt_in_banner",n.SLACK_AI_SUMMARY_TRIAL_AWARENESS_BANNER=" slack_ai_summary_trial_awareness_banner",n.SLACK_AI_TRANSLATIONS_BAR_MENU="slack_ai_translations_bar_menu",n.SLACK_AI_OPT_IN_MODAL="slack_ai_opt_in_modal",n.TABLEAU_FLEXPANE="tableau_flexpane",n.TABLEAU_EXPANDED_ENTITY="tableau_expanded_entity",n.TABLEAU_CANVAS_SESSION_NOTIFICATION="tableau_canvas_session_notification",n.SLASH_COMMANDS_AUTOCOMPLETE_MENU="slash_commands_autocomplete_menu",n.SLASH_COMMANDS_AUTOCOMPLETE_MENU_COMPOSER_BUTTON="slash_commands_autocomplete_menu_composer_button",n.CANVAS_SHORTCUT_AUTOCOMPLETE_MENU="canvas_shortcut_autocomplete_menu",n.CANVAS_OVERFLOW_MENU="canvas_overflow_menu",n.CANVAS_SECTION_MENU="canvas_section_menu",n.CANVAS_FORMATTING_TOOLBAR_MENU="canvas_formatting_toolbar_menu",n.CANVAS_GUTTER_AI_MENU="canvas_gutter_ai_menu",n.CANVAS_NUX_CREATE_MENU="canvas_create_menu",n.CANVAS_ADD_CANVAS="canvas_add_canvas",n.LINK_TRIGGER_URL="link_trigger_url",n.HUDDLES_CONNECT_COACHMARK="huddles_connect_coachmark",n.CANVAS_PAGE_EMPTY_STATE_FREEMIUM="canvas_page_empty_state_freemium",n.CANVAS_FREEMIUM_BANNER="canvas_freemium_banner",n.CANVAS_NUX_COACHMARK="canvas_nux_coachmark",n.WFB_FREEMIUM_PERSISTENT_LIMIT_BANNER="wfb_freemium_persistent_limit_banner",n.WFB_FREEMIUM_DISMISSIBLE_LIMIT_BANNER="wfb_freemium_dismissible_limit_banner",n.WFB_FREEMIUM_WORKFLOW_PUBLISH_BUTTON="wfb_freemium_workflow_publish_button",n.MESSAGE_ACTIONS_MENU="message_actions_menu",n.TEXT_SELECTION_CONTEXT_MENU="text_selection_context_menu",n.HOME_TAB_NUDGE_COACHMARK="home_tab_nudge_coachmark",n.HOME_TAB_NUDGE_ANIMATION="home_tab_nudge_animation",n.DM_USER_INVITE_SECTION="dm_user_invite_section",n.ACTIVITY_USER_INVITE_SECTION="activity_user_invite_section",n.MORE_TAB_NUX_COACHMARK="more_tab_nux_coachmark",n.TABS_CUSTOMIZATION_MENU_ITEM="tabs_customization_menu_item",n.TABS_CUSTOMIZATION_NUX_MENU_ITEM="tabs_customization_nux_menu_item",n.AUTOMATION_NEW_CALLOUT="automation_new_callout",n.LOB_NOTIFICATIONS_LIST="lob_notifications_list",n.LOB_NOTIFICATION_WORKFLOW="lob_notification_workflow",n.LOB_NOTIFICATION_FORWARD_MODAL="lon_notification_forward_modal",n.LOB_NOTIFICATION_FORWARD_SPEEDBUMP_MODAL="lob_notification_forward_speedbump_modal",n.LOB_NOTIFICATION_ACTIONS_BAR="lob_notification_actions_bar",n.LOB_TODAY="lob_today",n.LOB_METRICS="lob_metrics",n.LOB_MEMBER_TABLE="lob_member_table",n.LOB_LOG_ACTIVITY_VIEW="log_activity_view",n.LOB_LOG_ACTIVITY_DISCARD_MODAL="log_activity_discard_modal",n.LOB_SHARE_RECORD_MODAL="lob_share_record_modal",n.SALES_ONBOARDING_CARD="sales_onboarding_card",n.SALES_ONBOARDING_DONE="sales_onboarding_done",n.SALES_ONBOARDING_MULTI_ORG="sales_onboarding_multi_org",n.SALES_HOME_ONBOARDING_COACHMARK="sales_home_onboarding_coachmark",n.SALES_LOG_ACTIVITY_COACHMARK="sales_log_activity_coachmark",n.SALES_BULK_EDITING_BANNER="sales_bulk_editing_banner",n.SALES_BULK_REFRESH_BANNER="sales_bulk_refresh_banner",n.SALES_HOME_LIST_VIEW_BROWSER="sales_home_list_view_browser",n.SALES_BULK_DATA_SHEET_GRID="sales_bulk_data_sheet_grid",n.SALES_HOME_BULK_GRID="sales_home_bulk_grid",n.SALES_HOME_SIDEBAR="sales_home_sidebar",n.SALES_LIST_VIEW_BROWSER_NUX_BANNER="sales_list_view_browser_nux_banner",n.SALES_CREATE_RECORD_VIEW="sales_create_record_view",n.SALES_CREATE_RECORD_TOAST="sales_create_record_toast",n.SALES_EDIT_RECORD_TOAST="sales_edit_record_toast",n.SLACKFORCE_EPHEMERAL_ENTITY_ADD_TO_SIDEBAR_BANNER="slackforce_ephemeral_entity_add_to_sidebar_banner",n.SALESFORCE_APP_NO_AUTH_EMPTY_STATE="salesforce_app_no_auth_empty_state",n.SALESFORCE_APP_FOREWORD="salesforce_app_foreword",n.RECORD_UNFURL="record_unfurl",n.RECORD_URL="record_url",n.RECORD_UNFURL_SETTINGS_BANNER="record_unfurl_settings_banner",n.LOG_ACTIVITY_SETTINGS_PANEL="log_activity_settings_panel",n.SALESFORCE_LISTS_SETTINGS_PANEL="salesforce_lists_settings_panel",n.DEAL_WIN_CELEBRATION="deal_win_celebration",n.SLACKFORCE_EMAIL_MODAL="slackforce_email_modal",n.SLACKFORCE_EMAIL_FILE_ATTACHMENT_DOWNLOAD_MODAL="slackforce_email_file_attachment_download_modal",n.SLACKFORCE_EMAIL_FILE_VIEWER_ACTIONS="slackforce_email_file_viewer_actions",n.SLACKFORCE_ACTIVITY_TIMELINE="slackforce_activity_timeline",n.EMAIL_DRAFT_AI_PROMPT_BAR="email_draft_ai_prompt_bar",n.SALES_CHANGE_OWNER_MODAL="sales_change_owner_modal",n.SALESFORCE_ORGANIZATIONS="salesforce_organizations",n.SALESFORCE_ORGANIZATION_DETAILS="salesforce_organization_details",n.SALESFORCE_CONNECTIONS_AUTH="salesforce_connections_auth",n.SALESFORCE_DISCONNECT_ORG_MODAL="salesforce_disconnect_org_modal",n.SALESFORCE_ACTIVATE_ORG_MODAL="salesforce_activate_org_modal",n.SALESFORCE_USERS_TAB="salesforce_users_tab",n.SALESFORCE_ADD_INDIVIDUALLY_MODAL="salesforce_add_individually_modal",n.SALESFORCE_AUTO_STARTER_USERS_TAB="salesforce_auto_starter_users_tab",n.SALESFORCE_ADD_AUTO_STARTER_MEMBER="salesforce_add_auto_starter_member",n.SALESFORCE_REMOVE_AUTO_STARTER_MEMBER="salesforce_remove_auto_starter_member",n.SALESFORCE_UPDATE_AUTO_STARTER_MEMBER="salesforce_update_auto_starter_member",n.SALESFORCE_ADD_BY_CSV_MODAL="salesforce_add_by_csv_modal",n.SALESFORCE_GLOBAL_LOGIN="salesforce_global_login",n.SALESFORCE_GLOBAL_LOGIN_MODAL="salesforce_global_login_modal",n.SALESFORCE_REMOVE_MEMBER_MODAL="salesforce_remove_member_modal",n.SALESFORCE_USER_PREFS="salesforce_user_prefs",n.SALESFORCE_AGENTFORCE_ADMIN="salesforce_agentforce_admin",n.SALESFORCE_AGENTFORCE_ORG_SETTINGS="salesforce_agentforce_org_settings",n.SALESFORCE_AGENTFORCE_ORG_SETTINGS_MODAL="salesforce_agentforce_org_settings_modal",n.SALESFORCE_AGENT_INSTALL_MODAL_SCOPES="salesforce_agent_install_modal_scopes",n.SALESFORCE_AGENT_INSTALL_MODAL_WORKSPACES="salesforce_agent_install_modal_workspaces",n.SALESFORCE_AGENT_INSTALL_MODAL_CKA_SWITCH_ORG="salesforce_agent_install_modal_cka_switch_org",n.SALESFORCE_AGENT_INSTALL_MODAL_CKA_SELECT_SALESFORCE_ORG="salesforce_agent_install_modal_cka_select_salesforce_org",n.SALESFORCE_AGENT_INSTALL_MODAL_CKA_SUCCESS="salesforce_agent_install_modal_cka_success",n.SALESFORCE_AGENTFORCE_ADMIN_NEEDS_REVIEW_TAB="salesforce_agentforce_admin_needs_review_tab",n.SALESFORCE_AGENTFORCE_ADMIN_INSTALLED_AGENTS_TAB="salesforce_agentforce_admin_installed_agents_tab",n.SALESFORCE_AGENTFORCE_ADMIN_UNINSTALL_MODAL="salesforce_agentforce_admin_uninstall_modal",n.EXPLORER_SEARCH="explorer_search",n.EXPLORER_CONTROLS="explorer_controls",n.EXPLORER_RESULTS="explorer_results",n.CANVAS_SIDEBAR="canvas_sidebar",n.TAB_RAIL_PREFERENCES="tab_rail_preferences",n.TAB_RAIL_CONTEXT_MENU="tab_rail_context_menu",n.EXPLORER_NEW_MENU="explorer_new_menu",n.WORKFLOW_TEMPLATE="workflow_template",n.WORKFLOW_TEMPLATES_HEADER="workflow_templates_header",n.PAGINATION="pagination",n.SEARCH_FILTERS="search_filters",n.GLOBAL_SEARCH="global_search",n.SEARCH_NAVIGATION="search_navigation",n.SEARCH_ENTERPRISE_MANAGE_CONNECTOR_OPTION="search_enterprise_manage_connector_option",n.DMS_TAB_MESSAGE_PREVIEW="dms_tab_message_preview",n.DMS_TAB_CONTEXT_MENU="dms_tab_context_menu",n.ADMIN_MENU_PROMOTIONAL_ENTERPRISE_BANNER="admin_menu_promotional_enterprise_banner",n.CALENDAR_SELECTOR="calendar_selector",n.WIDGET="widget",n.SALESFORCE_RECORD_CHANNEL_CREATE_COACHMARK="salesfoce_record_channel_create_coachmark",n.SALESFORCE_RECORD_COACHMARK="salesforce_record_coachmark",n.SALESFORCE_RECORD_DETAILS_TAB_BANNER="salesforce_record_details_tab_banner",n.SALESFORCE_RECORD_DETAILS_TAB_NEW_BADGE="salesforce_record_details_tab_new_badge",n.SALESFORCE_RECORD_DROPDOWN_MENU="salesforce_record_dropdown_menu",n.SALESFORCE_RECORD_FEEDBACK_COACHMARK="salesforce_record_feedback_coachmark",n.SALESFORCE_RECORD_FIELDS="salesforce_record_fields",n.SALESFORCE_RECORD_FLEXPANE="salesforce_record_flexpane",n.SALESFORCE_RECORD_HEADER="salesforce_record_header",n.SALESFORCE_RECORD_HISTORY="salesforce_record_history",n.SALESFORCE_RECORD_PRIMARY_VIEW="salesforce_record_primary_view",n.SALESFORCE_RECORD_RELATED_ACTIVITY="salesforce_record_related_activity",n.SALESFORCE_RECORD_RELATED_RECORD_LIST_TAB_BANNER="salesforce_record_related_record_list_tab_banner",n.SALESFORCE_RECORD_RELATED_RECORD_LIST_TAB_NEW_BADGE="salesforce_record_related_record_list_tab_new_badge",n.SALESFORCE_RECORD_RELATIONSHIPS="salesforce_record_relationships",n.SALESFORCE_RECORD_SECONDARY_VIEW="salesforce_record_secondary_view",n.SALESFORCE_RECORD_SIDEBAR_SECTION_NEW_BADGE="salesforce_record_sidebar_section_new_badge",n.SALESFORCE_RECORD_SIGNIN_TO_SALESFORCE_PROMPT="signin_to_salesforce_prompt",n.SALESFORCE_RECORD_SUMMARY_TAB_BANNER="salesforce_record_summary_tab_banner",n.SALESFORCE_RECORD_SUMMARY_TAB_NEW_BADGE="salesforce_record_summary_tab_new_badge",n.SALESFORCE_RECORD_RELATED_CONVERSATIONS="salesforce_record_related_conversations",n.SALESFORCE_RECORD_RELATED_CONVERSATIONS_TAB_NEW_BADGE="salesforce_record_related_conversations_tab_new_badge",n.SALESFORCE_RECORD_RELATED_CONVERSATIONS_SECONDARY_TAB_NEW_BADGE="salesforce_record_related_conversations_secondary_tab_new_badge",n.SALESFORCE_RECORD_RELATED_CONVERSATIONS_TAB_BANNER="salesforce_record_related_conversations_tab_banner",n.SALESFORCE_RECORD_RELATED_CONVERSATIONS_SECONDARY_TAB_BANNER="salesforce_record_related_conversations_secondary_tab_banner",n.SALESFORCE_RECORD_RELATED_CHANNELS_SECTION="salesforce_record_related_channels_section",n.SALESFORCE_RECORD_RELATED_CHANNELS_ADD_CHANNEL_MODAL="salesforce_record_related_channels_add_channel_modal",n.SALESFORCE_RECORD_RELATED_CHANNEL_LIST_ITEM="salesforce_record_related_channel_list_item",n.SALESFORCE_RECORD_CHANNEL_REQUEST_ACCESS_MODAL="salesforce_record_channel_request_access_modal",n.RECORD_CHANNEL_CREATION_MODAL="record_channel_creation_modal",n.RECORD_CHANNEL_CREATION_PARENT_NUDGE_MODAL="record_channel_creation_parent_nudge_modal",n.RECORD_CHANNEL_CREATION_LINK_MODAL="record_channel_creation_link_modal",n.RESURRECTED_USER_WELCOME_SIDEBAR_ENTRY_CTA="resurrected_user_welcome_sidebar_entry_cta",n.RESURRECTED_USER_WELCOME_PERSONAL_ACTIVITY="resurrected_user_welcome_personal_activity",n.RESURRECTED_USER_WELCOME_NEW_TEAMMATES="resurrected_user_welcome_new_teammates",n.CHECK_OUT_MORE_CANVAS_TEMPLATES_LINK="check_out_more_canvas_templates_link",n.INVITE_COWORKER_PLACEHOLDER="invite_coworker_placeholder",n.INVITE_CLIENT_PLACEHOLDER="invite_client_placeholder",n.INVITE_COWORKER_FOREWORD_BUTTON="invite_coworker_foreword_button",n.INVITE_CLIENT_FOREWORD_BUTTON="invite_client_foreword_button",n.ADD_PROFILE_PLACEHOLDER="add_profile_placeholder",n.ADD_LINK_PLACEHOLDER="add_link_placeholder",n.ADD_IMAGE_PLACEHOLDER="add_image_placeholder",n.SOLUTIONS_SETUP_MODAL="solutions_setup_modal",n.SOLUTIONS_LOADING_STATE="solutions_loading_state",n.SOLUTIONS_ERROR_STATE="solutions_error_state",n.SOLUTIONS_TEMPLATE_BROWSER_MODAL="solutions_template_browser_modal",n.SOLUTIONS_WELCOME_SIDEBAR_BANNER="solutions_welcome_sidebar_banner",n.CREATE_CUSTOM_SOLUTION_MODAL="create_custom_solution_modal",n.EDIT_CUSTOM_SOLUTION_MODAL="edit_custom_solution_modal",n.SOLUTIONS_ONBOARDING_CANVAS_BANNER="solutions_onboarding_canvas_banner",n.SOLUTIONS_ONBOARDING_LISTS_BANNER="solutions_onboarding_lists_banner",n.SOLUTIONS_TEMPLATE_GALLERY_HERO="solutions_template_gallery_hero",n.SOLUTIONS_TRY_SOLUTIONS_TEMPLATE_BADGE="solutions_try_solutions_template_badge",n.SOLUTIONS_TRY_TEMPLATE_BADGE="solutions_try_template_badge",n.SOLUTIONS_TRY_TEMPLATE_NEW_BADGE="solutions_try_template_new_badge",n.CHANNEL_TABS_TAB_VIEW="channel_tabs_tab_view",n.CHANNEL_TABS_TAB="channel_tabs_tab",n.WORKFLOWS_CHANNEL_TAB_HEADER="workflows_channel_tab_header",n.COMPARE_PLANS_MODAL="compare_plans_modal",n.TENURED_TEAM_SOLUTIONS_GUIDE="tenured_team_solutions_guide",n.PERFORMANCE_SLIDER_BANNER="performance_slider_banner",n.DATA_DELETION_NOTIFICATION_LAUNCH_MODAL="data_deletion_noitifications_launch_modal",n.DATA_DELETION_SIDEBAR_UPGRADE_BUTTON="data_deletion_sidebar_upgrade_button",n.DATA_DELETION_MESSAGE_PANE_BANNER="data_deletion_message_pane_banner",n.TENURED_SOLUTION_ORG_SIZE_POCKET_GUIDE="tenured_solution_org_size_pocket_guide",n.TENURED_SOLUTION_OFC_POLICY_POCKET_GUIDE="tenured_solution_ofc_policy_pocket_guide",n.TENURED_SOLUTION_EXTERNAL_CONNECTION_POCKET_GUIDE="tenured_solution_external_connection_pocket_guide",n.APP_INSTALL_LIMIT_BANNER="app_install_limit_banner",n.APP_INSTALL_LIMIT_HERO_BANNER="app_install_limit_hero_banner",n.WORKFLOW_ACCESS_BANNER="workflow_access_banner",n.CUSTOM_WORKFLOW_STEP_ACCESS_BANNER="custom_workflow_step_access_banner",n.MEGAPHONE_DISPATCHER="megaphone_dispatcher",n.NEW_BADGE="new_badge",n.CHANNEL_INVITE_MODAL="channel_invite_modal",n.WORKSPACE_INVITE_MODAL="workspace_invite_modal",n.APP_LANDING="app_landing",n.VIP_PREFERENCES="vip_preferences",n.DND_PREFERENCES_VIP_NEW_BADGE="dnd_preferences_vip_new_badge",n.FLAGGED_CONTENT_ASSIGN_USER_MODAL="flagged_content_assign_user_modal",n.FLAGGED_CONTENT_DISMISS_FLAG_MODAL="flagged_content_dismiss_flag_modal",n.FLAGGED_CONTENT_HIDE_FLAG_MODAL="flagged_content_hide_flag_modal",n.FLAGGED_CONTENT_MODERATE_PROFILE_MODAL="flagged_content_moderate_profile_modal",n.FLAGGED_CONTENT_DELETE_COMMENT_MODAL="flagged_content_delete_comment_modal",n.FLAGGED_CONTENT_PREVIEW_FILE_MODAL="flagged_content_preview_file_modal",n.FLAGGED_CONTENT_DASHBOARD_FILTER="flagged_content_dashboard_filter",n.ADMIN_ADVISOR_SETTINGS_CARD="admin_advisor_settings_card",n.ADMIN_ADVISOR_ARCHIVE_SETTING_MODAL="admin_advisor_archive_setting_modal",n.ADMIN_SEARCH_CLEAR="admin_search_clear",n.ADMIN_SEARCH_CLOSE="admin_search_close",n.ADMIN_SEARCH_RESULTS="admin_search_results",n.ADMIN_SEARCH_RESULTS_NUMBER="admin_search_results_number",n.ADMIN_SEARCH_SPECIFIC_RESULT="admin_search_specific_result",n.ADMIN_SEARCH_RESULT_SUGGESTION="admin_search_result_suggestion",n.ENTERPRISE_DASHBOARD_MENU_PRIMARY="enterprise_dashboard_menu_primary",n.ENTERPRISE_DASHBOARD_MENU_SECONDARY="enterprise_dashboard_menu_secondary",n.ADMIN_NAVIGATION_MENU_PRIMARY_SECTION="admin_navigation_menu_primary_section",n.ADMIN_NAVIGATION_MENU_SECONDARY_ITEM="admin_navigation_menu_secondary_item",n.DATA_EXPORTS_API_MODAL="data_exports_api_modal",n.ADMIN_DATA_TABLE_HEADER="admin_data_table_header",n.ADMIN_DATE_RANGE_MODAL="admin_custom_date_range_modal",n.SLACKBOT_AI_SEARCH_SUMMARY_SUGGESTED_PROMPT="slackbot_ai_search_summary_suggested_prompt",n.SLACKBOT_AI_SEARCH_SUMMARY_FOLLOW_UP="slackbot_ai_search_summary_follow_up",n.SLACKBOT_AI_BLOCK_KIT_SUGGESTED_PROMPT="slackbot_ai_block_kit_suggested_prompt",n.CANVAS_LIST_LOADING_STATE="canvas_list_loading_state",n.TEAM_CREATION_FLOW_ILLUSTRATION="team_creation_flow_illustration",n.TEAM_CREATION_FLOW="team_creation_flow",n.JOINER_PERSONALIZED_LAUNCHPAD_SETUP_FLOW="joiner_personalized_launchpad_setup_flow",n.JOINER_PERSONALIZED_LAUNCHPAD_TOPIC_BADGE="joiner_personalized_launchpad_topic_badge",n.JOINER_PERSONALIZED_LAUNCHPAD_CHANNEL_ROW="joiner_personalized_launchpad_channel_row",n.SIDEBAR_MENU_HEADER_PROMO="sidebar_menu_header_promo",n.PROMO_CONTENT_PEEK="promo_content_peek",n.PROMO_CONTENT_MODAL="promo_content_modal",n.PROMO_CONTENT_CHECKOUT_SUCCESS_MODAL="promo_content_checkout_success_modal",n.PROMO_WORKSPACE_MENU_HEADER="promo_workspace_menu_header",n.PROMO_TRIAL_PEEK_CTA="promo_trial_sidebar_peek_view_cta",n.INVITE_REMINDER_RESEND_INVITE_MODAL="invite_reminder_resend_invite_modal",n.AI_ACTION_ITEMS="ai_action_items",n.AI_CHANNEL_SUMMARY="ai_channel_summary",n.AI_FILE_SUMMARY="ai_file_summary",n.AI_HUDDLE_SUMMARY="ai_huddle_summary",n.AI_RECAP="ai_recap",n.AI_SEARCH_SUMMARY="ai_search",n.AI_THREAD_SUMMARY="ai_thread_summary",n.AI_WORKFLOW_BUILDER="ai_workflow_builder",n.AI_INLINE_SEARCH="ai_inline_search",n.AI_MESSAGE_TRANSLATION="ai_message_translation",n.AI_FILE_SUMMARY_TRANSLATION="ai_file_summary_translation",n.AI_ASSISTANT="ai_assistant",n.AI_PROFILE_SUMMARY="ai_profile_summary",n.AI_TOPIC_SUGGESTION="ai_topic_suggestion",n.AI_ENTITY_REFS_SUMMARY="ai_entity_refs_summary",n.AI_MULTI_CHANNEL_UNREADS="ai_multi_channel_unreads",n.AI_ANSWER_COLLAPSE="ai_answer_collapse",n.AI_ANSWER_EXPAND="ai_answer_expand",n.AI_CHANNEL_JOIN_REASON="ai_channel_join_reason",n.CANVAS_EMPTY_STATE_AI_FOOTER="canvas_empty_state_ai_footer",n.TODOS="lists_todos",n.TODOS_DELETE_ITEM_ACTION_BUTTON="my_tasks_delete_item_action_button",n.TODOS_SAVED_FOR_LATER_INTRO_BANNER="todos_saved_for_later_intro_banner",n.TODOS_ADD_TO_TODOS_MESSAGE_ACTION_BUTTON="todos_add_to_todos_message_action_button",n.TODOS_LATER_IN_TODOS_HERO="todos_later_in_todos_hero",n.TODOS_GOING_AWAY_BANNER="todos_going_away_banner",n.TODOS_TAB_RAIL_COACHMARK="todos_tab_rail_coachmark",n.TODOS_MEET_TODOS_HOME_BANNER="todos_meet_todos_home_banner",n.TODOS_MIGRATED_HOME_BANNER="todos_migrated_home_banner",n.TODOS_ADD_TO_TODOS_MODAL="todos_add_to_todos_modal",n.TODOS_OPEN_DETAILS_VIEW_PREF_NUX="todos_open_details_view_pref_nux",n.TODOS_SFDC_APPROVAL_SECONDARY_VIEW="todos_sfdc_approval_secondary_view",n.TODOS_MIGRATED_INFO_MODAL="todos_migrated_info_modal",n.AI_APP_DATA_ACCESS_ALERT="ai_app_data_access_alert",n.AI_APP_DATA_ACCESS_BANNER="ai_app_data_access_banner",n.AI_APP_DATA_ACCESS_DETAILS_MODAL="ai_app_data_access_details_modal",n.APP_SPACE_PERMISSIONS="app_space_permissions",n.SLACK_DEVELOPER_PROGRAM_SANDBOX_WORKSPACE_BANNER="slack_developer_program_sandbox_workspace_banner",n.SLACK_DEVELOPER_PROGRAM_SANDBOX_ARCHIVE_COUNTDOWN_BANNER="slack_developer_program_sandbox_archive_countdown_banner",n.PRO_TO_BIZ_PLUS_BOOST_MODAL="pro_to_biz_plus_boost_modal",n.PRO_TO_BIZ_PLUS_TRIAL_PRIMARY_CTA="pro_to_biz_plus_trial_primary_cta",n.DELETE_ALL_PENDING_INVITATIONS="delete_all_pending_invitations",n.WORKSPACE_WEAVER_BUG_MENU="workspace_weaver_bug_menu",n.EMAIL_INBOX_THREAD_MODAL="email_inbox_thread_modal",n.HUDDLES_AI_NOTES_BANNER="huddles_ai_notes_banner",n.MESSAGE_LIST_AI_SUMMARY_BANNER="message_list_ai_summary_banner",n.SLACK_AI_OPT_OUT_CLIENT_FOOTER="slack_ai_opt_out_client_footer",n.MATCHING_DOMAIN_WORKPSACE_SUGGESTION_COMPONENT_EXPANDED="matching_domain_workspace_sugesstion_component_expanded",n.MATCHING_DOMAIN_WORKPSACE_SUGGESTION_COMPONENT_COLLAPSED="matching_domain_workspace_sugesstion_component_collapsed",n.SF_EMBED_REQUEST_TO_PURCHASE_CTA="sf_embed_request_to_purchase_cta",n.SF_EMBED_REQUEST_TO_PURCHASE_MODAL="sf_embed_request_to_purchase_modal",n.SALESFORCE_PLUS_TRIAL_PEEK_VIEW="salesforce_plus_trial_peek_view",n.SALESFORCE_PLUS_EXPLORE_PAID_FEATURES_PAGE="salesforce_plus_explore_paid_features_page",n.SALESFORCE_PLUS_EXPLORE_PAID_FEATURES_SUBPAGE="salesforce_plus_explore_paid_features_subpage",n.SALESFORCE_PLUS_TRIAL_GUIDE_SUNROOF="salesforce_plus_trial_guide_sunroof",n.SALESFORCE_PLUS_TRIAL_AWARENESS_BANNER="salesforce_plus_trial_awareness_banner",n.SALESFORCE_PLUS_TRIAL_SIDEBAR_MENU_LINK="salesforce_plus_sidebar_menu_link",n.SF_EMBED_CONTACT_SALES_MODAL="sf_embed_contact_sales_modal",n.FREE_TO_PLUS_TRIAL_AWARENESS_BANNER="free_to_plus_trial_awareness_banner",n.FREE_TO_PLUS_EXPLORE_PAID_FEATURES_PAGE="free_to_plus_explore_paid_features_page",n.FREE_TO_PLUS_EXPLORE_PAID_FEATURES_SUBPAGE="free_to_plus_explore_paid_features_subpage",n.QUESTION_AND_RECOMMENDATION="question_and_recommendation",n.CHANNEL_SECTION_CREATE_STEP_TWO="channel_section_create_step_two",n.CHANNEL_SECTION_CREATE_MULTI_STEP_MODAL="channel_section_create_multi_step_modal",n.SILENT_SIDEBAR_TIMER="silent_sidebar_timer",n.MUTE_CHANNELS_TOAST="mute_channels_toast",n.CONFIRM_LEAVE_CHANNELS_MODAL="confirm_leave_channels_modal",n.SLACK_AI_EXPLAIN_VIEW="slack_ai_explain_view",n.SLACK_AI_PROFILE_SUMMARY_SECTION="slack_ai_profile_summary_section",n.SLACK_AI_PROFILE_SUMMARY_VIEW="slack_ai_profile_summary_view",n.SLACK_AI_PROFILE_SUMMARY_CTA="slack_ai_profile_summary_cta",n.BUSINESS_PLUS_TRIAL_WELCOME_MODAL="business_plus_trial_welcome_modal",n.BUSINESS_PLUS_ADMIN_PORTAL_BANNER_TRIGGER="business_plus_admin_portal_banner_trigger",n.BUSINESS_PLUS_ADMIN_PORTAL_MANAGE_CHANNELS_PAYWALL_TRIGGER="business_plus_admin_portal_manage_channels_paywall_trigger",n.BUSINESS_PLUS_SAML_SSO_TRIGGER="business_plus_saml_sso_trigger",n.BUSINESS_PLUS_ADMIN_MENU_BOTTOM_BANNER_TRIGGER="business_plus_admin_menu_bottom_banner_trigger",n.BUSINESS_PLUS_AI_CHANNEL_RECAPS_BANNER_TRIGGER="business_plus_ai_channel_recaps_banner_trigger",n.BUSINESS_PLUS_IN_CLIENT_MANAGE_CHANNELS_PAYWALL_TRIGGER="business_plus_in_client_manage_channels_paywall_trigger",n.BUSINESS_PLUS_SIDEBAR_HEADER_TRIGGER="business_plus_sidebar_header_trigger",n.BUSINESS_PLUS_AI_SEARCH_BANNER_TRIGGER="business_plus_ai_search_banner_trigger",n.BUSINESS_PLUS_WORKSPACE_MENU_TRIGGER="business_plus_workspace_menu_trigger",n.BUSINESS_PLUS_OFFER_MODAL="business_plus_offer_modal",n.BUSINESS_PLUS_COMPARE_PLANS_MODAL="business_plus_compare_plans_modal",n.OMNISWITCHER_SUGGESTION_CHANNEL_PEEK="omniswitcher_suggestion_channel_peek",n.SIDEBAR_CONNECTED_CHANNEL_PEEK="sidebar_connected_channel_peek",n.SLACKBOT_AI_SUNROOF_CTA="slackbot_ai_sunroof_cta",n.SLACKBOT_AI_UPGRADE_PAYWALL="slackbot_ai_upgrade_paywall",n.SLACKBOT_AI_DM_UPGRADE_BANNER="slackbot_ai_dm_upgrade_banner",n.SLACKBOT_AI_OUT_OF_SAMPLES_ROADBLOCK="slackbot_ai_out_of_samples_roadblock",n.SLACKBOT_AI_SAMPLING_MESSAGE_COMPOSER_WRAPPER="slackbot_ai_sampling_message_composer_wrapper",n.SLACKBOT_AI_SAMPLING_NEW_MESSAGE_PAYWALL="slackbot_ai_sampling_new_message_paywall",n.SLACK_FILE_VIEWER="slack_file_viewer",n.SIDEBAR_MENU_HEADER_AUTO_SLACK_LAUNCHPAD="sidebar_menu_header_auto_slack_launchpad",n.TASK_LIST="task_list",n.CHANNEL_RECOMMENDATIONS="channel_recommendations",n.BULK_GRID_UPDATE_RECORD_COACHMARK="bulk_grid_update_record_coachmark",n.ADD_SALESFORCE_LIST_MODAL_NUX_BANNER="add_salesforce_list_modal_nux_banner",n.RECORD_VIEW_CREATE_CHANNEL_NUX_BANNER="record_view_create_channel_nux_banner",n.RECORD_OVERVIEW_PEEK="record_overview_peek",n.RECORD_LIST_PEEK="record_list_peek",n.RECORD_HOT_PEEK_NUX_BANNER="record_hot_peek_nux_banner",n.AUTO_SLACK_FIRST_MESSAGE_TIP="auto_slack_first_message_tip",n.WORKSPACE_FILTER_BANNER="workspace_filter_banner",n.EDIT_FILE_DETAILS_DIALOG="edit_file_details_dialog",n.AI_RECENT_CHANNEL_SUMMARY="ai_recent_channel_summary",n.EDIT_CHANNEL_SECTION_NOTIFICATIONS="edit_channel_section_notifications",n.CHECKOUT_SUCCESS_INVITE_USERS_OPEN_INVITE="checkout_success_invite_users_open_invite",n.CHECKOUT_SUCCESS_INVITE_USERS_SKIP="checkout_success_invite_users_skip",n.CHECKOUT_SUCCESS_2FA_FLOW_CONTINUE="checkout_success_2fa_flow_continue",n.REQUEST_TO_PURCHASE_BIZ_PLUS_SLACKBOT_MESSAGE="request_to_purchase_biz_plus_slackbot_message",n.SCG_MCG_INVITATION_FORM_DETAILS_MODAL="scg_mcg_invitation_form_details_modal",n.SCG_MCG_INVITATION_REQUEST_SEND_MODAL="scg_mcg_invitation_request_send_modal",n.CHANNEL_FOLDER_ACTIONS_BUTTON="channel_folder_actions_button",n.CHANNEL_FOLDER_HEADER_ADD_BUTTON="channel_folder_header_add_button",n.CHANNEL_FOLDER_EMPTY_STATE_ADD_BUTTON="channel_folder_empty_state_add_button",n.CHANNEL_EXPERT_CONFIG_ADD_BUTTON="channel_expert_config_add_button",n.CHANNEL_EXPERT_SETTINGS_ADD_BUTTON="channel_expert_settings_add_button",n.AI_ANSWER_SPEEDBUMP_MODAL="ai_answer_speedbump_modal",n.SLACKIVERSARY_SPEEDBUMP_MODAL="slackiversary_speedbump_modal",n.THREAD_ADMIN_TOOLS_MENU="thread_admin_tools_menu",n.MUTED_CHANNELS_REACTIVE_COACHMARK="muted_channels_reactive_coachmark",n.MUTED_CHANNELS_PROACTIVE_COACHMARK="muted_channels_proactive_coachmark",n.MUTED_CHANNELS_HIDDEN_CONFIRMATION_COACHMARK="muted_channels_hidden_confirmation_coachmark",n.MUTED_CHANNELS_EDIT_PREF_REMINDER_COACHMARK="muted_channels_edit_pref_reminder_coachmark",n.AGENT_PROFILE_EDIT_HEADER_MODAL="agent_profile_edit_header_modal",n.AGENT_PROFILE_EDIT_ABOUT_MODAL="agent_profile_edit_about_modal",n.AGENT_PROFILE_FLEXPANE="agent_profile_flexpane",n.EDUCATION_SHARE_CHANNEL_SECTION_COACHMARK="education_share_channel_section_coachmark",n.SETUP_OAUTH_CONTACT_IMPORT="setup_oauth_contact_import",n.BULK_GRID_IMPORT_MODAL="bulk_grid_import_modal",n.BULK_GRID_IMPORT_MODAL_UPLOAD_FILE_STEP="bulk_grid_import_modal_upload_file_step",n.BULK_GRID_IMPORT_MODAL_FIELD_MAPPING_STEP="bulk_grid_import_modal_field_mapping_step",n.BULK_GRID_IMPORT_MODAL_PREVIEW_STEP="bulk_grid_import_modal_preview_step",n.BULK_GRID_GOOGLE_CONTACT_IMPORT_MODAL="bulk_grid_google_contact_import_modal",n.BULK_GRID_CONTACTS_EMPTY_STATE="bulk_grid_contacts_empty_state",n.BULK_GRID_ACCOUNTS_EMPTY_STATE="bulk_grid_accounts_empty_state",n.BULK_GRID_OPPORTUNITIES_EMPTY_STATE="bulk_grid_opportunities_empty_state",n.BULK_GRID_COMPLETE_IMPORT_STATE="bulk_grid_complete_import_state",n.BULK_GRID_CONTACTS_READY_TOAST="bulk_grid_contacts_ready_toast",n.CRM_PROVISIONING_PAGE="crm_provisioning_page",n.SALESFORCE_UNSCOPED_REFERENCE="salesforce_unscoped_reference",n.BULK_GRID_ADD_COLUMN="bulk_grid_add_column",n.RECORDS_RECORD_CONTACT_ACTIONS="records_record_contact_actions",n.RECORDS_RECORD_EVENTS_VIEW="records_record_events_view",n.DOWNMARKET_CRM_TRIAL_BANNER="downmarket_crm_trial_banner",n.DOWNMARKET_CRM_TENURED_UPGRADE_MODAL="downmarket_crm_tenured_upgrade_modal",n.DOWNMARKET_CRM_HANDRAISE_MODAL="downmarket_crm_handraise_modal",n.DOWNMARKET_CRM_BUSINESS_PLUS_UPGRADE_MODAL="downmarket_crm_business_plus_upgrade_modal",n.DOWNMARKET_CRM_ADMIN_PROMO_BANNER="downmarket_crm_admin_promo_banner",n.DOWNMARKET_CRM_TENURED_UPGRADE_BANNER="downmarket_crm_tenured_upgrade_banner",n.DOWNMARKET_CRM_HANDRAISE_BANNER="downmarket_crm_handraise_banner",n.DOWNMARKET_CRM_ONBOARDING_CONTACT_FLEXPANE_NUX="downmarket_crm_onboarding_contact_flexpane_nux",n.DOWNMARKET_CRM_ONBOARDING_CONTACT_NUX="downmarket_crm_onboarding_contact_nux",n.DOWNMARKET_CRM_ONBOARDING_ACCOUNT_NUX="downmarket_crm_onboarding_account_nux",n.DOWNMARKET_CRM_ONBOARDING_DIALOG="downmarket_crm_onboarding_dialog",n.DOWNMARKET_CRM_REQUEST_ACCESS="downmarket_crm_request_access",n.SALESFORCE_CSV_FIELD_MAPPING_BUTTON="salesforce_csv_field_mapping_button",n.SALESFORCE_LICENSE_APPROVAL_REVIEW_BUTTON="salesforce_license_approval_review_button",n.SALESFORCE_LICENSE_APPROVAL_DENY_BUTTON="salesforce_license_approval_deny_button",n.INVITER_JOINER_FIRST_DM_WELCOME_CARD_MODAL="inviter_joiner_first_dm_welcome_card_modal",n.AI_SEARCH_PUSH_SAMPLING_OMNISWITCHER_BANNER="ai_search_push_sampling_omniswitcher_banner",n.AI_SEARCH_PUSH_SAMPLING_SUMMARY_BANNER="ai_search_push_sampling_summary_banner",n.AI_SEARCH_PUSH_SAMPLING_DAY_ONE_COACHMARK="ai_search_push_sampling_day_one_coachmark",n.AI_SEARCH_PUSH_SAMPLING_ADMIN_PERMISSION_SETTINGS_BANNER="ai_search_push_sampling_admin_permission_settings_banner",n.AI_SEARCH_SAMPLE_SLACKBOT_MESSAGE="ai_search_sample_slackbot_message",n.STREAMLINE_PLANS_MODAL="streamline_plans_modal",n.BUS_POCKET_GUIDE_SIDEBAR_MENU_HEADER="bus_pocket_guide_sidebar_menu_header",n.PEEK_MENU_CONTENT="peek_menu_content",n.PRO_TO_PLUS_PAID_BENEFITS_PAGE="pro_to_plus_paid_benefits_page",n.PEEK_MENU_ITEM="peek_menu_item",n.PRO_UPGRADE_POCKET_GUIDE_V2_SIDEBAR_MENU_HEADER="pro_upgrade_pocket_guide_v2_sidebar_menu_header",n.TOS_MODAL="tos_modal",n.GET_STARTED_SETUP_PAGE="get_started_setup_page",n.SEASONAL_DELIGHT_CLIENT_FOOTER_REVERT_BANNER="seasonal_delight_client_footer_revert_banner",n.SEASONAL_SLACK_DELIGHT_SIDEBAR_MENU_HEADER="seasonal_slack_delight_sidebar_menu_header",n.SEASONAL_SLACK_DELIGHT_SPIDER_ANIMATION="seasonal_slack_delight_spider_animation",n.SEASONAL_SLACK_DELIGHT_USER_MENU_STATUS_COACHMARK="seasonal_slack_delight_user_menu_status_coachmark",n.SEASONAL_SLACK_DELIGHT_GREETING_INVITE_MODAL="seasonal_slack_delight_greeting_invite_modal",n.SEASONAL_SLACK_DELIGHT_GREETING_CARD_MODAL="seasonal_slack_delight_greeting_card_modal",n.SEASONAL_SLACK_DELIGHT_JANUARY_STATUS_COACHMARK="seasonal_slack_delight_january_status_coachmark",n.SEASONAL_SLACK_DELIGHT_JANUARY_SIDEBAR_LINK="seasonal_slack_delight_january_sidebar_link",n.COMPOSER_AI="composer_ai",n.EMAIL_DRAFT_AI="email_draft_ai",n.MRBEAST_PROMO="mrbeast_promo",n.UNSAVED_EDITS_WARNING_MODAL="unsaved_edits_warning_modal",n.TODAY_UNREADS_VIEW="today_unreads_view",n.LATER_PAGE_TODAY_BANNER="later_page_today_banner",n.SLACK_CONNECT_EMAIL_PREVIEW="slack_connect_email_preview",n.SLACK_CONNECT_EMAIL_PREVIEW_LINK="slack_connect_email_preview_link",n.SHAREABLE_PROMPT_COACHMARK="shareable_prompt_coachmark",n.CUSTOM_STATUS_MODAL="custom_status_modal",n.SIDEKICK="sidekick",n.NOTIFICATIONS_EVERYTHING_GLOBAL_SUGGESTED_DOWNGRADE_MODAL="notifications_everything_global_suggested_downgrade_modal",n.NOTIFICATIONS_EVERYTHING_GLOBAL_FORCED_DOWNGRADE_MODAL="notifications_everything_global_forced_downgrade_modal",n.NOTIFICATIONS_EVERYTHING_GLOBAL_SUGGESTED_DOWNGRADE_BANNER="notifications_everything_global_suggested_downgrade_banner",n.NOTIFICATIONS_EVERYTHING_GLOBAL_FORCED_DOWNGRADE_BANNER="notifications_everything_global_forced_downgrade_banner",n.SC_FREE_PLAN_DM_LIMIT_BANNER="sc_free_plan_dm_limit_banner",n.SLACK_CONNECT_STRAIGHT_TO_PAID_MODAL="slack_connect_straight_to_paid_modal",n.SHARED_INVITE_ACCEPTANCE_LOADING_MODAL="shared_invite_acceptance_loading_modal",n.BUSINESS_PLUS_NEW_YEAR_26_PROMO_SIDEBAR_HEADER_PEEK="business_plus_new_year_26_promo_sidebar_header_peek",n.INPRODUCT_TEAM_CREATION_PROMO_SIDEBAR_BANNER="inproduct_team_creation_promo_sidebar_banner",n.INPRODUCT_TEAM_CREATION_SEGMENTATION_MODAL="inproduct_team_creation_segmentation_modal",n.CREATE_CHANNEL_SECTION_EDUCATION_COACHMARK="create_channel_section_education_coachmark",n.DRAGGED_MESSAGE_FILE_ATTACHMENT="dragged_message_file_attachment",n.DOMAIN_MATCH_SIGNUP_OPT_OUT="domain_match_signup_opt_out",n.CHANNEL_SELECT_STEP="channel_select_step",n.INVITE_FORM="invite_form",n),m=((r={}).DISCOUNT_PROMO_HEADER_INDIA="india",r.DISCOUNT_PROMO_HEADER_BRAZIL="brazil",r.DISCOUNT_PROMO_HEADER_TENURED_TEAM="tenured_team",r.DISCOUNT_PROMO_HEADER_POST_TRIAL="post_trial",r.DISCOUNT_PROMO_HEADER_PARTNER_GROWTH="partner_growth",r.DISCOUNT_PROMO_HEADER_ATLASSIAN_2020="atlassian_2020",r.DISCOUNT_PROMO_HEADER_WFH_BUNDLE="wfh_bundle",r.DISCOUNT_PROMO_HEADER_PAID_ACQUISITION_SELF_SERVE="paid_acquisition_self_serve",r.DISCOUNT_PROMO_HEADER_STRAIGHT_TO_PAID="straight_to_paid",r.DISCOUNT_PROMO_HEADER_NEW_YEAR="discount_promo_header_new_year",r.DISCOUNT_PROMO_HEADER_NEW_YEAR_26_FREE="discount_promo_header_new_year_26_free",r.DISCOUNT_PROMO_HEADER_NEW_YEAR_26_STANDARD="discount_promo_header_new_year_26_standard",r.DISCOUNT_PROMO_HEADER_PRICING_AND_PACKAGING="discount_promo_header_pricing_and_packaging",r.TRIAL_STANDARD="standard_trial",r.TRIAL_PLUS="plus_trial",r.LOCAL_PROMO_NOTICE_INDIA="india",r.LOCAL_PROMO_NOTICE_BRAZIL="brazil",r.LOCAL_PROMO_NOTICE_TENURED_TEAM="tenured_team",r.LOCAL_PROMO_NOTICE_POST_TRIAL="post_trial",r.PLANS_AT_GLANCE="PLANS_AT_GLANCE",r.GUIDED_TRIALS_SHARED_CHANNEL_BANNER="guided_trials_shared_channel_banner",r.PAID_BENEFITS_DAY_ONE="day_one",r.PAID_BENEFITS_AFTER_DAY_ONE="after_day_one",r.PAID_BENEFITS_HEADER_INTRO="intro",r.PAID_BENEFITS_HEADER_SEVEN_DAYS_LEFT="seven_days_left",r.PAID_BENEFITS_HEADER_NEW_YEAR_DISCOUNT="new_year_discount",r.PAID_BENEFITS_HEADER_DISCOUNT="discount",r.LIMITED_HISTORY_BANNER_DM="dm",r.LIMITED_HISTORY_BANNER_CHANNEL="channel",r.LIMITED_HISTORY_BANNER_DM_TRIAL_OFFER="dm_trial_offer",r.LIMITED_HISTORY_BANNER_CHANNEL_TRIAL_OFFER="channel_trial_offer",r.LIMITED_HISTORY_TRIAL_OFFER_BANNER="limited_history_trial_offer_banner",r.LIMITED_HISTORY_TRIAL_OFFER_MODAL_BANNER="limited_history_trial_offer_modal_banner",r.MESSAGES="messages",r.FILES="files",r.SEARCH_NAVIGATION_DEFAULT="search_nav_default",r.SEARCH_NAVIGATION_UNIFIED="search_nav_unified",r.SEARCH_ENTERPRISE_MANAGE_CONNECTOR_OPTION_CONNECTED="search_enterprise_manage_connector_option_connected",r.SEARCH_ENTERPRISE_MANAGE_CONNECTOR_OPTION_DISCONNECTED="search_enterprise_manage_connector_option_disconnected",r.SEARCH_FEEDBACK="search_feedback",r.UNFURLED_JOINERS_CHANNEL_FOREWORD_HEADER_V1="unfurled_joiners_channel_foreword_header_v1",r.UNFURLED_JOINERS_CHANNEL_FOREWORD_HEADER_V2="unfurled_joiners_channel_foreword_header_v2",r.STRAIGHT_TO_SSB_DOWNLOAD_SLACK_APP_TREATMENT="straight_to_ssb_download_slack_app_treatment",r.PERSISTENT_ENTRY_CONTROL_DESKTOP_DEFAULT_COPY="persistent_entry_control_desktop_default_copy",r.PERSISTENT_ENTRY_TREATMENT_DESKTOP_UPDATED_COPY="persistent_entry_treatment_desktop_updated_copy",r.PERSISTENT_ENTRY_TREATMENT_MOBILE_DOWNLOAD="persistent_entry_treatment_mobile_download",r.PERSISTENT_ENTRY_TREATMENT_MOBILE_SIGN_IN="persistent_entry_treatment_mobile_sign_in",r.TREATMENT_MOBILE_DOWNLOAD="treatment_mobile_download",r.TREATMENT_MOBILE_SIGN_IN="treatment_mobile_sign_in",r.USER_TYPE_CREATOR="user_type_creator",r.USER_TYPE_JOINER="user_type_joiner",r.DOMAIN_LOGIN_MAGIC_EMAIL="domain_login_magic_email",r.DOMAIN_LOGIN_EMAIL_PASSWORD="domain_login_email_password",r.FILE_STORAGE_HIDDEN_WARNING="hidden_warning",r.SLACK_CONNECT_SIDEBAR_ADD_MORE_ITEMS_LINK="slack_connect_sidebar_add_more_items_link",r.SLACK_CONNECT_SIDEBAR_SECTION_HEADING="slack_connect_sidebar_section_heading",r.SLACK_CONNECT_HEADER_CTAS="slack_connect_header_ctas",r.SLACK_CONNECT_LANDING_PAGE_CTA_CONTAINER="slack_connect_landing_page_cta_container",r.TRIAL_SLACK_CONNECT_HUB_TRIAL_OFFER_BANNER="trial_slack_connect_hub_trial_offer_banner",r.SLACK_CONNECT_HUB_TRIAL_CTA="slack_connect_hub_trial_cta",r.SLACK_CONNECT_CANVAS_CTA="slack_connect_canvas_cta",r.SLACK_CONNECT_CHANNEL_FOREWORD_CTA="slack_connect_channel_foreword_cta",r.SLACK_CONNECT_DISCONNECT_CHANNEL_UPGRADE_BANNER="slack_connect_disconnect_channel_upgrade_banner",r.INVITE_ACCEPTED="invite_accepted",r.INVITE_NOT_ACCEPTED="invite_not_accepted",r.SCDM_INVITE="scdm_invite",r.SLACK_CONNECT_ACCEPT_ERROR_ACCEPT_NOT_ALLOWED="slack_connect_accept_error_accept_not_allowed",r.SLACK_CONNECT_ACCEPT_ERROR_ORG_NOT_VERIFIED="slack_connect_accept_error_org_not_verified",r.SLACK_CONNECT_ACCEPT_ERROR_RESTRICTED_ACTION="slack_connect_accept_error_restricted_action",r.SLACK_CONNECT_ACCEPT_ERROR_NOT_ALLOWED_FOR_GRID_WORKSPACE="slack_connect_accept_error_not_allowed_for_grid_workspace",r.SLACK_CONNECT_ACCEPT_ERROR_GRID_WORKSPACE_REQUIRED="slack_connect_accept_error_grid_workspace_required",r.SLACK_CONNECT_ACCEPT_ERROR_REQUEST_TO_JOIN_HIDDEN_WORKSPACE_DM_ACCEPTING_USER="slack_connect_accept_error_request_to_join_hidden_workspace_dm_accepting_user",r.SLACK_CONNECT_ACCEPT_ERROR_REQUEST_TO_JOIN_HIDDEN_WORKSPACE="slack_connect_accept_error_request_to_join_hidden_workspace",r.SLACK_CONNECT_ACCEPT_ERROR_PENDING_REQUEST_TO_JOIN_HIDDEN_WORKSPACE_DM_ACCEPTING_USER="slack_connect_accept_error_pending_request_to_join_hidden_workspace_dm_accepting_user",r.SLACK_CONNECT_ACCEPT_ERROR_PENDING_REQUEST_TO_JOIN_HIDDEN_WORKSPACE="slack_connect_accept_error_pending_request_to_join_hidden_workspace",r.SLACK_CONNECT_ACCEPT_ERROR_USER_CANNOT_CREATE_CHANNEL="slack_connect_accept_error_user_cannot_create_channel",r.SLACK_CONNECT_ACCEPT_ERROR_USER_REQUIRED_TO_ACCEPT_AS_PRIVATE_BUT_CANNOT="slack_connect_accept_error_user_required_to_accept_as_private_but_cannot",r.SLACK_CONNECT_ACCEPT_ERROR_UPGRADE_REQUIRED_BUT_USER_CANNOT="slack_connect_accept_error_upgrade_required_but_user_cannot",r.PRE_JOINER_ACCEPT="pre_joiner_accept",r.PRE_JOINER_ACCEPT_WITH_EXT_TEAMS="pre_joiner_accept_with_ext_teams",r.POST_JOINER_ACCEPT="post_joiner_accept",r.POST_JOINER_ACCEPT_WITH_EXT_TEAMS="post_joiner_accept_with_ext_teams",r.SLACK_CONNECT_CHANNEL_INVITER_MESSAGE_SUGGESTION="slack_connect_channel_inviter_message_suggestion",r.REGULAR_MESSAGE_SEND="regular_message_send",r.SCHEDULE_MESSAGE_SEND="schedule_message_send",r.APP_LAUNCHER_PAGINATED="app_launcher_paginated",r.APP_LAUNCHER_UNPAGINATED="app_launcher_unpaginated",r.APP_SETTINGS_REDESIGN="app_settings_redesign",r.APP_SETTINGS_NEXT="app_settings_next",r.HUDDLES_SIDEBAR_TRIAL_FEATURE_TOOLTIP="huddles_sidebar_trial_feature_tooltip",r.HUDDLES_SIDEBAR_TRIAL_INVITE_BUTTON="huddles_sidebar_trial_invite_button",r.HUDDLES_SIDEBAR_TRIAL_JOIN_TOGGLE="huddles_sidebar_trial_join_toggle",r.HUDDLES_SIDEBAR_TRIAL_JOIN_MAX_LIMIT="huddles_sidebar_trial_join_max_limit",r.HUDDLES_TRIAL_START_COACHMARK="huddles_trial_start_coachmark",r.HUDDLES_PRO_MAX_MENU_INVITE="huddles_pro_max_menu_invite",r.HUDDLE_CHANNEL_JOIN_MSG_TEXT="huddle_channel_join_msg_text",r.HUDDLES_PAGE_CHANNEL_SUGGESTIONS_TEXT="huddles_page_channel_suggestions_text",r.FIRST_USAGE="first_usage",r.POST_FIRST_USAGE="post_first_usage",r.HUDDLE_SUMMARY_BANNER="huddle_summary_banner",r.HUDDLE_SUMMARY_COLLAPSIBLE_BANNER="huddle_summary_collapsible_banner",r.HUDDLE_SUMMARY_NUDGE_BANNER="huddle_summary_nudge_banner",r.HUDDLE_SUMMARY_COLLAPSIBLE_NUDGE_BANNER="huddle_summary_collapsible_nudge_banner",r.LIMITED_HISTORY_COUNTDOWN="limited_history_countdown",r.LIMITED_HISTORY_COUNTER="limited_history_counter",r.LIMITED_HISTORY_SEARCH="limited_history_search",r.LIMITED_HISTORY_BANNER="limited_history_banner",r.JUST_REACHED_MSG_FILE_LIMIT_DATE="just_reached_msg_file_limit_date",r.APPROACHING_MSG_FILE_LIMIT_DATE="approaching_msg_file_limit_date",r.FILE_STORAGE_WARNING="file_storage_warning",r.LIMITED_HISTORY_MESSAGE_ATTACHMENT="limited_history_message_attachment",r.SALES_IS_AUTHED="is_authed",r.SALES_IS_UNAUTHED="is_unauthed",r.SALESFORCE_RECORD_FLEXPANE="salesforce_record_flexpane",r.SALESFORCE_RECORD_DETAILS="salesforce_record_details",r.SALESFORCE_RECORD_RELATED_CHANNELS_NOT_TRUNCATED="not_truncated",r.SALESFORCE_RECORD_RELATED_CHANNELS_TRUNCATED="truncated",r.SALESFORCE_RECORD_RELATED_CHANNELS_LINK_EXISTING_CHANNEL="link_existing_channel",r.SAVED_MESSAGE="saved_message",r.SAVED_MESSAGE_CONTEXT="saved_message_context",r.SAVED_MESSAGE_EXPANDED="saved_message_expanded",r.SAVED_REMINDER="saved_reminder",r.SAVED_FILE="saved_file",r.SAVED_CANVAS_SECTION="saved_canvas_section",r.SAVED_LATER_BUTTON="saved_later_button",r.SAVED_LATER_MENU_ITEM="saved_later_menu_item",r.SAVED_EMPTY_STATE="saved_empty_state",r.SAVED_EMPTY_STATE_NEW="saved_empty_state_new",r.SAVED_NEW_BADGE="saved_new_badge",r.SAVED_COACHMARK_NEW_USER="saved_coachmark_new_user",r.SAVED_COACHMARK_ARCHIVED_CALLOUT="saved_coachmark_archived_callout",r.SAVED_REMINDER_TWENTY_MIN="saved_reminder_twenty_min",r.SAVED_REMINDER_THIRTY_MIN="saved_reminder_thirty_min",r.SAVED_REMINDER_ONE_HOUR="saved_reminder_one_hour",r.SAVED_REMINDER_THREE_HOURS="saved_reminder_three_hours",r.SAVED_REMINDER_TOMORROW="saved_reminder_tomorrow",r.SAVED_REMINDER_NEXT_WEEK="saved_reminder_next_week",r.SAVED_REMINDER_CUSTOM="saved_reminder_custom",r.SMALL_FEATURES_TABLE_CTA_ABOVE_CHECKLIST="small_features_table_cta_above_checklist",r.CHANNEL_CREATE_MODAL="channel_create_modal",r.CHANNEL_INVITE_MODAL="channel_invite_modal",r.APP_LAUNCHER="app_launcher",r.ADMIN_CHANNEL_HUDDLES="admin_channel_huddles",r.ADMIN_CHANNEL_SEND_EMAILS_TO_CHANNEL="admin_channel_send_emails_to_channel",r.ADMIN_CHANNEL_SLACK_CONNECT="admin_channel_slack_connect",r.ADMIN_CHANNEL_WORKFLOWS="admin_channel_workflows",r.SEND_EMAILS_TO_CHANNEL_MODAL="send_emails_to_channel_modal",r.SHARED_CHANNEL_INVITE="shared_channel_invite",r.COMPREHENSIBLE_INVITES="comprehensible_invites",r.SLACK_CONNECT_HUB_CREATE_CHANNEL="slack_connect_hub_create_channel",r.SLACK_CONNECT_HUB_CREATE_CHANNEL_HEADER="slack_connect_hub_create_channel_header",r.SLACK_CONNECT_MENU_CREATE_CHANNEL="slack_connect_menu_create_channel",r.INVITE_TO_WORKSPACE="invite_to_workspace",r.HUDDLES_TRIAL_BANNER="huddles_trial_banner",r.HUDDLES_INVITE_MODAL_FOOTER="huddles_trial_banner",r.WFB_SIDEBAR="workflow_builder_sidebar",r.SEARCH_MODAL_FOOTER="search_modal_footer",r.BROWSE_PEAK_MENU="browse_peak_menu",r.SOLUTIONS_GALLERY_UPGRADE_MODAL="solutions_gallery_upgrade_modal",r.MODERN_PAGE="modern_page",r.LEGACY_PAGE="legacy_page",r.FREE_TEAM="free_team",r.TRIAL_TEAM="trial_team",r.PAID_TEAM="paid_team",r.FUTURE_SWITCH="future_switch",r.EXTERNAL_MEMBER="external_member",r.INTERNAL_MEMBER="internal_member",r.OWNER="owner",r.LIMITED="limited",r.UNLIMITED="unlimited",r.PAID_MONTHLY="paid_monthly",r.PAID_YEARLY="paid_yearly",r.TRIAL_FUTURE_SWITCH="trial_future_switch",r.TRIAL_NO_FUTURE_SWITCH="trial_no_future_switch",r.TRIAL_FUTURE_SWITCH_MONTHLY="trial_future_switch_monthly",r.TRIAL_FUTURE_SWITCH_YEARLY="trial_future_switch_yearly",r.TRIAL_ELIGIBLE="trial_eligible",r.TRIAL_INELIGIBLE="trial_ineligible",r.MID_TRIAL="mid_trial",r.TRIAL_ENDING="trial_ending",r.USER_NON_ADMIN="user_non_admin",r.USER_SF_EMBED_TEAM="user_sf_embed_team",r.PURCHASER="purchaser",r.NON_PURCHASER="non_purchaser",r.EXTERNAL_QUIP="external_quip",r.DEFAULT="default",r.MULTI="multi",r.THIRD_PARTY_AUTH="third_party_auth",r.SCOPES="scopes",r.MISSING_CONTEXT="missing_context",r.AI_WORKFLOW_RESOURCE_ACCESS="ai_workflow_resource_access",r.CONNECT_WITH_HUDDLES_NEW_TEAMS="connect_with_huddles_new_teams",r.CONNECT_WITH_HUDDLES_TENURED_TEAMS="connect_with_huddles_tenured_teams",r.CANVAS_SPEEDBUMP="canvas_speedbump",r.FILES_SPEEDBUMP="files_speedbump",r.COMBO_SPEEDBUMP="combo_speedbump",r.LISTS_SPEEDBUMP="lists_speedbump",r.FIRST_TIME_EXTERNAL_CANVAS="first_time_external_canvas_speedbump",r.CANVAS_PAGE_EMPTY_STATE="canvas_page_empty_state",r.CANVAS_ACTIVITY_HISTORY="canvas_activity_history",r.CANVAS_NUX_COACHMARK="canvas_nux_coachmark",r.CANVAS_SYNTHETIC_VIEW_HEADER="canvas_synthetic_view_header",r.CANVAS_SYNTHETIC_VIEW_HERO_BANNER="canvas_synthetic_view_hero_banner",r.CANVAS_PAGE_VIEW_ONLY="canvas_page_view_only",r.CANVAS_SYNTHETIC_VIEW="canvas_synthetic_view",r.CANVAS_BROWSER_UPSELL_BANNER="canvas_browser_upsell_banner",r.CANVAS_EDITOR="canvas_editor",r.CANVAS_CREATE_MENU="canvas_create_menu",r.CANVAS_RESURRECTED_USER_WELCOME_CTA="canvas_resurrected_user_welcome_cta",r.CANVAS_PEEK="canvas_peek",r.QUIP_BROWSER_FULL_PAGE_BANNER="quip_browser_banner_full_page",r.QUIP_BROWSER_LIST_VIEW_BANNER="quip_browser_banner_list",r.QUIP_BROWSER_TRIAL_BANNER="quip_browser_banner_trial",r.QUIP_BROWSER_FREE_BANNER="quip_browser_banner_free",r.QUIP_BROWSER_FREE_BANNER_NEW_TEAMS_EXP="quip_browser_banner_free_new_teams_exp",r.QUIP_LOADING_ERROR_AFTER_DELAY="quip_loading_error_after_delay",r.QUIP_LOADING_ERROR_NO_DELAY="quip_loading_error_no_delay",r.QUIP_NETWORK_LOADING_ERROR="quip_network_loading_error",r.QUIP_SYSTEM_MESSAGE_PREFIX="canvas_system_msg_",r.MESSAGE_ACTIONS_MENU_OVERFLOW_MENU="message_actions_menu_overflow_menu",r.MESSAGE_ACTIONS_MENU_CONTEXT_MENU="message_actions_menu_context_menu",r.WORKFLOW_BUILDER_FREEMIUM="workflow_builder_freemium",r.WORKFLOW_BUILDER_TRIALS="workflow_builder_trials",r.UNLIMITED_WORKFLOWS_TRIAL_OFFER_MODAL="unlimited_workflows_trial_offer_modal",r.UNLIMITED_APPS_TRIAL_OFFER_MODAL="unlimited_apps_trial_offer_modal",r.MAIN_WINDOW="main_window",r.CHILD_WINDOW="child_window",r.EXTERNAL_LIST="external_list",r.FIRST_TIME_EXTERNAL_LIST="first_time_external_list_speedbump",r.MESSAGE_ATTACH_FILE="message_attach_file",r.LIST_CREATE_MENU="list_create_menu",r.SIDEBAR_LIST_PEEK="sidebar_list_peek",r.ARCHIVE_CHANNEL_PERMISSION="archive_channel_permission",r.INTERNAL_INVITE_PERMISSION="internal_invite_to_channel_permission",r.EXTERNAL_INVITE_PERMISSION="external_invite_to_channel_permission",r.SLACK_AI_PURCHASE_MODAL="slack_ai_purchase_modal",r.SLACK_AI_TRIAL_AWARENESS_SIDEBAR_BADGE_MODAL="slack_ai_trial_awareness_sidebar_badge_modal",r.SLACK_AI_IN_CHANNEL_BANNER="slack_ai_in_channel_banner",r.SLACK_AI_SEARCH_BANNER="slack_ai_search_banner",r.SLACK_AI_OTHER_DAY_BANNER="slack_ai_other_day_banner",r.SLACK_AI_LAST_DAY_BANNER="slack_ai_last_day_banner",r.SLACK_AI_CANCELLATION_REQUESTED="slack_ai_cancellation_requested",r.SLACK_AI_ACTIVE_TRIAL="slack_ai_active_trial",r.SLACK_AI_NUX="slack_ai_nux",r.SLACK_AI_PROFILE_SUMMARY_PROFILE="slack_ai_profile_summary_profile",r.SLACK_AI_PROFILE_SUMMARY_HOVERCARD="slack_ai_profile_summary_hovercard",r.SLACK_AI_PROFILE_SUMMARY_EMPTY_IM="slack_ai_profile_summary_empty_im",r.CREATOR_GUIDED_SETUP="creator_guided_setup",r.CREATOR_GUIDED_SETUP_PRO_TRIAL="creator_guided_setup_pro_trial",r.CREATOR_GUIDED_SETUP_PLUS_TRIAL="creator_guided_setup_plus_trial",r.CREATOR_GUIDED_SETUP_PAID_PRO="creator_guided_setup_paid_pro",r.CREATOR_GUIDED_SETUP_BUSINESS_PLUS="creator_guided_setup_business_plus",r.SOLUTIONS_GALLERY="solutions_gallery",r.PRO_S2P_FROM_PRICING="pro_straight_to_paid_from_pricing",r.PLUS_S2P_FROM_PRICING="plus_straight_to_paid_from_pricing",r.PRO_TRIAL_FROM_PRICING="pro_trial_from_pricing",r.PLUS_TRIAL_FROM_PRICING="plus_trial_from_pricing",r.FREE_FROM_PRICING="free_from_pricing",r.DEFAULT_MOBILE_WEB_SIGNUP="default_mobile_web_signup",r.MOBILE_WEB_OPTIMIZATIONS="mobile_web_optimizations",r.AI_SETUP_FLOW="ai_setup_flow",r.AI_WORKSPACE_TEAM_CREATION="ai_workspace_team_creation",r.AI_WORKSPACE_TEAM_CREATION_WITH_WELCOME_MODAL="ai_workspace_team_creation_with_welcome_modal",r.AI_WORKSPACE_TEAM_CREATION_WITHOUT_WELCOME_MODAL="ai_workspace_team_creation_without_welcome_modal",r.FREE_TEAM_NY_PROMO_25_TREATMENT_A="free_team_ny_promo_25_treatment_a",r.FREE_TEAM_NY_PROMO_25_TREATMENT_B="free_team_ny_promo_25_treatment_b",r.SLACK_AI_ADDON_DISCOUNT="slack_ai_addon_discount",r.STRAIGHT_TO_PAID_SIDEBAR_MENU_HEADER_V2="straight_to_paid_sidebar_menu_header_v2",r.INBOX_SUGGESTIONS_CREATE_CHANNEL_MODAL="inbox_suggestions_create_channel_modal",r.CHANNEL_JOIN_BANNER="channel_join_banner",r.CHANNEL_JOIN_PILL="channel_join_pill",r.UNIFIED_FILES_CREATE_MENU="unified_files_create_menu",r.UNIFIED_FILES_PEEK_CREATE="unified_files_peek_create",r.UNIFIED_FILES_EMPTY_STATE_CANVAS="unified_files_empty_state_canvas",r.UNIFIED_FILES_EMPTY_STATE_ALL_FILES="unified_files_empty_state_all_files",r.UNIFIED_FILES_TEMPLATES_MODULE="unified_files_templates_module",r.SALESFORCE_PLUS_TRIAL_GUIDE="salesforce_plus_trial_guide",r.PNP_DISCOUNT_PROMO="pnp_discount_promo",r.PNP_DISCOUNT_COHORT_FREE="pnp_discount_cohort_free",r.PNP_DISCOUNT_COHORT_PRO="pnp_discount_cohort_pro",r.PNP_DISCOUNT_COHORT_PRO_AI="pnp_discount_cohort_pro_ai",r.PNP_DISCOUNT_COHORT_BUS="pnp_discount_cohort_bus",r.PNP_DISCOUNT_COHORT_BUS_AI="pnp_discount_cohort_bus_ai",r.AI_ANALYTICS_ALL="ai_analytics_all",r.AI_ANALYTICS_CHANNEL_SUMMARIES="ai_analytics_channel_summaries",r.AI_ANALYTICS_THREAD_SUMMARIES="ai_analytics_thread_summaries",r.AI_ANALYTICS_KW_SEARCH_SUMMARIES="ai_analytics_kw_search_summaries",r.AI_ANALYTICS_NL_SEARCH_SUMMARIES="ai_analytics_nl_search_summaries",r.AI_ANALYTICS_SEARCH_SUMMARIES="ai_analytics_search_summaries",r.AI_ANALYTICS_RECAP="ai_analytics_recap",r.AI_ANALYTICS_HUDDLE_SUMMARIES="ai_analytics_huddle_summaries",r.AI_ANALYTICS_FILE_SUMMARIES="ai_analytics_file_summaries",r.AI_ANALYTICS_CANVAS_AI="ai_analytics_canvas_ai",r.AI_TRANSLATIONS="ai_translations",r.AI_WORKFLOWS="ai_workflows",r.AI_EXPLAIN="ai_explain",r.AI_ANALYTICS_SLACKBOT="ai_analytics_slackbot",r.AI_ANALYTICS_ALL_SEARCH="ai_analytics_all_search",r.SLACK_CONNECT_TRIAL_END_PROMO="slack_connect_trial_end_promo",r.SLACK_CONNECT_TRIAL_LAST_DAY_OF_TRIAL="slack_connect_trial_last_day_of_trial",r.SLACK_CONNECT_TRIAL_END_OF_TRIAL="slack_connect_trial_end_of_trial",r.SLACK_CONNECT_TRIAL_END_SHARED_CHANNEL_USER="slack_connect_trial_end_shared_channel_user",r.SLACK_CONNECT_TRIAL_END_GENERAL_USER="slack_connect_trial_end_general_user",r.SLACK_CONNECT_EXTERNAL_CHANNEL_DISCONNECTION_WARNING_BANNER="slack_connect_external_channel_disconnection_warning_banner",r.JOINER_CHANNEL_RECOMMENDATIONS_BY_MANAGER_ID="joiner_channel_recommendations_by_manager_id",r.JOINER_RECENT_CHANNEL_CONTENT_SIMPLE="joiner_recent_channel_content_simple",r.JOINER_RECENT_CHANNEL_CONTENT_EXPANDED_AI="joiner_recent_channel_content_expanded_ai",r.JOINER_PERSONALIZED_LAUNCHPAD_WITH_MODAL="joiner_personalized_launchpad_with_modal",r.JOINER_PERSONALIZED_LAUNCHPAD_WITH_SETUP_FLOW="joiner_personalized_launchpad_with_setup_flow",r.JOINER_PERSONALIZED_LAUNCHPAD_TOPICS_WITH_BADGES="joiner_personalized_launchpad_topics_with_badges",r.JOINER_PERSONALIZED_LAUNCHPAD_TOPICS_SELECTABLE_SETUP_FLOW="joiner_personalized_launchpad_topics_selectable_setup_flow",r.JOINER_PERSONALIZED_LAUNCHPAD_TOPICS_SKIPPABLE_SETUP_FLOW="joiner_personalized_launchpad_topics_skippable_setup_flow",r.PROJECTS_TOPIC_BADGE="projects_topic_badge",r.ORGANIZATION_ANNOUNCEMENTS_TOPIC_BADGE="organization_announcements_topic_badge",r.TEAM_COLLABORATION_TOPIC_BADGE="team_collaboration_topic_badge",r.PLACES_TO_ASK_QUESTIONS_TOPIC_BADGE="places_to_ask_questiocns_topic_badge",r.SOCIAL_TOPIC_BADGE="social_topic_badge",r.PROJECTS_TOPIC_CARD="projects_topic_card",r.ORGANIZATION_ANNOUNCEMENTS_TOPIC_CARD="organization_announcements_topic_card",r.TEAM_COLLABORATION_TOPIC_CARD="team_collaboration_topic_card",r.PLACES_TO_ASK_QUESTIONS_TOPIC_CARD="places_to_ask_questions_topic_card",r.SOCIAL_TOPIC_CARD="social_topic_card",r.SLACK_FIRST_CRM="slack_first_crm",r.SLACK_FIRST_CRM_NO_CONTACTS="slack_first_crm_no_contacts",r.SOCIAL_TEAM_SEGMENTATION="social_team_segmentation",r.EDU_TEAM_SEGMENTATION="edu_team_segmentation",r.FREE_TO_PLUS_TRIAL="free_to_plus_trial",r.PRO_TO_PLUS_TRIAL="pro_to_plus_trial",r.USER_CAN_PURCHASE="user_can_purchase",r.USER_CANNOT_PURCHASE="user_cannot_purchase",r.AI_SEARCH_SAMPLE_TRIGGER="ai_search_sample_trigger",r.AI_SEARCH_TRIGGER="ai_search_trigger",r.UPDATE_AI_SETTINGS_TOAST_TRIGGER="update_ai_settings_toast_trigger",r.OFFER_MODAL_TRIGGER="offer_modal_trigger",r.SIDEBAR_MENU_HEADER_NEW_YEAR_26_FREE_TEAMS="sidebar_menu_header_new_year_26_free_teams",r.SIDEBAR_MENU_HEADER_NEW_YEAR_26_PRO_TEAMS="sidebar_menu_header_new_year_26_pro_teams",r.CHANNEL_HEADER_NOTIFICATIONS_BUTTON="channel_header_notifications_button",r.RESURRECTED_USER_WELCOME_SIDEBAR_ENTRY_BADGE_VARIANT="resurrected_user_welcome_sidebar_entry_badge_variant",r.RESURRECTED_USER_WELCOME_SIDEBAR_ENTRY_OLD_VARIANT="resurrected_user_welcome_sidebar_entry_old_variant",r.RESURRECTED_USER_WELCOME_AI_CHANNEL_SUMMARY="resurrected_user_welcome_ai_channel_summary",r.RESURRECTED_USER_WELCOME_AI_CHANNEL_SUMMARY_SUCCESS="resurrected_user_welcome_ai_channel_summary_success",r.RESURRECTED_USER_WELCOME_AI_CHANNEL_SUMMARY_ERROR="resurrected_user_welcome_ai_channel_summary_error",r.RESURRECTED_USER_WELCOME_PRIORITY_CHANNELS_ERROR="resurrected_user_welcome_priority_channels_error",r.RESURRECTED_USER_WELCOME_PRIORITY_CHANNELS_EMPTY="resurrected_user_welcome_priority_channels_empty",r.IS_INVITER_OR_MANAGER="is_inviter_or_manager",r.IS_INVITER="is_inviter",r.IS_MANAGER="is_manager",r.IS_JOINER="is_joiner",r.JOINER_REPLY_NUDGE="joiner_reply_nudge",r.IS_TEAM_MEMBER="is_team_member",r.FREE_TO_PLUS_UPGRADE="free_to_plus_upgrade",r.PRO_TO_PLUS_UPGRADE="pro_to_plus_upgrade",r.FREE_TO_PRO_UPGRADE="free_to_pro_upgrade",r.GET_STARTED_OPT_INTL_NEW_USER_TREATMENT_WITH_MODAL="get_started_opt_intl_new_user_treatment_with_modal",r.GET_STARTED_OPT_INTL_NEW_USER_TREATMENT="get_started_opt_intl_new_user_treatment",r.GET_STARTED_OPT_INTL_EXISTING_USER_GROUP_TREATMENT="get_started_opt_intl_existing_user_group_treatment",r.GET_STARTED_OPT_INTL_NEW_USER_CONTROL="get_started_opt_intl_new_user_control",r.GET_STARTED_OPT_INTL_EXISTING_USER_GROUP_CONTROL="get_started_opt_intl_existing_user_group_control",r.SEASONAL_SLACK_DELIGHT_SIDEBAR_MENU_HEADER_BADGE="seasonal_slack_delight_sidebar_menu_header_badge",r.SEASONAL_SLACK_DELIGHT_SIDEBAR_MENU_HEADER_PEEK_CONTENT="seasonal_slack_delight_sidebar_menu_header_peek_content",r.SEASONAL_SLACK_DELIGHT_PEEK_CONTENT_HUDDLE="seasonal_slack_delight_peek_content_huddle",r.SEASONAL_SLACK_DELIGHT_PEEK_CONTENT_EMOJIS="seasonal_slack_delight_peek_content_emojis",r.SEASONAL_SLACK_DELIGHT_PEEK_CONTENT_THEMES="seasonal_slack_delight_peek_content_themes",r.SEASONAL_SLACK_DELIGHT_PEEK_CONTENT_SURPRISE_ME="seasonal_slack_delight_peek_content_surprise_me",r.SEASONAL_SLACK_DELIGHT_PEEK_CONTENT_UNDO_THEME_CHANGE="seasonal_slack_delight_peek_content_undo_theme_change",r.SEASONAL_SLACK_DELIGHT_JANUARY_SIDEBAR_LINK_NEW_YEAR="seasonal_slack_delight_january_sidebar_link_new_year",r.SEASONAL_SLACK_DELIGHT_JANUARY_SIDEBAR_LINK_SEND_CARD="seasonal_slack_delight_january_sidebar_link_send_card",r.SEASONAL_SLACK_DELIGHT_GREETING_CARD_SLACKBOT="seasonal_slack_delight_greeting_card_slackbot",r.SEASONAL_SLACK_DELIGHT_GREETING_CARD_USER="seasonal_slack_delight_greeting_card_user",r.MESSAGE_LIMIT_SIDEBAR_CTA="message_limit_sidebar_cta",r.MESSAGE_LIMIT_SIDEBAR_CTA_PEEK="message_limit_sidebar_cta_peek",r.CUSTOM_STATUS_MODAL_STATUS_SELECTED="custom_status_modal_status_selected",r.CUSTOM_STATUS_MODAL_STATUS_LIST="custom_status_modal_status_list",r.SIDEBAR_ONBOARDING_TASKS="sidebar_onboarding_tasks",r.INPRODUCT_TEAM_CREATION_PRO="inproduct_team_creation_pro",r.INPRODUCT_TEAM_CREATION_BUSINESS_PLUS="inproduct_team_creation_business_plus",r.INPRODUCT_TEAM_CREATION_CONTROL="inproduct_team_creation_control",r.INVITE_ENTRYPOINTS_SMALL_TENURED="invite_entrypoints_small_tenured",r.IS_SELECTED_USER_FOR_DM_PARTY="is_selected_user_for_dm_party",r.IS_INVITEE_JOINER_FOR_DM_PARTY="is_invitee_joiner_for_dm_party",r.SLACKBOT_COMING_SOON_FUTURE_SWITCH="slackbot_coming_soon_future_switch",r.SIMPLIFY_WORKSPACE_INVITES_TREATMENT_A="simplify_workspace_invites_treatment_a",r.SIMPLIFY_WORKSPACE_INVITES_TREATMENT_B="simplify_workspace_invites_treatment_b",r.SIMPLIFY_WORKSPACE_INVITES_TREATMENT_C="simplify_workspace_invites_treatment_c",r),f=((i={}).APP_SETTINGS_GENERAL_PAGE="app_settings_general_page",i.APP_SETTINGS_DISTRIBUTE_PAGE="app_settings_distribute_page",i.APP_SETTINGS_DOMAIN_VERIFICATION_PAGE="app_settings_domain_verification_page",i.APP_SETTINGS_SOCKET_MODE_PAGE="app_settings_socket_mode_page",i.APP_SETTINGS_SUBMISSION_PAGE="app_settings_submission_page",i.APP_SETTINGS_SUBMITTED_PAGE="app_settings_submitted_page",i.APP_SETTINGS_MANIFEST_PAGE="app_settings_manifest_page",i.APP_SETTINGS_COLLABORATORS_PAGE="app_settings_collaborators_page",i.APP_SETTINGS_FUNCTIONS_PAGE="app_settings_functions_page",i.APP_SETTINGS_SUBMISSION_LISTING_PAGE="app_settings_submission_listing_page",i.APP_SETTINGS_SUBMISSION_SCOPES_PAGE="app_settings_submission_scopes_page",i.APP_SETTINGS_SUBMISSION_SECURITY_PAGE="app_settings_submission_security_page",i.APP_SETTINGS_SUBMISSION_TESTING_PAGE="app_settings_submission_testing_page",i.APP_SETTINGS_SUBMISSION_AUTOCHECKS_PAGE="app_settings_submission_autochecks_page",i.APP_SETTINGS_APP_USER_ID_TRANSLATION_PAGE="app_settings_app_user_id_translation_page",i.APP_SETTINGS_APP_BETA_FEATURES_PAGE="app_settings_app_beta_features_page",i.APP_SETTINGS_RATE_LIMITS_PAGE="app_settings_rate_limits_page",i.APP_SETTINGS_HOME_PAGE="app_settings_home_page",i.APP_SETTINGS_BUILD_PAGE="app_settings_build_page",i.APP_SETTINGS_LOGS_PAGE="app_settings_logs_page",i.APP_SETTINGS_OAUTH_PAGE="app_settings_oauth_page",i.APP_SYNTHETIC_VIEW="app_synthetic_view",i.PLANS_PAGE="plans_page",i.WORKSPACE_APPS_MANAGE_ACCESS_LIST="workspace_apps_manage_access_list",i.MANAGE_SHARED_CHANNELS_MODAL="manage_shared_channels_modal",i.ACCEPT_SHARED_CHANNEL_INVITE_FLOW="accept_shared_channel_invite_flow",i.ACCEPT_DM_INVITE_FLOW="accept_dm_invite_flow",i.ENTERPRISE_ORG_DASHBOARD="enterprise_org_dashboard",i.WORKSPACE_ADMIN_SETTINGS="workspace_admin_settings",i.SLACK_CONNECT_PAGE="slack_connect_page",i.SLACK_CONNECT_UNVERIFIED_EMAIL_PAGE="slack_connect_unverified_email_page",i.SLACK_CONNECT_HUB="slack_connect_hub",i.SLACK_CONNECT_HUB_CONNECTIONS="slack_connect_hub_connections",i.SLACK_CONNECT_HUB_ORGANIZATION="slack_connect_hub_organization",i.SLACK_CONNECT_HUB_ONBOARDING="slack_connect_hub_onboarding",i.SLACK_CONNECT_HUB_WITHOUT_CONNECTIONS="slack_connect_hub_without_connections",i.EXTERNAL_ORGANIZATIONS="external_organizations",i.EXTERNAL_ORGANIZATION="external_organization",i.EXTERNAL_INVITATIONS="external_invitations",i.ADMIN_ANALYTICS_ADMIN_SITE_OVERVIEW="admin_analytics_admin_site_overview",i.ADMIN_ANALYTICS_ADMIN_SITE_MEMBERS="admin_analytics_admin_site_members",i.ADMIN_ANALYTICS_ADMIN_SITE_CHANNELS="admin_analytics_admin_site_channels",i.ADMIN_ANALYTICS_ADMIN_SITE_TEAMS="admin_analytics_admin_site_teams",i.ADMIN_ANALYTICS_ADMIN_SITE_APPS="admin_analytics_admin_site_apps",i.ADMIN_ANALYTICS_ADMIN_SITE_CLIPS="admin_analytics_admin_site_clips",i.ADMIN_ANALYTICS_ADMIN_SITE_CANVAS="admin_analytics_admin_site_canvas",i.ADMIN_ANALYTICS_ADMIN_SITE_HUDDLES="admin_analytics_admin_site_huddles",i.ADMIN_ANALYTICS_ADMIN_SITE_WORKFLOWS="admin_analytics_admin_site_workflows",i.ADMIN_ANALYTICS_ADMIN_SITE_LISTS="admin_analytics_admin_site_lists",i.ADMIN_ANALYTICS_TEAM_SITE_OVERVIEW="admin_analytics_team_site_overview",i.ADMIN_ANALYTICS_TEAM_SITE_MEMBERS="admin_analytics_team_site_members",i.ADMIN_ANALYTICS_TEAM_SITE_CHANNELS="admin_analytics_team_site_channels",i.ADMIN_ANALYTICS_TEAM_SITE_APPS="admin_analytics_team_site_apps",i.ADMIN_ANALYTICS_TEAM_SITE_SLACK_AI="admin_analytics_team_site_slack_ai",i.ADMIN_FLAGGED_CONTENT="admin_flagged_content",i.ADMIN_FLAGGED_CONTENT_HISTORY="admin_flagged_content_history",i.ADMIN_FLAGGED_CONTENT_DETAILS="admin_flagged_content_details",i.ADMIN_FLAGGED_CONTENT_THREAD="admin_flagged_content_thread",i.ADMIN_BILLING_PAYMENT_METHODS="admin_billing_payment_methods",i.ADMIN_BILLING_PAYMENT_FAILED="admin_billing_payment_failed",i.ADMIN_BILLING_SETTINGS="billing_settings_tab",i.ADMIN_BILLING_HISTORY="billing_history_tab",i.ADMIN_BILLING_CHANGES="billing_changes_tab",i.INSTALLED_APPS="installed_apps",i.EXPORT_APPS="export_apps",i.PUBLISHED_WORKFLOWS="published_workflows",i.ADMIN_ADVISOR="admin_advisor",i.ADMIN_ATTACHMENTS="admnin_attachments",i.ADMIN_RECOMMENDED_APPS_PAGE="admin_recommended_apps_page",i.ADMIN_DATA_MONITORING_OVERVIEW="admin_data_monitoring_overview",i.ACTIVITY_TAB_PAGE="activity_tab_page",i.ACTIVITY_TAB_PEEK="activity_tab_peek",i.DMS_TAB_PAGE="dms_tab_page",i.DMS_TAB_PEEK="dms_tab_peek",i.SAVED_FOR_LATER_PAGE="saved_for_later_page",i.SAVED_FOR_LATER_PEEK="saved_for_later_peek",i.PRO_LEARN_MORE="plans_pro_page",i.PLUS_LEARN_MORE="plans_businessplus_page",i.APPS_BROWSER="apps_browser",i.CHANNEL_BROWSER="channel_browser",i.FILE_BROWSER="file_browser",i.CHANNEL_FILES="channel_files",i.CHANNEL_WORKFLOWS="channel_workflows",i.PEOPLE_BROWSER="people_browser",i.USER_GROUP_BROWSER="user_group_browser",i.WORKFLOW_GALLERY="workflow_gallery",i.WORKFLOWS_MANAGED_BY_YOU_GALLERY="workflows_managed_by_you_gallery",i.SLACKBOT_AUTOMATIONS="slackbot_automations",i.YOUR_WORKFLOW_TEMPLATES_GALLERY="your_workflow_templates_gallery",i.TEMPLATE_GALLERY="template_gallery",i.EXTERNAL_WORKSPACE_CHANNEL_BROWSER="external_workspace_channel_browser",i.EXTERNAL_WORKSPACE_PEOPLE_BROWSER="external_workspace_people_browser",i.USERGROUP_CHANNEL_BROWSER="usergroup_channel_browser",i.USERGROUP_PEOPLE_BROWSER="usergroup_people_browser",i.SALES_LIST_VIEW_BROWSER="sales_list_view_browser",i.RECORD_RELATED_LISTS_BROWSER="record_related_lists_browser",i.UNIFIED_FILES_BROWSER_ALL="unfied_files_browser_all",i.UNIFIED_FILES_BROWSER_CANVASES="unfied_files_browser_canvases",i.UNIFIED_FILES_BROWSER_LISTS="unfied_files_browser_lists",i.UNIFIED_FILES_BROWSER_3P="unfied_files_browser_3p",i.AGENTFORCE_BROWSER="agentforce_browser",i.AGENTEXCHANGE_BROWSER="agentexchange_browser",i.MY_AGENTS_BROWSER="my_agents_browser",i.SIDEKICKS_BROWSER="sidekicks_browser",i.YOUR_AGENTS_BROWSER="your_agents_browser",i.UNIFIED_FILE_PICKER_ALL_FILES="unified_file_picker_all_files",i.UNIFIED_FILE_PICKER_LISTS="unified_file_picker_lists",i.UNIFIED_FILE_PICKER_CANVASES="unified_file_picker_canvases",i.CHANNEL_TABS_FILES_PEEK="channel_tabs_files_peek",i.CHANNEL_TABS_WORKFLOWS="channel_tabs_workflows",i.CHANNEL_TABS_WORKFLOWS_PEEK="channel_workflows_peek",i.CHANNEL_TABS_PINS="channel_tabs_pins",i.CHANNEL_TABS_PINS_PEEK="channel_tabs_pins_peek",i.CHANNEL_TABS_BOOKMARKS="channel_tabs_bookmarks",i.CHANNEL_TABS_BOOKMARKS_PEEK="channel_tabs_bookmarks_peek",i.CHANNEL_TABS_CHANNEL_FOLDER="channel_tabs_channel_folder",i.CHANNEL_TABS_CHANNEL_FOLDER_PEEK="channel_tabs_channel_folder_peek",i.CHANNEL_TABS_HUDDLES="channel_tabs_huddles",i.SALES_BULK_GRID="sales_bulk_grid",i.SALES_ADMIN_SETTINGS="sales_admin_settings",i.SEARCH="search",i.MIXED_RESULTS_SEARCH="mixed_results_search",i.UNIFIED_SEARCH="unified_search",i.FILE_SEARCH="file_search",i.MESSAGE_SEARCH="message_search",i.PEOPLE_SEARCH="people_search",i.CHANNEL_SEARCH="channel_search",i.CANVAS_SEARCH="canvas_search",i.LISTS_SEARCH="lists_search",i.SLACK_AI_SEARCH="slack_ai_search",i.SALESFORCE_SEARCH="salesforce_search",i.EXTERNAL_SEARCH="external_search",i.SEARCH_IN_CHANNEL="search_in_channel",i.HUDDLES_SYNTHETIC_PAGE="huddles_synthetic_page",i.TODAY_PAGE="today_page",i.MY_TODOS_PAGE="my_todos_page",i.ASSIGNED_TASKS_PAGE="assigned_tasks_page",i.MAIN_MENU="main_menu",i.USER_MENU="user_menu",i.HUBBLE_MEGAPHONE_HOME_PAGE="hubble_megaphone_home_page",i.HUBBLE_MEGAPHONE_SPACE_PAGE="hubble_megaphone_space_page",i.HUBBLE_MEGAPHONE_NOTIFICATION_PAGE="hubble_megaphone_notification_page",i.HUBBLE_MEGAPHONE_REDUCER_PAGE="hubble_megaphone_reducer_page",i.CANVAS_SYNTHETIC_VIEW="canvas_synthetic_view",i.CANVAS_EDITOR="canvas_editor",i.CANVAS_MODAL="canvas_modal",i.LISTS_SYNTHETIC_VIEW="lists_synthetic_view",i.RECENTLY_VIEWED_FILES="files_recently_viewed",i.FILES_SHARED_WITH_YOU="files_shared_with_you",i.FILES_CREATED_BY_YOU="files_created_by_you",i.RECENTLY_VIEWED_WORKFLOWS="workflows_recently_viewed",i.RECENTLY_VIEWED_CANVASES="canvases_recently_viewed",i.CANVASES_SHARED_WITH_YOU="canvases_shared_with_you",i.CANVASES_CREATED_BY_YOU="canvases_created_by_you",i.WORKFLOW_BUILDER_FREEMIUM_TRIAL_PUBLISH="workflow_builder_freemium_trial_publish",i.WORKFLOW_BUILDER_FREEMIUM_TRIAL_START="workflow_builder_freemium_trial_start",i.WORKFLOW_BUILDER_LIST_HEADER="workflow_builder_list_header",i.WORKFLOW_BUILDER_EDITOR_HEADER="workflow_builder_editor_header",i.ALL_WORKFLOWS_VIEW="all_workflows_view",i.WORKFLOW_BUILDER_TEMPLATES_MODAL="workflow_builder_templates_modal",i.WORKFLOW_TEMPLATES="workflow_templates",i.WORKFLOW_DETAILS_VIEW="workflow_details_view",i.CUSTOM_STATUS_MODAL="custom_status_modal",i.AI_APPS_HISTORY="ai_apps_history",i.SOLUTIONS_VIEW="solutions_view",i.YOUR_SOLUTIONS_VIEW="your_solutions_view",i.YOUR_COMPANY_SOLUTIONS_VIEW="your_company_solutions_view",i.SLACK_AI_RECAP="slack_ai_recap",i.SLACKBOTAI_PAYWALL_SUNROOF="slackbotai_paywall_sunroof",i.SLACKBOTAI_PAYWALL_DM_BANNER="slackbotai_paywall_dm_banner",i.SLACKBOTAI_PAYWALL_WARNING="slackbotai_paywall_warning",i.SLACKBOTAI_PAYWALL_HISTORY_ROADBLOCK="slackbotai_paywall_history_roadblock",i.SLACKBOTAI_PAYWALL_DM_PAYWALL="slackbotai_paywall_dm_paywall",i.AGENTS_VIEW="agents_view",i.YOUR_AGENTS_VIEW="your_agents_view",i.ADD_AGENT_TO_CHANNEL_VIEW="add_agent_to_channel_view",i.WORKSPACE_WEAVER_HOME_PAGE="WORKSPACE_WEAVER_HOME_PAGE",i.WORKSPACE_WEAVER_CREATE_WORKSPACE_PAGE="WORKSPACE_WEAVER_CREATE_WORKSPACE_PAGE",i.WORK_OBJECT_FLEXPANE_AUTH="WORK_OBJECT_FLEXPANE_AUTH",i.WORK_OBJECT_FLEXPANE_DETAILS="WORK_OBJECT_FLEXPANE_DETAILS",i.WORK_OBJECT_FLEXPANE_THREADS="WORK_OBJECT_FLEXPANE_THREADS",i.WORK_OBJECT_FLEXPANE_ERROR_ACTIONS="WORK_OBJECT_FLEXPANE_ERROR_ACTIONS",i.APP_DIRECTORY_DETAIL_PAGE="app_directory_detail_page",i.SLACK_MARKETPLACE_HOME_PAGE="slack_marketplace_home_page",i.SLACK_MARKETPLACE_CATEGORY_PAGE="slack_marketplace_home_page",i.SLACK_MARKETPLACE_SEARCH_PAGE="slack_marketplace_search_page",i.SLACK_MARKETPLACE_AGENTS_PAGE="slack_marketplace_agents_page",i.SLACK_MARKETPLACE_APPROVED_APPS_PAGE="slack_marketplace_agents_page",i.AUTO_SLACK_LAUNCHPAD="AUTO_SLACK_LAUNCHPAD",i.SALESFORCE_RECORD_RELATED_CONVERSATIONS_PRIMARY_TAB="salesforce_record_related_conversations_primary_tab",i.SALESFORCE_RECORD_RELATED_CONVERSATIONS_SECONDARY_TAB="salesforce_record_related_conversations_secondary_tab",i.SALESFORCE_RECORD_RELATED_CONVERSATIONS_CHILD_TAB="salesforce_record_related_conversations_see_all_link",i.SLACKBOTAI_NUX_SPLITVIEW="slackbotai_nux_splitview",i.SLACKBOTAI_NUX_PROMPT="slackbotai_nux_prompt",i.SLACKBOTAI_NUX_REENGAGEMENT_SPARKLES="slackbotai_nux_reengagement_sparkles",i),_=((o={}).LEFT_ON_REVIEW_STEP="left_on_review_step",o.LEFT_WHILE_LOADING="left_while_loading",o.LEFT_WITH_ADDRESS_ERROR="left_with_address_error",o.LEFT_WITH_COMPLETED_UPE="left_with_completed_upe",o.LEFT_WITH_FULL_ADDRESS="left_with_full_address",o.LEFT_WITH_NO_ADDRESS="left_with_no_address",o.LEFT_WITH_ONLY_COUNTRY="left_with_only_country",o.LEFT_WITH_PARTIAL_ADDRESS="left_with_partial_address",o.LEFT_WITH_PARTIAL_UPE="left_with_partial_upe",o.LEFT_WITH_PAYMENT_ERROR="left_with_payment_error",o.LEFT_WITH_SAVED_PAYMENT="left_with_saved_payment",o.LEFT_WITH_SURETAX_ERROR="left_with_suretax_error",o.SLACK_AI_AUTO_CHARGE_TRIAL="slack_ai_auto_charge_trial",o.SLACK_AI_NO_COMMIT_TRIAL="slack_ai_no_commit_trial",o),p=((s={}).CHANNEL_SELECT="channel_select",s.QUICK_REACTION="quick_reaction",s.QUICK_REACTION_SEARCH="quick_reaction_search",s.CHANNEL_MEETING_INVITE_HEADER_BUTTON="channel_meeting_invite_header_button",s.CHANNEL_MEETING_INVITE_SHORTCUT_ITEM="channel_meeting_invite_shortcut_item",s.IM_MEETING_INVITE_HEADER_BUTTON="im_meeting_invite_header_button",s.IM_MEETING_INVITE_SHORTCUT_ITEM="im_meeting_invite_shortcut_item",s.THREAD_MEETING_INVITE_HEADER_BUTTON="thread_meeting_invite_header_button",s.THREAD_MEETING_INVITE_SHORTCUT_ITEM="thread_meeting_invite_shortcut_item",s.DOWNMARKET_CRM_ONBOARDING_CONTACT_FLEXPANE_NUX_FLEXPANE_OVERVIEW="downmarket_crm_onboarding_contact_flexpane_nux_flexpane_overview",s.DOWNMARKET_CRM_ONBOARDING_CONTACT_FLEXPANE_NUX_FOOTER_ACTIONS="downmarket_crm_onboarding_contact_flexpane_nux_footer_actions",s.DOWNMARKET_CRM_ONBOARDING_CONTACT_FLEXPANE_NUX_SLACKBOT_SECTION="downmarket_crm_onboarding_contact_flexpane_nux_slackbot_section",s.DOWNMARKET_CRM_ONBOARDING_CONTACT_FLEXPANE_NUX_NEW_CONTACT_BUTTON="downmarket_crm_onboarding_contact_flexpane_nux_new_contact_button",s.WORKFLOWS_REACJI_TRIGGER_EMOJI_PICKER_EMOJI="workflows_reacji_trigger_emoji_picker_emoji",s.WORKFLOWS_REACJI_TRIGGER_EMOJI_PICKER_SECTION="workflows_reacji_trigger_emoji_picker_section",s.WORKFLOWS_AI_STEP_DEFAULT_MODAL="workflows_ai_step_default_modal",s.WORKFLOWS_AI_STEP_PROMPT_EDITOR_MODAL="workflows_ai_step_prompt_editor_modal",s.WORKFLOWS_TEST_RUN_VARIABLES_MODAL="workflows_test_run_variables_modal",s.PRODUCTIVITY_REACJI="productivity_reacji",s.MPIM_ADD_PEOPLE_DIALOG_CHANNEL="mpim_add_people_dialog_channel",s.MPIM_ADD_PEOPLE_DIALOG_HISTORY="mpim_add_people_dialog_history",s.MPIM_ADD_PEOPLE_DIALOG_AUDIENCE="mpim_add_people_dialog_audience",s.UNKNOWN="unknown",s.SOLUTION_GALLERY_IN_PRODUCT_TRIAL="solutions_gallery_in_product_trial",s.PAGE_HELP_CONTACT="page_help_contact",s.PAGE_HELP_DELETE_PROFILE="page_help_delete_profile",s.PAGE_HOME="page_home",s.PAGE_PRESS="page_press",s.PAGE_DOWNLOADS="page_downloads",s.PAGE_DOWNLOADS_INSTRUCTIONS="page_downloads_instructions",s.PAGE_DOWNLOADS_BETA="page_downloads_beta",s.PAGE_LEGAL="page_legal",s.PAGE_LEGAL_SUBPAGE="page_legal_subpage",s.PAGE_LEGAL_ARCHIVES="page_legal_archives",s.PAGE_SECURITY="page_security",s.PAGE_EVENTS="page_events",s.PAGE_ENTERPRISE="page_enterprise",s.PAGE_ABOUT="page_about",s.PAGE_ABOUT_LEADERSHIP="page_about_leadership",s.PAGE_ABOUT_LEADERSHIP_BIO="page_about_leadership_bio",s.PAGE_FEATURES="page_features",s.PAGE_FEATURES_COMMUNICATION="page_features_communication",s.PAGE_FEATURES_INFORMATION="page_features_information",s.PAGE_FEATURES_WORKFLOW="page_features_workflow",s.PAGE_MARKETING="page_marketing",s.PAGE_ENGINEERING="page_engineering",s.PAGE_CAREERS="page_careers",s.PAGE_CAREERS_DETAIL="page_careers_detail",s.PAGE_BRAND_GUIDELINES="page_brand_guidelines",s.PAGE_CUSTOMER_STORIES="page_customer_stories",s.PAGE_CUSTOMER_STORIES_DETAIL="page_customer_stories_detail",s.PAGE_RELEASE_NOTES="page_release_notes",s.PAGE_SERVICENOW="page_servicenow",s.PAGE_PARTNERS="page_partners",s.PAGE_PARTNERS_MARKETPLACE="page_partners_marketplace",s.PAGE_REFERRAL="page_referral",s.PAGE_GARTNER_SWOT="page_gartner_swot",s.PAGE_LP_GRB="page_lp_grb",s.PAGE_SALES="page_sales",s.PAGE_RESOURCES_SALES_PLAYBOOK_DOWNLOAD="page_resources_sales_playbook_download",s.PAGE_RESOURCES_MARKETING_PLAYBOOK_DOWNLOAD="page_resources_marketing_playbook_download",s.PAGE_RESOURCES_SOFTWARE_DEVELOPMENT_PLAYBOOK_DOWNLOAD="page_resources_software_development_playbook_download",s.PAGE_RESOURCES="page_resources",s.PAGE_RESOURCES_DOOR="page_resources_door",s.PAGE_RESOURCES_TAG="page_resources_tag",s.PAGE_RESOURCES_VIDEO="page_resources_video",s.PAGE_RESOURCES_ARTICLE="page_resources_article",s.PAGE_RESOURCES_MARKETING_AUTOMATION_EBOOK="page_resources_marketing_automation_ebook",s.PAGE_RESOURCES_MARKETING_AUTOMATION_EBOOK_THANKS="page_resources_marketing_automation_ebook_thanks",s.PAGE_WEBINAR="page_webinar",s.PAGE_WEBINAR_HOME="page_webinar_home",s.PAGE_LP_MARKETING_AUTOMATION_EBOOK_DOWNLOAD="page_lp_marketing_automation_ebook_download",s.PAGE_INTERNAL_INTEGRATIONS="page_internal_integrations",s.PAGE_INTERNAL_INTEGRATIONS_CONTACT="page_internal_integrations_contact",s.PAGE_INTERNAL_INTEGRATIONS_CONTACT_SUBMIT="page_internal_integrations_contact_submit",s.PAGE_INTERNAL_INTEGRATIONS_CONTACT_THANKS="page_internal_integrations_contact_thanks",s.PAGE_APPS_CATEGORY_SALES="page_apps_category_sales",s.PAGE_APPS_CATEGORY_MARKETING="page_apps_category_marketing",s.PAGE_APPS_CATEGORY_ESSENTIAL_APPS="page_apps_category_essential_apps",s.PAGE_SOLUTIONS="page_solutions",s.PAGE_SOLUTIONS_CUSTOMER_SUPPORT="page_solutions_customer_support",s.PAGE_SOLUTIONS_ENGINEERING="page_solutions_engineering",s.PAGE_SOLUTIONS_FINANCIAL_SERVICES="page_solutions_financial_services",s.PAGE_SOLUTIONS_HUMAN_RESOURCES="page_solutions_human_resources",s.PAGE_SOLUTIONS_IT="page_solutions_it",s.PAGE_SOLUTIONS_MARKETING="page_solutions_marketing",s.PAGE_SOLUTIONS_MEDIA="page_solutions_media",s.PAGE_SOLUTIONS_PROJECT_MANAGEMENT="page_solutions_project_management",s.PAGE_SOLUTIONS_SALES="page_solutions_sales",s.PAGE_SOLUTIONS_SERVICE="page_solutions_service",s.PAGE_SOLUTIONS_TASK_MANGEMENT="page_solutions_task_mangement",s.PAGE_CAREERS_UNIVERSITY="page_careers_university",s.PAGE_LP_ATLASSIAN_MIGRATION="page_lp_atlassian_migration",s.PAGE_CONTACT_SALES="page_contact_sales",s.PAGE_CONTACT_SALES_SUBMIT="page_contact_sales_submit",s.PAGE_CONTACT_SALES_SUBMIT_FAIL="page_contact_sales_submit_fail",s.PAGE_CONTACT_SALES_JP_SEM="page_contact_sales_jp_sem",s.PAGE_CONTACT_SALES_JP_SEM_SUBMIT="page_contact_sales_jp_sem_submit",s.PAGE_CONTACT_SALES_JP_SEM_SUBMIT_FAIL="page_contact_sales_jp_sem_submit_fail",s.PAGE_ENTERPRISE_SEARCH_DEMO="page_enterprise_search_demo",s.PAGE_ENTERPRISE_SEARCH_DEMO_THANKS="page_enterprise_search_demo_thanks",s.PAGE_SLACK_DEMO="page_slack_demo",s.PAGE_SLACK_SALES_ELEVATE_DEMO="page_slack_sales_elevate_demo",s.PAGE_SLACK_DEMO_SUBMIT="page_slack_demo_submit",s.PAGE_SLACK_DEMO_SUBMIT_FAIL="page_slack_demo_submit_fail",s.PAGE_SLACK_FOR_GOOD="page_slack_for_good",s.PAGE_ENTERPRISE_KEY_MANAGEMENT="page_enterprise_key_management",s.PAGE_LP_TWO="page_lp_two",s.PAGE_LP_THREE="page_lp_three",s.PAGE_SLACKTIPS_HOME="page_slacktips_home",s.PAGE_SLACKTIPS_SINGLE="page_slacktips_single",s.PAGE_SLACKTIPS_CATEGORY="page_slacktips_category",s.PAGE_STATE_OF_WORK="page_state_of_work",s.PAGE_STATE_OF_WORK_SUSAN_DAVID="page_state_of_work_susan_david",s.PAGE_STATE_OF_WORK_SAADIA_ZAHIDI="page_state_of_work_saadia_zahidi",s.PAGE_TEAM_CHAT="page_team_chat",s.PAGE_SLACK_VS_EMAIL="page_slack_vs_email",s.PAGE_SALESFORCE_SLACK_INTEGRATION="page_salesforce_slack_integration",s.PAGE_REMOTE_WORK="page_remote_work",s.PAGE_REMOTE_WORK_ENTERPRISE="page_remote_work_enterprise",s.PAGE_CONTACT_COVID="page_contact_covid",s.PAGE_CONTACT_COVID_THANKS="page_contact_covid_thanks",s.PAGE_TRIALS="page_trials",s.PAGE_DHQ_MAILER="page_dhq_mailer",s.PAGE_HUDDLES="page_huddles",s.PAGE_CANVAS="page_canvas",s.PAGE_FEATURE_DOC_SHARING="page_feature_doc_sharing",s.PAGE_CLIPS="page_clips",s.PAGE_ACCESSIBILITY="page_accessibility",s.PAGE_FEATURE_KNOWLEDGE_SHARING="page_feature_knowledge_sharing",s.PAGE_FEATURE_TEAM_CHAT="page_feature_team_chat",s.PAGE_SCALE="page_scale",s.PAGE_SOLUTIONS_TASK_MANAGEMENT="page_solutions_task_management",s.PAGE_DIGITAL_CAMPUS="page_digital_campus",s.PAGE_MARKETING_HR="page_marketing_hr",s.PAGE_GRB_DISCOVERABLE="page_grb_discoverable",s.PAGE_GRB="page_grb",s.PAGE_SOLUTIONS_TECH="page_solutions_tech",s.PAGE_SOLUTIONS_MAE="page_solutions_mae",s.PAGE_SOLUTIONS_RETAIL="page_solutions_retail",s.PAGE_SOLUTIONS_HLS="page_solutions_hls",s.PAGE_GOVSLACK="page_govslack",s.PAGE_PUBSEC="page_pubsec",s.PAGE_FEATURES_TEMPLATES="page_features_templates",s.PAGE_AGENTFORCE="page_agentforce",s.PAGE_INNOVATIONS="page_innovations",s.PAGE_ROI_CALCULATOR="page_roi_calculator",s.PAGE_SLACK_CHANNELS="page_slack_channels",s.PAGE_ENTERPRISE_SHARED_CHANNELS="page_enterprise_shared_channels",s.PAGE_PAID_VS_FREE="page_paid_vs_free",s.PAGE_AI="page_ai",s.PAGE_FEATURES_LISTS="page_features_lists",s.PAGE_SEM_TEAM_COLLABORATION_TOOL="page_sem_team_collaboration_tool",s.PAGE_SEM_BUSINESS_COMMUNICATION="page_sem_business_communication",s.PAGE_SEM_TEAM_MESSAGING="page_sem_team_messaging",s.PAGE_SEM_WORK_PRODUCTIVITY="page_sem_work_productivity",s.PAGE_MANAGE_PROJECTS="page_manage_projects",s.PAGE_COLLABORATE_EXTERNALLY="page_collaborate_externally",s.PAGE_GRB_MASTERCARD="page_grb_mastercard",s.PAGE_HOME_REVAMP_24="page_home_revamp_24",s.PAGE_HOME_MOBILE_REVAMP="page_home_mobile_revamp",s.PAGE_RUN_EFFECTIVE_MEETINGS="page_run_effective_meetings",s.PAGE_ATLAS="page_atlas",s.PAGE_SLACKBOT="page_slackbot",s.PAGE_BENEFITS_FIND_INFORMATION="page_benefits_find_information",s.PAGE_BENEFITS_GET_ORGANIZED="page_benefits_get_organized",s.PAGE_BENEFITS_WORK_QUICKLY="page_benefits_work_quickly",s.PAGE_WHATS_NEW="page_whats_new",s.PAGE_FRONTIERS="page_frontiers",s.PAGE_FRONTIERS_VENUE="page_frontiers_venue",s.PARTNER_MARKETPLACE_ATLASSIAN="partner_marketplace_atlassian",s.PARTNER_MARKETPLACE_SNYK="partner_marketplace_snyk",s.PARTNER_MARKETPLACE_DEEL="partner_marketplace_deel",s.PARTNER_MARKETPLACE_LUCID="partner_marketplace_lucid",s.PARTNER_MARKETPLACE_MIRO="partner_marketplace_miro",s.PARTNER_MARKETPLACE_ZENDESK="partner_marketplace_zendesk",s.PARTNER_MARKETPLACE_NOTION="partner_marketplace_notion",s.PARTNER_MARKETPLACE_RAMP="partner_marketplace_ramp",s.PARTNER_MARKETPLACE_BREX="partner_marketplace_brex",s.PARTNER_MARKETPLACE_MONDAY="partner_marketplace_monday",s.PARTNER_MARKETPLACE_DRATA="partner_marketplace_drata",s.WELCOME="welcome",s.CHANNELS="channels",s.PLATFORM="platform",s.DIRECT_MESSAGES="direct_messages",s.GETTING_STARTED="getting_started",s.EMAIL="email",s.CONFIRM_EMAIL="confirm_email",s.TEAM_NAME="team_name",s.TEAM_URL="team_url",s.USER_NAME="user_name",s.NOTIFICATIONS="notifications",s.NOTIFICATIONS_REQUEST="notifications_request",s.INVITES="invites",s.CONTACT_REQUEST="contact_request",s.CONTACT_LIST="contact_list",s.CHANNEL_ICON="channel_icon",s.PASSWORD_LINK_OPTION="password_link_option",s.PASSWORD="password",s.FORGET_DOMAIN="forget_domain",s.FORGET_DOMAIN_EMAIL_SENT="forget_domain_email_sent",s.MAGIC_LINK_EMAIL_SENT="magic_link_email_sent",s.PASSWORD_RESET="password_reset",s.PASSWORD_RESET_EMAIL_SENT="password_reset_email_sent",s.FINISHED="finished",s.TASK1="task1",s.TASK2="task2",s.TASK3="task3",s.TASK1_1="task1_1",s.TASK2_1="task2_1",s.TASK3_1="task3_1",s.CLOSE_MENU="close_menu",s.PENDING_INVITES="pending_invites",s.WHITELISTED="whitelisted",s.NOT_WHITELISTED="not_whitelisted",s.ADD_TEAMS="add_teams",s.EMAIL_DETAILS="email_details",s.SSO_PAGE="sso_page",s.ENTERPRISE_SIGNIN="enterprise_signin",s.WORKSPACE_SELECTION="workspace_selection",s.HELP_SCREEN="help_screen",s.JOIN_WORKSPACE="join_workspace",s.ADD_CHANNEL="add_channel",s.ADD_TEAMMATES="add_teammates",s.ADD_MORE_APPS="add_more_apps",s.ADD_EXTERNAL_PEOPLE="add_external_people",s.FULL_NAME="full_name",s.TERMS_OF_SERVICE="terms_of_service",s.NOTIFICATIONS_PROMPT="notifications_prompt",s.ACCOUNT_CREATION_COMPLETION="account_creation_completion",s.DOWNLOAD_IOS_APP="download_ios_app",s.LAUNCH_IOS_APP="launch_ios_app",s.FIND_EMAIL="find_email",s.FIND_INVITE_LINK="find_invite_link",s.EMAIL_AND_PASSWORD="email_and_password",s.APPROVED_DOMAIN_SIGNUP="approved_domain_signup",s.SEND_MAGIC_LINK="send_magic_link",s.TWO_FACTOR_AUTH="two_factor_auth",s.SETUP_JOINER_LAUNCHPAD_STEP_TEAMMATES="setup_joiner_launchpad_step_teammates",s.JOINER_LAUNCHPAD="joiner_launchpad",s.JOINER_LAUNCHPAD_V2="joiner_launchpad_v2",s.ADD_COWORKERS="add_coworkers",s.BROWSE_ALL_PEOPLE="browse_all_people",s.BROWSE_CHANNELS="browse_channels",s.HOME_TAB_NUDGE="home_nudge",s.SOLUTION_GUIDE_POCKET_GUIDE="solution_guide_pocket_guide",s.SOLUTION_GUIDE_MAIN_PAGE="solution_guide_main_page",s.TENURED_TEAM_SOLUTION_GUIDE_PAGE="tenured_team_solution_guide_page",s.BANNER_TRACTOR_WELCOME="banner_tractor_welcome",s.BANNER_TRACTOR_REMINDER="banner_tractor_reminder",s.BANNER_TRACTOR_INVITE="banner_tractor_invite",s.BANNER_TRACTOR_WELCOME_PLACE_ONBOARDING_CHANNEL="banner_tractor_welcome_place_onboarding_channel",s.BANNER_TRACTOR_WELCOME_PLACE="banner_tractor_welcome_place",s.TRACTOR_DIALOG_PROFILE_STEP="tractor_dialog_profile_step",s.TRACTOR_DIALOG_WORKSPACE_STEP="tractor_dialog_workspace_step",s.TRACTOR_DIALOG_INVITE_STEP="tractor_dialog_invite_step",s.TRACTOR_DIALOG_COMPLETED_STEP="tractor_dialog_completed_step",s.UNSUPPORTED_BROWSER="unsupported_browser",s.TRACTOR_CHANNEL="tractor_channel",s.CREDENTIALS="credentials",s.USER_TOS="user_tos",s.USER_INVITE="user_invite",s.SHARED_INVITE_EMAIL="shared_invite_email",s.SHARED_INVITE_ERROR="shared_invite_error",s.EMAIL_DOMAIN_SIGNUP="email_domain_signup",s.ERROR="error",s.JOINER_NAME="joiner_name",s.JOINER_SSO="joiner_sso",s.JOINER_GUEST_USER_ROLE="joiner_guest_user_role",s.JOINER_ERROR="joiner_error",s.JOIN_YOUR_WORKSPACE="join_your_workspace",s.CONFIRM_OAUTH_ACCOUNT="confirm_oauth_account",s.JOINER_UNIFIED_AUTH="joiner_unified_auth",s.JOIN_YOUR_WORKSPACE_CONFIRM_EMAIL="join_your_workspace_confirm_email",s.JOIN_YOUR_WORKSPACE_SUCCESS="join_your_workspace_success",s.API_DOCS="api_docs",s.APPS_ADMIN="apps_admin",s.APPS_EMAIL="apps_email",s.APPS_MANAGE="apps_manage",s.HOME="home",s.HOME_FREE="home_free",s.HOME_TRIAL="home_trial",s.HOMEPAGE="homepage",s.HOMEPAGE_FOOTER="homepage_footer",s.HOMEPAGE_NONPROFIT="homepage_nonprofit",s.HOMEPAGE_SCREENHERO="homepage_screenhero",s.HOMEPAGE_PRODUCT="homepage_product",s.HOMEPAGE_TOS="homepage_tos",s.HOMEPAGE_TRIAL="homepage_trial",s.HOMEPAGE_RESULTS="homepage_results",s.HOMEPAGE_AD="homepage_ad",s.ADMIN_HOME="admin_home",s.ADMIN_USER_GROUPS="admin_user_groups",s.ADMIN_AUTH="admin_auth",s.ADMIN_INVITES="admin_invites",s.ADMIN_BILLING="admin_billing",s.ADMIN_BILLING_HISTORY="admin_billing_history",s.ADMIN_BILLING_PAYMENT_METHODS="admin_billing_payment_methods",s.ADMIN_EMAIL="admin_email",s.ADMIN_FOOTER="admin_footer",s.ADMIN_MENU="admin_menu",s.ADMIN_RESTRICTED="admin_restricted",s.ADMIN_SETTINGS="admin_settings",s.ADMIN_SETTINGS_MSG_RETENTION="admin_settings_msg_retention",s.ADMIN_SETTINGS_FILE_RETENTION="admin_settings_file_retention",s.ADMIN_SETTINGS_SHARED_CHANNELS="admin_settings_shared_channels",s.ADMIN_SETTINGS_USER_GROUPS="admin_settings_user_groups",s.ADMIN_SETTINGS_TEAM_PROFILE="admin_settings_team_profile",s.ADMIN_SETTINGS_SLACK_CONNECT_VISIBILITY="admin_settings_slack_connect_visibility",s.ADMIN_STATS="admin_stats",s.ACCOUNT_TEAM="account_team",s.ARCHIVES="archives",s.HISTORY="history",s.SEARCH_PANE="search_pane",s.FILE="file",s.FILES="files",s.FILE_PANE="file_pane",s.FILE_EMAIL="file_email",s.FILE_UPLOAD="file_upload",s.FILE_HIDDEN="file_hidden",s.SLACKBOT="slackbot",s.SLACKBOT_SCREENHERO="slackbot_screenhero",s.OAUTH="oauth",s.PRICING_PAGE="pricing_page",s.SHARE_LINK="share_link",s.SHARE_LINK_EXPIRATION="share_link_expiration",s.INVITE_PEOPLE="invite_people",s.INVITE_SWITCHER="invite_switcher",s.INVITE_EMAIL="invite_email",s.INVITE_SENT="invite_sent",s.INVITE_BULK="invite_bulk",s.INVITE_GOOGLE_DIRECTORY="invite_google_directory",s.INVITE_OFFICE_DIRECTORY="invite_office_directory",s.DEACTIVATE_LINK="deactivate_link",s.SLACK_MENU="slack_menu",s.CREATE_LINK="create_link",s.BANNER_AFTER_SIXTY_DAYS_MSG_LIMIT="banner_after_sixty_days_msg_limit",s.BANNER_TRIAL="banner_trial",s.BANNER_TRIAL_WITH_EMAIL="banner_trial_with_email",s.BANNER_TRIAL_REMINDER="banner_trial_reminder",s.BANNER_PAID_BENEFITS_AWARENESS="banner_paid_benefits_awareness",s.BANNER_DUNNING="banner_dunning",s.INVITE_NUDGE="invite_nudge",s.TEAM_DIRECTORY="team_directory",s.CE_EMAIL="ce_email",s.EXTERNAL_FILES_LIMIT="external_files_limit",s.EMAIL_CREDITS_EXPIRE="email_credits_expire",s.EMAIL_CREDITS_EXPIRE_NEW="email_credits_expire_new",s.EMAIL_TRIAL_EXPIRY="email_trial_expiry",s.EMAIL_TRIAL_EXPIRY_NEW="email_trial_expiry_new",s.EMAIL_TRIAL_THREE_DAY_REMINDER="email_trial_three_day_reminder",s.EMAIL_TRIAL_THREE_DAY_REMINDER_NEW="email_trial_three_day_reminder_new",s.LIMIT_METER="limit_meter",s.TRIAL_START_SURVEY="trial_start_survey",s.TRIAL_END_SURVEY="trial_end_survey",s.CANCELLATION_SURVEY="cancellation_survey",s.SHARED_CHANNEL_MODAL_PAID="shared_channel_modal_paid",s.SHARED_CHANNEL_MODAL_FREE="shared_channel_modal_free",s.SHARED_CHANNEL_MODAL="shared_channel_modal",s.SHARED_CHANNEL_EDUCATION_MODAL="shared_channel_education_modal",s.SHARED_CHANNEL_LEGACY_MODAL_AWAY_NO_PERMISSIONS="shared_channel_legacy_upgrade_modal_away_no_permissions",s.SHARED_CHANNEL_LEGACY_MODAL_AWAY_WITH_PERMISSIONS="shared_channel_legacy_upgrade_modal_away_with_permissions",s.SHARED_CHANNEL_LEGACY_MODAL_HOST="shared_channel_legacy_upgrade_modal_host",s.ZENDESK_PLANS_PAGE="zendesk_plans_page",s.SHARED_CHANNELS="shared_channels",s.SHARED_CHANNEL_TRIAL_WELCOME_BANNER="shared_channel_trial_welcome_banner",s.SHARED_CHANNEL_TRIAL_THREE_DAYS_LEFT_BANNER="shared_channel_trial_three_days_left_banner",s.SHARED_CHANNEL_TRIAL_PERSISTENT_BANNER="shared_channel_trial_persistent_banner",s.PLANS_PAGE_TENURED_TEAMS_DISCOUNT_BANNER="plans_page_tenured_teams_discount_banner",s.PUBLIC_CHANNEL="public_channel",s.PRIVATE_CHANNEL="private_channel",s.IM="im",s.MPIM="mpim",s.THREAD="thread",s.DELETE_MSG_DIALOG="delete_msg_dialog",s.UNDO_MSG_SEND_DIALOG="undo_msg_send_dialog",s.FLEXPANE_ACTIVITY="flexpane_activity",s.ACTIVITY_PAGE="activity_page",s.FLEXPANE_STARS="flexpane_stars",s.SAVED_PAGE="saved_page",s.ALL_UNREADS="all_unreads",s.ALL_THREADS="all_threads",s.CHANNEL_HIGHLIGHT="channel_highlight",s.FLEXPANE_PINS="flexpane_pins",s.REMOVE_PIN="remove_pin",s.ADD_PIN="add_pin",s.MESSAGE_PANE="message_pane",s.FLEXPANE_SHARED_FILES="flexpane_shared_files",s.DLP_USER_WARNING="dlp_user_warning",s.WELCOME_PARTY_MESSAGE_PANE="welcome_party_message_pane",s.DOWNGRADE_STANDARD="downgrade_standard",s.DOWNGRADE_PLUS="downgrade_plus",s.DOWNGRADE_STANDARD_REVAMPED_FLOW="downgrade_standard_revamped_flow",s.DOWNGRADE_STANDARD_REVAMPED_USAGE_CARDS="downgrade_standard_revamped_cards",s.DOWNGRADE_PLUS_TO_PRO_FLOW="downgrade_plus_to_pro_flow",s.DOWNGRADE_PLUS_TO_FREE_FLOW="downgrade_plus_to_free_flow",s.DOWNGRADE_PLUS_TO_PRO_USAGE_CARDS="downgrade_plus_to_pro_usage_cards",s.DOWNGRADE_PLUS_TO_FREE_USAGE_CARDS="downgrade_plus_to_free_usage_cards",s.DOWNGRADE_DISCOUNT_PROMO="downgrade_discount_promo",s.DOWNGRADE_SURVEY_PAGE="downgrade_survey_page",s.DOWNGRADE_SURVEY_STEP_ONE="downgrade_survey_step_one",s.DOWNGRADE_SURVEY_STEP_TWO="downgrade_survey_step_two",s.DOWNGRADE_CONFIRMATION_PAGE="downgrade_confirmation_page",s.EMAIL_CARD_DEFAULT_PAYMENT_METHOD="email_card_default_payment_method",s.EMAIL_BILLING_CYCLE_FAILED="email_billing_cycle_failed",s.EMAIL_BILLING_CYCLE_RENEWED="email_billing_cycle_renewed",s.EMAIL_BILLING_MEMBERS_REMOVED="email_billing_members_removed",s.EMAIL_BILLING_PENDING_EXPIRY="email_billing_pending_expiry",s.EMAIL_BILLING_PENDING_RENEWAL="email_billing_pending_renewal",s.EMAIL_DUNNING_CC_STEP_ONE="email_dunning_cc_step_one",s.EMAIL_LIMITS_SOON="email_limits_soon",s.ADMIN_BILLING_OVERVIEW="admin_billing_overview",s.INC_EMAIL_DUNNING_BILLING_INFO="inc_email_dunning_billing_info",s.ADMIN_BILLING_FAIL="admin_billing_fail",s.TEAM_STATS_OVERVIEW_MESSAGES_SENT_COACHMARK="team_stats_overview_messages_sent_coachmark",s.TEAM_STATS_OVERVIEW_FILE_STORAGE_COACHMARK="team_stats_overview_file_storage_coachmark",s.TEAM_STATS_OVERVIEW_APPS_INSTALLED_COACHMARK="team_stats_overview_apps_installed_coachmark",s.TEAM_STATS_OVERVIEW="team_stats_overview",s.TEAM_STATS_CHANNELS="team_stats_channels",s.TEAM_STATS_MEMBERS="team_stats_members",s.TEAM_STATS_APPS="team_stats_apps",s.TEAM_STATS_SLACK_AI="team_stats_slack_ai",s.ADMIN_ANALYTICS_PAGE="admin_analytics_page",s.ADMIN_ANALYTICS_PRIVACY_SELECT_OPTION="admin_analytics_privacy_select_option",s.ADMIN_ANALYTICS_TIME_RANGE_MENU_SELECT_OPTION="admin_analytics_time_range_menu_select_option",s.ADMIN_ANALYTICS_TIME_RANGE_MENU_CUSTOM_DATE_RANGE_SAVED="admin_analytics_time_range_menu_custom_date_range_saved",s.ADMIN_ANALYTICS_TIME_RANGE_MENU_CUSTOM_DATE_RANGE_CLOSED="admin_analytics_time_range_menu_custom_date_range_closed",s.ADMIN_ANALYTICS_MEDIA_TYPE_SELECT_OPTION="admin_analytics_media_type_select_option",s.ADMIN_ANALYTICS_EXPORT_BANNER="admin_analytics_export_banner",s.ADMIN_ANALYTICS_EXPORT_BANNER_EXPORT_CLICKED="admin_analytics_export_banner_export_clicked",s.ADMIN_ANALYTICS_SEARCH="admin_analytics_search",s.ADMIN_ANALYTICS_SORT="admin_analytics_sort",s.ADMIN_ANALYTICS_CSV_EXPORT="admin_analytics_csv_export",s.ADMIN_ANALYTICS_CHART="admin_analytics_chart",s.ADMIN_ANALYTICS_CHART_CLICK_TAB="admin_analytics_chart_click_tab",s.ADMIN_ANALYTICS_CHART_SELECT_TIME_INTERVAL="admin_analytics_chart_select_time_interval",s.ADMIN_ANALYTICS_CANVAS_TYPE_SELECT_OPTION="admin_analytics_canvas_type_select_option",s.ADMIN_FLAGGED_CONTENT_ACTION_DISMISS="admin_flagged_content_action_dismiss",s.ADMIN_FLAGGED_CONTENT_ACTION_DISMISS_CONFIRM="admin_flagged_content_action_dismiss_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_HIDE_MESSAGE="admin_flagged_content_action_hide_message",s.ADMIN_FLAGGED_CONTENT_ACTION_RESTORE_MESSAGE="admin_flagged_content_action_restore_message",s.ADMIN_FLAGGED_CONTENT_ACTION_HIDE_MESSAGE_CONFIRM="admin_flagged_content_action_hide_message_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_MODERATE_PROFILE="admin_flagged_content_action_moderate_profile",s.ADMIN_FLAGGED_CONTENT_ACTION_MODERATE_PROFILE_CONFIRM="admin_flagged_content_action_moderate_profile_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_ASSIGN="admin_flagged_content_action_assign",s.ADMIN_FLAGGED_CONTENT_ACTION_UNASSIGN="admin_flagged_content_action_unassign",s.ADMIN_FLAGGED_CONTENT_ACTION_ASSIGN_CONFIRM="admin_flagged_content_action_assign_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_CREATE_COMMENT_SAVE="admin_flagged_content_action_create_comment",s.ADMIN_FLAGGED_CONTENT_ACTION_EDIT_COMMENT="admin_flagged_content_action_edit_comment",s.ADMIN_FLAGGED_CONTENT_ACTION_EDIT_COMMENT_SAVE="admin_flagged_content_action_edit_comment_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_EDIT_COMMENT_CANCEL="admin_flagged_content_action_edit_comment_cancel",s.ADMIN_FLAGGED_CONTENT_ACTION_DELETE_COMMENT="admin_flagged_content_action_delete_comment",s.ADMIN_FLAGGED_CONTENT_ACTION_DELETE_COMMENT_CONFIRM="admin_flagged_content_action_delete_comment_confirm",s.ADMIN_FLAGGED_CONTENT_ACTION_VIEW_FILE="admin_flagged_content_action_view_file",s.ADMIN_FLAGGED_CONTENT_ACTION_DOWNLOAD_FILE="admin_flagged_content_action_download_file",s.ADMIN_FLAGGED_CONTENT_ACTION_VIEW_MESSAGE="admin_flagged_content_action_view_message",s.ADMIN_FLAGGED_CONTENT_ACTION_VIEW_THREAD="admin_flagged_content_action_view_thread",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_ASSIGNEE="admin_flagged_content_action_filter_by_assignee",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_WORKSPACE="admin_flagged_content_action_filter_by_workspace",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_DATE_FLAGGED="admin_flagged_content_action_filter_by_date_flagged",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_DATE_POSTED="admin_flagged_content_action_filter_by_date_posted",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_DATE_REVIEWED="admin_flagged_content_action_filter_by_date_reviewed",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_FLAGGED_BY="admin_flagged_content_action_filter_by_flagged_by",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_POSTED_BY="admin_flagged_content_action_filter_by_posted_by",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_POSTED_BY_USER_TYPE="admin_flagged_content_action_filter_by_posted_by_user_type",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_REVIEWED_BY="admin_flagged_content_action_filter_by_reviewed_by",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_POSTED_IN="admin_flagged_content_action_filter_by_posted_in",s.ADMIN_FLAGGED_CONTENT_ACTION_FILTER_BY_ACTION_TAKEN="admin_flagged_content_action_filter_by_action_taken",s.ADMIN_FLAGGED_CONTENT_ACTION_EXPORT_CONTENT="admin_flagged_content_action_export_content",s.ADMIN_FLAGGED_CONTENT_ACTION_EXPORT_HISTORY="admin_flagged_content_action_export_history",s.ADMIN_FLAGGED_CONTENT_ACTION_FLAGGED_TAB="admin_flagged_content_action_flagged_tab",s.ADMIN_FLAGGED_CONTENT_ACTION_HISTORY_TAB="admin_flagged_content_action_history_tab",s.ADMIN_FLAGGED_CONTENT_ACTION_CHANNEL_DETAILS_VIEW_OPEN_FLAGS="admin_flagged_content_action_channel_details_view_open_flags",s.ADMIN_FLAGGED_CONTENT_ACTION_REFRESH_THREAD="admin_flagged_content_action_refresh_thread",s.ADMIN_FLAGGED_CONTENT_ACTION_SCROLL_TO_FLAGGED="admin_flagged_content_action_scroll_to_flagged",s.ADMIN_FLAGGED_CONTENT_ACTION_OPEN_DETAILS_FROM_THREAD="admin_flagged_content_action_open_details_from_thread",s.ADMIN_FLAGGED_CONTENT_ACTION_LOAD_OLDER_MESSAGES="admin_flagged_content_action_load_older_messages",s.ADMIN_FLAGGED_CONTENT_ACTION_LOAD_NEWER_MESSAGES="admin_flagged_content_action_load_newer_messages",s.ADMIN_SEARCH_POPOVER="admin_search_popover",s.ADMIN_SEARCH_CLEAR="admin_search_clear",s.ADMIN_SEARCH_CLOSE="admin_search_close",s.ADMIN_SEARCH_RESULTS="admin_search_results",s.ADMIN_SEARCH_SPECIFIC_RESULT="admin_search_specific_result",s.ENTERPRISE_DASHBOARD_MENU_ITEM="enterprise_dashboard_menu_item",s.SIMPLIFIED_UPGRADE="admin_simplified_upgrade",s.MIGRATION_REAUTH="migration_reauth",s.ADMIN_ADVISOR_TAB="admin_advisor_tab",s.DATA_EXPORT_SELECT_PARTNER_APP="data_export_select_partner_app",s.DATA_EXPORT_CREATE_CONFIG="data_export_set_config",s.DATA_EXPORT_EDIT_CONFIG="data_export_edit_config",s.DATA_EXPORT_CONFIRM_AGREEMENT="data_export_confirm_agreement",s.DATA_EXPORT_AUTHORIZATION="data_export_authorization",s.DATA_EXPORT_AUTHORIZATION_SUCCESS="data_export_authorization_success",s.DATA_EXPORT_CLOSE_SUCCESS="data_export_close_success",s.DATA_EXPORT_DELETE_CONFIG="data_export_delete_config",s.DATA_TABLE_HEADER_EDIT_COLUMNS_MODAL="data_table_header_edit_columns_modal",s.DATA_TABLE_HEADER_EDIT_COLUMNS_MODAL_SELECT_ALL_COLUMNS="data_table_header_edit_columns_modal_select_all_columns",s.DATA_TABLE_HEADER_EDIT_COLUMNS_MODAL_RESET_COLUMNS="data_table_header_edit_columns_modal_reset_columns",s.DATA_TABLE_HEADER_EDIT_COLUMNS_MODAL_TOGGLE_COLUMN="data_table_header_edit_columns_modal_toggle_column",s.DATA_TABLE_HEADER_EDIT_COLUMNS_MODAL_CLOSE="data_table_header_edit_columns_modal_close",s.DATA_TABLE_HEADER_EXPORT_CSV_MODAL="data_table_header_export_csv_modal",s.DATA_TABLE_HEADER_EXPORT_CSV_MODAL_CLOSE="data_table_header_export_csv_modal_close",s.DATA_TABLE_HEADER_EXPORT_CSV_MODAL_EXPORT_CLICKED="data_table_header_export_csv_modal_export_clicked",s.PRICING_PAGE_LOGGED_OUT="pricing_page_logged_out",s.PRICING_PAGE_LOGGED_IN_FREE="pricing_page_logged_in_free",s.PRICING_PAGE_LOGGED_IN_PAID="pricing_page_logged_in_paid",s.PRICING_PAGE_LOGGED_IN_TRIAL="pricing_page_logged_in_trial",s.PRICING_PAGE_BANNER_MESSAGE_ARCHIVE="pricing_page_banner_message_archive",s.PRICING_PAGE_BANNER_GUEST_ACCOUNT="pricing_page_banner_guest_account",s.PRICING_PAGE_BANNER_APPS="pricing_page_banner_apps",s.PRICING_PAGE_BANNER_FILES="pricing_page_banner_files",s.PRICING_PAGE_TOP_FEATURES="pricing_page_top_features",s.PRICING_PAGE_ALL_FEATURES="pricing_page_all_features",s.PRICING_PAGE_FOOTER="pricing_page_footer",s.PRICING_PAGE_MOBILE="pricing_page_mobile",s.PRICING_PAGE_CREDIT_ALERT="pricing_page_credit_alert",s.PRICING_PAGE_COMPARE_CURRENCY_INFO="pricing_page_compare_currency_info",s.PRICING_PAGE_COMPARE_CURRENCY_INFO_MOBILE="pricing_page_compare_currency_info_mobile",s.PRICING_PAGE_ENTERPRISE_SECURITY="pricing_page_enterprise_security",s.PRICING_PAGE_BILLING_INVOICES_FAQ="pricing_page_billing_invoices_faq",s.PRICING_PAGE_BACKEND="pricing_page_backend",s.PRICING_PLANS_DIALOG_STANDARD_PLAN="pricing_plans_dialog_standard_plan",s.PRICING_PLANS_DIALOG_PLUS_PLAN="pricing_plans_dialog_plus_plan",s.PRICING_PLANS_DIALOG_ENTERPRISE_PLAN="pricing_plans_dialog_enterprise_plan",s.FREE_PAGE_LOGGED_OUT="free_page_logged_out",s.FREE_PAGE_LOGGED_IN_FREE="free_page_logged_in_free",s.FREE_PAGE_LOGGED_IN_PAID="free_page_logged_in_paid",s.STANDARD_PAGE_LOGGED_OUT="standard_page_logged_out",s.STANDARD_PAGE_LOGGED_IN_FREE="standard_page_logged_in_free",s.STANDARD_PAGE_LOGGED_IN_PAID="standard_page_logged_in_paid",s.STANDARD_PAGE_LOGGED_IN_TRIAL="standard_page_logged_in_trial",s.HEADER="header",s.APPS="apps",s.MORE_FEATURES="more_features",s.PLANS="plans",s.FAQ="faq",s.FOOTER="footer",s.STICKY_HEADER="sticky_header",s.MIDPAGE_CTA="midpage_cta",s.PLUS_PAGE_LOGGED_OUT="plus_page_logged_out",s.PLUS_PAGE_LOGGED_IN_FREE="plus_page_logged_in_free",s.PLUS_PAGE_LOGGED_IN_PAID="plus_page_logged_in_paid",s.PLUS_PAGE_LOGGED_IN="plus_page_logged_in",s.PLUS_PAGE_LOGGED_IN_TRIAL="plus_page_logged_in_trial",s.TOUR_PAGE_LOGGED_OUT="tour_page_logged_out",s.TOUR_PAGE_LOGGED_IN_FREE="tour_page_logged_in_free",s.TOUR_PAGE_LOGGED_IN_PAID="tour_page_logged_in_paid",s.PAGE_COMPOSE="page_compose",s.PAGE_DENY="page_deny",s.PAGE_SUCCESS="page_success",s.DM_SENT_TO_PRIMARY_OWNER="dm_sent_to_primary_owner",s.APPS_BROWSER="apps_browser",s.CODE_APPLIED="code_applied",s.SLACKBOT_DM_SENT="slackbot_dm_sent",s.SHARED_CHANNELS_INVITATION_MODAL="shared_channels_invitation_modal",s.SLACKBOT_INVITATION="slackbot_invitation",s.TRIAL_OVER="trial_over",s.OVER_FILE_LIMIT_MODAL="over_file_limit_modal",s.OVER_FILE_LIMIT_SLACKBOT_MSG="over_file_limit_slackbot_msg",s.TEAM_NAV_PLANS_MENU="team_nav_plans_menu",s.TEAM_TOP_NAV_MENU="team_top_nav_menu",s.TEAM_TOP_NAV_MENU_WORKSPACE="team_top_nav_menu_workspace",s.TEAM_TOP_NAV_MENU_OTHER_WORKSPACE="team_top_nav_menu_other_workspace",s.TEAM_TOP_NAV_MENU_ALL_ENTERPRISE_WORKSPACES="team_top_nav_menu_all_enterprise_workspaces",s.TEAM_TOP_NAV_MENU_HELP_LINK="team_top_nav_menu_help_link",s.TEAM_TOP_NAV_MENU_LAUNCH_SLACK="team_top_nav_menu_launch_slack",s.TEAM_TOP_NAV_MENU_SIGN_IN="team_top_nav_menu_sign_in",s.DRIFT_TEAM_IS_ELIGIBLE="drift_team_is_eligible",s.DRIFT_START_CONVERSATION="drift_start_conversation",s.SCREEN_SHARING_UPGRADE_PROMPT="screen_sharing_upgrade_prompt",s.SIDEBAR="sidebar",s.SHARED_CHANNEL_TRIAL_EXPIRED="shared_channel_trial_expired",s.SIDEBAR_MENU_HEADER_STRAIGHT_TO_PAID_OFFER="sidebar_menu_header_straight_to_paid_offer",s.SIDEBAR_MENU_STRAIGHT_TO_PAID_UPGRADE_PRO_BUTTON="sidebar_menu_straight_to_paid_upgrade_pro_button",s.STRAIGHT_TO_PAID_WORKSPACE_MENU_PRIMARY_TIME_LIMIT="straight_to_paid_workspace_menu_primary_time_limit",s.STRAIGHT_TO_PAID_WORKSPACE_MENU_SECONDARY_UPGRADE_CTA="straight_to_paid_workspace_menu_secondary_upgrade_cta",s.STRAIGHT_TO_PAID_LAST_DAY_FOR_DISCOUNT_MODAL="straight_to_paid_last_day_for_discount_modal",s.CHECKOUT_STEP_1="checkout_step_1",s.CHECKOUT_STEP_2="checkout_step_2",s.CHECKOUT_SELECTPLAN="checkout_selectplan",s.CHECKOUT_COMPANYINFO="checkout_companyinfo",s.CHECKOUT_PAYMENT="checkout_payment",s.CHECKOUT_PURCHASE="checkout_purchase",s.SIDEBAR_JUMPER_BUTTON_SHOW="sidebar_jumper_button_show",s.SIDEBAR_JUMPER_BUTTON_HIDE="sidebar_jumper_button_hide",s.EMOJI_UPDATE_OVERLAY_SHOW="emoji_update_overlay_show",s.EMOJI_UPDATE_OVERLAY_HIDE="emoji_update_overlay_hide",s.CHANNEL_OPTIONS_MENU="channel_options_menu",s.ADD_PEOPLE_MODAL="add_people_modal",s.WINDOW_LIST="window_list",s.WINDOW_LIST_ITEM="window_list_item",s.WINDOW_OPEN="window_open",s.HC_PAGE_HOME="hc_page_home",s.HC_PAGE_CATEGORY="hc_page_category",s.HC_PAGE_SECTION="hc_page_section",s.HC_PAGE_ARTICLE="hc_page_article",s.HC_PAGE_ERROR="hc_page_error",s.HC_PAGE_SEARCH="hc_page_search",s.HC_PAGE_CONTACT="hc_page_contact",s.HC_HELP_LINK="hc_help_link",s.HELP_FLEXPANE_HOME="help_flexpane_home",s.HELP_FLEXPANE_ARTICLE="help_flexpane_article",s.BTN_ASK_AGENTFORCE="btn_ask_agentforce",s.BTN_CONTACT_SUPPORT="btn_contact_support",s.BLOG_PAGE_HOME="blog_page_home",s.BLOG_PAGE_404="blog_page_404",s.BLOG_PAGE_POST="blog_page_post",s.BLOG_PAGE_SEARCH="blog_page_search",s.BLOG_PAGE_CATEGORY="blog_page_category",s.BLOG_PAGE_ROLE="blog_page_role",s.BLOG_PAGE_TAG="blog_page_tag",s.PUI_GUI_DASHBOARD="ui_generator_dashboard",s.PUI_GUI_ADMIN="ui_generator_admin",s.PUI_GUI_BROWSE="ui_generator_browse",s.PUI_GUI_EDIT="ui_generator_edit",s.PUI_GUI_EXPORT="ui_generator_export",s.PUI_GUI_HELP="ui_generator_help",s.PUI_GUI_CREATE="ui_generator_create",s.PUI_GUI_AUTH="ui_generator_auth",s.PUI_GUI_CHANGELOG="ui_generator_changelog",s.GRID_WELCOME_SCREEN="grid_welcome_screen",s.GRID_SEARCH_COLLEAGUE_SCREEN="grid_search_colleague_screen",s.GRID_SEARCH_RESULTS_SCREEN="grid_search_results_screen",s.MORE_ACTIONS_MENU="more_actions_menu",s.MESSAGE_ACTION_DIALOG="message_action_dialog",s.PAGE_API="page_api",s.PAGE_API_ACTIONS="page_api_actions",s.PICK_WORKSPACE_NOT_SIGNED_IN="pick_workspace_not_signed_in",s.PICK_WORKSPACE_SIGNED_IN_ELIGIBLE="pick_workspace_signed_in_eligible",s.PICK_WORKSPACE_SIGNED_IN_NO_ELIGIBLE="pick_workspace_signed_in_no_eligible",s.PROMO_CAMPAIGN_APP_INSTALLATION="promo_campaign_app_installation",s.PROMO_CAMPAIGN_WORKFLOW_REASSIGNMENT="promo_campaign_workflow_reassignment",s.PROMO_CAMPAIGN_SLACKBOT_DM_ADMIN_INSTALL_NEEDED="promo_campaign_slackbot_dm_admin_install_needed",s.PROMO_CAMPAIGN_SLACKBOT_DM_ADMIN_INSTALL_REQUESTED="promo_campaign_slackbot_dm_admin_install_requested",s.PROMO_CAMPAIGN_SLACKBOT_DM_ADMIN_ACTIVATE_NEEDED="promo_campaign_slackbot_dm_admin_activate_needed",s.PROMO_CAMPAIGN_SLACKBOT_DM_ADMIN_ACTIVATE_REQUESTED="promo_campaign_slackbot_dm_admin_activate_requested",s.PROMO_CAMPAIGN_SLACKBOT_DM_OFFER_ACTIVATED="promo_campaign_slackbot_dm_offer_activated",s.PROMO_CAMPAIGN_SLACKBOT_DM_NOTIFY_INELIGIBLE="promo_campaign_slackbot_dm_notify_ineligible",s.PROMO_CAMPAIGN_SLACKBOT_DM_NOTIFY_INELIGIBLE_APP_ALREADY_INSTALLED="promo_campaign_slackbot_dm_notify_ineligible_app_already_installed",s.PROMO_CAMPAIGN_SLACKBOT_DM_NOTIFY_INELIGIBLE_OVER_APP_LIMIT="promo_campaign_slackbot_dm_notify_ineligible_over_app_limit",s.PROMO_CAMPAIGN_SLACKBOT_DM_NOTIFY_INELIGIBLE_ON_PAID_PLAN="promo_campaign_slackbot_dm_notify_ineligible_on_paid_plan",s.PROMO_CAMPAIGN_SLACKBOT_DM_NOTIFY_INELIGIBLE_CODE_TYPE_REDEEMED="promo_campaign_slackbot_dm_notify_ineligible_code_type_redeemed",s.PROMO_CAMPAIGN_PAGE_TRIAL="promo_campaign_page_trial",s.PROMO_CAMPAIGN_ATLASSIAN_ENTER_CODE="promo_campaign_atlassian_enter_code",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_NOT_SIGNED_IN="promo_campaign_atlassian_valid_code_not_signed_in",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_SIGNED_IN_ELIGIBLE_WORKSPACES="promo_campaign_atlassian_valid_code_signed_in_eligible_workspaces",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_SIGNED_IN_NO_ELIGIBLE_WORKSPACES="promo_campaign_atlassian_valid_code_signed_in_no_eligible_workspaces",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_REDEEMED="promo_campaign_atlassian_valid_code_redeemed",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_CONTACT_US="promo_campaign_atlassian_valid_code_contact_us",s.PROMO_CAMPAIGN_ATLASSIAN_VALID_CODE_WORKSPACE_CREATED="promo_campaign_atlassian_valid_code_workspace_created",s.PAGE_APP_DETAIL="page_app_detail",s.PLATFORM_MANAGED_BY_YOU_TAB="platform_managed_by_you",s.BLOCKER_VIEW_OPEN="blocker_view_open",s.FORCE_LOGOUT_DIALOG_OPEN="force_logout_dialog_open",s.FORCE_LOGOUT_DIALOG_EXIT="force_logout_dialog_exit",s.AUTH_ENROLLMENT="auth_enrollment",s.AUTH_VERIFICATION="auth_verification",s.UPDATE_APP_PROMPT="update_app_prompt",s.INTUNE_APP_LAUNCH="intune_app_launch",s.MSD_EXPIRATION_BANNER_CLICKED="msd_expiration_banner_clicked",s.MSD_BANNER_SHOWN="msd_banner_shown",s.MSD_REAUTH_BUTTON_CLICKED="msd_reauth_button_clicked",s.MSD_REMIND_ME_LATER_BUTTON_CLICKED="msd_remind_me_later_button_clicked",s.MSD_DISMISS_BUTTON_CLICKED="msd_dismiss_button_clicked",s.MSD_PUSH_NOTIFICATION_SHOWN="msd_push_notification_shown",s.MSD_PUSH_NOTIFICATION_CLICKED="msd_push_notification_clicked",s.MSD_SESSION_EXPIRED_DIALOG_SHOWN="msd_session_expired_dialog_shown",s.MDM_CONFIG_READ="mdm_config_read",s.CHANNEL_ACCESS_SECTION="channel_access_section",s.WORKSPACE_ACCESS_SECTION="workspace_access_section",s.MEMBER_ACCESS_SECTION="member_access_section",s.APPMIN_MEMBER_ACCESS_SECTION="appmin_member_access_section",s.CHECKOUT_PRICING_CALCULATOR="checkout_pricing_calculator",s.CHECKOUT_ADDRESS_AND_PAYMENT_INPUT="checkout_address_and_payment_input",s.CHECKOUT_REVIEW="checkout_review",s.CHECKOUT_PURCHASE_COMPLETION="checkout_purchase_completion",s.CHECKOUT_FINAL_REVIEW_API="checkout_final_review_api",s.CHECKOUT_CHARGE_API="checkout_charge_api",s.CHECKOUT_PRICING_CALCULATOR_API="checkout_pricing_calculator_api",s.CHECKOUT_ADDRESS_AND_PAYMENT_INPUT_API="checkout_address_and_payment_input_api",s.CHECKOUT_PURCHASE_API="checkout_purchase_api",s.CHECKOUT_CONFIRM_AUTHENTICATED_PURCHASE_API="checkout_confirm_authenticated_purchase_api",s.CHECKOUT_ADDON_PURCHASE_COMPLETION="checkout_addon_purchase_completion",s.CHECKOUT_PURCHASE_COMPLETION_SLACK_AI_UPSELL="checkout_purchase_completion_slack_ai_upsell",s.CHECKOUT_SUCCESS_INVITE_USERS="checkout_success_invite_users",s.CHECKOUT_SUCCESS_2FA_FLOW="checkout_success_2fa_flow",s.CHECKOUT_SUCCESS_2FA_SETUP_CHOICE="checkout_success_2fa_setup_choice",s.CHECKOUT_SUCCESS_2FA_SETUP_SMS="checkout_success_2fa_setup_sms",s.CHECKOUT_SUCCESS_2FA_SETUP_APP="checkout_success_2fa_setup_app",s.CHECKOUT_SUCCESS_2FA_SETUP_COMPLETE="checkout_success_2fa_setup_complete",s.ADD_ALIAS="add_alias",s.ADD_CUSTOM_EMOJI="add_custom_emoji",s.DISABLED_EMOJI="disabled_emoji",s.DELETE="delete",s.PLAY_VIDEO="play_video",s.PLAY_25_VIDEO="play_25_video",s.PLAY_50_VIDEO="play_50_video",s.PLAY_75_VIDEO="play_75_video",s.PLAY_100_VIDEO="play_100_video",s.CLOSE_VIDEO="close_video",s.JOIN_TEAM="join_team",s.ADD_WORKSPACES_ALL_IN_ONE="add_workspaces_all_in_one",s.MAGIC_LINK_OR_PASSWORD_OUT_OF_WINDOW="magic_link_or_password_out_of_window",s.CONFIRMATION_INFO="confirmation_info",s.SIGN_IN_EMAIL_SELECTION="sign_in_email_selection",s.SIGN_IN_SELECTED_CONFIRMED_EMAIL="sign_in_selected_confirmed_email",s.MAGIC_LINK_OR_PASSWORD_SIGN_IN_NOT_CONFIRMED="magic_link_or_password_sign_in_not_confirmed",s.SIGN_IN_USE_DIFF_EMAIL="sign_in_use_diff_email",s.JOIN_EMAIL_SELECTION="join_email_selection",s.JOIN_A_WORKSPACE_CONFIRMED="join_a_workspace_confirmed",s.CHECK_YOUR_EMAIL="check_your_email",s.JOIN_USE_DIFF_EMAIL="join_use_diff_email",s.CREATE_EMAIL_SELECTION="create_email_selection",s.EMAIL_ENTRY="email_entry",s.CHOOSE_LOGIN="choose_login",s.INDEX="index",s.USER_PROFILE="user_profile",s.CHANNEL_DETAILS="channel_details",s.USER_CARD="user_card",s.MEMBER_PROFILE_CARD="member_profile_card",s.CHANNEL_SETTINGS="channel_settings",s.SLASH="slash",s.APP_SPACE_ABOUT_TAB="app_space_about_tab",s.GDRIVE_SETTINGS="gdrive_settings",s.TEAM_MENU="team_menu",s.FLEX_MENU="flex_menu",s.REDIRECT="redirect",s.START_WITH_A_WORKSPACE="start_with_a_workspace",s.START_WITH_A_TEAM="start_with_a_team",s.CONFIRMEMAIL="confirmemail",s.CHECKEMAIL="checkemail",s.TEAMNAME="teamname",s.SLACK_CONNECT_TEAMNAME="slack_connect_teamname",s.CONFIRM_EMAIL_CODE="confirm_email_code",s.EMAIL_CODE_CONFIRMED="email_code_confirmed",s.CHANNELNAME="channelname",s.ROLE="role",s.TADA="tada",s.CREATE_NEW_WORKSPACE="create_new_workspace",s.FIND_YOUR_WORKSPACE="find_your_workspace",s.ENTER_EMAIL="enter_email",s.CLAIM_DOMAIN="claim_domain",s.INLINEREVIEW="inlinereview",s.GET_STARTED_ERROR="get_started_error",s.GET_STARTED_CONFIRM_CODE="get_started_confirm_code",s.GET_STARTED_DOMAIN_CLAIMED="get_started_domain_claimed",s.GET_STARTED_CREATOR_SIGNUP_FORM="get_started_creator_signup_form",s.GET_STARTED_CREATOR_LANDING="get_started_creator_landing",s.GET_STARTED_SIGN_IN="get_started_sign_in",s.GET_STARTED_WORKSPACES="get_started_workspaces",s.SHARED_INVITE_LANDING="shared_invite_landing",s.SHARED_INVITE_LOGGED_OUT="shared_invite_logged_out",s.SHARED_INVITE_GOOGLE_FALLBACK="shared_invite_google_fallback",s.EMAIL_INVITE_GOOGLE_FALLBACK="email_invite_google_fallback",s.GET_STARTED_SELECT_WORKSPACES="get_started_select_workspaces",s.GET_STARTED_APPLE_SIGN_IN="get_started_apple_sign_in",s.GET_STARTED_APPLE_HIDDEN_EMAIL_CONFIRM="get_started_apple_hidden_email_confirm",s.GET_STARTED_CONFIRM_TRUST="get_started_confirm_trust",s.GET_STARTED_IGNORE_INVITE="get_started_ignore_invite",s.GET_STARTED_SIGNUP_GOOGLE_FALLBACK="get_started_signup_google_fallback",s.GET_STARTED_ADD_NAME="get_started_add_name",s.SET_TIME_ASIDE_BANNER="set_time_aside_banner",s.DAILY_PROMPT_MESSAGE="daily_prompt_message",s.EXTERNAL_WORKSPACE_TOS="external_workspace_tos",s.EXTERNAL_WORKSPACE_INVITE_SELECT_ACCOUNT="external_workspace_invite_select_account",s.EXTERNAL_WORKSPACE_INVITE_ERROR="external_workspace_invite_error",s.JOINER_OPTIONS="joiner_options",s.ACCOUNT_CONFIRMATION="account_confirmation",s.SETUP_PAGE="setup_page",s.SETUP_LAYOUT_MODAL="setup_layout_modal",s.SETUP_TEAMNAME="setup_teamname",s.SETUP_PROFILE="setup_profile",s.SETUP_CHANNELNAME="setup_channelname",s.SETUP_TADA="setup_tada",s.SETUP_CALENDAR_CONTACT_IMPORT="setup_calendar_contact_import",s.SETUP_MANUAL_INVITES="setup_manual_invites",s.SETUP_WELCOME="setup_welcome",s.SETUP_PEOPLE="setup_people",s.SETUP_JOINER_PROFILE="setup_joiner_profile",s.SETUP_TEAMMATE_INTRO="setup_teammate_intro",s.SETUP_TOPICS="setup_topics",s.SETUP_APP_DOWNLOAD="setup_app_download",s.SETUP_CURRENT_TEAM="setup_current_team",s.SETUP_SUGGESTED_CONTACTS="setup_suggested_contacts",s.SETUP_CHANNELS_INTRO="setup_channels_intro",s.SETUP_INVITES_CONTACTS_MODAL="setup_invites_contacts_modal",s.SETUP_GOOGLE_CONTACTS_IMPORT_MODAL="setup_google_contacts_import_modal",s.SETUP_CSV_CONTACTS_IMPORT_MODAL="setup_csv_contacts_import_modal",s.CHANNEL_ONBOARDING_BANNER="channel_onboarding_banner",s.SETUP_INVITES_SKIP_MODAL="setup_invites_skip_modal",s.SETUP_INVITES_SKIP_OPTIMIZED_MODAL="setup_invites_skip_optimized_modal",s.SETUP_INVITES_MULTI_INPUT="setup_invites_multi_input",s.SIDEBAR_INVITE_SUGGESTIONS="sidebar_invite_suggestions",s.CHANNEL_BROWSER_JOIN_CHANNEL="channel_browser_join_channel",s.CHANNEL_BROWSER_LEAVE_CHANNEL="channel_browser_leave_channel",s.SETUP_INFO_TIPS="setup_info_tips",s.SETUP_START_FIRST_CONVERSATION="setup_start_first_conversation",s.SETUP_CREATE_CHANNEL_COACHMARK="setup_create_channel_coachmark",s.SETUP_CHANNEL_MEMBERSHIP_COACHMARK="setup_channel_membership_coachmark",s.SETUP_FIRST_CHANNEL_MESSAGE_SENT_FOREWORD="setup_first_channel_message_sent_foreword",s.SETUP_FIRST_CHANNEL_NO_MESSAGE_SENT_FOREWORD="setup_first_channel_no_message_sent_foreword",s.SETUP_GENERAL_CHANNEL_FOREWORD="setup_general_channel_foreword",s.SETUP_SHARED_CHANNEL_CREATOR_WELCOME_MODAL="setup_shared_channel_creator_welcome_modal",s.TAKE_QUICK_TOUR="take_quick_a_tour",s.SETUP_STRAIGHT_TO_PAID_PLANS="setup_straight_to_paid_plans",s.CREATE_NEW_WORKSPACE_FLOW_START="create_new_workspace_flow_start",s.CREATE_NEW_WORKSPACE_FLOW_COMPLETE="create_new_workspace_flow_complete",s.PLAN_COMPARISON="plan_comparison",s.ORG_SIZE="org_size",s.USE_CASE="use_case",s.CHANNEL_CARDS="channel_cards",s.PROMOTE_SCDM_WHILE_SC_PENDING="promote_scdm_while_sc_pending",s.SUGGESTED_CHANNELS="suggested_channels",s.JOIN_MIDSIZE_PEOPLE_CHANNEL_INTERACTION="join_midsize_people_channel_interaction",s.GET_SLACK_FOR_MOBILE="get_slack_for_mobile",s.SEND_LINK="send_link",s.SSB_LANDING_PAGE="ssb_landing_page",s.SIGN_IN_TO_YOUR_WORKSPACE="sign_in_to_your_workspace",s.FIND_WORKSPACES_PAGE="find_workspaces_page",s.FORGET_WORKSPACES_MODAL="forget_workspaces_modal",s.BOOT="boot",s.RECONNECT="reconnect",s.SHARED_CHANNELS_CREATE="shared_channels_create",s.SHARED_CHANNELS_GET_STARTED="shared_channels_get_started",s.CHANNEL_PREFIXES="channel_prefixes",s.ADD_CHANNEL_PREFIX="add_channel_prefix",s.FILE_MENU="file_menu",s.ENABLE_DESKTOP_NOTIFICATIONS_BANNER_ENABLE="enable_desktop_notifications_banner_enable",s.ENABLE_DESKTOP_NOTIFICATIONS_BANNER_CLOSE="enable_desktop_notifications_banner_close",s.ENABLE_DESKTOP_NOTIFICATIONS_BANNER_DEFER="enable_desktop_notifications_banner_defer",s.ENABLE_DESKTOP_NOTIFICATIONS_BANNER_NEVER="enable_desktop_notifications_banner_never",s.NOTIFICATOIN_BANNER_FIRST_PROMPT="notificatoin_banner_first_prompt",s.NOTIFICATOIN_BANNER_SECOND_PROMPT="notificatoin_banner_second_prompt",s.NOTIFICATION_BANNER_FIRST_PROMPT_IA4="notification_banner_first_prompt_ia4",s.NOTIFICATION_BANNER_SECOND_PROMPT_IA4="notification_banner_second_prompt_ia4",s.NOTIFICATION_BANNER_SUCCESS="notification_banner_success",s.NOTIFICATION_BANNER_OPEN_PREFERENCES="notification_banner_open_preferences",s.DOWNLOAD_APP_BANNER_FIRST_PROMPT="download_app_banner_first_prompt",s.DOWNLOAD_APP_BANNER_SECOND_PROMPT="download_app_banner_second_prompt",s.NOTIFICATION_REPROMPT="notification_reprompt",s.TEAM_SITE_WORKSPACE_MEMBERS="team_site_workspace_members",s.TEAM_SITE_LEFT_MENU_TOGGLE_OPEN="team_site_left_menu_toggle_open",s.TEAM_SITE_LEFT_MENU_TOGGLE_CLOSE="team_site_left_menu_toggle_close",s.WORKFLOW_EDITOR="workflow_editor",s.WORKFLOW_APP_EDITOR_SETTINGS="workflow_app_editor_settings",s.WORKFLOW_DELETE="workflow_delete",s.WORKFLOW_RENAME="workflow_rename",s.WORKFLOW_COLLECT_FORM_RESPONSES="workflow_collect_form_responses",s.WORKFLOW_SEND_MESSAGE="workflow_send_message",s.WORKFLOW_CHANNEL_ACTION="workflow_channel_action",s.WORKFLOW_EDIT_DESCRIPTION="workflow_edit_description",s.WORKFLOW_METADATA="WORKFLOW_METADATA",s.WORKFLOW_INSERT_VARIABLE="workflow_insert_variable",s.WORKFLOW_PERMISSIONS="workflow_permissions",s.WORKFLOW_COPY_URL="workflow_copy_url",s.WORKFLOW_CREATE_NEW_LINK="workflow_create_new_link",s.WORKFLOW_VIEW_LEGACY_WORKFLOWS="workflow_view_legacy_workflows",s.WORKFLOW_MESSAGE_ACTION="workflow_message_action",s.WORKFLOW_REACTION_ADDED="workflow_reaction_added",s.WORKFLOW_SLASH_COMMAND="workflow_slash_command",s.WORKFLOW_PUBLISHED="workflow_published",s.WORKFLOW_ADD_STEP="workflow_add_step",s.WORKFLOW_ADD_TRIGGER="workflow_add_trigger",s.WORKFLOW_BUILDER_HOME="workflow_builder_home",s.WORKFLOW_APP_EDITOR_ACTIVITY="workflow_app_editor_activity",s.WORKFLOW_TEMPLATES="workflow_templates",s.WORKFLOW_TEMPLATES_COACHMARK="workflow_templates_coachmark",s.WORKFLOW_CREATOR_START="workflow_creator_start",s.WORKFLOW_CREATOR="workflow_creator",s.WORKFLOW_ADD_TO_CHANNEL_MESSASGE_ACTIONS="workflow_add_to_channel_message_actions",s.WORKFLOW_ADD_TO_CHANNEL_WORKFLOW_BUILDER="workflow_add_to_channel_workflow_builder",s.WORKFLOW_BUILDER_FREEMIUM_APPROACHING_LIMIT="workflow_builder_freemium_approaching_limit",s.WORKFLOW_BUILDER_FREEMIUM_MAX_LIMIT="workflow_builder_freemium_max_limit",s.WORKFLOW_BUILDER_FREEMIUM_TRIAL="workflow_builder_freemium_trial",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED="workflow_builder_freemium_downgraded",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_APPS="workflow_builder_freemium_downgraded_apps_uninstalled",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_WORKFLOWS="workflow_builder_freemium_downgraded_workflows_uninstalled",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_PREMIUM_WORKFLOWS="workflow_builder_freemium_downgraded_premium_workflows",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_PREMIUM_WORKFLOWS_APPROACHING="workflow_builder_freemium_downgraded_premium_workflows_approaching",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_PREMIUM_WORKFLOWS_REACHED="workflow_builder_freemium_downgraded_premium_workflows_reached",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_PREMIUM_WORKFLOWS_REACHED_APPS="workflow_builder_freemium_downgraded_premium_workflows_reached_apps",s.WORKFLOW_BUILDER_FREEMIUM_DOWNGRADED_PREMIUM_WORKFLOWS_REACHED_WORKFLOWS="workflow_builder_freemium_downgraded_premium_workflows_reached_workflows",s.CHANNEL_NOTIFICATION_SETTINGS_OPEN="channel_notification_settings_open",s.CHANNEL_NOTIFICATION_SETTINGS_MUTED="channel_notification_settings_muted",s.CHANNEL_NOTIFICATION_SETTINGS_NOT_YET_ALLOWED="channel_notification_settings_not_yet_allowed",s.CHANNEL_NOTIFICATION_SETTINGS_NOT_ALLOWED="channel_notification_settings_not_allowed",s.CHANNEL_NOTIFICATION_SETTINGS_SUPPRESSED_BLOCKED="channel_notification_settings_suppressed_blocked",s.CHANNEL_NOTIFICATION_SETTINGS_ACTIVE="channel_notification_settings_active",s.CHANNEL_NOTIFICATION_SETTINGS_IMPOSSIBLE="channel_notification_settings_impossible",s.CHANNEL_NOTIFICATION_SETTINGS_DEVICE="channel_notification_settings_device",s.CHANNEL_NOTIFICATION_SETTINGS_BADGE_ALL_UNREADS="channel_notification_settings_badge_all_unreads",s.CHANNEL_NOTIFICATION_SETTINGS_MACOS_DISABLED="channel_notification_settings_macos_disabled",s.NOTIFICATIONS_SETTINGS_PLACEHOLDER="notifications_settings_placeholder",s.WHATS_THIS_PILL="whats_this_pill",s.WHATS_THIS_MODAL="whats_this_modal",s.LEARN_MORE_PILL="learn_more_pill",s.LEARN_MORE_MODAL="learn_more_modal",s.CHAMPIONS_TEAM_MC_PAGE="champions_team_mc_page",s.CHAMPIONS_USER_MC_PAGE="champions_user_mc_page",s.PLANS_PAGE="plans_page",s.PLANS_PAGE_CREDIT_ALERT_ADVANCED="plans_page_credit_alert_advanced",s.PLANS_PAGE_CREDIT_ALERT_BASIC="plans_page_credit_alert_basic",s.PLANS_PAGE_TOP_FEATURES="plans_page_top_features",s.PLANS_PAGE_ALL_FEATURES="plans_page_all_features",s.PLANS_PAGE_COMPARE_FEATURES="plans_page_compare_features",s.PLANS_PAGE_COMPARE_CURRENCY_INFO="plans_page_compare_currency_info",s.PLANS_PAGE_ENTERPRISE_SECURITY="plans_page_enterprise_security",s.PLANS_PAGE_BILLING_INVOICES_FAQ="plans_page_billing_invoices_faq",s.PLANS_PAGE_FOOTER="plans_page_footer",s.PLANS_PAGE_LOCAL_PROMO_BANNER="plans_page_local_promo_banner",s.PLANS_PAGE_CANVAS_FREEMIUM_PROMO_BANNER="plans_page_canvas_freemium_promo_banner",s.PLANS_PAGE_SLACK_AI_PROMO_BANNER="plans_page_slack_ai_promo_banner",s.LEARN_MORE_PAGE_FAQ="learn_more_page_faq",s.FREE_WELCOME="free_welcome",s.FREE_LIMIT="free_limit",s.FREE_LIMIT_WELCOME="free_limit_welcome",s.PAID_WELCOME="paid_welcome",s.PAID_WELCOME_SMALL_CTA="paid_welcome_small_cta",s.PAID_AAA_APP_REQUESTING_OFF="paid_aaa_app_requesting_off",s.PROMOTE_ATLASSIAN="promote_atlassian",s.APP_LAUNCHER_PAGE="app_launcher_page",s.ADMIN_RECOMMENDED_APP_CONFIRMATION_MODAL="admin_recommended_app_confirmation_modal",s.ADMIN_RECOMMENDED_APP_INSTALL_BUTTON="admin_recommended_app_install_button",s.ADMIN_RECOMMENDED_APP_REMOVE_BUTTON="admin_recommended_app_remove_button",s.ADMIN_RECOMMENDED_APP_ADD_BUTTON="admin_recommended_app_add_button",s.ADMIN_RECOMMENDED_APP_REFRESH_INSTALL_BUTTON="admin_recommended_app_refresh_install_button",s.ADMIN_RECOMMENDED_APP_APPROVAL_AND_ADD_BUTTON="admin_recommended_app_approval_and_add_button",s.ACCEPT_INVITE_FLOW="accept_invite_flow",s.ACCEPT_INVITE_MODAL="accept_invite_modal",s.MANAGE_SHARED_CHANNELS="manage_shared_channels",s.ACCEPT_INVITE_FLOW_ERROR="accept_invite_flow_error",s.ACCEPT_INVITE_FLOW_UPGRADE="accept_invite_flow_upgrade",s.ACCEPT_INVITE_LANDING_PAGE="accept_invite_landing_page",s.ACCEPT_INVITE_CHOOSE_TEAM="accept_invite_choose_team",s.ACCEPT_INVITE_REVIEW="accept_invite_review",s.ACCEPT_INVITE_SUCCESS="accept_invite_success",s.PENDING_INVITATIONS_SCREEN="pending_invitations_screen",s.PENDING_INVITATIONS_REVOKE_ALL_MODAL="pending_invitations_revoke_all_modal",s.PENDING_INVITATIONS_REVOKE_MODAL="pending_invitations_revoke_modal",s.PENDING_INVITATIONS_DELETE_ALL_MODAL="pending_invitations_delete_all_modal",s.ORGANIZATIONS_SCREEN="organizations_screen",s.PENDING_REQUESTS_SCREEN="pending_requests_screen",s.CREATE_CHANNEL_MODAL="create_channel_modal",s.SHARE_CHANNEL_MODAL="share_channel_modal",s.SHARE_CHANNEL_MODAL_OLD="share_channel_modal_old",s.CREATE_CHANNEL_WORKSPACE_MODAL="create_channel_workspace_modal",s.CREATE_CHANNEL_NAME_MODAL="create_channel_name_modal",s.CREATE_CHANNEL_VISIBILITY_MODAL="create_channel_visibility_modal",s.SOLUTIONS_TEMPLATE_BROWSER_MODAL="solutions_template_browser_modal",s.SOLUTIONS_TEMPLATE_DETAIL_MODAL="solutions_template_detail_modal",s.SOLUTIONS_CHANNEL_DETAIL_MODAL="solutions_channel_detail_modal",s.SOLUTIONS_FILTERED_VIEW="solutions_filtered_view",s.SOLUTIONS_MORE_TAB_COACHMARK="solutions_more_tab_coachmark",s.SOLUTIONS_TAB_INTRODUCTION_COACHMARK="solutions_tab_introduction_coachmark",s.ADD_MEMBERS_IN_CHANNEL_CREATION="add_members_in_channel_creation",s.CHANNEL_CREATION_ADD_MEMBERS="channel_creation_add_members",s.COMPOSE="compose",s.MENU="menu",s.COMPOSE_FLOW_CREATE="compose_flow_create",s.COMPOSE_FLOW_OPEN="compose_flow_open",s.COMPOSE_FLOW_SET_DESTINATION="compose_flow_set_destination",s.COMPOSE_FLOW_DELETE="compose_flow_delete",s.COMPOSE_FLOW_UNDO_DELETE="compose_flow_undo_delete",s.COMPOSE_FLOW_SEND="compose_flow_send",s.COMPOSE_FLOW_CLOSE="compose_flow_close",s.COMPOSE_FLOW_DRAFTS_OPEN="compose_flow_drafts_open",s.COMPOSE_FLOW_EXPAND="compose_flow_expand",s.COMPOSE_FLOW_CONTRACT="compose_flow_contract",s.COMPOSE_FLOW_DELETE_CANCEL="compose_flow_delete_cancel",s.COMPOSE_FLOW_SEND_CANCEL="compose_flow_send_cancel",s.COMPOSE_FLOW_DELETE_OLD="compose_flow_delete_old",s.COMPOSE_FLOW_DELETE_OLD_CANCEL="compose_flow_delete_old_cancel",s.COMPOSE_FLOW_SEND_EMAIL_INVITES="compose_flow_send_email_invites",s.COMPOSE_FLOW_INVITE_FROM_EMAIL_RESOLVED="compose_flow_invite_from_email_resolved",s.BROADCAST_WARNING="broadcast_warning",s.SENSITIVE_INFO_WARNING="sensitive_info_warning",s.COMPOSE_FLOW_ASK_AI_BUTTON_CLICKED="compose_flow_ask_ai_button_clicked",s.SCHEDULED_LIST_OPEN="scheduled_list_open",s.SIDEBAR_SCHEDULED_CLICK="sidebar_scheduled_click",s.CONTEXTBAR_SCHEDULED_CLICK="contextbar_scheduled_click",s.SCHEDULED_MESSAGE_SCHEDULED="scheduled_message_scheduled",s.SCHEDULED_SCHEDULING_MODAL_OPEN="scheduled_scheduling_modal_open",s.SCHEDULED_MESSAGE_OPTIONS_OPEN="scheduled_message_options_open",s.SCHEDULED_MESSAGE_OPTIONS="scheduled_message_options",s.CALLS_BUTTON_COACHMARK_OPEN="calls_button_coachmark_open",s.CALLS_BUTTON_COACHMARK_LEARN_MORE="calls_button_coachmark_learn_more",s.CALLS_BLOCK_JOIN_CALL="calls_block_join_call",s.CALLS_MENU_OPEN="calls_menu_open",s.CALLS_MENU_ITEM_CLICK="calls_menu_item_click",s.CALLS_ADMIN_SAVE_CALLS_APPS="calls_admin_save_calls_apps",s.CALLS_SURVEY="calls_survey",s.CALLS_START="calls_start",s.CALLS_JOIN="calls_join",s.CALLS_RECONNECT_NATIVE="calls_reconnect_native",s.CALLS_MUTE="calls_mute",s.CALLS_UNMUTE="calls_unmute",s.CALLS_ERROR="calls_error",s.CALLS_VIDEO_START="calls_video_start",s.CALLS_VIDEO_STOP="calls_video_stop",s.CONTEXTUAL_SHORTCUTS_EDUCATION="contextual_shortcuts_education",s.NAVIGATION_SHORTCUTS_EDUCATION="navigation_shortcuts_education",s.TRIAL_ENDED_MODAL="trial_ended_modal",s.SELECT_TEAM_DESCRIPTION="select_team_description",s.SELECT_TEAM_GOALS="select_team_goals",s.SELECT_PLAN="select_plan",s.BENEFITS_SIDEBAR="benefits_sidebar",s.BENEFITS_PAGE="benefits_page",s.EPHEMERAL_MESSAGE_GIF="ephemeral_message_gif",s.TIP_COMPONENT="tip_component",s.SHARED_CHANNELS_CHANNEL_FOREWORD="shared_channels_channel_foreword",s.DOWNLOAD_MOBILE_BANNER="download_mobile_banner",s.DOWNLOAD_MOBILE_BANNER_EXISTING_HUMAN="download_mobile_banner_existing_human",s.DEFER_DOWNLOAD_MOBILE_BANNER="defer_download_mobile_banner",s.DOWNLOAD_MOBILE_DM_PROMO="download_mobile_dm_promo",s.SENT_MAGIC_LOGIN_CONFIRMATION_MODAL="sent_magic_login_confirmation_modal",s.MAIN_MENU="main_menu",s.ADD_WORKSPACES_PROMPT="add_workspaces_prompt",s.QR_CODE_DOWNLOAD_MODAL="qr_code_download_modal",s.MOBILE_SOCIAL_PROOF_BANNER="mobile_social_proof_banner",s.ADD_WORKSPACES_TO_SSB_MODAL="add_workspaces_to_ssb_modal",s.ADD_WORKSPACES_TO_SSB_EMAIL_CONFIRMATION_MODAL="add_workspaces_to_ssb_email_confirmation_modal",s.QR_CODE_SIGNIN_MODAL="qr_code_signin_modal",s.ADMIN_INVITES_HEADER="admin_invites_header",s.ADMIN_INVITE_REQUESTS="admin_invite_requests",s.ADMIN_PENDING_INVITES="admin_pending_invites",s.ADMIN_ACCEPTED_INVITES="admin_accepted_invites",s.ADMIN_INVITE_LINKS="admin_invite_links",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_MENU_OPTION="channel_get_channel_email_address_menu_option",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_MODAL="channel_get_channel_email_address_modal",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_DELETE_BUTTON="channel_get_channel_email_address_delete_button",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_DELETE_EMAIL="channel_get_channel_email_address_delete_email",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_HELP="channel_get_channel_email_address_help",s.CHANNEL_GET_CHANNEL_EMAIL_ADDRESS_HELP_BUTTON="channel_get_channel_email_address_help_button",s.PAGE_APP_DIRECTORY_SEARCH_RESULTS="page_app_directory_search_results",s.IA_EDUCATION="ia_education",s.IA_EDUCATION_INLINE_BANNER="ia_education_inline_banner",s.HOME_TAB="home_tab",s.DM_TAB="dm_tab",s.MENTIONS_TAB="mentions_tab",s.YOU_TAB="you_tab",s.SEARCH_TAB="search_tab",s.MORE_PEEK="more_peek",s.SIGN_IN_EMAIL="sign_in_email",s.SIGN_IN_PASSWORD="sign_in_password",s.SIGN_IN_TFA_ENTRY="sign_in_tfa_entry",s.SIGN_IN_TFA_REQUIRED="sign_in_tfa_required",s.SIGN_IN_SSO_SIGN_IN="sign_in_sso_sign_in",s.SIGN_IN_JOIN_CONTACT_ADMIN="sign_in_join_contact_admin",s.SIGN_IN_JOIN="sign_in_join",s.SIGN_IN_COMPLETE="sign_in_complete",s.SIGN_IN_OPTIONS="sign_in_options",s.SIGN_IN_WITH_GOOGLE="sign_in_with_google",s.SIGN_IN_WITH_APPLE="sign_in_with_apple",s.HIDDEN_EMAIL_WARNING="hidden_email_warning",s.HIDDEN_EMAIL_NAME_INPUT="hidden_email_name_input",s.PROVIDER_CONNECT="provider_connect",s.CALENDAR_CONNECT="calendar_connect",s.CREATE_EVENT="create_event",s.CREATE_EVENT_ERROR="create_event_error",s.CREATE_EVENT_SUCCESS="create_event_success",s.CALENDAR_AUTH="calendar_auth",s.COACHMARK="coachmark",s.CHANNEL_CREATE_START="channel_create_start",s.LINK_EXISTING="link_existing",s.DM_CREATE_START="dm_create_start",s.EVENT_INFO="event_info",s.EVENT_ACTION="event_action",s.EVENT_RSVP="event_rsvp",s.SYNC_OPTION_VIEWED="sync_option_viewed",s.CALENDAR_MODAL_VIEWED="calendar_modal_viewed",s.FILE_VIEWER="file_viewer",s.FILE_PICKER_MENU="file_picker_menu",s.FILE_PICKER_CREATE_MENU="file_picker_create_menu",s.FILE_PICKER_CREATE_ITEM="file_picker_create_item",s.FILE_PICKER_REMOTE_ITEM="file_picker_remote_item",s.FILE_PICKER_UPLOAD="file_picker_upload",s.FILE_PICKER_SHARE="file_picker_share",s.ACCESS_CHOICE="access_choice",s.OPINIONATED_ACCESS_CHOICE="opinionated_access_choice",s.CONFIRMATION="confirmation",s.DOUBLE_CHECK="double_check",s.INVITE_MEMBER_CONFIRMATION="invite_member_confirmation",s.EXTERNAL_COLLABORATION_OPTIONS="external_collaboration_options",s.INVITES_LOCAL_CONTACTS_PERMISSION_MODAL="invites_local_contacts_permission_modal",s.INVITES_SKIP_MODAL="invites_skip_modal",s.CONTACT_LIST_CONFIRMATION="contact_list_confirmation",s.SEND_INVITE_TEXT="send_invite_text",s.EMAIL_INVITES="email_invites",s.SSB_DEEPLINK_WEB_FALLBACK="ssb_deeplink_web_fallback",s.SSB_DEEPLINK_SIGNIN_FALLBACK="ssb_deeplink_signin_fallback",s.SSB_DEEPLINK_COPY_SIGNIN_FALLBACK="ssb_deeplink_copy_signin_fallback",s.DOWNLOAD_SSB_BANNER="download_ssb_banner",s.DOWNLOAD_SSB_BANNER_OPENORDOWNLOAD="download_ssb_banner_openordownload",s.DOWNLOAD_SSB_FULLSCREEN_MODAL="download_ssb_fullscreen_modal",s.DOWNLOAD_SSB_FULLSCREEN_MODAL_OPENORDOWNLOAD="download_ssb_fullscreen_modal_openordownload",s.DOWNLOAD_SSB_BANNER_MODAL="download_ssb_banner_modal",s.HUDDLE_COMPOSER_HEADER_BUTTON="huddle_composer_header_button",s.HUDDLE_COMPOSER_INVITES_SENT="huddle_composer_invites_sent",s.CONNECT_WITH_HUDDLES="connect_with_huddles",s.INVITER_CREATE_LINK="inviter_create_link",s.RECEIVE_DM_INVITE_LINK="receive_dm_invite_link",s.END_DM="end_dm",s.RESUME_DM="resume_dm",s.EXAMPLE_CHANNEL="example_channel",s.EXAMPLE_CHANNEL_INTRO="example_channel_intro",s.EXAMPLE_CHANNEL_SIDEBAR="example_channel_sidebar",s.EXAMPLE_CHANNEL_REMOVAL_CONFIRMATION="example_channel_removal_confirmation",s.SETUP_CHANNEL_EXAMPLE_COACHMARK="setup_channel_example_coachmark",s.PROG_DISC_TIP="prog_disc_tip",s.PROG_DISC_JOINER_INTRO_MODAL="prog_disc_joiner_intro_modal",s.SLACK_CONNECT_INTRO="slack_connect_intro",s.INVITE_USERS="invite_users",s.WAIT_FOR_ADMINS_SIGN_OFF="wait_for_admins_sign_off",s.GET_TO_WORK="get_to_work",s.STREAMLINE_OPEN="streamline_open",s.STREAMLINE_CLICK_THROUGH="streamline_click_through",s.STREAMLINE_FILTER_TAB="streamline_filter_tab",s.STREAMLINE_PREFERENCES="streamline_preferences",s.STREAMLINE_DOCK="streamline_dock",s.SENT_VIEW_OPEN="sent_view_open",s.SENT_ITEM_CLICK="sent_item_click",s.SLACK_CONNECT_BULK_PREF_OVERRIDE_MODAL="slack_connect_bulk_pref_override_modal",s.SLACK_CONNECT_FIRST_CONNECTION_APPROVAL_MODAL="slack_connect_bulk_pref_override_modal",s.TRIAL_OFFER="trial_offer",s.START_TRIAL="start_trial",s.TRIAL_STARTED="trial_started",s.SLACK_CONNECT_GUIDELINES_MODAL="slack_connect_guidelines_modal",s.SLACK_CONNECT_GUIDELINES_BASE_MODAL="slack_connect_guidelines_base_modal",s.SLACK_CONNECT_GUIDELINES_INPUT_MODAL="slack_connect_guidelines_input_modal",s.SLACK_CONNECT_GUIDELINES_REMOVE_MODAL="slack_connect_guidelines_remove_modal",s.SLACK_CONNECT_GUIDELINES_LINK_INTERMEDIARY_MODAL="slack_connect_guidelines_link_intermediary_modal",s.SLACK_CONNECT_CONTACT_UNFURL="slack_connect_contact_unfurl",s.SLACK_CONNECT_CONTACT_CARD="slack_connect_contact_card",s.SLACK_CONNECT_HUB_ORGS_CONNECTED="slack_connect_hub_orgs_connected",s.SLACK_CONNECT_HUB_ORGS_OTHER="slack_connect_hub_orgs_other",s.SLACK_CONNECT_HUB_SEARCH="slack_connect_hub_search",s.SLACK_CONNECT_INVITER_BANNER_FROM_CHANNEL="slack_connect_inviter_banner_from_channel",s.SLACK_CONNECT_INVITER_BANNER_FROM_COMPOSER="slack_connect_inviter_banner_from_composer",s.CONNECTABLE_CONTACTS_SEARCH_RESULT="connectable_contacts_search_result",s.CONNECTABLE_CONTACTS_DM_INVITE="connectable_contacts_dm_invite",s.CHANNEL_DETAILS_OPEN="channel_details_open",s.CHANNEL_DETAILS_CLOSE="channel_details_close",s.CHANNEL_DETAILS_JOIN="channel_details_join",s.CHANNEL_DETAILS_LEAVE="channel_details_leave",s.CHANNEL_DETAILS_TAB_SWITCH="channel_details_tab_switch",s.CHANNEL_DETAILS_NOTIFICATIONS="channel_details_notifications",s.CHANNEL_DETAILS_FILES="channel_details_files",s.CHANNEL_DETAILS_FILE_CLICK="channel_details_file_click",s.CHANNEL_DETAILS_SHOW_MORE_FILES="channel_details_show_more_files",s.CHANNEL_DETAILS_SHOW_ALL_SLACK_CONNECT="channel_details_show_all_slack_connect",s.CHANNEL_DETAILS_SLACK_CONNECT_LEARN_MORE="channel_details_slack_connect_learn_more",s.CHANNEL_DETAILS_ADD_PEOPLE="channel_details_add_people",s.CHANNEL_DETAILS_INLINE_ADD_PERSON="channel_details_inline_add_person",s.CHANNEL_DETAILS_ADD_WORKFLOW="channel_details_add_workflow",s.CHANNEL_DETAILS_RUN_WORKFLOW="channel_details_run_workflow",s.CHANNEL_DETAILS_REMOVE_WORKFLOW_MODAL="channel_details_remove_workflow_modal",s.CHANNEL_DETAILS_REMOVE_WORKFLOW="channel_details_remove_workflow",s.CHANNEL_DETAILS_VIEW_WORKFLOW_DETAILS="channel_details_view_workflow_details",s.CHANNEL_DETAILS_UNINSTALL_WORKFLOW="channel_details_uninstall_workflow",s.CHANNEL_DETAILS_SHOW_MORE_WORKFLOWS="channel_details_show_more_workflows",s.CHANNEL_DETAILS_MANAGE_WORKFLOWS="channel_details_manage_workflows",s.CHANNEL_DETAILS_ADD_APP="channel_details_add_app",s.CHANNEL_DETAILS_SHOW_MORE_APPS="channel_details_show_more_apps",s.CHANNEL_DETAILS_SHOW_APP_PROFILE_CARD="channel_details_show_app_profile_card",s.CHANNEL_DETAILS_SEND_EMAIL_TO_CHANNEL="channel_details_send_email_to_channel",s.CHANNEL_DETAILS_JUMP_TO_CHANNEL_START="channel_details_jump_to_channel_start",s.CHANNEL_DETAILS_EDIT_CHANNEL_NAME="channel_details_edit_channel_name",s.CHANNEL_DETAILS_EDIT_TOPIC="channel_details_edit_topic",s.CHANNEL_DETAILS_EDIT_DESCRIPTION="channel_details_edit_description",s.CHANNEL_DETAILS_EDIT_SLACK_CONNECT="channel_details_edit_slack_connect",s.CHANNEL_DETAILS_EDIT_INVITE_SLACK_CONNECT="channel_details_edit_invite_slack_connect",s.CHANNEL_DETAILS_EDIT_COPY_MEMBER_NAMES="channel_details_edit_copy_member_names",s.CHANNEL_DETAILS_EDIT_COPY_MEMBER_EMAILS="channel_details_edit_copy_member_emails",s.CHANNEL_DETAILS_EDIT_POSTING_PERMISSIONS="channel_details_edit_posting_permissions",s.CHANNEL_DETAILS_EDIT_MESSAGE_RETENTION="channel_details_edit_message_retention",s.CHANNEL_DETAILS_EDIT_ORG_WORKSPACES="channel_details_edit_org_workspaces",s.CHANNEL_DETAILS_EDIT_CONVERT_TO_PRIVATE="channel_details_edit_convert_to_private",s.CHANNEL_DETAILS_EDIT_CONVERT_SCMPDM_TO_PRIVATE="channel_details_edit_convert_scmpdm_to_private",s.CHANNEL_DETAILS_EDIT_CONVERT_SCMPDM_TO_PRIVATE_MODAL_CONTENTS="channel_details_edit_convert_scmpdm_to_private_modal_contents",s.CHANNEL_DETAILS_EDIT_CONVERT_SCMPDM_TO_PRIVATE_MODAL_CONTENTS_CANCEL="channel_details_edit_convert_scmpdm_to_private_modal_contents_cancel",s.CHANNEL_DETAILS_EDIT_CONVERT_SCMPDM_TO_PRIVATE_MODAL_CONTENTS_CONVERT="channel_details_edit_convert_scmpdm_to_private_modal_contents_convert",s.CHANNEL_DETAILS_EDIT_CONVERT_TO_PUBLIC="channel_details_edit_convert_to_public",s.CHANNEL_DETAILS_EDIT_CHANGE_LIMITED_ACCESS_GROUP="channel_details_edit_change_limited_access_group",s.CHANNEL_DETAILS_EDIT_EXPORT_HISTORY="channel_details_edit_export_history",s.CHANNEL_DETAILS_EDIT_ARCHIVE="channel_details_edit_archive",s.CHANNEL_DETAILS_EDIT_UNARCHIVE="channel_details_edit_unarchive",s.CHANNEL_DETAILS_EDIT_DELETE="channel_details_edit_delete",s.CHANNEL_DETAILS_EDIT_CHANNEL_MANAGERS="channel_details_edit_channel_managers",s.CHANNEL_DETAILS_WORKFLOWS_UPGRADE="channel_details_workflows_upgrade",s.CHANNEL_DETAILS_SEND_EMAIL_UPGRADE="channel_details_send_email_upgrade",s.CHANNEL_DETAILS_SLACK_CONNECT_UPGRADE="channel_details_slack_connect_upgrade",s.CHANNEL_DETAILS_EDIT_HUDDLES_PERMISSIONS="channel_details_edit_huddles_permissions",s.CHANNEL_DETAILS_EDIT_CHANNEL_MEMBER_PERMISSIONS="channel_details_edit_channel_member_permissions",s.CHANNEL_DETAILS_EDIT_CHANNEL_MEMBER_PERMISSIONS_SAVE="channel_details_edit_channel_member_permissions_save",s.CHANNEL_DETAILS_EDIT_CHANNEL_MCG_PERMISSIONS="channel_details_edit_channel_mcg_permissions",s.CHANNEL_DETAILS_EDIT_CHANNEL_MCG_PERMISSIONS_SAVE="channel_details_edit_channel_mcg_permissions_save",s.CHANNEL_DETAILS_NEW_PERMISSIONS_COACHMARK="channel_details_new_permissions_coachmark",s.CHANNEL_DETAILS_START_CALL="channel_details_start_call",s.CHANNEL_DETAILS_SLACK_CONNECT_ADD_PEOPLE="channel_details_slack_add_people",s.CHANNEL_DETAILS_SLACK_CONNECT_SHARE_LINK="channel_details_slack_share_link",s.CHANNEL_DETAILS_SLACK_CONNECT_SHARE_LINK_CLICK_COPY="channel_details_slack_share_link_click_copy",s.CHANNEL_DETAILS_TOGGLE_START_HUDDLE="channel_details_toggle_start_huddle",s.CHANNEL_DETAILS_COPY_HUDDLE_LINK="channel_details_copy_huddle_link",s.CHANNEL_DETAILS_FORWARD_WORKFLOW="channel_details_forward_workflow",s.CHANNEL_DETAILS_COPY_WORKFLOW_URL="channel_details_copy_workflow_url",s.CHANNEL_DETAILS_RECORD_CHANNEL_UNLINK="channel_details_record_channel_unlink",s.VIEW_HEADER_BIG_BUTTON_CLICK="view_header_big_button_click",s.VIEW_HEADER_SIDEBAR_TOGGLE="view_header_sidebar_toggle",s.VIEW_HEADER_ACTION="view_header_action",s.VIEW_HEADER_COACHMARK_LEARN_MORE="view_header_coachmark_learn_more",s.WORKSPACE_MEMBERS="workspace_members",s.WORKSPACE_ADD_MEMBERS="workspace_add_members",s.MEMBER_ADD_WORKSPACE="member_add_workspace",s.MANDATORY_2FA="mandatory_2fa",s.SESSION_DURATION="session_duration",s.DESKTOP_SESSION_DURATION="desktop_session_duration",s.MOBILE_SESSION_DURATION="mobile_session_duration",s.FORCE_PASSWORD_RESET="force_password_reset",s.MOBILE_DEVICE_APPROVAL="mobile_device_approval",s.BLOCK_FILE_DOWNLOADS_AND_COPYING="block_file_downloads_and_copying",s.MOBILE_PASSCODE="mobile_passcode",s.MANDATORY_MOBILE_BROWSER="mandatory_mobile_browser",s.MOBILE_BLOCK_MESSAGE_COPY="mobile_block_message_copy",s.JAILBREAK_OR_ROOT_DETECTION="jailbreak_or_root_detection",s.MINIMUM_APP_VERSION="minimum_app_version",s.NTLM_DOMAIN_APPROVAL="ntlm_domain_approval",s.HIDE_MESSAGE_CONTENT_FOR_INVITED_MEMBERS="hide_message_content_for_invited_members",s.ENFORCE_TLS_FOR_INVITED_MEMBERS="enforce_tls_for_invited_members",s.DEACTIVATE_ORG_MEMBER="deactivate_org_member",s.FORGET_ORG_MEMBER="forget_org_member",s.FEEDBACK_SEND_MESSAGE="feedback_send_message",s.CONVERT_TO_MOBILE_ONLY="convert_to_mobile_only",s.CONVERT_TO_ALL_DEVICE_ACCESS="convert_to_all_device_access",s.SECURITY_SETTINGS_EXPORT="security_settings_export",s.MSG_INPUT_EXPAND="msg_input_expand",s.MSG_INPUT_CONTRACT="msg_input_contract",s.INVITE_TYPE_EXTERNAL="invite_type_external",s.INVITE_TYPE_INTERNAL="invite_type_internal",s.INVITE_TYPE_INTERNAL_ORG_MEMBER="invite_type_internal_org_member",s.SHARED_CHANNEL_NOTE="shared_channel_note",s.SHARED_CHANNEL_EXTERNAL_LIMITED="shared_channel_external_limited",s.SELECT_WORKSPACE="select_workspace",s.EXTERNAL_LIMITED_MEMBERS_MODAL="external_limited_members_modal",s.MANAGE_EXTERNAL_PERMISSIONS_MODAL_LIST_ORGS="manage_external_permissions_modal_list_orgs",s.MANAGE_EXTERNAL_PERMISSIONS_MODAL_SELECT_PERMISSIONS="manage_external_permissions_modal_select_permissions",s.MANAGE_EXTERNAL_PERMISSIONS_MODAL_CONFIRM="manage_external_permissions_modal_confirm",s.REVOKE_ALL_MODAL="admin_invites_revoke_all_modal",s.MPIM_ADD_PEOPLE_HISTORY_MODAL="mpim_add_people_history_modal",s.SAVED_LIST_IN_PROGRESS="saved_list_in_progress",s.SAVED_LIST_ARCHIVED="saved_list_archived",s.SAVED_LIST_COMPLETED="saved_list_completed",s.SAVED_MODAL_OPEN="saved_modal_open",s.SAVED_CHANNEL_SIDEBAR_MORE_MENU="saved_channel_sidebar_more_menu",s.SAVED_NUX="saved_nux",s.SAVED_SEND_MESSAGE="saved_send_message",s.SAVED_FOR_LATER_SIDEBAR="saved_for_later_sidebar",s.SALES_HOME="sales_home",s.SALES_HOME_AUTH="sales_home_auth",s.QUIP_CREATION="quip_creation",s.QUIP_OPEN_STEP="quip_open",s.QUIP_SEARCH_OPEN="quip_search_open",s.QUIP_SEARCH_AUTOCOMPLETE="quip_search_autocomplete",s.QUIP_SEARCH_FULL="quip_search_full",s.CANVAS_VERSION_SELECT="canvas_version_select",s.CANVAS_WORKFLOW_PUBLICH="canvas_workflow_publish",s.CANVAS_SCROLL_DISMISS_HIGHLIGHTS="canvas_scroll_dismiss_highlights",s.CANVAS_CLICK_PILL_DISMISS_HIGHLIGHTS="canvas_click_pill_dismiss_highlights",s.CANVAS_EDIT_DISMISS_HIGHLIGHTS="canvas_edit_dismiss_highlights",s.CANVAS_TAB_REVEAL_COACHMARK="canvsa_tab_reveal_coachmark",s.CANVAS_TAB_SUGGESTION_COACHMARK="canvas_tab_suggestion_coachmark",s.SEARCH_INVITE_DROPDOWN_CTA="search_invite_dropdown_cta",s.SEARCH_ENTERPRISE_MANAGE_MODAL="search_enterprise_manage_modal",s.SEARCH_ENTERPRISE_CONNECT_SOURCE="search_enterprise_connect_source",s.SEARCH_ENTERPRISE_DISABLE_SOURCE="search_enterprise_disable_source",s.SEARCH_ENTERPRISE_MANAGE_SOURCE="search_enterprise_manage_source",s.SEARCH_ENTERPRISE_HIDE_SOURCE="search_enterprise_hide_source",s.ADVANCED_SEARCH_FILTERS_ACCEPT="advanced_search_filters_accept",s.ADVANCED_SEARCH_FILTERS_CANCEL="advanced_search_filters_cancel",s.ADVANCED_SEARCH_FILTERS_OPEN="advanced_search_filters_open",s.ADVANCED_SEARCH_FILTERS_CLEAR="advanced_search_filters_clear",s.HIDE_USER_CONFIRM="hide_user_confirm",s.HIDDEN_USERS_SETTINGS="hidden_users_settings",s.CHAMPION_FOREWORD="champion_channel_foreword",s.CHAMPION_DM_FOREWORD="champion_dm_foreword",s.ADMIN_PANEL_AUTOMATIC_DM_SETTINGS="admin_panel_automatic_dm_settings",s.CHAMPION_SUGGESTION_MESSAGE="champion_suggestion_message",s.CHAMPION_DM_COACHMARK="champion_dm_coachmark",s.CHAMPION_EPHEMERAL_MESSAGE="champion_ephemeral_message",s.CHAMPION_AUTOMATED_DM_LABEL="automated_dm_label",s.MULTI_SKIN_TONE_EMOJI_PICKER_OPENED="emoji_multi_skin-tone_picker_opened",s.MULTI_SKIN_TONE_EMOJI_SELECTED="emoji_multi_skin-tone_emoji_selected",s.EMOJI_PICKER_GROUP_TAB_SELECTED="emoji_picker_group_tab_selected",s.GIFS_PICKER_SEARCH_RESULTS="search_results",s.GIFS_PICKER_TRENDING="trending",s.GIFS_PICKER_OPENED_FROM_PLUS_MENU="plus_menu",s.GIFS_PICKER_OPENED_FROM_EMOJI_BUTTON="emoji_button",s.GIFS_PICKER_OPENED_FROM_SLASH_COMMAND="slash_command",s.DMS_TAB_NEW_MESSAGE_BUTTON_CLICK="dms_tab_new_message_button_click",s.DMS_TAB_FILTER_MENU_OPEN="dms_tab_filter_menu_open",s.DMS_TAB_FILTER_BY_EXTERNAL="dms_tab_filter_by_external",s.DMS_TAB_FILTER_BY_INTERNAL="dms_tab_filter_by_internal",s.DMS_TAB_FILTER_BY_ALL="dms_tab_filter_by_all",s.DMS_TAB_MARK_ALL_AS_READ="dms_tab_mark_all_as_read",s.NFX_WELCOME_MODAL="nfx_welcome_modal",s.NFX_WELCOME_MODAL_HOME_MORE="nfx_welcome_modal_home_more",s.NFX_ACTIVITY_COACHMARK="nfx_activity_coachmark",s.NFX_WORKSPACE_FILTER_COACHMARK="nfx_workspace_filter_coachmark",s.NFX_TEAM_SWITCHER_COACHMARK="nfx_team_switcher_coachmark",s.NFX_HUDDLE_COACHMARK="nfx_huddle_coachmark",s.NFX_MORE_COACHMARK="nfx_more_coachmark",s.NFX_MORE_PEEK_COACHMARK="nfx_more_peek_coachmark",s.NFX_THEMING_COACHMARK="nfx_theming_coachmark",s.THEME_NFX_SIDEBAR_INVERTED_V2_COACHMARK="theme_nfx_sidebar_inverted_v2_coachmark",s.NFX_HELP_COACHMARK="nfx_help_coachmark",s.NFX_SALESFORCE_COACHMARK="nfx_salesforce_coachmark",s.NFX_GRID_ADMINS_MODAL="nfx_grid_admins_modal",s.HOME_ACTIVITY_NUDGE="home_activity_nudge",s.HOME_FILTER_MENU="home_filter_menu",s.DM_MESSAGE_NUDGE="dm_message_nudge",s.TABS_REVEAL_COACHMARK="tabs_reveal_coachmark",s.NUX_TRACTOR_CHANNEL="nux_tractor_channel",s.NUX_HUDDLES_CANVAS="nux_huddles_canvas",s.NUX_CUSTOMIZATION="nux_customization",s.NUX_GLOBAL_CREATE="nux_global_create",s.LIMITED_HISTORY_BANNER="limited_history_banner",s.LIMITED_HISTORY_MESSAGE_SEARCH="limited_history_message_search",s.LIMITED_HISTORY_FILE_SEARCH="limited_history_file_search",s.LIMITED_HISTORY_APPROACHING_LIMIT="limited_history_approaching_limit",s.LIMITED_HISTORY_JUST_REACHED_LIMIT="limited_history_just_reached_limit",s.LIMITED_HISTORY_TRIAL_START="limited_history_trial_start",s.JOIN_CHANNEL_PANE_WITH_JOIN_CONTEXT="join_channel_pane_with_join_context",s.JOIN_CHANNEL_PANE="join_channel_pane",s.RESURRECTED_USER_WELCOME="resurrected_user_welcome",s.SLACK_AI_NUX_START_MODAL="slack_ai_nux_start_modal",s.SLACK_AI_NUX_CHANNEL_SUMMARIES_COACHMARK="slack_ai_nux_channel_summaries_coachmark",s.SLACK_AI_NUX_SEARCH_ANSWERS_COACHMARK="slack_ai_nux_search_answers_coachmark",s.SLACK_AI_NUX_FINISH_MODAL="slack_ai_nux_finish_modal",s.SLACK_AI_NUX_SECONDARY_CHANNEL_SUMMARIES_COACHMARK="slack_ai_nux_secondary_channel_summaries_coachmark",s.SLACK_AI_PERSISTENT_SIDEBAR_NFX_COACHMARK="slack_ai_persistent_sidebar_nfx_coachmark",s.SLACK_AI_PERSISTENT_SIDEBAR_NFX_BANNER="slack_ai_persistent_sidebar_nfx_banner",s.SLACK_AI_REBRAND_SIDEBAR_BANNER="slack_ai_rebrand_sidebar_banner",s.SLACK_AI_CONTEXTUAL_SUMMARIES_COACHMARK="slack_ai_contextual_summaries_coachmark",s.SLACK_AI_CHANNEL_SUMMARIES_COACHMARK="slack_ai_channel_summaries_coachmark",s.SLACK_AI_FILE_SUMMARY_COACHMARK="slack_ai_file_summary_coachmark",s.SLACK_AI_CONTEXTUAL_SEARCH_COACHMARK="slack_ai_contextual_search_coachmark",s.SLACK_AI_NUX_RECAP_COACHMARK="slack_ai_nux_recap_coachmark",s.SLACK_AI_RECAP_EDUCATION_COACHMARK="slack_ai_recap_education_coachmark",s.SLACK_AI_NUX_RECAP_COACHMARK_SECOND_PREVIEW="slack_ai_nux_recap_coachmark_second_preview",s.SLACK_AI_RECAP_EDUCATION_EXTENDED_PREVIEW_COACHMARK_DAY_2="slack_ai_recap_education_extended_preview_coachmark_day_2",s.SLACK_AI_RECAP_EDUCATION_EXTENDED_PREVIEW_COACHMARK_DAY_3="slack_ai_recap_education_extended_preview_coachmark_day_3",s.SLACK_AI_RECAP_EDUCATION_EXTENDED_PREVIEW_COACHMARK_DAY_FINAL="slack_ai_recap_education_extended_preview_coachmark_day_final",s.SLACK_AI_SEARCH_SUMMARY_DETAIL_VIEW="slack_ai_search_summary_detail_view",s.SLACK_AI_SEARCH_SUMMARY_ANSWER="slack_ai_search_summary_answer",s.SLACK_AI_CHANNEL_SUMMARY="slack_ai_channel_summary",s.SLACK_AI_THREAD_SUMMARY="slack_ai_thread_summary",s.SLACK_AI_AUTO_THREAD_SUMMARY_ICON_COACHMARK="slack_ai_auto_thread_summary_icon_coachmark",s.SLACK_AI_NUX_AUTO_THREAD_SUMMARIES_BANNER="slack_ai_nux_auto_thread_summaries_banner",s.SLACK_AI_AUTO_THREAD_SUMMARY_RENDERER="slack_ai_auto_thread_summary_renderer",s.SLACKIVERSARY_SLIDE_INTRO="slackiversary_slide_intro",s.SLACKIVERSARY_SLIDE_TOP_EMOJI="slackiversary_slide_top_emoji",s.SLACKIVERSARY_SLIDE_TOP_POST="slackiversary_slide_top_post",s.SLACKIVERSARY_SLIDE_BESTIES="slackiversary_slide_besties",s.SLACKIVERSARY_SLIDE_PERSONA="slackiversary_slide_persona",s.SLACKIVERSARY_SLIDE_MESSAGE_COUNT="slackiversary_slide_message_count",s.SLACKIVERSARY_SLIDE_SLACKBOT_SPOTLIGHT="slackiversary_slide_slackbot_spotlight",s.SLACKIVERSARY_SLIDE_FINAL="slackiversary_slide_final",s.SLACKIVERSARY_NAVIGATION_NEXT="slackiversary_navigation_next",s.SLACKIVERSARY_NAVIGATION_PREV="slackiversary_navigation_prev",s.SLACKIVERSARY_NAVIGATION_JUMP="slackiversary_navigation_jump",s.SLACKIVERSARY_CAROUSEL_COMPLETE="slackiversary_carousel_complete",s.SLACKIVERSARY_PAUSE="slackiversary_pause",s.SLACKIVERSARY_PLAY="slackiversary_play",s.SLACKIVERSARY_RESTART="slackiversary_restart",s.SLACKIVERSARY_SIDEBAR_ITEM_IMPRESSION="slackiversary_sidebar_item_impression",s.SLACKIVERSARY_SIDEBAR_ITEM_CLICK="slackiversary_sidebar_item_click",s.SLACKIVERSARY_SIDEBAR_ITEM_DISMISS="slackiversary_sidebar_item_dismiss",s.SLACKIVERSARY_CONTENT_CARD_IMPRESSION="slackiversary_content_card_impression",s.SLACKIVERSARY_PAGE_IMPRESSION="slackiversary_page_impression",s.SLACKIVERSARY_MESSAGE_CLICK="slackiversary_message_click",s.SLACKIVERSARY_CTA_BUTTON_IMPRESSION="slackiversary_cta_button_impression",s.SLACKIVERSARY_CTA_BUTTON_CLICK="slackiversary_cta_button_click",s.SLACKIVERSARY_INTERNAL_SHARE_BUTTON_CLICK="slackiversary_internal_share_button_click",s.SLACK_LISTS_OPEN="slack_lists_open",s.SLACK_LISTS_CREATE="slack_lists_create",s.SLACK_LISTS_SUBTASK_CREATE="slack_lists_subtask_create",s.SLACK_LISTS_SUBTASK_COMPLETE="slack_lists_subtask_complete",s.SLACK_LISTS_SUBTASK_INCOMPLETE="slack_lists_subtask_incomplete",s.GLOBAL_TRIAL_ENTRY_POINT="global_trial_entry_point",s.GLOBAL_TRIAL_START_MODAL="global_trial_start_modal",s.DM_CANVAS_AUTO_OPENED="dm_canvas_auto_opened",s.DM_CANVAS_CLOSED_COACHMARK="dm_canvas_closed_coachmark",s.DM_CANVAS_CLOSURE_BANNER="dm_canvas_closure-banner",s.DM_CANVAS_PREVIEW_OPEN_ENTERPRISE="dm_canvas_preview_open_enterprise",s.DM_CANVAS_PREVIEW_OPEN_NON_GRID_TEAMS="dm_canvas_preview_open_non_grid_teams",s.CANVAS_CTA="canvas_cta",s.VIDEO_CLIP_CTA="video_clip_cta",s.HUDDLE_CTA="huddle_cta",s.EMOJI_PACK_CTA="emoji_pack_cta",s.GIF_CTA="gif_cta",s.DECORATED_DEFAULT_CHANNEL="decorated_default_channel",s.COLLAPSED="collapsed",s.EXPANDED="expanded",s.TENURED_TEAM_QUESTION="tenured_team_question",s.TENURED_TEAM_SOLUTION="tenured_team_solution",s.PERSONALIZED_INVITE_MESSAGE="personalized_invite_message",s.PERSONALIZED_INVITE_MESSAGE_NEW_TEAMS="personalized_invite_message_new_teams",s.EMAIL_PREVIEW_MESSAGE="email_preview_message",s.SIDEBAR_SWEEPER_BANNER="sidebar_sweeper_banner",s.SIDEBAR_SWEEPER_RECOMMENDATION="sidebar_sweeper_recommendation",s.SIDEBAR_SWEEPER_LEAVE_CHANNELS="sidebar_sweeper_leave_channels",s.SIDEBAR_SWEEPER_MAIN="sidebar_sweeper_main",s.SIDEBAR_SWEEPER_SHOW_CHANNELS="sidebar_sweeper_show_channels",s.SIDEBAR_SWEEPER_GROUP_CHANNELS="sidebar_sweeper_group_channels",s.SIDEBAR_SWEEPER_FINISH="sidebar_sweeper_finish",s.SIDEBAR_SWEEPER_LEAVE_BANNER="sidebar_sweeper_leave_banner",s.SIDEBAR_SWEEPER_DM_BANNER="sidebar_sweeper_dm_banner",s.SIDEBAR_SWEEPER_DM_CONFIRMATION="sidebar_sweeper_dm_confirmation",s.RESURRECTED_USER_WEB_PUSH_SUMMARY_NOTIFICATION_REJECTED="resurrected_user_web_push_summary_notification_rejected",s.RESURRECTED_USER_WEB_PUSH_SUMMARY_NOTIFICATION_SENT="resurrected_user_web_push_summary_notification_sent",s.NURTURE_TENURED_USER_WEB_PUSH_NOTIFICATION_REJECTED="nurture_tenured_user_web_push_notification_rejected",s.NURTURE_TENURED_USER_WEB_PUSH_NOTIFICATION_SENT="nurture_tenured_user_web_push_notification_sent",s.NURTURE_TENURED_USER_WEB_PUSH_NOTIFICATION_CLICKED="nurture_tenured_user_web_push_notification_clicked",s.SEASONAL_DELIGHT_WEB_PUSH_NOTIFICATION_REJECTED="seasonal_delight_web_push_notification_rejected",s.SEASONAL_DELIGHT_WEB_PUSH_NOTIFICATION_SENT="seasonal_delight_web_push_notification_sent",s.SEASONAL_DELIGHT_WEB_PUSH_NOTIFICATION_CLICKED="seasonal_delight_web_push_notification_clicked",s.WELCOME_PARTY_WEB_PUSH_NOTIFICATION_REJECTED="welcome_party_web_push_notification_rejected",s.WELCOME_PARTY_WEB_PUSH_NOTIFICATION_SENT="welcome_party_web_push_notification_sent",s.WELCOME_PARTY_WEB_PUSH_NOTIFICATION_CLICKED="welcome_party_web_push_notification_clicked",s.PREFILL_DM_CANVAS="prefill_dm_canvas",s.VIP_EDUCATION_BANNER="vip_education_banner",s.RECORD_CHANNEL_CREATION_PARENT_NUDGE="record_channel_creation_parent_nudge",s.RECORD_CHANNEL_CREATION_SELECT_METHOD="record_channel_creation_select_method",s.RECORD_CHANNEL_CREATION_LINK_EXISTING_CHANNEL="record_channel_creation_link_existing_channel",s.AGENTS_VIEW_CONVERSATION_STARTED_VIA_COMPOSER_MESSAGE="composer_message",s.AGENTS_VIEW_CONVERSATION_STARTED_VIA_PROMPT="select_prompt",s.AGENTS_ASK_VIA_SHAREABLE_PROMPT="ask_agent_via_prompt",s.WORKSPACE_WEAVER_CREATE_TEAM_SUCCESS="workspace_weaver_create_team_success",s.WORKSPACE_WEAVER_CREATE_TEAM_FAIL="workspace_weaver_create_team_fail",s.THREE_DAY_WORKSPACE_INVITE_REMINDER="three_day_workspace_invite_reminder",s.DO_NOT_EXTEND_WORKSPACE_INVITE_CONFIRMATION="do_not_extend_workspace_invite_confirmation",s.EXTEND_WORKSPACE_INVITE_CHOICE="extend_workspace_invite_choice",s.EXTEND_WORKSPACE_INVITE_CONFIRMATION="extend_workspace_invite_confirmation",s.EXPIRED_WORKSPACE_INVITE="expired_workspace_invite",s.DELETE_WORKSPACE_INVITE_CONFIRMATION="delete_workspace_invite_confirmation",s.RENEWED_WORKSPACE_INVITE_CONFIRMATION="renewed_workspace_invite_confirmation",s.CHANNEL_FOLDER_ADD_NEW_CANVAS="channel_folder_add_new_canvas",s.CHANNEL_FOLDER_ADD_NEW_LIST="channel_folder_add_new_list",s.WELCOME_USER="welcome_user",s.ADD_PROFILE_NAME="add_profile_name",s.SALESFORCE_EMBED_PLANS_PAGE_UPGRADE_CTA="salesforce_embed_plans_page_upgrade_cta",s.SALESFORCE_EMBED_PLANS_PAGE_CONTACT_SALES_CTA="salesforce_embed_plans_page_contact_sales_cta",s.SETUP_BUSINESS_CHALLENGE="setup_business_challenge",s.SETUP_DEPARTMENT="setup_department",s.SETUP_OAUTH_CONTACT_IMPORT="setup_oauth_contact_import",s.SETUP_SOCIAL_USE_CASE="setup_social_use_case",s.SETUP_OPTIMIZED_INVITES="setup_optimized_invites",s.FREE_TEAMS_REQUEST_TO_PURCHASE_ENTRY_POINT="free_teams_request_to_purchase_entry_point",s.SHOW_MORE_APPROVED_APPS="show_more_approved_apps",s.APPROVED_FOR_YOU_SEE_ALL="approved_for_you_see_all",s.APPROVED_APP_ONLY_FILTER="approved_apps_only_filter",s.CATEGORY_CARD="category_card",s.AGENT_CARD="agent_card",s.COLLECTION_CARD="collection_card",s.APP_LIST_ITEM="app_list_item",s.AGENT_LIST_ITEM="agent_list_item",s.APPROVED_APP_CARD="approved_app_card",s.SPLIT_VIEW_OPEN="split_view_open",s.SPLIT_VIEW_CLOSE="split_view_close",s.SPLIT_VIEW_MOVE="split_view_move",s.WORK_OBJECT_FILE_PREVIEW_CONTAINER="work_object_file_preview_container",s.WORK_OBJECT_FILE_VIEWER="work_object_file_viewer",s.WORK_OBJECT_FILE_PREVIEW_WO_FLEXPANE="work_object_file_preview_wo_flexpane",s.WORK_OBJECT_FILE_VIEWER_THREADS_VIEWER="work_object_file_viewer_threads_viewer",s.WORK_OBJECT_FILE_DOWNLOAD_CONTEXT="work_object_file_download_context",s.SLACK_FILE_VIEWER="slack_file_viewer",s.PAGE_APP_OBJECTS="page_app_objects",s.PAGE_WORK_OBJECTS="page_work_objects",s.PAGE_PLATFORM="page_platform",s.THREAD_ADMIN_TOOLS_PAUSE_REPLIES="thread_admin_tools_pause_replies",s.THREAD_ADMIN_TOOLS_HIDE_REPLIES="thread_admin_tools_hide_replies",s.THREAD_ADMIN_TOOLS_REACTIVATE_REPLIES="thread_admin_tools_reactivate_replies",s.DOWNMARKET_EARLY_SURVEY_SUBMIT="downmarket_early_survey_submit",s.DOWNMARKET_TENURED_SURVEY_SUBMIT="downmarket_tenured_survey_submit",s.TWO_FACTOR_BLOCKER_VIEW="two_factor_blocker_view",s.EDIT_MESSAGE="edit_message",s.PRE_SEND="pre_send",s.SENT_MESSAGE="sent_message",s.ONBOARDING_TASKS_REMINDER_NOTIFICATION_REJECTED="onboarding_tasks_reminder_notification_rejected",s.ONBOARDING_TASKS_REMINDER_NOTIFICATION_SENT="onboarding_tasks_reminder_notification_sent",s.ONBOARDING_TASKS_TEAMMATE_INTRO_MESSAGE_SENT="onboarding_tasks_teammate_intro_modal_message_sent",s.ONBOARDING_TASKS_SIDEBAR_LINK="onboarding_tasks_sidebar_link",s.SLACKBOTAI_NUX_SPLASH="slackbotai_nux_splash",s.SLACKBOTAI_NUX_PROMPTS="slackbotai_nux_prompts",s.SIGNED_IN_WORKSPACES="signed_in_workspaces",s.INPRODUCT_TEAM_CREATION_MESSAGE_BANNER="inproduct_team_creation_message_banner",s.INPRODUCT_TEAM_CREATION_PROMO_SIDEBAR_BANNER="inproduct_team_creation_promo_sidebar_banner",s)},0x1686570b0:(e,t,a)=>{"use strict";a.d(t,{qh:()=>Clogger,HM:()=>T,H5:()=>createDataClogArgs,RI:()=>k});var n=a(0xca924ee1),r=a(0xca5fbbb6),i=a(0x21f3c49e8),o=a(0x190e60a66),s=a(0xd6ba6894),l=a(0x4f6e90b4),c=a(0xcc110d9),d=a(0x1f355b555),u=a(0x635a12e1),m=a(0x18dac2b8e),f=a(0x8c8bafa3),_=a(0x19efc8b50),p=a(0xd35ac109),h=a(0x12edaa96a),g=a(0x1059ba41d),A=a(0xb9c8096),b=a(0x3711e82d),y=a(0x1d30b0ef7),S=a(0x1ec68d6a3),E=a(0x1266f1359);let k=(0,n.A)(()=>{let e=(0,c.v8)("t");if(!e)return!1;try{let t=JSON.parse(e);if(Object.keys(t).includes("dev_clog_debugmode"))return!0;return!1}catch{return!1}}),T={AUTO:"auto",EXPERIMENT_EXPOSURE:"experiment_exposure"},I=0,w=!1,recordLog=(e,t,a,n,r,i,o,s)=>{let l=null;l="string"==typeof s?(0,p.nT)(s,","):s??null;let c={tstamp:Date.now(),event:e,args:l};if(a&&(c.user_id=a),n){c.team_id=n;let e=(0,E.oK)(n)&&(0,E.$D)(n);if(e)if(l&&l.client_session)c.client_session=l.client_session,delete l.client_session;else{let t=(0,A.lH)((0,A.NI)(e));t&&(c.client_session={uid:t.id,timestamp_start:(0,u.A)(t.startTime),timestamp_refresh:(0,u.A)(t.lastActivity),seconds_offline:(0,A.D9)(t),version:parseInt((0,_.HF)(),10)||0})}}r&&(c.enterprise_id=r),!c.client_session&&o&&(c.session_id=o),c.args&&(c.args.team_id&&(c.team_id=c.args.team_id),c.args.user_id&&(c.user_id=c.args.user_id),c.args.enterprise_id&&(c.enterprise_id=c.args.enterprise_id)),i&&(c.i18n_locale=i),c.sub_app_name=(0,y.fj)()||"legacy",s?.requireSession&&(c.requiresSession=!0),t.push(c),(0,S.default)({teamId:n,enterpriseId:r}).debug("CLOG",e,c.args)},mapEnumValueToName=(e,t)=>{let a;switch(t){case"element_type":a=b.ElementType;break;case"action":a=b.UiAction;break;case"ui_element":a=b.UiElement;break;default:return e}return(0,r.A)(a)[e]??e},createDataClogArgs=(e,t,a,n)=>{let r=e.getAttribute("data-clog-event");if(!r)return(0,S.getGenericLogger)().warn("Logging with data-clog attributes requires a data-clog-event attribute"),null;let o={},s={},l=e.getAttribute("data-clog-params"),c=l?(0,p.nT)(l,","):{},d=e.getAttribute("data-clog-ui-action");if(d||a){let t=e.getAttribute("data-clog-ui-properties"),r=t?(0,p.nT)(t,","):{};if(r.element_type&&(r.element_type=mapEnumValueToName(String(r.element_type),"element_type")),n&&"change"===n.type){let e=n.target;e?.value&&(r.element_value=String(e.value))}(0,i.A)(r)||Object.assign(s,{ui_properties:r});let l=e.getAttribute("data-clog-ui-element"),c=d??String(a??null),u=e.getAttribute("data-clog-ui-step"),m=e.getAttribute("data-clog-ui-component"),f=e.getAttribute("data-clog-ui-variant"),_=e.getAttribute("data-clog-entry-point"),h=l?mapEnumValueToName(l,"ui_element"):null,g=c?mapEnumValueToName(String(c),"action"):null,A={};h&&(A.ui_element=h),g&&(A.action=g),u&&(A.ui_step=u),m&&(A.ui_component_name=m),f&&(A.ui_component_variant=f),_&&(A.entry_point=_),Object.assign(s,A),o={contexts:{ui_context:s}}}return"WEBSITE_CLICK"===r.toUpperCase()&&(c.page_url=t),Object.assign(o,c),o},maybeAttachDesktopContext=e=>{let t;return(0,g.g9M)()&&"object"==typeof e&&((t={...e}).contexts=t.contexts||{},t.contexts.desktop=t.contexts.desktop||(0,g.aYO)()),t||e};let Clogger=class Clogger{userId;teamId;enterpriseId;i18nLocale;logURLs=[];processingLogURLs=!1;options={};recordedLogs=[];autoClogRecordedLogs=[];experimentExposureRecordedLogs=[];sessionIdFunc;constructor(e={}){this.options=e,this.sessionIdFunc=((e,t,a)=>{let n,r;return()=>{if(void 0===r)return r=e(),n=a&&a()||new Date,r;let i=a&&a()||new Date;return i-n>t&&(r=e()),n=i,r}})(h.A,3e5)}setUser(e){return this.userId=e,this}setTeam(e){return this.teamId=e,this}setEnterprise(e){return this.enterpriseId=e,this}setLocale(e){return this.i18nLocale=e,this}setSessionIdFunc(e){return this.sessionIdFunc=e||(()=>void 0),this}track(e,t={},a={sendImmediately:!1}){recordLog(e,this.getLogs(),this.userId,this.teamId,this.enterpriseId,this.i18nLocale,this.sessionIdFunc(),maybeAttachDesktopContext(t)),a&&a.sendImmediately&&this.sendDataAndEmptyQueue()}trackClick(e,t,a,n={sendImmediately:!1}){let r=document.querySelector(e);return null===r?((0,S.getGenericLogger)().warn(`Could not find node with selector '${e}' - cannot track click for this element`),null):(r.addEventListener("click",()=>{recordLog(t,this.getLogs(),this.userId,this.teamId,this.enterpriseId,this.i18nLocale,this.sessionIdFunc(),maybeAttachDesktopContext(a)),n&&n.sendImmediately&&this.sendDataAndEmptyQueue()}),!0)}trackForm(e,t,a){let n=document.querySelector(e);return null===n?((0,S.getGenericLogger)().warn(`Could not find node with selector '${e}' - cannot track form submit for this element`),null):(n.addEventListener("submit",()=>{recordLog(t,this.getLogs(),this.userId,this.teamId,this.enterpriseId,this.i18nLocale,this.sessionIdFunc(),maybeAttachDesktopContext(a))}),!0)}trackClickWithContext(e){if(!e||!e.event)return;let t={};e.element&&Object.assign(t,{ui_context:{action:"click",ui_element:e.element}}),e.contexts&&Object.assign(t,e.contexts),this.track(e.event,{contexts:t})}processLogURLQueue(){this.processingLogURLs||this.logURLs.length&&(this.processingLogURLs=!0,this.processNextLogURL())}processNextLogURL(){if(w||!this.processingLogURLs)return;if(!this.logURLs.length){this.processingLogURLs=!1;return}let{teamId:e}=this,t=this.logURLs.shift(),updateSessionCallback=()=>{let e={};t.logs.forEach(t=>{if(t.team_id&&t.client_session&&t.client_session.uid){let a=(0,A.NI)((0,E.oK)(t.team_id)&&(0,E.$D)(t.team_id));a&&!e[a]&&(e[a]=[]),e[a].push(t.client_session.uid)}}),Object.keys(e).forEach(t=>{(0,A.PT)(t,e[t])})},a=k(),n=new FormData;if(n.append("logs",JSON.stringify(t.logs)),n.append("o","client"),a)n.append("withResponse","1"),fetch(t.url,{method:"POST",body:n,credentials:"include"}).then(()=>{updateSessionCallback(),I=0,this.processNextLogURL()});else{let a=new XMLHttpRequest;a.addEventListener("load",()=>{updateSessionCallback(),I=0,this.processNextLogURL()}),a.addEventListener("error",()=>{if(!navigator.onLine)return void this.processNextLogURL();if(I+=1,!w&&I>=8){let t=this.logURLs.length?` Clog queue length: ${this.logURLs.length}`:"";e&&(0,S.default)({teamId:e}).warn("CLOG",`Disabling clogging after ${I} sequential failures.${t}`),this.logURLs=[],w=!0}w||this.processNextLogURL()}),a.open("POST",t.url,!0),a.withCredentials=!0,a.send(n)}(0,S.getGenericLogger)().debug("CLOG","Logged event")}sendDataAndEmptyQueue(){let e=this.getLogs();if(!e.length)return;if(w)return void this.flushLogs();(0,S.getGenericLogger)().debug("CLOG","Sending clog data, emptying queue"),(0,S.getGenericLogger)().debug("CLOG","Logs: ",e);let t=Date.now(),a=[],n=[];for(let r of e)if(r.requiresSession&&!r.client_session){let e=t-r.tstamp>12e4,i=this.tryResolveSession(r);i?(r.client_session=i,a.push(r)):e?a.push(r):n.push(r)}else a.push(r);let r=a.map(({requiresSession:e,...t})=>t);if(r.length){let e=((e,t,a)=>{let n=[],r=[];for(let i=0,o=e.length;i<o;i++){let o=e[i],s=r.concat(o),l=0;try{l=JSON.stringify(s).length}catch{(0,S.getGenericLogger)().error(`Unable to encode clog data; dropping chunk with keys: ${Object.keys(o).join(", ")}`);continue}l<=a?r.push(o):(n.push({url:t,logs:r}),r=[o])}return r.length>0&&n.push({url:t,logs:r}),(0,S.getGenericLogger)().debug("CLOG","URLs:",n),n})(r,(e=>{let t="clog/track/";if((0,m.Cu)()||(0,m.$i)())return`${s.J.location.origin}/${t}`;let a=e?(0,o.F)().getUrlForTeamId(e):void 0;a&&!a.endsWith("/")&&(a+="/");let n=a||`https://${(0,f.Xk)()}/`;return`${n}${t}`})(this.teamId),1e4);this.logURLs=this.logURLs.concat(e),this.processLogURLQueue()}this.setLogs(n)}getLogs(){return this.options.clogType===T.AUTO?this.autoClogRecordedLogs:this.options.clogType===T.EXPERIMENT_EXPOSURE?this.experimentExposureRecordedLogs:this.recordedLogs}flushLogs(){this.setLogs([])}setLogs(e){this.options.clogType===T.AUTO?this.autoClogRecordedLogs=e:this.options.clogType===T.EXPERIMENT_EXPOSURE?this.experimentExposureRecordedLogs=e:this.recordedLogs=e}tryResolveSession(e){let t=e.team_id||this.teamId;if(!t)return null;let a=(0,E.oK)(t)&&(0,E.$D)(t);if(!a)return null;let n=(0,A.lH)((0,A.NI)(a));return n?{uid:n.id,timestamp_start:(0,d.Ay)(n.startTime).unix(),timestamp_refresh:(0,d.Ay)(n.lastActivity).unix(),seconds_offline:(0,A.D9)(n),version:parseInt((0,_.HF)(),10)||0}:null}};if(k()){(0,l.zv)("getClogTypes",()=>b);let e=document.createElement("div");e.id="clogTypes",e.style.display="none",e.setAttribute("dataClogTypes",JSON.stringify(b)),document.body.appendChild(e)}},0x45012309:(e,t,a)=>{"use strict";let n;a.d(t,{eo:()=>getClogger,yE:()=>restartClogInterval});var r,i=a(0x4f6e90b4),o=a(0xbf8832f0),s=a(0x1daf4b9c),l=a(0x3711e82d),c=a(0x1686570b0),d=a(0x47830536),u=a(0x1ec68d6a3),m=a(0x223ac29bb),f=a(0x9b971e7e),_=a(0x1266f1359),p=a(0x19c76d181),h=((r=h||{}).NORMAL="normal",r.AUTO="auto",r.EXPERIMENT="experiment",r);function contextHasIds(e){return!!e.teamId&&!!e.userId&&!!e.locale}function contextHasTeamOrEnterpriseId(e){return!!e.teamOrEnterpriseId}function contextHasGetState(e){let t=e.getState;return!!t&&"function"==typeof t}function contextHasState(e){return!!e.state}let g={},A={};function getSendIntervalDuration({isDebugMode:e}){return e?{durationMs:1e3,durationNoiseMs:500}:{durationMs:3e4,durationNoiseMs:5e3}}let b=getSendIntervalDuration({isDebugMode:(0,c.RI)()});function getDataFromContext(e){let t;if(e){if(contextHasIds(e))return e;if(contextHasGetState(e))t=e.getState();else if(contextHasState(e))t=e.state;else if(contextHasTeamOrEnterpriseId(e)){let a=e.teamOrEnterpriseId,n=(0,_.jp)(a);n&&(t=n.getState())}if(t){let e=(0,f.jV)(t),a=(0,f.ZT)(t);return{userId:(0,p.WR)(t),teamId:a,locale:(0,m.Yp)({teamOrEnterpriseId:(a??e)||"",recalc:!1}),...e?{enterpriseId:e}:void 0}}(0,u.default)(e).warn("Clogger context could not be determined, using empty context")}}let sendDataForAllClogs=()=>{Object.keys(g).forEach(e=>{g[e].sendDataAndEmptyQueue()})};function setupImpressionTracking(){if("function"!=typeof IntersectionObserver)return;let e=document.querySelector("[data-js-clog-context]");if(!e)return;let t=new WeakSet,a=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting&&!t.has(e.target)){let n=e.target;t.add(n);let r=(0,c.H5)(n,window.location.href,l.UiAction.IMPRESSION);trackClogEvent(n,r),a.unobserve(n)}})},{threshold:.5}),observeImpressionElements=()=>{e.querySelectorAll('[data-clog-impression="true"]').forEach(e=>{t.has(e)||a.observe(e)})};observeImpressionElements(),new MutationObserver(()=>{observeImpressionElements()}).observe(e,{childList:!0,subtree:!0})}function getCloggerForContext(e){let t=Object.keys(g);if(0===t.length)return(0,u.getGenericLogger)({label:"CLOG"}).warn("Attempted to clog data, but no clogger has been initialized",e),null;if(1===t.length&&!(0,s.A)())return g[t[0]];let a=(0,o.SU)();return getClogger({state:(0,_.oK)(a)&&(0,_.$D)(a)})}function trackClogEvent(e,t){if(null===t)return;let a=e.getAttribute("data-clog-event");if(!a)return void(0,u.getGenericLogger)({label:"CLOG"}).warn("Attempted to clog data, but no clog event was found on html attribute",a);let n=l.EventId[a];if(!n)return void(0,u.getGenericLogger)({label:"CLOG"}).warn("Attempted to clog data, but clog event was not found in EventId enum - please see clog.thrift and add the missing eventId",a);let r=getCloggerForContext(a);r&&r.track(n,t)}function addEventListeners(){window.addEventListener("beforeunload",sendDataForAllClogs),window.addEventListener("pagehide",sendDataForAllClogs),(0,d.on)("body","click",`[data-clog-click="true"], [data-clog-ui-action="CLICK"], [data-clog-ui-action="${l.UiAction.CLICK}"], [data-clog-event="WEBSITE_CLICK"]`,function(e){if("true"===this.getAttribute("data-clog-change"))return;let t="true"===this.getAttribute("data-clog-click"),a=this.hasAttribute("data-clog-ui-action"),n=t&&!a?l.UiAction.CLICK:void 0;trackClogEvent(this,(0,c.H5)(this,window.location.href,n,e))}),(0,d.on)("body","change",'[data-clog-change="true"]',function(e){let t=this.hasAttribute("data-clog-ui-action")?void 0:l.UiAction.SELECT;trackClogEvent(this,(0,c.H5)(this,window.location.href,t,e))}),setupImpressionTracking()}function setSendClogDataInterval(){void 0!==n&&clearInterval(n),n=setInterval(()=>{sendDataForAllClogs()},b.durationMs+Math.floor(Math.random()*b.durationNoiseMs))}function restartClogInterval(e){b=getSendIntervalDuration({isDebugMode:e}),n&&setSendClogDataInterval()}function generateCloggerInstanceKey({teamId:e,locale:t},a){return`${generateGenericCloggerInstanceKey(a)}-${e}-${t}`}function generateGenericCloggerInstanceKey(e){switch(e?.clogType){case c.HM.AUTO:return"auto";case c.HM.EXPERIMENT_EXPOSURE:return"experiment";default:return"normal"}}function getGenericClogger(e){let t=generateGenericCloggerInstanceKey(e);return A[t]||(A[t]=new c.qh(e)),A[t]}function getClogger(e,t){let a=getDataFromContext(e);if(!a)return getGenericClogger(t);let{userId:n,teamId:r,enterpriseId:i,locale:o}=a,s=generateCloggerInstanceKey(a,t);return g[s]||(g[s]=new c.qh(t).setUser(n).setTeam(r).setEnterprise(i).setLocale(o),1===Object.keys(g).length&&(addEventListeners(),setSendClogDataInterval())),g[s]}let y={};Object.defineProperty(y,"getDataFromContext",{get:()=>getDataFromContext}),Object.defineProperty(y,"addEventListeners",{get:()=>addEventListeners,set:e=>{addEventListeners=e}}),Object.defineProperty(y,"setSendClogDataInterval",{get:()=>setSendClogDataInterval,set:e=>{setSendClogDataInterval=e}}),Object.defineProperty(y,"sendIntervalDuration",{get:()=>({durationMs:3e4,durationNoiseMs:5e3}),set:e=>{b=e}}),Object.defineProperty(y,"generateCloggerInstanceKey",{get:()=>generateCloggerInstanceKey,set:e=>{generateCloggerInstanceKey=e}}),Object.defineProperty(y,"generateGenericCloggerInstanceKey",{get:()=>generateGenericCloggerInstanceKey,set:e=>{generateGenericCloggerInstanceKey=e}}),y.resetCloggers=()=>{g={}},(0,i.zv)("getClogger",()=>getClogger)},0x709dda87:(e,t,a)=>{"use strict";a.d(t,{$2:()=>normalizeColor,Eq:()=>hsvToRGB,Ko:()=>setOpacity,Lh:()=>mixColors,Ob:()=>rgbToHex,Q3:()=>hsvToHex,SS:()=>n,ST:()=>shouldUseLightForeground,Vw:()=>saturateHex,b3:()=>r,bp:()=>relativeLuminance,fl:()=>lightenHex,iN:()=>hexToRGB,me:()=>i,nX:()=>mixColorsToHex,oH:()=>hexToHSV,yN:()=>contrastRatio,zG:()=>darkenHex});let hexToRGB=e=>{if(!e)return null;let t="#"===e[0]?e.substring(1):e,a=parseInt(t,16),n=t.length>6,r=[a>>16&255,a>>8&255,255&a];return n?[a>>24&255,...r]:r},rgbToHex=e=>{let t=e.map(e=>{let t=e.toString(16);return 1===t.length?`0${t}`:t}).join("").toUpperCase();return`#${t}`},hsvToRGB=e=>{let t,[a,n,r,i]=e;if(0===n)return("number"==typeof i?[r,r,r,i]:[r,r,r]).map(e=>Math.round(255*e));let o=Math.floor(a/60),s=a/60-o,l=r*(1-n),c=r*(1-n*s),d=r*(1-n*(1-s));switch(o){case 0:t=[r,d,l];break;case 1:t=[c,r,l];break;case 2:t=[l,r,d];break;case 3:t=[l,c,r];break;case 4:t=[d,l,r];break;case 5:t=[r,l,c];break;default:throw Error("hsvToRGB: impossible default reached")}return(t="number"==typeof i?[...t,i]:t).map(e=>Math.round(255*e))},hsvToHex=e=>rgbToHex(hsvToRGB(e)),hexToHSV=e=>(e=>{let t,[a,n,r,i]=e.map(e=>e/255),o=Math.max(a,n,r),s=o-Math.min(a,n,r);if(0===s)t=0;else switch(o){case a:t=(n-r)/s%6;break;case n:t=(r-a)/s+2;break;case r:t=(a-n)/s+4;break;default:throw Error("rgbToHSV: impossible default case reached")}(t*=60)<0&&(t+=360);let l=[t,0===o?0:s/o,o];return"number"==typeof i?[...l,i]:l})(hexToRGB(e)),darkenHex=(e,t,{outputHex:a=!1}={})=>{let n=hexToRGB(e).map(e=>Math.min(Math.max(e-t,0),255));return a?rgbToHex(n):`rgb(${n.join(",")})`},lightenHex=(e,t,{outputHex:a=!1}={})=>{let n=hexToRGB(e).map(e=>Math.max(Math.min(e+t,255),0));return a?rgbToHex(n):`rgb(${n.join(",")})`},saturateHex=(e,t,{outputHex:a=!1}={})=>{let n=(e=>{let[t,a,n,r]=e.map(e=>e/255),i=Math.max(t,a,n),o=Math.min(t,a,n),s=i-o,l=(i+o)/2,c=0===s?0:s/(1-Math.abs(2*l-1)),d=0;if(0!==s){switch(i){case t:d=(a-n)/s%6;break;case a:d=(n-t)/s+2;break;case n:d=(t-a)/s+4;break;default:throw Error("rgbToHSL: impossible default case reached")}d*=60}d<0&&(d+=360);let u=[d,c,l];return"number"==typeof r?[...u,r]:u})(hexToRGB(e)),r=(e=>{let t,a,n,[r,i,o,s]=e,l=(1-Math.abs(2*o-1))*i,c=r/60,d=l*(1-Math.abs(c%2-1)),u=o-l/2;c<1?[t,a,n]=[l,d,0]:c<2?[t,a,n]=[d,l,0]:c<3?[t,a,n]=[0,l,d]:c<4?[t,a,n]=[0,d,l]:c<5?[t,a,n]=[d,0,l]:[t,a,n]=[l,0,d];let m=[t+u,a+u,n+u];return"number"==typeof s&&m.push(s),m.map(e=>Math.round(255*e))})([n[0],n[1]*t,n[2]]);return a?rgbToHex(r):`rgb(${r.join(",")})`},mixColorsInner=(e,t,a=.5)=>{let n=hexToRGB(e),r=hexToRGB(t);return n.map((e,t)=>Math.round(e*a+r[t]*(1-a)))},mixColors=(e,t,a=.5)=>{let n=mixColorsInner(e,t,a);return`rgb(${n.join(",")})`},mixColorsToHex=(e,t,a=.5)=>rgbToHex(mixColorsInner(e,t,a)),n={column_bg:"#3F0E40",menu_bg:"#350d36",active_item:"#1164A3",active_item_text:"#FFFFFF",hover_item:"#350D36",text_color:"#FFFFFF",active_presence:"#2BAC76",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#350d36",top_nav_text:"#FFFFFF"},r={column_bg:"#3F0E40",menu_bg:"#350d36",active_item:"#1164A3",active_item_text:"#FFFFFF",hover_item:"#350D36",text_color:"#FFFFFF",active_presence:"#2BAC76",badge:mixColorsToHex("#FFFFFF","#3F0E40",.9),badge_text_color:"#3F0E40",top_nav_bg:"#350d36",top_nav_text:"#FFFFFF"},i={...r,hover_item:"#4D2A51"},setOpacity=(e,t)=>{if(!e||null==t)return null;let a=hexToRGB(e).slice(0,3);return`rgba(${a.join(",")},${t})`},o=/[A-F0-9]{6}/,s=/[A-F0-9]{8}/,normalizeColor=(e,t=!1)=>{if(!e)return;let a=e.trim().toUpperCase();return"#"===a[0]&&(a=a.slice(1)),(3===a.length||4===a.length&&t)&&(a=a.split("").map(e=>`${e}${e}`).join("")),t&&6===a.length&&(a=`${a}FF`),(t?s:o).exec(a)&&a},relativeLuminance=e=>{if(!e)return 0;let component=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},[t,a,n]=hexToRGB(e);return .2126*component(t)+.7152*component(a)+.0722*component(n)},contrastRatio=(e,t)=>{let a=relativeLuminance(e),n=relativeLuminance(t);return(Math.max(a,n)+.05)/(Math.min(a,n)+.05)},shouldUseLightForeground=e=>contrastRatio(e,"#ffffff")>contrastRatio(e,"#1d1c1d")},0x1c3d6f0a5:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>r,FS:()=>n,NO:()=>i,YY:()=>s,fh:()=>o});let n={AUSTRALIA:"Australia",CANADA:"Canada",CHILE:"Chile",JAPAN:"Japan",MALAYSIA:"Malaysia",RUSSIAN_FEDERATION:"Russian Federation",SINGAPORE:"Singapore",SOUTH_AFRICA:"South Africa",SOUTH_KOREA:"Republic of Korea",SWITZERLAND:"Switzerland",UNITED_KINGDOM:"United Kingdom",UNITED_STATES:"United States",GEORGIA:"Georgia",INDIA:"India",GERMANY:"Germany"},r={COMPANY_NAME_IS_REQUIRED:"company_name_is_required",STREET_IS_REQUIRED:"street_is_required",CITY_IS_REQUIRED:"city_is_required",POSTAL_CODE_IS_REQUIRED:"postal_code_is_required",ZIP_CODE_IS_REQUIRED:"zip_code_is_required",REGION_IS_REQUIRED:"region_is_required",STATE_IS_REQUIRED:"state_is_required",COUNTRY_IS_REQUIRED:"country_is_required",VAT_ID_IS_REQUIRED:"vat_id_is_required",TIN_ID_IS_REQUIRED:"tin_id_is_required",BRN_IS_REQUIRED:"brn_is_required",IS_BUSINESS_PURCHASE_IS_REQUIRED:"is_business_purchase_is_required",STREET_INVALID_CHARACTERS:"street_invalid_characters",CITY_INVALID_CHARACTERS:"city_invalid_characters",REGION_INVALID_CHARACTERS:"region_invalid_characters",STATE_INVALID_CHARACTERS:"state_invalid_characters",POSTAL_CODE_INVALID_CHARACTERS:"postal_code_invalid_characters",ZIP_CODE_INVALID_CHARACTERS:"zip_code_invalid_characters",ABN_ID_INVALID_CHARACTERS:"abn_id_invalid_characters",US_ZIP_CODE_INVALID_FORMAT:"us_zip_code_invalid_format",CANADA_POSTAL_CODE_INVALID_FORMAT:"canada_zip_code_invalid_format",ZIP_CODE_INVALID_API_ERROR:"zipcode_invalid_api_error",VAT_ID_INVALID_API_ERROR:"vat_id_invalid_api_error",VAT_ID_INPUT_ERROR:"vat_input_error",VAT_ID_INVALID_FORMAT:"vat_id_invalid_format",API_ERROR:"api_error",ABN_ID_INVALID_LENGTH:"abn_id_invalid_length",ABN_ID_INPUT_ERROR:"abn_input_error",REGIONAL_TAX_INPUT_ERROR:"regional_tax_input_error",TIN_ID_INVALID_LENGTH:"tin_id_invalid_length",BRN_INVALID_FORMAT:"brn_invalid_format",ADDRESS_INPUT_ERROR:"address_input_error",ERROR_UPDATING_BILLING_ADDRESS:"error_updating_billing_address",NO_PERMS:"no_perms",INVALID_AUTH:"invalid_auth",DEFAULT_ERROR:"default_error"},i={ALPHA_NUMERIC_WITH_UTF_CHARS_REGEX:/^[a-zA-Z\xc0-\xff0-9-'-/.\s]+$/i,ALPHA_NUMERIC_WITH_DASH_REGEX:/^[A-Z0-9-\-\s]+$/i,ABN_ID_REGEX:/^(\d *?){11}$/i,QST_ID_TQ_REGEX:/^[0-9]{10}TQ[0-9]{4}$/i,QST_ID_NINE_NUM_REGEX:/^[0-9]{9}$/i,US_POSTAL_CODE_FORMAT_REGEX:/(^\d{5}$)|(^\d{5}-{0,1}\d{4}$)/i,GST_HST_ID_TQ_REGEX:/^[0-9]{9}RT[0-9]{4}$/i,TIN_CHILE_REGEX:/^[0-9]{8}-[K0-9]$/i,CANADA_POSTAL_CODE_FORMAT_REGEX:/^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[ABCEGHJKLMNPRSTVWXYZ]{1} *\d{1}[ABCEGHJKLMNPRSTVWXYZ]{1}\d{1}$/i},o={COMPANY_NAME:"companyName",STREET:"street",SUITE:"suite",CITY:"city",REGION:"region",POSTAL_CODE:"postalCode",COUNTRY:"country",IS_BUSINESS_PURCHASE:"isBusinessPurchase",IS_VAT_AVAILABLE:"isVatIdAvailable",VAT_ID:"vatId",ABN_ID:"abnId",REGIONAL_ID:"regionalId"},s={COMPANY_NAME:"",STREET:"",SUITE:"",CITY:"",REGION:"",POSTAL_CODE:"",COUNTRY:"",IS_BUSINESS_PURCHASE:!0,IS_VAT_AVAILABLE:!0,VAT_ID:"",ABN_ID:"",REGIONAL_ID:""}},0x1e068833e:(e,t,a)=>{"use strict";function getDraftIdFromRouteParam(e){if(!e)return;let[,t]=e.match(/^draft-(.+)/)||[];return t}function looksLikeDraftIdRouteParam(e){return/^draft-.+/.test(e)}a.d(t,{ai:()=>looksLikeDraftIdRouteParam,di:()=>getDraftIdFromRouteParam})},0x6960d8b9:(e,t,a)=>{"use strict";a.d(t,{gG:()=>r.A,ez:()=>i.A,KR:()=>s.A,_T:()=>l.A,Of:()=>c.A,Yq:()=>d.A,i7:()=>u.A,ro:()=>m.A,s0:()=>f.A,cK:()=>_.A,PA:()=>p.A,rL:()=>h.A,Nu:()=>g.A,hl:()=>A.Ay,Nm:()=>S.A,gw:()=>k.A,rK:()=>to_calendar_date_if_yesterday_or_today,Od:()=>w.A,$4:()=>I.A,UE:()=>v.A,o2:()=>to_hour_amount,DM:()=>D.A,xe:()=>x.A,YY:()=>R.A,$B:()=>N.A});var n=a(0x4f6e90b4),r=a(0x1796d602),i=a(0x195d5c868),o=a(0x18e3302b3),s=a(0x6fe0709b),l=a(0x71479775),c=a(0x9c472b09),d=a(0x13776886e),u=a(0x635a12e1),m=a(0x7acf06fe),f=a(0x24c58d3f1),_=a(0x2114bd58c),p=a(0x197be2501),h=a(0x11ad11f0e),g=a(0x21f3d6033),A=a(0x4bdf0df6),b=a(0x17e16c48b),y=a(0x1c50d1d4a),S=a(0x1e8d2a846),E=a(0xa06e26b5),k=a(0xb1c0d55),T=a(0x1f355b555),I=a(940089e4);let to_calendar_date_if_yesterday_or_today=function(e,{shortenMonth:t=!1}={}){let a=(0,T.Ay)((0,I.A)(e));if(!a.isValid())throw Error("We couldn't create a date object in toCalendarDateIfYesterdayOrToday()");return(0,_.A)(a.toDate())||(0,p.A)(a.toDate())?(0,k.A)(a.toDate(),{shortenMonth:t}):""};var w=a(0x44520056),C=a(0x14c66e8b4),v=a(0x1533b2385),x=a(0x3dcad321);let to_hour_amount=function(e,{units:t="minute"}={}){return(0,E.A)(e,{unitsIn:t,unitsOut:"hour"})};var R=a(0x2380341f5),O=a(0xc153c8c0),N=a(0x2dda1fc4),D=a(0xd89ed9da);(0,n.ul)("datetime",{convertISOtoUTCReadableDate:r.A,dateDifference:i.A,daysToYearsPretty:o.A,distanceInDays:s.A,distanceInMinutes:l.A,distanceInSeconds:c.A,formatDate:d.A,getUnixSeconds:u.A,isSameDay:m.A,isToday:_.A,isYesterday:p.A,isSameYear:f.A,makeTsStamp:h.A,maybeGetRelativeDay:g.A,memberLocalTime:A.Ay,millisecondsToPrettifiedTime:b.A,prettifyDateString:y.A,shouldExcludeYear:S.A,timeDurationConverter:E.A,toCalendarDate:k.A,toCalendarDateIfYesterdayOrToday:to_calendar_date_if_yesterday_or_today,toCalendarDateOrNamedDay:w.A,toDate:C.A,toDateObject:I.A,toDayAmount:function(e,{units:t="minutes"}={}){return(0,E.A)(e,{unitsIn:t,unitsOut:"days"})},toDayOfTheWeek:v.A,toHour:function(e,{do24hrTime:t=!1}={}){let a=(0,I.A)(e);return t?(0,x.A)(a,{timeFormat:"HH"}):(0,x.A)(a,{timeFormat:"h A"})},toHourAmount:to_hour_amount,toHumanReadableDateAndTime:D.A,toTime:x.A,toTimeAgo:R.A,toTimeAmount:O.A,toTimeDuration:N.A})},0x1866b1b2d:(e,t,a)=>{"use strict";function nowSeconds(){return Math.floor(Date.now()/1e3)}a.d(t,{_:()=>nowSeconds})},0xd89ed9da:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__,f:()=>toHumanReadableDateAndTimePure});var n=a(0x190e60a66),r=a(0xe91936b1),i=a(0x21f3d6033),o=a(0x44520056),s=a(940089e4),l=a(0x3dcad321),c=a(0x1ccef1c6f);function toHumanReadableDateAndTimePure(e,{do24hrTime:t,uncapitalized:a=!0}={}){let c,d=(0,s.A)(e),u=(0,i.A)(d,{uncapitalized:a}),m=(0,l.A)(d,{includeMeridiem:!t,do24hrTime:t});return u?(c=r.Nb[(0,n.F)().getLocaleForLastViewedTeam()].relativeFormatPretty(t).replace(/%1/,u).replace(/%2/,m),a?c.charAt(0).toLocaleLowerCase()+c.slice(1):c.charAt(0).toLocaleUpperCase()+c.slice(1)):(0,o.A)(e,{shortenMonth:!0})}let __WEBPACK_DEFAULT_EXPORT__=function(e,t,{do24hrTime:a,uncapitalized:n=!0}={}){let r=a;return void 0===a&&(r=!!(0,c.ty)(e,"time24")),toHumanReadableDateAndTimePure(t,{do24hrTime:r,uncapitalized:n})}},0x12256831:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});let n=/\d{10}.\d+$/g,__WEBPACK_DEFAULT_EXPORT__=function(e){if(!e||!e.match(n))throw Error("Please pass in a valid TS string");return parseInt(e.replace(".",""),10)}},0x19cf06bed:(e,t,a)=>{"use strict";a.d(t,{A:()=>debounceByKey});let n={};function debounceByKey(e,t,a=1e4){clearTimeout(n[e]),n[e]=setTimeout(()=>{t(),delete n[e]},a)}},0x30164a1e:(e,t,a)=>{"use strict";a.d(t,{B:()=>debouncedDebugCheck,M:()=>debugCheck});var n=a(0x6a506842),r=a(0x1fc95ec5c);function debugCheck(e,t){let a;if("boolean"==typeof e){if(e)return!0;a=t}else a=e;return a||(a="Generic error."),(0,n.tZ)("CHECK").error(`Silently continuing after failed debugCheck: ${a}`),!1}function debouncedDebugCheck(e,t){let a;if("boolean"==typeof e){if(e)return!0;a=t}else a=e;return a||(a="Generic error."),(0,r.A)(a,()=>(0,n.tZ)("CHECK").error(`Silently continuing after failed debugCheck: ${a}`)),!1}},0x12cbe336e:(e,t,a)=>{"use strict";a.d(t,{O6:()=>isDesktopUiSimplificationLocalOverrideEnabled,Ob:()=>isHideAllSidebarsEnabled,hi:()=>isDesktopUiSimplificationEnabled,yZ:()=>isTabSodaEnabled});var n=a(0xa1832ae4),r=a(0xfe423c7c),i=a(0x14149c126),o=a(0x1ee439e69);function isDesktopUiSimplificationLocalOverrideEnabled(e){return"on"===(0,i._Z)(e,"desktop_ui_simplification_local_override")}function isDesktopUiSimplificationEnabled(e){let t=(0,o.H7)(e),a=(0,n.ZT)(t);if(a&&isDesktopUiSimplificationLocalOverrideEnabled(e)){let e=(0,r.p)(a);if(void 0!==e)return e}return"on"===(0,i._Z)(e,"desktop_ui_simplification")}function isTabSodaEnabled(e){return(isDesktopUiSimplificationEnabled(e)||"on"===(0,i._Z)(e,"tab_soda"))&&!e.bbm?.enabled}function isHideAllSidebarsEnabled(e){return isDesktopUiSimplificationEnabled(e)||"on"===(0,i._Z)(e,"hide_all_sidebars")}},0xfe423c7c:(e,t,a)=>{"use strict";a.d(t,{$:()=>setDuisLocalOverride,p:()=>getDuisLocalOverride});var n=a(0x164ee0b8e);let r="duisLocalOverride";function getDuisLocalOverride(e){return!!(0,n._z)(e,r)}function setDuisLocalOverride(e,t){(0,n.t2)(e,r,t)}},0xa69aaeeb:(e,t,a)=>{"use strict";a.d(t,{_:()=>doesToggleGroupMatchForAnyTeam});var n=a(0x658a411c),r=a(0x1266f1359),i=a(0x14149c126);function doesToggleGroupMatchForAnyTeam(e,t,a=!0){if(!e||!t)return!1;let o=Object.values((0,r.jm)());return(0,n.A)(o,n=>{if(!n)return!1;let r=n.getState();return r&&(0,i._Z)(r,e,a)===t})}},0x47830536:(e,t,a)=>{"use strict";a.d(t,{on:()=>on,x:()=>one});var n=a(0x1ec68d6a3);let on=(e,t,a,r)=>{let i=document.querySelector(e);i?i.addEventListener(t,e=>{let t=e.target;for(;t&&"function"==typeof t.matches;){if(t.matches(a))return r.call(t,e);t=t.parentNode}return null}):(0,n.getGenericLogger)().warn("'on' could not find the target element - events will not be delegated")},one=(e,t,a)=>{let wrapped=n=>{e.removeEventListener(t,wrapped,!0),a.call(n.target,n)};e.addEventListener(t,wrapped,!0)}},0x42a4b4de:(e,t,a)=>{"use strict";a.d(t,{P:()=>isEditAttachmentsPhase2Enabled,u:()=>isEditAttachmentsEnabled});var n=a(0x14149c126);let isEditAttachmentsEnabled=e=>"on"===(0,n._Z)(e,"edit_attachments"),isEditAttachmentsPhase2Enabled=e=>isEditAttachmentsEnabled(e)&&"on"===(0,n._Z)(e,"edit_attachments_phase_2")},0x62427837:(e,t,a)=>{"use strict";a.d(t,{A:()=>convertEmojiNameToPhrase,U:()=>convertEmojiGroupNameToPhrase});var n=a(0x190e60a66),r=a(0x20482ad21),i=a(0x1d06c44fe),o=a(0x1a0bfaf78),s=a(0x223ac29bb);let l=new r.Ay("emoji");function getLocalizedEmojiName(e,t){let a=(0,s.Yp)();return(0,i.WX)({state:e,locale:a,text:t})}function convertEmojiGroupNameToPhrase(e,t,{state:a}){let r=getLocalizedEmojiName(a,e),i=r&&(0,o.Y)(r,t);if(r){let e=(0,n.F)().getLocaleForLastViewedTeam();return(0,s.DU)(e)?i:` ${i} `}return l.t("{size} {emojiName} {size, plural, =1 {emoji} other {emojis}}",{emojiName:e,size:t})}function convertEmojiNameToPhrase(e,{state:t}){let a=getLocalizedEmojiName(t,e),r=a&&(0,o.A)(a);if(a){let e=(0,n.F)().getLocaleForLastViewedTeam();return(0,s.DU)(e)?r:` ${r} `}return e}},0x129a717ab:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0xb77a689a),r=a(0x1ec68d6a3);let __WEBPACK_DEFAULT_EXPORT__=e=>{if(!(0,n.A)(e))return null;try{let t=e.split("-").map(e=>`0x${e}`);return String.fromCodePoint(...t)}catch(e){(0,r.getGenericLogger)().info("Error converting unicode sequence to native emoji: ",e)}return null}},0x1d06c44fe:(e,t,a)=>{"use strict";a.d(t,{I9:()=>getCanonicalEmojiName,N7:()=>b,PO:()=>unsafeGetLocalizedEmojiName,U1:()=>hasEmojiTranslationsForLocale,WX:()=>convertEmojiInStringToLocalized,Wl:()=>addLocalizedKeywordMap,Z_:()=>convertEmojiInStringToCanonical,b2:()=>getLocalizedKeywordMap,b6:()=>g,bR:()=>getLocalizedEmojiName,li:()=>getLocalizedEmojiCategoryName,m$:()=>A,n4:()=>addTranslationMap});var n=a(0x21f3c49e8),r=a(0x839ba347),i=a(0xb77a689a),o=a(0x4f6e90b4),s=a(0xec9d0658),l=a(0x1e49806fc),c=a(0x20482ad21),d=a(0x36d89444),u=a(0x11c82607b);let m=new c.Ay("emoji"),f={},_={},addTranslationMap=({locale:e,canonicalToLocalized:t}={})=>{if(!e||(0,n.A)(t))return;let a={};(0,r.A)(t,(e,t)=>{a[e]=t;let n=(0,l.A)(e);n!==e&&(a[n]=t)}),f[e]={canonicalToLocalized:t,localizedToCanonical:a}},addLocalizedKeywordMap=({locale:e,localizedKeywordMap:t}={})=>{!e||(0,n.A)(t)||(_[e]=t)},p=(0,s.A)(),h=/(^:)\S+(:$)/;function translate(e,t){if(!(0,i.A)(e))return null;if(!t)return e;let a=h.test(e),[n,r]=e.replace(/^:|:$/g,"").toLowerCase().split("::"),o=t[n];if(!o)return e;if(r){let a=t[r];if(!a)return e;o=`${o}::${a}`}return a?`:${o}:`:o}let getLocalizedEmojiName=({state:e,locale:t,name:a,isUnsafe:n=!1}={})=>t&&a?f[t]&&(n||!e||(0,d.A)(e,a))?translate(a,f[t].canonicalToLocalized):a:null,unsafeGetLocalizedEmojiName=({locale:e,name:t}={})=>getLocalizedEmojiName({locale:e,name:t,isUnsafe:!0}),getLocalizedEmojiCategoryName=e=>{let t;if(!e||!e.name)return null;switch(e.name){case"Smileys & People":t=m.t("Smileys & People");break;case"Animals & Nature":t=m.t("Animals & Nature");break;case"Food & Drink":t=m.t("Food & Drink");break;case"Activities":t=m.t("Activities");break;case"Travel & Places":t=m.t("Travel & Places");break;case"Objects":t=m.t("Objects");break;case"Symbols":t=m.t("Symbols");break;case"Flags":t=m.t("Flags");break;default:t=""}return t},getCanonicalEmojiName=({state:e,locale:t,name:a}={})=>{if(!t||!a)return null;if(!f[t])return a;let n=translate(a,f[t].localizedToCanonical);return e&&!(0,d.A)(e,n||"")?a:n},convertEmojiInStringToLocalized=({state:e,locale:t,text:a}={})=>t&&a?a.replace(p,a=>getLocalizedEmojiName({state:e,locale:t,name:a})):null,convertEmojiInStringToCanonical=({state:e,locale:t,text:a}={})=>t&&a?a.replace(p,a=>getCanonicalEmojiName({state:e,locale:t,name:a})):null,getLocalizedKeywordMap=e=>_[e],hasEmojiTranslationsForLocale=e=>e&&!(0,n.A)(f)&&!(0,n.A)(f[e])&&!(0,n.A)(_)&&!(0,n.A)(_[e]),g=(0,u.Ay)("converts emoji in string to canonical using state",(e,t,{locale:a,text:n}={})=>convertEmojiInStringToCanonical({state:t(),locale:a,text:n}));g.meta={name:"convertEmojiInStringToCanonicalThunk",key:"createThunkConvertEmojiInStringToCanonicalThunk",description:"converts emoji in string to canonical using state"};let A=(0,u.Ay)("converts emoji in string to localized using state",(e,t,{locale:a,text:n}={})=>convertEmojiInStringToLocalized({state:t(),locale:a,text:n}));A.meta={name:"convertEmojiInStringToLocalizedThunk",key:"createThunkConvertEmojiInStringToLocalizedThunk",description:"converts emoji in string to localized using state"};let b=(0,u.Ay)("gets localized emoji name using state",(e,t,{locale:a,name:n}={})=>getLocalizedEmojiName({state:t(),locale:a,name:n}));b.meta={name:"getLocalizedEmojiNameThunk",key:"createThunkGetLocalizedEmojiNameThunk",description:"gets localized emoji name using state"};let y={};function resetEmojiTranslationData(){f={},_={}}Object.defineProperty(y,"resetEmojiTranslationData",{get:()=>resetEmojiTranslationData,set:e=>{resetEmojiTranslationData=e}}),Object.defineProperty(y,"addTranslationMap",{get:()=>addTranslationMap,set:e=>{addTranslationMap=e}}),Object.defineProperty(y,"addLocalizedKeywordMap",{get:()=>addLocalizedKeywordMap,set:e=>{addLocalizedKeywordMap=e}}),(0,o.ul)("emojiTranslation",{getLocalizedEmojiName,getCanonicalEmojiName,convertEmojiInStringToLocalized,convertEmojiInStringToCanonical,translationMaps:f,keywordMaps:_})},0x203cd5170:(e,t,a)=>{"use strict";a.d(t,{H:()=>getEmojiDisplayInfoFromMap});var n=a(0x21f3c49e8),r=a(0x1829a8d43);function getEmojiDisplayInfoFromMap(e,t){if(!t||(0,n.A)(t))return{name:e};let a=(0,r.A)(e);if(!a)return{name:e};let{name:i,skinTone:o}=a,s=t[i];if(!s||(0,n.A)(s))return{name:e};let l=s.display_alias??i;return{name:o?`:${l}::skin-tone-${o}:`:`:${l}:`,url:s.display_url}}},0x12c4a318d:(e,t,a)=>{"use strict";a.d(t,{A:()=>m,p:()=>u});var n=a(0x5359476e),r=a(0x20ef3966f),i=a(0xca924ee1),o=a(0x614685f1),s=a(0x20b4dda68),l=a(0x129a717ab),c=a(0x89f31bdb),d=a(0x1266f1359);let u="\u{1F3FB}\u{1F3FC}\u{1F3FD}\u{1F3FE}\u{1F3FF}";function getAllNativeEmoji(e){let t=e&&(0,d.$D)(e),a=(0,c.O)(t),i=(0,n.A)(a,e=>{let t=(0,r.A)(e.skinVariations,"unicode");return[e.unicode,...t]});return(0,r.A)(i,l.A)}let m=(0,i.A)(e=>{let t=getAllNativeEmoji(e).sort((e,t)=>t.length-e.length),a=(0,r.A)(t,o.A);return RegExp(`(${a.join("|")})(?![${s._x}${u}])(\uD83C[\uDFFB-\uDFFF])?`,"g")})},0x6f38ac62:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0xb77a689a);let r=new(a(0x20482ad21)).Ay("emoji");function __WEBPACK_DEFAULT_EXPORT__(e){let t=(0,n.A)(e)?e:e.toString(),a={1:()=>r.t("No skin tone"),2:()=>r.t("light skin tone"),3:()=>r.t("medium-light skin tone"),4:()=>r.t("medium skin tone"),5:()=>r.t("medium-dark skin tone"),6:()=>r.t("dark skin tone")},i={"2-3":()=>r.t("left light skin tone and right medium-light skin tone"),"2-4":()=>r.t("left light skin tone and right medium skin tone"),"2-5":()=>r.t("left light skin tone and right medium-dark skin tone"),"2-6":()=>r.t("left light skin tone and right dark skin tone"),"3-2":()=>r.t("left medium-light skin tone and right light skin tone"),"3-4":()=>r.t("left medium-light skin tone and right medium skin tone"),"3-5":()=>r.t("left medium-light skin tone and right medium-dark skin tone"),"3-6":()=>r.t("left medium-light skin tone and right dark skin tone"),"4-2":()=>r.t("left medium skin tone and right light skin tone"),"4-3":()=>r.t("left medium skin tone and right medium-light skin tone"),"4-5":()=>r.t("left medium skin tone and right medium-dark skin tone"),"4-6":()=>r.t("left medium skin tone and right dark skin tone"),"5-2":()=>r.t("left medium-dark skin tone and right light skin tone"),"5-3":()=>r.t("left medium-dark skin tone and right medium-light skin tone"),"5-4":()=>r.t("left medium-dark skin tone and right medium skin tone"),"5-6":()=>r.t("left medium-dark skin tone and right dark skin tone"),"6-2":()=>r.t("left dark skin tone and right light skin tone"),"6-3":()=>r.t("left dark skin tone and right medium-light skin tone"),"6-4":()=>r.t("left dark skin tone and right medium skin tone"),"6-5":()=>r.t("left dark skin tone and right medium-dark skin tone")},o=i[t]?i[t]():null;return o||a[t]&&a[t]()}},0x89f31bdb:(e,t,a)=>{"use strict";a.d(t,{VD:()=>getEmojiKeywordsMap,Gc:()=>getEmojiTranslationMap,GU:()=>getStandardEmojiCategories,O:()=>getStandardEmojiData});var n=a(0xc926e8a6),r=a.n(n),i=a(0x1a0e8e731),o=a.n(i),s=a(0x1662692fe),l=a.n(s),c=a(0x778ffdc9),d=a.n(c),u=a(0x170ce3425),m=a(0x20482ad21);let f=new m.Ay("emoji_names"),getEmojiTranslationMap=(e=!0)=>e?{"-1":f.t("-1"),"+1":f.t("+1"),100:f.t("100"),1234:f.t("1234"),"8ball":f.t("8ball"),a:f.t("a"),ab:f.t("ab"),abacus:f.t("abacus"),abc:f.t("abc"),abcd:f.t("abcd"),accept:f.t("accept"),accordion:f.t("accordion"),adhesive_bandage:f.t("adhesive_bandage"),admission_tickets:f.t("admission_tickets"),adult:f.t("adult"),aerial_tramway:f.t("aerial_tramway"),airplane:f.t("airplane"),airplane_arriving:f.t("airplane_arriving"),airplane_departure:f.t("airplane_departure"),alarm_clock:f.t("alarm_clock"),alembic:f.t("alembic"),alien:f.t("alien"),ambulance:f.t("ambulance"),amphora:f.t("amphora"),anatomical_heart:f.t("anatomical_heart"),anchor:f.t("anchor"),angel:f.t("angel"),anger:f.t("anger"),angry:f.t("angry"),anguished:f.t("anguished"),ant:f.t("ant"),apple:f.t("apple"),aquarius:f.t("aquarius"),aries:f.t("aries"),arrow_backward:f.t("arrow_backward"),arrow_double_down:f.t("arrow_double_down"),arrow_double_up:f.t("arrow_double_up"),arrow_down:f.t("arrow_down"),arrow_down_small:f.t("arrow_down_small"),arrow_forward:f.t("arrow_forward"),arrow_heading_down:f.t("arrow_heading_down"),arrow_heading_up:f.t("arrow_heading_up"),arrow_left:f.t("arrow_left"),arrow_lower_left:f.t("arrow_lower_left"),arrow_lower_right:f.t("arrow_lower_right"),arrow_right:f.t("arrow_right"),arrow_right_hook:f.t("arrow_right_hook"),arrow_up:f.t("arrow_up"),arrow_up_down:f.t("arrow_up_down"),arrow_up_small:f.t("arrow_up_small"),arrow_upper_left:f.t("arrow_upper_left"),arrow_upper_right:f.t("arrow_upper_right"),arrows_clockwise:f.t("arrows_clockwise"),arrows_counterclockwise:f.t("arrows_counterclockwise"),art:f.t("art"),articulated_lorry:f.t("articulated_lorry"),artist:f.t("artist"),astonished:f.t("astonished"),astronaut:f.t("astronaut"),athletic_shoe:f.t("athletic_shoe"),atm:f.t("atm"),atom_symbol:f.t("atom_symbol"),auto_rickshaw:f.t("auto_rickshaw"),avocado:f.t("avocado"),axe:f.t("axe"),b:f.t("b"),baby:f.t("baby"),baby_bottle:f.t("baby_bottle"),baby_chick:f.t("baby_chick"),baby_symbol:f.t("baby_symbol"),back:f.t("back"),bacon:f.t("bacon"),badger:f.t("badger"),badminton_racquet_and_shuttlecock:f.t("badminton_racquet_and_shuttlecock"),bagel:f.t("bagel"),baggage_claim:f.t("baggage_claim"),baguette_bread:f.t("baguette_bread"),bald_man:f.t("bald_man"),bald_person:f.t("bald_person"),bald_woman:f.t("bald_woman"),ballet_shoes:f.t("ballet_shoes"),balloon:f.t("balloon"),ballot_box_with_ballot:f.t("ballot_box_with_ballot"),ballot_box_with_check:f.t("ballot_box_with_check"),bamboo:f.t("bamboo"),banana:f.t("banana"),bangbang:f.t("bangbang"),banjo:f.t("banjo"),bank:f.t("bank"),bar_chart:f.t("bar_chart"),barber:f.t("barber"),barely_sunny:f.t("barely_sunny"),baseball:f.t("baseball"),basket:f.t("basket"),basketball:f.t("basketball"),bat:f.t("bat"),bath:f.t("bath"),bathtub:f.t("bathtub"),battery:f.t("battery"),beach_with_umbrella:f.t("beach_with_umbrella"),beans:f.t("beans"),bear:f.t("bear"),bearded_person:f.t("bearded_person"),beaver:f.t("beaver"),bed:f.t("bed"),bee:f.t("bee"),beer:f.t("beer"),beers:f.t("beers"),beetle:f.t("beetle"),beginner:f.t("beginner"),bell:f.t("bell"),bell_pepper:f.t("bell_pepper"),bellhop_bell:f.t("bellhop_bell"),bento:f.t("bento"),beverage_box:f.t("beverage_box"),bicyclist:f.t("bicyclist"),bike:f.t("bike"),bikini:f.t("bikini"),billed_cap:f.t("billed_cap"),biohazard_sign:f.t("biohazard_sign"),bird:f.t("bird"),birthday:f.t("birthday"),bison:f.t("bison"),biting_lip:f.t("biting_lip"),black_cat:f.t("black_cat"),black_circle:f.t("black_circle"),black_circle_for_record:f.t("black_circle_for_record"),black_heart:f.t("black_heart"),black_joker:f.t("black_joker"),black_large_square:f.t("black_large_square"),black_left_pointing_double_triangle_with_vertical_bar:f.t("black_left_pointing_double_triangle_with_vertical_bar"),black_medium_small_square:f.t("black_medium_small_square"),black_medium_square:f.t("black_medium_square"),black_nib:f.t("black_nib"),black_right_pointing_double_triangle_with_vertical_bar:f.t("black_right_pointing_double_triangle_with_vertical_bar"),black_right_pointing_triangle_with_double_vertical_bar:f.t("black_right_pointing_triangle_with_double_vertical_bar"),black_small_square:f.t("black_small_square"),black_square:f.t("black_square"),black_square_button:f.t("black_square_button"),black_square_for_stop:f.t("black_square_for_stop"),"blond-haired-man":f.t("blond-haired-man"),"blond-haired-woman":f.t("blond-haired-woman"),blossom:f.t("blossom"),blowfish:f.t("blowfish"),blue_book:f.t("blue_book"),blue_car:f.t("blue_car"),blue_heart:f.t("blue_heart"),blueberries:f.t("blueberries"),blush:f.t("blush"),boar:f.t("boar"),boat:f.t("boat"),bomb:f.t("bomb"),bone:f.t("bone"),book:f.t("book"),bookmark:f.t("bookmark"),bookmark_tabs:f.t("bookmark_tabs"),books:f.t("books"),boom:f.t("boom"),boomerang:f.t("boomerang"),boot:f.t("boot"),bouquet:f.t("bouquet"),bow:f.t("bow"),bow_and_arrow:f.t("bow_and_arrow"),bowl_with_spoon:f.t("bowl_with_spoon"),bowling:f.t("bowling"),bowtie:f.t("bowtie"),boxing_glove:f.t("boxing_glove"),boy:f.t("boy"),brain:f.t("brain"),bread:f.t("bread"),"breast-feeding":f.t("breast-feeding"),bricks:f.t("bricks"),bride_with_veil:f.t("bride_with_veil"),bridge_at_night:f.t("bridge_at_night"),briefcase:f.t("briefcase"),briefs:f.t("briefs"),broccoli:f.t("broccoli"),broken_heart:f.t("broken_heart"),broom:f.t("broom"),brown_heart:f.t("brown_heart"),bubble_tea:f.t("bubble_tea"),bubbles:f.t("bubbles"),bucket:f.t("bucket"),bug:f.t("bug"),building_construction:f.t("building_construction"),bulb:f.t("bulb"),bullettrain_front:f.t("bullettrain_front"),bullettrain_side:f.t("bullettrain_side"),burrito:f.t("burrito"),bus:f.t("bus"),busstop:f.t("busstop"),bust_in_silhouette:f.t("bust_in_silhouette"),busts_in_silhouette:f.t("busts_in_silhouette"),butter:f.t("butter"),butterfly:f.t("butterfly"),cactus:f.t("cactus"),cake:f.t("cake"),calendar:f.t("calendar"),call_me_hand:f.t("call_me_hand"),calling:f.t("calling"),camel:f.t("camel"),camera:f.t("camera"),camera_with_flash:f.t("camera_with_flash"),camping:f.t("camping"),cancer:f.t("cancer"),candle:f.t("candle"),candy:f.t("candy"),canned_food:f.t("canned_food"),canoe:f.t("canoe"),capital_abcd:f.t("capital_abcd"),capricorn:f.t("capricorn"),car:f.t("car"),card_file_box:f.t("card_file_box"),card_index:f.t("card_index"),card_index_dividers:f.t("card_index_dividers"),carousel_horse:f.t("carousel_horse"),carpentry_saw:f.t("carpentry_saw"),carrot:f.t("carrot"),cat:f.t("cat"),cat2:f.t("cat2"),cd:f.t("cd"),chains:f.t("chains"),chair:f.t("chair"),champagne:f.t("champagne"),chart:f.t("chart"),chart_with_downwards_trend:f.t("chart_with_downwards_trend"),chart_with_upwards_trend:f.t("chart_with_upwards_trend"),checkered_flag:f.t("checkered_flag"),cheese_wedge:f.t("cheese_wedge"),cherries:f.t("cherries"),cherry_blossom:f.t("cherry_blossom"),chess_pawn:f.t("chess_pawn"),chestnut:f.t("chestnut"),chicken:f.t("chicken"),child:f.t("child"),children_crossing:f.t("children_crossing"),chipmunk:f.t("chipmunk"),chocolate_bar:f.t("chocolate_bar"),chopsticks:f.t("chopsticks"),christmas_tree:f.t("christmas_tree"),church:f.t("church"),cinema:f.t("cinema"),circus_tent:f.t("circus_tent"),city_sunrise:f.t("city_sunrise"),city_sunset:f.t("city_sunset"),cityscape:f.t("cityscape"),cl:f.t("cl"),clap:f.t("clap"),clapper:f.t("clapper"),classical_building:f.t("classical_building"),clinking_glasses:f.t("clinking_glasses"),clipboard:f.t("clipboard"),clock1:f.t("clock1"),clock10:f.t("clock10"),clock1030:f.t("clock1030"),clock11:f.t("clock11"),clock1130:f.t("clock1130"),clock12:f.t("clock12"),clock1230:f.t("clock1230"),clock130:f.t("clock130"),clock2:f.t("clock2"),clock230:f.t("clock230"),clock3:f.t("clock3"),clock330:f.t("clock330"),clock4:f.t("clock4"),clock430:f.t("clock430"),clock5:f.t("clock5"),clock530:f.t("clock530"),clock6:f.t("clock6"),clock630:f.t("clock630"),clock7:f.t("clock7"),clock730:f.t("clock730"),clock8:f.t("clock8"),clock830:f.t("clock830"),clock9:f.t("clock9"),clock930:f.t("clock930"),closed_book:f.t("closed_book"),closed_lock_with_key:f.t("closed_lock_with_key"),closed_umbrella:f.t("closed_umbrella"),cloud:f.t("cloud"),clown_face:f.t("clown_face"),clubs:f.t("clubs"),cn:f.t("cn"),coat:f.t("coat"),cockroach:f.t("cockroach"),cocktail:f.t("cocktail"),coconut:f.t("coconut"),coffee:f.t("coffee"),coffin:f.t("coffin"),coin:f.t("coin"),cold_face:f.t("cold_face"),cold_sweat:f.t("cold_sweat"),collision:f.t("collision"),comet:f.t("comet"),compass:f.t("compass"),compression:f.t("compression"),computer:f.t("computer"),confetti_ball:f.t("confetti_ball"),confounded:f.t("confounded"),confused:f.t("confused"),congratulations:f.t("congratulations"),construction:f.t("construction"),construction_worker:f.t("construction_worker"),control_knobs:f.t("control_knobs"),convenience_store:f.t("convenience_store"),cook:f.t("cook"),cookie:f.t("cookie"),cooking:f.t("cooking"),cool:f.t("cool"),cop:f.t("cop"),copyright:f.t("copyright"),coral:f.t("coral"),corn:f.t("corn"),couch_and_lamp:f.t("couch_and_lamp"),couple:f.t("couple"),couple_with_heart:f.t("couple_with_heart"),couplekiss:f.t("couplekiss"),cow:f.t("cow"),cow2:f.t("cow2"),crab:f.t("crab"),credit_card:f.t("credit_card"),crescent_moon:f.t("crescent_moon"),cricket:f.t("cricket"),cricket_bat_and_ball:f.t("cricket_bat_and_ball"),crocodile:f.t("crocodile"),croissant:f.t("croissant"),crossed_fingers:f.t("crossed_fingers"),crossed_flags:f.t("crossed_flags"),crossed_swords:f.t("crossed_swords"),crown:f.t("crown"),crutch:f.t("crutch"),cry:f.t("cry"),crying_cat_face:f.t("crying_cat_face"),crystal_ball:f.t("crystal_ball"),cubimal_chick:f.t("cubimal_chick"),cucumber:f.t("cucumber"),cup_with_straw:f.t("cup_with_straw"),cupcake:f.t("cupcake"),cupid:f.t("cupid"),curling_stone:f.t("curling_stone"),curly_haired_man:f.t("curly_haired_man"),curly_haired_person:f.t("curly_haired_person"),curly_haired_woman:f.t("curly_haired_woman"),curly_loop:f.t("curly_loop"),currency_exchange:f.t("currency_exchange"),curry:f.t("curry"),custard:f.t("custard"),customs:f.t("customs"),cut_of_meat:f.t("cut_of_meat"),cyclone:f.t("cyclone"),dagger_knife:f.t("dagger_knife"),dancer:f.t("dancer"),dancers:f.t("dancers"),dango:f.t("dango"),dark_sunglasses:f.t("dark_sunglasses"),dart:f.t("dart"),dash:f.t("dash"),date:f.t("date"),de:f.t("de"),deaf_man:f.t("deaf_man"),deaf_person:f.t("deaf_person"),deaf_woman:f.t("deaf_woman"),deciduous_tree:f.t("deciduous_tree"),deer:f.t("deer"),department_store:f.t("department_store"),derelict_house_building:f.t("derelict_house_building"),desert:f.t("desert"),desert_island:f.t("desert_island"),desktop_computer:f.t("desktop_computer"),diamond_shape_with_a_dot_inside:f.t("diamond_shape_with_a_dot_inside"),diamonds:f.t("diamonds"),disappointed:f.t("disappointed"),disappointed_relieved:f.t("disappointed_relieved"),disguised_face:f.t("disguised_face"),diving_mask:f.t("diving_mask"),diya_lamp:f.t("diya_lamp"),dizzy:f.t("dizzy"),dizzy_face:f.t("dizzy_face"),dna:f.t("dna"),do_not_litter:f.t("do_not_litter"),dodo:f.t("dodo"),dog:f.t("dog"),dog2:f.t("dog2"),dollar:f.t("dollar"),dolls:f.t("dolls"),dolphin:f.t("dolphin"),door:f.t("door"),dotted_line_face:f.t("dotted_line_face"),double_vertical_bar:f.t("double_vertical_bar"),doughnut:f.t("doughnut"),dove_of_peace:f.t("dove_of_peace"),dragon:f.t("dragon"),dragon_face:f.t("dragon_face"),dress:f.t("dress"),dromedary_camel:f.t("dromedary_camel"),drooling_face:f.t("drooling_face"),drop_of_blood:f.t("drop_of_blood"),droplet:f.t("droplet"),drum_with_drumsticks:f.t("drum_with_drumsticks"),duck:f.t("duck"),dumpling:f.t("dumpling"),dusty_stick:f.t("dusty_stick"),dvd:f.t("dvd"),"e-mail":f.t("e-mail"),eagle:f.t("eagle"),ear:f.t("ear"),ear_of_rice:f.t("ear_of_rice"),ear_with_hearing_aid:f.t("ear_with_hearing_aid"),earth_africa:f.t("earth_africa"),earth_americas:f.t("earth_americas"),earth_asia:f.t("earth_asia"),egg:f.t("egg"),eggplant:f.t("eggplant"),eight:f.t("eight"),eight_pointed_black_star:f.t("eight_pointed_black_star"),eight_spoked_asterisk:f.t("eight_spoked_asterisk"),eject:f.t("eject"),electric_plug:f.t("electric_plug"),elephant:f.t("elephant"),elevator:f.t("elevator"),elf:f.t("elf"),email:f.t("email"),empty_nest:f.t("empty_nest"),end:f.t("end"),envelope:f.t("envelope"),envelope_with_arrow:f.t("envelope_with_arrow"),es:f.t("es"),euro:f.t("euro"),european_castle:f.t("european_castle"),european_post_office:f.t("european_post_office"),evergreen_tree:f.t("evergreen_tree"),exclamation:f.t("exclamation"),exploding_head:f.t("exploding_head"),expressionless:f.t("expressionless"),eye:f.t("eye"),"eye-in-speech-bubble":f.t("eye-in-speech-bubble"),eyeglasses:f.t("eyeglasses"),eyes:f.t("eyes"),face_exhaling:f.t("face_exhaling"),face_holding_back_tears:f.t("face_holding_back_tears"),face_in_clouds:f.t("face_in_clouds"),face_palm:f.t("face_palm"),face_vomiting:f.t("face_vomiting"),face_with_cowboy_hat:f.t("face_with_cowboy_hat"),face_with_diagonal_mouth:f.t("face_with_diagonal_mouth"),face_with_finger_covering_closed_lips:f.t("face_with_finger_covering_closed_lips"),face_with_hand_over_mouth:f.t("face_with_hand_over_mouth"),face_with_head_bandage:f.t("face_with_head_bandage"),face_with_monocle:f.t("face_with_monocle"),face_with_one_eyebrow_raised:f.t("face_with_one_eyebrow_raised"),face_with_open_eyes_and_hand_over_mouth:f.t("face_with_open_eyes_and_hand_over_mouth"),face_with_open_mouth_vomiting:f.t("face_with_open_mouth_vomiting"),face_with_peeking_eye:f.t("face_with_peeking_eye"),face_with_raised_eyebrow:f.t("face_with_raised_eyebrow"),face_with_rolling_eyes:f.t("face_with_rolling_eyes"),face_with_spiral_eyes:f.t("face_with_spiral_eyes"),face_with_symbols_on_mouth:f.t("face_with_symbols_on_mouth"),face_with_thermometer:f.t("face_with_thermometer"),facepunch:f.t("facepunch"),factory:f.t("factory"),factory_worker:f.t("factory_worker"),fairy:f.t("fairy"),falafel:f.t("falafel"),fallen_leaf:f.t("fallen_leaf"),family:f.t("family"),farmer:f.t("farmer"),fast_forward:f.t("fast_forward"),fax:f.t("fax"),fearful:f.t("fearful"),feather:f.t("feather"),feet:f.t("feet"),"female-artist":f.t("female-artist"),"female-astronaut":f.t("female-astronaut"),"female-construction-worker":f.t("female-construction-worker"),"female-cook":f.t("female-cook"),"female-detective":f.t("female-detective"),"female-doctor":f.t("female-doctor"),"female-factory-worker":f.t("female-factory-worker"),"female-farmer":f.t("female-farmer"),"female-firefighter":f.t("female-firefighter"),"female-guard":f.t("female-guard"),"female-judge":f.t("female-judge"),"female-mechanic":f.t("female-mechanic"),"female-office-worker":f.t("female-office-worker"),"female-pilot":f.t("female-pilot"),"female-police-officer":f.t("female-police-officer"),"female-scientist":f.t("female-scientist"),"female-singer":f.t("female-singer"),"female-student":f.t("female-student"),"female-teacher":f.t("female-teacher"),"female-technologist":f.t("female-technologist"),female_elf:f.t("female_elf"),female_fairy:f.t("female_fairy"),female_genie:f.t("female_genie"),female_mage:f.t("female_mage"),female_sign:f.t("female_sign"),female_superhero:f.t("female_superhero"),female_supervillain:f.t("female_supervillain"),female_vampire:f.t("female_vampire"),female_zombie:f.t("female_zombie"),fencer:f.t("fencer"),ferris_wheel:f.t("ferris_wheel"),ferry:f.t("ferry"),field_hockey_stick_and_ball:f.t("field_hockey_stick_and_ball"),file_cabinet:f.t("file_cabinet"),file_folder:f.t("file_folder"),film_frames:f.t("film_frames"),film_projector:f.t("film_projector"),fire:f.t("fire"),fire_engine:f.t("fire_engine"),fire_extinguisher:f.t("fire_extinguisher"),firecracker:f.t("firecracker"),firefighter:f.t("firefighter"),fireworks:f.t("fireworks"),first_place_medal:f.t("first_place_medal"),first_quarter_moon:f.t("first_quarter_moon"),first_quarter_moon_with_face:f.t("first_quarter_moon_with_face"),fish:f.t("fish"),fish_cake:f.t("fish_cake"),fishing_pole_and_fish:f.t("fishing_pole_and_fish"),fist:f.t("fist"),five:f.t("five"),"flag-ac":f.t("flag-ac"),"flag-ad":f.t("flag-ad"),"flag-ae":f.t("flag-ae"),"flag-af":f.t("flag-af"),"flag-ag":f.t("flag-ag"),"flag-ai":f.t("flag-ai"),"flag-al":f.t("flag-al"),"flag-am":f.t("flag-am"),"flag-ao":f.t("flag-ao"),"flag-aq":f.t("flag-aq"),"flag-ar":f.t("flag-ar"),"flag-as":f.t("flag-as"),"flag-at":f.t("flag-at"),"flag-au":f.t("flag-au"),"flag-aw":f.t("flag-aw"),"flag-ax":f.t("flag-ax"),"flag-az":f.t("flag-az"),"flag-ba":f.t("flag-ba"),"flag-bb":f.t("flag-bb"),"flag-bd":f.t("flag-bd"),"flag-be":f.t("flag-be"),"flag-bf":f.t("flag-bf"),"flag-bg":f.t("flag-bg"),"flag-bh":f.t("flag-bh"),"flag-bi":f.t("flag-bi"),"flag-bj":f.t("flag-bj"),"flag-bl":f.t("flag-bl"),"flag-bm":f.t("flag-bm"),"flag-bn":f.t("flag-bn"),"flag-bo":f.t("flag-bo"),"flag-bq":f.t("flag-bq"),"flag-br":f.t("flag-br"),"flag-bs":f.t("flag-bs"),"flag-bt":f.t("flag-bt"),"flag-bv":f.t("flag-bv"),"flag-bw":f.t("flag-bw"),"flag-by":f.t("flag-by"),"flag-bz":f.t("flag-bz"),"flag-ca":f.t("flag-ca"),"flag-cc":f.t("flag-cc"),"flag-cd":f.t("flag-cd"),"flag-cf":f.t("flag-cf"),"flag-cg":f.t("flag-cg"),"flag-ch":f.t("flag-ch"),"flag-ci":f.t("flag-ci"),"flag-ck":f.t("flag-ck"),"flag-cl":f.t("flag-cl"),"flag-cm":f.t("flag-cm"),"flag-cn":f.t("flag-cn"),"flag-co":f.t("flag-co"),"flag-cp":f.t("flag-cp"),"flag-cr":f.t("flag-cr"),"flag-cu":f.t("flag-cu"),"flag-cv":f.t("flag-cv"),"flag-cw":f.t("flag-cw"),"flag-cx":f.t("flag-cx"),"flag-cy":f.t("flag-cy"),"flag-cz":f.t("flag-cz"),"flag-de":f.t("flag-de"),"flag-dg":f.t("flag-dg"),"flag-dj":f.t("flag-dj"),"flag-dk":f.t("flag-dk"),"flag-dm":f.t("flag-dm"),"flag-do":f.t("flag-do"),"flag-dz":f.t("flag-dz"),"flag-ea":f.t("flag-ea"),"flag-ec":f.t("flag-ec"),"flag-ee":f.t("flag-ee"),"flag-eg":f.t("flag-eg"),"flag-eh":f.t("flag-eh"),"flag-england":f.t("flag-england"),"flag-er":f.t("flag-er"),"flag-es":f.t("flag-es"),"flag-et":f.t("flag-et"),"flag-eu":f.t("flag-eu"),"flag-fi":f.t("flag-fi"),"flag-fj":f.t("flag-fj"),"flag-fk":f.t("flag-fk"),"flag-fm":f.t("flag-fm"),"flag-fo":f.t("flag-fo"),"flag-fr":f.t("flag-fr"),"flag-ga":f.t("flag-ga"),"flag-gb":f.t("flag-gb"),"flag-gd":f.t("flag-gd"),"flag-ge":f.t("flag-ge"),"flag-gf":f.t("flag-gf"),"flag-gg":f.t("flag-gg"),"flag-gh":f.t("flag-gh"),"flag-gi":f.t("flag-gi"),"flag-gl":f.t("flag-gl"),"flag-gm":f.t("flag-gm"),"flag-gn":f.t("flag-gn"),"flag-gp":f.t("flag-gp"),"flag-gq":f.t("flag-gq"),"flag-gr":f.t("flag-gr"),"flag-gs":f.t("flag-gs"),"flag-gt":f.t("flag-gt"),"flag-gu":f.t("flag-gu"),"flag-gw":f.t("flag-gw"),"flag-gy":f.t("flag-gy"),"flag-hk":f.t("flag-hk"),"flag-hm":f.t("flag-hm"),"flag-hn":f.t("flag-hn"),"flag-hr":f.t("flag-hr"),"flag-ht":f.t("flag-ht"),"flag-hu":f.t("flag-hu"),"flag-ic":f.t("flag-ic"),"flag-id":f.t("flag-id"),"flag-ie":f.t("flag-ie"),"flag-il":f.t("flag-il"),"flag-im":f.t("flag-im"),"flag-in":f.t("flag-in"),"flag-io":f.t("flag-io"),"flag-iq":f.t("flag-iq"),"flag-ir":f.t("flag-ir"),"flag-is":f.t("flag-is"),"flag-it":f.t("flag-it"),"flag-je":f.t("flag-je"),"flag-jm":f.t("flag-jm"),"flag-jo":f.t("flag-jo"),"flag-jp":f.t("flag-jp"),"flag-ke":f.t("flag-ke"),"flag-kg":f.t("flag-kg"),"flag-kh":f.t("flag-kh"),"flag-ki":f.t("flag-ki"),"flag-km":f.t("flag-km"),"flag-kn":f.t("flag-kn"),"flag-kp":f.t("flag-kp"),"flag-kr":f.t("flag-kr"),"flag-kw":f.t("flag-kw"),"flag-ky":f.t("flag-ky"),"flag-kz":f.t("flag-kz"),"flag-la":f.t("flag-la"),"flag-lb":f.t("flag-lb"),"flag-lc":f.t("flag-lc"),"flag-li":f.t("flag-li"),"flag-lk":f.t("flag-lk"),"flag-lr":f.t("flag-lr"),"flag-ls":f.t("flag-ls"),"flag-lt":f.t("flag-lt"),"flag-lu":f.t("flag-lu"),"flag-lv":f.t("flag-lv"),"flag-ly":f.t("flag-ly"),"flag-ma":f.t("flag-ma"),"flag-mc":f.t("flag-mc"),"flag-md":f.t("flag-md"),"flag-me":f.t("flag-me"),"flag-mf":f.t("flag-mf"),"flag-mg":f.t("flag-mg"),"flag-mh":f.t("flag-mh"),"flag-mk":f.t("flag-mk"),"flag-ml":f.t("flag-ml"),"flag-mm":f.t("flag-mm"),"flag-mn":f.t("flag-mn"),"flag-mo":f.t("flag-mo"),"flag-mp":f.t("flag-mp"),"flag-mq":f.t("flag-mq"),"flag-mr":f.t("flag-mr"),"flag-ms":f.t("flag-ms"),"flag-mt":f.t("flag-mt"),"flag-mu":f.t("flag-mu"),"flag-mv":f.t("flag-mv"),"flag-mw":f.t("flag-mw"),"flag-mx":f.t("flag-mx"),"flag-my":f.t("flag-my"),"flag-mz":f.t("flag-mz"),"flag-na":f.t("flag-na"),"flag-nc":f.t("flag-nc"),"flag-ne":f.t("flag-ne"),"flag-nf":f.t("flag-nf"),"flag-ng":f.t("flag-ng"),"flag-ni":f.t("flag-ni"),"flag-nl":f.t("flag-nl"),"flag-no":f.t("flag-no"),"flag-np":f.t("flag-np"),"flag-nr":f.t("flag-nr"),"flag-nu":f.t("flag-nu"),"flag-nz":f.t("flag-nz"),"flag-om":f.t("flag-om"),"flag-pa":f.t("flag-pa"),"flag-pe":f.t("flag-pe"),"flag-pf":f.t("flag-pf"),"flag-pg":f.t("flag-pg"),"flag-ph":f.t("flag-ph"),"flag-pk":f.t("flag-pk"),"flag-pl":f.t("flag-pl"),"flag-pm":f.t("flag-pm"),"flag-pn":f.t("flag-pn"),"flag-pr":f.t("flag-pr"),"flag-ps":f.t("flag-ps"),"flag-pt":f.t("flag-pt"),"flag-pw":f.t("flag-pw"),"flag-py":f.t("flag-py"),"flag-qa":f.t("flag-qa"),"flag-re":f.t("flag-re"),"flag-ro":f.t("flag-ro"),"flag-rs":f.t("flag-rs"),"flag-ru":f.t("flag-ru"),"flag-rw":f.t("flag-rw"),"flag-sa":f.t("flag-sa"),"flag-sb":f.t("flag-sb"),"flag-sc":f.t("flag-sc"),"flag-scotland":f.t("flag-scotland"),"flag-sd":f.t("flag-sd"),"flag-se":f.t("flag-se"),"flag-sg":f.t("flag-sg"),"flag-sh":f.t("flag-sh"),"flag-si":f.t("flag-si"),"flag-sj":f.t("flag-sj"),"flag-sk":f.t("flag-sk"),"flag-sl":f.t("flag-sl"),"flag-sm":f.t("flag-sm"),"flag-sn":f.t("flag-sn"),"flag-so":f.t("flag-so"),"flag-sr":f.t("flag-sr"),"flag-ss":f.t("flag-ss"),"flag-st":f.t("flag-st"),"flag-sv":f.t("flag-sv"),"flag-sx":f.t("flag-sx"),"flag-sy":f.t("flag-sy"),"flag-sz":f.t("flag-sz"),"flag-ta":f.t("flag-ta"),"flag-tc":f.t("flag-tc"),"flag-td":f.t("flag-td"),"flag-tf":f.t("flag-tf"),"flag-tg":f.t("flag-tg"),"flag-th":f.t("flag-th"),"flag-tj":f.t("flag-tj"),"flag-tk":f.t("flag-tk"),"flag-tl":f.t("flag-tl"),"flag-tm":f.t("flag-tm"),"flag-tn":f.t("flag-tn"),"flag-to":f.t("flag-to"),"flag-tr":f.t("flag-tr"),"flag-tt":f.t("flag-tt"),"flag-tv":f.t("flag-tv"),"flag-tw":f.t("flag-tw"),"flag-tz":f.t("flag-tz"),"flag-ua":f.t("flag-ua"),"flag-ug":f.t("flag-ug"),"flag-um":f.t("flag-um"),"flag-un":f.t("flag-un"),"flag-us":f.t("flag-us"),"flag-uy":f.t("flag-uy"),"flag-uz":f.t("flag-uz"),"flag-va":f.t("flag-va"),"flag-vc":f.t("flag-vc"),"flag-ve":f.t("flag-ve"),"flag-vg":f.t("flag-vg"),"flag-vi":f.t("flag-vi"),"flag-vn":f.t("flag-vn"),"flag-vu":f.t("flag-vu"),"flag-wales":f.t("flag-wales"),"flag-wf":f.t("flag-wf"),"flag-ws":f.t("flag-ws"),"flag-xk":f.t("flag-xk"),"flag-ye":f.t("flag-ye"),"flag-yt":f.t("flag-yt"),"flag-za":f.t("flag-za"),"flag-zm":f.t("flag-zm"),"flag-zw":f.t("flag-zw"),flags:f.t("flags"),flamingo:f.t("flamingo"),flashlight:f.t("flashlight"),flatbread:f.t("flatbread"),fleur_de_lis:f.t("fleur_de_lis"),flipper:f.t("flipper"),floppy_disk:f.t("floppy_disk"),flower_playing_cards:f.t("flower_playing_cards"),flushed:f.t("flushed"),fly:f.t("fly"),flying_disc:f.t("flying_disc"),flying_saucer:f.t("flying_saucer"),fog:f.t("fog"),foggy:f.t("foggy"),fondue:f.t("fondue"),foot:f.t("foot"),football:f.t("football"),footprints:f.t("footprints"),fork_and_knife:f.t("fork_and_knife"),fortune_cookie:f.t("fortune_cookie"),fountain:f.t("fountain"),four:f.t("four"),four_leaf_clover:f.t("four_leaf_clover"),fox_face:f.t("fox_face"),fr:f.t("fr"),frame_with_picture:f.t("frame_with_picture"),free:f.t("free"),fried_egg:f.t("fried_egg"),fried_shrimp:f.t("fried_shrimp"),fries:f.t("fries"),frog:f.t("frog"),frowning:f.t("frowning"),fuelpump:f.t("fuelpump"),full_moon:f.t("full_moon"),full_moon_with_face:f.t("full_moon_with_face"),funeral_urn:f.t("funeral_urn"),game_die:f.t("game_die"),garlic:f.t("garlic"),gb:f.t("gb"),gear:f.t("gear"),gem:f.t("gem"),gemini:f.t("gemini"),genie:f.t("genie"),ghost:f.t("ghost"),gift:f.t("gift"),gift_heart:f.t("gift_heart"),giraffe_face:f.t("giraffe_face"),girl:f.t("girl"),glass_of_milk:f.t("glass_of_milk"),glitch_crab:f.t("glitch_crab"),globe_with_meridians:f.t("globe_with_meridians"),gloves:f.t("gloves"),goal_net:f.t("goal_net"),goat:f.t("goat"),goggles:f.t("goggles"),golf:f.t("golf"),golfer:f.t("golfer"),gorilla:f.t("gorilla"),grapes:f.t("grapes"),green_apple:f.t("green_apple"),green_book:f.t("green_book"),green_heart:f.t("green_heart"),green_salad:f.t("green_salad"),grey_exclamation:f.t("grey_exclamation"),grey_question:f.t("grey_question"),grimacing:f.t("grimacing"),grin:f.t("grin"),grinning:f.t("grinning"),grinning_face_with_one_large_and_one_small_eye:f.t("grinning_face_with_one_large_and_one_small_eye"),grinning_face_with_star_eyes:f.t("grinning_face_with_star_eyes"),guardsman:f.t("guardsman"),guide_dog:f.t("guide_dog"),guitar:f.t("guitar"),gun:f.t("gun"),haircut:f.t("haircut"),hamburger:f.t("hamburger"),hammer:f.t("hammer"),hammer_and_pick:f.t("hammer_and_pick"),hammer_and_wrench:f.t("hammer_and_wrench"),hamsa:f.t("hamsa"),hamster:f.t("hamster"),hand:f.t("hand"),hand_with_index_and_middle_fingers_crossed:f.t("hand_with_index_and_middle_fingers_crossed"),hand_with_index_finger_and_thumb_crossed:f.t("hand_with_index_finger_and_thumb_crossed"),handbag:f.t("handbag"),handball:f.t("handball"),handshake:f.t("handshake"),hankey:f.t("hankey"),hash:f.t("hash"),hatched_chick:f.t("hatched_chick"),hatching_chick:f.t("hatching_chick"),headphones:f.t("headphones"),headstone:f.t("headstone"),health_worker:f.t("health_worker"),hear_no_evil:f.t("hear_no_evil"),heart:f.t("heart"),heart_decoration:f.t("heart_decoration"),heart_eyes:f.t("heart_eyes"),heart_eyes_cat:f.t("heart_eyes_cat"),heart_hands:f.t("heart_hands"),heart_on_fire:f.t("heart_on_fire"),heartbeat:f.t("heartbeat"),heartpulse:f.t("heartpulse"),hearts:f.t("hearts"),heavy_check_mark:f.t("heavy_check_mark"),heavy_division_sign:f.t("heavy_division_sign"),heavy_dollar_sign:f.t("heavy_dollar_sign"),heavy_equals_sign:f.t("heavy_equals_sign"),heavy_exclamation_mark:f.t("heavy_exclamation_mark"),heavy_heart_exclamation_mark_ornament:f.t("heavy_heart_exclamation_mark_ornament"),heavy_minus_sign:f.t("heavy_minus_sign"),heavy_multiplication_x:f.t("heavy_multiplication_x"),heavy_plus_sign:f.t("heavy_plus_sign"),hedgehog:f.t("hedgehog"),helicopter:f.t("helicopter"),helmet_with_white_cross:f.t("helmet_with_white_cross"),herb:f.t("herb"),hibiscus:f.t("hibiscus"),high_brightness:f.t("high_brightness"),high_heel:f.t("high_heel"),hiking_boot:f.t("hiking_boot"),hindu_temple:f.t("hindu_temple"),hippopotamus:f.t("hippopotamus"),hocho:f.t("hocho"),hole:f.t("hole"),honey_pot:f.t("honey_pot"),honeybee:f.t("honeybee"),hook:f.t("hook"),horse:f.t("horse"),horse_racing:f.t("horse_racing"),hospital:f.t("hospital"),hot_face:f.t("hot_face"),hot_pepper:f.t("hot_pepper"),hotdog:f.t("hotdog"),hotel:f.t("hotel"),hotsprings:f.t("hotsprings"),hourglass:f.t("hourglass"),hourglass_flowing_sand:f.t("hourglass_flowing_sand"),house:f.t("house"),house_buildings:f.t("house_buildings"),house_with_garden:f.t("house_with_garden"),hugging_face:f.t("hugging_face"),hushed:f.t("hushed"),hut:f.t("hut"),i_love_you_hand_sign:f.t("i_love_you_hand_sign"),ice_cream:f.t("ice_cream"),ice_cube:f.t("ice_cube"),ice_hockey_stick_and_puck:f.t("ice_hockey_stick_and_puck"),ice_skate:f.t("ice_skate"),icecream:f.t("icecream"),id:f.t("id"),identification_card:f.t("identification_card"),ideograph_advantage:f.t("ideograph_advantage"),imp:f.t("imp"),inbox_tray:f.t("inbox_tray"),incoming_envelope:f.t("incoming_envelope"),index_pointing_at_the_viewer:f.t("index_pointing_at_the_viewer"),infinity:f.t("infinity"),information_desk_person:f.t("information_desk_person"),information_source:f.t("information_source"),innocent:f.t("innocent"),interrobang:f.t("interrobang"),iphone:f.t("iphone"),it:f.t("it"),izakaya_lantern:f.t("izakaya_lantern"),jack_o_lantern:f.t("jack_o_lantern"),japan:f.t("japan"),japanese_castle:f.t("japanese_castle"),japanese_goblin:f.t("japanese_goblin"),japanese_ogre:f.t("japanese_ogre"),jar:f.t("jar"),jeans:f.t("jeans"),jigsaw:f.t("jigsaw"),joy:f.t("joy"),joy_cat:f.t("joy_cat"),joystick:f.t("joystick"),jp:f.t("jp"),judge:f.t("judge"),juggling:f.t("juggling"),kaaba:f.t("kaaba"),kangaroo:f.t("kangaroo"),key:f.t("key"),keyboard:f.t("keyboard"),keycap_star:f.t("keycap_star"),keycap_ten:f.t("keycap_ten"),kimono:f.t("kimono"),kiss:f.t("kiss"),kissing:f.t("kissing"),kissing_cat:f.t("kissing_cat"),kissing_closed_eyes:f.t("kissing_closed_eyes"),kissing_heart:f.t("kissing_heart"),kissing_smiling_eyes:f.t("kissing_smiling_eyes"),kite:f.t("kite"),kiwifruit:f.t("kiwifruit"),kneeling_person:f.t("kneeling_person"),knife:f.t("knife"),knife_fork_plate:f.t("knife_fork_plate"),knot:f.t("knot"),koala:f.t("koala"),koko:f.t("koko"),kr:f.t("kr"),lab_coat:f.t("lab_coat"),label:f.t("label"),lacrosse:f.t("lacrosse"),ladder:f.t("ladder"),lady_beetle:f.t("lady_beetle"),ladybug:f.t("ladybug"),lantern:f.t("lantern"),large_blue_circle:f.t("large_blue_circle"),large_blue_diamond:f.t("large_blue_diamond"),large_blue_square:f.t("large_blue_square"),large_brown_circle:f.t("large_brown_circle"),large_brown_square:f.t("large_brown_square"),large_green_circle:f.t("large_green_circle"),large_green_square:f.t("large_green_square"),large_orange_circle:f.t("large_orange_circle"),large_orange_diamond:f.t("large_orange_diamond"),large_orange_square:f.t("large_orange_square"),large_purple_circle:f.t("large_purple_circle"),large_purple_square:f.t("large_purple_square"),large_red_square:f.t("large_red_square"),large_yellow_circle:f.t("large_yellow_circle"),large_yellow_square:f.t("large_yellow_square"),last_quarter_moon:f.t("last_quarter_moon"),last_quarter_moon_with_face:f.t("last_quarter_moon_with_face"),latin_cross:f.t("latin_cross"),laughing:f.t("laughing"),leafy_green:f.t("leafy_green"),leaves:f.t("leaves"),ledger:f.t("ledger"),"left-facing_fist":f.t("left-facing_fist"),left_luggage:f.t("left_luggage"),left_right_arrow:f.t("left_right_arrow"),left_speech_bubble:f.t("left_speech_bubble"),leftwards_arrow_with_hook:f.t("leftwards_arrow_with_hook"),leftwards_hand:f.t("leftwards_hand"),leg:f.t("leg"),lemon:f.t("lemon"),leo:f.t("leo"),leopard:f.t("leopard"),level_slider:f.t("level_slider"),libra:f.t("libra"),light_rail:f.t("light_rail"),lightning:f.t("lightning"),lightning_cloud:f.t("lightning_cloud"),link:f.t("link"),linked_paperclips:f.t("linked_paperclips"),lion_face:f.t("lion_face"),lips:f.t("lips"),lipstick:f.t("lipstick"),lizard:f.t("lizard"),llama:f.t("llama"),lobster:f.t("lobster"),lock:f.t("lock"),lock_with_ink_pen:f.t("lock_with_ink_pen"),lollipop:f.t("lollipop"),long_drum:f.t("long_drum"),loop:f.t("loop"),lotion_bottle:f.t("lotion_bottle"),lotus:f.t("lotus"),loud_sound:f.t("loud_sound"),loudspeaker:f.t("loudspeaker"),love_hotel:f.t("love_hotel"),love_letter:f.t("love_letter"),low_battery:f.t("low_battery"),low_brightness:f.t("low_brightness"),lower_left_ballpoint_pen:f.t("lower_left_ballpoint_pen"),lower_left_crayon:f.t("lower_left_crayon"),lower_left_fountain_pen:f.t("lower_left_fountain_pen"),lower_left_paintbrush:f.t("lower_left_paintbrush"),luggage:f.t("luggage"),lungs:f.t("lungs"),lying_face:f.t("lying_face"),m:f.t("m"),mag:f.t("mag"),mag_right:f.t("mag_right"),mage:f.t("mage"),magic_wand:f.t("magic_wand"),magnet:f.t("magnet"),mahjong:f.t("mahjong"),mailbox:f.t("mailbox"),mailbox_closed:f.t("mailbox_closed"),mailbox_with_mail:f.t("mailbox_with_mail"),mailbox_with_no_mail:f.t("mailbox_with_no_mail"),"male-artist":f.t("male-artist"),"male-astronaut":f.t("male-astronaut"),"male-construction-worker":f.t("male-construction-worker"),"male-cook":f.t("male-cook"),"male-detective":f.t("male-detective"),"male-doctor":f.t("male-doctor"),"male-factory-worker":f.t("male-factory-worker"),"male-farmer":f.t("male-farmer"),"male-firefighter":f.t("male-firefighter"),"male-guard":f.t("male-guard"),"male-judge":f.t("male-judge"),"male-mechanic":f.t("male-mechanic"),"male-office-worker":f.t("male-office-worker"),"male-pilot":f.t("male-pilot"),"male-police-officer":f.t("male-police-officer"),"male-scientist":f.t("male-scientist"),"male-singer":f.t("male-singer"),"male-student":f.t("male-student"),"male-teacher":f.t("male-teacher"),"male-technologist":f.t("male-technologist"),male_elf:f.t("male_elf"),male_fairy:f.t("male_fairy"),male_genie:f.t("male_genie"),male_mage:f.t("male_mage"),male_sign:f.t("male_sign"),male_superhero:f.t("male_superhero"),male_supervillain:f.t("male_supervillain"),male_vampire:f.t("male_vampire"),male_zombie:f.t("male_zombie"),mammoth:f.t("mammoth"),man:f.t("man"),"man-biking":f.t("man-biking"),"man-bouncing-ball":f.t("man-bouncing-ball"),"man-bowing":f.t("man-bowing"),"man-boy":f.t("man-boy"),"man-boy-boy":f.t("man-boy-boy"),"man-cartwheeling":f.t("man-cartwheeling"),"man-facepalming":f.t("man-facepalming"),"man-frowning":f.t("man-frowning"),"man-gesturing-no":f.t("man-gesturing-no"),"man-gesturing-ok":f.t("man-gesturing-ok"),"man-getting-haircut":f.t("man-getting-haircut"),"man-getting-massage":f.t("man-getting-massage"),"man-girl":f.t("man-girl"),"man-girl-boy":f.t("man-girl-boy"),"man-girl-girl":f.t("man-girl-girl"),"man-golfing":f.t("man-golfing"),"man-heart-man":f.t("man-heart-man"),"man-juggling":f.t("man-juggling"),"man-kiss-man":f.t("man-kiss-man"),"man-lifting-weights":f.t("man-lifting-weights"),"man-man-boy":f.t("man-man-boy"),"man-man-boy-boy":f.t("man-man-boy-boy"),"man-man-girl":f.t("man-man-girl"),"man-man-girl-boy":f.t("man-man-girl-boy"),"man-man-girl-girl":f.t("man-man-girl-girl"),"man-mountain-biking":f.t("man-mountain-biking"),"man-playing-handball":f.t("man-playing-handball"),"man-playing-water-polo":f.t("man-playing-water-polo"),"man-pouting":f.t("man-pouting"),"man-raising-hand":f.t("man-raising-hand"),"man-rowing-boat":f.t("man-rowing-boat"),"man-running":f.t("man-running"),"man-shrugging":f.t("man-shrugging"),"man-surfing":f.t("man-surfing"),"man-swimming":f.t("man-swimming"),"man-tipping-hand":f.t("man-tipping-hand"),"man-walking":f.t("man-walking"),"man-wearing-turban":f.t("man-wearing-turban"),"man-with-bunny-ears-partying":f.t("man-with-bunny-ears-partying"),"man-woman-boy":f.t("man-woman-boy"),"man-woman-boy-boy":f.t("man-woman-boy-boy"),"man-woman-girl":f.t("man-woman-girl"),"man-woman-girl-boy":f.t("man-woman-girl-boy"),"man-woman-girl-girl":f.t("man-woman-girl-girl"),"man-wrestling":f.t("man-wrestling"),man_and_woman_holding_hands:f.t("man_and_woman_holding_hands"),man_climbing:f.t("man_climbing"),man_dancing:f.t("man_dancing"),man_feeding_baby:f.t("man_feeding_baby"),man_in_business_suit_levitating:f.t("man_in_business_suit_levitating"),man_in_lotus_position:f.t("man_in_lotus_position"),man_in_manual_wheelchair:f.t("man_in_manual_wheelchair"),man_in_motorized_wheelchair:f.t("man_in_motorized_wheelchair"),man_in_steamy_room:f.t("man_in_steamy_room"),man_in_tuxedo:f.t("man_in_tuxedo"),man_kneeling:f.t("man_kneeling"),man_standing:f.t("man_standing"),man_with_beard:f.t("man_with_beard"),man_with_gua_pi_mao:f.t("man_with_gua_pi_mao"),man_with_probing_cane:f.t("man_with_probing_cane"),man_with_turban:f.t("man_with_turban"),man_with_veil:f.t("man_with_veil"),mango:f.t("mango"),mans_shoe:f.t("mans_shoe"),mantelpiece_clock:f.t("mantelpiece_clock"),manual_wheelchair:f.t("manual_wheelchair"),maple_leaf:f.t("maple_leaf"),martial_arts_uniform:f.t("martial_arts_uniform"),mask:f.t("mask"),massage:f.t("massage"),mate_drink:f.t("mate_drink"),meat_on_bone:f.t("meat_on_bone"),mechanic:f.t("mechanic"),mechanical_arm:f.t("mechanical_arm"),mechanical_leg:f.t("mechanical_leg"),medal:f.t("medal"),medical_symbol:f.t("medical_symbol"),mega:f.t("mega"),melon:f.t("melon"),melting_face:f.t("melting_face"),memo:f.t("memo"),"men-with-bunny-ears-partying":f.t("men-with-bunny-ears-partying"),men_holding_hands:f.t("men_holding_hands"),mending_heart:f.t("mending_heart"),menorah_with_nine_branches:f.t("menorah_with_nine_branches"),mens:f.t("mens"),mermaid:f.t("mermaid"),merman:f.t("merman"),merperson:f.t("merperson"),metro:f.t("metro"),microbe:f.t("microbe"),microphone:f.t("microphone"),microscope:f.t("microscope"),middle_finger:f.t("middle_finger"),military_helmet:f.t("military_helmet"),milky_way:f.t("milky_way"),minibus:f.t("minibus"),minidisc:f.t("minidisc"),mirror:f.t("mirror"),mirror_ball:f.t("mirror_ball"),mobile_phone_off:f.t("mobile_phone_off"),money_mouth_face:f.t("money_mouth_face"),money_with_wings:f.t("money_with_wings"),moneybag:f.t("moneybag"),monkey:f.t("monkey"),monkey_face:f.t("monkey_face"),monorail:f.t("monorail"),moon:f.t("moon"),moon_cake:f.t("moon_cake"),mortar_board:f.t("mortar_board"),mosque:f.t("mosque"),mosquito:f.t("mosquito"),mostly_sunny:f.t("mostly_sunny"),mother_christmas:f.t("mother_christmas"),motor_boat:f.t("motor_boat"),motor_scooter:f.t("motor_scooter"),motorized_wheelchair:f.t("motorized_wheelchair"),motorway:f.t("motorway"),mount_fuji:f.t("mount_fuji"),mountain:f.t("mountain"),mountain_bicyclist:f.t("mountain_bicyclist"),mountain_cableway:f.t("mountain_cableway"),mountain_railway:f.t("mountain_railway"),mouse:f.t("mouse"),mouse2:f.t("mouse2"),mouse_trap:f.t("mouse_trap"),movie_camera:f.t("movie_camera"),moyai:f.t("moyai"),mrs_claus:f.t("mrs_claus"),muscle:f.t("muscle"),mushroom:f.t("mushroom"),musical_keyboard:f.t("musical_keyboard"),musical_note:f.t("musical_note"),musical_score:f.t("musical_score"),mute:f.t("mute"),mx_claus:f.t("mx_claus"),nail_care:f.t("nail_care"),name_badge:f.t("name_badge"),national_park:f.t("national_park"),nauseated_face:f.t("nauseated_face"),nazar_amulet:f.t("nazar_amulet"),necktie:f.t("necktie"),negative_squared_cross_mark:f.t("negative_squared_cross_mark"),nerd_face:f.t("nerd_face"),nest_with_eggs:f.t("nest_with_eggs"),nesting_dolls:f.t("nesting_dolls"),neutral_face:f.t("neutral_face"),new:f.t("new"),new_moon:f.t("new_moon"),new_moon_with_face:f.t("new_moon_with_face"),newspaper:f.t("newspaper"),ng:f.t("ng"),night_with_stars:f.t("night_with_stars"),nine:f.t("nine"),ninja:f.t("ninja"),no_bell:f.t("no_bell"),no_bicycles:f.t("no_bicycles"),no_entry:f.t("no_entry"),no_entry_sign:f.t("no_entry_sign"),no_good:f.t("no_good"),no_mobile_phones:f.t("no_mobile_phones"),no_mouth:f.t("no_mouth"),no_pedestrians:f.t("no_pedestrians"),no_smoking:f.t("no_smoking"),"non-potable_water":f.t("non-potable_water"),nose:f.t("nose"),notebook:f.t("notebook"),notebook_with_decorative_cover:f.t("notebook_with_decorative_cover"),notes:f.t("notes"),nut_and_bolt:f.t("nut_and_bolt"),o:f.t("o"),o2:f.t("o2"),ocean:f.t("ocean"),octagonal_sign:f.t("octagonal_sign"),octopus:f.t("octopus"),oden:f.t("oden"),office:f.t("office"),office_worker:f.t("office_worker"),oil_drum:f.t("oil_drum"),ok:f.t("ok"),ok_hand:f.t("ok_hand"),ok_woman:f.t("ok_woman"),old_key:f.t("old_key"),older_adult:f.t("older_adult"),older_man:f.t("older_man"),older_woman:f.t("older_woman"),olive:f.t("olive"),om_symbol:f.t("om_symbol"),on:f.t("on"),oncoming_automobile:f.t("oncoming_automobile"),oncoming_bus:f.t("oncoming_bus"),oncoming_police_car:f.t("oncoming_police_car"),oncoming_taxi:f.t("oncoming_taxi"),one:f.t("one"),"one-piece_swimsuit":f.t("one-piece_swimsuit"),onion:f.t("onion"),open_book:f.t("open_book"),open_file_folder:f.t("open_file_folder"),open_hands:f.t("open_hands"),open_mouth:f.t("open_mouth"),ophiuchus:f.t("ophiuchus"),orange_book:f.t("orange_book"),orange_heart:f.t("orange_heart"),orangutan:f.t("orangutan"),orthodox_cross:f.t("orthodox_cross"),otter:f.t("otter"),outbox_tray:f.t("outbox_tray"),owl:f.t("owl"),ox:f.t("ox"),oyster:f.t("oyster"),package:f.t("package"),page_facing_up:f.t("page_facing_up"),page_with_curl:f.t("page_with_curl"),pager:f.t("pager"),palm_down_hand:f.t("palm_down_hand"),palm_tree:f.t("palm_tree"),palm_up_hand:f.t("palm_up_hand"),palms_up_together:f.t("palms_up_together"),pancakes:f.t("pancakes"),panda_face:f.t("panda_face"),paperclip:f.t("paperclip"),parachute:f.t("parachute"),parking:f.t("parking"),parrot:f.t("parrot"),part_alternation_mark:f.t("part_alternation_mark"),partly_sunny:f.t("partly_sunny"),partly_sunny_rain:f.t("partly_sunny_rain"),partying_face:f.t("partying_face"),passenger_ship:f.t("passenger_ship"),passport_control:f.t("passport_control"),paw_prints:f.t("paw_prints"),peace_symbol:f.t("peace_symbol"),peach:f.t("peach"),peacock:f.t("peacock"),peanuts:f.t("peanuts"),pear:f.t("pear"),pencil:f.t("pencil"),pencil2:f.t("pencil2"),penguin:f.t("penguin"),pensive:f.t("pensive"),people_holding_hands:f.t("people_holding_hands"),people_hugging:f.t("people_hugging"),performing_arts:f.t("performing_arts"),persevere:f.t("persevere"),person_climbing:f.t("person_climbing"),person_doing_cartwheel:f.t("person_doing_cartwheel"),person_feeding_baby:f.t("person_feeding_baby"),person_frowning:f.t("person_frowning"),person_in_lotus_position:f.t("person_in_lotus_position"),person_in_manual_wheelchair:f.t("person_in_manual_wheelchair"),person_in_motorized_wheelchair:f.t("person_in_motorized_wheelchair"),person_in_steamy_room:f.t("person_in_steamy_room"),person_in_tuxedo:f.t("person_in_tuxedo"),person_with_ball:f.t("person_with_ball"),person_with_blond_hair:f.t("person_with_blond_hair"),person_with_crown:f.t("person_with_crown"),person_with_headscarf:f.t("person_with_headscarf"),person_with_pouting_face:f.t("person_with_pouting_face"),person_with_probing_cane:f.t("person_with_probing_cane"),petri_dish:f.t("petri_dish"),phone:f.t("phone"),pick:f.t("pick"),pickup_truck:f.t("pickup_truck"),pie:f.t("pie"),pig:f.t("pig"),pig2:f.t("pig2"),pig_nose:f.t("pig_nose"),piggy:f.t("piggy"),pill:f.t("pill"),pilot:f.t("pilot"),pinata:f.t("pinata"),pinched_fingers:f.t("pinched_fingers"),pinching_hand:f.t("pinching_hand"),pineapple:f.t("pineapple"),pirate_flag:f.t("pirate_flag"),pisces:f.t("pisces"),pizza:f.t("pizza"),placard:f.t("placard"),place_of_worship:f.t("place_of_worship"),playground_slide:f.t("playground_slide"),pleading_face:f.t("pleading_face"),plunger:f.t("plunger"),point_down:f.t("point_down"),point_left:f.t("point_left"),point_right:f.t("point_right"),point_up:f.t("point_up"),point_up_2:f.t("point_up_2"),polar_bear:f.t("polar_bear"),police_car:f.t("police_car"),poodle:f.t("poodle"),poop:f.t("poop"),popcorn:f.t("popcorn"),post_office:f.t("post_office"),postal_horn:f.t("postal_horn"),postbox:f.t("postbox"),potable_water:f.t("potable_water"),potato:f.t("potato"),potted_plant:f.t("potted_plant"),pouch:f.t("pouch"),poultry_leg:f.t("poultry_leg"),pound:f.t("pound"),pouring_liquid:f.t("pouring_liquid"),pouting_cat:f.t("pouting_cat"),pray:f.t("pray"),prayer_beads:f.t("prayer_beads"),pregnant_man:f.t("pregnant_man"),pregnant_person:f.t("pregnant_person"),pregnant_woman:f.t("pregnant_woman"),pretzel:f.t("pretzel"),pride:f.t("pride"),prince:f.t("prince"),princess:f.t("princess"),printer:f.t("printer"),probing_cane:f.t("probing_cane"),punch:f.t("punch"),purple_heart:f.t("purple_heart"),purse:f.t("purse"),pushpin:f.t("pushpin"),put_litter_in_its_place:f.t("put_litter_in_its_place"),question:f.t("question"),rabbit:f.t("rabbit"),rabbit2:f.t("rabbit2"),raccoon:f.t("raccoon"),racehorse:f.t("racehorse"),racing_car:f.t("racing_car"),racing_motorcycle:f.t("racing_motorcycle"),radio:f.t("radio"),radio_button:f.t("radio_button"),radioactive_sign:f.t("radioactive_sign"),rage:f.t("rage"),railway_car:f.t("railway_car"),railway_track:f.t("railway_track"),rain_cloud:f.t("rain_cloud"),rainbow:f.t("rainbow"),"rainbow-flag":f.t("rainbow-flag"),raised_back_of_hand:f.t("raised_back_of_hand"),raised_hand:f.t("raised_hand"),raised_hand_with_fingers_splayed:f.t("raised_hand_with_fingers_splayed"),raised_hands:f.t("raised_hands"),raising_hand:f.t("raising_hand"),ram:f.t("ram"),ramen:f.t("ramen"),rat:f.t("rat"),razor:f.t("razor"),receipt:f.t("receipt"),recycle:f.t("recycle"),red_car:f.t("red_car"),red_circle:f.t("red_circle"),red_envelope:f.t("red_envelope"),red_haired_man:f.t("red_haired_man"),red_haired_person:f.t("red_haired_person"),red_haired_woman:f.t("red_haired_woman"),registered:f.t("registered"),relaxed:f.t("relaxed"),relieved:f.t("relieved"),reminder_ribbon:f.t("reminder_ribbon"),repeat:f.t("repeat"),repeat_one:f.t("repeat_one"),restroom:f.t("restroom"),reversed_hand_with_middle_finger_extended:f.t("reversed_hand_with_middle_finger_extended"),revolving_hearts:f.t("revolving_hearts"),rewind:f.t("rewind"),rhinoceros:f.t("rhinoceros"),ribbon:f.t("ribbon"),rice:f.t("rice"),rice_ball:f.t("rice_ball"),rice_cracker:f.t("rice_cracker"),rice_scene:f.t("rice_scene"),"right-facing_fist":f.t("right-facing_fist"),right_anger_bubble:f.t("right_anger_bubble"),rightwards_hand:f.t("rightwards_hand"),ring:f.t("ring"),ring_buoy:f.t("ring_buoy"),ringed_planet:f.t("ringed_planet"),robot_face:f.t("robot_face"),rock:f.t("rock"),rocket:f.t("rocket"),roll_of_paper:f.t("roll_of_paper"),rolled_up_newspaper:f.t("rolled_up_newspaper"),roller_coaster:f.t("roller_coaster"),roller_skate:f.t("roller_skate"),rolling_on_the_floor_laughing:f.t("rolling_on_the_floor_laughing"),rooster:f.t("rooster"),rose:f.t("rose"),rosette:f.t("rosette"),rotating_light:f.t("rotating_light"),round_pushpin:f.t("round_pushpin"),rowboat:f.t("rowboat"),ru:f.t("ru"),rugby_football:f.t("rugby_football"),runner:f.t("runner"),running:f.t("running"),running_shirt_with_sash:f.t("running_shirt_with_sash"),sa:f.t("sa"),safety_pin:f.t("safety_pin"),safety_vest:f.t("safety_vest"),sagittarius:f.t("sagittarius"),sailboat:f.t("sailboat"),sake:f.t("sake"),salt:f.t("salt"),saluting_face:f.t("saluting_face"),sandal:f.t("sandal"),sandwich:f.t("sandwich"),santa:f.t("santa"),sari:f.t("sari"),satellite:f.t("satellite"),satellite_antenna:f.t("satellite_antenna"),satisfied:f.t("satisfied"),sauropod:f.t("sauropod"),saxophone:f.t("saxophone"),scales:f.t("scales"),scarf:f.t("scarf"),school:f.t("school"),school_satchel:f.t("school_satchel"),scientist:f.t("scientist"),scissors:f.t("scissors"),scooter:f.t("scooter"),scorpion:f.t("scorpion"),scorpius:f.t("scorpius"),scream:f.t("scream"),scream_cat:f.t("scream_cat"),screwdriver:f.t("screwdriver"),scroll:f.t("scroll"),seal:f.t("seal"),seat:f.t("seat"),second_place_medal:f.t("second_place_medal"),secret:f.t("secret"),see_no_evil:f.t("see_no_evil"),seedling:f.t("seedling"),selfie:f.t("selfie"),serious_face_with_symbols_covering_mouth:f.t("serious_face_with_symbols_covering_mouth"),service_dog:f.t("service_dog"),seven:f.t("seven"),sewing_needle:f.t("sewing_needle"),shallow_pan_of_food:f.t("shallow_pan_of_food"),shamrock:f.t("shamrock"),shark:f.t("shark"),shaved_ice:f.t("shaved_ice"),sheep:f.t("sheep"),shell:f.t("shell"),shield:f.t("shield"),shinto_shrine:f.t("shinto_shrine"),ship:f.t("ship"),shipit:f.t("shipit"),shirt:f.t("shirt"),shit:f.t("shit"),shocked_face_with_exploding_head:f.t("shocked_face_with_exploding_head"),shoe:f.t("shoe"),shopping_bags:f.t("shopping_bags"),shopping_trolley:f.t("shopping_trolley"),shorts:f.t("shorts"),shower:f.t("shower"),shrimp:f.t("shrimp"),shrug:f.t("shrug"),shushing_face:f.t("shushing_face"),sign_of_the_horns:f.t("sign_of_the_horns"),signal_strength:f.t("signal_strength"),singer:f.t("singer"),six:f.t("six"),six_pointed_star:f.t("six_pointed_star"),skateboard:f.t("skateboard"),ski:f.t("ski"),skier:f.t("skier"),"skin-tone-2":f.t("skin-tone-2"),"skin-tone-2-3":f.t("skin-tone-2-3"),"skin-tone-2-4":f.t("skin-tone-2-4"),"skin-tone-2-5":f.t("skin-tone-2-5"),"skin-tone-2-6":f.t("skin-tone-2-6"),"skin-tone-3":f.t("skin-tone-3"),"skin-tone-3-2":f.t("skin-tone-3-2"),"skin-tone-3-4":f.t("skin-tone-3-4"),"skin-tone-3-5":f.t("skin-tone-3-5"),"skin-tone-3-6":f.t("skin-tone-3-6"),"skin-tone-4":f.t("skin-tone-4"),"skin-tone-4-2":f.t("skin-tone-4-2"),"skin-tone-4-3":f.t("skin-tone-4-3"),"skin-tone-4-5":f.t("skin-tone-4-5"),"skin-tone-4-6":f.t("skin-tone-4-6"),"skin-tone-5":f.t("skin-tone-5"),"skin-tone-5-2":f.t("skin-tone-5-2"),"skin-tone-5-3":f.t("skin-tone-5-3"),"skin-tone-5-4":f.t("skin-tone-5-4"),"skin-tone-5-6":f.t("skin-tone-5-6"),"skin-tone-6":f.t("skin-tone-6"),"skin-tone-6-2":f.t("skin-tone-6-2"),"skin-tone-6-3":f.t("skin-tone-6-3"),"skin-tone-6-4":f.t("skin-tone-6-4"),"skin-tone-6-5":f.t("skin-tone-6-5"),skull:f.t("skull"),skull_and_crossbones:f.t("skull_and_crossbones"),skunk:f.t("skunk"),slack:f.t("slack"),slack_call:f.t("slack_call"),sled:f.t("sled"),sleeping:f.t("sleeping"),sleeping_accommodation:f.t("sleeping_accommodation"),sleepy:f.t("sleepy"),sleuth_or_spy:f.t("sleuth_or_spy"),slightly_frowning_face:f.t("slightly_frowning_face"),slightly_smiling_face:f.t("slightly_smiling_face"),slot_machine:f.t("slot_machine"),sloth:f.t("sloth"),small_airplane:f.t("small_airplane"),small_blue_diamond:f.t("small_blue_diamond"),small_orange_diamond:f.t("small_orange_diamond"),small_red_triangle:f.t("small_red_triangle"),small_red_triangle_down:f.t("small_red_triangle_down"),smile:f.t("smile"),smile_cat:f.t("smile_cat"),smiley:f.t("smiley"),smiley_cat:f.t("smiley_cat"),smiling_face_with_3_hearts:f.t("smiling_face_with_3_hearts"),smiling_face_with_smiling_eyes_and_hand_covering_mouth:f.t("smiling_face_with_smiling_eyes_and_hand_covering_mouth"),smiling_face_with_tear:f.t("smiling_face_with_tear"),smiling_imp:f.t("smiling_imp"),smirk:f.t("smirk"),smirk_cat:f.t("smirk_cat"),smoking:f.t("smoking"),snail:f.t("snail"),snake:f.t("snake"),sneezing_face:f.t("sneezing_face"),snow_capped_mountain:f.t("snow_capped_mountain"),snow_cloud:f.t("snow_cloud"),snowboarder:f.t("snowboarder"),snowflake:f.t("snowflake"),snowman:f.t("snowman"),snowman_without_snow:f.t("snowman_without_snow"),soap:f.t("soap"),sob:f.t("sob"),soccer:f.t("soccer"),socks:f.t("socks"),softball:f.t("softball"),soon:f.t("soon"),sos:f.t("sos"),sound:f.t("sound"),space_invader:f.t("space_invader"),spades:f.t("spades"),spaghetti:f.t("spaghetti"),sparkle:f.t("sparkle"),sparkler:f.t("sparkler"),sparkles:f.t("sparkles"),sparkling_heart:f.t("sparkling_heart"),speak_no_evil:f.t("speak_no_evil"),speaker:f.t("speaker"),speaking_head_in_silhouette:f.t("speaking_head_in_silhouette"),speech_balloon:f.t("speech_balloon"),speedboat:f.t("speedboat"),spider:f.t("spider"),spider_web:f.t("spider_web"),spiral_calendar_pad:f.t("spiral_calendar_pad"),spiral_note_pad:f.t("spiral_note_pad"),"spock-hand":f.t("spock-hand"),sponge:f.t("sponge"),spoon:f.t("spoon"),sports_medal:f.t("sports_medal"),squid:f.t("squid"),squirrel:f.t("squirrel"),stadium:f.t("stadium"),staff_of_aesculapius:f.t("staff_of_aesculapius"),standing_person:f.t("standing_person"),star:f.t("star"),"star-struck":f.t("star-struck"),star2:f.t("star2"),star_and_crescent:f.t("star_and_crescent"),star_of_david:f.t("star_of_david"),stars:f.t("stars"),station:f.t("station"),statue_of_liberty:f.t("statue_of_liberty"),steam_locomotive:f.t("steam_locomotive"),stethoscope:f.t("stethoscope"),stew:f.t("stew"),stopwatch:f.t("stopwatch"),straight_ruler:f.t("straight_ruler"),strawberry:f.t("strawberry"),stuck_out_tongue:f.t("stuck_out_tongue"),stuck_out_tongue_closed_eyes:f.t("stuck_out_tongue_closed_eyes"),stuck_out_tongue_winking_eye:f.t("stuck_out_tongue_winking_eye"),student:f.t("student"),studio_microphone:f.t("studio_microphone"),stuffed_flatbread:f.t("stuffed_flatbread"),sun_behind_cloud:f.t("sun_behind_cloud"),sun_behind_rain_cloud:f.t("sun_behind_rain_cloud"),sun_small_cloud:f.t("sun_small_cloud"),sun_with_face:f.t("sun_with_face"),sunflower:f.t("sunflower"),sunglasses:f.t("sunglasses"),sunny:f.t("sunny"),sunrise:f.t("sunrise"),sunrise_over_mountains:f.t("sunrise_over_mountains"),superhero:f.t("superhero"),supervillain:f.t("supervillain"),surfer:f.t("surfer"),sushi:f.t("sushi"),suspension_railway:f.t("suspension_railway"),swan:f.t("swan"),sweat:f.t("sweat"),sweat_drops:f.t("sweat_drops"),sweat_smile:f.t("sweat_smile"),sweet_potato:f.t("sweet_potato"),swimmer:f.t("swimmer"),symbols:f.t("symbols"),synagogue:f.t("synagogue"),syringe:f.t("syringe"),"t-rex":f.t("t-rex"),table_tennis_paddle_and_ball:f.t("table_tennis_paddle_and_ball"),taco:f.t("taco"),tada:f.t("tada"),takeout_box:f.t("takeout_box"),tamale:f.t("tamale"),tanabata_tree:f.t("tanabata_tree"),tangerine:f.t("tangerine"),taurus:f.t("taurus"),taxi:f.t("taxi"),tea:f.t("tea"),teacher:f.t("teacher"),teapot:f.t("teapot"),technologist:f.t("technologist"),teddy_bear:f.t("teddy_bear"),telephone:f.t("telephone"),telephone_receiver:f.t("telephone_receiver"),telescope:f.t("telescope"),tennis:f.t("tennis"),tent:f.t("tent"),test_tube:f.t("test_tube"),the_horns:f.t("the_horns"),thermometer:f.t("thermometer"),thinking_face:f.t("thinking_face"),third_place_medal:f.t("third_place_medal"),thong_sandal:f.t("thong_sandal"),thought_balloon:f.t("thought_balloon"),thread:f.t("thread"),three:f.t("three"),three_button_mouse:f.t("three_button_mouse"),thumbsdown:f.t("thumbsdown"),thumbsup:f.t("thumbsup"),thumbsup_all:f.t("thumbsup_all"),thunder_cloud_and_rain:f.t("thunder_cloud_and_rain"),ticket:f.t("ticket"),tiger:f.t("tiger"),tiger2:f.t("tiger2"),timer_clock:f.t("timer_clock"),tired_face:f.t("tired_face"),tm:f.t("tm"),toilet:f.t("toilet"),tokyo_tower:f.t("tokyo_tower"),tomato:f.t("tomato"),tongue:f.t("tongue"),toolbox:f.t("toolbox"),tooth:f.t("tooth"),toothbrush:f.t("toothbrush"),top:f.t("top"),tophat:f.t("tophat"),tornado:f.t("tornado"),tornado_cloud:f.t("tornado_cloud"),trackball:f.t("trackball"),tractor:f.t("tractor"),traffic_light:f.t("traffic_light"),train:f.t("train"),train2:f.t("train2"),tram:f.t("tram"),transgender_flag:f.t("transgender_flag"),transgender_symbol:f.t("transgender_symbol"),triangular_flag_on_post:f.t("triangular_flag_on_post"),triangular_ruler:f.t("triangular_ruler"),trident:f.t("trident"),triumph:f.t("triumph"),troll:f.t("troll"),trolleybus:f.t("trolleybus"),trophy:f.t("trophy"),tropical_drink:f.t("tropical_drink"),tropical_fish:f.t("tropical_fish"),truck:f.t("truck"),trumpet:f.t("trumpet"),tshirt:f.t("tshirt"),tulip:f.t("tulip"),tumbler_glass:f.t("tumbler_glass"),turkey:f.t("turkey"),turtle:f.t("turtle"),tv:f.t("tv"),twisted_rightwards_arrows:f.t("twisted_rightwards_arrows"),two:f.t("two"),two_hearts:f.t("two_hearts"),two_men_holding_hands:f.t("two_men_holding_hands"),two_women_holding_hands:f.t("two_women_holding_hands"),u5272:f.t("u5272"),u5408:f.t("u5408"),u55b6:f.t("u55b6"),u6307:f.t("u6307"),u6708:f.t("u6708"),u6709:f.t("u6709"),u6e80:f.t("u6e80"),u7121:f.t("u7121"),u7533:f.t("u7533"),u7981:f.t("u7981"),u7a7a:f.t("u7a7a"),uk:f.t("uk"),umbrella:f.t("umbrella"),umbrella_on_ground:f.t("umbrella_on_ground"),umbrella_with_rain_drops:f.t("umbrella_with_rain_drops"),unamused:f.t("unamused"),underage:f.t("underage"),unicorn_face:f.t("unicorn_face"),unlock:f.t("unlock"),up:f.t("up"),upside_down_face:f.t("upside_down_face"),us:f.t("us"),v:f.t("v"),vampire:f.t("vampire"),vertical_traffic_light:f.t("vertical_traffic_light"),vhs:f.t("vhs"),vibration_mode:f.t("vibration_mode"),video_camera:f.t("video_camera"),video_game:f.t("video_game"),violin:f.t("violin"),virgo:f.t("virgo"),volcano:f.t("volcano"),volleyball:f.t("volleyball"),vs:f.t("vs"),waffle:f.t("waffle"),walking:f.t("walking"),waning_crescent_moon:f.t("waning_crescent_moon"),waning_gibbous_moon:f.t("waning_gibbous_moon"),warning:f.t("warning"),wastebasket:f.t("wastebasket"),watch:f.t("watch"),water_buffalo:f.t("water_buffalo"),water_polo:f.t("water_polo"),watermelon:f.t("watermelon"),wave:f.t("wave"),waving_black_flag:f.t("waving_black_flag"),waving_white_flag:f.t("waving_white_flag"),wavy_dash:f.t("wavy_dash"),waxing_crescent_moon:f.t("waxing_crescent_moon"),waxing_gibbous_moon:f.t("waxing_gibbous_moon"),wc:f.t("wc"),weary:f.t("weary"),wedding:f.t("wedding"),weight_lifter:f.t("weight_lifter"),whale:f.t("whale"),whale2:f.t("whale2"),wheel:f.t("wheel"),wheel_of_dharma:f.t("wheel_of_dharma"),wheelchair:f.t("wheelchair"),white_check_mark:f.t("white_check_mark"),white_circle:f.t("white_circle"),white_flower:f.t("white_flower"),white_frowning_face:f.t("white_frowning_face"),white_haired_man:f.t("white_haired_man"),white_haired_person:f.t("white_haired_person"),white_haired_woman:f.t("white_haired_woman"),white_heart:f.t("white_heart"),white_large_square:f.t("white_large_square"),white_medium_small_square:f.t("white_medium_small_square"),white_medium_square:f.t("white_medium_square"),white_small_square:f.t("white_small_square"),white_square:f.t("white_square"),white_square_button:f.t("white_square_button"),wilted_flower:f.t("wilted_flower"),wind_blowing_face:f.t("wind_blowing_face"),wind_chime:f.t("wind_chime"),window:f.t("window"),wine_glass:f.t("wine_glass"),wink:f.t("wink"),wolf:f.t("wolf"),woman:f.t("woman"),"woman-biking":f.t("woman-biking"),"woman-bouncing-ball":f.t("woman-bouncing-ball"),"woman-bowing":f.t("woman-bowing"),"woman-boy":f.t("woman-boy"),"woman-boy-boy":f.t("woman-boy-boy"),"woman-cartwheeling":f.t("woman-cartwheeling"),"woman-facepalming":f.t("woman-facepalming"),"woman-frowning":f.t("woman-frowning"),"woman-gesturing-no":f.t("woman-gesturing-no"),"woman-gesturing-ok":f.t("woman-gesturing-ok"),"woman-getting-haircut":f.t("woman-getting-haircut"),"woman-getting-massage":f.t("woman-getting-massage"),"woman-girl":f.t("woman-girl"),"woman-girl-boy":f.t("woman-girl-boy"),"woman-girl-girl":f.t("woman-girl-girl"),"woman-golfing":f.t("woman-golfing"),"woman-heart-man":f.t("woman-heart-man"),"woman-heart-woman":f.t("woman-heart-woman"),"woman-juggling":f.t("woman-juggling"),"woman-kiss-man":f.t("woman-kiss-man"),"woman-kiss-woman":f.t("woman-kiss-woman"),"woman-lifting-weights":f.t("woman-lifting-weights"),"woman-mountain-biking":f.t("woman-mountain-biking"),"woman-playing-handball":f.t("woman-playing-handball"),"woman-playing-water-polo":f.t("woman-playing-water-polo"),"woman-pouting":f.t("woman-pouting"),"woman-raising-hand":f.t("woman-raising-hand"),"woman-rowing-boat":f.t("woman-rowing-boat"),"woman-running":f.t("woman-running"),"woman-shrugging":f.t("woman-shrugging"),"woman-surfing":f.t("woman-surfing"),"woman-swimming":f.t("woman-swimming"),"woman-tipping-hand":f.t("woman-tipping-hand"),"woman-walking":f.t("woman-walking"),"woman-wearing-turban":f.t("woman-wearing-turban"),"woman-with-bunny-ears-partying":f.t("woman-with-bunny-ears-partying"),"woman-woman-boy":f.t("woman-woman-boy"),"woman-woman-boy-boy":f.t("woman-woman-boy-boy"),"woman-woman-girl":f.t("woman-woman-girl"),"woman-woman-girl-boy":f.t("woman-woman-girl-boy"),"woman-woman-girl-girl":f.t("woman-woman-girl-girl"),"woman-wrestling":f.t("woman-wrestling"),woman_and_man_holding_hands:f.t("woman_and_man_holding_hands"),woman_climbing:f.t("woman_climbing"),woman_feeding_baby:f.t("woman_feeding_baby"),woman_in_lotus_position:f.t("woman_in_lotus_position"),woman_in_manual_wheelchair:f.t("woman_in_manual_wheelchair"),woman_in_motorized_wheelchair:f.t("woman_in_motorized_wheelchair"),woman_in_steamy_room:f.t("woman_in_steamy_room"),woman_in_tuxedo:f.t("woman_in_tuxedo"),woman_kneeling:f.t("woman_kneeling"),woman_standing:f.t("woman_standing"),woman_with_beard:f.t("woman_with_beard"),woman_with_probing_cane:f.t("woman_with_probing_cane"),woman_with_veil:f.t("woman_with_veil"),womans_clothes:f.t("womans_clothes"),womans_flat_shoe:f.t("womans_flat_shoe"),womans_hat:f.t("womans_hat"),"women-with-bunny-ears-partying":f.t("women-with-bunny-ears-partying"),women_holding_hands:f.t("women_holding_hands"),womens:f.t("womens"),wood:f.t("wood"),woozy_face:f.t("woozy_face"),world_map:f.t("world_map"),worm:f.t("worm"),worried:f.t("worried"),wrench:f.t("wrench"),wrestlers:f.t("wrestlers"),writing_hand:f.t("writing_hand"),x:f.t("x"),"x-ray":f.t("x-ray"),yarn:f.t("yarn"),yawning_face:f.t("yawning_face"),yellow_heart:f.t("yellow_heart"),yen:f.t("yen"),yin_yang:f.t("yin_yang"),"yo-yo":f.t("yo-yo"),yum:f.t("yum"),zany_face:f.t("zany_face"),zap:f.t("zap"),zebra_face:f.t("zebra_face"),zero:f.t("zero"),zipper_mouth_face:f.t("zipper_mouth_face"),zombie:f.t("zombie"),zzz:f.t("zzz")}:{},_=new m.Ay("emoji_keywords"),getEmojiKeywordsMap=(e=!0)=>e?{100:[_.t("100"),_.t("full"),_.t("hundred"),_.t("score")],1234:[_.t("1234"),_.t("input"),_.t("numbers")],undefined:[_.t("measure")],"skin-tone-2":[_.t("skin tone"),_.t("type 1\u20132")],"skin-tone-3":[_.t("skin tone"),_.t("type 3")],"skin-tone-4":[_.t("skin tone"),_.t("type 4")],"skin-tone-5":[_.t("skin tone"),_.t("type 5")],"skin-tone-6":[_.t("skin tone"),_.t("type 6")],face_holding_back_tears:[_.t("angry"),_.t("cry"),_.t("proud"),_.t("resist"),_.t("sad")],troll:[_.t("fairy tale"),_.t("fantasy"),_.t("monster")],"x-ray":[_.t("bones"),_.t("doctor"),_.t("medical"),_.t("skeleton")],crutch:[_.t("cane"),_.t("disability"),_.t("hurt"),_.t("mobility aid"),_.t("stick")],mirror_ball:[_.t("dance"),_.t("disco"),_.t("glitter"),_.t("party")],identification_card:[_.t("credentials"),_.t("id"),_.t("license"),_.t("security")],low_battery:[_.t("electronic"),_.t("low energy")],hamsa:[_.t("amulet"),_.t("fatima"),_.t("hand"),_.t("mary"),_.t("miriam"),_.t("protection")],lotus:[_.t("buddhism"),_.t("flower"),_.t("hinduism"),_.t("india"),_.t("purity"),_.t("vietnam")],coral:[_.t("ocean"),_.t("reef")],empty_nest:[_.t("nesting")],nest_with_eggs:[_.t("nesting")],pregnant_man:[_.t("belly"),_.t("bloated"),_.t("full"),_.t("pregnant")],pregnant_person:[_.t("belly"),_.t("bloated"),_.t("full"),_.t("pregnant")],person_with_crown:[_.t("monarch"),_.t("noble"),_.t("regal"),_.t("royalty")],pouring_liquid:[_.t("drink"),_.t("empty"),_.t("glass"),_.t("spill")],beans:[_.t("food"),_.t("kidney"),_.t("legume")],jar:[_.t("condiment"),_.t("container"),_.t("empty"),_.t("sauce"),_.t("store")],melting_face:[_.t("disappear"),_.t("dissolve"),_.t("liquid"),_.t("melt")],saluting_face:[_.t("ok"),_.t("salute"),_.t("sunny"),_.t("troops"),_.t("yes")],face_with_open_eyes_and_hand_over_mouth:[_.t("amazement"),_.t("awe"),_.t("disbelief"),_.t("embarrass"),_.t("scared"),_.t("surprise")],face_with_peeking_eye:[_.t("captivated"),_.t("peep"),_.t("stare")],face_with_diagonal_mouth:[_.t("disappointed"),_.t("meh"),_.t("skeptical"),_.t("unsure")],dotted_line_face:[_.t("depressed"),_.t("disappear"),_.t("hide"),_.t("introvert"),_.t("invisible")],biting_lip:[_.t("anxious"),_.t("fear"),_.t("flirting"),_.t("nervous"),_.t("uncomfortable"),_.t("worried")],bubbles:[_.t("burp"),_.t("clean"),_.t("soap"),_.t("underwater")],hand_with_index_finger_and_thumb_crossed:[_.t("expensive"),_.t("heart"),_.t("love"),_.t("money"),_.t("snap")],rightwards_hand:[_.t("hand"),_.t("right"),_.t("rightward")],leftwards_hand:[_.t("hand"),_.t("left"),_.t("leftward")],palm_down_hand:[_.t("dismiss"),_.t("drop"),_.t("shoo")],palm_up_hand:[_.t("beckon"),_.t("catch"),_.t("come"),_.t("offer")],index_pointing_at_the_viewer:[_.t("point"),_.t("you")],heart_hands:[_.t("love")],playground_slide:[_.t("amusement park"),_.t("play")],wheel:[_.t("circle"),_.t("tire"),_.t("turn")],ring_buoy:[_.t("float"),_.t("life preserver"),_.t("life saver"),_.t("rescue"),_.t("safety")],heavy_equals_sign:[_.t("equality"),_.t("math")],grinning:[_.t("face"),_.t("grin"),_.t("people"),_.t("person")],smiley:[_.t("face"),_.t("mouth"),_.t("open"),_.t("smile"),_.t("person"),_.t("people")],smile:[_.t("eye"),_.t("face"),_.t("mouth"),_.t("open"),_.t("smile"),_.t("person"),_.t("people")],grin:[_.t("eye"),_.t("face"),_.t("grin"),_.t("smile"),_.t("people"),_.t("person")],laughing:[_.t("face"),_.t("laugh"),_.t("mouth"),_.t("satisfied"),_.t("smile"),_.t("person"),_.t("people"),_.t("funny"),_.t("lol")],sweat_smile:[_.t("cold"),_.t("face"),_.t("open"),_.t("smile"),_.t("sweat"),_.t("person"),_.t("people")],rolling_on_the_floor_laughing:[_.t("face"),_.t("floor"),_.t("laugh"),_.t("rofl"),_.t("rolling"),_.t("rotfl")],joy:[_.t("face"),_.t("joy"),_.t("laugh"),_.t("tear"),_.t("happy"),_.t("person"),_.t("people")],slightly_smiling_face:[_.t("face"),_.t("smile")],upside_down_face:[_.t("face"),_.t("upside-down")],wink:[_.t("face"),_.t("wink"),_.t("person"),_.t("people")],blush:[_.t("blush"),_.t("eye"),_.t("face"),_.t("smile"),_.t("person"),_.t("people")],innocent:[_.t("angel"),_.t("face"),_.t("fantasy"),_.t("halo"),_.t("innocent"),_.t("saint"),_.t("person"),_.t("people")],smiling_face_with_3_hearts:[_.t("adore"),_.t("crush"),_.t("hearts"),_.t("in love")],heart_eyes:[_.t("eye"),_.t("face"),_.t("love"),_.t("smile"),_.t("heart"),_.t("person"),_.t("people")],"star-struck":[_.t("eyes"),_.t("face"),_.t("grinning"),_.t("star")],kissing_heart:[_.t("face"),_.t("kiss"),_.t("person"),_.t("people"),_.t("heart")],kissing:[_.t("face"),_.t("kiss"),_.t("person"),_.t("people")],relaxed:[_.t("face"),_.t("outlined"),_.t("relaxed"),_.t("smile"),_.t("people"),_.t("person")],kissing_closed_eyes:[_.t("closed"),_.t("eye"),_.t("face"),_.t("kiss"),_.t("person"),_.t("people")],kissing_smiling_eyes:[_.t("eye"),_.t("face"),_.t("kiss"),_.t("smile"),_.t("person"),_.t("people")],smiling_face_with_tear:[_.t("grateful"),_.t("proud"),_.t("relieved"),_.t("smiling"),_.t("tear"),_.t("touched")],yum:[_.t("delicious"),_.t("face"),_.t("savouring"),_.t("smile"),_.t("yum"),_.t("person"),_.t("people")],stuck_out_tongue:[_.t("face"),_.t("tongue"),_.t("person"),_.t("people")],stuck_out_tongue_winking_eye:[_.t("eye"),_.t("face"),_.t("joke"),_.t("tongue"),_.t("wink"),_.t("person"),_.t("people")],zany_face:[_.t("eye"),_.t("goofy"),_.t("large"),_.t("small")],stuck_out_tongue_closed_eyes:[_.t("eye"),_.t("face"),_.t("horrible"),_.t("taste"),_.t("tongue"),_.t("person"),_.t("people")],money_mouth_face:[_.t("face"),_.t("money"),_.t("mouth")],hugging_face:[_.t("face"),_.t("hug"),_.t("hugging"),_.t("open hands"),_.t("smiling face")],face_with_hand_over_mouth:[_.t("whoops")],shushing_face:[_.t("quiet"),_.t("shush")],thinking_face:[_.t("face"),_.t("thinking")],zipper_mouth_face:[_.t("face"),_.t("mouth"),_.t("zipper")],face_with_raised_eyebrow:[_.t("distrust"),_.t("skeptic")],neutral_face:[_.t("deadpan"),_.t("face"),_.t("meh"),_.t("neutral"),_.t("nonplussed"),_.t("people"),_.t("person")],expressionless:[_.t("expressionless"),_.t("face"),_.t("inexpressive"),_.t("meh"),_.t("unexpressive"),_.t("deadpan"),_.t("people"),_.t("person")],no_mouth:[_.t("face"),_.t("mouth"),_.t("quiet"),_.t("silent"),_.t("person"),_.t("people")],face_in_clouds:[_.t("absentminded"),_.t("face in the fog"),_.t("head in clouds")],smirk:[_.t("face"),_.t("smirk"),_.t("person"),_.t("people")],unamused:[_.t("face"),_.t("unamused"),_.t("unhappy"),_.t("unimpressed"),_.t("person"),_.t("people")],face_with_rolling_eyes:[_.t("eyeroll"),_.t("eyes"),_.t("face"),_.t("rolling")],grimacing:[_.t("face"),_.t("grimace"),_.t("people"),_.t("person")],face_exhaling:[_.t("exhale"),_.t("gasp"),_.t("groan"),_.t("relief"),_.t("whisper"),_.t("whistle")],lying_face:[_.t("face"),_.t("lie"),_.t("pinocchio")],relieved:[_.t("face"),_.t("relieved"),_.t("people"),_.t("person")],pensive:[_.t("dejected"),_.t("face"),_.t("pensive"),_.t("person"),_.t("people")],sleepy:[_.t("face"),_.t("good night"),_.t("sleep"),_.t("person"),_.t("people")],drooling_face:[_.t("drooling"),_.t("face")],sleeping:[_.t("face"),_.t("good night"),_.t("sleep"),_.t("zzz"),_.t("person"),_.t("people")],mask:[_.t("cold"),_.t("doctor"),_.t("face"),_.t("mask"),_.t("sick")],face_with_thermometer:[_.t("face"),_.t("ill"),_.t("sick"),_.t("thermometer")],face_with_head_bandage:[_.t("bandage"),_.t("face"),_.t("hurt"),_.t("injury")],nauseated_face:[_.t("face"),_.t("nauseated"),_.t("vomit")],face_vomiting:[_.t("puke"),_.t("sick"),_.t("vomit")],sneezing_face:[_.t("face"),_.t("gesundheit"),_.t("sneeze")],hot_face:[_.t("feverish"),_.t("heat stroke"),_.t("hot"),_.t("red-faced"),_.t("sweating")],cold_face:[_.t("blue-faced"),_.t("cold"),_.t("freezing"),_.t("frostbite"),_.t("icicles")],woozy_face:[_.t("dizzy"),_.t("intoxicated"),_.t("tipsy"),_.t("uneven eyes"),_.t("wavy mouth")],dizzy_face:[_.t("crossed-out eyes"),_.t("dead"),_.t("face"),_.t("knocked out"),_.t("person"),_.t("people")],face_with_spiral_eyes:[_.t("dizzy"),_.t("hypnotized"),_.t("spiral"),_.t("trouble"),_.t("whoa")],exploding_head:[_.t("mind blown"),_.t("shocked")],face_with_cowboy_hat:[_.t("cowboy"),_.t("cowgirl"),_.t("face"),_.t("hat")],partying_face:[_.t("celebration"),_.t("hat"),_.t("horn"),_.t("party")],disguised_face:[_.t("disguise"),_.t("face"),_.t("glasses"),_.t("incognito"),_.t("nose")],sunglasses:[_.t("bright"),_.t("cool"),_.t("face"),_.t("sun"),_.t("sunglasses"),_.t("shades"),_.t("person"),_.t("people")],nerd_face:[_.t("face"),_.t("geek"),_.t("nerd")],face_with_monocle:[_.t("face"),_.t("monocle"),_.t("stuffy")],confused:[_.t("confused"),_.t("face"),_.t("meh"),_.t("person"),_.t("people")],worried:[_.t("face"),_.t("worried"),_.t("person"),_.t("people")],slightly_frowning_face:[_.t("face"),_.t("frown")],white_frowning_face:[_.t("face"),_.t("frown")],open_mouth:[_.t("face"),_.t("mouth"),_.t("open"),_.t("sympathy"),_.t("surprised"),_.t("people"),_.t("person")],hushed:[_.t("face"),_.t("hushed"),_.t("stunned"),_.t("surprised"),_.t("person"),_.t("people")],astonished:[_.t("astonished"),_.t("face"),_.t("shocked"),_.t("totally"),_.t("people"),_.t("person")],flushed:[_.t("dazed"),_.t("face"),_.t("flushed"),_.t("embarrassed"),_.t("people"),_.t("person")],pleading_face:[_.t("begging"),_.t("mercy"),_.t("puppy eyes")],frowning:[_.t("face"),_.t("frown"),_.t("mouth"),_.t("open"),_.t("people"),_.t("person")],anguished:[_.t("anguished"),_.t("face"),_.t("upset"),_.t("shocked"),_.t("people"),_.t("person")],fearful:[_.t("face"),_.t("fear"),_.t("fearful"),_.t("scared"),_.t("people"),_.t("person")],cold_sweat:[_.t("blue"),_.t("cold"),_.t("face"),_.t("rushed"),_.t("sweat"),_.t("nervous"),_.t("person"),_.t("people")],disappointed_relieved:[_.t("disappointed"),_.t("face"),_.t("relieved"),_.t("whew"),_.t("phew"),_.t("person"),_.t("people")],cry:[_.t("cry"),_.t("face"),_.t("sad"),_.t("tear"),_.t("tears"),_.t("people"),_.t("person")],sob:[_.t("cry"),_.t("face"),_.t("sad"),_.t("sob"),_.t("tear"),_.t("person"),_.t("people")],scream:[_.t("face"),_.t("fear"),_.t("munch"),_.t("scared"),_.t("scream"),_.t("person"),_.t("people")],confounded:[_.t("confounded"),_.t("face"),_.t("dumbfounded"),_.t("person"),_.t("people")],persevere:[_.t("face"),_.t("persevere"),_.t("person"),_.t("people")],disappointed:[_.t("disappointed"),_.t("face"),_.t("person"),_.t("people")],sweat:[_.t("cold"),_.t("face"),_.t("sweat"),_.t("person"),_.t("people")],weary:[_.t("face"),_.t("tired"),_.t("weary"),_.t("person"),_.t("people")],tired_face:[_.t("face"),_.t("tired"),_.t("tantrum"),_.t("person"),_.t("people")],yawning_face:[_.t("bored"),_.t("tired"),_.t("yawn")],triumph:[_.t("face"),_.t("triumph"),_.t("won"),_.t("hmph"),_.t("person"),_.t("people")],rage:[_.t("angry"),_.t("enraged"),_.t("face"),_.t("mad"),_.t("pouting"),_.t("rage"),_.t("red"),_.t("anger"),_.t("person"),_.t("people")],angry:[_.t("anger"),_.t("angry"),_.t("face"),_.t("mad"),_.t("people"),_.t("person")],face_with_symbols_on_mouth:[_.t("swearing")],smiling_imp:[_.t("face"),_.t("fairy tale"),_.t("fantasy"),_.t("horns"),_.t("smile"),_.t("person"),_.t("people"),_.t("devil"),_.t("evil")],imp:[_.t("demon"),_.t("devil"),_.t("face"),_.t("fantasy"),_.t("imp"),_.t("evil"),_.t("person"),_.t("people")],skull:[_.t("death"),_.t("face"),_.t("fairy tale"),_.t("monster"),_.t("dead"),_.t("skeleton"),_.t("scary")],skull_and_crossbones:[_.t("crossbones"),_.t("death"),_.t("face"),_.t("monster"),_.t("skull")],hankey:[_.t("dung"),_.t("face"),_.t("monster"),_.t("poo"),_.t("poop"),_.t("shit")],clown_face:[_.t("clown"),_.t("face")],japanese_ogre:[_.t("creature"),_.t("face"),_.t("fairy tale"),_.t("fantasy"),_.t("monster"),_.t("ogre")],japanese_goblin:[_.t("creature"),_.t("face"),_.t("fairy tale"),_.t("fantasy"),_.t("monster"),_.t("goblin")],ghost:[_.t("creature"),_.t("face"),_.t("fairy tale"),_.t("fantasy"),_.t("monster"),_.t("ghoul"),_.t("scary")],alien:[_.t("creature"),_.t("extraterrestrial"),_.t("face"),_.t("fantasy"),_.t("ufo"),_.t("martian"),_.t("space")],space_invader:[_.t("alien"),_.t("creature"),_.t("extraterrestrial"),_.t("face"),_.t("monster"),_.t("ufo"),_.t("video"),_.t("game")],robot_face:[_.t("face"),_.t("monster")],smiley_cat:[_.t("cat"),_.t("face"),_.t("grinning"),_.t("mouth"),_.t("open"),_.t("smile"),_.t("animal")],smile_cat:[_.t("cat"),_.t("eye"),_.t("face"),_.t("grin"),_.t("smile"),_.t("animal")],joy_cat:[_.t("cat"),_.t("face"),_.t("joy"),_.t("tear"),_.t("happy"),_.t("animal")],heart_eyes_cat:[_.t("cat"),_.t("eye"),_.t("face"),_.t("heart"),_.t("love"),_.t("smile"),_.t("animal")],smirk_cat:[_.t("cat"),_.t("face"),_.t("ironic"),_.t("smile"),_.t("wry"),_.t("animal")],kissing_cat:[_.t("cat"),_.t("eye"),_.t("face"),_.t("kiss"),_.t("animal")],scream_cat:[_.t("cat"),_.t("face"),_.t("oh"),_.t("surprised"),_.t("weary"),_.t("animal")],crying_cat_face:[_.t("cat"),_.t("cry"),_.t("face"),_.t("sad"),_.t("tear"),_.t("animal")],pouting_cat:[_.t("cat"),_.t("face"),_.t("pouting"),_.t("animal"),_.t("sad")],see_no_evil:[_.t("evil"),_.t("face"),_.t("forbidden"),_.t("monkey"),_.t("see"),_.t("animal")],hear_no_evil:[_.t("evil"),_.t("face"),_.t("forbidden"),_.t("hear"),_.t("monkey"),_.t("animal")],speak_no_evil:[_.t("evil"),_.t("face"),_.t("forbidden"),_.t("monkey"),_.t("speak"),_.t("animal")],kiss:[_.t("kiss"),_.t("lips"),_.t("love"),_.t("mouth"),_.t("face")],love_letter:[_.t("heart"),_.t("letter"),_.t("love"),_.t("mail")],cupid:[_.t("arrow"),_.t("cupid"),_.t("heart")],gift_heart:[_.t("ribbon"),_.t("valentine"),_.t("present"),_.t("heart")],sparkling_heart:[_.t("excited"),_.t("sparkle"),_.t("heart"),_.t("sparkling"),_.t("glitter"),_.t("shine")],heartpulse:[_.t("excited"),_.t("growing"),_.t("nervous"),_.t("pulse")],heartbeat:[_.t("beating"),_.t("heartbeat"),_.t("pulsating"),_.t("heart")],revolving_hearts:[_.t("revolving"),_.t("heart")],two_hearts:[_.t("love"),_.t("heart")],heart_decoration:[_.t("heart")],heavy_heart_exclamation_mark_ornament:[_.t("exclamation"),_.t("mark"),_.t("punctuation")],broken_heart:[_.t("break"),_.t("broken"),_.t("heartbreak"),_.t("heart")],heart_on_fire:[_.t("burn"),_.t("heart"),_.t("love"),_.t("lust"),_.t("sacred heart")],mending_heart:[_.t("healthier"),_.t("improving"),_.t("mending"),_.t("recovering"),_.t("recuperating"),_.t("well")],heart:[_.t("heart")],orange_heart:[_.t("orange")],yellow_heart:[_.t("yellow"),_.t("heart")],green_heart:[_.t("green"),_.t("heart")],blue_heart:[_.t("blue"),_.t("heart")],purple_heart:[_.t("purple"),_.t("heart")],brown_heart:[_.t("brown"),_.t("heart")],black_heart:[_.t("black"),_.t("evil"),_.t("wicked")],white_heart:[_.t("heart"),_.t("white")],anger:[_.t("angry"),_.t("comic"),_.t("mad"),_.t("face"),_.t("people"),_.t("person")],boom:[_.t("boom"),_.t("comic"),_.t("bang"),_.t("explosion"),_.t("collision"),_.t("bomb")],dizzy:[_.t("comic"),_.t("star"),_.t("shooting")],sweat_drops:[_.t("comic"),_.t("splashing"),_.t("sweat"),_.t("water"),_.t("spray")],dash:[_.t("comic"),_.t("dash"),_.t("running"),_.t("gust"),_.t("whoosh"),_.t("wind"),_.t("fart")],bomb:[_.t("comic")],speech_balloon:[_.t("balloon"),_.t("bubble"),_.t("comic"),_.t("dialog"),_.t("speech"),_.t("talk")],"eye-in-speech-bubble":[_.t("balloon"),_.t("bubble"),_.t("eye"),_.t("speech"),_.t("witness")],left_speech_bubble:[_.t("balloon"),_.t("bubble"),_.t("dialog"),_.t("speech")],right_anger_bubble:[_.t("angry"),_.t("balloon"),_.t("bubble"),_.t("mad")],thought_balloon:[_.t("balloon"),_.t("bubble"),_.t("comic"),_.t("thought")],zzz:[_.t("comic"),_.t("good night"),_.t("sleep"),_.t("snore"),_.t("snooze")],wave:[_.t("hand"),_.t("wave"),_.t("waving"),_.t("people"),_.t("person")],raised_back_of_hand:[_.t("backhand"),_.t("raised")],raised_hand_with_fingers_splayed:[_.t("finger"),_.t("hand"),_.t("splayed")],hand:[_.t("hand"),_.t("high 5"),_.t("high five"),_.t("people"),_.t("person")],"spock-hand":[_.t("finger"),_.t("hand"),_.t("spock"),_.t("vulcan")],ok_hand:[_.t("hand"),_.t("ok"),_.t("people"),_.t("person")],pinched_fingers:[_.t("fingers"),_.t("hand gesture"),_.t("interrogation"),_.t("pinched"),_.t("sarcastic")],pinching_hand:[_.t("small amount")],v:[_.t("hand"),_.t("v"),_.t("victory"),_.t("peace"),_.t("people"),_.t("person")],crossed_fingers:[_.t("cross"),_.t("finger"),_.t("hand"),_.t("luck")],i_love_you_hand_sign:[_.t("hand"),_.t("ily")],the_horns:[_.t("finger"),_.t("hand"),_.t("horns"),_.t("rock-on")],call_me_hand:[_.t("call"),_.t("hand"),_.t("hang loose"),_.t("shaka")],point_left:[_.t("backhand"),_.t("finger"),_.t("hand"),_.t("index"),_.t("point"),_.t("person"),_.t("people")],point_right:[_.t("backhand"),_.t("finger"),_.t("hand"),_.t("index"),_.t("point"),_.t("person"),_.t("people")],point_up_2:[_.t("backhand"),_.t("finger"),_.t("hand"),_.t("point"),_.t("up"),_.t("person"),_.t("people")],middle_finger:[_.t("finger"),_.t("hand")],point_down:[_.t("backhand"),_.t("down"),_.t("finger"),_.t("hand"),_.t("point"),_.t("person"),_.t("people")],point_up:[_.t("finger"),_.t("hand"),_.t("index"),_.t("point"),_.t("up"),_.t("person"),_.t("people")],"+1":[_.t("+1"),_.t("hand"),_.t("thumb"),_.t("up"),_.t("thumbsup"),_.t("y"),_.t("yes"),_.t("people"),_.t("person")],"-1":[_.t("-1"),_.t("down"),_.t("hand"),_.t("thumb"),_.t("thumbsdown"),_.t("n"),_.t("no"),_.t("people"),_.t("person")],fist:[_.t("clenched"),_.t("fist"),_.t("hand"),_.t("punch"),_.t("facepunch"),_.t("fistbump"),_.t("person"),_.t("people")],facepunch:[_.t("clenched"),_.t("fist"),_.t("hand"),_.t("punch"),_.t("fistbump"),_.t("person"),_.t("people")],"left-facing_fist":[_.t("fist"),_.t("leftwards")],"right-facing_fist":[_.t("fist"),_.t("rightwards")],clap:[_.t("clap"),_.t("hand"),_.t("hands"),_.t("people"),_.t("person")],raised_hands:[_.t("celebration"),_.t("gesture"),_.t("hand"),_.t("hooray"),_.t("raised"),_.t("people"),_.t("person")],open_hands:[_.t("hand"),_.t("open"),_.t("hands"),_.t("people"),_.t("person")],palms_up_together:[_.t("prayer")],handshake:[_.t("agreement"),_.t("hand"),_.t("meeting"),_.t("shake")],pray:[_.t("ask"),_.t("hand"),_.t("high 5"),_.t("high five"),_.t("please"),_.t("pray"),_.t("thanks"),_.t("bless"),_.t("people"),_.t("person")],writing_hand:[_.t("hand"),_.t("write")],nail_care:[_.t("care"),_.t("cosmetics"),_.t("manicure"),_.t("nail"),_.t("polish"),_.t("hand"),_.t("people"),_.t("person")],selfie:[_.t("camera"),_.t("phone")],muscle:[_.t("biceps"),_.t("comic"),_.t("flex"),_.t("muscle"),_.t("bicep"),_.t("arm"),_.t("person"),_.t("people")],mechanical_arm:[_.t("accessibility"),_.t("prosthetic")],mechanical_leg:[_.t("accessibility"),_.t("prosthetic")],leg:[_.t("kick"),_.t("limb")],foot:[_.t("kick"),_.t("stomp")],ear:[_.t("body"),_.t("person"),_.t("people"),_.t("head")],ear_with_hearing_aid:[_.t("accessibility"),_.t("hard of hearing")],nose:[_.t("body"),_.t("face"),_.t("people"),_.t("person")],brain:[_.t("intelligent")],anatomical_heart:[_.t("anatomical"),_.t("cardiology"),_.t("heart"),_.t("organ"),_.t("pulse")],lungs:[_.t("breath"),_.t("exhalation"),_.t("inhalation"),_.t("organ"),_.t("respiration")],tooth:[_.t("dentist")],bone:[_.t("skeleton")],eyes:[_.t("eye"),_.t("face"),_.t("person"),_.t("people")],eye:[_.t("body")],tongue:[_.t("body"),_.t("face"),_.t("person"),_.t("people")],lips:[_.t("lips"),_.t("mouth"),_.t("face"),_.t("person"),_.t("people")],baby:[_.t("young"),_.t("infant"),_.t("face"),_.t("people"),_.t("person")],child:[_.t("gender-neutral"),_.t("unspecified gender"),_.t("young")],boy:[_.t("young"),_.t("person"),_.t("people"),_.t("face")],girl:[_.t("young"),_.t("person"),_.t("people"),_.t("face")],adult:[_.t("adult"),_.t("gender-neutral"),_.t("unspecified gender")],person_with_blond_hair:[_.t("blond"),_.t("blond-haired person"),_.t("hair"),_.t("face"),_.t("person"),_.t("people")],man:[_.t("adult"),_.t("person"),_.t("people"),_.t("face")],bearded_person:[_.t("beard"),_.t("person")],man_with_beard:[_.t("beard"),_.t("man")],"blond-haired-man":[_.t("blond"),_.t("blond-haired man"),_.t("hair"),_.t("man")],woman:[_.t("adult"),_.t("lady"),_.t("face"),_.t("person"),_.t("people")],woman_with_beard:[_.t("beard"),_.t("woman")],"blond-haired-woman":[_.t("blond-haired woman"),_.t("blonde"),_.t("hair"),_.t("woman")],older_adult:[_.t("adult"),_.t("gender-neutral"),_.t("old"),_.t("unspecified gender")],older_man:[_.t("adult"),_.t("man"),_.t("old"),_.t("senior"),_.t("elder"),_.t("person"),_.t("people"),_.t("face")],older_woman:[_.t("adult"),_.t("old"),_.t("woman"),_.t("senior"),_.t("elder"),_.t("people"),_.t("person"),_.t("face")],person_frowning:[_.t("frown"),_.t("gesture"),_.t("face"),_.t("person"),_.t("people"),_.t("sad")],"man-frowning":[_.t("frowning"),_.t("gesture"),_.t("man")],"woman-frowning":[_.t("frowning"),_.t("gesture"),_.t("woman")],person_with_pouting_face:[_.t("gesture"),_.t("pouting"),_.t("face"),_.t("person"),_.t("people")],"man-pouting":[_.t("gesture"),_.t("man"),_.t("pouting")],"woman-pouting":[_.t("gesture"),_.t("pouting"),_.t("woman")],no_good:[_.t("forbidden"),_.t("gesture"),_.t("hand"),_.t("prohibited"),_.t("person"),_.t("people"),_.t("becky")],"man-gesturing-no":[_.t("forbidden"),_.t("gesture"),_.t("hand"),_.t("man"),_.t("prohibited")],"woman-gesturing-no":[_.t("forbidden"),_.t("gesture"),_.t("hand"),_.t("prohibited"),_.t("woman")],ok_woman:[_.t("gesture"),_.t("hand"),_.t("ok"),_.t("woman"),_.t("people"),_.t("person"),_.t("becky")],"man-gesturing-ok":[_.t("gesture"),_.t("hand"),_.t("man"),_.t("ok")],"woman-gesturing-ok":[_.t("gesture"),_.t("hand"),_.t("ok"),_.t("woman")],information_desk_person:[_.t("hand"),_.t("help"),_.t("information"),_.t("sassy"),_.t("tipping"),_.t("helpdesk"),_.t("desk"),_.t("person"),_.t("people"),_.t("becky")],"man-tipping-hand":[_.t("man"),_.t("sassy"),_.t("tipping hand")],"woman-tipping-hand":[_.t("sassy"),_.t("tipping hand"),_.t("woman")],raising_hand:[_.t("gesture"),_.t("hand"),_.t("happy"),_.t("raised"),_.t("people"),_.t("person"),_.t("becky")],"man-raising-hand":[_.t("gesture"),_.t("man"),_.t("raising hand")],"woman-raising-hand":[_.t("gesture"),_.t("raising hand"),_.t("woman")],deaf_person:[_.t("accessibility"),_.t("deaf"),_.t("ear"),_.t("hear")],deaf_man:[_.t("deaf"),_.t("man")],deaf_woman:[_.t("deaf"),_.t("woman")],bow:[_.t("apology"),_.t("bow"),_.t("gesture"),_.t("sorry"),_.t("person"),_.t("people")],"man-bowing":[_.t("apology"),_.t("bowing"),_.t("favor"),_.t("gesture"),_.t("man"),_.t("sorry")],"woman-bowing":[_.t("apology"),_.t("bowing"),_.t("favor"),_.t("gesture"),_.t("sorry"),_.t("woman")],face_palm:[_.t("disbelief"),_.t("exasperation"),_.t("face"),_.t("palm")],"man-facepalming":[_.t("disbelief"),_.t("exasperation"),_.t("facepalm"),_.t("man")],"woman-facepalming":[_.t("disbelief"),_.t("exasperation"),_.t("facepalm"),_.t("woman")],shrug:[_.t("doubt"),_.t("ignorance"),_.t("indifference"),_.t("shrug")],"man-shrugging":[_.t("doubt"),_.t("ignorance"),_.t("indifference"),_.t("man"),_.t("shrug")],"woman-shrugging":[_.t("doubt"),_.t("ignorance"),_.t("indifference"),_.t("shrug"),_.t("woman")],health_worker:[_.t("doctor"),_.t("healthcare"),_.t("nurse"),_.t("therapist")],"male-doctor":[_.t("doctor"),_.t("healthcare"),_.t("man"),_.t("nurse"),_.t("therapist")],"female-doctor":[_.t("doctor"),_.t("healthcare"),_.t("nurse"),_.t("therapist"),_.t("woman")],student:[_.t("graduate")],"male-student":[_.t("graduate"),_.t("man"),_.t("student")],"female-student":[_.t("graduate"),_.t("student"),_.t("woman")],teacher:[_.t("instructor"),_.t("professor")],"male-teacher":[_.t("instructor"),_.t("man"),_.t("professor"),_.t("teacher")],"female-teacher":[_.t("instructor"),_.t("professor"),_.t("teacher"),_.t("woman")],judge:[_.t("justice"),_.t("scales")],"male-judge":[_.t("judge"),_.t("justice"),_.t("man"),_.t("scales")],"female-judge":[_.t("judge"),_.t("justice"),_.t("scales"),_.t("woman")],farmer:[_.t("gardener"),_.t("rancher")],"male-farmer":[_.t("farmer"),_.t("gardener"),_.t("man"),_.t("rancher")],"female-farmer":[_.t("farmer"),_.t("gardener"),_.t("rancher"),_.t("woman")],cook:[_.t("chef")],"male-cook":[_.t("chef"),_.t("cook"),_.t("man")],"female-cook":[_.t("chef"),_.t("cook"),_.t("woman")],mechanic:[_.t("electrician"),_.t("plumber"),_.t("tradesperson")],"male-mechanic":[_.t("electrician"),_.t("man"),_.t("mechanic"),_.t("plumber"),_.t("tradesperson")],"female-mechanic":[_.t("electrician"),_.t("mechanic"),_.t("plumber"),_.t("tradesperson"),_.t("woman")],factory_worker:[_.t("assembly"),_.t("factory"),_.t("industrial"),_.t("worker")],"male-factory-worker":[_.t("assembly"),_.t("factory"),_.t("industrial"),_.t("man"),_.t("worker")],"female-factory-worker":[_.t("assembly"),_.t("factory"),_.t("industrial"),_.t("woman"),_.t("worker")],office_worker:[_.t("architect"),_.t("business"),_.t("manager"),_.t("white-collar")],"male-office-worker":[_.t("architect"),_.t("business"),_.t("man"),_.t("manager"),_.t("white-collar")],"female-office-worker":[_.t("architect"),_.t("business"),_.t("manager"),_.t("white-collar"),_.t("woman")],scientist:[_.t("biologist"),_.t("chemist"),_.t("engineer"),_.t("physicist")],"male-scientist":[_.t("biologist"),_.t("chemist"),_.t("engineer"),_.t("man"),_.t("physicist"),_.t("scientist")],"female-scientist":[_.t("biologist"),_.t("chemist"),_.t("engineer"),_.t("physicist"),_.t("scientist"),_.t("woman")],technologist:[_.t("coder"),_.t("developer"),_.t("inventor"),_.t("software")],"male-technologist":[_.t("coder"),_.t("developer"),_.t("inventor"),_.t("man"),_.t("software"),_.t("technologist")],"female-technologist":[_.t("coder"),_.t("developer"),_.t("inventor"),_.t("software"),_.t("technologist"),_.t("woman")],singer:[_.t("actor"),_.t("entertainer"),_.t("rock"),_.t("star")],"male-singer":[_.t("actor"),_.t("entertainer"),_.t("man"),_.t("rock"),_.t("singer"),_.t("star")],"female-singer":[_.t("actor"),_.t("entertainer"),_.t("rock"),_.t("singer"),_.t("star"),_.t("woman")],artist:[_.t("palette")],"male-artist":[_.t("artist"),_.t("man"),_.t("palette")],"female-artist":[_.t("artist"),_.t("palette"),_.t("woman")],pilot:[_.t("plane")],"male-pilot":[_.t("man"),_.t("pilot"),_.t("plane")],"female-pilot":[_.t("pilot"),_.t("plane"),_.t("woman")],astronaut:[_.t("rocket")],"male-astronaut":[_.t("astronaut"),_.t("man"),_.t("rocket")],"female-astronaut":[_.t("astronaut"),_.t("rocket"),_.t("woman")],firefighter:[_.t("firetruck")],"male-firefighter":[_.t("firefighter"),_.t("firetruck"),_.t("man")],"female-firefighter":[_.t("firefighter"),_.t("firetruck"),_.t("woman")],cop:[_.t("cop"),_.t("officer"),_.t("police"),_.t("people"),_.t("person"),_.t("face")],"male-police-officer":[_.t("cop"),_.t("man"),_.t("officer"),_.t("police")],"female-police-officer":[_.t("cop"),_.t("officer"),_.t("police"),_.t("woman")],sleuth_or_spy:[_.t("sleuth"),_.t("spy")],"male-detective":[_.t("detective"),_.t("man"),_.t("sleuth"),_.t("spy")],"female-detective":[_.t("detective"),_.t("sleuth"),_.t("spy"),_.t("woman")],"male-guard":[_.t("guard"),_.t("man")],"female-guard":[_.t("guard"),_.t("woman")],ninja:[_.t("fighter"),_.t("hidden"),_.t("stealth")],construction_worker:[_.t("construction"),_.t("hat"),_.t("worker"),_.t("person"),_.t("people"),_.t("face")],"male-construction-worker":[_.t("construction"),_.t("man"),_.t("worker")],"female-construction-worker":[_.t("construction"),_.t("woman"),_.t("worker")],princess:[_.t("fairy tale"),_.t("fantasy"),_.t("face"),_.t("crown"),_.t("people"),_.t("person"),_.t("woman")],man_with_turban:[_.t("turban"),_.t("person"),_.t("people"),_.t("face")],"man-wearing-turban":[_.t("man"),_.t("turban")],"woman-wearing-turban":[_.t("turban"),_.t("woman")],man_with_gua_pi_mao:[_.t("cap"),_.t("gua pi mao"),_.t("hat"),_.t("person"),_.t("skullcap"),_.t("people"),_.t("face")],person_with_headscarf:[_.t("headscarf"),_.t("hijab"),_.t("mantilla"),_.t("tichel")],person_in_tuxedo:[_.t("groom"),_.t("person"),_.t("tuxedo")],man_in_tuxedo:[_.t("man"),_.t("tuxedo")],woman_in_tuxedo:[_.t("tuxedo"),_.t("woman")],bride_with_veil:[_.t("bride"),_.t("person"),_.t("veil"),_.t("wedding"),_.t("people"),_.t("face"),_.t("woman"),_.t("marriage")],man_with_veil:[_.t("man"),_.t("veil")],woman_with_veil:[_.t("veil"),_.t("woman")],pregnant_woman:[_.t("pregnant"),_.t("woman")],"breast-feeding":[_.t("baby"),_.t("breast"),_.t("nursing")],woman_feeding_baby:[_.t("baby"),_.t("feeding"),_.t("nursing"),_.t("woman")],man_feeding_baby:[_.t("baby"),_.t("feeding"),_.t("man"),_.t("nursing")],person_feeding_baby:[_.t("baby"),_.t("feeding"),_.t("nursing"),_.t("person")],angel:[_.t("angel"),_.t("baby"),_.t("face"),_.t("fairy tale"),_.t("fantasy"),_.t("heaven"),_.t("saint"),_.t("people"),_.t("person")],santa:[_.t("celebration"),_.t("christmas"),_.t("claus"),_.t("father"),_.t("santa"),_.t("holidays")],mrs_claus:[_.t("celebration"),_.t("christmas"),_.t("claus"),_.t("mother"),_.t("mrs.")],mx_claus:[_.t("claus, christmas")],superhero:[_.t("good"),_.t("hero"),_.t("heroine"),_.t("superpower")],male_superhero:[_.t("good"),_.t("hero"),_.t("man"),_.t("superpower")],female_superhero:[_.t("good"),_.t("hero"),_.t("heroine"),_.t("superpower"),_.t("woman")],supervillain:[_.t("criminal"),_.t("evil"),_.t("superpower"),_.t("villain")],male_supervillain:[_.t("criminal"),_.t("evil"),_.t("man"),_.t("superpower"),_.t("villain")],female_supervillain:[_.t("criminal"),_.t("evil"),_.t("superpower"),_.t("villain"),_.t("woman")],mage:[_.t("sorcerer"),_.t("sorceress"),_.t("witch"),_.t("wizard")],male_mage:[_.t("sorcerer"),_.t("wizard")],female_mage:[_.t("sorceress"),_.t("witch")],fairy:[_.t("oberon"),_.t("puck"),_.t("titania")],male_fairy:[_.t("oberon"),_.t("puck")],female_fairy:[_.t("titania")],vampire:[_.t("dracula"),_.t("undead")],male_vampire:[_.t("dracula"),_.t("undead")],female_vampire:[_.t("undead")],merperson:[_.t("mermaid"),_.t("merman"),_.t("merwoman")],merman:[_.t("triton")],mermaid:[_.t("merwoman")],elf:[_.t("magical")],male_elf:[_.t("magical")],female_elf:[_.t("magical")],genie:[_.t("djinn")],male_genie:[_.t("djinn")],female_genie:[_.t("djinn")],zombie:[_.t("undead"),_.t("walking dead")],male_zombie:[_.t("undead"),_.t("walking dead")],female_zombie:[_.t("undead"),_.t("walking dead")],massage:[_.t("face"),_.t("massage"),_.t("salon"),_.t("relax"),_.t("becky")],"man-getting-massage":[_.t("face"),_.t("man"),_.t("massage")],"woman-getting-massage":[_.t("face"),_.t("massage"),_.t("woman")],haircut:[_.t("barber"),_.t("beauty"),_.t("haircut"),_.t("parlor"),_.t("face"),_.t("people"),_.t("person"),_.t("salon")],"man-getting-haircut":[_.t("haircut"),_.t("man")],"woman-getting-haircut":[_.t("haircut"),_.t("woman")],walking:[_.t("hike"),_.t("walk"),_.t("walking"),_.t("person"),_.t("people")],"man-walking":[_.t("hike"),_.t("man"),_.t("walk")],"woman-walking":[_.t("hike"),_.t("walk"),_.t("woman")],standing_person:[_.t("stand"),_.t("standing")],man_standing:[_.t("man"),_.t("standing")],woman_standing:[_.t("standing"),_.t("woman")],kneeling_person:[_.t("kneel"),_.t("kneeling")],man_kneeling:[_.t("kneeling"),_.t("man")],woman_kneeling:[_.t("kneeling"),_.t("woman")],person_with_probing_cane:[_.t("accessibility"),_.t("blind")],man_with_probing_cane:[_.t("accessibility"),_.t("blind"),_.t("man")],woman_with_probing_cane:[_.t("accessibility"),_.t("blind"),_.t("woman")],person_in_motorized_wheelchair:[_.t("accessibility"),_.t("wheelchair")],man_in_motorized_wheelchair:[_.t("accessibility"),_.t("man"),_.t("wheelchair")],woman_in_motorized_wheelchair:[_.t("accessibility"),_.t("wheelchair"),_.t("woman")],person_in_manual_wheelchair:[_.t("accessibility"),_.t("wheelchair")],man_in_manual_wheelchair:[_.t("accessibility"),_.t("man"),_.t("wheelchair")],woman_in_manual_wheelchair:[_.t("accessibility"),_.t("wheelchair"),_.t("woman")],runner:[_.t("marathon"),_.t("running"),_.t("run"),_.t("sport")],"man-running":[_.t("man"),_.t("marathon"),_.t("racing"),_.t("running")],"woman-running":[_.t("marathon"),_.t("racing"),_.t("running"),_.t("woman")],dancer:[_.t("dance"),_.t("dancing"),_.t("woman"),_.t("person"),_.t("people")],man_dancing:[_.t("dance"),_.t("dancing"),_.t("man")],man_in_business_suit_levitating:[_.t("business"),_.t("person"),_.t("suit")],dancers:[_.t("bunny ear"),_.t("dancer"),_.t("partying"),_.t("people"),_.t("person")],"men-with-bunny-ears-partying":[_.t("bunny ear"),_.t("dancer"),_.t("men"),_.t("partying")],"women-with-bunny-ears-partying":[_.t("bunny ear"),_.t("dancer"),_.t("partying"),_.t("women")],person_in_steamy_room:[_.t("sauna"),_.t("steam room")],man_in_steamy_room:[_.t("sauna"),_.t("steam room")],woman_in_steamy_room:[_.t("sauna"),_.t("steam room")],person_climbing:[_.t("climber")],man_climbing:[_.t("climber")],woman_climbing:[_.t("climber")],fencer:[_.t("fencer"),_.t("fencing"),_.t("sword")],horse_racing:[_.t("horse"),_.t("jockey"),_.t("racehorse"),_.t("racing"),_.t("animal")],skier:[_.t("ski"),_.t("snow")],snowboarder:[_.t("ski"),_.t("snow"),_.t("snowboard"),_.t("sport")],golfer:[_.t("ball"),_.t("golf")],"man-golfing":[_.t("golf"),_.t("man")],"woman-golfing":[_.t("golf"),_.t("woman")],surfer:[_.t("surfing"),_.t("sport")],"man-surfing":[_.t("man"),_.t("surfing")],"woman-surfing":[_.t("surfing"),_.t("woman")],rowboat:[_.t("boat"),_.t("rowboat")],"man-rowing-boat":[_.t("boat"),_.t("man"),_.t("rowboat")],"woman-rowing-boat":[_.t("boat"),_.t("rowboat"),_.t("woman")],swimmer:[_.t("swim"),_.t("sport")],"man-swimming":[_.t("man"),_.t("swim")],"woman-swimming":[_.t("swim"),_.t("woman")],person_with_ball:[_.t("ball")],"man-bouncing-ball":[_.t("ball"),_.t("man")],"woman-bouncing-ball":[_.t("ball"),_.t("woman")],weight_lifter:[_.t("lifter"),_.t("weight")],"man-lifting-weights":[_.t("man"),_.t("weight lifter")],"woman-lifting-weights":[_.t("weight lifter"),_.t("woman")],bicyclist:[_.t("bicycle"),_.t("biking"),_.t("cyclist"),_.t("bike"),_.t("sport")],"man-biking":[_.t("bicycle"),_.t("biking"),_.t("cyclist"),_.t("man")],"woman-biking":[_.t("bicycle"),_.t("biking"),_.t("cyclist"),_.t("woman")],mountain_bicyclist:[_.t("bicycle"),_.t("bicyclist"),_.t("bike"),_.t("cyclist"),_.t("mountain"),_.t("sport")],"man-mountain-biking":[_.t("bicycle"),_.t("bike"),_.t("cyclist"),_.t("man"),_.t("mountain")],"woman-mountain-biking":[_.t("bicycle"),_.t("bike"),_.t("biking"),_.t("cyclist"),_.t("mountain"),_.t("woman")],person_doing_cartwheel:[_.t("cartwheel"),_.t("gymnastics")],"man-cartwheeling":[_.t("cartwheel"),_.t("gymnastics"),_.t("man")],"woman-cartwheeling":[_.t("cartwheel"),_.t("gymnastics"),_.t("woman")],wrestlers:[_.t("wrestle"),_.t("wrestler")],"man-wrestling":[_.t("men"),_.t("wrestle")],"woman-wrestling":[_.t("women"),_.t("wrestle")],water_polo:[_.t("polo"),_.t("water")],"man-playing-water-polo":[_.t("man"),_.t("water polo")],"woman-playing-water-polo":[_.t("water polo"),_.t("woman")],handball:[_.t("ball"),_.t("handball")],"man-playing-handball":[_.t("handball"),_.t("man")],"woman-playing-handball":[_.t("handball"),_.t("woman")],juggling:[_.t("balance"),_.t("juggle"),_.t("multitask"),_.t("skill")],"man-juggling":[_.t("juggling"),_.t("man"),_.t("multitask")],"woman-juggling":[_.t("juggling"),_.t("multitask"),_.t("woman")],person_in_lotus_position:[_.t("meditation"),_.t("yoga")],man_in_lotus_position:[_.t("meditation"),_.t("yoga")],woman_in_lotus_position:[_.t("meditation"),_.t("yoga")],bath:[_.t("bath"),_.t("bathtub"),_.t("washroom"),_.t("restroom")],sleeping_accommodation:[_.t("good night"),_.t("hotel"),_.t("sleep")],people_holding_hands:[_.t("couple"),_.t("hand"),_.t("hold"),_.t("holding hands"),_.t("person")],two_women_holding_hands:[_.t("couple"),_.t("hand"),_.t("holding hands"),_.t("women"),_.t("woman"),_.t("person"),_.t("people")],man_and_woman_holding_hands:[_.t("couple"),_.t("hand"),_.t("hold"),_.t("holding hands"),_.t("man"),_.t("woman"),_.t("people")],two_men_holding_hands:[_.t("couple"),_.t("gemini"),_.t("holding hands"),_.t("man"),_.t("men"),_.t("twins"),_.t("zodiac"),_.t("person"),_.t("people")],couplekiss:[_.t("couple"),_.t("man"),_.t("woman"),_.t("kiss"),_.t("people")],couple_with_heart:[_.t("couple"),_.t("love"),_.t("man"),_.t("heart"),_.t("woman"),_.t("people")],speaking_head_in_silhouette:[_.t("face"),_.t("head"),_.t("silhouette"),_.t("speak"),_.t("speaking")],bust_in_silhouette:[_.t("bust"),_.t("silhouette"),_.t("person"),_.t("people")],busts_in_silhouette:[_.t("bust"),_.t("silhouette"),_.t("person"),_.t("people")],people_hugging:[_.t("goodbye"),_.t("hello"),_.t("hug"),_.t("thanks")],footprints:[_.t("clothing"),_.t("footprint"),_.t("print"),_.t("feet"),_.t("foot")],monkey_face:[_.t("face"),_.t("monkey"),_.t("animal")],orangutan:[_.t("ape")],dog:[_.t("dog"),_.t("face"),_.t("pet"),_.t("animal")],dog2:[_.t("pet"),_.t("animal")],guide_dog:[_.t("accessibility"),_.t("blind"),_.t("guide")],service_dog:[_.t("accessibility"),_.t("assistance"),_.t("dog"),_.t("service")],poodle:[_.t("dog"),_.t("animal")],wolf:[_.t("face"),_.t("animal")],fox_face:[_.t("face")],raccoon:[_.t("curious"),_.t("sly")],cat:[_.t("cat"),_.t("face"),_.t("pet"),_.t("animal")],cat2:[_.t("pet"),_.t("animal")],black_cat:[_.t("black"),_.t("cat")],lion_face:[_.t("face"),_.t("leo"),_.t("zodiac")],tiger:[_.t("face"),_.t("tiger"),_.t("animal"),_.t("cat")],horse:[_.t("face"),_.t("horse"),_.t("animal")],racehorse:[_.t("equestrian"),_.t("racehorse"),_.t("racing"),_.t("animal")],unicorn_face:[_.t("face")],zebra_face:[_.t("stripe")],bison:[_.t("buffalo"),_.t("herd"),_.t("wisent")],cow:[_.t("cow"),_.t("face"),_.t("animal")],ox:[_.t("bull"),_.t("taurus"),_.t("zodiac"),_.t("animal")],water_buffalo:[_.t("buffalo"),_.t("water"),_.t("animal")],pig:[_.t("face"),_.t("pig"),_.t("animal")],pig2:[_.t("sow"),_.t("animal")],boar:[_.t("pig"),_.t("animal")],pig_nose:[_.t("face"),_.t("nose"),_.t("pig"),_.t("animal")],ram:[_.t("aries"),_.t("male"),_.t("sheep"),_.t("zodiac"),_.t("animal")],sheep:[_.t("female"),_.t("sheep"),_.t("animal")],goat:[_.t("capricorn"),_.t("zodiac"),_.t("animal")],dromedary_camel:[_.t("dromedary"),_.t("hump"),_.t("animal"),_.t("camel")],camel:[_.t("bactrian"),_.t("camel"),_.t("hump"),_.t("animal")],llama:[_.t("alpaca"),_.t("guanaco"),_.t("vicu\xf1a"),_.t("wool")],giraffe_face:[_.t("spots")],mammoth:[_.t("extinction"),_.t("large"),_.t("tusk"),_.t("woolly")],hippopotamus:[_.t("hippo")],mouse:[_.t("face"),_.t("mouse"),_.t("animal")],hamster:[_.t("face"),_.t("pet"),_.t("animal")],rabbit:[_.t("bunny"),_.t("face"),_.t("pet"),_.t("rabbit"),_.t("animal")],rabbit2:[_.t("bunny"),_.t("pet"),_.t("animal")],chipmunk:[_.t("squirrel")],beaver:[_.t("dam")],hedgehog:[_.t("spiny")],bat:[_.t("vampire")],bear:[_.t("face"),_.t("animal")],polar_bear:[_.t("arctic"),_.t("bear"),_.t("white")],koala:[_.t("face"),_.t("marsupial"),_.t("bear"),_.t("animal")],panda_face:[_.t("face"),_.t("bear"),_.t("panda")],sloth:[_.t("lazy"),_.t("slow")],otter:[_.t("fishing"),_.t("playful")],skunk:[_.t("stink")],kangaroo:[_.t("australia"),_.t("joey"),_.t("jump"),_.t("marsupial")],badger:[_.t("honey badger"),_.t("pester")],feet:[_.t("feet"),_.t("paw"),_.t("print"),_.t("prints"),_.t("paws")],turkey:[_.t("bird")],chicken:[_.t("bird"),_.t("animal")],rooster:[_.t("bird"),_.t("animal")],hatching_chick:[_.t("baby"),_.t("bird"),_.t("chick"),_.t("hatching"),_.t("animal")],baby_chick:[_.t("baby"),_.t("bird"),_.t("chick"),_.t("animal")],hatched_chick:[_.t("baby"),_.t("bird"),_.t("chick"),_.t("animal")],penguin:[_.t("bird"),_.t("animal")],dove_of_peace:[_.t("bird"),_.t("fly"),_.t("peace")],eagle:[_.t("bird")],duck:[_.t("bird")],swan:[_.t("bird"),_.t("cygnet"),_.t("ugly duckling")],owl:[_.t("bird"),_.t("wise")],dodo:[_.t("extinction"),_.t("large"),_.t("mauritius")],feather:[_.t("bird"),_.t("flight"),_.t("light"),_.t("plumage")],flamingo:[_.t("flamboyant"),_.t("tropical")],peacock:[_.t("bird"),_.t("ostentatious"),_.t("peahen"),_.t("proud")],parrot:[_.t("bird"),_.t("pirate"),_.t("talk")],frog:[_.t("face"),_.t("toad"),_.t("animal")],turtle:[_.t("terrapin"),_.t("tortoise"),_.t("animal")],lizard:[_.t("reptile")],snake:[_.t("bearer"),_.t("ophiuchus"),_.t("serpent"),_.t("zodiac"),_.t("animal")],dragon_face:[_.t("dragon"),_.t("face"),_.t("fairy tale"),_.t("animal")],dragon:[_.t("fairy tale"),_.t("animal")],sauropod:[_.t("brachiosaurus"),_.t("brontosaurus"),_.t("diplodocus")],"t-rex":[_.t("tyrannosaurus rex")],whale:[_.t("face"),_.t("spouting"),_.t("whale"),_.t("animal"),_.t("fish")],dolphin:[_.t("flipper"),_.t("animal"),_.t("fish")],seal:[_.t("sea lion")],fish:[_.t("pisces"),_.t("zodiac"),_.t("animal")],tropical_fish:[_.t("fish"),_.t("tropical"),_.t("animal")],blowfish:[_.t("fish"),_.t("animal")],shark:[_.t("fish")],shell:[_.t("shell"),_.t("spiral"),_.t("beach")],butterfly:[_.t("insect"),_.t("pretty")],bug:[_.t("insect"),_.t("caterpillar")],ant:[_.t("insect"),_.t("bug")],bee:[_.t("bee"),_.t("insect"),_.t("honeybee"),_.t("bug")],beetle:[_.t("bug"),_.t("insect")],ladybug:[_.t("beetle"),_.t("insect"),_.t("ladybird"),_.t("ladybug"),_.t("bug")],cricket:[_.t("grasshopper")],cockroach:[_.t("insect"),_.t("pest"),_.t("roach")],spider:[_.t("insect")],spider_web:[_.t("spider"),_.t("web")],scorpion:[_.t("scorpio"),_.t("scorpio"),_.t("zodiac")],mosquito:[_.t("disease"),_.t("fever"),_.t("malaria"),_.t("pest"),_.t("virus")],fly:[_.t("disease"),_.t("maggot"),_.t("pest"),_.t("rotting")],worm:[_.t("annelid"),_.t("earthworm"),_.t("parasite")],microbe:[_.t("amoeba"),_.t("bacteria"),_.t("virus")],bouquet:[_.t("flower"),_.t("plant")],cherry_blossom:[_.t("blossom"),_.t("cherry"),_.t("flower"),_.t("sakura")],white_flower:[_.t("flower"),_.t("plant")],rosette:[_.t("plant")],rose:[_.t("flower"),_.t("plant")],wilted_flower:[_.t("flower"),_.t("wilted")],hibiscus:[_.t("flower"),_.t("plant")],sunflower:[_.t("flower"),_.t("sun"),_.t("plant")],blossom:[_.t("flower"),_.t("plant")],tulip:[_.t("flower"),_.t("plant")],seedling:[_.t("young"),_.t("plant")],potted_plant:[_.t("boring"),_.t("grow"),_.t("house"),_.t("nurturing"),_.t("plant"),_.t("useless")],evergreen_tree:[_.t("tree"),_.t("evergreen"),_.t("plant")],deciduous_tree:[_.t("deciduous"),_.t("shedding"),_.t("tree"),_.t("plant")],palm_tree:[_.t("palm"),_.t("tree"),_.t("plant")],cactus:[_.t("plant")],ear_of_rice:[_.t("ear"),_.t("grain"),_.t("rice"),_.t("food")],herb:[_.t("leaf"),_.t("plant")],shamrock:[_.t("plant")],four_leaf_clover:[_.t("4"),_.t("clover"),_.t("four"),_.t("four-leaf clover"),_.t("leaf"),_.t("plant")],maple_leaf:[_.t("falling"),_.t("leaf"),_.t("maple"),_.t("plant")],fallen_leaf:[_.t("falling"),_.t("leaf"),_.t("leaves"),_.t("brown"),_.t("plant")],leaves:[_.t("blow"),_.t("flutter"),_.t("leaf"),_.t("wind"),_.t("plant")],grapes:[_.t("fruit"),_.t("grape"),_.t("food")],melon:[_.t("fruit"),_.t("food")],watermelon:[_.t("fruit"),_.t("food")],tangerine:[_.t("fruit"),_.t("orange"),_.t("food")],lemon:[_.t("citrus"),_.t("fruit"),_.t("food")],banana:[_.t("fruit"),_.t("food")],pineapple:[_.t("fruit"),_.t("food")],mango:[_.t("fruit"),_.t("tropical")],apple:[_.t("apple"),_.t("fruit"),_.t("red"),_.t("food")],green_apple:[_.t("apple"),_.t("fruit"),_.t("green"),_.t("food")],pear:[_.t("fruit"),_.t("food")],peach:[_.t("fruit"),_.t("food")],cherries:[_.t("berries"),_.t("cherry"),_.t("fruit"),_.t("red"),_.t("food")],strawberry:[_.t("berry"),_.t("fruit"),_.t("food")],blueberries:[_.t("berry"),_.t("bilberry"),_.t("blue"),_.t("blueberry")],kiwifruit:[_.t("food"),_.t("fruit"),_.t("kiwi")],tomato:[_.t("fruit"),_.t("vegetable"),_.t("food")],olive:[_.t("food")],coconut:[_.t("palm"),_.t("pi\xf1a colada")],avocado:[_.t("food"),_.t("fruit")],eggplant:[_.t("aubergine"),_.t("vegetable"),_.t("food")],potato:[_.t("food"),_.t("vegetable")],carrot:[_.t("food"),_.t("vegetable")],corn:[_.t("corn"),_.t("ear"),_.t("maize"),_.t("maze"),_.t("vegetable"),_.t("food")],hot_pepper:[_.t("hot"),_.t("pepper")],bell_pepper:[_.t("capsicum"),_.t("pepper"),_.t("vegetable")],cucumber:[_.t("food"),_.t("pickle"),_.t("vegetable")],leafy_green:[_.t("bok choy"),_.t("cabbage"),_.t("kale"),_.t("lettuce")],broccoli:[_.t("wild cabbage")],garlic:[_.t("flavoring")],onion:[_.t("flavoring")],mushroom:[_.t("toadstool"),_.t("food")],peanuts:[_.t("food"),_.t("nut"),_.t("peanut"),_.t("vegetable")],chestnut:[_.t("plant"),_.t("food")],bread:[_.t("loaf")],croissant:[_.t("bread"),_.t("breakfast"),_.t("food"),_.t("french"),_.t("roll")],baguette_bread:[_.t("baguette"),_.t("bread"),_.t("food"),_.t("french")],flatbread:[_.t("arepa"),_.t("lavash"),_.t("naan"),_.t("pita")],pretzel:[_.t("twisted")],bagel:[_.t("bakery"),_.t("breakfast"),_.t("schmear")],pancakes:[_.t("breakfast"),_.t("cr\xeape"),_.t("food"),_.t("hotcake"),_.t("pancake")],waffle:[_.t("breakfast"),_.t("indecisive"),_.t("iron")],cheese_wedge:[_.t("cheese")],meat_on_bone:[_.t("bone"),_.t("meat"),_.t("food")],poultry_leg:[_.t("bone"),_.t("chicken"),_.t("drumstick"),_.t("leg"),_.t("poultry"),_.t("meat"),_.t("food")],cut_of_meat:[_.t("chop"),_.t("lambchop"),_.t("porkchop"),_.t("steak")],bacon:[_.t("breakfast"),_.t("food"),_.t("meat")],hamburger:[_.t("burger"),_.t("cheeseburger"),_.t("food")],fries:[_.t("french"),_.t("fries"),_.t("food")],pizza:[_.t("cheese"),_.t("slice"),_.t("food")],hotdog:[_.t("frankfurter"),_.t("hotdog"),_.t("sausage")],sandwich:[_.t("bread")],taco:[_.t("mexican")],burrito:[_.t("mexican"),_.t("wrap")],tamale:[_.t("mexican"),_.t("wrapped")],stuffed_flatbread:[_.t("falafel"),_.t("flatbread"),_.t("food"),_.t("gyro"),_.t("kebab"),_.t("stuffed")],falafel:[_.t("chickpea"),_.t("meatball")],egg:[_.t("breakfast"),_.t("food")],fried_egg:[_.t("breakfast"),_.t("egg"),_.t("frying"),_.t("pan"),_.t("food")],shallow_pan_of_food:[_.t("casserole"),_.t("food"),_.t("paella"),_.t("pan"),_.t("shallow")],stew:[_.t("pot"),_.t("stew"),_.t("food")],fondue:[_.t("cheese"),_.t("chocolate"),_.t("melted"),_.t("pot"),_.t("swiss")],bowl_with_spoon:[_.t("breakfast"),_.t("cereal"),_.t("congee")],green_salad:[_.t("food"),_.t("green"),_.t("salad")],butter:[_.t("dairy")],salt:[_.t("condiment"),_.t("shaker")],canned_food:[_.t("can")],bento:[_.t("bento"),_.t("box"),_.t("food")],rice_cracker:[_.t("cracker"),_.t("rice"),_.t("food")],rice_ball:[_.t("ball"),_.t("japanese"),_.t("rice"),_.t("food")],rice:[_.t("cooked"),_.t("rice"),_.t("food")],curry:[_.t("curry"),_.t("rice"),_.t("food")],ramen:[_.t("bowl"),_.t("noodle"),_.t("ramen"),_.t("steaming"),_.t("noodles"),_.t("food")],spaghetti:[_.t("pasta"),_.t("food")],sweet_potato:[_.t("potato"),_.t("roasted"),_.t("sweet"),_.t("yam"),_.t("vegetable"),_.t("food")],oden:[_.t("kebab"),_.t("seafood"),_.t("skewer"),_.t("stick"),_.t("food")],fried_shrimp:[_.t("fried"),_.t("prawn"),_.t("shrimp"),_.t("tempura"),_.t("food")],fish_cake:[_.t("cake"),_.t("fish"),_.t("pastry"),_.t("swirl"),_.t("food")],moon_cake:[_.t("autumn"),_.t("festival"),_.t("yu\xe8b\u01D0ng")],dango:[_.t("dessert"),_.t("japanese"),_.t("skewer"),_.t("stick"),_.t("sweet"),_.t("food")],dumpling:[_.t("empanada"),_.t("gy\u014Dza"),_.t("jiaozi"),_.t("pierogi"),_.t("potsticker")],fortune_cookie:[_.t("prophecy")],takeout_box:[_.t("oyster pail")],crab:[_.t("cancer"),_.t("zodiac")],lobster:[_.t("bisque"),_.t("claws"),_.t("seafood")],shrimp:[_.t("food"),_.t("shellfish"),_.t("small")],squid:[_.t("food"),_.t("molusc")],oyster:[_.t("diving"),_.t("pearl")],icecream:[_.t("cream"),_.t("dessert"),_.t("ice"),_.t("icecream"),_.t("soft"),_.t("sweet"),_.t("food")],shaved_ice:[_.t("dessert"),_.t("ice"),_.t("shaved"),_.t("sweet"),_.t("snow"),_.t("cone"),_.t("food")],ice_cream:[_.t("cream"),_.t("dessert"),_.t("ice"),_.t("sweet"),_.t("icecream"),_.t("food")],doughnut:[_.t("breakfast"),_.t("dessert"),_.t("donut"),_.t("sweet"),_.t("food")],cookie:[_.t("dessert"),_.t("sweet"),_.t("food")],birthday:[_.t("birthday"),_.t("cake"),_.t("celebration"),_.t("dessert"),_.t("pastry"),_.t("sweet"),_.t("food")],cake:[_.t("cake"),_.t("dessert"),_.t("pastry"),_.t("slice"),_.t("sweet"),_.t("birthday"),_.t("food")],cupcake:[_.t("bakery"),_.t("sweet")],pie:[_.t("filling"),_.t("pastry")],chocolate_bar:[_.t("bar"),_.t("chocolate"),_.t("dessert"),_.t("sweet"),_.t("candy"),_.t("candybar"),_.t("food")],candy:[_.t("dessert"),_.t("sweet"),_.t("food")],lollipop:[_.t("candy"),_.t("dessert"),_.t("sweet"),_.t("food")],custard:[_.t("dessert"),_.t("pudding"),_.t("sweet"),_.t("food")],honey_pot:[_.t("honey"),_.t("honeypot"),_.t("pot"),_.t("sweet"),_.t("food")],baby_bottle:[_.t("baby"),_.t("bottle"),_.t("drink"),_.t("milk"),_.t("infant")],glass_of_milk:[_.t("drink"),_.t("glass"),_.t("milk")],coffee:[_.t("beverage"),_.t("coffee"),_.t("drink"),_.t("hot"),_.t("steaming"),_.t("tea"),_.t("food")],teapot:[_.t("drink"),_.t("pot"),_.t("tea")],tea:[_.t("beverage"),_.t("cup"),_.t("drink"),_.t("tea"),_.t("teacup"),_.t("food")],sake:[_.t("bar"),_.t("beverage"),_.t("bottle"),_.t("cup"),_.t("drink"),_.t("food")],champagne:[_.t("bar"),_.t("bottle"),_.t("cork"),_.t("drink"),_.t("popping")],wine_glass:[_.t("bar"),_.t("beverage"),_.t("drink"),_.t("glass"),_.t("wine"),_.t("food")],cocktail:[_.t("bar"),_.t("cocktail"),_.t("drink"),_.t("glass"),_.t("martini"),_.t("food")],tropical_drink:[_.t("bar"),_.t("drink"),_.t("tropical"),_.t("food")],beer:[_.t("bar"),_.t("beer"),_.t("drink"),_.t("mug"),_.t("ale"),_.t("food")],beers:[_.t("bar"),_.t("beer"),_.t("clink"),_.t("drink"),_.t("mug"),_.t("ale"),_.t("food")],clinking_glasses:[_.t("celebrate"),_.t("clink"),_.t("drink"),_.t("glass")],tumbler_glass:[_.t("glass"),_.t("liquor"),_.t("shot"),_.t("tumbler"),_.t("whisky")],cup_with_straw:[_.t("juice"),_.t("soda")],bubble_tea:[_.t("bubble"),_.t("milk"),_.t("pearl"),_.t("tea")],beverage_box:[_.t("beverage"),_.t("box"),_.t("juice"),_.t("straw"),_.t("sweet")],mate_drink:[_.t("drink")],ice_cube:[_.t("cold"),_.t("ice cube"),_.t("iceberg")],chopsticks:[_.t("hashi")],knife_fork_plate:[_.t("cooking"),_.t("fork"),_.t("knife"),_.t("plate")],fork_and_knife:[_.t("cooking"),_.t("cutlery"),_.t("fork"),_.t("knife"),_.t("silverware"),_.t("food")],spoon:[_.t("tableware")],hocho:[_.t("cooking"),_.t("hocho"),_.t("knife"),_.t("tool"),_.t("weapon")],amphora:[_.t("aquarius"),_.t("cooking"),_.t("drink"),_.t("jug"),_.t("zodiac")],earth_africa:[_.t("africa"),_.t("earth"),_.t("europe"),_.t("globe"),_.t("world")],earth_americas:[_.t("americas"),_.t("earth"),_.t("globe"),_.t("world")],earth_asia:[_.t("asia"),_.t("australia"),_.t("earth"),_.t("globe"),_.t("world")],globe_with_meridians:[_.t("earth"),_.t("globe"),_.t("meridians"),_.t("world")],world_map:[_.t("map"),_.t("world")],japan:[_.t("japan"),_.t("map")],compass:[_.t("magnetic"),_.t("navigation"),_.t("orienteering")],snow_capped_mountain:[_.t("cold"),_.t("mountain"),_.t("snow")],volcano:[_.t("eruption"),_.t("mountain")],mount_fuji:[_.t("fuji"),_.t("mountain")],beach_with_umbrella:[_.t("beach"),_.t("umbrella")],desert_island:[_.t("desert"),_.t("island")],national_park:[_.t("park")],classical_building:[_.t("classical")],building_construction:[_.t("construction")],bricks:[_.t("bricks"),_.t("clay"),_.t("mortar"),_.t("wall")],rock:[_.t("boulder"),_.t("heavy"),_.t("solid"),_.t("stone")],wood:[_.t("log"),_.t("lumber"),_.t("timber")],hut:[_.t("house"),_.t("roundhouse"),_.t("yurt")],derelict_house_building:[_.t("derelict"),_.t("house")],house:[_.t("home"),_.t("building")],house_with_garden:[_.t("garden"),_.t("home"),_.t("house"),_.t("building")],office:[_.t("building")],post_office:[_.t("japanese"),_.t("post"),_.t("building")],european_post_office:[_.t("european"),_.t("post"),_.t("building")],hospital:[_.t("doctor"),_.t("medicine"),_.t("building")],bank:[_.t("building")],hotel:[_.t("building")],love_hotel:[_.t("hotel"),_.t("love"),_.t("building")],convenience_store:[_.t("convenience"),_.t("store"),_.t("building")],school:[_.t("building")],department_store:[_.t("department"),_.t("store"),_.t("building")],factory:[_.t("building")],japanese_castle:[_.t("castle"),_.t("japanese"),_.t("building")],european_castle:[_.t("european"),_.t("castle")],wedding:[_.t("chapel"),_.t("romance"),_.t("marriage")],tokyo_tower:[_.t("tokyo"),_.t("tower"),_.t("building")],statue_of_liberty:[_.t("liberty"),_.t("statue")],church:[_.t("christian"),_.t("cross"),_.t("religion"),_.t("building")],mosque:[_.t("islam"),_.t("muslim"),_.t("religion")],hindu_temple:[_.t("hindu"),_.t("temple")],synagogue:[_.t("jew"),_.t("jewish"),_.t("religion"),_.t("temple")],shinto_shrine:[_.t("religion"),_.t("shinto"),_.t("shrine")],kaaba:[_.t("islam"),_.t("muslim"),_.t("religion")],tent:[_.t("camping")],foggy:[_.t("fog")],night_with_stars:[_.t("night"),_.t("star"),_.t("sky")],cityscape:[_.t("city")],sunrise_over_mountains:[_.t("morning"),_.t("mountain"),_.t("sun"),_.t("sunrise")],sunrise:[_.t("morning"),_.t("sun")],city_sunset:[_.t("city"),_.t("dusk"),_.t("evening"),_.t("landscape"),_.t("sunset")],city_sunrise:[_.t("dusk"),_.t("sun")],bridge_at_night:[_.t("bridge"),_.t("night")],hotsprings:[_.t("hot"),_.t("hotsprings"),_.t("springs"),_.t("steaming"),_.t("symbol")],carousel_horse:[_.t("carousel"),_.t("horse"),_.t("carnival")],ferris_wheel:[_.t("amusement park"),_.t("ferris"),_.t("wheel"),_.t("carnival")],roller_coaster:[_.t("amusement park"),_.t("coaster"),_.t("roller"),_.t("ride"),_.t("carnival")],barber:[_.t("barber"),_.t("haircut"),_.t("pole")],circus_tent:[_.t("circus"),_.t("tent"),_.t("big"),_.t("top")],steam_locomotive:[_.t("engine"),_.t("railway"),_.t("steam"),_.t("train"),_.t("transport")],railway_car:[_.t("car"),_.t("electric"),_.t("railway"),_.t("train"),_.t("tram"),_.t("trolleybus"),_.t("transport")],bullettrain_side:[_.t("railway"),_.t("shinkansen"),_.t("speed"),_.t("train"),_.t("transport")],bullettrain_front:[_.t("bullet"),_.t("railway"),_.t("shinkansen"),_.t("speed"),_.t("train"),_.t("transport")],train2:[_.t("railway"),_.t("vehicle"),_.t("transport")],metro:[_.t("subway"),_.t("symbol")],light_rail:[_.t("railway"),_.t("transport"),_.t("train")],station:[_.t("railway"),_.t("train"),_.t("building")],tram:[_.t("trolleybus"),_.t("vehicle"),_.t("transport"),_.t("train")],monorail:[_.t("vehicle"),_.t("train"),_.t("transport")],mountain_railway:[_.t("car"),_.t("mountain"),_.t("railway"),_.t("train")],train:[_.t("car"),_.t("tram"),_.t("trolleybus"),_.t("transport")],bus:[_.t("vehicle"),_.t("automobile"),_.t("transport")],oncoming_bus:[_.t("bus"),_.t("oncoming"),_.t("front"),_.t("vehicle"),_.t("automobile"),_.t("transport")],trolleybus:[_.t("bus"),_.t("tram"),_.t("trolley"),_.t("vehicle"),_.t("automobile")],minibus:[_.t("bus"),_.t("vehicle"),_.t("transport"),_.t("automobile")],ambulance:[_.t("vehicle"),_.t("paramedic")],fire_engine:[_.t("engine"),_.t("fire"),_.t("truck"),_.t("vehicle"),_.t("automobile")],police_car:[_.t("car"),_.t("patrol"),_.t("police"),_.t("cop"),_.t("automobile"),_.t("vehicle"),_.t("transport")],oncoming_police_car:[_.t("car"),_.t("oncoming"),_.t("police"),_.t("front"),_.t("cop"),_.t("vehicle"),_.t("automobile"),_.t("transport")],taxi:[_.t("vehicle"),_.t("cab"),_.t("car"),_.t("automobile"),_.t("transport")],oncoming_taxi:[_.t("oncoming"),_.t("taxi"),_.t("fron"),_.t("cab"),_.t("car"),_.t("vehicle"),_.t("automobile"),_.t("transport")],car:[_.t("car"),_.t("vehicle"),_.t("automobile"),_.t("transport")],oncoming_automobile:[_.t("automobile"),_.t("car"),_.t("oncoming"),_.t("front"),_.t("vehicle"),_.t("transport")],blue_car:[_.t("recreational"),_.t("sport utility"),_.t("car"),_.t("automobile"),_.t("transport")],pickup_truck:[_.t("pick-up"),_.t("pickup"),_.t("truck")],truck:[_.t("delivery"),_.t("truck"),_.t("vehicle"),_.t("automobile"),_.t("transport")],articulated_lorry:[_.t("lorry"),_.t("semi"),_.t("truck"),_.t("automobile"),_.t("vehicle"),_.t("transport")],tractor:[_.t("vehicle"),_.t("farm")],racing_car:[_.t("car"),_.t("racing")],racing_motorcycle:[_.t("racing")],motor_scooter:[_.t("motor"),_.t("scooter")],manual_wheelchair:[_.t("accessibility")],motorized_wheelchair:[_.t("accessibility")],auto_rickshaw:[_.t("tuk tuk")],bike:[_.t("bike"),_.t("bicycle"),_.t("cycle"),_.t("sport"),_.t("cyclist")],scooter:[_.t("kick"),_.t("scooter")],skateboard:[_.t("board")],roller_skate:[_.t("roller"),_.t("skate")],busstop:[_.t("bus"),_.t("stop")],motorway:[_.t("highway"),_.t("road")],railway_track:[_.t("railway"),_.t("train")],oil_drum:[_.t("drum"),_.t("oil")],fuelpump:[_.t("diesel"),_.t("fuel"),_.t("fuelpump"),_.t("gas"),_.t("pump"),_.t("station")],rotating_light:[_.t("beacon"),_.t("car"),_.t("light"),_.t("police"),_.t("revolving"),_.t("siren")],traffic_light:[_.t("light"),_.t("signal"),_.t("traffic")],vertical_traffic_light:[_.t("light"),_.t("signal"),_.t("traffic")],octagonal_sign:[_.t("octagonal"),_.t("sign"),_.t("stop")],construction:[_.t("barrier")],anchor:[_.t("ship"),_.t("tool")],boat:[_.t("boat"),_.t("resort"),_.t("sea"),_.t("yacht")],canoe:[_.t("boat")],speedboat:[_.t("boat")],passenger_ship:[_.t("passenger"),_.t("ship")],ferry:[_.t("boat"),_.t("passenger")],motor_boat:[_.t("boat"),_.t("motorboat")],ship:[_.t("boat"),_.t("passenger")],airplane:[_.t("aeroplane"),_.t("plane"),_.t("travel"),_.t("fly"),_.t("transport")],small_airplane:[_.t("aeroplane"),_.t("airplane")],airplane_departure:[_.t("aeroplane"),_.t("airplane"),_.t("check-in"),_.t("departure"),_.t("departures")],airplane_arriving:[_.t("aeroplane"),_.t("airplane"),_.t("arrivals"),_.t("arriving"),_.t("landing")],parachute:[_.t("hang-glide"),_.t("parasail"),_.t("skydive")],seat:[_.t("chair"),_.t("airplane"),_.t("seat")],helicopter:[_.t("vehicle"),_.t("chopper"),_.t("fly")],suspension_railway:[_.t("railway"),_.t("suspension"),_.t("train"),_.t("transport")],mountain_cableway:[_.t("cable"),_.t("gondola"),_.t("mountain"),_.t("transport")],aerial_tramway:[_.t("aerial"),_.t("cable"),_.t("car"),_.t("gondola"),_.t("tramway"),_.t("transport")],satellite:[_.t("space")],rocket:[_.t("space"),_.t("spaceship")],flying_saucer:[_.t("ufo")],bellhop_bell:[_.t("bell"),_.t("bellhop"),_.t("hotel")],luggage:[_.t("packing"),_.t("travel")],hourglass:[_.t("sand"),_.t("timer")],hourglass_flowing_sand:[_.t("hourglass"),_.t("sand"),_.t("timer")],watch:[_.t("clock"),_.t("time")],alarm_clock:[_.t("alarm"),_.t("clock")],stopwatch:[_.t("clock")],timer_clock:[_.t("clock"),_.t("timer")],mantelpiece_clock:[_.t("clock")],clock12:[_.t("00"),_.t("12"),_.t("12:00"),_.t("clock"),_.t("o\u2019clock"),_.t("twelve"),_.t("time")],clock1230:[_.t("12"),_.t("12:30"),_.t("clock"),_.t("thirty"),_.t("twelve"),_.t("time")],clock1:[_.t("00"),_.t("1"),_.t("1:00"),_.t("clock"),_.t("o\u2019clock"),_.t("one"),_.t("time")],clock130:[_.t("1"),_.t("1:30"),_.t("clock"),_.t("one"),_.t("thirty"),_.t("time")],clock2:[_.t("00"),_.t("2"),_.t("2:00"),_.t("clock"),_.t("o\u2019clock"),_.t("two"),_.t("time")],clock230:[_.t("2"),_.t("2:30"),_.t("clock"),_.t("thirty"),_.t("two"),_.t("time")],clock3:[_.t("00"),_.t("3"),_.t("3:00"),_.t("clock"),_.t("o\u2019clock"),_.t("three"),_.t("time")],clock330:[_.t("3"),_.t("3:30"),_.t("clock"),_.t("thirty"),_.t("three"),_.t("time")],clock4:[_.t("00"),_.t("4"),_.t("4:00"),_.t("clock"),_.t("four"),_.t("o\u2019clock"),_.t("time")],clock430:[_.t("4"),_.t("4:30"),_.t("clock"),_.t("four"),_.t("thirty"),_.t("time")],clock5:[_.t("00"),_.t("5"),_.t("5:00"),_.t("clock"),_.t("five"),_.t("o\u2019clock"),_.t("time")],clock530:[_.t("5"),_.t("5:30"),_.t("clock"),_.t("five"),_.t("thirty"),_.t("time")],clock6:[_.t("00"),_.t("6"),_.t("6:00"),_.t("clock"),_.t("o\u2019clock"),_.t("six"),_.t("time")],clock630:[_.t("6"),_.t("6:30"),_.t("clock"),_.t("six"),_.t("thirty"),_.t("time")],clock7:[_.t("00"),_.t("7"),_.t("7:00"),_.t("clock"),_.t("o\u2019clock"),_.t("seven"),_.t("time")],clock730:[_.t("7"),_.t("7:30"),_.t("clock"),_.t("seven"),_.t("thirty"),_.t("time")],clock8:[_.t("00"),_.t("8"),_.t("8:00"),_.t("clock"),_.t("eight"),_.t("o\u2019clock"),_.t("time")],clock830:[_.t("8"),_.t("8:30"),_.t("clock"),_.t("eight"),_.t("thirty"),_.t("time")],clock9:[_.t("00"),_.t("9"),_.t("9:00"),_.t("clock"),_.t("nine"),_.t("o\u2019clock"),_.t("time")],clock930:[_.t("9"),_.t("9:30"),_.t("clock"),_.t("nine"),_.t("thirty"),_.t("time")],clock10:[_.t("00"),_.t("10"),_.t("10:00"),_.t("clock"),_.t("o\u2019clock"),_.t("ten"),_.t("time")],clock1030:[_.t("10"),_.t("10:30"),_.t("clock"),_.t("ten"),_.t("thirty"),_.t("time")],clock11:[_.t("00"),_.t("11"),_.t("11:00"),_.t("clock"),_.t("eleven"),_.t("o\u2019clock"),_.t("time")],clock1130:[_.t("11"),_.t("11:30"),_.t("clock"),_.t("eleven"),_.t("thirty"),_.t("time")],new_moon:[_.t("dark"),_.t("moon"),_.t("new")],waxing_crescent_moon:[_.t("crescent"),_.t("moon"),_.t("waxing")],first_quarter_moon:[_.t("moon"),_.t("quarter"),_.t("first")],moon:[_.t("gibbous"),_.t("moon"),_.t("waxing")],full_moon:[_.t("full"),_.t("moon")],waning_gibbous_moon:[_.t("gibbous"),_.t("moon"),_.t("waning")],last_quarter_moon:[_.t("moon"),_.t("quarter"),_.t("last")],waning_crescent_moon:[_.t("crescent"),_.t("moon"),_.t("waning")],crescent_moon:[_.t("crescent"),_.t("moon")],new_moon_with_face:[_.t("face"),_.t("moon"),_.t("new"),_.t("with")],first_quarter_moon_with_face:[_.t("face"),_.t("moon"),_.t("quarter"),_.t("moon_first"),_.t("with")],last_quarter_moon_with_face:[_.t("face"),_.t("moon"),_.t("quarter"),_.t("last"),_.t("with")],thermometer:[_.t("weather")],sunny:[_.t("bright"),_.t("rays"),_.t("sunny"),_.t("sun"),_.t("weather")],full_moon_with_face:[_.t("bright"),_.t("face"),_.t("full"),_.t("moon"),_.t("with")],sun_with_face:[_.t("bright"),_.t("face"),_.t("sun"),_.t("weather")],ringed_planet:[_.t("saturn"),_.t("saturnine")],star2:[_.t("glittery"),_.t("glow"),_.t("shining"),_.t("sparkle"),_.t("star")],stars:[_.t("falling"),_.t("shooting"),_.t("star")],milky_way:[_.t("space"),_.t("galaxy")],cloud:[_.t("weather"),_.t("sky")],partly_sunny:[_.t("cloud"),_.t("sun"),_.t("clouds")],thunder_cloud_and_rain:[_.t("cloud"),_.t("rain"),_.t("thunder")],mostly_sunny:[_.t("cloud"),_.t("sun")],barely_sunny:[_.t("cloud"),_.t("sun")],partly_sunny_rain:[_.t("cloud"),_.t("rain"),_.t("sun")],rain_cloud:[_.t("cloud"),_.t("rain")],snow_cloud:[_.t("cloud"),_.t("cold"),_.t("snow")],lightning:[_.t("cloud"),_.t("lightning")],tornado:[_.t("cloud"),_.t("whirlwind")],fog:[_.t("cloud")],wind_blowing_face:[_.t("blow"),_.t("cloud"),_.t("face"),_.t("wind")],cyclone:[_.t("dizzy"),_.t("hurricane"),_.t("twister"),_.t("typhoon"),_.t("symbol")],rainbow:[_.t("rain")],closed_umbrella:[_.t("clothing"),_.t("rain"),_.t("umbrella")],umbrella:[_.t("clothing"),_.t("rain")],umbrella_with_rain_drops:[_.t("clothing"),_.t("drop"),_.t("rain"),_.t("umbrella")],umbrella_on_ground:[_.t("rain"),_.t("sun"),_.t("umbrella")],zap:[_.t("danger"),_.t("electric"),_.t("lightning"),_.t("voltage"),_.t("zap"),_.t("bolt"),_.t("shock"),_.t("weather")],snowflake:[_.t("cold"),_.t("snow"),_.t("weather")],snowman:[_.t("cold"),_.t("snow")],snowman_without_snow:[_.t("cold"),_.t("snow"),_.t("snowman")],comet:[_.t("space")],fire:[_.t("flame"),_.t("tool"),_.t("flames"),_.t("burn")],droplet:[_.t("cold"),_.t("comic"),_.t("drop"),_.t("sweat"),_.t("water"),_.t("tear"),_.t("cry")],ocean:[_.t("ocean"),_.t("water"),_.t("wave"),_.t("tidal")],jack_o_lantern:[_.t("celebration"),_.t("halloween"),_.t("jack"),_.t("lantern"),_.t("pumpkin"),_.t("scary")],christmas_tree:[_.t("celebration"),_.t("christmas"),_.t("tree"),_.t("plant")],fireworks:[_.t("celebration"),_.t("explosions"),_.t("celebrate")],sparkler:[_.t("celebration"),_.t("fireworks"),_.t("sparkle")],firecracker:[_.t("dynamite"),_.t("explosive"),_.t("fireworks")],sparkles:[_.t("*"),_.t("sparkle"),_.t("star"),_.t("glitter"),_.t("shine")],balloon:[_.t("celebration")],tada:[_.t("celebration"),_.t("party"),_.t("popper"),_.t("tada"),_.t("celebrate"),_.t("fan"),_.t("fare"),_.t("confetti")],confetti_ball:[_.t("ball"),_.t("celebration"),_.t("confetti"),_.t("party"),_.t("celebrate")],tanabata_tree:[_.t("banner"),_.t("celebration"),_.t("japanese"),_.t("tree"),_.t("plant")],bamboo:[_.t("bamboo"),_.t("celebration"),_.t("japanese"),_.t("pine"),_.t("plants")],dolls:[_.t("celebration"),_.t("doll"),_.t("festival"),_.t("japanese")],flags:[_.t("carp"),_.t("celebration"),_.t("streamer"),_.t("flag")],wind_chime:[_.t("bell"),_.t("celebration"),_.t("chime"),_.t("wind")],rice_scene:[_.t("celebration"),_.t("ceremony"),_.t("moon")],red_envelope:[_.t("gift"),_.t("good luck"),_.t("h\xf3ngb\u0101o"),_.t("lai see"),_.t("money")],ribbon:[_.t("celebration"),_.t("bow"),_.t("present"),_.t("gift")],gift:[_.t("box"),_.t("celebration"),_.t("gift"),_.t("present"),_.t("wrapped")],reminder_ribbon:[_.t("celebration"),_.t("reminder"),_.t("ribbon")],admission_tickets:[_.t("admission"),_.t("ticket")],ticket:[_.t("admission")],medal:[_.t("celebration"),_.t("medal"),_.t("military")],trophy:[_.t("prize")],sports_medal:[_.t("medal")],first_place_medal:[_.t("first"),_.t("gold"),_.t("medal")],second_place_medal:[_.t("medal"),_.t("second"),_.t("silver")],third_place_medal:[_.t("bronze"),_.t("medal"),_.t("third")],soccer:[_.t("ball"),_.t("football"),_.t("soccer"),_.t("sport")],baseball:[_.t("ball"),_.t("sports")],softball:[_.t("ball"),_.t("glove"),_.t("underarm")],basketball:[_.t("ball"),_.t("hoop"),_.t("sports")],volleyball:[_.t("ball"),_.t("game")],football:[_.t("american"),_.t("ball"),_.t("football"),_.t("sport")],rugby_football:[_.t("ball"),_.t("football"),_.t("rugby"),_.t("sport")],tennis:[_.t("ball"),_.t("racquet"),_.t("sport")],flying_disc:[_.t("ultimate")],bowling:[_.t("ball"),_.t("game"),_.t("sport")],cricket_bat_and_ball:[_.t("ball"),_.t("bat"),_.t("game")],field_hockey_stick_and_ball:[_.t("ball"),_.t("field"),_.t("game"),_.t("hockey"),_.t("stick")],ice_hockey_stick_and_puck:[_.t("game"),_.t("hockey"),_.t("ice"),_.t("puck"),_.t("stick")],lacrosse:[_.t("ball"),_.t("goal"),_.t("stick")],table_tennis_paddle_and_ball:[_.t("ball"),_.t("bat"),_.t("game"),_.t("paddle"),_.t("table tennis")],badminton_racquet_and_shuttlecock:[_.t("birdie"),_.t("game"),_.t("racquet"),_.t("shuttlecock")],boxing_glove:[_.t("boxing"),_.t("glove")],martial_arts_uniform:[_.t("judo"),_.t("karate"),_.t("martial arts"),_.t("taekwondo"),_.t("uniform")],goal_net:[_.t("goal"),_.t("net")],golf:[_.t("golf"),_.t("hole"),_.t("sport")],ice_skate:[_.t("ice"),_.t("skate")],fishing_pole_and_fish:[_.t("fish"),_.t("pole"),_.t("fishing"),_.t("rod")],diving_mask:[_.t("diving"),_.t("scuba"),_.t("snorkeling")],running_shirt_with_sash:[_.t("athletics"),_.t("running"),_.t("sash"),_.t("shirt"),_.t("clothing")],ski:[_.t("ski"),_.t("snow"),_.t("sport")],sled:[_.t("sledge"),_.t("sleigh")],curling_stone:[_.t("game"),_.t("rock")],dart:[_.t("dart"),_.t("direct hit"),_.t("game"),_.t("hit"),_.t("target"),_.t("bullseye")],"yo-yo":[_.t("fluctuate"),_.t("toy")],kite:[_.t("fly"),_.t("soar")],"8ball":[_.t("8"),_.t("ball"),_.t("billiard"),_.t("eight"),_.t("game"),_.t("eightball")],crystal_ball:[_.t("ball"),_.t("crystal"),_.t("fairy tale"),_.t("fantasy"),_.t("fortune"),_.t("tool"),_.t("future")],magic_wand:[_.t("magic"),_.t("witch"),_.t("wizard")],nazar_amulet:[_.t("bead"),_.t("charm"),_.t("evil-eye"),_.t("nazar"),_.t("talisman")],video_game:[_.t("controller"),_.t("game")],joystick:[_.t("game"),_.t("video game")],slot_machine:[_.t("game"),_.t("slot"),_.t("gambling"),_.t("casino")],game_die:[_.t("dice"),_.t("die"),_.t("game")],jigsaw:[_.t("clue"),_.t("interlocking"),_.t("jigsaw"),_.t("piece"),_.t("puzzle")],teddy_bear:[_.t("plaything"),_.t("plush"),_.t("stuffed"),_.t("toy")],pinata:[_.t("celebration"),_.t("party")],nesting_dolls:[_.t("doll"),_.t("nesting"),_.t("russia")],spades:[_.t("card"),_.t("game"),_.t("symbol")],hearts:[_.t("card"),_.t("game"),_.t("heart")],diamonds:[_.t("card"),_.t("game"),_.t("symbol")],clubs:[_.t("card"),_.t("game"),_.t("symbol")],chess_pawn:[_.t("chess"),_.t("dupe"),_.t("expendable")],black_joker:[_.t("card"),_.t("game"),_.t("wildcard"),_.t("symbol")],mahjong:[_.t("game"),_.t("mahjong"),_.t("red")],flower_playing_cards:[_.t("card"),_.t("flower"),_.t("game"),_.t("japanese"),_.t("playing")],performing_arts:[_.t("art"),_.t("mask"),_.t("performing"),_.t("theater"),_.t("theatre"),_.t("comedy"),_.t("tragedy"),_.t("tragicomedy")],frame_with_picture:[_.t("art"),_.t("frame"),_.t("museum"),_.t("painting"),_.t("picture")],art:[_.t("art"),_.t("museum"),_.t("painting"),_.t("palette"),_.t("paint")],thread:[_.t("needle"),_.t("sewing"),_.t("spool"),_.t("string")],sewing_needle:[_.t("embroidery"),_.t("needle"),_.t("sewing"),_.t("stitches"),_.t("sutures"),_.t("tailoring")],yarn:[_.t("ball"),_.t("crochet"),_.t("knit")],knot:[_.t("rope"),_.t("tangled"),_.t("tie"),_.t("twine"),_.t("twist")],eyeglasses:[_.t("clothing"),_.t("eye"),_.t("eyeglasses"),_.t("eyewear"),_.t("glasses"),_.t("spectacles")],dark_sunglasses:[_.t("dark"),_.t("eye"),_.t("eyewear"),_.t("glasses")],goggles:[_.t("eye protection"),_.t("swimming"),_.t("welding")],lab_coat:[_.t("doctor"),_.t("experiment"),_.t("scientist")],safety_vest:[_.t("emergency"),_.t("safety"),_.t("vest")],necktie:[_.t("clothing"),_.t("tie")],shirt:[_.t("clothing"),_.t("shirt"),_.t("tshirt")],jeans:[_.t("clothing"),_.t("pants"),_.t("trousers")],scarf:[_.t("neck")],gloves:[_.t("hand")],coat:[_.t("jacket")],socks:[_.t("stocking")],dress:[_.t("clothing")],kimono:[_.t("clothing")],sari:[_.t("clothing"),_.t("dress")],"one-piece_swimsuit":[_.t("bathing suit")],briefs:[_.t("bathing suit"),_.t("one-piece"),_.t("swimsuit"),_.t("underwear")],shorts:[_.t("bathing suit"),_.t("pants"),_.t("underwear")],bikini:[_.t("clothing"),_.t("swim"),_.t("swimsuit"),_.t("clothes")],womans_clothes:[_.t("clothing"),_.t("woman"),_.t("clothes")],purse:[_.t("clothing"),_.t("coin"),_.t("handbag"),_.t("bag")],handbag:[_.t("bag"),_.t("clothing"),_.t("purse")],pouch:[_.t("bag"),_.t("clothing"),_.t("pouch"),_.t("clutch")],shopping_bags:[_.t("bag"),_.t("hotel"),_.t("shopping")],school_satchel:[_.t("bag"),_.t("rucksack"),_.t("satchel"),_.t("school")],thong_sandal:[_.t("beach sandals"),_.t("sandals"),_.t("thong sandals"),_.t("thongs"),_.t("z\u014Dri")],mans_shoe:[_.t("clothing"),_.t("man"),_.t("shoe")],athletic_shoe:[_.t("athletic"),_.t("clothing"),_.t("shoe"),_.t("sneaker"),_.t("runner")],hiking_boot:[_.t("backpacking"),_.t("boot"),_.t("camping"),_.t("hiking")],womans_flat_shoe:[_.t("ballet flat"),_.t("slip-on"),_.t("slipper")],high_heel:[_.t("clothing"),_.t("heel"),_.t("shoe"),_.t("woman"),_.t("stiletto")],sandal:[_.t("clothing"),_.t("sandal"),_.t("shoe"),_.t("woman")],ballet_shoes:[_.t("ballet"),_.t("dance")],boot:[_.t("boot"),_.t("clothing"),_.t("shoe"),_.t("woman"),_.t("clothes")],crown:[_.t("clothing"),_.t("king"),_.t("queen"),_.t("hat")],womans_hat:[_.t("clothing"),_.t("hat"),_.t("woman")],tophat:[_.t("clothing"),_.t("hat"),_.t("top"),_.t("tophat")],mortar_board:[_.t("cap"),_.t("celebration"),_.t("clothing"),_.t("graduation"),_.t("hat")],billed_cap:[_.t("baseball cap")],military_helmet:[_.t("army"),_.t("helmet"),_.t("military"),_.t("soldier"),_.t("warrior")],helmet_with_white_cross:[_.t("aid"),_.t("cross"),_.t("face"),_.t("hat"),_.t("helmet")],prayer_beads:[_.t("beads"),_.t("clothing"),_.t("necklace"),_.t("prayer"),_.t("religion")],lipstick:[_.t("cosmetics"),_.t("makeup")],ring:[_.t("diamond")],gem:[_.t("diamond"),_.t("gem"),_.t("jewel")],mute:[_.t("mute"),_.t("quiet"),_.t("silent"),_.t("speaker"),_.t("sound"),_.t("volume")],speaker:[_.t("soft"),_.t("volume"),_.t("sound")],sound:[_.t("medium"),_.t("speaker")],loud_sound:[_.t("loud"),_.t("sound"),_.t("speaker")],loudspeaker:[_.t("loud"),_.t("public address"),_.t("speaker")],mega:[_.t("cheering"),_.t("sound"),_.t("speaker")],postal_horn:[_.t("horn"),_.t("post"),_.t("postal")],no_bell:[_.t("bell"),_.t("forbidden"),_.t("mute"),_.t("quiet"),_.t("silent")],musical_score:[_.t("music"),_.t("score")],musical_note:[_.t("music"),_.t("note")],notes:[_.t("music"),_.t("note"),_.t("notes")],studio_microphone:[_.t("mic"),_.t("microphone"),_.t("music"),_.t("studio")],level_slider:[_.t("level"),_.t("music"),_.t("slider")],control_knobs:[_.t("control"),_.t("knobs"),_.t("music")],microphone:[_.t("karaoke"),_.t("mic"),_.t("music"),_.t("instrument")],headphones:[_.t("earbud"),_.t("music")],radio:[_.t("video"),_.t("stereo")],saxophone:[_.t("instrument"),_.t("music"),_.t("sax")],accordion:[_.t("concertina"),_.t("squeeze box")],guitar:[_.t("instrument"),_.t("music")],musical_keyboard:[_.t("instrument"),_.t("keyboard"),_.t("music"),_.t("piano")],trumpet:[_.t("instrument"),_.t("music"),_.t("horn")],violin:[_.t("instrument"),_.t("music")],banjo:[_.t("music"),_.t("stringed")],drum_with_drumsticks:[_.t("drumsticks"),_.t("music")],long_drum:[_.t("beat"),_.t("conga"),_.t("drum"),_.t("rhythm")],iphone:[_.t("cell"),_.t("mobile"),_.t("phone"),_.t("telephone"),_.t("ios")],calling:[_.t("arrow"),_.t("cell"),_.t("mobile"),_.t("phone"),_.t("receive")],phone:[_.t("phone"),_.t("telephone")],telephone_receiver:[_.t("phone"),_.t("receiver"),_.t("telephone")],fax:[_.t("fax"),_.t("work")],electric_plug:[_.t("electric"),_.t("electricity"),_.t("plug"),_.t("cord")],computer:[_.t("computer"),_.t("pc"),_.t("personal"),_.t("desktop"),_.t("work")],desktop_computer:[_.t("computer"),_.t("desktop")],printer:[_.t("computer")],keyboard:[_.t("computer")],three_button_mouse:[_.t("computer")],trackball:[_.t("computer")],minidisc:[_.t("computer"),_.t("disk"),_.t("minidisk"),_.t("optical")],floppy_disk:[_.t("computer"),_.t("disk"),_.t("floppy")],cd:[_.t("cd"),_.t("computer"),_.t("disk"),_.t("optical")],dvd:[_.t("blu-ray"),_.t("computer"),_.t("disk"),_.t("optical"),_.t("cd"),_.t("disc")],abacus:[_.t("calculation")],movie_camera:[_.t("camera"),_.t("cinema"),_.t("movie"),_.t("film")],film_frames:[_.t("cinema"),_.t("film"),_.t("frames"),_.t("movie")],film_projector:[_.t("cinema"),_.t("film"),_.t("movie"),_.t("projector"),_.t("video")],clapper:[_.t("clapper"),_.t("movie"),_.t("cinema")],tv:[_.t("tv"),_.t("video"),_.t("television")],camera:[_.t("video")],camera_with_flash:[_.t("camera"),_.t("flash"),_.t("video")],video_camera:[_.t("camera"),_.t("video")],vhs:[_.t("tape"),_.t("vhs"),_.t("video")],mag:[_.t("glass"),_.t("magnifying"),_.t("search"),_.t("tool"),_.t("zoom")],mag_right:[_.t("glass"),_.t("magnifying"),_.t("search"),_.t("tool"),_.t("zoom")],candle:[_.t("light")],bulb:[_.t("bulb"),_.t("comic"),_.t("electric"),_.t("idea"),_.t("light")],flashlight:[_.t("electric"),_.t("light"),_.t("tool"),_.t("torch")],izakaya_lantern:[_.t("bar"),_.t("lantern"),_.t("light"),_.t("red")],diya_lamp:[_.t("diya"),_.t("lamp"),_.t("oil")],notebook_with_decorative_cover:[_.t("book"),_.t("cover"),_.t("decorated"),_.t("notebook")],closed_book:[_.t("book"),_.t("closed")],book:[_.t("book"),_.t("open")],green_book:[_.t("book"),_.t("green")],blue_book:[_.t("blue"),_.t("book")],orange_book:[_.t("book"),_.t("orange")],books:[_.t("book")],ledger:[_.t("notebook"),_.t("book")],page_with_curl:[_.t("curl"),_.t("document"),_.t("page"),_.t("paper")],scroll:[_.t("paper")],page_facing_up:[_.t("document"),_.t("page"),_.t("paper")],newspaper:[_.t("news"),_.t("paper")],rolled_up_newspaper:[_.t("news"),_.t("newspaper"),_.t("paper"),_.t("rolled")],bookmark_tabs:[_.t("bookmark"),_.t("mark"),_.t("marker"),_.t("tabs")],bookmark:[_.t("mark")],moneybag:[_.t("bag"),_.t("dollar"),_.t("money"),_.t("moneybag"),_.t("cash")],coin:[_.t("gold"),_.t("metal"),_.t("money"),_.t("silver"),_.t("treasure")],yen:[_.t("banknote"),_.t("bill"),_.t("currency"),_.t("money"),_.t("note"),_.t("yen"),_.t("cash")],dollar:[_.t("banknote"),_.t("bill"),_.t("currency"),_.t("dollar"),_.t("money"),_.t("note"),_.t("cash")],euro:[_.t("banknote"),_.t("bill"),_.t("currency"),_.t("euro"),_.t("money"),_.t("note"),_.t("cash")],pound:[_.t("banknote"),_.t("bill"),_.t("currency"),_.t("money"),_.t("note"),_.t("pound"),_.t("cash")],money_with_wings:[_.t("banknote"),_.t("bill"),_.t("fly"),_.t("money"),_.t("wings"),_.t("cash"),_.t("dollar")],credit_card:[_.t("card"),_.t("credit"),_.t("money")],receipt:[_.t("accounting"),_.t("bookkeeping"),_.t("evidence"),_.t("proof")],chart:[_.t("chart"),_.t("graph"),_.t("growth"),_.t("money"),_.t("yen")],email:[_.t("email"),_.t("letter"),_.t("mail"),_.t("envelope")],"e-mail":[_.t("email"),_.t("letter"),_.t("mail"),_.t("envelope")],incoming_envelope:[_.t("e-mail"),_.t("email"),_.t("envelope"),_.t("incoming"),_.t("letter"),_.t("receive"),_.t("mail"),_.t("work")],envelope_with_arrow:[_.t("arrow"),_.t("e-mail"),_.t("email"),_.t("envelope"),_.t("outgoing")],outbox_tray:[_.t("box"),_.t("letter"),_.t("mail"),_.t("outbox"),_.t("sent"),_.t("tray")],inbox_tray:[_.t("box"),_.t("inbox"),_.t("letter"),_.t("mail"),_.t("receive"),_.t("tray"),_.t("email"),_.t("work")],package:[_.t("box"),_.t("parcel"),_.t("shipping")],mailbox:[_.t("closed"),_.t("mail"),_.t("mailbox"),_.t("postbox"),_.t("post")],mailbox_closed:[_.t("closed"),_.t("lowered"),_.t("mail"),_.t("mailbox"),_.t("postbox"),_.t("post")],mailbox_with_mail:[_.t("mail"),_.t("mailbox"),_.t("open"),_.t("postbox"),_.t("post")],mailbox_with_no_mail:[_.t("lowered"),_.t("mail"),_.t("mailbox"),_.t("open"),_.t("postbox"),_.t("post")],postbox:[_.t("mail"),_.t("mailbox"),_.t("post")],ballot_box_with_ballot:[_.t("ballot"),_.t("box")],black_nib:[_.t("nib"),_.t("pen"),_.t("symbol")],lower_left_fountain_pen:[_.t("fountain"),_.t("pen")],lower_left_ballpoint_pen:[_.t("ballpoint")],lower_left_paintbrush:[_.t("painting")],memo:[_.t("pencil"),_.t("note"),_.t("work")],file_folder:[_.t("file"),_.t("folder"),_.t("work")],open_file_folder:[_.t("file"),_.t("folder"),_.t("open"),_.t("work")],card_index_dividers:[_.t("card"),_.t("dividers"),_.t("index")],date:[_.t("date"),_.t("calendar")],calendar:[_.t("calendar"),_.t("work"),_.t("date")],spiral_note_pad:[_.t("note"),_.t("pad"),_.t("spiral")],spiral_calendar_pad:[_.t("calendar"),_.t("pad"),_.t("spiral")],card_index:[_.t("card"),_.t("index"),_.t("rolodex")],chart_with_upwards_trend:[_.t("chart"),_.t("graph"),_.t("growth"),_.t("trend"),_.t("upward"),_.t("with"),_.t("upwards")],chart_with_downwards_trend:[_.t("chart"),_.t("down"),_.t("graph"),_.t("trend"),_.t("with"),_.t("downwards")],bar_chart:[_.t("bar"),_.t("chart"),_.t("graph")],pushpin:[_.t("pin"),_.t("thumbtack")],round_pushpin:[_.t("pin"),_.t("pushpin"),_.t("map")],linked_paperclips:[_.t("link"),_.t("paperclip")],straight_ruler:[_.t("ruler"),_.t("straight edge")],triangular_ruler:[_.t("ruler"),_.t("set"),_.t("triangle")],scissors:[_.t("cutting"),_.t("tool")],card_file_box:[_.t("box"),_.t("card"),_.t("file")],file_cabinet:[_.t("cabinet"),_.t("file"),_.t("filing")],lock:[_.t("closed")],unlock:[_.t("lock"),_.t("open"),_.t("unlock"),_.t("security")],lock_with_ink_pen:[_.t("ink"),_.t("lock"),_.t("nib"),_.t("pen"),_.t("privacy"),_.t("security")],closed_lock_with_key:[_.t("closed"),_.t("key"),_.t("lock"),_.t("secure")],key:[_.t("lock"),_.t("password")],old_key:[_.t("clue"),_.t("key"),_.t("lock"),_.t("old")],hammer:[_.t("tool")],axe:[_.t("chop"),_.t("hatchet"),_.t("split"),_.t("wood")],pick:[_.t("mining"),_.t("tool")],hammer_and_pick:[_.t("hammer"),_.t("pick"),_.t("tool")],hammer_and_wrench:[_.t("hammer"),_.t("spanner"),_.t("tool"),_.t("wrench")],dagger_knife:[_.t("knife"),_.t("weapon")],crossed_swords:[_.t("crossed"),_.t("swords"),_.t("weapon")],gun:[_.t("gun"),_.t("handgun"),_.t("pistol"),_.t("revolver"),_.t("tool"),_.t("water"),_.t("weapon"),_.t("bullet"),_.t("shoot")],boomerang:[_.t("australia"),_.t("rebound"),_.t("repercussion")],bow_and_arrow:[_.t("archer"),_.t("arrow"),_.t("bow"),_.t("sagittarius"),_.t("zodiac")],shield:[_.t("weapon")],carpentry_saw:[_.t("carpenter"),_.t("lumber"),_.t("saw"),_.t("tool")],wrench:[_.t("spanner"),_.t("tool")],screwdriver:[_.t("screw"),_.t("tool")],nut_and_bolt:[_.t("bolt"),_.t("nut"),_.t("tool")],gear:[_.t("cog"),_.t("cogwheel"),_.t("tool")],compression:[_.t("compress"),_.t("tool"),_.t("vice")],scales:[_.t("balance"),_.t("justice"),_.t("libra"),_.t("scale"),_.t("zodiac")],probing_cane:[_.t("accessibility"),_.t("blind")],chains:[_.t("chain")],hook:[_.t("catch"),_.t("crook"),_.t("curve"),_.t("ensnare"),_.t("selling point")],toolbox:[_.t("chest"),_.t("mechanic"),_.t("tool")],magnet:[_.t("attraction"),_.t("horseshoe"),_.t("magnetic")],ladder:[_.t("climb"),_.t("rung"),_.t("step")],alembic:[_.t("chemistry"),_.t("tool")],test_tube:[_.t("chemist"),_.t("chemistry"),_.t("experiment"),_.t("lab"),_.t("science")],petri_dish:[_.t("bacteria"),_.t("biologist"),_.t("biology"),_.t("culture"),_.t("lab")],dna:[_.t("biologist"),_.t("evolution"),_.t("gene"),_.t("genetics"),_.t("life")],microscope:[_.t("science"),_.t("tool")],telescope:[_.t("science"),_.t("tool")],satellite_antenna:[_.t("antenna"),_.t("dish"),_.t("satellite"),_.t("tv")],syringe:[_.t("medicine"),_.t("needle"),_.t("shot"),_.t("sick")],drop_of_blood:[_.t("bleed"),_.t("blood donation"),_.t("injury"),_.t("medicine"),_.t("menstruation")],pill:[_.t("doctor"),_.t("medicine"),_.t("sick"),_.t("drugs")],adhesive_bandage:[_.t("bandage")],stethoscope:[_.t("doctor"),_.t("heart"),_.t("medicine")],elevator:[_.t("accessibility"),_.t("hoist"),_.t("lift")],mirror:[_.t("reflection"),_.t("reflector"),_.t("speculum")],window:[_.t("frame"),_.t("fresh air"),_.t("opening"),_.t("transparent"),_.t("view")],bed:[_.t("hotel"),_.t("sleep")],couch_and_lamp:[_.t("couch"),_.t("hotel"),_.t("lamp")],chair:[_.t("seat"),_.t("sit")],plunger:[_.t("force cup"),_.t("plumber"),_.t("suction"),_.t("toilet")],shower:[_.t("water"),_.t("bathroom"),_.t("restroom"),_.t("washroom")],bathtub:[_.t("bath"),_.t("washroom"),_.t("restroom")],mouse_trap:[_.t("bait"),_.t("mousetrap"),_.t("snare"),_.t("trap")],razor:[_.t("sharp"),_.t("shave")],lotion_bottle:[_.t("lotion"),_.t("moisturizer"),_.t("shampoo"),_.t("sunscreen")],safety_pin:[_.t("diaper"),_.t("punk rock")],broom:[_.t("cleaning"),_.t("sweeping"),_.t("witch")],basket:[_.t("farming"),_.t("laundry"),_.t("picnic")],roll_of_paper:[_.t("paper towels"),_.t("toilet paper")],bucket:[_.t("cask"),_.t("pail"),_.t("vat")],soap:[_.t("bar"),_.t("bathing"),_.t("cleaning"),_.t("lather"),_.t("soapdish")],toothbrush:[_.t("bathroom"),_.t("brush"),_.t("clean"),_.t("dental"),_.t("hygiene"),_.t("teeth")],sponge:[_.t("absorbing"),_.t("cleaning"),_.t("porous")],fire_extinguisher:[_.t("extinguish"),_.t("fire"),_.t("quench")],shopping_trolley:[_.t("cart"),_.t("shopping"),_.t("trolley")],smoking:[_.t("smoking"),_.t("cigarette")],coffin:[_.t("death")],headstone:[_.t("cemetery"),_.t("grave"),_.t("graveyard"),_.t("tombstone")],funeral_urn:[_.t("ashes"),_.t("death"),_.t("funeral"),_.t("urn")],moyai:[_.t("face"),_.t("moyai"),_.t("statue"),_.t("easter"),_.t("island"),_.t("head")],placard:[_.t("demonstration"),_.t("picket"),_.t("protest"),_.t("sign")],atm:[_.t("atm"),_.t("automated"),_.t("bank"),_.t("teller"),_.t("symbols")],put_litter_in_its_place:[_.t("litter"),_.t("litter bin"),_.t("symbol"),_.t("garbage")],potable_water:[_.t("drinking"),_.t("potable"),_.t("water"),_.t("symbol")],wheelchair:[_.t("access"),_.t("symbol")],mens:[_.t("bathroom"),_.t("lavatory"),_.t("man"),_.t("restroom"),_.t("toilet"),_.t("wc"),_.t("symbol")],womens:[_.t("bathroom"),_.t("lavatory"),_.t("restroom"),_.t("toilet"),_.t("wc"),_.t("woman"),_.t("symbol")],restroom:[_.t("bathroom"),_.t("lavatory"),_.t("toilet"),_.t("wc"),_.t("symbol")],baby_symbol:[_.t("baby"),_.t("changing"),_.t("symbol")],wc:[_.t("bathroom"),_.t("closet"),_.t("lavatory"),_.t("restroom"),_.t("toilet"),_.t("water"),_.t("wc"),_.t("symbol")],passport_control:[_.t("control"),_.t("passport"),_.t("symbol")],baggage_claim:[_.t("baggage"),_.t("claim"),_.t("symbol")],left_luggage:[_.t("baggage"),_.t("locker"),_.t("luggage"),_.t("symbol")],children_crossing:[_.t("child"),_.t("crossing"),_.t("pedestrian"),_.t("traffic"),_.t("symbol")],no_entry:[_.t("entry"),_.t("forbidden"),_.t("no"),_.t("not"),_.t("prohibited"),_.t("traffic"),_.t("symbol")],no_entry_sign:[_.t("entry"),_.t("forbidden"),_.t("no"),_.t("not"),_.t("symbol")],no_bicycles:[_.t("bicycle"),_.t("bike"),_.t("forbidden"),_.t("no"),_.t("prohibited"),_.t("symbol")],no_smoking:[_.t("forbidden"),_.t("no"),_.t("not"),_.t("prohibited"),_.t("smoking"),_.t("symbol")],do_not_litter:[_.t("forbidden"),_.t("litter"),_.t("no"),_.t("not"),_.t("prohibited"),_.t("symbol")],"non-potable_water":[_.t("non-drinking"),_.t("non-potable"),_.t("water"),_.t("symbol")],no_pedestrians:[_.t("forbidden"),_.t("no"),_.t("not"),_.t("pedestrian"),_.t("prohibited"),_.t("symbol")],no_mobile_phones:[_.t("cell"),_.t("forbidden"),_.t("mobile"),_.t("no"),_.t("phone"),_.t("symbol")],underage:[_.t("18"),_.t("age restriction"),_.t("eighteen"),_.t("prohibited"),_.t("underage"),_.t("symbol")],radioactive_sign:[_.t("sign")],biohazard_sign:[_.t("sign")],arrow_up:[_.t("arrow"),_.t("cardinal"),_.t("direction"),_.t("north"),_.t("symbol")],arrow_upper_right:[_.t("arrow"),_.t("direction"),_.t("intercardinal"),_.t("northeast"),_.t("symbol")],arrow_right:[_.t("arrow"),_.t("cardinal"),_.t("direction"),_.t("east"),_.t("symbol")],arrow_lower_right:[_.t("arrow"),_.t("direction"),_.t("intercardinal"),_.t("southeast"),_.t("symbol")],arrow_down:[_.t("arrow"),_.t("cardinal"),_.t("direction"),_.t("down"),_.t("south"),_.t("symbol")],arrow_lower_left:[_.t("arrow"),_.t("direction"),_.t("intercardinal"),_.t("southwest"),_.t("symbol")],arrow_left:[_.t("arrow"),_.t("cardinal"),_.t("direction"),_.t("west"),_.t("symbol")],arrow_upper_left:[_.t("arrow"),_.t("direction"),_.t("intercardinal"),_.t("northwest"),_.t("symbol")],arrow_up_down:[_.t("arrow"),_.t("symbol")],left_right_arrow:[_.t("arrow"),_.t("symbol")],leftwards_arrow_with_hook:[_.t("arrow"),_.t("symbol")],arrow_right_hook:[_.t("arrow"),_.t("symbol")],arrow_heading_up:[_.t("arrow"),_.t("symbol")],arrow_heading_down:[_.t("arrow"),_.t("down"),_.t("symbol")],arrows_clockwise:[_.t("arrow"),_.t("clockwise"),_.t("reload"),_.t("symbol")],arrows_counterclockwise:[_.t("anticlockwise"),_.t("arrow"),_.t("counterclockwise"),_.t("withershins"),_.t("symbol")],back:[_.t("arrow"),_.t("back"),_.t("symbol")],end:[_.t("arrow"),_.t("end"),_.t("symbol")],on:[_.t("arrow"),_.t("mark"),_.t("on"),_.t("on!"),_.t("symbol")],soon:[_.t("arrow"),_.t("soon"),_.t("symbol")],top:[_.t("arrow"),_.t("top"),_.t("up"),_.t("symbol")],place_of_worship:[_.t("religion"),_.t("worship")],atom_symbol:[_.t("atheist"),_.t("atom")],om_symbol:[_.t("hindu"),_.t("religion")],star_of_david:[_.t("david"),_.t("jew"),_.t("jewish"),_.t("religion"),_.t("star")],wheel_of_dharma:[_.t("buddhist"),_.t("dharma"),_.t("religion"),_.t("wheel")],yin_yang:[_.t("religion"),_.t("tao"),_.t("taoist"),_.t("yang"),_.t("yin")],latin_cross:[_.t("christian"),_.t("cross"),_.t("religion")],orthodox_cross:[_.t("christian"),_.t("cross"),_.t("religion")],star_and_crescent:[_.t("islam"),_.t("muslim"),_.t("religion")],peace_symbol:[_.t("peace")],menorah_with_nine_branches:[_.t("candelabrum"),_.t("candlestick"),_.t("religion")],six_pointed_star:[_.t("fortune"),_.t("star"),_.t("symbol")],aries:[_.t("ram"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],taurus:[_.t("bull"),_.t("ox"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],gemini:[_.t("twins"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],cancer:[_.t("crab"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],leo:[_.t("lion"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],virgo:[_.t("zodiac"),_.t("horoscope"),_.t("astrology")],libra:[_.t("balance"),_.t("justice"),_.t("scales"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],scorpius:[_.t("scorpion"),_.t("scorpius"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],sagittarius:[_.t("archer"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],capricorn:[_.t("goat"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],aquarius:[_.t("bearer"),_.t("water"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],pisces:[_.t("fish"),_.t("zodiac"),_.t("horoscope"),_.t("astrology")],ophiuchus:[_.t("bearer"),_.t("serpent"),_.t("snake"),_.t("zodiac"),_.t("symbol")],twisted_rightwards_arrows:[_.t("arrow"),_.t("crossed"),_.t("symbol")],repeat:[_.t("arrow"),_.t("clockwise"),_.t("repeat"),_.t("symbol")],repeat_one:[_.t("arrow"),_.t("clockwise"),_.t("once"),_.t("symbol")],arrow_forward:[_.t("arrow"),_.t("play"),_.t("right"),_.t("triangle"),_.t("symbol")],fast_forward:[_.t("arrow"),_.t("double"),_.t("fast"),_.t("forward"),_.t("symbol")],black_right_pointing_double_triangle_with_vertical_bar:[_.t("arrow"),_.t("next scene"),_.t("next track"),_.t("triangle")],black_right_pointing_triangle_with_double_vertical_bar:[_.t("arrow"),_.t("pause"),_.t("play"),_.t("right"),_.t("triangle")],arrow_backward:[_.t("arrow"),_.t("left"),_.t("reverse"),_.t("triangle"),_.t("symbol")],rewind:[_.t("arrow"),_.t("double"),_.t("rewind"),_.t("symbol")],black_left_pointing_double_triangle_with_vertical_bar:[_.t("arrow"),_.t("previous scene"),_.t("previous track"),_.t("triangle")],arrow_up_small:[_.t("arrow"),_.t("button"),_.t("red"),_.t("symbol")],arrow_double_up:[_.t("arrow"),_.t("double"),_.t("symbol")],arrow_down_small:[_.t("arrow"),_.t("button"),_.t("down"),_.t("red"),_.t("symbol")],arrow_double_down:[_.t("arrow"),_.t("double"),_.t("down"),_.t("symbol")],double_vertical_bar:[_.t("bar"),_.t("double"),_.t("pause"),_.t("vertical")],black_square_for_stop:[_.t("square"),_.t("stop")],black_circle_for_record:[_.t("circle"),_.t("record")],eject:[_.t("eject")],cinema:[_.t("camera"),_.t("film"),_.t("movie"),_.t("symbol")],low_brightness:[_.t("brightness"),_.t("dim"),_.t("low"),_.t("symbol")],high_brightness:[_.t("bright"),_.t("brightness"),_.t("symbol")],signal_strength:[_.t("antenna"),_.t("bar"),_.t("cell"),_.t("mobile"),_.t("phone"),_.t("symbol")],vibration_mode:[_.t("cell"),_.t("mobile"),_.t("mode"),_.t("phone"),_.t("telephone"),_.t("vibration"),_.t("symbol")],mobile_phone_off:[_.t("cell"),_.t("mobile"),_.t("off"),_.t("phone"),_.t("telephone")],female_sign:[_.t("woman")],male_sign:[_.t("man")],transgender_symbol:[_.t("transgender")],heavy_multiplication_x:[_.t("\xd7"),_.t("cancel"),_.t("multiplication"),_.t("sign"),_.t("x"),_.t("symbol")],heavy_plus_sign:[_.t("+"),_.t("math"),_.t("sign"),_.t("symbol")],heavy_minus_sign:[_.t("-"),_.t("\u2212"),_.t("math"),_.t("sign"),_.t("symbol")],heavy_division_sign:[_.t("\xf7"),_.t("division"),_.t("math"),_.t("sign"),_.t("symbol")],infinity:[_.t("forever"),_.t("unbounded"),_.t("universal")],bangbang:[_.t("!"),_.t("!!"),_.t("bangbang"),_.t("exclamation"),_.t("mark"),_.t("symbols")],interrobang:[_.t("!"),_.t("!?"),_.t("?"),_.t("exclamation"),_.t("interrobang"),_.t("mark"),_.t("punctuation"),_.t("question"),_.t("symbol")],question:[_.t("?"),_.t("mark"),_.t("punctuation"),_.t("question"),_.t("symbol")],grey_question:[_.t("?"),_.t("mark"),_.t("outlined"),_.t("punctuation"),_.t("question"),_.t("symbol")],grey_exclamation:[_.t("!"),_.t("exclamation"),_.t("mark"),_.t("outlined"),_.t("punctuation"),_.t("symbol")],exclamation:[_.t("!"),_.t("exclamation"),_.t("mark"),_.t("punctuation"),_.t("symbol")],wavy_dash:[_.t("dash"),_.t("punctuation"),_.t("wavy"),_.t("symbol")],currency_exchange:[_.t("bank"),_.t("currency"),_.t("exchange"),_.t("money"),_.t("symbol")],heavy_dollar_sign:[_.t("currency"),_.t("dollar"),_.t("money"),_.t("symbol")],medical_symbol:[_.t("aesculapius"),_.t("medicine"),_.t("staff")],recycle:[_.t("recycle"),_.t("symbol")],trident:[_.t("anchor"),_.t("emblem"),_.t("ship"),_.t("tool"),_.t("trident")],name_badge:[_.t("badge"),_.t("name")],beginner:[_.t("beginner"),_.t("chevron"),_.t("japanese"),_.t("leaf"),_.t("symbol")],o:[_.t("circle"),_.t("large"),_.t("o"),_.t("red"),_.t("symbol"),_.t("letter")],white_check_mark:[_.t("\u2713"),_.t("button"),_.t("check"),_.t("mark"),_.t("green")],ballot_box_with_check:[_.t("\u2713"),_.t("box"),_.t("check"),_.t("black")],heavy_check_mark:[_.t("\u2713"),_.t("check"),_.t("mark"),_.t("symbol")],x:[_.t("\xd7"),_.t("cancel"),_.t("cross"),_.t("mark"),_.t("multiplication"),_.t("multiply"),_.t("x"),_.t("letter"),_.t("symbol")],negative_squared_cross_mark:[_.t("\xd7"),_.t("mark"),_.t("square"),_.t("x"),_.t("cross"),_.t("green")],curly_loop:[_.t("curl"),_.t("loop"),_.t("symbol")],loop:[_.t("curl"),_.t("double"),_.t("loop"),_.t("symbol")],part_alternation_mark:[_.t("mark"),_.t("part"),_.t("symbol")],eight_spoked_asterisk:[_.t("*"),_.t("asterisk"),_.t("symbol")],eight_pointed_black_star:[_.t("*"),_.t("star"),_.t("symbol")],sparkle:[_.t("*"),_.t("symbol")],tm:[_.t("mark"),_.t("tm"),_.t("trademark"),_.t("symbol")],capital_abcd:[_.t("abcd"),_.t("input"),_.t("latin"),_.t("letters"),_.t("uppercase")],abcd:[_.t("abcd"),_.t("input"),_.t("latin"),_.t("letters"),_.t("lowercase")],symbols:[_.t("\u3012\u266A&%"),_.t("input")],abc:[_.t("abc"),_.t("alphabet"),_.t("input"),_.t("latin"),_.t("letters")],a:[_.t("a"),_.t("blood type"),_.t("letters")],ab:[_.t("ab"),_.t("blood type"),_.t("letters")],b:[_.t("b"),_.t("blood type"),_.t("symbols")],cl:[_.t("cl")],cool:[_.t("cool"),_.t("symbol")],free:[_.t("free"),_.t("symbol")],information_source:[_.t("i"),_.t("symbol")],id:[_.t("id"),_.t("identity")],m:[_.t("circle"),_.t("m")],new:[_.t("new")],ng:[_.t("ng")],o2:[_.t("blood type"),_.t("o"),_.t("symbol")],ok:[_.t("ok"),_.t("letters"),_.t("symbol")],parking:[_.t("p"),_.t("parking"),_.t("symbol")],sos:[_.t("help"),_.t("sos"),_.t("symbol")],up:[_.t("mark"),_.t("up"),_.t("up!"),_.t("symbol")],vs:[_.t("versus"),_.t("vs")],koko:[_.t("here"),_.t("japanese"),_.t("katakana"),_.t("\u30B3\u30B3"),_.t("symbol")],sa:[_.t("service charge"),_.t("japanese"),_.t("katakana"),_.t("\u30B5")],u6708:[_.t("monthly amount"),_.t("ideograph"),_.t("japanese"),_.t("\u6708")],u6709:[_.t("not free of charge"),_.t("ideograph"),_.t("japanese"),_.t("\u6709")],u6307:[_.t("reserved"),_.t("ideograph"),_.t("japanese"),_.t("\u6307")],ideograph_advantage:[_.t("bargain"),_.t("ideograph"),_.t("japanese"),_.t("\u5F97"),_.t("symbol")],u5272:[_.t("discount"),_.t("ideograph"),_.t("japanese"),_.t("\u5272")],u7121:[_.t("free of charge"),_.t("ideograph"),_.t("japanese"),_.t("\u7121")],u7981:[_.t("prohibited"),_.t("ideograph"),_.t("japanese"),_.t("\u7981")],accept:[_.t("acceptable"),_.t("ideograph"),_.t("japanese"),_.t("\u53EF")],u7533:[_.t("application"),_.t("ideograph"),_.t("japanese"),_.t("\u7533")],u5408:[_.t("passing grade"),_.t("ideograph"),_.t("japanese"),_.t("\u5408")],u7a7a:[_.t("vacancy"),_.t("ideograph"),_.t("japanese"),_.t("\u7A7A")],congratulations:[_.t("congratulations"),_.t("ideograph"),_.t("japanese"),_.t("\u795D"),_.t("symbol")],secret:[_.t("secret"),_.t("ideograph"),_.t("japanese"),_.t("\u79D8"),_.t("symbol")],u55b6:[_.t("open for business"),_.t("ideograph"),_.t("japanese"),_.t("\u55B6")],u6e80:[_.t("no vacancy"),_.t("ideograph"),_.t("japanese"),_.t("\u6E80")],red_circle:[_.t("circle"),_.t("geometric"),_.t("red"),_.t("symbol")],large_orange_circle:[_.t("circle"),_.t("orange")],large_yellow_circle:[_.t("circle"),_.t("yellow")],large_green_circle:[_.t("circle"),_.t("green")],large_blue_circle:[_.t("blue"),_.t("circle"),_.t("geometric"),_.t("symbol")],large_purple_circle:[_.t("circle"),_.t("purple")],large_brown_circle:[_.t("brown"),_.t("circle")],black_circle:[_.t("circle"),_.t("geometric"),_.t("symbol")],white_circle:[_.t("circle"),_.t("geometric"),_.t("symbol")],large_red_square:[_.t("red"),_.t("square")],large_orange_square:[_.t("orange"),_.t("square")],large_yellow_square:[_.t("square"),_.t("yellow")],large_green_square:[_.t("green"),_.t("square")],large_blue_square:[_.t("blue"),_.t("square")],large_purple_square:[_.t("purple"),_.t("square")],large_brown_square:[_.t("brown"),_.t("square")],black_large_square:[_.t("geometric"),_.t("square"),_.t("symbol")],white_large_square:[_.t("geometric"),_.t("square"),_.t("symbol")],black_medium_square:[_.t("geometric"),_.t("square"),_.t("symbol")],white_medium_square:[_.t("geometric"),_.t("square"),_.t("symbol")],black_medium_small_square:[_.t("geometric"),_.t("square"),_.t("symbol")],white_medium_small_square:[_.t("geometric"),_.t("square"),_.t("symbol")],black_small_square:[_.t("geometric"),_.t("square"),_.t("symbol")],white_small_square:[_.t("geometric"),_.t("square"),_.t("symbol")],large_orange_diamond:[_.t("diamond"),_.t("geometric"),_.t("orange"),_.t("symbol")],large_blue_diamond:[_.t("blue"),_.t("diamond"),_.t("geometric"),_.t("symbol")],small_orange_diamond:[_.t("diamond"),_.t("geometric"),_.t("orange"),_.t("symbol")],small_blue_diamond:[_.t("blue"),_.t("diamond"),_.t("geometric"),_.t("symbol")],small_red_triangle:[_.t("geometric"),_.t("red"),_.t("symbol")],small_red_triangle_down:[_.t("down"),_.t("geometric"),_.t("red"),_.t("symbol")],diamond_shape_with_a_dot_inside:[_.t("comic"),_.t("diamond"),_.t("geometric"),_.t("inside"),_.t("gem")],radio_button:[_.t("button"),_.t("geometric"),_.t("radio")],white_square_button:[_.t("button"),_.t("geometric"),_.t("outlined"),_.t("square"),_.t("symbol")],black_square_button:[_.t("button"),_.t("geometric"),_.t("square"),_.t("symbol")],checkered_flag:[_.t("checkered"),_.t("chequered"),_.t("racing"),_.t("finish"),_.t("line"),_.t("race")],triangular_flag_on_post:[_.t("post"),_.t("flag")],crossed_flags:[_.t("celebration"),_.t("cross"),_.t("crossed"),_.t("japanese"),_.t("flag")],waving_black_flag:[_.t("waving")],waving_white_flag:[_.t("waving")],"rainbow-flag":[_.t("pride"),_.t("rainbow")],transgender_flag:[_.t("flag"),_.t("light blue"),_.t("pink"),_.t("transgender"),_.t("white")],pirate_flag:[_.t("jolly roger"),_.t("pirate"),_.t("plunder"),_.t("treasure")],copyright:[_.t("symbol")],registered:[_.t("symbol")],warning:[_.t("symbol")],fountain:[],pencil2:[],star:[],sushi:[_.t("food")],rat:[_.t("animal")],mouse2:[_.t("animal")],cow2:[_.t("animal")],tiger2:[_.t("animal"),_.t("cat")],leopard:[_.t("cat"),_.t("animal")],crocodile:[_.t("alligator"),_.t("animal")],whale2:[_.t("animal"),_.t("fish")],snail:[_.t("bug"),_.t("insect")],monkey:[_.t("animal")],elephant:[_.t("animal")],octopus:[_.t("animal"),_.t("fish")],bird:[_.t("animal")],family:[_.t("man"),_.t("woman"),_.t("boy"),_.t("people"),_.t("person")],guardsman:[_.t("face"),_.t("people"),_.t("person")],briefcase:[_.t("work")],clipboard:[_.t("work")],paperclip:[_.t("work")],notebook:[_.t("book")],pager:[],battery:[],bell:[],link:[_.t("symbol")],keycap_ten:[_.t("number"),_.t("10")],door:[],toilet:[_.t("bathroom"),_.t("washroom"),_.t("restroom")],customs:[_.t("symbol")],hash:[_.t("symbol")],zero:[_.t("number"),_.t("0")],one:[_.t("number"),_.t("1")],two:[_.t("number"),_.t("2")],three:[_.t("number"),_.t("3")],four:[_.t("number"),_.t("4")],five:[_.t("number"),_.t("5")],six:[_.t("number"),_.t("6")],seven:[_.t("number"),_.t("7")],eight:[_.t("number"),_.t("8")],nine:[_.t("number"),_.t("9")],"flag-ad":[_.t("flag"),_.t("Andorra")],"flag-ae":[_.t("flag"),_.t("United Arab Emirates")],"flag-af":[_.t("flag"),_.t("Afghanistan")],"flag-ag":[_.t("flag"),_.t("Antigua and Barbuda")],"flag-ai":[_.t("flag"),_.t("Anguilla")],"flag-al":[_.t("flag"),_.t("Albania")],"flag-am":[_.t("flag"),_.t("Armenia")],"flag-ao":[_.t("flag"),_.t("Angola")],"flag-aq":[_.t("flag"),_.t("Antarctica")],"flag-ar":[_.t("flag"),_.t("Argentina")],"flag-as":[_.t("flag"),_.t("American Samoa")],"flag-at":[_.t("flag"),_.t("Austria")],"flag-au":[_.t("flag"),_.t("Australia")],"flag-aw":[_.t("flag"),_.t("Aruba")],"flag-ax":[_.t("flag"),_.t("\xc5land Islands")],"flag-az":[_.t("flag"),_.t("Azerbaijan")],"flag-ba":[_.t("flag"),_.t("Bosnia and Herzegovina")],"flag-bb":[_.t("flag"),_.t("Barbados")],"flag-bd":[_.t("flag"),_.t("Bangladesh")],"flag-be":[_.t("flag"),_.t("Belgium")],"flag-bf":[_.t("flag"),_.t("Burkina Faso")],"flag-bg":[_.t("flag"),_.t("Bulgaria")],"flag-bh":[_.t("flag"),_.t("Bahrain")],"flag-bi":[_.t("flag"),_.t("Burundi")],"flag-bj":[_.t("flag"),_.t("Benin")],"flag-bl":[_.t("flag"),_.t("Saint Barth\xe9lemy")],"flag-bm":[_.t("flag"),_.t("Bermuda")],"flag-bn":[_.t("flag"),_.t("Brunei Darussalam")],"flag-bo":[_.t("flag"),_.t("Bolivia")],"flag-bq":[_.t("flag"),_.t("Bonaire, Sint Eustatius and Saba")],"flag-br":[_.t("flag"),_.t("Brazil")],"flag-bs":[_.t("flag"),_.t("Bahamas")],"flag-bt":[_.t("flag"),_.t("Bhutan")],"flag-bv":[_.t("flag"),_.t("Bouvet Island")],"flag-bw":[_.t("flag"),_.t("Botswana")],"flag-by":[_.t("flag"),_.t("Belarus")],"flag-bz":[_.t("flag"),_.t("Belize")],"flag-ca":[_.t("flag"),_.t("Canada")],"flag-cc":[_.t("flag"),_.t("Cocos (Keeling) Islands")],"flag-cd":[_.t("flag"),_.t("Congo")],"flag-cf":[_.t("flag"),_.t("Central African Republic")],"flag-cg":[_.t("flag"),_.t("Congo")],"flag-ch":[_.t("flag"),_.t("Switzerland")],"flag-ci":[_.t("flag"),_.t("C\xf4te D\u2019Ivoire")],"flag-ck":[_.t("flag"),_.t("Cook Islands")],"flag-cl":[_.t("flag"),_.t("Chile")],"flag-cm":[_.t("flag"),_.t("Cameroon")],cn:[_.t("flag"),_.t("China")],"flag-co":[_.t("flag"),_.t("Colombia")],"flag-cr":[_.t("flag"),_.t("Costa Rica")],"flag-cu":[_.t("flag"),_.t("Cuba")],"flag-cv":[_.t("flag"),_.t("Cape Verde")],"flag-cw":[_.t("flag"),_.t("Cura\xe7ao")],"flag-cx":[_.t("flag"),_.t("Christmas Island")],"flag-cy":[_.t("flag"),_.t("Cyprus")],"flag-cz":[_.t("flag"),_.t("Czech Republic")],de:[_.t("flag"),_.t("Germany")],"flag-dj":[_.t("flag"),_.t("Djibouti")],"flag-dk":[_.t("flag"),_.t("Denmark")],"flag-dm":[_.t("flag"),_.t("Dominica")],"flag-do":[_.t("flag"),_.t("Dominican Republic")],"flag-dz":[_.t("flag"),_.t("Algeria")],"flag-ec":[_.t("flag"),_.t("Ecuador")],"flag-ee":[_.t("flag"),_.t("Estonia")],"flag-eg":[_.t("flag"),_.t("Egypt")],"flag-eh":[_.t("flag"),_.t("Western Sahara")],"flag-er":[_.t("flag"),_.t("Eritrea")],es:[_.t("flag"),_.t("Spain")],"flag-et":[_.t("flag"),_.t("Ethiopia")],"flag-fi":[_.t("flag"),_.t("Finland")],"flag-fj":[_.t("flag"),_.t("Fiji")],"flag-fk":[_.t("flag"),_.t("Falkland Islands (Malvinas)")],"flag-fm":[_.t("flag"),_.t("Micronesia")],"flag-fo":[_.t("flag"),_.t("Faroe Islands")],fr:[_.t("flag"),_.t("France")],"flag-ga":[_.t("flag"),_.t("Gabon")],gb:[_.t("flag"),_.t("United Kingdom")],"flag-gd":[_.t("flag"),_.t("Grenada")],"flag-ge":[_.t("flag"),_.t("Georgia")],"flag-gf":[_.t("flag"),_.t("French Guiana")],"flag-gg":[_.t("flag"),_.t("Guernsey")],"flag-gh":[_.t("flag"),_.t("Ghana")],"flag-gi":[_.t("flag"),_.t("Gibraltar")],"flag-gl":[_.t("flag"),_.t("Greenland")],"flag-gm":[_.t("flag"),_.t("Gambia")],"flag-gn":[_.t("flag"),_.t("Guinea")],"flag-gp":[_.t("flag"),_.t("Guadeloupe")],"flag-gq":[_.t("flag"),_.t("Equatorial Guinea")],"flag-gr":[_.t("flag"),_.t("Greece")],"flag-gs":[_.t("flag"),_.t("South Georgia")],"flag-gt":[_.t("flag"),_.t("Guatemala")],"flag-gu":[_.t("flag"),_.t("Guam")],"flag-gw":[_.t("flag"),_.t("Guinea-Bissau")],"flag-gy":[_.t("flag"),_.t("Guyana")],"flag-hk":[_.t("flag"),_.t("Hong Kong")],"flag-hm":[_.t("flag"),_.t("Heard Island and Mcdonald Islands")],"flag-hn":[_.t("flag"),_.t("Honduras")],"flag-hr":[_.t("flag"),_.t("Croatia")],"flag-ht":[_.t("flag"),_.t("Haiti")],"flag-hu":[_.t("flag"),_.t("Hungary")],"flag-id":[_.t("flag"),_.t("Indonesia")],"flag-ie":[_.t("flag"),_.t("Ireland")],"flag-il":[_.t("flag"),_.t("Israel")],"flag-im":[_.t("flag"),_.t("Isle of Man")],"flag-in":[_.t("flag"),_.t("India")],"flag-io":[_.t("flag"),_.t("British Indian Ocean Territory")],"flag-iq":[_.t("flag"),_.t("Iraq")],"flag-ir":[_.t("flag"),_.t("Iran")],"flag-is":[_.t("flag"),_.t("Iceland")],it:[_.t("flag"),_.t("Italy")],"flag-je":[_.t("flag"),_.t("Jersey")],"flag-jm":[_.t("flag"),_.t("Jamaica")],"flag-jo":[_.t("flag"),_.t("Jordan")],jp:[_.t("flag"),_.t("Japan")],"flag-ke":[_.t("flag"),_.t("Kenya")],"flag-kg":[_.t("flag"),_.t("Kyrgyzstan")],"flag-kh":[_.t("flag"),_.t("Cambodia")],"flag-ki":[_.t("flag"),_.t("Kiribati")],"flag-km":[_.t("flag"),_.t("Comoros")],"flag-kn":[_.t("flag"),_.t("Saint Kitts and Nevis")],"flag-kp":[_.t("flag"),_.t("North Korea")],kr:[_.t("flag"),_.t("South Korea")],"flag-kw":[_.t("flag"),_.t("Kuwait")],"flag-ky":[_.t("flag"),_.t("Cayman Islands")],"flag-kz":[_.t("flag"),_.t("Kazakhstan")],"flag-la":[_.t("flag"),_.t("Lao People\u2019s Democratic Republic")],"flag-lb":[_.t("flag"),_.t("Lebanon")],"flag-lc":[_.t("flag"),_.t("Saint Lucia")],"flag-li":[_.t("flag"),_.t("Liechtenstein")],"flag-lk":[_.t("flag"),_.t("Sri Lanka")],"flag-lr":[_.t("flag"),_.t("Liberia")],"flag-ls":[_.t("flag"),_.t("Lesotho")],"flag-lt":[_.t("flag"),_.t("Lithuania")],"flag-lu":[_.t("flag"),_.t("Luxembourg")],"flag-lv":[_.t("flag"),_.t("Latvia")],"flag-ly":[_.t("flag"),_.t("Libya")],"flag-ma":[_.t("flag"),_.t("Morocco")],"flag-mc":[_.t("flag"),_.t("Monaco")],"flag-md":[_.t("flag"),_.t("Republic of Moldova")],"flag-me":[_.t("flag"),_.t("Montenegro")],"flag-mf":[_.t("flag"),_.t("Saint Martin (French Part)")],"flag-mg":[_.t("flag"),_.t("Madagascar")],"flag-mh":[_.t("flag"),_.t("Marshall Islands")],"flag-mk":[_.t("flag"),_.t("Macedonia")],"flag-ml":[_.t("flag"),_.t("Mali")],"flag-mm":[_.t("flag"),_.t("Myanmar")],"flag-mn":[_.t("flag"),_.t("Mongolia")],"flag-mo":[_.t("flag"),_.t("Macao")],"flag-mp":[_.t("flag"),_.t("Northern Mariana Islands")],"flag-mq":[_.t("flag"),_.t("Martinique")],"flag-mr":[_.t("flag"),_.t("Mauritania")],"flag-ms":[_.t("flag"),_.t("Montserrat")],"flag-mt":[_.t("flag"),_.t("Malta")],"flag-mu":[_.t("flag"),_.t("Mauritius")],"flag-mv":[_.t("flag"),_.t("Maldives")],"flag-mw":[_.t("flag"),_.t("Malawi")],"flag-mx":[_.t("flag"),_.t("Mexico")],"flag-my":[_.t("flag"),_.t("Malaysia")],"flag-mz":[_.t("flag"),_.t("Mozambique")],"flag-na":[_.t("flag"),_.t("Namibia")],"flag-nc":[_.t("flag"),_.t("New Caledonia")],"flag-ne":[_.t("flag"),_.t("Niger")],"flag-nf":[_.t("flag"),_.t("Norfolk Island")],"flag-ng":[_.t("flag"),_.t("Nigeria")],"flag-ni":[_.t("flag"),_.t("Nicaragua")],"flag-nl":[_.t("flag"),_.t("Netherlands")],"flag-no":[_.t("flag"),_.t("Norway")],"flag-np":[_.t("flag"),_.t("Nepal")],"flag-nr":[_.t("flag"),_.t("Nauru")],"flag-nu":[_.t("flag"),_.t("Niue")],"flag-nz":[_.t("flag"),_.t("New Zealand")],"flag-om":[_.t("flag"),_.t("Oman")],"flag-pa":[_.t("flag"),_.t("Panama")],"flag-pe":[_.t("flag"),_.t("Peru")],"flag-pf":[_.t("flag"),_.t("French Polynesia")],"flag-pg":[_.t("flag"),_.t("Papua New Guinea")],"flag-ph":[_.t("flag"),_.t("Philippines")],"flag-pk":[_.t("flag"),_.t("Pakistan")],"flag-pl":[_.t("flag"),_.t("Poland")],"flag-pm":[_.t("flag"),_.t("Saint Pierre and Miquelon")],"flag-pn":[_.t("flag"),_.t("Pitcairn")],"flag-pr":[_.t("flag"),_.t("Puerto Rico")],"flag-ps":[_.t("flag"),_.t("Palestinian Territory")],"flag-pt":[_.t("flag"),_.t("Portugal")],"flag-pw":[_.t("flag"),_.t("Palau")],"flag-py":[_.t("flag"),_.t("Paraguay")],"flag-qa":[_.t("flag"),_.t("Qatar")],"flag-re":[_.t("flag"),_.t("R\xe9union")],"flag-ro":[_.t("flag"),_.t("Romania")],"flag-rs":[_.t("flag"),_.t("Serbia")],ru:[_.t("flag"),_.t("Russia")],"flag-rw":[_.t("flag"),_.t("Rwanda")],"flag-sa":[_.t("flag"),_.t("Saudi Arabia")],"flag-sb":[_.t("flag"),_.t("Solomon Islands")],"flag-sc":[_.t("flag"),_.t("Seychelles")],"flag-sd":[_.t("flag"),_.t("Sudan")],"flag-se":[_.t("flag"),_.t("Sweden")],"flag-sg":[_.t("flag"),_.t("Singapore")],"flag-sh":[_.t("flag"),_.t("Saint Helena, Ascension and Tristan Da Cunha")],"flag-si":[_.t("flag"),_.t("Slovenia")],"flag-sj":[_.t("flag"),_.t("Svalbard and Jan Mayen")],"flag-sk":[_.t("flag"),_.t("Slovakia")],"flag-sl":[_.t("flag"),_.t("Sierra Leone")],"flag-sm":[_.t("flag"),_.t("San Marino")],"flag-sn":[_.t("flag"),_.t("Senegal")],"flag-so":[_.t("flag"),_.t("Somalia")],"flag-sr":[_.t("flag"),_.t("Suriname")],"flag-ss":[_.t("flag"),_.t("South Sudan")],"flag-st":[_.t("flag"),_.t("Sao Tome and Principe")],"flag-sv":[_.t("flag"),_.t("El Salvador")],"flag-sx":[_.t("flag"),_.t("Sint Maarten (Dutch Part)")],"flag-sy":[_.t("flag"),_.t("Syrian Arab Republic")],"flag-sz":[_.t("flag"),_.t("Swaziland")],"flag-tc":[_.t("flag"),_.t("Turks and Caicos Islands")],"flag-td":[_.t("flag"),_.t("Chad")],"flag-tf":[_.t("flag"),_.t("French Southern Territories")],"flag-tg":[_.t("flag"),_.t("Togo")],"flag-th":[_.t("flag"),_.t("Thailand")],"flag-tj":[_.t("flag"),_.t("Tajikistan")],"flag-tk":[_.t("flag"),_.t("Tokelau")],"flag-tl":[_.t("flag"),_.t("Timor-Leste")],"flag-tm":[_.t("flag"),_.t("Turkmenistan")],"flag-tn":[_.t("flag"),_.t("Tunisia")],"flag-to":[_.t("flag"),_.t("Tonga")],"flag-tr":[_.t("flag"),_.t("Turkey")],"flag-tt":[_.t("flag"),_.t("Trinidad and Tobago")],"flag-tv":[_.t("flag"),_.t("Tuvalu")],"flag-tw":[_.t("flag"),_.t("Taiwan")],"flag-tz":[_.t("flag"),_.t("Tanzania")],"flag-ua":[_.t("flag"),_.t("Ukraine")],"flag-ug":[_.t("flag"),_.t("Uganda")],"flag-um":[_.t("flag"),_.t("United States Minor Outlying Islands")],us:[_.t("flag"),_.t("United States")],"flag-uy":[_.t("flag"),_.t("Uruguay")],"flag-uz":[_.t("flag"),_.t("Uzbekistan")],"flag-va":[_.t("flag"),_.t("Vatican City")],"flag-vc":[_.t("flag"),_.t("Saint Vincent and The Grenadines")],"flag-ve":[_.t("flag"),_.t("Venezuela")],"flag-vg":[_.t("flag"),_.t("Virgin Islands, British")],"flag-vi":[_.t("flag"),_.t("Virgin Islands, U.S.")],"flag-vn":[_.t("flag"),_.t("Viet Nam")],"flag-vu":[_.t("flag"),_.t("Vanuatu")],"flag-wf":[_.t("flag"),_.t("Wallis and Futuna")],"flag-ws":[_.t("flag"),_.t("Samoa")],"flag-ye":[_.t("flag"),_.t("Yemen")],"flag-yt":[_.t("flag"),_.t("Mayotte")],"flag-za":[_.t("flag"),_.t("South Africa")],"flag-zm":[_.t("flag"),_.t("Zambia")],"flag-zw":[_.t("flag"),_.t("Zimbabwe")],"man-man-boy":[_.t("person"),_.t("people"),_.t("family")],"man-man-boy-boy":[_.t("person"),_.t("people"),_.t("family")],"man-man-girl":[_.t("person"),_.t("people"),_.t("family")],"man-man-girl-boy":[_.t("person"),_.t("people"),_.t("family")],"man-man-girl-girl":[_.t("person"),_.t("people"),_.t("family")],"man-woman-boy-boy":[_.t("person"),_.t("people"),_.t("family")],"man-woman-girl":[_.t("person"),_.t("people"),_.t("family")],"man-woman-girl-boy":[_.t("person"),_.t("people"),_.t("family")],"man-woman-girl-girl":[_.t("person"),_.t("people"),_.t("family")],"man-heart-man":[_.t("person"),_.t("people"),_.t("couple")],"man-kiss-man":[_.t("person"),_.t("people"),_.t("couple")],"woman-woman-boy":[_.t("family"),_.t("people"),_.t("person"),_.t("woman")],"woman-woman-boy-boy":[_.t("family"),_.t("people"),_.t("person"),_.t("woman")],"woman-woman-girl":[_.t("family"),_.t("people"),_.t("person"),_.t("woman")],"woman-woman-girl-boy":[_.t("family"),_.t("people"),_.t("person"),_.t("woman")],"woman-woman-girl-girl":[_.t("family"),_.t("people"),_.t("person"),_.t("woman")],"woman-heart-woman":[_.t("couple"),_.t("people"),_.t("person"),_.t("woman")],"woman-kiss-woman":[_.t("couple"),_.t("people"),_.t("person"),_.t("woman")]}:{};function getStandardEmojiData(e){return(0,u.C)(e)?d():l()}function getStandardEmojiCategories(e){return(0,u.C)(e)?o():r()}},0x170ce3425:(e,t,a)=>{"use strict";a.d(t,{C:()=>isEmoji15Enabled});var n=a(0x14149c126);function isEmoji15Enabled(e){return"on"===(0,n._Z)(e,"emoji_v15_be")}},0x36d89444:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__,R:()=>isStandardEmojiFromParsedEmoji});var n=a(0x89f31bdb),r=a(0x1829a8d43);let isStandardEmojiFromParsedEmoji=(e,t)=>!!t&&!!t.name&&!!(0,n.O)(e)[t.name],__WEBPACK_DEFAULT_EXPORT__=(e,t)=>isStandardEmojiFromParsedEmoji(e,(0,r.A)(t))},0x6d8f3d23:(e,t,a)=>{"use strict";a.d(t,{x:()=>loadEmojiTranslations});var n=a(0x190e60a66),r=a(0x4f6e90b4),i=a(0x20482ad21),o=a(0x11dc1e636),s=a(0x1d06c44fe),l=a(0x89f31bdb),c=a(0x1ec68d6a3);let loadEmojiTranslations=()=>{let e=(0,c.getGenericLogger)({label:"EMOJI_TRANSLATION"}),t=(0,n.F)().getLocaleForLastViewedTeam(),a=(0,l.VD)();if(t===o.Xn){e.info("Emoji translations not needed for default locale, only adding keywords"),(0,s.Wl)({locale:t,localizedKeywordMap:a});return}if(!(0,i.Or)(t))return void e.info("Emoji translations not yet loaded for locale");if((0,s.U1)(t))return void e.info(`Emoji translations already loaded for ${t}`);let r=(0,l.Gc)();r?((0,s.n4)({locale:t,canonicalToLocalized:r}),(0,s.Wl)({locale:t,localizedKeywordMap:a}),e.info(`Emoji translations and keywords loaded for ${t}`)):e.info("Emoji translation map is null")};(0,r.ul)("loadEmojiTranslations",loadEmojiTranslations)},0x1a0bfaf78:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__,Y:()=>makePhraseForEmojiGroup});var n=a(0x20482ad21),r=a(0x6f38ac62),i=a(0x1829a8d43);let o=/_|-/g,s=new n.Ay("emoji"),makePhraseForEmojiGroup=(e,t)=>{if(!e||!t)return null;let{name:a,skinTone:n}=(0,i.A)(e)||{};if(!a)return s.t("{size} {emojiName} {size, plural, =1 {emoji} other {emojis}}",{emojiName:e,size:t});let l=a.replace(o," "),c=s.t("{size} {emojiName} {size, plural, =1 {emoji} other {emojis}}",{emojiName:l,size:t});if(!n)return c;let d=(0,r.A)(n);return""===d?c:s.t("{size} {emojiName} {size, plural, =1 {emoji} other {emojis}} with {skinToneDescription}",{emojiName:l,size:t,skinToneDescription:d})};function __WEBPACK_DEFAULT_EXPORT__(e,t=!1){if(!e)return e;let{name:a,skinTone:n}=(0,i.A)(e)||{};if(!a)return e;let l=a.replace(o," "),c=s.t("{emojiPhrase} emoji",{emojiPhrase:l});if(!n)return""===c?l:c;let d=(0,r.A)(n);return""===d?""===c?l:c:t?s.t("React with {emojiPhrase} emoji {skinToneDescription}",{emojiPhrase:l,skinToneDescription:d}):s.t("{emojiPhrase} emoji with {skinToneDescription}",{emojiPhrase:l,skinToneDescription:d})}},0x1829a8d43:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});let n=/::[^:]+-([2-6]-[2-6])|::[^:]+-([2-6])$/,r={},__WEBPACK_DEFAULT_EXPORT__=e=>{let t;if(!e)return null;if(r[e])return r[e];let a=e.toLowerCase().replace(/(^:|:$)/g,""),i=a.match(n),o=a.replace(n,"");if(!o||-1!==o.indexOf(":"))return null;if(i)for(let e of(t=i[1]??i[2]??"").split("-")){let t=parseInt(e,10);if(t<2||t>6)return null}return t&&(t=t?.includes("-")?t:parseInt(t,10)),r[e]={name:o,skinTone:t},r[e]}},0x6d72337:(e,t,a)=>{"use strict";a.d(t,{$s:()=>R,A_:()=>C,Bb:()=>S,DC:()=>u,E9:()=>f,EM:()=>P,GU:()=>m,HB:()=>V,Hn:()=>y,JH:()=>B,JL:()=>I,K6:()=>M,KA:()=>F,NJ:()=>v,OS:()=>g,Q$:()=>h,QO:()=>E,Qo:()=>G,RS:()=>o,Sb:()=>q,UX:()=>A,Uw:()=>w,Wu:()=>k,XP:()=>U,Xf:()=>j,Yk:()=>T,_2:()=>K,_J:()=>s,bd:()=>L,dK:()=>l,j$:()=>W,kv:()=>x,lN:()=>O,nt:()=>c,qT:()=>D,qk:()=>p,rQ:()=>N,sf:()=>H,sh:()=>b,uy:()=>d,yN:()=>_});var n=a(0x1cbdfeceb),r=a(0x12da80373),i=a(0x1df96de4c);let o=(0,r.w)("executeCommand",()=>n.A,{useSingleton:!1}),s=(0,r.w)("openPermalink",()=>n.A,{useSingleton:!1}),l=(0,r.w)("renderMessageAttachment",()=>null,{useSingleton:!1}),c=(0,r.w)("renderMessageBlock",()=>null,{useSingleton:!1}),d=(0,r.w)("renderCanvasSlackListBlock",()=>null,{useSingleton:!1}),u=(0,r.w)("renderCanvasSlackListRecordBlock",()=>null,{useSingleton:!1}),m=(0,r.w)("renderQuipTitle",()=>null,{useSingleton:!1}),f=(0,r.w)("renderProfileCard",()=>null,{useSingleton:!1}),_=(0,r.w)("renderProfileHoverCard",()=>null,{useSingleton:!1}),p=(0,r.w)("renderMemberProfileHoverCard",()=>null,{useSingleton:!1}),h=(0,r.w)("renderChannelHoverCard",()=>null,{useSingleton:!1}),g=(0,r.w)("renderMessageHoverCardTrigger",()=>null,{useSingleton:!1}),A=(0,r.w)("renderMessageHoverCard",()=>null,{useSingleton:!1}),b=(0,r.w)("renderWorkflowHoverCardTrigger",()=>null,{useSingleton:!1}),y=(0,r.w)("renderShortcutsMenuTriggerButton",()=>null,{useSingleton:!1}),S=(0,r.w)("openViewInChildWindow",()=>null,{useSingleton:!1}),E=(0,r.w)("channelContextMenuGetTemplate",()=>()=>i.Ml,{useSingleton:!1}),k=(0,r.w)("entityContextMenuGetTemplate",()=>()=>i.Ml,{useSingleton:!1}),T=(0,r.w)("getEnabledSlackGlobalActionsForSearcher",()=>i.Ml,{useSingleton:!1}),I=(0,r.w)("getEnabledFakeGlobalActionsForSearcher",()=>i.Ml,{useSingleton:!1}),w=(0,r.w)("getCallActionsForSearcher",()=>i.Ml,{useSingleton:!1}),C=(0,r.w)("getSlashCommandsForSearcher",()=>i.Ml,{useSingleton:!1}),v=(0,r.w)("getAllPublishedTriggersForSearcher",()=>i.Ml,{useSingleton:!1}),x=(0,r.w)("openInDetachedWindow",()=>n.A,{useSingleton:!1}),R=(0,r.w)("useQuipDoc",()=>null,{useSingleton:!1}),O=(0,r.w)("initializeQuipClient",()=>null,{useSingleton:!1}),N=(0,r.w)("autocompleteCommandsSearcherFlat",()=>null,{useSingleton:!1}),D=(0,r.w)("executeCommandAutocompleteItem",()=>null,{useSingleton:!1}),L=(0,r.w)("openCanvasShareModal",()=>null,{useSingleton:!1}),M=(0,r.w)("openCanvasTemplateGalleryModal",()=>null,{useSingleton:!1}),F=(0,r.w)("renderInCanvasHoverTrigger",()=>null,{useSingleton:!1}),P=(0,r.w)("openRestrictedWorkspacePermalinkDialog",()=>null,{useSingleton:!1}),U=(0,r.w)("openRequestToJoinWorkspacePermalinkDialog",()=>null,{useSingleton:!1}),B=(0,r.w)("openJoinWorkspacePermalinkDialog",()=>null,{useSingleton:!1}),G=(0,r.w)("renderLauncherModal",()=>null,{useSingleton:!1}),H=(0,r.w)("renderFieldRenderer",()=>null,{useSingleton:!1}),W=(0,r.w)("openArchiveChannelModal",()=>null,{useSingleton:!1}),V=(0,r.w)("handleDeepLink",()=>n.A,{useSingleton:!1}),j=(0,r.w)("openInviteModal",()=>n.A,{useSingleton:!1}),K=(0,r.w)("startChannelInviteModal",()=>n.A,{useSingleton:!1}),q=(0,r.w)("openSlackConnectDmInviteModal",()=>n.A,{useSingleton:!1})},0x169b11478:(e,t,a)=>{"use strict";a.d(t,{i:()=>isExternalWorkspacePilotEnabled});let isExternalWorkspacePilotEnabled=e=>!1},0x1569477c2:(e,t,a)=>{"use strict";a.d(t,{a:()=>FetchDebouncer});var n=a(0xe874a88a),r=a(0x1ec68d6a3);let FetchDebouncer=class FetchDebouncer{activePromisesById={};logger;getId;constructor(e,t){this.logger=(0,r.default)({teamId:e}),this.getId=t}debouncedFetch(e,t){let a=new Set,r=[];e.forEach(e=>{let t=this.activePromisesById[e];t?a.add(t):r.push(e)});let i=[];if(r.length){let e=t(r).catch(e=>(i.push(e),[]));a.add(e),r.forEach(t=>{this.activePromisesById[t]=e})}return n.S.all(Array.from(a)).then(t=>{let a={};return t.flat().forEach(e=>{a[this.getId(e)]=e}),e.map(e=>a[e]??null)}).then(e=>{if(!e.find(e=>e)&&i.length)throw i[0];return i.forEach(e=>{this.logger.error(e)}),e}).finally(()=>{e.forEach(e=>{let t=this.activePromisesById[e];a.has(t)&&delete this.activePromisesById[e]})})}}},0x23cae8190:(e,t,a)=>{"use strict";a.d(t,{A:()=>formatMessageTimestamp,h:()=>getFormattedMessageTimestamp});let n=/^p?(\d{10})\.?(\d{6})$/;function formatMessageTimestamp(e){return e&&n.test(e)?e.replace(n,"$1.$2"):null}function getFormattedMessageTimestamp(e=Date.now()){return e?formatMessageTimestamp(String((e/1e3).toFixed(6))):null}},0x3f9b1657:(e,t,a)=>{"use strict";a.d(t,{A:()=>formatChannelName});let n=new(a(0x20482ad21)).Ay("message");function formatChannelName({channelName:e,fallbackName:t,includePrefix:a=!0,isUnknown:r=!1,isNonExistent:i=!1}){let o="";return o=i?t||n.t("unknown-channel"):r?n.t("unknown-channel"):e?e||"":t?t||"":n.t("unknown-channel"),a&&(o=`#${o}`),o}},0xc39d85ac:(e,t,a)=>{"use strict";a.d(t,{k:()=>formatUserGroupHandle});let n=new(a(0x20482ad21)).Ay("message");function formatUserGroupHandle({userGroupHandle:e,fallbackHandle:t,includePrefix:a=!0,isUnknown:r=!1,isNonExistent:i=!1}){let o,s=n.t("unknown-group");return(o=i?t||s:r?s:e||t)?("@"===o.charAt(0)&&(o=o.substr(1)),a&&(o=`@${o}`),o):""}},0x22a75d737:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>locateHighlightWords,fw:()=>locateRichTextHighlightWords,pV:()=>addHighlightMarkersToString});var n=a(0x3cf0f641),r=a(0xe1870af4),i=a(0x17294c72a),o=a(0x2f3077a8),s=a(0x1aba66b56),l=a(0x1e93512b3),c=a(0x1595bdd0),d=a(0xe2e5f9b1),u=a(0x1d270d817),m=a(0x5739d664),f=a(0x16728c81d),_=a(0x1c1e8557c),p=a(0x2afd3d78),h=a(0x108d007e0),g=a(0x1706ebf53);a(0x3ed00af5);let A=/[\p{N}\p{M}\p{L}a-z0-9]/u,b=/@[^\s]*$/,y=/<[^>]*$/,S=/^[^<]*>/,E=/^\s*$/;function isValidPrefix(e){return!A.test(e)||!!(0,d.A)(e)}function isValidSuffix(e){return!A.test(e)||!!(0,d.A)(e)}function isIndexInMention(e,t){let a=e.slice(0,t);return b.test(a)}function isIndexInAngleBrackets(e,t,a){let n=e.slice(0,t);if(!y.test(n))return!1;let r=e.slice(t+a.length);return!!S.test(r)}function isPartOfHtmlEntity(e,t,a){return"&"===t&&(";"===a||(0,n.A)(e,";"))}function isMatch(e,t,a,n,r=!1){let i=t.charAt(0),o=t.charAt(t.length-1),s=(0,d.A)(i)&&(0,d.A)(o);if(n[a]||isIndexInMention(e,a)||!r&&isIndexInAngleBrackets(e,a,t))return!1;let l=e.charAt(a-1),c=e.charAt(a+t.length);return!isPartOfHtmlEntity(t,l,c)&&(!!isValidPrefix(l)||!!s)&&(!!isValidSuffix(c)||!!s)}function sortHighlights(e){return(0,r.A)(e,"length","desc")}function combineOverlappingMatches(e){let t=(0,i.A)(e,"index"),a=0;for(;a<t.length-1;){let e=t[a],n=t[a+1],r=e.index+e.length;(0,o.A)(n.index,e.index,r)?(e.length+=n.length-(r-n.index),t.splice(a+1,1)):a+=1}return t}function addKanaNormalizedHighlightVariants(e){return e.forEach(t=>{let a=(0,u.A)(t),n=(0,u.G)(t);(0,s.A)(e,a)||e.push(a),(0,s.A)(e,n)||e.push(n)}),e}function normalizeText(e){return e?e.toLowerCase().replace(/[\u2018|\u2019]/g,"'").replace(/[\u201c|\u201d]/g,'"'):e}let k=(0,m.A)((e,t)=>addKanaNormalizedHighlightVariants(t?e.map(e=>(0,l.A)(normalizeText(e))):e.map(e=>normalizeText(e)))),T=(0,m.A)(e=>sortHighlights(addKanaNormalizedHighlightVariants((0,c.A)(e.map(e=>E.test(e)?null:e)).map(e=>normalizeText(e)))));function locateRichTextHighlightWords(e,t=[]){if(!e||!t||!t.length)return[];let a=T(t),n=[],r="";function processChunk(e){(0,g.P)(e)?r+=e.text:(0,f.f)(e)?(-1!==a.indexOf(normalizeText(e.value))&&n.push({index:r.length,length:1}),r+=" "):(0,p._)(e)?r+=e.text||e.url:((0,_.E2)(e)&&-1!==a.indexOf(e.skin_tone?`:${e.name}::skin-tone-${e.skin_tone}:`:`:${e.name}:`)&&n.push({index:r.length,length:1}),r+=" ")}e.elements.forEach(e=>{(0,h.C)(e)&&e?.elements?.length?e.elements.forEach(e=>{e?.elements?.forEach(e=>{processChunk(e)}),r+=`
`}):e?.elements?.length&&(e.elements.forEach(e=>{processChunk(e)}),r+=`
`)}),r=normalizeText(r);let i={};return a.forEach(e=>{let t=r.indexOf(e);for(;-1!==t;){if(isMatch(r,e,t,i,!0)){let a=e.length;for(let e=0;e<a;e++)i[t+e]=!0;n.push({index:t,length:a})}t=r.indexOf(e,t+1)}}),combineOverlappingMatches(n)}function addHighlightMarkersToString({text:e="",highlights:t=[],inputIsEscaped:a=!1}){if(!e)return"";if(!t||!t.length)return e;let n=locateHighlightWords(e,t,a);if(!n.length)return e;let r=[],i=0;return n.forEach(({index:t,length:a})=>{r.push(e.slice(i,t)),r.push(`\ue000${e.slice(t,t+a)}\ue001`),i=t+a}),i!==e.length&&r.push(e.slice(i)),r.join("")}function locateHighlightWords(e,t=[],a=!0){if(!e||!t||!t.length)return[];let n={},r=normalizeText(e);return combineOverlappingMatches(sortHighlights(k(t,a)).reduce((e,t)=>{if(E.test(t))return e;let a=r.indexOf(t);for(;-1!==a;){if(isMatch(r,t,a,n,!1)){let r=t.length;for(let e=0;e<r;e++)n[a+e]=!0;e.push({index:a,length:r})}a=r.indexOf(t,a+1)}return e},[]))}},0x47119420:(e,t,a)=>{"use strict";a.d(t,{A:()=>messageTextToPlainText});var n=a(0x82980ab8),r=a(0x2174d91c0),i=a(0x2048e7b71),o=a(0x217553e42),s=a(0xe684f705);function messageTextToPlainText(e,t){if(!t)return"";let a=(0,i.sm)(t,"EDIT",{jumbomoji:!1,allow_intra_word_formatting:!1});return(0,r.A)(a).map(t=>{if("member"===t.type){let a=(0,s.nv)(e,t.id),r=(0,n.Gt)(a);return`@${r||t.id}`}if("channel"===t.type){let a=(0,o.OL)(e,t.id),n=a?a.name:"";return`#${n}`}if("command"===t.type){if("here"===t.data.type||"channel"===t.data.type||"everyone"===t.data.type||"group"===t.data.type)return`@${t.data.type}`;if("date"===t.data.type||"subteam"===t.data.type)return t.data.label}return t.text?t.text:""}).join("")}},0x8fe25a72:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0xec9d0658),r=a(0x1e4ae349d);let __WEBPACK_DEFAULT_EXPORT__=(e,{messageText:t,teamId:a}={})=>{if(!t||!a)return"";let i=(0,n.A)();return t.replace(i,t=>{let n=(0,r.Zc)(e,{text:t,teamId:a});return n||t})}},0x2174d91c0:(e,t,a)=>{"use strict";a.d(t,{A:()=>tokensToMessageContent});var n=a(0x21f3c49e8),r=a(0x80c0d323),i=a(0xa560007e),o=a(0x3c9eceea);function tokenParts(e){let[t,a]=e.slice(2,-1).split("|"),[n,...r]=t.split("^");return{type:n,label:a,args:r}}function parseCommandToken(e){if(!(0,i.A)(e,"<!"))return;let{type:t,label:a,args:n}=tokenParts(e);if("group"===t||(0,o.S)(t))return{type:t};if("subteam"===t){let[e]=n;return{type:t,label:a,id:e}}if("date"===t){let[e,r,i]=n;return{type:t,label:a,ts:e,format:r,link:i}}if("salesforce_data_field"===t){let[e,a,r]=n;return{type:t,salesforceRecordId:e,salesforceFieldApiName:a,salesforceFieldLabel:r}}return{type:"unknown"}}var s=a(0xe67fcf33);let l={[r.l.BOLD_START]:r.l.BOLD_END,[r.l.ITALIC_START]:r.l.ITALIC_END,[r.l.CODE_START]:r.l.CODE_END,[r.l.STRIKE_START]:r.l.STRIKE_END,[r.l.PRE_START]:r.l.PRE_END,[r.l.QUOTE_START]:r.l.QUOTE_END},c={[r.l.BOLD_END]:r.l.BOLD_START,[r.l.ITALIC_END]:r.l.ITALIC_START,[r.l.CODE_END]:r.l.CODE_START,[r.l.STRIKE_END]:r.l.STRIKE_START,[r.l.PRE_END]:r.l.PRE_START,[r.l.QUOTE_END]:r.l.QUOTE_START};var d=a(0x1ec68d6a3);let u={[r.l.BOLD_START]:{type:r.r.BOLD,endToken:r.l.BOLD_END},[r.l.ITALIC_START]:{type:r.r.ITALIC,endToken:r.l.ITALIC_END},[r.l.STRIKE_START]:{type:r.r.STRIKE,endToken:r.l.STRIKE_END},[r.l.CODE_START]:{type:r.r.CODE,endToken:r.l.CODE_END},[r.l.QUOTE_START]:{type:r.r.QUOTE,endToken:r.l.QUOTE_END},[r.l.PRE_START]:{type:r.r.PRE,endToken:r.l.PRE_END},[r.l.QUOTE_PREFIX]:{type:r.r.QUOTE_PREFIX},[r.l.LONGQUOTE_PREFIX]:{type:r.r.LONGQUOTE_PREFIX},[r.l.LINE_BREAK]:{type:r.r.LINE_BREAK},[r.l.PARA_BREAK]:{type:r.r.PARA_BREAK},[r.l.SPACE_HARD]:{type:r.r.SPACE_HARD},[r.l.HIGHLIGHT_START]:{type:r.r.HIGHLIGHT,endToken:r.l.HIGHLIGHT_END}};function tokenStartsWith(e,t){return 0===e.indexOf(t.substr(0,t.length-1))}function sumContentsLength(e){return e.reduce((e,t)=>(t.contents&&(e+=sumContentsLength(t.contents)+1),e+1),0)}function processTokensUntil(e,t){let a=[];for(let n=0;n<e.length;n+=1){let i=e[n];if(i===t)break;if(Object.prototype.hasOwnProperty.call(u,i)){let{type:t,endToken:r}=u[i],o={type:t};r&&(o.contents=processTokensUntil(e.slice(n+1),r),n+=sumContentsLength(o.contents)+1),a.push(o)}else if(0===i.indexOf("<"))if(tokenStartsWith(i,r.l.LINK_START)){let t={type:r.r.LINK,contents:processTokensUntil(e.slice(n+1),r.l.LINK_END),url:i.slice(12,-1)};a.push(t),n+=sumContentsLength(t.contents)+1}else if(0===i.indexOf("<!")){let e=parseCommandToken(i);a.push({type:r.r.COMMAND,data:e,token:i,fallback:i.slice(2,-1)})}else if(0===i.indexOf("<@")){let[e,t]=i.slice(2,-1).split("|");a.push({type:r.r.MEMBER,id:e,fallback:t})}else if(0===i.indexOf("<#")){let[e,t]=i.slice(2,-1).split("|");a.push({type:r.r.CHANNEL,id:e,name:t})}else tokenStartsWith(i,r.l.EMOJI_COLONS)?a.push({type:r.r.EMOJI,name:i.slice(14,-1)}):tokenStartsWith(i,r.l.JUMBOMOJI_COLONS)?a.push({type:r.r.JUMBOEMOJI,name:i.slice(18,-1)}):tokenStartsWith(i,r.l.HEX_BLOCK)?a.push({type:r.r.HEX,color:i.slice(11,-1)}):(a.push({type:r.r.UNKNOWN,token:i}),(0,d.getGenericLogger)().warn("tokensToMessageContent: Failed to handle token",i));else a.push({text:i})}return a}function tokensToMessageContent(e){return(0,n.A)(e)?[]:processTokensUntil((e=>{let t=e.slice(),a=[];for(let e=0;e<t.length;e++){let n=t[e];if((0,s.A)(l,n))a.push(n);else if((0,s.A)(c,n)){let r=c[n],i=a.lastIndexOf(r),o=a.slice(i+1);a.splice(i,1),o.slice().reverse().forEach(a=>{let n=l[a];t.splice(e,0,n),e+=1}),o.forEach(a=>{t.splice(e+1,0,a),e+=1})}}return t})(e))}},0x2048e7b71:(e,t,a)=>{"use strict";a.d(t,{Ki:()=>i,kW:()=>r,sm:()=>o,wx:()=>s});var n=a(0x2450db4ad);let r=n.TSF.replaceFormatContents,i=n.TSF.swapOutPlaceholders,o=n.TSF.getTokensArray,s=n.TSF.getTokensString},0x1cf3909ab:(e,t,a)=>{"use strict";function generateKeyBetween(e,t,a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=10){if(null!==e&&validateOrderKey(e,a,n),null!==t&&validateOrderKey(t,a,n),null!==e&&null!==t&&e>=t)throw Error(`${e} >= ${t}`);if(null===e){if(null===t)return formatInteger(5*10**(n-1),n);let e=getIntegerPart(t,n);return e.toString()<t&&""!==t.slice(n+1)?formatInteger(e,n):formatInteger(e-1,n)}if(null===t)return formatInteger(getIntegerPart(e,n)+1,n);let r=getIntegerPart(e,n),i=getIntegerPart(t,n),o=e.slice(n+1),s=t.slice(n+1);if(r===i){let e=midpoint(o,s,a);return`${formatInteger(r,n)}.${e}`}let l=Math.floor((r+i)/2);if(l>r&&l<i)return formatInteger(l,n);let c=midpoint(o,null,a);return`${formatInteger(r,n)}.${c}`}function midpoint(e,t,a){let n=a[0];if(null!==t&&e>=t)throw Error(`${e} >= ${t}`);if(e.slice(-1)===n||t&&t.slice(-1)===n)throw Error("trailing zero");if(t){let r=0;for(;(e[r]||n)===t[r];)r+=1;if(r>0)return t.slice(0,r)+midpoint(e.slice(r),t.slice(r),a)}let r=e?a.indexOf(e[0]):0,i=null!==t?a.indexOf(t[0]):a.length;return i-r>1?a[Math.round(.5*(r+i))]:t&&t.length>1?t.slice(0,1):a[r]+midpoint(e.slice(1),null,a)}function getIntegerPart(e,t){return Number(e.slice(0,t))}function formatInteger(e,t){if(e>=10**t)throw Error(`Integer overflow at ${e} for fixed length ${t}`);if(e<0)throw Error(`Integer underflow at ${e} for fixed length ${t}`);return e.toString().padStart(t,"0")}function validateIntegerLength(e,t){let a=e.length;if(a<t)throw Error("Invalid integer portion, length too short");if(a===t){let a=e.indexOf(".");if(a>=0)throw Error(`Unexpected . at position ${a} in string of exact length ${t}`);if(isNaN(Number(e)))throw Error(`Invalid integer portion - not a valid integer ${e}`)}else if("."!==e[t])throw Error(`Expected . after int_fixed length ${t} and got ${e[t]}`)}function validateOrderKey(e,t,a){if(validateIntegerLength(e,a),a!==e.length&&e.slice(a).endsWith(t[0]))throw Error(`Fractional portion must not end with ${t[0]}`)}a.d(t,{TU:()=>generateKeyBetween})},0x12c5e193e:(e,t,a)=>{"use strict";a.d(t,{FL:()=>getPersistedRecommendedBuildVersion,RY:()=>shouldAllowReloadForRetractedBuild});var n=a(0x19efc8b50),r=a(0x1daf4b9c),i=a(0x33eab26c),o=a(0x1ec68d6a3),s=a(0x12e383cfb);let l="recommendedBuildVersion",c="dontRefreshForRetractedBuildBeforeTs";function storeClientRecommendedBuildVersionInSessionStorage(e){sessionStorage.setItem(l,e.toString())}function storeDontRefreshUntilTsInSessionStorage(e){sessionStorage.setItem(c,e.toString())}function getPersistedRecommendedBuildVersion(){return getPersistedIntValue(l)}function getPersistedDontRefreshUntilTs(){return getPersistedIntValue(c)}function getPersistedIntValue(e){let t=sessionStorage.getItem(e);if(null!==t)return(0,i.o)(t)}function reportMetrics({allowReload:e,reason:t}){let a="retracted_build_should_reload",n=(0,s.F)(),r=n.createMetricsTrace({label:a});r.count({name:`${a}:${e?"allow_reload":"prevent_reload"}:${t}`}),n.reportTrace(r)}function shouldAllowReloadForRetractedBuild(e){let t=(0,o.getGenericLogger)({label:"FE-RETRACTED_BUILD"});if(!e)return t.error(Error("Preventing retracted build reload because we don't have recommendedBuildVersion")),!1;if(!(0,r.A)())return t.error(Error("Allowing retracted build reload in non-gantry context")),!0;let a=getPersistedRecommendedBuildVersion(),i=getPersistedDontRefreshUntilTs(),s=parseInt((0,n.P2)(),10);return i&&Date.now()>i?(reportMetrics({allowReload:!0,reason:"reload_delayed"}),t.info("Allowing retracted build reload because we have blocked retracted build reloads for the last 1800000 MS and the shouldReload APIs are still returning true"),storeClientRecommendedBuildVersionInSessionStorage(e),sessionStorage.removeItem(c),!0):a?a!==e&&s!==e?(reportMetrics({allowReload:!0,reason:"new_recommended_build"}),t.info("Allowing retracted build reload because we have a new recommended build"),storeClientRecommendedBuildVersionInSessionStorage(e),!0):(reportMetrics({allowReload:!1,reason:"reloaded_recently"}),i||storeDontRefreshUntilTsInSessionStorage(Date.now()+18e5),t.info(`PREVENTING retracted build reload because we just did a reload due to a retracted build and still got a version (${e}) equal to the version we just tried to reload (${a})`),!1):(reportMetrics({allowReload:!0,reason:"no_persisted_recommended_build_version"}),t.info("Allowing retracted build reload because we have not recently reloaded due to a retracted build"),storeClientRecommendedBuildVersionInSessionStorage(e),!0)}},0x547f8f7a:(e,t,a)=>{"use strict";a.d(t,{Ax:()=>isFromPricingToCheckoutViaCreate,Ib:()=>isFromPricingToCheckout,JE:()=>isBuyingPlus,Mh:()=>isBuyingStandard,V6:()=>isBuyingAnnualPlan,tG:()=>r,yo:()=>isFreeCTAFromPricingPage});var n=a(0x12c020c3);let r={Free:"free",ProMonthly:"std_m",ProAnnually:"std_y",BizPlusMonthly:"plus_m",BizPlusAnnually:"plus_y"},isBuyingStandard=()=>{let{p:e}=(0,n.qN)(window.location.href);return[r.ProMonthly,r.ProAnnually].includes(e)},isFromPricingToCheckout=()=>{let{entry_point:e}=(0,n.qN)(window.location.href);return"pricing_page"===e&&(isBuyingStandard()||isBuyingPlus())},isFreeCTAFromPricingPage=()=>{let{entry_point:e,p:t}=(0,n.qN)(window.location.href);return"pricing_page"===e&&t===r.Free},isFromPricingToCheckoutViaCreate=()=>isFromPricingToCheckout()&&"create"===(0,n.qN)(window.location.href).from;function isBuyingPlus(){let{p:e}=(0,n.qN)(window.location.href);return[r.BizPlusMonthly,r.BizPlusAnnually].includes(e)}function isBuyingAnnualPlan(){let{p:e}=(0,n.qN)(window.location.href);return[r.ProAnnually,r.BizPlusAnnually].includes(e)}},0xff89300f:(e,t,a)=>{"use strict";a.d(t,{u:()=>r});var n,r=((n={}).SINGLE_CHANNEL_CLIENT="single-channel-client",n.DRYDOCK="drydock",n.HUDDLE_GUEST="huddle-guest",n.FR_ENDS="fr-ends",n.UI="ui",n.SONIC="client",n.CALLS="calls",n.DOCS="docs",n.WORKFLOW_BUILDER="workflow-builder",n.ACCEPT_SLACK_CONNECT_INVITATION="accept-slack-connect-invitation",n.PLANS="plans",n.APP_POPOUTS="app-popouts",n.APP_SETTINGS="app-settings",n.EDU_KIT="edu-kit",n.APPS_MANAGE="apps-manage",n.PRODUCT_UI_GENERATOR="product-ui-generator",n.SETTINGS="app-settings",n.FREE_WILLY="free-willy",n.TABLES="tables",n.MANAGE="manage",n.BLOCK_KIT_BUILDER="block-kit-builder",n.QUIP="quip",n.CLIENT_V2="client-v2",n.SK_LANDING="sk-landing",n.HUBBLE="hubble",n.GONTRY_TEST="gontry-test",n)},0x1d30b0ef7:(e,t,a)=>{"use strict";a.d(t,{a8:()=>getAppBasePath,fj:()=>r.f,ii:()=>isEnterpriseAppContext,qS:()=>canHaveBothTeamAndEnterpriseIdInRoute,xq:()=>n.x,yS:()=>n.y});var n=a(0x21f86bc69),r=a(0x2469fa0ad),i=a(0xbf8832f0),o=a(0x2264e6ea3),s=a(0xff89300f);let isEnterpriseAppContext=()=>(0,n.x)()===n.y.ENTERPRISE||(0,n.x)()===n.y.ANY&&(0,o.JV)((0,i.oI)()),getAppBasePath=({appName:e=(0,r.f)()}={})=>`/${e}`,l=new Set([s.u.MANAGE]),canHaveBothTeamAndEnterpriseIdInRoute=()=>{let e=(0,r.f)();return e&&l.has(e)}},0x1a769a9e8:(e,t,a)=>{"use strict";a.d(t,{A:()=>getAppIcon,i:()=>l});var n=a(0xe1870af4),r=a(0x1595bdd0),i=a(0x20ef3966f),o=a(0x77727995),s=a(0x121a6a424);let l=a(0x1d28f25fa);function getAvailableIconSizes(e){return e&&e.icons?(0,n.A)((0,r.A)((0,i.A)(e.icons,(e,t)=>{let a=t.replace("image_","");return parseInt(a=a.replace("image",""),10)})),[],"desc"):[]}function getAppIcon(e,t,a=l,n="icons.image_"){let r=(0,s.A)(t,getAvailableIconSizes(e)),i=(0,o.A)(e,`${n}${r}`)||(0,o.A)(e,`${n}_${r}`),c=(0,o.A)(e,`icons.image${r}`,a);return i??c}},0x10810e34f:(e,t,a)=>{"use strict";a.d(t,{f:()=>getFocusedWindowId});var n=a(0xe822f938);function getFocusedWindowId(e){let t=(0,n._I)(e);if(t)return t.find(t=>(0,n.ko)(e,t))}},0x220919c38:(e,t,a)=>{"use strict";a.d(t,{t:()=>getFormData});var n=a(0xd6ba6894),r=a(0x1ec68d6a3);let i="skip_simple_array_serialization_in_get_form_data";function logDeprecatedFormEncodingError(e,t,a){(0,r.getGenericLogger)().error(Error(`deprecated-form-encoding: ${e}, method: ${t}, key: ${a}`))}function getFormData(e,t,a=n.J){if(!e)return;let r=Object.keys(e);if(0===r.length)return;let o=new FormData,s=!0!==e[i];return r.forEach(n=>{if(n===i)return;let r=e[n];if(null!=r){if(Array.isArray(r)&&s){if(r.length>0&&r.every(e=>e instanceof a.self.Blob))return void r.forEach(e=>o.append(`${n}[]`,e));if(r.every(e=>null==e||"object"!=typeof e||e.toString!==Object.prototype.toString)){r.some(e=>"string"!=typeof e)&&(r.every(e=>null==e||"string"==typeof e)?logDeprecatedFormEncodingError("nullable string array",t,n):logDeprecatedFormEncodingError("exotic non-string array",t,n)),o.append(n,r);return}}r instanceof a.self.Blob?o.append(n,r):r instanceof Date?(o.append(n,r),logDeprecatedFormEncodingError("Date",t,n)):"object"==typeof r?o.append(n,JSON.stringify(r)):o.append(n,r)}}),o}},0x121a6a424:(e,t,a)=>{"use strict";a.d(t,{A:()=>getIconSizeToFit});var n=a(0x1ee15af19),r=a(0x20bafd237),i=a(0x18f2150ea);let o=[1024,512,192,72,48,32,24];function getIconSizeToFit(e,t=o){let a=t.slice().sort((e,t)=>t-e),s=(0,n.A)(a),l=(0,r.A)(a);if(!e||(0,i.A)(l)&&(!e||e<=l))return l;if((0,i.A)(s)&&e>=s)return s;let c=s;for(let t=0;t<a.length;t+=1)a[t]>=e&&(c=a[t]);return c}},0x235ff1eab:(e,t,a)=>{"use strict";a.d(t,{Ac:()=>getAnimatedImgUrl,Ay:()=>getImgProxyUrl,lF:()=>isImageAnimated});var n=a(0x1aba66b56),r=a(0x20b4dda68),i=a(0x132667dd4),o=a(0x12aa0728d),s=a(0xa1832ae4),l=a(0x1ccef1c6f),c=a(0x1ee439e69);function getImgProxyUrl(e,{url:t,width:a,height:d,rotate:u,renderSvg:m,stopAnimations:f,sizeForRetina:_,convertIco:p,isEmoji:h}={}){let g,A,b;if(!t)return null;let y=(0,s.Uz)((0,c.H7)(e));if(!y||0===t.indexOf(y)||0===t.indexOf("/img/"))return t;if(0===t.indexOf("https://")&&!h){let e=(0,o.yz)(t,!0),a=(0,i.QL)();if((0,n.A)(a,e)){if(f&&"slack-imgs.com"===e){let e=new URL(t),a=e.searchParams.has("o1")?`${e.searchParams.get("o1")}.gu`:"gu";return e.searchParams.set("o1",a),e.href}return t}}let S=new URL(y);S.searchParams.set("c",r.lW);let{width:E,height:k}=a&&d?(g=_?2*a:a,A=_?2*d:d,b=g>r.QI||A>r.Jo?Math.min(r.QI/g,r.Jo/A):1,{width:Math.floor(g*b),height:Math.floor(A*b)}):{},T=[];return E&&k&&(T.push(`wi${E}`),T.push(`he${k}`),T.push("si")),u&&T.push("ro"),m&&T.push("sv2"),(f||!(0,l.ty)(e,"a11y_animations"))&&T.push("gu"),p&&T.push("ip"),T.length&&S.searchParams.set("o1",T.join(".")),S.searchParams.set("url",t),S.href}let isImageAnimated=async e=>{try{let t=new URL(e);return!!(await fetch(`https://${t.hostname}/?url=${t.searchParams.get("url")}`,{method:"HEAD",mode:"cors"})).headers.get("x-slack-animated")}catch{}return!1},getAnimatedImgUrl=e=>e.replace(".gu","")},0x2119ca8c5:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i});var n=a(0x2231c0f3f),r=a(0x14149c126);let i=(0,n.A)(e=>"treatment"===(0,r._Z)(e,"selector_memo"))},0x1ec68d6a3:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>getLogger,getGenericLogger:()=>i.Wo,test:()=>f});var n=a(0x13d856742),r=a(0x4f6e90b4),i=a(0xf8dd7f80),o=a(0x2264e6ea3);function getTeamOrEnterpriseIdObject(e){return(0,o.Ay)(e)?{teamId:e}:(0,o.JV)(e)?{enterpriseId:e}:{}}var s=a(0x9b971e7e),l=a(0x1266f1359),c=a(0x19c76d181);let d=makeLogger({teamOrEnterpriseId:i.Ze,errorWithBeacon:i.Cf}),u={},m=new Map;function getTeamIdFromLoggingContext(e){if(e.teamId)return e.teamId;if(e.state)return(0,s.ZT)(e.state);if(e.getState){let t=e.getState();return(0,s.ZT)(t)}}function getEnterpriseIdFromLoggingContext(e){if(e.enterpriseId)return e.enterpriseId;if(e.state)return(0,s.jV)(e.state);if(e.getState){let t=e.getState();return(0,s.jV)(t)}}function getStateByTeamOrEnterpriseId(e){let t=(0,l.jp)(e);if(!t&&e&&"E"===e[0]){let a=`T${e.slice(1)}`;t=(0,l.oK)(a)}return t&&t.getState()}function makeLogger({teamOrEnterpriseId:e,errorWithBeacon:t}){let a=(0,i.Rp)(e);return{teamOrEnterpriseId:e===i.Ze?void 0:e,action:(...e)=>(0,n.XI)(...(0,i.MH)(a,e)),debug:(...e)=>(0,n.Yz)(...(0,i.MH)(a,e)),error:t,info:(...e)=>(0,n.pq)(...(0,i.MH)(a,e)),warn:(...e)=>(0,n.R8)(...(0,i.MH)(a,e)),timeStamp:(...e)=>(0,n.ln)(...(0,i.MH)(a,e)),devHint:(...e)=>(0,n.H1)(...(0,i.MH)(a,e))}}function getLogger(e){var t;let a,n=e?.teamOrEnterpriseId;if(!n){let t,a;try{t=getTeamIdFromLoggingContext(e),a=getEnterpriseIdFromLoggingContext(e)}catch{}n=t??a,a&&t&&a.slice(1)===t.slice(1)&&(n=a)}if(!n)return d;u[n]||(u[n]=(t=n,a=(0,i.tj)({teamOrEnterpriseId:t,getContext:()=>{let e=getStateByTeamOrEnterpriseId(t),a=(0,c.WR)(e),{teamId:n,enterpriseId:r}=getTeamOrEnterpriseIdObject(t);return{userId:a,teamId:n,enterpriseId:r}}}),makeLogger({teamOrEnterpriseId:t,errorWithBeacon:a})));let r=u[n];if(e&&e.label){let t=e.label,a=m.get(r);return a||(a={},m.set(r,a)),a[t]||(a[t]={teamOrEnterpriseId:n===i.Ze?void 0:n,action:(e,...a)=>r.action(t,e,...a),debug:(...e)=>r.debug(t,...e),error:(...e)=>r.error(t,...e),info:(...e)=>r.info(t,...e),warn:(...e)=>r.warn(t,...e),timeStamp:(...e)=>r.timeStamp(t,...e),devHint:(...e)=>r.devHint(t,...e)}),a[t]}return r}let f={};Object.defineProperty(f,"labelledLoggers",{get:()=>m,set:e=>{m=e}}),Object.defineProperty(f,"loggers",{get:()=>u,set:e=>{u=e}}),(0,r.zv)("getLogger",()=>getLogger)},0x10b52336d:(e,t,a)=>{"use strict";a.d(t,{$G:()=>o,Bk:()=>s,Gp:()=>getDmArrivalSoundViaUserPref,pU:()=>getDmSentSoundViaUserPref,uO:()=>i});var n=a(0x2136fcd50),r=a(0x1ccef1c6f);let i=n.t.ITEM_PICKUP,o=n.t.COMPLETE_QUEST_REQUIREMENT,s="none",getDmSentSoundViaUserPref=e=>{let t=(0,r.ty)(e,"a11y_play_sound_for_sent_dm_choice");return t||((0,r.ty)(e,"a11y_play_sound_for_sent_dm")?i:s)},getDmArrivalSoundViaUserPref=e=>{let t=(0,r.ty)(e,"a11y_play_sound_for_incoming_dm_choice");return t||((0,r.ty)(e,"a11y_play_sound_for_incoming_dm")?o:s)}},0x1d43eb6d7:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>getQuipLogger,Tc:()=>m,ph:()=>_,pm:()=>setDidRenderForTeamOrEnterpriseId});var n=a(0xca924ee1),r=a(0x22480f425),i=a(0x2264e6ea3),o=a(0x1ec68d6a3),s=a(0x9b971e7e),l=a(0x33d4dc43),c=a(0x1266f1359);let d={},setDidRenderForTeamOrEnterpriseId=e=>{d[e]=!0},u="QUIP",m="quip",f=Symbol("quip_subtype_error");function getTopLevelTeamIdFromLogger({teamOrEnterpriseId:e}){if(e&&!(0,i.JV)(e)){let t=(0,c.oK)(e);return t&&(0,s.Kc)(t.getState())||e}return e}function wrapLoggerWithErrorSubtype(e){let t=e?.error;if(t&&!t[f]){let{teamOrEnterpriseId:a}=e,n=getTopLevelTeamIdFromLogger(e),error=(...r)=>{let i=a&&(0,c.oK)(a);return i?(i.dispatch((0,l.T)())?.then(a=>{if(!a){e?.warn("User is unauthed"),e?.warn(...r);return}n&&!d[n]?t("[CollabInit]",...r,{subtype:m}):t(...r,{subtype:m})}),r[0]):t(...r,{subtype:m})};error[f]=!0,e.error=((e,t)=>{if((0,r.A)()&&e?.hasOwnProperty("mock")){let e=jest.fn(t);return e[f]=!0,e}return t})(t,error)}return e}function getQuipLogger(e){return wrapLoggerWithErrorSubtype((0,o.default)({label:u,...e}))}let _=(0,n.A)(()=>wrapLoggerWithErrorSubtype((0,o.getGenericLogger)({label:u})))},0x3ed00af5:(e,t,a)=>{"use strict";a.d(t,{A:()=>getStringLength});var n=a(0x12b0b3dbd),r=a.n(n),i=a(0xb77a689a);let o=new(r());function getStringLength(e){return(0,i.A)(e)?o.countGraphemes(e):0}},0x11439744b:(e,t,a)=>{"use strict";let n;a.d(t,{rh:()=>getGenericTelemeter,Ou:()=>getNoopTelemeter,Cv:()=>getNotificationsTelemeter,Cy:()=>getTelemeter});var r=a(0x190e60a66),i=a(0x4f6e90b4),o=a(0x18dac2b8e),s=a(0x2469fa0ad),l=a(0x8c8bafa3),c=a(0x19efc8b50),d=a(0x1914b45dc),u=a(0x22480f425),m=a(0x574b0409),f=a(0x5a5c86cb),_=a(0x19b3ba9fd),p=a(0x318bb66b),h=a(0x45a2e30),g=a(0xd35ac109),A=a(0xb6348859),b=a(0x1ec68d6a3);let y=["navigationStart","unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","domLoading","domComplete","domContentLoadedEventStart","domContentLoadedEventEnd","domInteractive"],S=[...y,"start_load"],E=[["redirect","redirectStart","redirectEnd"],["app_cache","fetchStart","domainLookupStart"],["dns","domainLookupStart","domainLookupEnd"],["tcp","connectStart","connectEnd"],["secure_tcp","secureConnectionStart","connectEnd"],["request","requestStart","responseStart"],["response","responseStart","responseEnd"],["processed","domLoading","domComplete"],["parsed","domLoading","domInteractive"],["ready","domInteractive","domComplete"],["scripts_executed","domContentLoadedEventStart","domContentLoadedEventEnd"]],k=(0,b.getGenericLogger)();let Telemeter=class Telemeter{userId;teamId;enterpriseId;teamSize;versionTs;endpointUrl;subAppName;recordedMetrics={};sessionId=A.O;createLabelName(e){return S.includes(e)?e:this.teamId?`${e}_${this.teamId}`:e}recordMetric(e,t){this.recordedMetrics[e]||(this.recordedMetrics[e]=[]),this.recordedMetrics[e].push(t)}emptyMetrics(){this.recordedMetrics={}}getRecordedMetrics(){return this.recordedMetrics}mark(e){window.performance&&window.performance.mark&&performance.mark(this.createLabelName(e))}getLatestMark(e){if(!window.performance||!window.performance.mark)return!1;let t=performance.getEntriesByName(this.createLabelName(e));return 0!==t.length&&t[t.length-1]}clearMarks(e){window.performance&&window.performance.mark&&performance.clearMarks(e?this.createLabelName(e):void 0)}clearMeasures(e){window.performance&&window.performance.mark&&performance.clearMeasures(e?this.createLabelName(e):void 0)}store(e,t,a={}){let n,formatReturn=(e,t)=>a.return_unprocessed?{processed:e,unprocessed:t}:e,r=t,i="timing";return(a.allow_zero?t<0:t<=0)&&!a.allow_negative||(a.in_seconds?(r=Math.round(r/1e3),n=" seconds"):a.in_microseconds?(r*=1e3,n="\xb5s"):a.is_count?(r=Math.round(r),n=" (count)",i="count"):(r=(0,h.m5)(r),n="ms"),a.ephemeral||this.recordMetric(`${e}|${i}`,r),k.debug("TIMING",`${e}|${i}: ${t}${n} ${a.ephemeral?"(ephemeral)":""}`)),formatReturn(r,t)}count(e,t=1){this.store(e,t,{is_count:!0})}measure(e,t,a,n){if(!window.performance||!window.performance.mark)return!1;let r=a,i=!1,o=t||e;r||(i=!0,r=`${o}__${e}_end`,performance.mark(this.createLabelName(r)));let s=`${o}_measure`;try{performance.measure(this.createLabelName(s),this.createLabelName(e),this.createLabelName(r))}catch{return k.warn(`Couldn't complete metrics measurement for start mark '${e}'`),!1}let l=this.getLatestMark(s);if(!1===l)return!1;let c=this.store(o,l.duration,n);return this.clearMeasures(s),i&&this.clearMarks(r),c}measureAndClear(e,t,a,n){let r=this.measure(e,t,a,n);return this.clearMarks(e),r}logPerfTimingSections(){if(!window.performance||!window.performance.timing)return;let e=performance.timing;y.forEach(t=>{let a=e[t]-e.navigationStart;a&&this.store(`pt_${t}`,a,{allow_zero:!0})}),E.forEach(t=>{e[t[2]]&&e[t[1]]&&this.store(`pt_section_${t[0]}`,e[t[2]]-e[t[1]],{allow_zero:!0})})}addExperiments(){window.performance&&window.performance.timing&&(0,p.A)(1)&&this.store("dom_ready",window.performance.timing.loadEventEnd-window.performance.timing.navigationStart)}createBeaconURLs(e=2e3){let t=Object.keys(this.recordedMetrics);if(!this.endpointUrl||0===t.length)return[];let a=this.getLatestMark("start_load")&&this.measure("start_load","session_age",void 0,{ephemeral:!0,in_seconds:!0}),n=[],r=[],createUrl=e=>{let t=(0,f.A)({user_id:this.userId,team_id:this.teamId,team_size:this.teamSize,ver:this.versionTs,session_age:"number"==typeof a?a:0,session_id:this.sessionId,sub_app_name:this.subAppName,enterprise_id:this.enterpriseId,data:e.join(";")},_.b);return`${this.endpointUrl}${(0,g.iU)(t)}`};for(let a=0,i=t.length;a<i;a++){let i=t[a],o=this.recordedMetrics[i],s=`${i}:${o.join(",")}`;createUrl(r.concat(s)).length<=e?r.push(s):(n.push(createUrl(r)),r=[s])}return r.length>0&&n.push(createUrl(r)),n}setUser(e){return this.userId=e,this}setTeam(e){return this.teamId=e,this}setEnterprise(e){return this.enterpriseId=e,this}setTeamSize(e){return this.teamSize=e,this}setVersionTs(e){return this.versionTs=e,this}setEndpointUrl(e){return this.endpointUrl=e,this}setSubAppName(e){return this.subAppName=e,this}};let NoopTelemeter=class NoopTelemeter extends Telemeter{constructor(){super()}recordMetric(e,t){}emptyMetrics(){}getRecordedMetrics(){return{}}mark(e){}getLatestMark(e){return!1}clearMarks(e){}clearMeasures(e){}store(e,t,a){return t}count(e,t){}measure(e,t,a,n){return!1}measureAndClear(e,t,a,n){return!1}logPerfTimingSections(){}addExperiments(){}createBeaconURLs(e){return[]}};var T=a(0x9b971e7e),I=a(0x1266f1359),w=a(0x19c76d181);function contextHasTeamIds(e){return!!e.teamId&&!!e.userId}function contextHasEnterpriseIds(e){return!!e.enterpriseId&&!!e.userId}function contextHasTeamOrEnterpriseId(e){return!!e.teamOrEnterpriseId}function contextHasGetState(e){let t=e.getState;return!!t&&"function"==typeof t}function contextHasState(e){return!!e.state}function maybeGetTelemetryPropertiesFromState(e){let t=(0,c.HF)(),a=(0,T.ZT)(e),n=(0,T.jV)(e),r=(0,w.WR)(e);if((a||n)&&r&&t)return{teamId:a,enterpriseId:n,userId:r,versionTs:t}}let getPropertiesFromTelemetryContext=e=>{if(!e)return;let t=(0,c.HF)();if(contextHasTeamIds(e)||contextHasEnterpriseIds(e))return{...e,versionTs:t};if(contextHasTeamOrEnterpriseId(e)){let t=e.teamOrEnterpriseId,a=(0,I.jp)(t);if(a)return maybeGetTelemetryPropertiesFromState(a.getState())}return contextHasState(e)?maybeGetTelemetryPropertiesFromState(e.state):contextHasGetState(e)?maybeGetTelemetryPropertiesFromState(e.getState()):void 0},C=!1,getBeaconEndpointURL=({endpoint:e="timing",teamId:t}={})=>{let a=(0,l.W7)(),n=t?(0,r.F)().getRootDomainByTeamId(t):(0,l.Xk)();return(0,o.Cu)()||(0,o.$i)()?`https://${a}/beacon/${e}`:`https://${n}/beacon/${e}`},v={},x={};function getNoopTelemeter(){return n||(n=new NoopTelemeter),n}function getGenericTelemeter(){if(!window.performance)return getNoopTelemeter();if(!v.generic){let e=new Telemeter;e.setEndpointUrl(getBeaconEndpointURL()).setSubAppName((0,s.f)()||"legacy"),e.setVersionTs((0,c.HF)()),e.setSubAppName((0,s.f)()||"legacy"),m.A.register(e),v.generic=e}return v.generic}function getTelemeter(e){if(!window.performance)return getNoopTelemeter();let t=getPropertiesFromTelemetryContext(e),a=t?.teamId??t?.enterpriseId;if(!t||!a)return!C&&((0,u.A)()||(0,d.A)())||(0,b.getGenericLogger)().warn("TELEMETRY","You tried to get a team-specific telemeter but didn\u2019t provide enough context and are getting the generic telemeter instead which is likely not what you want."),getGenericTelemeter();if(!v[a]){let e=new Telemeter;e.setEndpointUrl(getBeaconEndpointURL({teamId:a})).setTeam(t.teamId).setEnterprise(t.enterpriseId).setUser(t.userId).setVersionTs(t.versionTs).setSubAppName((0,s.f)()||"legacy"),m.A.register(e),v[a]=e}return v[a]}function getNotificationsTelemeter(e){if(!window.performance)return getNoopTelemeter();let t=getPropertiesFromTelemetryContext(e),a=t?.teamId??t?.enterpriseId;if(!t||!a)throw Error("Failed to get the necessary context to make a Telemeter instance");if(!x[a]){let e=new Telemeter;e.setEndpointUrl(getBeaconEndpointURL({endpoint:"notifs",teamId:t?.teamId})).setTeam(t.teamId).setEnterprise(t.enterpriseId).setUser(t.userId).setVersionTs(t.versionTs).setSubAppName((0,s.f)()||"legacy"),m.A.register(e),x[a]=e}return x[a]}let R={resetInstances:()=>{v={},x={}}};Object.defineProperty(R,"getBeaconEndpointURL",{get:()=>getBeaconEndpointURL,set:e=>{getBeaconEndpointURL=e}}),Object.defineProperty(R,"getPropertiesFromTelemetryContext",{get:()=>getPropertiesFromTelemetryContext,set:e=>{getPropertiesFromTelemetryContext=e}}),Object.defineProperty(R,"forceEnableConsoleWarningInTests",{get:()=>C,set:e=>{C=e}}),(0,i.ul)("getTelemeter",getTelemeter),(0,i.ul)("getGenericTelemeter",getGenericTelemeter)},0x19a70d6a8:(e,t,a)=>{"use strict";a.d(t,{F:()=>getTokenForCurrentTeam,e:()=>getEnterpriseApiTokenForCurrentTeam});var n=a(0x1805097c),r=a(0x9b971e7e);function getTokenForCurrentTeam(e){let t=(0,r.ZT)(e);return(0,n.hf)(t)}function getEnterpriseApiTokenForCurrentTeam(e){let t=(0,r.jV)(e);return(0,n.hf)(t)}},0x12e383cfb:(e,t,a)=>{"use strict";a.d(t,{F:()=>getGenericTracer});var n=a(0x4f6e90b4),r=a(0x2469fa0ad),i=a(0x19efc8b50),o=a(0xf863519),s=a(0x1ec68d6a3),l=a(0xec5f1eef),c=a(0xf87a4e28),d=a(0x4901f67c),u=a(0x1c98ad6a2);function maybeSampleForSession(e){let{sampleRate:t=c.kX}=e;return!!t&&(0,d.iL)(t)}function maybeSampleForCall({sampleRate:e=c.kX}){return Math.random()<e}function nonReduxSampler(e){if((0,d.dN)())return!0;if(e.traceId)return(0,u.Ge)(e.traceId);switch(e.sampleType){case c.tS.ALWAYS:return!0;case c.tS.NEVER:return!1;case c.tS.SESSION:return maybeSampleForSession(e);case c.tS.CALL:default:return maybeSampleForCall(e)}}Object.defineProperty({},"maybeSampleForSession",{get:()=>maybeSampleForSession,set:e=>{maybeSampleForSession=e}});let m="generic";function getGenericTracer(){if(!(0,l.br)(m)){let e=new o.A({logger:(0,s.getGenericLogger)(),sampler:nonReduxSampler}),t=(0,i.ij)();e.setSubAppName((0,r.f)()||"legacy").setVersionTs(t);let a=e.isSampledByDefault();l.Nu||(0,s.getGenericLogger)().info("TRACER",a?"Tracing is sampled by default for this session.":"Tracing is not sampled by default for this session."),(0,l.Vk)(m,e)}return(0,l.br)(m)}(0,n.ul)("getGenericTracer",getGenericTracer)},0x157ccdb87:(e,t,a)=>{"use strict";a.d(t,{E:()=>getTracer});var n=a(0x4f6e90b4),r=a(0x2469fa0ad),i=a(0x19efc8b50),o=a(0xf87a4e28),s=a(0x4901f67c),l=a(0x1266f1359),c=a(0x14149c126);let d=/sample_rate_([0-9]+)_percent/;function getDefaultSessionSampleResultFromExperiment({teamId:e}){if(!e)return!1;let t=(0,l.oK)(e);if(!t)return!1;let a=(0,c._Z)(t.getState(),"tracing_sampling_rate");if(!a)return!1;let n=a.match(d);if(!n||!n.length)return!1;let r=parseInt(n[1],10);return!!r&&(0,s.iL)(r/100)}var u=a(0x1c98ad6a2);function maybeSampleForSession(e){let{sampleRate:t=o.kX,teamId:a}=e;return!!t&&(a&&t===o.kX?getDefaultSessionSampleResultFromExperiment(e):(0,s.iL)(t))}function maybeSampleForCall({sampleRate:e=o.kX}){return Math.random()<e}function sampler(e){if((0,s.dN)())return!0;if(e.traceId)return(0,u.Ge)(e.traceId);switch(e.sampleType){case o.tS.ALWAYS:return!0;case o.tS.NEVER:return!1;case o.tS.SESSION:return maybeSampleForSession(e);case o.tS.CALL:default:return maybeSampleForCall(e)}}Object.defineProperty({},"maybeSampleForSession",{get:()=>maybeSampleForSession,set:e=>{maybeSampleForSession=e}});var m=a(0xf863519),f=a(0x1ec68d6a3),_=a(0x12e383cfb),p=a(0xec5f1eef),h=a(0x9b971e7e),g=a(0x19c76d181);function isContextWithIds(e){return(!!e.teamId||!!e.enterpriseId)&&!!e.userId}function isContextWithTeamOrEnterpriseId(e){return!!e.teamOrEnterpriseId}function isContextWithState(e){return!!e.state}function isContextWithGetState(e){return!!e.getState}function maybeGetStateFromContext(e){if(isContextWithTeamOrEnterpriseId(e)){let t=e.teamOrEnterpriseId,a=(0,l.jp)(t);if(a)return a.getState()}return isContextWithState(e)?e.state:isContextWithGetState(e)?e.getState():void 0}let getPropertiesFromTracerContext=e=>{if(!e)return;let t=(0,i.ij)();if(isContextWithIds(e))return{teamId:e.teamId,enterpriseId:e.enterpriseId,userId:e.userId,versionTs:t};let a=maybeGetStateFromContext(e);if(a){let e=(0,h.ZT)(a),n=(0,h.jV)(a),r=(0,g.WR)(a);if((e||n)&&r&&!isNaN(t))return{teamId:e,enterpriseId:n,userId:r,versionTs:t}}},A=!1;function getTracer(e){let t=getPropertiesFromTracerContext(e);if(!t)return(A||!p.Nu)&&(0,f.getGenericLogger)().warn("TRACES","You tried to get a team-specific tracer but didn\u2019t provide enough context and are getting the generic tracer instead which is likely not what you want."),(0,_.F)();let{teamId:a,enterpriseId:i,userId:o,versionTs:s}=t,l=a??(i||""),c=(0,f.default)({teamOrEnterpriseId:l});if(!(0,p.br)(l)){let e=new m.A({logger:c,sampler:sampler});e.setUser(o).setVersionTs(s).setSubAppName((0,r.f)()||"legacy"),a&&(e.setTeam(a),e.setDefaultSamplingOptions({teamId:a,sampleType:p.nl.SESSION})),i&&e.setEnterprise(i);let t=e.isSampledByDefault();p.Nu||(0,f.getGenericLogger)().info("TRACER",t?"Tracing is sampled by default for this team.":"Tracing is not sampled by default for this team."),(0,p.Vk)(l,e),(0,n.GW)(l,"getTracer",{tracer:(0,p.br)(l)})}return(0,p.br)(l)}(0,n.ul)("getTracer",getTracer);let b={};Object.defineProperty(b,"getPropertiesFromTracerContext",{get:()=>getPropertiesFromTracerContext,set:e=>{getPropertiesFromTracerContext=e}}),Object.defineProperty(b,"forceEnableConsoleWarningInTests",{get:()=>A,set:e=>{A=e}})},0xec5f1eef:(e,t,a)=>{"use strict";a.d(t,{$m:()=>s,Nu:()=>i,Vk:()=>setTracerInstance,br:()=>getTracerInstance,nl:()=>n.tS});var n=a(0xf87a4e28),r=a(0x1914b45dc);let i=(0,a(0x22480f425).A)()||(0,r.A)(),o={};function setTracerInstance(e,t){o[e]=t}function getTracerInstance(e){return o[e]}let s={SUCCESS:"success",ERROR:"error"}},0x23dc4dba0:(e,t,a)=>{"use strict";a.d(t,{z:()=>getUnicodeFromCodePointLikeString});var n=a(0xf8862d23);let getUnicodeFromCodePointLikeString=({codePointLikeString:e})=>{if((0,n.d)(e))return e.split("-").map(e=>String.fromCodePoint(parseInt(e,16))).join("")}},0x103783718:(e,t,a)=>{"use strict";function getUserAgent(){return window.navigator?.userAgent??"no-ua"}a.d(t,{A:()=>getUserAgent})},0x215450ff3:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});let __WEBPACK_DEFAULT_EXPORT__=e=>e.trim().split(/\s+/).length},0x16c32b54b:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(0x1cf0d97e1),r=a(0x1266f1359),i=a(0x14149c126),o=a(0x1bb02f2c4);let s=(0,n.Ay)((e,t,a)=>((0,o.getAllWorkspaces)(e)||[]).some(e=>{let n=(0,r.oK)(e)?.getState();return!!n&&(0,i._Z)(n,t)===a}));s.meta={name:"hasGroupForAnyTeam",key:"createSelectorHasGroupForAnyTeam",description:(e,t,a)=>((0,o.getAllWorkspaces)(e)||[]).some(e=>{let n=(0,r.oK)(e)?.getState();return!!n&&(0,i._Z)(n,t)===a})};let l=s},0x1ef19e2e2:(e,t,a)=>{"use strict";a.d(t,{B:()=>MD5});var n=a(0xc588b27d),r=a.n(n);function MD5(e=""){return r()("md5").update(e).digest("hex")}},0x223ac29bb:(e,t,a)=>{"use strict";a.d(t,{DU:()=>i.DU,Dh:()=>i.Dh,Gd:()=>getQuipLocale,K4:()=>i.K4,W_:()=>i.W_,Xn:()=>i.Xn,YI:()=>i.YI,Yp:()=>userLocale,aV:()=>getSFTrailheadLocale,db:()=>getZendeskLocale});var n=a(0x190e60a66),r=a(0xbf8832f0),i=a(0x11dc1e636);let userLocale=e=>{let t=(0,n.F)(),a=e?.teamOrEnterpriseId??(0,r.oI)();return a?(e?.recalc&&t.resetLocaleForTeamId(a),t.getLocaleForTeamId(a)):t.getLocaleForLastViewedTeam()},o={"de-de":"de","en-us":"en-us","es-es":"es","fr-fr":"fr-fr","ja-jp":"ja","es-la":"es-419","pt-br":"pt-br","en-gb":"en-gb","ko-kr":"ko-kr","it-it":"it-it","zh-cn":"zh-cn","zh-tw":"zh-tw"},getZendeskLocale=({locale:e=userLocale()}={})=>{let t="en-us";if(!e)return t;let a=e.toLowerCase();return o[a]?o[a]:t},s={"de-de":"de","en-us":"en","es-es":"es","fr-fr":"fr","ja-jp":"ja","es-la":"es","pt-br":"pt","ko-kr":"ko","it-it":"it","zh-cn":"zh_CN","zh-tw":"zh_CN"},getQuipLocale=({locale:e=userLocale()}={})=>{let t=e.toLowerCase();return s[t]?s[t]:"en"},l={[i.Uc.deDE]:"de",[i.Uc.enUS]:"",[i.Uc.enGB]:"",[i.Uc.esES]:"es",[i.Uc.esLA]:"es-MX",[i.Uc.frFR]:"fr",[i.Uc.jaJP]:"ja",[i.Uc.ptBR]:"pt-BR",[i.Uc.koKR]:"ko",[i.Uc.itIT]:"it",[i.Uc.zhCN]:"zh-CN",[i.Uc.zhTW]:"zh-CN"},getSFTrailheadLocale=({locale:e=userLocale()}={})=>l[e]??""},0x2283cdc8d:(e,t,a)=>{"use strict";a.d(t,{Ox:()=>isIA4AppHomeContextTeamPickerEnabled,T3:()=>isWorkspaceFilterClientRelevantWorkspacesEnabled,TF:()=>isNewOSMenuEnabled,UG:()=>isIA4NewTeamsStringsEnabled,X9:()=>isFeEnhanceRemindMenuHoverActionEnabled,k8:()=>isSearchInChannelEnabled,kF:()=>isSwitchWorkspacesButtonA11yConsistencyOn,pK:()=>isIA4TabPeekHomeEnabled,s7:()=>isCalendarIa4Enabled,xW:()=>isIA4BloopsEnabled});var n=a(0x62a17882),r=a(0xb62e6bf4),i=a(0x14149c126);function isIA4NewTeamsStringsEnabled(e){return(0,r.ss)(e)}function isIA4TabPeekHomeEnabled(e){return(0,r.ss)(e)&&"on"===(0,i._Z)(e,"ia4_tab_peek_home")}function isCalendarIa4Enabled(e){return(0,r.ss)(e)&&"on"===(0,i._Z)(e,"native_cal")}function isWorkspaceFilterClientRelevantWorkspacesEnabled(e){return(0,r.ss)(e)&&"on"===(0,i._Z)(e,"ia4_workspace_filter_client_relevant_workspaces")}function isIA4AppHomeContextTeamPickerEnabled(e){return(0,r.ss)(e)||"on"===(0,i._Z)(e,"app_home_context_team_picker")}function isIA4BloopsEnabled(e){return(0,r.ss)(e)&&"on"===(0,i._Z)(e,"ia4_bloops")}function isNewOSMenuEnabled(e){return(0,r.ss)(e)&&"on"===(0,i._Z)(e,"revised_menu_ia4")&&(0,n.dY)("4.37.0")}function isSearchInChannelEnabled(e){return"on"===(0,i._Z)(e,"search_in_channel")}function isFeEnhanceRemindMenuHoverActionEnabled(e){return"on"===(0,i._Z)(e,"fe_enhance_remind_menu_hover_action")}let isSwitchWorkspacesButtonA11yConsistencyOn=e=>"on"===(0,i._Z)(e,"switch_workspaces_button_a11y_consistency")},0x1f734e202:(e,t,a)=>{"use strict";function intersperse(e,t){return e.map((e,a)=>[t(a),e]).flat().slice(1)}a.d(t,{f:()=>intersperse})},0x1fdf007c4:(e,t,a)=>{"use strict";a.d(t,{S:()=>isBrowserWindowingEnabled});var n=a(0x18dac2b8e),r=a(0xd35ac109);let i=window?.location?.search?(0,r.nT)(window.location.search.substring(1)):{};function isBrowserWindowingEnabled(){return"1"===i.windowing||(0,n.b3)()&&"0"!==i.windowing}},0x107c8ce7:(e,t,a)=>{"use strict";a.d(t,{A:()=>isCmdKey});var n=a(0x62a17882);function isCmdKey(e){return!!e&&((0,n.cX)()?"metaKey"in e&&!!e.metaKey:"ctrlKey"in e&&!!e.ctrlKey)}},0x24558b75f:(e,t,a)=>{"use strict";a.d(t,{Cz:()=>shouldWindow,M2:()=>isConversationViewsSupportedInThisEnvironment,n3:()=>isConversationViewsEnabled});var n=a(0x62a17882),r=a(0x22480f425),i=a(0x1fdf007c4),o=a(0x107c8ce7),s=a(0x209e067d1);let l=(0,r.A)(),precheck=()=>!l&&!!(0,s.A)()&&(!!(0,n.y3)()||!!(0,i.S)());function isConversationViewsEnabled(e){return precheck()}function isConversationViewsSupportedInThisEnvironment(){return(0,n.y3)()||(0,i.S)()}function shouldWindow(e){let t=precheck();return(0,o.A)(e)&&t}Object.defineProperty({disableForTests:l},"disableForTests",{get:()=>l,set:e=>{l=e}})},0x4fcd1639:(e,t,a)=>{"use strict";a.d(t,{L:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"dms_search_results_page"));i.meta={name:"isDmsSearchResultsPageEnabled",key:"createSelectorIsDmsSearchResultsPageEnabled",description:e=>"on"===(0,r._Z)(e,"dms_search_results_page")}},0xca26de21:(e,t,a)=>{"use strict";function isElementScrollable(e){return!!e&&(!!(e.scrollHeight>e.clientHeight)||!!(e.scrollWidth>e.clientWidth))||!1}a.d(t,{A:()=>isElementScrollable})},0x1036bc040:(e,t,a)=>{"use strict";function isGantryCalls(){let e=document?.documentElement?.dataset?.app;return"calls"===e||"free-willy"===e}a.d(t,{A:()=>isGantryCalls})},0x7531c6a4:(e,t,a)=>{"use strict";a.d(t,{F:()=>isGantryManage});var n=a(0x1d30b0ef7),r=a(0xff89300f);function isGantryManage(){return(0,n.fj)()===r.u.MANAGE}},0x7d6de5b3:(e,t,a)=>{"use strict";a.d(t,{U:()=>isGantrySingleChannelClient});var n=a(0x1d30b0ef7),r=a(0xff89300f);function isGantrySingleChannelClient(){return(0,n.fj)()===r.u.SINGLE_CHANNEL_CLIENT}},0x17f03e906:(e,t,a)=>{"use strict";a.d(t,{c:()=>isSelfTeamGovSlack});var n=a(0x1d80562e6),r=a(0x175710aa8),i=a(0x1ec68d6a3),o=a(0x9b971e7e);function isSelfTeamGovSlack(e){let t=(0,o.JY)(e);return t?(0,n.H)(t):((0,i.default)({label:r.A,state:e}).error("no teamOrEnterpriseId"),!1)}},0x1591157c4:(e,t,a)=>{"use strict";a.d(t,{A:()=>isMessagingClient});var n=a(0xff89300f);let r=null;function isDrydock(){return null===r&&(r=document?.documentElement?.dataset?.app===n.u.DRYDOCK),r}let i=null;function isDrydockMessagingClient(){return null===i&&(i=isDrydock()&&location.pathname?.split("/").includes("client")),i}var o=a(0x7d6de5b3),s=a(0x209e067d1);function isMessagingClient(){return(0,s.A)()||isDrydockMessagingClient()||(0,o.U)()}},0x1fe886fee:(e,t,a)=>{"use strict";a.d(t,{h:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"mpdm_topic_names"));i.meta={name:"isMpdmTopicNamesEnabled",key:"createSelectorIsMpdmTopicNamesEnabled",description:e=>"on"===(0,r._Z)(e,"mpdm_topic_names")}},0x13e52c72b:(e,t,a)=>{"use strict";a.d(t,{n:()=>isNamedRouteMap});var n=a(0xebc4f0be);function isNamedRouteMap(e){return!!e&&Object.values(n.F).includes(e)}},0x209e067d1:(e,t,a)=>{"use strict";a.d(t,{A:()=>isSonic});var n=a(0xff89300f);let r=null;function isSonic(){return null===r&&(r=document?.documentElement?.dataset?.app===n.u.SONIC||document?.documentElement?.dataset?.app===n.u.CLIENT_V2),r}},0x184deeba7:(e,t,a)=>{"use strict";a.d(t,{L:()=>isTsDogfoodUser,c:()=>anyUserIsTsDogfoodUser});var n=a(0xa69aaeeb),r=a(0x14149c126);let i="persistent_ts_dogfood";function isTsDogfoodUser(e){return"on"===(0,r._Z)(e,i)}function anyUserIsTsDogfoodUser(){return(0,n._)(i,"on")}},0x1fea7ac86:(e,t,a)=>{"use strict";a.d(t,{A:()=>addJitter});var n=a(0xd04cf7e4);function addJitter(e,t,a){let r=e*(0,n.A)(t,a,!0);return Math.ceil(e+r)}},0x153a04a6c:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>r,tU:()=>n});let n=["ac","ad","ae","af","ag","ai","al","am","ao","aq","ar","as","at","au","aw","ax","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bm","bn","bo","br","bs","bt","bw","bz","ca","cd","cf","cg","ch","ci","ck","cl","cm","cn","co","cr","cv","cw","cx","cy","cz","de","dj","dk","dm","dz","ec","ee","eg","er","es","et","eu","fi","fj","fk","fm","fo","fr","ga","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gw","gy","hk","hm","hn","hr","ht","hu","ie","il","im","in","io","iq","it","je","jm","jo","jp","ke","kh","ki","km","kn","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","mg","mh","mk","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","nl","no","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pm","pn","pr","ps","pt","pw","qa","re","ro","rs","ru","rw","sa","sb","sc","se","sg","si","sk","sl","sm","sn","sr","ss","st","su","sv","sx","sz","tc","td","tg","th","tj","tk","tl","tm","tn","to","tr","tt","tv","tw","tz","ua","ug","uk","us","uy","uz","va","vc","vg","vi","vn","vu","wf","ws","ye","yt","za","zm","zw"],r=["biz","co","com","dev","edu","gov","info","int","io","ly","mil","net","org",...n]},0x105dab65c:(e,t,a)=>{"use strict";a.d(t,{A:()=>detectEmails});var n=a(0xa560007e);let r=["aero","app","asia","blog","by","cat","cc","club","coop","cu","do","engineering","fun","gu","help","id","immo","ir","is","jobs","kp","law","loan","md","me","menu","mobi","museum","name","online","party","pl","post","pro","sd","sh","shop","site","so","space","sy","team","tel","top","travel","ve","vip","wang","wtf","xin","xxx","xyz",...a(0x153a04a6c).Ay];var i=a(0x1ee15af19),o=a(0x2151db8ac);function maybeStripLeadingDelimiterFromEmail(e){if(!e)return e;let{text:t,offset:a,type:n}=e,r=(0,i.A)(t)||"";if(!o.ay.includes(r))return e;let s=t.substring(1);return{url:`mailto:${s}`,text:s,offset:a+1,type:n}}let s=/(?:\b|_)([A-Z0-9][A-Z0-9._%+-]{0,63})@(?:([A-Z0-9-]{1,63})\.){1,125}([A-Z]{2,63})(\b|_)/gi;function isGitSshUrl(e,t){if(!e)return!1;let{url:a,type:r}=e;if("email"!==r||!a)return!1;let i=e.offset+e.text.length,o=t.charAt(i);return(0,n.A)(a,"mailto:git@")&&":"===o}function detectEmails(e){let t=[];for(let a of e.matchAll(s)){let n=a[0];if(a[4]&&(n=n.substr(0,n.length-a[4].length)),n.length>254||!r.includes(a[3].toLowerCase()))continue;let i=maybeStripLeadingDelimiterFromEmail({type:"email",offset:a.index,text:n,url:`mailto:${n}`}),o=i.offset>0?e.charAt(i.offset-1):void 0;o&&"@"===o||isGitSshUrl(i,e)||t.push(i)}return t}},0x4c69b9f6:(e,t,a)=>{"use strict";a.d(t,{A:()=>detectLinks});var n=a(0x17294c72a),r=a(0x105dab65c),i=a(0x1833e616a),o=a(0x1aee7b9ef),s=a(0x658a411c),l=a(0x2f3077a8);function mergeMatches(e,t){if(!e||!e.length)return t;if(!t||!t.length)return e;let a=e.map(e=>({start:e.offset,end:e.offset+e.text.length})),n=t.filter(e=>{let t=e.offset,n=e.offset+e.text.length;return!(0,s.A)(a,e=>!!(t===e.start||n===e.end||t<=e.start&&n>=e.end||(0,l.A)(t,e.start,e.end)||(0,l.A)(n,e.start,e.end)))});return e.concat(n)}function detectLinks({input:e,ignorePhoneMatches:t,ignoreEmailMatches:a,ignoreLinksWithoutHttp:s,includePhoneMatchesWithTelPrefix:l,ignoreUnbalancedParentheses:c=!1,dangerouslyIncludeAllTlds:d=!1}){if(!e)return[];let u=[];return u=(0,o.A)(e,{ignoreLinksWithoutHttp:!!s,ignoreUnbalancedParentheses:!!c,dangerouslyIncludeAllTlds:!!d}),a||(u=mergeMatches(u,(0,r.A)(e))),t||(u=mergeMatches(u,(0,i.A)(e,l))),u=(0,n.A)(u,["offset"])}},0x1833e616a:(e,t,a)=>{"use strict";a.d(t,{A:()=>detectPhoneNumbers});var n=a(0x1aba66b56),r=a(0xa560007e),i=a(0xe2e5f9b1);let o=/^\d+$/,s=RegExp(`${/(?:(?:(?:(\+)?\d{1,3}[-\x20.]?)?\(?\d{3}\)?[-\x20.]?\d{3}[-\x20.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\x20.]?(?:\d[-\x20.]?){6,12}\d+))/.source}|${/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source}`,"g"),l=RegExp(`${/tel:/.source}(${s.source})|${s.source}`,"g");function isSurroundedByWhitespaceOrSpecificPunctuation(e,t){let a=e.offset,r=a+e.text.length,o=[" ","\u3000",`
`,"(","[","{","'",'"'],s=[" ","\u3000",`
`,".",")","]","}","'",'"',":","?","!",";",","],l=t.charAt(a-1),c=0===a||(0,n.A)(o,l)||(0,i.A)(l),d=t.charAt(r),u=r===t.length||(0,n.A)(s,d)||(0,i.A)(d);return c&&u}function detectPhoneNumbers(e,t=!1){let a=[],n=t?l:s;for(let i of e.matchAll(n)){if(t&&(0,r.A)(i[0],"tel:")){a.push({type:"phone",offset:i.index,text:i[0],url:i[0]});continue}if(o.test(i[0]))continue;let n=i.index,s=i[0];"("===s.charAt(0)&&-1===s.indexOf(")")&&(n+=1,s=s.substr(1));let l=!!(i[1]||i[2]),c={type:"phone",offset:n,text:s,url:`tel:${l?"+":""}${i[0].replace(/[^0-9]/g,"")}`};isSurroundedByWhitespaceOrSpecificPunctuation(c,e)&&a.push(c)}return a}},0x1aee7b9ef:(e,t,a)=>{"use strict";let n;a.d(t,{A:()=>detectUrls});var r=a(0x1e2051844),i=a(0x153a04a6c);let o=["http","https","sftp","ftp"];function correctDayliteLinks(e,t){if("daylite://"===e.url.substr(0,10)){let a=t.substr(e.offset).match(/^daylite:\/\/Command=ShowObject&\S+/);if(a)return{...e,url:a[0],text:a[0]}}return e}function correctHansoftLinks(e,t){if("hansoft://"===e.url.substr(0,10)){let a=t.substr(e.offset).match(/^hansoft:\/\/\S+/);if(a)return{...e,url:a[0],text:a[0]}}return e}var s=a(0x1422234dc),l=a(0xe2e5f9b1);function correctMatchContainingCJKChars(e,t){if(!e)return e;let{url:a,text:n,offset:r,type:i}=e,o=r>0&&t.charAt(r-1),c=a.slice(-1);if(!(0,l.A)(o||"")||!(0,l.A)(c))return e;let d=(0,s.A)(a.split(""),e=>!(0,l.A)(e))+1,u=a.substring(0,d);if(!u||(0,l.A)(u))return e;let m=(0,s.A)(n.split(""),e=>!(0,l.A)(e))+1;return{url:u,text:n.substring(0,m),offset:r,type:i}}function correctRdarLinks(e,t){if("rdar://"===e.url.substr(0,7)){let a=t.substr(e.offset).match(/^rdar:\/\/[0-9][0-9&]*/);if(a)return{...e,url:a[0],text:a[0]}}return e}function hasUnbalancedBrackets(e){let t=e.substr(-1);if(![")","}","]"].includes(t))return!1;let a="";")"===t&&(a="("),"}"===t&&(a="{"),"]"===t&&(a="[");let n=0,r=0;for(let i=0;i<e.length;i++){let o=e.charAt(i);o===a&&(n+=1),o===t&&(r+=1)}return n===r-1}var c=a(0x11e49ae95),d=a(0x1aba66b56),u=a(0x1d5f57074);function hostHasWWWPrefix(e){return!!e&&0===e.indexOf("www.")&&!(e.split(".").length<3)}let m=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//;function urlHasBasicProtocol(e){return!!e&&m.test(e)}function isMatchWithUncommonTLDAndNoPrefix(e){if(!e)return!1;let{url:t,text:a}=e,n=(0,u.Ay)(t),r=n.host;if(n&&("hansoft:"===n.protocol||"spotify:"===n.protocol))return!1;if(!r)return!!(a&&-1===a.indexOf("://"));if(!r.includes("."))return!1;let o=r.split(".").pop(),s="ms.now"===r;if((0,d.A)(i.Ay,o)||s){if((0,d.A)(i.tU,o)&&!hostHasWWWPrefix(r)&&(!n.pathname||"/"===n.pathname)&&`http://${e.text}`===e.url){let t=(e.text.indexOf("/")===e.text.length-1?e.text.substr(0,e.text.length-1):e.text).split(".").pop(),a=t===o,n=o&&t===o.toUpperCase();if(!(a||n))return!0}return!1}return!(hostHasWWWPrefix(r)||urlHasBasicProtocol(a))}var f=a(0x20bafd237);function maybeStripTrailingSingleQuote(e){if(!e)return e;let{url:t,text:a,offset:n,type:r}=e;return"'"!==(0,f.A)(t)||(t.split("/").pop()||"").replace(/[^']/g,"").length%2==0?e:{url:t.substring(0,t.length-1),text:a.substring(0,a.length-1),offset:n,type:r}}let _=/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,p=/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source,h=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,g=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source+h,A=g+p+_,b=/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/,y=/[A-za-z0-9][A-za-z0-9%+.]*(?::[A-za-z0-9][A-za-z0-9%+.]*)?@/,S=RegExp(`[/?#](?:[${A}\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u{2026}\u{2014}\u2713]*[${A}\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?`),E=`(?:[${h}]{1,3}\\.){3}[${h}]{1,3}`;function getDomainLabelStr(e){return`(?=([${g}](?:[${g}\\-]{0,61}[${g}])?))\\${e}`}function getDomainLabelStrWithUnderscore(e){return`(?=([${g}_](?:[${g}\\-_]{0,61}[${g}_])?))\\${e}`}function getDomainNameStrWithUnderscore(e){return`(?:${getDomainLabelStrWithUnderscore(e)}(?:\\.${getDomainLabelStr(e+1)}){0,126}|${E})`}let k=(n=i.Ay.concat("now"),RegExp("(?:("+b.source+`(${y.source})?`+getDomainNameStrWithUnderscore(3)+")|("+`(//)?(?:www\\.)${getDomainNameStrWithUnderscore(7)}`+")|("+`(//)?${getDomainNameStrWithUnderscore(11)}\\.(?:${n.join("|")})(?![-${A}])`+"))(?::[0-9]+)?"+`(?:${S.source})?`,"gi")),T=RegExp("(?:("+b.source+`(${y.source})?`+getDomainNameStrWithUnderscore(3)+")|("+`(//)?(?:www\\.)${getDomainNameStrWithUnderscore(7)}`+")|("+`(//)?${getDomainNameStrWithUnderscore(11)}\\.(?:aaa|aarp|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|actor|ad|ads|adult|ae|aeg|aero|aetna|af|afl|africa|ag|agakhan|agency|ai|aig|airbus|airforce|airtel|akdn|al|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|amazon|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|casa|case|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|charity|chase|chat|cheap|chintai|christmas|chrome|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cpa|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dog|domains|dot|download|drive|dtv|dubai|dunlop|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|ericsson|erni|es|esq|estate|et|etisalat|eu|eurovision|eus|events|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gay|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|horse|hospital|host|hosting|hot|hotels|hotmail|house|how|hr|hsbc|ht|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|inc|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|intuit|investments|io|ipiranga|iq|ir|irish|is|ismaili|ist|istanbul|it|itau|itv|jaguar|java|jcb|je|jeep|jetzt|jewelry|jio|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kids|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|link|lipsy|live|living|lk|llc|llp|loan|loans|locker|locus|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|merckmsd|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|moda|moe|moi|mom|monash|money|monster|mormon|mortgage|moscow|moto|motorcycles|mov|movie|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|music|mv|mw|mx|my|mz|na|nab|nagoya|name|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|paris|pars|partners|parts|party|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|radio|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|ril|rio|rip|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scot|sd|se|search|seat|secure|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|spa|space|sport|spot|sr|srl|ss|st|stada|staples|star|statebank|statefarm|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|wales|walmart|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zm|zone|zuerich|zw)(?![-${A}])`+"))(?::[0-9]+)?"+`(?:${S.source})?`,"gi"),I=/^([A-Za-z][-.+A-Za-z0-9]*):/,w=/^([A-Za-z][-.+A-Za-z0-9]*):\/\//,C=/^_+/,v=/^\.[A-Za-z0-9]+(?:[)}\]?*_~:\s]|$)/,x=["mailto","javascript","vbscript"],R=/^spotify:(track|user|artist|album|playlist):[a-zA-Z0-9]+/;function detectUrls(e,{ignoreLinksWithoutHttp:t=!1,ignoreUnbalancedParentheses:a=!1,dangerouslyIncludeAllTlds:n=!1}={}){let i=[];for(let s of e.matchAll(n?T:k)){let l=s[0],d=s.index,u=s[1],m=!!s[5],f=s[9],_=s[6]||s[10];if(t&&!u)continue;let p=d>0&&e.charAt(d-1);if("@"===p||"@"===e.charAt(d+l.length)&&!u&&!m&&f||"/"===p&&!u&&!m)continue;if(u){let e=u.match(I);if(e&&x.includes(e[1]))continue}if(!u&&!m){let e=l.match(C);e&&(d+=e[0].length,l=l.substr(e[0].length))}let h=u&&w.test(u),g=R.test(l);if(!g&&(!u||!h)&&-1===(u?l.substr(l.indexOf(":")):l).indexOf("."))continue;let A=l;if(h&&(A=l.split("://")[1]),-1!==A.split("/")[0].indexOf(".."))continue;if(!_&&f&&f===l){let t=e.substr(d+f.length);if(v.test(t))continue}let b=(0,r.A)(o,e=>!!u&&-1!==u.indexOf(`${e}://`)),y=b?l.indexOf(b):0;if(y>0&&(l=l.substr(y),u=u.substr(y),d+=y),g){let t=e.substr(d).match(R);null!==t&&(l=t[0])}a&&(l=(0,c.w)(l)||l),hasUnbalancedBrackets(l)&&(l=l.substr(0,l.length-1)),"?"===l.substr(-1)&&(l=l.substr(0,l.length-1));let S=l;_||u||(S=`http://${S}`);let E={type:"url",offset:d,text:l,url:S};u&&(E=correctDayliteLinks(E=correctRdarLinks(E=correctHansoftLinks(E,e),e),e)),E=correctMatchContainingCJKChars(E=maybeStripTrailingSingleQuote(E),e),(n||!isMatchWithUncommonTLDAndNoPrefix(E))&&i.push(E)}return i}},0x11e49ae95:(e,t,a)=>{"use strict";function ignoreUnbalancedParentheses(e=""){let t=[],a=0,n=0;for(let r of e.split("")){if(("("===r||")"===r)&&("("===r?a+=1:n+=1,n>a))break;t.push(r)}return t.join("")}a.d(t,{w:()=>ignoreUnbalancedParentheses})},0x57d5a5b5:(e,t,a)=>{"use strict";a.d(t,{Ac:()=>isRecordPositionId,C3:()=>getDateColumnDateFormat,CN:()=>transformOutputColumnOptionsToInputColumnOptions,DX:()=>y,Dv:()=>getViewPositionMap,ER:()=>computeNewDefaultColumnValue,FM:()=>renderDate,FO:()=>looksLikeListsPageName,GJ:()=>encodeCellId,Kf:()=>getDateColumnFormat,MB:()=>getListBackgroundColorValues,NP:()=>getRandomColor,OE:()=>decodeRecordPositionId,OS:()=>isCellId,Og:()=>generateImportColumnKey,On:()=>emptyEditHistory,R9:()=>isMSDateOverdue,R_:()=>isStaticDateOverdue,Ri:()=>convertDateCellValueToDateRange,Td:()=>makeToCreateKey,U8:()=>getDateFieldDisplayValue,V3:()=>parseListsQuery,Vy:()=>getColorByIndex,W3:()=>generateOptionKey,Wl:()=>S,_o:()=>looksLikeListViewId,iX:()=>isColumnId,jG:()=>getUpdatedRecord,jq:()=>reverseEditAction,k7:()=>getDisplayDateFormat,lS:()=>getColorByUserId,or:()=>looksLikeRecordId,p2:()=>isRecordId,pI:()=>looksLikeListId,pq:()=>looksLikeListIdRecordId,qM:()=>encodeRecordPositionId,r_:()=>looksLikeRecordRow,sx:()=>getReminderForField,tx:()=>getColorDisplayName,uk:()=>isToCreate,vm:()=>generateColumnKey,x0:()=>sortRecordsByDefault,xL:()=>findListByTitle,y:()=>getTypedFieldValue,yB:()=>decodeCellId});var n=a(0xca924ee1),r=a(0x1db69cda);a(0x1f355b555);var i=a(940089e4),o=a(0x20482ad21),s=a(0x1e3c7661),l=a(0x227c7ba02),c=a(0x13d718530),d=a(0x2275c26b8),u=a(0xa985ed31);let m=new o.Ay("lists"),f=/^Rec[A-Z0-9]{8,}$/,_=/^View[A-Z0-9]{8,}$/,p=/^F[A-Z0-9]{8,}-Rec[A-Z0-9]{8,}$/,h=(0,n.A)(e=>f.test(e)),g=(0,n.A)(e=>_.test(e)),A=(0,n.A)(e=>p.test(e));function looksLikeRecordId(e){return h(e)}function looksLikeListIdRecordId(e){return A(e)}function looksLikeListId(e){return!!e&&(0,u.A)(e)}let b=["new","browse"];function looksLikeListsPageName(e){return b.includes(e)||(0,u.A)(e)}function looksLikeListViewId(e){return g(e)}function looksLikeRecordRow(e){let t=Object.values(l.ny);return!!e&&!t.some(t=>e?.startsWith(t))}function getTypedFieldValue({cell:e,fields:t,shouldUseTimestamp:a}){let n=e||t?.[0];if(!n)return null;if(n.attachment?.length)return n.attachment.join(",");if(n.channel?.length)return n.channel.join("|");if(!0===n.checkbox||!1===n.checkbox)return n.checkbox;if(a){if(n.date?.length&&n.timestamp?.length)return -1===n.timestamp[0]?n.date.join(":"):n.timestamp[0];if(n.date?.length)return n.date.join(":");if(n.timestamp?.length)return -1===n.timestamp[0]?"":n.timestamp[0]}return n.date?.length?n.date.join(":"):n.email?.length?n.email[0]:n.message&&n.message[0]&&n.message[0].value?n.message[0].value:n.link&&n.link.length?n.link[0]:n.number?.length?n.number[0]:n.phone?.length?n.phone[0]:n.rating?.length?n.rating[0]:n.rich_text?n.rich_text:n.richText?n.richText:n.select?.length?n.select.join("|"):n.user?.length?n.user.join("|"):n.timestamp?.length?n.timestamp[0]:n.reference?.length?n.reference[0]:null}function getUpdatedRecord(e,t=!1){let a={id:e.id,fallback:{}};for(let n of e.fields)a.row_id=e.id,a[n.key]=getTypedFieldValue({cell:n,shouldUseTimestamp:t}),void 0!==n.text&&(a.fallback[n.key]=n.text);return{id:e.id,fields:a,dateCreated:e.date_created,createdBy:e.created_by??"",threadTs:e.thread_ts??"",position:e.position??"",parentRecordId:e.parent_record_id??"",updatedTimestamp:e.updated_timestamp??"",updatedBy:e.updated_by??"",viewPositions:e.view_positions,platformRefs:e.platform_refs,isSubscribed:e.is_subscribed,saved:e.saved,savedFields:e.saved_fields,isNonExistent:!1,isArchived:e.archived??!1,isSuggested:e.suggested,assignedToMeReminderTimestamp:e.date_due??0,assignedAt:e.assigned_at}}function transformOutputColumnOptionsToInputColumnOptions(e){if(!e)return{options:void 0};let{emojiUrl:t,...a}=e;return{options:{...a,defaultValueTyped:transformOutputColumnDefaultValuestoInputColumnDefaultValues(e?.defaultValueTyped)}}}function transformOutputColumnDefaultValuestoInputColumnDefaultValues(e){if(e)return delete e?.rating,delete e?.message,delete e?.richText,delete e?.text,{select:e?.select,user:e?.user,channel:e?.channel}}let getListBackgroundColorValues=()=>{let e=Object.values(c.a);return e.filter(e=>"red"!==e&&"yellow"!==e)},getColorByIndex=({index:e})=>{let t=getListBackgroundColorValues(),a=e%t.length;return t[a]},getColorByUserId=({userId:e})=>{let t=getListBackgroundColorValues(),a=Math.abs(e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0))%t.length;return t[a]},getRandomColor=()=>{let e=getListBackgroundColorValues(),t=Math.floor(Math.random()*e.length);return e[t]},getColorDisplayName=e=>{switch(e){case c.a.Gray:return m.t("Gray");case c.a.Brown:return m.t("Horchata");case c.a.Orange:return m.t("Honeycomb");case c.a.Yellow:return m.t("Sunflower");case c.a.Green:return m.t("Grass");case c.a.Blue:return m.t("Lagoon");case c.a.Indigo:return m.t("Indigo");case c.a.Purple:return m.t("Aubergine");case c.a.Pink:return m.t("Flamingo");case c.a.Red:return m.t("Tomato");case c.a.Cyan:return m.t("Jade");default:return e}};function generateImportColumnKey(e,t){return`${e}-${t}`}function generateColumnKey(){return`Col${randomString(8,"#A")}`}function generateOptionKey(){return`Opt${randomString(8,"#A")}`}function randomString(e,t){let a="";t.indexOf("a")>-1&&(a+="abcdefghijklmnopqrstuvwxyz"),t.indexOf("A")>-1&&(a+="ABCDEFGHIJKLMNOPQRSTUVWXYZ"),t.indexOf("#")>-1&&(a+="0123456789"),t.indexOf("!")>-1&&(a+="~`!@#$%^&*()_+-={}[]:\";'<>?,./|\\");let n="";for(let t=e;t>0;--t)n+=a[Math.floor(Math.random()*a.length)];return n}function parseListsQuery(e){let t=e.indexOf(">");if(!(t<0))return{listTitle:e.substring(0,t-1),recordQuery:e.substring(t+1)}}function findListByTitle(e,t){for(let a of e)if(a.title?.toUpperCase()===t.toUpperCase())return a}let getViewPositionMap=(e,t)=>new Map(t?.map(t=>[t.id,Object.fromEntries(Object.entries(t.viewPositions??{}).map(([e,t])=>[e.toLowerCase(),t]))[e.toLowerCase()]]));function sortRecordsByDefault(e,t){let a=Object.values(e),n=getViewPositionMap(t,a);return a.sort((e,t)=>{let a=e?.position??Number.MAX_SAFE_INTEGER,r=n.get(e.id);r&&(a=r);let i=t?.position??Number.MAX_SAFE_INTEGER,o=n.get(t.id);if(o&&(i=o),a<i)return -1;if(a>i)return 1;let s=e?.dateCreated??Number.MAX_SAFE_INTEGER,l=t?.dateCreated??Number.MAX_SAFE_INTEGER;return s<l?-1:+(s>l)}),a}let y="YYYY-MM-DD",S="MMM D, YYYY";function renderDate(e,t){return e?(0,i.A)(e,{parseFormat:y,returnMoment:!0}).format(t??"M/D/YY"):e}let getDisplayDateFormat=e=>d.cf.Default===e?"L":e,getDateFieldDisplayValue=(e,t,a,n)=>{let r=e?renderDate(e,n):null,i=t?renderDate(t,n):null;return a===d.ey.Range?e&&t?m.t("{startDateRange} to {endDateRange}",{startDateRange:r,endDateRange:t}):e?r:t?i:null:e?r:null},convertDateCellValueToDateRange=e=>{let[t,a]="string"==typeof e?e?.split(":")??[]:[];return{startDate:t||"",endDate:a}},getDateColumnFormat=e=>e??d.ey.Single,getDateColumnDateFormat=e=>e??d.cf.Default;function emptyEditHistory(e){return{listId:e,undoStack:[],redoStack:[]}}function reverseEditAction(e){return{mutations:e.mutations.map(reverseMutation).reverse()}}function reverseMutation(e){return{key:e.key,fromValue:(0,r.A)(e.toValue),toValue:(0,r.A)(e.fromValue),cellKey:e.cellKey??void 0}}let E="Cell:";function encodeCellId(e,t){return`${E}${e}/${t}`}function isCellId(e){return null!==decodeCellId(e)}function isColumnId(e){return e.startsWith("Col")}function isRecordId(e){return e.startsWith("Rec")}let k="toCreate";function isToCreate(e){return e.startsWith(k)}function makeToCreateKey(e){return`${k}${e+1}`}function decodeCellId(e){if(!e||!e.startsWith(E))return null;let[t,a]=e.slice(E.length).split("/");return t&&a?{recordId:t,columnKey:a}:null}let T="PosRec:";function encodeRecordPositionId(e,t){return`${T}${e}/${t}`}function isRecordPositionId(e){return null!==decodeRecordPositionId(e)}function decodeRecordPositionId(e){if(!e.startsWith(T))return null;let[t,a]=e.slice(T.length).split("/");return t&&a?{recordId:t,viewId:a}:null}function computeNewDefaultColumnValue({options:e,choice:t,isDefault:a,selectedSelectFormatType:n}){let r=(e?.defaultValue?.split(s.eY)||[]).includes(t.value),i=e?.defaultValue,o=e?.defaultValueTyped;if(r!==a){if(n===d.YP.SingleSelect)a?(i=t.value,o={select:[t.value]}):(i=void 0,o=void 0);else if(n===d.YP.MultiSelect)if(a)i=i?`${i}|${t.value}`:t.value,o={select:o?.select?[...o.select,t.value]:[t.value]};else{let e=i.split(s.eY)||[],a=e?.indexOf(t.value);a>-1&&e.splice(a,1),i=e.join(s.eY),o={select:e}}}return{defaultValue:i,defaultValueTyped:{select:o?.select,user:o?.user,channel:o?.channel}}}let isStaticDateOverdue=e=>{let t=new Date(`${e}T00:00:00Z`).getTime()+864e5;return Date.now()>=t},isMSDateOverdue=e=>{let t=new Date(e).setHours(0,0,0,0)+864e5;return Date.now()>=t},getReminderForField=(e,t)=>{if(!e||!t)return null;let a=e?.savedFields;return a?.[t]||null}},0x4003bce0:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>looksLikeAppId,D:()=>r});let n=/^@?A[A-Z0-9]{8,}$/,r="A03";function looksLikeAppId(e){return!!e&&("A02"===e||e===r||"A04"===e||n.test(e))}},0x8ad213fa:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeBotId});let n=/^@?B[A-Z0-9]{8,}$/;function looksLikeBotId(e=""){return!!e&&n.test(e)}},0x16ed1b0dc:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeChannelId});var n=a(0xca924ee1);let r=/^(C|G|D|Z)[A-Z0-9]{8,}$/,i=(0,n.A)(e=>r.test(e));function looksLikeChannelId(e){return i(e)}},0x46cf166:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeChannelSectionId});let n=/^L[A-Z0-9]{1,}$/;function looksLikeChannelSectionId(e){return!!e&&n.test(e)}},0xa985ed31:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeFileId});let n=/^F[A-Z0-9]{8,14}$/;function looksLikeFileId(e){return!!e&&n.test(e)}},0x1370f30c3:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeHelpArticleId});let n=/^\d+$/;function looksLikeHelpArticleId(e){return n.test(e)}},0x1ec220982:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeHermesTriggerId});let n=/^Ft[A-Z0-9]{7,}$/;function looksLikeHermesTriggerId(e){return n.test(e)}},0xe9443465:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeHermesWorkflowId});let n=/^Wf[A-Z0-9]{7,}$/;function looksLikeHermesWorkflowId(e){return n.test(e)}},0x4f725d55:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeMemberId});var n=a(0x20b4dda68);let r=/^@?(U|W)[A-Z0-9]{8,}$/;function looksLikeMemberId(e){return e===n.Q$||e===n.QF||e===n.jR||!!e&&r.test(e)}},0x50279ca3:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeMessageTimestamp});let n=/^[\d]{10}\.[\d]{6}$/;function looksLikeMessageTimestamp(e){return!!e&&n.test(e)}},0x1529370e7:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>looksLikeQuipDocId,oH:()=>looksLikeQuipTempDocId});let n=/^(quip|Qp):F[A-Z0-9]{8,}-?(Qpc:[A-Za-z0-9:]{8,}|Qps:[A-Za-z0-9:]{8,}|(Qpv:[a-z0-9:]{8,}&Qpvs:[0-9]{1,}))?$/,r=/^temp:[A-Za-z0-9:]{8,}$/;function looksLikeQuipDocId(e,{includeTemp:t=!0}={}){return!!e&&(!!n.test(e)||t&&r.test(e))}function looksLikeQuipTempDocId(e){return!!e&&r.test(e)}},0x24663484d:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeReminderId});let n=/^@?Sa[A-Z0-9]{8,}$/;function looksLikeReminderId(e=""){return n.test(e)}},0x22722f0d0:(e,t,a)=>{"use strict";a.d(t,{V:()=>looksLikeSalesforceRecordId});let looksLikeSalesforceRecordId=e=>{let t=e?.split(":");return t?.length===3&&"S"===t[0]}},0x894679d7:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeThreadId});let n=/^(C|G|D)[A-Z0-9]{8,}-[\d]{10}\.[\d]{6}$/,r=/^(C|G|D|F)[A-Z0-9]{8,}-Qpc:[A-Za-z0-9:]{8,}$/;function looksLikeThreadId(e){return!!e&&(!!r.test(e)||n.test(e))}},0xd2fa49d0:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeUserGroupId});let n=/^S[A-Za-z0-9]{8,}$/;function looksLikeUserGroupId(e){return!!e&&n.test(e)}},0x54eb2d82:(e,t,a)=>{"use strict";a.d(t,{U:()=>looksLikeWorkObjectRecordId,u:()=>n});let n=/^W:(A[A-Z0-9a-z]+):([^~]+)(?:~(.+))?$/,looksLikeWorkObjectRecordId=e=>!!e&&n.test(e)},0x114c5f44f:(e,t,a)=>{"use strict";a.d(t,{A:()=>looksLikeWorkflowTemplateId});let n=/^Wt[A-Z0-9]{7,}$/;function looksLikeWorkflowTemplateId(e){return!!e&&n.test(e)}},0x133a22db2:(e,t,a)=>{"use strict";a.d(t,{He:()=>getAppActionFrecencyProps,lX:()=>getMessageActionsFrecencyId,oe:()=>getAppActionFrecencyId});let getMessageActionsFrecencyId=e=>`MA${e}`,getAppActionFrecencyId=e=>getMessageActionsFrecencyId(e.id),getAppActionFrecencyProps=e=>({frecencyId:getMessageActionsFrecencyId(e.id)})},0xb04c4a12:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i});var n=a(0x139aa1a7),r=a(1927545e3);let i={MESSAGE_PANE:n.D.Channel,THREAD:n.D.Thread,ACTIVITY_FLEXPANE:"activity-flexpane",ACTIVITY_PAGE:"activity-page",RIMETO_FLEXPANE:"rimeto-flexpane",STARS_FLEXPANE:"stars-flexpane",SAVED_PAGE:"saved-page",SAVED_FOR_LATER_PAGE:"saved-for-later-page",LISTS_FLEXPANE:"lists-flexpane",TASKS_FLEXPANE:"tasks-flexpane",THREADS_VIEW:n.D.Threads,UNREAD_VIEW:r.c.Unreads,SEARCH:"search",DELETE_MSG_DIALOG:"delete-msg-dialog",PINS_FLEXPANE:"pins-flexpane",PIN_ADD:"pin-add",PIN_REMOVE:"pin-remove",SHARED_FILES_FLEXPANE:"shared-files-flexpane",HIGHLIGHTS_FLEXPANE:"highlights-flexpane",WHATS_NEW:"whats-new",MEMBER_PROFILE_FLEXPANE:"member-profile-flexpane",CHANNEL_DETAILS_FLEXPANE:"channel-details-flexpane",COMPOSER_VIEW:"composer-view",WELCOME_PLACE:"welcome-place",ALL_DMS:"all-dms",DMS_TAB:"dms-tab",ONBOARDING_START_CONVERSATION:"onboarding-start-conversation",MEDIA_VIEWER_THREAD:"media-viewer-thread",QUIP_GANTRY_THREAD:"quip-gantry-thread",QUIP_INLINE_COMMENTS:"quip-inline-comments",QUIP_COMMENT_STREAM:"quip-comment-stream",QUIP_COMMENT_STREAM_ARCHIVE:"quip-comment-stream-archive",QUIP_COMMENT_STREAM_UNREAD:"quip-comment-stream-unread",SHARED_MESSAGE_DIALOG:"shared-message-dialog",FEEDBACK_FLEXPANE:"feedback-flexpane",UNDO_MSG_SEND_DIALOG:"undo-message-dialog",TILES_CHANNEL:"tiles-channel",HUDDLE_THREADS:"huddle_threads",QUIP_UNFURL:"quip-unfurl",LIST_RECORD_DETAIL_FLEXPANE:"list-record-detail-flexpane",LIST_RECORD_THREAD_FLEXPANE:"list-record-thread-flexpane",LIST_RECORD_HISTORY_FLEXPANE:"list-record-history-flexpane",LIST_HISTORY_FLEXPANE:"list-history-flexpane",DOCS:"docs",DOC_ACTIVITY_HISTORY:"doc-activity-history",PREVIEW_POPOVER:"preview_popover",AI_SUMMARY:"ai_summary",SEARCH_SUMMARY:"search_summary",RECORD:"record",SALES_LOG_ACTIVITY:"sales-log-activity",ASSISTANT:"assistant",INBOX:"inbox",ACTIVITY_INBOX:"activity-inbox",ASSISTANT_DETAIL:"assistant-detail",AI_APP_SPLIT:"ai-app-split",AI_APP_CHAT:"ai-app-chat",ABOUT_AI_APP:"about-ai-app",WORK_OBJECT:"work-object",EXTERNAL_USER_PROFILE:"external-user-profile",USERS_WITH_METADATA:"users-with-metadata",TABLEAU_DETAILS_FLEXPANE:"tableau-details-flexpane",CHANNEL_TAB_PINS_PEEK:"channel-tab-pins-peek",AGENT_DM_CONVERSATION:"agent-dm-conversation",AGENT_HOME_DM_CONVERSATION:"agent-home-dm-conversation",AGENT_PREVIEW_CONVERSATION:"agent-preview-conversation",MEETING_DETAILS:"meeting-details",CHANNEL:n.D.Channel,SHORTCUTS:"shortcuts",SLACKBOT_AI_SPLIT:"slackbot-ai-split",SLACKBOT_AI_CONVERSATION:"slackbot-ai-conversation",SLACKBOT_AI_HISTORY:"slackbot-ai-history",SLACKBOT_AI_SKILLS:"slackbot-ai-skills",SLACKBOT_AI_AUTOMATIONS:"slackbot-ai-automations",WORK_OBJECT_FULL_SIZE_PREVIEW:"work-object-full-size-preview",WORKFLOW_BUILDER_AI_AGENT:"workflow-builder-ai-agent"}},0x1deaf9033:(e,t,a)=>{"use strict";function makeMessageId({channel:e,ts:t}){return`${e}-${t}`}function parseMessageId(e){let[t,a]=e.split("-");return{channel:t,ts:a}}a.d(t,{H:()=>makeMessageId,Y:()=>parseMessageId})},0x1015603dd:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>d,R8:()=>mountReactWithCreateRoot,iD:()=>shouldUseReact19CreateRoot,Wd:()=>unmountReact});var n=a(0x22ba45688),r=a(0x1914b45dc),i=a(0x22480f425),o=a(0xdbd02447),s=a(0x1ec68d6a3),l=a(0x14149c126);let shouldUseReact19CreateRoot=e=>"on"===(0,l._Z)(e,"react_19_use_create_root"),c=(0,r.A)()||(0,i.A)(),mountReact=(e,t,a=!1,r)=>{if(!t||!t.setAttribute)throw TypeError("React mount point must be a valid HTML element");return t.setAttribute("data-reactroot",""),((e,t,a)=>{let{shouldUseCreateRoot:r,callback:i}=a;if(r){let a=(0,o.H)(t);return a.render(e),i&&setTimeout(i,0),a}return(0,n.render)(e,t,i),null})(e,t,{shouldUseCreateRoot:a,callback:r})},unmountReact=(e,t)=>{t?t.unmount():n.unmountComponentAtNode(e)},mountReactWithCreateRoot=(e,t,a,n)=>{let r=(0,l.Vs)(a.getState());return c||r&&0!==Object.keys(r).length||(0,s.default)({getState:()=>a.getState(),label:"mountReactWithCreateRoot"}).error(Error("Experiment state is undefined or empty when mounting React component")),mountReact(e,t,"on"===(0,l._Z)(a.getState(),"react_19_use_create_root"),n)},d=mountReact},0x1750c1ced:(e,t,a)=>{"use strict";let n;a.d(t,{VA:()=>isMultiTeamCapable,eb:()=>getTargetForTeamSubdomain});var r=a(0x62a17882),i=a(0xd35ac109),o=a(0x209e067d1),s=a(0x164ee0b8e);function getLocalConfigOverride(){let e=(0,s.W6)("multiTeamOverride");if(null!=e)return!!e}function getQueryStringOverride(e=location.search){switch((0,i.nT)(e).multi_team){case"1":case"true":return!0;case"0":case"false":return!1;default:return}}let l=/\bCrOS\b/,c=/\bSilk\b/;function isMultiTeamCapable(){if(!(0,o.A)())return!1;function isMultiTeamCapableInner(){let e=getQueryStringOverride();if(void 0!==e)return e;let t=getLocalConfigOverride();return void 0!==t?t:!!(0,r.l_)()||l.test(navigator.userAgent)||c.test(navigator.userAgent)}return void 0===n&&(n=isMultiTeamCapableInner()),n}function getTargetForTeamSubdomain(e){return e?`_team_${e}`:void 0}Object.defineProperty({getQueryStringOverride},"isMultiTeamCapableMemo",{get:()=>n,set:e=>{n=e}})},0x77d15e7e:(e,t,a)=>{"use strict";a.d(t,{EN:()=>l,F$:()=>c,lI:()=>getNamedViewById});var n=a(0x1aba66b56),r=a(0x20482ad21);a(0x13e52c72b);var i=a(0x166d96bf1),o=a(0xebc4f0be);let s=new r.Ay("model"),l=i.E,c=o.F;function getTranslatedNames(){return{[l.allUnreads]:s.t("All Unreads"),[l.allThreads]:s.t("Threads"),Vapp_space:s.t("Apps")}}function getNamedViewById(e){return(0,n.A)(l,e)||"Vapp_space"===e?{id:e,name:getTranslatedNames()[e],is_view:!0,is_page_view:!0}:null}},0xdfb51b59:(e,t,a)=>{"use strict";a.d(t,{O:()=>n});let n={ok:!0};Object.freeze(n)},0xc4548bcd:(e,t,a)=>{"use strict";a.d(t,{A:()=>openInNewTab});var n=a(0x132667dd4),r=a(0xc130ea4f);function openInNewTab(e,t="_blank"){let a=document.createElement("a"),i=(0,n.Br)(e);if(!i)return!1;let{href:o,rel:s}=i;return a.href=o,a.rel=s,a.target=t,a.addEventListener("click",e=>{e.stopPropagation()}),document.body.appendChild(a),(0,r.jh)()&&(0,r.lm)(),a.click(),a.remove?a.remove():a.parentNode&&a.parentNode.removeChild(a),!0}},0x1cb3a1d29:(e,t,a)=>{"use strict";a.d(t,{o:()=>isValidPresence});var n=a(0x202e46926);let r={[n.hR]:n.hR,[n.z2]:n.z2};function isValidPresence(e){return!!r[e]}},0x10079cc7:(e,t,a)=>{"use strict";a.d(t,{CS:()=>shouldRenderPlanHighlights,F2:()=>N,Fu:()=>O,HR:()=>isNotProductLevel,I1:()=>I,OY:()=>w,PV:()=>F,Qn:()=>getCheckoutFlowUrl,RF:()=>b,Vt:()=>isPlusFeatureTrial,ZL:()=>getContactSalesUrlPath,ZO:()=>G,Zt:()=>E,_N:()=>getProductNameByLevel,a8:()=>getValidProductLevel,c4:()=>W,c7:()=>isPlusFeatureTrialCheckoutRoute,ck:()=>k,ew:()=>L,g0:()=>B,hZ:()=>getPlansPageUrl,i6:()=>D,jo:()=>isAutoChargeTrialCheckoutRoute,k2:()=>U,lY:()=>C,m6:()=>getUpgradeActionUrl,nD:()=>getPlanLevelFromProductLevel,nM:()=>y,nc:()=>P,pi:()=>R,qM:()=>getContactSalesUrl,r2:()=>v,ru:()=>T,tc:()=>getAutoChargeCheckoutUrl,uq:()=>M,wi:()=>x,y7:()=>getPlanCostCachedId,yK:()=>S,zG:()=>H});var n,r,i,o,s,l=a(0x202470d56),c=a(0x20482ad21),d=a(0xd35ac109),u=a(0x12c020c3),m=a(0x972c6c19),f=a(0x10650b363),_=a(0xa144a6db),p=a(0x1e509306c),h=a(0xa1832ae4);a(0x1c3d6f0a5);var g=a(0x1ee439e69);let A=new c.Ay("pricing_plans"),b=90,y=10,S="7013y000002UvizAAC",E={vat:"vat",sales_tax:"sales_tax",abn:"abn",jct:"jct",qst:"qst",sst:"sst",gst:"gst",tax:"tax"},k={monthly:"monthly",yearly:"yearly"},T={MONTHLY:"1m",ANNUALLY:"12m"},I={monthly:"1m",yearly:"12m"},w={monthly:1,yearly:12};var C=((n={}).Default="default",n),v=((r={}).Trial="trial",r.Discount="discount",r.Free="free",r),x=((i={}).SlackAI="slack_ai",i),R=((o={}).Heavy="checkout_success_heavy",o.Addons="checkout_success_addons",o.AutoChargeTrial="checkout_success_auto_charge_trial",o.SlackConnectInviteAccept="checkout_success_slack_connect_invite_accept",o),O=((s={}).UpfrontBilled="upfront_billed",s.UsageBased="usage_based",s);let N={FREE:"",STD:"std",PLUS:"plus",COMPLIANCE:"compliance",ENTERPRISE:"enterprise"},D={free:{id:"free",name:"free"},standard:{id:"std",name:"standard"},plus:{id:"plus",name:"plus"},compliance:{id:"compliance",name:"compliance"},enterprise:{id:"enterprise",name:"enterprise"}},L={PAID_FEATURE_TRIAL:30,GOLDEN_GATE_V2:90,SHORTENED_FEATURE_TRIAL:14,PLUS_FEATURE_TRIAL:30,TOP_FUNNEL_STD_TRIAL:30,TOP_FUNNEL_PLUS_TRIAL:30,SHORTEN_SC_TRIAL:30},M={CREDIT_CARD:"creditCard",INVOICE:"invoice",ACH:"ach",TRIAL:"trial"},F="checkout",P=`${F}/router`,isNotProductLevel=e=>!Object.values(N).includes(e),getProductNameByLevel=e=>{switch(e){case D.standard.id:case D.standard.name:case N.STD:return A.t("Pro");case D.plus.id:case D.plus.name:case N.PLUS:return A.t("Business+");case D.compliance.id:case D.compliance.name:case N.COMPLIANCE:return A.t("Compliance");case D.enterprise.id:case D.enterprise.name:case N.ENTERPRISE:return A.t("Enterprise+");default:return A.t("Free")}},getValidProductLevel=e=>{switch(e){case N.FREE:case D.free.name:case D.free.id:return N.FREE;case N.STD:case D.standard.name:case D.standard.id:return N.STD;case N.PLUS:case D.plus.name:case D.plus.id:return N.PLUS;case N.COMPLIANCE:case D.compliance.name:case D.compliance.id:return N.COMPLIANCE;case N.ENTERPRISE:case D.enterprise.name:case D.enterprise.id:return N.ENTERPRISE;default:return N.FREE}},getPlanLevelFromProductLevel=e=>Object.keys(D).find(t=>D[t].id===e)||"free",U={Local:"local_discount",TenuredTeam:"tenured_teams_discount",Education:"educational",Nonprofit:"nonprofit",WfhBundle:"wfhbundle",PartnerGrowth:"partner_growth",Atlassian2020:"atlassian_2020",SmartDiscount:"smart_discount",PaidAcquisitionSelfServe:"paid_acquisition_self_serve",SfdcCustomerCoupon2022:"sfdc_customer_coupon_2022",SlackGrbCampaignCoupon2022:"slack_grb_campaign_coupon_2022",StraightToPaid:"straight_to_paid",IndiaLocal:"local_discount_rupee",BrazilLocal:"local_discount_real",PnpDiscountPromo:"pnp_discount_promo",DowngradeDiscount:"downgrade_discount",NewYearPromo:"new_year_promo",NewYearPromo26:"new_year_promo_26",SlackAiAddonDiscount:"slack_ai_addon_discount",DataDeletionDiscount:"evergreen_data_deletion_discount",PnpDiscount:"pnp_discount",MrBeastPromo:"mr_beast_promo"},B={Brazil:"real",India:"rupee",V2:"v2",Discount25Pct3Months:"discount_25_pct_3_months",Discount50Pct3Months:"discount_50_pct_3_months",Discount90Pct3Months:"discount_90_pct_3_months",Discount75Pct1Month:"discount_75_pct_1_month",Free:"free",Standard:"standard",Discount15Pct12Months:"discount_15_pct_12_months",Discount20Pct12Months:"discount_20_pct_12_months"},G={PartnerPromo:"partner_promo",PaidFeatureTrial:"paid_feature_trial",PlusFeatureTrial:"plus_feature_trial",GoldenGateTrial:"golden_gate_trial",SharedChannelsFreeTrial:"shared_channels_free_trial",ImmediateStartTrial:"immediate_start_trial",BringBackSlackToWorkTrial:"bring_slack_to_work_trial",GlobalEntrypointTrial:"global_entrypoint_trial",AddonTrial:"addon_trial",SolutionsGalleryPromo:"solutions_gallery_promo",SfdcAutoSlackPlusTrial:"sfdc_auto_slack_plus_trial",TopOfFunnelTrial:"top_of_funnel_trial",SlackFirstCrmTrial:"slack_first_crm_trial",WebHpLoggedInTrial:"web_hp_logged_in_trial",NewYearPromo26:"new_year_promo_26"},H={V3:"v3",V4:"v4",ExistingTeam90:"existing_team_90",NewTeam90:"new_team_90",ExistingTeam30:"existing_team_30",NewTeam30:"new_team_30",SharedChannels:"shared_channels",MessageLimit:"message_limit",Vhq:"vhq",Canvas:"canvas",List:"list",WorkflowBuilder:"workflow_builder",SharedChannels14Days:"shared_channels_14_days",MessageLimit14Days:"message_limit_14_days",Vhq14Days:"vhq_14_days",Canvas14Days:"canvas_14_days",WorkflowBuilder14Days:"workflow_builder_14_days",ImmediateStartTrial14Days:"immediate_start_trial_14_days",Inviter90:"inviter_90",Inviter14:"inviter_14",CreatorGuidedSetupDay0:"creator_guided_setup_day_zero",SolutionsOnboardingTrialDay0:"solutions_onboarding_day_zero",SolutionsGalleryTeamCreation:"solutions_gallery_team_creation",SolutionsGalleryInProduct:"solutions_gallery_in_product",SlackAI:"slack_ai",AiWorkspaceSetup:"ai_workspace_creation",Standard:"standard",Plus:"plus",EmptySubtype:"",SfcrmFreeBizPlus:"sfcrm_free_biz_plus",SfcrmProBizPlus:"sfcrm_pro_biz_plus",PricingPageMobileProTrial:"pricing_page_mobile_pro_trial",PricingPageMobileBizPlusTrial:"pricing_page_mobile_biz_plus_trial"},W={COLLABORATION:"collaboration",DATA_LOSS_PREVENTION:"data_loss_prevention",DIRECTORY:"directory",GROUP_CALLS:"group_calls",GUESTS_SHARED_CHANNELS:"guests_shared_channels",ENTERPRISE_SECURITY:"enterprise_security",HIPAA_COMPLIANCE:"hipaa_compliance",MESSAGE_EXPORTS:"message_exports",MESSAGE_ALL_EXPORTS:"message_all_exports",SAML_SSO:"saml_sso",UNLIMITED_APPS:"unlimited_apps",UNLIMITED_CANVAS:"unlimited_canvas",UNLIMITED_MESSAGES:"unlimited_messages",UNLIMITED_WORKSPACES:"unlimited_workspaces",USER_PROVISIONING:"user_provisioning",USER_GROUPS:"user_groups",AUDIO_VIDEO_CLIPS:"audio_video_clips",SLACK_HUDDLES:"slack_huddles",LARGE_SCALE_COLLABORATION:"large_scale_collaboration",STREAMLINED_ADMINISTRATION:"streamlined_administration",APPS_INTEGRATIONS:"apps_integrations",UNLIMITED_APPS_INTEGRATIONS:"unlimited_apps_integrations",SLACK_AI_ADD_ON:"slack_ai_add_on",CANVAS_AND_LISTS:"canvas_and_lists",SLACK_CONNECT:"slack_connect",NO_CODE_WORKFLOWS:"no_code_workflows",CUSTOM_WORKFLOWS:"custom_workflows",CUSTOM_TEMPLATES:"custom_templates",SINGLE_SIGN_ON:"single_sign_on",ENTERPRISE_EMM:"enterprise_emm"},getPlansPageUrl=({entryPoint:e,feature:t,hash:a,shouldIncludeLocationUrlParams:n,action:r,redirectToDesktop:i,inviteId:o,team:s,excludeDomain:l=!1}={})=>{let c="/plans";return c+=(0,d.iU)({...e&&{entry_point:e},...i&&{redirect_to_desktop:i},...o&&{invite_id:o},...t&&{feature:t},...n&&(0,d.nT)(window?.location?.search),...r&&{action:r}}),a&&(c+=`#${a}`),s&&!l&&(c=(0,h.Zl)(s,c)),c},getCheckoutFlowUrl=({team:e,entryPoint:t,productId:a,productLevel:n,productTerm:r,action:i,excludeDomain:o,promoCode:s,isFutureSwitch:c,addon:u,addonTypes:m,from:_,promoTypeEntry:p,creationPath:g,inviteIdToAccept:A,sig:b,redirectUrl:y}={})=>{let S=!(0,l.A)(c),E=n?getValidProductLevel(n):void 0,k=(0,l.A)(u),T=m?m.toString():void 0,I=(0,d.iU)({...u&&{a:u},...!E&&k&&{p:a||"std_m"},...E&&k&&{product_level:E||N.STD},...S&&{is_future_switch:+!!c},...r&&{product_term:r},...i&&{action:i},...t&&{entry_point:t},...s&&{remote_promo:s},...T&&{[f.se]:T},..._&&{from:_},...p&&{promo_type_entry:p},...g&&{creation_path:g},...A&&{invite_id_to_accept:A},...b&&{sig:b},...y&&{redirect_url:y}}),w=`${P}${I}`;return o?w:`${(0,h.Zl)(e)}${w}`},getUpgradeActionUrl=(e,{entryPoint:t,productId:a,productLevel:n,productTerm:r,action:i,feature:o,hash:s,redirectToDesktop:l,inviteId:c,excludeDomain:d}={})=>{let u=(0,g.H7)(e);return u&&"checkout"===i?getCheckoutFlowUrl({team:u,entryPoint:t,productId:a,productLevel:n,productTerm:r,action:i,excludeDomain:d}):getPlansPageUrl({entryPoint:t,feature:o,hash:s,team:u,redirectToDesktop:l,inviteId:c,excludeDomain:d})},getContactSalesUrlPath=(e={})=>`/contact-sales${(0,d.iU)({...e,from_plans:1,campaign:S})}`,getContactSalesUrl=(e,t={})=>{let a=getContactSalesUrlPath(t);return(0,h.Zl)(e,a)},V=[p.KW,p.SS],isAutoChargeTrialCheckoutRoute=()=>{let e=null;try{let t=(0,_.f)();e=t?.routeName}catch{return!1}return V.includes(e)},getAutoChargeCheckoutUrl=({team:e,promoType:t,promoSubtype:a,entryPoint:n,productId:r})=>{let i=(0,d.iU)({promo_type_entry:t,promo_subtype_entry:a,p:r,...n&&{entry_point:`autocharge_${n}`}});return`${(0,m.YV)()}${getPlansPageUrl()}/${e.id}/${F}/trial${i}`},isPlusFeatureTrialCheckoutRoute=()=>{let{promo_type_entry:e}=(0,u.qN)(window.location.search);return e===G.PlusFeatureTrial},shouldRenderPlanHighlights=()=>{let e=(0,d.nT)(window?.location?.search);return!!isAutoChargeTrialCheckoutRoute()||e?.action==="checkout"},getPlanCostCachedId=(e,t,a,n,r)=>{let{country:i,region:o,street:s,postalCode:l,isBusinessPurchase:c,vatId:d,regionalId:u}=t;return[e,i,o,s,l,c,a,n,d||"",u,r].join("-")},isPlusFeatureTrial=e=>e===G.PlusFeatureTrial},0xebc4f0be:(e,t,a)=>{"use strict";a.d(t,{F:()=>r});var n=a(0x166d96bf1);let r={[n.E.allUnreads]:"unreads",[n.E.allThreads]:"threads",[n.E.search]:"search"}},0x166d96bf1:(e,t,a)=>{"use strict";a.d(t,{E:()=>n});let n={allUnreads:"Vall_unreads",allThreads:"Vall_threads",search:"Vsearch"}},0xe8cbeb5b:(e,t,a)=>{"use strict";a.d(t,{Cm:()=>recordJSProfile,I_:()=>isLongTask,hk:()=>isInputDelayOver50ms,lM:()=>reportJSProfile});var n=a(0x62a17882),r=a(0x145ffd4a0),i=a(0x19efc8b50),o=a(0x5739d664),s=a(0x14f63efd5),l=a(0x9b971e7e),c=a(0x1266f1359),d=a(0x14149c126);function getDeviceInfo(){return{hardware_concurrency:window.navigator?.hardwareConcurrency,device_memory:window.navigator?.deviceMemory}}let u=(0,o.A)(()=>{let e,{desktopAppVersion:t}=(0,n.U1)();if(t){let{major:a,minor:n,patch:r}=t;e=`${a}.${n}.${r}`}return{os:(0,n.DC)(),browser:(0,n.X5)(),browser_version:(0,n.JF)(),app_version:e,version_ts:(0,i.P2)(),build_type:(0,r.JS)()}});function reportJSProfile(e,t,a,n={}){try{let r=JSON.stringify({...a,metadata:{type:e,webapp_version:(0,i.X3)(),...getDeviceInfo(),...u(),...n}});(0,c.oK)(t)?.dispatch((0,s.r)({reason:"report_trace",trace:r,type:e}))}catch{}}function recordJSProfile(e,t){let a=(0,l.ZT)(e),n="enabled"===(0,d._Z)(e,"self_profiling");if(!a||!n)return{stop(){}};try{let e=new window.Profiler({maxBufferSize:1e4,sampleInterval:0}),n=new Date,r=e.sampleInterval;return{stop(){let i=new Date;e.stop().then(e=>{reportJSProfile(t,a,e,{from:n,until:i,sample_interval:r})})}}}catch{return{stop(){}}}}function isLongTask(e){return"longtask"===e.entryType}function isInputDelayOver50ms(e){return e instanceof PerformanceEventTiming&&"event"===e.entryType&&"keydown"===e.name&&e.processingStart-e.startTime>50}},0x107e97a6b:(e,t,a)=>{"use strict";a.d(t,{EX:()=>parseCompoundId,Lo:()=>makeCompoundId,Md:()=>encodeQuipCommentThreadId,QY:()=>getFileIdFromEntityId,_U:()=>createEntityIdFromFileId,cp:()=>isCompoundIdForSameFile,iK:()=>decodeQuipCommentThreadId,nU:()=>replaceCollabIdForLogging,yV:()=>extractFileIdStringFromQuipId});var n=a(0xa985ed31),r=a(0x1529370e7);let i="quip:",o="Qps:",s="Qpc:",l="Qpv:",c="Qpvs:";function condenseIdForUrl(e){return e.replace("temp:","t:")}function expandIdForQuip(e){return e.replace("t:","temp:")}function extractFileIdStringFromQuipId(e){return e?e.slice(3,e.length):e}function encodeQuipSectionId(e){return`${o}${condenseIdForUrl(e)}`}function decodeQuipVersionId(e){return e.substring(l.length)}function decodeQuipSequence(e){return parseInt(e.substring(c.length),10)}function decodeQuipSectionId(e){return expandIdForQuip(e.substring(o.length))}function encodeQuipCommentThreadId(e){return`${s}${condenseIdForUrl(e)}`}function decodeQuipCommentThreadId(e){return expandIdForQuip(e.substring(s.length))}function makeCompoundId({id:e,sectionId:t,commentThreadId:a,versionId:n,sequence:r}){let i=e;return i?(i.startsWith("Qp:")||(i.startsWith("temp:")||(i=`Qp:${i}`),t?i=`${i}-${encodeQuipSectionId(t)}`:a&&(i=`${i}-${encodeQuipCommentThreadId(a)}`),n&&(i=`${i}-${l+n}`),n&&r&&(i=`${i}&${c+r}`)),i):""}function parseCompoundId(e){let t=e?.split("-",3),a=t?.[0]||"",n=t?.[1]||"";a.startsWith(i)?a=a.substring(i.length):a.startsWith("Qp:")&&(a=a.substring(3));let{sectionId:r,commentThreadId:o}=parseFocusId(n),{versionId:s,sequence:l}=parseVersion(n);return{fileIdOrQuipThreadId:a,sectionId:r,commentThreadId:o,versionId:s,sequence:l}}function getFileIdFromEntityId(e){if(e&&(0,n.A)(e))return e;let{fileIdOrQuipThreadId:t=null}=e&&(0,r.Ay)(e)?parseCompoundId(e):{};return t&&(0,n.A)(t)?t:null}function createEntityIdFromFileId(e){return(0,n.A)(e)?`Qp:${e}`:e}function isCompoundIdForSameFile(e,t){if(!(0,r.Ay)(e)||!(0,r.Ay)(t))return!1;let{fileIdOrQuipThreadId:a}=parseCompoundId(e),{fileIdOrQuipThreadId:n}=parseCompoundId(t);return a===n}function parseVersion(e){if(!e.startsWith(l))return{versionId:"",sequence:0};let t=e.split("&");return t?{versionId:decodeQuipVersionId(t[0]),sequence:t[1]?.startsWith(c)?decodeQuipSequence(t[1]):0}:{versionId:"",sequence:0}}function parseFocusId(e){return{sectionId:e.startsWith(o)?decodeQuipSectionId(e):"",commentThreadId:e.startsWith(s)?decodeQuipCommentThreadId(e):""}}let d=/collab-(doc|embedded-ui)-[^]+?(\s|$)/;function replaceCollabIdForLogging(e,t="[key]"){return e.replace(d,`collab-$1-${t}$2`)}},0xc0b7c558:(e,t,a)=>{"use strict";function isCompositeId(e){return!!e.match(/^S:/)}a.d(t,{f:()=>isCompositeId,j:()=>constructSalesforceCompositeId});let constructSalesforceCompositeId=(e,t)=>isCompositeId(t)?t:`S:${e}:${t}`},0x188544c76:(e,t,a)=>{"use strict";a.d(t,{D:()=>parseSalesforceCompositeId});let parseSalesforceCompositeId=e=>{let t=e.split(":");return{salesforceOrgId:t[1]||"",rawRecordId:t[2]||"",relatedListId:t[3]||""}}},0x1a9a80bc:(e,t,a)=>{"use strict";a.d(t,{T7:()=>isRecordOfType,Vj:()=>n,ki:()=>getKeyPrefixFromRecordId});let n={ACCOUNT:"001",CAMPAIGN:"701",CASE:"500",CONTACT:"003",CONTENT_DOCUMENT:"069",EVENT:"00U",EMAIL_MESSAGE:"02s",GROUP:"00G",LEAD:"00Q",LIST_VIEW:"00B",LIST_EMAIL:"0XB",OPPORTUNITY:"006",ORGANIZATION:"00D",RECORD_TYPE:"012",TASK:"00T",USER:"005",VIDEO_CALL:"6qr",VOICE_CALL:"0LQ"};function getKeyPrefixFromRecordId(e){return e.slice(0,3)}function isRecordOfType(e,t){return e.startsWith(t)}},0x1a4072e61:(e,t,a)=>{"use strict";function getRegexUnion(e,t){return new RegExp(e.map(e=>RegExp(e,"").toString().slice(1,-1)).join("|"),t)}a.d(t,{t:()=>getRegexUnion})},0x11d0b0bd1:(e,t,a)=>{"use strict";let n;a.d(t,{As:()=>forceColdBoot,yQ:()=>S});var r=a(0x1626b8eae),i=a(0x4f6e90b4),o=a(0xe874a88a),s=a(0x62a17882),l=a(0xbf8832f0),c=a(0x1daf4b9c),d=a(0x16e39eebd),u=a(0x12c020c3),m=a(0x226fd2540),f=a(0x1ec68d6a3),_=a(0x12e383cfb),p=a(0xec5f1eef),h=a(0x1750c1ced),g=a(0x78b6120c),A=a(0x14a2ffd1d),b=a(0x164ee0b8e),y=a(0x1c5304369);function purgeAllStoredModels(){let e=(0,f.getGenericLogger)({label:y.JY});e.info("Purging all stored models");let t=((0,b.W6)("orderedTeamIds")||[]).map(t=>(0,A.Tn)(t).catch(a=>e.warn(`Error purging data for ${t}: ${a}`)));return o.S.all(t).finally(()=>{e.info("Finished purging all stored models")})}function setLastKeydownTime(e){n=e}function reloadInner({reason:e,noCache:t=!1,reasonKey:a,forceFetchAssetsOnPageLoad:r=!1}={}){let i=(0,f.getGenericLogger)(),o=Date.now();if(void 0!==n&&o-n<1e4){i.info("RELOAD","Will delay reload until user stops typing."),setTimeout(()=>reloadInner({reason:e,noCache:t,reasonKey:a}),1e4);return}if((0,c.A)()&&g._E&&g.Lz)window.isReloading=!0,i.info("RELOAD","Will reload after making sure service worker is registered"),(r?(0,g._E)().catch(e=>{(0,f.getGenericLogger)().warn("RELOAD","Could not unregister service worker during reload call",e.message)}):(0,g.Lz)()).finally(()=>{i.info("RELOAD",`${e?JSON.stringify(e):"no reason specified"}`),(0,m.R)({reloadType:"none",reason:a||"none"}),window.location.reload(t)});else i.info("RELOAD",`${e?JSON.stringify(e):"no reason specified"}`),window.location.reload(t)}window.isReloading=!1,document.addEventListener("keydown",()=>{setLastKeydownTime(Date.now())});let S=(0,r.A)(reloadInner);function forceColdBootInner({reason:e,immediate:t=!1,reasonKey:a,recommendedBuildVersion:n,buildManifestLastModified:r,forceBuildVersion:i}={}){let _,p=(0,f.getGenericLogger)();if(!(0,c.A)()||!g._E)return void S({reason:e,noCache:!0,reasonKey:a});let b=(0,u.$0)(window.location.href,{force_cold_boot:"1",...void 0!==n?{recommended_build_version:n}:{},...void 0!==r?{build_manifest_last_modified:r}:{},...void 0!==i?{force_build_version:i}:{}}),y=(0,s.y3)()&&!(0,s.dY)("4.3.0");if(t&&!y){(0,m.R)({reloadType:"cold_boot_immediate",reason:a||"none"}),p.info("COLD-BOOT",`Will force cold boot immediately (reason: ${e||"no reason specified"})`),p.info("RELOAD",`Reloading to URL: ${b}`),window.location.assign(b);return}p.info("COLD-BOOT",`Will force cold boot after unregistering service worker and purging stored models (reason: ${e||"no reason specified"})`);let E=(0,g._E)().catch(e=>{(0,f.getGenericLogger)().warn("COLD-BOOT","Could not unregister service worker during forceColdBoot call",e.message)});if((0,h.VA)())_=purgeAllStoredModels();else{let e=(0,l.oI)();_=A.Tn&&e?(0,A.Tn)(e):o.S.resolve()}let k=(0,d.R)(_,45e3).catch(e=>{if(e instanceof d._)(0,f.getGenericLogger)().error("COLD-BOOT","Purge stored model timed out: Failed to purge all stored models");else throw e}),T=(0,d.R)(E,3e4).catch(e=>{if(e instanceof d._)(0,f.getGenericLogger)().error("COLD-BOOT","Pre-reload task timed out: Failed to unregister service worker");else throw e});o.S.all([T,k]).catch(e=>{(0,f.getGenericLogger)().warn("COLD-BOOT","Error in pre-reload tasks; continuing with reload",e.message)}).finally(()=>{(0,m.R)({reloadType:"cold_boot",reason:a||"none"}),p.info("RELOAD",`Reloading to URL: ${b}`),window.location.assign(b)})}let E=null,forceColdBoot=(...e)=>{if(E){let e=Date.now()-E;(0,f.getGenericLogger)().warn("RELOAD",`Ongoing reload started ${e/1e3}s ago, skipping this forceColdBoot call.`);let t=(0,_.F)(),a=t.createSpan({name:"force_cold_boot_collision",options:{tags:{time_since_last_cold_boot_ms:e}},samplingOptions:{sampleType:p.nl.ALWAYS}});t.reportSpans([a]);return}return E=Date.now(),forceColdBootInner(...e)};(0,i.ul)("forceColdBoot",forceColdBoot),(0,i.ul)("reload",S)},0x1ee2e1f1b:(e,t,a)=>{"use strict";a.d(t,{x:()=>savedApiToSavedItem});var n=a(0x121459a2);function savedApiToSavedItem(e){let t={itemId:e.item_id,dateDue:e.date_due,dateCreated:e.date_created,dateUpdated:e.date_updated,dateCompleted:e.date_completed,state:e.state};return e.item_type===n.ll.message?{itemType:n.ll.message,ts:e.ts,isTombstoned:e.is_tombstoned,isArchived:e.is_archived,...t}:e.item_type===n.ll.file?{itemType:n.ll.file,isArchived:e.is_archived,...t}:e.item_type===n.ll.list_record?{itemType:n.ll.list_record,recordId:e.ts,isArchived:e.is_archived,...t}:e.item_type===n.ll.list_record_field?{itemType:n.ll.list_record_field,recordId:e.ts,columnId:e.item_detail,isArchived:e.is_archived,...t}:e.item_type===n.ll.canvas_section?{itemType:n.ll.canvas_section,sectionId:e.item_detail,description:e.description,isArchived:e.is_archived,...t}:{itemType:n.ll.reminder,description:e.description,...t}}},0x43b45544:(e,t,a)=>{"use strict";a.d(t,{l:()=>Cache});var n=a(0x1cbdfeceb);let Cache=class Cache{call;timeoutMs;allowUpdateWithEmpty;updateDate;cachedData;pendingPromise;pendingPromiseRequestDate;abortController;constructor(e,t,a=!0){this.call=e,this.timeoutMs=t,this.allowUpdateWithEmpty=a,this.updateDate=void 0,this.cachedData=void 0,this.pendingPromise=void 0,this.pendingPromiseRequestDate=void 0,this.abortController=void 0}get(){return this.isStaleOrUndefined()?this._callCacheGet():Promise.resolve(this.cachedData)}getStaleWhileRevalidate(e){return this.isStaleOrUndefined()?(this._callCacheGet(),Promise.resolve(void 0===this.cachedData?e:this.cachedData)):Promise.resolve(this.cachedData)}flushAll(){this.updateDate=void 0,this.cachedData=void 0,this.abortController?.abort(),this.abortController=void 0,this.pendingPromise=void 0,this.pendingPromiseRequestDate=void 0}onCacheData(e){(0,n.A)()}isStaleOrUndefined(){return void 0===this.updateDate||void 0===this.cachedData||Date.now()-this.updateDate>this.timeoutMs}_callCacheGet(){if(this.pendingPromise){if(Date.now()-(this.pendingPromiseRequestDate??0)<3e4)return this.pendingPromise;this.abortController?.abort(),this.pendingPromiseRequestDate=void 0}this.abortController=new AbortController;let{signal:e}=this.abortController;this.pendingPromiseRequestDate=Date.now();let t=this.call.apply(this).then(t=>(e.aborted||((this.allowUpdateWithEmpty||t||void 0===this.cachedData)&&(this.cachedData=t),this.updateDate=Date.now(),this.pendingPromise=void 0,this.onCacheData(t)),this.cachedData));return this.pendingPromise=t,t}}},0x11a6c4c96:(e,t,a)=>{"use strict";a.d(t,{G:()=>getFilesAutocompleteQueryCache});var n=a(0x1f03d78dc),r=a(0x9b971e7e);let i=class{queryCache=new n.A;prefixQueryCache=new n.A;updatedDate=Date.now();prefixUpdatedDate=Date.now();timeoutMs=288e5;prefixTimeoutMs=9e5;inFlightRequestTimeoutMs=400;inFlightRequestStartTime;isStale(){return Date.now()-this.updatedDate>this.timeoutMs}isPrefixStale(){return Date.now()-this.prefixUpdatedDate>this.prefixTimeoutMs}clearIfStale(){this.isStale()&&(this.queryCache.clear(),this.updatedDate=Date.now())}clearPrefixIfStale(){this.isPrefixStale()&&(this.prefixQueryCache.clear(),this.prefixUpdatedDate=Date.now())}contains(e){let t=this.queryCache.has(e);return this.clearIfStale(),t}containsPrefixOf(e){return this.clearPrefixIfStale(),this.prefixQueryCache.containsPrefix(e)}add(e){return this.clearIfStale(),this.queryCache.add(e)}addAsPrefix(e){return this.clearPrefixIfStale(),this.prefixQueryCache.add(e)}setRequestInFlight(){this.inFlightRequestStartTime=Date.now()}clearRequestInFlight(){delete this.inFlightRequestStartTime}isRequestInFlight(){return!!this.inFlightRequestStartTime&&Date.now()-this.inFlightRequestStartTime<this.inFlightRequestTimeoutMs}},o={};function getFilesAutocompleteQueryCache(e){let t=(0,r.ZT)(e),a=(0,r.jV)(e)||t;return o[a]||(o[a]=new i),o[a]}},0x34c2afe4:(e,t,a)=>{"use strict";a.d(t,{QL:()=>getChannelQueryHistoryCache,R5:()=>getQueryHistoryCache,ti:()=>existsValidQueryHistoryCache});var n=a(0x1a5ebbd4),r=a(0x43b45544),i=a(0x1266f1359);let o=class extends r.l{constructor(e,t){super(()=>(0,i.Qw)(e,(0,n.rp)({query:"",limit:100,useHash:!0,channelId:t})).then(e=>e.suggestions),3e5)}},s={},l={};function getQueryHistoryCache(e){return s[e]||(s[e]=new o(e,void 0)),s[e]}function getChannelQueryHistoryCache(e,t){return l[t]||(l[t]=new o(e,t)),l[t]}function existsValidQueryHistoryCache(e){return s[e]&&!s[e].isStaleOrUndefined()}},0x21c28ff01:(e,t,a)=>{"use strict";a.d(t,{Sh:()=>APIQuerySuggestionToken,J:()=>AutocompleteDate,CG:()=>DateQuerySuggestionToken,mk:()=>FrecencyBasedQuerySuggestionToken,qB:()=>HasQuerySuggestionToken,tT:()=>InQuerySuggestionToken,iy:()=>IsQuerySuggestionToken,cL:()=>MemberFilterQuerySuggestionToken,AS:()=>MemberQuerySuggestionToken,Dl:()=>MyReactionQuerySuggestionToken,FS:()=>PhraseQuerySuggestionToken,oN:()=>QuerySuggestionToken,vd:()=>StringQuerySuggestionToken,ec:()=>TypeQuerySuggestionToken});var n=a(0x839ba347),r=a(0x20ef3966f),i=a(0x114002bb1),o=a(0x1e2051844),s=a(0x7bbe057),l=a(0xd174f7d7),c=a(0x17294c72a),d=a(0x357885ff),u=a(0x7d48dd65),m=a(0xa560007e),f=a(0xb5e49867),_=a(0x190e60a66),p=a(0x2264e6ea3),h=a(0x1ec69ee01),g=a(0x12185e091),A=a(0x53f531a4),b=a(0x1ecc7f772),y=a(0x280afe13),S=a(0x2378cf6ec),E=a(0x21d85d6e5),k=a(0x4b8e0952),T=a(0xa1832ae4),I=a(0x1047c38ea),w=a(0xb8504a42),C=a(0x1632f6a87),v=a(0x1ef19e2e2),x=a(0x16ed1b0dc),R=a(0x46cf166),O=a(0x4f725d55),N=a(0x108fb4e96),D=a(0xe8e39b78),L=a(0x1308fe1af),M=a(0x1ca98db3c),F=a(0xa3534e17),P=a(0x8f36a342);function getChannelSectionAsContentsString(e){return e?e.name?`<%${e.id}|%${e.name}>`:e.type===P.VZ.Stars?`<%${e.id}|%${(0,C.yF)()}>`:`<%${e.id}>`:""}var U=a(0x3e8915e8);function getMpimAsContentsString(e,t){return t?`<%${t.id}|%${(0,b.SB)(e,t,{publicChannelIncludeHashSign:!1})}>`:""}function getTeamAsContentString(e){return e?`<%${e.id}|%${(0,T.F1)(e)}>`:""}var B=a(0x2242cf9de),G=a(0x9b971e7e),H=a(0x131598af9),W=a(0x1266f1359),V=a(0x1380694ee),j=a(0x217553e42),K=a(0x14149c126),q=a(0xe684f705),z=a(0x1ee439e69);let getLookupModifierNames=()=>{let e={},t=(0,N.av)();return(0,n.A)(t,(t,a)=>{e[t.toLocaleLowerCase()]=a,e[a.toLocaleLowerCase()]=a}),e},getModifierFromLocalized=e=>getLookupModifierNames()[(e||"").toLocaleLowerCase()],$=null,Y=null,Q=null,getTokenRegex=e=>{let t=(0,_.F)().getLocaleForLastViewedTeam(),a="on"===(0,K._Z)(e,"validate_search_filter_modifiers");if(!$||Y!==t||Q!==a){let e=(e=>{if(!e)return"([^\\s:]+):\\s?((?:[^<>\\s]+|<[^>]+>)?)";let t=Object.keys(getLookupModifierNames()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|");return`(${t}):\\s?((?:[^<>\\s]+|<[^>]+>)?)`})(a);$=RegExp(`^\\s*(("([^"]*)")|(\u{201C}([^\u{201C}\u{201D}]*)\u{201D})|(${e})|(@[^\\s]+|<[^>]+>)|([^\\s]+))(.*)$`,"i"),Y=t,Q=a}return $};let QuerySuggestionToken=class QuerySuggestionToken{get type(){return N.S6.UNKNOWN}toString(){return""}toDisplayString(){return this.toString()}toTextyString(){return this.toString()}_getUnifiedFilter(){return null}toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:e}={experimentOmniUnifiedFilterTokensGroupOn:!1}){if(e){let e=this._getUnifiedFilter();if(e)return[{insert:e.display,attributes:{slacksearchfilter:{modifier:e.modifier,entityId:e.entityId,label:e.display}}},{insert:" "}]}return[{insert:this.toString()}]}toMap(){return{string:this.toString()}}static rawTokensFromString(e,t){if(!t)return[];let a=t.replace(/[\r\n]+/g," "),n=getTokenRegex(e),r=[],i=a,o=n.exec(i);for(;null!==o;){let e=o[3],t=o[5],a=o[6],s=o[9],l=o[10];if(o[11]&&i.length===o[11].length)break;if(i=o[11],e)r.push({is_phrase:!0,string:e,is_smart_quote:!1});else if(t)r.push({is_phrase:!0,string:t,is_smart_quote:!0});else if(s)r.push({is_member:!0,string:s});else if(a)r.push({is_filter:!0,string:a});else if(l){let e=r.length>0?r.slice(-1)[0]:null;e&&e.is_word?e.string=`${e.string} ${l}`:r.push({is_word:!0,string:l})}o=n.exec(i)}return r}static rawTokensFromOps(e,t){if(!t||!Array.isArray(t)||0===t.length)return[];let a=[],n=null,r=getTokenRegex(e);for(let e of t){if(e.insert&&"string"!=typeof e.insert&&e.insert.slackemoji){let t=e.insert.slackemoji.text;n&&n.is_filter?(n.string+=t,n.filter_value+=t):a.push({is_word:!0,string:t});continue}if("string"!=typeof e.insert)continue;if(e.attributes&&e.attributes.slackmention){if(n&&n.is_filter){if(n.string+=e.attributes.slackmention.label,n.filter_value=e.attributes.slackmention.label,(0,L.I4)(e)){let t=(0,L.I4)(e);(!N.z0.includes(n.filter_modifier_normalized??"")||(0,O.A)(t))&&(n.embedded_id=t)}n=null}else(0,O.A)(e.attributes.slackmention.id)?a.push({is_member:!0,string:e.attributes.slackmention.label,embedded_id:(0,L.I4)(e)}):a.push({is_word:!0,string:e.attributes.slackmention.label});continue}if((0,M.SS)(e)){let t=(0,M.gb)(e),n=(0,M.RZ)(e),r=(0,M.Pq)(e),i=`${t}:`;if(e.attributes?.bold&&"string"==typeof e.insert&&!e.insert.startsWith(i)){let e=a[a.length-1];if(e?.is_filter&&e.string===r&&e.embedded_id===n)continue}let o=n;if(t.includes("has")){let e=r.split(":");e.length>=3&&(o=`:${e[2]}:`)}a.push({is_filter:!0,string:r,filter_modifier_localized:t,filter_modifier_normalized:getModifierFromLocalized(t)||t,filter_value:o,embedded_id:n});continue}let t=e.insert.trim(),i=r.exec(t);for(;null!==i;){let e=i[3],o=i[5],s=i[6],l=i[7],c=i[8],d=i[9],u=i[10];if(i[11]&&t.length===i[11].length)break;if(t=i[11],e)a.push({is_phrase:!0,string:e,is_smart_quote:!1});else if(o)a.push({is_phrase:!0,string:o,is_smart_quote:!0});else if(d)a.push({is_member:!0,string:d});else if(s){let e={is_filter:!0,string:s,filter_modifier_localized:l,filter_modifier_normalized:getModifierFromLocalized(l),filter_value:c||""};a.push(e),c||(n=e)}else if(u){let e=a.length>0?a.slice(-1)[0]:null;e&&e.is_word?e.string=`${e.string} ${u}`:a.push({is_word:!0,string:u})}i=r.exec(t)}}return a}static tokenListFromString(e,t){return(0,r.A)(QuerySuggestionToken.rawTokensFromString(e,t),t=>{if(t.is_phrase)return new PhraseQuerySuggestionToken(t.string,e,t.is_smart_quote);if(t.is_filter){let a=t.string.indexOf(":"),n=t.string.substring(0,a),r=getModifierFromLocalized(n),i=t.string.substring(a+1),o=`${(0,N.av)()[r]}:${i}`;switch(r){case"in":return InQuerySuggestionToken.fromString(e,o,N.wd.IN,n);case"-in":return InQuerySuggestionToken.fromString(e,o,N.wd.NOT_IN);case"from":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.FROM);case"-from":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.NOT_FROM);case"to":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.TO);case"-to":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.NOT_TO);case"has":return HasQuerySuggestionToken.fromString(o,N.wd.HAS);case"-has":return HasQuerySuggestionToken.fromString(o,N.wd.NOT_HAS);case"hasmy":return MyReactionQuerySuggestionToken.fromString(e,o,N.wd.HASMY);case"-hasmy":return MyReactionQuerySuggestionToken.fromString(e,o,N.wd.NOT_HASMY);case"is":return IsQuerySuggestionToken.fromString(o,N.wd.IS);case"-is":return IsQuerySuggestionToken.fromString(o,N.wd.NOT_IS);case"type":return TypeQuerySuggestionToken.fromString(o,N.wd.TYPE);case"-type":return TypeQuerySuggestionToken.fromString(o,N.wd.NOT_TYPE);case"before":return DateQuerySuggestionToken.fromString(o,N.wd.BEFORE);case"-before":return DateQuerySuggestionToken.fromString(o,N.wd.NOT_BEFORE);case"during":return DateQuerySuggestionToken.fromString(o,N.wd.DURING);case"-during":return DateQuerySuggestionToken.fromString(o,N.wd.NOT_DURING);case"on":return DateQuerySuggestionToken.fromString(o,N.wd.ON);case"-on":return DateQuerySuggestionToken.fromString(o,N.wd.NOT_ON);case"after":return DateQuerySuggestionToken.fromString(o,N.wd.AFTER);case"-after":return DateQuerySuggestionToken.fromString(o,N.wd.NOT_AFTER);case"with":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.WITH);case"-with":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.NOT_WITH);case"creator":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.CREATOR);case"-creator":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.NOT_CREATOR);case"dm":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.DM);case"-dm":return MemberFilterQuerySuggestionToken.fromString(e,o,N.wd.NOT_DM);case"threads":return ThreadsQuerySuggestionToken.fromString(o,N.wd.THREADS);case"-threads":return ThreadsQuerySuggestionToken.fromString(o,N.wd.NOT_THREADS)}}else if(t.is_member)return MemberQuerySuggestionToken.fromString(e,t.string);return new StringQuerySuggestionToken(t.string)})}static tokenListFromOps(e,t){return(0,r.A)(QuerySuggestionToken.rawTokensFromOps(e,t),t=>{if(t.is_phrase)return new PhraseQuerySuggestionToken(t.string,e,t.is_smart_quote);if(t.is_filter&&t?.filter_value&&t.filter_modifier_normalized)switch(t.filter_modifier_normalized){case"in":return InQuerySuggestionToken.fromRawToken(e,t,N.wd.IN);case"-in":return InQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_IN);case"from":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.FROM);case"-from":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_FROM);case"to":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.TO);case"-to":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_TO);case"has":return new HasQuerySuggestionToken(t?.filter_value,!1,N.wd.HAS);case"-has":return new HasQuerySuggestionToken(t?.filter_value,!1,N.wd.NOT_HAS);case"hasmy":return new MyReactionQuerySuggestionToken(t?.filter_value,!1,N.wd.HASMY);case"-hasmy":return new MyReactionQuerySuggestionToken(t?.filter_value,!1,N.wd.NOT_HASMY);case"is":return new IsQuerySuggestionToken(t?.filter_value,!1,N.wd.IS);case"-is":return new IsQuerySuggestionToken(t?.filter_value,!1,N.wd.NOT_IS);case"type":return new TypeQuerySuggestionToken(t?.filter_value,N.wd.TYPE);case"-type":return new TypeQuerySuggestionToken(t?.filter_value,N.wd.NOT_TYPE);case"before":return new DateQuerySuggestionToken(t?.filter_value,N.wd.BEFORE);case"-before":return new DateQuerySuggestionToken(t?.filter_value,N.wd.NOT_BEFORE);case"during":return new DateQuerySuggestionToken(t?.filter_value,N.wd.DURING);case"-during":return new DateQuerySuggestionToken(t?.filter_value,N.wd.NOT_DURING);case"on":return new DateQuerySuggestionToken(t?.filter_value,N.wd.ON);case"-on":return new DateQuerySuggestionToken(t?.filter_value,N.wd.NOT_ON);case"after":return new DateQuerySuggestionToken(t?.filter_value,N.wd.AFTER);case"-after":return new DateQuerySuggestionToken(t?.filter_value,N.wd.NOT_AFTER);case"with":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.WITH);case"-with":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_WITH);case"creator":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.CREATOR);case"-creator":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_CREATOR);case"dm":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.DM);case"-dm":return MemberFilterQuerySuggestionToken.fromRawToken(e,t,N.wd.NOT_DM);case"threads":return new ThreadsQuerySuggestionToken(t?.filter_value,!1,N.wd.THREADS);case"-threads":return new ThreadsQuerySuggestionToken(t?.filter_value,!1,N.wd.NOT_THREADS)}return t.is_member?MemberQuerySuggestionToken.fromRawToken(e,t):new StringQuerySuggestionToken(t.string)})}static queryHasFilters(e,t){return QuerySuggestionToken.tokenListFromString(e,t).some(e=>e.type!==N.S6.STRING)}static queryOpsHasFilters(e,t){return QuerySuggestionToken.tokenListFromOps(e,t).some(e=>e.type!==N.S6.STRING)}get logId(){return""}};let StringQuerySuggestionToken=class StringQuerySuggestionToken extends QuerySuggestionToken{string;constructor(e){super(),this.string=e}get type(){return N.S6.STRING}toString(){return this.string?this.string:""}toDisplayString(){return this.string?this.string:""}toMap(){return(0,i.A)(super.toMap(),{is_type_string:!0})}get logId(){return(0,v.B)(this.string)}};let APIQuerySuggestionToken=class APIQuerySuggestionToken extends StringQuerySuggestionToken{_querySuggestionScore;constructor(e,t){super(t),this._querySuggestionScore=e,this.string=t}get querySuggestionScore(){return this._querySuggestionScore}get type(){return N.S6.API}};let PhraseQuerySuggestionToken=class PhraseQuerySuggestionToken extends QuerySuggestionToken{phrase;_isSmartQuote;teamId;constructor(e,t,a=!1){super(),this.phrase=e,this._isSmartQuote=a,this.teamId=(0,G.ZT)(t)}get type(){return N.S6.PHRASE}_getQuotedString(e){return this._isSmartQuote?`\u{201C}${e}\u{201D}`:`"${e}"`}toString(){return this._getQuotedString(this.phrase)}toDisplayString(){if(!this.teamId)return this.toString();let e=(0,W.$D)(this.teamId),t=this.phrase.replace(/<@([UW][A-Z0-9]+?)>/g,(t,a)=>{let n=(0,S.I)(e,a);return n?`@${n}`:t});return this._getQuotedString(t)}toMap(){return(0,i.A)(super.toMap(),{is_type_phrase:!0,phrase:this.phrase})}get logId(){return(0,v.B)(this.phrase)}};let FrecencyBasedQuerySuggestionToken=class FrecencyBasedQuerySuggestionToken extends QuerySuggestionToken{_frecencyScore;_scoringContext;constructor(e,t={}){super(),this._frecencyScore=e,this._scoringContext=t}get frecencyScore(){return this._frecencyScore}get scoringContext(){return this._scoringContext}};let InQuerySuggestionToken=class InQuerySuggestionToken extends FrecencyBasedQuerySuggestionToken{teamId;cleanModifierType;_id;_name;constructor(e,t,a,n,r,i=N.wd.IN){super(e,r),this.teamId=(0,G.ZT)(t),this._id=a,this._name=n;const o=[N.wd.IN,N.wd.NOT_IN];this.cleanModifierType=o.includes(i)?i:""}get isTypeInFilter(){return!0}get type(){switch(this.cleanModifierType){case N.wd.IN:return N.S6.FILTER_IN;case N.wd.NOT_IN:return N.S6.FILTER_NOT_IN;default:return N.S6.UNKNOWN}}get modifierName(){return(0,N.av)()[this.cleanModifierType]}_getEntityMap(){let e=(0,W.$D)(this.teamId);if(this._id&&(0,x.A)(this._id)){let t=(0,j.OL)(e,this._id);if((0,g.LI)(t)){let a=(0,y.e)(t);return{channel:null,member:(0,q.nv)(e,a),channelSection:null,team:null}}return{channel:t,member:null,channelSection:null,team:null}}if(this._id&&(0,O.A)(this._id))return{channel:null,member:(0,q.nv)(e,this._id),channelSection:null,team:null};if(this._id&&(0,R.A)(this._id))return{channel:null,member:null,channelSection:(0,V.xe)(e,this._id),team:null};if(this._id&&(0,p.Am)(this._id))return{channel:null,member:null,channelSection:null,team:(0,z._J)(e,this._id)};let t=this._name&&(0,j.Os)(e,this._name);if(t){if((0,g.LI)(t)){let a=(0,y.e)(t);return{channel:null,member:(0,q.nv)(e,a),channelSection:null}}return{channel:t,member:null,channelSection:null}}return{channel:null,member:null,channelSection:null}}get containsPrivateEntities(){let e=this._getEntityMap();return!(!(e.channelSection||e.channel&&(0,g.Zp)(e.channel))&&(!e.team||(0,I.kN)(e.team)))}get channel(){return this._getEntityMap().channel}getMemberOrChannelId(){let{channel:e,member:t}=this._getEntityMap();return e?e.id:t?t.id:null}getRawIdAndNameForXwsChannelWorkaround(){return{id:this._id,name:this._name}}static fromString(e,t,a=N.wd.IN,n=N.wd.IN){let r=[N.wd.IN,N.wd.NOT_IN].includes(a)?a:"in",i=RegExp(`^(?:${n}|${a}|${r}):\\s?(?:(?:<[@#%]?([A-Z0-9a-z]+)(?:\\|[\\s]?(?:[#@]?([^>]+)))?>)|(([#@%]?)([^\\s]+)))$`).exec(t);if(i&&i[1]){let t=i[1];if((0,O.A)(t)||(0,x.A)(t)||(0,R.A)(t)||(0,p.Am)(t)){let a=i[2];return((0,R.A)(t)||(0,p.Am)(t)||(0,x.A)(t))&&a?.charAt(0)==="%"&&(a=a.substring(1)),new InQuerySuggestionToken(1,e,t,a,void 0,r)}}if(i&&i[5]){let t=i[5],a=(0,j.Os)(e,t)||(0,j.Os)(e,`@${t}`);if(a)return new InQuerySuggestionToken(1,e,a.id,t,void 0,r);let n=(0,q.H6)(e,t);if(n)return new InQuerySuggestionToken(1,e,n.id,t,void 0,r);let l=(0,o.A)((0,V.VH)(e),({name:e,type:a})=>a===P.VZ.Standard&&(0,s.A)(e)===(0,s.A)(t)||a===P.VZ.Stars&&(0,s.A)((0,C.yF)())===(0,s.A)(t));if(l)return new InQuerySuggestionToken(1,e,l.id,t,void 0,r);let c=(0,z.H7)(e);if((0,w.r7)(c)){let a=(0,o.A)((0,z.iK)(e),({name:e})=>(0,s.A)(e)===(0,s.A)(t));if(a)return new InQuerySuggestionToken(1,e,a.id,t,void 0,r)}}return i&&i[3]?new InQuerySuggestionToken(1,e,null,i[3],void 0,r):new StringQuerySuggestionToken(t)}static fromRawToken(e,t,a){let{embedded_id:n,filter_value:r,string:i}=t;if(n)return new InQuerySuggestionToken(1,e,n??"",r,void 0,a);if(r){let t=(0,j.Os)(e,r)||(0,j.Os)(e,`@${r}`);if(t)return new InQuerySuggestionToken(1,e,t.id,r,void 0,a);let n=(0,o.A)((0,V.VH)(e),({name:e,type:t})=>t===P.VZ.Standard&&(0,s.A)(e)===(0,s.A)(r)||t===P.VZ.Stars&&(0,s.A)((0,C.yF)())===(0,s.A)(r));if(n)return new InQuerySuggestionToken(1,e,n.id,r,void 0,a);let i=(0,z.H7)(e);if((0,w.r7)(i)){let t=(0,o.A)((0,z.iK)(e),({name:e})=>(0,s.A)(e)===(0,s.A)(r));if(t)return new InQuerySuggestionToken(1,e,t.id,r,void 0,a)}}return new StringQuerySuggestionToken(i)}toString(){let e=this._toStringInternal({formatChannel:e=>{let t=(0,A.j)(e)||this._name;return t?`<#${e.id}|${t}>`:`<#${e.id}>`},formatMpim:e=>`<#${e.id}>`,formatMember:e=>`<@${e.id}>`,formatChannelSection:e=>`<${e.id}>`,formatTeam:e=>`<${e.id}>`,formatUnknownName:()=>this._name||""});return`${this.modifierName}:${e}`}toDisplayString(){let e=this._toStringInternal({formatChannel:e=>(0,b.SB)((0,W.$D)(this.teamId),e,{publicChannelIncludeHashSign:!0})??"",formatMpim:e=>(0,b.SB)((0,W.$D)(this.teamId),e,{publicChannelIncludeHashSign:!1}),formatMember:e=>`@${(0,E.sE)((0,W.$D)(this.teamId),e)}`,formatChannelSection:e=>e.name,formatTeam:e=>(0,T.F1)(e),formatUnknownName:()=>this._name||""});return`${this.modifierName}:${e}`}toTextyString(){let e=this._toStringInternal({formatChannel:e=>{if((0,g.Zx)(e))return`#${this._name}`;let t=(0,b.SB)((0,W.$D)(this.teamId),e,{publicChannelIncludeHashSign:!1});return(0,g.rI)(e)?`<%${e.id}|%${t}>`:`#${t}`},formatMpim:e=>{let t=getMpimAsContentsString((0,W.$D)(this.teamId),e);if(t)return t;let a=(0,h.Oi)((0,W.$D)(this.teamId),e);return a||this._name||""},formatMember:e=>(0,U.A)((0,W.$D)(this.teamId),e),formatChannelSection:e=>getChannelSectionAsContentsString(e),formatTeam:e=>getTeamAsContentString(e),formatUnknownName:()=>this._name||""});return`${this.modifierName}:${e}`}toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:e}={experimentOmniUnifiedFilterTokensGroupOn:!1}){let t=this._toStringInternal({formatChannel:t=>{if((0,g.Zx)(t))return e?this._name||"":`#${this._name}`;let a=(0,b.SB)((0,W.$D)(this.teamId),t,{publicChannelIncludeHashSign:!1});return(0,g.rI)(t)||e?a:`#${a}`},formatMpim:e=>(0,b.SB)((0,W.$D)(this.teamId),e,{publicChannelIncludeHashSign:!1}),formatMember:e=>`@${(0,E.sE)((0,W.$D)(this.teamId),e)}`,formatChannelSection:e=>e.name?e.name:e.type===P.VZ.Stars?(0,C.yF)():e.id,formatTeam:e=>(0,T.F1)(e),formatUnknownName:()=>this._name||""}),a=(0,W.$D)(this.teamId),n=(0,H.A)(a);if(e&&this._id){let e=`${this.modifierName}:${t}`,{channel:a}=this._getEntityMap(),r=(0,g.Zp)(a),i=(0,B.A)(this._id,t,n);return[{insert:e,attributes:{slacksearchfilter:{modifier:this.cleanModifierType,entityId:this._id,isPrivate:r,label:e,...i&&{mention:i}}}},{insert:" "}]}return[{insert:`${this.modifierName}:`},{insert:t,attributes:{slackmention:(0,F.A)(this._id??"",t,n)}}]}_toStringInternal({formatChannel:e,formatMpim:t,formatMember:a,formatChannelSection:n,formatTeam:r,formatUnknownName:i}){let{channel:o,member:s,channelSection:l,team:c}=this._getEntityMap();return o&&(0,g.yz)(o)?t(o):o?e(o):s?a(s):l?n(l):c?r(c):i()}toMap(){let{channel:e,member:t,channelSection:a,team:n}=this._getEntityMap(),r={};return r[`is_type_${this.cleanModifierType}_filter`]=!0,(0,i.A)(super.toMap(),{is_type_in_filter:!0,modifier:this.cleanModifierType,modifier_name:this.modifierName,channel:e,fallbackName:this._name,user:t,scoring_context:this.scoringContext,channelSection:a,team:n},r)}get logId(){return this._id||void 0}};let MemberQuerySuggestionToken=class MemberQuerySuggestionToken extends FrecencyBasedQuerySuggestionToken{teamId;_id;_name;_isTypeMember;constructor(e,t,a,n,r={}){super(e,r),this.teamId=(0,G.ZT)(t),this._id=a,this._name=n,this._isTypeMember=!0}get type(){return N.S6.MEMBER}get isTypeMember(){return this._isTypeMember}static fromString(e,t){let a,n=/^((<@?([^\s|>]+)(\|[\s]?@?([^>]+))?>)|(@?([^\s]+)))$/.exec(t);return(n&&n[3]&&(a=(0,q.nv)(e,n[3])),(!a||(0,k.z1)(a))&&n&&n[7]&&(a=(0,q.H6)(e,n[7])),a&&!(0,k.z1)(a))?new this(1,e,a.id,a.name):new StringQuerySuggestionToken(t)}static fromRawToken(e,t,a){let n,{embedded_id:r,string:i}=t;return r?new MemberQuerySuggestionToken(1,e,r??"",i,void 0):((0,D.t)(i)?n=(0,q.cA)(e):i&&(n=(0,q.H6)(e,i.replace(/^@/,""))),n&&!(0,k.z1)(n))?new this(1,e,n.id,n.name,void 0):new StringQuerySuggestionToken(i)}toString(){return this._id?`<@${this._id}>`:`@${this._name}`}get entityId(){let e=(0,W.$D)(this.teamId);if(this._id)return this._id;let t=(0,q.H6)(e,this._name);return t?t.id:null}get memberOrNull(){let e=(0,W.$D)(this.teamId);return this._id?(0,q.nv)(e,this._id):(0,q.H6)(e,this._name)}toMap(){return(0,i.A)(super.toMap(),{is_type_member:this._isTypeMember,frecency:this._frecencyScore,user:this.memberOrNull})}toDisplayString(){let e=(0,W.$D)(this.teamId);if(!this._id){let t=(0,q.H6)(e,this._name);if(t){let a=(0,S.I)(e,t.id);return`@${a}>`}return`@${this._name}`}let t=(0,S.I)(e,this._id);return`@${t}`}toTextyString(){let e=(0,W.$D)(this.teamId);if(!this._id){let t=(0,q.H6)(e,this._name);if(t){let a=(0,S.I)(e,t.id);return`<@${t.id}|@${a}>`}return`@${this._name}`}let t=(0,S.I)(e,this._id);return`<@${this._id}|@${t}>`}toTextyOps(){let e=(0,W.$D)(this.teamId),t="";if(this._id){let a=(0,S.I)(e,this._id);t=`@${a}`}else{let a=(0,q.H6)(e,this._name);if(a){let n=(0,S.I)(e,a.id);t=`@${n}>`}else t=`@${this._name}`}let a=(0,H.A)(e);return[{insert:t,attributes:{slackmention:(0,F.A)(this._id??"",t,a)}}]}get logId(){return this.entityId||void 0}};let MemberFilterQuerySuggestionToken=class MemberFilterQuerySuggestionToken extends MemberQuerySuggestionToken{cleanModifierType;constructor(e,t,a,n,r,i={}){super(e,t,a,n,i);const o=[N.wd.FROM,N.wd.NOT_FROM,N.wd.TO,N.wd.NOT_TO,N.wd.WITH,N.wd.NOT_WITH,N.wd.CREATOR,N.wd.NOT_CREATOR,N.wd.DM,N.wd.NOT_DM];this.cleanModifierType=o.includes(r)?r:""}get type(){switch(this.cleanModifierType){case N.wd.FROM:return N.S6.FILTER_FROM;case N.wd.NOT_FROM:return N.S6.FILTER_NOT_FROM;case N.wd.TO:return N.S6.FILTER_TO;case N.wd.NOT_TO:return N.S6.FILTER_NOT_TO;case N.wd.WITH:return N.S6.FILTER_WITH;case N.wd.NOT_WITH:return N.S6.FILTER_NOT_WITH;case N.wd.CREATOR:return N.S6.FILTER_CREATOR;case N.wd.NOT_CREATOR:return N.S6.FILTER_NOT_CREATOR;case N.wd.DM:return N.S6.FILTER_DM;case N.wd.NOT_DM:return N.S6.FILTER_NOT_DM;default:return N.S6.UNKNOWN}}get isNegated(){return this.cleanModifierType.startsWith("-")}get modifierName(){return(0,N.av)()[this.cleanModifierType]}static fromString(e,t,a){let n,r=[N.wd.FROM,N.wd.NOT_FROM,N.wd.TO,N.wd.NOT_TO,N.wd.WITH,N.wd.NOT_WITH,N.wd.CREATOR,N.wd.NOT_CREATOR,N.wd.DM,N.wd.NOT_DM],i=a&&r.includes(a)?a:"",o=i?(0,N.av)()[i]:"",s=RegExp(`^(${o}|${i}):\\s?((<@?([^\\s|>]+)(\\|@?([^>]+))?>)|(@?([^\\s]+)))$`).exec(t);return(s&&s[4]&&(n=(0,q.nv)(e,s[4])),!n&&s&&s[8]&&(0,D.t)(s[8])&&(n=(0,q.cA)(e)),!n&&s&&s[8]&&(n=(0,q.H6)(e,s[8])),n&&!(0,k.z1)(n))?new this(1,e,n.id,n.name,i,{}):new StringQuerySuggestionToken(t)}static fromRawToken(e,t,a){let n,{embedded_id:r,filter_value:i,string:o}=t;return r?new MemberFilterQuerySuggestionToken(1,e,r??"",i,a,void 0):(i&&(0,D.t)(i)?n=(0,q.cA)(e):i&&(n=(0,q.H6)(e,i.replace(/^@/,""))),n&&!(0,k.z1)(n))?new this(1,e,n.id,n.name,a,void 0):new StringQuerySuggestionToken(o)}toString(){return`${this.modifierName}:${super.toString()}`}toMap(){let e={};return e[`is_type_${this.cleanModifierType}_filter`]=!0,(0,i.A)(super.toMap(),{is_type_member_filter:!0,modifier:this.cleanModifierType,modifier_name:this.modifierName,scoring_context:this.scoringContext},e)}toTextyString(){return`${this.modifierName}:${super.toTextyString()}`}toDisplayString(){return`${this.modifierName}:${super.toDisplayString()}`}toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:e}={experimentOmniUnifiedFilterTokensGroupOn:!1}){let t=(0,W.$D)(this.teamId);if(e&&this.entityId){let e=`${this.modifierName}:${super.toDisplayString()}`,a=(0,H.A)(t),n=(0,B.A)(this.entityId,super.toDisplayString(),a);return[{insert:e,attributes:{slacksearchfilter:{modifier:this.cleanModifierType,entityId:this.entityId,label:e,...n&&{mention:n}}}},{insert:" "}]}return[{insert:`${this.modifierName}:`},...super.toTextyOps()]}};let HasQuerySuggestionToken=class HasQuerySuggestionToken extends QuerySuggestionToken{thing;canLog;modifierType;constructor(e,t=!1,a=N.wd.HAS){super(),this.thing=e,this.canLog=t,this.modifierType=[N.wd.HAS,N.wd.NOT_HAS].includes(a)?a:N.wd.HAS}get isNegated(){return this.modifierType===N.wd.NOT_HAS}get type(){return this.isNegated?N.S6.FILTER_NOT_HAS:N.S6.FILTER_HAS}static fromString(e,t=N.wd.HAS){let a=(0,N.av)()[t],n=`${t}|${a}`,r=RegExp(`(${n}):\\s?([^\\s]+)`).exec(e);return r&&r[2]?new HasQuerySuggestionToken(r[2],!1,t):new StringQuerySuggestionToken(e)}get thingName(){let e=(0,N.WO)();return e[this.thing]?e[this.thing]:this.thing}toString(){return`${(0,N.av)()[this.modifierType]}:${this.thingName}`}_getUnifiedFilter(){return{display:`${(0,N.av)()[this.modifierType]}:${this.thingName}`,entityId:this.thing.startsWith(":")&&this.thing.endsWith(":")?`E${this.thing.replace(/^:|:$/g,"")}`:this.thing,modifier:this.modifierType}}toMap(){return(0,i.A)(super.toMap(),{is_type_has_filter:!0,thing:this.thingName,modifier:this.modifierType})}get logId(){return!0===this.canLog?this.thingName:""}};let MyReactionQuerySuggestionToken=class MyReactionQuerySuggestionToken extends QuerySuggestionToken{emoji;canLog;modifierType;constructor(e,t=!1,a=N.wd.HASMY){super(),this.emoji=e,this.canLog=t,this.modifierType=[N.wd.HASMY,N.wd.NOT_HASMY].includes(a)?a:N.wd.HASMY}get isNegated(){return this.modifierType===N.wd.NOT_HASMY}get type(){return this.isNegated?N.S6.FILTER_NOT_MY_REACTION:N.S6.FILTER_MY_REACTION}static fromString(e,t,a=N.wd.HASMY){let n=(0,N.av)()[a],r=`${a}|${n}`,i=RegExp(`(${r}):\\s?([^\\s]+)`).exec(t);return i&&i[2]?new MyReactionQuerySuggestionToken(i[2],!1,a):new StringQuerySuggestionToken(t)}toString(){return`${(0,N.av)()[this.modifierType]}:${this.emoji}`}toMap(){return(0,i.A)(super.toMap(),{is_type_my_reaction_filter:!0,emoji:this.emoji,modifier:this.modifierType})}_getUnifiedFilter(){return{display:`${(0,N.av)()[this.modifierType]}:${this.emoji}`,entityId:`E${this.emoji.replace(/^:|:$/g,"")}`,modifier:this.modifierType}}get logId(){return!0===this.canLog?this.emoji:""}};let IsQuerySuggestionToken=class IsQuerySuggestionToken extends QuerySuggestionToken{thing;canLog;modifierType;constructor(e,t=!1,a=N.wd.IS){super(),this.thing=e,this.canLog=t,this.modifierType=[N.wd.IS,N.wd.NOT_IS].includes(a)?a:N.wd.IS}get isNegated(){return this.modifierType===N.wd.NOT_IS}get type(){return this.isNegated?N.S6.FILTER_NOT_IS:N.S6.FILTER_IS}static fromString(e,t=N.wd.IS){let a=(0,N.av)()[t],n=`${t}|${a}`,r=RegExp(`(${n}):\\s?([^\\s]+)`).exec(e);return r&&r[2]?new IsQuerySuggestionToken(r[2],!1,t):new StringQuerySuggestionToken(e)}get thingName(){let e=(0,N.Wr)();return e[this.thing]?e[this.thing]:this.thing}toString(){return`${(0,N.av)()[this.modifierType]}:${this.thingName}`}toMap(){return(0,i.A)(super.toMap(),{is_type_is_filter:!0,thing:this.thingName,modifier:this.modifierType})}_getUnifiedFilter(){return{display:`${(0,N.av)()[this.modifierType]}:${this.thingName}`,entityId:this.thing,modifier:this.modifierType}}get logId(){return!0===this.canLog?this.thingName:""}};let ThreadsQuerySuggestionToken=class ThreadsQuerySuggestionToken extends QuerySuggestionToken{thing;canLog;modifierType;constructor(e,t=!1,a=N.wd.THREADS){super(),this.thing=e,this.canLog=t,this.modifierType=[N.wd.THREADS,N.wd.NOT_THREADS].includes(a)?a:N.wd.THREADS}get isNegated(){return this.modifierType===N.wd.NOT_THREADS}get type(){return this.isNegated?N.S6.FILTER_NOT_THREADS:N.S6.FILTER_THREADS}static fromString(e,t=N.wd.THREADS){let a=(0,N.av)()[t],n=`${t}|${a}`,r=RegExp(`(${n}):\\s?([^\\s]+)`).exec(e);return r&&r[2]?new ThreadsQuerySuggestionToken(r[2],!1,t):new StringQuerySuggestionToken(e)}get thingName(){let e=(0,N.qR)();return e[this.thing]?e[this.thing]:this.thing}toString(){return`${(0,N.av)()[this.modifierType]}:${this.thingName}`}toMap(){return(0,i.A)(super.toMap(),{is_type_threads_filter:!0,thing:this.thingName,modifier:this.modifierType})}_getUnifiedFilter(){return{display:`${(0,N.av)()[this.modifierType]}:${this.thingName}`,entityId:this.thing,modifier:this.modifierType}}get logId(){return!0===this.canLog?this.thingName:""}};let TypeQuerySuggestionToken=class TypeQuerySuggestionToken extends QuerySuggestionToken{_fileType;modifierType;constructor(e,t=N.wd.TYPE){super(),this._fileType=e,this.modifierType=[N.wd.TYPE,N.wd.NOT_TYPE].includes(t)?t:N.wd.TYPE}get type(){return this.modifierType===N.wd.NOT_TYPE?N.S6.FILTER_NOT_TYPE:N.S6.FILTER_TYPE}get isNegated(){return this.modifierType===N.wd.NOT_TYPE}static fromString(e,t=N.wd.TYPE){let a=(0,N.av)()[t],n=`${t}|${a}`,r=RegExp(`(${n}):\\s?([^\\s]+)`).exec(e);return r&&r[2]?new TypeQuerySuggestionToken(r[2],t):new StringQuerySuggestionToken(e)}get fileType(){return this._fileType}toString(){return`${(0,N.av)()[this.modifierType]}:${this.fileType}`}toMap(){return(0,i.A)(super.toMap(),{is_type_type_filter:!0,file_type:this.fileType,modifier:this.modifierType})}_getUnifiedFilter(){return{display:`${(0,N.av)()[this.modifierType]}:${this.fileType}`,entityId:this.fileType,modifier:this.modifierType}}get logId(){return this.fileType}};let DateQuerySuggestionToken=class DateQuerySuggestionToken extends QuerySuggestionToken{dateString;cleanModifierType;constructor(e,t){super(),this.dateString=e,this.cleanModifierType=[N.wd.BEFORE,N.wd.NOT_BEFORE,N.wd.DURING,N.wd.NOT_DURING,N.wd.ON,N.wd.NOT_ON,N.wd.AFTER,N.wd.NOT_AFTER].includes(t)?t:""}get type(){switch(this.cleanModifierType){case"before":return N.S6.FILTER_BEFORE;case"-before":return N.S6.FILTER_NOT_BEFORE;case"during":return N.S6.FILTER_DURING;case"-during":return N.S6.FILTER_NOT_DURING;case"on":return N.S6.FILTER_ON;case"-on":return N.S6.FILTER_NOT_ON;case"after":return N.S6.FILTER_AFTER;case"-after":return N.S6.FILTER_NOT_AFTER;default:return N.S6.UNKNOWN}}get isNegated(){return this.cleanModifierType.startsWith("-")}get modifierName(){return(0,N.av)()[this.cleanModifierType]}static fromString(e,t){let a=[N.wd.BEFORE,N.wd.NOT_BEFORE,N.wd.DURING,N.wd.NOT_DURING,N.wd.ON,N.wd.NOT_ON,N.wd.AFTER,N.wd.NOT_AFTER].includes(t)?t:"";if(!a)return new StringQuerySuggestionToken(e);let n=(0,N.av)()[a],r=RegExp(`(${a}|${n}):\\s?([^\\s]+)`).exec(e);return r&&r[2]?new DateQuerySuggestionToken(r[2],a):new StringQuerySuggestionToken(e)}toString(){return`${this.modifierName}:${this.dateString}`}toMap(){let e={};e[`is_${this.dateString}`]=!0;let t=(0,N.fL)(),a=(0,N.Z4)(),n=t[this.dateString]||a[this.dateString]||this.dateString;return(0,i.A)(super.toMap(),{is_type_date_filter:!0,date_string:this.dateString,date_string_normalized:n,modifier:this.cleanModifierType,modifier_name:this.modifierName},e)}_getUnifiedFilter(){return{display:`${this.modifierName}:${this.dateString}`,entityId:this.dateString,modifier:this.cleanModifierType}}get logId(){return this.dateString}};let AutocompleteDate=class AutocompleteDate{date;constructor(e){this.date=e}suggestionsPromise(e,t,a){return Promise.resolve(this.suggestions(e,t,a))}suggestions(e,t,a){return(0,l.A)((0,c.A)((0,d.A)([this.suggestionsRelativeDates(e,t,a),this.suggestionsMonths(e,t,a),this.suggestionsYears(e,t,a)]),e=>-e.score),0,t)}suggestionsRelativeDates(e,t,a){let n=(0,N.Z4)(),i=[n.yesterday];return a!==N.wd.AFTER&&i.push(n.today),(0,r.A)((0,l.A)((0,u.A)(i,t=>(0,m.A)(t.toLowerCase(),e.toLowerCase())),0,t),(e,t)=>({model_ob:e,score:.95-.01*t}))}suggestionsMonths(e,t,a){return a===N.wd.ON?[]:(0,r.A)((0,l.A)((0,u.A)(this.orderedMonthNames(),t=>(0,m.A)(t.toLowerCase(),e.toLowerCase())),0,t),(e,t)=>({model_ob:e,score:(12-t)/12}))}suggestionsYears(e,t,a){if(a===N.wd.ON)return[];let n=a===N.wd.AFTER?this.date.getFullYear()-1:this.date.getFullYear();return(0,r.A)((0,l.A)((0,u.A)((0,f.A)(n,n-5,-1),t=>(0,m.A)(t.toString(),e)),0,t),(e,a)=>({model_ob:e.toString(),score:(t-a)/t}))}monthNameFromInt(e){let t=(0,N.fL)();return[t.January,t.February,t.March,t.April,t.May,t.June,t.July,t.August,t.September,t.October,t.November,t.December][e]}orderedMonthNames(){return(0,r.A)((0,f.A)(0,12),e=>this.monthNameFromInt((this.date.getMonth()-e+12)%12))}}},0xf51a309e:(e,t,a)=>{"use strict";a.d(t,{dn:()=>QuerySuggestion});var n=a(0x114002bb1),r=a(0x7d48dd65),i=a(0x1c26fae37),o=a(0x20ef3966f);a(0x1ef19e2e2);var s=a(0x1f734e202),l=a(0x21c28ff01),c=a(0x108fb4e96),d=a(0x16e905560),u=a(0x426f7a4e),m=a(0x9b971e7e),f=a(0x131598af9),_=a(0x1266f1359),p=a(0x217553e42);let h=class{teamId;constructor(e){this.teamId=(0,m.ZT)(e)}toMap(){return{type:this.type,is_type_action:this.isAction,is_type_navigational:this.isNavigational,display_context:this.displayContext}}get type(){return c.fd.UNKNOWN}get isAction(){return!1}get isNavigational(){return!1}toString(){return""}toTextyString(){return(0,u.A)(this.toString(),(0,f.A)((0,_.$D)(this.teamId)))}toTextyOps(){return[{insert:this.toString()}]}get logId(){return""}get displayContext(){return{}}},g=class extends h{_frecencyScore;_scoringContext;constructor(e,t=null,a={}){super(e),this._frecencyScore=t,this._scoringContext=a}get scoringContext(){return this._scoringContext}get frecencyScore(){return this._frecencyScore}get frecencyScoreRaw(){return this._scoringContext&&this._scoringContext.frecencyScoreRaw}get fuzzyScore(){return this._scoringContext&&this._scoringContext.frecencyScoreBonus&&this._scoringContext.frecencyScoreBonus.fuzzyScoreBonus}get isMpimWithDeactivatedMember(){return this._scoringContext&&this._scoringContext.frecencyScoreBonus&&this._scoringContext.frecencyScoreBonus.isMpimWithDeactivatedMember}get onlyMatchesPreviousName(){return this._scoringContext&&this._scoringContext.frecencyScoreBonus&&this._scoringContext.frecencyScoreBonus.onlyMatchesPreviousName}get frecencyBonus(){let e=this.frecencyScoreRaw?this.frecencyScoreRaw:0;return(this._frecencyScore?this._frecencyScore:0)-e}toMap(){return(0,n.A)(super.toMap(),{scoring_context:this._scoringContext})}};function isTokenTypeMember(e){return e.type===c.S6.MEMBER}function isTokenFrecencyBased(e){return e instanceof l.mk}let QuerySuggestion=class QuerySuggestion extends g{suggestionTokenList;_query;lastSuggestionToken;lastTokenMemberOrNull;lastTokenIm;_containsPrivateEntities;constructor(e,t,a=[],n={}){super(e),this.suggestionTokenList=a,this._query=t,this.lastSuggestionToken=!this.suggestionTokenList||this.suggestionTokenList.length<1?null:this.suggestionTokenList[this.suggestionTokenList.length-1],this._frecencyScore=this.lastSuggestionToken&&isTokenFrecencyBased(this.lastSuggestionToken)?this.lastSuggestionToken.frecencyScore:0,this._scoringContext=this.lastSuggestionToken&&isTokenFrecencyBased(this.lastSuggestionToken)?this.lastSuggestionToken.scoringContext:{},this.lastTokenMemberOrNull=this.lastSuggestionToken&&isTokenTypeMember(this.lastSuggestionToken)?this.lastSuggestionToken.memberOrNull??null:null,this.lastTokenIm=this.lastTokenMemberOrNull&&this.lastTokenMemberOrNull.id?(0,p.Pu)(e,this.lastTokenMemberOrNull.id):null,this._containsPrivateEntities=!!n.containsPrivateEntities}get type(){return c.fd.QUERY}get query(){return this._query}static fromString(e,t){let a=l.oN.tokenListFromString(e,t);return new this(e,"",a)}static fromOps(e,t){let a=l.oN.tokenListFromOps(e,t);return new this(e,"",a)}static removeFiltersFromString(e,t){let a=l.oN.tokenListFromString(e,t),n=new Set(c.v8),s=(0,r.A)(a,e=>!n.has(e.type));return(0,i.A)((0,o.A)(s,e=>e.toDisplayString())," ")}withQuerySuggestionToken(e,t,a=!1){return a?new UserQuerySuggestion((0,_.$D)(this.teamId),t,this.suggestionTokenList.concat([e])):new QuerySuggestion((0,_.$D)(this.teamId),t,this.suggestionTokenList.concat([e]))}toMap(){let e=this.toTextyString(),t=this.toString();return(0,n.A)(super.toMap(),{is_type_query_completion:!0,suggestion_replacement:e,suggestion_replacement_for_request:t,token_list:(0,o.A)(this.suggestionTokenList,e=>e.toMap()),key:e})}toString(){return(0,i.A)((0,o.A)(this.suggestionTokenList,e=>e.toString())," ")}toDisplayString(){return(0,i.A)((0,o.A)(this.suggestionTokenList,e=>e.toDisplayString())," ")}toDisplayStringWithoutFilters(){let e=new Set([c.S6.STRING,c.S6.MEMBER,c.S6.API,c.S6.PHRASE]),t=(0,r.A)(this.suggestionTokenList,t=>e.has(t.type));return(0,i.A)((0,o.A)(t,e=>e.toDisplayString())," ")}toTextyString(){return(0,i.A)((0,o.A)(this.suggestionTokenList,e=>e.toTextyString())," ")}toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:e}={experimentOmniUnifiedFilterTokensGroupOn:!1}){let t=(0,s.f)(this.suggestionTokenList.map(t=>t.toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:e})),()=>({insert:" "})).flat();return e?(0,d.OM)(t):t}get logId(){return this.lastSuggestionToken?.logId??""}get containsPrivateEntities(){return this._containsPrivateEntities}};let UserQuerySuggestion=class UserQuerySuggestion extends QuerySuggestion{get type(){return c.fd.QUERY_USER}}},0x108fb4e96:(e,t,a)=>{"use strict";a.d(t,{A:()=>d,Ef:()=>h,L5:()=>getDatePresetItemNames,S6:()=>m,WO:()=>getHasFilterItemNames,Wp:()=>g,Wr:()=>getIsFilterItemNames,Z4:()=>getRelativeDateNames,a4:()=>u,av:()=>getModifierNames,fL:()=>getMonthNames,fd:()=>_,qR:()=>getThreadFilterItemNames,u0:()=>p,v8:()=>f,wd:()=>l,z0:()=>c});var n,r,i,o=a(0x20482ad21);a(0x1950da728);let s=new o.Ay("search"),l={HAS:"has",NOT_HAS:"-has",TYPE:"type",NOT_TYPE:"-type",FROM:"from",NOT_FROM:"-from",TO:"to",NOT_TO:"-to",IN:"in",NOT_IN:"-in",IS:"is",NOT_IS:"-is",BEFORE:"before",NOT_BEFORE:"-before",DURING:"during",NOT_DURING:"-during",ON:"on",NOT_ON:"-on",AFTER:"after",NOT_AFTER:"-after",WITH:"with",NOT_WITH:"-with",CREATOR:"creator",NOT_CREATOR:"-creator",HASMY:"hasmy",NOT_HASMY:"-hasmy",THREADS:"threads",NOT_THREADS:"-threads",DM:"dm",NOT_DM:"-dm"},c=[l.FROM,l.NOT_FROM,l.TO,l.NOT_TO,l.WITH,l.NOT_WITH,l.CREATOR,l.NOT_CREATOR,l.DM,l.NOT_DM];l.BEFORE,l.NOT_BEFORE,l.AFTER,l.NOT_AFTER,l.ON,l.NOT_ON,l.DURING,l.NOT_DURING;let getModifierNames=()=>({has:s.t("has"),"-has":`-${s.t("has")}`,type:s.t("type"),"-type":`-${s.t("type")}`,from:s.t("from"),"-from":`-${s.t("from")}`,to:s.t("to"),"-to":`-${s.t("to")}`,in:s.t("in"),"-in":`-${s.t("in")}`,is:s.t("is"),"-is":`-${s.t("is")}`,before:s.t("before"),"-before":`-${s.t("before")}`,during:s.t("during"),"-during":`-${s.t("during")}`,on:s.t("on"),"-on":`-${s.t("on")}`,after:s.t("after"),"-after":`-${s.t("after")}`,hasmy:s.t("hasmy"),"-hasmy":`-${s.t("hasmy")}`,with:s.t("with"),"-with":`-${s.t("with")}`,creator:s.t("creator"),"-creator":`-${s.t("creator")}`,threads:s.t("threads"),"-threads":`-${s.t("threads")}`,dm:s.t("dm"),"-dm":`-${s.t("dm")}`}),d={STAR:"star",PIN:"pin",LINK:"link",REACTION:"reaction",FILE:"file",ACTION:"action"},u={SAVED:"saved",THREAD:"thread",DM:"dm"},getHasFilterItemNames=()=>({star:s.t("star"),pin:s.t("pin"),link:s.t("link"),reaction:s.t("reaction"),file:s.t("file"),action:s.t("action")}),getIsFilterItemNames=()=>({saved:s.t("saved"),thread:s.t("thread"),dm:s.t("dm")}),getDatePresetItemNames=()=>({today:s.t("today"),yesterday:s.t("yesterday"),week:s.t("week"),month:s.t("month"),year:s.t("year")}),getThreadFilterItemNames=()=>({all:s.t("all"),replies:s.t("replies")}),m={FILTER_IN:"filter-in",FILTER_NOT_IN:"filter-not-in",FILTER_FROM:"filter-from",FILTER_NOT_FROM:"filter-not-from",FILTER_TO:"filter-to",FILTER_NOT_TO:"filter-not-to",FILTER_BEFORE:"filter-before",FILTER_NOT_BEFORE:"filter-not-before",FILTER_DURING:"filter-during",FILTER_NOT_DURING:"filter-not-during",FILTER_ON:"filter-on",FILTER_NOT_ON:"filter-not-on",FILTER_AFTER:"filter-after",FILTER_NOT_AFTER:"filter-not-after",FILTER_HAS:"filter-has",FILTER_NOT_HAS:"filter-not-has",FILTER_MY_REACTION:"filter-my-reaction",FILTER_NOT_MY_REACTION:"filter-not-my-reaction",FILTER_IS:"filter-is",FILTER_NOT_IS:"filter-not-is",FILTER_TYPE:"filter-type",FILTER_NOT_TYPE:"filter-not-type",FILTER_WITH:"filter-with",FILTER_NOT_WITH:"filter-not-with",FILTER_CREATOR:"filter-creator",FILTER_NOT_CREATOR:"filter-not-creator",FILTER_THREADS:"filter-threads",FILTER_NOT_THREADS:"filter-not-threads",FILTER_DM:"filter-dm",FILTER_NOT_DM:"filter-not-dm",MEMBER:"member",STRING:"string",PHRASE:"phrase",API:"api-suggestion",UNKNOWN:"unknown"},f=["filter-in","filter-not-in","filter-from","filter-not-from","filter-to","filter-not-to","filter-before","filter-not-before","filter-during","filter-not-during","filter-on","filter-not-on","filter-after","filter-not-after","filter-has","filter-not-has","filter-my-reaction","filter-not-my-reaction","filter-is","filter-not-is","filter-type","filter-not-type","filter-with","filter-not-with","filter-creator","filter-not-creator","filter-threads","filter-not-threads","filter-dm","filter-not-dm"];var _=((n={}).APP_ACTION="app-action",n.CHANNEL_NAVIGATION="channel-navigation",n.FILE_NAVIGATION="file-navigation",n.LINK_NAVIGATION="link-navigation",n.MODAL_NAVIGATION="modal-navigation",n.MPIM_NAVIGATION="mpim-navigation",n.QUERY="query",n.QUERY_HISTORY="query-history",n.QUERY_USER="query-user",n.TEAM_NAVIGATION="team-navigation",n.UNKNOWN="unknown",n.USER_NAVIGATION="user-navigation",n.VIEW_NAVIGATION="view-navigation",n.FROM_REFINEMENT="from-refinement",n.IN_REFINEMENT="in-refinement",n.EMOJI="emoji",n.SLASH_COMMAND="slash-command",n.GLOBAL_ACTION="global-action",n.QUIP_SHORTCUT="quip-shortcut",n.CANVAS_AI_SUGGESTION="canvas-ai-suggestion",n.CHANNEL_ACTION="channel-action",n.WORKFLOW_TRIGGER="workflow-trigger",n.APP="app",n.MESSAGE_NAVIGATION="message-navigation",n.QUERY_SALESFORCE="query-salesforce",n.QUERY_SLACKBOT="query-slackbot",n.QUERY_CONVO_SEARCH="query-convo-search",n.QUERY_AI_SUGGESTION="query-ai-suggestion",n.FROM_FILTER_BUTTON="from-filter-button",n.IN_FILTER_BUTTON="in-filter-button",n.WITH_FILTER_BUTTON="with-filter-button",n.TYPE_FILTER_BUTTON="type-filter-button",n.BROADCAST_KEYWORD_NAVIGATION="broadcast-keyword-navigation",n.QUERY_SAVED="query-saved",n.SIDEBAR_ENTITIES="sidebarEntities",n.EDUCATIONAL_SUGGESTION="educational-suggestion",n);let getMonthNames=()=>({January:s.t("January"),February:s.t("February"),March:s.t("March"),April:s.t("April"),May:s.t("May"),June:s.t("June"),July:s.t("July"),August:s.t("August"),September:s.t("September"),October:s.t("October"),November:s.t("November"),December:s.t("December")}),getRelativeDateNames=()=>({today:s.t("Today"),yesterday:s.t("Yesterday")}),p={SEARCHY:"searchy",UNREADS:"unreads",TOP_N:"top-N",NON_IA:"non-IA"};var h=((r={}).IM="im",r.MPIM="mpim",r.CHANNEL="channel",r),g=((i={}).FROM="from",i.TO="to",i.WITH="with",i.IN="in",i.IS="is",i.HAS="has",i.HASMY="hasmy",i.CREATOR="creator",i.TYPE="type",i.BEFORE="before",i.AFTER="after",i.ON="on",i.DURING="during",i.DM="dm",i.THREADS="threads",i)},0x1f03d78dc:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});let n=class Iterator{_next;done;constructor(e){this._next=e,this.done=!1}next(){if(this.done||!this._next)return{done:!0};let e=this._next();return e.done&&(this.done=!0),e}[Symbol.iterator](){return this}static of(...e){let t=e.length,a=0;return new Iterator(()=>a>=t?{done:!0}:{done:!1,value:e[a++]})}static empty(){let e=new Iterator(null);return e.done=!0,e}static is(e){return e instanceof Iterator||"object"==typeof e&&null!==e&&"function"==typeof e.next}},r=class TrieMap{mode;root={};size=0;constructor(e){this.mode=e===Array?"array":"string",this.clear()}clear(){this.root={},this.size=0}set(e,t){let a,n=this.root;for(let t=0,r=e.length;t<r;t++)n=n[a=e[t]]||(n[a]={});return!("\0"in n)&&this.size++,n["\0"]=t,this}update(e,t){let a,n=this.root;for(let t=0,r=e.length;t<r;t++)n=n[a=e[t]]||(n[a]={});return!("\0"in n)&&this.size++,n["\0"]=t(n["\0"]),this}get(e){let t=this.root;for(let a=0,n=e.length;a<n;a++)if(void 0===(t=t[e[a]]))return;if("\0"in t)return t["\0"]}delete(e){let t,a,n=this.root,r=null,i=null;for(let o=0,s=e.length;o<s;o++){if(a=e[o],t=n,void 0===(n=n[a]))return!1;null!==r?Object.keys(n).length>1&&(r=null,i=null):Object.keys(n).length<2&&(r=t,i=a)}return"\0"in n&&(this.size--,r&&i?delete r[i]:delete n["\0"],!0)}has(e){let t=this.root;for(let a=0,n=e.length;a<n;a++)if(void 0===(t=t[e[a]]))return!1;return"\0"in t}find(e){let t,a="string"==typeof e,n=this.root,r=[];for(let t=0,a=e.length;t<a;t++)if(void 0===(n=n[e[t]]))return r;let i=[n],o=[e];for(;i.length;)for(t in e=o.pop(),n=i.pop()){if("\0"===t){r.push([e,n["\0"]]);continue}i.push(n[t]),o.push(a?e+t:e.concat(t))}return r}values(e){let t=this.root,a=[];if(e){for(let a=0,r=e.length;a<r;a++)if(void 0===(t=t[e[a]]))return n.empty()}return a.push(t),new n(()=>{let e,t,n=!1;for(;a.length;){for(t in e=a.pop()){if("\0"===t){n=!0;continue}a.push(e[t])}if(n)return{done:!1,value:e["\0"]}}return{done:!0}})}prefixes(e){let t=this.root,a=[],r=[],i="string"===this.mode;if(e){for(let a=0,r=e.length;a<r;a++)if(void 0===(t=t[e[a]]))return n.empty()}else e=i?"":[];return a.push(t),r.push(e),new n(()=>{let e,t,n,o=!1;for(;a.length;){for(n in e=a.pop(),t=r.pop(),e){if("\0"===n){o=!0;continue}a.push(e[n]),r.push(i?t+n:t.concat(n))}if(o)return{done:!1,value:t}}return{done:!0}})}keys=this.prefixes;entries(e){let t=this.root,a=[],r=[],i="string"===this.mode;if(e){for(let a=0,r=e.length;a<r;a++)if(void 0===(t=t[e[a]]))return n.empty()}else e=i?"":[];return a.push(t),r.push(e),new n(()=>{let e,t,n,o=!1;for(;a.length;){for(n in e=a.pop(),t=r.pop(),e){if("\0"===n){o=!0;continue}a.push(e[n]),r.push(i?t+n:t.concat(n))}if(o)return{done:!1,value:[t,e["\0"]]}}return{done:!0}})}[Symbol.iterator]=this.entries;inspect(){let e,t=Array(this.size),a=this.entries(),n=0;for(;!(e=a.next()).done;)t[n++]=e.value;return Object.defineProperty(t,"constructor",{value:TrieMap,enumerable:!1}),t}"nodejs.util.inspect.custom"=this.inspect;toJSON(){return this.root}contains(e){let t=this.root;for(let a=0,n=e.length;a<n;a++)if(void 0===(t=t[e[a]]))return!1;return!0}},i=class Trie{_trieMap;constructor(e=String){this._trieMap=new r(e)}get mode(){return this._trieMap.mode}get root(){return this._trieMap.root}get size(){return this._trieMap.size}clear(){this._trieMap.clear()}add(e){return this._trieMap.set(e,!0),this}has(e){return this._trieMap.has(e)}delete(e){return this._trieMap.delete(e)}contains(e){return this._trieMap.contains(e)}keys(e){return this._trieMap.keys(e)}prefixes(e){return this._trieMap.prefixes(e)}find(e){return this._trieMap.find(e).map(([e])=>e)}inspect(){let e,t=new Set,a=this.keys();for(e=a.next();!e.done;)t.add(e.value),e=a.next();return Object.defineProperty(t,"constructor",{value:Trie,enumerable:!1}),t}[Symbol.iterator](){return this.keys()}containsPrefix(e){let t=this.root;for(let a=0,n=e.length;a<n&&void 0!==(t=t[e[a]]);a++)if(t["\0"])return!0;return!1}toJSON(){return this._trieMap.toJSON()}}},0x11f79e2d6:(e,t,a)=>{"use strict";a.d(t,{Ii:()=>n,MT:()=>l,Oj:()=>u,Qt:()=>s,aF:()=>c,dX:()=>o,iX:()=>f,tE:()=>r,xf:()=>m,zO:()=>i});let n="main",r="SEARCH",i=3e4,o="IMPROVED_SEARCH",s={MESSAGES:"messages",FILES:"files",CHANNELS:"channels",PEOPLE:"people",CANVASES:"canvases",SALESFORCE:"salesforce",TOP_RESULTS:"topResults",DMS:"dms"},l={MESSAGES:"messages",FILES:"files",CHANNELS:"channels",PEOPLE:"people",WORKFLOWS:"triggers",SALESFORCE:"salesforce",EXTERNAL:"external",WORK_OBJECT:"work_object",TOP_RESULTS:"topResults",DMS:"dms"},c={None:"none",Timeout:"timeout",RenderErrorCaught:"renderErrorCaught",Unknown:"unknown",NoQuery:"noQuery",SalesforceNoAuth:"salesforceNoAuth"};var d,u=((d={}).TopResultsTab="desktop_top_results_tab",d.MessagesTab="desktop_messages_tab",d.FilesTab="desktop_files_tab",d.ChannelsTab="desktop_channels_tab",d.PeopleTab="desktop_people_tab",d.ListsTab="desktop_lists_tab",d.CanvasesTab="desktop_canvases_tab",d.SalesforceTab="desktop_salesforce_tab",d.ExternalTab="desktop_external_tab",d.SlackAi="desktop_slack_ai",d.CanvasBrowser="desktop_canvases_browser",d.ListsBrowser="desktop_lists_browser",d.PeopleBrowser="desktop_people_browser",d.ChannelBrowser="desktop_channel_browser",d.FilesBrowser="desktop_files_browser",d.WorkflowsBrowser="desktop_workflows_browser",d.EnterpriseAuditLogs="enterprise_audit_logs",d.ExternalOrgsTable="external_orgs_table",d.ProfileMessagesAndMentions="desktop_profile_messages_and_mentions",d.ListsDefault="desktop_lists_default",d.Suggestions="desktop_suggestions",d.SearchInChannel="search_in_channel",d.TopResultsEnterpriseSearch="top_results_enterprise_search",d.Unknown="desktop_unknown_search_context",d.UnifiedSearchSourceDropdown="unified_search_source_dropdown",d.DmsTab="desktop_dms_tab",d.WorkObjectTab="desktop_work_object_tab",d);let m={[s.MESSAGES]:"desktop_messages_tab",[s.FILES]:"desktop_files_tab",[s.CHANNELS]:"desktop_channels_tab",[s.PEOPLE]:"desktop_people_tab",[s.CANVASES]:"desktop_canvases_tab",[s.SALESFORCE]:"desktop_salesforce_tab",[s.TOP_RESULTS]:"desktop_unknown_search_context",[s.DMS]:"desktop_dms_tab"},f={MESSAGE:"message",FILE:"file",CHANNEL:"channel",USER:"user",EXTERNAL_RECORD:"external_record",WORK_OBJECT:"work_object"}},0x19b946539:(e,t,a)=>{"use strict";a.d(t,{BB:()=>extractAppIdFromExternalViewId,Kf:()=>createExternalViewId,Kz:()=>isExternalViewId});let n="ES_external.";function createExternalViewId(e){return`${n}${e}`}function isExternalViewId(e){return e.startsWith(n)}function extractAppIdFromExternalViewId(e){return e.substring(n.length)}},0x76c42467:(e,t,a)=>{"use strict";a.d(t,{O:()=>formatQuery});var n=a(0xb77a689a);let r=new Set([":"]),i=new Set(["@","\uFF20"]),o=new Set(["#","\uFF03"]),s=new Set(["/","\uFF0F"]),l=new Set(["+","\uFF0B"]),c=new Set([...r,...i,...o,...s,...l]);function formatQuery(e,t){if(!e)return"";if(!(0,n.A)(e))return e;let a=e.charAt(0);if(t){let{shouldTrimChannel:n=!0,shouldTrimCommand:c=!0,shouldTrimEmoji:d=!0,shouldTrimMember:u=!0,shouldTrimDocument:m=!0}=t;if(d&&r.has(a)||u&&i.has(a)||n&&o.has(a)||c&&s.has(a)||m&&l.has(a))return e.slice(1)}else if(c.has(a))return e.slice(1);return e}},0x3d01f952:(e,t,a)=>{"use strict";a.d(t,{Fl:()=>getMostCommonUsers,LD:()=>sortByFrecencyAsync,Zh:()=>sortByFrecency,b5:()=>getMostCommonChannels,fQ:()=>normalizeText,i2:()=>createCacheRecord,jQ:()=>countVisit,jW:()=>scoreByFrecency,ky:()=>isFrecencyItemArray,rM:()=>b,sK:()=>getFrecencyCache,xe:()=>scoreByFrecencyAsync});var n=a(0x9b44b68b),r=a(0x7a13daf2),i=a(0x1383b91ba),o=a(0x839ba347),s=a(0x21d2920f),l=a(0xc9c97240),c=a(0x4f6e90b4),d=a(0x81cf657f);a(0xbe2be077);var u=a(0x76c42467),m=a(0x1ccef1c6f),f=a(0x14149c126),_=a(0xe684f705),p=a(0x1b4ecf8e7);let h="hitKey",g="itemKey",A=[{time:144e5,weight:100,hitKey:"hitVisits4h",itemKey:"itemVisits4h"},{time:864e5,weight:80,hitKey:"hitVisits1d",itemKey:"itemVisits1d"},{time:2592e5,weight:60,hitKey:"hitVisits3d",itemKey:"itemVisits3d"},{time:6048e5,weight:40,hitKey:"hitVisits1w",itemKey:"itemVisits1w"},{time:2592e6,weight:20,hitKey:"hitVisits1m",itemKey:"itemVisits1m"},{time:7776e6,weight:10,hitKey:"hitVisits90d",itemKey:"itemVisits90d"}];function sortByFrecency(e,{query:t,list:a,bonusPoints:n=defaultBonusPoints}){return sortItems(scoreByFrecency(e,{query:t,list:a,bonusPoints:n}))}function scoreByFrecency(e,{query:t,list:a,bonusPoints:n=defaultBonusPoints}){let r=getFrecencyCache(e),i=getHitsForQuery(r,t,isAdaptiveHistoryExactMatchesEnabled(e)||isDynamicNavIntentCorrection(e)),o=isDynamicNavIntentCorrection(e)&&t?{exact_nav_count:i.INF_SEARCH.exact_nav_count??0,exact_search_count:i.INF_SEARCH.exact_search_count??0,substring_search_count:i.INF_SEARCH.substring_search_count??0,substring_nav_count:0}:void 0;return scoreItems({frecencyCache:r,hits:i,list:a,bonusPoints:n,state:e,aggregatedCount:o})}async function scoreByFrecencyAsync(e,{query:t,list:a,bonusPoints:n=defaultBonusPoints,yieldController:r}){let i=getFrecencyCache(e),o=getHitsForQuery(i,t,isAdaptiveHistoryExactMatchesEnabled(e)||isDynamicNavIntentCorrection(e));r?.shouldYield()&&await r.yield();let s=isDynamicNavIntentCorrection(e)&&t?{exact_nav_count:o.INF_SEARCH.exact_nav_count??0,exact_search_count:o.INF_SEARCH.exact_search_count??0,substring_search_count:o.INF_SEARCH.substring_search_count??0,substring_nav_count:0}:void 0;return scoreItemsAsync({frecencyCache:i,hits:o,list:a,bonusPoints:n,state:e,aggregatedCount:s,yieldController:r})}async function sortByFrecencyAsync(e,{query:t,list:a,bonusPoints:n=defaultBonusPoints,yieldController:r}){return sortItems(await scoreByFrecencyAsync(e,{query:t,list:a,bonusPoints:n,yieldController:r}))}function getHitsForQuery(e,t,a=!1){let r=normalizeText(t),i=(0,n.A)(e),o="INF_SEARCH",s={exact:0,substring:0},l=0,c=i.reduce((t,n)=>{if(n.indexOf(r)>-1||r.indexOf(n)>-1){let i=e[n],c=!!a&&n===r;if(isFrecencyItemArray(i))i.forEach(e=>{if(e.id===o?s[c?"exact":"substring"]+=e.count:n&&!n.startsWith("E")&&!e.id.startsWith("E")&&c&&(l+=e.count),t[e.id]){let n=calculateScore(t[e.id]);calculateScore(e)>n&&(t[e.id]=a?{...e,exact_query_match:c}:e)}else t[e.id]=a?{...e,exact_query_match:c}:e});else if(t[i.id]){i.id===o?s[c?"exact":"substring"]+=i.count:n&&!n.startsWith("E")&&!i.id.startsWith("E")&&c&&(l+=i.count);let e=calculateScore(t[i.id]);calculateScore(i)>e&&(t[i.id]=a?{...i,exact_query_match:c}:i)}else i.id===o?s[c?"exact":"substring"]+=i.count:n&&!n.startsWith("E")&&!i.id.startsWith("E")&&c&&(l+=i.count),t[i.id]=a?{...i,exact_query_match:c}:i}return t},{});return a&&(c[o]={...c[o],...{exact_search_count:s.exact,substring_search_count:s.substring,exact_nav_count:l}}),c}function calculateScore(e){return weightVisits(e)*getCount(e)}function weightVisits(e){if(!e||!e.visits)return 0;let t=0,a=Date.now();for(let n=e.visits.length-1;n>=0;n-=1)t+=weighVisit(a-e.visits[n]);return e._reduced&&(t*=.5),t/e.visits.length}function getBucketCounts(e,t){let a=Date.now(),n={};if(!e||!e.visits)return n;let r=e.visits.length;for(let i=0;i<r;i+=1){let r=getBucketKey(a-e.visits[i],t);null!=r&&(n[r]=(n[r]??0)+1)}return n}function getCount(e){return e?e.count:0}function getBucketKey(e,t){let a=A.length;for(let n=0;n<a;n+=1)if(e<A[n].time)return A[n][t];return null}function weighVisit(e){let t=A.length;for(let a=0;a<t;a+=1)if(e<A[a].time)return A[a].weight;return 0}function latestVisit(e){return e&&e.visits?Math.max(...e.visits)/1e3:0}function scoreItems({frecencyCache:e,hits:t,list:a,bonusPoints:n,state:o,aggregatedCount:s}){if(0===a.length)return[];let l=!!o&&isDailyScoreDecayEnabled(o),c=!!o&&isAdaptiveHistoryExactMatchesEnabled(o),{exact_nav_count:d,exact_search_count:u,substring_search_count:m}=s||{},f=0,_=a.map((a,n)=>{let r,i=a.item?a.item.id:a.id,o=t[i],s=e[i],d=weightVisits(o),u=getCount(o),m=weightVisits(s),_=getCount(s);o&&(f+=u+_);let p=Math.log1p(u),A=Math.log1p(_),b=latestVisit(o),y=latestVisit(s),S=getBucketCounts(o,h),E=getBucketCounts(s,g);if(r=c&&o&&o.exact_query_match?2*u*d+_*m:u*d+_*m,l){let e=Math.max(1e3*b,1e3*y);if(e){let t=Math.floor((Date.now()-e)/864e5);r*=.9755**t}}return{...a,...S,...E,rawFrecencyScore:r,frecencyScore:r,weightHitVisits:d,hitCount:u,weightItemVisits:m,itemCount:_,logHitCountScaled:p,logItemCountScaled:A,latestItemVisit:y,latestHitVisit:b,frecencyOriginalIndex:n,bonusPointMap:{}}}),p=(0,r.A)(_,"rawFrecencyScore"),A=p?.rawFrecencyScore??0,b=(0,r.A)(_,"logHitCountScaled"),y=(0,r.A)(_,"logItemCountScaled"),S=b?.logHitCountScaled,E=y?.logItemCountScaled,k=!!(d||u);for(let e=0;e<_.length;e++){_[e].rawFrecencyScore>0&&(_[e].rawFrecencyScore=_[e].rawFrecencyScore/A*100),_[e].logHitCountScaled>0&&void 0!==S&&(_[e].logHitCountScaled/=S),_[e].logItemCountScaled>0&&void 0!==E&&(_[e].logItemCountScaled/=E),s&&(_[e].aggregatedCount=k?{exact_nav_count:d,exact_search_count:u}:{substring_nav_count:f,substring_search_count:m}),_[e].bonusPointMap=n(_[e]);let t=(0,i.A)(Object.values(_[e].bonusPointMap??{}));_[e].frecencyScore=_[e].rawFrecencyScore+t}return _}async function scoreItemsAsync({frecencyCache:e,hits:t,list:a,bonusPoints:n,state:o,aggregatedCount:s,yieldController:l}){if(0===a.length)return[];let c=!!o&&isDailyScoreDecayEnabled(o),d=!!o&&isAdaptiveHistoryExactMatchesEnabled(o),{exact_nav_count:u,exact_search_count:m,substring_search_count:f}=s||{},_=0,p=[];for(let n=0;n<a.length;n++){let r;n%20==0&&l?.shouldYield()&&await l.yield();let i=a[n],o=i.item?i.item.id:i.id,s=t[o],u=e[o],m=weightVisits(s),f=getCount(s),A=weightVisits(u),b=getCount(u);s&&(_+=f+b);let y=Math.log1p(f),S=Math.log1p(b),E=latestVisit(s),k=latestVisit(u),T=getBucketCounts(s,h),I=getBucketCounts(u,g);if(r=d&&s&&s.exact_query_match?2*f*m+b*A:f*m+b*A,c){let e=Math.max(1e3*E,1e3*k);if(e){let t=Math.floor((Date.now()-e)/864e5);r*=.9755**t}}p.push({...i,...T,...I,rawFrecencyScore:r,frecencyScore:r,weightHitVisits:m,hitCount:f,weightItemVisits:A,itemCount:b,logHitCountScaled:y,logItemCountScaled:S,latestItemVisit:k,latestHitVisit:E,frecencyOriginalIndex:n,bonusPointMap:{}})}let A=(0,r.A)(p,"rawFrecencyScore"),b=A?.rawFrecencyScore??0,y=(0,r.A)(p,"logHitCountScaled"),S=(0,r.A)(p,"logItemCountScaled"),E=y?.logHitCountScaled,k=S?.logItemCountScaled,T=!!(u||m);for(let e=0;e<p.length;e++){e%20==0&&l?.shouldYield()&&await l.yield(),p[e].rawFrecencyScore>0&&(p[e].rawFrecencyScore=p[e].rawFrecencyScore/b*100),p[e].logHitCountScaled>0&&void 0!==E&&(p[e].logHitCountScaled/=E),p[e].logItemCountScaled>0&&void 0!==k&&(p[e].logItemCountScaled/=k),s&&(p[e].aggregatedCount=T?{exact_nav_count:u,exact_search_count:m}:{substring_nav_count:_,substring_search_count:f}),p[e].bonusPointMap=n(p[e]);let t=(0,i.A)(Object.values(p[e].bonusPointMap??{}));p[e].frecencyScore=p[e].rawFrecencyScore+t}return p}function sortItems(e){return e.sort((e,t)=>e.frecencyScore===t.frecencyScore?e.frecencyOriginalIndex-t.frecencyOriginalIndex:t.frecencyScore-e.frecencyScore)}function defaultBonusPoints(){return{isDefault:0}}function getFrecencyCache(e){let t=(0,m.ty)(e,p.T0);if(!t)return{};if("string"==typeof t)try{return JSON.parse(t)}catch{return{}}return t}function traverseCache(e,t){(0,o.A)(e,e=>{if(Array.isArray(e))e.forEach(e=>{e._reduced||t(e)});else{if(e._reduced)return;t(e)}})}function normalizeText(e=""){return(0,d.B)((0,u.O)(e))}function createCacheRecord(e){return{id:e,count:1,visits:[Date.now()]}}function countVisit(e){let t=e.count+1,a=[...e.visits];return 10===a.length&&a.shift(),a.push(Date.now()),{id:e.id,count:t,visits:a}}function getMostCommonUsers(e,t){let a=getFrecencyCache(e),n=new Map,processItem=(t,a)=>{if(!t||!t.id||"U"!==t.id.charAt(0)&&"W"!==t.id.charAt(0)||t.id===a)return;let r=(0,_.nv)(e,t.id);if(!r.name||r.name===r.id)return;let i=n.get(t.id);(!i||t.count>i.count)&&n.set(t.id,t)};Object.entries(a).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>processItem(t,e)):processItem(t,e)});let r=Array.from(n.values());return r.sort((e,t)=>t.count-e.count),r.slice(0,t)}function getMostCommonWithPrefixFromCache(e,t,a){let n={};traverseCache(e,a=>{if(a&&a.id&&0===a.id.indexOf(t))if(n[a.id])n[a.id].score+=calculateScore(a);else{let t=calculateScore(a),r=e[a.id]?calculateScore(e[a.id]):0;n[a.id]={id:a.id,score:t+r}}});let i=(0,s.A)(n);if(0===i.length)return i;i.sort((e,t)=>t.score-e.score),a&&(i=i.slice(0,a));let o=(0,r.A)(i,"score"),l=o?.score??1;for(let e=0;e<i.length;e++)i[e].score>0&&(i[e].score=i[e].score/l*100);return i}function getMostCommonWithPrefix(e,t,a){return getMostCommonWithPrefixFromCache(getFrecencyCache(e),t,a)}function getMostCommonChannels(e,t=10){return getMostCommonWithPrefix(e,"C",t)}let b=(0,l.Mz)(getFrecencyCache,e=>getMostCommonWithPrefixFromCache(e,"MA",10));function isFrecencyItemArray(e){return Array.isArray(e)}function isDynamicNavIntentCorrection(e){return"treatment"===(0,f._Z)(e,"dynamic_nav_intent_correction")}function isDailyScoreDecayEnabled(e){return"treatment"===(0,f._Z)(e,"ml_search_m12_frecency_daily_score_decay")}function isAdaptiveHistoryExactMatchesEnabled(e){return"treatment"===(0,f._Z)(e,"ml_search_m12_frecency_adaptive_history_exact_matches")}(0,c.ul)("frecency",{getFrecencyCache,isDailyScoreDecayEnabled,isAdaptiveHistoryExactMatchesEnabled})},0x1c0ea79a3:(e,t,a)=>{"use strict";a.d(t,{m:()=>getCurrentRequestId});var n=a(0x11f79e2d6),r=a(0x1fe086707),i=a(0x70aa297f),o=a(0x237e0ebef);function getCurrentRequestId(e){let t=(0,o.id)(e);if(t===n.Qt.TOP_RESULTS){let t=(0,o.oL)(e,n.Qt.TOP_RESULTS);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.TOP_RESULTS,page:t.page})}else if(t===n.Qt.MESSAGES){let t=(0,o.oL)(e,n.Qt.MESSAGES);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.MESSAGES,page:t.page})}else if(t===n.Qt.FILES){let t=(0,o.oL)(e,n.Qt.FILES);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.FILES,page:t.page})}else if(t===n.Qt.CANVASES){let t=(0,o.oL)(e,n.Qt.CANVASES);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.CANVASES,page:t.page})}else if(t===n.Qt.CHANNELS){let t=(0,o.oL)(e,n.Qt.CHANNELS);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.CHANNELS,page:t.page})}else if(t===n.Qt.PEOPLE){let t=(0,o.oL)(e,n.Qt.PEOPLE);if(!t)return null;if(!t.loading)return(0,i.Ux)(e,{module:n.Qt.PEOPLE,page:t.page})}else if((0,r.NP)(t)){let a=(0,o.nM)(e),n=(0,o.oL)(e,t);if(!n)return null;if(!a)return(0,i.Ux)(e,{module:t,page:n.page})}return null}},0xc9715384:(e,t,a)=>{"use strict";a.d(t,{$R:()=>f,GE:()=>getMaybeUsableDateFromDateString,_4:()=>isTokenTypeFiletype,gs:()=>isRemovedFilterAnAiFilter,kn:()=>querySuggestionFromQueryAndFilter,vA:()=>queryFilterFromQuery});var n=a(0x1aba66b56),r=a(0x1673f3229),i=a(0x1075d3a9c),o=a.n(i),s=a(0x20482ad21),l=a(0x21c28ff01),c=a(0xf51a309e),d=a(0x108fb4e96),u=a(0x1950da728);let m=new s.Ay("search_menu"),f="YYYY-MM-DD";function isRemovedFilterAnAiFilter(e,t,a){if(!e?.length||!t)return!1;let hasValue=(e,t)=>!!(e&&t?.includes(e)),hasAnyInArray=(e,t)=>!!(e?.length&&t?.length&&e.some(e=>t.includes(e)));return e.some(e=>{switch(e){case u.hv.HAS_LINK:return hasValue("link",t.has);case u.hv.HAS_FILE:return hasValue("file",t.has);case u.hv.HAS_ACTION:return hasValue("action",t.has);case u.hv.HAS_PIN:return hasValue("pin",t.has);case u.hv.IS_SAVED:return hasValue("saved",t.is);case u.hv.IS_THREAD:return hasValue("thread",t.is);case u.hv.IS_DM:return hasValue("dm",t.is);case u.hv.FROM:return hasAnyInArray(a,t.from);case u.hv.WITH:return hasAnyInArray(a,t.with);case u.hv.IN:return hasAnyInArray(a,t.in);case u.hv.DATE:return!!(t.before||t.after);case u.hv.FILE_TYPE:let n;return n=t.fileType,!!n?.length;default:return!1}})}function querySuggestionFromQueryAndFilter(e,t,a,n){let r=l.oN.tokenListFromString(e,t);return r=queryTokenListForFromFilter(e,r,a.from||[]),r=queryTokenListForNotFromFilter(e,r,a.notFrom||[]),r=queryTokenListForInFilter(e,r,a.in||[]),r=queryTokenListForNotInFilter(e,r,a.notIn||[]),r=queryTokenListForBeforeFilter(e,r,a.before),r=queryTokenListForAfterFilter(e,r,a.after),r=queryTokenListForOnFilter(e,r,a.on),r=queryTokenListForTypeFilter(e,r,a.fileType||[],n),r=queryTokenListForExcludedTypeFilter(e,r,a.excludedFileType||[]),r=queryTokenListForHasFilter(e,r,a.has||[]),r=queryTokenListForMyReactionFilter(e,r,a.myReaction||[]),r=queryTokenListForIsFilter(e,r,a.is||[]),r=queryTokenListForWithFilter(e,r,a.with||[]),r=queryTokenListForCreatorFilter(e,r,a.creator||[]),new c.dn(e,"",r)}function queryTokenListForFromFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeFrom(e))return!0;let t=e.entityId;return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.cL(1,e,t,void 0,d.wd.FROM)))}function queryTokenListForNotFromFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeNotFrom(e))return!0;let t=e.entityId;return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.cL(1,e,t,void 0,d.wd.NOT_FROM)))}function queryTokenListForInFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeIn(e))return!0;let t=e.getMemberOrChannelId();return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.tT(1,e,t,void 0,void 0,d.wd.IN)))}function queryTokenListForNotInFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeNotIn(e))return!0;let t=e.getMemberOrChannelId();return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.tT(1,e,t,void 0,void 0,d.wd.NOT_IN)))}function queryTokenListForWithFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeWith(e))return!0;let t=e.entityId;return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.cL(1,e,t,void 0,d.wd.WITH)))}function queryTokenListForCreatorFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeCreator(e))return!0;let t=e.entityId;return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)})).concat(o.map(t=>new l.cL(1,e,t,void 0,d.wd.CREATOR)))}function queryTokenListForBeforeFilter(e,t,a){let n=!1,r=t.filter(e=>!isTokenTypeBefore(e)||e.dateString===a&&(n=!0,!0));return a&&!n&&r.push(new l.CG(a,d.wd.BEFORE)),r}function queryTokenListForAfterFilter(e,t,a){let n=!1,r=t.filter(e=>!isTokenTypeAfter(e)||e.dateString===a&&(n=!0,!0));return a&&!n&&r.push(new l.CG(a,d.wd.AFTER)),r}function queryTokenListForOnFilter(e,t,a){let n=!1,r=t.filter(e=>!isTokenTypeOn(e)||e.dateString===a&&(n=!0,!0));return a&&!n&&r.push(new l.CG(a,d.wd.ON)),r}function queryTokenListForTypeFilter(e,t,a,i){let o=t,s=[...a];return(o=o.filter(e=>{if(!isTokenTypeFiletype(e))return!0;let t=e.fileType;return!!(t&&(0,n.A)(s,t))&&(s=(0,r.A)(s,t),!0)}),a&&a.includes("")&&""!==a[a.length-1]&&(s=Array.isArray(a)?a.filter(e=>""!==e):[]),a.includes("")&&""===a[a.length-1])?(i?.fileTypesAllowed&&(o=o.concat(i.fileTypesAllowed.map(e=>new l.ec(e)))),o):(i?.fileTypesAllowed&&0===a.length&&(o=o.concat(i.fileTypesAllowed.map(e=>new l.ec(e)))),o=o.concat(s.map(e=>new l.ec(e))))}function queryTokenListForExcludedTypeFilter(e,t,a){let i=t,o=[...a];return(i=i.filter(e=>{if(!isTokenTypeExcludeFiletype(e))return!0;let t=e.fileType;return!!(t&&(0,n.A)(o,t))&&(o=(0,r.A)(o,t),!0)}),a&&a.includes("")&&""!==a[a.length-1]&&(o=Array.isArray(a)?a.filter(e=>""!==e):[]),a.includes("")&&""===a[a.length-1])?i:i=i.concat(o.map(e=>new l.ec(e,d.wd.NOT_TYPE)))}function queryTokenListForHasFilter(e,t,a){let i=t,o=[...a];return a?i=(i=i.filter(e=>!isTokenTypeHas(e)||!!(0,n.A)(o,e.thing)&&(o=(0,r.A)(o,e.thing),!0))).concat(o.map(e=>new l.qB(e))):t}function queryTokenListForMyReactionFilter(e,t,a){let i=t,o=[...a];return a?i=(i=i.filter(e=>!isTokenTypeMyReaction(e)||!!(0,n.A)(o,e.emoji)&&(o=(0,r.A)(o,e.emoji),!0))).concat(o.map(e=>new l.Dl(e))):t}function queryTokenListForIsFilter(e,t,a){let i=t,o=[...a];return a?i=(i=i.filter(e=>!isTokenTypeIs(e)||!!(0,n.A)(o,e.thing)&&(o=(0,r.A)(o,e.thing),!0))).concat(o.map(e=>new l.iy(e))):t}function queryFilterFromQuery(e,t){let a=l.oN.tokenListFromString(e,t),n={in:[],from:[],before:void 0,after:void 0,fileType:[],has:[],is:[],myReaction:[],with:[],on:void 0,notFrom:[],notIn:[],creator:[]};return a.forEach(e=>{if(isTokenTypeFrom(e)&&e.entityId)n.from.push(e.entityId);else if(isTokenTypeNotFrom(e)&&e.entityId)n.notFrom?.push(e.entityId);else if(isTokenTypeIn(e)){let t=e.getMemberOrChannelId();t&&n.in.push(t)}else if(isTokenTypeNotIn(e)){let t=e.getMemberOrChannelId();t&&n.notIn?.push(t)}else isTokenTypeBefore(e)?n.before=getMaybeUsableDateFromDateString(e.dateString):isTokenTypeAfter(e)?n.after=getMaybeUsableDateFromDateString(e.dateString):isTokenTypeFiletype(e)?n.fileType?.push(e.fileType):isTokenTypeHas(e)?n.has?.push(e.thing):isTokenTypeMyReaction(e)?n.myReaction?.push(e.emoji):isTokenTypeIs(e)?n.is?.push(e.thing):isTokenTypeWith(e)&&e.entityId?n.with?.push(e.entityId):isTokenTypeCreator(e)&&e.entityId&&n.creator?.push(e.entityId)}),n}function getMaybeUsableDateFromDateString(e){if(e.match(/^20[0-9][0-9]$/))return;if(e===m.t("today"))return o()().format(f);if(e===m.t("yesterday"))return o()().subtract(1,"days").format(f);let t=o()(e);if(t.isValid())return t.format(f)}function isTokenTypeFrom(e){return e.type===d.S6.FILTER_FROM}function isTokenTypeNotFrom(e){return e.type===d.S6.FILTER_NOT_FROM}function isTokenTypeIn(e){return e.type===d.S6.FILTER_IN}function isTokenTypeNotIn(e){return e.type===d.S6.FILTER_NOT_IN}function isTokenTypeWith(e){return e.type===d.S6.FILTER_WITH}function isTokenTypeCreator(e){return e.type===d.S6.FILTER_CREATOR}function isTokenTypeBefore(e){return e.type===d.S6.FILTER_BEFORE}function isTokenTypeAfter(e){return e.type===d.S6.FILTER_AFTER}function isTokenTypeOn(e){return e.type===d.S6.FILTER_ON}function isTokenTypeFiletype(e){return e.type===d.S6.FILTER_TYPE}function isTokenTypeExcludeFiletype(e){return e.type===d.S6.FILTER_NOT_TYPE}function isTokenTypeHas(e){return e.type===d.S6.FILTER_HAS}function isTokenTypeMyReaction(e){return e.type===d.S6.FILTER_MY_REACTION}function isTokenTypeIs(e){return e.type===d.S6.FILTER_IS}},0xe8e39b78:(e,t,a)=>{"use strict";a.d(t,{t:()=>queryIsMaybeSelf});var n=a(0x20482ad21),r=a(0x81cf657f);let i=new n.Ay("utility");function queryIsMaybeSelf(e){let t=i.t("me"),a=i.t("you"),n=(0,r.B)(e);return"me"===n||"you"===n||n===t||n===a}},0x10ea12ee6:(e,t,a)=>{"use strict";a.d(t,{L:()=>u});var n=a(0x3d01f952),r=a(0x11c82607b),i=a(0x12f41fc32),o=a(0x1f8f05a48),s=a(0x1b4ecf8e7);let l=(0,r.Ay)("A wrapper around setUserPrefByApi meant for setting frecency data",(e,t,{value:a})=>{e((0,i.AZ)({pref:s.T0,value:a}))});l.meta={name:"setFrecencyByApi",key:"createThunkSetFrecencyByApi",description:"A wrapper around setUserPrefByApi meant for setting frecency data"};let c=(0,o.Ay)(l,6e4,!1);var d=a(0x20085de45);let u=(0,r.Ay)("Update the frecency cache with the new recorded item, then save it to user prefs",(e,t,{id:a,text:r})=>{let i=t(),o="INF_SEARCH"===a,l={...(0,n.sK)(i)};if(r){let e=(0,n.fQ)(r),t=l[e];if(t&&!(0,n.ky)(t))t.id===a?l[e]=(0,n.jQ)(t):l[e]=[t,(0,n.i2)(a)];else if(t&&(0,n.ky)(t)){let r=!1;for(let i=0;i<t.length;i+=1)if(t[i].id===a){l[e]=[...t],l[e][i]=(0,n.jQ)(l[e][i]),r=!0;break}r||(l[e]=[...t,(0,n.i2)(a)])}else l[e]=(0,n.i2)(a)}let u=l[a];if(u&&(0,n.ky)(u))for(let e=0;e<u.length;e+=1)u[e].id===a?l[a][e]=(0,n.jQ)(u[e]):l[a]=[...u,(0,n.i2)(a)];else u&&!(0,n.ky)(u)?l[a]=(0,n.jQ)(u):o||(l[a]=(0,n.i2)(a),l[a]._reduced=!0);e((0,d.rX)({pref:s.T0,value:l})),e(c({value:l}))});u.meta={name:"recordFrecencyEvent",key:"createThunkRecordFrecencyEvent",description:"Update the frecency cache with the new recorded item, then save it to user prefs"}},0x171b52ec3:(e,t,a)=>{"use strict";a.d(t,{Wj:()=>getSearchStateFromRouteParam,_t:()=>getSearchRouteParamFromReduxState,dp:()=>p,iT:()=>getRouteParamFromSearchState});var n=a(0x5a5c86cb),r=a(0x9e671ad),i=a(0x1e93512b3),o=a(0x155d02b1c),s=a(0x882c83c3),l=a(0x1edd1e248),c=a(0x11f79e2d6),d=a(0x1ccef1c6f),u=a(0x19c76d181),m=a(0x70aa297f),f=a(0x237e0ebef),_=a(0x1950da728);let p={requestQuery:"",page:1,tab:c.Qt.MESSAGES,messageAndFileSearchExcludeBots:!1,messageAndFileSearchOnlyMyChannels:!1,messageSearchSort:_.kK.relevantMessages,fileSearchSort:_.VU.relevant,activeEnterpriseTeamIdFilter:"",channelSearchFilterType:_.xV.all,channelSearchOrgFilters:[],channelSearchHideMemberChannels:!1,channelSearchSort:_.aJ.relevant,peopleSearchFilterType:_.Dx.all,peopleSearchOrgFilters:[],peopleSearchHideDeactivatedUsers:!1,peopleSearchSort:_.iO.relevant,resultCountToggle:20,containsPrivateEntities:!1,peopleSearchDepartmentFilters:[],peopleSearchDivisionFilters:[],peopleSearchLocationFilters:[],peopleSearchTitleFilters:[],peopleSearchCelebrationFilters:[],salesforceSearchFilterOrgId:"",salesforceSearchFilterRecordType:"",salesforceSearchFilterCreatedByMe:!1,topResultsSearchSort:_.BR.relevant},h={requestQuery:"r",tab:"t",page:"p",messageAndFileSearchExcludeBots:"b",messageAndFileSearchOnlyMyChannels:"c",activeEnterpriseTeamIdFilter:"a",channelSearchFilterType:"e",channelSearchOrgFilters:"f",channelSearchHideMemberChannels:"g",peopleSearchFilterType:"h",peopleSearchOrgFilters:"i",peopleSearchHideDeactivatedUsers:"j",messageSearchSort:"s",fileSearchSort:"k",channelSearchSort:"l",peopleSearchSort:"m",resultCountToggle:"n",containsPrivateEntities:"o",userId:"q",peopleSearchLocationFilters:"u",peopleSearchDepartmentFilters:"v",peopleSearchDivisionFilters:"w",peopleSearchTitleFilters:"x",peopleSearchCelebrationFilters:"y",salesforceSearchFilterOrgId:"so",salesforceSearchFilterRecordType:"sr",salesforceSearchFilterCreatedByMe:"sm",topResultsSearchSort:"tr"},g=Object.entries(h).reduce((e,[t,a])=>(e[a]=t,e),{});function mangleSearchState(e){let t=Object.entries((0,n.A)(e,(e,t)=>t in h&&!(0,r.A)(e,p[t]))).reduce((e,[t,a])=>{let n=h[t],r=a;return"boolean"==typeof r&&(r=+!!a),e[n]=r,e},{});return Object.keys(t).sort().reduce((e,a)=>(e[a]=t[a],e),{})}function getSearchRouteParamFromReduxState(e){let t=(0,m.Uz)(e);if(!t)return"";let a=(0,f.id)(e),n=(0,f.oL)(e,a);return getRouteParamFromSearchState({requestQuery:t||"",tab:a,page:n?n.page:1,messageAndFileSearchExcludeBots:!!(0,d.ty)(e,_.jv),messageAndFileSearchOnlyMyChannels:!!(0,d.ty)(e,_.wA),activeEnterpriseTeamIdFilter:(0,f.Xh)(e),channelSearchFilterType:(0,f.yy)(e),channelSearchOrgFilters:(0,f.lB)(e),channelSearchHideMemberChannels:!!(0,l.Eh)(e),peopleSearchFilterType:(0,f.o0)(e).type,peopleSearchOrgFilters:(0,f.fL)(e),peopleSearchHideDeactivatedUsers:!!(0,l.uX)(e),messageSearchSort:(0,l.WJ)(e),fileSearchSort:(0,s.r)(e,c.Qt.FILES),channelSearchSort:(0,l.Kn)(e),peopleSearchSort:(0,l.y6)(e),resultCountToggle:(0,l.jn)(e)||20,userId:(0,u.WR)(e),peopleSearchLocationFilters:(0,f.aJ)(e),peopleSearchDepartmentFilters:(0,f.DL)(e),peopleSearchDivisionFilters:(0,f.YM)(e),peopleSearchTitleFilters:(0,f.LX)(e),peopleSearchCelebrationFilters:(0,f.Lq)(e),salesforceSearchFilterOrgId:(0,f.he)(e),salesforceSearchFilterRecordType:(0,f.T4)(e),salesforceSearchFilterCreatedByMe:(0,f.PB)(e),topResultsSearchSort:(0,l._S)(e)})}function getRouteParamFromSearchState(e){let t=mangleSearchState({...e,requestQuery:(0,i.A)(encodeURIComponent(e.requestQuery))}),a="";try{a=JSON.stringify(t)}catch{a=""}return`search-${btoa(a)}`}function getSearchStateFromRouteParam(e){let t,a=(e||"").replace(/^search-/,"");if(!a)return{...p};try{t=JSON.parse(atob(a))}catch{return{...p}}return Object.entries(t).reduce((e,[t,a])=>{let n=g[t];return t!==h.page&&t!==h.resultCountToggle&&(1===a||0===a)?e[n]=!!a:t===h.requestQuery&&"string"==typeof a?e[n]=decodeURIComponent((0,o.A)(a)):n&&(e[n]=a),e},{...p})}},0xceebc3d5:(e,t,a)=>{"use strict";a.d(t,{CJ:()=>maybeRequestSearcherReindex,pb:()=>registerBuildIndexCallback,wi:()=>getPendingTeamId});var n=a(0x19cf06bed),r=a(0x9b971e7e),i=a(0x14149c126);let o=null,s=null;function registerBuildIndexCallback(e){s=e}function getPendingTeamId(){return o}function requestSearcherReindex(e){o=e,(0,n.A)("searcher-index-reindex",()=>{s&&s()},5e3)}function maybeRequestSearcherReindex(e){let t=(0,r.ZT)(e)||(0,r.jV)(e),a="treatment"===(0,i._Z)(e,"searcher_small_query_index");t&&a&&requestSearcherReindex(t)}},0x205d502b7:(e,t,a)=>{"use strict";a.d(t,{h:()=>suggestionToString});var n=a(0x20482ad21),r=a(0x8ed587af),i=a(0x3e8915e8),o=a(0x14149c126);let s=new n.Ay("search");function suggestionToString(e,t){let a="on"===(0,o._Z)(e,"saved_search"),n=(0,r.Py)(e);return"query"===t.type||"queryHistory"===t.type||"queryUser"===t.type||"querySalesforce"===t.type||"queryConvoSearch"===t.type||"current-channel-refinement"===t.type||"current-saved-refinement"===t.type||"current-dms-refinement"===t.type||"current-threads-refinement"===t.type||"current-sent-refinement"===t.type||"aiSuggestion"===t.type||"educationalSuggestion"===t.type||a&&"querySaved"===t.type||n&&"querySlackbot"===t.type?(t?.suggestionTokenList??[]).map(e=>e.toString()).join(" "):"agent"===t.type?`<@${t.bot_user_id}|${t.name}>`:("channel"===t.type||"mpim"===t.type)&&t.item?`<#${t.item.id}|${t.item.name}>`:"member"===t.type?(0,i.A)(e,t.item):"appAction"===t.type?t.id:"in-refinement"===t.type||"in-filter-button"===t.type?s.t("in:"):"from-refinement"===t.type||"from-filter-button"===t.type?s.t("from:"):t.isAction||t.isNavigational?t.name??"":""}},0x16e905560:(e,t,a)=>{"use strict";a.d(t,{Hd:()=>tokenListToTextyOps,OM:()=>removeFilterTrailingSpaces,Yg:()=>tokenListToTextyString,t7:()=>suggestionToTextyString,wk:()=>suggestionToTextyOps});var n=a(0x8ed587af),r=a(0x205d502b7),i=a(0x426f7a4e),o=a(0x131598af9),s=a(0x14149c126);function removeFilterTrailingSpaces(e){return e.filter((t,a)=>{if(0===a)return!0;let n=e[a-1],r=e[a-2];return!(" "===t.insert&&!t.attributes&&" "===n.insert&&!n.attributes&&r?.attributes?.slacksearchfilter)})}function tokenListToTextyOps(e,t=!1){let a=e.map((e,a)=>a>0?[{insert:" "},...e.toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:t})]:e.toTextyOps({experimentOmniUnifiedFilterTokensGroupOn:t})).flat();return t?removeFilterTrailingSpaces(a):a}function tokenListToTextyString(e){return e.map(e=>e.toTextyString()).join(" ")}function suggestionToTextyString(e,t){let a="on"===(0,s._Z)(e,"saved_search"),l=(0,n.Py)(e);return("query"===t.type||"queryHistory"===t.type||"queryUser"===t.type||"querySalesforce"===t.type||"queryConvoSearch"===t.type||"aiSuggestion"===t.type||"educationalSuggestion"===t.type||a&&"querySaved"===t.type||l&&"querySlackbot"===t.type)&&t.suggestionTokenList?tokenListToTextyString(t.suggestionTokenList):(0,i.A)((0,r.h)(e,t),(0,o.A)(e))}function suggestionToTextyOps(e,t){return e.suggestionTokenList?tokenListToTextyOps(e.suggestionTokenList,t):[]}},0xadef2bd3:(e,t,a)=>{"use strict";a.d(t,{Ck:()=>markSearchModuleRenderStart,Ni:()=>markAutocompleteRequest,Rf:()=>markSearchModuleResponse,Xe:()=>markAutocompleteResponse,jK:()=>markAutocompleteKeystroke,m:()=>markSearchAccept,wl:()=>markAutocompleteRenderStart,xi:()=>markSearchModuleRequest});var n=a(0x11f79e2d6);let r="autocomplete_keystroke",i="autocomplete_request",o="search_accept",s="search_module_request_messages",l="search_module_request_files",c="search_module_request_channels",d="search_module_request_people",u="search_module_request_salesforce",m="search_module_request_work_object";function eventName(e,t=[]){return[`universal_search_${e}`].concat(t||[]).join("_")}function markAutocompleteKeystroke(e){e.mark(eventName(r))}function markAutocompleteRequest(e){e.mark(eventName(i))}function markAutocompleteResponse(e){e.mark(eventName("autocomplete_response")),e.measureAndClear(eventName(i),"ac_request_to_response")}function markAutocompleteRenderStart(e){e.mark(eventName("autocomplete_render_start")),e.getLatestMark(r)&&e.measureAndClear(eventName(r),"ac_keystroke_to_render_start")}function markSearchAccept(e){e.mark(eventName(o))}function markSearchModuleRequest({module:e,telemeter:t}){e===n.MT.MESSAGES&&t.mark(eventName(s)),e===n.MT.FILES&&t.mark(eventName(l)),e===n.MT.CHANNELS&&t.mark(eventName(c)),e===n.MT.PEOPLE&&t.mark(eventName(d)),e===n.MT.SALESFORCE&&t.mark(eventName(u)),e===n.MT.EXTERNAL&&t.mark(eventName("search_module_request_external")),e===n.MT.WORK_OBJECT&&t.mark(eventName(m))}function markSearchModuleResponse(e,t,a,r){e===n.MT.MESSAGES&&(r.measureAndClear(eventName(s),"search_request_to_response_messages"),r.mark(eventName("search_module_response_messages"))),e===n.MT.FILES&&(r.measureAndClear(eventName(l),"search_request_to_response_files"),r.mark(eventName("search_module_response_files"))),e===n.MT.CHANNELS&&(r.measureAndClear(eventName(c),"search_request_to_response_channels"),r.mark(eventName("search_module_response_channels"))),e===n.MT.PEOPLE&&(r.measureAndClear(eventName(d),"search_request_to_response_people"),r.mark(eventName("search_module_response_people"))),e===n.MT.SALESFORCE&&(r.measureAndClear(eventName(u),"search_request_to_response_salesforce"),r.mark(eventName("search_module_response_salesforce"))),e===n.MT.WORK_OBJECT&&(r.measureAndClear(eventName(m),"search_request_to_response_work_object"),r.mark(eventName("search_module_response_work_object")))}function markSearchModuleRenderStart({module:e,telemeter:t}){"messages"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_messages"),"files"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_files"),"channels"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_channels"),"people"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_people"),"topResults"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_top_results"),"dms"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_dms"),"external"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_external"),"salesforce"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_salesforce"),"workObject"===e&&t.measureAndClear(eventName(o),"search_accept_to_render_start_work_object")}},0x1fe086707:(e,t,a)=>{"use strict";a.d(t,{Hw:()=>createWorkObjectViewId,NP:()=>isWorkObjectViewId,aZ:()=>extractAppIdFromWorkObjectViewId});let n="NS_work_object.";function createWorkObjectViewId(e){return`${n}${e}`}function isWorkObjectViewId(e){return e.startsWith(n)}function extractAppIdFromWorkObjectViewId(e){return e.substring(n.length)}},0xcd225243:(e,t,a)=>{"use strict";a.d(t,{Rk:()=>handleAccountsChanged,Vi:()=>setSessionChangeHandlingEnabled,i$:()=>handleUserAddedToTeam,zv:()=>handleUserRemovedFromTeam});var n=a(0xf2e7528e),r=a(0x1673f3229),i=a(0xd7e604c9),o=a(0x1ec68d6a3),s=a(0x1ccef1c6f),l=a(0x12f41fc32),c=a(0x25799808),d=a(0x164ee0b8e);let u=!0,m=!1,f=!1,_=!1;function setSessionChangeHandlingEnabled(e){u===e||(u=e,e&&(m?(m=!1,_=!0,(0,o.getGenericLogger)().info("AUTH","Re-fetching auth due to added_to_team or removed_from_team rtm event that was deferred"),(0,c.tw)()):f&&(f=!1,(0,c.RG)(),_=!0,(0,o.getGenericLogger)().info("AUTH","Checking if auth is fresh due to accounts_changed rtm event that was deferred"))))}function handleAccountsChanged(e){if(!_){if(!u){f=!0;return}_=!0,(0,c.RG)(),(0,o.default)({getState:e}).info("Event","Checking if auth is fresh due to accounts_changed rtm event")}}async function handleUserAddedToTeam(e,t,a){if(_)return Promise.resolve();let r=Promise.resolve();if((0,s.GW)(t()).includes(a)&&((0,o.default)({getState:t}).info("Event",`Removing ${a} from enterprise exclusion list for user_added_to_team`),r=e((0,l.gO)({teamId:a}))),await r,!u){m=!0;return}let i=(0,d.W6)("orderedTeamIds");(0,d.q9)("orderedTeamIds",(0,n.A)(i,[a])),_=!0,(0,o.default)({getState:t}).info("Event","User was added to or removed from a team; re-fetching auth"),(0,c.tw)()}function handleUserRemovedFromTeam(e,t,a){if(_)return;let n=(0,d.W6)("orderedTeamIds");if((0,d.q9)("orderedTeamIds",(0,r.A)(n,a)),!u){m=!0;return}_=!0,(0,o.default)({getState:t}).info("Event","User was added to or removed from a team; re-fetching auth"),e((0,i.R)({workspaceId:a,source:"leave",onCloseModal:c.tw}))}let p={};Object.defineProperty(p,"sessionChangeHandlingEnabled",{get:()=>u,set:e=>{u=e}}),Object.defineProperty(p,"accountsChangedWhileDisabled",{get:()=>f,set:e=>{f=e}}),Object.defineProperty(p,"addedToOrRemovedFromTeamWhileDisabled",{get:()=>m,set:e=>{m=e}}),Object.defineProperty(p,"isRefetchingAuth",{get:()=>_,set:e=>{_=e}})},0x13e769a52:(e,t,a)=>{"use strict";a.d(t,{A:()=>shouldUseLocalFlannel});var n=a(0x12c020c3);function shouldUseLocalFlannel(){return!!(0,n.qN)(window.location.href).local_flannel}},0x9509dfce:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>snakeCaseKeys,lr:()=>l,nf:()=>snakeCaseKeysDeep});var n=a(0x178533105),r=a(0xf90b35a5),i=a(0x1598e5174),o=a(0x244f35bf8),s=a(0x20ef3966f);function snakeCaseKeys(e={}){return(0,n.A)(e,(e,t,a)=>({...e,[(0,r.A)(a)]:t}),{})}let l=5;function snakeCaseKeysDeep(e,t=0,a){return snakeCaseKeysDeepPrivate(e,t,a)}function snakeCaseKeysDeepPrivate(e,t=0,a){if(!(0,i.A)(e)&&!(0,o.A)(e)||t>(a?.maxDepth??l)||!e)return e;let c=t+1,d={};return(0,o.A)(e)?(0,o.A)(e)&&(d=(0,s.A)(e,e=>snakeCaseKeysDeep(e,c,a))):d=(0,n.A)(e,(e,t,n)=>{let i=a?.ignoredKeys?.includes(n)?n:(0,r.A)(n);return{...e,[i]:snakeCaseKeysDeep(t,c,a)}},{}),d}},0x269115a5:(e,t,a)=>{"use strict";a.d(t,{xE:()=>E,Sx:()=>n,zd:()=>p,qP:()=>M,wg:()=>N,rT:()=>r,N3:()=>R,gv:()=>i,nP:()=>L,_4:()=>w,o3:()=>D,Cs:()=>c,hi:()=>d,es:()=>u,Fu:()=>f,DT:()=>W,o:()=>V,j1:()=>C,_V:()=>v,IZ:()=>B,PK:()=>H,uv:()=>P,sH:()=>U,ll:()=>G,Q6:()=>F,xi:()=>h,J8:()=>O,RD:()=>s,uY:()=>g,PM:()=>T,pW:()=>o,o8:()=>A,CZ:()=>b,uu:()=>k,tn:()=>x,jc:()=>I,sQ:()=>_,qs:()=>l,xV:()=>m,Ji:()=>y,PV:()=>S});let n=a.p+"animal_stick-28f1850.mp3",r=a.p+"b2-a11a394.mp3",i=a.p+"been_tree-fc92f1f.mp3",o=a.p+"complete_quest_requirement-605d885.mp3",s=a.p+"confirm_delivery-66a098e.mp3",l=a.p+"flitterbug-aa9e0a5.mp3",c=a.p+"here_you_go_lighter-5371717.mp3",d=a.p+"hi_flowers_hit-72a69b5.mp3",u=a.p+"hummus-fbba53d.mp3",m=a.p+"item_pickup-6f8cb6e.mp3",f=a.p+"knock_brush-a048eae.mp3",_=a.p+"save_and_checkout-bd89045.mp3",p=a.p+"boop-c02da50.mp3";a.p,a.p;let h=a.p+"outgoing_ring_v2-146e2a8.mp3",g=a.p+"pop_v2-1fb12cb.mp3",A=a.p+"they_joined_call_v2-a91dbf2.mp3",b=a.p+"they_left_call_v2-fe97a56.mp3",y=a.p+"you_joined_call_v2-a71123e.mp3",S=a.p+"you_left_call_v2-a822073.mp3",E=a.p+"alert-67db281.mp3",k=a.p+"waiting_muzak-2bbb90f.mp3",T=a.p+"subway_music-75b7bfe.mp3",I=a.p+"whistle_tune-23d1ab2.mp3",w=a.p+"focus_beats-cd42641.mp3",C=a.p+"moment_of_zen-ca22b5e.mp3",v=a.p+"nature_meditation-55823e1.mp3",x=a.p+"waiting_room-e37f29c.mp3",R=a.p+"disco_party-edf28c5.mp3",O=a.p+"piano_concerto-45b00e2.mp3";a.p;let N=a.p+"bop_soft-589ec09.mp3",D=a.p+"gong-5c43cb7.mp3",L=a.p+"ducks-f9abf61.mp3",M=a.p+"boop_remix-763ac07.mp3",F=a.p+"notes_transcription_on_ja-ec13ac8.mp3",P=a.p+"notes_transcription_off_ja-84eed59.mp3",U=a.p+"notes_transcription_on_en-e5e497f.mp3",B=a.p+"notes_transcription_off_en-a658611.mp3",G=a.p+"notes_transcription_on_es-d9068ca.mp3",H=a.p+"notes_transcription_off_es-b7c00df.mp3",W=a.p+"channel_message-0460bcb.mp3",V=a.p+"channel_message_2x-92610bd.mp3"},0x1fdacff80:(e,t,a)=>{"use strict";a.d(t,{$O:()=>getNotificationPrefsToSounds,N7:()=>getHuddleNotificationPrefsToSounds,_S:()=>l,r7:()=>d,tI:()=>c});var n,r,i=a(0x20482ad21),o=a(0x269115a5);let s=new i.Ay("sounds"),l="knock_brush.mp3";var c=((n={}).B2="b2.mp3",n.AnimalStick="animal_stick.mp3",n.BeenTree="been_tree.mp3",n.CompleteQuestRequirement="complete_quest_requirement.mp3",n.ConfirmDelivery="confirm_delivery.mp3",n.Flitterbug="flitterbug.mp3",n.HereYouGoLighter="here_you_go_lighter.mp3",n.HiFlowersHit="hi_flowers_hit.mp3",n.KnockBrush="knock_brush.mp3",n.SaveAndCheckout="save_and_checkout.mp3",n.ItemPickup="item_pickup.mp3",n.Hummus="hummus.mp3",n.Boop="boop.mp3",n);let getNotificationPrefsToSounds=()=>({"b2.mp3":{display:()=>s.t("Ding"),url:o.rT},"animal_stick.mp3":{display:()=>s.t("Boing"),url:o.Sx},"been_tree.mp3":{display:()=>s.t("Drop"),url:o.gv},"complete_quest_requirement.mp3":{display:()=>s.t("Ta-da"),url:o.pW},"confirm_delivery.mp3":{display:()=>s.t("Plink"),url:o.RD},"flitterbug.mp3":{display:()=>s.t("Wow"),url:o.qs},"here_you_go_lighter.mp3":{display:()=>s.t("Here you go"),url:o.Cs},"hi_flowers_hit.mp3":{display:()=>s.t("Hi"),url:o.hi},"knock_brush.mp3":{display:()=>s.t("Knock Brush"),url:o.Fu},"save_and_checkout.mp3":{display:()=>s.t("Whoa!"),url:o.sQ},"item_pickup.mp3":{display:()=>s.t("Yoink"),url:o.xV},"hummus.mp3":{display:()=>s.t("Hummus"),url:o.es},"boop.mp3":{display:()=>s.t("Boop"),url:o.zd}});var d=((r={}).BoopRemix="boop_remix.mp3",r);let getHuddleNotificationPrefsToSounds=()=>({"boop_remix.mp3":{display:()=>s.t("Boop Plus"),url:o.qP}})},0xd6f0064d:(e,t,a)=>{"use strict";a.d(t,{Q:()=>messageForSuppressedNotification,Z:()=>r});var n,r=((n={})[n.NONE=0]="NONE",n[n.NO_MENTIONS=1]="NO_MENTIONS",n[n.NOT_A_MEMBER=2]="NOT_A_MEMBER",n[n.BAD_ARGUMENTS=3]="BAD_ARGUMENTS",n[n.NO_DISPLAY_OVERRIDE=4]="NO_DISPLAY_OVERRIDE",n[n.NO_NOTIFICATIONS_OVERRIDE=5]="NO_NOTIFICATIONS_OVERRIDE",n[n.REPLY_MESSAGE=6]="REPLY_MESSAGE",n[n.NOT_REPLY_MESSAGE=7]="NOT_REPLY_MESSAGE",n[n.JOIN_LEAVE_MESSAGE=8]="JOIN_LEAVE_MESSAGE",n[n.BOT_MESSAGE=9]="BOT_MESSAGE",n[n.APP_MESSAGE=10]="APP_MESSAGE",n[n.FROM_CURRENT_USER=11]="FROM_CURRENT_USER",n[n.MUTED_CHANNEL=12]="MUTED_CHANNEL",n[n.USER_IN_DND=13]="USER_IN_DND",n[n.SILENT_PREFERENCE=14]="SILENT_PREFERENCE",n[n.PERMISSION_DENIED=15]="PERMISSION_DENIED",n[n.ACTIVE_VIEW_VISIBLE=16]="ACTIVE_VIEW_VISIBLE",n[n.LESS_RELEVANT_ORG_TEAM=17]="LESS_RELEVANT_ORG_TEAM",n[n.OVERSIZED_MENTION=18]="OVERSIZED_MENTION",n[n.REDUNDANT_SOCKET_EVENT=19]="REDUNDANT_SOCKET_EVENT",n[n.ALREADY_SEEN_REPLY=20]="ALREADY_SEEN_REPLY",n[n.ALREADY_SHOWN=21]="ALREADY_SHOWN",n[n.EMAIL_SHARED=22]="EMAIL_SHARED",n[n.APP_DM_SUPPRESSED=23]="APP_DM_SUPPRESSED",n[n.FROM_ANOTHER_TEAM=24]="FROM_ANOTHER_TEAM",n[n.FILE_CHANNEL_ROOT_COMMENT=25]="FILE_CHANNEL_ROOT_COMMENT",n[n.FILE_CHANNEL_SECTION_STUB=26]="FILE_CHANNEL_SECTION_STUB",n[n.LATER_ITEM_NOT_FOUND=27]="LATER_ITEM_NOT_FOUND",n[n.FILE_CHANNEL_EPHEMERAL_MESSAGE=28]="FILE_CHANNEL_EPHEMERAL_MESSAGE",n[n.SENDER_IS_HIDDEN=29]="SENDER_IS_HIDDEN",n[n.CHANNEL_CANVAS_UPDATE_MESSAGE=30]="CHANNEL_CANVAS_UPDATE_MESSAGE",n[n.CANVAS_TAB_UPDATE_MESSAGE=31]="CANVAS_TAB_UPDATE_MESSAGE",n[n.AI_ASSISTANT_ROOT_MESSAGE=32]="AI_ASSISTANT_ROOT_MESSAGE",n[n.CHANNEL_TAB_ADDED_MESSAGE=33]="CHANNEL_TAB_ADDED_MESSAGE",n[n.FOLDER_ITEM_ADDED_MESSAGE=34]="FOLDER_ITEM_ADDED_MESSAGE",n);function messageForSuppressedNotification(e){switch(e){case 2:return"The message is from a channel the user is not a member of";case 3:return"Missing message or model object";case 4:return"'no_display' was set on the notification";case 5:return"'no_notifications' was set on the notification";case 12:return"Channel is muted";case 13:return"The user is in Do Not Disturb";case 14:return"The user has their notification preference set to 'nothing'";case 15:return"The user did not grant permission to show notifications";case 17:return"Shared channel is in a less recently selected org team";case 18:return"Over-sized channel mention in channel";case 19:return"Message is greater than latest in store, treating as duplicate";case 20:return"Message is less than or equal to the 'last_read' in the thread";case 21:return"Message has already shown a notification";case 24:return"Message is from another team";case 25:return"Message is a root comment and posted on file channel";case 26:return"Message is a section stub on file channel";case 28:return"Ephemeral message posted on file channel cannot be located from notifications";case 30:return"Channel canvas update message should not notify channel";default:return null}}},0x2c32ad3c:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x742207c8),r=a(0x2264e6ea3),i=a(0x1d10dc8cb),o=a(0x1ae5d492),s=a(0x1599ad93e),l=a(0x1ec68d6a3),c=a(0x1750c1ced),d=a(0x77d15e7e),u=a(0xc4548bcd),m=a(0x691ce3ab),f=a(0x1bb02f2c4),_=a(0xdb4e8459),p=a(0x1663a4138),h=a(0x20c514d46);let g=(0,l.getGenericLogger)(),__WEBPACK_DEFAULT_EXPORT__=async({currentTeamStore:e,newWorkspaceId:t,navigateToRouteProps:a,channelId:l,shouldAutoSignIn:A=!1})=>{let b=(0,m.en)(),y=b?.getState();if(!y)return g.error("switchWorkspace: no clientStoreState"),!1;let S=(0,f.getWorkspacesMeta)(y),E=(0,f.getBootedWorkspaces)(y),k=(0,f.getFailedToBootWorkspaces)(y);if(!S||!E||!k){try{g.error(`switchWorkspace: no bootedWorkspaces or failedToBootWorkspaces or teams. teams: ${JSON.stringify(S)}, bootedWorkspaces: ${JSON.stringify(E)}, failedToBootWorkspaces: ${JSON.stringify(k)}`)}catch(e){g.error("switchWorkspace: no bootedWorkspaces or failedToBootWorkspaces or teams",e)}return!1}if(!(0,c.VA)())return(({newWorkspaceId:e,teams:t,navigateToRouteProps:a})=>{let n=(0,o.M5)(i._G,{entityId:a?.params?.entityId||d.F$[d.EN.allUnreads],[(0,o.Om)()]:e}),r=t[e]&&t[e].subdomain;(0,u.A)(n,(0,c.eb)(r))})({newWorkspaceId:t,teams:S,navigateToRouteProps:a}),!1;if(!(0,s.u_)(e?.getState()))return g.error(Error("switchWorkspace: cannot switch workspaces because canUserSwitchWorkspaces returned false")),!1;if(!S[t]&&A)return g.info("SWITCH_WORKSPACES",`fetchAuthAndSetFocusedWorkspace - for team ${t}`),await (0,m.dispatchForClientStore)((0,p.e)({teamId:t,channelId:l,avoidRedirectLoops:!1})),!0;let T=E.includes(t),I=k.includes(t),w=S[t]&&S[t].isExpired,C=S[t]&&S[t].isPendingAuth;return T||I||w||C?(b.dispatch((0,_.setNavigateToUnbootedWorkspace)({})),C&&(0,r.JV)(t))?((0,h.A)(t),!1):((0,o._U)(a?.routeName||n.o,{teamId:t,...a?.params||{}},a?.options||{}),!0):(b.dispatch((0,_.setNavigateToUnbootedWorkspace)({bootingTeamId:t,navigateToRouteProps:a})),!0)}},0x175beb059:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>__WEBPACK_DEFAULT_EXPORT__});let __WEBPACK_DEFAULT_EXPORT__=e=>t=>a=>{let n;return"function"==typeof(n=(t=>a=>a in e?e[a]:t)(t)(a))?n():n}},0x18078a08a:(e,t,a)=>{"use strict";a.d(t,{v:()=>getAllMacrosForNamespace});var n=a(0x1aa941557),r=a(0x224855629);let getAllMacrosForNamespace=e=>(0,n.A)(r.s[e],"callbackId")},0x1cd3157a9:(e,t,a)=>{"use strict";a.d(t,{Z:()=>getMacroOutputParameterType});var n=a(0x1795d8821),r=a(0x224855629),i=a(0x158cf1cb),o=a(0x16b446ebc);function getMacroOutputParameterType(e,t){let a=(0,o.q)(e);if(null===a)return t;let{namespace:s,macroCallbackId:l}=a;return i.w1.has(t)?t:"slack#/types/message_context"===t||"slack"===s&&"canvas_card"===l||"time"===s&&"canvas_date"===l?n.TE.SlackTypesCanvasId:r.s[s].find(({callbackId:e})=>e===l)?.outputParameter.type||t}},0x161a994e6:(e,t,a)=>{"use strict";function isTimezoneAbbreviation(e){return!!e&&e.length<=5}a.d(t,{o:()=>isTimezoneAbbreviation})},0x1842d80dc:(e,t,a)=>{"use strict";a.d(t,{Yc:()=>convertParsedTemplateMacrosToString,lQ:()=>r,sQ:()=>joinMacrosWithExpressionPipe,u6:()=>n});let n=" |> ",r="$$",joinMacrosWithExpressionPipe=e=>e.join(n),convertParsedTemplateMacrosToString=e=>e.map(e=>e.templateValue).join(n)},0x224855629:(e,t,a)=>{"use strict";a.d(t,{s:()=>g});let{ARRAY:n,CURRENCY:r,DATE:i,GSHEETS:o,HTML:s,HTTP:l,JIRA:c,JSON:d,MATH:u,SLACK:m,STRING:f,TIME:_,UTILS:p,SALESFORCE:h}=a(0x8b49ee82).J,g={[n]:[{callbackId:"concat",inputParameters:[{type:"array",name:"collection_one",items:{type:"slack#/types/mixed"}},{type:"array",name:"collection_two",items:{type:"slack#/types/mixed"}}],outputParameter:{type:"array",name:"result",items:{type:"slack#/types/mixed"}}},{callbackId:"first_user",inputParameters:[{type:"array",name:"collection",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"slack#/types/user_id",name:"result"}},{callbackId:"first_channel",inputParameters:[{type:"array",name:"collection",items:{type:"slack#/types/channel_id"}}],outputParameter:{type:"slack#/types/channel_id",name:"result"}}],[r]:[{callbackId:"format",inputParameters:[{type:"slack#/types/currency",name:"date"},{type:"string",name:"format"}],outputParameter:{type:"string",name:"formatted_date"}}],[i]:[{callbackId:"format",inputParameters:[{type:"string",name:"date"},{type:"string",name:"format"}],outputParameter:{type:"string",name:"formatted_date"}}],[m]:[{callbackId:"user_email",inputParameters:[{type:"slack#/types/user_id",name:"user_id"}],outputParameter:{type:"string",name:"email"}},{callbackId:"user_mention_name",inputParameters:[{type:"slack#/types/user_id",name:"user_id"},{type:"slack#/types/user_email",name:"user_email"}],outputParameter:{type:"string",name:"mention_name"}},{callbackId:"user_mention_id",inputParameters:[{type:"slack#/types/user_id",name:"user_id"},{type:"slack#/types/user_email",name:"user_email"}],outputParameter:{type:"string",name:"mention_id"}},{callbackId:"user_display_name",inputParameters:[{type:"slack#/types/user_id",name:"user_id"},{type:"slack#/types/user_email",name:"user_email"}],outputParameter:{type:"string",name:"display_name"}},{callbackId:"user_id",inputParameters:[{type:"slack#/types/user_email",name:"user_email"}],outputParameter:{type:"string",name:"user_id"}},{callbackId:"user_full_name",inputParameters:[{type:"slack#/types/user_id",name:"user_id"},{type:"slack#/types/user_email",name:"user_email"}],outputParameter:{type:"string",name:"name"}},{callbackId:"user_emails",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"array",name:"emails",items:{type:"string"}}},{callbackId:"user_mention_names",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"array",name:"mention_names",items:{type:"string"}}},{callbackId:"user_mention_ids",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"array",name:"mention_ids",items:{type:"string"}}},{callbackId:"user_display_names",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"array",name:"display_names",items:{type:"string"}}},{callbackId:"user_full_names",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"array",name:"names",items:{type:"string"}}},{callbackId:"user_canvas_cards",inputParameters:[{type:"array",name:"user_ids",items:{type:"slack#/types/user_id"}}],outputParameter:{type:"string",name:"canvas_cards"}},{callbackId:"emoji",inputParameters:[{type:"string",name:"emoji_name"}],outputParameter:{type:"string",name:"emoji"}},{callbackId:"qualified_emoji",inputParameters:[{type:"string",name:"emoji_name"}],outputParameter:{type:"string",name:"emoji"}},{callbackId:"plain_text",inputParameters:[{type:"slack#/types/rich_text",name:"rich_text"},{type:"slack#/types/limited_rich_text",name:"limited_rich_text"}],outputParameter:{type:"string",name:"string"}},{callbackId:"file_permalinks",inputParameters:[{type:"array",name:"file_ids",items:{type:"slack#/types/file_id"}}],outputParameter:{type:"array",name:"permalinks",items:{type:"string"}}},{callbackId:"file_canvas_cards",inputParameters:[{type:"array",name:"file_ids",items:{type:"slack#/types/file_id"}}],outputParameter:{type:"string",name:"canvas_cards"}},{callbackId:"channel_name",inputParameters:[{type:"slack#/types/channel_id",name:"channel_id"}],outputParameter:{type:"string",name:"channel_name"}},{callbackId:"channel_mention_id",inputParameters:[{type:"slack#/types/channel_id",name:"channel_id"}],outputParameter:{type:"string",name:"channel_mention_id"}},{callbackId:"channel_names",inputParameters:[{type:"array",name:"channel_ids",items:{type:"slack#/types/channel_id"}}],outputParameter:{type:"array",name:"channel_names",items:{type:"string"}}},{callbackId:"team_name",inputParameters:[{type:"slack#/types/toplevel_team_id",name:"toplevel_team_id"}],outputParameter:{type:"string",name:"team_name"}},{callbackId:"canvas_card",inputParameters:[{type:"string",name:"object_id"},{type:"string",name:"object_type"}],outputParameter:{type:"slack#/types/blocks",name:"card"}},{callbackId:"canvas_title",inputParameters:[{type:"string",name:"file_id"},{type:"string",name:"title_unfurl"}],outputParameter:{type:"slack#/types/blocks",name:"title"}},{callbackId:"canvas_url",inputParameters:[{type:"string",name:"file_id"}],outputParameter:{type:"slack#/types/blocks",name:"url"}},{callbackId:"canvas_text_url",inputParameters:[{type:"string",name:"file_id"}],outputParameter:{type:"string",name:"url"}},{callbackId:"message_url",inputParameters:[{type:"string",name:"object_id"}],outputParameter:{type:"slack#/types/blocks",name:"url"}}],[o]:[],[s]:[],[l]:[],[c]:[],[d]:[],[u]:[],[f]:[{callbackId:"join",inputParameters:[{type:"array",name:"collection",items:{type:"slack#/types/mixed"}},{type:"string",name:"separator"}],outputParameter:{type:"string",name:"result"}}],[_]:[{callbackId:"format",inputParameters:[{type:"integer",name:"seconds"},{type:"string",name:"timezone"},{type:"string",name:"format"},{type:"string",name:"locale"},{type:"string",name:"dateType"}],outputParameter:{type:"string",name:"formatted_time"}},{callbackId:"canvas_date",inputParameters:[{type:"integer",name:"seconds"},{type:"string",name:"timezone"}],outputParameter:{type:"slack#/types/blocks",name:"card"}},{callbackId:"date",inputParameters:[{type:"integer",name:"seconds"},{type:"string",name:"timezone"}],outputParameter:{type:"slack#/types/date",name:"formatted_date"}}],[p]:[{callbackId:"echo",inputParameters:[{type:"string",name:"input"}],outputParameter:{type:"string",name:"output"}}],[h]:[{callbackId:"salesforce_data_field",inputParameters:[{type:"string",name:"salesforce_data_field_info"}],outputParameter:{type:"string",name:"output"}},{callbackId:"echo",inputParameters:[{type:"string",name:"input"}],outputParameter:{type:"string",name:"output"}}]}},0x158cf1cb:(e,t,a)=>{"use strict";a.d(t,{Wy:()=>X,xM:()=>M,fU:()=>ea,T$:()=>ee,w1:()=>et,pn:()=>J,ss:()=>Z,gy:()=>j,Ei:()=>z,kt:()=>SalesforceDataFieldMacroOptions});var n=a(0x1b63e435a),r=a.n(n),i=a(0x18dac2b8e),o=a(0x20482ad21),s=a(0x1795d8821),l=a(0x223ac29bb),c=a(0x18078a08a),d=a(0x11dc1e636);let u={utcDate:{"en-US":"January 1, 1990","en-GB":"1 January 1990","de-DE":"1. Januar 1990","es-ES":"1 de enero de 1990","es-LA":"1 de enero de 1990","fr-FR":"1 janvier 1990","pt-BR":"1\xba de janeiro de 1990","ja-JP":"1990\u5E741\u67081\u65E5","ko-KR":"1990\uB144 1\uC6D4 1\uC77C","it-IT":"1 gennaio 1990","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5"},utcFull:{"en-US":"January 1st, 1990 at 1:30 PM UTC","en-GB":"1st January 1990 at 13:30 UTC","de-DE":"1. Januar 1990 um 13:30 Uhr UTC","es-ES":"uno de enero de 1990 a las 13:30 GMT","es-LA":"1 de enero de 1990 a las 13:30 UTC","fr-FR":"1er janvier 1990, \xe0 13 h 30 (UTC)","pt-BR":"1\xba de janeiro de 1990 \xe0s 13h30 UTC","ja-JP":"1990\u5E741\u67081\u65E5 13:30 UTC","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uD6C4 1:30(\uD611\uC815 \uC138\uACC4\uC2DC)","it-IT":"1\xba gennaio 1990 alle 13:30 UTC","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5\u661F\u671F\u4E00 UTC \u4E0B\u5348 1:30","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5\u661F\u671F\u4E00\u4E0B\u5348 1:30 [UTC]"},utcCompactMinuteAccuracy:{"en-US":"Jan 1, 1990, 1:30 PM","en-GB":"1 Jan 1990, 13:30","de-DE":"01.01.1990, 13:30 Uhr","es-ES":"1 ene. 1990 13:30","es-LA":"1 ene. 1990 13:30","fr-FR":"1 janv. 1990 13 h 30","pt-BR":"1\xba de jan, 1990 13h30","ja-JP":"1990/01/01 13:30","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uD6C4 1:30","it-IT":"1 gen 1990, 13:30","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0B\u5348 1:30","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0B\u5348 1:30"},utcCompact:{"en-US":"Jan 1, 1990, 1:30:22 PM","en-GB":"1 Jan 1990, 13:30:22","de-DE":"01.01.1990, 13:30:22 Uhr","es-ES":"1 ene. 1990 13:30:22","es-LA":"1 ene. 1990 13:30:22","fr-FR":"1 janv. 1990 13 h 30 min 22 s","pt-BR":"1\xba de jan, 1990 13h30min22s","ja-JP":"1990/01/01 13:30:22","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uD6C4 1:30:22","it-IT":"1 gen 1990, 13:30:22","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0B\u5348 1:30:22","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0B\u5348 1:30:22"},localDate:{"en-US":"January 1, 1990","en-GB":"1 January 1990","de-DE":"1. Januar 1990","es-ES":"1 de enero de 1990","es-LA":"1 de enero de 1990","fr-FR":"1 janvier 1990","pt-BR":"1\xba de janeiro de 1990","ja-JP":"1990\u5E741\u67081\u65E5","ko-KR":"1990\uB144 1\uC6D4 1\uC77C","it-IT":"1 gennaio 1990","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5"},localFull:{"en-US":"January 1st, 1990 at 8:30 AM EST","en-GB":"1st January 1990 at 8:30 GMT-5","de-DE":"1. Januar 1990 um 8:30 Uhr GMT-5","es-ES":"uno de enero de 1990 a las 8:30 GMT-5","es-LA":"1 de enero de 1990 a las 8:30 GMT-5","fr-FR":"1er janvier 1990, \xe0 8 h 30 (UTC\u22125)","pt-BR":"1\xba de janeiro de 1990 \xe0s 8h30 GMT-5","ja-JP":"1990\u5E741\u67081\u65E5 8:30 GMT-5","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uC804 8:30(\uBBF8 \uB3D9\uBD80 \uD45C\uC900\uC2DC)","it-IT":"1\xba gennaio 1990 alle 8:30 GMT-5","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5\u661F\u671F\u4E00 GMT-5 \u4E0A\u5348 8:30","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5\u661F\u671F\u4E00\u4E0A\u5348 8:30 [EST]"},localCompactMinuteAccuracy:{"en-US":"Jan 1, 1990, 8:30 AM","en-GB":"1 Jan 1990, 08:30","de-DE":"01.01.1990, 8:30 Uhr","es-ES":"1 ene. 1990 8:30","es-LA":"1 ene. 1990 8:30","fr-FR":"1 janv. 1990 8 h 30","pt-BR":"1\xba de jan, 1990 8h30","ja-JP":"1990/01/01 8:30","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uC804 8:30","it-IT":"1 gen 1990, 8:30","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0A\u5348 8:30","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0A\u5348 8:30"},localCompact:{"en-US":"Jan 1, 1990, 8:30:22 AM","en-GB":"1 Jan 1990, 08:30:22","de-DE":"01.01.1990, 8:30:22 Uhr","es-ES":"1 ene. 1990 8:30:22","es-LA":"1 ene. 1990 8:30:22","fr-FR":"1 janv. 1990 8 h 30 min 22 s","pt-BR":"1\xba de jan, 1990 8h30min22s","ja-JP":"1990/01/01 8:30:22","ko-KR":"1990\uB144 1\uC6D4 1\uC77C \uC624\uC804 8:30:22","it-IT":"1 gen 1990, 8:30:22","zh-CN":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0A\u5348 8:30:22","zh-TW":"1990 \u5E74 1 \u6708 1 \u65E5 \u4E0A\u5348 8:30:22"}};function getTimestampLocalizedExample(e,t){return u[e][t]??u[e][d.Xn]}var m=a(0x161a994e6),f=a(0x224855629),_=a(0x8b49ee82);let{SlackTypesUserId:p,SlackTypesChannelId:h,SlackTypesToplevelTeamId:g,SlackTypesCanvasId:A,SlackTypesDate:b,SlackTypesMessageContext:y,SlackTypesTimestamp:S,SlackTypesCurrency:E,SlackTypesUserEmail:k,SlackTypesFileId:T,SlackTypesRichText:I,SlackTypesLimitedRichText:w,String:C,SlackTypesSalesforceDataField:v}=s.TE,{CURRENCY:x,SLACK:R,TIME:O,UTILS:N,SALESFORCE:D}=_.J,{CustomTypeEmojiReaction:L}=s.sR,M=(0,i.Cu)()?"A014GBNBJ59":"A04MG80N5CY",F=(0,i.Cu)()?"A0152BUN2E7":"A05Q7MZ8WH1",P=(0,i.Cu)()?"A014LHD2ATV":"A050C90PUF5",U=(0,i.Cu)()?"A014KNKJUCS":"A050R5T1K6X",B=(0,i.Cu)()?"A014WCA5EUS":"A05KUFPF86S",G=(0,i.Cu)()?"A014FRYEXUK":"A04T6GE3LEB";(0,i.Cu)(),(0,i.Cu)();let H=(0,i.Cu)()?"A0150E6GTD0":"A05QGEFR3SP",W=(0,i.Cu)()?"A0150SZDB6E":"A05Q9UPHBDL",V=(0,i.Cu)()?"A016EBN0J2F":"A07AYPT9X4P",j="Fn0133",K=["canvas_update_content","canvas_update_content_v2","canvas_create","channel_canvas_create"],q=(0,i.Cu)()?"A01540AKUN7":"A05RZA1NU7L",z=(0,i.Cu)()?"A014JPFMT8T":"A04T99UKKQE",$=(0,i.Cu)()?"A015J8BE727":"A06C5G93D7Z",Y=["canvas_update_content","canvas_update_content_v2","canvas_create","channel_canvas_create","share_canvas","share_canvas_in_thread","send_message","send_to_record_channel","send_to_my_sales_home","send_to_sales_home","send_ephemeral_message","send_dm","reply_in_thread","ai_answer"],Q=new o.Ay("workflow_builder"),getUsersLocalTimezone=()=>r().tz.guess(),RichTextMacroOptions=({isLimitedRichText:e}={isLimitedRichText:!1})=>{let t=(0,c.v)(R),a=e?"limited_rich_text":"rich_text";return{richText:{getLabel:()=>"Rich Text",getExample:()=>"",onlyRichTextAllowed:!0,wrapWithMacro:e=>e,shouldHideFromUi:()=>!0},plainText:{macroDetails:t.plain_text,getLabel:()=>Q.t("Plain Text",{ns:"snippet-dialog"}),getExample:()=>"",onlyRichTextAllowed:!1,wrapWithMacro:e=>`{slack.plain_text(${a}=${e})}`,shouldHideFromUi:()=>!0}}},SalesforceDataFieldMacroOptions=()=>{let e=(0,c.v)(D);return{static_text:{macroDetails:e.echo,getLabel:()=>Q.t("Plain text",{fallbackHash:"bbb40a6fe504f9aa59a8b4a6e3d57bfd7a6cef82",fallbackHashNs:"snippet-dialog"}),getExample:()=>Q.t("Acme Co.",{fallbackHash:"11c1d3c106196338f448a8abca0ef4a3eddae49d",fallbackHashNs:"ui_generator_static"}),allowedCallbackIds:K,wrapWithMacro:e=>`{salesforce.echo(input=${e})}`},salesforce_data_field:{macroDetails:e.salesforce_data_field,getLabel:()=>Q.t("Salesforce data field",{fallbackHash:"d2dcbec94d0e64445fdc5ef77bad20a863a3ca03",fallbackHashNs:"slack_docs"}),getExample:()=>Q.t("Synced with Salesforce",{fallbackHash:"399e87036a82ae5e8d3a2f375d7fcc744b3956b9",fallbackHashNs:"enterprise_dashboard"}),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{salesforce.salesforce_data_field(salesforce_data_field_info=${e})}`}}},Z={[p]:()=>{let e,t;return e=(0,c.v)(R),t=(0,c.v)(N),{user_mention_name:{macroDetails:e.user_mention_name,getLabel:()=>Q.t("@display name"),getExample:()=>Q.t("@zoe"),wrapWithMacro:(e,t)=>t&&t.fromRichText?e:`{slack.user_mention_name(user_id=${e})}`},user_mention_id:{macroDetails:e.user_mention_id,getLabel:()=>Q.t("@user ID"),getExample:()=>"<@123>",wrapWithMacro:e=>`{slack.user_mention_id(user_id=${e})}`},user_display_name:{macroDetails:e.user_display_name,getLabel:()=>Q.t("Display name"),getExample:()=>Q.t("zoe"),wrapWithMacro:e=>`{slack.user_display_name(user_id=${e})}`},user_id:{macroDetails:t.echo,getLabel:()=>Q.t("User ID"),getExample:()=>"U123",wrapWithMacro:e=>`{utils.echo(input=${e})}`},user_full_name:{macroDetails:e.user_full_name,getLabel:()=>Q.t("Full name"),getExample:()=>Q.t("Zoe Maxwell"),wrapWithMacro:e=>`{slack.user_full_name(user_id=${e})}`},user_email:{macroDetails:e.user_email,getLabel:()=>Q.t("Email"),getExample:()=>Q.t("zoe@acme.com"),wrapWithMacro:e=>`{slack.user_email(user_id=${e})}`},canvas_card:{macroDetails:e.canvas_card,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Canvas Card"),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.canvas_card(object_id=${e}, object_type=user)}`}}},[h]:()=>{let e,t;return e=(0,c.v)(R),t=(0,c.v)(N),{channel_name:{macroDetails:e.channel_name,getLabel:()=>Q.t("Channel name"),getExample:()=>Q.t("#General"),wrapWithMacro:(e,t)=>t&&t.fromRichText?e:`{slack.channel_name(channel_id=${e})}`},channel_mention_id:{macroDetails:e.user_mention_id,getLabel:()=>Q.t("#channel ID",{fallbackHash:"a4370f944ad3177859469f76f387848d3e938bfd",fallbackHashNs:"workflow_builder"}),getExample:()=>"<#123>",wrapWithMacro:e=>`{slack.channel_mention_id(channel_id=${e})}`},channel_id:{macroDetails:t.echo,getLabel:()=>Q.t("Channel ID"),getExample:()=>"C123",wrapWithMacro:e=>`{utils.echo(input=${e})}`}}},[g]:()=>{let e,t;return e=(0,c.v)(R),t=(0,c.v)(N),{team_name:{macroDetails:e.team_name,getLabel:({experimentWfbBackToBasicsEclairReleaseGroupOn:e})=>e?Q.t("Organization name"):"Organization name",getExample:({experimentWfbBackToBasicsEclairReleaseGroupOn:e})=>e?Q.t("Acme Inc."):"Acme Inc.",wrapWithMacro:e=>`{slack.team_name(toplevel_team_id=${e})}`},toplevel_team_id:{macroDetails:t.echo,getLabel:({experimentWfbBackToBasicsEclairReleaseGroupOn:e})=>e?Q.t("Organization ID"):"Organization ID",getExample:()=>"C123",wrapWithMacro:e=>`{utils.echo(input=${e})}`}}},[A]:()=>{let e;return{canvas_title:{macroDetails:(e=(0,c.v)(R)).canvas_title,getLabel:()=>Q.t("Title"),getExample:()=>Q.t("Canvas Title"),allowedCallbackIds:Y,wrapWithMacro:(e,t)=>{let a=t?.callbackId&&!!t.fromRichText&&K.includes(t.callbackId);return`{slack.canvas_title(file_id=${e},title_unfurl=${!!a})}`}},canvas_url_as_block:{macroDetails:e.canvas_url,getLabel:()=>Q.t("URL"),getExample:()=>"http://slack.com/docs",allowedCallbackIds:Y,wrapWithMacro:e=>`{slack.canvas_url(file_id=${e})}`},canvas_url_as_text:{macroDetails:e.canvas_text_url,getLabel:()=>Q.t("URL"),getExample:()=>"http://slack.com/docs",disallowedCallbackIds:Y,wrapWithMacro:e=>`{slack.canvas_text_url(file_id=${e})}`},canvas_card:{macroDetails:e.canvas_card,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Canvas Card"),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.canvas_card(object_id=${e}, object_type=canvas)}`}}},[y]:()=>{let e;return{message_url:{macroDetails:(e=(0,c.v)(R)).message_url,getLabel:()=>Q.t("URL"),getExample:()=>"http://slack.com/message",onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.message_url(object_id=${e})}`},message_card:{macroDetails:e.canvas_card,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Message Card"),allowedCallbackIds:["canvas_create","canvas_update_content","canvas_update_content_v2"],onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.canvas_card(object_id=${e}, object_type=message)}`}}},[S]:e=>{let t;return t=(0,c.v)(O),e?.parameterType===b?{utcCoercedDate:{macroDetails:t.date,getLabel:()=>Q.t("UTC date"),getExample:()=>"2023-01-01",wrapWithMacro:e=>`{time.date(seconds=${e})}`,isDeprecated:()=>!1},localCoercedDate:{macroDetails:t.date,getLabel:()=>Q.t("Local date"),getExample:()=>"2023-01-01",wrapWithMacro:(e,{timezone:t}={})=>{let a=t??getUsersLocalTimezone();return`{time.date(seconds=${e}, timezone=${a})}`},isDeprecated:()=>!1}}:{simpleDate:{macroDetails:t.format,getLabel:()=>Q.t("Simple date"),getExample:()=>Q.t("Jan 1, 2023"),wrapWithMacro:e=>`{time.format(seconds=${e}, format='M j, Y')}`,isDeprecated:()=>!0},dateTime:{macroDetails:t.format,getLabel:()=>Q.t("With time"),getExample:()=>Q.t("Jan 1, 2023 1:23pm UTC"),wrapWithMacro:e=>`{time.format(seconds=${e}, format='M j, Y g:ia T')}`,isDeprecated:()=>!0},dateTimeLocal:{macroDetails:t.format,getLabel:({timezone:e})=>{let t=e??getUsersLocalTimezone(),a=(0,m.o)(t)?t:r().tz(t).zoneAbbr();return`${Q.t("With local time")} (${a})`},getExample:({timezone:e})=>{let t=r().tz(e??getUsersLocalTimezone()).zoneAbbr();return`${Q.t("Jan 1, 2023 1:23pm")} ${t}`},wrapWithMacro:(e,{timezone:t}={})=>{let a=t??getUsersLocalTimezone();return`{time.format(seconds=${e}, timezone=${a}, format='M j, Y g:ia T')}`},isDeprecated:()=>!0},utcCompactMinuteAccuracy:{macroDetails:t.format,getLabel:()=>Q.t("UTC compact"),getExample:({locale:e})=>getTimestampLocalizedExample("utcCompactMinuteAccuracy",e??l.Xn),wrapWithMacro:(e,{locale:t}={})=>{let a=t?` locale=${t},`:"";return`{time.format(seconds=${e},${a} dateType=DATE_MEDIUM_TIME_SHORT)}`},isDeprecated:()=>!0},localCompactMinuteAccuracy:{macroDetails:t.format,getLabel:()=>Q.t("Local compact"),getExample:({locale:e})=>getTimestampLocalizedExample("localCompactMinuteAccuracy",e??l.Xn),wrapWithMacro:(e,{timezone:t,locale:a}={})=>{let n=t??getUsersLocalTimezone(),r=a?` locale=${a},`:"";return`{time.format(seconds=${e}, timezone=${n},${r} dateType=DATE_MEDIUM_TIME_SHORT)}`},isDeprecated:()=>!0},internationalDate:{macroDetails:t.format,getLabel:()=>Q.t("Intl date"),getExample:()=>Q.t("Sun, 01 Jan 2023 13:23:20"),wrapWithMacro:e=>`{time.format(seconds=${e}, format='D, d M Y H:i:s')}`,isDeprecated:()=>!0},internationalDateLocal:{macroDetails:t.format,getLabel:({timezone:e})=>{let t=e??getUsersLocalTimezone(),a=(0,m.o)(t)?t:r().tz(t).zoneAbbr();return`${Q.t("Intl local date")} (${a})`},getExample:()=>Q.t("Sun, 01 Jan 2023 13:23:20"),wrapWithMacro:(e,{timezone:t}={})=>{let a=t??getUsersLocalTimezone();return`{time.format(seconds=${e}, timezone=${a}, format='D, d M Y H:i:s')}`},isDeprecated:()=>!0},utcDate:{macroDetails:t.format,getLabel:()=>Q.t("UTC date"),getExample:({locale:e})=>getTimestampLocalizedExample("utcDate",e??l.Xn),wrapWithMacro:(e,{locale:t}={})=>{let a=t?` locale=${t},`:"";return`{time.format(seconds=${e},${a} dateType=DATE_LONG)}`},isDeprecated:()=>!1},utcSortableDate:{macroDetails:t.format,getLabel:()=>Q.t("UTC sortable date"),getExample:()=>"2023-01-01",wrapWithMacro:e=>`{time.format(seconds=${e}, format='Y-m-d')}`,isDeprecated:()=>!1},utcFull:{macroDetails:t.format,getLabel:()=>Q.t("UTC date and time"),getExample:({locale:e})=>getTimestampLocalizedExample("utcFull",e??l.Xn),wrapWithMacro:(e,{locale:t}={})=>{let a=t?` locale=${t},`:"";return`{time.format(seconds=${e},${a} dateType=DATE_WITH_ORDINAL_MONTH_YEAR_HOUR_MINUTE_AMPM_TZ)}`},isDeprecated:()=>!1},utcCompact:{macroDetails:t.format,getLabel:()=>Q.t("UTC compact"),getExample:({locale:e})=>getTimestampLocalizedExample("utcCompact",e??l.Xn),wrapWithMacro:(e,{locale:t}={})=>{let a=t?` locale=${t},`:"";return`{time.format(seconds=${e},${a} dateType=DATE_MEDIUM_TIME_MEDIUM)}`},isDeprecated:()=>!1},localDate:{macroDetails:t.format,getLabel:()=>Q.t("Local date"),getExample:({locale:e})=>getTimestampLocalizedExample("localDate",e??l.Xn),wrapWithMacro:(e,{timezone:t,locale:a}={})=>{let n=t??getUsersLocalTimezone(),r=a?` locale=${a},`:"";return`{time.format(seconds=${e}, timezone=${n},${r} dateType=DATE_LONG)}`},isDeprecated:()=>!1},localSortableDate:{macroDetails:t.format,getLabel:()=>Q.t("Local sortable date"),getExample:()=>"2023-01-01",wrapWithMacro:(e,{timezone:t}={})=>{let a=t??getUsersLocalTimezone();return`{time.format(seconds=${e}, timezone=${a}, format='Y-m-d')}`},isDeprecated:()=>!1},localFull:{macroDetails:t.format,getLabel:()=>Q.t("Local date and time"),getExample:({locale:e})=>getTimestampLocalizedExample("localFull",e??l.Xn),wrapWithMacro:(e,{locale:t,timezone:a}={})=>{let n=a??getUsersLocalTimezone(),r=t?` locale=${t},`:"";return`{time.format(seconds=${e}, timezone=${n},${r} dateType=DATE_WITH_ORDINAL_MONTH_YEAR_HOUR_MINUTE_AMPM_TZ)}`},isDeprecated:()=>!1},localCompact:{macroDetails:t.format,getLabel:()=>Q.t("Local compact"),getExample:({locale:e})=>getTimestampLocalizedExample("localCompact",e??l.Xn),wrapWithMacro:(e,{timezone:t,locale:a}={})=>{let n=t??getUsersLocalTimezone(),r=a?` locale=${a},`:"";return`{time.format(seconds=${e}, timezone=${n},${r} dateType=DATE_MEDIUM_TIME_MEDIUM)}`},isDeprecated:()=>!1},unixTimestamp:{macroDetails:t.format,getLabel:()=>Q.t("Timestamp"),getExample:()=>"1678315304",wrapWithMacro:e=>e,isDeprecated:()=>!1},canvasDate:{macroDetails:t.canvas_date,getLabel:()=>Q.t("Canvas date mention",{fallbackHash:"9e150310d4d2764fdba66a4afcd05b6c91c1ccea",fallbackHashNs:"workflow_builder"}),getExample:({locale:e})=>getTimestampLocalizedExample("utcDate",e??l.Xn),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:(e,{timezone:t}={})=>{let a=t??getUsersLocalTimezone();return`{time.canvas_date(seconds=${e}, timezone=${a})}`},isDeprecated:()=>!1}}},[E]:()=>{let e;return{withCurrencySymbol:{macroDetails:(e=(0,c.v)(x)).format,getLabel:()=>Q.t("Currency"),getExample:()=>"$1,000.12",wrapWithMacro:e=>`{currency.format(value=${e}, format='symbol')}`},withCurrencyCode:{macroDetails:e.format,getLabel:()=>Q.t("Currency code"),getExample:()=>"USD 1,000.12",wrapWithMacro:e=>`{currency.format(value=${e}, format='code')}`},withCurrencySymbolAndCode:{macroDetails:e.format,getLabel:()=>Q.t("Code & symbol"),getExample:()=>"$1,000.12 USD",wrapWithMacro:e=>`{currency.format(value=${e}, format='symbol_and_code')}`},withEuropeanDecimal:{macroDetails:e.format,getLabel:()=>Q.t("European"),getExample:()=>"$1.000,12",wrapWithMacro:e=>`{currency.format(value=${e}, format='european')}`},withCommaSeparation:{macroDetails:e.format,getLabel:()=>Q.t("Comma separated"),getExample:()=>"1,000.12",wrapWithMacro:e=>`{currency.format(value=${e}, format='comma_separated')}`},none:{macroDetails:e.format,getLabel:()=>Q.t("No formatting"),getExample:()=>"1000.12",wrapWithMacro:e=>`{currency.format(value=${e}, format='none')}`}}},[k]:()=>{let e,t;return e=(0,c.v)(R),t=(0,c.v)(N),{user_mention_name:{macroDetails:e.user_mention_name,getLabel:()=>Q.t("@display name"),getExample:()=>Q.t("@zoe"),wrapWithMacro:(e,t)=>t&&t.fromRichText?e:`{slack.user_mention_name(user_email=${e})}`},user_mention_id:{macroDetails:e.user_mention_id,getLabel:()=>Q.t("@user ID"),getExample:()=>"<@123>",wrapWithMacro:e=>`{slack.user_mention_id(user_email=${e})}`},user_display_name:{macroDetails:e.user_display_name,getLabel:()=>Q.t("Display name"),getExample:()=>Q.t("zoe"),wrapWithMacro:e=>`{slack.user_display_name(user_email=${e})}`},user_id:{macroDetails:e.user_id,getLabel:()=>Q.t("User ID"),getExample:()=>"U123",wrapWithMacro:e=>`{slack.user_id(user_email=${e})}`},user_full_name:{macroDetails:e.user_full_name,getLabel:()=>Q.t("Full name"),getExample:()=>Q.t("Zoe Maxwell"),wrapWithMacro:e=>`{slack.user_full_name(user_email=${e})}`},user_email:{macroDetails:t.echo,getLabel:()=>Q.t("Email"),getExample:()=>Q.t("zoe@acme.com"),wrapWithMacro:e=>`{slack.user_email(user_id=${e})}`},canvas_card:{macroDetails:e.canvas_card,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Canvas Card"),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.canvas_card(object_id=${e}, object_type=user)}`}}},[w]:()=>RichTextMacroOptions({isLimitedRichText:!0}),[I]:()=>RichTextMacroOptions(),[L]:()=>({qualified_emoji:{getLabel:()=>Q.t("Emoji code",{fallbackHash:"67a75ead292db280224faecc58f40575e97ee3f5"}),getExample:()=>`:${Q.t("heart")}:`,wrapWithMacro:e=>`{slack.qualified_emoji(emoji_name=${e})}`},emoji:{macroDetails:f.s[R].find(({callbackId:e})=>"emoji"===e),getLabel:()=>Q.t("Emoji"),getExample:()=>"\u2764\uFE0F",wrapWithMacro:e=>`{slack.emoji(emoji_name=${e})}`},emoji_name:{getLabel:()=>Q.t("Emoji name"),getExample:()=>Q.t("heart"),wrapWithMacro:e=>e}}),[v]:()=>SalesforceDataFieldMacroOptions()},J={[S]:()=>Q.t("Date and time format")},X={[p]:()=>{let e;return{user_mention_name:{macroDetails:(e=(0,c.v)(R)).user_mention_names,getLabel:()=>Q.t("@display name"),getExample:()=>Q.t("@zoe"),wrapWithMacro:e=>`{slack.user_mention_names(user_ids=${e})}`,disallowedCallbackIds:[s.oW.InviteUserToChannel]},user_mention_id:{macroDetails:e.user_mention_ids,getLabel:()=>Q.t("@user ID"),getExample:()=>"<@123>",wrapWithMacro:e=>`{slack.user_mention_ids(user_ids=${e})}`},user_display_name:{macroDetails:e.user_display_names,getLabel:()=>Q.t("Display name"),getExample:()=>Q.t("zoe"),wrapWithMacro:e=>`{slack.user_display_names(user_ids=${e})}`},user_id:{getLabel:()=>Q.t("User ID"),getExample:()=>"U123",wrapWithMacro:e=>e},user_full_name:{macroDetails:e.user_full_names,getLabel:()=>Q.t("Full name"),getExample:()=>Q.t("Zoe Maxwell"),wrapWithMacro:e=>`{slack.user_full_names(user_ids=${e})}`},user_email:{macroDetails:e.user_emails,getLabel:()=>Q.t("Email"),getExample:()=>Q.t("zoe@acme.com"),wrapWithMacro:e=>`{slack.user_emails(user_ids=${e})}`},canvas_card:{macroDetails:e.user_canvas_cards,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Canvas Card"),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.user_canvas_cards(user_ids=${e})}`}}},[h]:()=>({channel_name:{macroDetails:f.s[R].find(({callbackId:e})=>"channel_names"===e),getLabel:()=>Q.t("Channel name"),getExample:()=>Q.t("#General"),wrapWithMacro:e=>`{slack.channel_names(channel_ids=${e})}`},channel_id:{getLabel:()=>Q.t("Channel ID"),getExample:()=>"C123",wrapWithMacro:e=>e}}),[T]:()=>{let e;return{file_ids:{getLabel:()=>Q.t("File ID"),getExample:()=>"F123456",wrapWithMacro:e=>e},file_permalinks:{macroDetails:(e=(0,c.v)(R)).file_permalinks,getLabel:()=>Q.t("URL"),getExample:()=>"http://slack.com/file",wrapWithMacro:e=>`{slack.file_permalinks(file_ids=${e})}`},canvas_card:{macroDetails:e.file_canvas_cards,getLabel:()=>Q.t("Card"),getExample:()=>Q.t("Canvas Card"),allowedCallbackIds:K,onlyRichTextAllowed:!0,wrapWithMacro:e=>`{slack.file_canvas_cards(file_ids=${e})}`}}}},ee={[S]:({parameterType:e})=>e===b?"localCoercedDate":"utcFull",[p]:()=>"user_mention_name",[h]:()=>"channel_name",[g]:()=>"team_name",[A]:()=>"canvas_title",[E]:()=>"none",[y]:()=>"message_url",[k]:()=>"user_mention_name",[L]:()=>"emoji",[T]:()=>"file_permalinks",[I]:()=>"richText",[w]:()=>"richText",[v]:()=>"salesforce_data_field"},et=new Set([s.TE.SlackTypesCanvasId,s.TE.SlackTypesRichText,s.TE.SlackTypesLimitedRichText,s.TE.Array]),ea={[j]:{[p]:()=>"user_id",[h]:()=>"channel_id",[A]:()=>"canvas_url_as_text",[T]:()=>"file_ids"},Fn013B:{[p]:()=>"user_id",[h]:()=>"channel_id",[T]:()=>"file_ids"},Fn013E:{[p]:()=>"user_id",[h]:()=>"channel_id",[T]:()=>"file_ids"},[M]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"utcCompact",[C]:e=>e?.isReactionTriggerInsideGsheetStep?"qualified_emoji":"string"},[F]:{[p]:()=>"user_email"},[P]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},[U]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},[B]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},[H]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},[W]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},Fn011L:{[p]:()=>"user_id",[h]:()=>"channel_id",[A]:()=>"canvas_url_as_text"},Fn011G:{[p]:()=>"user_id",[h]:()=>"channel_id",[A]:()=>"canvas_url_as_text"},Fn011H:{[p]:()=>"user_id",[h]:()=>"channel_id",[A]:()=>"canvas_url_as_text"},[q]:{[S]:({parameterType:e})=>e===b?"localCoercedDate":"unixTimestamp"},[G]:{[p]:()=>"user_email"},Fn010W:{[A]:()=>"canvas_url_as_text"},[V]:{[p]:()=>"user_email"},[z]:{[p]:()=>"user_id"},[$]:{[p]:()=>"user_id"},Fn0163:{[T]:()=>"file_ids"}}},0x16b446ebc:(e,t,a)=>{"use strict";a.d(t,{q:()=>parseTemplateMacro,D:()=>parseTemplateMacros});var n=a(0x1ebe91b72),r=a(0x2a3fb7ec),i=a(0x8b49ee82),o=a(0x1842d80dc);function parseTemplateMacros(e){return e.split(o.u6).map(parseTemplateMacro).filter(e=>null!==e)}function parseTemplateMacro(e){let t=e.match((0,n.fE)());if(!t||!t.groups)return null;let{templateValue:a,namespace:o,macroCallbackId:s,inputs:l}=t.groups,c=`${l},`.matchAll((0,n.iq)()),d=[];for(let e of c)if(e.groups){let{parameter:t,value:a}=e.groups;d.push({parameter:t,value:a})}return(0,r.X)(Object.values(i.J),o)?{templateValue:a,namespace:o,macroCallbackId:s,namedInputs:d}:null}},0x1840248cf:(e,t,a)=>{"use strict";a.d(t,{z:()=>stripTemplateMacro});var n=a(0x1ebe91b72);function stripTemplateMacro(e){let t=e.match((0,n.cL)());return t?.[0]??e}},0x8b49ee82:(e,t,a)=>{"use strict";a.d(t,{J:()=>r});var n,r=((n={}).ARRAY="array",n.CURRENCY="currency",n.DATE="date",n.GSHEETS="gsheets",n.HTML="html",n.HTTP="http",n.JIRA="jira",n.JSON="json",n.MATH="math",n.SLACK="slack",n.STRING="string",n.TIME="time",n.UTILS="utils",n.SALESFORCE="salesforce",n)},0x18cf3444e:(e,t,a)=>{"use strict";a.d(t,{A:()=>buildURLRanges});var n=a(0x120f6f7a3);function buildURLRanges(e){let t=[];return e.replace(n.i$,(e,a,n,r,i,o)=>{t.push({start:o,end:o+e.length})}),t}},0x2162236ad:(e,t,a)=>{"use strict";a.d(t,{A:()=>convertBlocksToDelta});var n=a(0x118cdcdea),r=a.n(n),i=a(0xc4e87e00),o=a(0x1feaab429),s=a(0x15026e8eb),l=a(0x94332add),c=a(0xfb1fe411),d=a(0x1765e56d2),u=a(0x1db073f20),m=a(0x12185e091),f=a(0x1ecc7f772),_=a(0xf8862d23),p=a(0x7bc42e7e),h=a(0x82980ab8),g=a(0x61f75169);function isExpandedRichText(e){return!!e&&1===e.length&&e?.[0]?.type===i.Lv.EXPANDED_RICH_TEXT}var A=a(0x94e8342),b=a(0x18d0e5cc9),y=a(0x1cb9a6a00),S=a(0x937b29a1),E=a(0xd9d6b679),k=a(0x16728c81d),T=a(0x6be85b50);let{DIVIDER:I}=i.Lv;var w=a(0x1c1e8557c),C=a(0x746e8582);let{HEADER:v}=i.Lv;var x=a(0x2afd3d78),R=a(0x108d007e0),O=a(0x806fe6c8),N=a(0x958e0da2),D=a(0x244dacb16),L=a(0xd2ef9f49),M=a(0x1706ebf53),F=a(0x727d8d2d),P=a(0xa0368533),U=a(0x23a9df45f),B=a(0x80759cc4),G=a(0xf6eb05c),H=a(0x242251ce6),W=a(0x3264c4f4),V=a(0x1bb04e660),j=a(0x5d26167d),K=a(0x1ae731f57),q=a(0x23dc4dba0),z=a(0x37ded01e),$=a(0xa3534e17),Y=a(0xdf40908a),Q=a(0x9c8eaaf2),Z=a(0x131598af9),J=a(0x217553e42),X=a(0x1e4ae349d),ee=a(0x14149c126),et=a(0xe684f705),ea=a(0x475c9cfe);let{ORDERED:en,UNCHECKED:er,CHECKED:ei}=i.L1;function convertBlocksToDelta(e,t){let a="on"===(0,ee._Z)(e,"fe_link_tokenization"),n="on"===(0,ee._Z)(e,"truncate_url"),o=(0,Z.A)(e),s=new(r()),l=[];return t&&((0,A.A)(t,!0)||isExpandedRichText(t))&&((l=t.filter(e=>e?.type===i.Lv.RICH_TEXT||e?.type===i.Lv.EXPANDED_RICH_TEXT).map(e=>e.elements).flat()).forEach(t=>{let r=t?.border>0?1:void 0;if((0,L.B)(t))s=s.concat(convertTextChunks(e,t.elements,o,a,n));else if((0,D.Y)(t))(s=s.concat(convertTextChunks(e,t.elements,o,a,n,{blockquote:!0,border:r}))).insert(`
`,{blockquote:!0,border:r});else if((0,E.e)(t))(s=s.concat(convertTextChunks(e,t.elements,o,a,n,{"code-block":!0,border:r}))).insert(`
`,{"code-block":!0,border:r});else if((0,R.C)(t))s=s.concat(convertList(e,t,o,a,n));else if(t?.type===v)s=s.concat(convertHeader(e,t,o,a,n));else t?.type===I?s.insert({slackhorizontalrule:!0},{slackhorizontalrule:!0}):(0,W.ed)(t)&&s.insert({workflowtoken:{id:t.id,property:t.property,type:t.data_type,...t.is_placeholder&&{isPlaceholder:t.is_placeholder},...t.is_placeholder&&t.label&&{label:t.label},...t.is_placeholder&&t.source_label&&{sourceLabel:t.source_label}}},{...styleToDeltaAttributes(t.style)})}),(0,z.A)(s)||s.insert(`
`)),s}function convertList(e,t,a,n,i){let o=new(r()),s={list:"bullet"};return t.style===en?s={list:"ordered"}:t.style===er?s={list:"unchecked"}:t.style===ei&&(s={list:"checked"}),t.indent&&(s.indent=t.indent),t.border&&(s.border=t.border),t&&t.elements&&t.elements.forEach(t=>{(o=o.concat(convertTextChunks(e,t.elements,a,n,i,s))).insert(`
`,s)}),o}function convertHeader(e,t,a,n,i){let o=new(r()),s={header:t.level};return t&&t.elements&&(o=o.concat(convertTextChunks(e,t.elements,a,n,i))).insert(`
`,s),o}function convertTextChunks(e,t,a,n,i,A){let E=new(r()),I=(0,p.P)(e);return(t||[]).forEach(t=>{let r,p,v,R,D,L,z,Z;if(((0,M.P)(t)||(0,F.v)(t))&&!(0,P.v)(t))if(A&&A.list)E.insert(t.text.replace(/\n/g,""),styleToDeltaAttributes(t.style));else if(A){r=t.text.split(`
`);for(let e=0;e<r.length;e++)t.text&&E.insert(r[e],styleToDeltaAttributes(t.style)),e<r.length-1&&E.insert(`
`,A)}else E.insert(t.text,styleToDeltaAttributes(t.style));else if((0,U.H1)(t))p=(0,et.nv)(e,t.user_id),E.insert(`@${(0,h.Gt)(p)}`,{slackmention:(0,Y.A)(p,a),...styleToDeltaAttributes(t.style)});else if((0,B.GH)(t))v=(0,ea.lJ)(e,t.usergroup_id),E.insert((0,g.x_)(v),{slackmention:(0,Q.A)(v,a),...styleToDeltaAttributes(t.style)});else if((0,S.P9)(t)){R=(0,J.OL)(e,t.channel_id);let a=(0,f.SB)(e,R,{publicChannelIncludeHashSign:!1,imIncludeAtSign:!1,truncateMpimNames:!0});Z=(0,m.JM)(R)?a:`#${a}`,E.insert(Z,{slackmention:(0,$.A)(R?.id||"",Z),...styleToDeltaAttributes(t.style)})}else if((0,b.V)(t))D=(0,j.A)(`BK${t.range}`),E.insert(`@${(0,K.A)(D)}`,{slackmention:(0,$.A)(`BK${t.range}`,`@${(0,K.A)(D)}`,a),...styleToDeltaAttributes(t.style)});else if((0,w.E2)(t))if(I)E.insert((0,V.G)(t,{state:e,localize:!0}),{...styleToDeltaAttributes(t.style)});else{L=`:${t.name}:`,t.skin_tone&&(L+=`:skin-tone-${t.skin_tone}:`);let a={...styleToDeltaAttributes(t.style)},addToDelta=e=>{E.insert({slackemoji:{text:e}},a)};if(t.unicode&&(0,_.d)(t.unicode)){let n=(0,X.qJ)(e,t.unicode);if(n)addToDelta(`:${n}:`);else{let e=(0,q.z)({codePointLikeString:t.unicode});E.insert(e||"",a)}}else addToDelta(L)}else if((0,x._)(t)||(0,P.v)(t))if(n&&i&&t.text&&"truncated"in t&&t.truncated){let e=(0,l.x)({url:t.url,display_url:t.text});E.insert(e.label,{slackslug:e,...styleToDeltaAttributes(t.style)})}else(z=styleToDeltaAttributes(t.style)).code||A&&A["code-block"]||(z.link=t.url),E.insert(t.text||t.url,z);else if((0,k.f)(t))E.insert(t.value,{...styleToDeltaAttributes(t.style)});else if((0,T.i)(t))t.fallback&&E.insert(t.fallback,{...styleToDeltaAttributes(t.style)});else if((0,W.ed)(t))E.insert({workflowtoken:{id:t.id,property:t.property,type:t.data_type,...t.is_placeholder&&{isPlaceholder:t.is_placeholder},...t.is_placeholder&&t.label&&{label:t.label},...t.is_placeholder&&t.source_label&&{sourceLabel:t.source_label}}},{...styleToDeltaAttributes(t.style)});else if((0,G.uM)(t))E.insert({canvasvariable:{name:t.name,templateType:t.template_type}},{...styleToDeltaAttributes(t.style)});else if(n&&(0,y.c3)(t)){let a=(0,o.l)(e,t.url,t);a&&E.insert(a.label,{slackslug:a,...styleToDeltaAttributes(t.style)})}else if(n&&(0,O.DW)(t)){let a=(0,c.d)(e,t.url,t);a&&E.insert(a.label,{slackslug:a,...styleToDeltaAttributes(t.style)})}else if(n&&(0,N.hk)(t)){let a=(0,d.u)(e,t.url,{...t,ts:t.message_ts});a&&E.insert(a.label,{slackslug:a,...styleToDeltaAttributes(t.style)})}else if(n&&(0,H.$K)(t)){let a=(0,u.U)(e,t.url,{function_trigger_id:t.function_trigger_id,workflow_id:t.workflow_id,title:t.text});a&&E.insert(a.label,{slackslug:a,...styleToDeltaAttributes(t.style)})}else if(n&&(0,C.Ai)(t)){let a=(0,s.N)(e,t.url,{...t,file_id:t.file_id});a&&E.insert(a.label,{slackslug:a,...styleToDeltaAttributes(t.style)})}}),E}function styleToDeltaAttributes(e){let t={};return e&&(e.bold&&(t.bold=!0),e.italic&&(t.italic=!0),e.underline&&(t.underline=!0),e.strike&&(t.strike=!0),e.code&&(t.code=!0),e.unlink&&(t.unlink=!0)),t}},0x21e751f7e:(e,t,a)=>{"use strict";a.d(t,{Y:()=>b,A:()=>convertContentsStringToContents});var n=a(0x155d02b1c),r=a(0x20bafd237),i=a(0x17294c72a),o=a(0xec9d0658),s=a(0x2264e6ea3),l=a(0x1a5eb0e27),c=a(0x15c1838d),d=a(0x1e4ae349d);function emojiNameSupportsSkinTonesWithLegacyFallback(e){let t=(0,d.i8)(void 0,e);return!!t&&(0,c.x)(t)}var u=a(0x739d71af),m=a(0x16ed1b0dc),f=a(0x46cf166),_=a(0x18cf3444e),p=a(0x13f30d329),h=a(0xa3534e17),g=a(0x1f45d59b6),A=a(0xd40f768d);let b=RegExp(`(?:<)[@|#%]((?:(?:U|W|S|C|G|Z|L|T)[A-Z0-9]{8,})|${(0,u.c)().join("|")}|UNVERIFIED)\\|([@|#%].*?)(?:>)`,"g"),y=/:skin-tone-[2-6]:/;function convertContentsStringToContents(e,{highlightWords:t=[],shouldRenderEmojiAsText:a=!1,emojiNames:c=[],locale:d="",useChannelTagging:u=!1,workflowTokens:S=[],tagChannelsAsSearchGeneric:E=!1}={}){if(!e)return{contents:[{insert:""}]};let k=e,T=[];if(k.replace(b,(e,a,r,i)=>{let o=(0,n.A)(r);!u&&!E&&(0,m.A)(a)||(((0,f.A)(a)||(0,s.Ay)(a)||E&&(0,m.A)(a))&&"%"===r.charAt(0)&&(o=o.substring(1)),T.push({index:i,length:e.length,replacement:{insert:o,attributes:{slackmention:(0,h.A)(a,o,t)}}}))}),!a){let e=(0,_.A)(k);k.replace((0,o.A)(),(t,a,n)=>{if((0,g.A)(n,e)||(0,A.A)(k.substring(0,n)))return;for(let t=0;t<e.length;t++)if(n>=e[t].start&&n<=e[t].end)return;let i=(0,l.A)(t,{emojiNames:c,locale:d,teamId:""});if(i){let e=(0,r.A)(T);y.test(i)&&e&&e.replacement.insert&&"string"!=typeof e.replacement.insert&&e.replacement.insert.slackemoji&&e.index+e.length===n&&emojiNameSupportsSkinTonesWithLegacyFallback(e.replacement.insert.slackemoji.text)?T[T.length-1]={index:e.index,length:e.length+t.length,replacement:{insert:{slackemoji:{text:e.replacement.insert.slackemoji.text+i}}}}:T.push({index:n,length:t.length,replacement:{insert:{slackemoji:{text:i}}}})}})}if((S||[]).length>0){let{processedText:t,replacements:a}=(0,p.o)(e,S);k=t,T.push(...a)}T=(0,i.A)(T,"index");let I={contents:[]},w=0;T.forEach(e=>{let t=k.substring(w,e.index);t.length&&I.contents.push({insert:t}),I.contents.push(e.replacement),w=e.index+e.length});let C=k.substring(w);return C.length&&I.contents.push({insert:C}),I}},0x426f7a4e:(e,t,a)=>{"use strict";a.d(t,{A:()=>convertContentsStringToDisplayString});var n=a(0x21e751f7e),r=a(0x59bcdfd6);function convertContentsStringToDisplayString(e,t,a){let i=(0,n.A)(e,{highlightWords:t,shouldRenderEmojiAsText:!0,emojiNames:[],useChannelTagging:!1,tagChannelsAsSearchGeneric:!!a});return(0,r.f)(i)}},0x59bcdfd6:(e,t,a)=>{"use strict";a.d(t,{f:()=>convertContentsToStringForDisplay});var n=a(0x178533105),r=a(0x4cd77de3),i=a(0x222762a83),o=a(0x1308fe1af),s=a(0x11209f55c),l=a(0x1242da2eb);function convertContentsToStringForDisplay(e,t){return e&&e.contents?(0,n.A)(e.contents,(e,a)=>{if((0,o.Ay)(a))return e+(0,s.un)(a);if((0,s.S8)(a))return t?.treatSlugsAsUrls&&(0,s.L0)(a)?e+(0,s.L0)(a):e+(0,s.un)(a);if((0,r.Ay)(a))return e+(0,r.Um)(a);if((0,l.Ay)(a)){let{id:t,property:n}=a.insert.workflowtoken,r=n?`.${n}`:"";return`${e}{{${t}${r}}}`}return(0,i.uK)(a)?e+(0,i.O_)(a):e+a.insert},"").replace(/\n$/,""):""}},0x13f30d329:(e,t,a)=>{"use strict";a.d(t,{A:()=>convertTextWithWorkflowTokensToContents,o:()=>buildWorkflowTokenReplacements});var n=a(0x17294c72a),r=a(0x88881d67),i=a(0x668181b3),o=a(0x1ebe91b72),s=a(0x1a4072e61),l=a(0x1cd3157a9);let buildWorkflowTokenReplacements=(e,t)=>{if(!e||0===t.length)return{processedText:e,replacements:[]};let a=(0,s.t)([(0,o.Mx)(),(0,o.cL)(),(0,o.fE)()],"gi"),n=[];return e.replace(a,(e,...a)=>{let o=a[a.length-3],s=(0,i.x)(t,e);if(!s)return n.push({index:o,length:e.length,replacement:{insert:{workflowtoken:{...(0,r.Mu)({id:e})}}}}),"";let c=(0,r.Jq)(s),d=(0,l.Z)(e,s.type);return n.push({index:o,length:e.length,replacement:{insert:{workflowtoken:{id:e,type:d,label:c.label,sourceLabel:c.sourceLabel,isAvailable:c.isAvailable,variableData:c}}}}),""}),{processedText:e,replacements:n}};function convertTextWithWorkflowTokensToContents(e,t){if(!e)return{contents:[{insert:""}]};let a=e,r=[];if(t.length>0){let{processedText:n,replacements:i}=buildWorkflowTokenReplacements(e,t);a=n,r.push(...i)}r=(0,n.A)(r,"index");let i={contents:[]},o=0;r.forEach(e=>{let t=a.substring(o,e.index);t.length&&i.contents.push({insert:t}),i.contents.push(e.replacement),o=e.index+e.length});let s=a.substring(o);return s.length&&i.contents.push({insert:s}),i}},0x2001af3ac:(e,t,a)=>{"use strict";a.d(t,{A:()=>getMessageLengthForDelta,e:()=>getMessageLengthForMsgOps});var n=a(0x1aba66b56),r=a(0x20bafd237),i=a(0x118cdcdea),o=a.n(i),s=a(0x739d71af),l=a(0x4cd77de3),c=a(0x222762a83),d=a(0x1308fe1af),u=a(0x11209f55c),m=a(0x2398accc);function getMessageLengthForDelta(e){let t=e.reduce((e,t)=>{if((0,l.Ay)(t)){let a=(0,l.Um)(t);return a?e+a.length:e}if((0,c.Ay)(t)&&(0,c.AQ)(t)!==(0,c.O_)(t))return e+(0,c.AQ)(t).length+(0,c.O_)(t).length;if((0,u.S8)(t))return e+(0,u.Pz)(t).length;if((0,d.Ay)(t)){let a=(0,d.I4)(t),r=(0,d._z)(t);return"UNVERIFIED"===a||(0,n.A)((0,s.c)(),a)?r.length:e+(a?a.length:r.length)}return(0,m.A)(t)?e+(0,m.$)(t).length:e},0),a=(0,r.A)(e.ops)||{};return(0,m.A)(a)&&`
`===(0,m.$)(a).substr(-1)?t-1:t}function getMessageLengthForMsgOps(e){return e&&e.length?getMessageLengthForDelta(new(o())(e)):0}},0x1343db4c6:(e,t,a)=>{"use strict";a.d(t,{A:()=>getOpInsertText});var n=a(0xb77a689a);function getOpInsertText(e){return(0,n.A)(e.insert)?e.insert:""}},0x37ded01e:(e,t,a)=>{"use strict";a.d(t,{A:()=>hasTrailingNewline});var n=a(0x20bafd237),r=a(0x2398accc);function hasTrailingNewline(e){if(!e||0===e.length())return!1;let t=e.slice(e.length()-1);if(!t)return!1;let a=(0,n.A)(t.ops)||{};return!!a&&!!(0,r.A)(a)&&`
`===a.insert}},0xd03b77ca:(e,t,a)=>{"use strict";a.d(t,{A:()=>isDeltaContentful});var n=a(0x21f3c49e8),r=a(0x658a411c),i=a(0x1343db4c6),o=a(0x1e81297e3),s=a(0xe7cb9732),l=a(0x25245e851),c=a(0x2398accc);let d=`
`,u=/\S/;function isDeltaContentful(e,{trimWhitespace:t=!1,ignoreFormatting:a=!1,ignoreInlineFormatting:m=!1}={}){return!(!e||!e.ops||!e.ops.length||1===e.ops.length&&(0,c.$)(e.ops[0])===d&&(a||(0,n.A)(e.ops[0].attributes)))&&(0,r.A)(e.ops,e=>{if(!(0,c.A)(e))return!0;let r=(0,i.A)(e);return!!(!a&&(!m&&!(0,n.A)(e.attributes)||m&&((0,l.A)(e)||(0,s.A)(e)||(0,o.A)(e))))||!!r&&(!t||!!u.test(r))})}},0x1e81297e3:(e,t,a)=>{"use strict";function isOpBlockQuoteItem(e){return!!(e&&e.attributes&&e.attributes.blockquote)}a.d(t,{A:()=>isOpBlockQuoteItem})},0xe7cb9732:(e,t,a)=>{"use strict";function isOpCodeBlockItem(e){return!!(e&&e.attributes&&e.attributes["code-block"])}a.d(t,{A:()=>isOpCodeBlockItem})},0x4cd77de3:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>isOpEmoji,MU:()=>getEmojiOpInsertObject,Um:()=>getEmojiOpInsertText});var n=a(0xb77a689a),r=a(0x21f3c49e8);function isOpEmoji(e){return!!(e&&!(0,n.A)(e.insert)&&e.insert?.slackemoji)}function getEmojiOpInsertText(e){if(!isOpEmoji(e))return"";let t=e?.insert?.slackemoji;return(0,r.A)(t)?"":t.text}function getEmojiOpInsertObject(e){if(!isOpEmoji(e))return{text:""};let t=e?.insert?.slackemoji;return(0,r.A)(t)?{text:""}:t}},0x222762a83:(e,t,a)=>{"use strict";a.d(t,{AQ:()=>getLinkOpInsertText,Ay:()=>isOpLink,O_:()=>getLinkOpLink,uK:()=>isOpTruncatedLink});var n=a(0xb77a689a),r=a(0x2398accc),i=a(0x19cd42714);function isOpLink(e){return!!(e&&e.insert&&e.attributes&&e.attributes.link)}function getLinkOpInsertText(e){return isOpLink(e)&&e?.insert||""}function getLinkOpLink(e){return isOpLink(e)&&e?.attributes?.link||""}function isOpTruncatedLink(e){if(!isOpLink(e)||!(0,r.A)(e)||!(0,n.A)(e.insert))return!1;let t=e.insert.split(i.y);if(2!==t.length)return!1;let a=e.insert.indexOf(i.y);if(0===a||a===e.insert.length-i.y.length)return!1;let o=e.attributes?.link||"";return t[0]===o?.substr(0,t[0].length)&&(!t[1].length||-1!==o.substr(t[0].length).indexOf(t[1]))}},0x25245e851:(e,t,a)=>{"use strict";a.d(t,{A:()=>isOpListItem});let n=["bullet","ordered","unchecked","checked"];function isOpListItem(e){return!!(e&&e.attributes&&e.attributes?.list&&n.includes(e.attributes?.list))}},0x1308fe1af:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>isOpMention,BQ:()=>isOpChannelMention,Dw:()=>isOpSearchGenericMention,I4:()=>getMentionOpIdText,KT:()=>isOpFileMention,Sn:()=>isOpMemberMention,YP:()=>isOpUserOrUserGroupMention,_z:()=>getMentionOpInsertText,gC:()=>isOpCommandShortcutUrl,zJ:()=>isOpUnverifiedMention,zv:()=>getMentionOpLabelText});var n=a(0xb77a689a),r=a(0x21f3c49e8),i=a(0x6b6acc9d),o=a(0x16ed1b0dc),s=a(0xa985ed31),l=a(0x4f725d55);function isOpMention(e){return!!(e&&e?.insert&&e?.attributes&&e?.attributes?.slackmention)}function isOpUserOrUserGroupMention(e){return!(!isOpMention(e)||isOpChannelMention(e)||isOpSearchGenericMention(e))&&"UNVERIFIED"!==getMentionOpIdText(e)}function getMentionOpInsertText(e){return isOpMention(e)&&(0,n.A)(e.insert)?e?.insert:""}function getMentionOpIdText(e){if(!isOpMention(e))return"";let t=e?.attributes?.slackmention;return(0,r.A)(t)?"":t.id}function getMentionOpLabelText(e){if(!isOpMention(e))return"";let t=e?.attributes?.slackmention;return(0,r.A)(t)?"":t.label}let isChannelMention=e=>!!e&&(0,o.A)(e);function isOpChannelMention(e){return!!isOpMention(e)&&isChannelMention(getMentionOpIdText(e))}function isOpMemberMention(e){if(!isOpMention(e))return!1;let t=getMentionOpIdText(e);return"UNVERIFIED"!==t&&(0,l.A)(t)}function isOpUnverifiedMention(e){return!!isOpMention(e)&&"UNVERIFIED"===getMentionOpIdText(e)}function isOpSearchGenericMention(e,t=!1){if(!isOpMention(e))return!1;let a=getMentionOpIdText(e);return!!(a&&("L"===a.charAt(0)||"T"===a.charAt(0)||t&&isChannelMention(a)))}function isOpCommandShortcutUrl(e){if(!isOpMention(e))return!1;let t=getMentionOpIdText(e);return!!new RegExp((0,i.f)()).exec(t)}function isOpFileMention(e){if(!isOpMention(e))return!1;let t=getMentionOpIdText(e);return(0,s.A)(t)}},0x1ca98db3c:(e,t,a)=>{"use strict";a.d(t,{Pq:()=>getSearchFilterOpLabelText,RZ:()=>getSearchFilterOpEntityIdText,SS:()=>isOpSearchFilter,gb:()=>getSearchFilterOpModifierText,y:()=>getSearchFilterOpInsertText});var n=a(0xb77a689a),r=a(0x21f3c49e8);function isOpSearchFilter(e){return!!(e&&e?.insert&&e?.attributes&&e?.attributes?.slacksearchfilter)}function getSearchFilterOpInsertText(e){return isOpSearchFilter(e)&&(0,n.A)(e.insert)?e?.insert:""}function getSearchFilterOpLabelText(e){if(!isOpSearchFilter(e))return"";let t=e.attributes?.slacksearchfilter;return(0,r.A)(t)?"":t.label}function getSearchFilterOpModifierText(e){if(!isOpSearchFilter(e))return"";let t=e.attributes?.slacksearchfilter;return(0,r.A)(t)?"":t.modifier}function getSearchFilterOpEntityIdText(e){if(!isOpSearchFilter(e))return"";let t=e.attributes?.slacksearchfilter;return(0,r.A)(t)?"":t.entityId}},0x11209f55c:(e,t,a)=>{"use strict";a.d(t,{Ar:()=>getSlugOpLabelText,FC:()=>getSlugOpAuthorId,JM:()=>getSlugOpSecondaryObjectId,Jl:()=>getSlugOpType,L0:()=>getSlugOpUrlText,Pz:()=>getSlugOpInsertText,S8:()=>isOpInsertSlug,XY:()=>getSlugOrMentionInsertText,X_:()=>getSlugOpTertiaryObjectId,eo:()=>isOpUnprocessedSlug,jI:()=>getSlugOrMentionIdText,un:()=>getSlugOrMentionLabelText,wU:()=>isOpSlugOrMention,zl:()=>getSlugOpIdText});var n=a(0xb77a689a),r=a(0x1308fe1af),i=a(0x1ca98db3c);function isOpSlug(e){return!!e&&!!e.attributes&&!!e.attributes.slackslug}function isOpInsertSlug(e){return!!isOpSlug(e)&&"insert"in e&&!!(0,n.A)(e.insert)}function isOpUnprocessedSlug(e){return!!isOpSlug(e)&&!isOpResolvedSlug(e)}function isOpResolvedSlug(e){return!!isOpSlug(e)&&"type"in e.attributes.slackslug&&!!e.attributes.slackslug.type}function isSlugWithAuthorId(e){return"message"===getSlugOpType(e)}function isSlugWithSecondaryObjectId(e){let t=getSlugOpType(e);return"canvas"===t||"message"===t||"list"===t||"workflow"===t}function isSlugWithTertiaryObjectId(e){let t=getSlugOpType(e);return"message"===t||"list"===t}function getSlugOpInsertText(e){return isOpInsertSlug(e)?e.insert:""}function getSlugOpIdText(e){return isOpSlug(e)?e.attributes.slackslug.id:""}function getSlugOpLabelText(e){return isOpSlug(e)?e.attributes.slackslug.label:""}function getSlugOpUrlText(e){return isOpSlug(e)&&"url"in e.attributes.slackslug&&e.attributes.slackslug.url?e.attributes.slackslug.url:""}function getSlugOpType(e){return isOpResolvedSlug(e)?e.attributes.slackslug.type:void 0}function getSlugOpAuthorId(e){return isSlugWithAuthorId(e)?e.attributes.slackslug.authorId:void 0}function getSlugOpSecondaryObjectId(e){return isSlugWithSecondaryObjectId(e)?e.attributes.slackslug.secondaryObjectId:void 0}function getSlugOpTertiaryObjectId(e){return isSlugWithTertiaryObjectId(e)?e.attributes.slackslug.tertiaryObjectId:void 0}function isOpSlugOrMention(e){return(0,r.Ay)(e)||isOpInsertSlug(e)||(0,i.SS)(e)}function getSlugOrMentionIdText(e){return isOpInsertSlug(e)?getSlugOpIdText(e):(0,r.I4)(e)}function getSlugOrMentionInsertText(e){return(0,i.SS)(e)?(0,i.y)(e):isOpInsertSlug(e)?getSlugOpInsertText(e):(0,r._z)(e)}function getSlugOrMentionLabelText(e){return(0,i.SS)(e)?(0,i.Pq)(e):isOpInsertSlug(e)?getSlugOpLabelText(e):(0,r.zv)(e)}},0x2398accc:(e,t,a)=>{"use strict";a.d(t,{$:()=>getTextOpInsertText,A:()=>isOpTextItem});var n=a(0xb77a689a),r=a(0x11209f55c);function isOpTextItem(e){return!!(e&&(0,n.A)(e.insert)&&!(0,r.wU)(e))}function getTextOpInsertText(e){return isOpTextItem(e)?e?.insert:""}},0x1242da2eb:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>isOpWorkflowToken,Lp:()=>getWorkflowTokenOpProperty,PJ:()=>getWorkflowTokenOpId,Pd:()=>getWorkflowTokenOpIsPlaceholder,sR:()=>getWorkflowTokenOpType,zy:()=>getWorkflowTokenOpObject});var n=a(0xb77a689a),r=a(0x21f3c49e8);function isOpWorkflowToken(e){return!!(e&&!(0,n.A)(e.insert)&&e.insert?.workflowtoken)}function getWorkflowTokenOpId(e){if(!isOpWorkflowToken(e))return"";let t=e.insert.workflowtoken;return(0,r.A)(t)?"":t.id}function getWorkflowTokenOpType(e){if(!isOpWorkflowToken(e))return"";let t=e.insert.workflowtoken;return(0,r.A)(t)?"":t.type}function getWorkflowTokenOpProperty(e){if(!isOpWorkflowToken(e))return"";let t=e.insert.workflowtoken;return(0,r.A)(t)?"":t.property||""}function getWorkflowTokenOpIsPlaceholder(e){if(!isOpWorkflowToken(e))return!1;let t=e.insert.workflowtoken;return!(0,r.A)(t)&&(t.isPlaceholder||!1)}function getWorkflowTokenOpObject(e){if(!isOpWorkflowToken(e))return;let t=e.insert.workflowtoken;if(!(0,r.A)(t))return t}},0xdf40908a:(e,t,a)=>{"use strict";a.d(t,{A:()=>makeSlackmentionForMember});var n=a(0x1b9d5cc0c),r=a(0x82980ab8),i=a(0xa3534e17);function makeSlackmentionForMember(e,t=[]){return(0,i.A)((0,n.K6)(e)||"",`@${(0,r.Gt)(e)}`,t)}},0x9c8eaaf2:(e,t,a)=>{"use strict";a.d(t,{A:()=>makeSlackmentionForUsergroup});var n=a(0x61f75169),r=a(0xa3534e17);function makeSlackmentionForUsergroup(e,t=[]){return(0,r.A)(e.id,(0,n.x_)(e),t)}},0xa3534e17:(e,t,a)=>{"use strict";a.d(t,{A:()=>makeSlackmention});var n=a(0x2242cf9de);function makeSlackmention(e,t,a=[]){let r="UNVERIFIED"===e;return{id:e||"",label:t||"",mention:!r&&(0,n.A)(e,t,a),unverified:!!r}}},0x3e8915e8:(e,t,a)=>{"use strict";a.d(t,{A:()=>getMemberAsContentsString});var n=a(0x21d85d6e5);function getMemberAsContentsString(e,t){return t?`<@${t.id}|@${(0,n.sE)(e,t)}>`:""}},0x1f45d59b6:(e,t,a)=>{"use strict";function isIndexInURL(e,t){for(let a=0;a<t.length;a++)if(e>=t[a].start&&e<=t[a].end)return!0;return!1}a.d(t,{A:()=>isIndexInURL})},0xd40f768d:(e,t,a)=>{"use strict";a.d(t,{A:()=>isRangeInCode});var n=a(0x4e9c6d0d);function isRangeInCode(e){let t=e;if(!t)return!1;if((0,n.A)(t))return!0;let a=(t=t.replace(/`{3}([\s\S]*?)`{3}?/g,"")).match(/`/g);return!!a&&!!(a.length%2)}},0x4e9c6d0d:(e,t,a)=>{"use strict";function isRangeInPreBlock(e){if(!e)return!1;let t=e.match(/```/g);return!!t&&!!(t.length%2)}a.d(t,{A:()=>isRangeInPreBlock})},0x2151db8ac:(e,t,a)=>{"use strict";let n,r,i;a.d(t,{AY:()=>k,Dk:()=>T,H_:()=>h,IK:()=>I,QX:()=>y,X$:()=>w,Xr:()=>b,ay:()=>s,d9:()=>f,dc:()=>u,j5:()=>g,p7:()=>S,q6:()=>m,u_:()=>_,v0:()=>C,wq:()=>d,zI:()=>E});var o=a(0x614685f1);let s=["*","`","_","~","\uFF0A","\uFF40","\uFF3F"],l=RegExp("(?:^|[>\uFF1E]{1,3}?\\s|\\s|\\p{P}|\\+|\\||=|$)","u").source,c=RegExp("(?:^|\\s|\\p{P}|\\+|\\||=|\\w|$)","u").source;function generateMarkdownRegex(e){let t=(0,o.A)(e),a=RegExp(`[^${e}\\s]`).source,n="`"!==e?l:c;return RegExp(`(${l}${t})((?:${a})|(?:${a}[^${e}
]*${a}))(?:${t})(?=${n})`,"gu")}let d=generateMarkdownRegex("*"),u=generateMarkdownRegex("_"),m=generateMarkdownRegex("`"),f=generateMarkdownRegex("~"),_=(n="```|[>\uFF1E]?\\s?\uFF40\uFF40\uFF40",r=`(${l}${n})`,i=`(${n})`,RegExp(`${r}([\\s\\S]*?)?${i}(?=${l})`,"gu")),p="(?=\\S)((?:(?!\uFF0A)[^\\r\\n])*?(?=(?=[\\p{L}\\p{N}])\\P{N}\uFF0A\\P{N}|[^\\s\uFF0A]\uFF0A(?:[^\\p{L}\\p{N}]|[\u3040-\u309F\u30A0-\u30FF\u31F0-\u31FF\uFF00-\uFFEF\uAC00-\uD7AF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uD7B0-\uD7FF\u3400-\u4DBF\u4E00-\u62FF\u6300-\u77FF\u7800-\u8CFF\u8D00-\u9FFF\u2E80-\u2EFF\u2F00-\u2FDF\u2FF0-\u2FFF\u3001-\u303F\u31C0-\u31EF\u3200-\u32FF\u3300-\u33FF\uF900-\uFAFF\uFE30-\uFE4F]|$)).)",h=RegExp(`((?:^|(?=(?!\u{FF0A})(?:[^\\p{L}\\p{N}]\u{FF0A}|\\P{N}\u{FF0A}(?:\\p{L})\\P{N}))[^\\r])\u{FF0A})${p}(?:\u{FF0A}(?:[^\u{FF0A}]|$))`,"gu"),g=RegExp("((?:^|\\s|\\p{P}|\\p{L})\uFF40)(?=\\S)((?:(?!\uFF40)[^\\r\\n])*?(?=[^\uFF40\\s]).)(?:\uFF40(?:[^\uFF40]|$))","gu"),A="\uFF40\uFF40\uFF40",b=RegExp(`((?:^|\\s|\\p{P}|\\p{L})${A})([\\s\\S]*?)?(${A})(?=$|\\s|\\p{P}|\\p{L})`,"gu"),y=generateMarkdownRegex("\uFF3F"),S=/\[(?<text>.[^[]+?)\]\((?<url>[^\s]*)\)/g,E=/\[(?<text>.[^[]+?)\]\((?<url>.+?)\)/g,k=/^((?:[>\uFF1E]\n?(?:$| |(?=[^_])))?)([\t| ]*)(\*|-|\d+\.)( +)(.*)(\n?)/gm,T=/(\d\.([ \t]).+)\n((?:[>\uFF1E]\n?(?:$| |(?=[^_])))?)([\t| ]*)(\d\.([ \t]).)/,I=/^((?:[>\uFF1E]\n?(?:$| |(?=[^_])))?)([\t| ]*)(\d\.([ \t]).+)\n((?:[>\uFF1E]\n?(?:$| |(?=[^_])))?)([\t| ]*)(\d\.([ \t]).)/,w=/^(\d+?\.)$/,C="1."},0x2242cf9de:(e,t,a)=>{"use strict";a.d(t,{A:()=>shouldHighlightMention});var n=a(0x1aba66b56),r=a(0x242c380a),i=a(0x250b0b4fd),o=a(0x739d71af);function shouldHighlightMention(e,t,a){if(!e)return!1;if((0,n.A)((0,o.c)(),e))return!0;let s=(0,r.$)(e);if((0,n.A)(a,s))return!0;let l=(0,i.J)(e);return!!(0,n.A)(a,l)}},0x20df09e0a:(e,t,a)=>{"use strict";a.d(t,{$R:()=>E,BX:()=>isSidebarThemeName,Er:()=>matchesDefaultDarkTheme,Gk:()=>getBackgroundMode,Kc:()=>isIaTheme,P7:()=>S,Pl:()=>b,Ry:()=>_,Tq:()=>convertThemeToThemeColorsArrayString,WL:()=>matchesDefaultLightTheme,Xk:()=>h,_l:()=>convertCustomThemeToTheme,ih:()=>isSidebarInverted,kO:()=>shouldInvertSidebar,kv:()=>createPayloadFromHexStrings,nu:()=>hasVisionAssistCustomColors,o1:()=>isValidColor,rM:()=>isCustomTheme,v7:()=>y});var n=a(0x1853f0e7c),r=a(0x17d13b2a8),i=a(0x1353a7ffa),o=a(0xb77a689a),s=a(0xca924ee1),l=a(0xb65e4259),c=a(0x709dda87);let d=/^#?([0-9a-f]{6})$/i,u=/^#?[0-9a-f]{3,8}$/i,m=/^rgba?\([0-9,.\s]+\)$/i,f=/^hsla?\([0-9,.\s]+\)$/i,_={customTheme:"custom_theme",default:"default",workspaceDefault:"workspace_default",orgDefault:"org_default"},p={cottonTheme:"cotton_theme",ecoTheme:"eco_theme"},h={defaultTheme:"default_theme",aubergineBrightTheme:"aubergine_bright",aubergineClassicTheme:"aubergine_classic_theme",hothTheme:"hoth_theme",monumentTheme:"monument_theme",chocolateTheme:"chocolate_theme",oceanTheme:"ocean_theme",workhardTheme:"workhard_theme",nocturneTheme:"nocturne_theme",solanumTheme:"solanum_theme",brinjalTheme:"brinjal_theme",bananaTheme:"banana_theme",sweetTreatTheme:"sweet_treat_theme",moodIndigoTheme:"mood_indigo_theme",eggplantTheme:"eggplant_theme",cmykTheme:"cmyk_theme",mondrianTheme:"mondrian_theme",terminalTheme:"terminal_theme",expensiveTheme:"expensive_theme",ultravioletTheme:"ultraviolet_theme",discothequeTheme:"discotheque_theme",haberdasheryTheme:"haberdashery_theme"};function isValidCustomThemeKey(e,t){let a=e[t];return a&&"string"==typeof a&&(a.match(u)||a.match(m)||a.match(f))}function isIaTheme(e){return!!(e&&["top_nav_bg","top_nav_text"].every(t=>isValidCustomThemeKey(e,t)))}function isCustomTheme(e){return!!(e&&["column_bg","menu_bg","active_item","active_item_text","hover_item","text_color","active_presence","badge"].every(t=>isValidCustomThemeKey(e,t))&&["top_nav_bg","top_nav_text"].every(t=>void 0===e[t]||isValidCustomThemeKey(e,t)))}function convertCustomThemeToTheme(e,t){let a=e.top_nav_text||t?.top_nav_text||e.text_color,n=e.top_nav_bg||t?.top_nav_bg||((0,c.yN)(e.text_color,e.menu_bg)>=4.5?e.menu_bg:e.column_bg);return{column_bg:e.column_bg,menu_bg:e.menu_bg,active_item:e.active_item,active_item_text:e.active_item_text,hover_item:e.hover_item,text_color:e.text_color,active_presence:e.active_presence,badge:e.badge,top_nav_bg:n,top_nav_text:a,badge_text_color:"#FFFFFF"}}let isValidColor=e=>e&&(0,o.A)(e)&&e.match(d);function convertThemeColorsArrayToCustomTheme(e){if(e.every(e=>isValidColor(e))){if(e.length===l.md)return{column_bg:e[0],menu_bg:e[1],active_item:e[2],active_item_text:e[3],hover_item:e[4],text_color:e[5],active_presence:e[6],badge:e[7]};if(e.length===l.xY)return{column_bg:e[0],menu_bg:e[1],active_item:e[2],active_item_text:e[3],hover_item:e[4],text_color:e[5],active_presence:e[6],badge:e[7],top_nav_bg:e[8],top_nav_text:e[9]}}}function isSidebarThemeName(e){return"string"==typeof e&&(Object.values(h).includes(e)||Object.values(p).includes(e)||Object.values(_).includes(e))}let g={[_.customTheme]:void 0,[_.default]:void 0,[_.workspaceDefault]:void 0,[_.orgDefault]:void 0,[h.defaultTheme]:c.SS,[h.aubergineBrightTheme]:c.SS,[h.aubergineClassicTheme]:{column_bg:"#4D394B",menu_bg:"#3E313C",active_item:"#4C9689",active_item_text:"#FFFFFF",hover_item:"#3E313C",text_color:"#FFFFFF",active_presence:"#38978D",badge:"#EB4D5C",badge_text_color:"#FFFFFF",top_nav_bg:"#3E313C",top_nav_text:"#FFFFFF"},[h.hothTheme]:{column_bg:"#F8F8FA",menu_bg:"#F8F8FA",active_item:"#2D9EE0",active_item_text:"#FFFFFF",hover_item:"#FFFFFF",text_color:"#383F45",active_presence:"#60D156",badge:"#DC5960",badge_text_color:"#FFFFFF",top_nav_bg:"#F8F8FA",top_nav_text:"#383F45"},[h.monumentTheme]:{column_bg:"#0D7E83",menu_bg:"#076570",active_item:"#F79F66",active_item_text:"#FFFFFF",hover_item:"#D37C71",text_color:"#FFFFFF",active_presence:"#F79F66",badge:"#F15340",badge_text_color:"#FFFFFF",top_nav_bg:"#076570",top_nav_text:"#FFFFFF"},[h.chocolateTheme]:{column_bg:"#544538",menu_bg:"#42362B",active_item:"#5DB09D",active_item_text:"#FFFFFF",hover_item:"#4A3C30",text_color:"#FFFFFF",active_presence:"#FFFFFF",badge:"#5DB09D",badge_text_color:"#FFFFFF",top_nav_bg:"#42362B",top_nav_text:"#FFFFFF"},[h.oceanTheme]:{column_bg:"#303E4D",menu_bg:"#2C3849",active_item:"#6698C8",active_item_text:"#FFFFFF",hover_item:"#4A5664",text_color:"#FFFFFF",active_presence:"#94E864",badge:"#78AF8F",badge_text_color:"#FFFFFF",top_nav_bg:"#2C3849",top_nav_text:"#FFFFFF"},[h.workhardTheme]:{column_bg:"#4D5250",menu_bg:"#444A47",active_item:"#D39B46",active_item_text:"#FFFFFF",hover_item:"#434745",text_color:"#FFFFFF",active_presence:"#99D04A",badge:"#DB6668",badge_text_color:"#FFFFFF",top_nav_bg:"#444A47",top_nav_text:"#FFFFFF"},[h.nocturneTheme]:{column_bg:"#1A1D21",menu_bg:"#000000",active_item:"#0576B9",active_item_text:"#FFFFFF",hover_item:"#000000",text_color:"#FFFFFF",active_presence:"#39E500",badge:"#CC4400",badge_text_color:"#FFFFFF",top_nav_bg:"#000000",top_nav_text:"#FFFFFF"},[h.solanumTheme]:{column_bg:"#4F2F4C",menu_bg:"#452842",active_item:"#8C5888",active_item_text:"#FFFFFF",hover_item:"#1C0B1A",text_color:"#FFFFFF",active_presence:"#D0FF00",badge:"#889100",badge_text_color:"#FFFFFF",top_nav_bg:"#452842",top_nav_text:"#FFFFFF"},[h.brinjalTheme]:{column_bg:"#4F2F4C",menu_bg:"#452842",active_item:"#8C5888",active_item_text:"#FFFFFF",hover_item:"#1C0B1A",text_color:"#FFFFFF",active_presence:"#00FFB7",badge:"#DE4C0D",badge_text_color:"#FFFFFF",top_nav_bg:"#452842",top_nav_text:"#FFFFFF"},[p.cottonTheme]:{column_bg:"#BB6A76",menu_bg:"#AD5B67",active_item:"#62B791",active_item_text:"#FFFFFF",hover_item:"#A5516A",text_color:"#FFFFFF",active_presence:"#68F798",badge:"#694464",badge_text_color:"#FFFFFF",top_nav_bg:"#AD5B67",top_nav_text:"#FFFFFF"},[p.ecoTheme]:{column_bg:"#86A34E",menu_bg:"#94AF63",active_item:"#FFFFFF",active_item_text:"#6D8B42",hover_item:"#94AF63",text_color:"#FFFFFF",active_presence:"#FFB10A",badge:"#DFA044",badge_text_color:"#FFFFFF",top_nav_bg:"#94AF63",top_nav_text:"#FFFFFF"},[h.bananaTheme]:{column_bg:"#FFEB84",menu_bg:"#FFF8D4",active_item:"#FFC806",active_item_text:"#591035",hover_item:"#FFF8D4",text_color:"#591035",active_presence:"#4C6DC2",badge:"#DD4147",badge_text_color:"#FFFFFF",top_nav_bg:"#FFC806",top_nav_text:"#591035"},[h.sweetTreatTheme]:{column_bg:"#FFEEED",menu_bg:"#FFC2C0",active_item:"#FFC2C0",active_item_text:"#4A154B",hover_item:"#FFFFFF",text_color:"#4A154B",active_presence:"#FFA95A",badge:"#37BD8D",badge_text_color:"#FFFFFF",top_nav_bg:"#FFC2C0",top_nav_text:"#4A154B"},[h.moodIndigoTheme]:{column_bg:"#F8F8FA",menu_bg:"#E0E7FF",active_item:"#001A5E",active_item_text:"#F8F8FA",hover_item:"#E0E7FF",text_color:"#001A5E",active_presence:"#2153FF",badge:"#2153FF",badge_text_color:"#FFFFFF",top_nav_bg:"#001A5E",top_nav_text:"#FFFFFF"},[h.eggplantTheme]:{column_bg:"#FBFAF7",menu_bg:"#DCEEE4",active_item:"#4A154B",active_item_text:"#FBFAF7",hover_item:"#DCEEE4",text_color:"#4A154B",active_presence:"#2BAC76",badge:"#BD3855",badge_text_color:"#FFFFFF",top_nav_bg:"#4A154B",top_nav_text:"#FFFFFF"},[h.cmykTheme]:{column_bg:"#F2F4F7",menu_bg:"#FFE600",active_item:"#35C2FF",active_item_text:"#FFFFFF",hover_item:"#FFE600",text_color:"#151834",active_presence:"#35C2FF",badge:"#E71FA3",badge_text_color:"#FFFFFF",top_nav_bg:"#E71FA3",top_nav_text:"#FFFFFF"},[h.mondrianTheme]:{column_bg:"#FFFFFF",menu_bg:"#FFC806",active_item:"#000000",active_item_text:"#FFFFFF",hover_item:"#FFC806",text_color:"#000000",active_presence:"#000000",badge:"#FD0B00",badge_text_color:"#FFFFFF",top_nav_bg:"#1F57E7",top_nav_text:"#FFFFFF"},[h.terminalTheme]:{column_bg:"#1A1D21",menu_bg:"#1A2B23",active_item:"#4EE077",active_item_text:"#1A1D21",hover_item:"#1A2B23",text_color:"#4EE077",active_presence:"#4EE077",badge:"#1C913D",badge_text_color:"#FFFFFF",top_nav_bg:"#1A2B23",top_nav_text:"#4EE077"},[h.expensiveTheme]:{column_bg:"#1A1D21",menu_bg:"#232527",active_item:"#3E4232",active_item_text:"#C9C49C",hover_item:"#232527",text_color:"#C9C49C",active_presence:"#C9C49C",badge:"#3E4233",badge_text_color:"#FFFFFF",top_nav_bg:"#C9C49C",top_nav_text:"#1A1D21"},[h.ultravioletTheme]:{column_bg:"#F5F5F5",menu_bg:"#F0F0F0",active_item:"#6715EB",active_item_text:"#FFFFFF",hover_item:"#E8E8E8",text_color:"#1A1A1A",active_presence:"#6715EB",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#6715EB",top_nav_text:"#FFFFFF"},[h.discothequeTheme]:{column_bg:"#6A1B1B",menu_bg:"#6A1B1B",active_item:"#D94422",active_item_text:"#FDF6E3",hover_item:"#461412",text_color:"#FFD476",active_presence:"#D67739",badge:"#D94422",badge_text_color:"#FFFFFF",top_nav_bg:"#461412",top_nav_text:"#FDF6E3"},[h.haberdasheryTheme]:{column_bg:"#073642",menu_bg:"#002B36",active_item:"#7D6005",active_item_text:"#FDF6E3",hover_item:"#002B36",text_color:"#FDF6E3",active_presence:"#55D44E",badge:"#DC322F",badge_text_color:"#FFFFFF",top_nav_bg:"#002B36",top_nav_text:"#FDF6E3"}};({...g,[h.defaultTheme]:c.b3,[h.aubergineBrightTheme]:g.default_theme});let A={[_.customTheme]:void 0,[_.default]:void 0,[_.workspaceDefault]:void 0,[_.orgDefault]:void 0,[p.cottonTheme]:void 0,[p.ecoTheme]:void 0,[h.defaultTheme]:{column_bg:"#19171D",menu_bg:"#121016",active_item:"#1164A3",active_item_text:"#FFFFFF",hover_item:"#27242C",text_color:"#D1D2D3",active_presence:"#2BAC76",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#121016",top_nav_text:"#D1D2D3"},[h.aubergineBrightTheme]:{column_bg:"#19171D",menu_bg:"#121016",active_item:"#1164A3",active_item_text:"#FFFFFF",hover_item:"#27242C",text_color:"#D1D2D3",active_presence:"#2BAC76",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#121016",top_nav_text:"#D1D2D3"},[h.aubergineClassicTheme]:{column_bg:"#19171D",menu_bg:"#121016",active_item:"#4C9689",active_item_text:"#FFFFFF",hover_item:"#27242C",text_color:"#D1D2D3",active_presence:"#38978D",badge:"#EB4D5C",badge_text_color:"#FFFFFF",top_nav_bg:"#121016",top_nav_text:"#D1D2D3"},[h.hothTheme]:{column_bg:"#333333",menu_bg:"#3F3F3F",active_item:"#2D9EE0",active_item_text:"#FFFFFF",hover_item:"#3F3F3F",text_color:"#F8F8FA",active_presence:"#60D156",badge:"#DC5960",badge_text_color:"#FFFFFF",top_nav_bg:"#3F3F3F",top_nav_text:"#F8F8FA"},[h.monumentTheme]:{column_bg:"#173438",menu_bg:"#152A2D",active_item:"#EBA270",active_item_text:"#FFFFFF",hover_item:"#C78074",text_color:"#FFFFFF",active_presence:"#EBA270",badge:"#F15340",badge_text_color:"#FFFFFF",top_nav_bg:"#152A2D",top_nav_text:"#FFFFFF"},[h.chocolateTheme]:{column_bg:"#212121",menu_bg:"#353330",active_item:"#5DB09D",active_item_text:"#FFFFFF",hover_item:"#353330",text_color:"#FFFFFF",active_presence:"#FFFFFF",badge:"#5DB09D",badge_text_color:"#FFFFFF",top_nav_bg:"#353330",top_nav_text:"#FFFFFF"},[h.oceanTheme]:{column_bg:"#1D2229",menu_bg:"#0B161E",active_item:"#537AA6",active_item_text:"#FFFFFF",hover_item:"#313843",text_color:"#FFFFFF",active_presence:"#94E864",badge:"#78AF8F",badge_text_color:"#FFFFFF",top_nav_bg:"#0B161E",top_nav_text:"#FFFFFF"},[h.workhardTheme]:{column_bg:"#222629",menu_bg:"#121518",active_item:"#D39B46",active_item_text:"#FFFFFF",hover_item:"#2C3136",text_color:"#FFFFFF",active_presence:"#99D04A",badge:"#DB6668",badge_text_color:"#FFFFFF",top_nav_bg:"#121518",top_nav_text:"#FFFFFF"},[h.nocturneTheme]:{column_bg:"#1A1D21",menu_bg:"#000000",active_item:"#0576B9",active_item_text:"#FFFFFF",hover_item:"#000000",text_color:"#FFFFFF",active_presence:"#39E500",badge:"#CC4400",badge_text_color:"#FFFFFF",top_nav_bg:"#000000",top_nav_text:"#FFFFFF"},[h.solanumTheme]:{column_bg:"#19171D",menu_bg:"#121016",active_item:"#5B415B",active_item_text:"#FFFFFF",hover_item:"#27242C",text_color:"#D1D2D3",active_presence:"#DAFC51",badge:"#8A902C",badge_text_color:"#FFFFFF",top_nav_bg:"#121016",top_nav_text:"#D1D2D3"},[h.brinjalTheme]:{column_bg:"#19171D",menu_bg:"#121016",active_item:"#5B415B",active_item_text:"#FFFFFF",hover_item:"#27242C",text_color:"#D1D2D3",active_presence:"#74FABC",badge:"#CE5628",badge_text_color:"#FFFFFF",top_nav_bg:"#121016",top_nav_text:"#D1D2D3"},[h.bananaTheme]:{column_bg:"#1A1D21",menu_bg:"#483F1C",active_item:"#FFC806",active_item_text:"#1A1D21",hover_item:"#483F1C",text_color:"#FFF8D4",active_presence:"#3C67D6",badge:"#DD4147",badge_text_color:"#FFFFFF",top_nav_bg:"#1A1D21",top_nav_text:"#FFC806"},[h.sweetTreatTheme]:{column_bg:"#1A1D21",menu_bg:"#3B3232",active_item:"#FFC2C0",active_item_text:"#1A1D21",hover_item:"#3B3232",text_color:"#FFE9E8",active_presence:"#FFA95A",badge:"#37BD8D",badge_text_color:"#FFFFFF",top_nav_bg:"#1A1D21",top_nav_text:"#FFC2C0"},[h.moodIndigoTheme]:{column_bg:"#1A1D21",menu_bg:"#2D3136",active_item:"#1F2A42",active_item_text:"#D8DCE8",hover_item:"#2D3136",text_color:"#D8DCE8",active_presence:"#2153FF",badge:"#2153FF",badge_text_color:"#FFFFFF",top_nav_bg:"#1F2A42",top_nav_text:"#FFFFFF"},[h.eggplantTheme]:{column_bg:"#1A1D21",menu_bg:"#121016",active_item:"#3A2D3B",active_item_text:"#FBFAF7",hover_item:"#27242C",text_color:"#FBFAF7",active_presence:"#2EB67D",badge:"#BD3855",badge_text_color:"#FFFFFF",top_nav_bg:"#4A154B",top_nav_text:"#FBFAF7"},[h.cmykTheme]:{column_bg:"#20252C",menu_bg:"#0E0B01",active_item:"#6BC9FF",active_item_text:"#0E0B01",hover_item:"#0E0B01",text_color:"#FCEBF9",active_presence:"#FCE54D",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#D53C9F",top_nav_text:"#0E0B01"},[h.mondrianTheme]:{column_bg:"#1A1D21",menu_bg:"#121212",active_item:"#FFC806",active_item_text:"#000000",hover_item:"#121212",text_color:"#FFFFFF",active_presence:"#FFFFFF",badge:"#FD0B00",badge_text_color:"#FFFFFF",top_nav_bg:"#1F57E7",top_nav_text:"#FFFFFF"},[h.terminalTheme]:{column_bg:"#1A1D21",menu_bg:"#1A2B23",active_item:"#4EE077",active_item_text:"#1A1D21",hover_item:"#1A2B23",text_color:"#4EE077",active_presence:"#4EE077",badge:"#1C913D",badge_text_color:"#FFFFFF",top_nav_bg:"#1A2B23",top_nav_text:"#4EE077"},[h.expensiveTheme]:{column_bg:"#1A1D21",menu_bg:"#232527",active_item:"#3E4232",active_item_text:"#C9C49C",hover_item:"#232527",text_color:"#C9C49C",active_presence:"#C9C49C",badge:"#3E4233",badge_text_color:"#FFFFFF",top_nav_bg:"#C9C49C",top_nav_text:"#1A1D21"},[h.ultravioletTheme]:{column_bg:"#14101A",menu_bg:"#241D2E",active_item:"#6715EB",active_item_text:"#FFFFFF",hover_item:"#241D2E",text_color:"#FFFFFF",active_presence:"#6715EB",badge:"#CD2553",badge_text_color:"#FFFFFF",top_nav_bg:"#6715EB",top_nav_text:"#FFFFFF"},[h.discothequeTheme]:{column_bg:"#1A1D21",menu_bg:"#1A0404",active_item:"#6A1B1B",active_item_text:"#FFD476",hover_item:"#461412",text_color:"#D2A454",active_presence:"#D67739",badge:"#6A1B1B",badge_text_color:"#FFFFFF",top_nav_bg:"#461412",top_nav_text:"#FFD476"},[h.haberdasheryTheme]:{column_bg:"#011F26",menu_bg:"#01151A",active_item:"#4F400E",active_item_text:"#F7E7BC",hover_item:"#01151A",text_color:"#EBEDDF",active_presence:"#55D44E",badge:"#A30F0F",badge_text_color:"#FFFFFF",top_nav_bg:"#01151A",top_nav_text:"#EBEDDF"}},b={...A,[h.defaultTheme]:{...A.default_theme,badge:(0,c.nX)(A.default_theme.text_color,A.default_theme.column_bg,.9),badge_text_color:A.default_theme.column_bg},[h.aubergineBrightTheme]:A.default_theme},y={...g,[h.defaultTheme]:c.me},convertThemeToThemeColorsArrayString=e=>[e.column_bg,e.menu_bg,e.active_item,e.active_item_text,e.hover_item,e.text_color,e.active_presence,e.badge,e.top_nav_bg,e.top_nav_text].join(","),S=(0,s.A)(e=>{let t={outputHex:!0},a=e,n=(0,c.bp)(a);return a=n>.05?(0,c.zG)(a,Math.round(35.7),t):n>.01?(0,c.zG)(a,Math.round(255*.03),t):(0,c.fl)(a,Math.round(255*.06),t),(0,c.Vw)(a,.7,t)});function matchesDefaultLightTheme(e){try{return JSON.stringify(e)===JSON.stringify(c.SS)||JSON.stringify(e)===JSON.stringify(c.b3)||JSON.stringify(e)===JSON.stringify(c.me)}catch{return!1}}function matchesDefaultDarkTheme(e){try{return JSON.stringify(e)===JSON.stringify(A[h.defaultTheme])||JSON.stringify(e)===JSON.stringify(A[h.aubergineBrightTheme])||JSON.stringify(e)===JSON.stringify(A[h.aubergineClassicTheme])||JSON.stringify(e)===JSON.stringify(b[h.defaultTheme])||JSON.stringify(e)===JSON.stringify(b[h.aubergineBrightTheme])}catch{return!1}}let E={Protanopia:"protanopia-and-deuteranopia",Tritanopia:"tritanopia"};function isSidebarInverted(e){return(e||r.GK)>3}function shouldInvertSidebar(e,t){return"light"===t&&e?.brightness&&isSidebarInverted(e.brightness)&&e?.sidebarInverted}function getBackgroundMode(e,t="light"){return shouldInvertSidebar(e,t)?"light-inverted-sidebar":t}function checkForPaletteMatch(e){let t=(0,r.He)(e);return t||null}function findMatchingPresetByColorsOnly(e){return r._i.find(t=>t.colors.primary.palette===e.primary.palette&&t.colors.highlight1.palette===e.highlight1.palette&&t.colors.highlight2.palette===e.highlight2.palette&&t.colors.important.palette===e.important.palette)}function createPayloadFromHexStrings({themePref:e,colors:t}){return t.every(e=>n.$V.test(e))&&(t.length===l.no||t.length===l.md||t.length===l.xY)?(0,i.jM)(e,e=>{let a,i,o,s;if(t.length===l.no)a=t[0],i=t[1],o=t[2],s=t[3];else{let e=convertThemeColorsArrayToCustomTheme(t);a=e.column_bg,i=e.active_item,o=e.active_presence,s=e.badge}[{name:"primary",hex:a},{name:"highlight1",hex:i},{name:"highlight2",hex:o},{name:"important",hex:s}].forEach(t=>{let a=checkForPaletteMatch(t.hex);a?(e[t.name].palette=a,delete e[t.name].custom):e[t.name].custom=t.hex}),e.useCustomHex=[e.primary,e.highlight1,e.highlight2,e.important].some(e=>e.custom);let c=findMatchingPresetByColorsOnly({primary:e.primary,highlight1:e.highlight1,highlight2:e.highlight2,important:e.important})?.brightness||(0,r.bc)({shade:(0,r.QV)(a)||r.KE}),d=(0,n.S6)({hex:a,mode:"light"});e.brightness=e.primary.custom?d:c}):null}function hasVisionAssistCustomColors(e){return!!e&&r._i.filter(e=>"protanopia-and-deuteranopia"===e.id||"tritanopia"===e.id).map(e=>e.colors).some(t=>Object.keys(t).every(a=>t[a]?.custom===e[a]?.custom))}},0x1fc95ec5c:(e,t,a)=>{"use strict";a.d(t,{A:()=>throttleByKey});let n={};function throttleByKey(e,t,a=1e4){return!n[e]&&(t(),n[e]=setTimeout(()=>{delete n[e]},a),!0)}},0x8acb3ad3:(e,t,a)=>{"use strict";a.d(t,{U:()=>i,b:()=>r});var n=a(0x1950da728);let r=[n.$Z.LISTS,n.$Z.QUIP,n.$Z.DOCUMENTS,n.$Z.SPREADSHEETS,n.$Z.PRESENTATIONS,n.$Z.PDFS],i=[n.$Z.LISTS,n.$Z.QUIP,n.$Z.DOCUMENTS]},0x1d321040e:(e,t,a)=>{"use strict";a.d(t,{wN:()=>makeNonExistentMember,_3:()=>o,Fq:()=>makeUnknownMember});var n=a(0xca924ee1);let r=a.p+"unknown_avatar-3b3a5c8.png",i={real_name:"",display_name:"",avatar_hash:"",real_name_normalized:"",display_name_normalized:"",image_24:r,image_32:r,image_48:r,image_72:r,image_192:r,image_512:r,image_1024:r},makeUnknownMember=e=>({id:e,name:e,isUnknown:!0,files:[],profile:i,is_bot:!1,updated:0,is_app_user:!1}),makeNonExistentMember=e=>({id:e,isNonExistent:!0,files:[],profile:i,name:"",is_bot:!1,updated:0,is_app_user:!1}),o=(0,n.A)(makeNonExistentMember)},0x120f6f7a3:(e,t,a)=>{"use strict";a.d(t,{Fn:()=>r,W4:()=>o,_J:()=>i,i$:()=>n});let n=/((ftp|http|https):\/\/|\bw{3}\.)[a-z0-9\-.]+[a-z]+(:[a-z0-9]*)?\/?([@a-z0-9\-._?,'/\\+&amp;%:!$#=~])*/gi,r=/[a-z0-9]+\.[a-z0-9]+/i,i=["http","https"],o=["slack.com","slack-gov.com","slack-gov-dev.com","slack.mil","slack-mil-dev.com"]},0x47af687f:(e,t,a)=>{"use strict";a.d(t,{A:()=>getTeamSubdomain});var n=a(0x8c8bafa3),r=a(0x1d5f57074);function getTeamSubdomain(e){let t=(0,r.Ay)(e),a=t.hostname||"";if(!a)return"";let i=a.split(".");return i.length>2&&(0,n.Ed)(t)?i[0]:""}},0x22ec45147:(e,t,a)=>{"use strict";a.d(t,{A:()=>isValidSlackHostName});var n=a(0x8c8bafa3);function isValidSlackHostName(e){return!!e&&(0,n.Ed)(e)&&!!e.match(/^[^.]+\.(((enterprise\.)?(staging|staging-master|staging-sandbox|dev\d*|qa\d*)|enterprise)\.)?[^.]+\.[^.]+$/)}},0x203d83ff:(e,t,a)=>{"use strict";a.d(t,{A:()=>isValidSlackPermalinkHostName});var n=a(0x8c8bafa3);let r=/^[^.]*\.?(((enterprise\.)?(staging|staging-master|staging-sandbox|dev\d*|qa\d*)|enterprise)\.)?[^.]+\.[^.]+$/;function isValidSlackPermalinkHostName(e){return!!e&&(0,n.Ed)(e)&&!!e.match(r)}},0xa5d8361b:(e,t,a)=>{"use strict";a.d(t,{A:()=>simpleIsUrl});var n=a(0x1aba66b56),r=a(0x120f6f7a3);function simpleIsUrl(e,t={allowNoTLD:!1,allowNoProtocol:!1}){let a;if(!e||-1!==e.indexOf(" "))return!1;try{a=new URL(e)}catch{(a=document.createElement("a")).href=e}if(!a.protocol||!a.pathname&&!a.hostname||a.protocol.match(/javascript(:|&colon;)/gi)||a.protocol.match(/about(:|&colon;)/gi)||!t.allowNoProtocol&&`${window.location.href.substr(0,window.location.href.lastIndexOf("/"))}/${e}`===a.href)return!1;let i=a.protocol.slice(0,-1).toLowerCase();return!(0,n.A)(r._J,i)||!!a.hostname&&("localhost"===a.hostname||t.allowNoTLD||r.Fn.test(a.hostname))}},0x19cd42714:(e,t,a)=>{"use strict";a.d(t,{A:()=>truncateUrl,y:()=>r});var n=a(0x1d5f57074);let buildUrl=e=>{let t="";return e.scheme&&e.host&&(t=`${t}${e.scheme}://`),e.host&&(t=`${t}${e.host}`),e.path&&(t=`${t}${e.path}`),e.query?t=`${t}?${e.query}`:"?"===e.rawQuery&&(t=`${t}?`),e.fragment&&(t=`${t}#${e.fragment}`),t};function truncateSmart(e,t,a="\u2026"){let n,r,i,o=e,s=a.length,l=a.length,buildSegment=(e,t)=>{let n=t/2,r=Math.ceil(n),i=-1*Math.floor(n),o="";return i<0&&(o=e.substr(i)),e.substr(0,r)+a+o};if(o.length<=t)return o;let c=t-s,d=(n={},(i=(r=o).match(/^([a-z]+):\/\//i))&&(n.scheme=i[1],r=r.substr(i[0].length)),(i=r.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(n.host=i[1],r=r.substr(i[0].length)),(i=r.match(/^\/(.*?)(?=(\?|#|$))/i))&&(n.path=`/${i[1]}`,r=r.substr(i[0].length)),(i=r.match(/^\?(.*?)(?=(#|$))/i))&&(n.query=i[1],n.rawQuery=i[0],r=r.substr(i[0].length)),(i=r.match(/^#(.*?)$/i))&&(n.fragment=i[1]),n);if(d.query){let e=d.query.match(/^(.*?)(?=(\?|#))(.*?)$/i);e&&(d.query=d.query.substr(0,e[1].length),o=buildUrl(d))}if(o.length<=t||(d.host&&(o=buildUrl(d)),o.length<=t))return o;let u="";if(d.host&&(u+=d.host),u.length>=c)return d.host.length===t?(d.host.substr(0,t-s)+a).substr(0,c+l):buildSegment(u,c).substr(0,c+l);let m="";if(d.path&&(m=`${m}${d.path}`),d.query?m=`${m}?${d.query}`:"?"===d.rawQuery&&(m=`${m}?`),m){if((u+m).length>=c){if((u+m).length===t)return(u+m).substr(0,t);let e=c-u.length;return(u+buildSegment(m,e)).substr(0,c+l)}u+=m}if(d.fragment){let e=`#${d.fragment}`;if((u+e).length>=c){if((u+e).length===t)return(u+e).substr(0,t);let a=c-u.length;return(u+buildSegment(e,a)).substr(0,c+l)}u+=e}if(d.scheme&&d.host){let e=`${d.scheme}://`;if((u+e).length<c)return(e+u).substr(0,t)}if(u.length<=t)return u;let f="";return c>0&&(f=u.substr(-1*Math.floor(c/2))),(u.substr(0,Math.ceil(c/2))+a+f).substr(0,c+l)}let r="[\u2026]";function truncateUrl(e){if(!e||"string"!=typeof e)return"";if(e.length<=140)return e;let t=e.match(/\?/g);if(t&&t.length>1)return e;let a=(0,n.Ay)(e);if("http:"!==a.protocol&&"https:"!==a.protocol||(!a.pathname||"/"===a.pathname)&&(!a.hash||!a.hash.length))return e;let i=`${a.protocol}//${truncateSmart(e,140,r)}`;if(i.length>=e.length)return e;let o=i.indexOf(r);return -1===o||o+r.length===i.length||i.replace(/\u2026/,"")===e?e:i}},0xc24f47f6:(e,t,a)=>{"use strict";a.d(t,{ck:()=>validateHasAlphanumeric,HG:()=>validateMemberCustomAltField,_f:()=>validateMemberCustomField,YI:()=>validateMemberDisplayName,h7:()=>validateMemberFullName,VN:()=>validateMemberPhone,N4:()=>validateMemberPronouns,jx:()=>validateMemberPronunciationText,JY:()=>validateMemberTitle,xm:()=>validateMemberUsername,f0:()=>validateNoLeadingAt});var n=a(0x20b4dda68),r=a(0x1f26bf0b2),i=a(0x1dae1e14d),o=a(0x17478cdb7),s=a(0xa5d8361b);function validateIsUrl(e){return e&&!(0,s.A)((0,o.A)(e))?{type:"error_is_url"}:null}var l=a(0xf3c231c),c=a(0x12c4a318d);function validateNoEmoji(e){if(e){let t=e.match((0,c.A)(void 0));if(t)return{type:"error_no_emoji",emoji:t}}return null}var d=a(0x16be0289c),u=a(0x21f3c49e8),m=a(0x1e2051844);function validateNoRestrictedValues(e,t){if(e&&!(0,u.A)(t)){let a=(0,o.A)(e).toLowerCase();if((0,m.A)(t,e=>e&&e.toLowerCase()===a))return{type:"error_no_restricted_values",value:e}}return null}let f=/^[-_.'\u2018\u2019",(){}[\]/;]+$/,_=/^@/,p=/\s/g,h='`~!@#$%^&*+=\\:"<>?|'.split("");function validateNoLeadingAt(e){return e&&e.match(_)?{type:"error_no_leading_at"}:null}function validateNoSpaces(e){return e&&e.match(p)?{type:"error_no_white_space"}:null}function validateAllLowercase(e){return e&&e!==e.toLowerCase()?{type:"error_no_uppercase"}:null}function validateHasAlphanumeric(e){return e&&e.match(f)?{type:"error_has_alphanumeric"}:null}function validateNoInvalidCharacters(e){return(0,r.A)([validateNoLeadingAt(e),(0,d.A)(e,h),validateNoRestrictedValues(e,n.xt),validateHasAlphanumeric(e)])}function validateMemberName(e){return(0,r.A)([validateNoInvalidCharacters(e),validateNoEmoji(e)])}function validateMemberFullName(e,t=n._w.FULL_NAME){return(0,r.A)([(0,i.A)(e),(0,l.A)(e,t),validateMemberName(e)])}function validateMemberDisplayName(e){return(0,r.A)([(0,l.A)(e,n._w.DISPLAY_NAME),validateMemberName(e)])}function validateMemberUsername(e){return(0,r.A)([(0,l.A)(e,n._w.USER_NAME),validateNoSpaces(e),validateMemberName(e),validateAllLowercase(e)])}function validateMemberPronouns(e){return(0,r.A)([(0,l.A)(e,n._w.PRONOUNS)])}function validateMemberPhone(e){return(0,r.A)([(0,l.A)(e,n._w.PHONE_NUMBER)])}function validateMemberTitle(e){return(0,r.A)([(0,l.A)(e,n._w.TITLE)])}function validateMemberPronunciationText(e){return(0,r.A)([(0,l.A)(e,n._w.PRONUNCIATION)])}function validateMemberCustomField(e,t){let a=[(0,l.A)(e,n._w.CUSTOM)];return"link"===t&&a.push(validateIsUrl(e)),(0,r.A)(a)}function validateMemberCustomAltField(e,t){let a=[];return"link"===t&&a.push((0,l.A)(e,n._w.CUSTOM)),(0,r.A)(a)}},0x1dae1e14d:(e,t,a)=>{"use strict";a.d(t,{A:()=>validateIsRequired});var n=a(0x17478cdb7);function validateIsRequired(e){return(0,n.A)(e)?null:{type:"error_is_required"}}},0xf3c231c:(e,t,a)=>{"use strict";a.d(t,{A:()=>validateMaxLength});var n=a(0x17478cdb7);function validateMaxLength(e,t){return e&&(0,n.A)(e).length>t?{type:"error_max_length",maxLength:t}:null}},0x16be0289c:(e,t,a)=>{"use strict";a.d(t,{A:()=>validateNoRestrictedChars});var n=a(0x21f3c49e8),r=a(0x17478cdb7),i=a(0x21da4684a);function validateNoRestrictedChars(e,t){if(e&&!(0,n.A)(t)){let a=(0,r.A)(e),n=(0,i.A)(t,a.split(""));if(n.length)return{type:"error_no_restricted_chars",chars:n}}return null}},0x1f26bf0b2:(e,t,a)=>{"use strict";a.d(t,{A:()=>validate});var n=a(0xe67fcf33),r=a(0x357885ff),i=a(0x1595bdd0);function isValidationResult(e){return(0,n.A)(e,"ok")&&(0,n.A)(e,"errors")&&(0,n.A)(e,"numValidations")}function validate(e){let t=[],a=0;(0,r.A)(e).forEach(e=>{isValidationResult(e)?(a+=e.numValidations,t.push(...e.errors)):(a+=1,t.push(e))});let n=(0,i.A)(t);return{ok:0===n.length,errors:n,numValidations:a}}},0x1c1baa205:(e,t,a)=>{"use strict";a.d(t,{P:()=>n,y:()=>r});let n=32,r={TOP:6,LEFT:12}},0x91eaf8d0:(e,t,a)=>{"use strict";a.d(t,{J:()=>runBootTeam});var n=a(0x202a5b895),r=a(0xff89300f);function runBootTeam(e){return(0,n.z4)(r.u.CLIENT_V2).runBootTeam(e)}},0x5454e269:(e,t,a)=>{"use strict";a.d(t,{G1:()=>getChildWindowTags,I5:()=>getBigButtonModeTag,It:()=>getIsFocusedTag,JP:()=>getBootedTeamCountTags,Kh:()=>getMaybeFocusedIdTags});var n=a(0x1595bdd0),r=a(0xe0376d2),i=a(0x20ef3966f),o=a(0x1d73a63ad),s=a(0x1bb02f2c4),l=a(0x9b971e7e),c=a(0x691ce3ab),d=a(0x1266f1359),u=a(0x21bfacd01),m=a(0x19c76d181);function getBootedTeamCountTags(){let e=(0,c.Ry)();if(!e)return{};let t=(0,s.getBootedWorkspaces)(e)||[],a=(0,s.getWorkspacesMeta)(e)||{},o=(0,n.A)((0,r.A)((0,i.A)(a,"enterprise_id"))),l={booted_teams:t.length,booted_team_ids:t.join(),booted_org_teams:(0,s.getBootedOrgWorkspacesCount)(e)};return o.length&&(l.booted_enterprises=o.length,l.booted_enterprise_ids=o.join()),l}function getMaybeFocusedIdTags(e){let t=(0,c.Ry)();if(!t)return{};let a=e??(0,s.getFocusedWorkspace)(t),n=(0,d.$D)(a),r=(0,l.jV)(n),i={team_id:a,user_id:(0,m.WR)(n)};return r&&(i.enterprise_id=r),i}function getIsFocusedTag(e){let t=(0,c.Ry)();if(!t)return{};let a=(0,s.getFocusedWorkspace)(t);return{is_focused:e.has(a)}}function getBigButtonModeTag(){let e=(0,c.Ry)();if(!e)return{};let t=(0,s.getFocusedWorkspace)(e),a=(0,d.$D)(t);return a?{is_bbm_enabled:(0,u.V)(a)||(0,u.V)(e)}:{}}function getChildWindowTags(){return{num_open_windows:(0,o.S9)()}}},0x1384f171:(e,t,a)=>{"use strict";a.d(t,{Dh:()=>isActivityInboxBetaLabelEnabled,En:()=>isActivityInboxLaterPreferenceEnabled,IW:()=>isActivityInboxAsBadgingSourceEnabled,Jw:()=>isActivityInboxDmsLaterTabBadgingChangesEnabled,Lh:()=>isActivityInboxEnabled,P4:()=>isActivitySnoozeEnabled,PN:()=>isActivityInboxInternalOnboardingEnabled,Q3:()=>isActivityInboxEnabledWithExposureDANGEROUS,QT:()=>isActivityInboxRemindersEnabled,Qp:()=>isActivityExpandedLayoutEnabled,Qq:()=>isActivityInboxOnboardingFlowEnabled,Qw:()=>isActivityKeyboardEnabled,S9:()=>isActivityKeyboardV2Enabled,TN:()=>isActivityInboxExposurePoint1Enabled,ZN:()=>isActivityInboxExposurePoint3Enabled,ax:()=>isFeLeftNavQuieterBadgesEnabled,az:()=>isActivityExpandedLayoutWithComposerEnabled,cw:()=>isActivityUndoClearAllGroupEnabled,eQ:()=>isActivityMarkAllAsReadGroupEnabled,f9:()=>isActivityInboxSalesforceChannelFilterEnabled,fT:()=>isActivitySearchEnabled,gI:()=>isActivityBulkActionModeV2Enabled,hw:()=>isUseGlobalChannelsInActivityPrefEnabled,j6:()=>isActivityInboxMarkUnreadEnabled,jE:()=>isActivityInboxModalHelpLinkEnabled,kZ:()=>isDMsTabBadgeUnreadConversationsNotMessagesEnabled,kt:()=>isActivityOpenNextEntryOnClearEnabled,qY:()=>isActivityInboxPilotOnboardingEnabled,rm:()=>isActivityInboxActionTriggeredOnboardingEnabled,s5:()=>isActivityNeedsReplyEnabled,xP:()=>isActivityGiveFeedbackButtonEnabled,yl:()=>isActivityInboxDesignV3Enabled,zH:()=>isActivityPriorityEnabled,zO:()=>isUnjoinedChannelMentionInActivityEnabled});var n=a(0x14149c126);function isActivityInboxExposurePoint1Enabled(e){return"on"===(0,n._Z)(e,"activity_inbox_exposure_point_1")}function isActivityInboxExposurePoint2Enabled(e){return"on"===(0,n._Z)(e,"activity_inbox_exposure_point_2")}function isActivityInboxExposurePoint3Enabled(e){return"on"===(0,n._Z)(e,"activity_inbox_exposure_point_3")}function isActivityInboxEnabledWithExposureDANGEROUS(e){return isActivityInboxExposurePoint2Enabled(e),"on"===(0,n._Z)(e,"activity_inbox")}function isActivityInboxEnabled(e){return isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)}function isActivitySnoozeEnabled(e){return isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_snooze")}function isActivityExpandedLayoutEnabled(e){return isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_expanded_layout")}let isActivityExpandedLayoutWithComposerEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_expanded_layout_with_composer"),isActivityMarkAllAsReadGroupEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_mark_all_as_read"),isActivityUndoClearAllGroupEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_undo_clear_all"),isActivityKeyboardEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_keyboard")),isActivityKeyboardV2Enabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_keyboard_v2")),isUnjoinedChannelMentionInActivityEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"unjoined_channel_mention_in_activity"),isActivityGiveFeedbackButtonEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_givefeedback_button")),isActivityInboxRemindersEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_reminders")),isActivityInboxInternalOnboardingEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_inbox_internal_onboarding"),isActivityInboxDmsLaterTabBadgingChangesEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_inbox_dms_later_tab_badging_changes"),isActivityInboxAsBadgingSourceEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_as_badging_source")),isActivityInboxPilotOnboardingEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_inbox_pilot_onboarding"),isActivityInboxDesignV3Enabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_row_design_v3")),isActivityInboxOnboardingFlowEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_onboarding_flow")),isActivityInboxMarkUnreadEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_mark_unread")),isActivityInboxSalesforceChannelFilterEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_salesforce_channel_filter")),isActivityInboxBetaLabelEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_beta_label")),isDMsTabBadgeUnreadConversationsNotMessagesEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"dms_tab_badge_unread_conversations_not_messages")),isActivityInboxModalHelpLinkEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_modal_help_link")),isActivityPriorityEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_priority"),isActivityInboxActionTriggeredOnboardingEnabled=e=>(isActivityInboxExposurePoint2Enabled(e),isActivityInboxEnabledWithExposureDANGEROUS(e)&&"on"===(0,n.ze)(e,"activity_inbox_action_triggered_onboarding")),isActivityBulkActionModeV2Enabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_bulk_action_mode_v2"),isFeLeftNavQuieterBadgesEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"fe_left_nav_quieter_badges"),isActivitySearchEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_search"),isActivityOpenNextEntryOnClearEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_open_next_entry_on_clear"),isUseGlobalChannelsInActivityPrefEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"use_global_channels_in_activity_pref"),isActivityInboxLaterPreferenceEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_inbox_later_preference"),isActivityNeedsReplyEnabled=e=>isActivityInboxEnabled(e)&&"on"===(0,n.ze)(e,"activity_needs_reply")},0x16c433bef:(e,t,a)=>{"use strict";a.d(t,{C3:()=>b,Fq:()=>m,G$:()=>h,J6:()=>E,Ox:()=>u,RT:()=>S,S6:()=>c,VN:()=>y,XS:()=>d,Ys:()=>l,a6:()=>f,iO:()=>p,jJ:()=>s,pU:()=>g,r$:()=>A,wn:()=>k,xn:()=>o,zR:()=>_});var n,r,i=a(0x11c46e85f);let o=[],s=["at_user","at_user_group","at_channel","at_everyone","dm","mpdm","keyword","message_reaction","list_record_assigned","list_user_mentioned","list_todo_notification","bot_dm_bundle","thread_v2","saved_reminder","calendar_upcoming_event","internal_channel_invite","external_channel_invite","external_dm_invite","list_record_edited","example_user_alert"],l={NEWEST:"newest",VIP:"vip",UNREADS:"unreads",PRIORITY:"priority",RANKED_BY_PRIORITY:"ranked_by_priority"},c={FULL_MSG_OBJECT_SCORING:"full_msg_object_scoring",FULL_MSG_OBJECT_SCORING_TOP_N:"full_msg_object_scoring_top_n"},d={[l.NEWEST]:"newest",[l.VIP]:"vip_unreads_first",[l.UNREADS]:"unreads_first",[l.RANKED_BY_PRIORITY]:"priority_unreads_first"},u=i.Li.Unreads,m=[i.Li.Vip,i.Li.Archive,i.Li.SpecificChannel],f=[u,i.Li.DMS,i.Li.Mentions,i.Li.Replies,i.Li.Channels,i.Li.Reactions,i.Li.Invitations,i.Li.Apps,i.Li.Reminders,i.Li.Notifications],_=i.Th.Compact;var p=((n={}).NEW_NAME="new_name",n.NEW_NAME_NEW_TAB="new_name_new_tab",n.EDIT_NAME="edit_name",n.DELETE_VIEW="delete_view",n);let h={bot_dm_bundle:i.Li.Apps,list_approval_request:i.Li.Approvals,list_approval_reviewed:i.Li.Approvals,at_user:i.Li.Mentions,keyword:i.Li.Mentions,at_everyone:i.Li.Mentions,at_user_group:i.Li.Mentions,at_channel:i.Li.Mentions,unjoined_channel_mention:i.Li.Mentions,message_reaction:i.Li.Reactions,internal_channel_invite:i.Li.Invitations,external_channel_invite:i.Li.Invitations,external_dm_invite:i.Li.Invitations,dm:i.Li.DMS,thread_v2:i.Li.Replies,saved_reminder:i.Li.Reminders,channel:i.Li.Channels,generic_system_alert:i.Li.Notifications,prejoin_dm_welcome_party_alert:i.Li.Invitations};var g=((r={}).DUPLICATE_NAME="duplicate_name",r.VIEW_LIMIT_EXCEEDED="over_view_maximum",r.VIEW_NOT_FOUND="view_not_found",r.CANNOT_USE_DEFAULT_NAME="cannot_use_default_view_name",r.CANNOT_CHANGE_DEFAULT_NAME="cannot_change_default_view_name",r.NAME_TOO_LONG="name_too_long",r.DELETE_DEFAULT_VIEW="cannot_delete_default_view",r);let A=80,b=15,y=new Set([i.Li.Unreads,i.Li.Vip,i.Li.Archive,i.Li.SalesforceChannels]),S={[i.Li.Unreads]:i.H9.FILTER_UNREADS_SELECTED,[i.Li.Vip]:i.H9.FILTER_VIP_SELECTED,[i.Li.Archive]:i.H9.FILTER_ARCHIVE_SELECTED,[i.Li.SalesforceChannels]:i.H9.FILTER_SALESFORCE_CHANNELS_SELECTED},E={ADD_TAB:"add-tab",FILTER_BAR:"filter-bar"},k={id:"",name:"",viewType:"",position:"",filterActivityTypes:[],filterVipSelected:!1,filterArchiveSelected:!1,filterSnoozeSelected:!1,filterReminderSelected:!1,filterUnreadsSelected:!1,filterChannels:[],filterChannelSections:[],showFilterIn:!1,searchQuery:"",sortOrder:l.NEWEST,density:i.Th.Compact,savedFilters:void 0}},0x11c46e85f:(e,t,a)=>{"use strict";a.d(t,{Gt:()=>n,H9:()=>g,Li:()=>p,N2:()=>h,Th:()=>f,Yq:()=>m,aY:()=>A,b8:()=>r,iP:()=>b,nk:()=>i,qO:()=>_});let n="rootList",r="filteredList",i="peekViewList";var o,s,l,c,d,u,m=((o={}).All="all",o.DMs="dms",o),f=((s={}).Default="default",s.Dense="dense",s.Compact="compact",s.Expanded="expanded",s.Detailed="detailed",s),_=((l={}).First="first",l.Last="last",l.OnlyItem="onlyItem",l),p=((c={}).All="all",c.Unreads="unreads",c.Replies="replies",c.Mentions="mentions",c.Reactions="reactions",c.Apps="apps",c.Invitations="invitations",c.Lists="lists",c.Huddles="huddles",c.Approvals="approvals",c.Channels="channel",c.DMS="dms",c.Priority="priority",c.EverythingElse="everythingElse",c.Archive="archive",c.SpecificChannel="specificChannel",c.UserGroups="userGroups",c.SalesforceChannels="salesforceChannels",c.Search="search",c.Vip="vip",c.Reminders="reminders",c.Notifications="notifications",c.PriorityActionItems="priorityActionItems",c);let h="activityIA4";var g=((d={}).NAME="name",d.FILTER_ACTIVITY_TYPES="filterActivityTypes",d.FILTER_VIP_SELECTED="filterVipSelected",d.FILTER_ARCHIVE_SELECTED="filterArchiveSelected",d.FILTER_UNREADS_SELECTED="filterUnreadsSelected",d.FILTER_CHANNELS="filterChannels",d.FILTER_CHANNEL_SECTIONS="filterChannelSections",d.FILTER_SALESFORCE_CHANNELS_SELECTED="filterSalesforceChannelsSelected",d.SHOW_FILTER_IN="showFilterIn",d.SEARCH_QUERY="searchQuery",d.SORT_ORDER="sortOrder",d.DENSITY="density",d),A=((u={}).CLEAR_CHANNELS_AND_SECTIONS="clearChannelsAndSections",u.CLEAR_ALL="clearAll",u.CLEAR_ALL_UNSAVED="clearAllUnsaved",u.CLEAR_ALL_TAB="clearAllTab",u);let b={All:"all",Unreads:"unreads",DMs:"dms",Custom:"custom",Add:"add",Priority:"priority"}},0x1cbb49736:(e,t,a)=>{"use strict";a.d(t,{B:()=>isStaticMenuItem});var n=a(0x4f86f8f5);function isStaticMenuItem(e){return e.key===n.MR.All||e.key===n.MR.AllInternal}},0x47c2b6f4:(e,t,a)=>{"use strict";a.d(t,{n:()=>makeStaticMenuItem});var n=a(0x133aaa7da);function makeStaticMenuItem({label:e,key:t,icon:a}){return{type:n.A.default,meta:{label:e,icon:a},key:t}}},0x17f5acc57:(e,t,a)=>{"use strict";a.d(t,{I:()=>makeWorkspaceMenuItem});var n=a(0x133aaa7da),r=a(0xa1832ae4),i=a(0x4f86f8f5);function makeWorkspaceMenuItem(e,t){let a=t===i.SX.External,o={workspaceType:t,label:(0,r.F1)(e),description:(0,r.Zl)(e,"",!0),...!a&&{icon:(0,r.Rf)(e)??void 0}};return{type:n.A.default,key:(0,r.ZT)(e),meta:o}}},0x361eb55d:(e,t,a)=>{"use strict";a.d(t,{o:()=>n});let n="NAVIGATE-IN-MAIN-WINDOW"},0x197c69854:(e,t,a)=>{"use strict";a.d(t,{F:()=>tp});var n=a(0x19895585a);let r="NAVIGATION-MIDDLEWARES",i=[n.mq.Sidebar,n.mq.Primary,n.mq.Secondary,n.mq.Split];var o=a(0xa2c5a40e),s=a(0x21f3c49e8),l=a(0x1df96de4c),c=a(0x96de2457),d=a(0x1ec68d6a3),u=a(0x21bfacd01),m=a(0xc504b2d7),f=a(0x1d78cd5f7),_=a(0x90ec463),p=a(0x1731631dc);let h=class{navigationMiddlewares;dispatch;getState;middlewareResultByContainer;constructor(e,t,a){this.navigationMiddlewares=e,this.dispatch=t,this.getState=a,this.middlewareResultByContainer=new Map}async executeAsyncActions(e,t,a,n){if(!a||!this.navigationMiddlewares)return!0;let i=[],s=performance.now();try{for(let r of this.navigationMiddlewares){let o=r.runAsyncAction(e,t,a,n,this.dispatch,this.getState);i.push(o)}}catch(e){return(0,d.getGenericLogger)().error(r,"navigation prevented by an exception in the middleware async action execution",e),!0}try{let t=await Promise.all(i),n=t.some(e=>!0===e),l=performance.now(),c=this.navigationMiddlewares.map(e=>e.middlewareName);return(0,d.getGenericLogger)().info(r,"Async action execution is complete for a view",{nextView:e,results:(0,o.A)(c,t),shouldTerminateNavigation:n,executionTime:l-s,nextTab:a.nextTab}),n}catch(e){return(0,d.getGenericLogger)().error(r,"navigation prevented by a promise rejection",e),!0}}executeDataTransformers(e,t,a,n){if(!a||!this.navigationMiddlewares)throw Error("Invalid paramaters in the data transformer");let r=e;for(let e of this.navigationMiddlewares)r=e.runDataTransformer(r,t,a,n,this.dispatch,this.getState);return r}async hasViewTransformed(e,t,a,i,o){if(e!==t){let s=i.nextTab===n.k6.Home,l=a===n.mq.Split?i.nextViewSet:{...i.nextViewSet,[a]:t},c=a===n.mq.Split?t:i.nextSplitView;if(a===n.mq.Secondary&&void 0===t){let e=l[n.mq.Primary],t=(0,p.W7)(this.getState()),a=(0,_.P)(e,t);await this.dispatch((0,m.hc)({entityId:a,windowId:i.windowId}))}let u=s?{...l,...this.dispatch((0,f.VO)({viewSet:l,windowId:i.windowId}))}:l,h={...i,nextViewSet:u,nextSplitView:c};return(0,d.getGenericLogger)().info(r,"View has been transformed",{container:a,initialView:e,transformedView:t,iterationCount:o}),{...await this.run(h,o+1),isViewTransformed:!0}}return{viewSet:i.nextViewSet,splitView:i.nextSplitView,terminateNavigation:!1,isViewTransformed:!1}}async run(e,t=0){let{nextViewSet:a,prevViewSet:o,nextSplitView:m,prevSplitView:f}=e||l.t0,_=(0,u.V)(this.getState()),p=(0,c.wP)(this.getState());if((0,s.A)(a))return{viewSet:a,splitView:m,terminateNavigation:!0};if(t>=5)return(0,d.getGenericLogger)().error(r,"navigation prevented by infinite data transforms loops"),{viewSet:a,splitView:m,terminateNavigation:!0};for(let s of i){let i;if(_&&!p&&s===n.mq.Split)continue;let l=s===n.mq.Split?m:a?.[s],c=s===n.mq.Split?f:o?.[s];if(!l&&!c)continue;let u=performance.now();if(this.middlewareResultByContainer.has(s)&&this.middlewareResultByContainer.get(s)===l){(0,d.getGenericLogger)().info(r,`Skipping middleware execution for ${s} container as we have cached value`,{initialView:l,iterationCount:t});continue}if(await this.executeAsyncActions(l,c,e,s))return{viewSet:a,splitView:m,terminateNavigation:!0};try{i=this.executeDataTransformers(l,c,e,s)}catch(e){return(0,d.getGenericLogger)().error(r,"navigation prevented by an exception in the data transformers",e),{viewSet:a,splitView:m,terminateNavigation:!0}}let{viewSet:h,splitView:g,terminateNavigation:A,isViewTransformed:b}=await this.hasViewTransformed(l,i,s,e,t),y=performance.now();if((0,d.getGenericLogger)().info(r,`Finish middleware execution for ${s} container`,{maybeTransformedViewSet:h,maybeTransformedSplitView:g,terminateNavigation:A,isViewTransformed:b,iterationCount:t,executionTime:y-u}),A)return{viewSet:h,splitView:g,terminateNavigation:!0};if(b)return{viewSet:h,splitView:g,terminateNavigation:!1};this.middlewareResultByContainer.set(s,i||void 0)}return{viewSet:a,splitView:m,terminateNavigation:!1}}},g=class{context={};middlewareName;constructor({middlewareName:e=""}={}){this.middlewareName=e,this.getMiddlewareContext=this.getMiddlewareContext.bind(this),this.setMiddlewareContext=this.setMiddlewareContext.bind(this)}asyncAction(e,t,a,n,r,i,{continueNavigation:o}){return o()}dataTransformer(e,t,a,n,r,i,o){return e}continueNavigation(){return Promise.resolve(!1)}terminateNavigation(e){return(0,d.getGenericLogger)().info(r,`${this.middlewareName}: ${e??"no reason provided"}`),Promise.resolve(!0)}getMiddlewareContext(){return this.context}setMiddlewareContext(e){this.context=e}runAsyncAction(e,t,a,n,r,i){return this.context={},this.asyncAction(e,t,a,n,r,i,{getMiddlewareContext:this.getMiddlewareContext,setMiddlewareContext:this.setMiddlewareContext,continueNavigation:this.continueNavigation,terminateNavigation:this.terminateNavigation.bind(this)})}runDataTransformer(e,t,a,n,r,i){return this.dataTransformer(e,t,a,n,r,i,{getMiddlewareContext:this.getMiddlewareContext,setMiddlewareContext:this.setMiddlewareContext})}};var A=a(0x198b59621),b=a(0x1fef2be00),y=a(0x70de3606),S=a(0x167d76333),E=a(0xa1832ae4),k=a(0x11c82607b),T=a(0x17a77d778),I=a(0x130084fd),w=a(0x1e743a3a5),C=a(0x2113f330b),v=a(0x1ee439e69);let x=(0,k.Ay)("Maybe clear the solution_template pref",async(e,t)=>{let a=t(),n=(0,v.H7)(a),r=(0,E.tc)(n),i=n.id;if(r)return;let o=(0,I.kY)(a),s=(0,I.$L)(a);if(o===w.n&&s===I.Hi.LIST&&!(0,A.Ut)(a))return void await e((0,C.c)({reason:"slack_first_crm_not_eligible"}));if(!(0,I.IG)(a)||!(0,I.to)(a))return;let l=!1;(0,b.g)(a)||(await e((0,T.IH)({reason:"solutions_gallery",teamId:i})),a=t());let c=(0,b.g)(a),d=(0,y.Il)(a),u=(0,S.F)(a);switch(s){case I.Hi.CANVAS:l=u;break;case I.Hi.LIST:l=d;break;case I.Hi.CHANNEL:l=c}l||await e((0,C.c)({reason:"maybe_clear_solution_template_pref"}))});x.meta={name:"maybeClearSolutionTemplatePref",key:"createThunkMaybeClearSolutionTemplatePref",description:"Maybe clear the solution_template pref"};var R=a(0xcc110d9),O=a(0x222fa86e4),N=a(0x12f41fc32);let D=(0,k.Ay)("Set the solution_template user pref, if the cookie is present",async e=>{let{type:t,template:a}=(0,O.Cq)();if(t&&a)try{await e((0,N.AZ)({pref:I.Bl,value:JSON.stringify({type:t,template:a,flow:I.zb.EXISTING_TEAM}),reason:"maybe_set_solutions_gallery_pref"}))}catch{await e((0,C.c)({reason:"maybe_set_solutions_gallery_pref"}))}finally{(0,R.NP)("solution_template",".slack.com")}});D.meta={name:"maybeSetSolutionsGalleryPref",key:"createThunkMaybeSetSolutionsGalleryPref",description:"Set the solution_template user pref, if the cookie is present"};let AttemptToSetSolutionsGalleryPref=class AttemptToSetSolutionsGalleryPref extends g{constructor(){super({middlewareName:"AttemptToSetSolutionsGalleryPref"})}async asyncAction(e,t,a,n,r,i,{continueNavigation:o}){return await r(D()),await r(x()),o()}};var L=a(0x139aa1a7),M=a(0x105ecbbed),F=a(0x16ed1b0dc),P=a(0x894679d7),U=a(0xb04c4a12),B=a(0x1ef125c78),G=a(0x24ba4b468);let H=[L.D.Channel,L.D.Thread];function willEditChannelBecomeInvisible(e,t,a){let{id:n,viewType:r}=a||{},{id:i}=t||{};return r===L.D.Channel&&!!(0,F.A)(n)&&!!e&&(!e.viewContext||e.viewContext===U.Y.MESSAGE_PANE)&&n===e.channelId&&i!==e.channelId}function willEditThreadBecomeInvisible(e,t,a){let{params:n,viewType:r}=a||{},{params:i,viewType:o}=t||{},{threadId:s}=n||{},{threadId:l}=i||{};return r===L.D.Thread&&!!(0,P.A)(s)&&!!e&&e.viewContext===U.Y.THREAD&&s===(0,M.Iu)(e.channelId,e.threadTs)&&(o!==L.D.Thread||l!==(0,M.Iu)(e.channelId,e.threadTs))}let W=class extends g{constructor(){super({middlewareName:"AttemptToStopEditingInChannel"}),this.asyncAction=this.asyncAction.bind(this)}isEligible(e){let{viewType:t}=e||{};return!!(t&&H.includes(t))}async asyncAction(e,t,a,r,i,o,{continueNavigation:s,terminateNavigation:l}){if(!this.isEligible(t))return s();let{windowId:c}=a,d=o(),u=(0,B.Kx)(d,{ignoreViewContext:!0,windowId:c===n.N2?String(n.N2):c});if(willEditChannelBecomeInvisible(u,e,t)||willEditThreadBecomeInvisible(u,e,t))try{await i((0,G.$)({cancelUnsavedEdits:!1,scroll:!0}))}catch{return l("navigation was canceled or threw an exception")}return s()}};var V=a(0x8b588d25),j=a(0x1c760ba43),K=a(0x15fe735ec),q=a(0x217553e42);let z=[L.D.Channel,L.D.Record,L.D.RecordChannelCreate];function willSalesforceRecordFormBecomeUnloaded(e,t){let{id:a,viewType:n,params:r}=t||{},{id:i,viewType:o,params:s}=e||{},l=n===L.D.Channel&&(0,F.A)(a)&&r?.tabId===j.fY.RecordOverview,c=n===L.D.Record,d=n===L.D.RecordChannelCreate;if(!l&&!c&&!d)return!1;let u=l&&(a!==i||r?.tabId!==s?.tabId),m=c&&(n!==o||r?.recordId!==s?.recordId),f=d&&(n!==o||a!==i);return u||m||f}function getRecordId(e,t){if(e.viewType===L.D.Record)return e.params?.recordId;if(e.viewType===L.D.RecordChannelCreate)return e.id;let a=(0,q.OL)(t,e.id);return(0,V.iJ)(a)}let AttemptToStopEditingSalesforceForm=class AttemptToStopEditingSalesforceForm extends g{constructor(){super({middlewareName:"AttemptToStopEditingSalesforceForm"}),this.asyncAction=this.asyncAction.bind(this)}isEligible(e){let{viewType:t}=e||{};return!!(t&&z.includes(t))}async asyncAction(e,t,a,n,r,i,{continueNavigation:o,terminateNavigation:s}){if(!t||!this.isEligible(t))return o();let l=getRecordId(t,i());if(!l)return o();if(willSalesforceRecordFormBecomeUnloaded(e,t))try{await r((0,K.N)({recordId:l,viewContainer:n}))}catch{return s("navigation was canceled or threw an exception")}return o()}};var $=a(0x2487bf97b);let Y=class extends g{constructor(){super({middlewareName:"CanvasSetScrollParam"})}dataTransformer(e,t,a,n,r,i,o){if(!e||e.viewType!==L.D.QuipCommentThread)return e;let s=a.context===$.b.HistoryStack||a.context===$.b.TabSwitch?"none":"scroll_to_section";return e?.params?.scrollBehavior===s?e:{...e,params:{...e.params,scrollBehavior:s}}}};var Q=a(0x1384f171);let Z=class extends g{constructor(){super({middlewareName:"EnsureActivityInboxMiddleware"})}dataTransformer(e,t,a,r,i,o){return a.nextTab===n.k6.ActivityInbox&&r===n.mq.Sidebar&&e?.viewType!==L.D.ActivityInbox||(0,Q.Lh)(o())&&e?.viewType===L.D.ActivityList?{id:L.D.ActivityInbox,viewType:L.D.ActivityInbox}:e}};var J=a(0x194add20b),X=a(0xe8e28706),ee=a(0x11ed04fa0),et=a(0x1ec69ee01),ea=a(0x280afe13),en=a(0x114ffe897),er=a(0x1b9d5cc0c),ei=a(0x1c9a3c4c1),eo=a(0x4b06b6e),es=a(0x1459852c4),el=a(0x5dd1c0f2),ec=a(0x133d6089b),ed=a(0xe684f705);let setTabIdOnView=(e,t)=>({...e,params:{...e.params,tabId:t}}),eu=class extends g{constructor(){super({middlewareName:"EnsureAppViewType"})}dataTransformer(e,t,a,n,r,i,o){var s,l,d,u,m;let f=i(),_=(0,c.wP)(f),p=(0,c.c_)(f),h=(0,ee.U6)(f),g=(0,X.tG)(f,e?.id),A=(0,q.OL)(f,e?.id);if(!(e&&((0,ec.A)(f,e.id)||(0,en.D)(A))))return e;let b=(0,ea.e)(A),y=(0,ed.nv)(f,b,{fetchIfMissing:!1}),S=(0,el.rQ)(f,(0,er.PV)(y)),E=(0,ei.D)(y),{isHomeEnabled:k}=(0,eo.NJ)(f,A.id);return((e,t,a,n,r,i,o,s)=>{let l=a===es.K.Threads,c=(0,et.$M)(t)||(0,en.D)(t)||!(r||l)?a:es.K.App;if(e?.params?.tabId){if(i&&l&&(n?.viewType!==L.D.AppSpace||n?.id!==e?.id)){let a=s?.profile?.api_app_id,n=(0,J.Zd)(a);if(n){if(e?.params?.tabId===es.K.App)return setTabIdOnView(e,n)}else if(e?.params?.tabId!==es.K.Chat&&e?.params?.tabId!==es.K.Threads&&e?.params?.tabId!==es.K.About&&(0,et.H9)(t))return setTabIdOnView(e,o?es.K.Threads:es.K.Chat)}return e?.params?.tabId===es.K.Messages&&a===es.K.Threads?setTabIdOnView(e,es.K.Threads):e?.params?.tabId!==es.K.Home||r?e:setTabIdOnView(e,c)}return setTabIdOnView(e,c)})((s=e,l=h,d=A,u=E,m=S,s.viewType===L.D.Channel&&l&&(0,en.D)(d)?s:m?s.viewType===L.D.AppSpace&&s.params?.tabId===es.K.Messages?s:{...s,viewType:L.D.AppSpace,params:{...s.params??{},tabId:es.K.Messages}}:u&&s.viewType!==L.D.AgentHomeConversation?{...s,viewType:L.D.AgentHomeConversation,params:{...s.params??{},channelId:d.id}}:s.viewType===L.D.Channel?{...s,viewType:L.D.AppSpace}:s),A,g,t,k,_,p,y)}};var em=a(0x12185e091),ef=a(0xbc72568a),e_=a(0x1bc939146),ep=a(0x113d1778),eh=a(0x18a17ca8f),eg=a(0x189f08ca8);let eA=class extends g{constructor(){super({middlewareName:"EnsureCannedCanvasTemplates"}),this.asyncAction=this.asyncAction.bind(this)}async asyncAction(e,t,a,n,r,i,{continueNavigation:o}){let s=i(),l=(0,eg.Q)(s,e?.id),c=(0,ef.sk)(s),d=(0,eh.lh)(s);if(t&&e&&t.id!==e.id&&t.id!==j.fY.AddCanvas&&d&&r((0,ep.PC)(!1)),!e||e.viewType!==L.D.Channel||!(0,F.A)(e.id)||!l||c.length)return o();let u=(0,q.OL)(s,e?.id);return((0,em.LI)(u)||l)&&await r((0,e_.Dg)()),o()}};var eb=a(0xf2e7528e),ey=a(0x21da4684a),eS=a(0x1983d9927),eE=a(0x154933c60),ek=a(0xf159cb74),eT=a(0x73d7ee71),eI=a(0x18b8a1e5b),ew=a(0xbe2be077),eC=a(0x23255e234),ev=a(0x1aad32b98),ex=a(0x3711e82d),eR=a(0x45012309),eO=a(0x6d72337),eN=a(0x9b971e7e),eD=a(0x14149c126),eL=a(0xbea6f915);let eM=class extends g{constructor(){super({middlewareName:"EnsureChannel"}),this.asyncAction=this.asyncAction.bind(this)}async asyncAction(e,t,a,r,i,o,{continueNavigation:s,terminateNavigation:l}){let c=o();if(!e||e.viewType!==L.D.Channel||!(0,F.A)(e.id))return s();let{id:d}=e,u=(0,q.OL)(c,d,!1);if((0,em.hc)(u)||(u=await this.fetchChannel(i,d)),!u){let e=a.navigateParams?.sourceContainer;return(this.maybeDisplayDeadEndLinkDialog(i,e),a.nextTab===n.k6.Search)?s():l(`could not fetch channel ${d}`)}return await this.ensureChannelWorkspaceAccess(i,c,u)?s():l("cannot access channel workspace")}async fetchChannel(e,t){try{let a=await e((0,eE.pX)({ids:[t],reason:"navigateInMainWindow/middleware/ensure-channel",callSource:eE.aI.EnsureChannel}));if(!a)return null;let{channels:n,resolved:r}=a;if(!r||!r.includes(t))return null;return n[0]}catch{return null}}async ensureChannelWorkspaceAccess(e,t,a){if("on"!==(0,eD._Z)(t,"ug_ensure_channel_workspace_access")||!(0,ew.k)(t)||(0,em.JM)(a)||(0,eI.O)(a)||(0,em.Zp)(a))return!0;let n=(0,ed.cA)(t),r=(0,eb.A)((0,eN.VO)(t),(0,ev.HI)(n)),i=(0,eT.R)(t,a)||[],o=(0,ek.c)(a),l=[];if(i.length>0?l=i:o&&(l=[o]),!(0,s.A)((0,ey.A)(r,l)))return!0;if((0,eR.eo)({state:t}).track(ex.EventId.CHANNEL_NAVIGATION_BLOCKED,{contexts:{core:{channel_id:a.id,context_team_id:o,internal_team_ids:i}}}),!(0,s.A)(l))try{await this.showCannotAccessWorkspaceDialog(e,n,a.id,l[0])}catch{}return!1}async showCannotAccessWorkspaceDialog(e,t,a,n){if((0,eC.P)(t))return void await e((0,eO.EM)());let r=await e((0,eL.gH)({teamId:n,reason:"navigateInMainWindow/middleware/ensure-channel"}));r?r.is_closed?await e((0,eO.XP)({teamId:n,channelId:a})):r.is_open?await e((0,eO.JH)({teamId:n,channelId:a})):await e((0,eO.EM)()):(0,d.getGenericLogger)().info("ENSURE-CHANNEL-MIDDLEWARE","Could not fetch enterprise team",n)}maybeDisplayDeadEndLinkDialog(e,t){(t===n.mq.Primary||t===n.mq.Secondary)&&e((0,eS.e)())}};var eF=a(0x9271cc31);let EnsureChannelHasParentTab=class EnsureChannelHasParentTab extends g{constructor(){super({middlewareName:"EnsureChannelHasParentTabMiddleware"}),this.dataTransformer=this.dataTransformer.bind(this)}dataTransformer(e,t,a,r,i,o){let s=o(),l="on"===(0,eD._Z)(s,"add_messages_tab_id");if(!e)return e;let c=a.nextTab===n.k6.Home,d=a.windowId!==n.N2&&"main"!==a.windowId;if(!l&&!c&&!d||e?.params?.parentTab)return e;if(r===n.mq.Secondary&&e.viewType===L.D.Thread&&e?.params?.threadId){let t=(0,eF.F8)(s,{tab:n.k6.Home,container:n.mq.Primary}),{channelId:a}=(0,M.Sb)(e.params.threadId);if(t?.params?.parentTab&&t?.params?.parentTab===a)return{...e,params:{...e.params,parentTab:t.params.parentTab}}}else if(r===n.mq.Primary&&(0,F.A)(e.id)&&e.viewType===L.D.Channel)return e.params?{...e,params:{...e.params,parentTab:e.id}}:{...e,params:{parentTab:e.id}};return e}};var eP=a(0x12cbe336e);let eU=class extends g{constructor(){super({middlewareName:"EnsureDUISSidebarPrototypeMiddleware"})}dataTransformer(e,t,a,r,i,o){return(0,eP.hi)(o())?e?.viewType===L.D.Search?{id:L.D.SearchPrimaryPrototype,viewType:L.D.SearchPrimaryPrototype}:a.nextTab===n.k6.ActivityInboxSidebarPrototype&&r===n.mq.Primary&&e?.viewType!==L.D.ActivityInbox?{id:L.D.ActivityInbox,viewType:L.D.ActivityInbox}:e:e}};let EnsureMessagesTabHasTabId=class EnsureMessagesTabHasTabId extends g{constructor(){super({middlewareName:"EnsureMessagesTabHasTabIdMiddleware"}),this.dataTransformer=this.dataTransformer.bind(this)}dataTransformer(e,t,a,r,i,o){let s=o(),l="on"===(0,eD._Z)(s,"add_messages_tab_id");return!e||!l||e?.params?.tabId?e:r===n.mq.Primary&&e.viewType===L.D.Channel&&e?.params?.parentTab?{...e,params:{...e.params,tabId:j.fY.Channel}}:e}};let MaybeCloseSecondaryViewAfterSplit=class MaybeCloseSecondaryViewAfterSplit extends g{constructor(){super({middlewareName:"MaybeCloseSecondaryViewAfterSplit"})}dataTransformer(e,t,a,r,i,o,s){if(r!==n.mq.Secondary)return e;let{prevSplitView:l,nextSplitView:c}=a;if(!c||l?.id===c?.id||!(e&&(({secondaryView:e,splitView:t})=>{if(!e||!t)return!1;switch(e.viewType){case L.D.Thread:return t.params?.threadId===e.params?.threadId;case L.D.Channel:case L.D.Canvas:case L.D.List:return t.id===e.id;case L.D.AiMessageAnalysis:return t.params?.channelId===e.params?.channelId;case L.D.QuipCommentThread:return t.params?.commentThreadId===e.params?.commentThreadId;default:return!1}})({secondaryView:e,splitView:c})))return e}};var eB=a(0x1aad5a225);let eG=class extends g{constructor(){super({middlewareName:"OpenConversationWithIds"}),this.asyncAction=this.asyncAction.bind(this)}async asyncAction(e,t,a,r,i,o,{continueNavigation:s}){let l=o();if(!e||e.viewType!==L.D.Channel||a.nextTab!==n.k6.Home)return s();let{id:c}=e,d=(0,q.OL)(l,c);return(0,em.yz)(d)||(0,em.LI)(d)?(0,et.nT)(d)?s():i((0,eE.jP)({channel:c,reason:"navigateInMainWindow/OpenConversationWithIds",memberIds:[]})).then(e=>(e?.channel&&i((0,eB.F)({channel:e.channel})),s())).catch(()=>s()):s()}};var eH=a(0x132d5e359),eW=a(0x895c7512),eV=a(0x1f57aea47),ej=a(0x1fcbb004d);let eK=class extends g{constructor(){super({middlewareName:"PreventVideoRecorderModalClose"}),this.asyncAction=this.asyncAction.bind(this)}async asyncAction(e,t,a,n,r,i,{continueNavigation:o,terminateNavigation:s}){let l=i();if((0,eV.iS)(l))try{await new Promise((e,t)=>{r((0,eH.P)({openModalProps:{isStackable:!0},onConfirmClose:()=>{r((0,eW.U)(!1)),r((0,ej.O)({closeAll:!0})),e()},onCancelClose:()=>{t()}}))})}catch{return s("navigation was canceled or threw an exception")}return o()}};var eq=a(0xbe0b63ff),ez=a(0xeb02388),e$=a(0xd6a16321),eY=a(0xbd3de346),eQ=a(0xf3719a28),eZ=a(0x1d774a049),eJ=a(0x14ea3ce99);let eX=class extends g{constructor(){super({middlewareName:"RedirectChannelCanvasToCanvas"})}dataTransformer(e,t,a,n,r,i,o){let s=i();if(!e||e.viewType!==L.D.ChannelCanvas)return e;let l=e?.params?.channelId,c=(0,q.OL)(s,l),{fileId:d}=(0,eQ.H)(c,!0),u=d&&(0,eJ.Lp)(s,d);if(!(u&&(0,eq.uz)(u)&&(0,eY.DQ)(u)))return e;let m=(0,ee.vT)(s,l),f=e.params?.sectionIdsToHighlightOverride,_=e.params?.entityId,p={fileId:d,source:m?eZ.f.CHANNEL_TAB:eZ.f.CHANNEL_CANVAS_GENERIC_SOURCE,channelId:l};if(m){let e=(0,ez.G)(s,{channelId:l})?.find(({type:e,data:t})=>e===j.Xy.Canvas&&t?.fileId===d);if(e)return(0,e$.sL)((0,e$.mo)({id:_,clogParams:p,sectionIdsToHighlightOverride:f}),l,e.id)}return(0,e$.mo)({id:_,clogParams:p,sectionIdsToHighlightOverride:f})}};var e0=a(0x19d55d0e1),e1=a(0x20679dcfc),e2=a(0x1d43eb6d7),e3=a(0x107e97a6b);let e4=class extends g{constructor(){super({middlewareName:"RedirectFileChannel"})}dataTransformer(e,t,a,n,r,i,o){let s=i(),l=(0,e2.Ay)({getState:i,label:"redirect-file-channel"});if(!e)return e;if(e.viewType===L.D.Channel){let t=e.id;if(!(0,e0.OR)(s,t))return e;let a=(0,e1.l)(t),n=a&&(0,eJ.Lp)(s,a),r=n&&(0,eq.uz)(n)&&(0,eY.DQ)(n),i=n&&(0,eq.uz)(n)&&(0,eY.l7)(n),o=e.params?.startTs,c=e.uiState?.[t]?.highlightTs;if(r)return o?(l.error(Error("Navigate toMessage() got redirected since it was a file channel")),(0,e$.m3)({channelId:t,threadTs:o,highlightTs:c})):(l.error(Error("Navigate toChannel() got redirected since it was a file channel")),(0,e$.mo)({id:(0,e3.Lo)({id:a})}));if(i)return o?(l.error(Error("Navigate toMessage() got redirected since it was a file channel")),(0,e$.$V)({channelId:t,threadTs:o,highlightTs:c})):(l.error(Error("Navigate toChannel() got redirected since it was a file channel")),(0,e$.st)({listId:a}))}return e}};var e6=a(0xf9cb31c6),e9=a(0xd93ecf94);let e5=class extends g{constructor(){super({middlewareName:"RedirectHuddleRecordChannel"})}dataTransformer(e,t,a,r,i,o,s){let l=o(),c=(0,q.OL)(l,e?.id);if(!(0,e6.a$)(l)||!(0,em.cb)(c))return e;if(r===n.mq.Primary&&e?.viewType===L.D.Channel){let e=Object.values((0,e9.h8)(l,c.id)).find(e=>"huddle_thread"===e.subtype)||void 0;if(void 0!==e)return(0,e$.UX)({channelId:c.id,threadTs:e.ts})}return e}},e8=new Set(["RecentCanvases","CanvasesCreatedByYou","CanvasesSharedWithYou","BrowseFiles","MoreFilesSidebar","BrowseLists","MoreListsSidebar","RecentFiles","FilesCreatedByYou","FilesSharedWithYou"]),e7=class extends g{constructor(){super({middlewareName:"RedirectLegacyFileBrowsersToUnified"})}dataTransformer(e,t,a,r,i,o,s){return e?.viewType?e8.has(e.viewType)?r===n.mq.Sidebar?(0,e$.AQ)():(0,e$.s8)():e:e}};let RedirectQuipViewType=class RedirectQuipViewType extends g{constructor(){super({middlewareName:"RedirectFileChannel"})}dataTransformer(e,t,a,n,r,i,o){let s=(0,e2.Ay)({getState:i,label:"redirect-quip-view-type"});return e&&"quip"===e.viewType.toLowerCase()?(s.warn("Navigate to ViewTypes.Quip got redirected to ViewTypes.Canvas"),(0,e$.mo)({id:(0,e3.Lo)({id:e.id||e.params?.fileId})})):e}};var te=a(0x23a2f925a),tt=a(0x10027d8bc),ta=a(0x195f178ea),tn=a(0x814e7940),tr=a(0xeb4f1a4d),ti=a(0x1294547f8),to=a(0x93a9f6f3);let RedirectSlackbotBadge=class RedirectSlackbotBadge extends g{constructor(){super({middlewareName:"RedirectSlackbotBadge"})}dataTransformer(e,t,a,n,r,i,o){let s=i();if(!(0,tt.Dj)(s))return e;let l=(0,q.o2)(s,"USLACKBOT");if(!l||e?.viewType!==L.D.Channel||e?.id!==l||e?.params?.tabId===j.fY.SlackbotAiHistory)return e;let c=(0,ti.VR)(s);if(!c)return e;let d=j.fY.SlackbotAiHistory,u=(0,te.sb)(s)!==to.Gf.NOT_STARTED;if(1===c&&u){if(e?.params?.tabId===j.fY.SlackbotAiConversation)return e;let t=(0,tn.b5)(s,l);t&&(r((0,tr.xM)({channelId:l,threadTs:t})),r((0,ta.W)({channelId:l,ts:t})),d=j.fY.SlackbotAiConversation)}let m=e?.params?.slackbotAiSource;return m?(0,e$.zd)(l,{tabId:d},m,!0):(0,e$.id)(l,{tabId:d})}};var ts=a(0x3ca4e1cc);let tl=class extends g{constructor(){super({middlewareName:"RedirectSlackbotHistory"})}dataTransformer(e,t,a,r,i,o,s){let l=o(),c=(0,ts.XH)(l);if(!(0,tt.Dj)(l)||t?.params?.tabId===j.fY.SlackbotAiConversation&&!(c&&e?.params?.workObjectContext)||e?.viewType!==L.D.Thread||r===n.mq.Secondary)return e;let d=(0,q.o2)(l,"USLACKBOT");if(!d)return e;let{channelId:u,threadTs:m}=(0,M.Sb)(e?.params?.threadId);if(u!==d)return e;i((0,tr.xM)({channelId:d,threadTs:m}));let f=(0,e$.id)(u,{tabId:j.fY.SlackbotAiConversation});return c&&e?.params?.workObjectContext?{...f,params:{...f.params,workObjectContext:e.params.workObjectContext,workObjectTitle:e.params.workObjectTitle}}:f}};let RemoveParentTabFromQuipThread=class RemoveParentTabFromQuipThread extends g{constructor(){super({middlewareName:"RemoveParentTabFromQuipThreadMiddleware"}),this.dataTransformer=this.dataTransformer.bind(this)}dataTransformer(e,t,a,r,i,o){return(0,ee.U6)(o())&&e&&r===n.mq.Primary&&e.viewType===L.D.QuipCommentThread&&e.params?.parentTab?{...e,params:{...e.params,parentTab:void 0,tabId:void 0}}:e}};var tc=a(0x171b52ec3),td=a(0x237e0ebef);let tu=class extends g{constructor(){super({middlewareName:"SyncSearchTab"})}dataTransformer(e,t,a,r,i,o,s){let l=o(),{nextViewSet:c,prevViewSet:d,nextTab:u}=a;if(u!==n.k6.Search||e?.viewType===L.D.SearchEmpty||r!==n.mq.Primary&&r!==n.mq.Secondary)return e;let m=c[n.mq.Sidebar]?.params?.searchId,f=d?.[n.mq.Sidebar]?.params?.searchId;if(m===f)return e;let _=f?(0,tc.Wj)(f):void 0,p=(0,tc.Wj)(m),h=!(0,td.nj)(l)&&!_,g=!!_&&p.requestQuery!==_?.requestQuery,A=e&&e.viewType===L.D.Channel&&(0,F.A)(e.id)&&(0,em.QR)((0,q.OL)(l,e.id,!1)),b=e;return(h||g||A)&&(b=r===n.mq.Secondary?void 0:{id:L.D.SearchEmpty,viewType:L.D.SearchEmpty}),b}};var tm=a(0xaea9ff04);let TriggerMegaphoneGalleryFlow=class TriggerMegaphoneGalleryFlow extends g{constructor(){super({middlewareName:"TriggerMegaphoneGalleryFlow"})}async asyncAction(e,t,a,n,r,i,{continueNavigation:o}){let s=i(),l=(0,I.to)(s),c=(0,I.pE)(s),d=(0,I.l8)(s),u=a?.prevTab,m=a?.prevViewSet?.primary?.viewType;if("home"!==u||!l)return o();switch(m?.toLowerCase()){case"canvas":c&&r((0,tm.t)({templateType:"canvas"}));break;case"list":d&&r((0,tm.t)({templateType:"list"}))}return o()}};var tf=a(0x4f725d55);let t_=class extends g{constructor(){super({middlewareName:"UserIdToDMIdMiddleware"}),this.asyncAction=this.asyncAction.bind(this),this.dataTransformer=this.dataTransformer.bind(this)}isEligible(e){if(!e)return!1;let{id:t}=e;return!!(0,tf.A)(t)}async asyncAction(e,t,a,n,r,i,{setMiddlewareContext:o,continueNavigation:s,terminateNavigation:l}){if(!this.isEligible(e))return s();let{id:c}=e,d=(0,q.Pu)(i(),c);if(d&&(0,et.nT)(d))return o({fetchedDMId:d.id}),s();let{channel:u}=await r((0,eE.jP)({memberIds:[c],reason:"navigateInMainWindow/UserIdToDMIdMiddleware"}));return u?.id?(r((0,eB.F)({channel:u})),o({fetchedDMId:u.id}),s()):l("attempted to open a new conversation but didn't get back a channel object")}dataTransformer(e,t,a,n,r,i,{getMiddlewareContext:o}){if(!e||!(0,tf.A)(e.id))return e;let{fetchedDMId:s}=o();return s?{...e,id:s}:e}},tp=(0,k.Ay)("Run navigation middlewares",async(e,t,a)=>{try{let n=(e=>{let t=[];switch(e){case $.b.ClientBoot:t.push(new EnsureChannelHasParentTab),t.push(new EnsureMessagesTabHasTabId),t.push(new RedirectQuipViewType),t.push(new eX),t.push(new AttemptToSetSolutionsGalleryPref),t.push(new eu),t.push(new Y),t.push(new Z),t.push(new eU);break;case $.b.HistoryStack:t.push(new RedirectQuipViewType),t.push(new eX),t.push(new Y);break;case $.b.TabSwitch:t.push(new t_),t.push(new W),t.push(new AttemptToStopEditingSalesforceForm),t.push(new eK),t.push(new eG),t.push(new eu),t.push(new e7),t.push(new tu),t.push(new e5),t.push(new EnsureChannelHasParentTab),t.push(new EnsureMessagesTabHasTabId),t.push(new TriggerMegaphoneGalleryFlow),t.push(new Y),t.push(new Z),t.push(new eU);break;case $.b.Navigation:t.push(new t_),t.push(new W),t.push(new AttemptToStopEditingSalesforceForm),t.push(new eK),t.push(new eG),t.push(new eM),t.push(new eu),t.push(new e4),t.push(new eX),t.push(new e7),t.push(new RedirectQuipViewType),t.push(new tu),t.push(new e5),t.push(new eA),t.push(new EnsureChannelHasParentTab),t.push(new EnsureMessagesTabHasTabId),t.push(new TriggerMegaphoneGalleryFlow),t.push(new MaybeCloseSecondaryViewAfterSplit),t.push(new Y),t.push(new tl),t.push(new RedirectSlackbotBadge),t.push(new Z),t.push(new eU);break;case $.b.ChildWindowMount:t.push(new t_),t.push(new eG),t.push(new eu),t.push(new RedirectQuipViewType),t.push(new eX),t.push(new e4),t.push(new RemoveParentTabFromQuipThread),t.push(new Y);break;case $.b.ChildWindowHistoryStack:t.push(new RedirectQuipViewType),t.push(new eX),t.push(new Y);break;case $.b.ChildWindowNavigation:t.push(new t_),t.push(new W),t.push(new AttemptToStopEditingSalesforceForm),t.push(new eG),t.push(new eM),t.push(new eu),t.push(new e4),t.push(new RedirectQuipViewType),t.push(new eX),t.push(new e5),t.push(new EnsureChannelHasParentTab),t.push(new EnsureMessagesTabHasTabId),t.push(new Y),t.push(new MaybeCloseSecondaryViewAfterSplit);break;case $.b.RemoveView:t.push(new AttemptToStopEditingSalesforceForm)}return t})(a.context);(0,d.getGenericLogger)().info(r,"Starting a new navigation middleware execution",{context:a.context,nextViewSet:a.nextViewSet,nextSplitView:a.nextSplitView,middlewareCount:n.length,nextTab:a.nextTab});let i=new h(n,e,t),o=performance.now(),s=await i.run(a),l=performance.now();return(0,d.getGenericLogger)().info(r,"Navigation middleware execution is complete",{maybeUpdatedViewSet:s.viewSet,maybeUpdatedSplitView:s.splitView,terminateNavigation:s.terminateNavigation,executionTime:l-o,nextTab:a.nextTab}),s}catch(e){return(0,d.getGenericLogger)().warn(r,"navigation prevented by a generic exception",e),{viewSet:null,splitView:null,terminateNavigation:!0}}});tp.meta={name:"maybeRunNavigationMiddlewares",key:"createThunkMaybeRunNavigationMiddlewares",description:"Run navigation middlewares"}},0x2006c4c29:(e,t,a)=>{"use strict";a.d(t,{B:()=>$});var n=a(0x197c69854),r=a(0x21708578c),i=a(0x21f3c49e8),o=a(0x361eb55d),s=a(0x1e9e787c8),l=a(0x16ed4f707),c=a(0x2d667f7d),d=a(0xe0688275),u=a(0x139aa1a7),m=a(0x1db69cda),f=a(0x19895585a);let _=[u.D.Canvas,u.D.List,u.D.BrowseUnifiedFiles,u.D.BrowseUnifiedFilesLists,u.D.BrowseUnifiedFilesCanvases,u.D.BrowseUnifiedFilesExternalResults,u.D.DeletedUnifiedFiles,u.D.AssignedTasks,u.D.ExternalFile],maybePreserveSidebarOnViewSet=(e,t,a)=>{if(!t||!a)return e;let n=(0,m.A)(e),r=n[f.mq.Primary];return r&&_.includes(r.viewType)?(n[f.mq.Sidebar]=t,n):e};var p=a(0xd6a16321),h=a(0x105ecbbed),g=a(0x16ed1b0dc),A=a(0x11c82607b);let b=(0,A.Ay)("Calculates the final viewset when navigating in single column mode",(e,t,{id:a,viewType:n,params:r,previousViewSet:i,uiState:o})=>{if(i?.[f.mq.Primary]?.viewType===u.D.AiSummaryDetails&&((0,g.A)(a)&&n===u.D.Channel||"thread"===a&&r?.threadId))return{[f.mq.Primary]:i[f.mq.Primary],[f.mq.Secondary]:{id:a,params:r,uiState:o,viewType:n}};if("thread"===a&&r?.threadId){let{channelId:e}=(0,h.Sb)(r.threadId);return{[f.mq.Primary]:{id:e,viewType:u.D.Channel},[f.mq.Secondary]:{id:"thread",params:r,uiState:o,viewType:u.D.Thread}}}if("comment_thread"===a&&r){let e=r.entityId,t=(0,p.mo)({id:e});return{[f.mq.Primary]:t,[f.mq.Secondary]:{id:"comment_thread",params:r,uiState:o,viewType:u.D.QuipCommentThread}}}if("activity_history"===a&&r?.entityId){let e=r.entityId,t=(0,p.mo)({id:e});return{[f.mq.Primary]:t,[f.mq.Secondary]:{id:"activity_history",params:r,uiState:o,viewType:u.D.QuipActivityHistory}}}if("rimeto_profile"===a&&r?.memberId&&i?.primary?.id)return{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:"rimeto_profile",params:r,uiState:o,viewType:u.D.Profile}};if("user_groups"===a&&r?.userGroupId&&i?.primary?.id)return{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:"user_groups",params:r,uiState:o,viewType:u.D.UserGroup}};if("files"===a&&r?.fileId&&i?.primary?.id)return{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:"files",params:r,uiState:o,viewType:u.D.FileDetails}};if("ai_summary_details"===a&&r?.aiSummaryId&&r?.channelId&&i?.primary?.id)return{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:"ai_summary_details",params:r,uiState:o,viewType:u.D.AiSummaryDetails}};if(n===u.D.ListRecordDetails)return{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:a,params:r,uiState:o,viewType:n}};let s=i?.[f.mq.Primary]?.viewType;return n===u.D.Channel&&s&&[u.D.List].includes(s)||n===u.D.SearchInChannel?{[f.mq.Primary]:i?.primary,[f.mq.Secondary]:{id:a,params:r,uiState:o,viewType:n}}:{[f.mq.Primary]:{id:a,params:r,uiState:o,viewType:n}}});b.meta={name:"buildViewSetForSingleColumnMode",key:"createThunkBuildViewSetForSingleColumnMode",description:"Calculates the final viewset when navigating in single column mode"};var y=a(0x1ede77aa4),S=a(0x1ec68d6a3),E=a(0x1459852c4),k=a(0x14149c126),T=a(0x1d78cd5f7),I=a(0x9271cc31),w=a(0x117f78ac8),C=a(0x16082db4b);let v=(0,A.Ay)("Create a new view set for a child window based on the incoming navigation request",(e,t,a)=>{let n,{windowId:r,id:m,viewType:_,params:p,options:g,sourceContainer:A}=a,v=t(),x="on"===(0,k._Z)(v,"unified_files_browser_child_window_2"),R=(0,C.j)(v,{windowId:r}),O=(0,I.hZ)(v,{windowId:r}),N=(0,I.mx)(v,{windowId:r}),D=(0,l.J)(v,{id:m,viewType:_,sourceContainer:A,currentViewSet:(0,I.hZ)(v,{windowId:r}),params:p,options:g,windowId:r}),L=R?.columnMode;if(D===f.mq.Split)n={...O},N={id:m,params:p,uiState:void 0,viewType:_};else if(L===w.oZ.Single)n=e(b({id:m,viewType:_,params:p,previousViewSet:O,uiState:void 0})),(0,S.getGenericLogger)().info(o.o,"Built view set for single column",{viewSet:n});else{let a=g?.preserveExistingSecondaryView??!1;if(D===f.mq.Secondary){let o=(0,I.Yi)(v,{container:f.mq.Primary,windowId:r});if(!o?.id)return;let l={id:m,params:p,uiState:void 0,viewType:_},c=O?.[f.mq.Sidebar],b={[f.mq.Primary]:o,[f.mq.Secondary]:l};b=(0,s.L)(b,t,{dangerouslyOverrideRouting:p?.dangerouslyOverrideRouting});let S=(0,d.D)({sourceContainer:A,prevViewSet:O,nextViewSet:b,windowId:r,options:g},t);S&&(l.prev=S);let k=(n=e((0,T.VO)({viewSet:maybePreserveSidebarOnViewSet(b,c,x),windowId:r,preserveExistingSecondaryView:a,dangerouslyOverrideRouting:p?.dangerouslyOverrideRouting})))[f.mq.Primary],w=(0,y.K)(v,k?.id)&&k?.params?.tabId===E.K.App;if("thread"===l.id&&p?.highlightRoot&&!(0,i.A)(k)&&!w&&k?.viewType!==u.D.AiSummaryDetails&&k?.viewType!==u.D.SearchSummary){let{threadTs:e}=(0,h.Sb)(l?.params?.threadId);n[f.mq.Primary].params={startTs:e},n[f.mq.Primary].uiState=void 0}}if(!n){let t=O?.[f.mq.Sidebar],i={[f.mq.Primary]:{id:m,params:p,uiState:void 0,viewType:_}};n=e((0,T.VO)({viewSet:maybePreserveSidebarOnViewSet(i,t,x),windowId:r,preserveExistingSecondaryView:a,dangerouslyOverrideRouting:p?.dangerouslyOverrideRouting}))}let o=(0,c.H)({prevViewSet:O??{},nextViewSet:n,options:g,containerType:D});n.primary&&o&&(n.primary={...n.primary,prev:o})}return{container:D,viewSet:n,splitView:N}});v.meta={name:"getNextChildWindowViewSet",key:"createThunkGetNextChildWindowViewSet",description:"Create a new view set for a child window based on the incoming navigation request"};var x=a(0x2487bf97b),R=a(0x56f7449b),O=a(0x1862e217b),N=a(0x8f58d804),D=a(0x3711e82d),L=a(0x45012309),M=a(0x24558b75f),F=a(0x177e6bba8),P=a(0x691ce3ab),U=a(0x4bdacb39),B=a(0x1ad496a28),G=a(0xfb848f2e),H=a(0x10baafd1e),W=a(0x19969407e),V=a(0x1731631dc),j=a(0x234807d08),K=a(0xb3515851);let q="NAVIGATE-IN-CHILD-WINDOW",z="NAVIGATE-IN-CHILD-WINDOW-ERROR",$=(0,A.Ay)("Call the navigate method of a specific ViewContainer",async(e,t,a)=>{let i=t(),{windowId:o,id:s,viewType:l,params:c,uiState:d,options:m,shouldNavigateInContext:_=!0,sourceContainer:p}=a,h=(0,V.yX)(i);if((0,S.getGenericLogger)().info(q,`Starting a new navigation event for child window ${o}`,{id:s,viewType:l,viewParams:c}),!(0,N.A)(i,s))return void(0,S.getGenericLogger)().info(z,`Navigation request in ${o} stopped`,{id:s});if(((0,g.A)(s)||"thread"===s)&&!(0,M.n3)(i))return void(0,S.getGenericLogger)().info(z,`Navigation request in ${o} to channel/thread stopped`,{id:s});if(!_)return void e((0,O.e)());(0,L.eo)({state:i}).track(D.EventId.CLIENT_WINDOWING,{contexts:{ui_context:{action:D.UiAction.CLICK,step_variant:"navigate",ui_properties:{display_name:l}}}});let A=(0,I.hZ)(i,{windowId:o}),b=(0,I.mx)(i,{windowId:o}),{container:y,viewSet:E,splitView:k}=e(v(a))??{container:void 0,tab:void 0,viewSet:void 0,splitView:void 0};if(!E)return;let{viewSet:T,splitView:w,terminateNavigation:C}=await e((0,n.F)({context:x.b.ChildWindowNavigation,prevViewSet:A,nextViewSet:E,windowId:o,navigateParams:{id:s,viewType:l,params:c,uiState:d,sourceContainer:p},prevSplitView:b,nextSplitView:k}));if(C||!T)return void(0,S.getGenericLogger)().info(q,`Terminating navigation due to ${C?"middleware terminating navigation":"no view set"}`);(0,S.getGenericLogger)().info(q,"Built view set after middleware",{viewSet:T});let $=e((0,W.Y)({navigateInPlace:m?.navigateInPlace,targetViewSet:T,targetContainer:y,windowId:o})),Y={prevViewSet:A,nextViewSet:T,navigateParams:{id:s,viewType:l,params:c,uiState:d,sourceContainer:p,destinationContainer:y,ignoreFocusHistory:m?.ignoreFocusHistory},windowId:o,triggerType:R.w.CHILD_WINDOW_NAVIGATION};e((0,U.c)(Y));let Q=$?G.A:H.A;if(h&&y===f.mq.Split&&w){let t=!m?.forceRenderInSplitView&&(!c?.tabId||l===u.D.AppSpace),a=(0,I.mx)(i,{windowId:o}),n=t?a:void 0,r=n?{...w,prev:n}:w;e((0,B.Wx)({view:(0,j.Z)(r),windowId:o})),e((0,F.q)({view:r,windowId:o,isSplitView:!0})),(0,S.getGenericLogger)().info(q,"Applying changes to the split container in child window",{view:w})}$&&(0,S.getGenericLogger)().info(q,`Replacing last history entry from ${m?.navigateInPlace?"navigateInPlace":"duplicate view set"}`),e(Q({childWindowId:o,viewSet:T})),e((0,r.C)(Y)),(0,P.dispatchForClientStore)((0,K.M)())});$.meta={name:"navigateInChildWindow",key:"createThunkNavigateInChildWindow",description:"Call the navigate method of a specific ViewContainer"}},0xae1a570c:(e,t,a)=>{"use strict";let n;a.d(t,{k:()=>eL});var r=a(0xf87a4e28),i=a(0x361eb55d),o=a(0x197c69854),s=a(0x21708578c),l=a(0x19895585a),c=a(0x117f78ac8),d=a(0x1e9e787c8),u=a(0x16ed4f707),m=a(0x1384f171),f=a(0x139aa1a7),_=a(0x22fe164e7),p=a(0x3e058968),h=a(0x10027d8bc),g=a(0x22d51fee8),A=a(1927545e3),b=a(0x12185e091),y=a(0x280afe13),S=a(0x70de3606),E=a(0x1b9d5cc0c),k=a(0x4cdbb756),T=a(0x94d4d4bb),I=a(0x105ecbbed),w=a(0x382cbff6),C=a(0x12cbe336e),v=a(0x1b3ecb96a),x=a(0x1cf0d97e1);let R=(0,x.Ay)((e,t)=>{switch(t?.viewType){case f.D.AboutWorkspace:return t.id;case f.D.Channel:return(0,v.l)(e,t.id);case f.D.ExternalWorkspaceChannelBrowser:case f.D.ExternalWorkspacePeopleBrowser:return t.params?.workspaceId;case f.D.ExternalWorkspaceAllowedOrgPane:case f.D.Canvas:return t.params?.externalWorkspaceId;default:return}});R.meta={name:"getExternalSelfWorkspaceIdFromView",key:"createSelectorGetExternalSelfWorkspaceIdFromView",description:(e,t)=>{switch(t?.viewType){case f.D.AboutWorkspace:return t.id;case f.D.Channel:return(0,v.l)(e,t.id);case f.D.ExternalWorkspaceChannelBrowser:case f.D.ExternalWorkspacePeopleBrowser:return t.params?.workspaceId;case f.D.ExternalWorkspaceAllowedOrgPane:case f.D.Canvas:return t.params?.externalWorkspaceId;default:return}}};var O=a(0x4f725d55),N=a(0x20736dc5b),D=a(0xfc11c981),L=a(0x691ce3ab),M=a(0x21bfacd01),F=a(0x217553e42),P=a(0xe684f705);let U=[f.D.Profile,f.D.FileDetails,f.D.UserGroup,f.D.AiApp,f.D.AboutAiApp,f.D.WorkflowDetails,f.D.AppDetails,f.D.AiMessageAnalysis],B={[f.D.Channel]:[f.D.Thread,f.D.ChannelCanvas,f.D.LinkDetails,...U],[f.D.Thread]:[...U],[f.D.BrowsePeople]:[f.D.Profile],[f.D.BrowseChannels]:[],[f.D.BrowseUnifiedFiles]:[f.D.BrowseUnifiedFiles,f.D.FileDetails],[f.D.BrowseUnifiedFilesLists]:[f.D.FileDetails],[f.D.BrowseUnifiedFilesCanvases]:[f.D.FileDetails],[f.D.ExternalFile]:[f.D.FileDetails],[f.D.FileDetails]:[f.D.Profile,f.D.QuipActivityHistory],[f.D.SlackKitPlayground]:[f.D.SlackKitPlayground],[f.D.Solutions]:[f.D.Solutions,f.D.SolutionsFiltered],[f.D.Agents]:[f.D.Agents],[f.D.AgentBrowser]:[f.D.AgentBrowser],[f.D.Sidekicks]:[f.D.Sidekicks,f.D.Profile],[f.D.SolutionsFiltered]:[f.D.Solutions,f.D.SolutionsFiltered],[f.D.Page]:[...U],[f.D.BrowseUserGroups]:[f.D.UserGroup],[f.D.AiApp]:[f.D.AboutAiApp],[f.D.OrgDirectory]:[f.D.Profile],[f.D.SlackConnect]:[f.D.Profile],[f.D.Canvas]:[f.D.QuipCommentThread,f.D.QuipCommentStream,f.D.QuipActivityHistory,f.D.QuipAutomationsOverview,...U],[f.D.List]:[f.D.FileDetails],[f.D.QuipCommentThread]:[f.D.QuipCommentStream],[f.D.QuipCommentStream]:[f.D.QuipCommentThread],[f.D.SalesHome]:[f.D.Record,f.D.SalesLogActivity],[f.D.Record]:[...U],[f.D.MyTaskApproval]:[...U],[f.D.AboutWorkspace]:[f.D.Profile],[f.D.ExternalWorkspaceChannelBrowser]:[f.D.Profile],[f.D.ExternalWorkspacePeopleBrowser]:[f.D.Profile],[f.D.Inbox]:[...U,f.D.Thread],[f.D.AssistantHome]:[f.D.AssistantHome],[f.D.Admin]:[],[f.D.WorkflowEditor]:[f.D.WorkflowBuilderAgent]},G=[f.D.List,f.D.ListRecordDetails,f.D.ListRecordThread,f.D.ListRecordHistory,f.D.ListHistory],H=[f.D.BrowseApps,f.D.RecentPlatform,f.D.BrowseShortcuts,f.D.BrowseWorkflowTemplates,f.D.BrowseYourWorkflowTemplates,f.D.BrowseWorkflowsManagedByYou,f.D.WorkflowEditor,f.D.WorkflowTemplateEditor,f.D.WorkflowBeingCreated,f.D.AgentBrowser],W=[f.D.BBMMain,f.D.BBMWorkspaceSwitcher,f.D.BBMMore],V=[A.c.Apps],j=[A.c.Huddles],K=[f.D.BrowseUnifiedFiles,f.D.BrowseUnifiedFilesLists,f.D.BrowseUnifiedFilesCanvases,f.D.BrowseUnifiedFilesExternalResults,f.D.ExternalFile],q=[l.k6.Agents],getHomeOrDMsTabByEntityId=(e,{id:t,activeTab:a})=>{if(a===l.k6.DMs&&t===A.c.Composer||a===l.k6.DMs&&(0,O.A)(t)||a===l.k6.DMs&&"ai_summary_details"===t||a===l.k6.DMs&&t===A.c.Empty)return l.k6.DMs;if(t===f.D.AiApp)return a;let n=a===l.k6.Home,r=(0,D.a)(e,l.k6.DMs),i=(0,F.OL)(e,t);if((0,b.yz)(i))return n||!r?l.k6.Home:l.k6.DMs;if((0,b.LI)(i)){let t=(0,y.e)(i),a=(0,P.nv)(e,t),o=(0,k.A)(e,a)||void 0,s=(0,E.PV)(a)||void 0;return n||!r||o||s?l.k6.Home:l.k6.DMs}return l.k6.Home};var z=a(0x2d667f7d),$=a(0xe0688275),Y=a(0xd6a16321),Q=a(0x2356cde2b),Z=a(0x1459852c4),J=a(0x133d6089b),X=a(0xbaaab71e),ee=a(0x1ec68d6a3),et=a(0x2283cdc8d),ea=a(0xb64d15f8),en=a(0x11c82607b),er=a(0x1d78cd5f7),ei=a(0x9271cc31),eo=a(0x1731631dc),es=a(0x16082db4b);let el=(0,en.Ay)("Create a new view set for the main window based on the incoming navigation request",(e,t,a,n)=>{let r,o,{windowId:s,id:b,viewType:y,params:E,uiState:k,sourceContainer:v,options:x}=a,O=t(),D=n(X.U),F=(0,ei.e6)(O),P=(0,ea.vd)(O,{windowId:l.N2,tab:F}),U=(0,ei.Oy)(O),en=(0,eo.Jz)(O),el=(0,et.k8)(O),ec=(0,p.tb)(O),ed=U;if(!P)return;let eu=P,em=(0,u.J)(O,{viewType:y,sourceContainer:v,tab:F,params:E,currentViewSet:P,options:x,windowId:l.N2});r=x?.forceTab??(x?.bumpPrimaryToSecondary?F:void 0)??((e,{id:t,params:a,viewType:n,sourceContainer:r,destinationContainer:i,currentViewSet:o,activeTab:s,isFromChannelTab:c})=>{let d=(0,h.gT)(e),u=(0,p.tb)(e),b=(0,g.c9)(e),y=(0,m.Lh)(e),E=(0,C.hi)(e),k=(0,w.xh)(e),v=(0,M.V)(e)||(0,M.V)((0,L.Ry)());if(a?.parentTab&&(o.primary?.id===a?.parentTab&&!o.primary?.params?.tabId||c||r===l.mq.Modal))return s;if(n===f.D.Threads||n===f.D.Page&&t===A.c.Unreads)return l.k6.Home;if(s===l.k6.Later&&r===l.mq.Headless)return l.k6.Later;if(s===l.k6.LaterSidebarPrototype&&r===l.mq.Headless)return l.k6.LaterSidebarPrototype;if(s===l.k6.ActivityInbox&&r===l.mq.Headless)return l.k6.ActivityInbox;if(n===f.D.HuddleTranscriptDetails)return s;let x=r?o[r]?.viewType:void 0;if((0,S.Fh)(e)&&x&&G.includes(x)&&(n===f.D.Channel||n===f.D.Canvas||n===f.D.Profile))return s;let O=(0,N.e)(e,{windowId:l.N2,container:l.mq.Primary,tab:s,isSplitView:!1})?.openCanvasLinksInFlexpane;if(b&&x===f.D.Canvas&&r===l.mq.Primary&&O&&(n===f.D.Channel||n===f.D.Thread||n===f.D.Canvas||n===f.D.Profile||G.includes(n))||(0,S.tl)(e)&&(r&&o[r]?.viewType===f.D.Tasks&&n===f.D.Thread||a?.todoDetailsSameTab))return s;if(s===l.k6.Search&&r===l.mq.Primary&&o[l.mq.Primary]?.viewType===f.D.SearchSummary&&i===l.mq.Secondary&&(n===f.D.Channel||n===f.D.Thread))return l.k6.Search;if((0,w.d9)(e)||(0,w.bq)(e)){if(s===l.k6.Home&&(E||k)&&n!==f.D.Search)return l.k6.Home;if(s===l.k6.Today&&r===l.mq.Primary&&(o[l.mq.Primary]?.viewType===f.D.TodayV2||o[l.mq.Primary]?.viewType===f.D.TodayUnreads||o[l.mq.Primary]?.viewType===f.D.TodayActionItems||o[l.mq.Primary]?.viewType===f.D.TodayAgenda||o[l.mq.Primary]?.viewType===f.D.TodayAISearch)||n===f.D.TodayV2||n===f.D.TodayAISearch)return l.k6.Today}if(H.includes(n)&&n!==f.D.Page||n===f.D.Page&&V.includes(t))return l.k6.Platform;if(n===f.D.WorkflowDetails||n===f.D.AppDetails)return s===l.k6.Platform?l.k6.Platform:s;if(n===f.D.Page&&j.includes(t))return l.k6.Huddles;if(n===f.D.ActivityList||!y&&n===f.D.ActivitySystemNotification)return l.k6.Activity;if(E&&n===f.D.ActivityInbox)return l.k6.ActivityInboxSidebarPrototype;if(E&&s===l.k6.ActivityInboxSidebarPrototype&&r===l.mq.Primary&&i===l.mq.Secondary)return s;if(n===f.D.ActivityInbox||n===f.D.ActivityEmpty||n===f.D.ActivitySystemNotification)return l.k6.ActivityInbox;if([f.D.Solutions,f.D.SolutionsFiltered,f.D.BrowseYourSolutions,f.D.BrowseYourCompanySolutions].includes(n)&&!u)return l.k6.Solutions;if(n===f.D.SalesBulkGrid&&a?.salesBulkGridInHome||n===f.D.SalesBulkGrid&&a?.parentTab)return l.k6.Home;if(n===f.D.SalesHome||n===f.D.SalesBulkGrid||n===f.D.SalesListViewBrowser)return l.k6.SalesHome;if(n===f.D.SalesLogActivity||n===f.D.Record||n===f.D.RecordEvents||n===f.D.MyTaskApproval||n===f.D.WorkObject||n===f.D.WorkObjectFilePreview||n===f.D.ExternalUserProfile||n===f.D.TableauDetails)return s;if(n===f.D.LaterList)return(0,_.D)(e)?l.k6.LaterSidebarPrototype:l.k6.Later;if([f.D.Agents].includes(n)&&i!==l.mq.Split)return l.k6.Agents;if([f.D.Sidekicks,f.D.SidekickConversation].includes(n)&&i!==l.mq.Split)return l.k6.Sidekicks;let D=R(e,{viewType:n,id:t,params:a});if(D)return(0,T.L)(e,{viewType:n,workspaceId:D});if(E&&n===f.D.Search)return l.k6.SearchSidebarPrototype;if(n===f.D.Search||n===f.D.SearchEmpty)return l.k6.Search;if(n===f.D.Profile&&q.includes(s))return s;if(n===f.D.MeetingDetails||s===l.k6.Huddles&&(n===f.D.Thread||n===f.D.HuddlePageCanvas))return l.k6.Huddles;if(v&&W.includes(n))return l.k6.BBM;if(K.includes(n))return l.k6.UnifiedFiles;if((!r||r===l.mq.Modal)&&n!==f.D.Canvas&&n!==f.D.QuipCommentThread&&n!==f.D.List)return getHomeOrDMsTabByEntityId(e,{id:t,activeTab:s});if(r===l.mq.Sidebar&&n===f.D.ChannelCanvas)return l.k6.Home;if(r===l.mq.Sidebar&&i===l.mq.Primary||n===f.D.QuipCommentThread&&o[l.mq.Primary]?.viewType===f.D.Canvas&&i===l.mq.Secondary||n===f.D.ListRecordThread&&o[l.mq.Primary]?.viewType===f.D.ListRecordDetails&&i===l.mq.Secondary||n===f.D.ListRecordDetails&&i===l.mq.Secondary)return s;if(r!==l.mq.Sidebar&&!a?.parentTab&&(n===f.D.Canvas||n===f.D.QuipCommentThread||G.includes(n)))return i===l.mq.Split?s:l.k6.UnifiedFiles;if(d&&n===f.D.SlackbotAi&&i===l.mq.Split||(0,S.Fh)(e)&&G.includes(n))return s;if(r===l.mq.Primary&&i===l.mq.Primary&&o[l.mq.Primary]?.id!==t||r===l.mq.Secondary&&i===l.mq.Primary&&o[l.mq.Primary]?.id!==t)return getHomeOrDMsTabByEntityId(e,{id:t,activeTab:s});if((r===l.mq.Primary&&i===l.mq.Secondary||r===l.mq.Secondary&&i===l.mq.Secondary)&&s!==l.k6.Home){if(!(x&&B[x]&&B[x]?.includes(n)))return getHomeOrDMsTabByEntityId(e,{id:t,activeTab:s});if(x===f.D.Channel&&n===f.D.Thread){let{channelId:n}=(0,I.Sb)(a?.threadId);if(n!==o?.[r]?.id)return getHomeOrDMsTabByEntityId(e,{id:t,activeTab:s})}}return s})(O,{id:b,params:E,viewType:y,currentViewSet:P,sourceContainer:D.container,destinationContainer:em,activeTab:F,isFromChannelTab:!!P.primary?.params?.tabId}),en&&em===l.mq.Split&&(r=F),r!==F&&(eu=(0,ea.vd)(O,{windowId:l.N2,tab:r}));let ef=(0,u.J)(O,{viewType:y,sourceContainer:v,tab:r,params:E,currentViewSet:P,options:x,windowId:l.N2});if(ef===l.mq.Split&&(o={...eu},ed={id:b,viewType:y,params:E,uiState:k}),ef===l.mq.Sidebar&&(o={...eu,[l.mq.Sidebar]:{id:b,viewType:y,params:E,uiState:k}},(0,ee.getGenericLogger)().info(i.o,"Applying changes to the sidebar container",{viewSet:o,nextTab:r})),ef===l.mq.Secondary){let a={id:b,viewType:y,params:E,uiState:k},n=eu?.[l.mq.Primary],c={[l.mq.Primary]:n,[l.mq.Secondary]:a};c=n?(0,d.L)(c,t,{dangerouslyOverrideRouting:E?.dangerouslyOverrideRouting,targetTab:r}):((e,t)=>{let a=t(),n=e[l.mq.Secondary];if(n?.id==="thread"&&n.params?.threadId){let{channelId:t,threadTs:r}=(0,I.Sb)(n.params.threadId);return t?(n.params=n.params?{...n.params,parentTab:t}:{parentTab:t},(0,J.A)(a,t))?{[l.mq.Primary]:(0,Y.JZ)({channelId:t,tabId:Z.K.Messages,startTs:r}),[l.mq.Secondary]:n}:{[l.mq.Primary]:{id:t,params:{startTs:r},viewType:f.D.Channel},[l.mq.Secondary]:n}:e}if((0,Q.f)(n)){let t=n.params.entityId;return t?(n.params={...n.params,parentTab:t},{[l.mq.Primary]:{id:t,viewType:f.D.QuipCommentThread},[l.mq.Secondary]:n}):e}if(n?.viewType===f.D.ListRecordThread&&n?.params?.itemDetailsInPrimary){let e=n.params?.listId,t=n.id;return{[l.mq.Primary]:(0,Y.PF)({listId:e,recordId:t}),[l.mq.Secondary]:n}}return e})(c,t);let u=(0,$.D)({sourceContainer:v,prevViewSet:eu,nextViewSet:c,windowId:s,options:x},t);u&&(a.prev=u);let m=e((0,er.VO)({viewSet:c,windowId:s,dangerouslyOverrideRouting:E?.dangerouslyOverrideRouting}));o={...eu,...m},(0,ee.getGenericLogger)().info(i.o,"Applying changes to the secondary container",{viewSet:o,nextTab:r})}if(ef===l.mq.Primary){var e_;let t=(0,es.j)(O,{windowId:l.N2}),a=t?.columnMode,n=v===l.mq.Secondary&&eu?.[l.mq.Secondary]?.viewType===f.D.SearchInChannel,d={[l.mq.Primary]:{id:b,viewType:y,params:E,uiState:k}},u=el&&n?{[l.mq.Secondary]:eu?.secondary}:{},m=(e_=r,a===c.oZ.Multi&&(e_===l.k6.Home||0)&&!(el&&n&&y===f.D.Channel))?e((0,er.VO)({viewSet:d,windowId:s,dangerouslyOverrideRouting:E?.dangerouslyOverrideRouting,...u})):d,_=x?.bumpPrimaryToSecondary?{[l.mq.Secondary]:eu?.primary}:{};o={...eu,...m,..._};let p=(0,z.H)({activeTab:F,targetTab:r,prevViewSet:eu,nextViewSet:d,options:x,containerType:ef});o.primary&&p&&(o.primary.prev=p),r===l.k6.SalesHome&&(y===f.D.SalesBulkGrid&&o[l.mq.Sidebar]?.id===f.D.SalesSidebar?delete o[l.mq.Sidebar]:(y===f.D.SalesListViewBrowser||y===f.D.SalesHome)&&(o[l.mq.Sidebar]={id:f.D.SalesSidebar,viewType:f.D.SalesSidebar})),r===l.k6.Solutions&&(y===f.D.Solutions||y===f.D.SolutionsFiltered)&&(ec?o[l.mq.Sidebar]={id:f.D.MorePlatformSidebar,viewType:f.D.MorePlatformSidebar}:o[l.mq.Sidebar]={id:f.D.MoreSolutionsSidebar,viewType:f.D.MoreSolutionsSidebar}),!o[l.mq.Secondary]||m[l.mq.Secondary]||_[l.mq.Secondary]||u[l.mq.Secondary]||delete o[l.mq.Secondary],(0,ee.getGenericLogger)().info(i.o,"Applying changes to the primary container",{viewSet:o,nextTab:r})}return{container:ef,tab:r,viewSet:o,splitView:ed}});el.meta={name:"getNextMainWindowViewSet",key:"createThunkGetNextMainWindowViewSet",description:"Create a new view set for the main window based on the incoming navigation request"};var ec=a(0x19efc8b50),ed=a(0x14149c126);let eu=(0,ec.wh)();function shouldUseLightweightChannelSwitchMetrics(e){return!1!==(em(e)&&isWithinChannelSwitchUpsampleWindow())&&.99>Math.random()}function isWithinChannelSwitchUpsampleWindow(){return!1!==n&&!!eu&&(n=Date.now()-1728e5<1e3*eu)}let em=(0,x.Ay)(e=>"on"===(0,ed._Z)(e,"increase_channel_switch_sampling"));em.meta={name:"isChannelSwitchUpsamplingEnabled",key:"createSelectorIsChannelSwitchUpsamplingEnabled",description:e=>"on"===(0,ed._Z)(e,"increase_channel_switch_sampling")};var ef=a(0x2487bf97b),e_=a(0x56f7449b),ep=a(0x1c760ba43),eh=a(0x1718b63ef),eg=a(0xedbc2765),eA=a(0x5323f90d),eb=a(0x157ccdb87),ey=a(0xe8cbeb5b),eS=a(0x2c32ad3c),eE=a(0x177e6bba8),ek=a(0x1bb02f2c4),eT=a(0x9b971e7e),eI=a(0x1266f1359),ew=a(0x4bdacb39),eC=a(0x1ad496a28),ev=a(0xfb848f2e),ex=a(0x1a204ce4e),eR=a(0x10baafd1e),eO=a(0x19969407e),eN=a(0x234807d08),eD=a(0xff0e8722);let eL=(0,en.Ay)("Call the navigate method of a specific ViewContainer",async(e,t,a)=>{let n,{windowId:c,id:d,viewType:u,params:m,uiState:_,sourceContainer:p,options:g}=a,A=t(),b=(0,eT.ZT)(A),y=(0,ek.getFocusedWorkspace)((0,L.Ry)()),S=y&&b&&y!==b;S&&(0,eS.A)({currentTeamStore:(0,eI.oK)(y),newWorkspaceId:b});let E=(0,M.V)(A),k=(0,eo.zG)(A),T=(0,h.M)(A);(0,ee.getGenericLogger)().info(i.o,"Starting a new navigation event",{id:d,viewType:u,viewParams:m,options:g});let w=u===f.D.Channel,C=m?.tabId,v=m?.tabId===ep.fY.Channel,x=w&&(!C||v),R=(0,eh.R)({viewType:u,id:d,state:t()});if(x){let e=(0,ey.Cm)(A,"channel_switch");n=eg.LI.start({label:eg.gC.Navigation,id:R,options:{samplingOptions:{sampleType:em(A)&&isWithinChannelSwitchUpsampleWindow()?r.tS.ALWAYS:r.As},phases:!0,tracer:(0,eb.E)({state:A}),teamId:(0,eT.ZT)(A),tags:{view:u,container:p,version:4},tagProviderType:shouldUseLightweightChannelSwitchMetrics(A)?eA.az.Lightweight:eA.az.Default,onCleanup:()=>e.stop()}})}let O=n?.createChildSpan({name:"navigation:framework",closeImmediately:!1}),N=O?.getId(),D=n?.createChildSpan({name:"navigation:build_viewset",closeImmediately:!1,additionalSpanOptions:{parentSpanId:N}}),P=(0,ei.e6)(A),U=(0,ea.vd)(A,{windowId:l.N2,tab:P}),B=(0,ea.Fm)(A,{windowId:l.N2,container:l.mq.Split}),{container:G,tab:H,viewSet:W,splitView:V}=e(el(a))??{container:void 0,tab:void 0,viewSet:void 0,splitView:void 0};if(H&&n?.getTrace().addTags({active_tab:P,next_tab:H,is_tab_switch:P!==H}),D?.close(),!W||!H||!G){x&&eg.LI.remove({label:eg.gC.Navigation,id:R});return}let j=n?.createChildSpan({name:"navigation:middleware",closeImmediately:!1,additionalSpanOptions:{parentSpanId:N}}),{viewSet:K,splitView:q,terminateNavigation:z}=await e((0,o.F)({context:ef.b.Navigation,prevViewSet:U,prevTab:P,nextViewSet:W,nextTab:H,windowId:c,navigateParams:{id:d,viewType:u,params:m,uiState:_,sourceContainer:p},prevSplitView:B,nextSplitView:V}));if(j?.close(),z||!K)return void(0,ee.getGenericLogger)().info(i.o,`Terminating navigation due to ${z?"middleware terminating navigation":"no view set"}`);(0,ee.getGenericLogger)().info(i.o,"Built view set after middleware",{viewSet:K,splitView:q,nextTab:H});let $=n?.createChildSpan({name:"navigation:commit_viewset",closeImmediately:!1,additionalSpanOptions:{parentSpanId:N}});if(!E&&G===l.mq.Split&&q){let t=k&&g?.forceRenderInSplitView,a=!1;if(T&&q.viewType===f.D.Thread){let{channelId:e}=(0,I.Sb)(q.params?.threadId);a=e===(0,F.o2)(A,"USLACKBOT")}if(t)e((0,eC.Ad)({view:(0,eN.Z)(q)})),e((0,eE.q)({view:q,windowId:l.N2,isSplitView:!0}));else{let t=(p===l.mq.Split||g?.rtmSource)&&(!C||u===f.D.AppSpace)||a?B:void 0,n=t?{...q,prev:t}:q;e((0,eC.wj)({view:(0,eN.Z)(n)})),e((0,eE.q)({view:n,windowId:l.N2,isSplitView:!0}))}k||e((0,eD.A)({windowId:l.T2,entry:q})),(0,ee.getGenericLogger)().info(i.o,"Applying changes to the split container",{view:V})}let Y=e((0,eO.Y)({navigateInPlace:g?.navigateInPlace,targetTab:H,targetViewSet:K,targetContainer:G,windowId:l.N2}));Y&&(0,ee.getGenericLogger)().info(i.o,`Replacing last history entry from ${g?.navigateInPlace?"navigateInPlace":"duplicate view set"}`),Y&&x&&eg.LI.remove({label:eg.gC.Navigation,id:R});let Q={prevViewSet:U,prevTab:P,nextViewSet:K,nextTab:H,windowId:l.N2,navigateParams:{id:d,viewType:u,params:m,uiState:_,sourceContainer:p,destinationContainer:G,ignoreFocusHistory:g?.ignoreFocusHistory},triggerType:g?.forceTriggerType??e_.w.NAVIGATION,prevSplitView:B,nextSplitView:V};if(e((0,ew.c)(Q)),e((Y||S?ev.A:eR.A)({windowId:l.N2,tab:H,viewSet:K})),P!==H){let t=n?.createChildSpan({name:"navigation:tab_switch",closeImmediately:!1,additionalSpanOptions:{parentSpanId:N}});e((0,ex.A)({tab:H,reason:ex.m.AutoSwitch,skipNavigationProcessing:!0})),t?.close()}n?.createChildSpan({name:"navigation:ia3_equivalence",closeImmediately:!1});let Z=n?.createChildSpan({name:"navigation:listeners",closeImmediately:!1,additionalSpanOptions:{parentSpanId:N}});e((0,s.C)(Q)),Z?.close(),$?.close(),O?.close(),(0,ee.getGenericLogger)().info(i.o," Navigation thunk execution complete",{id:d,viewType:u,viewParams:m,options:g})});eL.meta={name:"navigateInMainWindow",key:"createThunkNavigateInMainWindow",description:"Call the navigate method of a specific ViewContainer"}},0x21708578c:(e,t,a)=>{"use strict";a.d(t,{C:()=>nd});var n=a(0x30d0b075),r=a(0x56f7449b),i=a(0x139aa1a7),o=a(0xbaaab71e),s=a(0xd6a16321),l=a(0xc1963a64),c=a(0xeb02388),d=a(0x16ed1b0dc),u=a(0x107e97a6b),m=a(0xdf55e8f3),f=a(0x18358a245),_=a(0x46a42efe),p=a(0x217553e42),h=a(0x14ea3ce99);let g=(0,m.jB)((e,t)=>{let a=t.channelId||t.entityId;if(!a||!(0,d.A)(a))return null;let n=(0,p.OL)(e,a),{timestamp:r,layout:i}=(0,f.Nx)(e,a),o=n.properties?.auto_open_tab_id,s=n.properties?.auto_open_tab_id_timestamp;if(!o)return null;let l=(0,c.v)(e,{channelId:a}).find(e=>e.id===o),m=l?.data?.fileId;if(!m)return null;let g=(0,h.Lp)(e,m),A=(0,u.Lo)({id:m}),b={params:{...t,entityId:a,quipDocId:A,lastReadTs:g.last_read?`${g.last_read}`:void 0,templateFileId:void 0}};return g.show_badge?b:s?r>=1e3*s?i===_.z.SECONDARY?b:null:b:null});var A=a(0x3711e82d),b=a(0x45012309),y=a(0x1d43eb6d7),S=a(0x11c82607b),E=a(0x1d774a049),k=a(0x3c23499b),T=a(0xbc72568a),I=a(0x1bc939146),w=a(0x17aa64b24),C=a(0x113d1778),v=a(0x54ef0daa),x=a(0x18a17ca8f),R=a(0x189f08ca8),O=a(0x19895585a),N=a(0xfb848f2e);let D=(0,S.Ay)("Side effect to auto-open a channel canvas when navigating to a channel",async(e,t,a,n)=>{let{nextViewSet:c,prevViewSet:d,windowId:m}=a,{isMainWindow:f}=n(o.U),S=(0,y.Ay)({getState:t}),D=(0,b.eo)({getState:t}),L=d?.primary,M=c.secondary,F=c.primary;if(F?.viewType!==i.D.Channel||F.id===L?.id||M)return;let P=F.id,U=(0,R.Q)(t(),P),B=g(t(),{channelId:P,...F.params});if(!B&&!U)return;let G=null,H=null;if(U){(0,x.KM)(t())&&e((0,C.Gg)(!1));let a=(0,T.sk)(t());a.length||await e((0,I.Dg)()),a=(0,T.sk)(t());let n=(0,p.OL)(t(),P),r=(0,l.V)(t(),n)?v.T.SELF_DM_TEMPLATE_NAME:v.T.DM_TEMPLATE_NAME,i=a.find(e=>e.template_name===r);if(!(H=i?.id))return;G=(0,s.mo)({id:H,clogParams:{fileId:H,source:E.f.CANVAS_TAB_AUTO_OPEN},lastReadTs:B?.params?.lastReadTs||void 0,templateFileId:H,isPrefillDmCanvas:!0})}else{if(!B)return;H=(0,u.QY)(B.params.quipDocId),G=(0,s.mo)({id:B.params.quipDocId,clogParams:{fileId:B.params.quipDocId,source:E.f.CANVAS_TAB_AUTO_OPEN},lastReadTs:B.params.lastReadTs||void 0,sectionIdsToHighlightOverride:void 0,templateFileId:B.params.templateFileId})}let W={...c,[O.mq.Secondary]:G};S.info(`Auto-opening canvas (${H}) for channel ${P}. Prefill: ${U}`),D.track(A.EventId.QUIP_CHANNEL_SPACE_OPEN,{contexts:{ui_context:{uiStep:U?{step:A.UiStep.PREFILL_DM_CANVAS}:{},action:A.UiAction.CHANNEL_SPACE_AUTO_OPEN}}});let V=(0,h.Lp)(t(),H||"");e((0,k.A)({fileId:H||"",source:E.f.CHANNEL_CANVAS_AUTO_OPEN,channelId:F.id,isBadged:V?.show_badge})),e(f&&(0,r.k)(a)?(0,N.A)({windowId:O.N2,tab:a.nextTab,viewSet:W}):(0,N.A)({childWindowId:m,viewSet:W})),e((0,w.Ic)({channelId:F.id,layout:_.z.SECONDARY}))});D.meta={name:"autoOpenChannelTab",key:"createThunkAutoOpenChannelTab",description:"Side effect to auto-open a channel canvas when navigating to a channel"};var L=a(0x1529370e7),M=a(0x15bbd15e5),F=a(0x217a09a00),P=a(0x15bc0d169);let U=(0,S.Ay)("Navigate side effect to remove the sidebar from the canvas explorer",(e,t,a)=>{let{nextViewSet:n,prevViewSet:r,windowId:i}=a,o=r?.primary,s=n.secondary,l=n.primary,c=(0,L.Ay)(o?.params?.entityId),d=(0,L.Ay)(l?.params?.entityId);if(!c&&!d||(0,P.A)(r,n))return;let m=(0,F.i3)(t(),i);d&&(0,u.cp)(o?.params?.entityId,l?.params?.entityId)?c&&d&&(!m||!s)&&e((0,M.NA)({windowId:i})):e((0,M.NA)({windowId:i}))});U.meta={name:"maybeClearCanvasHistoryView",key:"createThunkMaybeClearCanvasHistoryView",description:"Navigate side effect to remove the sidebar from the canvas explorer"};var B=a(0x658a411c),G=a(0x21f3c49e8),H=a(1927545e3),W=a(0x1393fbd8c),V=a(0x1ccef1c6f),j=a(0x12f41fc32),K=a(0xb5b2b6dd),q=a(0x1c2eef3c8),z=a(0x839ba347),$=a(0xa794f9e1),Y=a(0x23e653cee),Q=a(0x1e0a0cdcc),Z=a(0xaf9d2265),J=a(0x1988881a0);let X=(0,S.Ay)("Delete drafts without text or files",(e,t,{ignoredDraftIds:a=[]}={})=>{let n=t(),r=(0,q.Hw)(n);if((0,G.A)(r))return;let i=(0,J.BH)(n),o=[];(0,z.A)(r,(e,t)=>{let r=(0,$.ue)(e),s=(0,J.bc)(n,{draftId:r}),l=(0,Q.ck)(n,{draftId:r});i&&s||l||(0,$.v7)(e,{trimWhitespace:!0})||(0,Y.A)(n,e)||a?.includes?.(t)||o.push(t)}),(0,G.A)(o)||e((0,Z.A)({ids:o,reason:"deleteDraftsWithoutTextOrFilesOrGifUnfurls"}))});X.meta={name:"deleteDraftsWithoutTextOrFilesOrGifUnfurls",key:"createThunkDeleteDraftsWithoutTextOrFilesOrGifUnfurls",description:"Delete drafts without text or files"};var ee=a(0x1973dd8ce),et=a(0x1595bdd0),ea=a(0x1cf0d97e1),en=a(0x9271cc31);let er=(0,ea.Ay)(e=>{let t=(0,en.zi)(e),a=Object.keys(t).map(e=>t[e]),n=a.filter(({primary:e})=>e?.viewType===i.D.Page&&e?.id===H.c.Composer).map(({primary:e})=>e?.params?.draftId).filter(Boolean),r=a.filter(({primary:e})=>e?.viewType===i.D.Channel).map(({primary:e})=>e?.id).map(t=>(0,q.N8)(e,{channelId:t})?.id),o=a.filter(({secondary:e})=>e?.viewType===i.D.Thread).map(({secondary:e})=>e?.params?.threadId).filter(Boolean).map(e=>(0,ee.x)(e)).map(({channelId:t,threadTs:a})=>(0,q.N8)(e,{channelId:t,threadTs:a})?.id);return(0,et.A)([...n,...r,...o])});er.meta={name:"getDraftsIdsInChildWindows",key:"createSelectorGetDraftsIdsInChildWindows",description:e=>{let t=(0,en.zi)(e),a=Object.keys(t).map(e=>t[e]),n=a.filter(({primary:e})=>e?.viewType===i.D.Page&&e?.id===H.c.Composer).map(({primary:e})=>e?.params?.draftId).filter(Boolean),r=a.filter(({primary:e})=>e?.viewType===i.D.Channel).map(({primary:e})=>e?.id).map(t=>(0,q.N8)(e,{channelId:t})?.id),o=a.filter(({secondary:e})=>e?.viewType===i.D.Thread).map(({secondary:e})=>e?.params?.threadId).filter(Boolean).map(e=>(0,ee.x)(e)).map(({channelId:t,threadTs:a})=>(0,q.N8)(e,{channelId:t,threadTs:a})?.id);return(0,et.A)([...n,...r,...o])}};let ei=(0,S.Ay)("Delete empty composer drafts or move channel/thread drafts into the drafts section",(e,t,a,n)=>{let r=t(),{nextViewSet:s}=a,l=s?.[O.mq.Primary],c=s?.[O.mq.Secondary],{id:d,viewType:u}=l||{},{params:m,viewType:f}=c||{},{threadId:_}=m||{},{channelId:p,threadTs:h}=(0,ee.x)(_),g=[];if(u===i.D.Channel){let e=(0,q.N8)(r,{channelId:d});e?.id&&g.push(e.id)}if(f===i.D.Thread){let e=(0,q.N8)(r,{channelId:p,threadTs:h});e?.id&&g.push(e.id)}if(d===H.c.Composer){let e=l?.params?.draftId;e&&g.push(e)}let A=er(r);e(X({ignoredDraftIds:g=[...g,...A]})),!(0,V.ty)(r,"has_drafted_message")&&((0,B.A)((0,q.Hw)(r),e=>!(0,W.A)(r,e))||(0,B.A)((0,q._d)(r),e=>!(0,W.A)(r,e)))&&e((0,j.AZ)({pref:"has_drafted_message",value:!0}));let b=(0,q.zY)(r),{getSiblingView:y}=n(o.U),S=y?.(r,{container:O.mq.Secondary})?.id,E=b?.length?b.filter(e=>{let{channelId:t,threadTs:a}=(0,ee.x)(e);return!A.includes(e)&&(a?"thread"!==S||!h||h!==a:d!==t)}):[];(0,G.A)(E)||e((0,K.qV)({draftIds:E}))});ei.meta={name:"clearDrafts",key:"createThunkClearDrafts",description:"Delete empty composer drafts or move channel/thread drafts into the drafts section"};var eo=a(0x1e06735b6),es=a(0x1fcbb004d),el=a(0x1b712feab);let ec=(0,S.Ay)("Navigate side effect to close all modals",(e,t,a)=>{let{windowId:n}=a;e(n===O.N2?(0,es.O)({closeNamed:eo.N}):(0,el.E)({windowId:n}))});ec.meta={name:"closeAllModalsNavigateListener",key:"createThunkCloseAllModalsNavigateListener",description:"Navigate side effect to close all modals"};var ed=a(0x16e90fe6d);let eu=(0,S.Ay)("Navigate side effect to close pins popover",(e,t,a)=>{let n=(0,ed.h)();n?.onClose&&n?.onClose()});eu.meta={name:"closePinsPopover",key:"createThunkClosePinsPopover",description:"Navigate side effect to close pins popover"};var em=a(0x1ec68d6a3),ef=a(0x691ce3ab),e_=a(0x1867ace9),ep=a(0xfee0a4ff),eh=a(0x205724949),eg=a(0x1f368ea20),eA=a(0x1866f4974),eb=a(0x1f0a2e299);let ey=(0,S.Ay)("Update fullscreen mode container based on destination container or given view set",(e,t,{container:a,windowId:n})=>{let r=t(),i=(0,ef.Ry)();if(!(0,eg.V)(i))return;if(a!==(0,e_.T)(r,{id:n}))return void e((0,eA.J)({container:a,windowId:n}));let o=n===O.N2?(0,ep.jo)(i):(0,eb.s4)(r,{windowId:n});o?.id&&e((0,eh.O)({container:a,id:o.id}))});ey.meta={name:"updateFullscreenContainer",key:"createThunkUpdateFullscreenContainer",description:"Update fullscreen mode container based on destination container or given view set"};var eS=a(0x20736dc5b);let eE=(0,S.Ay)("Determine destination container for navigation parameters",(e,t,a)=>{let n=t(),{navigateParams:i={},nextViewSet:o,triggerType:s,windowId:l}=a,{destinationContainer:c,sourceContainer:d}=i,u=(0,ef.Ry)();if(!(0,e_.V)(u))return c;let isViableContainer=e=>!!o?.[e]&&o[e].id!==H.c.Empty;if(s===r.w.CLIENT_MOUNT)return[O.mq.Secondary,O.mq.Primary,O.mq.Sidebar].find(isViableContainer);if(s===r.w.CHILD_WINDOW_MOUNT){let e=o[O.mq.Primary],t=(0,eS.e)(n,{windowId:l,container:O.mq.Primary,isSplitView:!1})?.highlightTs;if(e?.params?.highlightTs??t)return O.mq.Primary;let a=o[O.mq.Secondary],r=(0,eS.e)(n,{windowId:l,container:O.mq.Secondary,isSplitView:!1})?.highlightRoot;if((a?.params?.highlightTs??r)||d===O.mq.Secondary&&isViableContainer(O.mq.Secondary))return O.mq.Secondary}return(0,r.k)(a)&&a.prevTab!==a.nextTab&&s===r.w.ACTIVE_TAB_UPDATE&&isViableContainer(O.mq.Sidebar)?O.mq.Sidebar:c??[O.mq.Sidebar,O.mq.Primary,O.mq.Secondary].find(isViableContainer)});eE.meta={name:"getDestinationContainer",key:"createThunkGetDestinationContainer",description:"Determine destination container for navigation parameters"};let ek=(0,em.getGenericLogger)(),eT=(0,S.Ay)("Navigate side effect to transition focus to the right view in the right container if needed",(e,t,a)=>{let n=(0,ef.Ry)();if(!(0,e_.V)(n))return;ek.info("FULLSCREEN_NAVIGATE_LISTENER","Handling fullscreen view navigation",a);let{windowId:r}=a,i=e(eE(a))??O.mq.Primary;e(ey({container:i,windowId:r}))});eT.meta={name:"fullscreenNavigateListener",key:"createThunkFullscreenNavigateListener",description:"Navigate side effect to transition focus to the right view in the right container if needed"};var eI=a(0x105ecbbed),ew=a(0x235c05c79),eC=a(0x1ad496a28),ev=a(0x1af63fe13);function findContainerWithTypeForViewSet(e,t){return Object.keys(e).find(a=>e[a]?.viewType===t)}let ex=(0,S.Ay)("Navigate side effect to sync thread flexpane",(e,t,a,n)=>{if(!(0,r.k)(a))return;let{nextViewSet:s,nextTab:l,navigateParams:c}=a,{windowId:d,isChildWindow:u}=n(o.U),m=findContainerWithTypeForViewSet(s,i.D.Thread)||findContainerWithTypeForViewSet(s,i.D.QuipCommentThread)||findContainerWithTypeForViewSet(s,i.D.ListRecordThread);if(!m||u)return;let f=s[m],_=f?.params,p=c.uiState;if(p?.highlightTs&&_?.threadId&&d===O.N2&&(e((0,ew.GC)({windowId:d,threadKey:_.threadId,ts:p.highlightTs})),e((0,ev.v)({windowId:d,container:m,tab:l,uiState:{highlightTs:void 0}}))),f?.viewType===i.D.Thread&&m===O.mq.Secondary&&_?.highlightRoot&&_?.threadId){let{channelId:t,threadTs:a}=(0,eI.Sb)(_?.threadId);d===O.N2&&t&&(e((0,eC.IZ)({windowId:d,tab:l,container:O.mq.Primary,params:{startTs:a,scrollmark:null}})),e((0,ev.v)({windowId:d,tab:l,container:O.mq.Primary,uiState:{[t]:{highlightTs:a,highlightLazy:!0}}})))}f?.params?.highlightRoot&&d===O.N2&&e((0,eC.IZ)({windowId:d,tab:l,container:O.mq.Secondary,params:{highlightRoot:!1}}))});ex.meta={name:"jumpToThreadReply",key:"createThunkJumpToThreadReply",description:"Navigate side effect to sync thread flexpane"};var eR=a(0xafce781a),eO=a(0x1cc14e4db);let eN=(0,S.Ay)("Navigate side effect to maybe reveal hidden coachmarks",async(e,t,a)=>{if(!(0,r.k)(a))return;let n=t();(0,x.Li)(n)||(0,eO.S6)(n)||e((0,eR.K8)())});eN.meta={name:"loadMegaphoneListener",key:"createThunkLoadMegaphoneListener",description:"Navigate side effect to maybe reveal hidden coachmarks"};var eD=a(0x20b4dda68);function getActiveViews(e){let t,a,{prevViewSet:n,nextViewSet:i}=e,o=n?.primary,s=i?.primary;return((0,r.k)(e)&&(a=e.nextSplitView,t=e.prevSplitView),(a||t)&&(t?.id!==a?.id||t?.params?.tabId!==a?.params?.tabId))?{activePrevView:t,activeNextView:a}:{activePrevView:o,activeNextView:s}}function isViewForChannel(e,t){return e?.viewType===i.D.Channel&&e?.id===t}function isViewForThread(e,t){return e?.viewType===i.D.Thread&&e?.params?.threadId&&(0,eI.Sb)(e?.params?.threadId).channelId===t}var eL=a(0x10027d8bc),eM=a(0x1294547f8),eF=a(0x624c12c8);let eP=(0,S.Ay)("Logs Slackbot AI DM open and unmount events",(e,t,a)=>{let n=t();if(!(0,eL.Dj)(n))return;let r=(0,p.o2)(n,eD.Q$);if(!r)return;let i=(0,eM.Ep)(n),{navigateParams:o}=a,s=o?.params?.slackbotAiSource||"unknown",{activePrevView:l,activeNextView:c}=getActiveViews(a),d=isViewForChannel(l,r)||isViewForThread(l,r),u=isViewForChannel(c,r)||isViewForThread(c,r);d&&!u&&e((0,eF.w)({eventId:A.EventId.SLACKBOTAI_DM_UNMOUNT}));let m={slackbot_ai_history:"history",slackbot_ai_conversation:"conversation",slackbot_ai_skills:"skills",slackbot_ai_automations:"automations"}[c?.params?.tabId]||"unknown";!d&&u&&c&&e((0,eF.w)({eventId:A.EventId.SLACKBOTAI_DM_OPEN,slackbotAiChannelTab:m,entrypoint:s})),d&&u&&c?.params?.tabId!==l?.params?.tabId&&e((0,eF.w)({eventId:A.EventId.SLACKBOTAI_TAB_CLICK,slackbotAiChannelTab:m,threadTs:i||void 0}))});eP.meta={name:"logSlackbotAiNavigateEvents",key:"createThunkLogSlackbotAiNavigateEvents",description:"Logs Slackbot AI DM open and unmount events"};var eU=a(0x20482ad21),eB=a(0x12edaa96a),eG=a(0x7adbadbb);let eH=new eU.Ay("client"),eW=(0,S.Ay)("Announces to screen readers that the secondary view has changed",(e,t,{nextViewSet:a,prevViewSet:n,windowId:r,navigateParams:i})=>{let o;if(r===O.N2)return;let{destinationContainer:s}=i,l=n?.[O.mq.Secondary],c=a?.[O.mq.Secondary];s!==O.mq.Primary||(0,G.A)(c)?(0,G.A)(c)&&!(0,G.A)(l)&&(o=eH.t("Secondary view has closed")):o=(0,G.A)(l)?eH.t("Secondary view has opened"):eH.t("Secondary view has changed"),o&&e((0,eG.rl)({message:o,uuid:(0,eB.A)()}))});eW.meta={name:"maybeAnnounceSecondary",key:"createThunkMaybeAnnounceSecondary",description:"Announces to screen readers that the secondary view has changed"};var eV=a(0xeb4f1a4d),ej=a(0x93a9f6f3);let eK=(0,S.Ay)("Clear the active Slackbot thread if older than threshold",(e,t,a,n)=>{let r=t();if(!(0,eL.Dj)(r))return;let o=(0,p.o2)(r,"USLACKBOT");if(!o)return;let{navigateParams:s}=a;if(s.viewType!==i.D.Channel||s.id!==o)return;let l=Number((0,eM.Ep)(r));if(!l||isNaN(l))return;let c=(0,eM.R7)(r);!c||Date.now()>c+ej.V6&&e((0,eV.xM)({channelId:o,threadTs:null}))});eK.meta={name:"maybeClearActiveSlackbotThread",key:"createThunkMaybeClearActiveSlackbotThread",description:"Clear the active Slackbot thread if older than threshold"};var eq=a(0x1674ad34e),ez=a(0x12185e091),e$=a(0x1dd9c569b),eY=a(0xbaca7a66);let eQ=(0,S.Ay)("Dismiss action item when user navigates away from DM",(e,t,a,n)=>{let r=a.prevViewSet?.primary,o=r?.id,s=r?.viewType===i.D.Channel&&(0,d.A)(o),l=t(),c=(0,p.OL)(l,o),u=(0,e$.lx)(l,{channelId:o}),m=(0,ez.JM)(c);s&&m&&u?.forEach(t=>{t.state!==eq.j.Dismissed&&e((0,eY.HA)({actionItemId:t.id,actionItemState:eq.j.Dismissed}))})});eQ.meta={name:"maybeDismissActionItem",key:"createThunkMaybeDismissActionItem",description:"Dismiss action item when user navigates away from DM"};var eZ=a(0x218842a12),eJ=a(0xb9604b6),eX=a(0xf3c65e54),e0=a(0x5b1935a6),e1=a(0x1195a3e30);let e2=(0,S.Ay)("Side effect to dismiss the #feat-inproduct-team-creation message banner when navigating away from the tractor channel",async(e,t,a)=>{let n=t();if(!(0,r.k)(a)||!(0,e1.I)(n)||(0,eJ.Hp)(n,e0.xu.WELCOME_SPACE)!==e0.ze.INPRODUCT_TEAM_CREATION_WELCOME_CARD_MESSAGE_BANNER)return;let o=(0,x.te)(n);(a.nextTab!==O.k6.Home||a.nextViewSet.primary?.viewType!==i.D.Channel||a.nextViewSet.primary?.id!==o)&&(await e((0,eX.A)({action:e0.hw.DISMISS,notificationName:eZ.g.INPRODUCT_TEAM_CREATION_WELCOME_CARD_MESSAGE_BANNER})),e((0,eR.iR)({event:{spaces:[e0.xu.WELCOME_SPACE],type:e0.jo.REQUEST_SPACES}})))});e2.meta={name:"maybeDismissBannerForInproductTeamCreation",key:"createThunkMaybeDismissBannerForInproductTeamCreation",description:"Side effect to dismiss the #feat-inproduct-team-creation message banner when navigating away from the tractor channel"};let e3=(0,S.Ay)("Hide channel join banner when navigating away from channel view",(e,t,a,n)=>{let r=a.prevViewSet?.primary,o=a.nextViewSet?.primary,s=r?.id,l=o?.id,c=t();r?.viewType===i.D.Channel&&(0,d.A)(s)&&s!==l&&s&&(0,eJ.Hp)(c,e0.xu.MESSAGE_INPUT,s)===e0.ze.EDUCATION_CHANNEL_JOIN_BANNER&&(e((0,eX.A)({notificationName:e0.ze.EDUCATION_CHANNEL_JOIN_BANNER,action:e0.hw.IMPRESSION,channelId:s})),e((0,eR.iR)({event:{type:e0.jo.REQUEST_SPACES,spaces:[e0.xu.MESSAGE_INPUT]},channelId:s})))});e3.meta={name:"maybeHideChannelJoinBanner",key:"createThunkMaybeHideChannelJoinBanner",description:"Hide channel join banner when navigating away from channel view"};var e4=a(0x1c1c45c18);let e6=(0,S.Ay)("Navigate side effect to mark suggested lists in Sales sidebar as stale so that they may be refetched",(e,t,a)=>{let{nextViewSet:n}=a,r=n[O.mq.Sidebar];r&&r?.viewType===i.D.SalesSidebar&&e((0,e4.KL)())});e6.meta={name:"markSalesSidebarSuggestedListsAsStale",key:"createThunkMarkSalesSidebarSuggestedListsAsStale",description:"Navigate side effect to mark suggested lists in Sales sidebar as stale so that they may be refetched"};var e9=a(0x1c283e530),e5=a(0x10079cc7),e8=a(0x1500b5f62),e7=a(0x431513f8),te=a(0x1ee439e69);let tt=(0,S.Ay)("Maybe automatically redeem a Biz+ trial for Salesforce AutoSlack team",async(e,t)=>{let a=t(),{isEligible:n}=await e((0,e7.A)({campaignType:e5.ZO.SfdcAutoSlackPlusTrial,reason:"feat-pnp-salesforce-embed"}));if(!n)return void e((0,e8.h)({pref:"has_redeemed_auto_slack_trial",value:!0}));let r=(0,te.H7)(a).id,i=(0,em.default)({label:"ACTIVATE_AUTO_TRIAL",teamId:r});try{await e((0,e9.a)({reason:"feat-pnp-salesforce-embed",campaignType:e5.ZO.SfdcAutoSlackPlusTrial})),e((0,e8.h)({pref:"has_redeemed_auto_slack_trial",value:!0}))}catch(e){i.error(Error(`Could not redeem salesforce autoslack trial: ${e}`))}});tt.meta={name:"maybeRedeemSalesforcePlusTrial",key:"createThunkMaybeRedeemSalesforcePlusTrial",description:"Maybe automatically redeem a Biz+ trial for Salesforce AutoSlack team"};let ta=(0,S.Ay)("Navigate side effect to redeem Auto-Slack trials",async(e,t,a)=>{!(0,r.k)(a)||(0,eO.S6)(t())&&(await e(tt()),e((0,eR.K8)()))});ta.meta={name:"maybeRedeemTrialForAutoSlackTeam",key:"createThunkMaybeRedeemTrialForAutoSlackTeam",description:"Navigate side effect to redeem Auto-Slack trials"};var tn=a(0x9e671ad),tr=a(0x11ed04fa0),ti=a(0x1c760ba43),to=a(0x15e56acbf),ts=a(0x19d7d372c),tl=a(0xc77f71a0);let tc=(0,S.Ay)("Inner function for resetting current channel tab id",(e,t,a)=>{let{isMainWindow:n,windowId:r,isSplitView:o,nextView:s,prevView:l}=a;if(s?.viewType===i.D.Channel&&s?.id&&(0,d.A)(s?.id)&&(!s?.params?.tabId||s.params.tabId===(0,tl.H)(t(),s.id))&&l?.id!==s?.id)return n?e(o?(0,ts.Y)({windowId:O.N2,isMainWindow:!0,isSplitView:!0,channelTabId:(0,tl.H)(t(),s.id)}):(0,ts.Y)({windowId:O.N2,isMainWindow:!0,isSplitView:!1,tab:a.nextTab,channelTabId:ti.fY.Channel})):e((0,ts.Y)({windowId:r,isMainWindow:!1,isSplitView:!1,channelTabId:ti.fY.Channel}));let c=l&&(0,tr.q1)({view:l}),u=!s||s&&!(0,tr.q1)({view:s});if(c&&u)if(!n)return e((0,to.V)({windowId:r,isMainWindow:!1,isSplitView:!1}));else{if(o)return e((0,to.V)({windowId:O.N2,isMainWindow:!0,isSplitView:!0}));if(a.prevTab)return e((0,to.V)({windowId:O.N2,isMainWindow:!0,isSplitView:!1,tab:a.prevTab}))}});tc.meta={name:"maybeResetCurrentChannelTabInner",key:"createThunkMaybeResetCurrentChannelTabInner",description:"Inner function for resetting current channel tab id"};let td=(0,S.Ay)("Resets the current channel tab id when switching channels",(e,t,a)=>{let n,i,o,s,{nextViewSet:l,prevViewSet:c,windowId:d}=a;if((0,r.k)(a))if(n=a.nextTab,i=a.prevTab,o=a.nextSplitView,s=a.prevSplitView,(0,tn.A)(o,s)){let t=l?.[O.mq.Primary],a=c?.[O.mq.Primary];t&&e(tc({isMainWindow:!0,windowId:O.N2,isSplitView:!1,nextView:t,prevView:a,prevTab:i,nextTab:n}))}else e(tc({isMainWindow:!0,windowId:O.N2,isSplitView:!0,nextView:o,prevView:s}));else{let t=l?.[O.mq.Primary],a=c?.[O.mq.Primary];t&&e(tc({isMainWindow:!1,isSplitView:!1,windowId:d,nextView:t,prevView:a}))}});td.meta={name:"maybeResetCurrentChannelTab",key:"createThunkMaybeResetCurrentChannelTab",description:"Resets the current channel tab id when switching channels"};var tu=a(0x1880cbfa4),tm=a(0x20c8d66c6);let tf=(0,S.Ay)("Resets the forceSingleColumnMode flag while navigate within the child window",(e,t,{windowId:a,prevViewSet:n,nextViewSet:r})=>{if(!a)return;let i=n?.primary?.id,o=n?.secondary?.id,s=r?.primary?.id,l=r?.secondary?.id;(i!==s||o!==l)&&(e((0,tm.s4)({windowId:a,metadata:{forceSingleColumnMode:!1}})),e((0,tu.p)({})))});tf.meta={name:"maybeResetSingleColumnMode",key:"createThunkMaybeResetSingleColumnMode",description:"Resets the forceSingleColumnMode flag while navigate within the child window"};var t_=a(0x1f293bb0a);let tp=(0,ea.Ay)((e,t)=>{if((0,tr.q1)({view:t})){if(t?.params?.tabId)return t.params.tabId;if((0,d.A)(t.id))return(0,tl.H)(e,t.id)}});tp.meta={name:"getChannelTabIdForView",key:"createSelectorGetChannelTabIdForView",description:(e,t)=>{if((0,tr.q1)({view:t})){if(t?.params?.tabId)return t.params.tabId;if((0,d.A)(t.id))return(0,tl.H)(e,t.id)}}};let th=(0,S.Ay)("Resets the current channel tab id when switching channels",(e,t,a)=>{let n,i,o=t(),{nextViewSet:s,prevViewSet:l,windowId:c}=a;if((0,r.k)(a)){n=a.nextSplitView,i=a.prevSplitView;let t=(0,t_.X)(o,{windowId:O.N2,isSplitView:!0});if(n){let a=tp(o,n);if(!(0,tn.A)(n,i)&&a&&a!==t)return e((0,ts.Y)({windowId:O.N2,isMainWindow:!0,isSplitView:!0,channelTabId:a}))}let r=s?.[O.mq.Primary],c=l?.[O.mq.Primary],d=(0,t_.X)(o,{windowId:O.N2,isSplitView:!1,tab:a.nextTab});if(r){let t=tp(o,r);if(!(0,tn.A)(r,c)&&t&&t!==d)return e((0,ts.Y)({windowId:O.N2,isMainWindow:!0,isSplitView:!1,tab:a.nextTab,channelTabId:t}))}}else{let t=s?.[O.mq.Primary],a=l?.[O.mq.Primary],n=(0,t_.X)(o,{windowId:c,isSplitView:!1});if(t){let r=tp(o,t);if(!(0,tn.A)(t,a)&&r&&r!==n)return e((0,ts.Y)({windowId:c,isMainWindow:!1,isSplitView:!1,channelTabId:r}))}}});th.meta={name:"maybeSetCurrentChannelTab",key:"createThunkMaybeSetCurrentChannelTab",description:"Resets the current channel tab id when switching channels"};var tg=a(0x20c23cf7a),tA=a(0x365a4cc3);let tb=(0,S.Ay)("Side effect to maybe show Slack AI thread summary coachmark",(e,t,a)=>{let n,r;if(!(0,tg.Z2)(t()))return;let{prevViewSet:i,nextViewSet:o}=a,s=i?.secondary,l=o?.secondary,c=l?.id==="ai_summary_details",d=s?.id==="thread";if(!c||!d)return;let u=s?.params?.threadId;if(u){let e=(0,eI.Sb)(u);n=e?.channelId,r=e?.threadTs}!n||!r||(0,tA.sK)(t(),{channelId:n,threadTs:r})&&c&&e((0,eR.iR)({event:{type:e0.jo.SLACK_AI_AUTO_THREAD_SUMMARY_ELIGIBLE_SUMMARY_DETAILS_OPENED}}))});tb.meta={name:"maybeShowAutoThreadSummaryCoachmark",key:"createThunkMaybeShowAutoThreadSummaryCoachmark",description:"Side effect to maybe show Slack AI thread summary coachmark"};let ty=(0,S.Ay)("Side effect to maybe show a banner when navigating away from DM canvas",(e,t,a,n)=>{let r=t(),{nextViewSet:o,prevViewSet:s}=a,l=s?.secondary,c=o?.secondary,d=s?.primary,u=o?.primary;if(d?.id!==u?.id)return;let m=u?.viewType===i.D.Channel,f=u?.id,_=m&&(0,p.OL)(r,f),h=_&&(0,ez.LI)(_),g=c?.viewType===i.D.ChannelCanvas,A=l?.viewType===i.D.ChannelCanvas,b=m&&(0,R.Q)(r,f),y=(0,L.Ay)(l?.params?.entityId)||A,S=(0,L.Ay)(c?.params?.entityId)||g,E=(0,V.ty)(r,"dm_canvas_auto_open_count_left")??0;b&&y&&!S?(e((0,eR.iR)({event:{type:e0.jo.DM_CANVAS_CLOSED}})),e((0,j.AZ)({pref:v.Gg,value:!1}))):!b&&-1!==E&&h&&y&&!S&&e((0,eR.iR)({event:{type:e0.jo.DM_CANVAS_CLOSED}}))});ty.meta={name:"maybeShowCanvasClosedBanner",key:"createThunkMaybeShowCanvasClosedBanner",description:"Side effect to maybe show a banner when navigating away from DM canvas"};var tS=a(0x22ef89887);let tE=(0,S.Ay)("Navigate side effect to maybe reveal hidden coachmarks",e=>{e((0,tS.co)(!1))});tE.meta={name:"maybeShowCoachmarkNavigateListener",key:"createThunkMaybeShowCoachmarkNavigateListener",description:"Navigate side effect to maybe reveal hidden coachmarks"};var tk=a(0x2286acf6c),tT=a(0x1d5d5f0d2);let tI=(0,ea.Ay)(e=>(0,tT.O)(e).should_show_list_coachmark);tI.meta={name:"getCreatorGuidedSetupShouldShowListCoachmark",key:"createSelectorGetCreatorGuidedSetupShouldShowListCoachmark",description:e=>(0,tT.O)(e).should_show_list_coachmark};var tw=a(0x247c3f14a);let tC=(0,ea.Ay)(e=>!!(0,tw.A)(e)&&tI(e));tC.meta={name:"isEligibleForCreatorGuidedSetupListCoachmark",key:"createSelectorIsEligibleForCreatorGuidedSetupListCoachmark",description:e=>!!(0,tw.A)(e)&&tI(e)};var tv=a(0x13300685c),tx=a(0x2067f54f8),tR=a(0x1780e8044),tO=a(0x1472af90a);let tN=[r.w.CLIENT_MOUNT,r.w.TEAM_SWITCH],tD=(0,S.Ay)("Maybe show the channel invitation coachmark for #feat-creator-guided-setup during a navigation event",async(e,t,a)=>{let n=(0,em.default)({getState:t}),o=t();if((0,r.k)(a)&&(!a.prevViewSet||!a.prevViewSet.primary||!a.nextViewSet.primary||a.prevViewSet.primary.viewType!==i.D.Channel||a.prevViewSet.primary.id!==a.nextViewSet.primary.id||a.prevViewSet.primary.params?.tabId!==a.nextViewSet.primary.params?.tabId)&&a.nextTab===O.k6.Home&&a.nextViewSet.primary&&a.nextViewSet.primary.viewType===i.D.Channel&&(!a.nextViewSet.primary.params?.tabId||a.nextViewSet.primary.params.tabId===ti.fY.Channel)){let r=(0,x.te)(o);if(a.nextViewSet.primary.id===r)try{let[a]=await e((0,tR.L)({interactions:[{component:tO.G7.CreatorGuidedSetupListCoachmark,type:tO.X8.Dismiss}],reason:"creator-guided-setup-invitation-coachmark"}));if(o=t(),!a){(0,eJ.lN)(o)&&e((0,eR.iR)({event:{spaces:[e0.xu.IN_PRODUCT_COACHMARK,e0.xu.LAUNCH_MODAL,e0.xu.PROGRESSIVE_DISCLOSURE,e0.xu.WELCOME_SPACE],type:e0.jo.REQUEST_SPACES}}));return}}catch(e){n.error(Error(`Could not load the dismiss user interactions for CreatorGuidedSetupListCoachmark: ${e}`));return}if(!(0,eJ.lN)(o)){tN.includes(a.triggerType)&&e((0,C.qy)(!0));return}e((0,eR.iR)({event:{type:e0.jo.CREATOR_GUIDED_SETUP_INVITES}}))}});tD.meta={name:"maybeShowCreatorGuidedSetupInvitationCoachmark",key:"createThunkMaybeShowCreatorGuidedSetupInvitationCoachmark",description:"Maybe show the channel invitation coachmark for #feat-creator-guided-setup during a navigation event"};let tL=[r.w.CLIENT_MOUNT,r.w.TEAM_SWITCH],tM=(0,S.Ay)("Maybe show the list coachmark for #feat-creator-guided-setup during a navigation event",(e,t,a)=>{let n=t();if(!(0,r.k)(a)||a.prevViewSet&&a.prevViewSet.primary&&a.nextViewSet.primary&&a.prevViewSet.primary.viewType===i.D.Channel&&a.prevViewSet.primary.id===a.nextViewSet.primary.id&&a.prevViewSet.primary.params?.tabId===a.nextViewSet.primary.params?.tabId)return!1;let o=(0,eJ.lN)(n),s=(0,x.te)(n);if(a.nextTab===O.k6.Home&&a.nextViewSet.primary&&a.nextViewSet.primary.viewType===i.D.Channel&&a.nextViewSet.primary.id===s&&(!a.nextViewSet.primary.params?.tabId||a.nextViewSet.primary.params.tabId===ti.fY.Channel))return o?(e((0,eR.iR)({event:{channelId:s,type:e0.jo.SOLUTIONS_CHANNEL_CREATED}})),!0):!!tL.includes(a.triggerType)&&(e((0,C.pm)(!0)),!0);return!!o&&!!a.prevViewSet&&!!a.nextViewSet.primary&&!!a.prevViewSet.primary&&a.prevViewSet.primary.viewType===i.D.Channel&&a.prevViewSet.primary.id===s&&(a.prevViewSet.primary.id!==a.nextViewSet.primary.id||!!a.nextViewSet.primary.params&&a.nextViewSet.primary.params.tabId!==ti.fY.Channel)&&(e((0,eR.iR)({event:{spaces:[e0.xu.IN_PRODUCT_COACHMARK,e0.xu.LAUNCH_MODAL,e0.xu.PROGRESSIVE_DISCLOSURE,e0.xu.WELCOME_SPACE],type:e0.jo.REQUEST_SPACES}})),!0)});tM.meta={name:"maybeShowCreatorGuidedSetupListCoachmark",key:"createThunkMaybeShowCreatorGuidedSetupListCoachmark",description:"Maybe show the list coachmark for #feat-creator-guided-setup during a navigation event"};let tF=(0,S.Ay)("Side effect to maybe show the coachmarks from #feat-creator-guided-setup",(0,tk.A)(async(e,t,a)=>{let n=t();if(!(0,tv.fJ)(n))return;let r=!1;tC(n)&&(r=e(tM(a))),r||await e((0,tx.M)())&&e(tD(a))}));tF.meta={name:"maybeShowCoachmarksForCreatorGuidedSetup",key:"createThunkMaybeShowCoachmarksForCreatorGuidedSetup",description:"Side effect to maybe show the coachmarks from #feat-creator-guided-setup"};var tP=a(0x21d145283),tU=a(0xfd109cfc);let tB=(0,S.Ay)("Side effect to maybe show a coachmark when navigating away from General canvas",(e,t,{nextViewSet:a,prevViewSet:n},r)=>{let o=t();if(!(0,tU.oh)(o))return;let s=a?.primary?.id;if(!s||n?.primary?.id!==s||a?.primary?.viewType!==i.D.Channel)return;let l=(0,p.OL)(o,s);if(!(0,tP.N)(l))return;let c=!!(0,V.ty)(o,"seen_canvas_cta"),d=(0,L.Ay)(n?.secondary?.params?.entityId),u=a?.secondary,m=a?.secondary?.id==="help_browser";c&&d&&(!u||m)&&e((0,eR.iR)({event:{type:e0.jo.CLOSE_CANVAS_FROM_QUICK_SOLUTION}}))});tB.meta={name:"maybeShowDefaultChannelCanvasCoachmark",key:"createThunkMaybeShowDefaultChannelCanvasCoachmark",description:"Side effect to maybe show a coachmark when navigating away from General canvas"};var tG=a(0xbad225b5),tH=a(0x16cf1da63),tW=a(0x40c0d834),tV=a(0x2053d2779),tj=a(0x172dd1bf5),tK=a(0x22e17a74c),tq=a(0x226892387),tz=a(0x19dffa924);let t$=a.p+"joiner_welcome_envelope-cab29a3.svg";var tY=a(0x185d143dc),tQ=a.n(tY);let tZ=new eU.Ay("im_foreword"),JoinerWelcomeCardAnimationModal=({channelId:e})=>{let t=(0,tH.wA)(),n=(0,tq.d4)(tz.wy),r=(0,tq.d4)(e=>!(0,V.ty)(e,"a11y_animations")),i=(0,tG.useCallback)(()=>a.e("lottie-inviter-joiner-first-dm-welcome-card.json").then(a.t.bind(a,0x1bf763990,23)),[]),o=(0,tG.useCallback)(()=>{t((0,tK.b)({channelId:e}))},[t,e]),s=(0,tG.useCallback)(e=>{e&&e.then(e=>{let t=!1;e.addEventListener("enterFrame",e=>{e.currentTime>=50&&!t&&(t=!0,o())})})},[o]);return(0,tG.useEffect)(()=>{r&&o()},[r,o]),tG.createElement(tV.Ay,{showCancelButton:!1,showGoButton:!1,showCloseButton:!1,modalClasses:tQ().modal,modalBodyClasses:tQ().modalBody,showOpenTransition:!1,showCloseTransition:!1,fullBleedModalBodyContent:!0,contentLabel:n?tZ.t("Welcome card modal"):""},tG.createElement(tW.A,{eventId:A.EventId.NEWXP_JOIN_TEAM,uiStep:A.UiStep.DIRECT_MESSAGES,stepVariant:"joiner_welcome_card_modal_step",uiComponentVariant:A.UiComponentVariant.IS_JOINER,elementName:"joiner_welcome_card_animation_modal",clogImpression:!0},tG.createElement("div",{className:tQ().graphicContainer},r?tG.createElement("img",{className:tQ().envelopeSvg,src:t$,alt:n?tZ.t("Welcome card envelope"):"","data-qa":"joiner_welcome_envelope_svg"}):tG.createElement("div",{"data-qa":"joiner_welcome_envelope_lottie"},tG.createElement(tj.e,{className:tQ().envelopeLottie,getAnimationImport:i,autoplay:!0,loop:!1,ref:s})))))};JoinerWelcomeCardAnimationModal.displayName="JoinerWelcomeCardAnimationModal";var tJ=a(0x13693bf49),tX=a(0x46dbff89);let t0=(0,S.Ay)("Side effect to maybe show the inviter-joiner first DM welcome card animation and modal",(e,t,a)=>{let n=t();if(!(0,r.k)(a)||a.nextViewSet.primary?.viewType!==i.D.Channel||a.prevViewSet?.primary?.id===a.nextViewSet.primary?.id)return;let o=a.nextViewSet.primary?.id;!(0,tz.Xo)(n,o)||(0,tz.xl)(n,o)||!(0,tz.gT)(n,o)||(0,tz.hA)(n,o)||e((0,tX.q)({element:tG.createElement(JoinerWelcomeCardAnimationModal,{channelId:o}),name:tJ.Qk,isStackable:!0}))});t0.meta={name:"maybeShowInviterJoinerFirstDmWelcomeCard",key:"createThunkMaybeShowInviterJoinerFirstDmWelcomeCard",description:"Side effect to maybe show the inviter-joiner first DM welcome card animation and modal"};var t1=a(0x190d0efa3),t2=a(0x17cc0a2c6);let t3=(0,S.Ay)("Side effect to maybe show the send welcome card modal on first DM open for inviter/manager",(e,t,a)=>{let n=t();if(!(0,r.k)(a)||a.nextViewSet.primary?.viewType!==i.D.Channel||a.prevViewSet?.primary?.id===a.nextViewSet.primary?.id)return;let o=a.nextViewSet.primary?.id;!(!(0,tz.Xo)(n,o)||!(0,tz.xl)(n,o)||(0,tz.gT)(n,o))&&(0,tz.U)(n,o)&&e((0,t2.G)({channelId:o,source:t1.G.FIRST_OPEN}))});t3.meta={name:"maybeShowInviterWelcomeCardModalOnFirstDmOpen",key:"createThunkMaybeShowInviterWelcomeCardModalOnFirstDmOpen",description:"Side effect to maybe show the send welcome card modal on first DM open for inviter/manager"};var t4=a(0x70de3606);let t6=(0,S.Ay)("Side effect to maybe show an educational lists peek when navigating away from lists",(e,t,a,n)=>{let r=(0,t4.Il)(t()),{nextViewSet:o,prevViewSet:s}=a,l=s?.primary,c=o?.primary,d=[i.D.BrowseUnifiedFilesLists],u=d.includes(l?.viewType),m=d.includes(c?.viewType);r&&u&&!m&&e((0,eR.iR)({event:{type:e0.jo.LEFT_LISTS_TAB}}))});t6.meta={name:"maybeShowListsWelcomePeek",key:"createThunkMaybeShowListsWelcomePeek",description:"Side effect to maybe show an educational lists peek when navigating away from lists"};var t9=a(0x1b0a362c3),t5=a(0x158809687),t8=a(0x1e75c70fa);function isEligibleNavigationEvent(e){return!!(0,r.k)(e)&&e.nextViewSet.primary?.viewType===i.D.Channel&&e.prevViewSet?.primary?.id!==e.nextViewSet.primary.id&&!e.nextViewSet.secondary}let t7=(0,S.Ay)("Maybe open thread with failed reply when navigating to a channel",(e,t,a)=>{if(!isEligibleNavigationEvent(a))return;let n=a.nextViewSet.primary?.id;if(!n)return;let r=t(),i=(0,t8.A)(r,n);if(!(0,t5.n)(i))return;let o=(0,t9.L)(i);o&&e((0,N.A)({tab:a.nextTab,viewSet:{...a.nextViewSet,[O.mq.Secondary]:(0,s.UX)({channelId:n,threadTs:o})},windowId:O.N2}))});t7.meta={name:"maybeShowThreadWithFailedMessage",key:"createThunkMaybeShowThreadWithFailedMessage",description:"Maybe open thread with failed reply when navigating to a channel"};var ae=a(0x1c3eab6e3),at=a(0x16dda54b4);let aa=(0,S.Ay)("Side effect to stop AI team creation animation from playing again when navigating away from the channel while animation is running",(e,t,a)=>{let n=t(),r=(0,x.if)(n),o=(0,ae.lP)(n),s=(0,at.Qm)(n);if(!o&&!s||!r)return;let{nextViewSet:l,prevViewSet:c}=a,d=c?.[O.mq.Primary],u=l?.[O.mq.Primary],m=d?.viewType===i.D.Channel;if(!m)return;let f=d?.id!==u?.id;m&&f&&e((0,C.qZ)(!1))});aa.meta={name:"maybeStopAITeamCreationAnimation",key:"createThunkMaybeStopAITeamCreationAnimation",description:"Side effect to stop AI team creation animation from playing again when navigating away from the channel while animation is running"};var an=a(0xd6ba6894),ar=a(0xdb650e);let ai=(0,S.Ay)("Maybe switch the main window column mode on navigate",(e,t,a)=>{if(!(0,r.k)(a))return;let{nextTab:n,prevTab:i,navigateParams:o}=a;if(n===i&&o.destinationContainer!==O.mq.Split)return;let s=an.J.innerWidth;e((0,ar.N)({windowWidth:s}))});ai.meta={name:"maybeSwitchMainWindowColumnModeNavigateListener",key:"createThunkMaybeSwitchMainWindowColumnModeNavigateListener",description:"Maybe switch the main window column mode on navigate"};var ao=a(0x23a2f925a),as=a(0x1bb9d08c8);let al=(0,S.Ay)("Maybe trigger Slackbot NUX close event if user has seen splash",(e,t)=>{let a=t(),n=(0,ao.sb)(a);(0,ao.u5)(a)&&(n===ej.Gf.NUX_OPENED||n===ej.Gf.SPLASH_COMPLETE||n===ej.Gf.ONBOARDING_COMPLETE)&&(e((0,eR.u2)({event:{type:e0.jo.SLACKBOT_AI_NUX_CLOSE},reason:"slackbot_ai_nux_close"})),n===ej.Gf.ONBOARDING_COMPLETE&&e((0,as.k)({slackbotAiNuxState:ej.Gf.NUX_COMPLETE})))});al.meta={name:"maybeTriggerSlackbotNuxCloseEvent",key:"createThunkMaybeTriggerSlackbotNuxCloseEvent",description:"Maybe trigger Slackbot NUX close event if user has seen splash"};let ac=(0,S.Ay)("Triggers Slackbot NUX close event when navigating away from Slackbot",(e,t,a)=>{let n=t();if(!(0,ao.u5)(n))return;let r=(0,p.o2)(n,eD.Q$);if(!r)return;let{activePrevView:i,activeNextView:o}=getActiveViews(a),s=isViewForChannel(i,r),l=isViewForChannel(o,r);s&&!l&&e(al())});ac.meta={name:"maybeTriggerSlackbotNuxClose",key:"createThunkMaybeTriggerSlackbotNuxClose",description:"Triggers Slackbot NUX close event when navigating away from Slackbot"};var ad=a(0x1482b420c),au=a(0x10ea12ee6),am=a(0x14149c126);let af=(0,S.Ay)("Record a frecency event for a navigate event",(e,t,a)=>{if("on"!==(0,am._Z)(t(),"record_frecency_on_navigate"))return;let{navigateParams:n}=a,{id:r}=n;if(r)if("thread"===r){let t=(0,eI.Sb)(n.params?.threadId)?.channelId;t&&e((0,au.L)({id:t}))}else e((0,au.L)({id:r}))});af.meta={name:"recordFrecencyEventOnNavigate",key:"createThunkRecordFrecencyEventOnNavigate",description:"Record a frecency event for a navigate event"};var a_=a(0x1718b63ef),ap=a(0xedbc2765);let ah=(0,S.Ay)("Records tab switches and navigations within those tab switches",(e,t,a)=>{let n=t();if(!(0,r.k)(a))return;let{nextViewSet:o}=a,s=o?.primary,l=(0,d.A)(s?.id)&&s?.id,c=s?.viewType===i.D.Channel&&!!l,u=!!s?.params?.tabId,m=s?.params?.tabId===ti.fY.Channel;if(!c||u&&!m){let e=l?(0,a_.R)({viewType:s?.viewType,id:l,state:n}):"";ap.LI.remove({label:ap.gC.Navigation,id:e,reason:"switch_from_channel_side_effect"})}});ah.meta={name:"recordNavigateMetrics",key:"createThunkRecordNavigateMetrics",description:"Records tab switches and navigations within those tab switches"};let ag=(0,S.Ay)("Records canvas open events from various places",(e,t,a)=>{let n=t(),{navigateParams:r,nextViewSet:o}=a,{viewType:s,params:l}=r;if("on"!==(0,am._Z)(n,"canvas_open_doc_clog_v2")&&(s===i.D.Canvas||s===i.D.ChannelCanvas)&&l?.clogParams){let t=(0,u.QY)(l.entityId),a=(0,h.Lp)(n,t||"");e((0,k.A)({...l.clogParams,isBadged:l.clogParams.isBadged||a?.show_badge,isChannelCanvas:s===i.D.ChannelCanvas,nextViewSet:o}))}});ag.meta={name:"recordOpenDocMetrics",key:"createThunkRecordOpenDocMetrics",description:"Records canvas open events from various places"};var aA=a(0xe8e28706),ab=a(0x1ec69ee01),ay=a(0xb81bfdaf),aS=a(0x15e55b5ca),aE=a(0x1b59ea031),ak=a(0x1731631dc);function determineTimestamps({state:e,dispatch:t,nextChannelViewParams:a,targetChannel:n}){let r=n.id,i=(0,ab.KJ)(n),o=(0,ab._V)(e,n),{startTs:s,startTsOffset:l}=a??{},c={ghostLastRead:i?o:null,startTs:s,startTsOffset:l},d=(0,V.ty)(e,"start_scroll_at_oldest")&&(0,V.ty)(e,"mark_msgs_read_immediately");if(!s&&i&&t((0,aE._)({channelId:r,scrollmark:null})),s||!d)return c;if(i)return{...c,startTs:o};let u=(0,aS.xL)(e,r);if(u){let{mark:e,offset:t}=u;return{...c,startTs:e,startTsOffset:t}}return c}let aT=(0,S.Ay)("Navigate side effect to reset channel unread meta data",(e,t,a,n)=>{let i=t(),s=a.windowId,{view:l,isChildWindow:c,isMainWindow:u}=n(o.U),m=a.prevViewSet?.[O.mq.Primary]?.id,f=O.mq.Primary,_=a.nextViewSet[f];for(let[e,t]of Object.entries(a.nextViewSet))t?.id&&(0,d.A)(t.id)&&(f=e,_=t);let h=(0,ak.Jz)(i),g=a.navigateParams.destinationContainer===O.mq.Split;h&&(0,r.k)(a)&&g&&(m=a.prevSplitView?.id,_=a.nextSplitView);let A=_?.id;if(!(0,d.A)(A)||(!(0,r.k)(a)||a.nextTab===a.prevTab)&&m===A)return;let b=(0,p.OL)(i,A),{ghostLastRead:y,startTs:S,startTsOffset:E}=determineTimestamps({state:i,dispatch:e,nextChannelViewParams:_?.params,targetChannel:b});c&&l&&s!==O.N2?(e((0,eC.IZ)({childWindowId:s,container:f,params:{startTs:S,startTsOffset:E}})),e((0,ev.v)({childWindowId:s,container:f,uiState:{userSetUnreadPoint:!1,unreadLineVisible:!1,ghostLastRead:y}}))):u&&(0,r.k)(a)&&(e((0,eC.IZ)({windowId:O.N2,tab:a.nextTab,container:f,params:{startTs:S,startTsOffset:E}})),e((0,ev.v)({windowId:O.N2,tab:a.nextTab,container:f,uiState:{userSetUnreadPoint:!1,unreadLineVisible:!1,ghostLastRead:y}})));let k=(0,V.ty)(i,"mark_msgs_read_immediately"),T=(0,ab.H9)(b),I=!1;(0,eL.Dj)(i)&&(I=A===(0,p.o2)(i,"USLACKBOT")),!k||!A||(0,aA.TN)(i,A)||a?.navigateParams?.uiState?.preventMoveFocus||I||e((0,ay.x)({channelId:A,saveGhost:!T,doNotGoBackInTime:!0,reason:eD.Mu.VIEWED,windowId:s}))});aT.meta={name:"setChannelSwitchUnreadMetaData",key:"createThunkSetChannelSwitchUnreadMetaData",description:"Navigate side effect to reset channel unread meta data"};let aI=(0,S.Ay)("Sets current channel tab for TabbedChannelContext to read on history navigation",(e,t,a)=>{let n=t(),{nextViewSet:r,windowId:i}=a,o=r[O.mq.Primary];if(o&&(0,tr.q1)({view:o})){let t=o?.params?.tabId??ti.fY.Channel;if(i===O.N2){let a=(0,en.e6)(n);return e((0,ts.Y)({windowId:O.N2,isMainWindow:!0,isSplitView:!1,tab:a,channelTabId:t}))}return e((0,ts.Y)({windowId:i,isMainWindow:!1,isSplitView:!1,channelTabId:t}))}});aI.meta={name:"setChannelTabOnHistoryNav",key:"createThunkSetChannelTabOnHistoryNav",description:"Sets current channel tab for TabbedChannelContext to read on history navigation"};var aw=a(0xf6ed6f31),aC=a(0x16f1f4c74),av=a(0x1c56fcf95),ax=a(0x1d06e350e),aR=a(0x74bbb29a);let aO=(0,S.Ay)("Navigate side effect to set previewed channel from channel browser",(e,t,a)=>{if(!(0,r.k)(a))return;let n=t(),{prevViewSet:o,nextViewSet:s,prevTab:l,nextTab:c}=a,u=(0,av.c8)(n),m=l===c&&o?.primary?.id===H.c.JoinerLaunchpad,f=l===c&&o?.primary?.id===H.c.ResurrectedUserWelcome;if(!u&&l===c&&!(m||f))return;let _=s?.[O.mq.Primary],h=(0,en.F8)(n,{tab:l,container:O.mq.Primary});if(h?.viewType===i.D.BrowseChannels||m||f){let{id:t,viewType:a}=_||{},r=a===i.D.Channel&&(0,d.A)(t)&&(0,p.OL)(n,t);if((0,ez.jq)(r)&&!(0,aw.bl)(r)){let a;a=m?aR.b:f?aR.Z1:ax.eE.CHANNELS,e((0,aC.Tm)({channelId:t,prevRoute:a}));return}}u&&h?.viewType===i.D.Channel&&e((0,aC.Tm)({channelId:null,prevRoute:null}))});aO.meta={name:"setPreviewedChannel",key:"createThunkSetPreviewedChannel",description:"Navigate side effect to set previewed channel from channel browser"};var aN=a(0x2048d058d);let aD=(0,S.Ay)("Navigate side effect to sync thread flexpane",(e,t,a)=>{let{nextViewSet:n,prevViewSet:r}=a,o=n?.[O.mq.Secondary],s=n?.[O.mq.Primary],l=r?.[O.mq.Secondary],c=r?.[O.mq.Primary],d=o?.viewType===i.D.Canvas,m=l?.viewType===i.D.Canvas;if(!d&&!m||m&&c?.id!==s?.id&&c?.viewType===i.D.Channel)return;let f=c?.viewType===i.D.Channel?c.id:null,_=(0,p.OL)(t(),f),h=_?.properties?.auto_open_tab_id;if(!h)return;let g=_?.properties?.tabz?.find(e=>e.id===h);if(g?.data?.file_id!==(0,u.QY)(l?.params?.entityId))return;let A=m&&!d&&c?.id===s?.id&&c?.viewType===i.D.Channel&&s?.viewType===i.D.Channel,b={entityId:A?c?.id:o?.params?.channelId};e((0,aN.M)({routeParams:b,isChannelCanvasFlexpane:d,isChannelCanvasClosing:A}))});aD.meta={name:"syncChannelCanvas",key:"createThunkSyncChannelCanvas",description:"Navigate side effect to sync thread flexpane"};var aL=a(0x134e233cc),aM=a(0x1599ad93e),aF=a(0x2521fddcf),aP=a(0x24d471602),aU=a(0xa624a5c7),aB=a(0x81b269e4),aG=a(0x13624d616),aH=a(0x21bfacd01);let aW=(0,em.getGenericLogger)();function viewHasClosed(e,t){let{nextViewSet:a,prevViewSet:n}=e;return n?.[t]&&(!a[t]||a[t]?.id===H.c.Empty)}function viewHasChanged(e,t){return!!(t?.viewType!==e?.viewType||t?.id!==e?.id||(0,aB.JR)(e,t))}function tabHasUpdatedInBBM(e,t){return t&&e.triggerType===r.w.ACTIVE_TAB_UPDATE}function shouldTransitionFocusToSidebar(e,t){let{nextViewSet:a,prevViewSet:n,nextTab:r}=e,i=n?.[O.mq.Sidebar],o=a[O.mq.Sidebar];return(r!==O.k6.Home||!!tabHasUpdatedInBBM(e,t))&&viewHasChanged(i,o)}function shouldTransitionFocusToPrimary(e){let{nextViewSet:t,prevViewSet:a}=e,n=a?.[O.mq.Primary],i=t[O.mq.Primary];return i?.id!==H.c.Empty&&!!(viewHasChanged(n,i)||i&&(0,r.k)(e)&&e.nextTab!==e.prevTab)}function shouldTransitionFocusToSecondary(e){let{nextViewSet:t,prevViewSet:a}=e,n=a?.[O.mq.Secondary],o=t[O.mq.Secondary];return(o?.viewType!==i.D.ChannelCanvas||e.navigateParams.viewType===i.D.ChannelCanvas)&&!!(viewHasChanged(n,o)||o&&(0,r.k)(e)&&e.nextTab!==e.prevTab)}function canUseFocusHistory(e,t,a,n){return!(!n||tabHasUpdatedInBBM(e,a)&&n.container!==t)}function threadHasClosed(e,t){if(!viewHasClosed(e,t))return!1;let{nextViewSet:a,prevViewSet:n,triggerType:o}=e;return n?.[t]?.viewType===i.D.Thread&&n?.[O.mq.Primary]?.id===a?.[O.mq.Primary]?.id&&o!==r.w.HISTORY_NAVIGATION}let aV={[O.mq.Primary]:shouldTransitionFocusToPrimary,[O.mq.Secondary]:shouldTransitionFocusToSecondary,[O.mq.Sidebar]:shouldTransitionFocusToSidebar},aj=(0,S.Ay)("Handle focus transition on client mount",(e,t,{viewSet:a,windowId:n,navigateParams:r})=>{for(let t of n===O.N2?[O.mq.Primary,O.mq.Secondary,O.mq.Sidebar]:[O.mq.Secondary,O.mq.Primary,O.mq.Sidebar]){let n=a[t];if(n&&n.id!==H.c.Empty)return void e((0,aU.Pn)({container:t,uiState:{...n.uiState,isMount:!0},options:{source:aL.xM.Navigate,teamId:r?.teamId}}))}});aj.meta={name:"onMount",key:"createThunkOnMount",description:"Handle focus transition on client mount"};let aK=(0,S.Ay)("Handle focus transition when a view closes",(e,t,{priorityList:a,nextViewSet:n,navigateParams:r})=>{for(let t of a)if(n[t])return void e((0,aU.Pn)({container:t,options:{source:aL.xM.Navigate,teamId:r?.teamId}}))});aK.meta={name:"onViewClosed",key:"createThunkOnViewClosed",description:"Handle focus transition when a view closes"};let aq=(0,S.Ay)("Navigate side effect to transition focus to the right view in the right container if needed",(e,t,a,n)=>{aW.debug("TRANSITION_FOCUS_NAVIGATE_LISTENER","handling view navigation transition",a);let i=t(),{focusCanTransition:o}=(0,aP.$P)(i,n);if(!o()||(0,aM.ZV)(i)||a?.navigateParams?.uiState?.preventMoveFocus)return;let s=(0,aH.V)(i),{lookupFocusHistoryData:l}=(0,aF.o)(i,n),{nextViewSet:c,prevViewSet:d,navigateParams:u={},triggerType:m,windowId:f}=a,{viewType:_}=u,p=e(eE(a)),h=p??(_?findContainerWithTypeForViewSet(c,_):void 0),g=!u.ignoreFocusHistory&&(0,aG.i)(i)?l(d,c,h,a.nextTab):void 0;if(g&&canUseFocusHistory(a,p,s,g)){let t=g.container;e((0,aU.Pn)({container:t,uiState:g.viewSet[t]?.uiState,options:{source:aL.xM.Navigate,teamId:u?.teamId}}));return}if(p&&s)return void e((0,aU.Pn)({container:p,uiState:u.uiState,options:{source:aL.xM.Navigate,teamId:u?.teamId}}));if(h){if(threadHasClosed(a,O.mq.Secondary))return;e((0,aU.Pn)({container:h,uiState:u.uiState,options:{source:aL.xM.Navigate,teamId:u?.teamId}}));return}if([r.w.CLIENT_MOUNT,r.w.CHILD_WINDOW_MOUNT,r.w.TEAM_SWITCH].includes(m))return void e(aj({windowId:f,viewSet:c,navigateParams:u}));for(let t of[O.mq.Sidebar,O.mq.Secondary,O.mq.Primary]){if(threadHasClosed(a,t))return;if(viewHasClosed(a,t))return void e(aK({priorityList:[O.mq.Secondary,O.mq.Primary,O.mq.Sidebar].filter(e=>e!==t),nextViewSet:c,navigateParams:u}));if(aV[t](a,s))return void e((0,aU.Pn)({container:t,options:{source:aL.xM.Navigate,teamId:u?.teamId}}))}});aq.meta={name:"transitionFocusNavigateListener",key:"createThunkTransitionFocusNavigateListener",description:"Navigate side effect to transition focus to the right view in the right container if needed"};var az=a(0x185a7134f),a$=a(0x194add20b),aY=a(0x20c81ddcb),aQ=a(0x1f4bff87c);let aZ=(0,S.Ay)("Navigate side effect to potentially send an event to an AI app that the view context has changed",(e,t,a)=>{let{nextViewSet:n}=a,r=t();if(!(0,en.Oy)(r))return;let i=(0,aA.n0)(r),o=(0,p.Pu)(r,i)?.id??"",{threadTs:s}=(0,aY.VP)(r,i,aQ.v.SplitView);if(!i||!o||!s||(0,P.A)(a.nextViewSet,a.prevViewSet))return;let l=(0,a$.eg)(n[O.mq.Primary])??{};e((0,az.dE)({reason:"navigation_changed_context",botUserId:i,channelId:o,threadTs:s,context:l}))});aZ.meta={name:"updateAiAssistantContext",key:"createThunkUpdateAiAssistantContext",description:"Navigate side effect to potentially send an event to an AI app that the view context has changed"};var aJ=a(0x11704d25),aX=a(0xe822f938);let a0=[O.mq.Primary,O.mq.Secondary,O.mq.Split];function getCurrentlyOpenAppSpaceChannelIds(e){let t=Object.values((0,aX.fq)(e)??{});if(!t)return[];let a=new Set;return t.forEach(t=>{a0.forEach(n=>{let r=t.windowId===O.N2?(0,en.F8)(e,{tab:(0,en.e6)(e),container:n}):(0,en.Yi)(e,{windowId:t.windowId,container:n});r&&r.viewType===i.D.AppSpace&&(0,d.A)(r.id)&&a.add(r.id)})}),Array.from(a)}var a1=a(0xb26b0d2c),a2=a(0x1ec15c8f9),a3=a(0x11bab834e);let a4=new Map,a6=(0,S.Ay)("Navigate side effect to potentially send an event to an app that the view context has changed",(e,t)=>{let a=t();if(!(0,a1.qc)(a))return;let n=getCurrentlyOpenAppSpaceChannelIds(a);if((0,G.A)(n))return void a4.clear();for(let e of a4.keys())n.includes(e)||a4.delete(e);if((0,a1.Pp)(a))for(let t of n){let n=(0,a2.YD)(a,{channelId:t});if(!n)continue;let r=(0,a3.GS)(a,t);if(!r)continue;let i=r.app_id,o=(0,a1.gG)(a,i),s=r.bot_user?.id??r.app_user?.id??null;o&&i&&s&&(a4.get(t)&&(0,tn.A)(a4.get(t),o)||(a4.set(t,o),e((0,aJ.x)({teamId:n,botUserId:s,context:o,reason:"navigation_changed_context"}))))}});a6.meta={name:"updateAppContext",key:"createThunkUpdateAppContext",description:"Navigate side effect to potentially send an event to an app that the view context has changed"};var a9=a(0x129702595),a5=a(0x137583fc6);let a8=(0,S.Ay)("Navigate side effect to keep the split column mode in the correct state",(e,t,a)=>{if(!(0,r.k)(a))return;let{nextSplitView:n,prevSplitView:i,nextTab:o,prevTab:s}=a;!n&&i&&e((0,a5.f)({splitWidthIntent:void 0,splitWidthMode:a9.tR.AUTO})),o!==s&&n&&e((0,a5.f)({splitWidthMode:a9.tR.STICKY}))});a8.meta={name:"updateSplitColumnMode",key:"createThunkUpdateSplitColumnMode",description:"Navigate side effect to keep the split column mode in the correct state"};var a7=a(0x1be9380c8),ne=a(0x22efab6f7),nt=a(0x1529cf960),na=a(0x1380694ee),nn=a(0x226879b47),nr=a(0x4f86f8f5),ni=a(0x75bb5a7b);let no=(0,S.Ay)("Adds ephemeral entity to sidebar if booting into an ephemeral sidebar entity",(e,t,a)=>{let n=t();if(!(0,a7.pc)(n)||!(0,r.k)(a))return;let{nextViewSet:o}=a;if(o?.primary?.params?.salesBulkGridInHome&&o?.primary?.viewType===i.D.SalesBulkGrid){let t=o?.primary?.id;if(!(0,nn.iD)(n,{entityId:t,entityType:nr.FN.SalesforceList})){let a=(0,na.VH)(n),r=(0,ne.uF)(a);if(r?.id){let a=(0,ni.qO)(n,t)||"Salesforce list view";e((0,nt.Mr)({entity:{entityType:nr.FN.SalesforceList,entityId:t,label:a,isEphemeral:!0},channelSectionId:r?.id}))}}}});no.meta={name:"maybeAddEphemeralEntityToSidebar",key:"createThunkMaybeAddEphemeralEntityToSidebar",description:"Adds ephemeral entity to sidebar if booting into an ephemeral sidebar entity"};let ns=(0,S.Ay)("Removes ephemeral entity from sidebar when navigating away from the ephemeral sidebar entity",(e,t,a)=>{let n=t();if(!(0,a7.pc)(n)||!(0,r.k)(a))return;let{prevViewSet:o}=a;if(o?.primary?.params?.salesBulkGridInHome&&o?.primary?.viewType===i.D.SalesBulkGrid){let t=(0,nn.iD)(n,{entityId:o?.primary?.id,entityType:nr.FN.SalesforceList});t?.isEphemeral&&e((0,nt.lO)({entity:t}))}});ns.meta={name:"maybeRemoveEphemeralEntityFromSidebar",key:"createThunkMaybeRemoveEphemeralEntityFromSidebar",description:"Removes ephemeral entity from sidebar when navigating away from the ephemeral sidebar entity"};let nl=[ad.k,eT,aq,eu,ei,aO,tF,e3,td,eQ,t7,e2],nc={[r.w.ACTIVE_TAB_UPDATE]:[...nl,ec,tE,ai,t6,eN,ag,th,a8],[r.w.CLIENT_MOUNT]:[...nl,aD,D,ag,ta,no],[r.w.HISTORY_NAVIGATION]:[aT,eT,aq,ai,ad.k,tE,U,tF,e3,aI,eQ,no,ns,e2,ec],[r.w.NAVIGATION]:[...nl,aD,ah,t3,aT,ex,ag,U,ec,tE,ai,D,ty,tB,e6,aZ,a6,tb,th,no,ns,aa,eK,t0,af,a8,eP,ac],[r.w.CHILD_WINDOW_HISTORY_NAVIGATION]:[aT,eT,aq,ad.k,U,aI,ec],[r.w.CHILD_WINDOW_NAVIGATION]:[ec,eT,aq,ag,U,D,eW,td,tf,th,af],[r.w.CHILD_WINDOW_MOUNT]:[eT,aq,td,a6],[r.w.TEAM_SWITCH]:[ai,eT,aq,eN,tF,ta,e2]},nd=(0,S.Ay)("Run navigate listeners (side-effects) for a given navigation flow",(e,t,a)=>{let i=!1,o=(0,em.default)({getState:t});o.info("NAVIGATE-LISTENERS",`Starting navigation listeners for triggerType ${r.w[a?.triggerType]}`),nc[a?.triggerType].forEach(t=>{try{e(t(a))}catch(e){o.error("NAVIGATE-LISTENERS",`Listener error in ${t?.meta?.key} with sideEffectPayload:`,(0,n.Zf)(a),e),i=!0}}),o.info("NAVIGATE-LISTENERS",`Navigation listeners complete ${i?"with":"without"} errors`)});nd.meta={name:"runNavigateListeners",key:"createThunkRunNavigateListeners",description:"Run navigate listeners (side-effects) for a given navigation flow"}},0x1e06735b6:(e,t,a)=>{"use strict";a.d(t,{N:()=>o});var n=a(0x2697f209),r=a(0x114bbe138),i=a(0x159684ad);let o=[n._,r.k,i.f]},0x1482b420c:(e,t,a)=>{"use strict";a.d(t,{k:()=>c});var n=a(0x164ee0b8e),r=a(0x11c82607b),i=a(0x9b971e7e),o=a(0x19895585a),s=a(0x9271cc31),l=a(0x1731631dc);let c=(0,r.Ay)("Navigate side effect to persist view state to localConfig",(e,t,a)=>{let r=t(),c=(0,i.ZT)(r),d=(0,l.Jz)(r);if(!c)return;let u=(0,s.Gl)(r);if(!u)return;let m=(0,s.Oy)(r),f={...u,...d?{[o.On]:m}:{}};(0,n.t2)(c,"lastViewState",f)});c.meta={name:"persistViewStateNavigateListener",key:"createThunkPersistViewStateNavigateListener",description:"Navigate side effect to persist view state to localConfig"}},0x1e9e787c8:(e,t,a)=>{"use strict";a.d(t,{L:()=>ensurePrimaryViewMatchesSecondary});var n=a(0x139aa1a7),r=a(0x22d51fee8),i=a(0xd6a16321),o=a(0x1ede77aa4),s=a(0x105ecbbed),l=a(0x2356cde2b),c=a(0x12cbe336e),d=a(0x57d5a5b5),u=a(0x1529370e7),m=a(0xd2fa49d0),f=a(0x107e97a6b),_=a(0x1459852c4),p=a(0x217553e42),h=a(0x133d6089b),g=a(0x14149c126),A=a(0x1888ea2e3),b=a(1927545e3),y=a(0x16ed1b0dc);let S=new Set([b.c.Drafts,b.c.Sent]);var E=a(0x19895585a);let ensurePrimaryViewMatchesSecondary=(e,t,{dangerouslyOverrideRouting:a,targetTab:b})=>{let k=t(),T=e[E.mq.Primary],I=e[E.mq.Secondary],w="on"===(0,g._Z)(k,"internal_spaces"),C=(0,r.c9)(k),v=(0,c.hi)(k);if(a&&((0,o.K)(k,T?.id,!1)||I?.prev?.viewType===n.D.WorkObject)&&I?.id==="thread"&&I?.params?.threadId||C&&T?.viewType===n.D.Canvas&&I?.viewType===n.D.Thread&&T?.uiState?.openCanvasLinksInFlexpane)return e;if(I?.id==="thread"&&I?.params?.threadId&&T&&((0,y.A)(T.id)||S.has(T.id)||T.viewType===n.D.Canvas||T.viewType===n.D.ChannelCanvas)){let{channelId:t}=(0,s.Sb)(I.params.threadId);if(!t)return e;if(t!==T.id)return(I?.params?.parentTab||(I.params=I.params?{...I.params,parentTab:t}:{parentTab:t}),(0,h.A)(k,t))?{[E.mq.Primary]:(0,i.JZ)({channelId:t,tabId:_.K.Messages}),[E.mq.Secondary]:I}:{[E.mq.Primary]:{id:t,viewType:n.D.Channel},[E.mq.Secondary]:I}}if(I?.viewType===n.D.AiSummaryDetails&&I.params){let e=I.params,t=e?.threadTs&&T?.viewType===n.D.Thread&&(0,s.Sb)(T.params?.threadId)?.threadTs===e.threadTs,a=e.channelId&&!e?.threadTs&&T?.viewType===n.D.Channel&&T.id===e.channelId,r=T;return e.openInPlace||t||a||(r=e?.threadTs?(0,i.R9)(e.channelId,e.threadTs,e.threadTs):(0,i.pr)(e?.channelId)),{[E.mq.Primary]:r,[E.mq.Secondary]:I}}if(I?.viewType===n.D.Profile&&I.params?.showDM&&I.params?.memberId){let t=I.params.memberId,a=(0,p.o2)(k,t)??t;return T?.viewType===n.D.Channel&&T.id===a?e:{[E.mq.Primary]:(0,i.pr)(a),[E.mq.Secondary]:I}}if((0,u.Ay)(I?.params?.entityId)){let t=I?.params?.entityId,r=T?.params?.parentTab&&T?.params?.parentTab===I?.params?.parentTab,o=r||(0,f.QY)(T?.params?.entityId)===(0,f.QY)(I?.params?.entityId)&&T?.viewType===n.D.Canvas;if(r&&(I?.viewType===n.D.QuipActivityHistory||I?.viewType===n.D.QuipAutomationsOverview))return e;if((I?.viewType===n.D.QuipActivityHistory||I?.viewType===n.D.QuipAutomationsOverview)&&!o)return t?{...e,[E.mq.Primary]:(0,i.mo)({id:t}),[E.mq.Secondary]:I}:e;if((0,l.f)(I)&&!o)return!t||T?.viewType===n.D.List&&(0,d.pI)(T?.id)&&a||T?.viewType===n.D.AboutUserGroup&&(0,m.A)(T?.id)&&w?e:{...e,[E.mq.Primary]:(0,i.mo)({id:t}),[E.mq.Secondary]:I}}if(I?.viewType===n.D.ListRecordThread&&I.params?.itemDetailsInPrimary&&!v){let e=I.params?.listId,t=I.id;if(T?.viewType!==n.D.ListRecordDetails||T?.id!==t)return{[E.mq.Primary]:(0,i.PF)({listId:e,recordId:t}),[E.mq.Secondary]:I}}if(I?.viewType===n.D.ListRecordDetails){let e=I.params?.listId;if((0,A.P)(k,e)&&b===E.k6.Todos)return{[E.mq.Primary]:(0,i.ox)(),[E.mq.Secondary]:I}}return e}},0x16ed4f707:(e,t,a)=>{"use strict";a.d(t,{J:()=>getTargetContainerForNavigationRequest});var n=a(0x20b4dda68),r=a(0x139aa1a7),i=a(0x19895585a);let o=[r.D.Thread,r.D.Profile,r.D.FileDetails,r.D.LinkDetails,r.D.UserGroup,r.D.Feedback,r.D.ExternalWorkspaceAllowedOrgPane,r.D.QuipCommentThread,r.D.QuipCommentStream,r.D.QuipActivityHistory,r.D.QuipAutomationsOverview,r.D.ChannelCanvas,r.D.AiSummaryDetails,r.D.HuddleTranscriptDetails,r.D.WorkObject,r.D.ExternalUserProfile,r.D.TableauDetails,r.D.Record,r.D.MyTaskApproval,r.D.ListRecordDetails,r.D.ListRecordThread,r.D.ListRecordHistory,r.D.RecordEvents,r.D.ListHistory,r.D.SalesLogActivity,r.D.AiApp,r.D.AboutAiApp,r.D.WorkflowDetails,r.D.AppDetails,r.D.BookmarksFolder,r.D.SearchInChannel,r.D.HuddlePageCanvas,r.D.MeetingDetails,r.D.AiMessageAnalysis,r.D.RecordRelatedConversationsChannelsList,r.D.RecordRelatedConversationsThreadsList,r.D.TodayAISearch,r.D.AssistantThread,r.D.UserWithMetadataList],s=[...o,r.D.KeyboardShortcuts,r.D.HelpBrowser,r.D.HelpArticleBrowser,r.D.HelpCategoryBrowser,r.D.WhatsNewBrowser,r.D.KeyboardShortcutsBrowser,r.D.FeedbackBrowser],l=[r.D.List,r.D.DailyDigest,r.D.AiSummaryDetails,r.D.SearchSummary,r.D.ActionItems,r.D.TodayV2,r.D.TodayUnreads,r.D.TodayAgenda,r.D.TodayAISearch,r.D.TodayActionItems],c=[r.D.Thread,r.D.Profile,r.D.QuipCommentThread,r.D.SearchSummary,r.D.Record,r.D.AiSummaryDetails],d=[i.k6.Activity,i.k6.ActivityInbox,i.k6.Search,i.k6.Later],u=[r.D.ChannelList,r.D.DmsList,r.D.ActivityList,r.D.ActivityInbox,r.D.LaterList,r.D.BrowseList,r.D.Search,r.D.MorePeopleSidebar,r.D.MoreChannelsSidebar,r.D.MorePlatformSidebar,r.D.MoreHuddlesSidebar,r.D.MoreSolutionsSidebar,r.D.MoreExternalConnectionsSidebar,r.D.SalesSidebar,r.D.BBMMain,r.D.BBMWorkspaceSwitcher,r.D.BBMMore,r.D.UnifiedFilesSidebar,r.D.MoreAgentsSidebar,r.D.MoreSidekicksSidebar];var m=a(0x24bb758f9),f=a(0x1f4d21497),_=a(0x96de2457),p=a(0x10027d8bc),h=a(0x22d51fee8),g=a(0x22170ca89),A=a(1927545e3),b=a(0x105ecbbed),y=a(0x382cbff6),S=a(0x12cbe336e),E=a(0x16ed1b0dc),k=a(0x20736dc5b),T=a(0x217553e42),I=a(0x9271cc31),w=a(0x1731631dc);let getTargetContainerForNavigationRequest=(e,t)=>{if(t.windowId!==i.N2)return((e,{id:t,viewType:a,sourceContainer:n,currentViewSet:s,params:c,options:d,windowId:u})=>{let f=(0,w.yX)(e),_=(0,h.c9)(e);if(a&&(0,m.w)(a)&&(f&&d?.forceRenderInSplitView||n===i.mq.Split))return i.mq.Split;let p=s?.[i.mq.Primary],g=p?.viewType,A=p?.params?.tabId&&p?.params?.parentTab===t;if((0,E.A)(t)&&n===i.mq.Primary&&g&&l.includes(g)&&!A)return i.mq.Secondary;if(a===r.D.Canvas&&s?.[i.mq.Sidebar]?.viewType===r.D.UnifiedFilesSidebar&&d?.dangerouslyIgnoreTargetContainerLogic)return i.mq.Primary;if(a===r.D.Canvas&&n&&s?.[n]?.viewType===r.D.List&&!c?.tabId)return i.mq.Secondary;if(a===r.D.ChannelCanvas&&c?.tabId==="channel_canvas")return i.mq.Primary;if(a===r.D.Channel&&p?.viewType===r.D.ActivityInbox||o.includes(a))return i.mq.Secondary;let b=(0,k.e)(e,{windowId:u,container:i.mq.Primary,isSplitView:!1})?.openCanvasLinksInFlexpane;return _&&g===r.D.Canvas&&b?i.mq.Secondary:i.mq.Primary})(e,t);let{viewType:a,sourceContainer:C,tab:v,params:x,currentViewSet:R,options:O}=t,N=(0,h.c9)(e),D=(0,S.hi)(e),L=(0,y.d9)(e);if(O?.isFullScreen)return i.mq.Secondary;if(O?.forceRenderInPrimary)return i.mq.Primary;if(O?.forceRenderInSecondary)return i.mq.Secondary;if(v===i.k6.Later&&C===i.mq.Headless&&!O?.forceTab)return i.mq.Primary;if(a&&(0,m.w)(a)&&((e,{sourceContainer:t,options:a,params:o})=>{if(!((0,w.Jz)(e)||(0,_.wP)(e)))return!1;if(a?.forceRenderInSplitView)return!0;if(a?.forceRenderInPrimary||a?.forceRenderInSecondary||((e,{sourceContainer:t,params:a})=>{if(!(0,p.ld)(e)||t!==i.mq.Split)return!1;let o=(0,I.Oy)(e);if(!o)return!1;let s=(0,T.Pu)(e,n.Q$);if(!s)return!1;let l=o?.viewType===r.D.Channel&&o?.id===s.id,c=(o?.viewType===r.D.Thread&&(0,b.Sb)(o?.params?.threadId).channelId)===s.id,d=o?.params?.parentTab===s.id;if(!l&&!c&&!d)return!1;let u=a?.parentTab===s.id,m=(0,b.Sb)(a?.threadId).channelId===s.id;return!(u||m)})(e,{params:o,sourceContainer:t}))return!1;if(t===i.mq.Split)return!0;if(((e,{sourceContainer:t,params:a,options:n})=>!!(0,_.Uv)(e)&&null===t&&!!a?.threadId&&n?.rtmSource===f.u.AiAssistant)(e,{params:o,options:a,sourceContainer:t})){let t=(0,I.Oy)(e),a=(0,b.Sb)(o?.threadId).channelId;if(t?.id===a)return!0}return!1})(e,{sourceContainer:C,options:O,params:x}))return i.mq.Split;if(a&&d.includes(v)&&(C===i.mq.Sidebar||C===i.mq.Modal||C===i.mq.Headless)){if(a===r.D.AiSummaryDetails&&R?.[i.mq.Primary]?.viewType===r.D.Thread||a===r.D.Profile&&C===i.mq.Modal)return i.mq.Secondary;if(c.includes(a))return i.mq.Primary}if(D&&(v===i.k6.ActivityInboxSidebarPrototype||v===i.k6.LaterSidebarPrototype||v===i.k6.SearchSidebarPrototype)&&(a===r.D.Channel||a===r.D.Canvas))return i.mq.Secondary;if(D&&a===r.D.Search||a&&a===r.D.ChannelCanvas&&v===i.k6.Search&&(C===i.mq.Sidebar||C===i.mq.Modal)||a&&a===r.D.WorkObject&&v===i.k6.Search&&C===i.mq.Sidebar||a&&a===r.D.WorkObject&&v===i.k6.Search&&C===i.mq.Primary&&R?.[i.mq.Primary]?.viewType===r.D.WorkObject||a&&a===r.D.TableauDetails&&v===i.k6.Search&&(C===i.mq.Sidebar||C===i.mq.Modal))return i.mq.Primary;let M=R?.[i.mq.Primary]?.viewType,F=[r.D.Channel,r.D.Canvas],P=R?.[i.mq.Primary]?.id,U=x?.tabId;if(M&&a&&C===i.mq.Primary&&l.includes(M)&&F.includes(a)&&!U&&!O?.dangerouslyIgnoreTargetContainerLogic||D&&L&&M&&a&&C===i.mq.Primary&&M===r.D.Page&&P===A.c.TodayV2&&F.includes(a)&&!U&&!O?.dangerouslyIgnoreTargetContainerLogic)return i.mq.Secondary;let B=(0,k.e)(e,{windowId:i.N2,container:i.mq.Primary,tab:v,isSplitView:!1})?.openCanvasLinksInFlexpane;if(N&&M===r.D.Canvas&&C===i.mq.Primary&&!U&&B)return i.mq.Secondary;if(M===r.D.Record&&d.includes(v)&&C===i.mq.Primary&&Object.values(g.Zw).includes(x?.recordViewTab)||a===r.D.ListRecordDetails&&x?.itemDetailsInPrimary||a===r.D.ChannelCanvas&&x?.tabId==="channel_canvas")return i.mq.Primary;let G=R?.[i.mq.Primary]?.params?.tabId||R?.[i.mq.Primary]?.params?.parentTab;return a===r.D.Canvas&&G&&x?.forceSecondaryViewForTab||a&&s.includes(a)?i.mq.Secondary:a&&u.includes(a)?i.mq.Sidebar:i.mq.Primary}},0x2d667f7d:(e,t,a)=>{"use strict";a.d(t,{H:()=>maybeGeneratePrimaryBackStack});var n=a(0x19895585a);let maybeGeneratePrimaryBackStack=({activeTab:e,targetTab:t,prevViewSet:a,nextViewSet:r,options:i,containerType:o})=>{if(o!==n.mq.Primary)return;let s=a?.[n.mq.Primary],l=r[n.mq.Primary];return i?.forceBackStack&&l?s:e===n.k6.Today&&t===n.k6.Today&&s?.params?.parentTab===l?.params?.parentTab&&l?s?.prev:void 0}},0xe0688275:(e,t,a)=>{"use strict";a.d(t,{D:()=>maybeGenerateSecondaryBackStack});var n=a(0x139aa1a7),r=a(0x105ecbbed),i=a(0x2283cdc8d),o=a(0x1529370e7),s=a(0x107e97a6b),l=a(0x1f48e3aa4),c=a(0x217a09a00),d=a(0x19895585a);let maybeGenerateSecondaryBackStack=({sourceContainer:e,prevViewSet:t,nextViewSet:a,windowId:u,options:m},f)=>{let _=t?.[d.mq.Primary],p=t?.[d.mq.Secondary],h=a?.[d.mq.Primary],g=a?.[d.mq.Secondary],A=(0,i.k8)(f());if(!(m?.navigateInPlace&&!m?.forceBackStack||m?.skipBackStack)){if(m?.forceBackStack)return m?.navigateInPlace?p?.prev:p;if(A&&(p?.viewType===n.D.SearchInChannel||g?.viewType===n.D.SearchInChannel&&p?.viewType===n.D.Thread)||(0,o.Ay)(_?.params?.entityId)&&(0,o.Ay)(h?.params?.entityId)&&(0,s.cp)(_?.params?.entityId,h?.params?.entityId)&&(0,c.i3)(f(),u)&&g||p?.viewType===n.D.Thread&&g?.viewType===n.D.AiSummaryDetails&&g?.params?.type===l.Tj.Thread&&p?.params?.threadId===(0,r.Iu)(g?.params?.channelId,g?.params?.threadTs)||e===d.mq.Secondary&&_?.id===h?.id&&p?.viewType!==g?.viewType)return p}}},0x1f70a7686:(e,t,a)=>{"use strict";a.d(t,{DK:()=>dispatchActionToAllBootedTeamsInOrg,NP:()=>dispatchToTeamOrToAllTeamsInOrg,gj:()=>dispatchActionToAllBootedTeams,wE:()=>dispatchActionToFocusedTeamIfMatchesTeamOrEnterpriseId});var n=a(0x16475a65c),r=a(0x7d6de5b3),i=a(0x209e067d1),o=a(0x1bb02f2c4),s=a(0x691ce3ab),l=a(0x1347c77b5),c=a(0x1266f1359);function dispatchActionToAllBootedTeams(e){if(!(0,i.A)()&&!(0,r.U)())throw Error("dispatchActionToAllBootedTeams only works in the client");let t=(0,s.en)().getState();dispatchActionToTeams({action:e,teamIds:(0,o.getBootedWorkspaces)(t)})}function dispatchActionToAllBootedTeamsInOrg({action:e,enterpriseId:t,ignoreIds:a}){if(!(0,i.A)())throw Error("dispatchActionToAllBootedTeamsInOrg only works in the client");let r=(0,s.en)().getState(),l=(0,o.getBootedWorkspacesByOrg)(r,t);dispatchActionToTeams({action:e,teamIds:a?(0,n.A)(l,a):l})}function dispatchToTeamOrToAllTeamsInOrg({action:e,teamOrEnterpriseId:t}){return(0,c.Qw)(t,e)}function dispatchActionToFocusedTeamIfMatchesTeamOrEnterpriseId({action:e,teamOrEnterpriseId:t}){let a=(0,s.en)().getState();if(!(0,o.isFocusedWorkspaceInTeamOrEnterprise)(a,t))return;let n=(0,o.getFocusedWorkspace)(a);if(n)return(0,c.Qw)(n,e)}function dispatchActionToTeams({action:e,teamIds:t}){0===t.length?(0,l.ZR)(e):t.forEach(t=>{(0,c.Qw)(t,e)})}},0x72ef9805:(e,t,a)=>{"use strict";a.d(t,{pz:()=>u,EM:()=>_,EK:()=>f,KA:()=>m});var n=a(0x159b5054e),r=a(0x1f70a7686),i=a(0x11c82607b),o=a(0x19895585a),s=a(0xea4b588d),l=a(0xe822f938),c=a(0x12c8f2e51);let d=(0,i.Ay)("Updates the window focus state",(e,t,{isFocused:a,windowId:n=o.N2})=>{let r=t();if((0,l.ko)(r,n)===a)return;let i=Date.now();e((0,s._p)({windowId:n,isFocused:a,...a?{timeLastFocusEvent:i}:{timeLastBlurEvent:i}})),e((0,c.l)())});d.meta={name:"updateFocus",key:"createThunkUpdateFocus",description:"Updates the window focus state"};let u=(0,i.Ay)("Handles window focus change events in the client",(e,t,{isFocused:a,windowId:i=o.N2})=>{let c=t();if((0,l.ko)(c,i)===a)return;e(d({isFocused:a,windowId:i}));let u=t(),m=(0,l.zk)(u,i),f=(0,s.d1)({windowId:i,...m});if((0,r.gj)(f),a){let e=(0,n.A)({reason:"focus"});(0,r.gj)(e)}});u.meta={name:"handleWindowFocusEvent",key:"createThunkHandleWindowFocusEvent",description:"Handles window focus change events in the client"};let m=(0,i.Ay)("Handles the window beforeunload event in the client",(e,t,{isUnloading:a,windowId:n=o.N2})=>{let i=(0,s.w3)({isUnloading:a,windowId:n});e(i),(0,r.gj)(i)});m.meta={name:"handleWindowUnloadingEvent",key:"createThunkHandleWindowUnloadingEvent",description:"Handles the window beforeunload event in the client"};let f=(0,i.Ay)("Handles tickling the sockets on mouse down",()=>{let e=(0,n.A)({reason:"mousedown"});(0,r.gj)(e)});f.meta={name:"handleWindowMouseDownEvent",key:"createThunkHandleWindowMouseDownEvent",description:"Handles tickling the sockets on mouse down"};let _=(0,i.Ay)("Handles tickling the sockets on key down",()=>{let e=(0,n.A)({reason:"keydown"});(0,r.gj)(e)});_.meta={name:"handleWindowKeyDownEvent",key:"createThunkHandleWindowKeyDownEvent",description:"Handles tickling the sockets on key down"}},0x12b2867d0:(e,t,a)=>{"use strict";a.d(t,{$i:()=>ec,A2:()=>o,BJ:()=>ef,Cq:()=>Q,FE:()=>q,Fr:()=>eS,G3:()=>s,G7:()=>Z,HX:()=>X,IH:()=>A,Is:()=>eA,Jn:()=>eb,LB:()=>H,LI:()=>el,Ll:()=>b,Lr:()=>et,Mw:()=>_,Mz:()=>eg,Nd:()=>S,O5:()=>eh,Ot:()=>x,Pr:()=>em,Q:()=>i,QS:()=>ei,Ql:()=>e_,Ro:()=>j,Rs:()=>R,S8:()=>U,TG:()=>M,Ux:()=>d,VT:()=>E,WP:()=>eu,We:()=>P,Y$:()=>D,Y1:()=>er,_A:()=>en,_L:()=>w,ae:()=>c,as:()=>ee,bA:()=>B,bX:()=>v,b_:()=>L,bl:()=>m,ek:()=>z,ew:()=>ea,gf:()=>f,iJ:()=>F,il:()=>$,is:()=>K,it:()=>h,jT:()=>N,k0:()=>ey,kA:()=>W,kl:()=>G,m1:()=>V,n:()=>eo,of:()=>p,qQ:()=>es,qt:()=>C,rM:()=>r,sI:()=>u,tx:()=>J,un:()=>ep,v$:()=>I,v9:()=>Y,vz:()=>k,wZ:()=>O,x9:()=>y,xp:()=>g,xv:()=>l,yO:()=>ed,zo:()=>T});var n=a(0xcf658893);let r=(0,n.Ay)("ActivityIA4: Update unread activity item by thread key");r.meta={name:"updateUnreadActivityItemByThreadKey",key:"createActionUpdateUnreadActivityItemByThreadKey",description:"ActivityIA4: Update unread activity item by thread key"};let i=(0,n.Ay)("ActivityIA4: Update unread activity item by channel id");i.meta={name:"updateUnreadActivityItemByChannelId",key:"createActionUpdateUnreadActivityItemByChannelId",description:"ActivityIA4: Update unread activity item by channel id"};let o=(0,n.Ay)("ActivityIA4: Update unread activity item by inviteId for SC invites");o.meta={name:"updateUnreadSCInviteActivityItem",key:"createActionUpdateUnreadSCInviteActivityItem",description:"ActivityIA4: Update unread activity item by inviteId for SC invites"};let s=(0,n.Ay)("ActivityIA4: Sets loading state for activity item");s.meta={name:"setActivityLoading",key:"createActionSetActivityLoading",description:"ActivityIA4: Sets loading state for activity item"};let l=(0,n.Ay)("ActivityIA4: Sets loaded state for activity external invites");l.meta={name:"setAreExternalInvitesLoaded",key:"createActionSetAreExternalInvitesLoaded",description:"ActivityIA4: Sets loaded state for activity external invites"};let c=(0,n.Ay)("ActivityIA4: Sets loaded state for activity pending external invites");c.meta={name:"setArePendingExternalInvitesLoaded",key:"createActionSetArePendingExternalInvitesLoaded",description:"ActivityIA4: Sets loaded state for activity pending external invites"};let d=(0,n.Ay)("ActivityIA4: Sets selected activity item");d.meta={name:"setSelectedActivityItem",key:"createActionSetSelectedActivityItem",description:"ActivityIA4: Sets selected activity item"};let u=(0,n.Ay)("ActivityIA4: Sets selected tab");u.meta={name:"setTab",key:"createActionSetTab",description:"ActivityIA4: Sets selected tab"};let m=(0,n.Ay)("ActivityIA4: Upserts activity items");m.meta={name:"upsertActivityItems",key:"createActionUpsertActivityItems",description:"ActivityIA4: Upserts activity items"};let f=(0,n.Ay)("ActivityIA4: Clears context_read_timestamps and unread_timestamps for a thread");f.meta={name:"clearThreadContextReadAndUnreadTimestamps",key:"createActionClearThreadContextReadAndUnreadTimestamps",description:"ActivityIA4: Clears context_read_timestamps and unread_timestamps for a thread"};let _=(0,n.Ay)("ActivityIA4: Update reaction user and name for a reaction activity");_.meta={name:"updateReactionUserAndName",key:"createActionUpdateReactionUserAndName",description:"ActivityIA4: Update reaction user and name for a reaction activity"};let p=(0,n.Ay)("ActivityIA4: Update unread state for activity item");p.meta={name:"updateUnreadStateForItem",key:"createActionUpdateUnreadStateForItem",description:"ActivityIA4: Update unread state for activity item"};let h=(0,n.Ay)("ActivityIA4: Update unread state for activity item inside unread store");h.meta={name:"updateUnreadStatusInUnreadStore",key:"createActionUpdateUnreadStatusInUnreadStore",description:"ActivityIA4: Update unread state for activity item inside unread store"};let g=(0,n.Ay)("ActivityIA4: Toggles unread filter");g.meta={name:"setFilterUnreads",key:"createActionSetFilterUnreads",description:"ActivityIA4: Toggles unread filter"};let A=(0,n.Ay)("ActivityIA4: Toggles vip filter");A.meta={name:"setFilterVip",key:"createActionSetFilterVip",description:"ActivityIA4: Toggles vip filter"};let b=(0,n.Ay)("ActivityIA4: Toggles archive filter");b.meta={name:"setFilterArchive",key:"createActionSetFilterArchive",description:"ActivityIA4: Toggles archive filter"};let y=(0,n.Ay)("ActivityIA4: Toggles snooze filter");y.meta={name:"setFilterSnooze",key:"createActionSetFilterSnooze",description:"ActivityIA4: Toggles snooze filter"};let S=(0,n.Ay)("ActivityIA4: Toggles density filter");S.meta={name:"setFilterDensity",key:"createActionSetFilterDensity",description:"ActivityIA4: Toggles density filter"};let E=(0,n.Ay)("ActivityIA4: sets the unread list type");E.meta={name:"setUnreadsListFilter",key:"createActionSetUnreadsListFilter",description:"ActivityIA4: sets the unread list type"};let k=(0,n.Ay)("ActivityIA4: Remove activity item");k.meta={name:"removeActivityIA4Item",key:"createActionRemoveActivityIA4Item",description:"ActivityIA4: Remove activity item"};let T=(0,n.Ay)("ActivityIA4: Remove bulk items");T.meta={name:"removeBulkItems",key:"createActionRemoveBulkItems",description:"ActivityIA4: Remove bulk items"};let I=(0,n.Ay)("ActivityIA4: Update unread status of bulk items");I.meta={name:"updateUnreadStateForBulkItems",key:"createActionUpdateUnreadStateForBulkItems",description:"ActivityIA4: Update unread status of bulk items"};let w=(0,n.Ay)("ActivityIA4: Remove invite activity item");w.meta={name:"removeInviteActivityItem",key:"createActionRemoveInviteActivityItem",description:"ActivityIA4: Remove invite activity item"};let C=(0,n.Ay)("ActivityIA4: Remove activity items before a given timestamp");C.meta={name:"removeActivityBeforeTs",key:"createActionRemoveActivityBeforeTs",description:"ActivityIA4: Remove activity items before a given timestamp"};let v=(0,n.Ay)("Resets the activity store");v.meta={name:"resetActivity",key:"createActionResetActivity",description:"Resets the activity store"};let x=(0,n.Ay)("Resets only the activity lists");x.meta={name:"resetActivityLists",key:"createActionResetActivityLists",description:"Resets only the activity lists"};let R=(0,n.Ay)("ActivityIA4: Set error state for activity");R.meta={name:"setHasError",key:"createActionSetHasError",description:"ActivityIA4: Set error state for activity"};let O=(0,n.Ay)("Activity 1.0: Update unread state for activity item by key");O.meta={name:"updateUnreadStateForItemByKey",key:"createActionUpdateUnreadStateForItemByKey",description:"Activity 1.0: Update unread state for activity item by key"};let N=(0,n.Ay)("ActivityIA4: Set timeout id for activity view reset");N.meta={name:"setSessionTimeoutId",key:"createActionSetSessionTimeoutId",description:"ActivityIA4: Set timeout id for activity view reset"};let D=(0,n.Ay)("ActivityIA4: Clear timeout id for activity view reset");D.meta={name:"clearSessionTimeoutId",key:"createActionClearSessionTimeoutId",description:"ActivityIA4: Clear timeout id for activity view reset"};let L=(0,n.Ay)("ActivityIA4: Upserts activity item for a given filter");L.meta={name:"upsertActivityItemByFilter",key:"createActionUpsertActivityItemByFilter",description:"ActivityIA4: Upserts activity item for a given filter"};let M=(0,n.Ay)("ActivityIA4: Add Selected Filter");M.meta={name:"addSelectedFilter",key:"createActionAddSelectedFilter",description:"ActivityIA4: Add Selected Filter"};let F=(0,n.Ay)("ActivityIA4: Remove Selected Filter");F.meta={name:"removeSelectedFilter",key:"createActionRemoveSelectedFilter",description:"ActivityIA4: Remove Selected Filter"};let P=(0,n.Ay)("ActivityIA4: Clear all selected filters");P.meta={name:"clearAllFilters",key:"createActionClearAllFilters",description:"ActivityIA4: Clear all selected filters"};let U=(0,n.Ay)("ActivityIA4: update search query");U.meta={name:"updateSearchQuery",key:"createActionUpdateSearchQuery",description:"ActivityIA4: update search query"};let B=(0,n.Ay)("ActivityIA4: add to bulk items");B.meta={name:"addBulkItem",key:"createActionAddBulkItem",description:"ActivityIA4: add to bulk items"};let G=(0,n.Ay)("ActivityIA4: add multiple bulk items");G.meta={name:"addBulkItems",key:"createActionAddBulkItems",description:"ActivityIA4: add multiple bulk items"};let H=(0,n.Ay)("ActivityIA4: delete from bulk items");H.meta={name:"deleteBulkItem",key:"createActionDeleteBulkItem",description:"ActivityIA4: delete from bulk items"};let W=(0,n.Ay)("ActivityIA4: clear bulk items");W.meta={name:"clearBulkItems",key:"createActionClearBulkItems",description:"ActivityIA4: clear bulk items"};let V=(0,n.Ay)("ActivityIA4: set bulk action mode");V.meta={name:"setBulkActionMode",key:"createActionSetBulkActionMode",description:"ActivityIA4: set bulk action mode"};let j=(0,n.Ay)("ActivityIA4: Set server-side select all mode");j.meta={name:"setServerSideSelectAllMode",key:"createActionSetServerSideSelectAllMode",description:"ActivityIA4: Set server-side select all mode"};let K=(0,n.Ay)("ActivityIA4: cleared filtered list");K.meta={name:"clearedFilteredList",key:"createActionClearedFilteredList",description:"ActivityIA4: cleared filtered list"};let q=(0,n.Ay)("ActivityIA4: Add channel filter");q.meta={name:"addFilterChannel",key:"createActionAddFilterChannel",description:"ActivityIA4: Add channel filter"};let z=(0,n.Ay)("ActivityIA4: Add channel section filter");z.meta={name:"addFilterChannelSection",key:"createActionAddFilterChannelSection",description:"ActivityIA4: Add channel section filter"};let $=(0,n.Ay)("ActivityIA4: Remove channel filter");$.meta={name:"removeFilterChannel",key:"createActionRemoveFilterChannel",description:"ActivityIA4: Remove channel filter"};let Y=(0,n.Ay)("ActivityIA4: Remove channel section filter");Y.meta={name:"removeFilterChannelSection",key:"createActionRemoveFilterChannelSection",description:"ActivityIA4: Remove channel section filter"};let Q=(0,n.Ay)("ActivityIA4: Clear all filter channels and channel sections");Q.meta={name:"clearFilterChannels",key:"createActionClearFilterChannels",description:"ActivityIA4: Clear all filter channels and channel sections"};let Z=(0,n.Ay)("ActivityIA4: Set whether loading more items is enabled");Z.meta={name:"setLoadMore",key:"createActionSetLoadMore",description:"ActivityIA4: Set whether loading more items is enabled"};let J=(0,n.Ay)("ActivityIA4: Set whether to show the filter-in option");J.meta={name:"setShowFilterIn",key:"createActionSetShowFilterIn",description:"ActivityIA4: Set whether to show the filter-in option"};let X=(0,n.Ay)("ActivityIA4: Set sort order");X.meta={name:"setSortOrder",key:"createActionSetSortOrder",description:"ActivityIA4: Set sort order"};let ee=(0,n.Ay)("ActivityIA4: Set filter bar state");ee.meta={name:"setActivityFilter",key:"createActionSetActivityFilter",description:"ActivityIA4: Set filter bar state"};let et=(0,n.Ay)("ActivityIA4: Clear filter bar state");et.meta={name:"setActivityFilterClear",key:"createActionSetActivityFilterClear",description:"ActivityIA4: Clear filter bar state"};let ea=(0,n.Ay)("ActivityIA4: Upsert views");ea.meta={name:"upsertViews",key:"createActionUpsertViews",description:"ActivityIA4: Upsert views"};let en=(0,n.Ay)("ActivityIA4: Remove view");en.meta={name:"removeView",key:"createActionRemoveView",description:"ActivityIA4: Remove view"};let er=(0,n.Ay)("ActivityIA4: Sets selected saved view id");er.meta={name:"setSelectedSavedViewId",key:"createActionSetSelectedSavedViewId",description:"ActivityIA4: Sets selected saved view id"};let ei=(0,n.Ay)("ActivityIA4: Update filtered list from root list");ei.meta={name:"updateFilteredListFromRootList",key:"createActionUpdateFilteredListFromRootList",description:"ActivityIA4: Update filtered list from root list"};let eo=(0,n.Ay)("ActivityIA4: Sets has initial activity feed loaded");eo.meta={name:"setHasInitialActivityFeedLoaded",key:"createActionSetHasInitialActivityFeedLoaded",description:"ActivityIA4: Sets has initial activity feed loaded"};let es=(0,n.Ay)("ActivityIA4: Sets unread toggle state for peek mode");es.meta={name:"setUnreadToggleStateForPeekMode",key:"createActionSetUnreadToggleStateForPeekMode",description:"ActivityIA4: Sets unread toggle state for peek mode"};let el=(0,n.Ay)("ActivityIA4: Sets peek view loading");el.meta={name:"setPeekViewLoading",key:"createActionSetPeekViewLoading",description:"ActivityIA4: Sets peek view loading"};let ec=(0,n.Ay)("ActivityIA4: Sets peek view selected tab");ec.meta={name:"setPeekViewSelectedTab",key:"createActionSetPeekViewSelectedTab",description:"ActivityIA4: Sets peek view selected tab"};let ed=(0,n.Ay)("ActivityIA4: Clears peek view list");ed.meta={name:"clearPeekViewList",key:"createActionClearPeekViewList",description:"ActivityIA4: Clears peek view list"};let eu=(0,n.Ay)("Activity 2.0: Update activity item by key");eu.meta={name:"updateActivityItemByKey",key:"createActionUpdateActivityItemByKey",description:"Activity 2.0: Update activity item by key"};let em=(0,n.Ay)("ActivityIA4: Respond to activity_invalidated by clearing all items");em.meta={name:"invalidateAllItems",key:"createActionInvalidateAllItems",description:"ActivityIA4: Respond to activity_invalidated by clearing all items"};let ef=(0,n.Ay)("ActivityIA4: Flag indicating that we are waiting for an activity_invalidated RTM event");ef.meta={name:"setWaitingForInvalidationEvent",key:"createActionSetWaitingForInvalidationEvent",description:"ActivityIA4: Flag indicating that we are waiting for an activity_invalidated RTM event"};let e_=(0,n.Ay)("ActivityIA4: Update badge counts");e_.meta={name:"updateActivityV2BadgeCounts",key:"createActionUpdateActivityV2BadgeCounts",description:"ActivityIA4: Update badge counts"};let ep=(0,n.Ay)('ActivityIA4: Store the feedTs of activity coming via RTM, so we can render a "new activity" banner');ep.meta={name:"setHasNewUnreadsFeedTs",key:"createActionSetHasNewUnreadsFeedTs",description:'ActivityIA4: Store the feedTs of activity coming via RTM, so we can render a "new activity" banner'};let eh=(0,n.Ay)("ActivityIA4: Stash a single activity item for the dedicated ActivitySystemNotificationView");eh.meta={name:"setSingleActivityEntry",key:"createActionSetSingleActivityEntry",description:"ActivityIA4: Stash a single activity item for the dedicated ActivitySystemNotificationView"};let eg=(0,n.Ay)("ActivityIA4: track the loading/unknown status of the singleActivityEntry");eg.meta={name:"setSingleActivityEntryStatus",key:"createActionSetSingleActivityEntryStatus",description:"ActivityIA4: track the loading/unknown status of the singleActivityEntry"};let eA=(0,n.Ay)("ActivityIA4: Set the step of the onboarding coachmark sequence");eA.meta={name:"setOnboardingCoachmarkSequenceStep",key:"createActionSetOnboardingCoachmarkSequenceStep",description:"ActivityIA4: Set the step of the onboarding coachmark sequence"};let eb=(0,n.Ay)("ActivityIA4: Set undoable activity item for potential restoration");eb.meta={name:"setUndoableActivityItem",key:"createActionSetUndoableActivityItem",description:"ActivityIA4: Set undoable activity item for potential restoration"};let ey=(0,n.Ay)("ActivityIA4: Clear undoable activity item");ey.meta={name:"clearUndoableActivityItem",key:"createActionClearUndoableActivityItem",description:"ActivityIA4: Clear undoable activity item"};let eS=(0,n.Ay)("ActivityIA4: Set activity item with ml results active");eS.meta={name:"setItemWithMlResultsActive",key:"createActionSetItemWithMlResultsActive",description:"ActivityIA4: Set activity item with ml results active"}},0x1a54d5ba1:(e,t,a)=>{"use strict";a.d(t,{$1:()=>X,$Y:()=>ec,C9:()=>eU,Ck:()=>eu,Do:()=>eM,Dp:()=>es,EU:()=>eD,F:()=>$,FB:()=>eN,Fh:()=>eo,Fp:()=>eP,Gf:()=>eG,Jj:()=>ee,KB:()=>eH,Kf:()=>e_,L8:()=>ez,LJ:()=>ep,MF:()=>eF,NT:()=>B,Nq:()=>q,Oq:()=>Z,PM:()=>et,Rx:()=>ed,S1:()=>Y,Tl:()=>em,Tn:()=>eR,V6:()=>ei,Wk:()=>ew,Wz:()=>eB,XS:()=>e$,Xf:()=>ef,_2:()=>er,_G:()=>z,aq:()=>W,c8:()=>eL,cJ:()=>K,d5:()=>Q,dL:()=>ex,hT:()=>P,iG:()=>en,j$:()=>ev,jQ:()=>J,jc:()=>el,k4:()=>eq,ke:()=>ej,lg:()=>H,mU:()=>eW,o3:()=>eI,pC:()=>eV,pP:()=>getApiRequestId,sn:()=>M,ts:()=>F,uY:()=>ea,ug:()=>eT,w8:()=>U,wf:()=>j,y4:()=>eK,zo:()=>L});var n=a(0x1e2051844),r=a(0x5a5c86cb),i=a(0x206c7a40f),o=a(0x658a411c),s=a(0x9e671ad),l=a(0xc9c97240),c=a(0x6affae29),d=a(0x1df96de4c),u=a(0x1384f171),m=a(0x16c433bef),f=a(0x11c46e85f),_=a(0x139aa1a7),p=a(0x10027d8bc),h=a(0x136eed943),g=a(0xc6f9b126),A=a(0x12185e091),b=a(0xf6ed6f31),y=a(0x70de3606),S=a(0x105ecbbed),E=a(0x1cf0d97e1),k=a(0x1ccef1c6f),T=a(0x583896b1),I=a(0x217553e42),w=a(0x2244f10f),C=a(0x1b9ff23fe),v=a(0x7d27f1cc),x=a(0x19dffa924),R=a(0x1067595c0),O=a(0x1565d06ef),N=a(0x19895585a),D=a(0x9271cc31);let L=(0,E.Ay)((e,{ts:t,activityType:a})=>e?.activityIA4?.selectedItem===t&&e?.activityIA4?.selectedItemType===a);L.meta={name:"isItemSelected",key:"createSelectorIsItemSelected",description:(e,{ts:t,activityType:a})=>e?.activityIA4?.selectedItem===t&&e?.activityIA4?.selectedItemType===a};let M=(0,E.Ay)((e,{key:t})=>e?.activityIA4?.selectedItemObject?.key&&e?.activityIA4?.selectedItemObject?.key===t);M.meta={name:"isItemSelectedByKey",key:"createSelectorIsItemSelectedByKey",description:(e,{key:t})=>e?.activityIA4?.selectedItemObject?.key&&e?.activityIA4?.selectedItemObject?.key===t};let F=(0,E.Ay)(e=>e?.activityIA4?.selectedItem);F.meta={name:"getSelectedItem",key:"createSelectorGetSelectedItem",description:e=>e?.activityIA4?.selectedItem};let P=(0,E.Ay)(e=>e?.activityIA4?.filterUnreads);P.meta={name:"getFilterUnreads",key:"createSelectorGetFilterUnreads",description:e=>e?.activityIA4?.filterUnreads};let U=(0,E.Ay)(e=>e?.activityIA4?.selectedItemObject);U.meta={name:"getSelectedActivityItemObject",key:"createSelectorGetSelectedActivityItemObject",description:e=>e?.activityIA4?.selectedItemObject};let B=(0,E.Ay)(e=>e?.activityIA4?.selectedItemUnreadState);B.meta={name:"getSelectedItemUnreadState",key:"createSelectorGetSelectedItemUnreadState",description:e=>e?.activityIA4?.selectedItemUnreadState};let G=(0,l.Mz)(e=>e?.activityIA4?.all,e=>e?.activityIA4?.selectedItem,e=>e?.activityIA4?.selectedItemType,(e,t,a)=>e&&t&&a?e.find(e=>e.type===a&&(e.messageTs===t||e.ts===t)):null);(0,E.Ay)(e=>{let t=G(e);if(t)return`${t.type}-${t.ts}`}).meta={name:"getSelectedItemRowKey",key:"createSelectorGetSelectedItemRowKey",description:e=>{let t=G(e);if(t)return`${t.type}-${t.ts}`}};let H=(0,E.Ay)(e=>e?.activityIA4?.selectedTabId||f.Li.All);H.meta={name:"getSelectedTab",key:"createSelectorGetSelectedTab",description:e=>e?.activityIA4?.selectedTabId||f.Li.All};let W=(0,E.Ay)(e=>(0,R.xY)(e)?.thread_unreads||0);W.meta={name:"getActivityV1ThreadUnreadsCount",key:"createSelectorGetActivityV1ThreadUnreadsCount",description:e=>(0,R.xY)(e)?.thread_unreads||0};let getActivityV2BadgeCounts=e=>e.activityIA4?.unreadActivityV2BadgeCounts,V=(0,l.Mz)(getActivityV2BadgeCounts,e=>{let t=new Set;for(let a of Object.values(h.t))switch(a){case h.t.ThreadV2:case h.t.Channel:case h.t.Dm:case h.t.MessageReaction:case h.t.InternalChannelInvite:case h.t.ListRecordEdited:case h.t.BotDmBundle:case h.t.AtUser:case h.t.AtUserGroup:case h.t.AtChannel:case h.t.AtEveryone:case h.t.Keyword:case h.t.ListRecordAssigned:case h.t.ListUserMentioned:case h.t.ExternalChannelInvite:case h.t.ExternalDmInvite:case h.t.SharedWorkspaceInvite:t.add(a);break;case h.t.ListTodoNotification:(0,y.Dq)(e)&&t.add(a);break;case h.t.ListApprovalRequest:case h.t.ListApprovalReviewed:(0,y.ci)(e)&&t.add(a);break;case h.t.UnjoinedChannelMention:(0,u.zO)(e)&&t.add(a);break;case h.t.SavedReminder:(0,u.QT)(e)&&t.add(a);break;case h.t.GenericSystemAlert:(0,p.j0)(e)&&t.add(a);break;case h.t.TeamJoinerInvite:(0,x.wy)(e)&&t.add(a);break;case h.t.PrejoinDmWelcomePartyAlert:(0,v.NY)(e)&&t.add(a);break;case h.t.BotDm:case h.t.Mpdm:case h.t.ThreadReply:case h.t.ExampleUserAlert:case h.t.CalendarUpcomingEvent:break;default:(0,c.Kh)(a)}return t},(e,t)=>Object.entries(e).filter(([e])=>t.has(e)).filter(([e])=>e!==h.t.MessageReaction).reduce((e,[,t])=>e+t,0)),j=(0,E.Ay)(e=>getActivityV2BadgeCounts(e)?.[h.t.Dm]||0);j.meta={name:"getActivityV2DMsBadgeCount",key:"createSelectorGetActivityV2DMsBadgeCount",description:e=>getActivityV2BadgeCounts(e)?.[h.t.Dm]||0};let K=(0,E.Ay)(e=>{let t;if((0,u.IW)(e))return V(e);let a=!(0,k.ty)(e,"activity_include_threads_in_badge_count"),n=(0,R.xY)(e);t=0+(n?.thread_mentions||0)+(n?.app_dms||0)+(n?.channels||0),a||(t+=n?.thread_unreads||0),(0,u.Lh)(e)&&(t+=n?.dms||0);let r=[g.e.ExternalChannelInvite,g.e.ExternalDmInvite,g.e.SharedWorkspaceInvite,g.e.ListsUserMentioned,g.e.ListsRecordAssigned,g.e.ListsRecordEdited];return(0,y.Dq)(e)&&r.push(g.e.ListsTodoNotification),(0,y.ci)(e)&&(r.push(g.e.ListsApprovalRequest),r.push(g.e.ListsApprovalReviewed)),(0,u.zO)(e)&&r.push(g.e.UnjoinedChannelMention),(0,x.wy)(e)&&r.push(g.e.TeamJoinerInvite),(0,v.NY)(e)&&r.push(g.e.PrejoinDmWelcomePartyAlert),t+=r.reduce((t,a)=>t+(0,O.P)(e,a),0)});K.meta={name:"getActivityBadgeCount",key:"createSelectorGetActivityBadgeCount",description:e=>{let t;if((0,u.IW)(e))return V(e);let a=!(0,k.ty)(e,"activity_include_threads_in_badge_count"),n=(0,R.xY)(e);t=0+(n?.thread_mentions||0)+(n?.app_dms||0)+(n?.channels||0),a||(t+=n?.thread_unreads||0),(0,u.Lh)(e)&&(t+=n?.dms||0);let r=[g.e.ExternalChannelInvite,g.e.ExternalDmInvite,g.e.SharedWorkspaceInvite,g.e.ListsUserMentioned,g.e.ListsRecordAssigned,g.e.ListsRecordEdited];return(0,y.Dq)(e)&&r.push(g.e.ListsTodoNotification),(0,y.ci)(e)&&(r.push(g.e.ListsApprovalRequest),r.push(g.e.ListsApprovalReviewed)),(0,u.zO)(e)&&r.push(g.e.UnjoinedChannelMention),(0,x.wy)(e)&&r.push(g.e.TeamJoinerInvite),(0,v.NY)(e)&&r.push(g.e.PrejoinDmWelcomePartyAlert),t+=r.reduce((t,a)=>t+(0,O.P)(e,a),0)}};let q=(0,E.Ay)(e=>{if(!(0,u.IW)(e))return 0;let t=(0,u.QT)(e),a=(0,w.FD)(e,"global_reminders_in_activity")??!0,n=(0,T.b)(e)[N.k6.Later]??!0;return t&&a||!n?0:(0,C.BK)(e)});q.meta={name:"getOverdueCountForAppBadge",key:"createSelectorGetOverdueCountForAppBadge",description:e=>{if(!(0,u.IW)(e))return 0;let t=(0,u.QT)(e),a=(0,w.FD)(e,"global_reminders_in_activity")??!0,n=(0,T.b)(e)[N.k6.Later]??!0;return t&&a||!n?0:(0,C.BK)(e)}};let z=(0,E.Ay)(e=>(0,R.xY)(e)?.dms||0);z.meta={name:"getDMsCount",key:"createSelectorGetDMsCount",description:e=>(0,R.xY)(e)?.dms||0};let $=(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.nextCursors);$.meta={name:"getNextCursors",key:"createSelectorGetNextCursors",description:e=>e&&e.activityIA4&&e.activityIA4.nextCursors},(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.unreadsListFilter).meta={name:"getUnreadsListFilter",key:"createSelectorGetUnreadsListFilter",description:e=>e&&e.activityIA4&&e.activityIA4.unreadsListFilter};let Y=(0,E.Ay)(e=>e&&e.activityIA4&&!!e.activityIA4.areExternalInvitesLoaded);Y.meta={name:"areActivityExternalInvitesLoaded",key:"createSelectorAreActivityExternalInvitesLoaded",description:e=>e&&e.activityIA4&&!!e.activityIA4.areExternalInvitesLoaded};let Q=(0,E.Ay)(e=>e&&e.activityIA4&&!!e.activityIA4.arePendingExternalInvitesLoaded);Q.meta={name:"areActivityPendingExternalInvitesLoaded",key:"createSelectorAreActivityPendingExternalInvitesLoaded",description:e=>e&&e.activityIA4&&!!e.activityIA4.arePendingExternalInvitesLoaded};let Z=(0,E.Ay)(e=>!!(e&&e.activityIA4&&e.activityIA4.isLoading||e&&e.activityIA4&&e.activityIA4.incompleteFetchData&&e.activityIA4.incompleteFetchData.isLoading));Z.meta={name:"isActivityLoading",key:"createSelectorIsActivityLoading",description:e=>!!(e&&e.activityIA4&&e.activityIA4.isLoading||e&&e.activityIA4&&e.activityIA4.incompleteFetchData&&e.activityIA4.incompleteFetchData.isLoading)};let J=(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.isPeekViewLoading);J.meta={name:"getPeekViewLoading",key:"createSelectorGetPeekViewLoading",description:e=>e&&e.activityIA4&&e.activityIA4.isPeekViewLoading};let X=(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.hasError);X.meta={name:"getHasError",key:"createSelectorGetHasError",description:e=>e&&e.activityIA4&&e.activityIA4.hasError};let ee=(0,E.Ay)((e,{messageTs:t,threadTs:a,channelId:n})=>{if(!t)return!1;if(a){let r=(0,S.Iu)(n,a);if(r&&e?.activityIA4?.unreadActivityItemsByThreadKey[r])return e?.activityIA4?.unreadActivityItemsByThreadKey[r][t]}return n&&e?.activityIA4?.unreadActivityItemsByChannel[n]?e?.activityIA4?.unreadActivityItemsByChannel[n][t]:e?.activityIA4?.unreadActivityItems[t]});ee.meta={name:"isActivityUnread",key:"createSelectorIsActivityUnread",description:(e,{messageTs:t,threadTs:a,channelId:n})=>{if(!t)return!1;if(a){let r=(0,S.Iu)(n,a);if(r&&e?.activityIA4?.unreadActivityItemsByThreadKey[r])return e?.activityIA4?.unreadActivityItemsByThreadKey[r][t]}return n&&e?.activityIA4?.unreadActivityItemsByChannel[n]?e?.activityIA4?.unreadActivityItemsByChannel[n][t]:e?.activityIA4?.unreadActivityItems[t]}};let et=(0,E.Ay)((e,t)=>!!e?.activityIA4?.unreadActivityItemsByThreadKey[t]&&Object.values(e?.activityIA4?.unreadActivityItemsByThreadKey[t]).some(Boolean));et.meta={name:"doesRootMessageHaveAnyActivityUnread",key:"createSelectorDoesRootMessageHaveAnyActivityUnread",description:(e,t)=>!!e?.activityIA4?.unreadActivityItemsByThreadKey[t]&&Object.values(e?.activityIA4?.unreadActivityItemsByThreadKey[t]).some(Boolean)};let ea=(0,E.Ay)((e,{messageTs:t,channelId:a,threadTs:n})=>!ee(e,{messageTs:t,channelId:a,threadTs:n}));ea.meta={name:"isActivityRead",key:"createSelectorIsActivityRead",description:(e,{messageTs:t,channelId:a,threadTs:n})=>!ee(e,{messageTs:t,channelId:a,threadTs:n})};let en=(0,E.Ay)((e,{threadTs:t,filter:a="all"})=>t?(0,n.A)(e?.activityIA4?.[a],e=>"replies"===a&&"at_user"===e.type&&e.threadTs===t):null);en.meta={name:"getLatestThreadReply",key:"createSelectorGetLatestThreadReply",description:(e,{threadTs:t,filter:a="all"})=>t?(0,n.A)(e?.activityIA4?.[a],e=>"replies"===a&&"at_user"===e.type&&e.threadTs===t):null};let er=(0,E.Ay)((e,{inviteId:t})=>e?.activityIA4?.unreadSCInviteActivityItems[t]);er.meta={name:"isSCInviteActivityUnread",key:"createSelectorIsSCInviteActivityUnread",description:(e,{inviteId:t})=>e?.activityIA4?.unreadSCInviteActivityItems[t]},(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.sessionTimeoutId).meta={name:"getSessionTimeoutId",key:"createSelectorGetSessionTimeoutId",description:e=>e&&e.activityIA4&&e.activityIA4.sessionTimeoutId},(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.unreadAll).meta={name:"getUnreadAllActivityItems",key:"createSelectorGetUnreadAllActivityItems",description:e=>e&&e.activityIA4&&e.activityIA4.unreadAll};let ei=(0,E.Ay)(e=>e&&e.activityIA4&&(0,r.A)(e.activityIA4.bulkItems));ei.meta={name:"getBulkItems",key:"createSelectorGetBulkItems",description:e=>e&&e.activityIA4&&(0,r.A)(e.activityIA4.bulkItems)};let eo=(0,E.Ay)(e=>e&&e.activityIA4&&(0,i.A)(e.activityIA4.bulkItems));eo.meta={name:"getUnselectedBulkItems",key:"createSelectorGetUnselectedBulkItems",description:e=>e&&e.activityIA4&&(0,i.A)(e.activityIA4.bulkItems)};let es=(0,E.Ay)(e=>e?.activityIA4?.isServerSideSelectAllMode||!1);es.meta={name:"getIsServerSideSelectAllMode",key:"createSelectorGetIsServerSideSelectAllMode",description:e=>e?.activityIA4?.isServerSideSelectAllMode||!1};let el=(0,E.Ay)((e,{key:t})=>e&&e.activityIA4&&e.activityIA4.bulkItems[t]||!1);el.meta={name:"isBulkItemSelected",key:"createSelectorIsBulkItemSelected",description:(e,{key:t})=>e&&e.activityIA4&&e.activityIA4.bulkItems[t]||!1};let ec=(0,E.Ay)(e=>e&&e.activityIA4&&(Object.keys((0,r.A)(e.activityIA4.bulkItems))?.length||e.activityIA4.isBulkActionModeActive));ec.meta={name:"isTriageModeEnabled",key:"createSelectorIsTriageModeEnabled",description:e=>e&&e.activityIA4&&(Object.keys((0,r.A)(e.activityIA4.bulkItems))?.length||e.activityIA4.isBulkActionModeActive)};let ed=(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.loadMoreEnabled);ed.meta={name:"getLoadMoreEnabled",key:"createSelectorGetLoadMoreEnabled",description:e=>e&&e.activityIA4&&e.activityIA4.loadMoreEnabled};let eu=(0,E.Ay)(e=>e&&e.activityIA4&&e.activityIA4.views);eu.meta={name:"getSavedViews",key:"createSelectorGetSavedViews",description:e=>e&&e.activityIA4&&e.activityIA4.views};let em=(0,E.Ay)(e=>e?.activityIA4?.selectedSavedViewId);em.meta={name:"getSelectedSavedViewId",key:"createSelectorGetSelectedSavedViewId",description:e=>e?.activityIA4?.selectedSavedViewId};let ef=(0,E.Ay)(e=>{let t=em(e),a=eu(e),n=(0,u.zH)(e),r=a.find(e=>e.id===t||e.viewType===t);return n&&t===f.iP.Priority&&(r={...r,sortOrder:r?.sortOrder||m.Ys.RANKED_BY_PRIORITY}),r});ef.meta={name:"getCurrentSavedViewStateBySavedViewId",key:"createSelectorGetCurrentSavedViewStateBySavedViewId",description:e=>{let t=em(e),a=eu(e),n=(0,u.zH)(e),r=a.find(e=>e.id===t||e.viewType===t);return n&&t===f.iP.Priority&&(r={...r,sortOrder:r?.sortOrder||m.Ys.RANKED_BY_PRIORITY}),r}};let e_=(0,E.Ay)(e=>e?.activityIA4?.views.find(e=>e.viewType===f.iP.All)?.id);e_.meta={name:"getAllViewId",key:"createSelectorGetAllViewId",description:e=>e?.activityIA4?.views.find(e=>e.viewType===f.iP.All)?.id};let ep=(0,E.Ay)(e=>e?.activityIA4?.views.find(e=>e.viewType===f.iP.DMs)?.id);ep.meta={name:"getDMsViewId",key:"createSelectorGetDMsViewId",description:e=>e?.activityIA4?.views.find(e=>e.viewType===f.iP.DMs)?.id};let eh=(0,E.Ay)(e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterActivityTypes||d.Ml});eh.meta={name:"getFilterActivityTypes",key:"createSelectorGetFilterActivityTypes",description:e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterActivityTypes||d.Ml}};let eg=(0,E.Ay)(e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterChannels||d.Ml});eg.meta={name:"getFilterChannels",key:"createSelectorGetFilterChannels",description:e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterChannels||d.Ml}};let eA=(0,E.Ay)(e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterChannelSections||d.Ml});eA.meta={name:"getFilterChannelSections",key:"createSelectorGetFilterChannelSections",description:e=>{let t=em(e),a=eu(e);return a.find(e=>e.id===t||e.viewType===t)?.filterChannelSections||d.Ml}};let eb=(0,E.Ay)(e=>{let t=ef(e);return t?.filterArchiveSelected});eb.meta={name:"getFilterArchiveSelected",key:"createSelectorGetFilterArchiveSelected",description:e=>{let t=ef(e);return t?.filterArchiveSelected}};let ey=(0,E.Ay)(e=>{let t=ef(e);return t?.filterUnreadsSelected});ey.meta={name:"getFilterUnreadsSelected",key:"createSelectorGetFilterUnreadsSelected",description:e=>{let t=ef(e);return t?.filterUnreadsSelected}};let eS=(0,E.Ay)(e=>{let t=ef(e);return t?.filterVipSelected});eS.meta={name:"getFilterVipSelected",key:"createSelectorGetFilterVipSelected",description:e=>{let t=ef(e);return t?.filterVipSelected}};let eE=(0,E.Ay)(e=>{let t=ef(e);return t?.searchQuery});eE.meta={name:"getSearchQuery",key:"createSelectorGetSearchQuery",description:e=>{let t=ef(e);return t?.searchQuery}};let ek=(0,E.Ay)(e=>{let t=ef(e);return t?.filterSalesforceChannelsSelected});ek.meta={name:"getFilterSalesforceChannelsSelected",key:"createSelectorGetFilterSalesforceChannelsSelected",description:e=>{let t=ef(e);return t?.filterSalesforceChannelsSelected}};let eT=(0,l.Mz)(eh,eb,ey,ek,eS,eg,eA,eE,(e,t,a,n,r,i,o,s)=>{let l=[];return a&&l.push(f.Li.Unreads),n&&l.push(f.Li.SalesforceChannels),e.length>0&&l.push(...e),(i.length>0||o.length>0)&&l.push(f.Li.SpecificChannel),r&&l.push(f.Li.Vip),t&&l.push(f.Li.Archive),s&&l.push(f.Li.Search),l}),eI=(0,E.Ay)(e=>(0,I.DM)(e).some(e=>(0,A.U_)(e)&&(0,b.bl)(e)));eI.meta={name:"hasSalesforceChannels",key:"createSelectorHasSalesforceChannels",description:e=>(0,I.DM)(e).some(e=>(0,A.U_)(e)&&(0,b.bl)(e))};let ew=(0,l.Mz)(eT,em,eu,(e,t,a)=>{let n=e.filter(e=>e!==f.Li.Search).length,{showFilterIn:r}=a.find(e=>e.id===t||e.viewType===t)||{viewType:f.Li.All,showFilterIn:!1};return n>0||r}),eC=(0,l.Mz)(ew,e=>e?f.b8:f.Gt),getApiRequestId=e=>e?.activityIA4?.apiRequestId,ev=(0,l.Mz)(e=>{let t=ew(e)?f.b8:f.Gt;return e?.activityIA4?.[t]??[]},ef,U,B,(e,t,a,n)=>{let r=t?.sortOrder,i=t?.filterUnreadsSelected,o=e;if(i&&(o=e.filter(e=>a?.key===e.key||e.isUnread)),r===m.Ys.UNREADS){let e=o.filter(e=>!0===e.isUnread),t=o.filter(e=>!0!==e.isUnread);return e.sort((e,t)=>parseFloat(t.feedTs||"0")-parseFloat(e.feedTs||"0")),t.sort((e,t)=>parseFloat(t.feedTs||"0")-parseFloat(e.feedTs||"0")),[...e,...t]}if(r===m.Ys.VIP){let e=o.filter(e=>a?.key===e.key?!1!==n&&!!e.isPriority:!!e.isPriority&&!!e.isUnread),t=o.filter(e=>a?.key===e.key?!1===n||!e.isPriority:!!e.isPriority&&!e.isUnread||!e.isPriority);return e.sort((e,t)=>parseFloat(t.feedTs||"0")-parseFloat(e.feedTs||"0")),t.sort((e,t)=>parseFloat(t.feedTs||"0")-parseFloat(e.feedTs||"0")),[...e,...t]}return o}),ex=(0,E.Ay)(e=>e?.activityIA4?.hasInitialActivityFeedLoaded);ex.meta={name:"getHasInitialActivityFeedLoaded",key:"createSelectorGetHasInitialActivityFeedLoaded",description:e=>e?.activityIA4?.hasInitialActivityFeedLoaded};let eR=(0,E.Ay)((e,t,a)=>{let n=eC(e);return(0,o.A)(e?.activityIA4?.[n],e=>e.channelId===t&&(!!a||e.threadTs===a))});eR.meta={name:"hasActivityForChannelOrThread",key:"createSelectorHasActivityForChannelOrThread",description:(e,t,a)=>{let n=eC(e);return(0,o.A)(e?.activityIA4?.[n],e=>e.channelId===t&&(!!a||e.threadTs===a))}};let eO=(0,l.Mz)(ef,ey,(e,t)=>{if(!e?.savedFilters)return!1;let{filterUnreadsSelected:a}=e.savedFilters;return t!==a}),eN=(0,l.Mz)(ef,eA,eg,(e,t,a)=>{if(!e?.savedFilters)return!1;let{filterChannelSections:n,filterChannels:r}=e.savedFilters;return!(0,s.A)(t,n)||!(0,s.A)(a,r)}),eD=(0,l.Mz)(ef,eh,eb,eS,eO,ek,(e,t,a,n,r,i)=>{if(!e?.savedFilters)return!1;let{viewType:o,savedFilters:l}=e,{filterActivityTypes:c,filterArchiveSelected:d,filterVipSelected:u,filterSalesforceChannelsSelected:m}=l,_=o===f.iP.Custom;return!(0,s.A)(t,c)||a!==d||n!==u||i!==m||_&&r}),eL=(0,l.Mz)(ef,eO,eD,eN,(e,t,a,n)=>!!e?.savedFilters&&(t||a||n)),eM=(0,E.Ay)(e=>e?.activityIA4?.waitingForInvalidationEvent);eM.meta={name:"getWaitingForInvalidationEvent",key:"createSelectorGetWaitingForInvalidationEvent",description:e=>e?.activityIA4?.waitingForInvalidationEvent};let eF=(0,E.Ay)(e=>e?.activityIA4?.unreadToggleStateForPeekMode);eF.meta={name:"getUnreadToggleStateForPeekMode",key:"createSelectorGetUnreadToggleStateForPeekMode",description:e=>e?.activityIA4?.unreadToggleStateForPeekMode};let eP=(0,E.Ay)(e=>e?.activityIA4?.peekViewSelectedTab);eP.meta={name:"getPeekViewSelectedTab",key:"createSelectorGetPeekViewSelectedTab",description:e=>e?.activityIA4?.peekViewSelectedTab};let eU=(0,l.Mz)(eP,e_,ep,(e,t,a)=>e===f.Yq.All?t:a),eB=(0,E.Ay)(e=>{let t=(0,D.e6)(e),a=(0,D.F8)(e,{tab:t,container:N.mq.Primary});return a?.viewType===_.D.ActivityEmpty});eB.meta={name:"isPrimaryViewActivityEmpty",key:"createSelectorIsPrimaryViewActivityEmpty",description:e=>{let t=(0,D.e6)(e),a=(0,D.F8)(e,{tab:t,container:N.mq.Primary});return a?.viewType===_.D.ActivityEmpty}};let eG=(0,E.Ay)(e=>e?.activityIA4?.views.map(e=>e.name));eG.meta={name:"getTabNames",key:"createSelectorGetTabNames",description:e=>e?.activityIA4?.views.map(e=>e.name)};let eH=(0,E.Ay)(e=>e?.activityIA4?.hasNewUnreadsFeedTs);eH.meta={name:"getHasNewUnreadsFeedTs",key:"createSelectorGetHasNewUnreadsFeedTs",description:e=>e?.activityIA4?.hasNewUnreadsFeedTs};let eW=(0,l.Mz)(eC,$,(e,t)=>!!(t&&t[e])),eV=(0,E.Ay)((e,t)=>{if(!t)return;let a=(0,n.A)(e?.activityIA4?.[f.Gt],e=>e.key===t);return a||(0,n.A)(e?.activityIA4?.[f.b8],e=>e.key===t)||(0,n.A)(e?.activityIA4?.all,e=>e.key===t)||(0,n.A)(e?.activityIA4?.notifications,e=>e.key===t)});eV.meta={name:"maybeGetActivityInboxItemByKey",key:"createSelectorMaybeGetActivityInboxItemByKey",description:(e,t)=>{if(!t)return;let a=(0,n.A)(e?.activityIA4?.[f.Gt],e=>e.key===t);return a||(0,n.A)(e?.activityIA4?.[f.b8],e=>e.key===t)||(0,n.A)(e?.activityIA4?.all,e=>e.key===t)||(0,n.A)(e?.activityIA4?.notifications,e=>e.key===t)}};let ej=(0,E.Ay)(e=>e?.activityIA4?.singleActivityEntry);ej.meta={name:"getSingleActivityEntry",key:"createSelectorGetSingleActivityEntry",description:e=>e?.activityIA4?.singleActivityEntry};let eK=(0,E.Ay)(e=>e?.activityIA4?.singleActivityEntryStatus);eK.meta={name:"getSingleActivityEntryStatus",key:"createSelectorGetSingleActivityEntryStatus",description:e=>e?.activityIA4?.singleActivityEntryStatus};let eq=(0,E.Ay)(e=>e?.activityIA4?.onboardingCoachmarkSequenceStep);eq.meta={name:"getOnboardingCoachmarkSequenceStep",key:"createSelectorGetOnboardingCoachmarkSequenceStep",description:e=>e?.activityIA4?.onboardingCoachmarkSequenceStep};let ez=(0,E.Ay)(e=>e?.activityIA4?.undoableActivityItem);ez.meta={name:"getUndoableActivityItem",key:"createSelectorGetUndoableActivityItem",description:e=>e?.activityIA4?.undoableActivityItem};let e$=(0,E.Ay)(e=>e?.activityIA4?.itemWithMlResultsActive);e$.meta={name:"getItemWithMlResultsActive",key:"createSelectorGetItemWithMlResultsActive",description:e=>e?.activityIA4?.itemWithMlResultsActive}},0xb2b38ac2:(e,t,a)=>{"use strict";a.d(t,{f:()=>r});var n=a(0x12b2867d0);let r=(0,a(0x11c82607b).Ay)("Update unread state for activities in activity tab",(e,t,a)=>{a.threadKey?e((0,n.rM)(a)):a.channelId&&e((0,n.Q)(a))});r.meta={name:"updateActivitiesUnreadState",key:"createThunkUpdateActivitiesUnreadState",description:"Update unread state for activities in activity tab"}},0xd41569db:(e,t,a)=>{"use strict";a.d(t,{X:()=>i,m:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Sets current channel tab");r.meta={name:"setCurrentChannelTabInner",key:"createActionSetCurrentChannelTabInner",description:"Sets current channel tab"};let i=(0,n.Ay)("Removes current channel tab");i.meta={name:"deleteCurrentChannelTabInner",key:"createActionDeleteCurrentChannelTabInner",description:"Removes current channel tab"}},0x15e56acbf:(e,t,a)=>{"use strict";a.d(t,{V:()=>s});var n=a(0xd41569db),r=a(0x11204e6c6),i=a(0x11c82607b),o=a(0x19895585a);let s=(0,i.Ay)("Removes current channel tab from the store",async(e,t,a)=>{let i,s=t(),{windowId:l,isSplitView:c,isMainWindow:d}=a;(i=l===o.N2&&d?c?(0,r.b)(s,{isSplitView:!0,windowId:o.N2}):(0,r.b)(s,{windowId:o.N2,isSplitView:!1,tab:a.tab}):(0,r.b)(s,{windowId:l,isSplitView:!1}))&&e((0,n.X)({key:i}))});s.meta={name:"deleteCurrentChannelTab",key:"createThunkDeleteCurrentChannelTab",description:"Removes current channel tab from the store"}},0x11204e6c6:(e,t,a)=>{"use strict";a.d(t,{b:()=>o});var n=a(0x19895585a);function constructKey({activeTab:e,isSplitView:t,windowId:a}){if(!a)return;let r=t?"split":e;return r||a===n.N2?r||a!==n.N2?`${a}-${r}`:void 0:`${a}`}var r=a(0x1cf0d97e1),i=a(0x9271cc31);let o=(0,r.Ay)((e,{windowId:t=n.N2,isSplitView:a=!1,tab:r})=>{let o=r??(0,i.e6)(e);return constructKey({activeTab:a||t!==n.N2?void 0:o,isSplitView:a,windowId:t})});o.meta={name:"getKeySelector",key:"createSelectorGetKeySelector",description:(e,{windowId:t=n.N2,isSplitView:a=!1,tab:r})=>{let o=r??(0,i.e6)(e);return constructKey({activeTab:a||t!==n.N2?void 0:o,isSplitView:a,windowId:t})}}},0x1f293bb0a:(e,t,a)=>{"use strict";a.d(t,{X:()=>s});var n=a(0x18dac2b8e),r=a(0x11204e6c6),i=a(0x1cf0d97e1),o=a(0x19895585a);let s=(0,i.Ay)((e,{windowId:t=o.N2,isSplitView:a=!1,tab:i})=>{if(t===o.N2&&!a&&!i&&(0,n.Cu)())throw Error("A NamedTab is required to be specified for the main window");let s=(0,r.b)(e,{windowId:t,isSplitView:a,tab:i});if(s)return e?.currentChannelTab?.[s]});s.meta={name:"getCurrentChannelTabId",key:"createSelectorGetCurrentChannelTabId",description:(e,{windowId:t=o.N2,isSplitView:a=!1,tab:i})=>{if(t===o.N2&&!a&&!i&&(0,n.Cu)())throw Error("A NamedTab is required to be specified for the main window");let s=(0,r.b)(e,{windowId:t,isSplitView:a,tab:i});if(s)return e?.currentChannelTab?.[s]}}},0x19d7d372c:(e,t,a)=>{"use strict";a.d(t,{Y:()=>s});var n=a(0xd41569db),r=a(0x11204e6c6),i=a(0x11c82607b),o=a(0x19895585a);let s=(0,i.Ay)("Sets current channel tab",(e,t,a)=>{let i,s=t(),{channelTabId:l,isSplitView:c,windowId:d,isMainWindow:u}=a;(i=d===o.N2&&u?c?(0,r.b)(s,{isSplitView:!0,windowId:o.N2}):(0,r.b)(s,{tab:a.tab,isSplitView:!1,windowId:o.N2}):(0,r.b)(s,{isSplitView:!1,windowId:d}))&&e((0,n.m)({key:i,channelTabId:l}))});s.meta={name:"setCurrentChannelTab",key:"createThunkSetCurrentChannelTab",description:"Sets current channel tab"}},0x1d8076771:(e,t,a)=>{"use strict";a.d(t,{O4:()=>i,Vp:()=>r,d6:()=>o,yI:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Upsert block unfurl data to the block unfurls store");r.meta={name:"upsertBlockUnfurl",key:"createActionUpsertBlockUnfurl",description:"Upsert block unfurl data to the block unfurls store"};let i=(0,n.Ay)("Bulk clear entire draft's unfurl data from block unfurls store");i.meta={name:"bulkClearBlockUnfurls",key:"createActionBulkClearBlockUnfurls",description:"Bulk clear entire draft's unfurl data from block unfurls store"};let o=(0,n.Ay)("Change draft pending block unfurls to sending");o.meta={name:"changeBlockUnfurlStatusToSending",key:"createActionChangeBlockUnfurlStatusToSending",description:"Change draft pending block unfurls to sending"};let s=(0,n.Ay)("Prepare drafts block unfurls for scheduled send");s.meta={name:"switchBlockUnfurlDraftId",key:"createActionSwitchBlockUnfurlDraftId",description:"Prepare drafts block unfurls for scheduled send"}},0x1bdeab7ff:(e,t,a)=>{"use strict";a.d(t,{o:()=>r});var n,r=((n={}).PENDING="pending",n.REMOVED="removed",n.SENDING="sending",n.DRAFT="draft",n)},0x132e1beb4:(e,t,a)=>{"use strict";function blockIsBlockUnfurlData(e){return!!(e&&"table"===e.type)}a.d(t,{v:()=>blockIsBlockUnfurlData})},0x1e0a0cdcc:(e,t,a)=>{"use strict";a.d(t,{Iy:()=>u,ck:()=>d,sz:()=>c});var n=a(0xc9c97240),r=a(0x1df96de4c),i=a(0xa794f9e1),o=a(0x1bdeab7ff),s=a(0x1cf0d97e1),l=a(0x1c2eef3c8);(0,s.Ay)((e,t)=>e?.blockUnfurls?.unfurls?.[t]).meta={name:"getAllBlockUnfurlEntriesForDraft",key:"createSelectorGetAllBlockUnfurlEntriesForDraft",description:(e,t)=>e?.blockUnfurls?.unfurls?.[t]};let c=(0,n.Mz)([(e,t)=>e?.blockUnfurls?.unfurls?.[t.draftId],(e,t)=>t.draftId,(e,t)=>t.status],(e,t,a)=>{if(!t||!a||!e)return r.Ml;let n=[];for(let[t,r]of Object.entries(e))r.status===a&&n.push(e[t].block);return n}),d=(0,s.Ay)((e,{draftId:t,scheduled:a})=>{let n="boolean"==typeof a;if(!t)return!1;let r=!1;if(n){let a=(0,l.YI)(e,t);r=!!(0,i.V)(a)}let s=!!c(e,{draftId:t,status:o.o.DRAFT})?.length;return n?a===r&&s:s});d.meta={name:"draftHasBlockUnfurls",key:"createSelectorDraftHasBlockUnfurls",description:(e,{draftId:t,scheduled:a})=>{let n="boolean"==typeof a;if(!t)return!1;let r=!1;if(n){let a=(0,l.YI)(e,t);r=!!(0,i.V)(a)}let s=!!c(e,{draftId:t,status:o.o.DRAFT})?.length;return n?a===r&&s:s}};let u=(0,s.Ay)((e,{draftId:t})=>t?c(e,{draftId:t,status:o.o.DRAFT}):r.Ml);u.meta={name:"getAllBlockUnfurlsForUnifiedDraft",key:"createSelectorGetAllBlockUnfurlsForUnifiedDraft",description:(e,{draftId:t})=>t?c(e,{draftId:t,status:o.o.DRAFT}):r.Ml}},0xcd366154:(e,t,a)=>{"use strict";a.d(t,{t:()=>r});var n=a(0x1cf0d97e1);let r=(0,n.Ay)(e=>e.recents);r.meta={name:"getIA4Recents",key:"createSelectorGetIA4Recents",description:e=>e.recents},(0,n.Ay)(e=>e.recents.length>0?e.recents[1]:null).meta={name:"getPreviousViewset",key:"createSelectorGetPreviousViewset",description:e=>e.recents.length>0?e.recents[1]:null}},0x148685a07:(e,t,a)=>{"use strict";a.d(t,{$E:()=>c,Eg:()=>n,HQ:()=>wrappedReplaceCurrentHistoryEntryForWindowInternal,PP:()=>r,TP:()=>s,cM:()=>l,jW:()=>o,y2:()=>wrappedPushHistoryEntryForMainWindowInternal});let{pushHistoryEntryForWindowInternal:n,replaceCurrentHistoryEntryForWindowInternal:r,...i}=(0,a(0x3c2c9330).px)(),{removeHistoryForWindow:o,removeRecentHistoryForWindow:s,updateIndexForWindow:l,popHistoryAboveIndexForWindow:c}=i,wrappedPushHistoryEntryForMainWindowInternal=e=>n(e),wrappedReplaceCurrentHistoryEntryForWindowInternal=e=>r(e)},0xfee0a4ff:(e,t,a)=>{"use strict";a.d(t,{jo:()=>_,jR:()=>m,XG:()=>f,yS:()=>h,m6:()=>p});var n=a(0x12cbe336e),r=a(0x1266f1359),i=a(0x21bfacd01),o=a(0x19895585a);function isBBMHistoryStackEntry(e){return e[o.jf]===o.k6.BBM}var s=a(0x1867ace9),l=a(0x15bc0d169),c=a(0x1bb02f2c4);function getStackWithoutBBMEntries(e,t){let a=(0,c.getFocusedWorkspace)?.(e),n=(0,r.$D)(a);return(0,i.V)(n)?t:t.filter(e=>!isBBMHistoryStackEntry(e))}function getStackWithoutDuplicatedEntries(e,t){let a=(0,c.getFocusedWorkspace)?.(e),n=(0,r.$D)(a);if((0,s.V)(n))return t;let i=e.mainWindowHistory?.[o.N2]?.index,d=e.mainWindowHistory?.[o.N2]?.stack[i];if(!d)return t;let u=d[o.jf],m=d[u],f=d.teamId;return t.filter(e=>{let t=e[o.jf],a=e[t];return e.teamId!==f||t!==u||!(0,l.A)(a,m)})}let canNavigateStack=(e,t)=>{let a=getStackWithoutBBMEntries(e,t);return 0===a.length||0===getStackWithoutDuplicatedEntries(e,a).length};var d=a(0x1c4c027f0),u=a(0x1cf0d97e1);let m=(0,u.Ay)(e=>e.mainWindowHistory?.[o.N2]?.stack);m.meta={name:"getHistoryForMainWindow",key:"createSelectorGetHistoryForMainWindow",description:e=>e.mainWindowHistory?.[o.N2]?.stack};let f=(0,u.Ay)(e=>e.mainWindowHistory?.[o.N2]?.index);f.meta={name:"getHistoryIndexForMainWindow",key:"createSelectorGetHistoryIndexForMainWindow",description:e=>e.mainWindowHistory?.[o.N2]?.index},(0,u.Ay)(e=>e.mainWindowHistory?.[o.N2]?.previousIndex).meta={name:"getHistoryPreviousIndexForMainWindow",key:"createSelectorGetHistoryPreviousIndexForMainWindow",description:e=>e.mainWindowHistory?.[o.N2]?.previousIndex};let _=(0,u.Ay)(e=>{let t=f(e);return e.mainWindowHistory?.[o.N2]?.stack[t]});_.meta={name:"getCurrentViewset",key:"createSelectorGetCurrentViewset",description:e=>{let t=f(e);return e.mainWindowHistory?.[o.N2]?.stack[t]}},(0,u.Ay)(e=>{let t=f(e);return e.mainWindowHistory?.[o.N2]?.stack[t+1]}).meta={name:"getPreviousViewset",key:"createSelectorGetPreviousViewset",description:e=>{let t=f(e);return e.mainWindowHistory?.[o.N2]?.stack[t+1]}};let p=(0,u.Ay)(e=>{let t=(0,c.getFocusedWorkspace)?.(e),a=(0,r.$D)(t);if((0,n.yZ)(a))return(0,d.uV)(e);let i=e.mainWindowHistory?.[o.N2]?.stack;if(!i)return!0;let s=e.mainWindowHistory?.[o.N2]?.index;return 0===s||canNavigateStack(e,i.slice(0,s))});p.meta={name:"isForwardDisabledForMainWindow",key:"createSelectorIsForwardDisabledForMainWindow",description:e=>{let t=(0,c.getFocusedWorkspace)?.(e),a=(0,r.$D)(t);if((0,n.yZ)(a))return(0,d.uV)(e);let i=e.mainWindowHistory?.[o.N2]?.stack;if(!i)return!0;let s=e.mainWindowHistory?.[o.N2]?.index;return 0===s||canNavigateStack(e,i.slice(0,s))}};let h=(0,u.Ay)(e=>{let t=(0,c.getFocusedWorkspace)?.(e),a=(0,r.$D)(t);if((0,n.yZ)(a))return(0,d.ud)(e);let i=e.mainWindowHistory?.[o.N2]?.stack;if(!i)return!0;let s=e.mainWindowHistory?.[o.N2]?.index;return s+1===i.length||canNavigateStack(e,i.slice(s+1))});h.meta={name:"isBackDisabledForMainWindow",key:"createSelectorIsBackDisabledForMainWindow",description:e=>{let t=(0,c.getFocusedWorkspace)?.(e),a=(0,r.$D)(t);if((0,n.yZ)(a))return(0,d.ud)(e);let i=e.mainWindowHistory?.[o.N2]?.stack;if(!i)return!0;let s=e.mainWindowHistory?.[o.N2]?.index;return s+1===i.length||canNavigateStack(e,i.slice(s+1))}}},0xcaa08ff7:(e,t,a)=>{"use strict";a.d(t,{Hm:()=>I,KJ:()=>k,MY:()=>p,RZ:()=>h,Tk:()=>E,Vh:()=>w,Wh:()=>S,ZC:()=>g,b0:()=>y,mF:()=>b,qR:()=>T,wO:()=>A});var n=a(0x17294c72a),r=a(0x1df96de4c),i=a(0xb041cb4d),o=a(0x12185e091),s=a(0x2378cf6ec),l=a(0xf2964a91),c=a(0x21d6ed371),d=a(0x1ec68d6a3),u=a(0x1cf0d97e1),m=a(0x1ccef1c6f),f=a(0x217553e42),_=a(0xe684f705);(0,u.Ay)(e=>e?.priority?.priorityChannelIds).meta={name:"getPriorityChannelIds",key:"createSelectorGetPriorityChannelIds",description:e=>e?.priority?.priorityChannelIds};let p=(0,u.Ay)(e=>e?.priority?.priorityUserIds);p.meta={name:"getPriorityUserIds",key:"createSelectorGetPriorityUserIds",description:e=>e?.priority?.priorityUserIds};let h=(0,u.Ay)(e=>!!(e?.priority?.priorityUserIds&&e?.priority?.priorityUserIds.length>0));h.meta={name:"getHasPriorityUsers",key:"createSelectorGetHasPriorityUsers",description:e=>!!(e?.priority?.priorityUserIds&&e?.priority?.priorityUserIds.length>0)};let g=(0,u.Ay)(e=>(0,n.A)(p(e)||[],t=>(0,s.I)(e,t)));g.meta={name:"getPriorityUserIdsSortedByName",key:"createSelectorGetPriorityUserIdsSortedByName",description:e=>(0,n.A)(p(e)||[],t=>(0,s.I)(e,t))};let A=(0,u.Ay)(e=>e?.priority?.priorityUserIds?.filter(t=>(0,l.o)((0,_.nv)(e,t)))||void 0);A.meta={name:"getDeactivatedPriorityUserIds",key:"createSelectorGetDeactivatedPriorityUserIds",description:e=>e?.priority?.priorityUserIds?.filter(t=>(0,l.o)((0,_.nv)(e,t)))||void 0};let b=(0,u.Ay)((e,t)=>!!(t&&e?.priority?.priorityUserIds?.includes(t)));b.meta={name:"isPriorityUserById",key:"createSelectorIsPriorityUserById",description:(e,t)=>!!(t&&e?.priority?.priorityUserIds?.includes(t))},(0,u.Ay)(e=>e?.priority?.isLoading).meta={name:"getPriorityLoading",key:"createSelectorGetPriorityLoading",description:e=>e?.priority?.isLoading};let y=(0,u.Ay)(e=>e?.priority?.nuxScreenOpen);y.meta={name:"getPriorityNUXState",key:"createSelectorGetPriorityNUXState",description:e=>e?.priority?.nuxScreenOpen};let S=(0,u.Ay)((e,{message:t,unjoinedChannelMentionSenderUserId:a})=>{if(!(0,i.Gn)(e))return!1;let n=p(e),r=t?.user,s=(0,f.OL)(e,t?.channel);if(!n||!n.length||!(0,m.ty)(e,"priority_dnd_override"))return!1;let l=t?.bot_profile?.user_id;if(t?.subtype==="bot_message"&&l&&n.includes(l)||a&&n.includes(a))return!0;if(!r||!n.includes(r))return!1;let{channelIds:d,userGroupIds:u,userIds:_}=(0,c.Z)(e,t);return d.length>0||u.length>0||_.length>0||(0,o.JM)(s)});S.meta={name:"shouldOverrideDndForMessage",key:"createSelectorShouldOverrideDndForMessage",description:(e,{message:t,unjoinedChannelMentionSenderUserId:a})=>{if(!(0,i.Gn)(e))return!1;let n=p(e),r=t?.user,s=(0,f.OL)(e,t?.channel);if(!n||!n.length||!(0,m.ty)(e,"priority_dnd_override"))return!1;let l=t?.bot_profile?.user_id;if(t?.subtype==="bot_message"&&l&&n.includes(l)||a&&n.includes(a))return!0;if(!r||!n.includes(r))return!1;let{channelIds:d,userGroupIds:u,userIds:_}=(0,c.Z)(e,t);return d.length>0||u.length>0||_.length>0||(0,o.JM)(s)}};let E=(0,u.Ay)((e,{message:t,desktopSoundType:a,priorityDesktopSoundType:n,unjoinedChannelMentionSenderUserId:r})=>{let i=(0,d.default)({state:e});if(!h(e)||(i.info("NOTIFICATIONS",`desktopSoundType: ${a}`),i.info("NOTIFICATIONS",`priorityDesktopSoundType: ${n}`),!a||!n||"none"!==a&&"none"===n))return!1;let s=p(e),l=t?.user,u=(0,f.OL)(e,t?.channel);if(!s||!s.length)return i.info("NOTIFICATIONS","No VIPs have been added"),!1;let m=t?.bot_profile?.user_id;if(t?.subtype==="bot_message"&&m&&s.includes(m)||r&&s.includes(r))return!0;if(!l||!s.includes(l))return i.info("NOTIFICATIONS","The message is not sent by a VIP user"),!1;let{channelIds:_,userGroupIds:g,userIds:A}=(0,c.Z)(e,t),b=_?.length>0||g?.length>0||A?.length>0||(0,o.JM)(u);return i.info("NOTIFICATIONS",`hasMention: ${b}`),b&&("none"===a&&"none"!==n||"none"!==a&&"none"!==n)});E.meta={name:"shouldOverrideDesktopSoundForPriorityMessage",key:"createSelectorShouldOverrideDesktopSoundForPriorityMessage",description:(e,{message:t,desktopSoundType:a,priorityDesktopSoundType:n,unjoinedChannelMentionSenderUserId:r})=>{let i=(0,d.default)({state:e});if(!h(e)||(i.info("NOTIFICATIONS",`desktopSoundType: ${a}`),i.info("NOTIFICATIONS",`priorityDesktopSoundType: ${n}`),!a||!n||"none"!==a&&"none"===n))return!1;let s=p(e),l=t?.user,u=(0,f.OL)(e,t?.channel);if(!s||!s.length)return i.info("NOTIFICATIONS","No VIPs have been added"),!1;let m=t?.bot_profile?.user_id;if(t?.subtype==="bot_message"&&m&&s.includes(m)||r&&s.includes(r))return!0;if(!l||!s.includes(l))return i.info("NOTIFICATIONS","The message is not sent by a VIP user"),!1;let{channelIds:_,userGroupIds:g,userIds:A}=(0,c.Z)(e,t),b=_?.length>0||g?.length>0||A?.length>0||(0,o.JM)(u);return i.info("NOTIFICATIONS",`hasMention: ${b}`),b&&("none"===a&&"none"!==n||"none"!==a&&"none"!==n)}};let k=(0,u.Ay)(e=>e?.priority?.recommendedUsers||r.Ml);k.meta={name:"getRecommendedUsers",key:"createSelectorGetRecommendedUsers",description:e=>e?.priority?.recommendedUsers||r.Ml};let T=(0,u.Ay)(e=>e?.priority?.recommendedUsers?.filter(t=>(0,l.o)((0,_.nv)(e,t.userId)))||void 0);T.meta={name:"getDeactivatedRecommendedUsers",key:"createSelectorGetDeactivatedRecommendedUsers",description:e=>e?.priority?.recommendedUsers?.filter(t=>(0,l.o)((0,_.nv)(e,t.userId)))||void 0};let I=(0,u.Ay)(e=>e?.priority?.recommendationsLoading);I.meta={name:"getRecommendationsLoading",key:"createSelectorGetRecommendationsLoading",description:e=>e?.priority?.recommendationsLoading};let w=(0,u.Ay)(e=>e?.priority?.requestId);w.meta={name:"getRecommendedPriorityUserRequestId",key:"createSelectorGetRecommendedPriorityUserRequestId",description:e=>e?.priority?.requestId}},0x20cbdb3ef:(e,t,a)=>{"use strict";a.d(t,{Fp:()=>tabSodaCanViewBeEjected,Xy:()=>canOpenInTabSodaTab,fe:()=>tabSodaGetNextActiveTab});var n=a(0x57d5a5b5),r=a(0x16ed1b0dc),i=a(0x1529370e7);function tabSodaGetNextActiveTab(e,t){let a=t.indexOf(e),n=a<t.length-1?a+1:a-1;return n>=0?t[n]:void 0}function canOpenInTabSodaTab(e){return(0,r.A)(e)||"thread"===e}function tabSodaCanViewBeEjected(e){return(0,i.Ay)(e)||(0,n.pI)(e)||(0,n.or)(e)||(0,r.A)(e)||"thread"===e||"comment_thread"===e}},0x1c4c027f0:(e,t,a)=>{"use strict";a.d(t,{B:()=>s,fK:()=>o,lw:()=>d,uV:()=>c,ud:()=>l});var n=a(0x20cbdb3ef),r=a(0x1cf0d97e1),i=a(0x19895585a);let o=(0,r.Ay)(e=>e.tabSoda);o.meta={name:"getTabSoda",key:"createSelectorGetTabSoda",description:e=>e.tabSoda};let s=(0,r.Ay)(e=>{let t=o(e);return t.activeTab?t.tabs[t.activeTab].entries:[]});s.meta={name:"tabSodaGetRecentsForActiveTab",key:"createSelectorTabSodaGetRecentsForActiveTab",description:e=>{let t=o(e);return t.activeTab?t.tabs[t.activeTab].entries:[]}};let l=(0,r.Ay)(e=>{let t=o(e);if(!t.activeTab)return!0;let a=t.tabs[t.activeTab];return!a||a.currentIndex<=0});l.meta={name:"tabSodaIsBackDisabledForActiveTab",key:"createSelectorTabSodaIsBackDisabledForActiveTab",description:e=>{let t=o(e);if(!t.activeTab)return!0;let a=t.tabs[t.activeTab];return!a||a.currentIndex<=0}};let c=(0,r.Ay)(e=>{let t=o(e);if(!t.activeTab)return!0;let a=t.tabs[t.activeTab];return!a||a.currentIndex>=a.entries.length-1});c.meta={name:"tabSodaIsForwardDisabledForActiveTab",key:"createSelectorTabSodaIsForwardDisabledForActiveTab",description:e=>{let t=o(e);if(!t.activeTab)return!0;let a=t.tabs[t.activeTab];return!a||a.currentIndex>=a.entries.length-1}};let d=(0,r.Ay)((e,t)=>{let a=o(e).tabs[t];if(!a)return!1;let r=a.entries[a.currentIndex],s=r?.teamId;if(!r||!s)return!1;let l=r?.[i.jf],c=r?.[l]?.[i.mq.Primary]?.id;return!!c&&(0,n.Fp)(c)});d.meta={name:"tabSodaCanEjectTab",key:"createSelectorTabSodaCanEjectTab",description:(e,t)=>{let a=o(e).tabs[t];if(!a)return!1;let r=a.entries[a.currentIndex],s=r?.teamId;if(!r||!s)return!1;let l=r?.[i.jf],c=r?.[l]?.[i.mq.Primary]?.id;return!!c&&(0,n.Fp)(c)}}},0x12866476b:(e,t,a)=>{"use strict";a.d(t,{Ff:()=>r,SF:()=>s,jf:()=>l,mB:()=>c});var n=a(0x9e671ad);let{reducer:r,actions:i,selectors:o}=(0,a(0x107594e0c).A)({storeKey:"viewUiState",persistenceEnabled:!0},{update:(e,t)=>(0,n.A)(e,t)?t:e,transform:e=>{let{id:t,uiState:a}=e;return{id:t,object:a}}}),{addObjects:s,removeObjects:l}=i,{getObjectById:c}=o},0x20736dc5b:(e,t,a)=>{"use strict";a.d(t,{e:()=>i});var n=a(0x12866476b),r=a(0x1fa981ad0);let i=(0,a(0x1cf0d97e1).Ay)((e,t)=>{let a=(0,r.j)(t);return a?(0,n.mB)(e,a)??null:null});i.meta={name:"getUiState",key:"createSelectorGetUiState",description:(e,t)=>{let a=(0,r.j)(t);return a?(0,n.mB)(e,a)??null:null}}},0xb64d15f8:(e,t,a)=>{"use strict";a.d(t,{Fm:()=>l,W_:()=>d,vd:()=>c});var n=a(0x1db69cda),r=a(0x20736dc5b),i=a(0xdf55e8f3),o=a(0x19895585a),s=a(0x9271cc31);let l=(0,i.eI)((e,{windowId:t,tab:a,container:n})=>{let i;i=n===o.mq.Split?(0,s.Oy)(e):t===o.N2?(0,s.F8)(e,{tab:a,container:n}):(0,s.Yi)(e,{windowId:t,container:n});let l=(0,r.e)(e,{windowId:t,tab:a,container:n,isSplitView:n===o.mq.Split});if(i)return{...i,uiState:l??void 0}}),c=(0,i.jB)((e,{windowId:t,tab:a})=>{let i=t===o.N2&&a?(0,s.Le)(e,{tab:a}):(0,s.hZ)(e,{windowId:t});if(!i)return;let l=Object.keys(i),c=(0,n.A)(i);for(let n of l){let i=(0,r.e)(e,{windowId:t,tab:a,container:n,isSplitView:n===o.mq.Split});c[n]&&i&&(c[n].uiState=i)}return c}),d=(0,i.jB)((e,{viewSet:t,windowId:a,tab:i})=>{let s=Object.keys(t),l=(0,n.A)(t);for(let t of s){let n=(0,r.e)(e,{windowId:a,tab:i,container:t,isSplitView:t===o.mq.Split});l[t]&&n&&(l[t].uiState=n)}return l})},0x177e6bba8:(e,t,a)=>{"use strict";a.d(t,{W:()=>s,q:()=>l});var n=a(0x12866476b),r=a(0x24eb397d6),i=a(0x1fa981ad0),o=a(0x11c82607b);let s=(0,o.Ay)("Sets uiState for a view container in a product surface",(e,t,a)=>{let{windowId:r,uiState:o,isSplitView:s=!1,container:l,tab:c}=a,d=(0,i.j)({windowId:r,isSplitView:s,container:l,tab:c});if(d)return e((0,n.SF)({objects:[{id:d,uiState:o}]}))});s.meta={name:"setUiState",key:"createThunkSetUiState",description:"Sets uiState for a view container in a product surface"};let l=(0,o.Ay)("Sets uiState for a given view",(e,t,a)=>{let{view:n,windowId:i,isSplitView:o,container:l,tab:c}=a;return e(s({uiState:(0,r.u)(n),windowId:i,isSplitView:o,container:l,tab:c}))});l.meta={name:"setUiStateForView",key:"createThunkSetUiStateForView",description:"Sets uiState for a given view"}},0x192bd8716:(e,t,a)=>{"use strict";a.d(t,{x:()=>l});var n=a(0x12866476b),r=a(0x2142f66ec),i=a(0x11c82607b),o=a(0x19895585a),s=a(0x9271cc31);let l=(0,i.Ay)("Set the ui states for a view set",(e,t,a)=>{let i=t(),{viewSet:l,windowId:c=o.N2,tab:d}=a,u=d??(0,s.e6)(i),m=(0,r.Y)({viewSet:l,windowId:c,tab:u});if(0!==m.length)return e((0,n.SF)({objects:m}))});l.meta={name:"setUiStatesForViewSet",key:"createThunkSetUiStatesForViewSet",description:"Set the ui states for a view set"}},0x24eb397d6:(e,t,a)=>{"use strict";a.d(t,{u:()=>cloneUiStateFromView});var n=a(0x1db69cda);function cloneUiStateFromView(e){let t=(0,n.A)(e.uiState??{});return setPrevOnUiState(e,t),t}function setPrevOnUiState(e,t){e?.prev&&e?.prev&&(t.prev=e.prev.uiState??{},setPrevOnUiState(e.prev,t.prev))}},0x1fa981ad0:(e,t,a)=>{"use strict";a.d(t,{j:()=>getUiStateKey});var n=a(0x1ec68d6a3),r=a(0x19895585a);function getUiStateKeyStrict(e){if(e&&"object"==typeof e){if(isMainPayload(e))return generateKeyMainWindow({container:e.container,tab:e.tab});if(isMainSplitPayload(e))return generateKeyMainWindowSplit();if(isChildPayload(e))return generateKeyChildWindow({windowId:e.windowId,container:e.container});if(isChildSplitPayload(e))return generateKeyChildWindowSplit({windowId:e.windowId});try{let t=exhaustiveCheck(e);(0,n.getGenericLogger)({label:"VIEW_UI_STATE"}).error(t)}catch{}}}function getUiStateKey(e){let{windowId:t,container:a,isSplitView:n,tab:i}=e,o=a===r.mq.Split;if(t===r.N2){if("isSplitView"in e?n:o)return getUiStateKeyStrict({isMainWindow:!0,windowId:t,isSplitView:!0});if(a&&i)return getUiStateKeyStrict({isMainWindow:!0,windowId:t,container:a,tab:i,isSplitView:!1})}else if(t&&t!==r.N2){if("isSplitView"in e?n:o)return getUiStateKeyStrict({isMainWindow:!1,windowId:t,isSplitView:!0});if(a)return getUiStateKeyStrict({isMainWindow:!1,windowId:t,container:a,isSplitView:!1})}}function exhaustiveCheck(e){try{throw Error(`Key was unable to be generated for ${JSON.stringify(e)}`)}catch(e){throw(0,n.getGenericLogger)({label:"VIEW_UI_STATE"}).error(e instanceof Error?e:Error(e)),e}}function isMainPayload(e){return!!(e.isMainWindow&&e.windowId===r.N2&&"container"in e&&e.container&&"tab"in e&&e.tab)}function isMainSplitPayload(e){return e.isMainWindow&&e.windowId===r.N2&&e.isSplitView}function isChildPayload(e){return!!(!e.isMainWindow&&"string"==typeof e.windowId&&e.windowId!==r.N2&&e.windowId&&"container"in e&&e.container)}function isChildSplitPayload(e){return!!(!e.isMainWindow&&"string"==typeof e.windowId&&e.windowId!==r.N2&&e.windowId&&e.isSplitView)}function generateKeyMainWindow({container:e,tab:t}){return`${r.N2}-${t}-${e}`}function generateKeyMainWindowSplit(){return`${r.N2}-split`}function generateKeyChildWindow({windowId:e,container:t}){return`${e}-${t}`}function generateKeyChildWindowSplit({windowId:e}){return`${e}-split`}},0x2142f66ec:(e,t,a)=>{"use strict";a.d(t,{Y:()=>getUiStateObjectsForViewSet});var n=a(0x1c0dc4cab),r=a(0x1595bdd0),i=a(0x24eb397d6),o=a(0x1fa981ad0),s=a(0x19895585a);let l=[s.mq.Sidebar,s.mq.Primary,s.mq.Secondary];function getUiStateObjectsForViewSet({viewSet:e,windowId:t,tab:a}){let s=l.reduce((r,s)=>{let l=(0,o.j)({windowId:t,container:s,tab:a}),c=e[s];if(!l)return r;let d=c?(0,i.u)(c):{};return(0,n.A)(r,[{id:l,uiState:d}])},[]);return(0,r.A)(s)}},0xdb4e8459:(e,t,a)=>{"use strict";a.r(t),a.d(t,{addRemovedWorkspace:()=>w,addWorkspace:()=>o,initialize:()=>i,internalRemoveWorkspace:()=>c,internalRemoveWorkspaceType:()=>u,internalSetFocusedWorkspace:()=>l,internalSetFocusedWorkspaceType:()=>m,internalWorkspacesRemoved:()=>d,internalWorkspacesRemovedType:()=>f,setDidBootAllWorkspaces:()=>h,setNavigateToUnbootedWorkspace:()=>k,setShowDropinAnimation:()=>C,setUserNotMemberOfAnyWorkspaceInOrg:()=>T,setUserRequiresMobileLogin:()=>I,setWorkspaceBooted:()=>p,setWorkspaceFailedToBoot:()=>g,setWorkspaceIsAccessLimited:()=>E,setWorkspaceIsMigrating:()=>y,setWorkspaceMigrationIsComplete:()=>S,setWorkspaceNeeds2FASetup:()=>A,setWorkspaceNeedsToAcceptCustomTOS:()=>b,setWorkspaceOrder:()=>_,updateWorkspaceMeta:()=>s});var n=a(0x4f6e90b4),r=a(0xcf658893);let i=(0,r.Ay)("Initializes the store and sets the initial focused workspace ID");i.meta={name:"initialize",key:"createActionInitialize",description:"Initializes the store and sets the initial focused workspace ID"};let o=(0,r.Ay)("Adds a new workspace to the store (but does not boot it)");o.meta={name:"addWorkspace",key:"createActionAddWorkspace",description:"Adds a new workspace to the store (but does not boot it)"};let s=(0,r.Ay)("Updates the metadata associated with a given workspace");s.meta={name:"updateWorkspaceMeta",key:"createActionUpdateWorkspaceMeta",description:"Updates the metadata associated with a given workspace"};let l=(0,r.Ay)("Actually focus a workspace");l.meta={name:"internalSetFocusedWorkspace",key:"createActionInternalSetFocusedWorkspace",description:"Actually focus a workspace"};let c=(0,r.Ay)("Removes a workspace from the store");c.meta={name:"internalRemoveWorkspace",key:"createActionInternalRemoveWorkspace",description:"Removes a workspace from the store"};let d=(0,r.Ay)("Signals that a workspace has been removed");d.meta={name:"internalWorkspacesRemoved",key:"createActionInternalWorkspacesRemoved",description:"Signals that a workspace has been removed"};let u=c.getType(),m=l.getType(),f=d.getType(),_=(0,r.Ay)("Sets the order of workspaces for display");_.meta={name:"setWorkspaceOrder",key:"createActionSetWorkspaceOrder",description:"Sets the order of workspaces for display"};let p=(0,r.Ay)("Sets the workspace booted state");p.meta={name:"setWorkspaceBooted",key:"createActionSetWorkspaceBooted",description:"Sets the workspace booted state"};let h=(0,r.Ay)("Indicates that we have completed (or attempted) boot for all known workspaces");h.meta={name:"setDidBootAllWorkspaces",key:"createActionSetDidBootAllWorkspaces",description:"Indicates that we have completed (or attempted) boot for all known workspaces"};let g=(0,r.Ay)("Sets the workspace failed to boot state");g.meta={name:"setWorkspaceFailedToBoot",key:"createActionSetWorkspaceFailedToBoot",description:"Sets the workspace failed to boot state"};let A=(0,r.Ay)("Mark that the workspace needs 2fa to be setup");A.meta={name:"setWorkspaceNeeds2FASetup",key:"createActionSetWorkspaceNeeds2FASetup",description:"Mark that the workspace needs 2fa to be setup"};let b=(0,r.Ay)("Mark that the user needs to accept their org's Custom TOS");b.meta={name:"setWorkspaceNeedsToAcceptCustomTOS",key:"createActionSetWorkspaceNeedsToAcceptCustomTOS",description:"Mark that the user needs to accept their org's Custom TOS"};let y=(0,r.Ay)("Indicates that the given workspace is in the middle of an org migration");y.meta={name:"setWorkspaceIsMigrating",key:"createActionSetWorkspaceIsMigrating",description:"Indicates that the given workspace is in the middle of an org migration"};let S=(0,r.Ay)("Indicates that the given workspace has completed migrating to an org");S.meta={name:"setWorkspaceMigrationIsComplete",key:"createActionSetWorkspaceMigrationIsComplete",description:"Indicates that the given workspace has completed migrating to an org"};let E=(0,r.Ay)("Indicates that the given workspace has its access limited on this network");E.meta={name:"setWorkspaceIsAccessLimited",key:"createActionSetWorkspaceIsAccessLimited",description:"Indicates that the given workspace has its access limited on this network"};let k=(0,r.Ay)("Sets the workspace id and navigation props for the workspace user wants to switch to while it is still booting.");k.meta={name:"setNavigateToUnbootedWorkspace",key:"createActionSetNavigateToUnbootedWorkspace",description:"Sets the workspace id and navigation props for the workspace user wants to switch to while it is still booting."};let T=(0,r.Ay)("Mark that the user is not in any workspaces in this org");T.meta={name:"setUserNotMemberOfAnyWorkspaceInOrg",key:"createActionSetUserNotMemberOfAnyWorkspaceInOrg",description:"Mark that the user is not in any workspaces in this org"};let I=(0,r.Ay)("Indicates that the user must log in via mobile");I.meta={name:"setUserRequiresMobileLogin",key:"createActionSetUserRequiresMobileLogin",description:"Indicates that the user must log in via mobile"};let w=(0,r.Ay)("Adds a workspace to the removed workspaces slice");w.meta={name:"addRemovedWorkspace",key:"createActionAddRemovedWorkspace",description:"Adds a workspace to the removed workspaces slice"};let C=(0,r.Ay)("Sets the dropin animation for workspace avatars");C.meta={name:"setShowDropinAnimation",key:"createActionSetShowDropinAnimation",description:"Sets the dropin animation for workspace avatars"},(0,n.ul)("workspacesStoreActions",{setWorkspaceOrder:_,setWorkspaceBooted:p})},0x1bb02f2c4:(e,t,a)=>{"use strict";a.r(t),a.d(t,{canViewMigrationStatus:()=>D,didBootAllWorkspaces:()=>m,doesWorkspaceNeed2FASetup:()=>v,doesWorkspaceNeedToAcceptCustomTOS:()=>x,getAllWorkspaces:()=>u,getBootedOrgWorkspacesCount:()=>y,getBootedWorkspaces:()=>b,getBootedWorkspacesByOrg:()=>E,getFailedToBootWorkspaces:()=>I,getFocusedWorkspace:()=>g,getNavigateToUnbootedWorkspace:()=>_,getNextWorkspace:()=>getNextWorkspace,getNumberOfRemovedWorkspaces:()=>V,getNumberOfWorkspaces:()=>f,getPreviousWorkspace:()=>getPreviousWorkspace,getRecentlyFocusedWorkspaces:()=>A,getShowDropinAnimation:()=>j,getWorkspaceCustomTOSAcceptURL:()=>R,getWorkspaceMetaBySubdomain:()=>h,getWorkspaceMigrationId:()=>N,getWorkspaceOrgId:()=>S,getWorkspaceTwoFactorExpiry:()=>U,getWorkspacesByOrg:()=>k,getWorkspacesMeta:()=>p,getWorkspacesWhereRequiredToUseMobileLogin:()=>W,hasWorkspaceFailedToBoot:()=>C,isFocusedWorkspaceInTeamOrEnterprise:()=>T,isSignedIntoWorkspace:()=>isSignedIntoWorkspace,isUserNotMemberOfAnyWorkspaceInOrg:()=>G,isUserRequiredToUseMobileLogin:()=>H,isWorkspaceAccessLimited:()=>M,isWorkspaceBooted:()=>w,isWorkspaceExpired:()=>F,isWorkspaceMigrating:()=>O,isWorkspaceMigrationComplete:()=>L,isWorkspacePendingAuth:()=>P,isWorkspacePendingTwoFactor:()=>B});var n=a(0x1e2051844),r=a(0x1aba66b56),i=a(0x4f6e90b4),o=a(0x1df96de4c),s=a(0x2264e6ea3),l=a(0xb62e6bf4),c=a(0x10656c751),d=a(0x1cf0d97e1);let u=(0,d.Ay)(e=>(e&&e.workspaces&&e.workspaces.allWorkspaces)??o.Ml);u.meta={name:"getAllWorkspaces",key:"createSelectorGetAllWorkspaces",description:e=>(e&&e.workspaces&&e.workspaces.allWorkspaces)??o.Ml};let m=(0,d.Ay)(e=>!!(e&&e.workspaces?.didBootAllWorkspaces));m.meta={name:"didBootAllWorkspaces",key:"createSelectorDidBootAllWorkspaces",description:e=>!!(e&&e.workspaces?.didBootAllWorkspaces)};let f=(0,d.Ay)(e=>e&&e.workspaces&&e.workspaces.allWorkspaces&&e.workspaces.allWorkspaces.length);f.meta={name:"getNumberOfWorkspaces",key:"createSelectorGetNumberOfWorkspaces",description:e=>e&&e.workspaces&&e.workspaces.allWorkspaces&&e.workspaces.allWorkspaces.length};let _=(0,d.Ay)(e=>e&&e.workspaces&&e.workspaces.navigateToUnbootedWorkspace);_.meta={name:"getNavigateToUnbootedWorkspace",key:"createSelectorGetNavigateToUnbootedWorkspace",description:e=>e&&e.workspaces&&e.workspaces.navigateToUnbootedWorkspace};let p=(0,d.Ay)(e=>e&&e.workspaces&&e.workspaces.workspacesMeta);p.meta={name:"getWorkspacesMeta",key:"createSelectorGetWorkspacesMeta",description:e=>e&&e.workspaces&&e.workspaces.workspacesMeta};let h=(0,d.Ay)((e,t)=>{let a=p(e);return(0,n.A)(a,e=>!!e.url&&e.url.startsWith(`https://${t}.`))});h.meta={name:"getWorkspaceMetaBySubdomain",key:"createSelectorGetWorkspaceMetaBySubdomain",description:(e,t)=>{let a=p(e);return(0,n.A)(a,e=>!!e.url&&e.url.startsWith(`https://${t}.`))}};let g=(0,d.Ay)(e=>e&&e.workspaces&&e.workspaces.focusedWorkspace);g.meta={name:"getFocusedWorkspace",key:"createSelectorGetFocusedWorkspace",description:e=>e&&e.workspaces&&e.workspaces.focusedWorkspace};let A=(0,d.Ay)(e=>(e&&e.workspaces&&e.workspaces.recentlyFocusedWorkspaces)??o.Ml);A.meta={name:"getRecentlyFocusedWorkspaces",key:"createSelectorGetRecentlyFocusedWorkspaces",description:e=>(e&&e.workspaces&&e.workspaces.recentlyFocusedWorkspaces)??o.Ml};let b=(0,d.Ay)(e=>(e&&e.workspaces&&e.workspaces.bootedWorkspaces)??o.Ml);b.meta={name:"getBootedWorkspaces",key:"createSelectorGetBootedWorkspaces",description:e=>(e&&e.workspaces&&e.workspaces.bootedWorkspaces)??o.Ml};let y=(0,d.Ay)(e=>{let t=p(e);return(b(e)||[]).filter(e=>t[e]?.enterprise_id).length});y.meta={name:"getBootedOrgWorkspacesCount",key:"createSelectorGetBootedOrgWorkspacesCount",description:e=>{let t=p(e);return(b(e)||[]).filter(e=>t[e]?.enterprise_id).length}};let S=(0,d.Ay)((e,t)=>{let a=p(e)?.[t];return(0,l.ZN)(t)&&(0,s.JV)(t)?a?.id:a?.enterprise_id});S.meta={name:"getWorkspaceOrgId",key:"createSelectorGetWorkspaceOrgId",description:(e,t)=>{let a=p(e)?.[t];return(0,l.ZN)(t)&&(0,s.JV)(t)?a?.id:a?.enterprise_id}};let E=(0,d.Ay)((e,t)=>{if((0,l.ZN)(t))return[t];let a=p(e);return(b(e)||[]).filter(e=>{let n=a[e];return n.enterprise_id&&n.enterprise_id===t})});E.meta={name:"getBootedWorkspacesByOrg",key:"createSelectorGetBootedWorkspacesByOrg",description:(e,t)=>{if((0,l.ZN)(t))return[t];let a=p(e);return(b(e)||[]).filter(e=>{let n=a[e];return n.enterprise_id&&n.enterprise_id===t})}};let k=(0,d.Ay)((e,t)=>Object.entries(p(e)).filter(([,e])=>e.enterprise_id===t).map(([e])=>e));k.meta={name:"getWorkspacesByOrg",key:"createSelectorGetWorkspacesByOrg",description:(e,t)=>Object.entries(p(e)).filter(([,e])=>e.enterprise_id===t).map(([e])=>e)};let T=(0,d.Ay)((e,t)=>{let a=g(e);return!!a&&((0,c.d3)(t)?S(e,a)===t:a===t)});T.meta={name:"isFocusedWorkspaceInTeamOrEnterprise",key:"createSelectorIsFocusedWorkspaceInTeamOrEnterprise",description:(e,t)=>{let a=g(e);return!!a&&((0,c.d3)(t)?S(e,a)===t:a===t)}};let I=(0,d.Ay)(e=>e&&e.workspaces&&e.workspaces.failedToBootWorkspaces);I.meta={name:"getFailedToBootWorkspaces",key:"createSelectorGetFailedToBootWorkspaces",description:e=>e&&e.workspaces&&e.workspaces.failedToBootWorkspaces};let getNextWorkspace=e=>{let t=u(e),a=g(e),n=(t.indexOf(a)+1)%t.length;return t[n]},getPreviousWorkspace=e=>{let t=u(e),a=g(e),n=(t.indexOf(a)+t.length-1)%t.length;return t[n]},w=(0,d.Ay)((e,t)=>e&&e.workspaces&&e.workspaces.bootedWorkspaces&&e.workspaces.bootedWorkspaces.includes(t));w.meta={name:"isWorkspaceBooted",key:"createSelectorIsWorkspaceBooted",description:(e,t)=>e&&e.workspaces&&e.workspaces.bootedWorkspaces&&e.workspaces.bootedWorkspaces.includes(t)};let C=(0,d.Ay)((e,t)=>!!(e&&e.workspaces&&e.workspaces.failedToBootWorkspaces&&(0,r.A)(e.workspaces.failedToBootWorkspaces,t)));C.meta={name:"hasWorkspaceFailedToBoot",key:"createSelectorHasWorkspaceFailedToBoot",description:(e,t)=>!!(e&&e.workspaces&&e.workspaces.failedToBootWorkspaces&&(0,r.A)(e.workspaces.failedToBootWorkspaces,t))};let v=(0,d.Ay)((e,t)=>!!e?.workspaces?.needs2FASetup?.includes(t));v.meta={name:"doesWorkspaceNeed2FASetup",key:"createSelectorDoesWorkspaceNeed2FASetup",description:(e,t)=>!!e?.workspaces?.needs2FASetup?.includes(t)};let x=(0,d.Ay)((e,t)=>!!e?.workspaces?.needsToAcceptCustomTOS?.find(e=>e.teamId===t));x.meta={name:"doesWorkspaceNeedToAcceptCustomTOS",key:"createSelectorDoesWorkspaceNeedToAcceptCustomTOS",description:(e,t)=>!!e?.workspaces?.needsToAcceptCustomTOS?.find(e=>e.teamId===t)};let R=(0,d.Ay)((e,t)=>e?.workspaces?.needsToAcceptCustomTOS?.find(e=>e.teamId===t)?.url);R.meta={name:"getWorkspaceCustomTOSAcceptURL",key:"createSelectorGetWorkspaceCustomTOSAcceptURL",description:(e,t)=>e?.workspaces?.needsToAcceptCustomTOS?.find(e=>e.teamId===t)?.url};let O=(0,d.Ay)((e,t)=>!!(e&&e.workspaces&&e.workspaces.migratingWorkspaces&&t in e.workspaces.migratingWorkspaces));O.meta={name:"isWorkspaceMigrating",key:"createSelectorIsWorkspaceMigrating",description:(e,t)=>!!(e&&e.workspaces&&e.workspaces.migratingWorkspaces&&t in e.workspaces.migratingWorkspaces)};let N=(0,d.Ay)((e,t)=>e&&e.workspaces&&e.workspaces.migratingWorkspaces&&e.workspaces.migratingWorkspaces[t].migrationId);N.meta={name:"getWorkspaceMigrationId",key:"createSelectorGetWorkspaceMigrationId",description:(e,t)=>e&&e.workspaces&&e.workspaces.migratingWorkspaces&&e.workspaces.migratingWorkspaces[t].migrationId};let D=(0,d.Ay)((e,t)=>e&&e.workspaces&&e.workspaces.migratingWorkspaces&&e.workspaces.migratingWorkspaces[t].canViewMigrationStatus);D.meta={name:"canViewMigrationStatus",key:"createSelectorCanViewMigrationStatus",description:(e,t)=>e&&e.workspaces&&e.workspaces.migratingWorkspaces&&e.workspaces.migratingWorkspaces[t].canViewMigrationStatus};let L=(0,d.Ay)((e,t)=>!!(e&&e.workspaces&&e.workspaces.completedMigrationWorkspaces&&(0,r.A)(e.workspaces.completedMigrationWorkspaces,t)));L.meta={name:"isWorkspaceMigrationComplete",key:"createSelectorIsWorkspaceMigrationComplete",description:(e,t)=>!!(e&&e.workspaces&&e.workspaces.completedMigrationWorkspaces&&(0,r.A)(e.workspaces.completedMigrationWorkspaces,t))};let M=(0,d.Ay)((e,t)=>!!(e&&e.workspaces&&e.workspaces.accessLimitedWorkspaces&&(0,r.A)(e.workspaces.accessLimitedWorkspaces,t)));M.meta={name:"isWorkspaceAccessLimited",key:"createSelectorIsWorkspaceAccessLimited",description:(e,t)=>!!(e&&e.workspaces&&e.workspaces.accessLimitedWorkspaces&&(0,r.A)(e.workspaces.accessLimitedWorkspaces,t))};let F=(0,d.Ay)((e,t)=>{let a=p(e);return!!(a&&a[t]&&a[t].isExpired)});F.meta={name:"isWorkspaceExpired",key:"createSelectorIsWorkspaceExpired",description:(e,t)=>{let a=p(e);return!!(a&&a[t]&&a[t].isExpired)}};let P=(0,d.Ay)((e,t)=>{let a=p(e);return!!a?.[t]?.isPendingAuth});P.meta={name:"isWorkspacePendingAuth",key:"createSelectorIsWorkspacePendingAuth",description:(e,t)=>{let a=p(e);return!!a?.[t]?.isPendingAuth}};let U=(0,d.Ay)((e,t)=>{let a=p(e)?.[t];return a?.two_factor_magic_login?.expiry});U.meta={name:"getWorkspaceTwoFactorExpiry",key:"createSelectorGetWorkspaceTwoFactorExpiry",description:(e,t)=>{let a=p(e)?.[t];return a?.two_factor_magic_login?.expiry}};let B=(0,d.Ay)((e,t)=>{if(P(e,t)){let a=U(e,t);return!!a&&Math.floor(Date.now()/1e3)<a}return!1});function isSignedIntoWorkspace(e,t){return!!(p(e)[t]&&!F(e,t)&&!P(e,t))}B.meta={name:"isWorkspacePendingTwoFactor",key:"createSelectorIsWorkspacePendingTwoFactor",description:(e,t)=>{if(P(e,t)){let a=U(e,t);return!!a&&Math.floor(Date.now()/1e3)<a}return!1}};let G=(0,d.Ay)((e,t)=>!!e?.workspaces?.userNotMemberOfAnyWorkspaceInOrg?.includes(t));G.meta={name:"isUserNotMemberOfAnyWorkspaceInOrg",key:"createSelectorIsUserNotMemberOfAnyWorkspaceInOrg",description:(e,t)=>!!e?.workspaces?.userNotMemberOfAnyWorkspaceInOrg?.includes(t)};let H=(0,d.Ay)((e,t)=>!!e?.workspaces?.userRequiresMobileLogin?.includes(t));H.meta={name:"isUserRequiredToUseMobileLogin",key:"createSelectorIsUserRequiredToUseMobileLogin",description:(e,t)=>!!e?.workspaces?.userRequiresMobileLogin?.includes(t)};let W=(0,d.Ay)(e=>e?.workspaces?.userRequiresMobileLogin);W.meta={name:"getWorkspacesWhereRequiredToUseMobileLogin",key:"createSelectorGetWorkspacesWhereRequiredToUseMobileLogin",description:e=>e?.workspaces?.userRequiresMobileLogin};let V=(0,d.Ay)(e=>e?.workspaces?.removedWorkspaces?.length??0);V.meta={name:"getNumberOfRemovedWorkspaces",key:"createSelectorGetNumberOfRemovedWorkspaces",description:e=>e?.workspaces?.removedWorkspaces?.length??0};let j=(0,d.Ay)(e=>!!e?.workspaces?.showDropinAnimation);j.meta={name:"getShowDropinAnimation",key:"createSelectorGetShowDropinAnimation",description:e=>!!e?.workspaces?.showDropinAnimation},(0,i.ul)("workspacesStoreSelectors",{isWorkspaceBooted:w,getAllWorkspaces:u,getWorkspacesMeta:p,getFocusedWorkspace:g,getBootedWorkspaces:b,getNavigateToUnbootedWorkspace:_})},0x1663a4138:(e,t,a)=>{"use strict";a.d(t,{e:()=>o});var n=a(0x4f6e90b4),r=a(0x25799808),i=a(0x1d30b0ef7);let o=(0,a(0x11c82607b).Ay)("Fetches auth and sets the currently focused workspace (and channel if provided)",(e,t,{teamId:a,channelId:n,avoidRedirectLoops:o=!0,preventPostAuthNavigation:s=!1}={})=>{let l=n?`${(0,i.a8)()}/${a}/${n}${window.location.search}${window.location.hash}`:`${(0,i.a8)()}/${a}${window.location.search}${window.location.hash}`;return(0,r.K7)(l,o,!0,void 0,s)});o.meta={name:"fetchAuthAndSetFocusedWorkspace",key:"createThunkFetchAuthAndSetFocusedWorkspace",description:"Fetches auth and sets the currently focused workspace (and channel if provided)"},(0,n.ul)("workspacesStoreActions",{fetchAuthAndSetFocusedWorkspace:o})},0x2467d5a7d:(e,t,a)=>{"use strict";a.r(t),a.d(t,{setFocusedWorkspaceInClientV2:()=>T,test:()=>I});var n=a(0xca924ee1),r=a(0x91eaf8d0),i=a(0x1172e9a5d),o=a(0x1aba66b56),s=a(0xe874a88a),l=a(0x742207c8),c=a(0x16e59666d),d=a(0x164ee0b8e),u=a(0xaed7acfc),m=a(0x21249f9a5),f=a(0x1ae5d492),_=a(0x1599ad93e),p=a(0x1ec68d6a3),h=a(0xdb4e8459),g=a(0x1bb02f2c4),A=a(0x2b4a00ff),b=a(0x1266f1359),y=a(0x14a385132),S=a(0x20c514d46);function buildSetFocusedWorkspace({bootTeam:e}){return(t,a,{teamId:n,routeName:r=null,params:i=null,fromNavigation:E=!1}={})=>{let k=a(),T=(0,g.getFocusedWorkspace)(k);if(T===n)return s.S.resolve();if(!(0,_.u_)((0,b.oK)(T)?.getState()))return(0,p.getGenericLogger)().info("WORKSPACE-FOCUS","Cannot switch workspaces because canUserSwitchWorkspaces returned false."),s.S.resolve();let I=(0,g.getAllWorkspaces)(k);if(!(0,o.A)(I,n))return(0,p.getGenericLogger)().error("WORKSPACE-FOCUS",`attempting to set focused workspace state for unknown teamId: ${n}; known teams: ${I.join(",")}`),s.S.resolve();async function dispatchFocusActions(){if(T&&(0,b.Qw)(T,(0,y.CW)()),(0,b.Qw)(n,(0,u.f)()),(0,m.G$)(),t((0,h.internalSetFocusedWorkspace)(n)),(0,d.q9)("lastActiveTeamId",n),n){let e=(0,b.oK)(n),t=null;if(e&&e.getState&&(t=e.getState()),t){let e=(0,c.b)(t);try{let a=t.bootData?.enterprise_id;(0,p.getGenericLogger)().info("WORKSPACE-FOCUS",`Setting reducedSignInWorkflowExperiment object in local storage. teamId: ${n}, enterpriseId: ${a}, isOn: ${e}`),window.localStorage.setItem("reducedSignInWorkflowExperiment",JSON.stringify({isOn:e,lastActiveTeamId:n,enterpriseId:a}))}catch(e){(0,p.getGenericLogger)().info("WORKSPACE-FOCUS",`Failed to set reducedSignInWorkflowExperiment object in local storage: ${e}`)}}}if(!E){let e=(0,b.oK)(n).getState(),t=r||(0,A.D8)(e)||l.o,a=i||{teamId:n,...(0,A.MC)(e)};return(0,f._U)(t,a,{reason:"workspaces-store/dispatchFocusActions"})}return s.S.resolve()}return(0,g.isWorkspaceExpired)(k,n)||(0,g.isWorkspacePendingAuth)(k,n)?((0,S.A)(n),s.S.resolve()):(0,g.doesWorkspaceNeed2FASetup)(k,n)||(0,g.hasWorkspaceFailedToBoot)(k,n)||(0,g.isWorkspaceBooted)(k,n)?s.S.resolve(dispatchFocusActions()):e().then(dispatchFocusActions)}}var E=a(0x11c82607b);let k=(0,n.A)(e=>{let t=(0,i.A_)(e);return buildSetFocusedWorkspace({bootTeam:()=>(0,r.J)(t)})}),T=(0,E.Ay)("Set the currently focused workspace (client-v2)",(e,t,{teamId:a,routeName:n=null,params:r=null,fromNavigation:i=!1}={})=>k(a)(e,t,{teamId:a,routeName:n,params:r,fromNavigation:i}));T.meta={name:"setFocusedWorkspaceInClientV2",key:"createThunkSetFocusedWorkspaceInClientV2",description:"Set the currently focused workspace (client-v2)"};let I={clearMemo:()=>{k.cache.clear()}}},0x5c293d1b:(e,t,a)=>{"use strict";a.d(t,{b:()=>o});var n=a(0x4f6e90b4),r=a(0x11c82607b);let i=Promise.resolve().then(a.bind(a,0x2467d5a7d)),o=(0,r.Ay)("Set the currently focused workspace",async(e,t,{teamId:a,routeName:n=null,params:r=null,fromNavigation:o=!1}={})=>{let s=await i;if(!s)return;let{setFocusedWorkspaceInClientV2:l}=s;return e(l({teamId:a,routeName:n,params:r,fromNavigation:o}))});o.meta={name:"setFocusedWorkspace",key:"createThunkSetFocusedWorkspace",description:"Set the currently focused workspace"},(0,n.ul)("workspacesStoreActions",{setFocusedWorkspace:o})},0x24bb758f9:(e,t,a)=>{"use strict";a.d(t,{w:()=>isValidSplitViewType});var n=a(0x139aa1a7);let r=[n.D.AiApp,n.D.SidekickConversation,n.D.AgentHomeConversation,n.D.Thread,n.D.Channel,n.D.Canvas,n.D.ChannelCanvas,n.D.QuipCommentThread,n.D.QuipAutomationsOverview,n.D.QuipCommentStream,n.D.ActivityList,n.D.List,n.D.Tasks,n.D.SlackbotAi,n.D.SlackbotAiUpgradePaywall,n.D.ListRecordDetails,n.D.ActivityInbox,n.D.ListRecordThread,n.D.Profile,n.D.AppSpace,n.D.AiMessageAnalysis,n.D.Page,n.D.ListRecord,n.D.FileDetails,n.D.LinkDetails,n.D.SplitEmpty,n.D.SalesBulkGrid,n.D.TodayV2,n.D.TodayUnreads,n.D.TodayActionItems,n.D.TodayAgenda,n.D.TimelineSources];function isValidSplitViewType(e){return r.includes(e)}},0x2082548d6:(e,t,a)=>{"use strict";a.d(t,{A:()=>getSignInUrl});var n=a(0xcc110d9),r=a(0x62a17882),i=a(0x16e59666d),o=a(0x164ee0b8e),s=a(0x1059ba41d),l=a(0xff89300f),c=a(0x1bb02f2c4),d=a(0x691ce3ab);function getTeamMeta(e){let t=(0,d.Ry)(),a=(0,c.getWorkspacesMeta)(t);return a?.[e]}function getSignInUrl(e){let t=e&&getTeamMeta(e),a=t&&t.url||"/";if(a.endsWith("/")||(a=`${a}/`),(0,s.g9M)()){let e=(0,s.CmU)(),l=(0,n.v8)("b"),c=l?`&ssb_vid=${l}`:"";(0,r.y3)()&&(c+=`&ssb_instance_id=${encodeURIComponent((0,s.sST)())}`);let d=`s=1&v=${e}${c}`;if(t)return`${a}ssb/signin_redirect?${d}`;let u=(0,o.W6)("orderedTeamIds");if(Array.isArray(u)&&0===u.length){let e=(0,o.W6)("lastActiveTeamId");return e&&(0,i.a)(e)?`${a}ssb/first?team=${e}&redir=%2Fssb%2Fclient&${d}`:`${a}ssb/first?redir=%2Fssb%2Fclient&${d}`}return`${a}ssb/add?${d}`}let c=`/${l.u.SONIC}${window.location.search}`,d=`/gantry${c}`,u=t?"":"workspace-signin";return`${a}${u}?redir=${encodeURIComponent(d)}`}},0x16e59666d:(e,t,a)=>{"use strict";a.d(t,{a:()=>isReducedSignInWorkflowExperimentOn,b:()=>isReducedSignInWorkflowEnabled});var n=a(0x1266f1359),r=a(0x14149c126);function isReducedSignInWorkflowEnabled(e){return"treatment"===(0,r._Z)(e,"reduce_sign_in_workflow_steps")}function isReducedSignInWorkflowExperimentOn(e){return isReducedSignInWorkflowEnabled((0,n.$D)(e))}},0x20c514d46:(e,t,a)=>{"use strict";let n;a.d(t,{A:()=>openSignIn});var r=a(0x5ee16468),i=a(0x2082548d6),o=a(0x1059ba41d),s=a(0x1750c1ced),l=a(0xc4548bcd),c=a(0xcd225243);function openSignIn(e){let t=(0,i.A)(e);!(0,o.g9M)()&&(0,s.VA)()?(0,r.T)(t):((0,o.g9M)()&&((0,c.Vi)(!1),clearTimeout(n),n=setTimeout(()=>{(0,c.Vi)(!0)},3e4)),(0,l.A)(t))}},0x2bc7fdd5:(e,t,a)=>{"use strict";a.d(t,{H:()=>n,N:()=>o});let n={Saving:a(0x18a03595d).Ls.Saving,Editing:"editing",Active:"active"},r="SalesHome Error:";var i,o=((i={})[i.RecordsFetchError=`${r} fetchSfdcFieldObjects fetch error `]="RecordsFetchError",i[i.PicklistFetchError=`${r} fetchSfdcPicklistValues fetch error `]="PicklistFetchError",i[i.DuplicateSave=`${r} useProcessUpdates called for an actively saving row`]="DuplicateSave",i[i.DuplicateOperation=`${r} Invalid updateRecord call with duplicate items in operations`]="DuplicateOperation",i[i.MultipleOperation=`${r} Invalid updateRecord call with multiple items in operations`]="MultipleOperation",i[i.MultipleRowsToProcess=`${r} Invalid updateRecord call with multiple rows to process`]="MultipleRowsToProcess",i[i.MultipleKeyUpdate=`${r} Invalid updateRecord call with multiple fields to update`]="MultipleKeyUpdate",i[i.NoRowToProcess=`${r} Invalid updateRecord call with no row to process`]="NoRowToProcess",i[i.UnknownColumnTypes=`${r} Unknown column type passed to sfColumnObjectToGridColumnItem`]="UnknownColumnTypes",i)},0x1c18c5d4e:(e,t,a)=>{"use strict";a.d(t,{I:()=>isDownmarketCrmEnabledForUser});var n=a(0x14149c126),r=a(0x165bb8fb3);let isDownmarketCrmEnabledForUser=e=>"on"===(0,n.ze)(e,"slack_first_crm")&&(0,r.H7)(e)},0x22ee6a672:(e,t,a)=>{"use strict";a.d(t,{GI:()=>isSfRecordListViewsAskSlackbotEnabled,HN:()=>isSlackbotDownmarketCrmEnabledForTeam,mD:()=>isCmrAskMeAnythingSlackbotCkoDemoEnabled,sL:()=>isSlackbotDownmarketCrmGAChangesEnabledForTeam});var n=a(0x70de3606),r=a(0x14149c126);let isCmrAskMeAnythingSlackbotCkoDemoEnabled=e=>"on"===(0,r._Z)(e,"cmr_ask_me_anything_slackbot_cko_demo"),isSlackbotDownmarketCrmEnabledForTeam=e=>(0,n.Ix)(e)&&"on"===(0,r.ze)(e,"slackbot_downmarket_crm"),isSlackbotDownmarketCrmGAChangesEnabledForTeam=e=>isSlackbotDownmarketCrmEnabledForTeam(e)&&"on"===(0,r.ze)(e,"slackbot_downmarket_crm_ga"),isSfRecordListViewsAskSlackbotEnabled=e=>"on"===(0,r.ze)(e,"sf_record_list_views_ask_slackbot")},0x198b59621:(e,t,a)=>{"use strict";a.d(t,{Ut:()=>_,dp:()=>f,j0:()=>p,o5:()=>h});var n=a(0x7ed0bca9),r=a(0x70de3606),i=a(0xa1832ae4),o=a(0xb8504a42),s=a(0x17f03e906),l=a(0x1cf0d97e1),c=a(0x14017b66d),d=a(0x91e15f37),u=a(0x1ee439e69),m=a(0x20ddbda49);let f=(0,l.Ay)(e=>{if(!(0,r.hD)(e)||(0,s.c)(e)||(0,n.Fr)())return!1;let t=(0,u.H7)(e);return!(0,o.r7)(t)});f.meta={name:"isEligibleForTenuredTeamDownmarketCRMExperience",key:"createSelectorIsEligibleForTenuredTeamDownmarketCRMExperience",description:e=>{if(!(0,r.hD)(e)||(0,s.c)(e)||(0,n.Fr)())return!1;let t=(0,u.H7)(e);return!(0,o.r7)(t)}};let _=(0,l.Ay)(e=>{if(!f(e)||(0,c.cQ)(e).length>0)return!1;let t=(0,d.iH)(e),a=(0,d.Cc)(e);if(t||a)return!1;let n=(0,u.H7)(e).id,r=(0,m.AK)(e,{teamId:n}),i=(0,m.iF)(e,{teamId:n});return!!r||!!i});_.meta={name:"isEligibleForDownmarketCrmProvisioning",key:"createSelectorIsEligibleForDownmarketCrmProvisioning",description:e=>{if(!f(e)||(0,c.cQ)(e).length>0)return!1;let t=(0,d.iH)(e),a=(0,d.Cc)(e);if(t||a)return!1;let n=(0,u.H7)(e).id,r=(0,m.AK)(e,{teamId:n}),i=(0,m.iF)(e,{teamId:n});return!!r||!!i}};let p=(0,l.Ay)(e=>{if(!f(e))return!1;let t=(0,u.H7)(e),a=(0,c.cQ)(e).length>0;return(!!(0,r.Ix)(e)||!a)&&!!((0,i.tc)(t)||(0,i.KJ)(t))});p.meta={name:"isEligibleForDownmarketCrmTrial",key:"createSelectorIsEligibleForDownmarketCrmTrial",description:e=>{if(!f(e))return!1;let t=(0,u.H7)(e),a=(0,c.cQ)(e).length>0;return(!!(0,r.Ix)(e)||!a)&&!!((0,i.tc)(t)||(0,i.KJ)(t))}};let h=(0,l.Ay)(e=>!!f(e)&&!!(0,r.Ix)(e));h.meta={name:"shouldShowDownmarketCrmTenuredTeamContent",key:"createSelectorShouldShowDownmarketCrmTenuredTeamContent",description:e=>!!f(e)&&!!(0,r.Ix)(e)}},0x5142b6c4:(e,t,a)=>{"use strict";a.d(t,{P:()=>o});var n=a(0x1d472ce97),r=a(0x1cf0d97e1),i=a(0xe684f705);let o=(0,r.Ay)((e,t)=>{if(!t)return!1;let a=(0,i.nv)(e,t);return!!a&&(0,n.l)(a)});o.meta={name:"isSalesforceAppByMemberId",key:"createSelectorIsSalesforceAppByMemberId",description:(e,t)=>{if(!t)return!1;let a=(0,i.nv)(e,t);return!!a&&(0,n.l)(a)}}},0x9ae53e23:(e,t,a)=>{"use strict";a.d(t,{y:()=>i});var n=a(0x5142b6c4),r=a(0x280afe13);let i=(0,a(0x1cf0d97e1).Ay)((e,t)=>{if(!t)return!1;let a=(0,r.e)(t);return!!a&&(0,n.P)(e,a)});i.meta={name:"isSalesforceAppChannel",key:"createSelectorIsSalesforceAppChannel",description:(e,t)=>{if(!t)return!1;let a=(0,r.e)(t);return!!a&&(0,n.P)(e,a)}}},0x1d472ce97:(e,t,a)=>{"use strict";a.d(t,{l:()=>isSalesforceAppMember});var n=a(0x1cbd9cf82),r=a(0x1b9d5cc0c),i=a(0x350d87d7);function isSalesforceAppMember(e){return!!e&&(0,i.A)(e)&&(0,r.PV)(e)===(0,n.Io)()}},0x18a03595d:(e,t,a)=>{"use strict";a.d(t,{BT:()=>T,E1:()=>R,EH:()=>m,EN:()=>C,Iq:()=>p,Ls:()=>b,M4:()=>O,MZ:()=>l,Ny:()=>D,OJ:()=>F,TD:()=>_,U6:()=>d,Vp:()=>c,WM:()=>S,ZJ:()=>I,a6:()=>M,bA:()=>u,bf:()=>s,dd:()=>o,eR:()=>x,jL:()=>k,lE:()=>E,n2:()=>L,sy:()=>N,uB:()=>r,wG:()=>w,we:()=>n,x4:()=>i,yE:()=>v,yc:()=>f,zH:()=>y});let n="012000000000000AAA",r=2e3,i=30,o=6e4,s=18e5,l=250,c=200,d=3,u=1,m=46,f=["slack_user_id"],_=12,p=100;var h,g,A,b=((h={}).Fetching="fetching",h.Fetched="fetched",h.Saving="saving",h.Saved="saved",h.Error="error",h.Synced="synced",h),y=((g={}).default="default",g.collision="collision_detected",g.field_level_error="field_level_error",g.validation_error="validation_error",g.additional_fields_error="additional_fields_error",g.validation_go_to_salesforce_error="validation_go_to_salesforce_error",g.salesforce_timeout="salesforce_timeout",g.opportunity_has_opportunity_line_item="opportunity_has_opportunity_line_item",g);let S=200,E=2200,k=3e3,T="modernSelling.refinementView",I=100,w="https://trailhead.salesforce.com/content/learn/modules/opportunities-list-view-step-by-step/work-with-opportunity-list-views",C="https://trailhead.salesforce.com/content/learn/modules/list-views-quick-look/get-to-know-list-views",v=1,x=10,R={aggregations:[],grouping:void 0,sorts:[],filters:[],hiddenColumns:[],searchQuery:void 0,columnWidths:{},numStickyColumns:0},O=10,N=4,D=1,L=50,M="";var F=((A={}).OwnerId="OwnerId",A)},0x1ad94e02e:(e,t,a)=>{"use strict";a.d(t,{DZ:()=>l,H5:()=>o,OB:()=>u,OQ:()=>i,X3:()=>d,as:()=>c,om:()=>r,vc:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Set form status for editing a given record");r.meta={name:"setEditRecordFormStatus",key:"createActionSetEditRecordFormStatus",description:"Set form status for editing a given record"};let i=(0,n.Ay)("Track form visibility for editing a given record");i.meta={name:"setEditRecordFormVisibility",key:"createActionSetEditRecordFormVisibility",description:"Track form visibility for editing a given record"};let o=(0,n.Ay)("Track that a form was opened in a new window");o.meta={name:"setEditRecordFormOpenedInNewView",key:"createActionSetEditRecordFormOpenedInNewView",description:"Track that a form was opened in a new window"};let s=(0,n.Ay)("Track that a field was recently blurred");s.meta={name:"setRecentlyBlurredField",key:"createActionSetRecentlyBlurredField",description:"Track that a field was recently blurred"};let l=(0,n.Ay)("Track that a field was recently blurred");l.meta={name:"setFieldToResumeEditing",key:"createActionSetFieldToResumeEditing",description:"Track that a field was recently blurred"};let c=(0,n.Ay)("Clear data about the field to resume editing if the user goes back from a speedbump");c.meta={name:"clearFieldToResumeEditing",key:"createActionClearFieldToResumeEditing",description:"Clear data about the field to resume editing if the user goes back from a speedbump"};let d=(0,n.Ay)("Clear form data for editing a given record");d.meta={name:"clearEditRecordFormData",key:"createActionClearEditRecordFormData",description:"Clear form data for editing a given record"};let u=(0,n.Ay)("Request cancellation of pending form changes");u.meta={name:"cancelEditRecord",key:"createActionCancelEditRecord",description:"Request cancellation of pending form changes"}},0x146c105b0:(e,t,a)=>{"use strict";a.d(t,{E:()=>n});let n=a(0x19895585a).N2},0x1f386ae3:(e,t,a)=>{"use strict";a.d(t,{$T:()=>s,O:()=>u,QG:()=>d,Vj:()=>l,vT:()=>c});var n=a(0xfd02ae44),r=a(0x1df6d2ea5),i=a(0x1cf0d97e1),o=a(0x1bc4b3ad8);let s=(0,i.Ay)((e,{recordId:t,windowId:a,viewContainer:n})=>e.salesforceEditRecord.editedRecords[t]?.[(0,r.I)(a,n)]);s.meta={name:"getEditRecordFormState",key:"createSelectorGetEditRecordFormState",description:(e,{recordId:t,windowId:a,viewContainer:n})=>e.salesforceEditRecord.editedRecords[t]?.[(0,r.I)(a,n)]};let l=(0,o.F)(s,e=>e?.activeFieldTracking?.fieldRecentlyBlurred),c=(0,o.F)(s,e=>e?.activeFieldTracking?.fieldToResumeEditing),d=(0,o.F)(s,e=>e?.status===n.k.dirty),u=(0,o.F)(s,e=>e?.cancelPending)},0x15fe735ec:(e,t,a)=>{"use strict";a.d(t,{N:()=>E});var n=a(0xbad225b5),r=a(0x16cf1da63),i=a(0x20482ad21),o=a(0x10bae7b36),s=a(0x3711e82d),l=a(0x1ad94e02e),c=a(0x1f386ae3),d=a(0x226892387),u=a(0x204000df3),m=a(0x14236acae),f=a(0x19895585a);let _=new i.Ay("modernselling"),UnsavedRecordEditsWarningModal=({title:e,closeAndContinueEditing:t,closeAndCancelEditing:a,recordId:i,viewContainer:p,windowId:h})=>{let g=(0,r.wA)(),A=(0,d.d4)(e=>(0,c.Vj)(e,{recordId:i,viewContainer:p,windowId:h})),b=(0,n.useRef)(A);(0,n.useEffect)(()=>{b.current||(b.current=A)},[A]);let y=(0,n.useCallback)(e=>({eventId:s.EventId.RECORDS_SALESFORCE_RECORD_VIEW,uiComponentName:s.UiComponentName.SALESFORCE_RECORD_FLEXPANE,uiComponentVariant:p===f.mq.Secondary?s.UiComponentVariant.SALESFORCE_RECORD_FLEXPANE:s.UiComponentVariant.SALESFORCE_RECORD_DETAILS,elementName:e,onClick:{enableClogAction:!0}}),[p]),S=(0,n.useCallback)(()=>{b.current&&g((0,l.DZ)({fieldApiName:b.current,recordId:i,windowId:h,viewContainer:p})),t()},[t,g,i,p,h]),E=(0,d.d4)(e=>(0,m.PQ)(e,i));if(!(0,u._s)(E))return S(),null;let k=_.rt("Your updates to {recordName} will be lost. We hate to see hard work go to waste.",{recordName:E.name}),T=e??_.t("Continue without saving changes?"),I=_.t("Continue");return n.createElement(o.A,{title:T,submitButtonText:I,submitButtonType:"danger",cancelButtonText:_.t("Go Back"),onSubmit:a,onCancel:S,onClose:S,submitAutoClogProps:y("speedbump_continue_exit_form"),cancelAutoClogProps:y("speedbump_cancel_exit_form"),shouldAutoFocusCancel:!0},k)};UnsavedRecordEditsWarningModal.displayName="UnsavedRecordEditsWarningModal";var p=a(0x11cdf8541),h=a(0x146c105b0),g=a(0xfd02ae44),A=a(0x201ad948f),b=a(0x11c82607b),y=a(0x1fcbb004d),S=a(0x46dbff89);let E=(0,b.Ay)("Close Salesforce Record forms with no changes and warn if the form has unsaved changes",async(e,t,{recordId:a,viewContainer:r,title:i},o)=>{let{windowId:s}=o(p.C),d=t(),u=(0,c.$T)(d,{recordId:a,windowId:s,viewContainer:r});return u&&u.status===g.k.dirty&&!u.hasBeenOpenedInNewView?new Promise((t,o)=>{e((0,S.q)({element:n.createElement(WrappedUnsavedSalesforceEditsWarningModal,{title:i,recordId:a,windowId:s,viewContainer:r,resolve:t,reject:o}),isStackable:!0}))}):(u?.status===g.k.saving?(e((0,l.OQ)({recordId:a,windowId:s,viewContainer:r,isVisible:!1})),e((0,A.Q)({windowId:h.E}))):e((0,l.X3)({recordId:a,windowId:s,viewContainer:r})),Promise.resolve())});function WrappedUnsavedSalesforceEditsWarningModal({title:e,recordId:t,windowId:a,viewContainer:i,resolve:o,reject:s}){let c=(0,r.wA)(),d=(0,n.useCallback)(()=>{c((0,l.X3)({recordId:t,windowId:a,viewContainer:i})),c((0,y.O)()),o()},[c,t,a,i,o]),u=(0,n.useCallback)(()=>{c((0,y.O)()),s()},[s,c]);return n.createElement(UnsavedRecordEditsWarningModal,{title:e,closeAndCancelEditing:d,closeAndContinueEditing:u,recordId:t,viewContainer:i,windowId:a})}E.meta={name:"attemptToDiscardSalesforceFormChanges",key:"createThunkAttemptToDiscardSalesforceFormChanges",description:"Close Salesforce Record forms with no changes and warn if the form has unsaved changes"},WrappedUnsavedSalesforceEditsWarningModal.displayName="WrappedUnsavedSalesforceEditsWarningModal"},0xfd02ae44:(e,t,a)=>{"use strict";a.d(t,{k:()=>r});var n,r=((n={}).clean="clean",n.dirty="dirty",n.saving="saving",n)},0x1df6d2ea5:(e,t,a)=>{"use strict";a.d(t,{I:()=>recordViewKey});let recordViewKey=(e,t)=>`${e}-${t||"default"}`},0x7c3b3a1d:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(0x1cf0d97e1),r=a(0xf9124039);let i=(0,n.Ay)((e,t)=>{let a=(0,r.Ly)(e);return a?.type?.displayName===t});i.meta={name:"isToastVisible",key:"createSelectorIsToastVisible",description:(e,t)=>{let a=(0,r.Ly)(e);return a?.type?.displayName===t}}},0x9587e59a:(e,t,a)=>{"use strict";a.d(t,{x:()=>o});var n=a(0x7c3b3a1d),r=a(0x11c82607b),i=a(0x6ea1f0ed);let o=(0,r.Ay)("Dismiss save success toast if visible",(e,t)=>{(0,n.A)(t(),"LogActivitySaveSuccessToast")&&e((0,i.Z)())});o.meta={name:"maybeDismissSuccessToast",key:"createThunkMaybeDismissSuccessToast",description:"Dismiss save success toast if visible"}},0x201ad948f:(e,t,a)=>{"use strict";a.d(t,{Q:()=>n});let n=(0,a(0xcf658893).Ay)("Triggers a side-effect that shows the Record Save Toast (noop)");n.meta={name:"showRecordSaveToastCircular",key:"createActionShowRecordSaveToastCircular",description:"Triggers a side-effect that shows the Record Save Toast (noop)"}},0x91728dda:(e,t,a)=>{"use strict";a.d(t,{B_:()=>U,Bh:()=>E,Bj:()=>_,D2:()=>O,D9:()=>B,FP:()=>h,Fm:()=>isSlackCrmEmailsEnabled,Jx:()=>u,LI:()=>y,Pe:()=>R,QJ:()=>d,R5:()=>g,S3:()=>k,Sy:()=>T,V$:()=>A,VU:()=>S,Xf:()=>v,Xp:()=>D,Y7:()=>F,YF:()=>m,aX:()=>p,ar:()=>M,gr:()=>I,hK:()=>b,hx:()=>c,jh:()=>x,k7:()=>N,mI:()=>w,pO:()=>C,qq:()=>L,rx:()=>P,sw:()=>f});var n=a(0x1c18c5d4e),r=a(0x1a9a80bc),i=a(0x1cf0d97e1),o=a(0x147fb8c90),s=a(0x14149c126),l=a(0x165bb8fb3);let c=(0,i.Ay)(e=>(0,l.yF)(e));c.meta={name:"isSalesHomeEnabledForCurrentMember",key:"createSelectorIsSalesHomeEnabledForCurrentMember",description:e=>(0,l.yF)(e)};let d=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_hierarchy_rollup_v2"));d.meta={name:"isLobHierarchyRollupV2Enabled",key:"createSelectorIsLobHierarchyRollupV2Enabled",description:e=>"on"===(0,s._Z)(e,"lob_hierarchy_rollup_v2")};let u=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_org62_unrestricted"));u.meta={name:"isLobOrg62UnrestrictedEnabled",key:"createSelectorIsLobOrg62UnrestrictedEnabled",description:e=>"on"===(0,s._Z)(e,"lob_org62_unrestricted")},(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_scheduled_notifications_stage_change")).meta={name:"isLOBStageChangeEnabled",key:"createSelectorIsLOBStageChangeEnabled",description:e=>"on"===(0,s._Z)(e,"lob_scheduled_notifications_stage_change")};let m=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_skip_elevate_onboarding"));m.meta={name:"isLobSkipElevateOnboarding",key:"createSelectorIsLobSkipElevateOnboarding",description:e=>"on"===(0,s._Z)(e,"lob_skip_elevate_onboarding")};let f=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_notifications_remove_min_amount_from_deal_insights"));f.meta={name:"isLobNotificationsRemoveMinAmountFromDealInsightsEnabled",key:"createSelectorIsLobNotificationsRemoveMinAmountFromDealInsightsEnabled",description:e=>"on"===(0,s._Z)(e,"lob_notifications_remove_min_amount_from_deal_insights")};let _=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_record_creation"));_.meta={name:"isLobRecordCreationEnabled",key:"createSelectorIsLobRecordCreationEnabled",description:e=>"on"===(0,s._Z)(e,"lob_record_creation")};let p=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_sales_home_translations"));p.meta={name:"isLobSalesHomeTranslationsEnabled",key:"createSelectorIsLobSalesHomeTranslationsEnabled",description:e=>"on"===(0,s._Z)(e,"lob_sales_home_translations")};let h=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"sfdc_seamless_auth_manual_migration"));h.meta={name:"isSeamlessAuthManualMigrationEnabled",key:"createSelectorIsSeamlessAuthManualMigrationEnabled",description:e=>"on"===(0,s._Z)(e,"sfdc_seamless_auth_manual_migration")};let g=(0,i.Ay)(e=>(0,o.G2)(e,"salesforce_data_fields__access"));g.meta={name:"hasSalesforceDataFieldsAccess",key:"createSelectorHasSalesforceDataFieldsAccess",description:e=>(0,o.G2)(e,"salesforce_data_fields__access")},(0,i.Ay)(e=>"on"===(0,s._Z)(e,"canvas_salesforce_data_fields_translations")).meta={name:"isCanvasSalesforceDataFieldsTranslationsEnabled",key:"createSelectorIsCanvasSalesforceDataFieldsTranslationsEnabled",description:e=>"on"===(0,s._Z)(e,"canvas_salesforce_data_fields_translations")};let A=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_channel_acn_token"));A.meta={name:"isLobChannelAcnTokenEnabled",key:"createSelectorIsLobChannelAcnTokenEnabled",description:e=>"on"===(0,s._Z)(e,"lob_channel_acn_token")};let b=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_channel_activity_logging_ai_summary"));b.meta={name:"isSlackforceChannelLoggingAISummaryEnabled",key:"createSelectorIsSlackforceChannelLoggingAISummaryEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_channel_activity_logging_ai_summary")};let y=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_channel_activity_logging"));y.meta={name:"isSlackforceChannelLoggingEnabled",key:"createSelectorIsSlackforceChannelLoggingEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_channel_activity_logging")};let S=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_record_creation_quick_actions"));S.meta={name:"isLobRecordCreationQuickActionsEnabled",key:"createSelectorIsLobRecordCreationQuickActionsEnabled",description:e=>"on"===(0,s._Z)(e,"lob_record_creation_quick_actions")};let E=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"lob_record_creation_in_lists"));E.meta={name:"isLobRecordCreationInListsEnabled",key:"createSelectorIsLobRecordCreationInListsEnabled",description:e=>"on"===(0,s._Z)(e,"lob_record_creation_in_lists")};let k=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_log_activity_desktop_2"));k.meta={name:"isLobRecordCreationLogActivityEnabled",key:"createSelectorIsLobRecordCreationLogActivityEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_log_activity_desktop_2")};let T=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_bulk_error_toast"));T.meta={name:"isSlackforceBulkErrorToastEnabled",key:"createSelectorIsSlackforceBulkErrorToastEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_bulk_error_toast")};let I=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_adoption_bulk_grid_name_slugs"));I.meta={name:"isSlackforceBulkGridNameSlugsEnabled",key:"createSelectorIsSlackforceBulkGridNameSlugsEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_adoption_bulk_grid_name_slugs")};let w=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_list_unfurls"));w.meta={name:"isSlackforceListUnfurlsEnabled",key:"createSelectorIsSlackforceListUnfurlsEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_list_unfurls")};let C=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"salesforce_record_gallery_unfurls"));C.meta={name:"isSalesforceRecordGalleryUnfurlsEnabled",key:"createSelectorIsSalesforceRecordGalleryUnfurlsEnabled",description:e=>"on"===(0,s._Z)(e,"salesforce_record_gallery_unfurls")};let v=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_salesforce_app"));v.meta={name:"isSlackforceSalesforceAppEnabled",key:"createSelectorIsSlackforceSalesforceAppEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_salesforce_app")};let x=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_downmarket_crm_disable_sales_home_tab"));x.meta={name:"isSlackforceDownmarketCrmDisableSalesHomeTabEnabled",key:"createSelectorIsSlackforceDownmarketCrmDisableSalesHomeTabEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_downmarket_crm_disable_sales_home_tab")};let R=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_list_view_browser_recs"));R.meta={name:"isSlackforceListViewBrowserRecsEnabled",key:"createSelectorIsSlackforceListViewBrowserRecsEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_list_view_browser_recs")};let O=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_edit_bulk_reference_fields"));O.meta={name:"isSlackforceEditBulkReferenceFieldsEnabled",key:"createSelectorIsSlackforceEditBulkReferenceFieldsEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_edit_bulk_reference_fields")};let N=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"salesforce_wo_refresh"));N.meta={name:"isSalesforceWorkObjectRefreshEnabled",key:"createSelectorIsSalesforceWorkObjectRefreshEnabled",description:e=>"on"===(0,s._Z)(e,"salesforce_wo_refresh")};let D=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slack_crm_onboarding"));D.meta={name:"isSlackCrmOnboardingEnabled",key:"createSelectorIsSlackCrmOnboardingEnabled",description:e=>"on"===(0,s._Z)(e,"slack_crm_onboarding")};let L=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slack_crm_onboarding_march"));L.meta={name:"isSlackCrmOnboardingMarchEnabled",key:"createSelectorIsSlackCrmOnboardingMarchEnabled",description:e=>"on"===(0,s._Z)(e,"slack_crm_onboarding_march")};let M=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_change_owner"));M.meta={name:"isSlackforceChangeOwnerEnabled",key:"createSelectorIsSlackforceChangeOwnerEnabled",description:e=>"on"===(0,s._Z)(e,"slackforce_change_owner")};let F=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"slackforce_list_view_reference_fields_display_v1"));F.meta={name:"isSlackforceListViewReferenceFieldsDisplayV1",key:"createSelectorIsSlackforceListViewReferenceFieldsDisplayV1",description:e=>"on"===(0,s._Z)(e,"slackforce_list_view_reference_fields_display_v1")};let P=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"list_view_polish_improvements"));P.meta={name:"isListViewPolishImprovementsEnabled",key:"createSelectorIsListViewPolishImprovementsEnabled",description:e=>"on"===(0,s._Z)(e,"list_view_polish_improvements")};let U=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"salesforce_data_fields_related_object_support"));U.meta={name:"isSalesforceDataFieldsRelatedObjectSupportEnabled",key:"createSelectorIsSalesforceDataFieldsRelatedObjectSupportEnabled",description:e=>"on"===(0,s._Z)(e,"salesforce_data_fields_related_object_support")};let B=(0,i.Ay)(e=>"on"===(0,s._Z)(e,"salesforce_data_fields_include_field_label"));B.meta={name:"isSalesforceDataFieldIncludeFieldLabelEnabled",key:"createSelectorIsSalesforceDataFieldIncludeFieldLabelEnabled",description:e=>"on"===(0,s._Z)(e,"salesforce_data_fields_include_field_label")};let isSlackCrmEmailsEnabled=(e,t)=>(0,n.I)(e)&&"on"===(0,s._Z)(e,"slack_crm_emails")&&((0,r.T7)(t,r.Vj.CASE)||(0,r.T7)(t,r.Vj.CONTACT)||(0,r.T7)(t,r.Vj.LEAD))},0xe10c040f:(e,t,a)=>{"use strict";a.d(t,{K:()=>getAuthorizedUserOrgs});let getAuthorizedUserOrgs=e=>e.filter(({auth:e})=>"ok"===e||"error"===e)},0x1f9d49863:(e,t,a)=>{"use strict";a.d(t,{P:()=>getConnectedOrgs,W:()=>getIsOrgConnected});let getIsOrgConnected=({is_elevate_org:e,is_legacy_elevate_org:t,datasource_id:a})=>t?a:e,getConnectedOrgs=e=>e.filter(getIsOrgConnected)},0x100003af0:(e,t,a)=>{"use strict";a.d(t,{z:()=>getDatasourcesOrg});let getDatasourcesOrg=(e,t)=>{let a=e[0]?.salesforce_org_id;return t.find(({salesforce_org_id:e})=>e===a)}},0x1952a5c50:(e,t,a)=>{"use strict";a.d(t,{u:()=>isValidSalesforceSearchQuery});var n=a(0xe2e5f9b1),r=a(0x18a03595d);let isValidSalesforceSearchQuery=e=>{if(!e)return!1;let t=(0,n.A)(e)?r.bA:r.U6;return e.replace(/[*?"]/g,"").length>=t}},0x13f7d86f3:(e,t,a)=>{"use strict";a.d(t,{Do:()=>s,L4:()=>isHermesVariableData,VL:()=>isHermesVariableDataType});var n=a(0x2772625d),r=a(0x2a037c8a),i=a(0x1795d8821),o=a(0x2a3fb7ec);let s=[...Object.values(r.M),"function","hermes_scheduled","hermes_webhook"],isHermesVariableData=e=>(0,n.bs)(e.id),isHermesVariableDataType=e=>(0,o.X)(i.EF,e)},0x88881d67:(e,t,a)=>{"use strict";a.d(t,{Jq:()=>buildHermesVariableData,Mu:()=>buildVariableTombstone,PW:()=>filterVariableGroups,Sg:()=>isElementInRichTextCode,Wk:()=>buildNewWorkflowTokenPlaceholder,hM:()=>buildVariableDataItems,j2:()=>checkForMissingWorkflowData,k4:()=>getSuggestedVariableGroups,ke:()=>checkForMissingData,nK:()=>shouldSkipMacro,sx:()=>buildVariablePlaceholder,uU:()=>filterVariables});var n=a(0x237b6a339),r=a(0x20482ad21),i=a(0x13f7d86f3),o=a(0x668181b3),s=a(0x1ebe91b72),l=a(0x1795d8821),c=a(0x2a3fb7ec);let d=new r.Ay("workflow_builder");function checkForMissingData(e="",t=[]){if(!(e||"").trim())return!1;let a=!1,n=null,r=(0,s.gK)();do if((n=r.exec(e))&&n[1]){let e=n[1],r=t.find(t=>t.id===e);a=r&&!r.isAvailable}while(n&&!a)return a}function checkForMissingWorkflowData(e="",t=[]){if(!(e||"").trim())return!1;let a=!1;return t.forEach(n=>{let r=(0,o.x)(t,n.id);r&&e.includes(r.id)&&!r?.isAvailable&&(a=!0)}),a}function buildVariableDataItems(e){let t=[];return e.forEach(e=>{let a=e.data.filter(e=>e.type!==l.TE.SlackTypesMessageContext);a.length>0&&a.forEach(e=>{t.push(e)})}),t}function getSuggestedVariableGroups(e,{enable:t,type:a}){if(!t)return e;let variableListReducer=(e,t)=>{if(t.type===l.TE.Object&&t.objectProperties){let n=t.objectProperties.reduce(variableListReducer,[]);return(n.length>0||t.type===a)&&e.push({...t,objectProperties:n}),e}return t.type!==a||e.push(t),e};return e.reduce((e,t)=>{let a=t.data.reduce(variableListReducer,[]);return 0===a.length||e.push({...t,data:a}),e},[])}function filterVariableGroups(e,t){let variableListReducer=(e,a)=>{if(a.isHidden||t&&!t(a))return e;if(a.type===l.TE.Object&&a.objectProperties){let t=a.objectProperties.reduce(variableListReducer,[]);return e.push({...a,objectProperties:t}),e}return e.push(a),e};return e.reduce((e,t)=>{let a=t.data.reduce(variableListReducer,[]);return 0===a.length||e.push({...t,data:a}),e},[])}let filterVariables=(e,t)=>({list:e.list.filter(e=>t(e)),groups:filterVariableGroups(e.groups,t)}),buildHermesVariableData=e=>{let t=(0,c.X)(l.EF,e.type)?e.type:"string",a=(0,c.X)(i.Do,e.source_type)?e.source_type:"function",n={id:e.id,type:t,name:e.name,label:e.label,sourceType:a,sourceLabel:e.sourceLabel,isAvailable:e.isAvailable,prependLabel:e.prependLabel,supplementalType:e.supplementalType};return"array"===e.type&&(n.items=e.items),"object"===e.type&&(n.objectProperties=e.objectProperties?.map(e=>buildHermesVariableData(e))),n};function buildVariableTombstone({id:e,type:t="",sourceLabel:a=""}){return{id:e,type:t,label:d.t("Missing Data"),sourceLabel:a,isAvailable:!1}}function buildVariablePlaceholder({id:e,placeholderLabel:t,sourceLabel:a}){let n={id:e,type:l.TE.SlackTypesRichText,label:t,sourceLabel:a,sourceType:"function",name:t,isAvailable:!1};return{id:e,type:l.TE.SlackTypesRichText,label:t,sourceLabel:a,isAvailable:!1,isPlaceholder:!0,variableData:n}}function buildNewWorkflowTokenPlaceholder({placeholderLabel:e,sourceLabel:t}){return buildVariablePlaceholder({id:`placeholder-${(0,n.A)()}`,placeholderLabel:e,sourceLabel:t})}let isElementInRichTextCode=e=>!!(e.parentElement?.nodeName==="CODE"||e.parentElement?.classList.contains("ql-code-block")),shouldSkipMacro=e=>[l.TE.SlackTypesUserId,l.TE.SlackTypesChannelId].includes(e.type===l.TE.Array?e.items?.type??e.type:e.type)},0x1e4b6e4e6:(e,t,a)=>{"use strict";a.d(t,{Ax:()=>o,E9:()=>i,Hk:()=>s,mt:()=>getPathForWorkflowBuilderRoute});var n,r,i=((n={}).DEFAULT="default",n.EDIT_WORKFLOW="edit_workflow",n.ACTIVITY="activity",n.SETTINGS="settings",n.CREATE_EMPTY="create_empty",n.DELETED="deleted",n.V2_TEMPLATES="v2_templates",n),o=((r={}).EDITOR="edit_template",r.STEPS_EDITOR="edit_template_steps",r.SELECTION="template_selection",r);let s=["edit_workflow","activity","settings","deleted"];function getPathForWorkflowBuilderRoute(e,t){switch(t.routeTo){case"v2_templates":switch(t.subPath){case"edit_template_steps":return`template/${t.templateId}/edit/steps`;case"template_selection":return`/template-selection/${t.templateId}`;default:return`template/${t.templateId}/edit`}case"edit_workflow":return`workflow/${t.workflowId}`;case"activity":return`workflow/${t.workflowId}/activity`;case"settings":return`workflow/${t.workflowId}/settings`;case"deleted":return`workflow/${t.workflowId}/deleted`;case"create_empty":return"workflow/create-empty";default:return""}}},0xcaea2334:(e,t,a)=>{"use strict";a.d(t,{I:()=>userCanCreateWorkflows,_:()=>isCurrentTeamOnAppropriatePaymentTierForWorkflowCreation});var n=a(0x1595bdd0),r=a(0x20700f08e),i=a(0x1f66b5878),o=a(0xa1832ae4),s=a(0xb8504a42),l=a(0x5c354532),c=a(0x1ee439e69);let d="workflow_builder_enabled",u="who_can_create_workflows";function userCanCreateWorkflowsOnHomeTeam(e){return!!isCurrentTeamOnAppropriatePaymentTierForWorkflowCreation(e)&&!!(0,i.p$)(e,d)&&!!((0,r.pq)(e,u)||(0,l.Fe)(e))}function canUserCreateLegacyWorkflowsOnWorkspaces(e,t){return 0!==t.workspaceIds.length&&!!isCurrentTeamOnAppropriatePaymentTierForWorkflowCreation(e)&&!!(0,i.p$)(e,d)&&(0,r.LE)(e,u,t.workspaceIds)}function isCurrentTeamOnAppropriatePaymentTierForWorkflowCreation(e){let t=(0,c.H7)(e),a=(0,s.kA)(t),n=(0,o.qR)(t);return!!a||!!n}function userCanCreateWorkflows(e,t){if(!t?.workspaceIds)return userCanCreateWorkflowsOnHomeTeam(e);let a=(0,n.A)(t?.workspaceIds);return a.length>0?canUserCreateLegacyWorkflowsOnWorkspaces(e,{workspaceIds:a}):userCanCreateWorkflowsOnHomeTeam(e)}},0x17c7b6bbb:(e,t,a)=>{"use strict";a.d(t,{A4:()=>isExternalEventTrigger,Af:()=>isKnownTriggerType,BI:()=>isShortcutTrigger,O4:()=>isServiceTrigger,QW:()=>isNativeEventTrigger,cS:()=>isWebhookTrigger,uS:()=>isScheduledTrigger,vh:()=>i});var n=a(0x2a037c8a),r=a(0x2a3fb7ec);let i={...n.M,HermesWebhook:"hermes_webhook",HermesScheduled:"hermes_scheduled"},isShortcutTrigger=e=>e.type===i.Shortcut,isScheduledTrigger=e=>e.type===i.Scheduled||e.type===i.HermesScheduled,isNativeEventTrigger=e=>e.type===i.Event,isWebhookTrigger=e=>e.type===i.Webhook||e.type===i.HermesWebhook,isExternalEventTrigger=e=>e.type===i.External,isServiceTrigger=e=>e.type===i.Service,isKnownTriggerType=e=>(0,r.X)(Object.values(n.M),e)},0x668181b3:(e,t,a)=>{"use strict";a.d(t,{x:()=>findWorkflowVariableById});var n=a(0x1840248cf);function findWorkflowVariableById(e,t){let a;if("string"!=typeof t)return;let r=(0,n.z)(t);for(let t of e){if(t.id===r){a=t;break}if(t.objectProperties){let e=t.objectProperties.find(e=>e.id===r);if(e){a=e;break}}}return a}},0x2772625d:(e,t,a)=>{"use strict";a.d(t,{MR:()=>isValid3PUFFieldReferenceVariable,bs:()=>isValidSingleHermesVariable,cn:()=>containsValidHermesVariable,q4:()=>containsValidStepFunctionVariable});var n=a(0x1ebe91b72),r=a(0x1842d80dc),i=a(0x16b446ebc);let containsValidHermesVariable=e=>(0,n.cL)().test(e),containsValidStepFunctionVariable=e=>(0,n.wm)().test(e),isValidSingleHermesVariable=e=>{let t=(0,n.cL)().exec(e);if(!t)return!1;if(t.input===t[0]||t.input===`{{${t[0]}}}`)return!0;let a=(0,r.Yc)((0,i.D)(e));return t.input===a},isValid3PUFFieldReferenceVariable=e=>e.match((0,n.Xn)())?.[0]===e},0x1ebe91b72:(e,t,a)=>{"use strict";function getWorkflowTokenRegex(){return/{{([^.]+?)(?:\.([a-z]+))?}}/gi}function getHermesWorkflowTokenRegex(){return/{{\$?([a-z]+)\.?([a-zA-Z0-9-]+)?(?:\.|_{2})\.?([a-zA-Z0-9\-_.[\]]+)}}/gi}function getWorkflowTemplateMacroRegex(){return/(?<templateValue>\{(?<namespace>[a-z]*)\.(?<macroCallbackId>[a-z_]*)\((?<inputs>(.*?))\)\})/}function getAllWorkflowTemplateMacrosRegex(){return/(?<templateValue>\{(?<namespace>[a-z]*)\.(?<macroCallbackId>[a-z_]*)\((?<inputs>(.*?))\)\})/g}function getWorkflowTokenExpressionRegex(){return/(?<expression>{([a-z]*)\.([a-z_]*)\((.*?)\)})(\s?\|>\s?\{[^}]*\$\$[^}]*\})+/g}function getInputRegex(){return/((\s*(?<parameter>[a-zA-Z_]+)\s*=\s*(?<value>((?!(,\s*[a-zA-Z_]+)\s*=\s*).)*)),{1,})/g}function getFunctionVariableRegex(){return/{{\$this.variables(\.[a-zA-Z0-9-_]+){2,4}}}/g}function get3PUFFieldReferenceVariableRegex(){return/{{\$this.form.fields(\.[a-zA-Z0-9-_]+)}}/g}function getHermesWorkflowExpressionDataRegex(){return/({{steps\.[a-zA-Z0-9_-]+?\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}}})|({{(triggers)\.[a-zA-Z0-9_-]+?\.[a-zA-Z0-9+?_-]+?}})/gi}function getHermesWorkflowTokenSuffixRegex(e,t){return e.replace(/{{\$?([a-z]+)\.?([a-zA-Z0-9-]+)?(?:\.|_{2})\.?([a-zA-Z0-9\-_.[\]]+)}}/gi,e=>{let a=e.slice(2,-2);return`{{${a}${t}}}`})}a.d(t,{H:()=>getAllWorkflowTemplateMacrosRegex,Mx:()=>getWorkflowTokenExpressionRegex,Xn:()=>get3PUFFieldReferenceVariableRegex,cL:()=>getHermesWorkflowTokenRegex,fE:()=>getWorkflowTemplateMacroRegex,gK:()=>getWorkflowTokenRegex,h0:()=>getHermesWorkflowExpressionDataRegex,iq:()=>getInputRegex,nA:()=>getHermesWorkflowTokenSuffixRegex,wm:()=>getFunctionVariableRegex})},0xe970b7c8:(e,t,a)=>{"use strict";a.d(t,{j:()=>shouldVersionAllChannels,z:()=>r});var n=a(0x214f4f6d);let r="version_all_channels";function shouldVersionAllChannels(){return(0,n.fW)(r)}},0x1d10dc8cb:(e,t,a)=>{"use strict";a.d(t,{$s:()=>p,Bh:()=>x,De:()=>m,Dn:()=>w,E2:()=>T,IN:()=>A,Ie:()=>C,LS:()=>M,M9:()=>d,Mu:()=>h,Mv:()=>v,Nh:()=>_,Ns:()=>g,Q$:()=>b,T$:()=>u,Vy:()=>i,W2:()=>s,_G:()=>n,as:()=>F,d2:()=>O,fr:()=>c,lM:()=>r,li:()=>k,mj:()=>S,o6:()=>y,oG:()=>D,p$:()=>N,p3:()=>o,td:()=>L,vA:()=>I,w7:()=>R,wA:()=>E,y0:()=>f,ym:()=>l});let n="ROUTE_ENTITY",r="ROUTE_FLEX_THREAD",i="ROUTE_FLEX_CHANNEL_INFO",o="ROUTE_FLEX_ACTIVITY_PANE",s="ROUTE_FLEX_STARRED",l="ROUTE_FLEX_SAVED",c="ROUTE_FLEX_APPS",d="ROUTE_FLEX_FILES",u="ROUTE_FLEX_FILES_PROTOTYPE",m="ROUTE_FLEX_FILE",f="ROUTE_FLEX_FILE_TYPE",_="ROUTE_FLEX_FILE_USER",p="ROUTE_FLEX_USER_GROUPS",h="ROUTE_FLEX_USER_GROUP",g="ROUTE_FLEX_WHATS_NEW",A="ROUTE_FLEX_SHORTCUTS",b="ROUTE_FLEX_USER_PROFILE",y="ROUTE_FLEX_CHANNEL_INSPECTOR",S="ROUTE_FLEX_QUIP",E="ROUTE_FLEX_QUIP_COMMENTS_STREAM",k="ROUTE_FLEX_QUIP_ACTIVITY_HISTORY",T="ROUTE_FLEX_HELP",I="ROUTE_FLEX_HELP_ARTICLE",w="ROUTE_FLEX_RIMETO_PROFILE",C="ROUTE_FLEX_FEEDBACK",v="ROUTE_FLEX_HUDDLES_CAPTIONS",x="ROUTE_HUDDLE",R="ROUTE_FLEX_CHANNEL",O="ROUTE_FLEX_CONTACT_PROFILE",N="ROUTE_FLEX_LIST_RECORD",D="ROUTE_FLEX_SALESFORCE_RECORD",L="ROUTE_FLEX_AUTOMATIONS",M="ROUTE_FLEX_SECONDARY_VIEW",F={"stars-page":"saved-page"}},0x1c91944c9:(e,t,a)=>{"use strict";a.d(t,{N:()=>p});var n=a(0xbad225b5),r=a(0x16cf1da63),i=a(0x1a538a21f),o=a.n(i),s=a(0x1d6936809),l=a(0x1ce249db6),c=a(0x1df96de4c),d=a(0x1a256ff50),u=a(0xd66cda03),m=a(0x1ec68d6a3),f=a(0x226892387),_=a(0x183fe53e1);function defaultMergeProps(e={},t={},a={}){return{...a,...e,...t}}function useMergedProps(e,t,a,i,o){let p,h=(0,r.wA)();(0,n.useContext)(r.ty).store.getState().isClient?p=u.cw:o?.areStatePropsEqual?o?.areStatePropsEqual===d.kt?p=f.wz:o?.areStatePropsEqual===d.rM?p=f.rY:((0,m.getGenericLogger)().warn("Custom areStatePropsEqual functions are not supported in our version of connect. Please use a useShallowEqualDepthN selector or switch to using a function component if you need more fine-grained prop equality checks"),p=f.Z2):p=f.Z2;let g=t&&1!==t.length,A=a&&"function"==typeof a&&1!==a.length,b=g||A||!e?e:c.t0,y=(0,l.K)(b,r.bN)||c.t0,S=g?y:c.t0,E=A?y:c.t0,k=(0,n.useCallback)(function(e){return t?t(e,S):c.t0},[t,S]);return k[_.V9]=t,(i||defaultMergeProps)(p(k),(0,n.useMemo)(()=>"function"==typeof a?a(h,E):a?"object"==typeof a?(0,s.zH)(a,h):void 0:{dispatch:h},[h,a,E]),e)}function innerConnect(e,t,a,r){return i=>{let s,l,c=n.memo(i);r?.forwardRef?(l=(i,o)=>{let s=useMergedProps(i,e,t,a,r);return n.createElement(c,{...s,ref:o})},s=n.memo(n.forwardRef(l))):(l=i=>{let o=useMergedProps(i,e,t,a,r);return n.createElement(c,o)},s=n.memo(l));let d=i.displayName||i.name||"Component",u=`Connect(${d})`;return s.displayName=u,l.displayName=u,o()(s,i)}}innerConnect.displayName="innerConnect";let p=innerConnect},0xcf658893:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>createAction,D9:()=>getAllActions});var n=a(0xb77a689a),r=a(0x3a3c86dd),i=a(0x1914b45dc),o=a(0x22480f425),s=a(0x1347c77b5);let l={},getAllActions=()=>l;function createAction(e){if(!(0,n.A)(e))throw Error("createAction must receive a description that is a string");let t=(0,r.VP)(e),a=Object.assign(function(n,...r){if(a.meta&&(a.meta.usageCount=(a.meta.usageCount||0)+1),((0,o.A)()||(0,i.A)())&&a.defaultProps)throw Error(`Action "${e}" has defaultProps, which don't work for actions. Sorry, but you can use default params in the reducer handlers as an alternative.`);let l=t(n,...r);return(0,s.Am)(l),l},{meta:{},isActionCreator:!0,getType:t.getType}),c=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&(c=c.concat(Object.getOwnPropertySymbols(t))),c.forEach(e=>{let n=Object.getOwnPropertyDescriptor(t,e);try{n&&Object.defineProperty(a,e,n)}catch{}}),l[a.getType()]=a,a}},0x1dfdeb1c8:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x11c82607b);let __WEBPACK_DEFAULT_EXPORT__=function(e,t){let a=(0,n.Ay)(e,t,n.lt.Fetcher);return a.meta={name:"thunk",key:"createThunkThunk",description:e},a.isFetcherCreator=!0,a}},0xba77ecb9:(e,t,a)=>{"use strict";a.d(t,{sK:()=>debugGetAllReducers,Ay:()=>create_reducer});var n=a(0x3a3c86dd),r=a(0x1c5304369),i=a(0xca924ee1),o=a(0xf87a4e28),s=a(0xe874a88a);function stripActionTypeNumber(e){return e.slice(e.indexOf("]")+1).trim()}var l=a(0x22480f425),c=a(0x12e383cfb);let d=(0,i.A)(e=>stripActionTypeNumber(e).replace(/\s/gm,"_").toLowerCase());function wrappedReduxHandlerWithMetrics(e,t,a,n,r,...i){let l=(0,c.F)(),u=d(a.getType()),m=`redux_handler_metrics:${r?.storeKey}:${u}:duration`,f=l.createSpan({name:m,samplingOptions:{sampleType:o.tS.ALWAYS},options:{tags:{action_type:u,store_key:r?.storeKey,metrics_version:1}}}),_=n(e,t,i);return f.close(),s.S.resolve().then(()=>l.reportSpans([f])),_}function shouldTraceReduxHandlerMetrics(){return!(0,l.A)()&&1e-4>Math.random()}let u=[],debugGetAllReducers=()=>u,create_reducer=function(e,t,a){if(a&&!a[r.si])throw Error(`This store has a reducerOptions but it doesn't have a storeKey set. A storeKey is now required, it should be the key that this store's state is accessed under.
I wish I could tell you which store doesn't have its key set, but then I'd need the storeKey wouldn't I. The stacktrace of this error message will tell you which store it is`);let i=(0,n.vy)(e,t),o=Object.assign(function(e,t){return i(e,t)},{on:(e,t)=>(i.on(e,(n,r,...i)=>shouldTraceReduxHandlerMetrics()?wrappedReduxHandlerWithMetrics(n,r,e,t,a,...i):t(n,r,...i)),o),off:e=>(i.off(e),o),isReducer:!0,initialState:t,has:i.has,options:i.options}),s=Object.getOwnPropertyNames(i);return Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(i))),s.forEach(e=>{if("on"===e||"off"===e)return;let t=Object.getOwnPropertyDescriptor(i,e);try{Object.defineProperty(o,e,t)}catch{}}),u.push(o),a&&(0,r.dQ)({reducer:o,reducerOptions:a}),o}},0x1cf0d97e1:(e,t,a)=>{"use strict";a.d(t,{Mz:()=>createSelector,pf:()=>debugGetAllSelectors,Ay:()=>_});var n=a(0xca924ee1),r=a(0x33644bb7),i=a(0x13d856742),o=a(0x4f6e90b4),s=a(0x12b36e8b7),l=a(0x2469fa0ad),c=a(0x1daf4b9c);function wrapStateForMissingReducerWarning(e){return"u"<typeof Proxy||!e||e[s.l]?e:new Proxy(e,{get:(e,t)=>t===s.l?e:(void 0===e[t]&&((0,c.A)()?(0,i.z3)(`
It looks like you called a selector on an unknown store: ${t}.
You must explicitly export reducers in app/${(0,l.f)()}/redux/index.js or redux/stores/index.js to be included in the Redux state.
					`):(0,i.z3)(`
It looks like you called a selector on an unknown store: ${t}.
You must explicitly export reducers in redux/stores/index.js to be included in the Redux state.
	`)),e[t])})}var d=a(0x18dac2b8e),u=a(0x183fe53e1);let m=[],debugGetAllSelectors=()=>m;function doesStateMatchAnyStore(e){let t;return"object"==typeof(t=(0,s.w)(e))&&"isState"in t}function checkStateIsValid(e={},t){let a=(0,s.w)(e);if(!a.dangerouslyOverrideCreateSelectorSanityCheck&&!doesStateMatchAnyStore(a)){let e="";t?.meta?.key&&(e=`The selector is ${t.meta?.key?.substring(14)}`),(0,i.z3)(`
It looks like you called a selector without passing in state as the first argument.
${e}
You should call a selector with redux state as the first argument, like getMemberById(state, id).
Unsure how to get a state to pass in? Ask in #dhtml.
`)}}let f=(0,n.A)(()=>(0,d.b3)()||(0,d.Cu)()&&void 0===window.__karma__);function createSelector(e){if(!(0,r.A)(e))throw Error("createSelector must receive a selector that is a function");let t=e;if(f()){let wrappedDevSelector=(t,...a)=>(wrappedDevSelector.meta&&(wrappedDevSelector.meta.usageCount=(wrappedDevSelector.meta.usageCount||0)+1),checkStateIsValid(t,wrappedDevSelector),e(wrapStateForMissingReducerWarning(t),...a));wrappedDevSelector[u.V9]=e,Object.defineProperty(e,"meta",{get:()=>wrappedDevSelector.meta}),wrappedDevSelector.isSelector=!0,t=wrappedDevSelector}return(0,o.LA)()&&m.push(t),t}let _=createSelector;Object.defineProperty({debugGetAllSelectors,shouldEmitDevErrors:f},"shouldEmitDevErrors",{get:()=>f,set:e=>{f=e}})},0x11c8c5441:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>createThunkContext,EJ:()=>addContextToAction,S$:()=>applyContext,Vp:()=>s});var n=a(0xbad225b5),r=a(0x16cf1da63),i=a(0x3b6d144f),o=a(0xa84b8b44);let s=Symbol("Redux action context");function applyContext(e,t){let a=e[s];a&&(t[s]=a)}function addContextToAction(e,...t){let a=e[s];return"object"!=typeof a&&(a={},e[s]=a),t?.forEach(([e,t])=>{a&&(a[e]=t)}),e}function wrappedDispatch(e,t,a,n){return addContextToAction(n,[t,a]),e.dispatch(n)}function ThunkContextProvider({contextKey:e,value:t,children:a}){let s=(0,n.useRef)(t);(0,n.useEffect)(()=>{s.current=t},[t]);let l=(0,r.Pj)(),c=(0,i.A)(()=>({...l,dispatch:wrappedDispatch.bind(null,l,e,s)}),[e,l]);return n.createElement(o.Kq,{store:c},a)}function createThunkContext(e,t){if(!e)throw Error("Please provide a string description");let a=Symbol(e);function assign(e){return[a,{current:e}]}return{key:a,description:e,defaultValue:t,assign,Provider:({children:e,value:t})=>n.createElement(ThunkContextProvider,{contextKey:a,value:t},e)}}ThunkContextProvider.displayName="ThunkContextProvider",createThunkContext.displayName="createThunkContext"},0x11c82607b:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>__WEBPACK_DEFAULT_EXPORT__,I_:()=>debugGetAllThunks,lt:()=>p});var n,r=a(0xb77a689a),i=a(0x33644bb7),o=a(0xf90b35a5),s=a(0x2475c1d07),l=a(0x1914b45dc),c=a(0x22480f425),d=a(0xedbc2765),u=a(0x1ec68d6a3),m=a(0x1347c77b5);let f=0,_={},debugGetAllThunks=()=>_;var p=((n={}).Thunk="Thunk",n.Fetcher="Fetcher",n);let __WEBPACK_DEFAULT_EXPORT__=function(e,t,a="Thunk"){if(!(0,r.A)(e))throw Error("createThunk must receive a description that is a string");if(!(0,i.A)(t))throw Error("createThunk must receive a callback function");let n=Object.assign(function(r){if(n.meta&&(n.meta.usageCount=(n.meta.usageCount||0)+1),((0,c.A)()||(0,l.A)())&&n.defaultProps)throw Error(`Thunk "${e}" has defaultProps, which don't work for thunks. Sorry, but you can use default params in the thunk function as an alternative.`);function inner(i,m,f){function defaultGetContext(t){return(0,c.A)()||(0,l.A)()||(0,u.default)({getState:m}).warn("createThunk_getContext_not_connected",`Thunk: ${e}. Context: ${t.description}`),t.defaultValue}let _=t(i,m,r,f||defaultGetContext);if((0,c.A)()||(0,l.A)())return _;if((0,s.y)(_)){let e=d.LI.getCurrentTime();return _.finally(()=>{try{if(!d.LI.isTracingType(d.Or.ReduxThunk))return;d.LI.addSpanToAutoTraces({type:d.Or.ReduxThunk,spanName:`redux:${(0,o.A)(n.meta?.name||n.description)}`,additionalSpanOptions:{startTime:e,tags:{isThunk:!0,isFetcher:"Fetcher"===a,key:n.meta?.key}}})}catch(e){throw(0,u.default)({getState:m}).error("createThunk_finally_error",n.meta?.name,n.description,e),e}})}return _}return inner.description=n.description,inner.isThunk=!0,inner.isFetcher="Fetcher"===a,inner.type=n.getType(),inner.payload=r,(0,m.Am)(inner),inner},{description:`[${a} ${f}] ${e}`,isThunkCreator:!0,getType:()=>n.description});return f+=1,_[n.description]=n,n}},0x1b56482da:(e,t,a)=>{"use strict";a.d(t,{A:()=>__WEBPACK_DEFAULT_EXPORT__});var n=a(0x12b36e8b7);let __WEBPACK_DEFAULT_EXPORT__=e=>!!(0,n.w)(e).isClient},0x12dfc7f9a:(e,t,a)=>{"use strict";a.d(t,{mI:()=>bulkAddOrUpdateChannels,Zb:()=>A,bO:()=>getChannelNamesToIdsMap});var n=a(0x7bbe057),r=a(0x21f3c49e8),i=a(0x244f35bf8),o=a(0x7d48dd65),s=a(0x4f6e90b4),l=a(0x1914b45dc),c=a(0x22480f425),d=a(0x1ec69ee01),u=a(0x12185e091),m=a(0x280afe13),f=a(0xba77ecb9);function updateChannelNamesToIds({reducerState:e,channels:t,reason:a,channelNamesToIdsMapByTeamId:n}){if(!a)return e;let{teamId:r}=e,i=r&&n[r];return i&&bulkAddOrUpdateChannels(i,t)?{...e,nonce:e.nonce+1}:e}var _=a(0xc75e6fdf),p=a(0x1a6e59198);let h=(0,l.A)()||(0,c.A)(),g={};function getChannelNamesToIdsMap({teamId:e}={},t=[]){if(!e)return null;if(g[e]&&!h)return g[e];let a={channelsAndGroups:{},ims:{},mpims:{},reverseMap:{}};return bulkAddOrUpdateChannels(a,t),g[e]=a,(0,s.GW)(e,"channelNamesToIdsMap",a),a}function hasNameToAddOrRemove(e){return!(!e||!e.id||(0,u.LI)(e)&&!e.name&&!(0,m.e)(e)||(0,u.yz)(e)&&!e.name&&!e._internal_name)&&!!e.name}function addToNameMap(e,t){if(!t||!t.id||(0,d.lo)(t))return;if((0,u.LI)(t)&&(0,m.e)(t)){let a=(0,m.e)(t),n=e.ims[a],{id:r}=t;if(n&&n>r)return}removeFromNameMap(e,t.id);let{id:a}=t,r=(0,n.A)(t.name),i={};if((0,u.LI)(t)&&(0,m.e)(t)){let n=(0,m.e)(t);e.ims[n]=a,e.ims[r]=a,i.ims=[n,r]}else if((0,u.yz)(t)&&t._internal_name){let n=t._internal_name;e.mpims[n]=a,e.mpims[r]=a,i.mpims=[n,r]}else e.channelsAndGroups[r]=a,i.channelsAndGroups=[r];e.reverseMap[a]=i}function removeFromNameMap(e,t){if(!t||!e.reverseMap||!e.reverseMap[t]||(0,r.A)(e.reverseMap[t]))return!1;let a=e.reverseMap[t],n=!1;return Object.keys(a).forEach(t=>{let r=a[t];r&&r.length&&(r.forEach(a=>{delete e[t][a]}),n=!0)}),e.reverseMap[t]={},n}function bulkAddOrUpdateChannels(e,t){if(!t||!t.length||!(0,i.A)(t))return!1;let a=(0,o.A)(t,hasNameToAddOrRemove);return!!a.length&&(a.forEach(t=>{addToNameMap(e,t)}),!0)}let A=(0,f.Ay)({},{nonce:1,teamId:void 0},{storeKey:"channelNamesToIds",persistenceEnabled:!1}).on(_.S_,(e,{id:t}={})=>({...e,teamId:t})).on(p.f0,(e,{objects:t,reason:a}={})=>updateChannelNamesToIds({reducerState:e,channels:t,reason:a,channelNamesToIdsMapByTeamId:g})).on(p.AM,(e,{channels:t,reason:a}={})=>updateChannelNamesToIds({reducerState:e,channels:t,reason:a,channelNamesToIdsMapByTeamId:g})).on(p.dM,(e,{ids:t}={})=>{if(!t||!t.length)return e;let{teamId:a}=e,n=a&&g[a],r=!1;return n&&t.forEach(e=>{removeFromNameMap(n,e)&&(r=!0)}),r?{...e,nonce:e.nonce+1}:e})},0xc824cd6a:(e,t,a)=>{"use strict";a.d(t,{j:()=>i,z:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Set a channel pref");r.meta={name:"setChannelPref",key:"createActionSetChannelPref",description:"Set a channel pref"};let i=(0,n.Ay)("Bulk set channel prefs");i.meta={name:"bulkSetChannelsPrefs",key:"createActionBulkSetChannelsPrefs",description:"Bulk set channel prefs"}},0x76d2274d:(e,t,a)=>{"use strict";a.d(t,{E:()=>l,Y:()=>c});var n=a(0x6affae29),r=a(0xc824cd6a);let{reducer:i,migrationOnlyHandlers:{addObjectsReducer:o},selectors:s}=(0,a(0x107594e0c).A)({storeKey:"channelPrefs",persistenceEnabled:!0},{transform:e=>{let[t,a]=e;return{id:t,object:a}}});i.on(r.z,(e,{pref:t,value:a,channelId:n})=>t&&n?o(e,{objects:[[n,{[t]:a}]]}):e).on(r.j,(e,t)=>t?o(e,{objects:(0,n.k7)(t)}):e);let l=i,c=s},0x23717bef:(e,t,a)=>{"use strict";a.d(t,{d:()=>i});var n=a(0x1cf0d97e1),r=a(0x76d2274d);let i=(0,n.Ay)((e,t,a)=>{let n=r.Y.getObjectById(e,t);return n?.[a]});i.meta={name:"getChannelPref",key:"createSelectorGetChannelPref",description:(e,t,a)=>{let n=r.Y.getObjectById(e,t);return n?.[a]}}},0x11c47eb7f:(e,t,a)=>{"use strict";a.d(t,{F:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"break_out_enterprise_prefs_store"));i.meta={name:"isBreakOutEnterprisePrefsStoreEnabled",key:"createSelectorIsBreakOutEnterprisePrefsStoreEnabled",description:e=>"on"===(0,r._Z)(e,"break_out_enterprise_prefs_store")}},0xb1f0729f:(e,t,a)=>{"use strict";a.d(t,{PZ:()=>P,eY:()=>L,EW:()=>N,Tu:()=>O,I8:()=>M,Hl:()=>R,Y7:()=>F,gs:()=>D,JK:()=>v,SI:()=>S,fl:()=>getLockedPrefs,_3:()=>W,Z9:()=>H,ET:()=>U,y0:()=>B,iA:()=>G,wc:()=>y,Zx:()=>getOrgTOS,D1:()=>E,IN:()=>w,s7:()=>C,h_:()=>I,Ig:()=>x});var n=a(0x1feee1711),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0x2264e6ea3),s=a(0xb8504a42),l=a(0x1cf0d97e1),c=a(0x11c47eb7f),d=a(0x1d600678),u=a(0xdf55e8f3);let m=(0,l.Ay)((e,t)=>e?.prefs?.enterprise?.org_prefs?.[t]);m.meta={name:"deprecatedGetOrgPref",key:"createSelectorDeprecatedGetOrgPref",description:(e,t)=>e?.prefs?.enterprise?.org_prefs?.[t]};let f=(0,l.Ay)((e,t)=>e?.prefs?.enterprise?.locked_prefs?.[t]);f.meta={name:"deprecatedGetLockedOrgPref",key:"createSelectorDeprecatedGetLockedOrgPref",description:(e,t)=>e?.prefs?.enterprise?.locked_prefs?.[t]};let _=(0,l.Ay)((e,t)=>e?.prefs?.enterprise?.unlocked_prefs?.[t]);_.meta={name:"deprecatedGetUnlockedOrgPref",key:"createSelectorDeprecatedGetUnlockedOrgPref",description:(e,t)=>e?.prefs?.enterprise?.unlocked_prefs?.[t]};let p=(0,l.Ay)(e=>e?.prefs?.enterprise?.orgDefaultChannels??i.Ml);p.meta={name:"deprecatedGetOrgDefaultChannels",key:"createSelectorDeprecatedGetOrgDefaultChannels",description:e=>e?.prefs?.enterprise?.orgDefaultChannels??i.Ml};let h=(0,u.eI)(e=>e?.prefs?.enterprise?.orgDefaultChannels??i.Ml),g=(0,l.Ay)((e,t)=>{if(!e?.prefs?.enterprise?.orgDefaultChannels||!t)return;let a=e.prefs.enterprise.orgDefaultChannels.find(e=>e.id===t);return a?.prefs});g.meta={name:"deprecatedGetOrgDefaultChannelPrefsById",key:"createSelectorDeprecatedGetOrgDefaultChannelPrefsById",description:(e,t)=>{if(!e?.prefs?.enterprise?.orgDefaultChannels||!t)return;let a=e.prefs.enterprise.orgDefaultChannels.find(e=>e.id===t);return a?.prefs}};let A=(0,l.Ay)((e,t)=>{if(!e?.prefs?.enterprise?.orgDefaultChannels||!t)return;let a=e.prefs.enterprise.orgDefaultChannels.find(e=>e.id===t);return a?.is_mandatory});A.meta={name:"deprecatedGetOrgDefaultChannelIsMandatoryById",key:"createSelectorDeprecatedGetOrgDefaultChannelIsMandatoryById",description:(e,t)=>{if(!e?.prefs?.enterprise?.orgDefaultChannels||!t)return;let a=e.prefs.enterprise.orgDefaultChannels.find(e=>e.id===t);return a?.is_mandatory}};var b=a(0x1ee439e69);let y=(0,l.Ay)((e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.org_prefs?.[t]:m(e,t));y.meta={name:"getOrgPref",key:"createSelectorGetOrgPref",description:(e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.org_prefs?.[t]:m(e,t)};let S=(0,l.Ay)((e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.locked_prefs?.[t]:f(e,t));S.meta={name:"getLockedOrgPref",key:"createSelectorGetLockedOrgPref",description:(e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.locked_prefs?.[t]:f(e,t)};let E=(0,l.Ay)((e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.unlocked_prefs?.[t]:_(e,t));E.meta={name:"getUnlockedOrgPref",key:"createSelectorGetUnlockedOrgPref",description:(e,t)=>(0,c.F)(e)?e?.enterprisePrefs?.unlocked_prefs?.[t]:_(e,t)};let getLockedPrefs=e=>(0,c.F)(e)?e?.enterprisePrefs?.locked_prefs??i.t0:e?.prefs?.enterprise?.locked_prefs,getOrgTOS=e=>(0,c.F)(e)?e?.enterprisePrefs?.termsOfService:e?.prefs?.enterprise?.termsOfService,k=(0,r.Mz)(S,E,(e,t)=>(0,n.A)(e)?t:e),T=(0,r.Mz)(e=>(0,b.Po)(e),k,d.x,(e,t,a)=>(0,s.r7)(e)||(0,o.JV)(e?.id)?t:a);(0,r.Mz)(e=>T(e,"dm_retention_duration"),e=>e),(0,r.Mz)(e=>T(e,"dm_retention_type"),e=>e);let I=(0,r.Mz)(e=>T(e,"allow_workflow_export"),e=>e),w=(0,r.Mz)(e=>T(e,"wfb_default_connector_visibility"),e=>e),C=(0,r.Mz)(e=>T(e,"work_object_unfurl_visibility"),e=>e),getOrgPrefs=e=>(0,c.F)(e)?e?.enterprisePrefs?.org_prefs:e?.prefs?.enterprise?.org_prefs,v=(0,r.Mz)(getOrgPrefs,e=>e?.locale),x=(0,r.Mz)(getOrgPrefs,e=>e?.enterprise_team_creation_request),R=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_request_notifications),O=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_provision_notifications),N=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_invite_org_domains_only),D=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_slack_connect_org_sandboxes_only),L=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_allow_slack_connect_owning_org),M=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_request_auto_response),F=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_safe_sign_in),P=(0,r.Mz)(getOrgPrefs,e=>e?.developer_sandbox_admin_menu_limited_access),U=(0,l.Ay)(e=>(0,c.F)(e)?e?.enterprisePrefs?.orgDefaultChannels??(0,i.B4)():p(e));U.meta={name:"getOrgDefaultChannels",key:"createSelectorGetOrgDefaultChannels",description:e=>(0,c.F)(e)?e?.enterprisePrefs?.orgDefaultChannels??(0,i.B4)():p(e)};let B=(0,u.eI)(e=>(0,c.F)(e)?e?.enterprisePrefs?.orgDefaultChannels??(0,i.B4)():h(e)),G=(0,r.Mz)(U,(e=[])=>e.reduce((e,t)=>(t.is_mandatory&&e.push(t.id),e),[])),H=(0,l.Ay)((e,t)=>{if((0,c.F)(e)){let a=e?.enterprisePrefs?.orgDefaultChannels;if(!a||!t)return;let n=a.find(e=>e.id===t);return n?.prefs}return g(e,t)});H.meta={name:"getOrgDefaultChannelPrefsById",key:"createSelectorGetOrgDefaultChannelPrefsById",description:(e,t)=>{if((0,c.F)(e)){let a=e?.enterprisePrefs?.orgDefaultChannels;if(!a||!t)return;let n=a.find(e=>e.id===t);return n?.prefs}return g(e,t)}};let W=(0,l.Ay)((e,t)=>{if((0,c.F)(e)){let a=e?.enterprisePrefs?.orgDefaultChannels;if(!a||!t)return;let n=a.find(e=>e.id===t);return n?.is_mandatory}return A(e,t)});W.meta={name:"getOrgDefaultChannelIsMandatoryById",key:"createSelectorGetOrgDefaultChannelIsMandatoryById",description:(e,t)=>{if((0,c.F)(e)){let a=e?.enterprisePrefs?.orgDefaultChannels;if(!a||!t)return;let n=a.find(e=>e.id===t);return n?.is_mandatory}return A(e,t)}}},0x147fb8c90:(e,t,a)=>{"use strict";a.d(t,{Ck:()=>i,G2:()=>r});var n=a(0x1cf0d97e1);let getFeatureAccessInfo=(e,t,a)=>e.featureAccess?.[t]?.[a],r=(0,n.Ay)((e,t)=>!!getFeatureAccessInfo(e,t,"is_enabled"));r.meta={name:"isFeaturePolicyEnabled",key:"createSelectorIsFeaturePolicyEnabled",description:(e,t)=>!!getFeatureAccessInfo(e,t,"is_enabled")},(0,n.Ay)((e,t)=>getFeatureAccessInfo(e,t,"reason")).meta={name:"getFeaturePolicyReason",key:"createSelectorGetFeaturePolicyReason",description:(e,t)=>getFeatureAccessInfo(e,t,"reason")};let getHuddleStartFeaturePolicy=e=>e.featureAccess?.huddle__start,i=(0,n.Ay)(e=>getHuddleStartFeaturePolicy(e).additional_limits);i.meta={name:"getHuddleStartAdditionalLimits",key:"createSelectorGetHuddleStartAdditionalLimits",description:e=>getHuddleStartFeaturePolicy(e).additional_limits}},0xed6365de:(e,t,a)=>{"use strict";a.d(t,{n:()=>n});let n=(0,a(0xcf658893).Ay)("Remove IM or MPIM id from set");n.meta={name:"removeImOrMpim",key:"createActionRemoveImOrMpim",description:"Remove IM or MPIM id from set"}},0x2524b31ef:(e,t,a)=>{"use strict";a.d(t,{cS:()=>b,Gr:()=>y});var n=a(0xc9c97240),r=a(0x4f6e90b4),i=a(0x12185e091),o=a(0xe6b69a0a),s=a(0xba77ecb9),l=a(0xed6365de);function updateMpimAndImCount({reducerState:e,channels:t,reason:a,imAndMpimSetByTeamId:n}){if(!a||!t||!t.length)return e;let{teamId:r}=e,o=r&&n[n[r]];if(!o)return e;let s=o.size;return t.forEach(e=>{e?.id&&((0,i.LI)(e)||(0,i.yz)(e))&&o.add(e?.id)}),o.size!==s?{...e}:e}var c=a(0xc75e6fdf),d=a(0x9b971e7e),u=a(0x4487de6e),m=a(0x1266f1359),f=a(0x1a6e59198),_=a(0x217553e42),p=a(0x17f39e0ff),h=a(0xe684f705);let g={};function getImAndMpimCountSet({teamId:e}={},t=[]){if(!e)return new Set;let a=g[g[e]];if(a)return a;let n=(0,d.Kc)((0,m.$D)(e));return n!==e&&(g[e]=n),a=new Set,t.forEach(e=>{((0,i.LI)(e)||(0,i.yz)(e))&&a.add(e.id)}),g[n]=a,(0,r.GW)(e,"imAndMpimSetByTeamId",g),a}let A={},b=(0,n.Mz)(({imAndMpimCount:e}={})=>e,e=>(0,h.Zo)(e),e=>(0,p.o)(e),e=>(0,_.DM)(e),(e,t={},a={},n=[])=>{let r=e?.teamId;if(!r)return!1;if(A[r])return!0;let i=getImAndMpimCountSet({teamId:r},n).values(),s=i.next().value;for(;s;){if((0,o.J)(a[s],t))return A[r]=!0,!0;s=i.next().value}return!1}),y=(0,s.Ay)({},{teamId:void 0},{storeKey:"imAndMpimCount",persistenceEnabled:!1}).on(c.S_,(e,{id:t}={})=>({...e,teamId:t})).on(f.f0,(e,{objects:t,reason:a}={})=>updateMpimAndImCount({reducerState:e,channels:t,reason:a,imAndMpimSetByTeamId:g})).on(f.AM,(e,{objects:t,reason:a}={})=>updateMpimAndImCount({reducerState:e,channels:t,reason:a,imAndMpimSetByTeamId:g})).on(l.n,(e,t)=>{if(!t)return e;let{teamId:a}=e,n=a&&g[g[a]];return n&&n.has(t)?(n.delete(t),{...e}):e}).on(u.V,e=>(g={},A={},{...e}));Object.defineProperty({},"imAndMpimSetByTeamId",{get:()=>g,set:e=>{g=e}})},0x204fe6114:(e,t,a)=>{"use strict";a.d(t,{k:()=>r,t:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Rebuild muted channel list");r.meta={name:"setMutedChannels",key:"createActionSetMutedChannels",description:"Rebuild muted channel list"};let i=(0,n.Ay)("Set a channel as muted or unmuted");i.meta={name:"setMutedChannel",key:"createActionSetMutedChannel",description:"Set a channel as muted or unmuted"}},0x177ecee3b:(e,t,a)=>{"use strict";a.d(t,{Ff:()=>u,Tp:()=>l});var n=a(0x1feee1711),r=a(0x1130a8ca8),i=a(0x204fe6114);let{reducer:o,actions:s,selectors:l,migrationOnlyHandlers:{addObjectsReducer:c,removeObjectsReducer:d}}=(0,a(0x107594e0c).A)({storeKey:"mutedChannels",persistenceEnabled:!0},{transform:e=>{let{channelId:t,...a}=e;return{id:e.channelId,object:a}}}),u=o.on(i.t,(e,{id:t,muted:a}={})=>{if(!t||(0,n.A)(a))return e;let i=(0,r.xH)(e);return a?i[t]?e:c(e,{objects:[{channelId:t,isMuted:a}]}):i[t]?d(e,{ids:[t]}):e}).on(i.k,(e,t)=>c({},{objects:Object.entries(t).map(([e,t])=>({channelId:e,isMuted:t}))}))},0x8baf11b5:(e,t,a)=>{"use strict";a.d(t,{B:()=>l,m:()=>c});var n=a(0xc9c97240),r=a(0x1130a8ca8),i=a(0x1cf0d97e1);let{getObjectById:o,UNSAFE_getAllObjects:s}=a(0x177ecee3b).Tp,l=(0,i.Ay)((e,t)=>!!t&&(o(e,t)?.isMuted??!1));l.meta={name:"isChannelMutedById",key:"createSelectorIsChannelMutedById",description:(e,t)=>!!t&&(o(e,t)?.isMuted??!1)};let c=(0,n.Mz)(s,e=>{let t=(0,r.xH)(e);return Object.keys(t).reduce((e,a)=>(e[a]=t[a].isMuted,e),{})})},0xf49f1b26:(e,t,a)=>{"use strict";a.d(t,{V:()=>i,m:()=>r});var n=a(0xcf658893);let r=(0,n.Ay)("Sets read only value for a channel");r.meta={name:"setChannelReadOnly",key:"createActionSetChannelReadOnly",description:"Sets read only value for a channel"};let i=(0,n.Ay)("Sets read only channels");i.meta={name:"bulkSetReadOnlyChannels",key:"createActionBulkSetReadOnlyChannels",description:"Sets read only channels"}},0x1140f1b41:(e,t,a)=>{"use strict";a.d(t,{Ff:()=>c,Tp:()=>o});var n=a(0xf49f1b26);let{reducer:r,actions:i,selectors:o,migrationOnlyHandlers:{addObjectsReducer:s,removeObjectsReducer:l}}=(0,a(0x107594e0c).A)({storeKey:"readOnlyChannels",persistenceEnabled:!0},{transform:e=>{let{channelId:t,...a}=e;return{id:e.channelId,object:a}}}),c=r.on(n.m,(e,{channelId:t,isReadOnly:a})=>a?s(e,{objects:[{channelId:t,isReadOnly:a}]}):l(e,{ids:[t]})).on(n.V,(e,t)=>s({},{objects:t.map(e=>({channelId:e,isReadOnly:!0}))}))},0x24edd4aab:(e,t,a)=>{"use strict";a.d(t,{e:()=>i});var n=a(0x1cf0d97e1);let{getObjectById:r}=a(0x1140f1b41).Tp,i=(0,n.Ay)((e,t)=>r(e,t)?.isReadOnly??!1);i.meta={name:"isChannelReadOnlyById",key:"createSelectorIsChannelReadOnlyById",description:(e,t)=>r(e,t)?.isReadOnly??!1}},0xc75e6fdf:(e,t,a)=>{"use strict";a.d(t,{S_:()=>i,b1:()=>o,m1:()=>r,xL:()=>s});var n=a(0xcf658893);let r=(0,n.Ay)("Set the current user enterprise id (only for enterprise)");r.meta={name:"dangerouslySetEnterpriseId",key:"createActionDangerouslySetEnterpriseId",description:"Set the current user enterprise id (only for enterprise)"};let i=(0,n.Ay)("Set the current user team (workspace or enterprise) id");i.meta={name:"dangerouslySetTeamId",key:"createActionDangerouslySetTeamId",description:"Set the current user team (workspace or enterprise) id"};let o=(0,n.Ay)("Set the internal / external workspace ids for the currently booted user (used only in unified boot)");o.meta={name:"dangerouslySetWorkspaceIds",key:"createActionDangerouslySetWorkspaceIds",description:"Set the internal / external workspace ids for the currently booted user (used only in unified boot)"};let s=(0,n.Ay)("Set the default workspace id for the currently booted user (used only in unified boot)");s.meta={name:"dangerouslySetDefaultWorkspaceId",key:"createActionDangerouslySetDefaultWorkspaceId",description:"Set the default workspace id for the currently booted user (used only in unified boot)"}},0x9b971e7e:(e,t,a)=>{"use strict";a.d(t,{E$:()=>_,JY:()=>c,Kc:()=>d,NB:()=>m,VO:()=>f,ZD:()=>p,ZT:()=>l,jV:()=>s,kN:()=>u,s_:()=>h});var n=a(0xf2e7528e),r=a(0xc9c97240),i=a(0x2264e6ea3),o=a(0x1cf0d97e1);let s=(0,o.Ay)(e=>e?.selfTeamIds?.enterpriseId);s.meta={name:"getEnterpriseId",key:"createSelectorGetEnterpriseId",description:e=>e?.selfTeamIds?.enterpriseId};let l=(0,o.Ay)(e=>e?.selfTeamIds?.teamId);l.meta={name:"getTeamId",key:"createSelectorGetTeamId",description:e=>e?.selfTeamIds?.teamId};let c=(0,o.Ay)(e=>l(e)||s(e));c.meta={name:"getTeamOrEnterpriseId",key:"createSelectorGetTeamOrEnterpriseId",description:e=>l(e)||s(e)};let d=(0,o.Ay)(e=>e&&e.selfTeamIds&&(s(e)||e.bootData?.enterprise_id||l(e)));d.meta={name:"getTopLevelTeamId",key:"createSelectorGetTopLevelTeamId",description:e=>e&&e.selfTeamIds&&(s(e)||e.bootData?.enterprise_id||l(e))};let u=(0,o.Ay)(e=>e?.selfTeamIds?.internalWorkspaceIds);u.meta={name:"getSelfWorkspaceIds",key:"createSelectorGetSelfWorkspaceIds",description:e=>e?.selfTeamIds?.internalWorkspaceIds};let m=(0,o.Ay)(e=>void 0);m.meta={name:"getExternalSelfWorkspaceIds",key:"createSelectorGetExternalSelfWorkspaceIds",description:e=>void 0};let f=(0,r.Mz)(e=>u(e),e=>m(e),(e,t)=>(0,n.A)(e,t)),_=(0,o.Ay)(e=>e?.selfTeamIds?.defaultWorkspaceId);_.meta={name:"getDefaultWorkspaceId",key:"createSelectorGetDefaultWorkspaceId",description:e=>e?.selfTeamIds?.defaultWorkspaceId};let p=(0,o.Ay)(e=>s(e)||_(e));p.meta={name:"getEnterpriseIdOrDefaultWorkspaceId",key:"createSelectorGetEnterpriseIdOrDefaultWorkspaceId",description:e=>s(e)||_(e)};let h=(0,o.Ay)(e=>{let t=l(e);return(0,i.JV)(t)?_(e):t});h.meta={name:"getCurrentOrDefaultWorkspaceId",key:"createSelectorGetCurrentOrDefaultWorkspaceId",description:e=>{let t=l(e);return(0,i.JV)(t)?_(e):t}}},0x24aeaa8b2:(e,t,a)=>{"use strict";a.d(t,{B:()=>i});var n=a(0x11c82607b),r=a(0xc75e6fdf);let i=(0,n.Ay)("Set the enterprise id for the current user (only for enterprise)",(e,t,{id:a}={id:""})=>{a&&e((0,r.m1)({id:a}))});i.meta={name:"setEnterpriseId",key:"createThunkSetEnterpriseId",description:"Set the enterprise id for the current user (only for enterprise)"}},0x1b3f8f344:(e,t,a)=>{"use strict";a.d(t,{h:()=>i});var n=a(0x11c82607b),r=a(0xc75e6fdf);let i=(0,n.Ay)("Set the team (workspace or enterprise) id for the current user",(e,t,{id:a}={id:""})=>{a&&e((0,r.S_)({id:a}))});i.meta={name:"setTeamId",key:"createThunkSetTeamId",description:"Set the team (workspace or enterprise) id for the current user"}},0x209d60fc8:(e,t,a)=>{"use strict";a.d(t,{EQ:()=>o,bd:()=>r,ho:()=>s,wX:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Star a channel");r.meta={name:"setChannelStarred",key:"createActionSetChannelStarred",description:"Star a channel"};let i=(0,n.Ay)("Unstar a channel");i.meta={name:"setChannelUnstarred",key:"createActionSetChannelUnstarred",description:"Unstar a channel"};let o=(0,n.Ay)("Set starred channels state");o.meta={name:"bulkSetStarredChannels",key:"createActionBulkSetStarredChannels",description:"Set starred channels state"};let s=(0,n.Ay)("Set that a user has recently starred or unstarred a channel or sidebar entity");s.meta={name:"setHasStarredActivity",key:"createActionSetHasStarredActivity",description:"Set that a user has recently starred or unstarred a channel or sidebar entity"}},0xf6071f47:(e,t,a)=>{"use strict";a.d(t,{Ff:()=>u,Tp:()=>l});var n=a(0x1130a8ca8),r=a(0x209d60fc8),i=a(0x1b830272a);let{reducer:o,actions:s,selectors:l,migrationOnlyHandlers:{addObjectsReducer:c,removeObjectsReducer:d}}=(0,a(0x107594e0c).A)({storeKey:"starredChannels",persistenceEnabled:!0},{transform:e=>{let{channelId:t,...a}=e;return{id:e.channelId,object:a}}}),u=o.on(r.bd,(e,t)=>(0,n.xH)(e)[t]?e:c(e,{objects:[{channelId:t,isStarred:!0}]})).on(r.wX,(e,t)=>d(e,{ids:[t]})).on(r.EQ,(e,t)=>c({},{objects:t.map(e=>({channelId:e,isStarred:!0}))})).on(r.ho,e=>(0,n.xH)(e)[i.S]?e:c(e,{objects:[{channelId:i.S,isStarred:!0}]}))},0x4790a9e9:(e,t,a)=>{"use strict";a.d(t,{PN:()=>m,Sd:()=>u,gA:()=>p,ng:()=>f,wN:()=>_});var n=a(0xc9c97240),r=a(0x1130a8ca8),i=a(0x1cf0d97e1),o=a(0xf6071f47),s=a(0x1b830272a),l=a(0xdf55e8f3);let{getObjectById:c,UNSAFE_getAllObjects:d}=o.Tp,u=(0,n.Mz)(d,e=>{let t=(0,r.xH)(e);return Object.keys(t).reduce((e,a)=>(e[a]=t[a].isStarred,e),{})}),m=(0,l.eI)(e=>Object.keys(d(e))),f=(0,i.Ay)((e,t)=>c(e,t)?.isStarred??!1);f.meta={name:"isChannelStarred",key:"createSelectorIsChannelStarred",description:(e,t)=>c(e,t)?.isStarred??!1};let _=(0,i.Ay)(e=>c(e,s.S)?.isStarred??!1);_.meta={name:"userHasStarredActivity",key:"createSelectorUserHasStarredActivity",description:e=>c(e,s.S)?.isStarred??!1};let p=(0,l.eI)(e=>Object.values((0,r.xH)(d(e))).some(e=>e.isStarred))},0x1b830272a:(e,t,a)=>{"use strict";a.d(t,{S:()=>n});let n="STARRED_ACTIVITY_KEY"},0x14cb5efef:(e,t,a)=>{"use strict";a.d(t,{N:()=>m,QS:()=>c,R2:()=>s,km:()=>d,tk:()=>l,wL:()=>u});var n=a(0x1cf0d97e1),r=a(0x7bb4eccb),i=a(0x1d600678),o=a(0xdf55e8f3);let s=(0,o.eI)(e=>{let t=(0,r.R)(e)?e?.teamPrefs:e?.prefs?.team;if(!t)return;let a=Object.values(t);for(let e=0;e<a.length;e++){let t=a[e].tableau_agent_user_id;if(t&&""!==t)return t}}),l=(0,n.Ay)(e=>{let t=(0,r.R)(e)?e?.teamPrefs:e?.prefs?.team;return!!t&&Object.values(t).some(e=>e.ai_apps?.is_enabled)});l.meta={name:"areAiAppsEnabledByAdmins",key:"createSelectorAreAiAppsEnabledByAdmins",description:e=>{let t=(0,r.R)(e)?e?.teamPrefs:e?.prefs?.team;return!!t&&Object.values(t).some(e=>e.ai_apps?.is_enabled)}};let c=(0,o.eI)(e=>{let t=(0,r.R)(e)?e?.teamPrefs:e?.prefs?.team;if(!t)return[];let a={};return Object.values(t).forEach(e=>{e.ai_apps?.is_enabled&&e.ai_apps.allowed_apps.forEach(e=>{a[e.bot_user_id]?!a[e.bot_user_id].should_show_in_sunroof&&e.should_show_in_sunroof&&(a[e.bot_user_id]=e):a[e.bot_user_id]=e})}),Object.values(a)}),d=(0,o.eI)(e=>c(e).filter(e=>e.should_show_in_sunroof)),u=(0,n.Ay)(e=>{let t=(0,i.x)(e,"default_channel_knowledge_agent");return t?.app_id});u.meta={name:"getAgentforceChannelExpertAppId",key:"createSelectorGetAgentforceChannelExpertAppId",description:e=>{let t=(0,i.x)(e,"default_channel_knowledge_agent");return t?.app_id}};let m=(0,n.Ay)(e=>{let t=(0,i.x)(e,"default_channel_knowledge_agent");return t?.bot_user_id});m.meta={name:"getAgentforceChannelExpertBotUserId",key:"createSelectorGetAgentforceChannelExpertBotUserId",description:e=>{let t=(0,i.x)(e,"default_channel_knowledge_agent");return t?.bot_user_id}}},0x2415dc8d2:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(0x155d02b1c),r=a(0x1df96de4c);let i={no_expiration:0,"30_minutes":1800,"1_hour":3600,"4_hours":14400,all_day:"all_day",week:"week",custom:"custom"};var o=a(0x9b971e7e),s=a(0x1d600678);let l=(0,a(0x1bc4b3ad8).F)(e=>(0,s.x)(e,"custom_status_presets",(0,o.s_)(e))||r.Ml,e=>e.map(e=>({emoji:e[0],text:(0,n.A)(e[1]),canonical:e[2]||"",duration:e.length>3&&Object.keys(i).indexOf(e[3])>-1&&e[3]||"no_expiration"})))},0x7bb4eccb:(e,t,a)=>{"use strict";a.d(t,{R:()=>i});var n=a(0x1cf0d97e1),r=a(0x14149c126);let i=(0,n.Ay)(e=>"on"===(0,r._Z)(e,"break_out_team_prefs_store"));i.meta={name:"isBreakOutTeamPrefsStoreEnabled",key:"createSelectorIsBreakOutTeamPrefsStoreEnabled",description:e=>"on"===(0,r._Z)(e,"break_out_team_prefs_store")}},0x1d600678:(e,t,a)=>{"use strict";a.d(t,{x:()=>c,a:()=>l});var n=a(0x1cf0d97e1),r=a(0x9b971e7e),i=a(0x7bb4eccb);let o=(0,n.Ay)((e,t,a)=>{let n=a??(0,r.ZT)(e);return e?.prefs?.team?.[n]?.[t]});o.meta={name:"deprecatedGetTeamPref",key:"createSelectorDeprecatedGetTeamPref",description:(e,t,a)=>{let n=a??(0,r.ZT)(e);return e?.prefs?.team?.[n]?.[t]}};let s=(0,n.Ay)((e,t)=>{let a=t??(0,r.ZT)(e);return e?.prefs?.team?.[a]});s.meta={name:"deprecatedGetTeamPrefs",key:"createSelectorDeprecatedGetTeamPrefs",description:(e,t)=>{let a=t??(0,r.ZT)(e);return e?.prefs?.team?.[a]}};let l=(0,n.Ay)((e,t)=>{if((0,i.R)(e)){let a=t||(0,r.ZT)(e);if(!a)return;return e?.teamPrefs?.[a]}return s(e,t)});l.meta={name:"getTeamPrefs",key:"createSelectorGetTeamPrefs",description:(e,t)=>{if((0,i.R)(e)){let a=t||(0,r.ZT)(e);if(!a)return;return e?.teamPrefs?.[a]}return s(e,t)}};let c=(0,n.Ay)((e,t,a)=>{if((0,i.R)(e)){let n=a||(0,r.ZT)(e);if(!n)return;return e?.teamPrefs?.[n]?.[t]}return o(e,t,a)});c.meta={name:"getTeamPref",key:"createSelectorGetTeamPref",description:(e,t,a)=>{if((0,i.R)(e)){let n=a||(0,r.ZT)(e);if(!n)return;return e?.teamPrefs?.[n]?.[t]}return o(e,t,a)}}},0x17a77d778:(e,t,a)=>{"use strict";a.d(t,{IH:()=>_,JN:()=>m,Kj:()=>p,fP:()=>f,hz:()=>h});var n=a(0xe874a88a),r=a(0x252de3aff),i=a(0xbc562055),o=a(0x10eaf255),s=a(0x11c82607b),l=a(0x9b971e7e),c=a(0x1d600678),d=a(0x19c76d181),u=a(0x590cde43);let m=(0,s.Ay)("Update one team pref foo",(e,t,{pref:a,value:n,teamId:i})=>{let o=i??(0,l.ZT)(t());o&&(e((0,u.e)({teamId:o,teamPrefs:{[a]:n}})),"uses_customized_custom_status_presets"===a&&!1===n&&e((0,r._)()).then(t=>{e(m({pref:"custom_status_presets",value:t}))}))});m.meta={name:"setTeamPref",key:"createThunkSetTeamPref",description:"Update one team pref foo"};let f=(0,s.Ay)("Update multiple team prefs",(e,t,{prefs:a,teamId:n})=>{let r=n??(0,l.ZT)(t());if(r&&!(Object.keys(a).length<=0))return e((0,u.e)({teamId:r,teamPrefs:a}))});f.meta={name:"updateTeamPrefs",key:"createThunkUpdateTeamPrefs",description:"Update multiple team prefs"};let _=(0,s.Ay)("Gets and updates team prefs",async(e,t,{teamId:a,reason:n})=>{let r=a??(0,l.ZT)(t()),{prefs:i}=await e((0,o.N)({targetTeam:r,reason:n}));if(r)e((0,u.G)({teamId:r,teamPrefs:i}));else throw Error('Team id is undefined for the "fetchAndUpsertTeamPrefs" thunk and team prefs have not been set')});_.meta={name:"fetchAndUpsertTeamPrefs",key:"createThunkFetchAndUpsertTeamPrefs",description:"Gets and updates team prefs"};let p=(0,s.Ay)("Set a team pref via the setTeamPref API, possibly updating local team prefs optimistically first",(e,t,{pref:a,value:n=null,otherPrefsToCheck:r=[],optimistically:o=!0,reason:s}={})=>{let l=t(),u=(0,c.x)(l,a);return o&&e(m({pref:a,value:n})),e((0,i.M)({pref:a,value:n,reason:s})).tap(({prefs:n}={})=>{if(!(0,d.wx)(t()))return;let i=n||{};[a,...r].filter(e=>void 0!==i[e]).forEach(t=>{e(m({pref:t,value:i[t]}))})}).catch(t=>{throw o&&e(m({pref:a,value:u})),t})});p.meta={name:"setTeamPrefByApi",key:"createThunkSetTeamPrefByApi",description:"Set a team pref via the setTeamPref API, possibly updating local team prefs optimistically first"};let h=(0,s.Ay)("Set multiple prefs via the setPref API, updating local prefs optimistically first",(e,t,{prefs:a,teamId:r})=>{let o=t(),s=r??(0,l.ZT)(o),d={},m=Object.keys(a);return m.length?(m.forEach(e=>{d[e]=(0,c.x)(o,e,s)}),e((0,u.e)({teamId:s,teamPrefs:a})),e((0,i.V1)({prefs:a,teamId:s})).catch(t=>{throw e((0,u.e)({teamId:s,teamPrefs:d})),t})):n.S.reject(Error("No prefs were passed."))});h.meta={name:"setMultipleTeamPrefsByApi",key:"createThunkSetMultipleTeamPrefsByApi",description:"Set multiple prefs via the setPref API, updating local prefs optimistically first"}},0x3ae26f4a:(e,t,a)=>{"use strict";a.d(t,{C:()=>r,j:()=>i});var n=a(0xcf658893);let r=(0,n.Ay)("Sets thread only value for a channel");r.meta={name:"setChannelThreadOnly",key:"createActionSetChannelThreadOnly",description:"Sets thread only value for a channel"};let i=(0,n.Ay)("Sets thread only channels");i.meta={name:"bulkSetThreadOnlyChannels",key:"createActionBulkSetThreadOnlyChannels",description:"Sets thread only channels"}},0x23d9bad2d:(e,t,a)=>{"use strict";a.d(t,{Ff:()=>c,Tp:()=>o});var n=a(0x3ae26f4a);let{reducer:r,actions:i,selectors:o,migrationOnlyHandlers:{addObjectsReducer:s,removeObjectsReducer:l}}=(0,a(0x107594e0c).A)({storeKey:"threadOnlyChannels",persistenceEnabled:!0},{transform:e=>{let{channelId:t,...a}=e;return{id:e.channelId,object:a}}}),c=r.on(n.C,(e,{channelId:t,isThreadOnly:a})=>a?s(e,{objects:[{channelId:t,isThreadOnly:a}]}):l(e,{ids:[t]})).on(n.j,(e,t)=>s({},{objects:t.map(e=>({channelId:e,isThreadOnly:!0}))}))},0x98cc114f:(e,t,a)=>{"use strict";a.d(t,{o:()=>i});var n=a(0x1cf0d97e1);let{getObjectById:r}=a(0x23d9bad2d).Tp,i=(0,n.Ay)((e,t)=>r(e,t)?.isThreadOnly??!1);i.meta={name:"isChannelThreadOnlyById",key:"createSelectorIsChannelThreadOnlyById",description:(e,t)=>r(e,t)?.isThreadOnly??!1}},0x1839c7b32:(e,t,a)=>{"use strict";a.d(t,{L:()=>i,O:()=>updatePrefToEnableAiApp});var n=a(0x1cf0d97e1),r=a(0x1ccef1c6f);let updatePrefToEnableAiApp=(e,t,a)=>{try{if(!e)return JSON.stringify({[t]:{is_enabled:a}});let n={...e,[t]:{is_enabled:a}};return JSON.stringify(n)}catch{return e}},i=(0,n.Ay)(e=>{try{let t=(0,r.ty)(e,"ai_apps_to_show");return t?JSON.parse(t):{}}catch{return{}}});i.meta={name:"getAiAppsToShowUserPref",key:"createSelectorGetAiAppsToShowUserPref",description:e=>{try{let t=(0,r.ty)(e,"ai_apps_to_show");return t?JSON.parse(t):{}}catch{return{}}}}},0xb7a990a9:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(0xb77a689a),r=a(0xc9c97240),i=a(0x1df96de4c),o=a(0x1ccef1c6f);let s=(0,r.Mz)(e=>(0,o.iF)(e),e=>(0,n.A)(e)&&e.length?e.split(","):(0,i.B4)())},0x131598af9:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var n=a(0x20ef3966f),r=a(0xc9c97240),i=a(0x242c380a),o=a(0x250b0b4fd),s=a(0xb7a990a9),l=a(0x19c76d181),c=a(0x687556ae);let d=(0,r.Mz)(l.WR,s.A,c.QF,(e,t,a)=>{let r=[],s=(0,i.$)(e);s&&r.push(s),t&&(r=r.concat(t));let l=(0,n.A)(a,e=>(0,o.J)(e));return r.concat(l)})},0xf1527618:(e,t,a)=>{"use strict";a.d(t,{y4:()=>F,Vm:()=>M,FY:()=>L,xr:()=>D,Yx:()=>N,sY:()=>v,fE:()=>x});var n,r=a(0x1626b8eae),i=a(0x4f6e90b4),o=a(0xe874a88a),s=a(0xbc562055),l=a(0xca924ee1);let c=new Map,resolver=(e=0,t=0)=>{let a=c.get(t);a||(a=new Map,c.set(t,a));let n=a.get(e);return n||(n=Symbol(e),a.set(e,n)),n};function makeMasks(){return[...Array(53).keys()].reduce((e,t)=>(e[`MASK_${t+1}`]=2**t,e),{})}function numberToBitArray(e){let t=Array(53),a=e,n=0;for(let e=0;a>0;e++)n=a%2,t[e]=!!n,a=(a-n)/2;return t}function bitArrayToNumber(e){let t=0,a=1;for(let n=0;n<53;n++)t+=!!e[n]*a,a*=2;return t}let d=(0,l.A)((e,t)=>{let a=numberToBitArray(e),n=numberToBitArray(t),r=Array(53);for(let e=0;e<53;e++)r[e]=a[e]&&n[e];return bitArrayToNumber(r)},resolver),u=(0,l.A)((e,t)=>{let a=numberToBitArray(e),n=numberToBitArray(t),r=Array(53);for(let e=0;e<53;e++)r[e]=a[e]||n[e];return bitArrayToNumber(r)},resolver),m=(0,l.A)(e=>{let t=Array(53),a=e,n=0;for(let e=0;e<53;e++)n=a%2,t[e]=!n,a=(a-n)/2;return bitArrayToNumber(t)}),f=Object.freeze(makeMasks());var _=a(0x1ec68d6a3),p=a(0x1cf0d97e1),h=a(0x11c82607b),g=a(0x1ccef1c6f),A=a(0x1266f1359),b=a(0x1defa8f11),y=a(0x1624919a),S=a(0x20085de45),E=a(0x54ef0daa),k=a(0x1ee439e69);let T="USER_ONBOARDING",getOnboardingState=e=>(0,g.ty)(e,"onboarding_state")||0;var I=((n={}).SetupStarted="setup_started",n.SetupCompleted="setup_completed",n.SetupStepChannels="setup_step_channels",n.SetupStepInvites="setup_step_invites",n.IsNewHuman="is_new_human",n.SkipAddChannelsTip="skip_add_channels_tip",n.JoinerSetupStepCurrentTeam="joiner_setup_step_current_team",n.JoinerSetupStepSuggestedContacts="joiner_setup_step_suggested_contacts",n.JoinerSetupStepChannelsIntro="joiner_setup_step_channels_intro",n.SlackConnectTipCompleted="slack_connect_tip_completed",n.IsWorkspaceWithActiveChannels="is_workspace_with_active_channels",n.SetupStepCalendarImport="setup_step_calendar_import",n.CalendarOAuthAttempted="calendar_o_auth_attempted",n.HasDismissedSuggestedChannels="has_dismissed_suggested_channels",n.SetupStepWelcomeLanding="setup_step_welcome_landing",n.HasCopiedSharedInviteLink="has_copied_shared_invited_link",n.ChannelExample3Complete="channel_example_3_complete",n.ChannelExampleFinalCtaSeen="channel_example_final_cta_seen",n.ChannelExamplesCoachmarkSeen="channel_examples_coachmark_seen",n.HasSentFirstMessage="has_sent_first_message",n.IsPaidGoogleAccount="is_paid_google_account",n.IsCalendarOAuthInvalid="is_calendar_oauth_invalid",n.SetupStepSummary="setup_step_summary",n.MessageSuggestionsComplete="message_suggestions_complete",n.JoinerSetupStepWelcome="joiner_setup_step_welcome",n.DmTaskComplete="dm_task_complete",n.OnboardingCompleted="onboarding_completed",n.JoinerSetupStepPeople="joiner_setup_step_people",n.JoinerSetupCompleted="joiner_setup_completed",n.SetupTadaCoachmarkSeen="setup_tada_coachmark_seen",n.PeoplePageBannerDismissed="people_page_banner_dismissed",n.FilesPageBannerDismissed="files_page_banner_dismissed",n.GenericTaskComplete="generic_task_complete",n.ChannelBrowserJoinerBannerDismissed="channel_browser_joiner_banner_dismissed",n.PeoplePageJoinerBannerDismissed="people_page_joiner_banner_dismissed",n.IsJoinerTeamWith15PlusChannels="is_joiner_team_with_15_plus_channels",n.AppsTaskComplete="apps_task_complete",n.AppsPageBannerDismissed="apps_page_banner_dismissed",n.ProjectAddCtaComplete="project_add_cta_complete",n.GeneralAddCtaComplete="general_add_cta_complete",n.RandomAddCtaComplete="random_add_cta_complete",n.GenericAddCtaComplete="generic_add_cta_complete",n.GeneralTaskComplete="general_task_complete",n.RandomTaskComplete="random_task_complete",n.MpdmTaskComplete="mpdm_task_complete",n.SelfDmTaskComplete="self_dm_task_complete",n.MessageInputCtaComplete="message_input_cta_complete",n.SetupStepTada="setup_step_tada",n.JoinerSetupCoachmarksSeen="joiner_setup_coachmarks_seen",n.SetupStepManualInvites="setup_step_manual_invites",n.SetupStepCalendarExternalImport="setup_step_calendar_external_import",n.SetupStepExternalManualInvites="setup_step_external_manual_invites",n);let w=Object.values(I).reduce((e,t,a)=>(e[t]=f[`MASK_${a+1}`],e),{}),getBitmaskForPref=e=>void 0!==w[e]?w[e]:0;function getOnboardingPrefFromInt(e,t){return!!d(e,getBitmaskForPref(t))}let C=(0,p.Ay)((e,t)=>getOnboardingPrefFromInt(getOnboardingState(e),t));C.meta={name:"getUserOnboardingPref",key:"createSelectorGetUserOnboardingPref",description:(e,t)=>getOnboardingPrefFromInt(getOnboardingState(e),t)};let v=(0,h.Ay)("Set onboarding state pref from push event",(e,t,a=0)=>{let n=getOnboardingState(t());e((0,S.rX)({pref:"onboarding_state",value:u(n,a)}))});v.meta={name:"setOnboardingStatePref",key:"createThunkSetOnboardingStatePref",description:"Set onboarding state pref from push event"};let x=(0,h.Ay)("Set a derived boolean pref via the setPref API, updating local prefs optimistically first",(e,t,{pref:a,value:n,retry:r=0})=>{var i;let l,c;if(r>2)return o.S.resolve();let f=(i=t(),l=getBitmaskForPref(a),c=getOnboardingState(i),n?u(c,l):d(c,m(l))),p={pref:"onboarding_state",value:f},h=(0,_.default)({getState:t,label:T});return h.info(`Applied ${a}: ${!!n} to onboarding_state: ${f}`),r&&h.error(`Applied ${a}: ${!!n} to onboarding_state: ${f}, retry ${r}`),e((0,S.rX)(p)),e((0,s.CI)(p)).catch(()=>e(x({pref:a,value:n,retry:r+1})))});x.meta={name:"setUserOnboardingPrefByApi",key:"createThunkSetUserOnboardingPrefByApi",description:"Set a derived boolean pref via the setPref API, updating local prefs optimistically first"};let R=(0,h.Ay)("Set a derived boolean pref via the setPref API based on multiple onboarding prefs, updating local prefs optimistically first",(e,t,{prefs:a,retry:n=0})=>{var r;let i,l,c;if(n>2)return o.S.resolve();let f=(r=t(),c=l=getOnboardingState(r),a&&0!==a.length?(a.forEach(e=>{let{pref:t,value:a}=e,n=getBitmaskForPref(t);c=a?u(c,n):d(c,m(n))}),c):l),p={pref:"onboarding_state",value:f};try{i=JSON.stringify(a)}catch{i=""}let h=(0,_.default)({getState:t,label:T});return h.info(`Applied multiple prefs ${i||""} to onboarding_state: ${f}`),n&&h.error(`Applied multiple prefs ${i||""} to onboarding_state: ${f}, retry ${n}`),e((0,S.rX)(p)),e((0,s.CI)(p)).catch(()=>e(R({prefs:a,retry:n+1})))});R.meta={name:"setMultipleUserOnboardingPrefsByApi",key:"createThunkSetMultipleUserOnboardingPrefsByApi",description:"Set a derived boolean pref via the setPref API based on multiple onboarding prefs, updating local prefs optimistically first"};let O=(0,r.A)(e=>{let t=(0,k.H7)(e);t&&((0,i.GW)(t.id,"showDerivedOnboardingPrefs",e=>{let a=void 0!==e?e:getOnboardingState((0,A.$D)(t.id));return Object.values(I).reduce((e,t)=>(e[t]=getOnboardingPrefFromInt(a,t),e),{})}),(0,i.GW)(t.id,"changeDerivedOnboardingPref",(e,a)=>{(0,A.oK)(t.id).dispatch(x({pref:e,value:a}))}),(0,i.GW)(t.id,"setOnboardingData",({pref:e,value:a})=>{(0,A.oK)(t.id).dispatch((0,y.S)({pref:e,value:a,reason:"slack_debugger"}))}))}),N=(0,p.Ay)(e=>{let t=!!((0,b.ax)(e,"setup_started")&&!(0,g.ty)(e,"onboarding_complete"));return t&&O(e),t});N.meta={name:"inUserOnboarding",key:"createSelectorInUserOnboarding",description:e=>{let t=!!((0,b.ax)(e,"setup_started")&&!(0,g.ty)(e,"onboarding_complete"));return t&&O(e),t}};let D=(0,p.Ay)(e=>(0,b.ax)(e,"setup_started"));D.meta={name:"hasUserOnboardingUI",key:"createSelectorHasUserOnboardingUI",description:e=>(0,b.ax)(e,"setup_started")};let L=(0,p.Ay)(e=>!!((0,b.ax)(e,"message_suggestions_complete")||(0,b.ax)(e,"people_page_banner_dismissed")||(0,b.ax)(e,"files_page_banner_dismissed")||(0,b.ax)(e,"apps_page_banner_dismissed")));L.meta={name:"hasInteractedWithOnboarding",key:"createSelectorHasInteractedWithOnboarding",description:e=>!!((0,b.ax)(e,"message_suggestions_complete")||(0,b.ax)(e,"people_page_banner_dismissed")||(0,b.ax)(e,"files_page_banner_dismissed")||(0,b.ax)(e,"apps_page_banner_dismissed"))},(0,p.Ay)((e,t)=>!N(e)||C(e,`${t}_add_cta_complete`)).meta={name:"hasCompletedChannelAddCta",key:"createSelectorHasCompletedChannelAddCta",description:(e,t)=>!N(e)||C(e,`${t}_add_cta_complete`)};let M=(0,p.Ay)(e=>!N(e)||(0,b.ax)(e,"message_input_cta_complete"));M.meta={name:"hasCompletedMessageInputCta",key:"createSelectorHasCompletedMessageInputCta",description:e=>!N(e)||(0,b.ax)(e,"message_input_cta_complete")};let F=(0,p.Ay)(e=>(0,g.ty)(e,"joiner_message_suggestion_dismissed"));F.meta={name:"hasCompletedJoinerNotificationMessageSuggestions",key:"createSelectorHasCompletedJoinerNotificationMessageSuggestions",description:e=>(0,g.ty)(e,"joiner_message_suggestion_dismissed")},(0,p.Ay)(e=>!N(e)||(0,b.ax)(e,"message_suggestions_complete")).meta={name:"hasCompletedDay1MessageSuggestions",key:"createSelectorHasCompletedDay1MessageSuggestions",description:e=>!N(e)||(0,b.ax)(e,"message_suggestions_complete")},(0,p.Ay)(e=>!1===(0,b.ax)(e,E.n1)).meta={name:"shouldStartJoinerLaunchpadOnboarding",key:"createSelectorShouldStartJoinerLaunchpadOnboarding",description:e=>!1===(0,b.ax)(e,E.n1)}},0xe9b0e82e:(e,t,a)=>{"use strict";a.d(t,{Lr:()=>deserialiazeSingleJSONUserPref,No:()=>deserializeJSONUserPrefs,Vc:()=>serializeJSONUserPref});var n=a(0x1ec68d6a3),r=a(0x1b4ecf8e7),i=a(0x14cd2eed9);let deserializeJSONUserPrefs=(e={})=>{let{[r.qK]:t,[r.T0]:a,[r.bV]:n,[r.mM]:o,[r.zw]:s,[r.BJ]:l,[r.s$]:c,[r.xc]:d,...u}=e;return t&&(u[r.qK]=(0,i.K)(t,r.qK)),a&&(u[r.T0]=(0,i.K)(a,r.T0)),n&&(u[r.bV]=(0,i.K)(n,r.bV)),o&&(u[r.mM]=(0,i.K)(o,r.mM)),s&&(u[r.zw]=(0,i.K)(s,r.zw)),l&&(u[r.BJ]=(0,i.K)(l,r.BJ)),c&&(u[r.s$]=(0,i.K)(c,r.s$)),d&&(u[r.xc]=(0,i.K)(d,r.xc)),u},serializeJSONUserPref=(e,t)=>{try{if(e===r.qK||e===r.T0||e===r.bV||e===r.mM||e===r.zw||e===r.BJ||e===r.s$||e===r.xc)return JSON.stringify(t);return t}catch{(0,n.default)({}).error(Error("Failed to stringify user pref"),{pref:e,value:t});return}},deserialiazeSingleJSONUserPref=(e,t)=>{let a=deserializeJSONUserPrefs({[e]:t});return a?.[e]}},0x15a8f8bcd:(e,t,a)=>{"use strict";a.d(t,{F:()=>o,T:()=>l});var n=a(0x6affae29),r=a(0x107594e0c),i=a(0x20085de45);let{reducer:o,migrationOnlyHandlers:{addObjectsReducer:s},selectors:l}=(0,r.A)({storeKey:"userPrefs",persistenceEnabled:!0},{transform:e=>{let[t,a]=e;return{id:t,object:a}}});o.on(i.rX,(e,{pref:t,value:a})=>s(e,{objects:[[t,a]]})).on(i.it,(e,t)=>t?s(e,{objects:(0,n.k7)(t)}):e).on(i.PZ,(e,t)=>t?s(e,{objects:(0,n.k7)(t)}):e)},0x1ccef1c6f:(e,t,a)=>{"use strict";a.d(t,{Dw:()=>k,GW:()=>A,Jb:()=>F,N$:()=>S,NO:()=>h,UG:()=>M,V4:()=>P,VI:()=>E,Vz:()=>b,_:()=>C,cN:()=>T,dA:()=>x,iF:()=>O,iN:()=>I,iU:()=>U,ix:()=>L,mk:()=>g,ok:()=>y,pI:()=>N,pJ:()=>D,qU:()=>w,qm:()=>B,ty:()=>p,xS:()=>v,zv:()=>R});var n=a(0x1595bdd0),r=a(0xb77a689a),i=a(0x1df96de4c),o=a(0x1daf4b9c),s=a(0x1ec68d6a3),l=a(0x1cf0d97e1),c=a(0x9b971e7e),d=a(0x15a8f8bcd),u=a(0x1bc4b3ad8),m=a(0x14149c126),f=a(0x1b4ecf8e7);let logLocaleWarning=(e,t)=>{let a=(0,s.default)({teamId:(0,c.ZT)(e)});"locale"===t?a.warn("Attempted to fetch user 'locale' pref. Use `getLocale` from `@slack/infra/i18n` to get the user's current locale!"):a.error(`Attempted to fetch undefined user pref ${t}.`)},{getObjectById:_}=d.T,p=(0,l.Ay)((e,t)=>{if(!((0,o.A)()&&"locale"===t))return _(e,t);logLocaleWarning(e,t)});p.meta={name:"getUserPref",key:"createSelectorGetUserPref",description:(e,t)=>{if(!((0,o.A)()&&"locale"===t))return _(e,t);logLocaleWarning(e,t)}};let h="unread_collapsed_channels",g=(0,l.Ay)(e=>e&&e.userPrefs&&e.userPrefs.locale);g.meta={name:"dangerouslyGetUserLocalePref",key:"createSelectorDangerouslyGetUserLocalePref",description:e=>e&&e.userPrefs&&e.userPrefs.locale};let A=(0,l.Ay)(e=>{let t=p(e,"enterprise_excluded_app_teams")||"";return(0,n.A)((t||"").toString().split(","))});A.meta={name:"getAppExcludedEnterpriseTeamIds",key:"createSelectorGetAppExcludedEnterpriseTeamIds",description:e=>{let t=p(e,"enterprise_excluded_app_teams")||"";return(0,n.A)((t||"").toString().split(","))}};let b=(0,l.Ay)(e=>p(e,"newxp_suggested_channels")||"");b.meta={name:"getSuggestedChannelsPref",key:"createSelectorGetSuggestedChannelsPref",description:e=>p(e,"newxp_suggested_channels")||""},(0,l.Ay)(e=>p(e,"calls_survey_last_seen")).meta={name:"getCallsLastSeenSurveyTimestamp",key:"createSelectorGetCallsLastSeenSurveyTimestamp",description:e=>p(e,"calls_survey_last_seen")};let y=(0,l.Ay)(e=>p(e,"huddle_survey_last_seen"));y.meta={name:"getHuddleLastSeenSurveyTimestamp",key:"createSelectorGetHuddleLastSeenSurveyTimestamp",description:e=>p(e,"huddle_survey_last_seen")};let S=(0,l.Ay)(e=>{let t=p(e,"task_lists");if(!t||!(0,r.A)(t))return i.Ml;try{return JSON.parse(t)}catch{return i.Ml}});S.meta={name:"getTaskLists",key:"createSelectorGetTaskLists",description:e=>{let t=p(e,"task_lists");if(!t||!(0,r.A)(t))return i.Ml;try{return JSON.parse(t)}catch{return i.Ml}}};let E=(0,l.Ay)(e=>{let t=p(e,"assigned_items_refinements");if(t)try{return JSON.parse(t)}catch{return(0,s.default)({state:e}).warn("Unable to parse assigned_items_refinements JSON string"),{}}return i.t0});E.meta={name:"getListAssignedItemsRefinements",key:"createSelectorGetListAssignedItemsRefinements",description:e=>{let t=p(e,"assigned_items_refinements");if(t)try{return JSON.parse(t)}catch{return(0,s.default)({state:e}).warn("Unable to parse assigned_items_refinements JSON string"),{}}return i.t0}};let k=(0,l.Ay)(e=>{let t=p(e,"todos_last_seen");if(t)try{return t}catch{(0,s.default)({state:e}).warn("Unable to get todos_last_seen")}});k.meta={name:"getTodosLastSeen",key:"createSelectorGetTodosLastSeen",description:e=>{let t=p(e,"todos_last_seen");if(t)try{return t}catch{(0,s.default)({state:e}).warn("Unable to get todos_last_seen")}}};let T=(0,l.Ay)(e=>{let t=p(e,"lists_my_items_last_seen");if(t)try{return t}catch{(0,s.default)({state:e}).warn("Unable to get lists_my_items_last_seen")}});T.meta={name:"getMyItemsLastSeen",key:"createSelectorGetMyItemsLastSeen",description:e=>{let t=p(e,"lists_my_items_last_seen");if(t)try{return t}catch{(0,s.default)({state:e}).warn("Unable to get lists_my_items_last_seen")}}};let I=(0,l.Ay)(e=>p(e,"assigned_to_list"));I.meta={name:"getAssignedToList",key:"createSelectorGetAssignedToList",description:e=>p(e,"assigned_to_list")};let w=(0,l.Ay)(e=>p(e,"user_expectations_survey_last_trigger_attempt"));w.meta={name:"getUserExpectationsSurveyLastTiggerAttempt",key:"createSelectorGetUserExpectationsSurveyLastTiggerAttempt",description:e=>p(e,"user_expectations_survey_last_trigger_attempt")};let C=(0,l.Ay)(e=>p(e,"mx_calendar_type"));C.meta={name:"getMXCalendarType",key:"createSelectorGetMXCalendarType",description:e=>p(e,"mx_calendar_type")};let v=(0,u.F)(e=>p(e,h),e=>e?(0,n.A)(e.split(",")):[]),x=(0,l.Ay)(e=>3>p(e,"seen_people_search_count"));x.meta={name:"getShowPeopleSearchInProductEducation",key:"createSelectorGetShowPeopleSearchInProductEducation",description:e=>3>p(e,"seen_people_search_count")};let R=(0,l.Ay)(e=>(p(e,"dismissed_scroll_search_tooltip_count")??0)<2);R.meta={name:"canShowSearchTip",key:"createSelectorCanShowSearchTip",description:e=>(p(e,"dismissed_scroll_search_tooltip_count")??0)<2},(0,l.Ay)(e=>{let t=p(e,"last_dismissed_scroll_search_tooltip_timestamp");return Date.now()-t>864e5}).meta={name:"get24HoursShowScrollerSearchInProductEducation",key:"createSelectorGet24HoursShowScrollerSearchInProductEducation",description:e=>{let t=p(e,"last_dismissed_scroll_search_tooltip_timestamp");return Date.now()-t>864e5}},(0,l.Ay)(e=>{let t=p(e,"seen_quickswitcher_shortcut_tip_count"),a=p(e,"k_key_omnibox"),n=p(e,"has_used_quickswitcher_shortcut");return a&&!n&&t<5}).meta={name:"getShowQuickswitcherTip",key:"createSelectorGetShowQuickswitcherTip",description:e=>{let t=p(e,"seen_quickswitcher_shortcut_tip_count"),a=p(e,"k_key_omnibox"),n=p(e,"has_used_quickswitcher_shortcut");return a&&!n&&t<5}};let O=(0,l.Ay)(e=>p(e,f.zw)?.global?.global_keywords||"");O.meta={name:"dangerouslyGetUserHighlightWords",key:"createSelectorDangerouslyGetUserHighlightWords",description:e=>p(e,f.zw)?.global?.global_keywords||""};let N=(0,u.F)(e=>p(e,"allowed_unfurl_senders"),e=>e?e.split?.(",")??[]:[]),D=(0,l.Ay)(e=>"on"===(0,m._Z)(e,"improve_mute_pref")?!p(e,"show_muted_items_outside_sidebar_menus"):!!p(e,"show_muted_items_outside_sidebar_menus"));D.meta={name:"getSidebarShouldHideMutedItems",key:"createSelectorGetSidebarShouldHideMutedItems",description:e=>"on"===(0,m._Z)(e,"improve_mute_pref")?!p(e,"show_muted_items_outside_sidebar_menus"):!!p(e,"show_muted_items_outside_sidebar_menus")};let L=(0,l.Ay)(e=>!!p(e,"separate_private_channels"));L.meta={name:"getSidebarShouldSeparatePrivateChannels",key:"createSelectorGetSidebarShouldSeparatePrivateChannels",description:e=>!!p(e,"separate_private_channels")};let M=(0,l.Ay)(e=>!!p(e,"boost_mentions"));M.meta={name:"getSidebarShouldBoostMentions",key:"createSelectorGetSidebarShouldBoostMentions",description:e=>!!p(e,"boost_mentions")};let F=(0,l.Ay)(e=>!!p(e,"undo_channel_intermix"));F.meta={name:"getSidebarShouldNotMixChannels",key:"createSelectorGetSidebarShouldNotMixChannels",description:e=>!!p(e,"undo_channel_intermix")},(0,l.Ay)(e=>!!p(e,"enable_streamline_view")).meta={name:"getSidebarEnableStreamlineView",key:"createSelectorGetSidebarEnableStreamlineView",description:e=>!!p(e,"enable_streamline_view")},(0,l.Ay)(e=>!!p(e,"enable_drafts_view")).meta={name:"getSidebarEnableDraftsView",key:"createSelectorGetSidebarEnableDraftsView",description:e=>!!p(e,"enable_drafts_view")},(0,l.Ay)(e=>!!p(e,"enable_scheduled_view")).meta={name:"getSidebarEnableScheduledView",key:"createSelectorGetSidebarEnableScheduledView",description:e=>!!p(e,"enable_scheduled_view")},(0,l.Ay)(e=>p(e,"seen_workflows_gallery_onboarding_banner_view_count")||0).meta={name:"getShortcutsGalleryEducationalBannerViewCount",key:"createSelectorGetShortcutsGalleryEducationalBannerViewCount",description:e=>p(e,"seen_workflows_gallery_onboarding_banner_view_count")||0},(0,l.Ay)(e=>!!p(e,"seen_workflows_gallery_onboarding_banner_dismissed")).meta={name:"isShortcutsGalleryEducationalBannerDismissed",key:"createSelectorIsShortcutsGalleryEducationalBannerDismissed",description:e=>!!p(e,"seen_workflows_gallery_onboarding_banner_dismissed")};let P=(0,l.Ay)(e=>!!p(e,"seen_workflows_templates_gallery_onboarding_banner_dismissed"));P.meta={name:"isWorkflowTemplatesGalleryEducationalBannerDismissed",key:"createSelectorIsWorkflowTemplatesGalleryEducationalBannerDismissed",description:e=>!!p(e,"seen_workflows_templates_gallery_onboarding_banner_dismissed")},(0,l.Ay)(e=>!!p(e,"seen_workflows_managed_by_you_onboarding_banner_dismissed")).meta={name:"isWorkflowManagedByYouEducationalBannerDismissed",key:"createSelectorIsWorkflowManagedByYouEducationalBannerDismissed",description:e=>!!p(e,"seen_workflows_managed_by_you_onboarding_banner_dismissed")};let U=(0,l.Ay)(e=>{let t=p(e,"create_channel_section_education");if(t)try{return JSON.parse(t)}catch{(0,s.default)({state:e}).error(Error("Unable to parse create_channel_section_education JSON string"),void 0,{subtype:"sidebar-systems-get-create-channel-section-education-pref"})}return i.t0});U.meta={name:"getCreateChannelSectionEducationPref",key:"createSelectorGetCreateChannelSectionEducationPref",description:e=>{let t=p(e,"create_channel_section_education");if(t)try{return JSON.parse(t)}catch{(0,s.default)({state:e}).error(Error("Unable to parse create_channel_section_education JSON string"),void 0,{subtype:"sidebar-systems-get-create-channel-section-education-pref"})}return i.t0}};let B=(0,l.Ay)(e=>U(e).trigger);B.meta={name:"getCreateNewSectionCTATrigger",key:"createSelectorGetCreateNewSectionCTATrigger",description:e=>U(e).trigger}},0xa4ee9d71:(e,t,a)=>{"use strict";a.d(t,{c:()=>i});var n=a(0xdf55e8f3),r=a(0x19895585a);let i=(0,n.eI)(e=>({[r.k6.Home]:!0,[r.k6.Search]:!0,[r.k6.DMs]:!0,[r.k6.Activity]:!0,[r.k6.ActivityInbox]:!0,[r.k6.ActivityInboxSidebarPrototype]:!0,[r.k6.Huddles]:!0,[r.k6.Today]:!0,[r.k6.SalesHome]:!0,[r.k6.Later]:!0,[r.k6.LaterSidebarPrototype]:!0,[r.k6.UnifiedFiles]:!0,[r.k6.Agents]:!0,[r.k6.SlackKitPlayground]:!0,[r.k6.Assistant]:!0,[r.k6.Todos]:!0,[r.k6.Platform]:!1,[r.k6.Solutions]:!1,[r.k6.SearchSidebarPrototype]:!0}))},0xfc11c981:(e,t,a)=>{"use strict";a.d(t,{a:()=>i});var n=a(0x1cf0d97e1),r=a(0x583896b1);let i=(0,n.Ay)((e,t)=>(0,r.b)(e)[t]??!1);i.meta={name:"getTabRailCustomizationByTabName",key:"createSelectorGetTabRailCustomizationByTabName",description:(e,t)=>(0,r.b)(e)[t]??!1}},0x583896b1:(e,t,a)=>{"use strict";a.d(t,{b:()=>s,h:()=>o});var n=a(0x1ccef1c6f),r=a(0xa4ee9d71),i=a(0x1bc4b3ad8);let o="tab_rail_customization",s=(0,i.F)(e=>(0,n.ty)(e,o)||"{}",r.c,(e,t)=>{let a;try{a=JSON.parse(e)??t}catch{a=t}return{...t,...a}})},0x1af285d2e:(e,t,a)=>{"use strict";a.d(t,{E:()=>u,j:()=>m});var n=a(0xca924ee1),r=a(0xb62e6bf4),i=a(0x10ff57a01),o=a(0x1cf0d97e1),s=a(0x9b971e7e),l=a(0x1d600678),c=a(0x1ccef1c6f);let d=(0,n.A)((e,t)=>Object.values((0,i.p)(e,"display_real_names",t)).includes(!0),(e,t)=>t.toString()),u=(0,o.Ay)(e=>{let t=(0,c.ty)(e,"display_real_names_override");return 1===t||-1!==t&&((0,r.ss)(e)?d(e,(0,s.VO)(e)):!!(0,l.x)(e,"display_real_names"))});u.meta={name:"shouldDisplayRealNames",key:"createSelectorShouldDisplayRealNames",description:e=>{let t=(0,c.ty)(e,"display_real_names_override");return 1===t||-1!==t&&((0,r.ss)(e)?d(e,(0,s.VO)(e)):!!(0,l.x)(e,"display_real_names"))}};let m=(0,o.Ay)(e=>(0,r.ss)(e)?d(e,(0,s.VO)(e)):void 0);m.meta={name:"getDisplayRealNamesUnifiedGridTeamPref",key:"createSelectorGetDisplayRealNamesUnifiedGridTeamPref",description:e=>(0,r.ss)(e)?d(e,(0,s.VO)(e)):void 0}},0x12f41fc32:(e,t,a)=>{"use strict";a.d(t,{AZ:()=>g,Hj:()=>A,Ic:()=>y,cL:()=>E,gO:()=>S,r3:()=>k});var n=a(0x1673f3229),r=a(0xe874a88a),i=a(0x6affae29),o=a(0xcc110d9),s=a(0x2264e6ea3),l=a(0xbc562055),c=a(0x21c50a68b),d=a(0x1ec68d6a3),u=a(0x209e067d1),m=a(0x11d0b0bd1),f=a(0x11c82607b),_=a(0x1ccef1c6f),p=a(0x16bc59f39),h=a(0x20085de45);let g=(0,f.Ay)("Set a pref via the setPref API, updating local prefs optimistically first",(e,t,a)=>{if(!a){let e=Error("setUserPrefByApi called with no payload");return(0,d.default)({getState:t}).error(e),r.S.reject(e)}let{pref:n,value:i,...o}=a;return e((0,h.rX)({pref:n,value:i})),e((0,l.CI)({pref:n,value:i,...o}))});g.meta={name:"setUserPrefByApi",key:"createThunkSetUserPrefByApi",description:"Set a pref via the setPref API, updating local prefs optimistically first"};let A=(0,f.Ay)("Set multiple prefs via the setPref API, updating local prefs optimistically first",(e,t,a={})=>{let n=t(),o=(0,i.ez)(a);if(!o.length)return r.S.reject(Error("No prefs were passed."));let s=Object.fromEntries(o.map(e=>[e,(0,_.ty)(n,e)]));return e((0,h.it)(a)),e((0,l.TZ)(a)).catch(()=>{e((0,h.it)(s))})});A.meta={name:"setMultipleUserPrefsByApi",key:"createThunkSetMultipleUserPrefsByApi",description:"Set multiple prefs via the setPref API, updating local prefs optimistically first"};let b="enterprise_excluded_app_teams",y=(0,f.Ay)("Adds a team to the enterprise_excluded_app_teams pref",async(e,t,{teamId:a}={})=>{if(!(0,s.Ay)(a))return Promise.resolve();let n=t(),r=(0,_.GW)(n);if(r.includes(a))return Promise.resolve();await e(g({pref:b,value:[...r,a].join(",")}))});y.meta={name:"addTeamToEnterpriseExcludeTeamsPref",key:"createThunkAddTeamToEnterpriseExcludeTeamsPref",description:"Adds a team to the enterprise_excluded_app_teams pref"};let S=(0,f.Ay)("Remove a team from the enterprise_excluded_app_teams pref",async(e,t,{teamId:a}={})=>{if(!s.Ay)return r.S.resolve();let i=t(),o=(0,_.GW)(i);if(!o.includes(a))return r.S.resolve();await e(g({pref:b,value:(0,n.A)(o,a).join(",")}))});S.meta={name:"removeTeamFromEnterpriseExcludeTeamsPref",key:"createThunkRemoveTeamFromEnterpriseExcludeTeamsPref",description:"Remove a team from the enterprise_excluded_app_teams pref"};let E=(0,f.Ay)("Remove all teams from the enterprise_excluded_app_teams_pref",async(e,t)=>{let a=t(),n=(0,_.GW)(a);if(!n||!n.length)return Promise.resolve();await e(g({pref:b,value:""}))});E.meta={name:"resetEnterpriseExcludedTeamsPref",key:"createThunkResetEnterpriseExcludedTeamsPref",description:"Remove all teams from the enterprise_excluded_app_teams_pref"};let k=(0,f.Ay)("Set locale for a team, handling pref and infra updates",(e,t,{locale:a,teamId:n}={})=>{r.S.resolve((0,c.xS)(a,n)).then(()=>{e(g({pref:"locale",value:a})).finally(()=>{(0,u.A)()?e((0,p.A)()):(0,m.yQ)({reason:`prefs dialog change: locale -> ${a}`,reasonKey:"prefs_change"})})}),(0,o.n0)("i18n_locale",a,365,"slack.com")});k.meta={name:"setLocaleForTeam",key:"createThunkSetLocaleForTeam",description:"Set locale for a team, handling pref and infra updates"}},0x2487bf97b:(e,t,a)=>{"use strict";a.d(t,{b:()=>r});var n,r=((n={}).ChildWindowHistoryStack="child-window-history-stack",n.ChildWindowMount="child-window-mount",n.ChildWindowNavigation="child-window-navigation",n.ClientBoot="client-boot",n.HistoryStack="history-stack",n.Navigation="navigation",n.TabSwitch="tab-switch",n.RemoveView="remove-view",n)},0x56f7449b:(e,t,a)=>{"use strict";a.d(t,{k:()=>isMainWindowSideEffectPayload,w:()=>r});var n,r=((n={})[n.ACTIVE_TAB_UPDATE=0]="ACTIVE_TAB_UPDATE",n[n.CLIENT_MOUNT=1]="CLIENT_MOUNT",n[n.HISTORY_NAVIGATION=2]="HISTORY_NAVIGATION",n[n.CHILD_WINDOW_HISTORY_NAVIGATION=3]="CHILD_WINDOW_HISTORY_NAVIGATION",n[n.CHILD_WINDOW_MOUNT=4]="CHILD_WINDOW_MOUNT",n[n.CHILD_WINDOW_NAVIGATION=5]="CHILD_WINDOW_NAVIGATION",n[n.NAVIGATION=6]="NAVIGATION",n[n.TEAM_SWITCH=7]="TEAM_SWITCH",n);function isMainWindowSideEffectPayload(e){return!!e.nextTab}},0x1f4d21497:(e,t,a)=>{"use strict";a.d(t,{u:()=>r});var n,r=((n={}).AiAssistant="AiAssistant",n)},0x139aa1a7:(e,t,a)=>{"use strict";a.d(t,{D:()=>i,g:()=>o});var n,r,i=((n={}).AppSpace="AppSpace",n.Quip="Quip",n.ChannelList="ChannelList",n.Channel="Channel",n.BookmarksFolder="BookmarksFolder",n.BrowseApps="BrowseApps",n.BrowseShortcuts="BrowseShortcuts",n.BrowseChannels="BrowseChannels",n.BrowseExternalWorkspace="BrowseExternalWorkspace",n.BrowsePeople="BrowsePeople",n.BrowseUserGroups="BrowseUserGroups",n.BrowseWorkflowsManagedByYou="BrowseWorkflowsManagedByYou",n.BrowseWorkflowTemplates="BrowseWorkflowTemplates",n.BrowseYourWorkflowTemplates="BrowseYourWorkflowTemplates",n.OrgDirectory="OrgDirectory",n.RecentPlatform="RecentPlatform",n.DeletedCanvases="DeletedCanvases",n.SlackConnect="SlackConnect",n.ExternalWorkspaceAllowedOrgPane="ExternalWorkspaceAllowedOrgPane",n.ExternalOrganizations="ExternalOrganizations",n.ExternalOrganization="ExternalOrganization",n.ExternalUserProfile="ExternalUserProfile",n.ExternalPeople="ExternalPeople",n.SlackConnectChannels="SlackConnectChannels",n.SlackConnectInvitations="SlackConnectInvitations",n.DmsList="DmsList",n.BrowseList="BrowseList",n.Page="Page",n.Threads="Threads",n.Thread="Thread",n.Profile="Profile",n.FileDetails="FileDetails",n.ExternalFile="ExternalFile",n.HuddleTranscriptDetails="HuddleTranscriptDetails",n.HuddleInviteWindowWithPreview="HuddleInviteWindowWithPreview",n.Help="Help",n.HelpBrowser="HelpBrowser",n.HelpArticle="HelpArticle",n.HelpArticleBrowser="HelpArticleBrowser",n.Huddle="Huddle",n.HuddlePageCanvas="HuddlePageCanvas",n.UserGroup="UserGroup",n.UserWithMetadataList="UserWithMetadataList",n.KeyboardShortcuts="KeyboardShortcuts",n.KeyboardShortcutsBrowser="KeyboardShortcutsBrowser",n.WhatsNew="WhatsNew",n.WhatsNewBrowser="WhatsNewBrowser",n.Feedback="Feedback",n.FeedbackBrowser="FeedbackBrowser",n.HelpCategory="HelpCategory",n.HelpCategoryBrowser="HelpCategoryBrowser",n.List="List",n.ListRecord="ListRecord",n.WorkObject="WorkObject",n.WorkObjectFilePreview="WorkObjectFilePreview",n.TableauDetails="TableauDetails",n.ListRecordDetails="ListRecordDetails",n.ListRecordThread="ListRecordThread",n.ListRecordHistory="ListRecordHistory",n.ListHistory="ListHistory",n.ActivityList="ActivityList",n.ActivityInbox="ActivityInbox",n.LaterList="LaterList",n.ComposeList="ComposeList",n.Compose="Compose",n.QuipCommentThread="QuipCommentThread",n.QuipCommentStream="QuipCommentStream",n.QuipActivityHistory="QuipActivityHistory",n.QuipAutomationsOverview="QuipAutomationsOverview",n.Canvas="Canvas",n.ChannelCanvas="ChannelCanvas",n.CanvasBrowser="CanvasBrowser",n.PaidBenefits="PaidBenefits",n.Setup="Setup",n.Search="Search",n.SearchEmpty="SearchEmpty",n.ActivityEmpty="ActivityEmpty",n.AboutWorkspace="AboutWorkspace",n.Unknown="Unknown",n.UnifiedFilesSidebar="UnifiedFilesSidebar",n.MorePeopleSidebar="MorePeopleSidebar",n.MoreChannelsSidebar="MoreChannelsSidebar",n.MorePlatformSidebar="MorePlatformSidebar",n.MoreHuddlesSidebar="MoreHuddlesSidebar",n.MoreExternalConnectionsSidebar="MoreExternalConnectionsSidebar",n.AiSummaryDetails="AiSummaryDetails",n.DailyDigest="DailyDigest",n.SearchSummary="SearchSummary",n.AppPopout="AppPopout",n.ExternalWorkspacePeopleBrowser="ExternalWorkspacePeopleBrowser",n.ExternalWorkspaceChannelBrowser="ExternalWorkspaceChannelBrowser",n.DeletedUnifiedFiles="DeletedUnifiedFiles",n.Tasks="Tasks",n.AssignedTasks="AssignedTasks",n.Saved="Saved",n.Reminders="Reminders",n.Today="Today",n.Record="Record",n.RecordChannelCreate="RecordChannelCreate",n.RecordChannelRelatedList="RecordChannelRelatedList",n.RecordRelatedConversationsChannelsList="RecordRelatedConversationsChannelsList",n.RecordRelatedConversationsThreadsList="RecordRelatedConversationsThreadsList",n.SalesAdministration="SalesAdministration",n.SalesHome="SalesHome",n.SalesListViewBrowser="SalesListViewBrowser",n.SalesLogActivity="SalesLogActivity",n.SalesNotifications="SalesNotifications",n.SalesCreateRecord="SalesCreateRecord",n.SalesBulkGrid="SalesBulkGrid",n.SalesEmailView="SalesEmailView",n.SalesSidebar="SalesSidebar",n.ActivityTimelineFeedItemDetails="ActivityTimelineFeedItemDetails",n.SalesAutoSlackLaunchpad="SalesAutoSlackLaunchpad",n.RecordEvents="RecordEvents",n.MyTaskApproval="MyTaskApproval",n.MyApproval="MyApproval",n.BrowseUnifiedFiles="BrowseUnifiedFiles",n.BrowseUnifiedFilesCanvases="BrowseUnifiedFilesCanvases",n.BrowseUnifiedFilesLists="BrowseUnifiedFilesLists",n.AssistantHome="AssistantHome",n.AssistantThread="AssistantThread",n.SlackKitPlayground="SlackKitPlayground",n.Solutions="Solutions",n.Admin="Admin",n.Agents="Agents",n.YourAgents="YourAgents",n.AgentHomeConversation="AgentHomeConversation",n.MoreAgentsSidebar="MoreAgentsSidebar",n.AgentBrowser="AgentBrowser",n.MoreSolutionsSidebar="MoreSolutionsSidebar",n.SolutionsFiltered="SolutionsFiltered",n.BrowseYourSolutions="BrowseYourSolutions",n.BrowseYourCompanySolutions="BrowseYourCompanySolutions",n.AiApp="AiApp",n.AboutAiApp="AboutAiApp",n.WorkflowDetails="WorkflowDetails",n.AppDetails="AppDetails",n.BrowseHuddles="BrowseHuddles",n.WorkflowEditor="WorkflowEditor",n.WorkflowBeingCreated="WorkflowBeingCreated",n.WorkflowTemplateEditor="WorkflowTemplateEditor",n.WorkflowBuilderAgent="WorkflowBuilderAgent",n.ActionItems="ActionItems",n.Inbox="Inbox",n.BBMMain="BBMMain",n.BBMWorkspaceSwitcher="BBMWorkspaceSwitcher",n.SearchInChannel="SearchInChannel",n.BBMMore="BBMMore",n.TodayV2="TodayV2",n.TodayActionItems="TodayActionItems",n.TodayUnreads="TodayUnreads",n.TodayAgenda="TodayAgenda",n.TodayAISearch="TodayAISearch",n.MeetingDetails="MeetingDetails",n.ActivityChannelUnreadsList="ActivityChannelUnreadsList",n.AboutUserGroup="AboutUserGroup",n.AiMessageAnalysis="AiMessageAnalysis",n.BrowseUnifiedFilesExternalResults="BrowseUnifiedFilesExternalResults",n.Sidekicks="Sidekicks",n.SidekickConversation="SidekickConversation",n.MoreSidekicksSidebar="MoreSidekicksSidebar",n.SlackbotAi="SlackbotAi",n.SlackbotAiUpgradePaywall="SlackbotAiUpgradePaywall",n.UnifiedDirectory="UnifiedDirectory",n.ActivitySystemNotification="ActivitySystemNotification",n.ActivityMlResults="ActivityMlResults",n.ActivitySidebarPrototype="ActivitySidebarPrototype",n.LaterSidebarPrototype="LaterSidebarPrototype",n.SearchSidebarPrototype="SearchSidebarPrototype",n.SearchPrimaryPrototype="SearchPrimaryPrototype",n.LinkDetails="LinkDetails",n.SplitEmpty="SplitEmpty",n.TimelineSources="TimelineSources",n),o=((r={}).Search="Search",r)},0x129702595:(e,t,a)=>{"use strict";a.d(t,{$0:()=>A,$J:()=>Z,BR:()=>h,BY:()=>j,Ch:()=>M,DJ:()=>v,Ey:()=>$,F8:()=>p,GE:()=>q,GS:()=>x,Gr:()=>N,HG:()=>d,LU:()=>ee,N7:()=>c,Nc:()=>R,P1:()=>S,Pc:()=>P,R2:()=>f,RO:()=>o,T1:()=>g,VV:()=>i,W5:()=>w,XR:()=>s,Xw:()=>et,YZ:()=>G,ZM:()=>b,Zm:()=>O,_d:()=>T,bI:()=>L,by:()=>l,en:()=>D,fn:()=>V,hr:()=>k,iR:()=>B,j4:()=>n,jH:()=>Q,jy:()=>_,km:()=>X,lI:()=>r,mI:()=>Y,oZ:()=>u,om:()=>J,tC:()=>m,tR:()=>W,u3:()=>ea,ur:()=>E,ve:()=>z,ww:()=>C,x:()=>U,xG:()=>I,yL:()=>F,yj:()=>y,yt:()=>K});let n=.24,r=.5,i=.38,o=.28,s=.3,l=.5,c=180,d=320,u=320,m=220,f=260,_=1e3,p=300,h=300,g=1e3,A=4,b=300,y=550,S=500,E=138,k=4,T=1e3,I=1700,w=896,C=460,v=390,x=48,R=48,O=70,N=60,D=12,L=52,M=76,F=26,P=8,U=16,B=500,G=15;var H,W=((H={}).MANUAL="manual",H.AUTO="auto",H.STICKY="sticky",H);let V=!0,j=!1,K=60,q=48,z=60,$=70,Y=48,Q=450,Z=720,J=720,X=.5,ee=690,et=668,ea=400},0x1848be2bf:(e,t,a)=>{"use strict";a.d(t,{$D:()=>m,OR:()=>l,RC:()=>h,Ts:()=>d,WU:()=>p,gN:()=>c,jG:()=>f,jr:()=>g,jt:()=>s,ke:()=>n,qD:()=>u,r1:()=>o,ts:()=>r,u1:()=>i,vy:()=>_});let n="viewLayoutSidebarWidthIntent",r="viewLayoutSidebarWidthMode",i="viewLayoutSidebarWideWidthIntent",o="viewLayoutSidebarWideWidthMode",s="viewLayoutSidebarExtraWideWidthIntent",l="viewLayoutSidebarExtraWideWidthMode",c="viewLayoutSecondaryWidthIntent",d="viewLayoutSecondaryWidthMode",u="viewLayoutSplitWidthIntent",m="viewLayoutSplitWidthMode",f="viewLayoutIsSidebarVisible",_="viewLayoutIsSplitVisible",p="viewLayoutIsWorkspaceSwitcherVisible",h="viewLayoutCompactModeEnabled",g="viewLayoutLastSidebarWidth"},0xc926e8a6:e=>{e.exports=JSON.parse('[{"name":"Smileys & People","emoji_names":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","kiss","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","brown_heart","black_heart","white_heart","100","anger","boom","dizzy","sweat_drops","dash","hole","bomb","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","man","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","man-frowning","woman-frowning","man-pouting","woman-pouting","man-gesturing-no","woman-gesturing-no","man-gesturing-ok","woman-gesturing-ok","man-tipping-hand","woman-tipping-hand","man-raising-hand","woman-raising-hand","deaf_man","deaf_woman","man-bowing","woman-bowing","man-facepalming","woman-facepalming","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","male-police-officer","female-police-officer","male-detective","female-detective","male-guard","female-guard","ninja","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","man_in_tuxedo","woman_in_tuxedo","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","male_superhero","female_superhero","male_supervillain","female_supervillain","male_mage","female_mage","male_fairy","female_fairy","male_vampire","female_vampire","merman","mermaid","male_elf","female_elf","male_genie","female_genie","male_zombie","female_zombie","troll","man-getting-massage","woman-getting-massage","man-getting-haircut","woman-getting-haircut","man-walking","woman-walking","man_standing","woman_standing","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","men-with-bunny-ears-partying","women-with-bunny-ears-partying","man_in_steamy_room","woman_in_steamy_room","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","man-golfing","woman-golfing","man-surfing","woman-surfing","man-rowing-boat","woman-rowing-boat","man-swimming","woman-swimming","man-bouncing-ball","woman-bouncing-ball","man-lifting-weights","woman-lifting-weights","man-biking","woman-biking","man-mountain-biking","woman-mountain-biking","man-cartwheeling","woman-cartwheeling","man-wrestling","woman-wrestling","man-playing-water-polo","woman-playing-water-polo","man-playing-handball","woman-playing-handball","man-juggling","woman-juggling","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints"]},{"name":"Skin Tones","emoji_names":["skin-tone-2","skin-tone-3","skin-tone-4","skin-tone-5","skin-tone-6"]},{"name":"Animals & Nature","emoji_names":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs"]},{"name":"Food & Drink","emoji_names":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","mushroom","peanuts","beans","chestnut","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{"name":"Travel & Places","emoji_names":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"name":"Activities","emoji_names":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","8ball","crystal_ball","magic_wand","nazar_amulet","hamsa","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{"name":"Objects","emoji_names":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","gun","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","moyai","placard","identification_card"]},{"name":"Symbols","emoji_names":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"name":"Flags","emoji_names":["checkered_flag","triangular_flag_on_post","crossed_flags","waving_black_flag","waving_white_flag","rainbow-flag","transgender_flag","pirate_flag","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","cn","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","de","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-er","es","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","fr","flag-ga","gb","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","it","flag-je","flag-jm","flag-jo","jp","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","kr","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","ru","flag-rw","flag-sa","flag-sb","flag-sc","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","us","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","flag-england","flag-scotland","flag-wales"]}]')},0x1a0e8e731:e=>{e.exports=JSON.parse('[{"name":"Smileys & People","emoji_names":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","shaking_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss","100","anger","boom","dizzy","sweat_drops","dash","hole","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","man","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","man-frowning","woman-frowning","man-pouting","woman-pouting","man-gesturing-no","woman-gesturing-no","man-gesturing-ok","woman-gesturing-ok","man-tipping-hand","woman-tipping-hand","man-raising-hand","woman-raising-hand","deaf_man","deaf_woman","man-bowing","woman-bowing","man-facepalming","woman-facepalming","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","male-police-officer","female-police-officer","male-detective","female-detective","male-guard","female-guard","ninja","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","man_in_tuxedo","woman_in_tuxedo","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","male_superhero","female_superhero","male_supervillain","female_supervillain","male_mage","female_mage","male_fairy","female_fairy","male_vampire","female_vampire","merman","mermaid","male_elf","female_elf","male_genie","female_genie","male_zombie","female_zombie","troll","man-getting-massage","woman-getting-massage","man-getting-haircut","woman-getting-haircut","man-walking","woman-walking","man_standing","woman_standing","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","men-with-bunny-ears-partying","women-with-bunny-ears-partying","man_in_steamy_room","woman_in_steamy_room","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","man-golfing","woman-golfing","man-surfing","woman-surfing","man-rowing-boat","woman-rowing-boat","man-swimming","woman-swimming","man-bouncing-ball","woman-bouncing-ball","man-lifting-weights","woman-lifting-weights","man-biking","woman-biking","man-mountain-biking","woman-mountain-biking","man-cartwheeling","woman-cartwheeling","man-wrestling","woman-wrestling","man-playing-water-polo","woman-playing-water-polo","man-playing-handball","woman-playing-handball","man-juggling","woman-juggling","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints"]},{"name":"Skin Tones","emoji_names":["skin-tone-2","skin-tone-3","skin-tone-4","skin-tone-5","skin-tone-6"]},{"name":"Animals & Nature","emoji_names":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","moose","donkey","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","jellyfish","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs","mushroom"]},{"name":"Food & Drink","emoji_names":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{"name":"Travel & Places","emoji_names":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"name":"Activities","emoji_names":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","gun","8ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{"name":"Objects","emoji_names":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","folding_hand_fan","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","hair_pick","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","maracas","flute","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moyai","placard","identification_card"]},{"name":"Symbols","emoji_names":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"name":"Flags","emoji_names":["checkered_flag","triangular_flag_on_post","crossed_flags","waving_black_flag","waving_white_flag","rainbow-flag","transgender_flag","pirate_flag","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","cn","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","de","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-er","es","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","fr","flag-ga","gb","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","it","flag-je","flag-jm","flag-jo","jp","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","kr","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","ru","flag-rw","flag-sa","flag-sb","flag-sc","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","us","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","flag-england","flag-scotland","flag-wales"]}]')},0x1662692fe:e=>{e.exports=JSON.parse('{"100":{"name":"100","unicode":"1f4af"},"1234":{"name":"1234","unicode":"1f522"},"hash":{"name":"hash","unicode":"0023-fe0f-20e3"},"keycap_star":{"name":"keycap_star","unicode":"002a-fe0f-20e3"},"zero":{"name":"zero","unicode":"0030-fe0f-20e3"},"one":{"name":"one","unicode":"0031-fe0f-20e3"},"two":{"name":"two","unicode":"0032-fe0f-20e3"},"three":{"name":"three","unicode":"0033-fe0f-20e3"},"four":{"name":"four","unicode":"0034-fe0f-20e3"},"five":{"name":"five","unicode":"0035-fe0f-20e3"},"six":{"name":"six","unicode":"0036-fe0f-20e3"},"seven":{"name":"seven","unicode":"0037-fe0f-20e3"},"eight":{"name":"eight","unicode":"0038-fe0f-20e3"},"nine":{"name":"nine","unicode":"0039-fe0f-20e3"},"copyright":{"name":"copyright","unicode":"00a9-fe0f"},"registered":{"name":"registered","unicode":"00ae-fe0f"},"mahjong":{"name":"mahjong","unicode":"1f004"},"black_joker":{"name":"black_joker","unicode":"1f0cf"},"a":{"name":"a","unicode":"1f170-fe0f"},"b":{"name":"b","unicode":"1f171-fe0f"},"o2":{"name":"o2","unicode":"1f17e-fe0f"},"parking":{"name":"parking","unicode":"1f17f-fe0f"},"ab":{"name":"ab","unicode":"1f18e"},"cl":{"name":"cl","unicode":"1f191"},"cool":{"name":"cool","unicode":"1f192"},"free":{"name":"free","unicode":"1f193"},"id":{"name":"id","unicode":"1f194"},"new":{"name":"new","unicode":"1f195"},"ng":{"name":"ng","unicode":"1f196"},"ok":{"name":"ok","unicode":"1f197"},"sos":{"name":"sos","unicode":"1f198"},"up":{"name":"up","unicode":"1f199"},"vs":{"name":"vs","unicode":"1f19a"},"flag-ac":{"name":"flag-ac","unicode":"1f1e6-1f1e8"},"flag-ad":{"name":"flag-ad","unicode":"1f1e6-1f1e9"},"flag-ae":{"name":"flag-ae","unicode":"1f1e6-1f1ea"},"flag-af":{"name":"flag-af","unicode":"1f1e6-1f1eb"},"flag-ag":{"name":"flag-ag","unicode":"1f1e6-1f1ec"},"flag-ai":{"name":"flag-ai","unicode":"1f1e6-1f1ee"},"flag-al":{"name":"flag-al","unicode":"1f1e6-1f1f1"},"flag-am":{"name":"flag-am","unicode":"1f1e6-1f1f2"},"flag-ao":{"name":"flag-ao","unicode":"1f1e6-1f1f4"},"flag-aq":{"name":"flag-aq","unicode":"1f1e6-1f1f6"},"flag-ar":{"name":"flag-ar","unicode":"1f1e6-1f1f7"},"flag-as":{"name":"flag-as","unicode":"1f1e6-1f1f8"},"flag-at":{"name":"flag-at","unicode":"1f1e6-1f1f9"},"flag-au":{"name":"flag-au","unicode":"1f1e6-1f1fa"},"flag-aw":{"name":"flag-aw","unicode":"1f1e6-1f1fc"},"flag-ax":{"name":"flag-ax","unicode":"1f1e6-1f1fd"},"flag-az":{"name":"flag-az","unicode":"1f1e6-1f1ff"},"flag-ba":{"name":"flag-ba","unicode":"1f1e7-1f1e6"},"flag-bb":{"name":"flag-bb","unicode":"1f1e7-1f1e7"},"flag-bd":{"name":"flag-bd","unicode":"1f1e7-1f1e9"},"flag-be":{"name":"flag-be","unicode":"1f1e7-1f1ea"},"flag-bf":{"name":"flag-bf","unicode":"1f1e7-1f1eb"},"flag-bg":{"name":"flag-bg","unicode":"1f1e7-1f1ec"},"flag-bh":{"name":"flag-bh","unicode":"1f1e7-1f1ed"},"flag-bi":{"name":"flag-bi","unicode":"1f1e7-1f1ee"},"flag-bj":{"name":"flag-bj","unicode":"1f1e7-1f1ef"},"flag-bl":{"name":"flag-bl","unicode":"1f1e7-1f1f1"},"flag-bm":{"name":"flag-bm","unicode":"1f1e7-1f1f2"},"flag-bn":{"name":"flag-bn","unicode":"1f1e7-1f1f3"},"flag-bo":{"name":"flag-bo","unicode":"1f1e7-1f1f4"},"flag-bq":{"name":"flag-bq","unicode":"1f1e7-1f1f6"},"flag-br":{"name":"flag-br","unicode":"1f1e7-1f1f7"},"flag-bs":{"name":"flag-bs","unicode":"1f1e7-1f1f8"},"flag-bt":{"name":"flag-bt","unicode":"1f1e7-1f1f9"},"flag-bv":{"name":"flag-bv","unicode":"1f1e7-1f1fb"},"flag-bw":{"name":"flag-bw","unicode":"1f1e7-1f1fc"},"flag-by":{"name":"flag-by","unicode":"1f1e7-1f1fe"},"flag-bz":{"name":"flag-bz","unicode":"1f1e7-1f1ff"},"flag-ca":{"name":"flag-ca","unicode":"1f1e8-1f1e6"},"flag-cc":{"name":"flag-cc","unicode":"1f1e8-1f1e8"},"flag-cd":{"name":"flag-cd","unicode":"1f1e8-1f1e9"},"flag-cf":{"name":"flag-cf","unicode":"1f1e8-1f1eb"},"flag-cg":{"name":"flag-cg","unicode":"1f1e8-1f1ec"},"flag-ch":{"name":"flag-ch","unicode":"1f1e8-1f1ed"},"flag-ci":{"name":"flag-ci","unicode":"1f1e8-1f1ee"},"flag-ck":{"name":"flag-ck","unicode":"1f1e8-1f1f0"},"flag-cl":{"name":"flag-cl","unicode":"1f1e8-1f1f1"},"flag-cm":{"name":"flag-cm","unicode":"1f1e8-1f1f2"},"cn":{"name":"cn","unicode":"1f1e8-1f1f3"},"flag-cn":{"name":"flag-cn","unicode":"1f1e8-1f1f3","aliasOf":"cn"},"flag-co":{"name":"flag-co","unicode":"1f1e8-1f1f4"},"flag-cp":{"name":"flag-cp","unicode":"1f1e8-1f1f5"},"flag-cr":{"name":"flag-cr","unicode":"1f1e8-1f1f7"},"flag-cu":{"name":"flag-cu","unicode":"1f1e8-1f1fa"},"flag-cv":{"name":"flag-cv","unicode":"1f1e8-1f1fb"},"flag-cw":{"name":"flag-cw","unicode":"1f1e8-1f1fc"},"flag-cx":{"name":"flag-cx","unicode":"1f1e8-1f1fd"},"flag-cy":{"name":"flag-cy","unicode":"1f1e8-1f1fe"},"flag-cz":{"name":"flag-cz","unicode":"1f1e8-1f1ff"},"de":{"name":"de","unicode":"1f1e9-1f1ea"},"flag-de":{"name":"flag-de","unicode":"1f1e9-1f1ea","aliasOf":"de"},"flag-dg":{"name":"flag-dg","unicode":"1f1e9-1f1ec"},"flag-dj":{"name":"flag-dj","unicode":"1f1e9-1f1ef"},"flag-dk":{"name":"flag-dk","unicode":"1f1e9-1f1f0"},"flag-dm":{"name":"flag-dm","unicode":"1f1e9-1f1f2"},"flag-do":{"name":"flag-do","unicode":"1f1e9-1f1f4"},"flag-dz":{"name":"flag-dz","unicode":"1f1e9-1f1ff"},"flag-ea":{"name":"flag-ea","unicode":"1f1ea-1f1e6"},"flag-ec":{"name":"flag-ec","unicode":"1f1ea-1f1e8"},"flag-ee":{"name":"flag-ee","unicode":"1f1ea-1f1ea"},"flag-eg":{"name":"flag-eg","unicode":"1f1ea-1f1ec"},"flag-eh":{"name":"flag-eh","unicode":"1f1ea-1f1ed"},"flag-er":{"name":"flag-er","unicode":"1f1ea-1f1f7"},"es":{"name":"es","unicode":"1f1ea-1f1f8"},"flag-es":{"name":"flag-es","unicode":"1f1ea-1f1f8","aliasOf":"es"},"flag-et":{"name":"flag-et","unicode":"1f1ea-1f1f9"},"flag-eu":{"name":"flag-eu","unicode":"1f1ea-1f1fa"},"flag-fi":{"name":"flag-fi","unicode":"1f1eb-1f1ee"},"flag-fj":{"name":"flag-fj","unicode":"1f1eb-1f1ef"},"flag-fk":{"name":"flag-fk","unicode":"1f1eb-1f1f0"},"flag-fm":{"name":"flag-fm","unicode":"1f1eb-1f1f2"},"flag-fo":{"name":"flag-fo","unicode":"1f1eb-1f1f4"},"fr":{"name":"fr","unicode":"1f1eb-1f1f7"},"flag-fr":{"name":"flag-fr","unicode":"1f1eb-1f1f7","aliasOf":"fr"},"flag-ga":{"name":"flag-ga","unicode":"1f1ec-1f1e6"},"gb":{"name":"gb","unicode":"1f1ec-1f1e7"},"uk":{"name":"uk","unicode":"1f1ec-1f1e7","aliasOf":"gb"},"flag-gb":{"name":"flag-gb","unicode":"1f1ec-1f1e7","aliasOf":"gb"},"flag-gd":{"name":"flag-gd","unicode":"1f1ec-1f1e9"},"flag-ge":{"name":"flag-ge","unicode":"1f1ec-1f1ea"},"flag-gf":{"name":"flag-gf","unicode":"1f1ec-1f1eb"},"flag-gg":{"name":"flag-gg","unicode":"1f1ec-1f1ec"},"flag-gh":{"name":"flag-gh","unicode":"1f1ec-1f1ed"},"flag-gi":{"name":"flag-gi","unicode":"1f1ec-1f1ee"},"flag-gl":{"name":"flag-gl","unicode":"1f1ec-1f1f1"},"flag-gm":{"name":"flag-gm","unicode":"1f1ec-1f1f2"},"flag-gn":{"name":"flag-gn","unicode":"1f1ec-1f1f3"},"flag-gp":{"name":"flag-gp","unicode":"1f1ec-1f1f5"},"flag-gq":{"name":"flag-gq","unicode":"1f1ec-1f1f6"},"flag-gr":{"name":"flag-gr","unicode":"1f1ec-1f1f7"},"flag-gs":{"name":"flag-gs","unicode":"1f1ec-1f1f8"},"flag-gt":{"name":"flag-gt","unicode":"1f1ec-1f1f9"},"flag-gu":{"name":"flag-gu","unicode":"1f1ec-1f1fa"},"flag-gw":{"name":"flag-gw","unicode":"1f1ec-1f1fc"},"flag-gy":{"name":"flag-gy","unicode":"1f1ec-1f1fe"},"flag-hk":{"name":"flag-hk","unicode":"1f1ed-1f1f0"},"flag-hm":{"name":"flag-hm","unicode":"1f1ed-1f1f2"},"flag-hn":{"name":"flag-hn","unicode":"1f1ed-1f1f3"},"flag-hr":{"name":"flag-hr","unicode":"1f1ed-1f1f7"},"flag-ht":{"name":"flag-ht","unicode":"1f1ed-1f1f9"},"flag-hu":{"name":"flag-hu","unicode":"1f1ed-1f1fa"},"flag-ic":{"name":"flag-ic","unicode":"1f1ee-1f1e8"},"flag-id":{"name":"flag-id","unicode":"1f1ee-1f1e9"},"flag-ie":{"name":"flag-ie","unicode":"1f1ee-1f1ea"},"flag-il":{"name":"flag-il","unicode":"1f1ee-1f1f1"},"flag-im":{"name":"flag-im","unicode":"1f1ee-1f1f2"},"flag-in":{"name":"flag-in","unicode":"1f1ee-1f1f3"},"flag-io":{"name":"flag-io","unicode":"1f1ee-1f1f4"},"flag-iq":{"name":"flag-iq","unicode":"1f1ee-1f1f6"},"flag-ir":{"name":"flag-ir","unicode":"1f1ee-1f1f7"},"flag-is":{"name":"flag-is","unicode":"1f1ee-1f1f8"},"it":{"name":"it","unicode":"1f1ee-1f1f9"},"flag-it":{"name":"flag-it","unicode":"1f1ee-1f1f9","aliasOf":"it"},"flag-je":{"name":"flag-je","unicode":"1f1ef-1f1ea"},"flag-jm":{"name":"flag-jm","unicode":"1f1ef-1f1f2"},"flag-jo":{"name":"flag-jo","unicode":"1f1ef-1f1f4"},"jp":{"name":"jp","unicode":"1f1ef-1f1f5"},"flag-jp":{"name":"flag-jp","unicode":"1f1ef-1f1f5","aliasOf":"jp"},"flag-ke":{"name":"flag-ke","unicode":"1f1f0-1f1ea"},"flag-kg":{"name":"flag-kg","unicode":"1f1f0-1f1ec"},"flag-kh":{"name":"flag-kh","unicode":"1f1f0-1f1ed"},"flag-ki":{"name":"flag-ki","unicode":"1f1f0-1f1ee"},"flag-km":{"name":"flag-km","unicode":"1f1f0-1f1f2"},"flag-kn":{"name":"flag-kn","unicode":"1f1f0-1f1f3"},"flag-kp":{"name":"flag-kp","unicode":"1f1f0-1f1f5"},"kr":{"name":"kr","unicode":"1f1f0-1f1f7"},"flag-kr":{"name":"flag-kr","unicode":"1f1f0-1f1f7","aliasOf":"kr"},"flag-kw":{"name":"flag-kw","unicode":"1f1f0-1f1fc"},"flag-ky":{"name":"flag-ky","unicode":"1f1f0-1f1fe"},"flag-kz":{"name":"flag-kz","unicode":"1f1f0-1f1ff"},"flag-la":{"name":"flag-la","unicode":"1f1f1-1f1e6"},"flag-lb":{"name":"flag-lb","unicode":"1f1f1-1f1e7"},"flag-lc":{"name":"flag-lc","unicode":"1f1f1-1f1e8"},"flag-li":{"name":"flag-li","unicode":"1f1f1-1f1ee"},"flag-lk":{"name":"flag-lk","unicode":"1f1f1-1f1f0"},"flag-lr":{"name":"flag-lr","unicode":"1f1f1-1f1f7"},"flag-ls":{"name":"flag-ls","unicode":"1f1f1-1f1f8"},"flag-lt":{"name":"flag-lt","unicode":"1f1f1-1f1f9"},"flag-lu":{"name":"flag-lu","unicode":"1f1f1-1f1fa"},"flag-lv":{"name":"flag-lv","unicode":"1f1f1-1f1fb"},"flag-ly":{"name":"flag-ly","unicode":"1f1f1-1f1fe"},"flag-ma":{"name":"flag-ma","unicode":"1f1f2-1f1e6"},"flag-mc":{"name":"flag-mc","unicode":"1f1f2-1f1e8"},"flag-md":{"name":"flag-md","unicode":"1f1f2-1f1e9"},"flag-me":{"name":"flag-me","unicode":"1f1f2-1f1ea"},"flag-mf":{"name":"flag-mf","unicode":"1f1f2-1f1eb"},"flag-mg":{"name":"flag-mg","unicode":"1f1f2-1f1ec"},"flag-mh":{"name":"flag-mh","unicode":"1f1f2-1f1ed"},"flag-mk":{"name":"flag-mk","unicode":"1f1f2-1f1f0"},"flag-ml":{"name":"flag-ml","unicode":"1f1f2-1f1f1"},"flag-mm":{"name":"flag-mm","unicode":"1f1f2-1f1f2"},"flag-mn":{"name":"flag-mn","unicode":"1f1f2-1f1f3"},"flag-mo":{"name":"flag-mo","unicode":"1f1f2-1f1f4"},"flag-mp":{"name":"flag-mp","unicode":"1f1f2-1f1f5"},"flag-mq":{"name":"flag-mq","unicode":"1f1f2-1f1f6"},"flag-mr":{"name":"flag-mr","unicode":"1f1f2-1f1f7"},"flag-ms":{"name":"flag-ms","unicode":"1f1f2-1f1f8"},"flag-mt":{"name":"flag-mt","unicode":"1f1f2-1f1f9"},"flag-mu":{"name":"flag-mu","unicode":"1f1f2-1f1fa"},"flag-mv":{"name":"flag-mv","unicode":"1f1f2-1f1fb"},"flag-mw":{"name":"flag-mw","unicode":"1f1f2-1f1fc"},"flag-mx":{"name":"flag-mx","unicode":"1f1f2-1f1fd"},"flag-my":{"name":"flag-my","unicode":"1f1f2-1f1fe"},"flag-mz":{"name":"flag-mz","unicode":"1f1f2-1f1ff"},"flag-na":{"name":"flag-na","unicode":"1f1f3-1f1e6"},"flag-nc":{"name":"flag-nc","unicode":"1f1f3-1f1e8"},"flag-ne":{"name":"flag-ne","unicode":"1f1f3-1f1ea"},"flag-nf":{"name":"flag-nf","unicode":"1f1f3-1f1eb"},"flag-ng":{"name":"flag-ng","unicode":"1f1f3-1f1ec"},"flag-ni":{"name":"flag-ni","unicode":"1f1f3-1f1ee"},"flag-nl":{"name":"flag-nl","unicode":"1f1f3-1f1f1"},"flag-no":{"name":"flag-no","unicode":"1f1f3-1f1f4"},"flag-np":{"name":"flag-np","unicode":"1f1f3-1f1f5"},"flag-nr":{"name":"flag-nr","unicode":"1f1f3-1f1f7"},"flag-nu":{"name":"flag-nu","unicode":"1f1f3-1f1fa"},"flag-nz":{"name":"flag-nz","unicode":"1f1f3-1f1ff"},"flag-om":{"name":"flag-om","unicode":"1f1f4-1f1f2"},"flag-pa":{"name":"flag-pa","unicode":"1f1f5-1f1e6"},"flag-pe":{"name":"flag-pe","unicode":"1f1f5-1f1ea"},"flag-pf":{"name":"flag-pf","unicode":"1f1f5-1f1eb"},"flag-pg":{"name":"flag-pg","unicode":"1f1f5-1f1ec"},"flag-ph":{"name":"flag-ph","unicode":"1f1f5-1f1ed"},"flag-pk":{"name":"flag-pk","unicode":"1f1f5-1f1f0"},"flag-pl":{"name":"flag-pl","unicode":"1f1f5-1f1f1"},"flag-pm":{"name":"flag-pm","unicode":"1f1f5-1f1f2"},"flag-pn":{"name":"flag-pn","unicode":"1f1f5-1f1f3"},"flag-pr":{"name":"flag-pr","unicode":"1f1f5-1f1f7"},"flag-ps":{"name":"flag-ps","unicode":"1f1f5-1f1f8"},"flag-pt":{"name":"flag-pt","unicode":"1f1f5-1f1f9"},"flag-pw":{"name":"flag-pw","unicode":"1f1f5-1f1fc"},"flag-py":{"name":"flag-py","unicode":"1f1f5-1f1fe"},"flag-qa":{"name":"flag-qa","unicode":"1f1f6-1f1e6"},"flag-re":{"name":"flag-re","unicode":"1f1f7-1f1ea"},"flag-ro":{"name":"flag-ro","unicode":"1f1f7-1f1f4"},"flag-rs":{"name":"flag-rs","unicode":"1f1f7-1f1f8"},"ru":{"name":"ru","unicode":"1f1f7-1f1fa"},"flag-ru":{"name":"flag-ru","unicode":"1f1f7-1f1fa","aliasOf":"ru"},"flag-rw":{"name":"flag-rw","unicode":"1f1f7-1f1fc"},"flag-sa":{"name":"flag-sa","unicode":"1f1f8-1f1e6"},"flag-sb":{"name":"flag-sb","unicode":"1f1f8-1f1e7"},"flag-sc":{"name":"flag-sc","unicode":"1f1f8-1f1e8"},"flag-sd":{"name":"flag-sd","unicode":"1f1f8-1f1e9"},"flag-se":{"name":"flag-se","unicode":"1f1f8-1f1ea"},"flag-sg":{"name":"flag-sg","unicode":"1f1f8-1f1ec"},"flag-sh":{"name":"flag-sh","unicode":"1f1f8-1f1ed"},"flag-si":{"name":"flag-si","unicode":"1f1f8-1f1ee"},"flag-sj":{"name":"flag-sj","unicode":"1f1f8-1f1ef"},"flag-sk":{"name":"flag-sk","unicode":"1f1f8-1f1f0"},"flag-sl":{"name":"flag-sl","unicode":"1f1f8-1f1f1"},"flag-sm":{"name":"flag-sm","unicode":"1f1f8-1f1f2"},"flag-sn":{"name":"flag-sn","unicode":"1f1f8-1f1f3"},"flag-so":{"name":"flag-so","unicode":"1f1f8-1f1f4"},"flag-sr":{"name":"flag-sr","unicode":"1f1f8-1f1f7"},"flag-ss":{"name":"flag-ss","unicode":"1f1f8-1f1f8"},"flag-st":{"name":"flag-st","unicode":"1f1f8-1f1f9"},"flag-sv":{"name":"flag-sv","unicode":"1f1f8-1f1fb"},"flag-sx":{"name":"flag-sx","unicode":"1f1f8-1f1fd"},"flag-sy":{"name":"flag-sy","unicode":"1f1f8-1f1fe"},"flag-sz":{"name":"flag-sz","unicode":"1f1f8-1f1ff"},"flag-ta":{"name":"flag-ta","unicode":"1f1f9-1f1e6"},"flag-tc":{"name":"flag-tc","unicode":"1f1f9-1f1e8"},"flag-td":{"name":"flag-td","unicode":"1f1f9-1f1e9"},"flag-tf":{"name":"flag-tf","unicode":"1f1f9-1f1eb"},"flag-tg":{"name":"flag-tg","unicode":"1f1f9-1f1ec"},"flag-th":{"name":"flag-th","unicode":"1f1f9-1f1ed"},"flag-tj":{"name":"flag-tj","unicode":"1f1f9-1f1ef"},"flag-tk":{"name":"flag-tk","unicode":"1f1f9-1f1f0"},"flag-tl":{"name":"flag-tl","unicode":"1f1f9-1f1f1"},"flag-tm":{"name":"flag-tm","unicode":"1f1f9-1f1f2"},"flag-tn":{"name":"flag-tn","unicode":"1f1f9-1f1f3"},"flag-to":{"name":"flag-to","unicode":"1f1f9-1f1f4"},"flag-tr":{"name":"flag-tr","unicode":"1f1f9-1f1f7"},"flag-tt":{"name":"flag-tt","unicode":"1f1f9-1f1f9"},"flag-tv":{"name":"flag-tv","unicode":"1f1f9-1f1fb"},"flag-tw":{"name":"flag-tw","unicode":"1f1f9-1f1fc"},"flag-tz":{"name":"flag-tz","unicode":"1f1f9-1f1ff"},"flag-ua":{"name":"flag-ua","unicode":"1f1fa-1f1e6"},"flag-ug":{"name":"flag-ug","unicode":"1f1fa-1f1ec"},"flag-um":{"name":"flag-um","unicode":"1f1fa-1f1f2"},"flag-un":{"name":"flag-un","unicode":"1f1fa-1f1f3"},"us":{"name":"us","unicode":"1f1fa-1f1f8"},"flag-us":{"name":"flag-us","unicode":"1f1fa-1f1f8","aliasOf":"us"},"flag-uy":{"name":"flag-uy","unicode":"1f1fa-1f1fe"},"flag-uz":{"name":"flag-uz","unicode":"1f1fa-1f1ff"},"flag-va":{"name":"flag-va","unicode":"1f1fb-1f1e6"},"flag-vc":{"name":"flag-vc","unicode":"1f1fb-1f1e8"},"flag-ve":{"name":"flag-ve","unicode":"1f1fb-1f1ea"},"flag-vg":{"name":"flag-vg","unicode":"1f1fb-1f1ec"},"flag-vi":{"name":"flag-vi","unicode":"1f1fb-1f1ee"},"flag-vn":{"name":"flag-vn","unicode":"1f1fb-1f1f3"},"flag-vu":{"name":"flag-vu","unicode":"1f1fb-1f1fa"},"flag-wf":{"name":"flag-wf","unicode":"1f1fc-1f1eb"},"flag-ws":{"name":"flag-ws","unicode":"1f1fc-1f1f8"},"flag-xk":{"name":"flag-xk","unicode":"1f1fd-1f1f0"},"flag-ye":{"name":"flag-ye","unicode":"1f1fe-1f1ea"},"flag-yt":{"name":"flag-yt","unicode":"1f1fe-1f1f9"},"flag-za":{"name":"flag-za","unicode":"1f1ff-1f1e6"},"flag-zm":{"name":"flag-zm","unicode":"1f1ff-1f1f2"},"flag-zw":{"name":"flag-zw","unicode":"1f1ff-1f1fc"},"koko":{"name":"koko","unicode":"1f201"},"sa":{"name":"sa","unicode":"1f202-fe0f"},"u7121":{"name":"u7121","unicode":"1f21a"},"u6307":{"name":"u6307","unicode":"1f22f"},"u7981":{"name":"u7981","unicode":"1f232"},"u7a7a":{"name":"u7a7a","unicode":"1f233"},"u5408":{"name":"u5408","unicode":"1f234"},"u6e80":{"name":"u6e80","unicode":"1f235"},"u6709":{"name":"u6709","unicode":"1f236"},"u6708":{"name":"u6708","unicode":"1f237-fe0f"},"u7533":{"name":"u7533","unicode":"1f238"},"u5272":{"name":"u5272","unicode":"1f239"},"u55b6":{"name":"u55b6","unicode":"1f23a"},"ideograph_advantage":{"name":"ideograph_advantage","unicode":"1f250"},"accept":{"name":"accept","unicode":"1f251"},"cyclone":{"name":"cyclone","unicode":"1f300"},"foggy":{"name":"foggy","unicode":"1f301"},"closed_umbrella":{"name":"closed_umbrella","unicode":"1f302"},"night_with_stars":{"name":"night_with_stars","unicode":"1f303"},"sunrise_over_mountains":{"name":"sunrise_over_mountains","unicode":"1f304"},"sunrise":{"name":"sunrise","unicode":"1f305"},"city_sunset":{"name":"city_sunset","unicode":"1f306"},"city_sunrise":{"name":"city_sunrise","unicode":"1f307"},"rainbow":{"name":"rainbow","unicode":"1f308"},"bridge_at_night":{"name":"bridge_at_night","unicode":"1f309"},"ocean":{"name":"ocean","unicode":"1f30a"},"volcano":{"name":"volcano","unicode":"1f30b"},"milky_way":{"name":"milky_way","unicode":"1f30c"},"earth_africa":{"name":"earth_africa","unicode":"1f30d"},"earth_americas":{"name":"earth_americas","unicode":"1f30e"},"earth_asia":{"name":"earth_asia","unicode":"1f30f"},"globe_with_meridians":{"name":"globe_with_meridians","unicode":"1f310"},"new_moon":{"name":"new_moon","unicode":"1f311"},"waxing_crescent_moon":{"name":"waxing_crescent_moon","unicode":"1f312"},"first_quarter_moon":{"name":"first_quarter_moon","unicode":"1f313"},"moon":{"name":"moon","unicode":"1f314"},"waxing_gibbous_moon":{"name":"waxing_gibbous_moon","unicode":"1f314","aliasOf":"moon"},"full_moon":{"name":"full_moon","unicode":"1f315"},"waning_gibbous_moon":{"name":"waning_gibbous_moon","unicode":"1f316"},"last_quarter_moon":{"name":"last_quarter_moon","unicode":"1f317"},"waning_crescent_moon":{"name":"waning_crescent_moon","unicode":"1f318"},"crescent_moon":{"name":"crescent_moon","unicode":"1f319"},"new_moon_with_face":{"name":"new_moon_with_face","unicode":"1f31a"},"first_quarter_moon_with_face":{"name":"first_quarter_moon_with_face","unicode":"1f31b"},"last_quarter_moon_with_face":{"name":"last_quarter_moon_with_face","unicode":"1f31c"},"full_moon_with_face":{"name":"full_moon_with_face","unicode":"1f31d"},"sun_with_face":{"name":"sun_with_face","unicode":"1f31e"},"star2":{"name":"star2","unicode":"1f31f"},"stars":{"name":"stars","unicode":"1f320"},"thermometer":{"name":"thermometer","unicode":"1f321-fe0f"},"mostly_sunny":{"name":"mostly_sunny","unicode":"1f324-fe0f"},"sun_small_cloud":{"name":"sun_small_cloud","unicode":"1f324-fe0f","aliasOf":"mostly_sunny"},"barely_sunny":{"name":"barely_sunny","unicode":"1f325-fe0f"},"sun_behind_cloud":{"name":"sun_behind_cloud","unicode":"1f325-fe0f","aliasOf":"barely_sunny"},"partly_sunny_rain":{"name":"partly_sunny_rain","unicode":"1f326-fe0f"},"sun_behind_rain_cloud":{"name":"sun_behind_rain_cloud","unicode":"1f326-fe0f","aliasOf":"partly_sunny_rain"},"rain_cloud":{"name":"rain_cloud","unicode":"1f327-fe0f"},"snow_cloud":{"name":"snow_cloud","unicode":"1f328-fe0f"},"lightning":{"name":"lightning","unicode":"1f329-fe0f"},"lightning_cloud":{"name":"lightning_cloud","unicode":"1f329-fe0f","aliasOf":"lightning"},"tornado":{"name":"tornado","unicode":"1f32a-fe0f"},"tornado_cloud":{"name":"tornado_cloud","unicode":"1f32a-fe0f","aliasOf":"tornado"},"fog":{"name":"fog","unicode":"1f32b-fe0f"},"wind_blowing_face":{"name":"wind_blowing_face","unicode":"1f32c-fe0f"},"hotdog":{"name":"hotdog","unicode":"1f32d"},"taco":{"name":"taco","unicode":"1f32e"},"burrito":{"name":"burrito","unicode":"1f32f"},"chestnut":{"name":"chestnut","unicode":"1f330"},"seedling":{"name":"seedling","unicode":"1f331"},"evergreen_tree":{"name":"evergreen_tree","unicode":"1f332"},"deciduous_tree":{"name":"deciduous_tree","unicode":"1f333"},"palm_tree":{"name":"palm_tree","unicode":"1f334"},"cactus":{"name":"cactus","unicode":"1f335"},"hot_pepper":{"name":"hot_pepper","unicode":"1f336-fe0f"},"tulip":{"name":"tulip","unicode":"1f337"},"cherry_blossom":{"name":"cherry_blossom","unicode":"1f338"},"rose":{"name":"rose","unicode":"1f339"},"hibiscus":{"name":"hibiscus","unicode":"1f33a"},"sunflower":{"name":"sunflower","unicode":"1f33b"},"blossom":{"name":"blossom","unicode":"1f33c"},"corn":{"name":"corn","unicode":"1f33d"},"ear_of_rice":{"name":"ear_of_rice","unicode":"1f33e"},"herb":{"name":"herb","unicode":"1f33f"},"four_leaf_clover":{"name":"four_leaf_clover","unicode":"1f340"},"maple_leaf":{"name":"maple_leaf","unicode":"1f341"},"fallen_leaf":{"name":"fallen_leaf","unicode":"1f342"},"leaves":{"name":"leaves","unicode":"1f343"},"mushroom":{"name":"mushroom","unicode":"1f344"},"tomato":{"name":"tomato","unicode":"1f345"},"eggplant":{"name":"eggplant","unicode":"1f346"},"grapes":{"name":"grapes","unicode":"1f347"},"melon":{"name":"melon","unicode":"1f348"},"watermelon":{"name":"watermelon","unicode":"1f349"},"tangerine":{"name":"tangerine","unicode":"1f34a"},"lemon":{"name":"lemon","unicode":"1f34b"},"banana":{"name":"banana","unicode":"1f34c"},"pineapple":{"name":"pineapple","unicode":"1f34d"},"apple":{"name":"apple","unicode":"1f34e"},"green_apple":{"name":"green_apple","unicode":"1f34f"},"pear":{"name":"pear","unicode":"1f350"},"peach":{"name":"peach","unicode":"1f351"},"cherries":{"name":"cherries","unicode":"1f352"},"strawberry":{"name":"strawberry","unicode":"1f353"},"hamburger":{"name":"hamburger","unicode":"1f354"},"pizza":{"name":"pizza","unicode":"1f355"},"meat_on_bone":{"name":"meat_on_bone","unicode":"1f356"},"poultry_leg":{"name":"poultry_leg","unicode":"1f357"},"rice_cracker":{"name":"rice_cracker","unicode":"1f358"},"rice_ball":{"name":"rice_ball","unicode":"1f359"},"rice":{"name":"rice","unicode":"1f35a"},"curry":{"name":"curry","unicode":"1f35b"},"ramen":{"name":"ramen","unicode":"1f35c"},"spaghetti":{"name":"spaghetti","unicode":"1f35d"},"bread":{"name":"bread","unicode":"1f35e"},"fries":{"name":"fries","unicode":"1f35f"},"sweet_potato":{"name":"sweet_potato","unicode":"1f360"},"dango":{"name":"dango","unicode":"1f361"},"oden":{"name":"oden","unicode":"1f362"},"sushi":{"name":"sushi","unicode":"1f363"},"fried_shrimp":{"name":"fried_shrimp","unicode":"1f364"},"fish_cake":{"name":"fish_cake","unicode":"1f365"},"icecream":{"name":"icecream","unicode":"1f366"},"shaved_ice":{"name":"shaved_ice","unicode":"1f367"},"ice_cream":{"name":"ice_cream","unicode":"1f368"},"doughnut":{"name":"doughnut","unicode":"1f369"},"cookie":{"name":"cookie","unicode":"1f36a"},"chocolate_bar":{"name":"chocolate_bar","unicode":"1f36b"},"candy":{"name":"candy","unicode":"1f36c"},"lollipop":{"name":"lollipop","unicode":"1f36d"},"custard":{"name":"custard","unicode":"1f36e"},"honey_pot":{"name":"honey_pot","unicode":"1f36f"},"cake":{"name":"cake","unicode":"1f370"},"bento":{"name":"bento","unicode":"1f371"},"stew":{"name":"stew","unicode":"1f372"},"fried_egg":{"name":"fried_egg","unicode":"1f373"},"cooking":{"name":"cooking","unicode":"1f373","aliasOf":"fried_egg"},"fork_and_knife":{"name":"fork_and_knife","unicode":"1f374"},"tea":{"name":"tea","unicode":"1f375"},"sake":{"name":"sake","unicode":"1f376"},"wine_glass":{"name":"wine_glass","unicode":"1f377"},"cocktail":{"name":"cocktail","unicode":"1f378"},"tropical_drink":{"name":"tropical_drink","unicode":"1f379"},"beer":{"name":"beer","unicode":"1f37a"},"beers":{"name":"beers","unicode":"1f37b"},"baby_bottle":{"name":"baby_bottle","unicode":"1f37c"},"knife_fork_plate":{"name":"knife_fork_plate","unicode":"1f37d-fe0f"},"champagne":{"name":"champagne","unicode":"1f37e"},"popcorn":{"name":"popcorn","unicode":"1f37f"},"ribbon":{"name":"ribbon","unicode":"1f380"},"gift":{"name":"gift","unicode":"1f381"},"birthday":{"name":"birthday","unicode":"1f382"},"jack_o_lantern":{"name":"jack_o_lantern","unicode":"1f383"},"christmas_tree":{"name":"christmas_tree","unicode":"1f384"},"santa":{"name":"santa","unicode":"1f385","skinVariations":{"2":{"name":"santa::skin-tone-2","unicode":"1f385-1f3fb"},"3":{"name":"santa::skin-tone-3","unicode":"1f385-1f3fc"},"4":{"name":"santa::skin-tone-4","unicode":"1f385-1f3fd"},"5":{"name":"santa::skin-tone-5","unicode":"1f385-1f3fe"},"6":{"name":"santa::skin-tone-6","unicode":"1f385-1f3ff"}}},"fireworks":{"name":"fireworks","unicode":"1f386"},"sparkler":{"name":"sparkler","unicode":"1f387"},"balloon":{"name":"balloon","unicode":"1f388"},"tada":{"name":"tada","unicode":"1f389"},"confetti_ball":{"name":"confetti_ball","unicode":"1f38a"},"tanabata_tree":{"name":"tanabata_tree","unicode":"1f38b"},"crossed_flags":{"name":"crossed_flags","unicode":"1f38c"},"bamboo":{"name":"bamboo","unicode":"1f38d"},"dolls":{"name":"dolls","unicode":"1f38e"},"flags":{"name":"flags","unicode":"1f38f"},"wind_chime":{"name":"wind_chime","unicode":"1f390"},"rice_scene":{"name":"rice_scene","unicode":"1f391"},"school_satchel":{"name":"school_satchel","unicode":"1f392"},"mortar_board":{"name":"mortar_board","unicode":"1f393"},"medal":{"name":"medal","unicode":"1f396-fe0f"},"reminder_ribbon":{"name":"reminder_ribbon","unicode":"1f397-fe0f"},"studio_microphone":{"name":"studio_microphone","unicode":"1f399-fe0f"},"level_slider":{"name":"level_slider","unicode":"1f39a-fe0f"},"control_knobs":{"name":"control_knobs","unicode":"1f39b-fe0f"},"film_frames":{"name":"film_frames","unicode":"1f39e-fe0f"},"admission_tickets":{"name":"admission_tickets","unicode":"1f39f-fe0f"},"carousel_horse":{"name":"carousel_horse","unicode":"1f3a0"},"ferris_wheel":{"name":"ferris_wheel","unicode":"1f3a1"},"roller_coaster":{"name":"roller_coaster","unicode":"1f3a2"},"fishing_pole_and_fish":{"name":"fishing_pole_and_fish","unicode":"1f3a3"},"microphone":{"name":"microphone","unicode":"1f3a4"},"movie_camera":{"name":"movie_camera","unicode":"1f3a5"},"cinema":{"name":"cinema","unicode":"1f3a6"},"headphones":{"name":"headphones","unicode":"1f3a7"},"art":{"name":"art","unicode":"1f3a8"},"tophat":{"name":"tophat","unicode":"1f3a9"},"circus_tent":{"name":"circus_tent","unicode":"1f3aa"},"ticket":{"name":"ticket","unicode":"1f3ab"},"clapper":{"name":"clapper","unicode":"1f3ac"},"performing_arts":{"name":"performing_arts","unicode":"1f3ad"},"video_game":{"name":"video_game","unicode":"1f3ae"},"dart":{"name":"dart","unicode":"1f3af"},"slot_machine":{"name":"slot_machine","unicode":"1f3b0"},"8ball":{"name":"8ball","unicode":"1f3b1"},"game_die":{"name":"game_die","unicode":"1f3b2"},"bowling":{"name":"bowling","unicode":"1f3b3"},"flower_playing_cards":{"name":"flower_playing_cards","unicode":"1f3b4"},"musical_note":{"name":"musical_note","unicode":"1f3b5"},"notes":{"name":"notes","unicode":"1f3b6"},"saxophone":{"name":"saxophone","unicode":"1f3b7"},"guitar":{"name":"guitar","unicode":"1f3b8"},"musical_keyboard":{"name":"musical_keyboard","unicode":"1f3b9"},"trumpet":{"name":"trumpet","unicode":"1f3ba"},"violin":{"name":"violin","unicode":"1f3bb"},"musical_score":{"name":"musical_score","unicode":"1f3bc"},"running_shirt_with_sash":{"name":"running_shirt_with_sash","unicode":"1f3bd"},"tennis":{"name":"tennis","unicode":"1f3be"},"ski":{"name":"ski","unicode":"1f3bf"},"basketball":{"name":"basketball","unicode":"1f3c0"},"checkered_flag":{"name":"checkered_flag","unicode":"1f3c1"},"snowboarder":{"name":"snowboarder","unicode":"1f3c2","skinVariations":{"2":{"name":"snowboarder::skin-tone-2","unicode":"1f3c2-1f3fb"},"3":{"name":"snowboarder::skin-tone-3","unicode":"1f3c2-1f3fc"},"4":{"name":"snowboarder::skin-tone-4","unicode":"1f3c2-1f3fd"},"5":{"name":"snowboarder::skin-tone-5","unicode":"1f3c2-1f3fe"},"6":{"name":"snowboarder::skin-tone-6","unicode":"1f3c2-1f3ff"}}},"woman-running":{"name":"woman-running","unicode":"1f3c3-200d-2640-fe0f","skinVariations":{"2":{"name":"woman-running::skin-tone-2","unicode":"1f3c3-1f3fb-200d-2640-fe0f"},"3":{"name":"woman-running::skin-tone-3","unicode":"1f3c3-1f3fc-200d-2640-fe0f"},"4":{"name":"woman-running::skin-tone-4","unicode":"1f3c3-1f3fd-200d-2640-fe0f"},"5":{"name":"woman-running::skin-tone-5","unicode":"1f3c3-1f3fe-200d-2640-fe0f"},"6":{"name":"woman-running::skin-tone-6","unicode":"1f3c3-1f3ff-200d-2640-fe0f"}}},"man-running":{"name":"man-running","unicode":"1f3c3-200d-2642-fe0f","skinVariations":{"2":{"name":"man-running::skin-tone-2","unicode":"1f3c3-1f3fb-200d-2642-fe0f"},"3":{"name":"man-running::skin-tone-3","unicode":"1f3c3-1f3fc-200d-2642-fe0f"},"4":{"name":"man-running::skin-tone-4","unicode":"1f3c3-1f3fd-200d-2642-fe0f"},"5":{"name":"man-running::skin-tone-5","unicode":"1f3c3-1f3fe-200d-2642-fe0f"},"6":{"name":"man-running::skin-tone-6","unicode":"1f3c3-1f3ff-200d-2642-fe0f"}}},"runner":{"name":"runner","unicode":"1f3c3","skinVariations":{"2":{"name":"runner::skin-tone-2","unicode":"1f3c3-1f3fb"},"3":{"name":"runner::skin-tone-3","unicode":"1f3c3-1f3fc"},"4":{"name":"runner::skin-tone-4","unicode":"1f3c3-1f3fd"},"5":{"name":"runner::skin-tone-5","unicode":"1f3c3-1f3fe"},"6":{"name":"runner::skin-tone-6","unicode":"1f3c3-1f3ff"}}},"running":{"name":"running","unicode":"1f3c3","aliasOf":"runner","skinVariations":{"2":{"name":"running::skin-tone-2","unicode":"1f3c3-1f3fb"},"3":{"name":"running::skin-tone-3","unicode":"1f3c3-1f3fc"},"4":{"name":"running::skin-tone-4","unicode":"1f3c3-1f3fd"},"5":{"name":"running::skin-tone-5","unicode":"1f3c3-1f3fe"},"6":{"name":"running::skin-tone-6","unicode":"1f3c3-1f3ff"}}},"woman-surfing":{"name":"woman-surfing","unicode":"1f3c4-200d-2640-fe0f","skinVariations":{"2":{"name":"woman-surfing::skin-tone-2","unicode":"1f3c4-1f3fb-200d-2640-fe0f"},"3":{"name":"woman-surfing::skin-tone-3","unicode":"1f3c4-1f3fc-200d-2640-fe0f"},"4":{"name":"woman-surfing::skin-tone-4","unicode":"1f3c4-1f3fd-200d-2640-fe0f"},"5":{"name":"woman-surfing::skin-tone-5","unicode":"1f3c4-1f3fe-200d-2640-fe0f"},"6":{"name":"woman-surfing::skin-tone-6","unicode":"1f3c4-1f3ff-200d-2640-fe0f"}}},"man-surfing":{"name":"man-surfing","unicode":"1f3c4-200d-2642-fe0f","skinVariations":{"2":{"name":"man-surfing::skin-tone-2","unicode":"1f3c4-1f3fb-200d-2642-fe0f"},"3":{"name":"man-surfing::skin-tone-3","unicode":"1f3c4-1f3fc-200d-2642-fe0f"},"4":{"name":"man-surfing::skin-tone-4","unicode":"1f3c4-1f3fd-200d-2642-fe0f"},"5":{"name":"man-surfing::skin-tone-5","unicode":"1f3c4-1f3fe-200d-2642-fe0f"},"6":{"name":"man-surfing::skin-tone-6","unicode":"1f3c4-1f3ff-200d-2642-fe0f"}}},"surfer":{"name":"surfer","unicode":"1f3c4","skinVariations":{"2":{"name":"surfer::skin-tone-2","unicode":"1f3c4-1f3fb"},"3":{"name":"surfer::skin-tone-3","unicode":"1f3c4-1f3fc"},"4":{"name":"surfer::skin-tone-4","unicode":"1f3c4-1f3fd"},"5":{"name":"surfer::skin-tone-5","unicode":"1f3c4-1f3fe"},"6":{"name":"surfer::skin-tone-6","unicode":"1f3c4-1f3ff"}}},"sports_medal":{"name":"sports_medal","unicode":"1f3c5"},"trophy":{"name":"trophy","unicode":"1f3c6"},"horse_racing":{"name":"horse_racing","unicode":"1f3c7","skinVariations":{"2":{"name":"horse_racing::skin-tone-2","unicode":"1f3c7-1f3fb"},"3":{"name":"horse_racing::skin-tone-3","unicode":"1f3c7-1f3fc"},"4":{"name":"horse_racing::skin-tone-4","unicode":"1f3c7-1f3fd"},"5":{"name":"horse_racing::skin-tone-5","unicode":"1f3c7-1f3fe"},"6":{"name":"horse_racing::skin-tone-6","unicode":"1f3c7-1f3ff"}}},"football":{"name":"football","unicode":"1f3c8"},"rugby_football":{"name":"rugby_football","unicode":"1f3c9"},"woman-swimming":{"name":"woman-swimming","unicode":"1f3ca-200d-2640-fe0f","skinVariations":{"2":{"name":"woman-swimming::skin-tone-2","unicode":"1f3ca-1f3fb-200d-2640-fe0f"},"3":{"name":"woman-swimming::skin-tone-3","unicode":"1f3ca-1f3fc-200d-2640-fe0f"},"4":{"name":"woman-swimming::skin-tone-4","unicode":"1f3ca-1f3fd-200d-2640-fe0f"},"5":{"name":"woman-swimming::skin-tone-5","unicode":"1f3ca-1f3fe-200d-2640-fe0f"},"6":{"name":"woman-swimming::skin-tone-6","unicode":"1f3ca-1f3ff-200d-2640-fe0f"}}},"man-swimming":{"name":"man-swimming","unicode":"1f3ca-200d-2642-fe0f","skinVariations":{"2":{"name":"man-swimming::skin-tone-2","unicode":"1f3ca-1f3fb-200d-2642-fe0f"},"3":{"name":"man-swimming::skin-tone-3","unicode":"1f3ca-1f3fc-200d-2642-fe0f"},"4":{"name":"man-swimming::skin-tone-4","unicode":"1f3ca-1f3fd-200d-2642-fe0f"},"5":{"name":"man-swimming::skin-tone-5","unicode":"1f3ca-1f3fe-200d-2642-fe0f"},"6":{"name":"man-swimming::skin-tone-6","unicode":"1f3ca-1f3ff-200d-2642-fe0f"}}},"swimmer":{"name":"swimmer","unicode":"1f3ca","skinVariations":{"2":{"name":"swimmer::skin-tone-2","unicode":"1f3ca-1f3fb"},"3":{"name":"swimmer::skin-tone-3","unicode":"1f3ca-1f3fc"},"4":{"name":"swimmer::skin-tone-4","unicode":"1f3ca-1f3fd"},"5":{"name":"swimmer::skin-tone-5","unicode":"1f3ca-1f3fe"},"6":{"name":"swimmer::skin-tone-6","unicode":"1f3ca-1f3ff"}}},"woman-lifting-weights":{"name":"woman-lifting-weights","unicode":"1f3cb-fe0f-200d-2640-fe0f","skinVariations":{"2":{"name":"woman-lifting-weights::skin-tone-2","unicode":"1f3cb-1f3fb-200d-2640-fe0f"},"3":{"name":"woman-lifting-weights::skin-tone-3","unicode":"1f3cb-1f3fc-200d-2640-fe0f"},"4":{"name":"woman-lifting-weights::skin-tone-4","unicode":"1f3cb-1f3fd-200d-2640-fe0f"},"5":{"name":"woman-lifting-weights::skin-tone-5","unicode":"1f3cb-1f3fe-200d-2640-fe0f"},"6":{"name":"woman-lifting-weights::skin-tone-6","unicode":"1f3cb-1f3ff-200d-2640-fe0f"}}},"man-lifting-weights":{"name":"man-lifting-weights","unicode":"1f3cb-fe0f-200d-2642-fe0f","skinVariations":{"2":{"name":"man-lifting-weights::skin-tone-2","unicode":"1f3cb-1f3fb-200d-2642-fe0f"},"3":{"name":"man-lifting-weights::skin-tone-3","unicode":"1f3cb-1f3fc-200d-2642-fe0f"},"4":{"name":"man-lifting-weights::skin-tone-4","unicode":"1f3cb-1f3fd-200d-2642-fe0f"},"5":{"name":"man-lifting-weights::skin-tone-5","unicode":"1f3cb-1f3fe-200d-2642-fe0f"},"6":{"name":"man-lifting-weights::skin-tone-6","unicode":"1f3cb-1f3ff-200d-2642-fe0f"}}},"weight_lifter":{"name":"weight_lifter","unicode":"1f3cb-fe0f","skinVariations":{"2":{"name":"weight_lifter::skin-tone-2","unicode":"1f3cb-1f3fb"},"3":{"name":"weight_lifter::skin-tone-3","unicode":"1f3cb-1f3fc"},"4":{"name":"weight_lifter::skin-tone-4","unicode":"1f3cb-1f3fd"},"5":{"name":"weight_lifter::skin-tone-5","unicode":"1f3cb-1f3fe"},"6":{"name":"weight_lifter::skin-tone-6","unicode":"1f3cb-1f3ff"}}},"woman-golfing":{"name":"woman-golfing","unicode":"1f3cc-fe0f-200d-2640-fe0f","skinVariations":{"2":{"name":"woman-golfing::skin-tone-2","unicode":"1f3cc-1f3fb-200d-2640-fe0f"},"3":{"name":"woman-golfing::skin-tone-3","unicode":"1f3cc-1f3fc-200d-2640-fe0f"},"4":{"name":"woman-golfing::skin-tone-4","unicode":"1f3cc-1f3fd-200d-2640-fe0f"},"5":{"name":"woman-golfing::skin-tone-5","unicode":"1f3cc-1f3fe-200d-2640-fe0f"},"6":{"name":"woman-golfing::skin-tone-6","unicode":"1f3cc-1f3ff-200d-2640-fe0f"}}},"man-golfing":{"name":"man-golfing","unicode":"1f3cc-fe0f-200d-2642-fe0f","skinVariations":{"2":{"name":"man-golfing::skin-tone-2","unicode":"1f3cc-1f3fb-200d-2642-fe0f"},"3":{"name":"man-golfing::skin-tone-3","unicode":"1f3cc-1f3fc-200d-2642-fe0f"},"4":{"name":"man-golfing::skin-tone-4","unicode":"1f3cc-1f3fd-200d-2642-fe0f"},"5":{"name":"man-golfing::skin-tone-5","unicode":"1f3cc-1f3fe-200d-2642-fe0f"},"6":{"name":"man-golfing::skin-tone-6","unicode":"1f3cc-1f3ff-200d-2642-fe0f"}}},"golfer":{"name":"golfer","unicode":"1f3cc-fe0f","skinVariations":{"2":{"name":"golfer::skin-tone-2","unicode":"1f3cc-1f3fb"},"3":{"name":"golfer::skin-tone-3","unicode":"1f3cc-1f3fc"},"4":{"name":"golfer::skin-tone-4","unicode":"1f3cc-1f3fd"},"5":{"name":"golfer::skin-tone-5","unicode":"1f3cc-1f3fe"},"6":{"name":"golfer::skin-tone-6","unicode":"1f3cc-1f3ff"}}},"racing_motorcycle":{"name":"racing_motorcycle","unicode":"1f3cd-fe0f"},"racing_car":{"name":"racing_car","unicode":"1f3ce-fe0f"},"cricket_bat_and_ball":{"name":"cricket_bat_and_ball","unicode":"1f3cf"},"volleyball":{"name":"volleyball","unicode":"1f3d0"},"field_hockey_stick_and_ball":{"name":"field_hockey_stick_and_ball","unicode":"1f3d1"},"ice_hockey_stick_and_puck":{"name":"ice_hockey_stick_and_puck","unicode":"1f3d2"},"table_tennis_paddle_and_ball":{"name":"table_tennis_paddle_and_ball","unicode":"1f3d3"},"snow_capped_mountain":{"name":"snow_capped_mountain","unicode":"1f3d4-fe0f"},"camping":{"name":"camping","unicode":"1f3d5-fe0f"},"beach_with_umbrella":{"name":"beach_with_umbrella","unicode":"1f3d6-fe0f"},"building_construction":{"name":"building_construction","unicode":"1f3d7-fe0f"},"house_buildings":{"name":"house_buildings","unicode":"1f3d8-fe0f"},"cityscape":{"name":"cityscape","unicode":"1f3d9-fe0f"},"derelict_house_building":{"name":"derelict_house_building","unicode":"1f3da-fe0f"},"classical_building":{"name":"classical_building","unicode":"1f3db-fe0f"},"desert":{"name":"desert","unicode":"1f3dc-fe0f"},"desert_island":{"name":"desert_island","unicode":"1f3dd-fe0f"},"national_park":{"name":"national_park","unicode":"1f3de-fe0f"},"stadium":{"name":"stadium","unicode":"1f3df-fe0f"},"house":{"name":"house","unicode":"1f3e0"},"house_with_garden":{"name":"house_with_garden","unicode":"1f3e1"},"office":{"name":"office","unicode":"1f3e2"},"post_office":{"name":"post_office","unicode":"1f3e3"},"european_post_office":{"name":"european_post_office","unicode":"1f3e4"},"hospital":{"name":"hospital","unicode":"1f3e5"},"bank":{"name":"bank","unicode":"1f3e6"},"atm":{"name":"atm","unicode":"1f3e7"},"hotel":{"name":"hotel","unicode":"1f3e8"},"love_hotel":{"name":"love_hotel","unicode":"1f3e9"},"convenience_store":{"name":"convenience_store","unicode":"1f3ea"},"school":{"name":"school","unicode":"1f3eb"},"department_store":{"name":"department_store","unicode":"1f3ec"},"factory":{"name":"factory","unicode":"1f3ed"},"izakaya_lantern":{"name":"izakaya_lantern","unicode":"1f3ee"},"lantern":{"name":"lantern","unicode":"1f3ee","aliasOf":"izakaya_lantern"},"japanese_castle":{"name":"japanese_castle","unicode":"1f3ef"},"european_castle":{"name":"european_castle","unicode":"1f3f0"},"rainbow-flag":{"name":"rainbow-flag","unicode":"1f3f3-fe0f-200d-1f308"},"transgender_flag":{"name":"transgender_flag","unicode":"1f3f3-fe0f-200d-26a7-fe0f"},"waving_white_flag":{"name":"waving_white_flag","unicode":"1f3f3-fe0f"},"pirate_flag":{"name":"pirate_flag","unicode":"1f3f4-200d-2620-fe0f"},"flag-england":{"name":"flag-england","unicode":"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f"},"flag-scotland":{"name":"flag-scotland","unicode":"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f"},"flag-wales":{"name":"flag-wales","unicode":"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f"},"waving_black_flag":{"name":"waving_black_flag","unicode":"1f3f4"},"rosette":{"name":"rosette","unicode":"1f3f5-fe0f"},"label":{"name":"label","unicode":"1f3f7-fe0f"},"badminton_racquet_and_shuttlecock":{"name":"badminton_racquet_and_shuttlecock","unicode":"1f3f8"},"bow_and_arrow":{"name":"bow_and_arrow","unicode":"1f3f9"},"amphora":{"name":"amphora","unicode":"1f3fa"},"skin-tone-2":{"name":"skin-tone-2","unicode":"1f3fb"},"skin-tone-3":{"name":"skin-tone-3","unicode":"1f3fc"},"skin-tone-4":{"name":"skin-tone-4","unicode":"1f3fd"},"skin-tone-5":{"name":"skin-tone-5","unicode":"1f3fe"},"skin-tone-6":{"name":"skin-tone-6","unicode":"1f3ff"},"rat":{"name":"rat","unicode":"1f400"},"mouse2":{"name":"mouse2","unicode":"1f401"},"ox":{"name":"ox","unicode":"1f402"},"water_buffalo":{"name":"water_buffalo","unicode":"1f403"},"cow2":{"name":"cow2","unicode":"1f404"},"tiger2":{"name":"tiger2","unicode":"1f405"},"leopard":{"name":"leopard","unicode":"1f406"},"rabbit2":{"name":"rabbit2","unicode":"1f407"},"black_cat":{"name":"black_cat","unicode":"1f408-200d-2b1b"},"cat2":{"name":"cat2","unicode":"1f408"},"dragon":{"name":"dragon","unicode":"1f409"},"crocodile":{"name":"crocodile","unicode":"1f40a"},"whale2":{"name":"whale2","unicode":"1f40b"},"snail":{"name":"snail","unicode":"1f40c"},"snake":{"name":"snake","unicode":"1f40d"},"racehorse":{"name":"racehorse","unicode":"1f40e"},"ram":{"name":"ram","unicode":"1f40f"},"goat":{"name":"goat","unicode":"1f410"},"sheep":{"name":"sheep","unicode":"1f411"},"monkey":{"name":"monkey","unicode":"1f412"},"rooster":{"name":"rooster","unicode":"1f413"},"chicken":{"name":"chicken","unicode":"1f414"},"service_dog":{"name":"service_dog","unicode":"1f415-200d-1f9ba"},"dog2":{"name":"dog2","unicode":"1f415"},"pig2":{"name":"pig2","unicode":"1f416"},"boar":{"name":"boar","unicode":"1f417"},"elephant":{"name":"elephant","unicode":"1f418"},"octopus":{"name":"octopus","unicode":"1f419"},"shell":{"name":"shell","unicode":"1f41a"},"bug":{"name":"bug","unicode":"1f41b"},"ant":{"name":"ant","unicode":"1f41c"},"bee":{"name":"bee","unicode":"1f41d"},"honeybee":{"name":"honeybee","unicode":"1f41d","aliasOf":"bee"},"ladybug":{"name":"ladybug","unicode":"1f41e"},"lady_beetle":{"name":"lady_beetle","unicode":"1f41e","aliasOf":"ladybug"},"fish":{"name":"fish","unicode":"1f41f"},"tropical_fish":{"name":"tropical_fish","unicode":"1f420"},"blowfish":{"name":"blowfish","unicode":"1f421"},"turtle":{"name":"turtle","unicode":"1f422"},"hatching_chick":{"name":"hatching_chick","unicode":"1f423"},"baby_chick":{"name":"baby_chick","unicode":"1f424"},"hatched_chick":{"name":"hatched_chick","unicode":"1f425"},"bird":{"name":"bird","unicode":"1f426"},"penguin":{"name":"penguin","unicode":"1f427"},"koala":{"name":"koala","unicode":"1f428"},"poodle":{"name":"poodle","unicode":"1f429"},"dromedary_camel":{"name":"dromedary_camel","unicode":"1f42a"},"camel":{"name":"camel","unicode":"1f42b"},"dolphin":{"name":"dolphin","unicode":"1f42c"},"flipper":{"name":"flipper","unicode":"1f42c","aliasOf":"dolphin"},"mouse":{"name":"mouse","unicode":"1f42d"},"cow":{"name":"cow","unicode":"1f42e"},"tiger":{"name":"tiger","unicode":"1f42f"},"rabbit":{"name":"rabbit","unicode":"1f430"},"cat":{"name":"cat","unicode":"1f431"},"dragon_face":{"name":"dragon_face","unicode":"1f432"},"whale":{"name":"whale","unicode":"1f433"},"horse":{"name":"horse","unicode":"1f434"},"monkey_face":{"name":"monkey_face","unicode":"1f435"},"dog":{"name":"dog","unicode":"1f436"},"pig":{"name":"pig","unicode":"1f437"},"frog":{"name":"frog","unicode":"1f438"},"hamster":{"name":"hamster","unicode":"1f439"},"wolf":{"name":"wolf","unicode":"1f43a"},"polar_bear":{"name":"polar_bear","unicode":"1f43b-200d-2744-fe0f"},"bear":{"name":"bear","unicode":"1f43b"},"panda_face":{"name":"panda_face","unicode":"1f43c"},"pig_nose":{"name":"pig_nose","unicode":"1f43d"},"feet":{"name":"feet","unicode":"1f43e"},"paw_prints":{"name":"paw_prints","unicode":"1f43e","aliasOf":"feet"},"chipmunk":{"name":"chipmunk","unicode":"1f43f-fe0f"},"eyes":{"name":"eyes","unicode":"1f440"},"eye-in-speech-bubble":{"name":"eye-in-speech-bubble","unicode":"1f441-fe0f-200d-1f5e8-fe0f"},"eye":{"name":"eye","unicode":"1f441-fe0f"},"ear":{"name":"ear","unicode":"1f442","skinVariations":{"2":{"name":"ear::skin-tone-2","unicode":"1f442-1f3fb"},"3":{"name":"ear::skin-tone-3","unicode":"1f442-1f3fc"},"4":{"name":"ear::skin-tone-4","unicode":"1f442-1f3fd"},"5":{"name":"ear::skin-tone-5","unicode":"1f442-1f3fe"},"6":{"name":"ear::skin-tone-6","unicode":"1f442-1f3ff"}}},"nose":{"name":"nose","unicode":"1f443","skinVariations":{"2":{"name":"nose::skin-tone-2","unicode":"1f443-1f3fb"},"3":{"name":"nose::skin-tone-3","unicode":"1f443-1f3fc"},"4":{"name":"nose::skin-tone-4","unicode":"1f443-1f3fd"},"5":{"name":"nose::skin-tone-5","unicode":"1f443-1f3fe"},"6":{"name":"nose::skin-tone-6","unicode":"1f443-1f3ff"}}},"lips":{"name":"lips","unicode":"1f444"},"tongue":{"name":"tongue","unicode":"1f445"},"point_up_2":{"name":"point_up_2","unicode":"1f446","skinVariations":{"2":{"name":"point_up_2::skin-tone-2","unicode":"1f446-1f3fb"},"3":{"name":"point_up_2::skin-tone-3","unicode":"1f446-1f3fc"},"4":{"name":"point_up_2::skin-tone-4","unicode":"1f446-1f3fd"},"5":{"name":"point_up_2::skin-tone-5","unicode":"1f446-1f3fe"},"6":{"name":"point_up_2::skin-tone-6","unicode":"1f446-1f3ff"}}},"point_down":{"name":"point_down","unicode":"1f447","skinVariations":{"2":{"name":"point_down::skin-tone-2","unicode":"1f447-1f3fb"},"3":{"name":"point_down::skin-tone-3","unicode":"1f447-1f3fc"},"4":{"name":"point_down::skin-tone-4","unicode":"1f447-1f3fd"},"5":{"name":"point_down::skin-tone-5","unicode":"1f447-1f3fe"},"6":{"name":"point_down::skin-tone-6","unicode":"1f447-1f3ff"}}},"point_left":{"name":"point_left","unicode":"1f448","skinVariations":{"2":{"name":"point_left::skin-tone-2","unicode":"1f448-1f3fb"},"3":{"name":"point_left::skin-tone-3","unicode":"1f448-1f3fc"},"4":{"name":"point_left::skin-tone-4","unicode":"1f448-1f3fd"},"5":{"name":"point_left::skin-tone-5","unicode":"1f448-1f3fe"},"6":{"name":"point_left::skin-tone-6","unicode":"1f448-1f3ff"}}},"point_right":{"name":"point_right","unicode":"1f449","skinVariations":{"2":{"name":"point_right::skin-tone-2","unicode":"1f449-1f3fb"},"3":{"name":"point_right::skin-tone-3","unicode":"1f449-1f3fc"},"4":{"name":"point_right::skin-tone-4","unicode":"1f449-1f3fd"},"5":{"name":"point_right::skin-tone-5","unicode":"1f449-1f3fe"},"6":{"name":"point_right::skin-tone-6","unicode":"1f449-1f3ff"}}},"facepunch":{"name":"facepunch","unicode":"1f44a","skinVariations":{"2":{"name":"facepunch::skin-tone-2","unicode":"1f44a-1f3fb"},"3":{"name":"facepunch::skin-tone-3","unicode":"1f44a-1f3fc"},"4":{"name":"facepunch::skin-tone-4","unicode":"1f44a-1f3fd"},"5":{"name":"facepunch::skin-tone-5","unicode":"1f44a-1f3fe"},"6":{"name":"facepunch::skin-tone-6","unicode":"1f44a-1f3ff"}}},"punch":{"name":"punch","unicode":"1f44a","aliasOf":"facepunch","skinVariations":{"2":{"name":"punch::skin-tone-2","unicode":"1f44a-1f3fb"},"3":{"name":"punch::skin-tone-3","unicode":"1f44a-1f3fc"},"4":{"name":"punch::skin-tone-4","unicode":"1f44a-1f3fd"},"5":{"name":"punch::skin-tone-5","unicode":"1f44a-1f3fe"},"6":{"name":"punch::skin-tone-6","unicode":"1f44a-1f3ff"}}},"wave":{"name":"wave","unicode":"1f44b","skinVariations":{"2":{"name":"wave::skin-tone-2","unicode":"1f44b-1f3fb"},"3":{"name":"wave::skin-tone-3","unicode":"1f44b-1f3fc"},"4":{"name":"wave::skin-tone-4","unicode":"1f44b-1f3fd"},"5":{"name":"wave::skin-tone-5","unicode":"1f44b-1f3fe"},"6":{"name":"wave::skin-tone-6","unicode":"1f44b-1f3ff"}}},"ok_hand":{"name":"ok_hand","unicode":"1f44c","skinVariations":{"2":{"name":"ok_hand::skin-tone-2","unicode":"1f44c-1f3fb"},"3":{"name":"ok_hand::skin-tone-3","unicode":"1f44c-1f3fc"},"4":{"name":"ok_hand::skin-tone-4","unicode":"1f44c-1f3fd"},"5":{"name":"ok_hand::skin-tone-5","unicode":"1f44c-1f3fe"},"6":{"name":"ok_hand::skin-tone-6","unicode":"1f44c-1f3ff"}}},"+1":{"name":"+1","unicode":"1f44d","skinVariations":{"2":{"name":"+1::skin-tone-2","unicode":"1f44d-1f3fb"},"3":{"name":"+1::skin-tone-3","unicode":"1f44d-1f3fc"},"4":{"name":"+1::skin-tone-4","unicode":"1f44d-1f3fd"},"5":{"name":"+1::skin-tone-5","unicode":"1f44d-1f3fe"},"6":{"name":"+1::skin-tone-6","unicode":"1f44d-1f3ff"}}},"thumbsup":{"name":"thumbsup","unicode":"1f44d","aliasOf":"+1","skinVariations":{"2":{"name":"thumbsup::skin-tone-2","unicode":"1f44d-1f3fb"},"3":{"name":"thumbsup::skin-tone-3","unicode":"1f44d-1f3fc"},"4":{"name":"thumbsup::skin-tone-4","unicode":"1f44d-1f3fd"},"5":{"name":"thumbsup::skin-tone-5","unicode":"1f44d-1f3fe"},"6":{"name":"thumbsup::skin-tone-6","unicode":"1f44d-1f3ff"}}},"-1":{"name":"-1","unicode":"1f44e","skinVariations":{"2":{"name":"-1::skin-tone-2","unicode":"1f44e-1f3fb"},"3":{"name":"-1::skin-tone-3","unicode":"1f44e-1f3fc"},"4":{"name":"-1::skin-tone-4","unicode":"1f44e-1f3fd"},"5":{"name":"-1::skin-tone-5","unicode":"1f44e-1f3fe"},"6":{"name":"-1::skin-tone-6","unicode":"1f44e-1f3ff"}}},"thumbsdown":{"name":"thumbsdown","unicode":"1f44e","aliasOf":"-1","skinVariations":{"2":{"name":"thumbsdown::skin-tone-2","unicode":"1f44e-1f3fb"},"3":{"name":"thumbsdown::skin-tone-3","unicode":"1f44e-1f3fc"},"4":{"name":"thumbsdown::skin-tone-4","unicode":"1f44e-1f3fd"},"5":{"name":"thumbsdown::skin-tone-5","unicode":"1f44e-1f3fe"},"6":{"name":"thumbsdown::skin-tone-6","unicode":"1f44e-1f3ff"}}},"clap":{"name":"clap","unicode":"1f44f","skinVariations":{"2":{"name":"clap::skin-tone-2","unicode":"1f44f-1f3fb"},"3":{"name":"clap::skin-tone-3","unicode":"1f44f-1f3fc"},"4":{"name":"clap::skin-tone-4","unicode":"1f44f-1f3fd"},"5":{"name":"clap::skin-tone-5","unicode":"1f44f-1f3fe"},"6":{"name":"clap::skin-tone-6","unicode":"1f44f-1f3ff"}}},"open_hands":{"name":"open_hands","unicode":"1f450","skinVariations":{"2":{"name":"open_hands::skin-tone-2","unicode":"1f450-1f3fb"},"3":{"name":"open_hands::skin-tone-3","unicode":"1f450-1f3fc"},"4":{"name":"open_hands::skin-tone-4","unicode":"1f450-1f3fd"},"5":{"name":"open_hands::skin-tone-5","unicode":"1f450-1f3fe"},"6":{"name":"open_hands::skin-tone-6","unicode":"1f450-1f3ff"}}},"crown":{"name":"crown","unicode":"1f451"},"womans_hat":{"name":"womans_hat","unicode":"1f452"},"eyeglasses":{"name":"eyeglasses","unicode":"1f453"},"necktie":{"name":"necktie","unicode":"1f454"},"shirt":{"name":"shirt","unicode":"1f455"},"tshirt":{"name":"tshirt","unicode":"1f455","aliasOf":"shirt"},"jeans":{"name":"jeans","unicode":"1f456"},"dress":{"name":"dress","unicode":"1f457"},"kimono":{"name":"kimono","unicode":"1f458"},"bikini":{"name":"bikini","unicode":"1f459"},"womans_clothes":{"name":"womans_clothes","unicode":"1f45a"},"purse":{"name":"purse","unicode":"1f45b"},"handbag":{"name":"handbag","unicode":"1f45c"},"pouch":{"name":"pouch","unicode":"1f45d"},"mans_shoe":{"name":"mans_shoe","unicode":"1f45e"},"shoe":{"name":"shoe","unicode":"1f45e","aliasOf":"mans_shoe"},"athletic_shoe":{"name":"athletic_shoe","unicode":"1f45f"},"high_heel":{"name":"high_heel","unicode":"1f460"},"sandal":{"name":"sandal","unicode":"1f461"},"boot":{"name":"boot","unicode":"1f462"},"footprints":{"name":"footprints","unicode":"1f463"},"bust_in_silhouette":{"name":"bust_in_silhouette","unicode":"1f464"},"busts_in_silhouette":{"name":"busts_in_silhouette","unicode":"1f465"},"boy":{"name":"boy","unicode":"1f466","skinVariations":{"2":{"name":"boy::skin-tone-2","unicode":"1f466-1f3fb"},"3":{"name":"boy::skin-tone-3","unicode":"1f466-1f3fc"},"4":{"name":"boy::skin-tone-4","unicode":"1f466-1f3fd"},"5":{"name":"boy::skin-tone-5","unicode":"1f466-1f3fe"},"6":{"name":"boy::skin-tone-6","unicode":"1f466-1f3ff"}}},"girl":{"name":"girl","unicode":"1f467","skinVariations":{"2":{"name":"girl::skin-tone-2","unicode":"1f467-1f3fb"},"3":{"name":"girl::skin-tone-3","unicode":"1f467-1f3fc"},"4":{"name":"girl::skin-tone-4","unicode":"1f467-1f3fd"},"5":{"name":"girl::skin-tone-5","unicode":"1f467-1f3fe"},"6":{"name":"girl::skin-tone-6","unicode":"1f467-1f3ff"}}},"male-farmer":{"name":"male-farmer","unicode":"1f468-200d-1f33e","skinVariations":{"2":{"name":"male-farmer::skin-tone-2","unicode":"1f468-1f3fb-200d-1f33e"},"3":{"name":"male-farmer::skin-tone-3","unicode":"1f468-1f3fc-200d-1f33e"},"4":{"name":"male-farmer::skin-tone-4","unicode":"1f468-1f3fd-200d-1f33e"},"5":{"name":"male-farmer::skin-tone-5","unicode":"1f468-1f3fe-200d-1f33e"},"6":{"name":"male-farmer::skin-tone-6","unicode":"1f468-1f3ff-200d-1f33e"}}},"male-cook":{"name":"male-cook","unicode":"1f468-200d-1f373","skinVariations":{"2":{"name":"male-cook::skin-tone-2","unicode":"1f468-1f3fb-200d-1f373"},"3":{"name":"male-cook::skin-tone-3","unicode":"1f468-1f3fc-200d-1f373"},"4":{"name":"male-cook::skin-tone-4","unicode":"1f468-1f3fd-200d-1f373"},"5":{"name":"male-cook::skin-tone-5","unicode":"1f468-1f3fe-200d-1f373"},"6":{"name":"male-cook::skin-tone-6","unicode":"1f468-1f3ff-200d-1f373"}}},"man_feeding_baby":{"name":"man_feeding_baby","unicode":"1f468-200d-1f37c","skinVariations":{"2":{"name":"man_feeding_baby::skin-tone-2","unicode":"1f468-1f3fb-200d-1f37c"},"3":{"name":"man_feeding_baby::skin-tone-3","unicode":"1f468-1f3fc-200d-1f37c"},"4":{"name":"man_feeding_baby::skin-tone-4","unicode":"1f468-1f3fd-200d-1f37c"},"5":{"name":"man_feeding_baby::skin-tone-5","unicode":"1f468-1f3fe-200d-1f37c"},"6":{"name":"man_feeding_baby::skin-tone-6","unicode":"1f468-1f3ff-200d-1f37c"}}},"male-student":{"name":"male-student","unicode":"1f468-200d-1f393","skinVariations":{"2":{"name":"male-student::skin-tone-2","unicode":"1f468-1f3fb-200d-1f393"},"3":{"name":"male-student::skin-tone-3","unicode":"1f468-1f3fc-200d-1f393"},"4":{"name":"male-student::skin-tone-4","unicode":"1f468-1f3fd-200d-1f393"},"5":{"name":"male-student::skin-tone-5","unicode":"1f468-1f3fe-200d-1f393"},"6":{"name":"male-student::skin-tone-6","unicode":"1f468-1f3ff-200d-1f393"}}},"male-singer":{"name":"male-singer","unicode":"1f468-200d-1f3a4","skinVariations":{"2":{"name":"male-singer::skin-tone-2","unicode":"1f468-1f3fb-200d-1f3a4"},"3":{"name":"male-singer::skin-tone-3","unicode":"1f468-1f3fc-200d-1f3a4"},"4":{"name":"male-singer::skin-tone-4","unicode":"1f468-1f3fd-200d-1f3a4"},"5":{"name":"male-singer::skin-tone-5","unicode":"1f468-1f3fe-200d-1f3a4"},"6":{"name":"male-singer::skin-tone-6","unicode":"1f468-1f3ff-200d-1f3a4"}}},"male-artist":{"name":"male-artist","unicode":"1f468-200d-1f3a8","skinVariations":{"2":{"name":"male-artist::skin-tone-2","unicode":"1f468-1f3fb-200d-1f3a8"},"3":{"name":"male-artist::skin-tone-3","unicode":"1f468-1f3fc-200d-1f3a8"},"4":{"name":"male-artist::skin-tone-4","unicode":"1f468-1f3fd-200d-1f3a8"},"5":{"name":"male-artist::skin-tone-5","unicode":"1f468-1f3fe-200d-1f3a8"},"6":{"name":"male-artist::skin-tone-6","unicode":"1f468-1f3ff-200d-1f3a8"}}},"male-teacher":{"name":"male-teacher","unicode":"1f468-200d-1f3eb","skinVariations":{"2":{"name":"male-teacher::skin-tone-2","unicode":"1f468-1f3fb-200d-1f3eb"},"3":{"name":"male-teacher::skin-tone-3","unicode":"1f468-1f3fc-200d-1f3eb"},"4":{"name":"male-teacher::skin-tone-4","unicode":"1f468-1f3fd-200d-1f3eb"},"5":{"name":"male-teacher::skin-tone-5","unicode":"1f468-1f3fe-200d-1f3eb"},"6":{"name":"male-teacher::skin-tone-6","unicode":"1f468-1f3ff-200d-1f3eb"}}},"male-factory-worker":{"name":"male-factory-worker","unicode":"1f468-200d-1f3ed","skinVariations":{"2":{"name":"male-factory-worker::skin-tone-2","unicode":"1f468-1f3fb-200d-1f3ed"},"3":{"name":"male-factory-worker::skin-tone-3","unicode":"1f468-1f3fc-200d-1f3ed"},"4":{"name":"male-factory-worker::skin-tone-4","unicode":"1f468-1f3fd-200d-1f3ed"},"5":{"name":"male-factory-worker::skin-tone-5","unicode":"1f468-1f3fe-200d-1f3ed"},"6":{"name":"male-factory-worker::skin-tone-6","unicode":"1f468-1f3ff-200d-1f3ed"}}},"man-boy-boy":{"name":"man-boy-boy","unicode":"1f468-200d-1f466-200d-1f466"},"man-boy":{"name":"man-boy","unicode":"1f468-200d-1f466"},"man-girl-boy":{"name":"man-girl-boy","unicode":"1f468-200d-1f467-200d-1f466"},"man-girl-girl":{"name":"man-girl-girl","unicode":"1f468-200d-1f467-200d-1f467"},"man-girl":{"name":"man-girl","unicode":"1f468-200d-1f467"},"man-man-boy":{"name":"man-man-boy","unicode":"1f468-200d-1f468-200d-1f466"},"man-man-boy-boy":{"name":"man-man-boy-boy","unicode":"1f468-200d-1f468-200d-1f466-200d-1f466"},"man-man-girl":{"name":"man-man-girl","unicode":"1f468-200d-1f468-200d-1f467"},"man-man-girl-boy":{"name":"man-man-girl-boy","unicode":"1f468-200d-1f468-200d-1f467-200d-1f466"},"man-man-girl-girl":{"name":"man-man-girl-girl","unicode":"1f468-200d-1f468-200d-1f467-200d-1f467"},"man-woman-boy":{"name":"man-woman-boy","unicode":"1f468-200d-1f469-200d-1f466"},"man-woman-boy-boy":{"name":"man-woman-boy-boy","unicode":"1f468-200d-1f469-200d-1f466-200d-1f466"},"man-woman-girl":{"name":"man-woman-girl","unicode":"1f468-200d-1f469-200d-1f467"},"man-woman-girl-boy":{"name":"man-woman-girl-boy","unicode":"1f468-200d-1f469-200d-1f467-200d-1f466"},"man-woman-girl-girl":{"name":"man-woman-girl-girl","unicode":"1f468-200d-1f469-200d-1f467-200d-1f467"},"male-technologist":{"name":"male-technologist","unicode":"1f468-200d-1f4bb","skinVariations":{"2":{"name":"male-technologist::skin-tone-2","unicode":"1f468-1f3fb-200d-1f4bb"},"3":{"name":"male-technologist::skin-tone-3","unicode":"1f468-1f3fc-200d-1f4bb"},"4":{"name":"male-technologist::skin-tone-4","unicode":"1f468-1f3fd-200d-1f4bb"},"5":{"name":"male-technologist::skin-tone-5","unicode":"1f468-1f3fe-200d-1f4bb"},"6":{"name":"male-technologist::skin-tone-6","unicode":"1f468-1f3ff-200d-1f4bb"}}},"male-office-worker":{"name":"male-office-worker","unicode":"1f468-200d-1f4bc","skinVariations":{"2":{"name":"male-office-worker::skin-tone-2","unicode":"1f468-1f3fb-200d-1f4bc"},"3":{"name":"male-office-worker::skin-tone-3","unicode":"1f468-1f3fc-200d-1f4bc"},"4":{"name":"male-office-worker::skin-tone-4","unicode":"1f468-1f3fd-200d-1f4bc"},"5":{"name":"male-office-worker::skin-tone-5","unicode":"1f468-1f3fe-200d-1f4bc"},"6":{"name":"male-office-worker::skin-tone-6","unicode":"1f468-1f3ff-200d-1f4bc"}}},"male-mechanic":{"name":"male-mechanic","unicode":"1f468-200d-1f527","skinVariations":{"2":{"name":"male-mechanic::skin-tone-2","unicode":"1f468-1f3fb-200d-1f527"},"3":{"name":"male-mechanic::skin-tone-3","unicode":"1f468-1f3fc-200d-1f527"},"4":{"name":"male-mechanic::skin-tone-4","unicode":"1f468-1f3fd-200d-1f527"},"5":{"name":"male-mechanic::skin-tone-5","unicode":"1f468-1f3fe-200d-1f527"},"6":{"name":"male-mechanic::skin-tone-6","unicode":"1f468-1f3ff-200d-1f527"}}},"male-scientist":{"name":"male-scientist","unicode":"1f468-200d-1f52c","skinVariations":{"2":{"name":"male-scientist::skin-tone-2","unicode":"1f468-1f3fb-200d-1f52c"},"3":{"name":"male-scientist::skin-tone-3","unicode":"1f468-1f3fc-200d-1f52c"},"4":{"name":"male-scientist::skin-tone-4","unicode":"1f468-1f3fd-200d-1f52c"},"5":{"name":"male-scientist::skin-tone-5","unicode":"1f468-1f3fe-200d-1f52c"},"6":{"name":"male-scientist::skin-tone-6","unicode":"1f468-1f3ff-200d-1f52c"}}},"male-astronaut":{"name":"male-astronaut","unicode":"1f468-200d-1f680","skinVariations":{"2":{"name":"male-astronaut::skin-tone-2","unicode":"1f468-1f3fb-200d-1f680"},"3":{"name":"male-astronaut::skin-tone-3","unicode":"1f468-1f3fc-200d-1f680"},"4":{"name":"male-astronaut::skin-tone-4","unicode":"1f468-1f3fd-200d-1f680"},"5":{"name":"male-astronaut::skin-tone-5","unicode":"1f468-1f3fe-200d-1f680"},"6":{"name":"male-astronaut::skin-tone-6","unicode":"1f468-1f3ff-200d-1f680"}}},"male-firefighter":{"name":"male-firefighter","unicode":"1f468-200d-1f692","skinVariations":{"2":{"name":"male-firefighter::skin-tone-2","unicode":"1f468-1f3fb-200d-1f692"},"3":{"name":"male-firefighter::skin-tone-3","unicode":"1f468-1f3fc-200d-1f692"},"4":{"name":"male-firefighter::skin-tone-4","unicode":"1f468-1f3fd-200d-1f692"},"5":{"name":"male-firefighter::skin-tone-5","unicode":"1f468-1f3fe-200d-1f692"},"6":{"name":"male-firefighter::skin-tone-6","unicode":"1f468-1f3ff-200d-1f692"}}},"man_with_probing_cane":{"name":"man_with_probing_cane","unicode":"1f468-200d-1f9af","skinVariations":{"2":{"name":"man_with_probing_cane::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9af"},"3":{"name":"man_with_probing_cane::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9af"},"4":{"name":"man_with_probing_cane::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9af"},"5":{"name":"man_with_probing_cane::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9af"},"6":{"name":"man_with_probing_cane::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9af"}}},"red_haired_man":{"name":"red_haired_man","unicode":"1f468-200d-1f9b0","skinVariations":{"2":{"name":"red_haired_man::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9b0"},"3":{"name":"red_haired_man::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9b0"},"4":{"name":"red_haired_man::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9b0"},"5":{"name":"red_haired_man::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9b0"},"6":{"name":"red_haired_man::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9b0"}}},"curly_haired_man":{"name":"curly_haired_man","unicode":"1f468-200d-1f9b1","skinVariations":{"2":{"name":"curly_haired_man::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9b1"},"3":{"name":"curly_haired_man::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9b1"},"4":{"name":"curly_haired_man::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9b1"},"5":{"name":"curly_haired_man::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9b1"},"6":{"name":"curly_haired_man::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9b1"}}},"bald_man":{"name":"bald_man","unicode":"1f468-200d-1f9b2","skinVariations":{"2":{"name":"bald_man::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9b2"},"3":{"name":"bald_man::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9b2"},"4":{"name":"bald_man::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9b2"},"5":{"name":"bald_man::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9b2"},"6":{"name":"bald_man::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9b2"}}},"white_haired_man":{"name":"white_haired_man","unicode":"1f468-200d-1f9b3","skinVariations":{"2":{"name":"white_haired_man::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9b3"},"3":{"name":"white_haired_man::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9b3"},"4":{"name":"white_haired_man::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9b3"},"5":{"name":"white_haired_man::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9b3"},"6":{"name":"white_haired_man::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9b3"}}},"man_in_motorized_wheelchair":{"name":"man_in_motorized_wheelchair","unicode":"1f468-200d-1f9bc","skinVariations":{"2":{"name":"man_in_motorized_wheelchair::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9bc"},"3":{"name":"man_in_motorized_wheelchair::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9bc"},"4":{"name":"man_in_motorized_wheelchair::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9bc"},"5":{"name":"man_in_motorized_wheelchair::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9bc"},"6":{"name":"man_in_motorized_wheelchair::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9bc"}}},"man_in_manual_wheelchair":{"name":"man_in_manual_wheelchair","unicode":"1f468-200d-1f9bd","skinVariations":{"2":{"name":"man_in_manual_wheelchair::skin-tone-2","unicode":"1f468-1f3fb-200d-1f9bd"},"3":{"name":"man_in_manual_wheelchair::skin-tone-3","unicode":"1f468-1f3fc-200d-1f9bd"},"4":{"name":"man_in_manual_wheelchair::skin-tone-4","unicode":"1f468-1f3fd-200d-1f9bd"},"5":{"name":"man_in_manual_wheelchair::skin-tone-5","unicode":"1f468-1f3fe-200d-1f9bd"},"6":{"name":"man_in_manual_wheelchair::skin-tone-6","unicode":"1f468-1f3ff-200d-1f9bd"}}},"male-doctor":{"name":"male-doctor","unicode":"1f468-200d-2695-fe0f","skinVariations":{"2":{"name":"male-doctor::skin-tone-2","unicode":"1f468-1f3fb-200d-2695-fe0f"},"3":{"name":"male-doctor::skin-tone-3","unicode":"1f468-1f3fc-200d-2695-fe0f"},"4":{"name":"male-doctor::skin-tone-4","unicode":"1f468-1f3fd-200d-2695-fe0f"},"5":{"name":"male-doctor::skin-tone-5","unicode":"1f468-1f3fe-200d-2695-fe0f"},"6":{"name":"male-doctor::skin-tone-6","unicode":"1f468-1f3ff-200d-2695-fe0f"}}},"male-judge":{"name":"male-judge","unicode":"1f468-200d-2696-fe0f","skinVariations":{"2":{"name":"male-judge::skin-tone-2","unicode":"1f468-1f3fb-200d-2696-fe0f"},"3":{"name":"male-judge::skin-tone-3","unicode":"1f468-1f3fc-200d-2696-fe0f"},"4":{"name":"male-judge::skin-tone-4","unicode":"1f468-1f3fd-200d-2696-fe0f"},"5":{"name":"male-judge::skin-tone-5","unicode":"1f468-1f3fe-200d-2696-fe0f"},"6":{"name":"male-judge::skin-tone-6","unicode":"1f468-1f3ff-200d-2696-fe0f"}}},"male-pilot":{"name":"male-pilot","unicode":"1f468-200d-2708-fe0f","skinVariations":{"2":{"name":"male-pilot::skin-tone-2","unicode":"1f468-1f3fb-200d-2708-fe0f"},"3":{"name":"male-pilot::skin-tone-3","unicode":"1f468-1f3fc-200d-2708-fe0f"},"4":{"name":"male-pilot::skin-tone-4","unicode":"1f468-1f3fd-200d-2708-fe0f"},"5":{"name":"male-pilot::skin-tone-5","unicode":"1f468-1f3fe-200d-2708-fe0f"},"6":{"name":"male-pilot::skin-tone-6","unicode":"1f468-1f3ff-200d-2708-fe0f"}}},"man-heart-man":{"name":"man-heart-man","unicode":"1f468-200d-2764-fe0f-200d-1f468","multiSkinTone":true,"skinVariations":{"2":{"name":"man-heart-man::skin-tone-2","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb"},"3":{"name":"man-heart-man::skin-tone-3","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc"},"4":{"name":"man-heart-man::skin-tone-4","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd"},"5":{"name":"man-heart-man::skin-tone-5","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe"},"6":{"name":"man-heart-man::skin-tone-6","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"},"2-3":{"name":"man-heart-man::skin-tone-2-3","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc"},"2-4":{"name":"man-heart-man::skin-tone-2-4","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd"},"2-5":{"name":"man-heart-man::skin-tone-2-5","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe"},"2-6":{"name":"man-heart-man::skin-tone-2-6","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff"},"3-2":{"name":"man-heart-man::skin-tone-3-2","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb"},"3-4":{"name":"man-heart-man::skin-tone-3-4","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd"},"3-5":{"name":"man-heart-man::skin-tone-3-5","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe"},"3-6":{"name":"man-heart-man::skin-tone-3-6","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff"},"4-2":{"name":"man-heart-man::skin-tone-4-2","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb"},"4-3":{"name":"man-heart-man::skin-tone-4-3","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc"},"4-5":{"name":"man-heart-man::skin-tone-4-5","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe"},"4-6":{"name":"man-heart-man::skin-tone-4-6","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff"},"5-2":{"name":"man-heart-man::skin-tone-5-2","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb"},"5-3":{"name":"man-heart-man::skin-tone-5-3","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc"},"5-4":{"name":"man-heart-man::skin-tone-5-4","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd"},"5-6":{"name":"man-heart-man::skin-tone-5-6","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff"},"6-2":{"name":"man-heart-man::skin-tone-6-2","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb"},"6-3":{"name":"man-heart-man::skin-tone-6-3","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc"},"6-4":{"name":"man-heart-man::skin-tone-6-4","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd"},"6-5":{"name":"man-heart-man::skin-tone-6-5","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe"}}},"man-kiss-man":{"name":"man-kiss-man","unicode":"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468","multiSkinTone":true,"skinVariations":{"2":{"name":"man-kiss-man::skin-tone-2","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"3":{"name":"man-kiss-man::skin-tone-3","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"4":{"name":"man-kiss-man::skin-tone-4","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"5":{"name":"man-kiss-man::skin-tone-5","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"6":{"name":"man-kiss-man::skin-tone-6","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"2-3":{"name":"man-kiss-man::skin-tone-2-3","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"2-4":{"name":"man-kiss-man::skin-tone-2-4","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"2-5":{"name":"man-kiss-man::skin-tone-2-5","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"2-6":{"name":"man-kiss-man::skin-tone-2-6","unicode":"1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"3-2":{"name":"man-kiss-man::skin-tone-3-2","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"3-4":{"name":"man-kiss-man::skin-tone-3-4","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"3-5":{"name":"man-kiss-man::skin-tone-3-5","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"3-6":{"name":"man-kiss-man::skin-tone-3-6","unicode":"1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"4-2":{"name":"man-kiss-man::skin-tone-4-2","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"4-3":{"name":"man-kiss-man::skin-tone-4-3","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"4-5":{"name":"man-kiss-man::skin-tone-4-5","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"4-6":{"name":"man-kiss-man::skin-tone-4-6","unicode":"1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"5-2":{"name":"man-kiss-man::skin-tone-5-2","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"5-3":{"name":"man-kiss-man::skin-tone-5-3","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"5-4":{"name":"man-kiss-man::skin-tone-5-4","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"5-6":{"name":"man-kiss-man::skin-tone-5-6","unicode":"1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"6-2":{"name":"man-kiss-man::skin-tone-6-2","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"6-3":{"name":"man-kiss-man::skin-tone-6-3","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"6-4":{"name":"man-kiss-man::skin-tone-6-4","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"6-5":{"name":"man-kiss-man::skin-tone-6-5","unicode":"1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"}}},"man":{"name":"man","unicode":"1f468","skinVariations":{"2":{"name":"man::skin-tone-2","unicode":"1f468-1f3fb"},"3":{"name":"man::skin-tone-3","unicode":"1f468-1f3fc"},"4":{"name":"man::skin-tone-4","unicode":"1f468-1f3fd"},"5":{"name":"man::skin-tone-5","unicode":"1f468-1f3fe"},"6":{"name":"man::skin-tone-6","unicode":"1f468-1f3ff"}}},"female-farmer":{"name":"female-farmer","unicode":"1f469-200d-1f33e","skinVariations":{"2":{"name":"female-farmer::skin-tone-2","unicode":"1f469-1f3fb-200d-1f33e"},"3":{"name":"female-farmer::skin-tone-3","unicode":"1f469-1f3fc-200d-1f33e"},"4":{"name":"female-farmer::skin-tone-4","unicode":"1f469-1f3fd-200d-1f33e"},"5":{"name":"female-farmer::skin-tone-5","unicode":"1f469-1f3fe-200d-1f33e"},"6":{"name":"female-farmer::skin-tone-6","unicode":"1f469-1f3ff-200d-1f33e"}}},"female-cook":{"name":"female-cook","unicode":"1f469-200d-1f373","skinVariations":{"2":{"name":"female-cook::skin-tone-2","unicode":"1f469-1f3fb-200d-1f373"},"3":{"name":"female-cook::skin-tone-3","unicode":"1f469-1f3fc-200d-1f373"},"4":{"name":"female-cook::skin-tone-4","unicode":"1f469-1f3fd-200d-1f373"},"5":{"name":"female-cook::skin-tone-5","unicode":"1f469-1f3fe-200d-1f373"},"6":{"name":"female-cook::skin-tone-6","unicode":"1f469-1f3ff-200d-1f373"}}},"woman_feeding_baby":{"name":"woman_feeding_baby","unicode":"1f469-200d-1f37c","skinVariations":{"2":{"name":"woman_feeding_baby::skin-tone-2","unicode":"1f469-1f3fb-200d-1f37c"},"3":{"name":"woman_feeding_baby::skin-tone-3","unicode":"1f469-1f3fc-200d-1f37c"},"4":{"name":"woman_feeding_baby::skin-tone-4","unicode":"1f469-1f3fd-200d-1f37c"},"5":{"name":"woman_feeding_baby::skin-tone-5","unicode":"1f469-1f3fe-200d-1f37c"},"6":{"name":"woman_feeding_baby::skin-tone-6","unicode":"1f469-1f3ff-200d-1f37c"}}},"female-student":{"name":"female-student","unicode":"1f469-200d-1f393","skinVariations":{"2":{"name":"female-student::skin-tone-2","unicode":"1f469-1f3fb-200d-1f393"},"3":{"name":"female-student::skin-tone-3","unicode":"1f469-1f3fc-200d-1f393"},"4":{"name":"female-student::skin-tone-4","unicode":"1f469-1f3fd-200d-1f393"},"5":{"name":"female-student::skin-tone-5","unicode":"1f469-1f3fe-200d-1f393"},"6":{"name":"female-student::skin-tone-6","unicode":"1f469-1f3ff-200d-1f393"}}},"female-singer":{"name":"female-singer","unicode":"1f469-200d-1f3a4","skinVariations":{"2":{"name":"female-singer::skin-tone-2","unicode":"1f469-1f3fb-200d-1f3a4"},"3":{"name":"female-singer::skin-tone-3","unicode":"1f469-1f3fc-200d-1f3a4"},"4":{"name":"female-singer::skin-tone-4","unicode":"1f469-1f3fd-200d-1f3a4"},"5":{"name":"female-singer::skin-tone-5","unicode":"1f469-1f3fe-200d-1f3a4"},"6":{"name":"female-singer::skin-tone-6","unicode":"1f469-1f3ff-200d-1f3a4"}}},"female-artist":{"name":"female-artist","unicode":"1f469-200d-1f3a8","skinVariations":{"2":{"name":"female-artist::skin-tone-2","unicode":"1f469-1f3fb-200d-1f3a8"},"3":{"name":"female-artist::skin-tone-3","unicode":"1f469-1f3fc-200d-1f3a8"},"4":{"name":"female-artist::skin-tone-4","unicode":"1f469-1f3fd-200d-1f3a8"},"5":{"name":"female-artist::skin-tone-5","unicode":"1f469-1f3fe-200d-1f3a8"},"6":{"name":"female-artist::skin-tone-6","unicode":"1f469-1f3ff-200d-1f3a8"}}},"female-teacher":{"name":"female-teacher","unicode":"1f469-200d-1f3eb","skinVariations":{"2":{"name":"female-teacher::skin-tone-2","unicode":"1f469-1f3fb-200d-1f3eb"},"3":{"name":"female-teacher::skin-tone-3","unicode":"1f469-1f3fc-200d-1f3eb"},"4":{"name":"female-teacher::skin-tone-4","unicode":"1f469-1f3fd-200d-1f3eb"},"5":{"name":"female-teacher::skin-tone-5","unicode":"1f469-1f3fe-200d-1f3eb"},"6":{"name":"female-teacher::skin-tone-6","unicode":"1f469-1f3ff-200d-1f3eb"}}},"female-factory-worker":{"name":"female-factory-worker","unicode":"1f469-200d-1f3ed","skinVariations":{"2":{"name":"female-factory-worker::skin-tone-2","unicode":"1f469-1f3fb-200d-1f3ed"},"3":{"name":"female-factory-worker::skin-tone-3","unicode":"1f469-1f3fc-200d-1f3ed"},"4":{"name":"female-factory-worker::skin-tone-4","unicode":"1f469-1f3fd-200d-1f3ed"},"5":{"name":"female-factory-worker::skin-tone-5","unicode":"1f469-1f3fe-200d-1f3ed"},"6":{"name":"female-factory-worker::skin-tone-6","unicode":"1f469-1f3ff-200d-1f3ed"}}},"woman-boy-boy":{"name":"woman-boy-boy","unicode":"1f469-200d-1f466-200d-1f466"},"woman-boy":{"name":"woman-boy","unicode":"1f469-200d-1f466"},"woman-girl-boy":{"name":"woman-girl-boy","unicode":"1f469-200d-1f467-200d-1f466"},"woman-girl-girl":{"name":"woman-girl-girl","unicode":"1f469-200d-1f467-200d-1f467"},"woman-girl":{"name":"woman-girl","unicode":"1f469-200d-1f467"},"woman-woman-boy":{"name":"woman-woman-boy","unicode":"1f469-200d-1f469-200d-1f466"},"woman-woman-boy-boy":{"name":"woman-woman-boy-boy","unicode":"1f469-200d-1f469-200d-1f466-200d-1f466"},"woman-woman-girl":{"name":"woman-woman-girl","unicode":"1f469-200d-1f469-200d-1f467"},"woman-woman-girl-boy":{"name":"woman-woman-girl-boy","unicode":"1f469-200d-1f469-200d-1f467-200d-1f466"},"woman-woman-girl-girl":{"name":"woman-woman-girl-girl","unicode":"1f469-200d-1f469-200d-1f467-200d-1f467"},"female-technologist":{"name":"female-technologist","unicode":"1f469-200d-1f4bb","skinVariations":{"2":{"name":"female-technologist::skin-tone-2","unicode":"1f469-1f3fb-200d-1f4bb"},"3":{"name":"female-technologist::skin-tone-3","unicode":"1f469-1f3fc-200d-1f4bb"},"4":{"name":"female-technologist::skin-tone-4","unicode":"1f469-1f3fd-200d-1f4bb"},"5":{"name":"female-technologist::skin-tone-5","unicode":"1f469-1f3fe-200d-1f4bb"},"6":{"name":"female-technologist::skin-tone-6","unicode":"1f469-1f3ff-200d-1f4bb"}}},"female-office-worker":{"name":"female-office-worker","unicode":"1f469-200d-1f4bc","skinVariations":{"2":{"name":"female-office-worker::skin-tone-2","unicode":"1f469-1f3fb-200d-1f4bc"},"3":{"name":"female-office-worker::skin-tone-3","unicode":"1f469-1f3fc-200d-1f4bc"},"4":{"name":"female-office-worker::skin-tone-4","unicode":"1f469-1f3fd-200d-1f4bc"},"5":{"name":"female-office-worker::skin-tone-5","unicode":"1f469-1f3fe-200d-1f4bc"},"6":{"name":"female-office-worker::skin-tone-6","unicode":"1f469-1f3ff-200d-1f4bc"}}},"female-mechanic":{"name":"female-mechanic","unicode":"1f469-200d-1f527","skinVariations":{"2":{"name":"female-mechanic::skin-tone-2","unicode":"1f469-1f3fb-200d-1f527"},"3":{"name":"female-mechanic::skin-tone-3","unicode":"1f469-1f3fc-200d-1f527"},"4":{"name":"female-mechanic::skin-tone-4","unicode":"1f469-1f3fd-200d-1f527"},"5":{"name":"female-mechanic::skin-tone-5","unicode":"1f469-1f3fe-200d-1f527"},"6":{"name":"female-mechanic::skin-tone-6","unicode":"1f469-1f3ff-200d-1f527"}}},"female-scientist":{"name":"female-scientist","unicode":"1f469-200d-1f52c","skinVariations":{"2":{"name":"female-scientist::skin-tone-2","unicode":"1f469-1f3fb-200d-1f52c"},"3":{"name":"female-scientist::skin-tone-3","unicode":"1f469-1f3fc-200d-1f52c"},"4":{"name":"female-scientist::skin-tone-4","unicode":"1f469-1f3fd-200d-1f52c"},"5":{"name":"female-scientist::skin-tone-5","unicode":"1f469-1f3fe-200d-1f52c"},"6":{"name":"female-scientist::skin-tone-6","unicode":"1f469-1f3ff-200d-1f52c"}}},"female-astronaut":{"name":"female-astronaut","unicode":"1f469-200d-1f680","skinVariations":{"2":{"name":"female-astronaut::skin-tone-2","unicode":"1f469-1f3fb-200d-1f680"},"3":{"name":"female-astronaut::skin-tone-3","unicode":"1f469-1f3fc-200d-1f680"},"4":{"name":"female-astronaut::skin-tone-4","unicode":"1f469-1f3fd-200d-1f680"},"5":{"name":"female-astronaut::skin-tone-5","unicode":"1f469-1f3fe-200d-1f680"},"6":{"name":"female-astronaut::skin-tone-6","unicode":"1f469-1f3ff-200d-1f680"}}},"female-firefighter":{"name":"female-firefighter","unicode":"1f469-200d-1f692","skinVariations":{"2":{"name":"female-firefighter::skin-tone-2","unicode":"1f469-1f3fb-200d-1f692"},"3":{"name":"female-firefighter::skin-tone-3","unicode":"1f469-1f3fc-200d-1f692"},"4":{"name":"female-firefighter::skin-tone-4","unicode":"1f469-1f3fd-200d-1f692"},"5":{"name":"female-firefighter::skin-tone-5","unicode":"1f469-1f3fe-200d-1f692"},"6":{"name":"female-firefighter::skin-tone-6","unicode":"1f469-1f3ff-200d-1f692"}}},"woman_with_probing_cane":{"name":"woman_with_probing_cane","unicode":"1f469-200d-1f9af","skinVariations":{"2":{"name":"woman_with_probing_cane::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9af"},"3":{"name":"woman_with_probing_cane::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9af"},"4":{"name":"woman_with_probing_cane::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9af"},"5":{"name":"woman_with_probing_cane::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9af"},"6":{"name":"woman_with_probing_cane::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9af"}}},"red_haired_woman":{"name":"red_haired_woman","unicode":"1f469-200d-1f9b0","skinVariations":{"2":{"name":"red_haired_woman::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9b0"},"3":{"name":"red_haired_woman::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9b0"},"4":{"name":"red_haired_woman::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9b0"},"5":{"name":"red_haired_woman::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9b0"},"6":{"name":"red_haired_woman::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9b0"}}},"curly_haired_woman":{"name":"curly_haired_woman","unicode":"1f469-200d-1f9b1","skinVariations":{"2":{"name":"curly_haired_woman::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9b1"},"3":{"name":"curly_haired_woman::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9b1"},"4":{"name":"curly_haired_woman::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9b1"},"5":{"name":"curly_haired_woman::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9b1"},"6":{"name":"curly_haired_woman::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9b1"}}},"bald_woman":{"name":"bald_woman","unicode":"1f469-200d-1f9b2","skinVariations":{"2":{"name":"bald_woman::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9b2"},"3":{"name":"bald_woman::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9b2"},"4":{"name":"bald_woman::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9b2"},"5":{"name":"bald_woman::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9b2"},"6":{"name":"bald_woman::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9b2"}}},"white_haired_woman":{"name":"white_haired_woman","unicode":"1f469-200d-1f9b3","skinVariations":{"2":{"name":"white_haired_woman::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9b3"},"3":{"name":"white_haired_woman::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9b3"},"4":{"name":"white_haired_woman::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9b3"},"5":{"name":"white_haired_woman::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9b3"},"6":{"name":"white_haired_woman::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9b3"}}},"woman_in_motorized_wheelchair":{"name":"woman_in_motorized_wheelchair","unicode":"1f469-200d-1f9bc","skinVariations":{"2":{"name":"woman_in_motorized_wheelchair::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9bc"},"3":{"name":"woman_in_motorized_wheelchair::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9bc"},"4":{"name":"woman_in_motorized_wheelchair::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9bc"},"5":{"name":"woman_in_motorized_wheelchair::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9bc"},"6":{"name":"woman_in_motorized_wheelchair::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9bc"}}},"woman_in_manual_wheelchair":{"name":"woman_in_manual_wheelchair","unicode":"1f469-200d-1f9bd","skinVariations":{"2":{"name":"woman_in_manual_wheelchair::skin-tone-2","unicode":"1f469-1f3fb-200d-1f9bd"},"3":{"name":"woman_in_manual_wheelchair::skin-tone-3","unicode":"1f469-1f3fc-200d-1f9bd"},"4":{"name":"woman_in_manual_wheelchair::skin-tone-4","unicode":"1f469-1f3fd-200d-1f9bd"},"5":{"name":"woman_in_manual_wheelchair::skin-tone-5","unicode":"1f469-1f3fe-200d-1f9bd"},"6":{"name":"woman_in_manual_wheelchair::skin-tone-6","unicode":"1f469-1f3ff-200d-1f9bd"}}},"female-doctor":{"name":"female-doctor","unicode":"1f469-200d-2695-fe0f","skinVariations":{"2":{"name":"female-doctor::skin-tone-2","unicode":"1f469-1f3fb-200d-2695-fe0f"},"3":{"name":"female-doctor::skin-tone-3","unicode":"1f469-1f3fc-200d-2695-fe0f"},"4":{"name":"female-doctor::skin-tone-4","unicode":"1f469-1f3fd-200d-2695-fe0f"},"5":{"name":"female-doctor::skin-tone-5","unicode":"1f469-1f3fe-200d-2695-fe0f"},"6":{"name":"female-doctor::skin-tone-6","unicode":"1f469-1f3ff-200d-2695-fe0f"}}},"female-judge":{"name":"female-judge","unicode":"1f469-200d-2696-fe0f","skinVariations":{"2":{"name":"female-judge::skin-tone-2","unicode":"1f469-1f3fb-200d-2696-fe0f"},"3":{"name":"female-judge::skin-tone-3","unicode":"1f469-1f3fc-200d-2696-fe0f"},"4":{"name":"female-judge::skin-tone-4","unicode":"1f469-1f3fd-200d-2696-fe0f"},"5":{"name":"female-judge::skin-tone-5","unicode":"1f469-1f3fe-200d-2696-fe0f"},"6":{"name":"female-judge::skin-tone-6","unicode":"1f469-1f3ff-200d-2696-fe0f"}}},"female-pilot":{"name":"female-pilot","unicode":"1f469-200d-2708-fe0f","skinVariations":{"2":{"name":"female-pilot::skin-tone-2","unicode":"1f469-1f3fb-200d-2708-fe0f"},"3":{"name":"female-pilot::skin-tone-3","unicode":"1f469-1f3fc-200d-2708-fe0f"},"4":{"name":"female-pilot::skin-tone-4","unicode":"1f469-1f3fd-200d-2708-fe0f"},"5":{"name":"female-pilot::skin-tone-5","unicode":"1f469-1f3fe-200d-2708-fe0f"},"6":{"name":"female-pilot::skin-tone-6","unicode":"1f469-1f3ff-200d-2708-fe0f"}}},"woman-heart-man":{"name":"woman-heart-man","unicode":"1f469-200d-2764-fe0f-200d-1f468","multiSkinTone":true,"skinVariations":{"2":{"name":"woman-heart-man::skin-tone-2","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb"},"3":{"name":"woman-heart-man::skin-tone-3","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc"},"4":{"name":"woman-heart-man::skin-tone-4","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd"},"5":{"name":"woman-heart-man::skin-tone-5","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe"},"6":{"name":"woman-heart-man::skin-tone-6","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"},"2-3":{"name":"woman-heart-man::skin-tone-2-3","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc"},"2-4":{"name":"woman-heart-man::skin-tone-2-4","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd"},"2-5":{"name":"woman-heart-man::skin-tone-2-5","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe"},"2-6":{"name":"woman-heart-man::skin-tone-2-6","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff"},"3-2":{"name":"woman-heart-man::skin-tone-3-2","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb"},"3-4":{"name":"woman-heart-man::skin-tone-3-4","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd"},"3-5":{"name":"woman-heart-man::skin-tone-3-5","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe"},"3-6":{"name":"woman-heart-man::skin-tone-3-6","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff"},"4-2":{"name":"woman-heart-man::skin-tone-4-2","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb"},"4-3":{"name":"woman-heart-man::skin-tone-4-3","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc"},"4-5":{"name":"woman-heart-man::skin-tone-4-5","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe"},"4-6":{"name":"woman-heart-man::skin-tone-4-6","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff"},"5-2":{"name":"woman-heart-man::skin-tone-5-2","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb"},"5-3":{"name":"woman-heart-man::skin-tone-5-3","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc"},"5-4":{"name":"woman-heart-man::skin-tone-5-4","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd"},"5-6":{"name":"woman-heart-man::skin-tone-5-6","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff"},"6-2":{"name":"woman-heart-man::skin-tone-6-2","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb"},"6-3":{"name":"woman-heart-man::skin-tone-6-3","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc"},"6-4":{"name":"woman-heart-man::skin-tone-6-4","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd"},"6-5":{"name":"woman-heart-man::skin-tone-6-5","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe"}}},"woman-heart-woman":{"name":"woman-heart-woman","unicode":"1f469-200d-2764-fe0f-200d-1f469","multiSkinTone":true,"skinVariations":{"2":{"name":"woman-heart-woman::skin-tone-2","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb"},"3":{"name":"woman-heart-woman::skin-tone-3","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc"},"4":{"name":"woman-heart-woman::skin-tone-4","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd"},"5":{"name":"woman-heart-woman::skin-tone-5","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe"},"6":{"name":"woman-heart-woman::skin-tone-6","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"},"2-3":{"name":"woman-heart-woman::skin-tone-2-3","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc"},"2-4":{"name":"woman-heart-woman::skin-tone-2-4","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd"},"2-5":{"name":"woman-heart-woman::skin-tone-2-5","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe"},"2-6":{"name":"woman-heart-woman::skin-tone-2-6","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff"},"3-2":{"name":"woman-heart-woman::skin-tone-3-2","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb"},"3-4":{"name":"woman-heart-woman::skin-tone-3-4","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd"},"3-5":{"name":"woman-heart-woman::skin-tone-3-5","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe"},"3-6":{"name":"woman-heart-woman::skin-tone-3-6","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff"},"4-2":{"name":"woman-heart-woman::skin-tone-4-2","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb"},"4-3":{"name":"woman-heart-woman::skin-tone-4-3","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc"},"4-5":{"name":"woman-heart-woman::skin-tone-4-5","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe"},"4-6":{"name":"woman-heart-woman::skin-tone-4-6","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff"},"5-2":{"name":"woman-heart-woman::skin-tone-5-2","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb"},"5-3":{"name":"woman-heart-woman::skin-tone-5-3","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc"},"5-4":{"name":"woman-heart-woman::skin-tone-5-4","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd"},"5-6":{"name":"woman-heart-woman::skin-tone-5-6","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff"},"6-2":{"name":"woman-heart-woman::skin-tone-6-2","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb"},"6-3":{"name":"woman-heart-woman::skin-tone-6-3","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc"},"6-4":{"name":"woman-heart-woman::skin-tone-6-4","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd"},"6-5":{"name":"woman-heart-woman::skin-tone-6-5","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe"}}},"woman-kiss-man":{"name":"woman-kiss-man","unicode":"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468","multiSkinTone":true,"skinVariations":{"2":{"name":"woman-kiss-man::skin-tone-2","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"3":{"name":"woman-kiss-man::skin-tone-3","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"4":{"name":"woman-kiss-man::skin-tone-4","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"5":{"name":"woman-kiss-man::skin-tone-5","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"6":{"name":"woman-kiss-man::skin-tone-6","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"2-3":{"name":"woman-kiss-man::skin-tone-2-3","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"2-4":{"name":"woman-kiss-man::skin-tone-2-4","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"2-5":{"name":"woman-kiss-man::skin-tone-2-5","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"2-6":{"name":"woman-kiss-man::skin-tone-2-6","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"3-2":{"name":"woman-kiss-man::skin-tone-3-2","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"3-4":{"name":"woman-kiss-man::skin-tone-3-4","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"3-5":{"name":"woman-kiss-man::skin-tone-3-5","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"3-6":{"name":"woman-kiss-man::skin-tone-3-6","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"4-2":{"name":"woman-kiss-man::skin-tone-4-2","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"4-3":{"name":"woman-kiss-man::skin-tone-4-3","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"4-5":{"name":"woman-kiss-man::skin-tone-4-5","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"},"4-6":{"name":"woman-kiss-man::skin-tone-4-6","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"5-2":{"name":"woman-kiss-man::skin-tone-5-2","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"5-3":{"name":"woman-kiss-man::skin-tone-5-3","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"5-4":{"name":"woman-kiss-man::skin-tone-5-4","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"5-6":{"name":"woman-kiss-man::skin-tone-5-6","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"},"6-2":{"name":"woman-kiss-man::skin-tone-6-2","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb"},"6-3":{"name":"woman-kiss-man::skin-tone-6-3","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc"},"6-4":{"name":"woman-kiss-man::skin-tone-6-4","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd"},"6-5":{"name":"woman-kiss-man::skin-tone-6-5","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe"}}},"woman-kiss-woman":{"name":"woman-kiss-woman","unicode":"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469","multiSkinTone":true,"skinVariations":{"2":{"name":"woman-kiss-woman::skin-tone-2","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb"},"3":{"name":"woman-kiss-woman::skin-tone-3","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc"},"4":{"name":"woman-kiss-woman::skin-tone-4","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd"},"5":{"name":"woman-kiss-woman::skin-tone-5","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe"},"6":{"name":"woman-kiss-woman::skin-tone-6","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"},"2-3":{"name":"woman-kiss-woman::skin-tone-2-3","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc"},"2-4":{"name":"woman-kiss-woman::skin-tone-2-4","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd"},"2-5":{"name":"woman-kiss-woman::skin-tone-2-5","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe"},"2-6":{"name":"woman-kiss-woman::skin-tone-2-6","unicode":"1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"},"3-2":{"name":"woman-kiss-woman::skin-tone-3-2","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb"},"3-4":{"name":"woman-kiss-woman::skin-tone-3-4","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd"},"3-5":{"name":"woman-kiss-woman::skin-tone-3-5","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe"},"3-6":{"name":"woman-kiss-woman::skin-tone-3-6","unicode":"1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"},"4-2":{"name":"woman-kiss-woman::skin-tone-4-2","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb"},"4-3":{"name":"woman-kiss-woman::skin-tone-4-3","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc"},"4-5":{"name":"woman-kiss-woman::skin-tone-4-5","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe"},"4-6":{"name":"woman-kiss-woman::skin-tone-4-6","unicode":"1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"},"5-2":{"name":"woman-kiss-woman::skin-tone-5-2","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb"},"5-3":{"name":"woman-kiss-woman::skin-tone-5-3","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc"},"5-4":{"name":"woman-kiss-woman::skin-tone-5-4","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd"},"5-6":{"name":"woman-kiss-woman::skin-tone-5-6","unicode":"1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"},"6-2":{"name":"woman-kiss-woman::skin-tone-6-2","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb"},"6-3":{"name":"woman-kiss-woman::skin-tone-6-3","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc"},"6-4":{"name":"woman-kiss-woman::skin-tone-6-4","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd"},"6-5":{"name":"woman-kiss-woman::skin-tone-6-5","unicode":"1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe"}}},"woman":{"name":"woman","unicode":"1f469","skinVariations":{"2":{"name":"woman::skin-tone-2","unicode":"1f469-1f3fb"},"3":{"name":"woman::skin-tone-3","unicode":"1f469-1f3fc"},"4":{"name":"woman::skin-tone-4","unicode":"1f469-1f3fd"},"5":{"name":"woman::skin-tone-5","unicode":"1f469-1f3fe"},"6":{"name":"woman::skin-tone-6","unicode":"1f469-1f3ff"}}},"family":{"name":"family","unicode":"1f46a"},"man_and_woman_holding_hands":{"name":"man_and_woman_holding_hands","unicode":"1f46b","multiSkinTone":true,"skinVariations":{"2":{"name":"man_and_woman_holding_hands::skin-tone-2","unicode":"1f46b-1f3fb"},"3":{"name":"man_and_woman_holding_hands::skin-tone-3","unicode":"1f46b-1f3fc"},"4":{"name":"man_and_woman_holding_hands::skin-tone-4","unicode":"1f46b-1f3fd"},"5":{"name":"man_and_woman_holding_hands::skin-tone-5","unicode":"1f46b-1f3fe"},"6":{"name":"man_and_woman_holding_hands::skin-tone-6","unicode":"1f46b-1f3ff"},"2-3":{"name":"man_and_woman_holding_hands::skin-tone-2-3","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc"},"2-4":{"name":"man_and_woman_holding_hands::skin-tone-2-4","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd"},"2-5":{"name":"man_and_woman_holding_hands::skin-tone-2-5","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe"},"2-6":{"name":"man_and_woman_holding_hands::skin-tone-2-6","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff"},"3-2":{"name":"man_and_woman_holding_hands::skin-tone-3-2","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb"},"3-4":{"name":"man_and_woman_holding_hands::skin-tone-3-4","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd"},"3-5":{"name":"man_and_woman_holding_hands::skin-tone-3-5","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe"},"3-6":{"name":"man_and_woman_holding_hands::skin-tone-3-6","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff"},"4-2":{"name":"man_and_woman_holding_hands::skin-tone-4-2","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb"},"4-3":{"name":"man_and_woman_holding_hands::skin-tone-4-3","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc"},"4-5":{"name":"man_and_woman_holding_hands::skin-tone-4-5","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe"},"4-6":{"name":"man_and_woman_holding_hands::skin-tone-4-6","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff"},"5-2":{"name":"man_and_woman_holding_hands::skin-tone-5-2","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb"},"5-3":{"name":"man_and_woman_holding_hands::skin-tone-5-3","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc"},"5-4":{"name":"man_and_woman_holding_hands::skin-tone-5-4","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd"},"5-6":{"name":"man_and_woman_holding_hands::skin-tone-5-6","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff"},"6-2":{"name":"man_and_woman_holding_hands::skin-tone-6-2","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb"},"6-3":{"name":"man_and_woman_holding_hands::skin-tone-6-3","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc"},"6-4":{"name":"man_and_woman_holding_hands::skin-tone-6-4","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd"},"6-5":{"name":"man_and_woman_holding_hands::skin-tone-6-5","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"}}},"woman_and_man_holding_hands":{"name":"woman_and_man_holding_hands","unicode":"1f46b","aliasOf":"man_and_woman_holding_hands","multiSkinTone":true,"skinVariations":{"2":{"name":"woman_and_man_holding_hands::skin-tone-2","unicode":"1f46b-1f3fb"},"3":{"name":"woman_and_man_holding_hands::skin-tone-3","unicode":"1f46b-1f3fc"},"4":{"name":"woman_and_man_holding_hands::skin-tone-4","unicode":"1f46b-1f3fd"},"5":{"name":"woman_and_man_holding_hands::skin-tone-5","unicode":"1f46b-1f3fe"},"6":{"name":"woman_and_man_holding_hands::skin-tone-6","unicode":"1f46b-1f3ff"},"2-3":{"name":"woman_and_man_holding_hands::skin-tone-2-3","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc"},"2-4":{"name":"woman_and_man_holding_hands::skin-tone-2-4","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd"},"2-5":{"name":"woman_and_man_holding_hands::skin-tone-2-5","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe"},"2-6":{"name":"woman_and_man_holding_hands::skin-tone-2-6","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff"},"3-2":{"name":"woman_and_man_holding_hands::skin-tone-3-2","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb"},"3-4":{"name":"woman_and_man_holding_hands::skin-tone-3-4","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd"},"3-5":{"name":"woman_and_man_holding_hands::skin-tone-3-5","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe"},"3-6":{"name":"woman_and_man_holding_hands::skin-tone-3-6","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff"},"4-2":{"name":"woman_and_man_holding_hands::skin-tone-4-2","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb"},"4-3":{"name":"woman_and_man_holding_hands::skin-tone-4-3","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc"},"4-5":{"name":"woman_and_man_holding_hands::skin-tone-4-5","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe"},"4-6":{"name":"woman_and_man_holding_hands::skin-tone-4-6","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff"},"5-2":{"name":"woman_and_man_holding_hands::skin-tone-5-2","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb"},"5-3":{"name":"woman_and_man_holding_hands::skin-tone-5-3","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc"},"5-4":{"name":"woman_and_man_holding_hands::skin-tone-5-4","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd"},"5-6":{"name":"woman_and_man_holding_hands::skin-tone-5-6","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff"},"6-2":{"name":"woman_and_man_holding_hands::skin-tone-6-2","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb"},"6-3":{"name":"woman_and_man_holding_hands::skin-tone-6-3","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc"},"6-4":{"name":"woman_and_man_holding_hands::skin-tone-6-4","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd"},"6-5":{"name":"woman_and_man_holding_hands::skin-tone-6-5","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"}}},"couple":{"name":"couple","unicode":"1f46b","aliasOf":"man_and_woman_holding_hands","multiSkinTone":true,"skinVariations":{"2":{"name":"couple::skin-tone-2","unicode":"1f46b-1f3fb"},"3":{"name":"couple::skin-tone-3","unicode":"1f46b-1f3fc"},"4":{"name":"couple::skin-tone-4","unicode":"1f46b-1f3fd"},"5":{"name":"couple::skin-tone-5","unicode":"1f46b-1f3fe"},"6":{"name":"couple::skin-tone-6","unicode":"1f46b-1f3ff"},"2-3":{"name":"couple::skin-tone-2-3","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc"},"2-4":{"name":"couple::skin-tone-2-4","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd"},"2-5":{"name":"couple::skin-tone-2-5","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe"},"2-6":{"name":"couple::skin-tone-2-6","unicode":"1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff"},"3-2":{"name":"couple::skin-tone-3-2","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb"},"3-4":{"name":"couple::skin-tone-3-4","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd"},"3-5":{"name":"couple::skin-tone-3-5","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe"},"3-6":{"name":"couple::skin-tone-3-6","unicode":"1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff"},"4-2":{"name":"couple::skin-tone-4-2","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb"},"4-3":{"name":"couple::skin-tone-4-3","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc"},"4-5":{"name":"couple::skin-tone-4-5","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe"},"4-6":{"name":"couple::skin-tone-4-6","unicode":"1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff"},"5-2":{"name":"couple::skin-tone-5-2","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb"},"5-3":{"name":"couple::skin-tone-5-3","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc"},"5-4":{"name":"couple::skin-tone-5-4","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd"},"5-6":{"name":"couple::skin-tone-5-6","unicode":"1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff"},"6-2":{"name":"couple::skin-tone-6-2","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb"},"6-3":{"name":"couple::skin-tone-6-3","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc"},"6-4":{"name":"couple::skin-tone-6-4","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd"},"6-5":{"name":"couple::skin-tone-6-5","unicode":"1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"}}},"two_men_holding_hands":{"name":"two_men_holding_hands","unicode":"1f46c","multiSkinTone":true,"skinVariations":{"2":{"name":"two_men_holding_hands::skin-tone-2","unicode":"1f46c-1f3fb"},"3":{"name":"two_men_holding_hands::skin-tone-3","unicode":"1f46c-1f3fc"},"4":{"name":"two_men_holding_hands::skin-tone-4","unicode":"1f46c-1f3fd"},"5":{"name":"two_men_holding_hands::skin-tone-5","unicode":"1f46c-1f3fe"},"6":{"name":"two_men_holding_hands::skin-tone-6","unicode":"1f46c-1f3ff"},"2-3":{"name":"two_men_holding_hands::skin-tone-2-3","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc"},"2-4":{"name":"two_men_holding_hands::skin-tone-2-4","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd"},"2-5":{"name":"two_men_holding_hands::skin-tone-2-5","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe"},"2-6":{"name":"two_men_holding_hands::skin-tone-2-6","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff"},"3-2":{"name":"two_men_holding_hands::skin-tone-3-2","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb"},"3-4":{"name":"two_men_holding_hands::skin-tone-3-4","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd"},"3-5":{"name":"two_men_holding_hands::skin-tone-3-5","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe"},"3-6":{"name":"two_men_holding_hands::skin-tone-3-6","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff"},"4-2":{"name":"two_men_holding_hands::skin-tone-4-2","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb"},"4-3":{"name":"two_men_holding_hands::skin-tone-4-3","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc"},"4-5":{"name":"two_men_holding_hands::skin-tone-4-5","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe"},"4-6":{"name":"two_men_holding_hands::skin-tone-4-6","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff"},"5-2":{"name":"two_men_holding_hands::skin-tone-5-2","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb"},"5-3":{"name":"two_men_holding_hands::skin-tone-5-3","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc"},"5-4":{"name":"two_men_holding_hands::skin-tone-5-4","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd"},"5-6":{"name":"two_men_holding_hands::skin-tone-5-6","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff"},"6-2":{"name":"two_men_holding_hands::skin-tone-6-2","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb"},"6-3":{"name":"two_men_holding_hands::skin-tone-6-3","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc"},"6-4":{"name":"two_men_holding_hands::skin-tone-6-4","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd"},"6-5":{"name":"two_men_holding_hands::skin-tone-6-5","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"}}},"men_holding_hands":{"name":"men_holding_hands","unicode":"1f46c","aliasOf":"two_men_holding_hands","multiSkinTone":true,"skinVariations":{"2":{"name":"men_holding_hands::skin-tone-2","unicode":"1f46c-1f3fb"},"3":{"name":"men_holding_hands::skin-tone-3","unicode":"1f46c-1f3fc"},"4":{"name":"men_holding_hands::skin-tone-4","unicode":"1f46c-1f3fd"},"5":{"name":"men_holding_hands::skin-tone-5","unicode":"1f46c-1f3fe"},"6":{"name":"men_holding_hands::skin-tone-6","unicode":"1f46c-1f3ff"},"2-3":{"name":"men_holding_hands::skin-tone-2-3","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc"},"2-4":{"name":"men_holding_hands::skin-tone-2-4","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd"},"2-5":{"name":"men_holding_hands::skin-tone-2-5","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe"},"2-6":{"name":"men_holding_hands::skin-tone-2-6","unicode":"1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff"},"3-2":{"name":"men_holding_hands::skin-tone-3-2","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb"},"3-4":{"name":"men_holding_hands::skin-tone-3-4","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd"},"3-5":{"name":"men_holding_hands::skin-tone-3-5","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe"},"3-6":{"name":"men_holding_hands::skin-tone-3-6","unicode":"1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff"},"4-2":{"name":"men_holding_hands::skin-tone-4-2","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb"},"4-3":{"name":"men_holding_hands::skin-tone-4-3","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc"},"4-5":{"name":"men_holding_hands::skin-tone-4-5","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe"},"4-6":{"name":"men_holding_hands::skin-tone-4-6","unicode":"1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff"},"5-2":{"name":"men_holding_hands::skin-tone-5-2","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb"},"5-3":{"name":"men_holding_hands::skin-tone-5-3","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc"},"5-4":{"name":"men_holding_hands::skin-tone-5-4","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd"},"5-6":{"name":"men_holding_hands::skin-tone-5-6","unicode":"1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff"},"6-2":{"name":"men_holding_hands::skin-tone-6-2","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb"},"6-3":{"name":"men_holding_hands::skin-tone-6-3","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc"},"6-4":{"name":"men_holding_hands::skin-tone-6-4","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd"},"6-5":{"name":"men_holding_hands::skin-tone-6-5","unicode":"1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"}}},"two_women_holding_hands":{"name":"two_women_holding_hands","unicode":"1f46d","multiSkinTone":true,"skinVariations":{"2":{"name":"two_women_holding_hands::skin-tone-2","unicode":"1f46d-1f3fb"},"3":{"name":"two_women_holding_hands::skin-tone-3","unicode":"1f46d-1f3fc"},"4":{"name":"two_women_holding_hands::skin-tone-4","unicode":"1f46d-1f3fd"},"5":{"name":"two_women_holding_hands::skin-tone-5","unicode":"1f46d-1f3fe"},"6":{"name":"two_women_holding_hands::skin-tone-6","unicode":"1f46d-1f3ff"},"2-3":{"name":"two_women_holding_hands::skin-tone-2-3","unicode":"1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc"},"2-4":{"name":"two_women_holding_hands::skin-tone-2-4","unicode":"1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd"},"2-5":{"name":"two_women_holding_hands::skin-tone-2-5","unicode":"1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe"},"2-6":{"name":"two_women_holding_hands::skin-tone-2-6","unicode":"1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff"},"3-2":{"name":"two_women_holding_hands::skin-tone-3-2","unicode":"1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb"},"3-4":{"name":"two_women_holding_hands::skin-tone-3-4","unicode":"1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd"},"3-5":{"name":"two_women_holding_hands::skin-tone-3-5","unicode":"1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe"},"3-6":{"name":"two_women_holding_hands::skin-tone-3-6","unicode":"1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff"},"4-2":{"name":"two_women_holding_hands::skin-tone-4-2","unicode":"1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb"},"4-3":{"name":"two_women_holding_hands::skin-tone-4-3","unicode":"1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc"},"4-5":{"name":"two_women_holding_hands::skin-tone-4-5","unicode":"1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe"},"4-6":{"name":"two_women_holding_hands::skin-tone-4-6","unicode":"1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff"},"5-2":{"name":"two_women_holding_hands::skin-tone-5-2","unicode":"1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb"},"5-3":{"name":"two_women_holding_hands::skin-tone-5-3","unicode":"1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc"},"5-4":{"name":"two_women_holding_hands::skin-tone-5-4","unicode":"1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd"},"5-6":{"name":"two_women_holding_hands::skin-tone-5-6","unicode":"1f469-1f3fe-200d-1