PageSourceSearch

https://sindhuja.notion.site/_assets/TranscriptionBlockErrorAlertNotification-183ee3bab5a0868b.js

js sindhuja.notion.site collected 2026-10-09 23:24:28 UTC 40,431 bytes, 1 lines download raw bytes

1"use strict";(globalThis.rspackChunknotion_next=globalThis.rspackChunknotion_next||[]).push([[11018],{52628(e,t,r){function i(){return{...r(139424).A,requestedOnAlternateDomain:(0,r(700473).wasRequestedOnAlternateDomain)(),allowDomainInterop:!!(0,r(475898).tq)("production")&&"production"}}function n(e){return(0,r(545504).w)({url:e,config:i()})}function o(e){return(0,r(545504).u)({url:e,config:i()})}r.d(t,{u:()=>o,w:()=>n})},187649(e,t,r){let i,n;function o(e){i=e}async function a(){return n||(i?n=await i():void 0)}r.d(t,{Q:()=>o,z:()=>a})},636255(e,t,r){var i=r(635790),n=r(440302);function o({children:e,onChange:t,horizontal:a,style:s}){let l=(0,i.useRef)(null),d=(0,i.useRef)(0),u=(0,i.useRef)(0);return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;let i=(0,r(54503).NM)(e);if(i){function n(){return(null==i?void 0:i.scrollTop)||0}function o(){if(a){let r=function(){if(!e||!i)return 0;{let t=e.getBoundingClientRect(),r=i.getBoundingClientRect(),{scrollLeft:n,scrollWidth:o}=i,a=t.left+t.width+n-r.left,s=n+r.width;return o-t.width-(s-a)}}(),o={offsetFromTop:n()};r!==u.current&&(u.current=r,t(r,o))}else{let r=function(){if(!e||!i)return 0;{let t=e.getBoundingClientRect(),r=i.getBoundingClientRect(),{scrollTop:n}=i;return t.top+t.height+n-r.top-(n+r.height)}}(),o={offsetFromTop:n()};r!==d.current&&(d.current=r,t(r,o))}}o();let s=(0,r(960408).nF)(function(e){o()},50);return(0,r(166027).P)({el:i,eventName:"scroll",callback:s}),()=>{(0,r(260244).O)({el:i,eventName:"scroll",callback:s})}}},[a,t]),(0,n.jsx)("div",{...r(398276).A.props(s),ref:l,children:e})}r.d(t,{F:()=>o})},497857(e,t,r){r(635790);var i=r(440302);function n(){return(0,i.jsx)(r(16275).I,{icon:r(746204).w,size:"lg",colorVariant:"primary"})}r.d(t,{h:()=>n})},789722(e,t,r){let i=(0,r(327219).YK)({done:{id:"modal.doneButton",defaultMessage:"Done"},cancel:{id:"modal.cancelButton",defaultMessage:"Cancel"},back:{id:"modal.backButton",defaultMessage:"Back"}});r.d(t,{},{W:i})},295206(e,t,r){r(533958),r(730330),r(321577),r(139583),r(974864);let i=new WeakMap,n=new WeakMap,o=new WeakMap,a=r(286762).pT;function s(e,t){return e.flatMap(e=>{var r;let i=t.flatMap(t=>"workflow"===t?void 0===e.workflow?[]:[e.workflow]:"agent_service"===t?void 0===e.agentService?[]:[e.agentService]:void 0===e.customAgent?[]:[e.customAgent]);if(0===i.length)return[];let n=i.every(t=>t.isDisabled??e.isDisabled),o=(null==(r=i.find(t=>(t.isDisabled??e.isDisabled)===n))?void 0:r.disabledReason)??e.disabledReason;return[n===e.isDisabled&&o===e.disabledReason?e:{...e,isDisabled:n,disabledReason:o}]})}class l{constructor(e){this.responseStore=e}getData(e,t){var r;return null==(r=this.responseStore.getData(e,t))?void 0:r.models}getProviderTokenSharing(e,t){var r;return null==(r=this.responseStore.getData(e,t))?void 0:r.providerTokenSharing}async awaitData(e,t){var r;return null==(r=await this.responseStore.awaitData(e,t))?void 0:r.models}resetData(e,t){return this.responseStore.resetData(e,t)}TEST_ONLY__hasData(e,t){return this.responseStore.TEST_ONLY__hasData(e,t)}TEST_ONLY__setMessageDispatcher(e){this.responseStore.TEST_ONLY__setMessageDispatcher(e)}TEST_ONLY__setData(e,t,r){let i=this.TEST_ONLY__hasData(e,t)?this.getProviderTokenSharing(e,t):void 0;this.responseStore.TEST_ONLY__setData(e,t,void 0===r?void 0:{models:r,restrictedAccessModelsInPickerConfig:[],providerTokenSharing:i})}TEST_ONLY__setProviderTokenSharing(e,t,r){let i=this.TEST_ONLY__hasData(e,t)?this.getData(e,t)??[]:[];this.responseStore.TEST_ONLY__setData(e,t,{models:i,restrictedAccessModelsInPickerConfig:[],providerTokenSharing:r})}indexCache=new WeakMap;isModelDisabled(e,t,r){let i=this.getModelEntry(e,t,r);return(null==i?void 0:i.isDisabled)??!1}getModelEntry(e,t,r){let i=this.getData(e,{spaceId:t});if(i)return this.getIndex(i).get(r)}getModelMessage(e,t,r){var i;return null==(i=this.getModelEntry(e,t,r))?void 0:i.modelMessage}getModelFamily(e,t,i){var n;let o=null==(n=this.getModelEntry(e,t,i))?void 0:n.modelFamily;return(0,r(443037).jb)(o)?o:void 0}getModelProvider(e,t,i){var n;let o=null==(n=this.getModelEntry(e,t,i))?void 0:n.modelProvider;return(0,r(910411).PZ)(o)?o:void 0}getModelsForMode(e,t,r){return this.getModelsForModes(e,t,[r])}getModelsForModes(e,t,r){return this.getModelsForModesWithArgs(e,{spaceId:t},r)}
1getModelsForWorkspaceSettings(e,t,r){return this.getModelsForModesWithArgs(e,{spaceId:t,surface:"workspace_model_settings"},r)}getModelsForModesWithArgs(e,t,r){let i=this.getData(e,t);if(i)return s(i,r)}getRestrictedAccessModelsInPickerConfig(e,t){let r=this.getData(e,{spaceId:t});return void 0===r?[]:i.get(r)??[]}TEST_ONLY__setRestrictedAccessModelsInPickerConfig(e,t,r){let n=this.getData(e,t);void 0!==n&&i.set(n,r)}isRestrictedGeoPolicyApplied(e,t){let r=this.getData(e,{spaceId:t});return void 0!==r&&(n.get(r)??!1)}setRestrictedGeoPolicyApplied(e,t,r){let i=this.getData(e,t);void 0!==i&&n.set(i,r)}hasModelsHiddenByBillingLocation(e,t,r){var i;return(null==(i=this.responseStore.getData(e,{spaceId:t}))||null==(i=i.restrictedGeoHiddenModelModes)?void 0:i.includes(r))??!1}getWorkflowModelsHiddenByBillingLocation(e,t){var r;return(null==(r=this.responseStore.getData(e,{spaceId:t}))?void 0:r.restrictedGeoHiddenWorkflowModels)??[]}isBYOKEnabled(e,t){return this.getBYOKEnrolledProviders(e,t).length>0}getBYOKEnrolledProviders(e,t){let r=this.getData(e,{spaceId:t});return void 0===r?[]:o.get(r)??[]}TEST_ONLY__setDataWithBYOKState(e,t,r){o.set(r.models,r.enrolledProviders),this.TEST_ONLY__setData(e,t,r.models)}getIndex(e){let t=this.indexCache.get(e);if(t)return t;let r=new Map;for(let t of e)r.set(t.model,t);return this.indexCache.set(e,r),r}}let d=new l(new(r(227586)).n((e,{spaceId:t,surface:r})=>`${e.currentUser.id}:${t}:${r??"model_picker"}`,async(e,{spaceId:t,surface:a})=>{let s=e.currentUser.id;try{var l;let d=await e.api.callCellCompatibleApi({eventName:"getAvailableModels",environment:e,cellNavigation:{spaceId:t},data:{spaceId:t,surface:a}});if("failed"===d.type){let e=(0,r(201790).V4)(d);r(419750).O8(Error(`Failed to fetch available models: ${e}`),{from:"AvailableModelsStore.fetch",type:"api_failed_response",data:{spaceId:t,userId:s,errorMessage:e}});return}return 0!==d.data.models.length||d.data.restrictedGeoPolicyApplied||d.data.modelSelectionRestricted||r(419750).O8(Error("Received empty model list from server"),{from:"AvailableModelsStore.fetch",type:"empty_response",data:{spaceId:t,userId:s}}),i.set(d.data.models,d.data.restrictedAccessModelsInPickerConfig),n.set(d.data.models,!0===d.data.restrictedGeoPolicyApplied),o.set(d.data.models,(null==(l=d.data.byok)?void 0:l.enrolledProviders)??[]),{value:d.data,dependencies:[{key:(0,r(379736).M5)({spaceId:t}),version:-1},...void 0===s?[]:[{key:(0,r(379736).jo)({spaceId:t,userId:s}),version:-1}]]}}catch(e){r(419750).O8(e,{from:"AvailableModelsStore.fetch",type:"error",data:{spaceId:t,userId:s}});return}},{dontCacheUndefined:!0,staleAfterMs:a}));(0,r(202146).exposeDebugValue)("availableAiModelsStore",d),r.d(t,{v:()=>s},{P:d})},763395(e,t,r){function i(e){let{environment:t,blockStore:i,collectionStore:n,title:o,transaction:a}=e,s=n.getModel();if(!s)return;let l=(0,r(477294).F)({collection:s,getRecordModel:n.getRecordModel});if(!l)return;let{datePropertyId:d}=l,u=n.getSchema()[d],c=(0,r(550350).ck)({blockProperties:{title:o},oldSchema:{},newSchema:u?{[d]:u}:{}});r(793358).D5({type:"dateValue",environment:t,store:i,propertyId:d,transaction:a,dateValue:(0,r(179358).b)(c[d]??void 0)})}r.d(t,{E:()=>i})},168682(e,t,r){function i(e){let{saveUserPreference:t}=e,i=e.chatPanelMode;r(825244).P.setState(!1),r(562733).zI.setState({...r(562733).zI.state,chatPanelMode:i});let n=(0,r(828560).hw)();!n||"sidebar"!==i||n||(0,r(507330).K)(e.environment)||(0,r(325475).h)({environment:e.environment,isExpanded:!0,from:"slippery_slope_mode_switch",saveDetailsSidebarPreference:!1}),t&&(0,r(181347).oc)({chatPanelMode:i}),e.trackAnalytics&&(async()=>{try{(await Promise.all([r.e(80293),r.e(75887),r.e(87662),r.e(22985),r.e(77099),r.e(99376),r.e(4822),r.e(78729),r.e(68735),r.e(14417),r.e(41379),r.e(64552),r.e(83065),r.e(66395),r.e(99044),r.e(97054),r.e(50869),r.e(40678),r.e(3649),r.e(54931),r.e(26751),r.e(4637),r.e(60428),r.e(40835),r.e(66644)]).then(r.bind(r,689262))).trackAgentToggleChatMode({environment:e.environment,chatMode:i})}catch(e){}})()}r.d(t,{M:()=>i})},181347(e,t,r){let i=r(764657).union([r(764657).literal("sidebar"),r(764657).literal("popup")]),n=r(764657).object({required:{},optional:{chatPanelMode:i,chatPanelModePreferenceVersion:r(764657).literal(2)}});function o(){var e;let t,i;return e=r(562733).mx.getState(),{chatPanelMode:(i=void 0!==(t=(0,r(788145).Qq)(n,e)??{}).chatPanelMode&&2===t.chatPanelModePreferenceVersion)&&t.chatPanelMode?t.chatPanelMode:"sidebar",hasExplicitChatPanelModePreference:i}}function a(){return(0,r(579993).K8)(()=>o(),[])}function s(e){let t=r(562733).mx.getState()??{};r(562733).mx.setState({...t,...e,chatPanelModePreferenceVersion:void 0===e.chatPanelMode?t.chatPanelModePreferenceVersion:2})}r.d(t,{TL:()=>o,oc:()=>s,yr:()=>a})},551408(e,t,r){function i(){return(0,r(579993).K8)(()=>r(886556).z.isAiEnabled(),[])}function n(){return r(886556).z.isAiEnabled()}r.d(t,{A:()=>i,R:()=>n})},970484(e,t,r){function i(e=!1){var t,n;let o=e;!o&&(0,r(826711).isBootGateEnabled)("desktop_enable_crash_reporting")&&(o=!0),o&&(null===r(775657).electronApi||void 0===r(775657).electronApi||null==(t=r(775657).electronApi.crashReporting)||null==(n=t.enableCrashReporting)||n.call(t))}r.d(t,{k:()=>i})},666234(e,t,r){let i=new(r(552709)).O2("autoStartTranscriptionActions",async()=>await Promise.all([r.e(58035),r.e(80293),r.e(75887),r.e(87662),r.e(77694),r.e(22985),r.e(20681),r.e(86600),r.e(46913),r.e(10033),r.e(84528),r.e(32171),r.e(77099),r.e(99376),r.e(4822),r.e(78729),r.e(68735),r.e(14417),r.e(41379),r.e(64552),r.e(83065),r.e(66395),r.e(99044),r.e(97054),r.e(50869),r.e(40678),r.e(3649),r.e(1559),r.e(61300),r.e(97098),r.e(60921),r.e(54931),r.e(56556),r.e(26751),r.e(11849),r.e(4637),r.e(74787),r.e(57614),r.e(11327),r.e(20773),r.e(60428),r.e(56161),r.e(40835),r.e(89379),r.e(2337),r.e(90989),r.e(89292),r.e(52149),r.e(64076),r.e(44960),r.e(54161),r.e(42968),r.e(89352),r.e(11723),r.e(68034),r.e(31693),r.e(14512),r.e(80247),r.e(46449),r.e(82782),r.e(85239),r.e(74017),r.e(26612),r.e(96886),r.e(17970),r.e(33308),r.e(34925),r.e(66194),r.e(48453),r.e(90466),r.e(41269),r.e(10817),r.e(55857),r.e(52512),r.e(91049),r.e(11702),r.e(42386),r.e(58422),r.e(77979),r.e(82531),r.e(56762),r.e(33622),r.e(69116),r.e(99251),r.e(61457),r.e(25024),r.e(31207),r.e(67535),r.e(66256),r.e(17521),r.e(17048),r.e(26010),r.e(32911),r.e(95269),r.e(36036),r.e(90178),r.e(41873),r.e(89269),r.e(63569),r.e(90671),r.e(85160),r.e(19028),r.e(84741),r.e(38438),r.e(53191),r.e(77631),r.e(22016),r.e(14016),r.e(64526)]).then(r.bind(r,578012)));r.d(t,{},{k:i})},148948(e,t,r){var i=r(635790),n=r(440302);function o({icon:e,iconColorPalette:t,iconColorVariant:a,notificationContent:s,isVisible:l=!0,initialIsOpen:d=!1,ariaLabel:u,notificationType:c,onClose:g}){let p=(0,r(533992).v3)(),[m,f]=(0,i.useState)(d),v=(0,i.useCallback)(()=>{f(!1),(0,r(104310).u)({event:{eventName:"ai_meeting_notes_alert_notification_popup_closed",eventProperties:{notification_type:c}}}),null==g||g()},[c,g]);return((0,i.useEffect)(()=>{l&&(0,r(104310).u)({event:{eventName:"ai_meeting_notes_alert_notification_shown",eventProperties:{notification_type:c}}})},[p,l,c]),l)?(0,n.jsx)(r(656252).d,{content:e=>"function"==typeof s?s({closePopup:e.close}):s,popupType:r(182718).n.Popup,placementToOrigin:"bottom",alignmentToOrigin:"end",open:m,originGap:2,onClick:()=>{f(!0),(0,r(104310).u)({event:{eventName:"ai_meeting_notes_alert_notification_button_clicked",eventProperties:{notification_type:c}}})},onClose:v,children:i=>(0,n.jsx)(r(374533).K,{icon:e,size:r(139424).A.isMobile?"lg":"md",colorPalette:t,color
1Variant:a,ariaLabel:u,...i})}):null}r.d(t,{M:()=>o})},562252(e,t,r){r.r(t),r.d(t,{TranscriptionBlockErrorAlertNotification:()=>S,closeTranscriptionBlockErrorAlertOnAcceptedAction:()=>A,getTranscriptionBlockErrorRetryActions:()=>T,needsVideoFileUploadRetryGate:()=>x}),r(730330),r(976614);var i=r(635790);let n=(0,r(327219).YK)({retryTranscribeAudio:{defaultMessage:"Retry transcription",id:"transcriptionBlockSettings.retryTranscribeAudio"}}),o=(0,r(876011).Ls)({key:"retryTranscribeAudio",displayName:n.retryTranscribeAudio,analyticsName:n.retryTranscribeAudio.defaultMessage,closeParentMenu:!0,svg:r(528534).F,validators:[r(219888).x,(0,r(366055)._B)(["recorded_audio_transcribing"]),function({blocks:e}){var t;let i=e[0];if(!(null!=i&&i.isMeetingNoteBlock()))return!1;let n=i.getFormat();return(null==n||null==(t=n.pre_recorded_transcription)?void 0:t.source_restored_after_failure)!==!0&&void 0!==a(n)&&("video"!==(0,r(276162).mQ)(n)||!(0,r(276162).om)(i)&&(0,r(857263).Uk)()&&!(0,r(859117).ib)(i.id))},r(411618).X],...(0,r(225940).d)(r(825871).v.templateSummarizeTooltip),action:({environment:e,blocks:t})=>{let i=t[0];if(!(null!=i&&i.isMeetingNoteBlock()))return null;let n=i.getFormat(),o=a(n);if(void 0===o)return null;let d=i.pointer.spaceId;if(!d)return null;let u=e.currentUser.id,c=(0,r(400986).getDictationLanguageValue)((0,r(533096).getPreferredDictationLanguage)(u));s({environment:e,blockStore:i,spaceId:d,audioUrls:o,sourceMediaType:(0,r(276162).mQ)(n),language:c,shouldSelectSummaryTab:!(0,r(723261).kc)(e,i),forceRetryPreRecordedTranscription:!0}).catch(e=>{l({type:"enqueueTaskThrew",error:e,blockStore:i,spaceId:d})})}});function a(e){var t;let r=null==e||null==(t=e.pre_recorded_transcription)?void 0:t.fileUrls;if(void 0!==r&&r.length>0)return r;let i=null==e?void 0:e.transcription_state;if((null==i?void 0:i.state)==="recorded_audio_transcribing"&&i.fileUrls.length>0)return i.fileUrls}async function s(e){let{environment:t,blockStore:i,spaceId:n,audioUrls:o,sourceMediaType:a,language:s,shouldSelectSummaryTab:d,forceRetryPreRecordedTranscription:u}=e,c=(await (0,r(259242).UT)({environment:t,eventName:r(284620).d,request:{audioUrls:o,transcriptionBlockPointer:{table:"block",id:i.id,spaceId:n},language:s,kickoffSummary:!0,keepExistingTranscription:!1,...void 0!==a?{sourceMediaType:a}:{},...u?{forceRetryPreRecordedTranscription:!0}:{}},multiCellRouting:{spaceIds:[n]}}).next()).value.error;c?l({type:"enqueueTaskFailed",error:c,blockStore:i,spaceId:n}):d&&(0,r(627335).Jm)({transcriptionBlockStore:i})}function l(e){let{type:t,error:i,blockStore:n,spaceId:o}=e;(0,r(208318).t)().log({level:"error",from:"retryTranscribeAudio",type:t,error:(0,r(952977).convertErrorToLog)(i),data:{miscDataToConvertToString:{blockId:n.id,spaceId:o}}})}let d=(0,r(327219).YK)({retryUploadAudio:{defaultMessage:"Retry upload",id:"transcriptionBlockSettings.retryUploadAudio"}}),u=(0,r(876011).Ls)({key:"retryUploadAudio",displayName:d.retryUploadAudio,analyticsName:d.retryUploadAudio.defaultMessage,closeParentMenu:!0,svg:r(528534).F,validators:[r(219888).x,(0,r(366055)._B)(["recorded_audio_file_uploading"]),r(366055).YK,r(411618).X],...(0,r(225940).d)(r(825871).v.templateSummarizeTooltip),action:({environment:e,tabId:t,blocks:i})=>{let n=i[0];return!n.isMeetingNoteBlock()||(0,r(250004).retryTranscriptionFileUpload)({environment:e,tabId:t,blockStore:n})||((0,r(584003).cV)({environment:e,blockId:n.id,entrypoint:"retry_error_alert"}),(0,r(386406).F)({environment:e,blockStore:n,entrypoint:"retry_error_alert"})),null}}),c=(0,r(327219).YK)({retryUploadVideo:{defaultMessage:"Retry upload",id:"transcriptionBlockSettings.retryUploadVideo"}}),g=(0,r(876011).Ls)({key:"retryUploadVideo",displayName:c.retryUploadVideo,analyticsName:c.retryUploadVideo.defaultMessage,closeParentMenu:!0,svg:r(528534).F,validators:[r(219888).x,r(857263).Uk,function({blocks:e}){var t,i;let n=e[0];if(!(null!=n&&n.isMeetingNoteBlock()))return!1;let o=null==(t=n.getModel())?void 0:t.getFormat().transcription_state;if(void 0===o||(0,r(276162).om)(n))return!1;let a=null==(i=n.getModel())?void 0:i.getFormat().pre_recorded_transcription;if((null==a?void 0:a.source_restored_after_failure)===!0)return!1;if(("recorded_audio_file_uploading"===o.state||"recorded_audio_transcribing"===o.state)&&"failed"===o.result&&"video"===o.source_media_type)return!0;
1if("recorded_audio_file_uploading"!==o.state||"in_progress"!==o.result||"video"!==o.source_media_type)return!1;let s=o.lastUpdatedAt??o.timestamp;return Date.now()-s>=216e5&&!(0,r(859117).ib)(n.id)},function({environment:e}){return!e.device.isMobileBrowser&&!e.device.isMobileNative},r(411618).X],...(0,r(225940).d)(r(825871).v.templateSummarizeTooltip),action:({environment:e,blocks:t})=>{let i=t[0];return null!=i&&i.isMeetingNoteBlock()&&((0,r(441672).fE)({environment:e,blockId:i.id,entrypoint:"retry_error_alert"}),(async()=>{let t=await (0,r(352209).e)({environment:e});if(!t)return;let{uploadSelectedMeetingNotesVideoFile:n}=await Promise.all([r.e(63804),r.e(45664)]).then(r.bind(r,247667));await n({environment:e,blockStore:i,file:t,entrypoint:"retry_error_alert"})})()),null}});var p=r(440302);let m=(0,r(327219).YK)({errorLabel:{defaultMessage:"Error",id:"transcriptionBlock.error.label"}}),f=(0,r(327219).YK)({"transcribe-audio-file":{defaultMessage:"Failed to transcribe audio. Please try again.",id:"transcriptionBlock.error.transcribe"},"transcribe-video-file":{defaultMessage:"Failed to transcribe video. Please try again.",id:"transcriptionBlock.error.transcribeVideo"},summarize:{defaultMessage:"Failed to generate summary. Please try again.",id:"transcriptionBlock.error.summarize"}}),v=(0,r(327219).YK)({mobile:{defaultMessage:"Failed to upload the video file.",id:"transcriptionBlock.error.uploadVideo.mobile"},web:{defaultMessage:"Failed to upload the video file. Select the file again to retry.",id:"transcriptionBlock.error.uploadVideo.web"},unavailable:{defaultMessage:"Failed to upload the video file.",id:"transcriptionBlock.error.uploadVideo.unavailable"}}),_=(0,r(327219).YK)({native:{defaultMessage:"Failed to upload audio. Please try again.",id:"transcriptionBlock.error.uploadAudio"},web:{defaultMessage:"Failed to upload the audio file. Select the file again to retry.",id:"transcriptionBlock.error.uploadAudio.web"}}),b=(0,r(327219).YK)({summarize:{defaultMessage:"Summary is taking longer than expected. You can retry to continue.",id:"transcriptionBlock.error.summarizeStuck"},"upload-video":{defaultMessage:"Video upload is taking longer than expected. Select the file again to retry.",id:"transcriptionBlock.error.uploadVideo.stuck"},"transcribe-audio-file":{defaultMessage:"Transcription is taking longer than expected. You can retry to continue.",id:"transcriptionBlock.error.transcribeStuck"},"transcribe-video-file":{defaultMessage:"Transcription is taking longer than expected. You can retry to continue.",id:"transcriptionBlock.error.transcribeVideoStuck"}}),h=(0,r(327219).YK)({transcribe:{id:"transcriptionBlock.error.transcribeNoRetry",defaultMessage:"This recording couldn’t be transcribed."},summarize:{id:"transcriptionBlock.error.summarizeNoRetry",defaultMessage:"This summary couldn’t be generated."},uploadAudio:{id:"transcriptionBlock.error.uploadAudioNoRetry",defaultMessage:"This audio file couldn’t be uploaded."}}),y=(0,r(327219).YK)({audioRecoveryExpired:{defaultMessage:"Audio recovery is no longer available. The local recording may have expired.",id:"transcriptionBlock.error.audioRecoveryExpired"},audioRecoveryTooLarge:{defaultMessage:"This recording is too large to transcribe. Audio files must be under 1 GB.",id:"transcriptionBlock.error.audioRecoveryTooLarge"},videoRetryUnavailable:{defaultMessage:"Video upload retry is no longer available.",id:"transcriptionBlock.error.videoRetryUnavailable"},summaryRetryUnavailable:{defaultMessage:"The transcript was deleted according to workspace settings, so this summary can’t be retried.",id:"transcriptionBlock.error.summaryRetryUnavailable"}});function S(){let e=(0,r(327219).tz)(),{store:t}=(0,r(308240).s)(),n=(0,r(533992).v3)(),o=(0,r(633636).wM)(),a=(0,r(143237).nJ)(),s=(0,r(67499).S)(),l=
1x(a),d=(0,r(579993).K8)(()=>!!l&&(0,r(857263).Uk)(),[l]),u=(0,r(579993).K8)(()=>(0,r(276162).om)(t),[t]),c=(0,i.useMemo)(()=>({environment:n,tabId:o,blocks:[t],publicEditMode:void 0,pageContext:s}),[n,o,t,s]),S=(0,r(579993).K8)(()=>T({errorInfo:a,transcriptHasContent:u,videoFileUploadEnabled:d}).filter(e=>(0,r(912289).F6)(e,c)),[a,u,d,c],{equalityFn:r(134542).kt}),k=(0,i.useMemo)(()=>0===S.length?[]:[(0,r(876011).gy)({key:"retry",render:e=>(0,p.jsx)(r(83743).A,{...e,topBorder:!0}),actions:S})],[S]);if(!a)return null;let M=S.length>0,w=S.includes(g)&&!n.device.isMobileBrowser&&!n.device.isMobileNative,D=(()=>{if(void 0===a.retryAction)return"video_retry_unavailable"===a.reason?y.videoRetryUnavailable:"summary_retry_unavailable"===a.reason?y.summaryRetryUnavailable:"audio_exceeds_size_limit"===a.unrecoverableReason?y.audioRecoveryTooLarge:y.audioRecoveryExpired;if(!M){var e,t=a.retryAction;switch(t){case"transcribe-audio-file":return h.transcribe;case"transcribe-video-file":return y.videoRetryUnavailable;case"summarize":return h.summarize;case"upload-audio":return h.uploadAudio;case"upload-video":return v.unavailable;default:return(0,r(48697).HB)(t)}}if("stuck"===a.reason){if("summarize"===a.retryAction)return b.summarize;if("upload-video"===a.retryAction)return w?b["upload-video"]:v.unavailable;if("transcribe-audio-file"===a.retryAction)return b["transcribe-audio-file"];if("transcribe-video-file"===a.retryAction)return b["transcribe-video-file"]}if("upload-audio"===a.retryAction)return n.mobileNative?_.native:_.web;if("upload-video"===a.retryAction){return w?v.web:(e=n).device.isMobileBrowser||e.device.isMobileNative?v.mobile:v.unavailable}return f[a.retryAction]})();return(0,p.jsx)(r(148948).M,{icon:r(653905).exclamationMarkTriangleIcon,iconColorPalette:"red",iconColorVariant:"secondary",notificationContent:({closePopup:e})=>(0,p.jsxs)(r(747369).A,{menuType:r(649476).gu.Popup,width:280,children:[(0,p.jsxs)(r(4458).fI,{alignItems:"flex-start",gap:8,paddingBlock:6,paddingInline:12,children:[(0,p.jsx)(r(16275).I,{icon:r(653905).exclamationMarkTriangleIcon,colorPalette:"red",colorVariant:"secondary"}),(0,p.jsx)(r(111010).D,{styleKey:"bodyRegular",colorVariant:"secondary",children:(0,p.jsx)(r(327219).sA,{...D})})]}),(0,p.jsx)(r(530500).A,{sections:k,context:c,keyboardPriority:1,onAccept:t=>{A({action:t,closePopup:e})}})]}),ariaLabel:e.formatMessage(m.errorLabel),notificationType:"transcription_error"})}function A(e){let{action:t,closePopup:r}=e;t.closeParentMenu&&r()}function T(e){let{errorInfo:t,transcriptHasContent:i,videoFileUploadEnabled:n}=e;return t&&void 0!==t.retryAction?"summarize"===t.retryAction?[r(861706).j]:"upload-audio"===t.retryAction?[u]:"upload-video"===t.retryAction?n?[g]:[]:"transcribe-audio-file"===t.retryAction?[o]:"transcribe-video-file"===t.retryAction?i?[]:n?[o,g]:[]:void(0,r(48697).HB)(t.retryAction):[]}function x(e){return(null==e?void 0:e.retryAction)==="upload-video"||(null==e?void 0:e.retryAction)==="transcribe-video-file"}}
1,825871(e,t,r){let i=(0,r(327219).YK)({templateStartTooltip:{id:"transcriptionBlock.disabled.templateTooltip.start",defaultMessage:"Transcription cannot be started inside a template"},templateSummarizeTooltip:{id:"transcriptionBlock.disabled.templateTooltip.summarize",defaultMessage:"Transcription cannot be summarized inside a template"}});r.d(t,{},{v:i})},284771(e,t,r){var i=()=>r(546605);class n extends i().Store{constructor(){super()}getInitialState(){}}let o=new n;r.d(t,{},{A:o})},723836(e,t,r){function i({environment:e,eventProperties:t}){(0,r(104310).u)({event:{eventName:"navigate_to_library",eventProperties:t}})}function n({environment:e,libraryViewName:t}){(0,r(104310).u)({event:{eventName:"library_subitem_creation",eventProperties:{library_view_name:t}}})}function o({environment:e,libraryViewName:t}){(0,r(104310).u)({event:{eventName:"library_create_page_button",eventProperties:{library_view_name:t}}})}function a({environment:e,libraryViewName:t}){(0,r(104310).u)({event:{eventName:"library_view_selected",eventProperties:{library_view_name:t}}})}function s({environment:e,eventProperties:t}){(0,r(104310).u)({event:{eventName:"toggle_sidebar_section_visibility",eventProperties:t}})}function l({environment:e,eventProperties:t}){(0,r(104310).u)({event:{eventName:"add_items_to_sidebar_section",eventProperties:t}})}function d({environment:e,libraryViewName:t,numPagesReordered:i}){(0,r(104310).u)({event:{eventName:"library_reorder_pages",eventProperties:{library_view_name:t,num_pages_reordered:i}}})}r.d(t,{DB:()=>d,bD:()=>n,bT:()=>i,lr:()=>a,rx:()=>s,t6:()=>o,xN:()=>l})},590943(e,t,r){let i=new(r(552709)).O2("pagePresentationActions",async()=>await Promise.resolve().then(r.bind(r,697203)));r.d(t,{},{e:i})},884015(e,t,r){async function i(e){let{environment:t,url:i,callbackType:n}=e,o=r(392096).ZO(i),a=r(392096).qg(o),s=a.pathname??"",l=s===r(168962).JZ.mcpOAuthComplete;if(t.device.isNative){if(s===r(168962).JZ.googleAuthCallback||s===r(168962).JZ.microsoftAuthCallback){let e=r(132702).parseRoute({url:o,baseUrl:r(139424).A.domainBaseUrl,publicDomainName:r(139424).A.publicDomainName,isMobile:r(139424).A.isMobile,protocol:r(139424).A.protocol,currentUrl:window.location.href,requestedOnAlternateDomain:(0,r(700473).wasRequestedOnAlternateDomain)()}),i="googleAuthCallback"===e.name||"microsoftAuthCallback"===e.name?e.encryptedToken:void 0;r(773352).log({level:"info",from:"openInNativeApp",type:"nativeAuthCallbackDirectNavigate",data:{miscDataToConvertToString:{callbackType:n,hasState:"string"==typeof a.query.state,isElectron:t.device.isElectron,oauthStateHash:"string"==typeof i?(0,r(503182).t)(i):void 0,pathname:s}}})}else l&&r(773352).log({level:"info",from:"openInNativeApp",type:"mcpOAuthCompleteNativeNavigate",data:{miscDataToConvertToString:{hasConnectionId:"string"==typeof a.query.connectionId,hasError:"string"==typeof a.query.error,isElectron:t.device.isElectron,routeKind:r(132702).r4(s)}}});(0,r(772466).navigate)({url:o,environment:t})}else{let e="nativemailredirect"===n,i="nativecalendarredirect"===n,d=e||i,u=d?`${r(139424).A.domainBaseUrl}${o}`:o,c=e?r(139424).A.mail.protocol:i?r(139424).A.calendar.desktopProtocol:r(139424).A.protocol;r(773352).log({keepalive:!0,level:"info",from:"openInNativeApp",type:"nativeRedirectSchemeHandoff",data:{miscDataToConvertToString:{callbackType:n,hasConnectionId:"string"==typeof a.query.connectionId,hasError:"string"==typeof a.query.error,isElectron:t.device.isElectron,isMcpOAuthComplete:l,protocol:c,routeKind:r(132702).r4(s),shouldUseFullUrl:d}}}),(0,r(318620).Y)(r(392096).O$(r(729412).$J({httpUrl:u,protocol:c,includePort:d}),{di:await (0,r(647439).T)(t)}))}}r.d(t,{e:()=>i})},128817(e,t,r){function i(e,t,i){var n;let o=r(192314).AppStoreCurrentUserSettingsStore.state;if(!o)return;let a=null==(n=o.getSettings())?void 0:n.tutorials;i?(0,r(862759).m)({userSettingsStore:o,transaction:i,data:{tutorials:{...a,[t]:(0,r(752153).i9)(o,t)}}}):c({userAction:"TutorialActions.nextStep",environment:e,perform:e=>{(0,r(862759).m)({userSettingsStore:o,transaction:e,data:{tutorials:{...a,[t]:(0,r(752153).i9)(o,t)}}})},userId:o.id})}function n(e,t){var i;let n=r(192314).AppStoreCurrentUserSettingsStore.state;if(!n)return;let o=null==(i=n.getSettings())?void 0:i.tutorials;c({userAction:"TutorialActions.prevStep",environment:e,perform:e=>{(0,r(862759).m)({userSettingsStore:n,transaction:e,data:{tutorials:{...o,[t]:(0,r(752153).KD)(n,t)}}})},userId:n.id})}function o(e,t){var i;let n=r(192314).AppStoreCurrentUserSettingsStore.state;if(!n)return;let o=null==(i=n.getSettings())?void 0:i.tutorials;(null==o?void 0:o[t])!==r(212169).YD&&c({userAction:"TutorialActions.dismissTutorial",environment:e,perform:e=>{(0,r(862759).m)({userSettingsStore:n,transaction:e,data:{tutorials:{...o,[t]:r(212169).YD}}})},userId:n.id})}function a(e){let t=r(192314).AppStoreCurrentUserSettingsStore.state;t&&c({userAction:"TutorialActions.resetTutorialsDebug",environment:e,perform:e=>{(0,r(862759).m)({userSettingsStore:t,transaction:e,data:{tutorials:{}}})},userId:t.id})}function s(e,t,i){var n;
1let o=r(192314).AppStoreCurrentUserSettingsStore.state;if(!o||(0,r(752153).x$)(o,t))return;let a=(0,r(752153).gt)(o,t);r(212169).c$[t].steps.findIndex(e=>e.id===a)>=r(212169).c$[t].steps.findIndex(e=>e.id===i)||(0,r(862759).m)({userSettingsStore:o,transaction:e,data:{tutorials:{...null==(n=o.getSettings())?void 0:n.tutorials,[t]:i}}})}function l(e,t,i){if((0,r(752153).ll)(i))return;let n=(0,r(752153).tb)(t,i);n&&s(e,t,n)}function d(e){var t;let{environment:i,tutorialId:n,tutorialStepId:o,transaction:a}=e,s=r(192314).AppStoreCurrentUserSettingsStore.state;if(!s)return;let l=null==(t=s.getSettings())?void 0:t.tutorials;a?(0,r(862759).m)({userSettingsStore:s,transaction:a,data:{tutorials:{...l,[n]:o}}}):c({userAction:"TutorialActions.nextStep",environment:i,perform:e=>{(0,r(862759).m)({userSettingsStore:s,transaction:e,data:{tutorials:{...l,[n]:o}}})},userId:s.id})}function u(e){let t=r(192314).AppStoreCurrentUserSettingsStore.state;return!!t&&(0,r(752153).x$)(t,e)}function c(e){return(0,r(323517).createAndCommit)({...e,canUndo:!1,cellTarget:"main"})}r.r(t),r.d(t,{checkIsTutorialDone:()=>u,dismissTutorial:()=>o,resetTutorials:()=>a,tutorialAdvanceToStep:()=>s,tutorialAdvanceToStepAfter:()=>l,tutorialGoToNextStep:()=>i,tutorialGoToPrevStep:()=>n,tutorialGoToStep:()=>d})},746204(e,t,r){r(635790);let i={viewBox:"0 0 20 20",fittedViewBox:"5.87 3.72 7.16 12.56",directional:!0,svg:(0,r(440302).jsx)("path",{d:"M6.131 9.381a.875.875 0 0 0 0 1.238l5.4 5.4a.875.875 0 1 0 1.238-1.238L7.987 10l4.782-4.781A.875.875 0 0 0 11.53 3.98z"})},n=(0,r(104509).wt)("arrowChevronSingleLeftFill",i,"fill");r.d(t,{},{w:n})},528534(e,t,r){r(635790);let i={viewBox:"0 0 20 20",fittedViewBox:"3.37 1.37 13.26 16.26",svg:(0,r(440302).jsx)("path",{d:"M10.809 1.478a.625.625 0 0 0-.864.867l.08.099 1.942 1.932H10A6.625 6.625 0 1 0 16.625 11a.625.625 0 1 0-1.25 0A5.375 5.375 0 1 1 10 5.626h1.963L10.038 7.56l-.08.098a.626.626 0 0 0 .966.783l2.993-3.007.077-.096a.625.625 0 0 0-.08-.788l-3.007-2.993z"})},n=(0,r(104509).wt)("arrowCircleSpinClockwise",i,"default");r.d(t,{},{F:n})},6260(e,t,r){r(635790);var i=r(440302);let n={viewBox:"0 0 20 20",fittedViewBox:"2.37 4.12 16.74 14.99",svg:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M4.5 4.125A2.125 2.125 0 0 0 2.375 6.25v7.5c0 1.174.951 2.125 2.125 2.125h5.702a4.7 4.7 0 0 1-.2-1.25H4.5a.875.875 0 0 1-.875-.875V7.5h12.75v2.535a4.7 4.7 0 0 1 1.25.684V6.25A2.125 2.125 0 0 0 15.5 4.125zm.758 1.684a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0m1.375-.625a.625.625 0 1 1 0 1.25.625.625 0 0 1 0-1.25m2.625.625a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0"}),(0,i.jsx)("path",{d:"M17.7 16.607a3.625 3.625 0 1 0-.893.878l1.223 1.427a.625.625 0 0 0 .94-.823zM12.375 14.5a2.375 2.375 0 1 1 4.75 0 2.375 2.375 0 0 1-4.75 0"})]})},o=(0,r(104509).wt)("browserMagnifyingGlass",n,"default");r.d(t,{},{Z:o})},397900(e,t,r){r.r(t),r(635790);let i={viewBox:"0 0 20 20",fittedViewBox:"2.62 8.62 14.76 2.76",svg:(0,r(440302).jsx)("path",{d:"M4 11.375a1.375 1.375 0 1 0 0-2.75 1.375 1.375 0 0 0 0 2.75m6 0a1.375 1.375 0 1 0 0-2.75 1.375 1.375 0 0 0 0 2.75m6 0a1.375 1.375 0 1 0 0-2.75 1.375 1.375 0 0 0 0 2.75"})},n=(0,r(104509).wt)("ellipsis",i,"default");r.d(t,{},{ellipsisIcon:n,iconDefinition:i})},388021(e,t,r){function i(e){return e}let n=["onboarding_agent_welcome","onboarding","daily_brief","inbox_triage","marketplace_template","record_meeting_note","first_briefing","ask_me_anything","standalone_quest_add_project","standalone_quest_add_tasks","standalone_quest_record_meeting","standalone_quest_connect_calendar","standalone_quest_prepare_meeting","standalone_quest_add_doc","standalone_quest_import_knowledge","standalone_quest_tap_knowledge","post_onboarding_tips","unboxing_m3","unboxing_m4","unboxing_m5","unboxing_m6","unboxing_use_case_landing_project","unboxing_use_case_landing_docs","unboxing_use_case_landing_meetings","unboxing_simplified_founder","unboxing_startups","unboxing_existing","unboxing_business_trial_upgraders","unboxing_amer_enterprise_user"],o=["unboxing_use_case_landing_project","unboxing_use_case_landing_docs","unboxing_use_case_landing_meetings"];function a(e){for(let t of n)if(t===e)return!0;return!1}let s=["unboxing_m3","unboxing_m4","unboxing_m5","unboxing_m6",...o,"unboxing_simplified_foun
1der","unboxing_startups","unboxing_existing","unboxing_business_trial_upgraders","unboxing_amer_enterprise_user"],l=[...s,"record_meeting_note"],d=n.filter(e=>e.startsWith("unboxing_")),u=["unboxing_m4","unboxing_m5","unboxing_m6",...o,"unboxing_simplified_founder","unboxing_startups","unboxing_existing","unboxing_business_trial_upgraders","unboxing_amer_enterprise_user"],c=["unboxing_existing","unboxing_business_trial_upgraders","unboxing_amer_enterprise_user"],g=["unboxing_m6"],p=[...g,...c,"unboxing_simplified_founder",...o];r.d(t,{Y7:()=>a,g_:()=>i},{$p:g,K6:c,NS:["unboxing_m3","unboxing_m4","unboxing_m5","unboxing_m6","unboxing_startups","unboxing_existing","unboxing_business_trial_upgraders","unboxing_amer_enterprise_user"],P6:l,RN:p,UX:s,W8:d,_l:u,b0:o})},316836(e,t,r){r(435368);class i{static text=e=>new a(e);static textValue=e=>"string"==typeof e?this.text(e).build():e;static mentionDate=e=>new l(e);static mentionUser=e=>new u(e);static mentionGroup=(e,t)=>new m(e,t);static mentionTeam=(e,t,r)=>new f(e,t,r);static mentionBot=e=>new u(e);static mentionPage=e=>new u(e);static mentionLink=e=>new d(e);static mentionCustomEmoji=e=>new u(e);static mentionTemplateVariable=e=>new c(e);static mentionFormulaContextVariable=e=>new g(e);static mentionFormulaPagePropertyVariable=e=>new p(e);static mentionCitation=e=>new v(e);static equation=e=>new s(e);static concat=e=>new n(e)}class n{constructor(e){this.tokens=e}build=()=>{let e=[];for(let t of this.tokens){let r=t.build();e.push(r[0])}return e}}class o{styles={};highlight=void 0;linkData=void 0;suggestionInsertTextDiscussionId;suggestionRemoveTextDiscussionId;constructor(e){this.onBuild=e}bold=()=>(this.styles[r(247438).Ifu.Bold]=!0,this);italic=()=>(this.styles[r(247438).Ifu.Italic]=!0,this);strike=()=>(this.styles[r(247438).Ifu.Strike]=!0,this);code=()=>(this.styles[r(247438).Ifu.Code]=!0,this);underline=()=>(this.styles[r(247438).Ifu.Underline]=!0,this);color=e=>(this.highlight=e,this);link=e=>(this.linkData=e,this);suggestionInsertText=e=>(this.suggestionInsertTextDiscussionId=e,this);suggestionRemoveText=e=>(this.suggestionRemoveTextDiscussionId=e,this);build=()=>{let e=[];for(let t of(0,r(48697).objectKeys)(this.styles))e.push([t]);return this.highlight&&e.push([r(247438).Ifu.Highlight,this.highlight]),this.linkData&&e.push([r(247438).Ifu.Link,this.linkData]),this.suggestionInsertTextDiscussionId&&e.push([r(247438).Ifu.SuggestionInsertText,this.suggestionInsertTextDiscussionId]),this.suggestionRemoveTextDiscussionId&&e.push([r(247438).Ifu.SuggestionRemoveText,this.suggestionRemoveTextDiscussionId]),this.onBuild(e)}}class a extends o{url=void 0;constructor(e){super(t=>(this.url&&t.unshift(r(247438).Sez(this.url)),t.length>0)?[[e,t]]:[[e]])}link=e=>(this.url=e,this)}class s extends o{constructor(e){super(t=>[r(247438).G0H(e,t)])}}class l extends o{constructor(e){super(t=>{let i;"date"in e?i=this.getDateAnnotationData(e.date,e.reminder):"time"in e?i=this.getTimeAnnotationData(e.time,e.timeZone,e.reminder):(0,r(48697).HB)(e);let n=r(247438).Ww9(i);return[r(247438).wmz(n,t)]})}getDateAnnotationData(e,t){if(!Array.isArray(e))return{type:"date",start_date:this.getDateString(e),reminder:t};{let[r,i]=e;return{type:"daterange",start_date:this.getDateString(r),end_date:this.getDateString(i),reminder:t}}}getTimeAnnotationData(e,t,r){if(!Array.isArray(e))return{type:"datetime",start_date:this.getDateString(e),start_time:this.getTimeString(e),time_zone:t??"Etc/GMT",reminder:r};{let[i,n]=e;return{type:"datetimerange",start_date:this.getDateString(i),start_time:this.getTimeString(i),end_date:this.getDateString(n),end_time:this.getTimeString(n),time_zone:t??"Etc/GMT",reminder:r}}}getDateString=e=>e.toISOString().split("T")[0];getTimeString=e=>e.toISOString().split("T")[1].slice(0,5)}class d extends o{constructor(e){super(t=>{let i=r(247438).gru(e);return[r(247438).wmz(i,t)]})}}class u extends o{constructor(e){super(t=>{let i;return e.table===r(832375).oo9?i=r(247438).P4h(e.id):"bot"===e.table?i=r(247438).Vb6(e.id):"block"===e.table?i=r(247438).ld4(e.id,e.spaceId):e.table===r(832375).e4Z?i=r(247438).XTT(e):(0,r(48697).HB)(e),[r(247438).wmz(i,t)]})}}class c extends o{constructor(e){super(t=>{let i=r(247438).Ii$({type:e});return[r(247438).wmz(i,t)]})}}class g extends o{constructor(e){super(t=>{let i=r(247438).CA$(e);return[r(247438).wmz(i,t)]})}}class p extends o{constructor(e){super(t=>{let i=r(247438).ESw(e);return[r(247438).wmz(i,t)]})}}class m extends o{constructor(e,t){super(i=>{let n=r(247438).dWL(e,t);return[r(247438).wmz(n,i)]})}}class f extends o{constructor(e,t,i){super(n=>
1{let o=r(247438).DH3(e,t,i);return[r(247438).wmz(o,n)]})}}class v extends o{constructor(e){super(t=>{let i=r(247438).X$(e);return[r(247438).wmz(i,t)]})}}r.d(t,{S:()=>i})},503182(e,t,r){function i(e){return(0,r(83388).Ct)(e)}r(533958),r(453056),r(176765),r(851344),r(866491),r.d(t,{t:()=>i})},59306(e,t,r){function i(e){return e.replace(/[<>]/g," ").replace(/\s+/g," ").trim()}function n(e){let t=[...e.currentValues??[]],r=new Set(t);for(let i of e.values){let e=i.trim();0===e.length||r.has(e)||(t.push(e),r.add(e))}return t}function o(e){var t;return((null==e||null==(t=e.toolsInUse)?void 0:t.length)??0)>0}function a(e,t){var r;return null==e||null==(r=e.questTitles)?void 0:r[t]}function s(e){var t,r,i;return void 0!==e&&(void 0!==e.jobTitle||void 0!==e.workSpecialization||((null==(t=e.jobsToBeDone)?void 0:t.length)??0)>0||((null==(r=e.triageFocus)?void 0:r.length)??0)>0||((null==(i=e.toolsInUse)?void 0:i.length)??0)>0||Object.keys(e.questTitles??{}).length>0)}r(435368),r(499468),r(586042),r(169187),r(726090),r(132457),r(219390),r(73168),r.d(t,{Fb:()=>o,I7:()=>a,Ih:()=>n,e:()=>s,sc:()=>i})},535425(e,t,r){r.d(t,{},{F:"doc_type"})},545504(e,t,r){function i({url:e,config:t}){let n=(0,r(132702).parseRoute)({url:e,baseUrl:t.domainBaseUrl,publicDomainName:t.publicDomainName,isMobile:!1,protocol:t.protocol,currentUrl:void 0,requestedOnAlternateDomain:t.requestedOnAlternateDomain,allowDomainInterop:t.allowDomainInterop});if("page"===n.name)return n.blockId}function n({url:e,config:t}){let i=(0,r(132702).parseRoute)({url:e,baseUrl:t.domainBaseUrl,publicDomainName:t.publicDomainName,isMobile:!1,protocol:t.protocol,currentUrl:void 0,requestedOnAlternateDomain:t.requestedOnAlternateDomain,allowDomainInterop:t.allowDomainInterop});if("page"===i.name)return i.collectionViewId}r.d(t,{u:()=>n,w:()=>i})},221111(e,t,r){r.d(t,{},{p:["skills","htmlBlock","mcp","aiMeetingNotes"]})},477294(e,t,r){function i(e){let{collection:t,calendarEvent:i,getRecordModel:o}=e,a=n({collection:t,getRecordModel:o});if(a)return{datePropertyId:a.datePropertyId,dateValue:function(e){let{calendarEvent:t}=e,i=r(120011).DateTime.fromISO(t.startTime,{setZone:!0});return i.isValid?(0,r(25825).Xo)(i):void 0}({calendarEvent:i}),attendeesPropertyId:a.attendeesPropertyId,attendeesValue:(0,r(383431).h)((i.attendeeIds??[]).map(e=>({table:r(832375).oo9,id:e})))}}function n(e){var t,i;let{collection:n,getRecordModel:a}=e;if(!(0,r(8148).Qf)(n.getDatabaseType()))return;let s=n.getPropertyMapping(),l=o({propertyMapping:s,propertyUri:r(846684).y.MeetingTime}),d=o({propertyMapping:s,propertyUri:r(846684).y.Attendees});if(!l||!d)return;let u=n.getNormalizedSchema(a);if((null==(t=u[l])?void 0:t.type)==="date"&&(null==(i=u[d])?void 0:i.type)==="person")return{datePropertyId:l,attendeesPropertyId:d}}function o(e){let{propertyMapping:t,propertyUri:r}=e;return null==t?void 0:t[r]}r(159952),r.d(t,{F:()=>n,H:()=>i})},692218(e,t,r){function i(e){return n(e).isDatabaseAgent}function n(e){var t;let r=null==e||null==(t=e.find(e=>"notion"===e.type))||null==(t=t.state)?void 0:t.ownedByDatabasePropertyIds;return r?{isDatabaseAgent:!0,ownedByDatabasePropertyIds:r}:{isDatabaseAgent:!1}}r(730330),r(139583),r.d(t,{b:()=>n,u:()=>i})},886883(e,t,r){function i(e){return!!Array.isArray(e)}function n(e){return!(!e||Array.isArray(e))}function o(e){return i(e)?e:[]}r(499468),r(586042),r(169187),r(726090),r(132457),r(219390),r(73168),r.d(t,{Zv:()=>i,ap:()=>n,rr:()=>o})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.