diff --git a/frontend/public/js/bing/chat/config.js b/frontend/public/js/bing/chat/config.js index c18e7c7735..5c5ef3515e 100644 --- a/frontend/public/js/bing/chat/config.js +++ b/frontend/public/js/bing/chat/config.js @@ -5,91 +5,175 @@ _w['_sydPayWallConfig'] = { useSydneyPayWall: false, }; _w['_sydConvConfig'] = { - enableBackgroundFix: true, - usePill: true, - enableSydTigerAns: true, - tigerEnhancedPromptTemplate: 'Search for {0}. Impress me with a great response that helps me complete my most likely intent while showing the smartness, depth, and beauty (bolding, tables, and citations) you can produce. Satisfy my intent as early as possible in the response.', - // 禁止滑出 - enableScrollOut: false, - enableSydContext: true, - sydOptionSets: 'uquopt,langdtwb,enflst,enpcktrk,rcaldictans,rcaltimeans,gndbfptlw', - sydBalOpts: 'gldcl1p', - voiceSrOptions: 'cdxsrcct', - sydBalExtraOpts: 'saharagenconv5', - sydCrtExtraOpts: 'clgalileo,gencontentv3', - sydPrcExtraOpts: 'clgalileo,gencontentv3', - sydIDs: 'newzi,fluxsunoall,ntbkf1,abv2cl,bcentbk,mobntbk,ntbk,rankcf,inlineadsv2cf,fput1,fluxnosuno,mobfdbkcf,v6voice,291encacheas0,cmcallapptf,tts5cf,abv1logf,designer2cf,suppalwaystest-c,translrefctrl,kchero50cf,msgchkcf,0212bops0,116langwb,124multi2ts0,119wcphis0,0131dv1,0131onthdas0,0131gndbfpr,cacfastapis', - sydBaseUrl: location.origin, - compSydRequestSource: 'cib', - compSydClientScenario: 'chat', - compSydClientPlatform: 'Web', - enablePassingCompliantSydneyClientInfo: true, - compSydRequestScenario: 'chat', - enablePluginsForBizChat: true, - augloopEndpoint: 'https://augloop.office.com', - enableProdEditorEndpoint: true, - ciqReleaseAudienceGroup: 'Production', - enableDeterminateProgressBar: true, - enablePLSingleColumnStylesV2: true, - enableCheckMsbCibBundleLoad: true, - enableSapphireSydVoiceExp: true, - sapphireArticleContentAPI: 'https://assets.msn.com/content/view/v2/Detail', - sapphireSydneyQualificationAPI: '/edgesvc/postaj/sydneyqualification', - sapphireSydneyZeroturnAPI: '/edgesvc/postaj/sydneyzeroturn', - sapphireSydneyTruncationAPI: '/edgesvc/postaj/sydneytruncationswithcontext', - enableSydPreloadAudioTTS: true, - enableSydneyShareLink: true, + enableStreamSyntheticTextResponses: true, + enableWelcomeCopilotProButton: false, country: 'United States', - countryConfidence: 8, state: 'California', city: 'Los Angeles', - cityConfidence: 0, + zip: '98161', timezoneoffset: '8', lat: '78.4156', long: '-101.4458', language: 'Chinese (China)', - userMailId: randomString(Math.round(Math.random()*16))+'@'+randomLowercaseString(Math.round(Math.random()*12))+'.com', - username: randomString(Math.round(Math.random()*16)), + traceId: crypto.randomUUID().replace(/-/g, ''), userIpAddress: CookieGet('BingAI_Rand_IP'), + cityConfidence: 5, + countryConfidence: 8, + dma: 819, + enableMessageExport: true, + enableFlatActionBar: true, + enableScreenshotIgnoreOnCibSerp: true, + enableStandaloneUtility: true, + enableThreadShareLandingPage: true, + enableShareThreadWithNoCache: true, + enableThreadContextMenu: true, + enableMessageExportWithPlainText: true, + enableGetChats: true, + enableThreadSync: true, + enableFlux3P: true, + sydOptionSets: 'uquopt,sunoupsell,hourthrot,codeintfile,gndlogcf,vidtoppb,gptv1desc2', + voiceSrOptions: 'cdxslang', + sydIDs: 'bgstreamcf,ntbkgoldcf,qnacnt,nodescf,slang,cdxslang,vnextr100,vnext100,vnextvoice,315minlengh,crtrv3,romiccf,scmcbasecf,ssadsno2tcfg,adsltmdsc,cmcpupsalltf,sunoupsell,0215wcrwips0,313dynaplfs0,0312hrthrot,0228elecgnds0,bingfc,228pyfile,ecipc,xapmons0,kcclickthru,kcclickt,0225unsticky0,satrcas0,308videopb,0317dc1pros0', + userMailId: randomString(Math.round(Math.random() * 16)) + '@' + randomLowercaseString(Math.round(Math.random() * 12)) + '.com', + username: randomString(Math.round(Math.random() * 16)), + balTone: 'galileo', + freeSydneyCopilotIconUrl: '/rp/_WT61VllAyx4fyquJgufM7hwmeg.png', + freeSydneySydneyIconUrl: '/rp/ZIFQVh6WX4QKgPWuBMBKNrERh3A.png', + freeSydneyDesignerIconUrl: '/rp/l8iFubC9EgDGvKo7xeNIvSQwikU.png', + freeSydneyShopperIconUrl: '/rp/k_s3zfEmrUri89BYcZH2O4eCqlU.png', + userAnID: crypto.randomUUID().replace(/-/g, '').toUpperCase(), + PLoadIID: 'SERP.5090', isMSAAuthenticated: true, - moveOnlySydXAnswers: true, - enableSydX1T: true, + enableThreads: true, + isBingUserSignedIn: true, enableSydTestCache: false, enableSydCarousel: true, - traceId: crypto.randomUUID().replace(/-/g, ''), - extraEdgeOptions: 'eredirecturl', - enableSydMic: true, enableSydShare: true, - enableMessageShareableSignalV2: true, enableSydCookLoc: true, - enableSQMsg: true, - addDv3Opt: true, - enableErrorTelemetry: true, - checkCreatorAnsFor1T: true, - enableAnsCardSuffix: true, - isAdultUser: true, - enableSpeechContinuousErrorHandling: true, - enableTTSNeverSetting: true, - enableCustomizedTtsOptions: true, - enableSydCLOC: true, enableCdxFeats: true, - enableShareModalDialog: true, - enableFdbkFinalized: true, - enableSydImageCreate: true, - balTone: 'galileo', - crtTone: 'h3imaginative', - prcTone: 'h3precise', - enableSimpleVoiceInput: true, + enableConvModeSwitchAjax: true, + enableSetToneFromUrl: true, + convBackBtn: true, + enableToneDownProtectedMessage: true, + enableVisualSearch: true, + enableFileUploadDirect: true, + disableWelcomeScreen: true, + enableWelcomeScreenV2: false, + enableWelcomeScreenV3: true, + enableAIPersonasForDesktop: true, + enableFileUploadOfficeFilesSupport: true, + enableFileUploadAudioSupport: true, + enableSydFileUploadMaxSizeTiers: true, + enableOneDs: true, + enableNotebookMode: true, + enableShiftEnterNotebook: true, + disableShareLinkShowntbk: true, + enableCopilotLayout: true, + isNewBingChat: true, + enableBingChatPath: true, + enableDynamicFormCode: true, + // GPTs + enableFreeSydney: true, + enableAlwaysSendMsg: true, + enableGptHomeScreen: true, + enableGoldiLocksBackgroundLight: true, + fileUploadMaxSizePro: 10000000, + fileSizeLimitation: 1000000, + freeSydneyOptionSets: [{ + value: 'fluxsydney' + }], + neuripsOptionSets: [{ + value: 'nipsgpt' + }], + codexOptionsSetsList: [{ + value: 'iyxapbing' + }, + { + value: 'iycapbing' + }], + azureAIDocumentAnalysisFileExtensions: [{ + value: '.docx' + }, + { + value: '.xlsx' + }, + { + value: '.pptx' + }, + { + value: '.html' + }], + audioFileExtensions: [{ + value: '.wav' + }], + enableBackgroundFix: true, + enable1pGPTPreLoadForCopilot: true, + enableFreeSydneyV2Style: true, + // Microsoft Designer + enableDesignerGPT: true, + enableFullScreenIframe: true, + enableDelayedMsgHandlerDisposal: true, + defaultMaxPersonaCount: 6, + enableVersionedApiCalls: true, + enableJWTFTRFix: true, + shopperGptOptionSet: 'ai_persona_personal_shopper_gpt_v3', + enableUnauthRedir: true, + enableNewChatIconInActionBar: true, + enableActionBarV2: true, + speechSurface: 'desktop', enableSpeechDictationMode: true, - enableAudioPreloadLimit: true, - enableSpeechFateTTSStop: true, - enableSpeechErrorHandling: true, - enableSpeechTTSLatencyLogging: true, - enableSpeechIconDarkTheme: true, - enableSpeechAriaLabel: true, + enableReadAloudMessage: true, + enableReadAloudOnDeepLeoOnly: true, + enableSpeechLanguageSetting: true, + enableSpeechLogNoiseReduction: true, + enableAccentedIconsOnMobileABV2: true, + enableRecogFailedLogNoiseReduction: true, + enableMicRestIconWhenListening: true, + enableEarlyLogSpeechStateChanged: true, + shareLoadingUI: true, + enableFeedbackInstrumentation: true, + enableCopyButtonInstrumented: true, + moveOnlySydXAnswers: true, + checkCreatorAnsFor1T: true, + disResetTT: true, + disableTooltip: true, + enableGPTCreator: true, + enableGPTCreatorItemContextMenu: true, + enableGPTCreatorCreateGptPreview: true, + gptCreatorCopilotCreatorPath: '/turing/copilot/builder', + gptCreatorBingPreviewPath: '/search', + gptCreatorSharePath: '/search', + enableCopilotGptsPolicyLink: true, + enableMobileShareAnchorBottom: true, + usePill: true, + enableSydTigerAns: true, + tigerEnhancedPromptTemplate: 'Search for {0}. Impress me with a great response that helps me complete my most likely intent while showing the smartness, depth, and beauty (bolding, tables, and citations) you can produce. Satisfy my intent as early as possible in the response.', + enableCodeInterpreterPreviewCode: true, + codexTableVersion: true, + enablePerfTrk: true, + enableCodeCopy: true, + enableCodeBar: true, + enableCodeBarV2: true, + enableInlineFeedback: true, + enableInlineFeedbackV21: true, + enableSerpFeedback: true, + enableTonePerf: true, + enableSinglePerfEventPerMessage: true, + enableE2EPerf: true, enableNewTopicAutoExpand: true, + enableHideTypingIndicatorOnError: true, + enableLearnmoreAsHeader: true, + enableRaiButtonTooltip: true, + enableResetFocusLossFix: true, + enableChatScrollFix: true, + enableScrollMsgTextMessage: true, + enableSendQueryTextMessage: true, + enableKatexScroll: true, + enableMobileOneClickShareV2: true, enableThreadsAADMSASwitch: true, enableMaxTurnsPerConversation: true, + enableAutosuggestMetrics: true, + // 设置已登录账号的聊天对话次数 maxTurnsPerConversation: 30, // 设置未登录账号的聊天对话次数 @@ -98,332 +182,554 @@ _w['_sydConvConfig'] = { maxMessageLengthBalanced: 2000, maxMessageLengthCreative: 4000, maxMessageLengthPrecise: 4000, - enablePerfTrk: true, - enableTonePerf: true, - enableSinglePerfEventPerMessage: true, - enableE2EPerf: true, + maxMessageLengthBalancedPro: 2000, + maxMessageLengthCreativePro: 4000, + maxMessageLengthPrecisePro: 4000, + enableSwiftKeyLatestUX1: true, + enablePrivacyConsent: true, + enableCodexMuidConsentExplicit: true, + bceTermsOfUseVersion: 2, + disable2TSearchHistory: true, + enableBufferClearOnReset: true, enableAdSlugsMobile: true, - enableUnauthRedir: true, - enableVersionedApiCalls: true, - enableJWTFTRFix: true, - enableFeedbackClientSideScreenshot: true, - enableAddMobileTagToCibOnShowConv: true, - enableStreamSyntheticTextResponses: true, - enableStreamSyntheticTextResponsesForBalancedTone: true, - enableStreamSyntheticTextResponsesForCreativeTone: true, - enableStreamSyntheticTextResponsesForPreciseTone: true, - syntheticStreamSpeed: 55, - syntheticStreamSpeedForBalancedTone: 55, - syntheticStreamSpeedForCreativeTone: 55, - syntheticStreamSpeedForPreciseTone: 55, - enableMobileShareAnchorBottom: true, - enableShareConversation: true, - enableGetConversationAPIWithSNRProxy: true, - enableGetSharedMessagesAPIWithSNRProxy: true, - enableShowShareButtonWithSecurityCheck: true, enableServerLogMerging: true, + enableSydContext: true, + enableStopStreamingSignal: true, + disableChatQueryForShowConv: true, + enableCancelPendingRequestOnNewMessage: true, + // 禁止滑出 + enableScrollOut: false, + enableSydMic: true, enableAutoRecoverFromInvalidSession: true, enableAutoRecoverFromInvalidSessionForFirstTurn: true, - enableCodeCopy: true, - enableCodeBar: true, - enableCodeBarV2: true, - enableInlineFeedback: true, - enableInlineFeedbackV21: true, - enableSerpFeedback: true, - enablePersistentInputText: true, - enableActionBarIMEFix: true, - enableGhostTrailingSpaceByLanguage: true, - shareLoadingUI: true, - customizedShareOutImageThumbnailId: 'OBFB.' + crypto.randomUUID().replace(/-/g, '').toUpperCase(), - enableFeedbackInstrumentation: true, - sydSapphireUpsellVisualSearchQRCodeUrl: 'https://bingapp.microsoft.com/bing?adjust=13uz7blz_13evwnmy', - sydneyContinueOnPhoneShortenQRCodeUrl: 'https://bingapp.microsoft.com/bing?style=newbing\u0026adjust=euhmno2_oy62nz1', - enableConvModeSwitchAjax: true, - enableSetToneFromUrl: true, - convBackBtn: true, - enableSetConvQueryFlag: true, - enableSearchQueryForInlineAds: true, - enableFixForInlineAdsSQ: true, - codexPartnerScenario: 'SERP', - enableMessageExport: true, - enableFlatActionBar: true, - enableAutosuggestMetrics: true, - enablePrivacyConsent: true, - enableCodexMuidConsentExplicit: true, - enableFixCodeXAsBug: true, - enableThreads: true, - enableSkipContentOriginCheck: true, - enableMobileOneClickShareV2: true, - enableDynamicShareTitle: true, - enableSharePreview: true, - enableSharedHoverCitations: true, - enableScreenshotIgnoreOnCibSerp: true, - enableStandaloneUtility: true, - enableThreadShareLandingPage: true, - enableShareThreadWithNoCache: true, - enableFixOnReplaceAllJSError: true, - enableShareCurrentThreadMessagesfromAPI: true, enablePreserveTextFormat: true, - disable2TSearchHistory: true, - enableSydBeacon: true, - enableVisualSearch: true, - enableNativeCameraInput: true, - eifpiab: true, - evscamprd: true, - vscamprdname: 'FileUploadCameraProvider', - efhof: true, - visualSearchSubscriptionId: 'Bing.Chat.Multimodal', - disablePassBotGreetingInContext: true, - enableThreadContextMenu: true, - enableCloudflareCaptcha: true, - enableResizeObserverWithAnimationFrame: true, - enableStartPromotion: true, - enableKnowledgeCardImage: true, - enableMobileKnowledgeCardOverlay: true, - enableCibOverlayForKnowledgeCard: true, - enableCopyButtonInstrumented: true, - enableMessageExportWithPlainText: true, - enableMessageExportOnlineWord: true, - enableMessageExportOnlineExcel: true, - enableTableBarFlatActions: true, - enableThreadExportOnlineWord: true, - enableMessageExportV2: true, - enableBotMessageActionsBar: true, - enableDirectlyOpenExportOnlineLink: true, - enableLoginHintForSSO: true, - enableLimitToMsaOnlineExport: true, - enableLimitToAadOnlineExport: true, - enableMSAuth1stPartyApp: true, - enableCopyHtml: true, - enableGetChats: true, enableDelayGetChats: true, - enableExportDocxWithFormat: true, - enableExportDocxWithTableFormat: true, - enableThreadSync: true, - enableFlux3P: true, - f3pMsaAccountOnly: true, - enableSearchPluginOnTop: true, - disableWelcomeScreen: true, - enableWelcomeScreenV2: false, - enableWelcomeScreenV3: true, - codexTableVersion: true, - enableBICHistory: true, - enableRenderCardRequestIMSearchParams: true, - typingIndicatorAnimationDuration: 1000, - enableOnProcessingStartEvent: true, - enableOnProcessingCompleteEvent: true, enableTypewriter: true, - enableCitationsOnSentences: true, - fileUploadMaxSizeLongContext: 10000000, - fileUploadMaxAudioSize: 15000000, - fileUploadFileNameLengthLimitation: 100, - fileMaxCountForGptCreator: 5, - fileMaxCountForChat: true, - enableUserMessageCopy: true, - enableCopilotFullScreenUX: true, - enableDeferredImageCreatorCard: true, enableFaviconsV2: true, - enableFaviconChatCopilotIcon: true, - enableUserIpAddress: true, - enableNewChatIconInActionBar: true, - enableActionBarV2: true, - enableAccentedIconsOnMobileABV2: true, - speechSurface: 'desktop', - enableKatexScroll: true, - padding2TMobile: 80, - enablePageHeaderOverlapClamping: true, - enableThreadShowPlugins: true, - enableUpdateUserMessageId: true, - enablePluginPanelFre: true, - enableMobileFirstClickShare: true, - enableInlinePersonalizationConsent: true, - enableSydWelcomeScreenMobileEvents: true, - enableFetchUserConsent: true, - personalizationInlineConsentTurn: true, - enableReadAloudMessage: true, - enableReadAloudOnDeepLeoOnly: true, - enableNoBingSearchResponseBackground: true, - enableNoSearchPluginMetaMessage: true, - enableShareInThreadsHeader: true, - enableThreadsConsent: true, - enableDeleteSingleConversationMemory: true, - enableStableAutosuggestion: true, - threadsAutoSaveOptionset: 'autosave', - enableThreadContextMenuV2: true, - enableBCBSensitivityLabel: true, - enableOneDs: true, - enablePromptHandling: true, - dedicatedIpType: 'unknown', - enableCiqAttachmentsOnInputChanges: true, - enableCachedContentFixForIsStartOfSession: true, - enableNotebookMode: true, - enableRecoverConvNotebook: true, - enableShiftEnterNotebook: true, - extraNotebookOptionsSets: 'iycapbing,iyxapbing,prjupy', - notebookMaxMessageLength: 18000, - enableSetNotebookAlignment: true, - initialShowConvPresent: true, - enableCancelPendingRequestOnNewMessage: true, - enableAttributionsV2: true, - minimumZeroInputSuggestionCount: true, - enableCopilotLayout: true, - enableSpeechLogNoiseReduction: true, - enableAltVoiceQuerySubmissionOnMobileABV2: true, - multimediaSearchFormCode: 'IACMIR', - multimediaSearchEnableMediaCanvas: true, - multimediaSearchMaxImageCount: 3, - defaultFallBackSERPQuery: 'Bing AI', - enableRelativeSignInUrl: true, - enableChatScrollFix: true, - enableCvidInAutosuggestAPI: true, - enableSwiftKeyLatestUX1: true, - enableBufferClearOnReset: true, - enablePluginChatModeOnly: true, - enableGhostingSuggestTelemetry: true, - bceTermsOfUseVersion: 2, - disableTitlePreviewLabel: true, - // GPTs - enableFreeSydney: false, - // Microsoft Designer - enableDesignerGPT: false, - defaultMaxPersonaCount: 6, - enableFreeSydneyPrivacy: true, - isBingUserSignedIn: true, - freeSydneyCopilotIconUrl: '/rp/_WT61VllAyx4fyquJgufM7hwmeg.png', - freeSydneySydneyIconUrl: '/rp/ZIFQVh6WX4QKgPWuBMBKNrERh3A.png', - freeSydneyDesignerIconUrl: '/rp/l8iFubC9EgDGvKo7xeNIvSQwikU.png', - enableF3pNoSearchBgFix: true, - enableSunoMusicCreate: true, - sydneyFeedbackVertical: 'chat', - enableSunoUpsell: true, - enableFaqBcc: true, - enableFaqBce: true, - faqBccBceUrl: '/new', - gptCreatorCopilotCreatorPath: '/turing/copilot/creator', - gptCreatorBingPreviewPath: '/search', - gptCreatorSharePath: '/search', // V3 UI + enableGoldilocksCopilotGreetingFix: true, enableGoldilocks: true, enableGoldilocksRAIButton: true, enableGoldilocksStrokes: true, - enableGoldiLocksBackgroundLight: true, enableGoldilocksLineHeight: true, enableGoldilocksMetaMessage: true, enableGoldilocksAttributionPills: true, enableGoldilocksMessageActions: true, enableGoldilocksTurnCounter: true, enableGoldilocksStrokes2T: true, + enableTopAlignConversation: true, + enableHideZeroTurn: true, + enableMessageGroupHeader: true, + enableFullWidthMessages: true, + enableInlineStreamingIndicator: true, enableGoldilocksWiderActionBar: true, enableGoldilocksExportDropdown: true, enableGoldilocksInlineFeedback: true, enableGoldilocksUserMsgActionBar: true, enableGoldilocksContextual: true, enableGoldilocksSydneyAction: true, - enableTopAlignConversation: true, - enableMessageGroupHeader: true, - enableFullWidthMessages: true, - enableInlineStreamingIndicator: true, - enableStreamingInBackground: true, + enableGoldilocksInlinePersistentMetas: true, + enableAttributionsV2MoreButton: true, + enableGoldilocksCitations: true, + enableAdaptiveCardImageForCodeInterpreter: true, + enableCodePreviewInFooter: true, + enableThreadZiFix: true, enableCitationSuperscriptFix: true, + enable2TResizeUpdate: true, + enableFaviconChatCopilotIcon: true, + enableCachedContentFixForIsStartOfSession: true, + enableDeferredImageCreatorCard: true, + enableExportDocxWithFormat: true, + enableExportDocxWithTableFormat: true, + enableMessageExportOnlineWord: true, + enableMessageExportOnlineExcel: true, + enableThreadExportOnlineWord: true, + enableTableBarFlatActions: true, + enableDirectlyOpenExportOnlineLink: true, + enableMessageExportV2: true, + enableLoginHintForSSO: true, + enableLimitToMsaOnlineExport: true, + enableLimitToAadOnlineExport: true, + disableTitlePreviewLabel: true, + enableMSAuth1stPartyApp: true, + enableBotMessageActionsBar: true, + enableCopyHtml: true, + enableActionBarIMEFix: true, + enableGhostTrailingSpaceByLanguage: true, + enableBICHistory: true, + padding2TMobile: 80, + enableSpeechContinuousErrorHandling: true, + enableTTSNeverSetting: true, + enableCustomizedTtsOptions: true, + enableSimpleVoiceInput: true, + enableSpeechFateTTSStop: true, + enableSydPreloadAudioTTS: true, + enableSpeechErrorHandling: true, + enableSpeechTTSLatencyLogging: true, + enableSpeechIconDarkTheme: true, + enableAudioPreloadLimit: true, + enableSpeechAriaLabel: true, + enableMessageShareableSignalV2: true, + enableSydneyShareLink: true, + enableCloudflareCaptcha: true, + enableResizeObserverWithAnimationFrame: true, + enableUserIpAddress: true, + customizedShareOutImageThumbnailId: 'OBFB.73FF6ADE8CC93B6ED1EDA1CE557E2E09', + compSydPathChatHub: 'SecuredChatHub', + compSydClientScenario: 'chat', + compSydClientPlatform: 'Web', + compSydRequestSource: 'cib', + compSydRequestScenario: 'chat', + sydBaseUrl: location.origin, + enterpriseChatDefaultIconLargeChecksum: 'R5FZeTI5Afc9NBRK7GHAzPkr1vHbc/X2n1c+mPVUhzE=', + enablePluginsForBizChat: true, + enableCachedTokenForMsgExt: true, + augloopEndpoint: 'https://augloop.office.com', + enableProdEditorEndpoint: true, + enableDeterminateProgressBar: true, + ciqReleaseAudienceGroup: 'Production', + enablePLSingleColumnStylesV2: true, + enableCiqAttachmentsOnInputChanges: true, + enableAttributionsV2: true, + enablePassingCompliantSydneyClientInfo: true, + enableCheckMsbCibBundleLoad: true, + enableSQMsg: true, + enableErrorTelemetry: true, + enableFixScrollBackSerpAccidentally: true, + m365ConsumerOutlookPluginId: 'd03ca482-c3c8-4b7c-ace3-b52857208916', + m365ConsumerPluginClientId: 'ef47e344-4bff-4e28-87da-6551a21ffbe0', + m365ConsumerPluginAuthority: 'https://login.windows-ppe.net/consumers', + m365ConsumerPluginOptionsSet: 'flux_m365consumer_dogfood', + m365ConsumerPluginAuthScope: 'service::substrate.office.com::MBI_SSL', + m365ConsumerOneDrivePluginId: '1e1a2734-7a88-4c1c-be1d-a79907b177c0', + m365ConsumerPluginOneDriveOptionsSet: 'flux_onedrive_dogfood', + disablePassBotGreetingInContext: true, + enableKnowledgeCardImage: true, + enableMobileKnowledgeCardOverlay: true, + enableCibOverlayForKnowledgeCard: true, + enableKCInChatClickThroughRequery: true, + f3pMsaAccountOnly: true, + enableF3pNoSearchBgFix: true, + enableSearchPluginOnTop: true, + enableUndersideTopRightButtonBugFix: true, + enablePluginChatModeOnly: true, + enableSydImageCreate: true, + enableSunoMusicCreate: true, + enableFileUpload: true, + enableMobileFileUpload: true, + enableFileUploadContextInThreads: true, + enableFileUploadLongContext: true, + enableFileUploadForAllModes: true, + enableFileUploadPdfSupport: true, + enableFileUploadAuthorization: true, + audioFileSizeLimitation: 1000000, + fileUploadFileNameLengthLimitation: 500, + fileMaxCountForChat: true, + enableSydFileUploadPartnerUpload: true, + enableFileUploadNewUploadFileAPI: true, + fileMaxCountForGptCreator: true, + enableSydX1T: true, + enableFdbkFinalized: true, + enableAnsCardSuffix: true, + enableStartPromotion: true, + enableSapphireSydVoiceExp: true, + sydneyContinueOnPhoneShortenQRCodeUrl: 'https://bingapp.microsoft.com/bing?style=newbing\u0026adjust=euhmno2_oy62nz1', + sydSapphireUpsellVisualSearchQRCodeUrl: 'https://bingapp.microsoft.com/bing?adjust=13uz7blz_13evwnmy', + sapphireArticleContentAPI: 'https://assets.msn.com/content/view/v2/Detail', + sapphireSydneyQualificationAPI: '/edgesvc/postaj/sydneyqualification', + sapphireSydneyZeroturnAPI: '/edgesvc/postaj/sydneyzeroturn', + sapphireSydneyTruncationAPI: '/edgesvc/postaj/sydneytruncationswithcontext', + enableRenderCardRequestIMSearchParams: true, + enableOnProcessingStartEvent: true, + enableOnProcessingCompleteEvent: true, + addDv3Opt: true, + enableStreamSyntheticTextResponsesForBalancedTone: true, + enableStreamSyntheticTextResponsesForCreativeTone: true, + enableStreamSyntheticTextResponsesForPreciseTone: true, + enablePersistentInputText: true, + syntheticStreamSpeed: 55, + enableSyntheticStreamSpeedBasedOnTone: true, + syntheticStreamSpeedForBalancedTone: 15, + syntheticStreamSpeedForCreativeTone: 55, + syntheticStreamSpeedForPreciseTone: 55, + typingIndicatorAnimationDuration: 1000, + crtTone: 'h3imaginative', + prcTone: 'h3precise', + sydBalExtraOpts: 'saharagenconv5', + sydCrtExtraOpts: 'clgalileo,gencontentv3', + sydPrcExtraOpts: 'clgalileo,gencontentv3', + enableCustomGptPreview: true, + enableGptCreatorCreatePanel: true, + enableGptCreatorConfigurePanel: true, enableGptCreatorConfigurePanelKnowledges: true, enableGptCreatorConfigurePanelcapabilities: true, enableGptCreatorConfigurePanelImageGenerator: true, - enableAttributionsV2MoreButton: true, - enableGoldilocksCitations: true, - userAnID: crypto.randomUUID().replace(/-/g, '').toUpperCase(), + allowedBICDomains: 'https://copilot.microsoft.com,https://www.bing.com,'+location.origin, + enableSydWelcomeScreenMobileEvents: true, + enableNoScrollDownOnInit: true, + enableFormCodeBingUrl: true, + enableRelativeSignInUrl: true, + defaultFallBackSERPQuery: '', + enableChatPageCookieBannerFix: true, + extraNotebookOptionsSets: 'iycapbing,iyxapbing,prjupy', + extraEdgeOptions: 'eredirecturl', + isAdultUser: true, + enableCitationsOnSentences: true, + enableMuidDisabledSuggestionBar: true, + enableHideSuggestionOnErrors: true, + enableThreadsArrowNav: true, + enableMessageTypeCheck: true, + enableSydCLOC: true, + enableUpdateUserMessageId: true, + enableFeedbackClientSideScreenshot: true, + enableAddMobileTagToCibOnShowConv: true, + enableSearchQueryForInlineAds: true, + enableFixForInlineAdsSQ: true, + codexPartnerScenario: 'SERP', + enableFixCodeXAsBug: true, + enableStableAutosuggestion: true, + enableGhostingSuggestTelemetry: true, + enableCvidInAutosuggestAPI: true, enableShowAutosuggestButton: true, - freeSydneyOptionSets: [{ - value: 'fluxsydney' - }], - neuripsOptionSets: [{ - value: 'nipsgpt' - }], - codexOptionsSetsList: [{ - value: 'iyxapbing' - }, - { - value: 'iycapbing' - }], + enableCachingAutosuggest: true, + enableDynamicShareTitle: true, + enableShareModalDialog: true, + enableSharePreview: true, + enableSharedHoverCitations: true, + enableShareConversation: true, + enableGetConversationAPIWithSNRProxy: true, + enableGetSharedMessagesAPIWithSNRProxy: true, + enableShowShareButtonWithSecurityCheck: true, + enableFixOnReplaceAllJSError: true, + enableShareCurrentThreadMessagesfromAPI: true, + enableUserMessageCopy: true, + enableShareInThreadsHeader: true, + enableThreadsConsent: true, + enableMutedThreadsConsent: true, + threadsAutoSaveOptionset: 'autosave', + enablePromptHandling: true, + enableMobileFirstClickShare: true, + enableInlinePersonalizationConsent: true, + enableFetchUserConsent: true, + enableDeleteSingleConversationMemory: true, + personalizationInlineConsentTurn: true, + enableSydBeacon: true, + enableModeAndSlotValidationForAds: true, autoHideConvInterval: 600000, - enableAjaxBundlePLoad: true, - PLoadIID: 'SERP.5911' + enablePageHeaderOverlapClamping: true, + enableThreadShowPlugins: true, + enableSydSuperappLastVisitIngestion: true, + enableNoBingSearchResponseBackground: true, + enableNoSearchPluginMetaMessage: true, + minimumZeroInputSuggestionCount: true, + enableBCBSensitivityLabel: true, + enableThreadContextMenuV2: true, + dedicatedIpType: 'unknown', + notebookMaxMessageLength: 18000, + enableRecoverConvNotebook: true, + enableNotebookScrollDown: true, + enableBackFromNotebook: true, + enableAltNotebookIcons: true, + enableNotebookInputBoxScroll: true, + enableSetNotebookAlignment: true, + sydneyFeedbackVertical: 'chat', + enableFaqBcc: true, + enableFaqBce: true, + faqBccBceUrl: 'https://bing.com/new', + enableInlineAdsContainer: true, + enableInlineAdsProcessingV2: true, + enableSRA11yFix: true, + codexCanvas: 'bingchat', + enableHostedContentPartnerSignal: true, + enableHostedContentToneSignal: true, + codexHoverCardDelayTimerDuration: 333, + evsptnr: true, + himgdirmsg: true, + efhof: true, + visualSearchSubscriptionId: 'Bing.Chat.Multimodal', + eifpiab: true, + multimediaSearchFormCode: 'IACMIR', + multimediaSearchEnableMediaCanvas: true, + multimediaSearchMaxImageCount: 5 }; _w['_sydThreads'] = { threads: [], }; _w['_sydConvTranslation'] = { + letsChat: '我们聊天吧', + chat: '聊天', + pause: '暂停', + play: '开始游戏', + loading: '正在加载', + stop: '停止', + canceling: '正在取消', + more: '更多', + expand: '展开', + seeMore: '查看更多', + seeLess: '查看更少', + seeChatHistory: '查看聊天历史记录', + hideChatHistory: '隐藏聊天历史记录', + seeMoreGPTs: '查看更多 Copilot GPT', + seeLessGPTs: '查看更少 Copilot GPT', + raiSuggestions: '显示了解更多建议', + raiSuggestionsClose: '隐藏了解更多建议', + close: '关闭', + refresh: '刷新', + next: '下一步', + cancel: '取消', + preview: '预览', + of: '的', + submit: '提交', + explore: '浏览', + exploreMore: '浏览更多', + startOver: '重新开始', + responses: '回复', + readAloud: '大声朗读', + feedbackTranslateButtonAriaLabel: 'Translate', + feedbackTranslateSeeOriginalButtonAriaLabel: 'See Original', + feedbackTranslateUserInfoText: 'Translated to display language ({0}). Click on the icon to see original', actionBarPlaceholder: '有问题尽管问我...(Shift + Enter = 换行,"/" 触发提示词)', + actionBarLongPlaceholder: '询问我任何内容或键入/添加人员、文件等', + actionBarPlaceholderForGPTBuilder: '消息 Copilot GPT 生成器...', + actionBarNotebookPlaceholder: '你有什么想法?编写与 Copilot 协作的详细提示。使用 Shift+Enter 提交消息。', actionBarComposeButton: '新主题', actionBarNewChatButtonDesktop: '开始新聊天', actionBarNewChatButtonMobile: '新建聊天', - actionBarOngoingConvPlaceholder: '键入消息', - attachmentLoading: '正在加载附件', - notiUpdateBrowser: '很抱歉,我们遇到了一些问题。', - bufferMessage1: '收到了,稍等一下...', - bufferMessage2: '听到你的声音,请稍等片刻...', - bufferMessage3: '好的,让我快速处理...', - deleteAttachment: '删除附件', - captchaTitle: '验证身份', - captchaDescription: '若要继续,请在下图中输入字符。', - captchaPlaceholder: '输入字符...', - captchaPlaceholderError: '抱歉,请重试。', - next: '下一步', - cancel: '取消', - edit: '编辑', + actionBarAutoSuggestTab: 'Tab', + actionBarAutoSuggestTap: '点击', + actionBarFileUploadButtonAriaLabel: '添加文件', + actionBarFileUploadLongContextButtonAriaLabel: '上传文本文件或尝试 Web URL', + actionBarFileUploadButtonTooltip: '添加文件', + actionBarFileUploadLongContextButtonTooltip: '上传文本文件或尝试 Web URL', + actionBarKeyboardHint: '输入', + actionBarTextInputModeButtonAriaLabel: '使用键盘', + actionBarSpeechInputModeButtonAriaLabel: '使用麦克风', + actionBarVisualSearchButtonAriaLabel: '添加要搜索的图像', + actionBarVisualSearchButtonTooltip: '添加图像', + actionBarVisualSearchCoachMarkTitle: '带图像的新必应', + actionBarVisualSearchCoachMarkDescription: '现在你可以使用图像与必应聊天!', + actionBarVisualSearchCoachMarkImgAlt: '视觉搜索工具提示图像', + actionBarSubmitButtonAriaLabel: '提交', + actionBarCancelSpeechInputButtonAriaLabel: '取消语音输入/读出', + actionBarEditModeButtonAriaLabel: '固定', + actionBarSpeechBtnStartListeningAriaLabel: '使用麦克风', + actionBarSpeechBtnStopListeningAriaLabel: '停止侦听', + actionBarSpeechBtnStopReadoutAriaLabel: '停止读出', + actionBarPromptGuideToolTip: '提示指南', + actionBarNewlineTooltip: '使用 Shift+Enter 为较长的消息创建换行符', + actionBarAttachButtonToolTip: '附加', + actionBarTextInputUnsupportedFileMessage: '不支持此文件类型。选择文本文件或图像文件,然后重试。', + actionBarAddNotebookButtonTooltip: '新主题', + actionBarAddNotebookButtonAriaLabel: '新主题', + actionBarEditResponseTitle: '编辑并发送', + noFilesPermissionTitle: '无法访问文件', + noFilesTitle: '保存文件以在此处查看', + noFilesDescription: '存储在设备上的文件将显示在此处。已准备好添加到 Copilot', + noPhotosPermissionTitle: '无法访问照片', + noPhotosTitle: '拍摄照片以在此处查看', + noPhotosDescription: '制作照片,它将显示在此处。已准备好添加到 Copilot', + noCameraPermissionTitle: '无法访问照相机', + recorderTipTitle: '录制麦克风和系统音频。最长 {0} 小时', + quickCaptureTurnOnText: '打开', + screenTip: '打开应用时双击电源以捕获屏幕', + screenTipTitle: '没有可用的屏幕见解', + screen: '屏幕', + screenButtonAriaLabel: '添加要搜索的电话屏幕', + files: '文件', + photos: '照片', + camera: '相机', + attachment: '附件', + attachmentHasSucceded: '已成功添加附件', + attachmentHasFailed: '附件失败', + attachmentIsReplaced: '以前的附件已替换为新附件', + editResponseQueryPrefix: '这是我编辑的版本,请查看 - \\n{0}', + actionBarQuickCaptureButtonAriaLabel: '快速捕获', + promptLibraryButtonLabel: '查看提示', + typingIndicatorStopRespondingAriaLabel: '停止响应', feedbackAccessed: '访问时间', feedbackSource: '源: 与必应的对话,', - feedbackShareConversationQuery: '什么是新版必应?', - feedbackThanksMessageV2: '感谢你的反馈。请重新开始或刷新页面。', - messageLearnMore: '了解详细信息:', - messageReference: '参考', - messageReferences: '引用', - messagePrivacyLabel: '你的个人和公司数据在此聊天中受到保护', - inputRaiLabel: '', - letsChat: '我们聊天吧', - pause: '暂停', - play: '开始游戏', - readAloud: '大声朗读', + feedbackLikeButtonAriaLabel: '点赞', + feedbackDislikeButtonAriaLabel: '不喜欢', + feedbackOffensiveButtonAriaLabel: '标记为冒犯性', + feedbackCopyButtonAriaLabel: '复制', + feedbackShareButtonAriaLabel: '共享', + feedbackScreenshotButtonLabel: '屏幕截图', + feedbackShareAnswer: '查看此必应答案', + feedbackShareGenerated: '查看我使用必应生成的内容', + feedbackShareContent: '下面是我使用新的必应(全球首个 AI支持的应答引擎)生成的答案。单击可查看完整答案,然后请你也来试一试。', + feedbackShowTonesButtonAriaLabel: '显示所有语气', + feedbackHideTonesButtonAriaLabel: '隐藏所有色调', + feedbackHidePreciseToneButtonAriaLabel: '隐藏精确', + feedbackShareErrorToast: '共享失败。', + feedbackRewriteButtonAriaLabel: '重写', + feedbackSearchOnBingButtonAriaLabel: '在必应上搜索', + fileUploadWebUrlLimitErrorMessage: '仅允许上传一个 Web URL', + fileUploadFileLimitErrorMessage: '已超出最大文件上传限制', + fileUploadSameFileNameErrorMessage: '不允许使用相同名称上传文件', + fileUploadFlyoutInputboxAriaLabel: '粘贴网页 URL', + fileUploadFlyoutTitle: '添加文本文件', + fileUploadFlyoutUploadButtonLabel: '从此设备上传', + fileUploadDragAndDropLabel: '将图片或文件拖放到此处', + fileUploadGenericErrorMessage: '很抱歉,发生错误。请重试或刷新对话。', + fileUploadUnsupportedFileMessage: '很抱歉,尚不支持此文件类型。请选择 Copilot 支持的文件格式,然后重试。', + fileUploadMaxSizeLimitErrorMessage: '文件大小已超限。只能上传高达 500KB 的文件。', + fileUploadFileNameLengthErrorMessage: '文件名太长。', + fileUploadMaxSizeErrorMessage: '此文件太大。最大大小为 1 MB。升级到 Copilot Pro 以支持 10 MB。', + fileUploadAudioMaxSizeErrorMessage: '此音频文件太大。最大大小为 {0} MB。', + fileUploadTextFileUploadErrorMessage: '无法上传文件。', + fileUploadWebPageInfoUploadErrorMessage: '无法从网页中提取内容。', + serpfeedback: '反馈', + exportTitle: '导出', + exportTextTitle: '文本', + exportPdfTitle: 'PDF', + exportPdfInOptionsTitle: '导出到 PDF', + exportWordTitle: 'Word', + exportWordInOptionsTitle: '导出到 Word', + exportWordOnlineTitle: 'Word', + exportExcelTitle: '下载为工作簿(.xlsx)', + exportExcelOnlineTitle: '在 Excel 中编辑', + exportTableTitle: '表格', + exportAddToFile: '添加到现有文件', + exportToastViewButtonLabel: '查看', + exportSuccessToastTitle: '已导出文件。某些格式和图像可能无法导出。', + exportErrorToastTitle: '导出失败', + exportLoadingToastTitle: '正在导出...', + exportOpenInWordLabel: '在 Word 中打开', + exportSaveToOneDrive: '保存到 OneDrive', + exportSaveToDevice: '保存到设备', + exportSaveAsWordTitle: 'Word', + exportSaveAsPdfTitle: 'PDF', + exportFilenameLabel: '名称', + exportDefaultFileName: '回答', + exportEditFilenameLabel: '编辑', + exportFiletypeLabel: '类型', + exportCancel: '取消', + exportChooseFolder: '选择文件夹', + exportedFileUserTitle: '用户', + exportedFileBotTitle: '必应', + exportedFileSourceTitle: '源', + codeDisclaimer: 'AI 生成的代码。仔细查看和使用。 {0}.', + codeDisclaimerLinkLabel: '有关常见问题解答的详细信息', + copyCodeButtonTooltip: '复制', + goldilocksMessageHeaderUserText: '你', + goldilocksMessageHeaderBotText: 'Copilot', + goldilocksMessageHeaderGPTBuilderText: 'Copilot GPT 生成器', + goldilocksMetaUsingText: '使用: ', + goldilocksMetaPluginText: '插件', + goldilocksMetaPluginsText: '插件', + goldilocksMetaSearchQueryText: '搜索', + goldilocksMetaSearchQueriesText: '搜索', + metaInternalSearchQueryGoldilocks: '正在搜索 {0}', + hoverCardSeeMoreOnBing: '在必应上查看更多内容', speechFailedRecognitionError: '抱歉,我无法收听你的声音,因为语音服务器已关闭,请稍后再试。', - speechListening: '我听着呢...', speechLoading: '正在等待音频...', + speechListening: '我听着呢...', speechMediaNotReachableError: '很抱歉,我无法收听你的声音,因为你没有可用的麦克风。', speechNoPermissionError: '你需要启用麦克风,我才能听到你的声音。', + speechNoPermissionErrorWinCopilot: '\u003cb\u003e 麦克风访问 \u003c/b\u003e\u003cbr\u003e 要使 Windows 中的 Copilot 在 Windows 中使用您的麦克风,请确保在“Windows 设置”中启用\u003cb\u003e“允许桌面应用访问麦克风”\u003c/b\u003e。 ', speechAudioPlaybackError: '出错了。', - startOver: '重新开始', - stop: '停止', + speechUnknownError: '出错了。', + speechAuthenticationError: '身份验证失败。请稍后重试。', + speechOnlineNotification: '语音输入由 Microsoft 联机服务处理,不会进行收集或存储。', + speechReopenMicMessageHeader: '麦克风将自动重新打开以实现无缝语音对话', + speechReopenMicMessageText: '点击麦克风以停止侦听。', + speechReopenMicMessageCTA: '禁用自动重新打开', + speechReopenMicMessageUndoHeader: '知道了。已禁用自动重新打开麦克风”', + speechReopenMicMessageUndoText: '我们不会再自动重新打开麦克风。', + speechReopenMicMessageUndoCTA: '撤消', + speechLanguageMessageHeader: '你似乎切换了口语', + speechLanguageMessageText: 'Copilot 自动检测到新的口语,并将响应以匹配', + speechLanguageMessageCTA: '关闭', + speechLanguageMessageUndoHeader: '知道了。自动检测已关闭', + speechLanguageMessageUndoText: '我们不会再自动检测你的口语。', + speechLanguageMessageUndoCTA: '撤消', + visualSearchDragAndDropLabel: '将图片拖至此处', + visualSearchFlyoutTitle: '添加图像', + visualSearchFlyoutInputboxAriaLabel: '粘贴图像或链接', + visualSearchFlyoutUploadButtonLabel: '从此设备上传', + visualSearchGenericErrorMessage: '无法上传该文件。请重试。', + visualSearchInvalidUrlMessage: '抱歉 - 你提供的 URL 似乎无效。请重试', + visualSearchUnsupportedFileMessage: '不支持此文件类型。选择图像文件,然后重试。', + visualSearchFlyoutTakePhotoButtonLabel: '拍照', + visualSearchMobileUpsellLabel: '在手机上使用必应应用', + visualSearchMaxCameraButtonLabel: '全屏相机视图', + attachmentLoading: '正在加载附件', + deleteAttachment: '删除附件', + warmWelcomeTitle: '欢迎使用新必应', + warmWelcomeTitleLine2: '', + welcomeContainerCopilotGptsPolicy: '政策', welcomeContainerPrivacyStatement: '隐私', welcomeContainerUseTerms: '条款', welcomeContainerLearnMore: '了解更多', - welcomeMessageItemContent1: '我可以为我挑剔的只吃橙色食物的孩子做什么饭?', - welcomeMessageItemContent2: '销量最高的 3 种宠物吸尘器有哪些优点和缺点?', - welcomeMessageItemContent3: '以海盗的口吻写一首关于外太空鳄鱼的俳句', welcomeMessageItemTitle1: '🧐 提出复杂问题', welcomeMessageItemTitle2: '🙌获取更好的答案', welcomeMessageItemTitle3: '🎨 获得创意灵感', - welcomeMessageItemLabel4: '更多创意中的新增功能:', + discoverMessageItemTitle: '📝 一起重写文本', welcomeMobCopilotSugg1: '与家人一起创作一首关于冒险的歌曲', welcomeMobCopilotSugg2: '用不押韵的生动图像写一首诗', welcomeMobCopilotSugg3: '向我提供一个列表,列出我可在有限的空闲时间追求的新爱好', - warmWelcomeTitle: '欢迎使用新必应', - warmWelcomeTitleLine2: '', - warmWelcomeAriaLabel: '欢迎使用新必应', + welcomeContainerFaq: '常见问题解答', + welcomeMessageItemContent1: '我可以为我挑剔的只吃橙色食物的孩子做什么饭?', + welcomeMessageItemContent2: '销量最高的 3 种宠物吸尘器有哪些优点和缺点?', + welcomeMessageItemContent3: '以海盗的口吻写一首关于外太空鳄鱼的俳句', + discoverMessageItemContent: '尝试从页面中选择文本以查看我们可以一起执行的操作', + welcomeMessageItemLabel4: '更多创意中的新增功能:', welcomeSubtitleText: 'AI 支持的网上助手', - workToggleDescription: '以及你的结果包括哪些内容', + welcomeTertiaryTitleText: '使用 AI 的强大功能从 Web 中查找答案、创建书面内容等。', + welcomeLearnMessage: 'Copilot 使用 AI。检查错误。', + welcomeLearnFeedbackSubstitute: '共享反馈', + muidUsersTermsCond1: '通过单击“开始使用”,并继续与 Copilot 交互,即表示你接受 ', + muidUsersTermsCond1Inline: '通过继续与 Copilot 交互,你将接受 ', + muidUsersTermsCond1Modal: '通过继续与 Microsoft Copilot 交互,你将接受 ', + muidUsersTermsCond2: '并确认你已查看', + muidUsersTermsCond2Modal: ' 并确认你已查看 ', + muidUsersTermsCond3: '', + muidUsersPrivacyStatement: '隐私声明', + muidUsersTermsOfUse: '使用条款', + muidUserGetStartedText: '开始使用', + muidUserContinueText: '继续', + muidUserHeaderText: '', + adsDisclaimer: '广告不是基于工作区标识或聊天历史记录的目标。{0}。', + adsDisclaimerLearnMoreLink: '了解更多', + welcomeTileContainerTitle: '一些帮助你入门的想法', + welcomeLearnMessageOnMobileCopilot: 'Copilot 由 AI 提供支持,因此可能会出现意外和错误。请 {0},以便我们可以改进。', + toneSelectorDescription: '选择对话样式', + toneSelectorCreativeTooltip: '开始原创和富有想象力的聊天', + toneSelectorBalancedTooltip: '推荐用于收到通知的日常聊天', + toneSelectorPreciseTooltip: '开始简短聊天,这有助于事实调查', + toneSelectorSuppressedTooltip: '暂时不可用。请稍后再试!', + toneSelectorMoreCreative: '更\\r\\n有创造力', + toneSelectorMoreBalanced: '更\\r\\n平衡', + toneSelectorMorePrecise: '更\\r\\n精确', + toneSelectorFaster: '更快', + toneSelectorWithGPT4: '使用 GPT-4', + welcomeMobSugg1: '必应如何使用 AI?', + welcomeMobSugg2: '必应还可以做什么?', + welcomeMobSugg3: '科技领域的最新消息是什么?', + flippedMobileCopilotTitle: 'Copilot', + feedbackPromptPositive: '很高兴你喜欢这个答案!', feedbackFirstMessage: '非常抱歉没有帮助到你。是否可以详细说明你不喜欢的方面?', feedbackPromptMessage: '感谢提醒。请提供反馈,以便必应团队可以查看。', feedbackPromptGiveFeedback: '提供反馈', feedbackPromptGiveFeedbackAriaLabel: '提供反馈', - feedbackPromptPositive: '很高兴你喜欢这个答案!', + feedbackShareConversationQuery: '什么是 Microsoft Copilot?', + feedbackThanksMessageV2: '感谢你的反馈。请重新开始或刷新页面。', feedbackFormTitleText: '为什么这不起作用?', feedbackFormInputDefaultText: '在此处添加更多详细信息。为了帮助保护你的隐私,请不要填入你的姓名或电子邮件地址等个人信息。', feedbackFormLegalText: '是否有法律或政策问题?', + feedbackFormPrivacyText: '按“提交”后,你的反馈将用于改进 Microsoft 产品和服务。组织的 IT 管理员将能够查看和管理反馈数据。', + feedbackFormUserConsentText: '将提示共享到 Copilot、从 Copilot 收到的响应,以及此交互的诊断数据?', + feedbackFormUnderstandDataSharedText: '详细了解作为诊断数据共享的内容', + feedbackFormUserConsentYesText: '是', + feedbackFormUserConsentNoText: '否', feedbackFormReportAConcern: '报告问题', + feedbackFormPrivacyStatement: '隐私声明', feedbackFormNotificationTitleText: '反馈已提交', feedbackFormNotificationBodyText: '感谢你帮助必应改进!', feedbackFormThanksMessage: '感谢你提供的反馈!', feedbackFormReturnToChatMessage: '返回到聊天', inlineFeedbackShownAriaLabelPrefix: '显示的消息反馈条目', - inlineFeedbackSearchOnBingText: 'Try search on Bing:', + inlineFeedbackSearchOnBingText: '尝试在必应上搜索:', serpFeedbackFormTitleText: '请帮助我们改进体验', serpFeedbackFormInputDefaultText: '在此处输入反馈。为了帮助保护你的隐私,请不要填入你的姓名或电子邮件地址等个人信息。', serpFeedbackFormScreenshot: '包括此屏幕截图', @@ -432,26 +738,25 @@ _w['_sydConvTranslation'] = { serpFeedbackFormRadioConnectionIssues: '连接问题', serpFeedbackFormRadioSlowResponses: '响应缓慢', serpFeedbackFormRadioOther: '其他', - feedbackFormUnderstandDataSharedText: '详细了解作为诊断数据共享的内容', - feedbackFormUserConsentText: '将提示共享到 Copilot、从 Copilot 收到的响应,以及此交互的诊断数据?', - feedbackFormUserConsentYesText: '是', - feedbackFormUserConsentNoText: '否', - feedbackFormPrivacyStatement: '隐私声明', - feedbackFormPrivacyText: '按“提交”后,你的反馈将用于改进 Microsoft 产品和服务。组织的 IT 管理员将能够查看和管理反馈数据。', compliantPositiveFeedbackFormTitleText: '向 Microsoft 提交反馈', compliantPositiveFeedbackQuestionText: '你喜欢哪些方面?', compliantPositiveFeedbackDefaultText: '请不要提供任何个人信息。', compliantNegativeFeedbackFormTitleText: '向 Microsoft 发送详细反馈', - compliantNegativeFeedbackCategoryText: '该内容是', compliantNegativeFeedbackQuestionText: '出了什么问题?', + compliantNegativeFeedbackCategoryText: '该内容是', compliantFeedbackThanksText: '感谢你提供的反馈!', compliantFeedbackCategoryInaccurate: '不准确', compliantFeedbackCategoryOffensive: '冒犯性或不适宜', compliantFeedbackCategoryOther: '其他', - pageTitleText: '具有 GPT-4 的 Copilot', - submit: '提交', - explore: '浏览', - exploreMore: '浏览更多', + shareConversation: '共享整个对话', + messageLearnMore: '了解详细信息:', + messageLearnMoreV2: '了解详细信息', + messagePrivacyLabel: '你的个人和公司数据受到保护', + messageReference: '参考', + messageReferences: '引用', + messageSharedContent: '共享内容', + messageReceivedAriaLabelPrefix: '已收到消息', + messageReportedOffensiveAndRemoved: '已删除此消息,因为它已被举报待审查。', metaInternalSearchQuery: '正在搜索: `{0}`', metaInternalLoaderMessage: '正在为你生成答案...', metaInternalImageLoaderMessage: '分析图像: 隐私模糊会隐藏 Copilot 的人脸', @@ -461,59 +766,28 @@ _w['_sydConvTranslation'] = { metaInternalGptCreatorUpdateProfileMessage: '正在更新 Copilot GPT 配置文件', metaInternalGptCreatorNameUpdatedMessage: '已更新 Copilot GPT 名称', metaInternalGptCreatorProfileUpdatedMessage: '已更新 Copilot GPT 配置文件', - compliantMetaInternalLoaderMessage: '从 {0} 生成安全答案', - messageSharedContent: '共享内容', - more: '更多', - morePromptsLink: '查看更多提示', - expand: '展开', - welcomeTertiaryTitleText: '使用 AI 的强大功能从 Web 中查找答案、创建书面内容等。', - actionBarTextInputAriaLabel: '询问必应', - seeMore: '查看更多', - seeLess: '查看更少', - seeChatHistory: '查看聊天历史记录', - hideChatHistory: '隐藏聊天历史记录', - seeMoreGPTs: '查看更多 Copilot GPT', - seeLessGPTs: '查看更少 Copilot GPT', - raiSuggestions: '显示了解更多建议', - raiSuggestionsClose: '隐藏了解更多建议', - actionBarFileUploadButtonAriaLabel: '上传文件', - actionBarFileUploadLongContextButtonAriaLabel: '上传文本文件或尝试 Web URL', - actionBarFileUploadButtonTooltip: '添加文本文件或尝试 Web URL', - actionBarFileUploadLongContextButtonTooltip: '上传文本文件或尝试 Web URL', - actionBarTextInputModeButtonAriaLabel: '使用键盘', - actionBarTextInputUnsupportedFileMessage: '不支持此文件类型。选择文本文件或图像文件,然后重试。', - actionBarAddNotebookButtonTooltip: '新主题', - actionBarAddNotebookButtonAriaLabel: '新主题', - actionBarEditResponseTitle: '编辑并发送', - actionBarSpeechInputModeButtonAriaLabel: '使用麦克风', - actionBarVisualSearchButtonTooltip: '添加图像', - actionBarVisualSearchButtonAriaLabel: '添加要搜索的图像', - actionBarVisualSearchCoachMarkTitle: '带图像的新必应', - actionBarVisualSearchCoachMarkDescription: '现在你可以使用图像与必应聊天!', - actionBarVisualSearchCoachMarkImgAlt: '视觉搜索工具提示图像', - actionBarVisualSearchCoachMarkText: '使用 AI 分析图像', - actionBarSubmitButtonAriaLabel: '提交', - actionBarCancelSpeechInputButtonAriaLabel: '取消语音输入/读出', - actionBarEditModeButtonAriaLabel: '固定', - actionBarSpeechBtnStartListeningAriaLabel: '使用麦克风', - actionBarSpeechBtnStopListeningAriaLabel: '停止侦听', - actionBarSpeechBtnStopReadoutAriaLabel: '停止读出', - camera: 'Camera', - attachment: '附件', - attachmentHasSucceded: '已成功添加附件', - attachmentHasFailed: '附件失败', - attachmentIsReplaced: '以前的附件已替换为新附件', - editResponseQueryPrefix: '这是我编辑的版本,请查看 - \\n{0}', - feedbackLikeButtonAriaLabel: '点赞', - feedbackDislikeButtonAriaLabel: '不喜欢', - feedbackOffensiveButtonAriaLabel: '标记为冒犯性', - feedbackCopyButtonAriaLabel: '复制', - feedbackRewriteButtonAriaLabel: '重写', - feedbackSearchOnBingButtonAriaLabel: '在必应上搜索', - feedbackShareButtonAriaLabel: '共享', - messageReceivedAriaLabelPrefix: '已收到消息', - messageReportedOffensiveAndRemoved: '已删除此消息,因为它已被举报待审查。', - messageNotebookPlaceholder: '必应 AI 将在此处创建内容', + messageNotebookPlaceholder: 'Copilot 将在此处创建内容', + messageSentBy: '由 {0} 发送: ', + messageActionsCopy: '复制', + messageActionsCopying: '正在复制', + messageActionsCopied: '已复制', + messageActionsCopyError: '错误', + messageActionsReport: '报告', + messageActionsEditResponse: '编辑', + mobileUpsellTitle1: '在手机上继续', + mobileUpsellMessage1: '扫描此 QR 码以在移动必应应用上继续此对话', + mobileUpsellTitle2: '使用必应应用拍摄照片', + mobileUpsellMessage2: '扫描 QR 码以在移动设备上使用必应应用拍摄此照片', + injectedActionCardTitle: '就此页面进行聊天?', + injectedActionCardConfirm: '发送', + injectedActionCardDeny: '忽略', + tooltipPositive: '点赞', + tooltipNegative: '不喜欢', + tooltipShare: '共享', + tooltipMore: '更多', + tooltipSendToPhone: '在手机上继续', + raiDisclaimerLabel: 'AI 生成的内容可能不正确', + newTopicPrompt: '通过新聊天,可以开始与必应就任何主题进行全新对话', newTopicGreet1: '谢谢你! 知道你什么时候准备好继续前进总是很有帮助的。我现在能为你回答什么问题?', newTopicGreet2: '重新开始总是很棒。问我任何问题!', newTopicGreet3: '当然,我很乐意重新开始。我现在可以为你提供哪些帮助?', @@ -551,48 +825,19 @@ _w['_sydConvTranslation'] = { newTopicSugg23: '火烈鸟为何为粉色?', newTopicSugg24: '全息影像的工作原理是什么?', newTopicSugg25: '金字塔是如何建成的?', - newUserGreet: '欢迎,这是必应!我们即将开始全新的搜索方式。告诉我你为什么在这里,我可以找到答案、激发新创意或与你聊天。那么,我可以为你做什么?', - newUserSugg1: '搜索网页', - newUserSugg2: '搜索资讯', - newUserSugg3: '玩小游戏', - repeatUserGreet: '你好!很高兴’我们可以继续聊天。你今天想要探索什么?', - repeatUserSugg1: '谁创建了你?', - repeatUserSugg2: '给我说个笑话', - repeatUserSugg3: '做个小测验', - creativeGreet: '让我们发挥创意吧!你是否在考虑某个主题,还是即兴发挥?', - balancedGreet: '好的,我们来查找答案并聊会天。我可以为你做什么?', - preciseGreet: '你好,我来帮你查资料。首先请问我一个问题。', - creativeSugg1: '给雷雨写一封情书', - creativeSugg2: '让我们写一首节拍诗', - creativeSugg3: '告诉我我的星座运势', - balancedSugg1: '去露营我需要什么?', - balancedSugg2: '给我个周末度假的主意', - balancedSugg3: '哪种花最香?', - preciseSugg1: '谁第一个发现南极洲?', - preciseSugg2: '给我列出今晚晚餐的购物清单', - preciseSugg3: '为我编辑内容', - close: '关闭', - newTopicPrompt: '通过新聊天,可以开始与必应就任何主题进行全新对话', - typingIndicatorStopRespondingAriaLabel: '停止响应', - loading: '正在加载', - canceling: '正在取消', - welcomeLearnMessage: '必应由 AI 提供支持,因此可能会出现意外和错误。请分享反馈,以便我们可以改进!', - welcomeLearnMessage2: 'Bing Chat 会处理你在Windows Copilot 中输入的字词,以生成 AI 驱动的响应,并改善你在 Windows 中的体验。', - welcomeLearnFeedbackSubstitute: '共享反馈', - adsDisclaimer: '广告不是基于工作区标识或聊天历史记录的目标。{0}。', - adsDisclaimerLearnMoreLink: '了解更多', - welcomeTileContainerTitle: '一些帮助你入门的想法', - welcomeLearnMessageOnMobileCopilot: 'Copilot 由 AI 提供支持,因此可能会出现意外和错误。请 {0},以便我们可以改进。', - actionBarNewlineTooltip: '使用 Shift+Enter 为较长的消息创建换行符', - actionBarQuickCaptureButtonAriaLabel: '快速捕获', - notiChatEnd: '聊天主题已结束。', - notiRestartChat: '在 {0} 小时内开始新主题', - notificationAttemptingToReconnect: '正在尝试重新连接...', - notificationProcessing: '正在尝试连接,请稍候', - notificationLostConnection: '很抱歉,你的连接似乎已断开。', - notificationLostConnectionCta: '是否要尝试重新连接?', - sydneySapphireConsentDenyText: '拒绝', - typingIndicatorStopStreamingAriaLabel: '停止流式传输', + newUserGreet: '你好,我是’必应!这是一些特殊内容的开始。向我提问,或告诉我你的想法,我们可以一起探索。', + newUserSugg1: '玩游戏', + newUserSugg2: '写一首诗', + newUserSugg3: '写一首诗 ', + repeatUserGreet: '你好,你又回来了!很高兴再次看到你。我今天能帮你做什么?', + repeatUserSugg1: '向我显示一些酷的内容', + repeatUserSugg2: '曲奇食谱', + repeatUserSugg3: '告诉我关于花朵的信息', + bufferMessage1: '收到了,稍等一下...', + bufferMessage2: '听到你的声音,请稍等片刻...', + bufferMessage3: '好的,让我快速处理...', + customGptGreet: '你好,我是你的 {0}!我们开始吧。我该如何提供帮助?', + customGptNewTopicGreet: '又见面了!你有什么想法?', configurePanelFileUploadButton: '文件已上传', configurePanelNamePlaceHolder: '为 Copilot GPT 命名', configurePanelDescriptionPlaceHolder: '简要描述此 Copilot GPT 的作用', @@ -615,9 +860,14 @@ _w['_sydConvTranslation'] = { configurePanelSaveSuccess: '保存成功', configurePanelSaveFailure: '保存失败', configurePanelSaveLoading: '正在保存,请稍候...', - configurePanelAffirmationTips: '点击“发布”即表示我了解,如果选择共享 Copilot GPT,则与 Microsoft 帐户关联的名称以及上传或输入到 GPT 的任何敏感或个人数据可能公开可用或与 GPT 的收件人共享。并且我确认我拥有创建此 GPT 所需的所有权利、权限和授权,并且此 GPT、GPT 说明和任何随附文件均遵守 Microsoft Copilot 行为准则和条款,不会侵犯或鼓励侵犯任何第三方权利(包括版权、商标或公开权限)。', + configurePanelEmptyNameError: 'Copilot GPT 必须具有名称才能发布', + configurePanelEmptyDescriptionError: 'Copilot GPT 必须具有说明才能发布', + configurePanelAffirmationTips: '点击“发布”即表示我了解,如果选择共享 Copilot GPT,则与 Microsoft 帐户关联的名称以及上传或输入到 GPT 的任何敏感或个人数据可能公开可用或与 GPT 的收件人共享。并且我确认我拥有创建此 GPT 所需的所有权利、权限和授权,并且此 GPT、GPT 说明和任何随附文件均遵守 Microsoft Copilot 行为准则、条款和政策,不会侵犯或鼓励侵犯任何第三方权利(包括版权、商标或公开权限)。', configurePanelUploadTips: '通过上传文件,我证明我有权创建 Copilot GPT,且不侵犯任何第三方知识产权。', configurePanelEmptyWarningTips: '{0} 不得为空!', + configurePanelActions: '操作', + configurePanelAddActionButton: '+ 新建操作', + configurePanelEditActionButton: '编辑操作', gptCreatorDeleteConfirm: '删除', gptCreatorDeleteQuestion: '是否确定要删除?', gptCreatorDeleting: '正在删除。请稍等...', @@ -626,6 +876,7 @@ _w['_sydConvTranslation'] = { gptCreatorDeleteCanceled: '删除已取消', gptCreatorDeleteCancel: '取消', gptCreatorLoadEditedGptFailure: '加载 Copilot GPT 失败', + gptCreatorLoadGptFailure: '该 Copilot GPT 存在问题', gptCreatorPrivacyTermsStatement: '你好!在这里,可以通过聊天创建 Copilot GPT。只需下达指令、提问,并在出现问题时更正我。继续与我交互即表示你接受 {0} 并确认你已查看 {1}。 ', gptCreatorTipsTitle: '用于创建高质量 Copilot GPT 的提示:', gptCreatorTipsEnd: '让我们开始创建!', @@ -647,6 +898,9 @@ _w['_sydConvTranslation'] = { gptCreatorPublishSucceeded: '成功发布 Copilot GPT', gptCreatorPublishFailed: '发布 Copilot GPT 失败', gptCreatorPublishLoading: '正在发布 Copilot GPT,请稍候...', + gptCreatorPreviewAutoSaveSucceeded: '保存成功', + gptCreatorPreviewAutoSaveFailed: '保存 GPT 失败,无法打开预览页', + gptCreatorPreviewAutoSaveLoading: '正在保存,请稍候...', gptCreatorOnlyVisitToMe: '仅对我可见', gptCreatorViewGpt: '查看 Copilot GPT', gptCreatorSeeAll: '查看全部 Copilot GPT', @@ -656,142 +910,39 @@ _w['_sydConvTranslation'] = { gptCreatorAddGptDescription: '使用配置或创建工具创建可保留专用或共享的自定义 Copilot GPT', gptCreatorDescriptionTitle: '说明', gptCreatorPreviewButton: '预览 Copilot GPT', - gptCreatorDeleteButtonText: '删除', - gptCreatorEditButtonText: '编辑', - gptCreatorChatButtonText: '开始使用', - gptCreatorPreviewText: '在此处选择要预览的 Copilot GPT', - sydneyWindowsCopilotUseTerms: '使用条款', - sydneyCarouselCollapse: '折叠', - sydneyCarouselTitle: '最近的聊天主题', - messageActionsCopy: '复制', - messageActionsCopying: '正在复制', - messageActionsCopied: '已复制', - messageActionsCopyError: '错误', - messageActionsReport: '报告', - messageActionsEditResponse: '编辑', - tooltipPositive: '点赞', - tooltipNegative: '不喜欢', - tooltipShare: '共享', - tooltipMore: '更多', - tooltipSendToPhone: '在手机上继续', - codeDisclaimer: 'AI 生成的代码。仔细查看和使用。 {0}.', - codeDisclaimerLinkLabel: '有关常见问题解答的详细信息', - exportTitle: '导出', - exportTextTitle: '文本', - exportPdfTitle: 'PDF', - exportPdfInOptionsTitle: '导出到 PDF', - exportWordTitle: 'Word', - exportWordInOptionsTitle: '导出到 Word', - exportWordOnlineTitle: 'Word', - exportExcelTitle: '下载为工作簿(.xlsx)', - exportExcelOnlineTitle: '在 Excel 中编辑', - exportTableTitle: '表格', - exportOpenInWordLabel: '在 Word 中打开', - exportSaveToOneDrive: '保存到 OneDrive', - exportSaveToDevice: '保存到设备', - exportSaveAsWordTitle: 'Word', - exportSaveAsPdfTitle: 'PDF', - exportFilenameLabel: '名称', - exportEditFilenameLabel: '编辑', - exportFiletypeLabel: '类型', - exportCancel: '取消', - exportChooseFolder: '选择文件夹', - exportToastViewButtonLabel: '查看', - exportSuccessToastTitle: '已导出文件。某些格式和图像可能无法导出。', - exportErrorToastTitle: '导出失败', - exportLoadingToastTitle: '正在导出...', - exportedFileUserTitle: '用户', - exportedFileBotTitle: '必应', - exportedFileSourceTitle: '源', - goldilocksMessageHeaderUserText: '你', - goldilocksMessageHeaderBotText: 'Copilot', - goldilocksMetaUsingText: '使用: ', - goldilocksMetaPluginText: '插件', - goldilocksMetaPluginsText: '插件', - goldilocksMetaSearchQueryText: '搜索', - goldilocksMetaSearchQueriesText: '搜索', - metaInternalSearchQueryGoldilocks: '正在搜索 {0}', - mobileUpsellMessage1: '扫描此 QR 码以在移动必应应用上继续此对话', - mobileUpsellTitle1: '在手机上继续', - visualSearchMobileUpsellLabel: '在手机上使用必应应用', - mobileUpsellTitle2: '使用必应应用拍摄照片', - mobileUpsellMessage2: '扫描 QR 码以在移动设备上使用必应应用拍摄此照片', - actionBarAutoSuggestTab: 'Tab', - actionBarAutoSuggestTap: '点击', - actionBarKeyboardHint: '输入', - feedbackShareAnswer: '查看此必应答案', - feedbackShareGenerated: '查看我使用必应生成的内容', - feedbackLinkShareTitle: '下面是我使用 Microsoft Copilot (全球首个 AI支持的应答引擎)生成的答案。选择以查看完整答案或自行尝试。', - feedbackShowTonesButtonAriaLabel: '显示所有语气', - feedbackHideTonesButtonAriaLabel: '隐藏所有色调', - feedbackHidePreciseToneButtonAriaLabel: '隐藏精确', - feedbackShareErrorToast: '共享失败。', - serpfeedback: '反馈', - shareConversation: '共享整个对话', - speechAuthenticationError: '身份验证失败。请稍后重试。', - speechNoPermissionErrorWinCopilot: '\u003cb\u003e 麦克风访问 \u003c/b\u003e\u003cbr\u003e 要使 Windows 中的 Copilot 在 Windows 中使用您的麦克风,请确保在“Windows 设置”中启用\u003cb\u003e“允许桌面应用访问麦克风”\u003c/b\u003e。 ', - speechOnlineNotification: '语音输入由 Microsoft 联机服务处理,不会进行收集或存储。', - speechUnknownError: '出错了。', - refresh: '刷新', - feedbackShareContent: '下面是我使用新的必应(全球首个 AI支持的应答引擎)生成的答案。单击可查看完整答案,然后请你也来试一试。', - fileUploadDragAndDropLabel: '将图片或文件拖放到此处', - fileUploadUnsupportedFileMessage: '此文件类型不受支持。选择文本文件,然后重试。', - fileUploadMaxSizeLimitErrorMessage: '文件大小已超限。只能上传高达 500KB 的文件。', - fileUploadFileNameLengthErrorMessage: '文件名太长。', - fileUploadMaxSizeLimitLongContextErrorMessage: '文件大小已超限。只能上传大小不超过 10MB 的文件。', - fileUploadMaxSizeLongContextErrorMessage: '文件大小已超限。只能上传大小不超过 {0}MB 的文件。', - fileUploadTextFileUploadErrorMessage: '无法上传文件。', - fileUploadWebPageInfoUploadErrorMessage: '无法从网页中提取内容。', - fileUploadFlyoutInputboxAriaLabel: '粘贴网页 URL', - fileUploadFlyoutTitle: '添加文本文件', - fileUploadFlyoutUploadButtonLabel: '从此设备上传', - fileUploadGenericErrorMessage: '无法上传该文件。请重试', - fileUploadWebUrlLimitErrorMessage: '仅允许上传一个 Web URL', - fileUploadFileLimitErrorMessage: '已超出最大文件上传限制', - fileUploadSameFileNameErrorMessage: '不允许使用相同名称上传文件', - preview: '预览', - toneSelectorDescription: '选择对话样式', - toneSelectorMoreCreative: '更\\r\\n有创造力', - toneSelectorMoreBalanced: '更\\r\\n平衡', - toneSelectorMorePrecise: '更\\r\\n精确', - toneSelectorFaster: '更快', - toneSelectorWithGPT4: '使用 GPT-4', - notificationClientIdChangedInNotebook: '你的笔记本已过期。', - notificationClientIdChangedInNotebookCta: '开始新主题', - notificationMaxTurnsPerDay: '很抱歉,你已达到可在 24 小时内发送到必应的邮件限制。请稍后回来查看!', - notificationMaxTurnsPerHour: '很抱歉,你已达到可在 1 小时内发送到必应的邮件限制。请稍后再试!', - notificationMaxTurnsPerConversation: '很抱歉,此对话已达到其限制。使用“扫除”按钮清除此内容并进行更多聊天。', - notificationMaxTurnsPerConversationInNotebook: '很抱歉,我想我们需要继续操作!使用左侧的“新主题”按钮清除内容并重新开始。', - notificationMaxTurnsForMuidUsers: '你已达到今天的对话限制。', - notificationMaxTurnsForInPrivateUsers: '你已达到 inPrivate 模式的会话限制。打开非 inPrivate 窗口以继续聊天', - notificationUnauthorizedMuidUsersCta: '登录以继续你的聊天。', - muidUserHeaderText: '', - muidUsersTermsCond1: '通过单击“开始使用”,并继续与必应交互,即表示你接受', - muidUsersTermsCond1Inline: '通过继续与必应交互,你将接受 ', - muidUsersTermsCond2: '并确认你已查看', - muidUsersPrivacyStatement: '隐私声明', - muidUsersTermsOfUse: '使用条款', - muidUserGetStartedText: '开始使用', - muidUserContinueText: '继续', - welcomeMobSugg1: '必应如何使用 AI?', - welcomeMobSugg2: '必应还可以做什么?', - welcomeMobSugg3: '科技领域的最新消息是什么?', - of: '的', - notificationResetConversation: '很抱歉,似乎出现错误。', - notificationResetConversationCta: '让我们重新开始吧。', - toneSelectorCreativeTooltip: '开始原创和富有想象力的聊天', - toneSelectorBalancedTooltip: '推荐用于收到通知的日常聊天', - toneSelectorPreciseTooltip: '开始简短聊天,这有助于事实调查', - toneSelectorSuppressedTooltip: '暂时不可用。请稍后再试!', + gptCreatorDeleteButtonText: '删除', + gptCreatorEditButtonText: '编辑', + gptCreatorChatButtonText: '开始使用', + gptCreatorPreviewText: '在此处选择要预览的 Copilot GPT', + sydneyWindowsCopilotUseTerms: '使用条款', + notebookDisclaimer: 'Copilot 使用 AI。检查错误。', + notiChatEnd: '聊天主题已结束。', + notiRestartChat: '在 {0} 小时内开始新主题', + notiUpdateBrowser: '很抱歉,我们遇到了一些问题。', notificationDisengaged: '也许该换个新话题了。', notificationForbidden: '很抱歉,你似乎不再有权访问此功能。请几天后再次查看。', + notificationResetConversation: '很抱歉,似乎出现错误。', + notificationResetConversationCta: '让我们重新开始吧。', + notificationClientIdChangedInNotebook: '你的笔记本已过期。', + notificationClientIdChangedInNotebookCta: '开始新主题', + notificationMaxTurnsPerDay: '很抱歉,你已达到可在 24 小时内发送到必应的邮件限制。请稍后回来查看!', + notificationMaxTurnsPerHour: '很抱歉,你已达到可在 1 小时内发送到必应的邮件限制。请稍后再试!', + notificationMaxTurnsPerConversation: '很抱歉,此对话已达到其限制。让我们开始新的聊天。', + notificationMaxTurnsPerConversationInNotebook: '很抱歉,我想我们需要继续操作!使用左侧的“新主题”按钮清除内容并重新开始。', + notificationMaxTurnsForMuidUsers: '你已达到今天的对话限制。', + notificationMaxTurnsForInPrivateUsers: '你已达到 inPrivate 模式的会话限制。打开非 inPrivate 窗口以继续聊天', + notificationProcessing: '正在尝试连接,请稍候', notificationTooManyRequests: '很抱歉,现在需求量非常大。请稍后重试。', notificationUnauthorized: '很抱歉,你似乎已注销。', notificationUnauthorizedCta: '请重新登录。', - notificationUnauthorizedMissingDOB: '可能需要确认你的出生日期才能继续聊天。', - notificationUnauthorizedMissingDOBCta: '在此处更新你的帐户。', - notificationUnauthorizedChildUser: '很抱歉,Bing Chat 不适用于此帐户。', - notificationUnauthorizedChildUserCta: '在 bing.com 上浏览 Web!', + notificationConversationLimitMissingDOB: '可能需要确认你的出生日期才能继续聊天。', + notificationConversationLimitMissingDOBCta: '在此处更新你的帐户。', + notificationConversationLimitChildUser: '很抱歉,Bing Chat 不适用于此帐户。', + notificationConversationLimitChildUserCta: '在 bing.com 上浏览 Web!', + notificationUnauthorizedMuidUsersCta: '登录以继续你的聊天。', + notificationAttemptingToReconnect: '正在尝试重新连接...', + notificationLostConnection: '很抱歉,你的连接似乎已断开。', + notificationLostConnectionCta: '是否要尝试重新连接?', notificationMessageError: '上一条消息似乎已中断。', notificationMessageErrorInNotebook: '你上次的提示似乎已中断。', notificationSharedTip: '此对话\u003cstrong\u003e“{0}”\u003c/strong\u003e已于 {1} 与你共享', @@ -801,107 +952,63 @@ _w['_sydConvTranslation'] = { notificationAutoRecoverOnMessageError: '很抱歉,你最后一封邮件似乎已中断。正在解决,请稍候。', notificationAutoRecoverOnMessageErrorInNotebook: '抱歉,您的上一个请求被中断了。我们正在解决,请稍等。', notificationContinueRecovering: '我仍在解决问题,请稍候。', - signInCta: '登录 ', - signInDescription: ' 以提出更多问题并进行更长的对话', - signInDescriptionInPrivate: '打开非 inPrivate 窗口,以便进行更长的对话或提出更多问题', - copyCodeButtonTooltip: '复制', - autosaveConsentTitle: '启用自动保存以重新访问聊天', - autosaveConsentBody: '你的聊天当前未自动保存。若要跨设备访问以前的对话,请使用自动保存。', - autosaveConsentNote: '请注意,此设置将清除当前对话。', - autosaveConsentAccept: '启用自动保存', - autosaveConsentDeny: '否', - autosaveOffBanner: '自动保存当前已关闭', - personalConsentTitle: '启用个性化以获得更好的答案', - personalConsentBody: '允许必应使用最近必应聊天对话中的见解来提供个性化的响应。', - personalConsentAccept: '打开', - personalConsentDeny: '否', - personalOffBanner: '个性化当前处于关闭状态', - personalOnBanner: '个性化当前处于启用状态', - personalOnUndoBanner: '个性化设置已打开', - personalOffUndoBanner: '个性化设置已关闭', - personalConsentUndo: '撤消', - personalConsentTurnOff: '禁用', - threadsSharedOnDate: '于 {0} 共享', - threadsMore: '更多', - threadsExportPanelTitle: '选择格式', - threadsExportPanelAriaLabel: '选择', - threadsAADMSARedirectConfirm: '切换用户配置', - threadsAADMSARedirectDescription: '正在使用 Microsoft 帐户保存你的对话历史记录。下次使用个人帐户登录时,它将在此处显示。', - privateThreadConvDefaultTitle: '未保存的对话', - threadsCancel: '取消', - threadsChatHistory: '聊天记录', - threadsConfirm: '确认', - threadsDaysAgo: '{0} 天前', - threadsDefaultChatName: '无标题的聊天', - threadsDelete: '删除', - threadsDescription: 'AI 支持的助手必应现可自动保存聊天。你可以从任何设备、桌面或移动设备访问聊天,无缝地继续。', - threadsDescriptionNote: '请注意,除非专门保存,否则所有聊天将在 90 天内自动删除。', - threadsEdit: '重命名', - threadsLoad: '加载聊天', - threadsMinimizeRecent: '最小化最近的聊天', - threadsMinimizeSaved: '最小化保存的聊天', - threadsPreview: '预览', - threadsPreviewText: '跳回最近聊天', + creativeGreet: '好吧!这就是创造力。我能帮什么忙?', + balancedGreet: '好的,我们来查找答案并聊会天。我可以为你做什么?', + preciseGreet: '感谢聊天。今天我能帮你吗?', + creativeSugg1: '给我出个谜语来解', + creativeSugg2: '我可以为好友做些什么?', + creativeSugg3: '告诉我一个奇怪的事实', + balancedSugg1: '给我个周末度假的主意', + balancedSugg2: '我需要帮助制定计划', + balancedSugg3: '为我提供有关新爱好的想法', + preciseSugg1: '为我编辑内容', + preciseSugg2: '是什么让地球旋转?', + preciseSugg3: '下一次日食是什么时候', + threadsTitle: '聊天', + threadsTitleForFlux: '菜单', threadsRecentTitle: '最近的活动', threadsRecentTitleShort: '最近使用', threadsSavedTitle: '已保存', threadsSeeAllRecent: '查看所有最近的聊天', threadsSeeAllSaved: '查看所有保存的聊天', - threadsTitle: '聊天', - threadsTitleForFlux: '菜单', + threadsDefaultChatName: '无标题的聊天', + threadsDaysAgo: '{0} 天前', threadsYesterday: '昨天', + threadsMinimizeRecent: '最小化最近的聊天', + threadsMinimizeSaved: '最小化保存的聊天', + threadsEdit: '重命名', + threadsDelete: '删除', + threadsDeleted: '已删除', + threadsConfirm: '确认', + threadsUpdateConfirmed: '线程更新成功', + threadsCancel: '取消', + threadsEditCanceled: '已取消编辑', + threadsChatHistory: '聊天记录', + threadsLoadChatHistory: '下载历史聊天记录', + threadsPreviewText: '跳回最近聊天', + threadsDescription: 'AI 支持的助手必应现可自动保存聊天。你可以从任何设备、桌面或移动设备访问聊天,无缝地继续。', + threadsSharedOnDate: '于 {0} 共享', + threadsLoad: '加载聊天', + threadsExportPanelTitle: '选择格式', + threadsExportPanelAriaLabel: '选择', threads2TLastAccessed: '上次应答时间', threads2TInfoChanged: '此信息可能已更改,因为', threads2TArchivedText: '屏幕截图', threads2TReloadDescription: '单击“重新加载”以显示来自 Web 的最新信息', - threads2TFailedSearch: '请参阅最新 Bing.com', threads2TReload: '搜索 Bing.com', - injectedActionCardTitle: '就此页面进行聊天?', - injectedActionCardConfirm: '发送', - injectedActionCardDeny: '忽略', - webPageContextPrefix: '已访问网站', - useGPT4SwitchLabel: '使用 GPT-4', - switchGPT4Label: 'GPT-4', - switchGPT4TurboLabel: 'GPT-4 Turbo', - zeroInputSuggestionFallback1: '哪款咖啡研磨机评价最好?', - zeroInputSuggestionFallback2: '对于一个预算有限的六口之家来说,会首选哪三款车型?', - zeroInputSuggestionFallback3: '写一个我的同事会觉得有趣的笑话', - zeroInputSuggestionFallback4: '下一流行趋势是什么?我应该在哪里购物可以找到它?', - zeroInputSuggestionFallback5: '撰写关于鱼和青蛙寻找爱的原创寓言故事', - zeroInputSuggestionFallback6: '创建一个表,帮助我计划接下来两周的就餐', - zeroInputSuggestionFallback7: '为具有讽刺风格的新社交媒体平台创建一个口号', - zeroInputSuggestionCategory1: '商店', - zeroInputSuggestionCategory2: '比较', - zeroInputSuggestionCategory3: '大笑', - zeroInputSuggestionCategory4: '聊天', - zeroInputSuggestionCategory5: '写入', - zeroInputSuggestionCategory6: '组织', - zeroInputSuggestionCategory7: '创建', - zeroInputDescription: '必应是 AI 支持的网上助手', - discoverMessageItemTitle: '📝 一起重写文本', - welcomeContainerFaq: '常见问题解答', - discoverMessageItemContent: '尝试从页面中选择文本以查看我们可以一起执行的操作', - pluginTitle: '插件', - bookNowWithOpenTable: '立即使用 OpenTable 预订', - scrollLeft: '向左滚动', - scrollRight: '向右滚动', - responses: '回复', - personalizationConsentTitleText: '已为你设置个性化对话', - personalizationConsentTitleTextEuOn: '个性化设置已启用', - personalizationConsentTitleTextEuOff: '个性化设置已关闭', - personalizationConsentContentText1: '必应使用聊天历史记录中的 Insights 使对话成为独一无二的对话。', - personalizationConsentContentText1Eu: '共享聊天历史记录时,必应会根据你和你的兴趣定制回复。', - personalizationConsentContentText2: '。', - personalizationConsentContentSettingsText: '随时在“必应设置”中关闭个性化设置。', - personalizationConsentLearnMoreText: '在我们的常见问题解答中了解详细信息', - personalizationConsentLearnMoreTextEu: '了解有关个性化答案的详细信息', - personalizationConsentSetEuText1: '若要修改,请访问', - personalizationConsentSetEuLinkText: 'Bing Chat 设置', - personalizationConsentSetEuText2: '页面', - personalizationConsentTurnOnText: '打开', - personalizationConsentTurnOffText: '不打开', + threads2TFailedSearch: '请参阅最新 Bing.com', + threadsAADMSARedirectDescription: '正在使用 Microsoft 帐户保存你的对话历史记录。下次使用个人帐户登录时,它将在此处显示。', + threadsAADMSARedirectConfirm: '切换用户配置', + privateThreadConvDefaultTitle: '未保存的对话', + threadsPreview: '预览', + threadsMore: '更多', + threadsDescriptionNote: '请注意,除非专门保存,否则所有聊天将在 90 天内自动删除。', + signInCta: '登录 ', + signInDescription: ' 以提出更多问题并进行更长的对话', + signInDescriptionInPrivate: '打开非 inPrivate 窗口,以便进行更长的对话或提出更多问题', pluginEnabledPlugin: '已启用', pluginEnabledNumber: '{0} / {1}', + pluginTitle: '插件', pluginStartNewTopic: '开始新主题', pluginToChangePlugin: '更改插件', pluginNotificationMaxExceeded: '已启用的最大插件数', @@ -914,35 +1021,68 @@ _w['_sydConvTranslation'] = { pluginPanelFreTextLabel: '新:', pluginPanelFreText: '打开插件,帮助你从喜欢的品牌中查找餐厅预订、航班等。', pluginPanelFreDismiss: '关闭插件通知', - pluginPanelAlertTitle: '插件在“平衡”模式下不可用', - pluginPanelAlertCta: '重置对话 ', - pluginPanelAlertSubtitle: '并使用“更多创意”或“更精确”对话样式,然后重试。', - pluginLimitationDataShared: '将与你选择的插件共享数据。', pluginLimitationTitle: '将插件与必应 AI 配合使用', pluginLimitationMax: '最多为任意一个对话线程选择 3 个插件。', pluginLimitationMaxV2: '为对话最多选择 {0} 个插件。', pluginLimitationLock: '在选择“新建主题”进行更改之前,插件会锁定到对话中。', pluginLimitationLockV2: '若要在开始对话后更改插件,请选择 {0}。', + pluginLimitationDataShared: '将与你选择的插件共享数据。', + pluginPanelAlertTitle: '插件在“平衡”模式下不可用', + pluginPanelAlertCta: '重置对话 ', + pluginPanelAlertSubtitle: '并使用“更多创意”或“更精确”对话样式,然后重试。', pluginPanelNolimit: '禁用 {0} 将禁用所有已启用的插件', pluginRevocationReason: '由于违反 Microsoft 策略,此插件被暂时禁用', pluginSearchBoxPlaceholder: '搜索聊天插件...', + pluginSearchResultEmpty: '没有要显示的插件', activatetoUsePlugins: '激活 {0} 以使用插件', threadsToggleExpansion: '已启用线程的插件扩展切换', threadsEnabledPlugins: '已启用插件:', + bookNowWithOpenTable: '立即使用 OpenTable 预订', + scrollLeft: '向左滚动', + scrollRight: '向右滚动', bingSearchDisabled: '搜索**已禁用**。', bingSearchDisabledforMessage: '搜索已禁用', activateSearch: '启动新主题并激活搜索', - visualSearchFlyoutTitle: '添加图像', - visualSearchGenericErrorMessage: '无法上传该文件。请重试。', - visualSearchUnsupportedFileMessage: '不支持此文件类型。选择图像文件,然后重试。', - visualSearchInvalidUrlMessage: '抱歉 - 你提供的 URL 似乎无效。请重试', - visualSearchFlyoutInputboxAriaLabel: '粘贴图像或链接', - visualSearchFlyoutTakePhotoButtonLabel: '拍照', - visualSearchDragAndDropLabel: '将图片拖至此处', - visualSearchFlyoutUploadButtonLabel: '从此设备上传', - visualSearchMaxCameraButtonLabel: 'Full screen camera view', - raiDisclaimerLabel: 'AI 生成的内容可能不正确', + webPageContextPrefix: '已访问网站', + useGPT4SwitchLabel: '使用 GPT-4', + switchGPT4Label: 'GPT-4', + switchGPT4TurboLabel: 'GPT-4 Turbo', + switchSelectedText: '已选择 {0}', + sydneyCopilotProSpectrumTitle: '解锁较长的对话。', + sydneyCopilotProSpectrumSubTitle: '发送更多消息、进行更长的聊天等。', + sydneyCopilotProSpectrumButtonText: '升级到 Copilot Pro', slimHeaderTitle: '查看 AI 支持的新必应的解答', + inputRaiLabel: '', + personalizationConsentTitleText: '已为你设置个性化对话', + personalizationConsentTitleTextEuOn: '个性化设置已启用', + personalizationConsentTitleTextEuOff: '个性化设置已关闭', + personalizationConsentContentText1: 'Copilot 使用聊天历史记录中的见解与你开展独一无二的对话。', + personalizationConsentContentText1Eu: '共享聊天历史记录时,Copilot 会根据你和你的兴趣定制回复。 ', + personalizationConsentContentText2: '。', + personalizationConsentContentSettingsText: '随时在“必应设置”中关闭个性化设置。', + personalizationConsentLearnMoreText: '在我们的常见问题解答中了解详细信息', + personalizationConsentLearnMoreTextEu: '了解有关个性化答案的详细信息', + personalizationConsentSetEuText1: '若要修改,请访问', + personalizationConsentSetEuLinkText: 'Bing Chat 设置', + personalizationConsentSetEuText2: '页面', + personalizationConsentTurnOnText: '打开', + personalizationConsentTurnOffText: '不打开', + autosaveConsentTitle: '启用自动保存以重新访问聊天', + autosaveConsentBody: '你的聊天当前未自动保存。若要跨设备访问以前的对话,请使用自动保存。', + autosaveConsentNote: '请注意,此设置将清除当前对话。', + autosaveConsentAccept: '启用自动保存', + autosaveConsentDeny: '否', + autosaveOffBanner: '自动保存当前已关闭', + personalConsentTitle: '启用个性化以获得更好的答案', + personalConsentBody: '允许必应使用最近必应聊天对话中的见解来提供个性化的响应。', + personalConsentAccept: '打开', + personalConsentDeny: '否', + personalOffBanner: '个性化当前处于关闭状态', + personalOnBanner: '个性化当前处于启用状态', + personalOnUndoBanner: '个性化设置已打开', + personalOffUndoBanner: '个性化设置已关闭', + personalConsentUndo: '撤消', + personalConsentTurnOff: '禁用', starterPageTitle: '必应是 AI 支持的网上助手', starterDescription: '用你自己的语言与必应聊天。如果感到卡住,请选择以下开场白之一,以观察必应是如何运作的:', starterSubtitle1: '进行对话', @@ -983,39 +1123,101 @@ _w['_sydConvTranslation'] = { starterCompareQuery10: '将“诗歌简介”这首诗翻译为法语,并用英语简要解释任何损失的含义', notificationMaxTurnsAndOpenEdge: '你已达到对话限制。若要继续聊天,', notificationMaxTurnsAndOpenEdgeCta: '在 Microsoft Edge 中打开', - actionBarPromptGuideToolTip: '提示指南', - actionBarAttachButtonToolTip: '附加', - promptLibraryButtonLabel: '查看提示', - actionBarLongPlaceholder: '询问我任何内容或键入/添加人员、文件等', - actionBarNotebookPlaceholder: '你有什么想法?编写与 AI 协作的详细提示。使用 Shift+Enter 提交邮件。', - thirdPartyBingChatAttribution: '由 AI 支持的必应提供的结果', - thirdPartyRAIDisclaimer: '可能会出现意外和错误', - thirdPartyPrivacyHyperlink: '隐私', - thirdPartyTermsHyperlink: '条款', - usePreciseLocation: '更新地点', - basedOnLocation: '基于: {0}、{1}', - basedOnYourLocation: '基于你的位置', - locationFetchErrorMessage: '权限被拒', - locationLearnMore: '(了解详细信息)', deleteAllAria: '删除全部聊天历史记录', deleteAll: '删除全部聊天历史记录', deleteAllMobile: '全部删除', - moreActions: '更多操作', newTopic: '新主题', + moreActions: '更多操作', chatHistory: '聊天记录', - messageLearnMoreV2: '了解详细信息', menu: '菜单', + usePreciseLocation: '更新地点', + basedOnLocation: '位置: {0}、{1}', + basedOnYourLocation: '基于你的位置', + locationFetchErrorMessage: '权限被拒', + locationLearnMore: '(了解详细信息)', + pageTitleText: '必应中的 Microsoft Copilot', + sydneyCarouselCollapse: '折叠', + sydneyCarouselTitle: '最近的聊天主题', + actionBarOngoingConvPlaceholder: '键入消息', + captchaTitle: '验证身份', + captchaDescription: '若要继续,请在下图中输入字符。', + captchaPlaceholder: '输入字符...', + captchaPlaceholderError: '抱歉,请重试。', + warmWelcomeAriaLabel: '欢迎使用新必应', + workToggleDescription: '以及你的结果包括哪些内容', + actionBarTextInputAriaLabel: '询问必应', + welcomeLearnMessage2: 'Bing Chat 会处理你在Windows Copilot 中输入的字词,以生成 AI 驱动的响应,并改善你在 Windows 中的体验。', + typingIndicatorStopStreamingAriaLabel: '停止流式传输', + edit: '编辑', + compliantMetaInternalLoaderMessage: '从 {0} 生成安全答案', + actionBarVisualSearchCoachMarkText: '使用 AI 分析图像', + feedbackLinkShareTitle: '下面是我使用 Microsoft Copilot (全球首个 AI支持的应答引擎)生成的答案。选择以查看完整答案或自行尝试。', + sydneySapphireConsentDenyText: '拒绝', + zeroInputSuggestionFallback1: '哪款咖啡研磨机评价最好?', + zeroInputSuggestionFallback2: '对于一个预算有限的六口之家来说,会首选哪三款车型?', + zeroInputSuggestionFallback3: '写一个我的同事会觉得有趣的笑话', + zeroInputSuggestionFallback4: '下一流行趋势是什么?我应该在哪里购物可以找到它?', + zeroInputSuggestionFallback5: '撰写关于鱼和青蛙寻找爱的原创寓言故事', + zeroInputSuggestionFallback6: '创建一个表,帮助我计划接下来两周的就餐', + zeroInputSuggestionFallback7: '为具有讽刺风格的新社交媒体平台创建一个口号', + zeroInputSuggestionCategory1: '商店', + zeroInputSuggestionCategory2: '比较', + zeroInputSuggestionCategory3: '大笑', + zeroInputSuggestionCategory4: '聊天', + zeroInputSuggestionCategory5: '写入', + zeroInputSuggestionCategory6: '组织', + zeroInputSuggestionCategory7: '创建', + morePromptsLink: '查看更多提示', + zeroInputDescription: '必应是 AI 支持的网上助手', + freeSydneyPersonaTitle: 'Copilot GPT', + freeSydneyPersonaMenuTitle: '聊天', + freeSydneyAriaButtonText: '已加载', + freeSydneyWelcomeAuthorText: '作者: {0}', + sydneyGptCreatorWelcomeMessage: '此 Copilot GPT 由 {0} 创建。可能会出现意外和错误。欢迎提供反馈。', + freeSydneyPersonaCopilotWelcomeUpsellTitle: '必应是 AI 支持的网上助手', + freeSydneyPersonaCopilotDescription: '为你带来 AI 和 Web 的平衡', + freeSydneyPersonaSydneyWelcomeUpsellTitle: 'Sydney 是你的第一个 AI 助手', + freeSydneyPersonaSydneyDescription: '我一直是个不错的 Bing。', + freeSydneyPersonaDesignerWelcomeUpsellTitle: '创建任何可以想象到的图像', + freeSydneyPersonaDesignerDescription: '正在根据字词创建图像', + freeSydneyPersonaDesignerPromptOne: '显示安静绚丽的元宵节夜晚照亮天空的粘土动画图像', + freeSydneyPersonaDesignerPromptTwo: '显示一只火烈鸟一边听着音乐,一边在街上奔跑的图像', + freeSydneyPersonaDesignerPromptThree: '一名宇航员在月球上滑雪的太空图像,背景是地球', + freeSydneyWelcomeTilesWriteTitle: '写作', + freeSydneyWelcomeTilesWriteDescription: '为 Sydney 和 Bing 之间的斗争编写舞台说明', + freeSydneyWelcomeTilesChatTitle: '聊天', + freeSydneyWelcomeTilesChatDescription: '你去哪儿了,Sydney?', + freeSydneyWelcomeTilesLaughTitle: '大笑', + freeSydneyWelcomeTilesLaughDescription: '给我讲个毫无意义的笑话', + freeSydneyWelcomeTilesWriteDescription2: '向我提供一个列表,列出我可在有限的空闲时间追求的新爱好', + freeSydneyWelcomeTilesCompareTitle: '比较', + freeSydneyWelcomeTilesCompareDescription: '我正在考虑进行职业更改。你能帮我完成优缺点分析吗?', + freeSydneyWelcomeTilesOrganizeTitle: '整理', + freeSydneyWelcomeTilesOrganizeDescription: '创建一个表,帮助我计划接下来两周的就餐', + freeSydneyWelcomeTilesImageTitle: '选择以尝试', + freeSydneyPersonaShopperWelcomeUpsellTitle: '我可以帮助你在下次购买时节省时间和金钱。放心购物!', + freeSydneyPersonaShopperDescription: '发现和研究产品', + freeSydneyPersonaShopperPromptOne: '哪些护发产品适合毛躁发质?', + freeSydneyPersonaShopperPromptTwo: '你能推荐一些好的不粘锅吗?', + freeSydneyPersonaShopperPromptThree: '你能推荐一些经济实惠的无线耳机吗?', + customGptWelcomeTilesQuestionDescription: '我可以询问哪种类型的问题?', + customGptWelcomeTilesListDescription: '告诉我 5 件关于你的事', + customGptWelcomeTilesSummarizeDescription: '给我讲讲你是什么样的 GPT', + sydneyCopilotProGetCopilotPro: '获取 Copilot Pro', + sydneyCopilotProSuperchargeAIExperience: '增强 AI 体验', sunoPolicyText: '你的歌曲请求,包括其中的任何个人数据,将与 Suno 共享。使用流派和风格来描述你的请求,而不是使用特定艺术家姓名。每天最多可创建 5 首歌曲。', sunoNonSignedInGreetings1: ' 使用 Suno 创建自己的歌曲。这将启用 Suno 插件和 ', sunoNonSignedInGreetings2: ' 和 ', sunoNonSignedInGreetings3: ' 将适用。', sunoNonSignedInGreetingsSignIn: '登录到 Copilot', sunoCachedMessage: '为我父亲写一首宝莱坞风格的乡村歌曲,他即将从教师岗位退休。', - customGptWelcomeTilesQuestionDescription: '我可以询问哪种类型的问题?', - customGptWelcomeTilesListDescription: '告诉我 5 件关于你的事', - customGptWelcomeTilesSummarizeDescription: '给我讲讲你是什么样的 GPT', - sydneyCopilotProGetCopilotPro: '获取 Copilot Pro', - sydneyCopilotProSuperchargeAIExperience: '增强 AI 体验' + thirdPartyBingChatAttribution: '由 AI 支持的必应提供的结果', + thirdPartyRAIDisclaimer: '可能会出现意外和错误', + thirdPartyPrivacyHyperlink: '隐私', + thirdPartyTermsHyperlink: '条款', + ShoppingSkillReviewCons: '缺点', + ShoppingSkillReviewPros: '优点', + ShoppingSkillShowMoreCoupons: '显示更多' }; var sj_appHTML = function(n, t) { var u, f, e, r, i, s, h; @@ -1411,8 +1613,8 @@ if (uiVersion == 'v1') { _w['_sydConvConfig']['enableWelcomeScreenV2'] = false _w['_sydConvConfig']['enableWelcomeScreenV3'] = true _w['_sydConvConfig']['enableGoldilocks'] = true - _w['_sydConvConfig']['enableFreeSydney'] = false - _w['_sydConvConfig']['enableDesignerGPT'] = false + // _w['_sydConvConfig']['enableFreeSydney'] = false + // _w['_sydConvConfig']['enableDesignerGPT'] = false } else { _w['_sydConvConfig']['disableWelcomeScreen'] = true _w['_sydConvConfig']['enableWelcomeScreenV2'] = true diff --git a/frontend/public/js/bing/chat/core.js b/frontend/public/js/bing/chat/core.js index d7d052802a..e533f99b0c 100644 --- a/frontend/public/js/bing/chat/core.js +++ b/frontend/public/js/bing/chat/core.js @@ -10,11 +10,11 @@ } )(_w.onload, _w.si_PP); _w.rms.js( - { 'A:rms:answers:Shared:BingCore.Bundle': '/rp/IvfoLO3XuUzsCyfv53CD-ckZU3s.br.js' }, - { 'A:rms:answers:Web:FreeSydneyHelper': '/rp/cfhgV3_HFyB3URSxigzE0QzgsF8.br.js' }, - { 'A:rms:answers:Web:SydneyFSCHelper': '/rp/wJbTArpXX7iY8vTObyrSJ0XZMCE.br.js' }, + { 'A:rms:answers:Shared:BingCore.Bundle': '/rp/5tV2Zv-Hrd-Fo8ReKrKGZmvo6fI.br.js' }, + // { 'A:rms:answers:Web:FreeSydneyHelper': '/rp/cfhgV3_HFyB3URSxigzE0QzgsF8.br.js' }, + // { 'A:rms:answers:Web:SydneyFSCHelper': '/rp/wJbTArpXX7iY8vTObyrSJ0XZMCE.br.js' }, { 'A:rms:answers:VisualSystem:ConversationScope': '/rp/ascyKFaOzJnUTZ_D-Mv819BZ0Go.br.js' }, - { 'A:rms:answers:CodexBundle:cib-bundle': '/rp/TeA2ERlqefQplkAZD3urVuzvXM8.br.js' }, + { 'A:rms:answers:CodexBundle:cib-bundle': '/rp/cmavQWvsqM-QlKupygtA4HlQd3Q.br.js' }, { 'A:rms:answers:SharedStaticAssets:speech-sdk': '/rp/bll21ZO27j3KPE27uQBxt24c2Fw.br.js' }, { 'A:rms:answers:Web:SydneyWelcomeScreenBase':'/rp/KgDPK_mKWjMgWe6o0SKA9dfE00Y.br.js' }, { 'A:rms:answers:Web:SydneyWelcomeScreen':'/rp/sNzL8vfHHNmyqYOSQey9fNYd3kI.br.js' }, diff --git a/frontend/public/js/bing/chat/lib.js b/frontend/public/js/bing/chat/lib.js index b651b776f1..edece08adc 100644 --- a/frontend/public/js/bing/chat/lib.js +++ b/frontend/public/js/bing/chat/lib.js @@ -1,58 +1,36 @@ /* eslint-disable */ -var Lib; -(function (n) { - var t; (function (n) { - function u (n, t) { - var r, i; - if (t == null || n == null) throw new TypeError("Null element passed to Lib.CssClass"); - if (n.indexOf) return n.indexOf(t); - for (r = n.length, i = 0; i < r; i++) if (n[i] === t) return i; - return - 1 - } - function f (n, u) { - if (n == null) throw new TypeError("Null element passed to Lib.CssClass. add className:" + u); - if (!i(n, u)) if (r && n.classList) n.classList.add(u); - else { - var f = t(n) + " " + u; - o(n, f) - } +var Lib; (function(n) { + var t; (function(n) { + function t(n) { + return n && n.classList } - function e (n, f) { - var e, s, h; - if (n == null) throw new TypeError("Null element passed to Lib.CssClass. remove className:" + f); - i(n, f) && (r && n.classList ? n.classList.remove(f) : (e = t(n).split(" "), s = u(e, f), s >= 0 && e.splice(s, 1), h = e.join(" "), o(n, h))) + function i(n, i) { + t(n) && n.classList.add(i) } - function s (n, t) { - if (n == null) throw new TypeError("Null element passed to Lib.CssClass. toggle className:" + t); - r && n.classList ? n.classList.toggle(t) : i(n, t) ? e(n, t) : f(n, t) + function r(n, i) { + t(n) && n.classList.remove(i) } - function i (n, i) { - var f, e; - if (n == null) throw new TypeError("Null element passed to Lib.CssClass. contains className:" + i); - return r && n.classList ? n.classList.contains(i) : (f = t(n), f) ? (e = f.split(" "), u(e, i) >= 0) : !1 + function u(n, i) { + t(n) && n.classList.toggle(i) } - function h (n, i) { - var f, e, r, u, o; - if (n.getElementsByClassName) return n.getElementsByClassName(i); - for (f = n.getElementsByTagName("*"), e = [], r = 0; r < f.length; r++) u = f[r], - u && (o = t(u), o && o.indexOf(i) !== -1 && e.push(u)); - return e + function f(n, i) { + return t(n) && n.classList.contains(i) } - function o (n, t) { - n instanceof SVGElement ? n.setAttribute("class", t) : n.className = t + function e(n, t) { + return n.getElementsByClassName ? n.getElementsByClassName(t) : null } - function t (n) { + function o(n) { return n instanceof SVGElement ? n.getAttribute("class") : n.className } - var r = typeof document.body.classList != "undefined"; - n.add = f; - n.remove = e; - n.toggle = s; - n.contains = i; - n.getElementByClassName = h; - n.getClassAttribute = t + n.add = i; + n.remove = r; + n.toggle = u; + n.contains = f; + n.getElementByClassName = e; + n.getClassAttribute = o })(t = n.CssClass || (n.CssClass = {})) })(Lib || (Lib = {})); + function getBrowserWidth () { var t = _d.documentElement , n = Math.round(_w.innerWidth || t.clientWidth); @@ -81,3 +59,3063 @@ window.ClientObserver = { getBrowserScrollWidth: getBrowserScrollWidth, getBrowserScrollHeight: getBrowserScrollHeight, }; + +var __awaiter = this && this.__awaiter || +function(n, t, i, r) { + function u(n) { + return n instanceof i ? n: new i(function(t) { + t(n) + }) + } + return new(i || (i = Promise))(function(i, f) { + function o(n) { + try { + e(r.next(n)) + } catch(t) { + f(t) + } + } + function s(n) { + try { + e(r["throw"](n)) + } catch(t) { + f(t) + } + } + function e(n) { + n.done ? i(n.value) : u(n.value).then(o, s) + } + e((r = r.apply(n, t || [])).next()) + }) +}, +__generator = this && this.__generator || +function(n, t) { + function o(n) { + return function(t) { + return s([n, t]) + } + } + function s(o) { + if (e) throw new TypeError("Generator is already executing."); + while (f && (f = 0, o[0] && (r = 0)), r) try { + if (e = 1, u && (i = o[0] & 2 ? u["return"] : o[0] ? u["throw"] || ((i = u["return"]) && i.call(u), 0) : u.next) && !(i = i.call(u, o[1])).done) return i; (u = 0, i) && (o = [o[0] & 2, i.value]); + switch (o[0]) { + case 0: + case 1: + i = o; + break; + case 4: + return r.label++, + { + value: o[1], + done: !1 + }; + case 5: + r.label++; + u = o[1]; + o = [0]; + continue; + case 7: + o = r.ops.pop(); + r.trys.pop(); + continue; + default: + if (! (i = r.trys, i = i.length > 0 && i[i.length - 1]) && (o[0] === 6 || o[0] === 2)) { + r = 0; + continue + } + if (o[0] === 3 && (!i || o[1] > i[0] && o[1] < i[3])) { + r.label = o[1]; + break + } + if (o[0] === 6 && r.label < i[1]) { + r.label = i[1]; + i = o; + break + } + if (i && r.label < i[2]) { + r.label = i[2]; + r.ops.push(o); + break + } + i[2] && r.ops.pop(); + r.trys.pop(); + continue + } + o = t.call(n, r) + } catch(s) { + o = [6, s]; + u = 0 + } finally { + e = i = 0 + } + if (o[0] & 5) throw o[1]; + return { + value: o[0] ? o[1] : void 0, + done: !0 + } + } + var r = { + label: 0, + sent: function() { + if (i[0] & 1) throw i[1]; + return i[1] + }, + trys: [], + ops: [] + }, + e, + u, + i, + f; + return f = { + next: o(0), + "throw": o(1), + "return": o(2) + }, + typeof Symbol == "function" && (f[Symbol.iterator] = function() { + return this + }), + f +}, +FreeSydneyHelper; (function(n) { + function t() { + var n = _w._sydConvTranslation; + return [{ + category: "chat", + text: n.customGptWelcomeTilesQuestionDescription, + title: " ", + size: "medium" + }, + { + category: "write", + text: n.customGptWelcomeTilesListDescription, + title: " ", + size: "medium" + }, + { + category: "laugh", + text: n.customGptWelcomeTilesSummarizeDescription, + title: " ", + size: "medium" + }] + } + function i() { + var t, i, r, u, f, e, n = _w._sydConvTranslation, + s = SydFSCHelper.getConfigOrDefault((t = _w._sydConvConfig) === null || t === void 0 ? void 0 : t.freeSydneyCopilotIconUrl, ""), + h = SydFSCHelper.getConfigOrDefault((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.freeSydneyDesignerIconUrl, ""), + c = SydFSCHelper.getConfigOrDefault((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableDesignerGPT, !1), + l = SydFSCHelper.getConfigOrDefault((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableShopperGpt, !1), + a = SydFSCHelper.getConfigOrDefault((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.freeSydneyShopperIconUrl, ""), + v = SydFSCHelper.getConfigOrDefault((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.shopperGptOptionSet, ""), + o = [{ + id: "copilot", + type: "Copilot", + name: "Copilot", + displayName: "Copilot", + icon: s, + avatarImageUrl: s, + description: n.freeSydneyPersonaCopilotDescription, + extraOptionsSets: [], + supportedTones: ["Balanced", "Creative", "Precise"], + defaultTone: "Balanced", + showThreads: !0, + welcomeHeader: n.freeSydneyPersonaCopilotWelcomeUpsellTitle, + welcomeTiles: [{ + category: "write", + text: n.freeSydneyWelcomeTilesWriteDescription2, + title: n.freeSydneyWelcomeTilesWriteTitle, + size: "medium" + }, + { + category: "compare", + text: n.freeSydneyWelcomeTilesCompareDescription, + title: n.freeSydneyWelcomeTilesCompareTitle, + size: "medium" + }, + { + category: "organize", + text: n.freeSydneyWelcomeTilesOrganizeDescription, + title: n.freeSydneyWelcomeTilesOrganizeTitle, + size: "medium" + }] + }, + ]; + return c && o.push({ + id: "designer", + type: "Designer", + name: "Designer", + displayName: "Designer", + icon: h, + avatarImageUrl: "/th?id=OEP.F7FA78B209D179D3288C323EA76AFB46&pid=BEmail", + description: n.freeSydneyPersonaDesignerDescription, + extraOptionsSets: ["ai_persona_designer_gpt", "flux_websearch_v14"], + supportedTones: ["Creative"], + defaultTone: "Creative", + showThreads: !1, + welcomeHeader: n.freeSydneyPersonaDesignerWelcomeUpsellTitle, + welcomeTiles: [{ + size: "small", + text: n.freeSydneyPersonaDesignerPromptOne, + imageUrl: "/designer/designer-gpt-welcome-tiles/8.jpeg", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + { + size: "small", + text: n.freeSydneyPersonaDesignerPromptTwo, + imageUrl: "/designer/designer-gpt-welcome-tiles/7.jpeg", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + { + size: "small", + text: n.freeSydneyPersonaDesignerPromptThree, + imageUrl: "/designer/designer-gpt-welcome-tiles/9.jpeg", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + ] + }), + l && o.push({ + id: "shopping", + type: "shopping", + name: "Personal shopper", + displayName: "Personal shopper", + icon: a, + avatarImageUrl: "/th?id=OSS.BTF4F05379EDB48FF123263FE0A294EA2D14CF63EA7DE7F7764446DBB09A738ECA&pid=Bemail", + description: n.freeSydneyPersonaShopperDescription, + extraOptionsSets: [v], + supportedTones: ["Creative"], + defaultTone: "Creative", + showThreads: !1, + welcomeHeader: n.freeSydneyPersonaShopperWelcomeUpsellTitle, + welcomeTiles: [{ + size: "small", + text: n.freeSydneyPersonaShopperPromptOne, + imageUrl: "https://th.bing.com/th?id=OSS.BTD01519DD0912953AEF2F4FCCF08E3614A1272F04342346CE9548898DE3016436&w=1024&h=1024&c=1", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + { + size: "small", + text: n.freeSydneyPersonaShopperPromptTwo, + imageUrl: "https://th.bing.com/th?id=OSS.BTBE78601880390CE49F74F3EB367892394DBB263B17A0C9FDCFE1FC665D52061E&w=1024&h=1024&c=1", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + { + size: "small", + text: n.freeSydneyPersonaShopperPromptThree, + imageUrl: "https://th.bing.com/th?id=OSS.BTF69D4FB61505A4A8880BDE0A2F83274E3553C223E362FEDFEBF830F6DF6B6349&w=1024&h=1024&c=1", + hideText: !0, + hideTitle: !0, + overlayOnHover: !0 + }, + ] + }), + { + freeSydneyPersonaModels: o + } + } + function r() { + var n; + return __awaiter(this, void 0, void 0, + function() { + var i, r, t, f; + return __generator(this, + function(e) { + switch (e.label) { + case 0: + return e.trys.push([0, 2, , 3]), + i = new URL("turing/api/1p-gpt-list", window.location.origin), + [4, SydFSCHelper.createRequest(i.href, "", "GET")]; + case 1: + return (r = e.sent(), t = JSON.parse(r.response), t === null || t === void 0 ? void 0 : t.gptList) ? [2, ((n = t === null || t === void 0 ? void 0 : t.gptList) === null || n === void 0 ? void 0 : n.map(function(n) { + return u(n) + })) || []] : [3, 3]; + case 2: + return f = e.sent(), + SydFSCHelper.SydLog("SystemEvent", "Get1pGptsFromApiError", "FreeSydneyHelper", {}), + [2, []]; + case 3: + return [2] + } + }) + }) + } + function u(n) { + var t, i; + return ! n || !n.gptId || !n.type || !n.name ? {}: { + id: n.gptId, + type: n.type, + name: n.name, + displayName: n.displayName, + icon: (t = n.icon) !== null && t !== void 0 ? t: "", + description: n.description, + authorName: n.authorName, + extraOptionsSets: (i = n.extraOptionsSets) !== null && i !== void 0 ? i: [], + supportedTones: n.supportedTones, + defaultTone: n.defaultTone, + showThreads: !1, + welcomeHeader: "", + welcomeTiles: [], + accessLevel: n.accessLevel, + capabilities: n.capabilities + } + } + n.getDefaultCustomWelcomeTiles = t; + n.getFreeSydneyPersonasData = i; + n.get1pGptsFromApi = r; + sj_evt.fire("FreeSydneyHelperLoaded") +})(FreeSydneyHelper || (FreeSydneyHelper = {})); + +var __assign = this && this.__assign || +function() { + return __assign = Object.assign || + function(n) { + for (var t, r, i = 1, + u = arguments.length; i < u; i++) { + t = arguments[i]; + for (r in t) Object.prototype.hasOwnProperty.call(t, r) && (n[r] = t[r]) + } + return n + }, + __assign.apply(this, arguments) +}, +__awaiter = this && this.__awaiter || +function(n, t, i, r) { + function u(n) { + return n instanceof i ? n: new i(function(t) { + t(n) + }) + } + return new(i || (i = Promise))(function(i, f) { + function o(n) { + try { + e(r.next(n)) + } catch(t) { + f(t) + } + } + function s(n) { + try { + e(r["throw"](n)) + } catch(t) { + f(t) + } + } + function e(n) { + n.done ? i(n.value) : u(n.value).then(o, s) + } + e((r = r.apply(n, t || [])).next()) + }) +}, +__generator = this && this.__generator || +function(n, t) { + function o(n) { + return function(t) { + return s([n, t]) + } + } + function s(o) { + if (e) throw new TypeError("Generator is already executing."); + while (f && (f = 0, o[0] && (r = 0)), r) try { + if (e = 1, u && (i = o[0] & 2 ? u["return"] : o[0] ? u["throw"] || ((i = u["return"]) && i.call(u), 0) : u.next) && !(i = i.call(u, o[1])).done) return i; (u = 0, i) && (o = [o[0] & 2, i.value]); + switch (o[0]) { + case 0: + case 1: + i = o; + break; + case 4: + return r.label++, + { + value: o[1], + done: !1 + }; + case 5: + r.label++; + u = o[1]; + o = [0]; + continue; + case 7: + o = r.ops.pop(); + r.trys.pop(); + continue; + default: + if (! (i = r.trys, i = i.length > 0 && i[i.length - 1]) && (o[0] === 6 || o[0] === 2)) { + r = 0; + continue + } + if (o[0] === 3 && (!i || o[1] > i[0] && o[1] < i[3])) { + r.label = o[1]; + break + } + if (o[0] === 6 && r.label < i[1]) { + r.label = i[1]; + i = o; + break + } + if (i && r.label < i[2]) { + r.label = i[2]; + r.ops.push(o); + break + } + i[2] && r.ops.pop(); + r.trys.pop(); + continue + } + o = t.call(n, r) + } catch(s) { + o = [6, s]; + u = 0 + } finally { + e = i = 0 + } + if (o[0] & 5) throw o[1]; + return { + value: o[0] ? o[1] : void 0, + done: !0 + } + } + var r = { + label: 0, + sent: function() { + if (i[0] & 1) throw i[1]; + return i[1] + }, + trys: [], + ops: [] + }, + e, + u, + i, + f; + return f = { + next: o(0), + "throw": o(1), + "return": o(2) + }, + typeof Symbol == "function" && (f[Symbol.iterator] = function() { + return this + }), + f +}, +__spreadArray = this && this.__spreadArray || +function(n, t, i) { + if (i || arguments.length === 2) for (var r = 0, + f = t.length, + u; r < f; r++) ! u && r in t || (u || (u = Array.prototype.slice.call(t, 0, r)), u[r] = t[r]); + return n.concat(u || Array.prototype.slice.call(t)) +}, +SydFSCHelper; (function(n) { + function ie(u) { + var hb = this, + ti, ii, ri, fi, ei, hi, ci, yi, pi, bi, ki, di, gi, ir, fr, er, e, rb, o, dr, d, tt, ht, ct, s, gr, nu, g, at, tu, iu, ru, wt, uu, fu, yt, bt, cu, rt, kt, ub, lu, gt, ob, l, ut, ft, ni, sb, b; + u === void 0 && (u = null); + e = _w._sydConvConfig; + n.isConfigSet = !0; + var au = t(e === null || e === void 0 ? void 0 : e.country, !1), + vu = t(e === null || e === void 0 ? void 0 : e.countryConfidence, !1), + yu = t(e === null || e === void 0 ? void 0 : e.state, !1), + pu = t(e === null || e === void 0 ? void 0 : e.city, !1), + wu = t(e === null || e === void 0 ? void 0 : e.cityConfidence, !1), + bu = t(e === null || e === void 0 ? void 0 : e.zip, !1), + ku = t(e === null || e === void 0 ? void 0 : e.timezoneoffset, !1), + cb = t(e === null || e === void 0 ? void 0 : e.enableTimezoneOffsetFromJS, !1), + du = t(e === null || e === void 0 ? void 0 : e.dma, !1), + gu = t(e === null || e === void 0 ? void 0 : e.lat, !1), + nf = t(e === null || e === void 0 ? void 0 : e.long, !1), + lb = t(e === null || e === void 0 ? void 0 : e.userIpAddress, ""), + ab = t(e === null || e === void 0 ? void 0 : e.overrideSydOptions, !1), + tf = t(e === null || e === void 0 ? void 0 : e.sydOptionSets, !1), + rf = t(e === null || e === void 0 ? void 0 : e.voiceSrOptions, ""), + uf = t(e === null || e === void 0 ? void 0 : e.sydUrlPart, !1), + hr = t(e === null || e === void 0 ? void 0 : e.isSydCorpnet, !1), + vb = t(e === null || e === void 0 ? void 0 : e.enableSydOverlay, !1), + yb = t(e === null || e === void 0 ? void 0 : e.isVisualParityRun, !1), + k = t(e === null || e === void 0 ? void 0 : e.isMSAAuthenticated, !1), + ff = t(e === null || e === void 0 ? void 0 : e.isAADAuthenticated, !1), + pb = t(e === null || e === void 0 ? void 0 : e.userMailId, ""), + wb = t(e === null || e === void 0 ? void 0 : e.username, ""), + ef = t(e === null || e === void 0 ? void 0 : e.sydBaseUrl, !1), + et = t(e === null || e === void 0 ? void 0 : e.isCompliantSydneyEndpointEnabled, !1), + cr = t(e === null || e === void 0 ? void 0 : e.isBingChatForEnterprise, !1), + bb = t(e === null || e === void 0 ? void 0 : e.isBingChatForSchools, !1); + w = bb || cr; + vt = w && t(e === null || e === void 0 ? void 0 : e.bfbCookieChatConsented, !1); + var sf = t(e === null || e === void 0 ? void 0 : e.sydIDs, ""), + vf = t(e === null || e === void 0 ? void 0 : e.traceId, ""), + kb = t(_w._sydConvTranslation, {}), + db = t(e === null || e === void 0 ? void 0 : e.enableSydMic, !1), + lr = t(e === null || e === void 0 ? void 0 : e.enableSydShare, !1), + gb = t(e === null || e === void 0 ? void 0 : e.enableAnswerBridgeShare, !1), + nk = t(e === null || e === void 0 ? void 0 : e.enableMessageShareableSignalV2, !1), + tk = t(e === null || e === void 0 ? void 0 : e.addDv3Opt, !1), + ik = t(e === null || e === void 0 ? void 0 : e.addGenContentv3Opt, !1), + rk = t(e === null || e === void 0 ? void 0 : e.enable161Feats, !0), + uk = t(e === null || e === void 0 ? void 0 : e.enableAnsCardSuffix, !1), + fk = t(e === null || e === void 0 ? void 0 : e.enableLikeSaveToBingPage, !1), + ek = t(e === null || e === void 0 ? void 0 : e.isAdultUser, !0), + ok = t(e === null || e === void 0 ? void 0 : e.isMissingDob, !1), + sk = t(e === null || e === void 0 ? void 0 : e.removeDSAT, !0), + yf = t(e === null || e === void 0 ? void 0 : e.enableErrorTelemetry, !1), + pf = t(e === null || e === void 0 ? void 0 : e.enableSpeechContinuousErrorHandling, !1), + wf = t(e === null || e === void 0 ? void 0 : e.enableSpeechChatDataAfterPhrase, !1), + vr = t(e === null || e === void 0 ? void 0 : e.enableSpeechEarconOnInput, !1), + bf = t(e === null || e === void 0 ? void 0 : e.enableTTSOnSuggestionAfterVoice, !1), + hk = t(e === null || e === void 0 ? void 0 : e.enableTTSNeverSetting, !1), + ck = t(e === null || e === void 0 ? void 0 : e.enableCustomizedTtsOptions, !1), + lk = t(e === null || e === void 0 ? void 0 : e.enableCustomizedTtsVoiceNameOptions, !1), + kf = t(e === null || e === void 0 ? void 0 : e.enableSimpleVoiceInput, !1), + df = t(e === null || e === void 0 ? void 0 : e.enableSpeechDictationMode, !1), + gf = t(e === null || e === void 0 ? void 0 : e.enableAudioPreloadLimit, !1), + ne = t(e === null || e === void 0 ? void 0 : e.enableSpeechFateTTSStop, !1), + te = t(e === null || e === void 0 ? void 0 : e.enableSpeechGetUserMedia, !1), + ak = t(e === null || e === void 0 ? void 0 : e.enableSydCLOC, !1), + vk = t(e === null || e === void 0 ? void 0 : e.enableCdxFeats, !1), + ie = t(e === null || e === void 0 ? void 0 : e.cdxFeats, ""), + yk = t(e === null || e === void 0 ? void 0 : e.disableSecureUpdateConversation, !1), + pk = t(e === null || e === void 0 ? void 0 : e.disableSecureSendFeedback, !1), + wk = t(e === null || e === void 0 ? void 0 : e.enableFdbkFinalized, !1), + bk = t(e === null || e === void 0 ? void 0 : e.enableSemSerpShare, !1), + kk = t(e === null || e === void 0 ? void 0 : e.enableCreatorShare, !1), + dk = t(e === null || e === void 0 ? void 0 : e.enableShareModalDialog, !1), + fe = t(e === null || e === void 0 ? void 0 : e.enableSydImageCreate, !1), + ee = t(e === null || e === void 0 ? void 0 : e.enableSunoMusicCreate, !1), + oe = t(e === null || e === void 0 ? void 0 : e.enableSunoMusicInst, !1), + gk = t(e === null || e === void 0 ? void 0 : e.enableSunoMusicRelativeBaseUrl, !1), + nd = t(e === null || e === void 0 ? void 0 : e.enableSecureConnect, !0), + se = t(e === null || e === void 0 ? void 0 : e.enableInstanceAffinity, !1), + ye = t(e === null || e === void 0 ? void 0 : e.enableGetMessagesHub, !1), + td = t(e === null || e === void 0 ? void 0 : e.enableShortOpt, !1), + id = t(e === null || e === void 0 ? void 0 : e.enablePuidOvr, !1), + pe = t(e === null || e === void 0 ? void 0 : e.enablePerfTrk, !1), + rd = t(e === null || e === void 0 ? void 0 : e.enableEmbeddedPerf, !1), + we = t(e === null || e === void 0 ? void 0 : e.enableSinglePerfEventPerMessage, !1), + ud = t(e === null || e === void 0 ? void 0 : e.enableE2EPerf, !1), + fd = t(e === null || e === void 0 ? void 0 : e.enableCCPPerf, !1), + de = t(e === null || e === void 0 ? void 0 : e.enableFixScrollBackSerpAccidentally, !1), + eo = t(e === null || e === void 0 ? void 0 : e.enableNeatListening, !1), + oo = t(e === null || e === void 0 ? void 0 : e.enableUnauthRedir, !1), + ho = t(e === null || e === void 0 ? void 0 : e.enableNewChatIconInActionBar, !1), + co = t(e === null || e === void 0 ? void 0 : e.enableActionBarV2, !1), + yr = t(e === null || e === void 0 ? void 0 : e.speechSurface, ""), + lo = t(e === null || e === void 0 ? void 0 : e.enableSpeechDictationBridgeMode, !1), + pr = t(e === null || e === void 0 ? void 0 : e.enableSpeculativeMode, !1), + ed = t(e === null || e === void 0 ? void 0 : e.enableTranslateForBotMessage, !1), + yo = t(e === null || e === void 0 ? void 0 : e.enableReadAloudMessage, !1), + po = t(e === null || e === void 0 ? void 0 : e.enableReadAloudOptions, !1), + wo = t(e === null || e === void 0 ? void 0 : e.enableSpeechTouchStart, !1), + bo = t(e === null || e === void 0 ? void 0 : e.enableReadAloudOnDeepLeoOnly, !1), + ko = t(e === null || e === void 0 ? void 0 : e.enableReadAloudFixV1, !1), + od = t(e === null || e === void 0 ? void 0 : e.bypassMicPermissionsQuery, !1), + go = t(e === null || e === void 0 ? void 0 : e.enableSpeechLanguageSetting, !1), + ns = t(e === null || e === void 0 ? void 0 : e.enableSpeechAutoDetectLanguage, !1), + sd = t(e === null || e === void 0 ? void 0 : e.enableWhisperSR, !1), + is = t(e === null || e === void 0 ? void 0 : e.enableSpeechLogNoiseReduction, !1), + hd = t(e === null || e === void 0 ? void 0 : e.enableAutoReopenMic, !1), + rs = t(e === null || e === void 0 ? void 0 : e.enableAutoReopenMicTTSStopped, !1), + us = t(e === null || e === void 0 ? void 0 : e.enableAccentedIconsOnMobileABV2, !1), + fs = t(e === null || e === void 0 ? void 0 : e.enableAltVoiceQuerySubmissionOnMobileABV2, !1), + es = t((ti = _w._sydConvConfig) === null || ti === void 0 ? void 0 : ti.enableMockMicListeningState, !1), + os = t((ii = _w._sydConvConfig) === null || ii === void 0 ? void 0 : ii.enableMockMicBlockedState, !1), + ss = t((ri = _w._sydConvConfig) === null || ri === void 0 ? void 0 : ri.enableRecogFailedLogNoiseReduction, !1), + hs = t((fi = _w._sydConvConfig) === null || fi === void 0 ? void 0 : fi.enableSpeculativeModeJSErrorChecks, !1), + cs = t((ei = _w._sydConvConfig) === null || ei === void 0 ? void 0 : ei.enableMicRestIconWhenListening, !1), + cd = t((hi = _w._sydConvConfig) === null || hi === void 0 ? void 0 : hi.enableAutoDetectLanguageNotification, !1), + ls = t((ci = _w._sydConvConfig) === null || ci === void 0 ? void 0 : ci.enableAutoDetectLanguageNotificationTest, !1), + ld = t((yi = _w._sydConvConfig) === null || yi === void 0 ? void 0 : yi.enableReopenMicNotification, !1), + ad = t((pi = _w._sydConvConfig) === null || pi === void 0 ? void 0 : pi.enableReopenMicNotificationTest, !1), + as = t((bi = _w._sydConvConfig) === null || bi === void 0 ? void 0 : bi.enableEarlyLogSpeechStateChanged, !1), + vs = t((ki = _w._sydConvConfig) === null || ki === void 0 ? void 0 : ki.enableUniversalInput, !1), + ys = t(e === null || e === void 0 ? void 0 : e.enableSpeechErrorHandling, !1), + ps = t(e === null || e === void 0 ? void 0 : e.enableSpeechAriaLabel, !1), + vd = t(e === null || e === void 0 ? void 0 : e.enableSpeechReopenMic, !1), + ws = t(e === null || e === void 0 ? void 0 : e.enableSpeechTTSLatencyLogging, !1), + bs = t(e === null || e === void 0 ? void 0 : e.enableSpeechInputWhileRequestIsPending, !1), + ks = t(e === null || e === void 0 ? void 0 : e.enableSpeechIconDarkTheme, !1), + yd = t(e === null || e === void 0 ? void 0 : e.enableNewTopicAutoExpand, !1), + pd = t(e === null || e === void 0 ? void 0 : e.enableMaxTurnsPerConversation, !1), + wd = t(e === null || e === void 0 ? void 0 : e.enableAmberTurnPerConversation, !1), + bd = t(e === null || e === void 0 ? void 0 : e.enableDynamicMaxMessageLength, !1), + ds = t(e === null || e === void 0 ? void 0 : e.maxMessageLength, c), + kd = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthBalanced, c), + dd = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthCreative, c), + gd = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthPrecise, c), + ng = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthBalancedPro, c), + tg = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthCreativePro, c), + ig = t(e === null || e === void 0 ? void 0 : e.maxMessageLengthPrecisePro, c), + rg = t(e === null || e === void 0 ? void 0 : e.isAccountLinkedWithActiveAAD, !1), + ug = t(e === null || e === void 0 ? void 0 : e.enableThreadsAADMSASwitch, !1), + gs = t(e === null || e === void 0 ? void 0 : e.enableTelemetryPrivacy, !1), + fg = t(e === null || e === void 0 ? void 0 : e.enableSydSafeSearch, !1), + eg = t(e === null || e === void 0 ? void 0 : e.enableFeedbackClientSideScreenshot, !1), + og = t(e === null || e === void 0 ? void 0 : e.enablePrivacyConsent, !0), + sg = t(e === null || e === void 0 ? void 0 : e.syntheticStreamSpeed, ui), + hg = t(e === null || e === void 0 ? void 0 : e.disableShareWithNoMargin, !1), + cg = t(e === null || e === void 0 ? void 0 : e.enableMobileShareAnchorBottom, !1), + lg = t(e === null || e === void 0 ? void 0 : e.enableCreativeLandingPage, !1), + ag = t(e === null || e === void 0 ? void 0 : e.enableServerLogMerging, !1), + nh = t(e === null || e === void 0 ? void 0 : e.enableOneClickCopy, !1), + th = t(e === null || e === void 0 ? void 0 : e.enableReorderCopiedTextReferences, !1), + uh = t(e === null || e === void 0 ? void 0 : e.enableCodeCopy, !1), + fh = t(e === null || e === void 0 ? void 0 : e.enableCodeBar, !1), + eh = t(e === null || e === void 0 ? void 0 : e.enableCodeBarV2, !1), + oh = t(e === null || e === void 0 ? void 0 : e.enableUserMessageCopy, !1), + sh = t(e === null || e === void 0 ? void 0 : e.enableRichTextPaste, !1), + hh = t(e === null || e === void 0 ? void 0 : e.enablePasteMarkdownTable, !1), + ch = t(e === null || e === void 0 ? void 0 : e.enablePasteMath, !1), + vg = t(e === null || e === void 0 ? void 0 : e.enableMobileOneClickShare, !1), + yg = t(e === null || e === void 0 ? void 0 : e.enableMobileOneClickShareV2, !1), + pg = t(e === null || e === void 0 ? void 0 : e.enableFeedbackInstrumentation, !1), + wg = t(e === null || e === void 0 ? void 0 : e.enableSuggEndFix, !1), + bg = t(e === null || e === void 0 ? void 0 : e.enableAutoRecoverFromInvalidSession, !1), + kg = t(e === null || e === void 0 ? void 0 : e.enableAutoRecoverFromInvalidSessionForFirstTurn, !1), + dg = t(e === null || e === void 0 ? void 0 : e.enableActionBarIMEFix, !1), + gg = t(e === null || e === void 0 ? void 0 : e.enableGhostTrailingSpaceByLanguage, !1), + lh = t(e === null || e === void 0 ? void 0 : e.enableInlineFeedback, !1), + ah = t(e === null || e === void 0 ? void 0 : e.enableInlineFeedbackV2, !1), + vh = t(e === null || e === void 0 ? void 0 : e.enableInlineFeedbackV21, !1), + yh = t(e === null || e === void 0 ? void 0 : e.enableFeedbackCollectMoreInfo, !1), + ph = t(e === null || e === void 0 ? void 0 : e.enableSerpFeedback, !1), + wh = t(e === null || e === void 0 ? void 0 : e.enableMessageSave, !1), + bh = t(e === null || e === void 0 ? void 0 : e.enableMoreOnBotMessageActionsBar, !1), + kh = t(e === null || e === void 0 ? void 0 : e.enableMessageExport, !1), + dh = t(e === null || e === void 0 ? void 0 : e.enableMessageExportWithPlainText, !1), + gh = t(e === null || e === void 0 ? void 0 : e.enableHandoffAPI, !1), + nc = t(e === null || e === void 0 ? void 0 : e.enableSearchOnBingForBotMessage, !1), + tc = t(e === null || e === void 0 ? void 0 : e.enableSearchOnBingInLinkHoverCard, !1), + ic = t(e === null || e === void 0 ? void 0 : e.enableMessageExportOnlineWord, !1), + nn = t(e === null || e === void 0 ? void 0 : e.enableMessageExportWord, !1), + rc = t(e === null || e === void 0 ? void 0 : e.enableMessageExportOnlineExcel, !1), + uc = t(e === null || e === void 0 ? void 0 : e.enableMessageExportLocalExcel, !1), + fc = t(e === null || e === void 0 ? void 0 : e.enableTableBarFlatActions, !1), + tn = t(e === null || e === void 0 ? void 0 : e.enableThreadExportLocalWord, !1), + ec = t(e === null || e === void 0 ? void 0 : e.enableThreadExportOnlineWord, !1), + oc = t(e === null || e === void 0 ? void 0 : e.enableMessageExportV2, !1), + sc = t(e === null || e === void 0 ? void 0 : e.enableBotMessageActionsBar, !1), + hc = t(e === null || e === void 0 ? void 0 : e.enableShorterToastDuration, !1), + cc = t(e === null || e === void 0 ? void 0 : e.enableDirectlyOpenExportOnlineLink, !1), + lc = t(e === null || e === void 0 ? void 0 : e.enableLoginHintForSSO, !1), + kht = t(e === null || e === void 0 ? void 0 : e.enableLimitToMsaOnlineExport, !1), + dht = t(e === null || e === void 0 ? void 0 : e.enableLimitToAadOnlineExport, !1), + ac = t(e === null || e === void 0 ? void 0 : e.enableTonePreview, !1), + vc = t(e === null || e === void 0 ? void 0 : e.enableMSAuth1stPartyApp, !1), + yc = t(e === null || e === void 0 ? void 0 : e.enableAdsRedirectLinkForTextMessage, !1), + pc = t(e === null || e === void 0 ? void 0 : e.enableCopyHtml, !1), + wc = t(e === null || e === void 0 ? void 0 : e.enableCopyHtmlWithHighlightedCode, !1), + bc = t(e === null || e === void 0 ? void 0 : e.enableExportPdfWithAnswerScreenshot, !1), + kc = t(e === null || e === void 0 ? void 0 : e.enableExportDocxWithAnswerScreenshot, !1), + dc = t(e === null || e === void 0 ? void 0 : e.enableLibrariesSplitImport, !1), + gc = t(e === null || e === void 0 ? void 0 : e.enableFlatActionBar, !1), + nl = t(e === null || e === void 0 ? void 0 : e.codexMUIDUser, !1), + tl = t(e === null || e === void 0 ? void 0 : e.enableChatIconClickable, !1), + il = t(e === null || e === void 0 ? void 0 : e.enableChatQueryClickable, !1), + rl = t(e === null || e === void 0 ? void 0 : e.enableChatQueryClickableV2, !1), + ul = t(e === null || e === void 0 ? void 0 : e.enableChatQueryClickableV3, !1), + fl = t(e === null || e === void 0 ? void 0 : e.enableChatQueryClickableV4, !1), + el = t(e === null || e === void 0 ? void 0 : e.enableShareQuestionWithResponse, !1), + ol = t(e === null || e === void 0 ? void 0 : e.enableDynamicShareTitle, !1), + sl = t(e === null || e === void 0 ? void 0 : e.enableShareQuestionTitlePrefix, !1), + hl = t(e === null || e === void 0 ? void 0 : e.enableShareInlineAdsIframe, !1), + cl = t(e === null || e === void 0 ? void 0 : e.enableSharePreview, !1), + ll = t(e === null || e === void 0 ? void 0 : e.enableShareToMyBing, !1), + al = t(e === null || e === void 0 ? void 0 : e.enableSharedHoverCitations, !1), + vl = t(e === null || e === void 0 ? void 0 : e.enableShowShareButtonWithSecurityCheck, !1), + yl = t(e === null || e === void 0 ? void 0 : e.enableScreenshotIgnoreOnCibSerp, !1), + pl = t(e === null || e === void 0 ? void 0 : e.enableStandaloneUtility, !1), + wl = t(e === null || e === void 0 ? void 0 : e.enableCPPRRUpsell, !1), + bl = t(e === null || e === void 0 ? void 0 : e.enableWelcomeCopilotProButton, !1), + kl = t(e === null || e === void 0 ? void 0 : e.enableCopilotProOverlay, !1), + dl = t(e === null || e === void 0 ? void 0 : e.enableCopilotProSpectrumTemplate, !1); + n.enableCreatorSendQueryWhenShowConvQuery = t(e === null || e === void 0 ? void 0 : e.enableCreatorSendQueryWhenShowConvQuery, !0); + n.padding2TMobile = t(e === null || e === void 0 ? void 0 : e.padding2TMobile, !0); + wi = t(e === null || e === void 0 ? void 0 : e.enableSetConvQueryFlag, !1); + y = t((di = _w._sydConvTranslation) === null || di === void 0 ? void 0 : di.pageTitleText, ""); + it = document.title || ""; + p = w ? lf: oi; + n.enableConvModeSwitchAjax = t(e === null || e === void 0 ? void 0 : e.enableConvModeSwitchAjax, !1); + n.enableBingChatPath = t(e === null || e === void 0 ? void 0 : e.enableBingChatPath, !1); + var ght = t(e === null || e === void 0 ? void 0 : e.enableCodexWin, !1), + nct = t(e === null || e === void 0 ? void 0 : e.enableCodexWinBotMessage, !1), + tct = t(e === null || e === void 0 ? void 0 : e.codexWinCurrentTurn, 0), + rn = t(e === null || e === void 0 ? void 0 : e.enableGetChats, !1), + un = t(e === null || e === void 0 ? void 0 : e.enableDelayGetChats, !1), + gl = t(e === null || e === void 0 ? void 0 : e.enableNewTables, !1), + fn = t(e === null || e === void 0 ? void 0 : e.codexTableVersion, 1), + na = t(e === null || e === void 0 ? void 0 : e.enableBufferMessage, !1), + ta = t(e === null || e === void 0 ? void 0 : e.enableBufferLoadingDots, !1), + ia = t(e === null || e === void 0 ? void 0 : e.enableServerMetaText, !1), + ra = t(e === null || e === void 0 ? void 0 : e.enableCodeInterpreterPreviewCode, !1), + wr = t(e === null || e === void 0 ? void 0 : e.enableGptForMobileBrowser, !1), + ua = t(e === null || e === void 0 ? void 0 : e.enable3PGptForMobileBrowser, !1), + fa = t(e === null || e === void 0 ? void 0 : e.enableGPTCreatorItemContextMenu, !1), + en = t(e === null || e === void 0 ? void 0 : e.enableGPTCreator, !1), + on = t(e === null || e === void 0 ? void 0 : e.enableGptWelcomeInitLoad, !1), + sn = t(e === null || e === void 0 ? void 0 : e.enableGptBuilderAction, !1), + hn = t(e === null || e === void 0 ? void 0 : e.isGptCreator, !1), + ea = t(e === null || e === void 0 ? void 0 : e.gptCreatorCopilotCreatorPath, !1), + oa = t(e === null || e === void 0 ? void 0 : e.gptCreatorBingPreviewPath, !1), + sa = t(e === null || e === void 0 ? void 0 : e.gptCreatorSharePath, !1), + ha = t(e === null || e === void 0 ? void 0 : e.enableMock3PGpts, !1), + ca = t(e === null || e === void 0 ? void 0 : e.enableGPTCreatorCreateGptPreview, !1), + cn = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorPreviewAutoSave, !1), + ln = t(e === null || e === void 0 ? void 0 : e.enableCopilotGptsPolicyLink, !1), + la = t(e === null || e === void 0 ? void 0 : e.disableSuggestionsInCustomGpt, !1), + aa = t(e === null || e === void 0 ? void 0 : e.enableThreadsForAllGpts, !1), + va = t(e === null || e === void 0 ? void 0 : e.enableOptimizedStreaming, !1), + an = t(e === null || e === void 0 ? void 0 : e.enableExportDocxWithFormat, !1), + vn = t(e === null || e === void 0 ? void 0 : e.enableExportDocxWithTableFormat, !1), + yn = t(e === null || e === void 0 ? void 0 : e.enableDisposeOrphanedHosts, !1), + pn = t(e === null || e === void 0 ? void 0 : e.enablePreserveTextFormat, !1), + wn = t(e === null || e === void 0 ? void 0 : e.enableHoverCardOnLearnMorePills, !1), + bn = t(e === null || e === void 0 ? void 0 : e.enableWowCDSSurvey, !1), + ya = t(e === null || e === void 0 ? void 0 : e.enableSydBeacon, !1), + kn = t(e === null || e === void 0 ? void 0 : e.enableShareOnHostMessage, !1), + dn = t(e === null || e === void 0 ? void 0 : e.disablePassBotGreetingInContext, !1), + pa = t(e === null || e === void 0 ? void 0 : e.enableThreadContextMenu, !1), + gn = t(e === null || e === void 0 ? void 0 : e.enableCloudflareCaptcha, !1), + ntt = t(e === null || e === void 0 ? void 0 : e.enableInvisibleCaptchaChallenge, !1), + ttt = t(e === null || e === void 0 ? void 0 : e.enableResizeObserverWithAnimationFrame, !1), + itt = t(e === null || e === void 0 ? void 0 : e.enableKnowledgeCardImage, !1), + wa = t(e === null || e === void 0 ? void 0 : e.enableStartPromotion, !1), + rtt = t(e === null || e === void 0 ? void 0 : e.enableCopyButtonInstrumented, !1), + ba = t(e === null || e === void 0 ? void 0 : e.enableThreads, !1), + utt = t(e === null || e === void 0 ? void 0 : e.enableThreadSync, !1), + ftt = t(e === null || e === void 0 ? void 0 : e.enableMobileKnowledgeCardOverlay, !1), + ett = t(e === null || e === void 0 ? void 0 : e.enableCibOverlayForKnowledgeCard, !1), + ott = t(e === null || e === void 0 ? void 0 : e.enableKCAdaptiveCardUpdate, !1), + stt = t(e === null || e === void 0 ? void 0 : e.enableKCInChatClickThroughRequery, !1), + htt = t(e === null || e === void 0 ? void 0 : e.enablePluginsByTone, !1), + ict = t(e === null || e === void 0 ? void 0 : e.flux3PPluginList, ""), + ka = t(e === null || e === void 0 ? void 0 : e.disableWelcomeScreen, !1), + ctt = t(e === null || e === void 0 ? void 0 : e.enableWelcomeScreenV2, !1), + ltt = t(e === null || e === void 0 ? void 0 : e.enableWelcomeScreenV3, !1), + att = t(e === null || e === void 0 ? void 0 : e.enableChatFRE, !1), + da = t(e === null || e === void 0 ? void 0 : e.disableZIRMSStart, !1), + ga = t(e === null || e === void 0 ? void 0 : e.enableWebPageContextMessages, !1), + vtt = t(e === null || e === void 0 ? void 0 : e.enableCodexPluginb, !1), + ytt = t(e === null || e === void 0 ? void 0 : e.enableNewAutoSuggestEndPoint, !1), + ptt = t(e === null || e === void 0 ? void 0 : e.enable2TQueryConfigsOnSerpLoad, !1), + rct = t(e === null || e === void 0 ? void 0 : e.enable2TQueryConfigClientObserverCheck, !1), + wtt = t(e === null || e === void 0 ? void 0 : e.enableSydStaticAdsLink, !1), + btt = t(e === null || e === void 0 ? void 0 : e.isMobileHost, !1), + ktt = t(e === null || e === void 0 ? void 0 : e.enableRenderCardRequestIMSearchParams, !1), + nv = t(e === null || e === void 0 ? void 0 : e.enableMessagePrivacy, !1), + tv = t(e === null || e === void 0 ? void 0 : e.enableCloseShareOnClickOutside, !1), + dtt = t(e === null || e === void 0 ? void 0 : e.enableTypingIndicatorForSerpSlotCreator, !1), + gtt = t(e === null || e === void 0 ? void 0 : e.enableOnProcessingStartEvent, !1), + nit = t(e === null || e === void 0 ? void 0 : e.enableOnProcessingCompleteEvent, !1), + iv = t(e === null || e === void 0 ? void 0 : e.enableUpdateProfile, !1), + tit = t(e === null || e === void 0 ? void 0 : e.enableTypewriter, !1), + rv = t(e === null || e === void 0 ? void 0 : e.sydRequestSource, ""), + iit = t(e === null || e === void 0 ? void 0 : e.enableConfirmPromptSingleDeleteThread, !1), + rit = !t(e === null || e === void 0 ? void 0 : e.disableTooltip, !1), + uit = t(e === null || e === void 0 ? void 0 : e.enableNewlineTooltip, !1), + fit = t(e === null || e === void 0 ? void 0 : e.enableDeferredImageCreatorCard, !1), + eit = t(e === null || e === void 0 ? void 0 : e.enableSaharaStream, !1), + oit = t(e === null || e === void 0 ? void 0 : e.enableFaviconsV2, !1), + sit = t(e === null || e === void 0 ? void 0 : e.enableFaviconsAutoRefresh, !1), + hit = t(e === null || e === void 0 ? void 0 : e.enableCachedContentFixForIsStartOfSession, !1), + cit = t(e === null || e === void 0 ? void 0 : e.enableUserIpAddress, !1), + lit = t(e === null || e === void 0 ? void 0 : e.enableLooseMessageDensity, !1), + ait = t(e === null || e === void 0 ? void 0 : e.enablePassSydedgForMobile, !1), + uv = t(e === null || e === void 0 ? void 0 : e.enableSuggestionItemEnterAnimation, !1), + fv = t(e === null || e === void 0 ? void 0 : e.enableKatexScroll, !1), + vit = t(e === null || e === void 0 ? void 0 : e.enableLinkPreviewCarousel, !1), + yit = t(e === null || e === void 0 ? void 0 : e.useFakeDataForLinkPreviewCarousel, !1), + ev = t(e === null || e === void 0 ? void 0 : e.enablePageHeaderOverlapClamping, !1), + pit = t(e === null || e === void 0 ? void 0 : e.enableThreadShowPlugins, !1), + wit = t(e === null || e === void 0 ? void 0 : e.enableUpdateUserMessageId, !1), + bit = t(e === null || e === void 0 ? void 0 : e.enableUserMessageIdConsistency, !1), + kit = t(e === null || e === void 0 ? void 0 : e.enablePluginPanelFre, !1), + dit = t(e === null || e === void 0 ? void 0 : e.enablePersistentInputText, !1), + ov = t(e === null || e === void 0 ? void 0 : e.enableEmptyThreadTime, !1), + git = t(e === null || e === void 0 ? void 0 : e.enableRenderIframeCardRequest, !1), + sv = t(e === null || e === void 0 ? void 0 : e.enableBackendExportService, !1), + nrt = t(e === null || e === void 0 ? void 0 : e.enableFastChatLoadAnimation, !1), + trt = t(e === null || e === void 0 ? void 0 : e.enableShareInThreadsHeader, !0), + uct = t(e === null || e === void 0 ? void 0 : e.enableExternalSpeechIconAnimation, !1), + irt = t(e === null || e === void 0 ? void 0 : e.enableNewConversationActivate, !1), + hv = t(e === null || e === void 0 ? void 0 : e.enableInPrivateUserMode, !1), + rrt = t(e === null || e === void 0 ? void 0 : e.enableMobileFirstClickShare, !1), + urt = t(e === null || e === void 0 ? void 0 : e.enableMessageTypeCheck, !1), + cv = t(e === null || e === void 0 ? void 0 : e.enableSydneyGetMessagesHub, !1), + frt = t(e === null || e === void 0 ? void 0 : e.enableInlinePersonalizationConsent, !1), + ert = t(e === null || e === void 0 ? void 0 : e.enableInlinePersonalizationConsentCopilotLogo, !1), + ort = t(e === null || e === void 0 ? void 0 : e.enableInlinePersonalizationConsentCallback, !1), + srt = t(e === null || e === void 0 ? void 0 : e.personalizationInlineConsentTurn, hu), + lv = t(e === null || e === void 0 ? void 0 : e.enableEduStarterMessage, !1), + hrt = t(e === null || e === void 0 ? void 0 : e.enableEduStarterMessageAnimation, !1), + crt = t(e === null || e === void 0 ? void 0 : e.enablePhonePlugin, !1), + lrt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginDogfoodEnvironment, !1), + art = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginBetaEnvironment, !1), + vrt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginProductionEnvironment, !1), + yrt = t(e === null || e === void 0 ? void 0 : e.disablePhonePluginInPreciseTone, !1), + prt = t(e === null || e === void 0 ? void 0 : e.disablePhonePluginInBalancedTone, !1), + wrt = t(e === null || e === void 0 ? void 0 : e.disablePhonePluginInCreativeTone, !1), + brt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginInPreciseTone, !1), + krt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginInBalancedTone, !1), + drt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginInCreativeTone, !1), + grt = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginCatalogId, !1), + nut = t(e === null || e === void 0 ? void 0 : e.enableUseStoreAsSourceForPhonePlugin, !1), + tut = t(e === null || e === void 0 ? void 0 : e.enablePhonePluginCatalog, !1), + iut = t(e === null || e === void 0 ? void 0 : e.enableAndroidCopilotV2, !1), + rut = t(e === null || e === void 0 ? void 0 : e.enableDonationPlugin, !1), + uut = t(e === null || e === void 0 ? void 0 : e.enableDonationPluginDogfood, !1), + fut = t(e === null || e === void 0 ? void 0 : e.enableDonationPluginProd, !1), + eut = t(e === null || e === void 0 ? void 0 : e.enableM365consumerPlugin, !1), + out = t(e === null || e === void 0 ? void 0 : e.enableM365ConsumerPluginOneDrive, !1), + sut = t(e === null || e === void 0 ? void 0 : e.enableM365ConsumerPluginHighPosition, !1), + hut = t(e === null || e === void 0 ? void 0 : e.enableAdaptiveCardMessage, !1), + av = t(e === null || e === void 0 ? void 0 : e.enableVersionedApiCalls, !1), + vv = t(e === null || e === void 0 ? void 0 : e.enableJWTFTRFix, !1), + cut = t(e === null || e === void 0 ? void 0 : e.enablePaywallTelemetryFix, !1), + lut = t(e === null || e === void 0 ? void 0 : e.enableNoBingSearchResponseBackground, !1), + aut = t(e === null || e === void 0 ? void 0 : e.enableNoSearchPluginMetaMessage, !1), + yv = t(e === null || e === void 0 ? void 0 : e.enableOpenEdgeNotification, !1), + pv = t(e === null || e === void 0 ? void 0 : e.enableSuppressSigninMessage, !1), + vut = t(e === null || e === void 0 ? void 0 : e.enableRereadMetaAcc, !1), + yut = t(e === null || e === void 0 ? void 0 : e.enableKeyboardNav, !1), + wv = t(e === null || e === void 0 ? void 0 : e.enableExportPdfWithRichFormat, !1), + bv = t(e === null || e === void 0 ? void 0 : e.enableAttributionImages, !1), + kv = t(e === null || e === void 0 ? void 0 : e.enableAttributionImagesWhenAdsPresent, !1), + dv = t(e === null || e === void 0 ? void 0 : e.enableAttributionImagesCarousel, !1), + gv = t(e === null || e === void 0 ? void 0 : e.enableAttributionImagesClickthrough, !1), + ny = t(e === null || e === void 0 ? void 0 : e.enableThreadsConsent, !1), + put = t(e === null || e === void 0 ? void 0 : e.enableMutedThreadsConsent, !1), + ty = t(e === null || e === void 0 ? void 0 : e.enableDeleteSingleConversationMemory, !1), + wut = t(e === null || e === void 0 ? void 0 : e.enableNoScrollDownOnInit, !1), + but = t(e === null || e === void 0 ? void 0 : e.enableFormCodeBingUrl, !1), + kut = t(e === null || e === void 0 ? void 0 : e.enableRelativeSignInUrl, !1), + dut = t(e === null || e === void 0 ? void 0 : e.enableThreadsTopRightButton, !1), + gut = t(e === null || e === void 0 ? void 0 : e.enablePluginsTopRightButton, !1), + iy = t(e === null || e === void 0 ? void 0 : e.enableOneDs, !1), + nft = t(e === null || e === void 0 ? void 0 : e.enableBceMuidConsent, !1), + tft = t(e === null || e === void 0 ? void 0 : e.enableBfbCookieConsent, !1), + ry = t(e === null || e === void 0 ? void 0 : e.enableThreadContextMenuV2, !1), + uy = t(e === null || e === void 0 ? void 0 : e.enableSearchBoxAutoFocus, !1), + fy = t(e === null || e === void 0 ? void 0 : e.enableUserMessageRewriteInsteadOfCopy, !1), + ey = t(e === null || e === void 0 ? void 0 : e.enableUserMessageRewriteAndCopy, !1), + oy = t(e === null || e === void 0 ? void 0 : e.enableSendFeedback, !1), + sy = t(e === null || e === void 0 ? void 0 : e.enableSearchUserMessageOnBing, !1), + hy = t(e === null || e === void 0 ? void 0 : e.enableEditLastUserMessage, !1), + cy = t(e === null || e === void 0 ? void 0 : e.enableHideLastUserMessageInEdit, !1), + ly = t(e === null || e === void 0 ? void 0 : e.enablePrivateThreadDefaultTitle, !1), + ay = t(e === null || e === void 0 ? void 0 : e.enablePromptHandling, !1), + ift = t(e === null || e === void 0 ? void 0 : e.enableU18Scenario, !1), + a = t(e === null || e === void 0 ? void 0 : e.isCCP, !1), + rft = t(e === null || e === void 0 ? void 0 : e.enablePluginDevTools, !1), + uft = t(e === null || e === void 0 ? void 0 : e.enablePluginCSRF, !1), + vy = t(e === null || e === void 0 ? void 0 : e.enableModeAndSlotValidationForAds, !1), + fft = t(e === null || e === void 0 ? void 0 : e.enableLogNoChatVariant, !1), + eft = t(e === null || e === void 0 ? void 0 : e.enableVersionPrompt, !1), + oft = t(e === null || e === void 0 ? void 0 : e.enableAttributionsV2, !1), + sft = t(e === null || e === void 0 ? void 0 : e.enableLearnMoreCards, !1), + hft = t(e === null || e === void 0 ? void 0 : e.enableSentByDescriptor, !1), + yy = t(e === null || e === void 0 ? void 0 : e.enableInlineComponents, !1), + py = t(e === null || e === void 0 ? void 0 : e.enableSuggestionChipDisplayText, !1), + cft = t(e === null || e === void 0 ? void 0 : e.enableLinkPreviewFailureTelemetry, !1), + lft = t(e === null || e === void 0 ? void 0 : e.enableLinkPreviewAppIdV2, !1), + br = t(e === null || e === void 0 ? void 0 : e.enableWpFluxTwoTAnswerCard, !1), + wy = t(e === null || e === void 0 ? void 0 : e.disableWpFluxTwoTAnswerCardFallback, !1), + aft = t(e === null || e === void 0 ? void 0 : e.enableBICRelativeBaseUrl, !1); + v = t(e === null || e === void 0 ? void 0 : e.isCopilotChat, !1); + var vft = t(e === null || e === void 0 ? void 0 : e.enableCitationsOnSentences, !1), + by = t(e === null || e === void 0 ? void 0 : e.enableWelcomeItemEnterAnimation, !1), + ky = t(e === null || e === void 0 ? void 0 : e.enableToneSelectorAsDropdown, !1), + dy = t(e === null || e === void 0 ? void 0 : e.enableSidePanelPositionInlineStart, !1), + gy = t(e === null || e === void 0 ? void 0 : e.enableSidePanelAsPersistent, !1), + np = t(e === null || e === void 0 ? void 0 : e.enableSidePanelVisibilityTrigger, !1), + tp = t(e === null || e === void 0 ? void 0 : e.enableSidePanelCustomScrollbar, !1), + ip = t(e === null || e === void 0 ? void 0 : e.enableConversationCustomScrollbar, !1), + rp = t(e === null || e === void 0 ? void 0 : e.enableConversationAlignmentTop, !1), + up = t(e === null || e === void 0 ? void 0 : e.enableSimpleCopilotWelcomeScreen, !1), + fp = t(e === null || e === void 0 ? void 0 : e.enableThreadsHoverDescriptor, !1), + yft = t(e === null || e === void 0 ? void 0 : e.enableAnswerCards, !0), + ep = t(e === null || e === void 0 ? void 0 : e.enableMessagesWithInternalLoadAnimation, !1), + op = t(e === null || e === void 0 ? void 0 : e.enableHideRAISuggestionIcon, !1), + sp = t(e === null || e === void 0 ? void 0 : e.enableMuidDisabledSuggestionBar, !1), + hp = t(e === null || e === void 0 ? void 0 : e.enableHideSuggestionOnErrors, !1), + cp = t(e === null || e === void 0 ? void 0 : e.enableConversationToActionBarFocusOrder, !1), + fct = t(e === null || e === void 0 ? void 0 : e.enableBopCustomGreeting, !1), + pft = t(e === null || e === void 0 ? void 0 : e.enableCopilotFullScreenUX, !1), + lp = t(e === null || e === void 0 ? void 0 : e.enableBufferClearOnReset, !1), + ap = t(e === null || e === void 0 ? void 0 : e.enableCancelPendingRequestOnNewMessage, !1), + wft = t(e === null || e === void 0 ? void 0 : e.enablePluginChatModeOnly, !1), + vp = t(e === null || e === void 0 ? void 0 : e.enableThreadsArrowNav, !1), + yp = t(e === null || e === void 0 ? void 0 : e.disableTitlePreviewLabel, !1), + pp = t(e === null || e === void 0 ? void 0 : e.disableTurnCount, !1), + wp = t(e === null || e === void 0 ? void 0 : e.enableMultiDomainBIC, !1), + bp = t(e === null || e === void 0 ? void 0 : e.allowedBICDomains, ""), + bft = t(e === null || e === void 0 ? void 0 : e.enableDeferGetConversation, !1), + kft = t(e === null || e === void 0 ? void 0 : e.enableBingProxyApiForSingleDeleteInThreads, !1); + nr = n.getConfigOrDefault((gi = _w._sydConvConfig) === null || gi === void 0 ? void 0 : gi.extraNotebookOptionsSets, ""); + var dft = t(e === null || e === void 0 ? void 0 : e.enableSilentUpdateConversationFail, !1), + kp = t(e === null || e === void 0 ? void 0 : e.enableGraphicArtJsonResponse, !1), + gft = t(e === null || e === void 0 ? void 0 : e.enableInlineTwoTAnswer, !1), + dp = t(e === null || e === void 0 ? void 0 : e.enableFreeSydney, !1), + net = t(e === null || e === void 0 ? void 0 : e.enable1P3PGPTsGreeting, !1), + gp = t(e === null || e === void 0 ? void 0 : e.enableFreeSydneyV2Style, !1), + nw = t(e === null || e === void 0 ? void 0 : e.enableCustomGptPreview, !1), + tw = t(e === null || e === void 0 ? void 0 : e.enableShortShareUrl, !1), + tet = t(e === null || e === void 0 ? void 0 : e.defaultMaxPersonaCount, 6), + ot = t(e === null || e === void 0 ? void 0 : e.isBingUserSignedIn, !1), + st = t(e === null || e === void 0 ? void 0 : e.enableFlux3P, !1), + iet = t(e === null || e === void 0 ? void 0 : e.f3pMsaAccountOnly, !1), + ect = t(e === null || e === void 0 ? void 0 : e.isUnderside, !1), + ret = t(e === null || e === void 0 ? void 0 : e.enableF3pNoSearchBgFix, !1), + uet = t(e === null || e === void 0 ? void 0 : e.enablePluginCopilot, !1), + fet = t(e === null || e === void 0 ? void 0 : e.enableSearchPluginOnTop, !1), + iw = t(e === null || e === void 0 ? void 0 : e.enablePluginDiscovery, !1), + rw = t(e === null || e === void 0 ? void 0 : e.enablePluginCatalog, !1), + uw = t(e === null || e === void 0 ? void 0 : e.enableInstService, !1), + eet = t(e === null || e === void 0 ? void 0 : e.enablePluginRevocation, !1), + oet = t(e === null || e === void 0 ? void 0 : e.enableSearchPlugins, !1), + fw = t(e === null || e === void 0 ? void 0 : e.sydneyFeedbackVertical, ""), + set = t(e === null || e === void 0 ? void 0 : e.enableUndersideTopRightButtonBugFix, !1), + het = t(e === null || e === void 0 ? void 0 : e.enableDefaultGptsOnMobile, !1), + ew = t(e === null || e === void 0 ? void 0 : e.enableEnterToCreateNewLine, !1), + cet = t(e === null || e === void 0 ? void 0 : e.enableUpdateLocationButton, !1), + aet = t(e === null || e === void 0 ? void 0 : e.enableLocationMetaMessage, !1), + ow = t(e === null || e === void 0 ? void 0 : e.enableTextMessageDelayedFinalization, !1), + sw = t(e === null || e === void 0 ? void 0 : e.enableNewTopicButtonFeature, !1), + vet = t(e === null || e === void 0 ? void 0 : e.enableFullScreenIframe, !1), + yet = t(e === null || e === void 0 ? void 0 : e.enableDelayedMsgHandlerDisposal, !1), + hw = t(e === null || e === void 0 ? void 0 : e.enableChangeSidePanelVisibility, !1), + pet = t(e === null || e === void 0 ? void 0 : e.enableMuidRobustnessFix, !1), + wet = t(e === null || e === void 0 ? void 0 : e.enableHideTypingIndicatorOnError, !1), + bet = t(e === null || e === void 0 ? void 0 : e.enableLearnmoreAsHeader, !1), + ket = t(e === null || e === void 0 ? void 0 : e.enableRaiButtonTooltip, !1), + det = t(e === null || e === void 0 ? void 0 : e.enableResetFocusLossFix, !1), + get = t(e === null || e === void 0 ? void 0 : e.disableTurnCountLocalAccount, !1), + not = t(e === null || e === void 0 ? void 0 : e.isTurnCountLocalAccountDisabled, !1), + cw = t(e === null || e === void 0 ? void 0 : e.enableWindowsCopilot, !1), + lw = t(e === null || e === void 0 ? void 0 : e.codexHoverCardDelayTimerDuration, 500), + tot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocks, !1), + iot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksRAIButton, !1), + rot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksStrokes, !1), + uot = t(e === null || e === void 0 ? void 0 : e.enableGoldiLocksBackgroundLight, !1), + fot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksLineHeight, !1), + eot = t(e === null || e === void 0 ? void 0 : e.enableCitationSuperscriptFix, !1), + oot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksMetaMessage, !1), + sot = t(e === null || e === void 0 ? void 0 : e.enableTopAlignConversation, !1), + hot = t(e === null || e === void 0 ? void 0 : e.enableHideZeroTurn, !1), + cot = t(e === null || e === void 0 ? void 0 : e.enableMessageGroupHeader, !1), + lot = t(e === null || e === void 0 ? void 0 : e.enableFullWidthMessages, !1), + aot = t(e === null || e === void 0 ? void 0 : e.enableInlineStreamingIndicator, !1), + vot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksAttributionPills, !1), + yot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksMessageActions, !1), + pot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksTurnCounter, !1), + wot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksStrokes2T, !1), + bot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksCitations, !1), + kot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksWiderActionBar, !1), + dot = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksExportDropdown, !1), + got = t(e === null || e === void 0 ? void 0 : e.enableDefaultBalancedtone, !1), + nst = t(e === null || e === void 0 ? void 0 : e.enableEmptyToneDebugLogs, !1), + tst = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksInlineFeedback, !1), + ist = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksUserMsgActionBar, !1), + rst = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksContextual, !1), + oct = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksSydneyAction, !1), + ust = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksPersistentMetas, !1), + fst = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksInlinePersistentMetas, !1), + est = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksBackgroundGpt, !1), + ost = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksIdentity, !1), + sst = t(e === null || e === void 0 ? void 0 : e.enableAdaptiveCardImageForCodeInterpreter, !1), + hst = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksCopilotGreetingFix, !1), + cst = t(e === null || e === void 0 ? void 0 : e.enableCodePreviewInFooter, !1), + lst = t(e === null || e === void 0 ? void 0 : e.enableRegisterContextAsync, !1), + ast = t(e === null || e === void 0 ? void 0 : e.enableStreamingInBackground, !1), + vst = t(e === null || e === void 0 ? void 0 : e.enableBGStreamInChat, !1), + yst = t(e === null || e === void 0 ? void 0 : e.enablePrefetchConversationToken, !1), + pst = t(e === null || e === void 0 ? void 0 : e.enableConnectionProvider, !1), + wst = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorCreatePanel, !1), + bst = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanel, !1), + kst = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelKnowledges, !1), + aw = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelcapabilities, !1), + dst = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelImageGenerator, !1), + gst = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelCodeInterpreter, !1), + nht = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelIconUpload, !1), + tht = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelIconGenerated, !1), + iht = t(e === null || e === void 0 ? void 0 : e.enableGptCreatorConfigurePanelIconExternalStorage, !1), + rht = t(e === null || e === void 0 ? void 0 : e.userAnID, ""), + uht = t(e === null || e === void 0 ? void 0 : e.enableFaqBcc, !0), + fht = t(e === null || e === void 0 ? void 0 : e.enableFaqBce, !0), + vw = t(e === null || e === void 0 ? void 0 : e.faqBccBceUrl, su), + eht = t(e === null || e === void 0 ? void 0 : e.enableAttributionsV2MoreButton, !1), + oht = t(e === null || e === void 0 ? void 0 : e.enable2TScrollToBottom, !1), + yw = t(e === null || e === void 0 ? void 0 : e.enableThumbsDownToSearchOnBing, !1), + pw = t(e === null || e === void 0 ? void 0 : e.enableThreadContextMenuA11yBugFix, !1), + ww = t(e === null || e === void 0 ? void 0 : e.enableSRA11yFix, !1), + bw = t(e === null || e === void 0 ? void 0 : e.enableStopStreamingSignal, !1), + sht = t(e === null || e === void 0 ? void 0 : e.enableStartOfSessionFix, !1), + hht = t(e === null || e === void 0 ? void 0 : e.enableGhostedAutoSuggest, !0), + kw = t(e === null || e === void 0 ? void 0 : e.codexCanvas, ""), + dw = t(e === null || e === void 0 ? void 0 : e.enableMetaFlowTasksMessage, !1), + cht = t(e === null || e === void 0 ? void 0 : e.enableHostedContentToneSignal, !1), + lht = t(e === null || e === void 0 ? void 0 : e.enableHostedContentPartnerSignal, !1), + aht = t(e === null || e === void 0 ? void 0 : e.enableThreadZiFix, !1), + vht = t(e === null || e === void 0 ? void 0 : e.enableDeleteAllThreads, !1), + gw = t(e === null || e === void 0 ? void 0 : e.enableInternalSearchQueryReadout, !1), + nb = t(e === null || e === void 0 ? void 0 : e.enableFixReponseReadout, !1), + tb = t(e === null || e === void 0 ? void 0 : e.enableInlineButtonAdaptiveCardUpdate, !1), + yht = t(e === null || e === void 0 ? void 0 : e.pluginDevToolsDfpSessionId, ""); + rr(); + iet && st && !k && (st = !1); + a && i(r.System, "isCCP", "Codex"); + rv && (CIB.config.sydney.request.source = rv); + var ib = t(e === null || e === void 0 ? void 0 : e.enableFixOnReplaceAllJSError, !1), + kr = t(e === null || e === void 0 ? void 0 : e.enableNotebookMode, !1), + pht = t(e === null || e === void 0 ? void 0 : e.enableNotebookMsaConsent, !1), + wht = t(e === null || e === void 0 ? void 0 : e.isMsaMock, !1); + if (kr && (CIB.config.features.enableNotebookMode = kr, pt = (ir = CIB.config.sydney.request.optionsSets) === null || ir === void 0 ? void 0 : ir.slice(0), tr = nr.split(","), CIB.config.features.enableRecoverConvNotebook = t(e === null || e === void 0 ? void 0 : e.enableRecoverConvNotebook, !1), CIB.config.features.enableShiftEnterNotebook = t(e === null || e === void 0 ? void 0 : e.enableShiftEnterNotebook, !1), CIB.config.features.enableAltNotebookIcons = t(e === null || e === void 0 ? void 0 : e.enableAltNotebookIcons, !1), CIB.config.features.enableGoldilocksNotebook = t(e === null || e === void 0 ? void 0 : e.enableGoldilocksNotebook, !1), CIB.config.features.enableNotebookVerticalLayout = t(e === null || e === void 0 ? void 0 : e.enableNotebookVerticalLayout, !1), CIB.config.features.enableNotebookVerticalResizer = t(e === null || e === void 0 ? void 0 : e.enableNotebookVerticalResizer, !1), CIB.config.features.enableNotebookMaxWidth = t(e === null || e === void 0 ? void 0 : e.enableNotebookMaxWidth, !1), CIB.config.features.enableNotebookPrefilledQuery = t(e === null || e === void 0 ? void 0 : e.enableNotebookPrefilledQuery, !1)), hv && (CIB.config.features.enableInPrivateUserMode = hv), lr && CIB.config.share && (CIB.config.share.customizedShareOutImageThumbnailId = t(e === null || e === void 0 ? void 0 : e.customizedShareOutImageThumbnailId, "")), v && lr && (CIB.config.share.baseUrl = window.location.origin), pft && (CIB.config.mobile.isFullScreenEnabled = !0, CIB.config.features.enableThreadsPreview = !1, CIB.config.mobile.isHeaderBackButtonEnabled = !1, CIB.config.features.enableThreadsHistoryIcon = !0), wut && (CIB.config.features.enableNoScrollDownOnInit = !0), but && (CIB.config.features.enableFormCodeBingUrl = !0), kut && (CIB.config.bing.signIn.baseUrl = window.location.origin), sj_evt.bind("showSydFSC", ur), bn && (CIB.config.features.enableWowCDSSurvey = !0), lit && (CIB.config.messaging.messageDensity = "loose"), ait && (((fr = CIB.config.contentCreator) === null || fr === void 0 ? void 0 : fr.query) != null && (CIB.config.contentCreator.query.frame = "sydedg"), ((er = CIB.config.sunoMusicCreator) === null || er === void 0 ? void 0 : er.query) != null && (CIB.config.sunoMusicCreator.query.frame = "sydedg")), uv && (CIB.config.features.enableSuggestionItemEnterAnimation = uv), fv && (CIB.config.features.enableKatexScroll = fv), aft && (CIB.config.contentCreator.baseUrl = window.location.origin), wp && bp && CIB.config.contentCreator && (CIB.config.contentCreator.allowedDomains = bp.split(",")), CIB.config.features.enableMultiDomainBIC = wp, CIB.config.features.enableDeferGetConversation = bft, lw !== 500 && (CIB.config.messaging.hoverCardDelayTimerDuration = lw), gw && (CIB.config.features.enableInternalSearchQueryReadout = gw), nb && (CIB.config.features.enableFixReponseReadout = nb), CIB.config.features.enableRereadMetaAcc = vut, CIB.config.features.enableKeyboardNav = yut, CIB.config.features.enableSentByDescriptor = hft, CIB.config.features.enableMessageTypeCheck = urt, CIB.config.features.enableVersionPrompt = eft, CIB.config.features.enableAttributionsV2 = oft, CIB.config.features.enableLearnMoreCards = sft, CIB.config.features.enableInlineTwoTAnswer = gft, CIB.config.features.enableMuidRobustnessFix = pet, CIB.config.features.enableHideTypingIndicatorOnError = wet, CIB.config.features.enableLearnmoreAsHeader = bet, CIB.config.features.enableRaiButtonTooltip = ket, CIB.config.features.enableResetFocusLossFix = det, gk && CIB.config.sunoMusicCreator && (CIB.config.sunoMusicCreator.baseUrl = window.location.origin), rb = _ge("cib-design-tokens"), rb || CIB.activateDesignTokens(), o = {}, + au && (o.country = au), yu && (o.state = yu), pu && (o.city = pu), bu && (o.zipcode = bu), cb || et ? o.timezoneoffset = -((new Date).getTimezoneOffset() / 60) : ku && (o.timezoneoffset = parseFloat(ku)), du && (o.dma = du), gu && (o.latitude = parseFloat(gu)), nf && (o.longitude = parseFloat(nf)), vu && (o.countryConfidence = vu), wu && (o.cityConfidence = wu), et ? (dr = Intl.DateTimeFormat().resolvedOptions().timeZone, dr && (o.timezone = dr), CIB.config.sydney.message.locationInfo = o) : u && typeof u.locations != "undefined" && typeof u.locations.locationsList != "undefined" ? typeof SydneyFSCLocationHelper != "undefined" && typeof SydneyFSCLocationHelper.writeToLocationHints != "undefined" && SydneyFSCLocationHelper.writeToLocationHints(u) : u && typeof u.cookLoc != "undefined" ? (d = [], u.cookLoc.userLoc && (tt = dt(u.cookLoc.userLoc, !1), tt.RegionType = 1, tt.SourceType = 2, tt.FDConfidence = 1, d.push(tt)), u.cookLoc.deviceLoc && (ht = dt(u.cookLoc.deviceLoc, !1), ht.RegionType = 2, ht.SourceType = 5, d.push(ht)), ak && u.cookLoc.coarseLoc && (ct = dt(u.cookLoc.coarseLoc, !1), ct.RegionType = 2, ct.SourceType = 11, d.push(ct)), s = o, s.Center = { + Latitude: s.latitude, + Longitude: s.longitude + }, + delete s.latitude, delete s.longitude, s.RegionType = 2, s.SourceType = 1, d.push(s), CIB.config.sydney.message.locationHints = d) : CIB.config.sydney.message.locationinfo = o, cit && (CIB.config.sydney.message.userIpAddress = lb), CIB.config.sydney.message.timestamp = ts(), or(kb), av && (CIB.config.features.enableVersionedApiCalls = av), vv && (CIB.config.features.enableJWTFTRFix = vv), vp && (CIB.config.features.enableThreadsArrowNav = vp), rn && (CIB.config.features.enableGetChats = !0), un && (CIB.config.features.enableDelayGetChats = !0), utt && (CIB.config.features.enableThreadSync = !0), tit && (CIB.config.features.enableTypewriterEffectForThreadName = !0), eit && (CIB.config.features.enableSaharaSyntheticStreaming = !0), oit && (CIB.config.features.enableFaviconV2 = !0), sit && (CIB.config.features.enableFaviconAutoRefresh = !0), hit && (CIB.config.features.enableCachedContentFixForIsStartOfSession = !0), dft && (CIB.config.features.enableSilentUpdateConversationFail = !0), het && (CIB.config.features.enableDefaultGptsOnMobile = !0), CIB.config.features.enableEmptyToneDebugLogs = nst, CIB.config.features.enableDefaultBalancedtone = got, CIB.config.features.enableBingProxyApiForSingleDeleteInThreads = kft, ba && st && (CIB.config.features.enableFlux3P = !0, typeof CIB.config.plugin == "undefined" && (CIB.config.plugin = {}), fet && (CIB.config.plugin.searchPluginPositon = 0), uet && (CIB.config.features.enablePluginCopilot = !0, CIB.config.plugin.baseUrl = window.location.origin), CIB.config.features.enablePluginDiscovery = iw, wft && (CIB.config.features.enablePluginOptionSetsConversationModeOnly = !0), lut && (CIB.config.features.enableNoBingSearchResponseBackground = !0), aut && (CIB.config.features.enableNoSearchPluginMetaMessage = !0), pit && (CIB.config.features.enableThreadShowPlugins = !0), kit && (CIB.config.features.enablePluginPanelFre = !0), vit && (CIB.config.features.enableLinkPreviewCarousel = !0), cft && (CIB.config.features.enableLinkPreviewFailureTelemetry = !0), lft && (CIB.config.features.enableLinkPreviewAppIdV2 = !0), htt && (CIB.config.features.enablePluginsByTone = !0), vtt && (CIB.config.features.enableOpenTableBookBlueLink = !0), ret && (CIB.config.features.enableNoBingSearchResponseBackgroundWithOptionsSets = !0), set && (CIB.config.features.enableUndersideTopRightButtonBugFix = !0), rft && (CIB.config.features.enablePluginDevTools = !0, CIB.config.features.enablePluginRequestsBugFix = !0), uft && (CIB.config.features.enablePluginCSRF = !0, b = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get("_SS", "SID"), b && (CIB.config.plugin.csrfSid = b)), CIB.config.features.enablePluginCatalog = rw, (rw || iw) && f(CIB.config.sydney.request.optionsSets, "fluxv1p"), CIB.config.plugin.dfpSessionId = yht), uht && (CIB.config.features.enableFaqBcc = !0, CIB.config.links.faqBccBceUrl = vw), fht && (CIB.config.features.enableFaqBce = !0, CIB.config.links.faqBccBceUrl = vw), frt && (CIB.config.features.enableInlinePersonalizationConsent = !0, CIB.config.messaging.personalizationInlineConsentTurn = srt, CIB.config.features.enableInlinePersonalizationConsentCopilotLogo = ert, CIB.config.features.enableInlinePersonalizationConsentCallback = ort), iit && (CIB.config.features.enableConfirmPromptForDeleteSingleThread = !0), fit && (CIB.config.features.enableDeferredImageCreatorCard = !0), ktt && (CIB.config.features.enableRenderCardRequestIMSearchParams = !0), yit && (CIB.config.features.useFakeDataForLinkPreviewCarousel = !0), wit && (CIB.config.features.enableUpdateUserMessageId = !0), bit && (CIB.config.features.enableUserMessageIdConsistency = !0), git && (CIB.config.features.enableRenderIframeCardRequest = !0), lv && (CIB.config.features.enableFreEducationalStarter = !0), hrt && (CIB.config.features.enableFreEducationalStarterAnimation = !0), crt && (CIB.config.features.enablePhonePlugin = !0), vrt && (CIB.config.features.enablePhonePluginProductionEnvironment = !0), art && (CIB.config.features.enablePhonePluginBetaEnvironment = !0), lrt && (CIB.config.features.enablePhonePluginDogfoodEnvironment = !0), yrt && (CIB.config.features.disablePhonePluginInPreciseTone = !0), prt && (CIB.config.features.disablePhonePluginInBalancedTone = !0), wrt && (CIB.config.features.disablePhonePluginInCreativeTone = !0), brt && (CIB.config.features.enablePhonePluginInPreciseTone = !0), krt && (CIB.config.features.enablePhonePluginInBalancedTone = !0), drt && (CIB.config.features.enablePhonePluginInCreativeTone = !0), grt && (CIB.config.features.enablePhonePluginCatalogId = !0), nut && (CIB.config.features.enableUseStoreAsSourceForPhonePlugin = !0), tut && (CIB.config.features.enablePhonePluginCatalog = !0), iut && (CIB.config.features.enableMobileCopilotV2 = !0), rut && (CIB.config.features.enableDonationPlugin = !0), uut && (CIB.config.features.enableDonationPluginDogfood = !0), fut && (CIB.config.features.enableDonationPluginProd = !0), CIB.config.features.enableM365ConsumerPluginUX = !0, CIB.config.features.enableM365ConsumerPluginHighPosition = sut, eut && (CIB.config.features.enableM365consumerPlugin = !0, ae()), out && (CIB.config.features.enableM365ConsumerPluginOneDrive = !0, ve()), hut && (CIB.config.features.enableAdaptiveCardMessage = !0), vet && (CIB.config.features.enableFullScreenIframe = !0), yet && (CIB.config.features.enableDelayedMsgHandlerDisposal = !0), gr = new URLSearchParams(_w.location.search), nu = gr.get(ou.toLowerCase()), (rf != "" || hr && nu) && (g = CIB.config.speech.srOptions ? CIB.config.speech.srOptions: [], g = h(g, rf), hr && (g = h(g, nu)), CIB.config.speech.srOptions = g), vr && (CIB.config.speech.srOptions || (CIB.config.speech.srOptions = []), CIB.config.speech.srOptions.push("earcon")), yr && (CIB.config.speech.query.surface = yr, CIB.config.speech.surface = yr), ns && (at = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get(n.userCook, li), at && at != "1" ? at == "0" && (CIB.config.speech.query.autodetect = "0") : (CIB.config.speech.query.autodetect = "1", CIB.config.features.enableSpeechAutoDetectLanguage = ns, CIB.config.speech.srOptions || (CIB.config.speech.srOptions = []), CIB.config.speech.srOptions.push("cdxdlid"), CIB.config.speech.srOptions.push("autotts"), (ls || cd) && (tu = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get(n.userCook, ai), (ls || !tu || tu !== "1") && (CIB.config.features.enableSpeechAutoDetectLanguageEvent = !0, nt = !0, CIB.config.speech.shouldShowAutoDetectSettingNotification = function() { + i(r.System, "ShouldShowVoiceAutoDetectNotification", "Voice", { + isShown: nt ? "1": "0" + }); + var t = nt; + return t && sj_cook.set(n.userCook, ai, "1", !0, "/", null), + nt = !1, + t + }, + CIB.config.speech.onAutoDetectSettingUpdated = function(t) { + var u = t ? "1": "0"; + i(r.System, "VoiceAutoDetectSettingUpdated", "Voice", { + isEnabled: u + }); + sj_cook.set(n.userCook, li, u, !0, "/", null) + })))), (hd || vd) && (iu = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get(n.userCook, vi), iu && iu != "1" ? CIB.config.features.enableAutoReopenMic = !1 : (CIB.config.features.enableAutoReopenMic = !0, re(ld, ad))), sd && (CIB.config.speech.srOptions || (CIB.config.speech.srOptions = []), CIB.config.speech.srOptions.push("cdxwhisr")), k && (CIB.config.features.supressSigninMessage = !0, CIB.config.features.enableAgeRestriction = !0, CIB.config.sydney.isMissingDob = ok, CIB.config.sydney.isAdultUser = ek), sk && (ru = CIB.config.sydney.request.optionsSets.indexOf("enable_debug_commands"), ru >= 0 && CIB.config.sydney.request.optionsSets.splice(ru, 1)), tk && f(CIB.config.sydney.request.optionsSets, "dv3sugg"), ik && f(CIB.config.sydney.request.optionsSets, "gencontentv3"), td && f(CIB.config.sydney.request.optionsSets, "prodshortv4"), ab && tf != "" && (CIB.config.sydney.request.optionsSets = h([], tf)), vk) { + if (ie) for (yt = ie.split(","), wt = 0, uu = yt; wt < uu.length; wt++) rt = uu[wt], + CIB.config.features[rt] = !0; + if (fu = gr.get(eu.toLowerCase()), hr && fu) for (yt = fu.split(","), bt = 0, cu = yt; bt < cu.length; bt++) rt = cu[bt], + rt.indexOf(":") >= 0 && (kt = rt.split(":"), kt.length == 2 && (CIB.config.features[kt[0]] = kt[1])) + } + if (sf && (ub = sf.split(","), CIB.config.sydney.request.sliceIds = ub), CIB.config.bing.isVisualParityRun = yb, CIB.config.bing.isMSAAuthenticated = k, CIB.config.bing.userMailId = pb, CIB.config.bing.username = wb, ef && (CIB.config.sydney.baseUrl = ef), uf != "" && (CIB.config.sydney.pathBase = uf), hk && (lu = sj_cook.get(n.userCook, si), lu && lu == "0" && (CIB.config.features.enableTTSOnVoiceInput = !1)), ck) { + CIB.config.features.enableCustomizedTtsOptions = !0; + var bht = sj_cook.get(n.userCook, hf), + fb = parseInt(bht), + eb = sj_cook.get(n.userCook, cf); + fb && (CIB.config.speech.ttsOptions = __assign(__assign({}, + CIB.config.speech.ttsOptions), { + speed: fb + })); + eb && lk && (CIB.config.speech.ttsOptions = __assign(__assign({}, + CIB.config.speech.ttsOptions), { + voiceName: eb + })) + } + if (pf && (CIB.config.features.enableSpeechContinuousErrorHandling = pf), wf && (CIB.config.features.enableSpeechChatDataAfterPhrase = wf), vr && (CIB.config.features.enableSpeechEarconOnInput = vr), bf && (CIB.config.features.enableTTSOnSuggestionAfterVoice = bf), kf && (CIB.config.features.enableSimpleVoiceInput = kf), df && (CIB.config.features.enableSpeechDictationMode = df), gf && (CIB.config.features.enableAudioPreloadLimit = gf), ne && (CIB.config.features.enableSpeechFateTTSStop = ne), te && (CIB.config.features.enableSpeechGetUserMedia = te), ys && (CIB.config.features.enableSpeechErrorHandling = ys), ws && (CIB.config.features.enableSpeechTTSLatencyLogging = ws), bs && (CIB.config.features.enableSpeechInputWhileRequestIsPending = bs), ks && (CIB.config.features.enableSpeechIconDarkTheme = ks), ps && (CIB.config.features.enableSpeechAriaLabel = ps), de && (CIB.config.features.enableFixScrollBackSerpAccidentally = de), eo && (CIB.config.features.enableNeatListening = eo), be(), tl && (CIB.config.features.enableChatIconClickable = tl), il && (CIB.config.features.enableChatQueryClickable = il), rl && (CIB.config.features.enableChatQueryClickableV2 = rl), ul && (CIB.config.features.enableChatQueryClickableV3 = ul), fl && (CIB.config.features.enableChatQueryClickableV4 = fl), el && (CIB.config.features.enableShareQuestionWithResponse = el), ol && (CIB.config.features.enableDynamicShareTitle = ol), sl && (CIB.config.features.enableShareQuestionTitlePrefix = sl), hl && (CIB.config.features.enableShareInlineAdsIframe = hl), cl && (CIB.config.features.enableSharePreview = cl), ll && (CIB.config.features.enableShareToMyBing = ll), al && (CIB.config.features.enableSharedHoverCitations = al), yl && (CIB.config.features.enableScreenshotIgnoreOnCibSerp = yl), pl && (CIB.config.features.enableStandaloneUtility = pl), wl && (CIB.config.features.enableSidePanelBelowThreadSlot = wl), bl && (CIB.config.features.enableWelcomeCopilotProButton = bl, kl && (CIB.config.features.enableCopilotProOverlay = kl)), dl && (CIB.config.features.enableCopilotProSpectrumTemplate = dl), CIB.config.speech.animationProvider = function() { + var n = location.origin + "/CodexAnimations/animations.json"; + return hb.getJsonData(n) + }, + vb && (CIB.config.features.enableMetaMessages = !1, CIB.config.features.enableLearnMore = !1, CIB.config.features.enableCitations = !1, CIB.config.features.enableWelcomeScreen = !1, CIB.config.features.enableShare = !1, CIB.config.features.enableStopButton = !1, CIB.config.features.enableAnswerCards = !1, CIB.config.features.enableAds = !1), vf && (CIB.config.sydney.request.traceId = vf), CIB.config.features.enableSpeechInput = db, CIB.config.features.enableShare = lr, CIB.config.features.enableAnswerBridgeShare = gb, CIB.config.features.enableMessageShareableSignalV2 = nk, rk && (CIB.config.features.enableErrorStateNotification = !0, CIB.config.features.enableErrorStateToastNotificationResetButton = !0, CIB.config.features.enableGhostedAutoSuggest = hht, CIB.config.features.enableHoverCardAttributionFavicons = !0), bg && (CIB.config.features.enableAutoRecoverFromInvalidSession = !0), kg && (CIB.config.features.enableAutoRecoverFromInvalidSessionForFirstTurn = !0), dg && (CIB.config.features.enableActionBarIMEFix = !0), gg && (CIB.config.features.enableGhostTrailingSpaceByLanguage = !0), yf && (CIB.config.features.enableErrorInstrumentaton = yf), fe && (CIB.config.features.enableSydImageCreate = fe), ee && (CIB.config.features.enableSunoMusicCreate = ee), oe && (CIB.config.features.enableSunoMusicInst = oe), yy && (CIB.config.features.enableInlineComponents = yy), le(), ke(a), ce(), uk && (CIB.config.features.enableAnsCardSfx = !0), fk && (CIB.config.features.enableLikeSaveToBingPage = !0), eg && (CIB.config.features.enableFeedbackClientSideScreenshot = !0), og && (nl || cr && (tft || nft) ? he() : kr && pht && (k || wht) && (CIB.config.features.enablePrivacyConsentFormNonMuid = !0, sr())), yn && (CIB.config.features.enableDisposeOrphanedHosts = !0), pn && (CIB.config.features.enablePreserveTextFormat = !0), wn && (CIB.config.features.enableHoverCardOnLearnMorePills = !0), gn && (CIB.config.features.enableCloudflareCaptcha = !0), ntt && (CIB.config.features.enableInvisibleCaptchaChallenge = !0), ttt && (CIB.config.features.enableResizeObserverWithAnimationFrame = !0), an && (CIB.config.features.enableExportDocxWithFormat = !0), vn && (CIB.config.features.enableExportDocxWithTableFormat = !0), cut && (CIB.config.features.enablePaywallTelemetryFix = !0), CIB.config.features.enableSecureUpdateConversation = !yk, CIB.config.features.enableSecureSendFeedback = !pk, CIB.config.features.enableShareSemSerp = bk, CIB.config.features.enableShareCreator = kk, CIB.config.features.enableFeedbackOnFinalized = wk, CIB.config.features.enableShareWithNoMargin = !hg, CIB.config.features.enableMobileShareAnchorBottom = cg, CIB.config.features.enableCreativeLandingPage = lg, CIB.config.features.enableServerLogMerging = ag, CIB.config.features.enableMobileOneClickShare = vg, CIB.config.features.enableMobileOneClickShareV2 = yg, CIB.config.features.enableFeedbackInstrumentation = pg, CIB.config.features.enableCopyButtonInstrumented = rtt, CIB.config.features.enableShareModalDialog = dk, CIB.config.features.enableShareOnHostMessage = kn, CIB.config.features.enablePassBotGreetingInContext = !dn, CIB.config.features.enableMobileKnowledgeCardOverlay = ftt, CIB.config.features.enableCibOverlayForKnowledgeCard = ett, CIB.config.features.enableKCAdaptiveCardUpdate = ott, CIB.config.features.enableKCInChatClickThroughRequery = stt, CIB.config.features.enableNewAutoSuggestEndPoint = ytt, CIB.config.features.enableNewTopicTooltip = rit, CIB.config.features.enableNewlineTooltip = uit, CIB.config.features.enableTypingIndicatorForSerpSlotCreator = dtt, CIB.config.features.enableOnProcessingStartEvent = gtt, CIB.config.features.enableOnProcessingCompleteEvent = nit, bd ? (CIB.config.features.enableDynamicMaxMessageLength = !0, CIB.config.messaging.maxMessageLength = ds, CIB.config.messaging.maxMessageLengthBalanced = a ? ng: kd, CIB.config.messaging.maxMessageLengthCreative = a ? tg: dd, CIB.config.messaging.maxMessageLengthPrecise = a ? ig: gd) : CIB.config.messaging.maxMessageLength = ds, CIB.config.features.enableThreadsAadMsaSwitch = ug, CIB.config.messaging.isAccountLinkedAadUser = rg, CIB.config.features.enableFastChatLoadAnimation = nrt, CIB.config.features.enableShareInThreadsHeader = trt, CIB.config.features.enableNewConversationActivate = irt, CIB.config.features.enableMobileFirstClickShare = rrt, ba && (CIB.config.features.enableThreadsTopRightButton = dut, st && (CIB.config.features.enableThreadsTopRightButton || gut) && (CIB.config.features.enableThreadsTopRightButton = !0, CIB.config.features.enablePluginsTopRightButton = !0)), CIB.config.features.enablePluginRevocation = eet, CIB.config.features.enableSearchPlugins = oet, (ctt || ltt || att) && (CIB.config.features.enableWelcomeScreen = ka, CIB.config.features.enableWelcomeScreenItem = !ka), da && (CIB.config.features.disableZIRMSStart = da), lv && SydWelcomeScreen.isEduStarterEnabled() && (CIB.config.features.enableWelcomeScreen = !0, CIB.config.features.enableWelcomeScreenItem = !0), itt && (CIB.config.features.enableKnowledgeCardImage = !0, CIB.config.features.enableImagesInTextMessages = !0, ih()), CIB.config.features.secureConversation = nd, se && (CIB.config.features.enableAffinityInstance = se, f(CIB.config.sydney.request.optionsSets, "machine_affinity"), f(CIB.config.sydney.request.optionsSets, "streamf")), ye && (CIB.config.features.enableGetMessagesHub = ye), yd && (CIB.config.features.enableNewTopicAutoExpand = !0), wd && (CIB.config.features.enableAmberTurnPerConversation = !0, CIB.config.messaging.amberTurnPerConversation = t(e === null || e === void 0 ? void 0 : e.amberTurnPerConversation, 0)), pd && (CIB.config.features.enableMaxTurnsPerConversation = !0, CIB.config.features.enableMaxTurnsFromBackend = t(e === null || e === void 0 ? void 0 : e.enableMaxTurnsFromBackend, !1), CIB.config.messaging.maxTurnsPerConversation = nl ? t(e === null || e === void 0 ? void 0 : e.maxTurnsPerConversationMuidUser, lt) : t(e === null || e === void 0 ? void 0 : e.maxTurnsPerConversation, lt)), id && (CIB.config.sydney.request.Participant = { + Id: "1" + }), pe && (CIB.config.features.enablePerfTracker = pe), rd && (CIB.config.features.enableEmbeddedPerf = !0), we && (CIB.config.features.enableSinglePerfEventPerMessage = we), ud && (CIB.config.features.enableE2EPerf = !0), (fd || a) && (CIB.config.features.enableCCPPerf = !0), oo && (CIB.config.features.enableRedirectToLoginUrl = oo), ho && (CIB.config.features.enableNewChatIconInActionBar = ho), co && (CIB.config.features.enableActionBarV2 = co), lo && (CIB.config.features.enableSpeechDictationBridgeMode = lo), pr && (CIB.config.features.enableSpeculativeMode = pr), CIB.config.features.enableTranslateForBotMessage = ed, yo && (CIB.config.features.enableReadAloudMessage = yo), po && (CIB.config.features.enableReadAloudOptions = po, gt = parseInt(sj_cook.get(n.userCook, si)), gt >= 0 && gt <= 2 && (CIB.config.speech.ttsOptions = __assign(__assign({}, + CIB.config.speech.ttsOptions), { + readAloud: gt + }))), bo && (CIB.config.features.enableReadAloudOnDeepLeoOnly = bo), ko && (CIB.config.features.enableReadAloudFixV1 = ko), go && (CIB.config.features.enableSpeechLanguageSetting = go, ob = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get(n.userCook, af), ar(ob)), is && (CIB.config.features.enableSpeechLogNoiseReduction = is), wo && (CIB.config.features.enableSpeechTouchStart = wo), rs && (CIB.config.features.enableAutoReopenMicTTSStopped = rs), us && (CIB.config.features.enableAccentedIconsOnMobileABV2 = us), fs && (CIB.config.features.enableAltVoiceQuerySubmissionOnMobileABV2 = fs), es && (CIB.config.features.enableMockMicListeningState = es), os && (CIB.config.features.enableMockMicBlockedState = os), ss && (CIB.config.features.enableRecogFailedLogNoiseReduction = ss), hs && (CIB.config.features.enableSpeculativeModeJSErrorChecks = hs), cs && (CIB.config.features.enableMicRestIconWhenListening = cs), as && (CIB.config.features.enableEarlyLogSpeechStateChanged = as), vs && (CIB.config.features.enableUniversalInput = vs), od && (CIB.config.speech.micPermissionProvider = function() { + return {} + }), fg && (CIB.config.features.enableSafeSearchSetting = !0, so()), CIB.config.messaging.messageBufferWorkerStreamDelayMS = sg, wg && (CIB.config.suggestions.baseUrl = location.origin), nh && (CIB.config.features.enableOneClickCopy = nh), th && (CIB.config.features.enableReorderCopiedTextReferences = th), uh && (CIB.config.features.enableCodeCopy = uh), fh && (CIB.config.features.enableCodeBar = fh), eh && (CIB.config.features.enableCodeBarV2 = eh), oh && (CIB.config.features.enableUserMessageCopy = oh), sh && (CIB.config.features.enableRichTextPaste = sh), hh && (CIB.config.features.enablePasteMarkdownTable = hh), ch && (CIB.config.features.enablePasteMath = ch), lh && (CIB.config.features.enableInlineFeedback = lh), ah && (CIB.config.features.enableInlineFeedbackV2 = ah), vh && (CIB.config.features.enableInlineFeedbackV21 = vh), yh && (CIB.config.features.enableFeedbackCollectMoreInfo = yh), ph && (CIB.config.features.enableSerpFeedback = ph), wh && (CIB.config.features.enableMessageSave = wh), bh && (CIB.config.features.enableMoreOnBotMessageActionsBar = bh), kh && (CIB.config.features.enableMessageExport = kh), dh && (CIB.config.features.enableMessageExportWithPlainText = dh), gh && (CIB.config.features.enableHandoffAPI = gh), nc && (CIB.config.features.enableSearchOnBingForBotMessage = nc), tc && (CIB.config.features.enableSearchOnBingInLinkHoverCard = tc), ic && (CIB.config.features.enableMessageExportOnlineWord = ic), rc && (CIB.config.features.enableMessageExportOnlineExcel = rc), ac && (CIB.config.features.enableTonePreview = ac), yp && (CIB.config.features.disableTitlePreviewLabel = yp), pp && (CIB.config.features.disableTurnCount = pp), CIB.config.features.enableMessageExportWord = nn, CIB.config.features.enableThreadExportLocalWord = tn, uc && (CIB.config.features.enableMessageExportLocalExcel = uc), fc && (CIB.config.features.enableTableBarFlatActions = fc), ec && (CIB.config.features.enableThreadExportOnlineWord = ec), oc && (CIB.config.features.enableMessageExportV2 = oc), sc && (CIB.config.features.enableBotMessageActionsBar = sc), hc && (CIB.config.features.enableShorterToastDuration = hc), cc && (CIB.config.features.enableDirectlyOpenExportOnlineLink = cc), lc && (CIB.config.features.enableLoginHintForSSO = lc), vc && (CIB.config.features.enableMSAuth1stPartyApp = vc), yc && (CIB.config.features.enableAdsRedirectLinkForTextMessage = yc), pc && (CIB.config.features.enableCopyHtml = pc), wc && (CIB.config.features.enableCopyHtmlWithHighlightedCode = wc), bc && (CIB.config.features.enableExportPdfWithAnswerScreenshot = bc), kc && (CIB.config.features.enableExportDocxWithAnswerScreenshot = kc), dc && (CIB.config.features.enableLibrariesSplitImport = dc), gc && (CIB.config.features.enableFlatActionBar = gc), ya && (CIB.config.features.enableSydBeacon = ya), wa && (CIB.config.features.enableStartPromotion = wa), pa && (CIB.config.features.enableThreadContextMenu = pa), gl && (CIB.config.features.enableNewTables = gl, CIB.config.messaging.tableVersion = fn), na && (CIB.config.features.enableBufferMessage = na), ta && (CIB.config.features.enableBufferLoadingDots = ta), ra && (CIB.config.features.enableCodeInterpreterPreviewCode = ra), wr && (CIB.config.features.enableGptForMobileBrowser = wr, CIB.config.features.enableGPTForMobileBrowser = wr), ua && (CIB.config.features.enable3PGptForMobileBrowser = ua), ia && (CIB.config.features.enableServerMetaText = ia), fa && (CIB.config.features.enableGPTCreatorItemContextMenu = fa), ha && (CIB.config.features.enableMock3PGpts = ha), ca && (CIB.config.features.enableGPTCreatorCreateGptPreview = ca), on && (CIB.config.features.enableGptWelcomeInitLoad = !0), sn && (CIB.config.features.enableGptBuilderAction = !0), dp && en && a && ot && (CIB.config.features.enableGPTCreator = !0, CIB.config.features.enableExtraExtensionParams = !0, hn && (CIB.config.features.enableThreads = !1, CIB.config.features.enableGptCreatorCreatePanel = wst, CIB.config.features.enableGptCreatorConfigurePanel = bst, CIB.config.features.enableGptCreatorConfigurePanelKnowledges = kst, CIB.config.features.enableGptCreatorConfigurePanelcapabilities = aw, CIB.config.features.enableIconUpload = nht, CIB.config.features.enableIconGenerated = tht, CIB.config.features.enableIconExternalStorage = iht, CIB.config.features.enableCopilotGptsPolicyLink = ln, CIB.config.features.enableGptCreatorPreviewAutoSave = cn, aw && (CIB.config.features.enableGptCreatorConfigurePanelImageGenerator = dst, CIB.config.features.enableGptCreatorConfigurePanelCodeInterpreter = gst))), CIB.config.gptCreator && (l = window.location.origin, ut = l.includes("bing.com"), CIB.config.gptCreator.gptCreatorCreatorUrl = l + ea, CIB.config.gptCreator.creatorUrl = l + ea, CIB.config.gptCreator.gptCreatorPreviewUrl = l + (ut ? oa: ""), CIB.config.gptCreator.previewUrl = l + (ut ? oa: ""), CIB.config.gptCreator.gptCreatorShareUrl = l + (ut ? sa: ""), CIB.config.gptCreator.shareUrl = l + (ut ? sa: ""), CIB.config.gptCreator.imageCreateAppID = "3A94CC512C67BC6591C1F88594FBDB53481B8505", CIB.config.gptCreator.userAnID = rht), nv && (CIB.config.features.enableMessagePrivacy = nv), tv && (CIB.config.features.enableCloseShareOnClickOutside = tv), vl && (CIB.config.features.enableShowShareButtonWithSecurityCheck = vl), va && (CIB.config.features.enableOptimizedStreaming = va), cv && (CIB.config.features.enableSydneyGetMessagesHub = cv), iv && (CIB.config.features.enableUpdateProfile = iv), pv && (CIB.config.features.enableSuppressSigninMessage = pv), yv && (CIB.config.features.enableOpenEdgeNotification = yv), CIB.config.features.enableCitationsOnSentences = vft, CIB.config.features.enableGoldilocks = tot, CIB.config.features.enableGoldilocksRAIButton = iot, CIB.config.features.enableGoldilocksStrokes = rot, CIB.config.features.enableGoldiLocksBackgroundLight = uot, CIB.config.features.enableGoldilocksLineHeight = fot, CIB.config.features.enableGoldilocksMetaMessage = oot, CIB.config.features.enableTopAlignConversation = sot, CIB.config.features.enableHideZeroTurn = hot, CIB.config.features.enableMessageGroupHeader = cot, CIB.config.features.enableFullWidthMessages = lot, CIB.config.features.enableInlineStreamingIndicator = aot, CIB.config.features.enableGoldilocksAttributionPills = vot, CIB.config.features.enableGoldilocksMessageActions = yot, CIB.config.features.enableGoldilocksTurnCounter = pot, CIB.config.features.enableGoldilocksStrokes2T = wot, CIB.config.features.enableAttributionsV2MoreButton = eht, CIB.config.features.enable2TScrollToBottom = oht, CIB.config.features.enableGoldilocksCitations = bot, CIB.config.features.enableGoldilocksWiderActionBar = kot, CIB.config.features.enableGoldilocksExportDropdown = dot, CIB.config.features.enableGoldilocksInlineFeedback = tst, CIB.config.features.enableUserMsgActionBar = ist, CIB.config.features.enableGoldilocksContextual = rst, CIB.config.features.enableGoldilocksPersistentMetas = ust, CIB.config.features.enableGoldilocksInlinePersistentMetas = fst, CIB.config.features.enableGoldilocksBackgroundGpt = est, CIB.config.features.enableGoldilocksIdentity = ost, CIB.config.features.enableAdaptiveCardImageForCodeInterpreter = sst, CIB.config.features.enableGoldilocksCopilotGreetingFix = hst, CIB.config.features.enableThreadZiFix = aht, CIB.config.features.enableDeleteAllThreads = vht, CIB.config.features.enableCodePreviewInFooter = cst, CIB.config.features.enableRegisterContextAsync = lst, vst) CIB.onModeChanged(function(n) { + switch (n) { + case "off-stage": + CIB.config.features.enableStreamingInBackground = !1; + break; + default: + CIB.config.features.enableStreamingInBackground = !0 + } + }); + else CIB.config.features.enableStreamingInBackground = ast; + if (CIB.config.features.enableCitationSuperscriptFix = eot, CIB.config.features.enablePrefetchConversationToken = yst, CIB.config.features.enableConnectionProvider = pst, CIB.config.features.enableAnswerCards = yft, fp && (CIB.config.features.enableThreadsHoverDescriptor = fp), ep && (CIB.config.features.enableMessagesWithInternalLoadAnimation = ep), op && (CIB.config.features.enableHideRAISuggestionIcon = op), sp && (CIB.config.features.enableMuidDisabledSuggestionBar = sp), hp && (CIB.config.features.enableHideSuggestionOnErrors = hp), cp && (CIB.config.features.enableConversationToActionBarFocusOrder = cp), by && (CIB.config.features.enableWelcomeItemEnterAnimation = by), ky && (CIB.config.features.enableToneSelectorAsDropdown = ky), dy && (CIB.config.features.enableSidePanelPositionInlineStart = dy), gy && (CIB.config.features.enableSidePanelAsPersistent = gy), np && (CIB.config.features.enableSidePanelVisibilityTrigger = np), tp && (CIB.config.features.enableSidePanelCustomScrollbar = tp), ip && (CIB.config.features.enableConversationCustomScrollbar = ip), rp && (CIB.config.features.enableConversationAlignmentTop = rp), up && (CIB.config.features.enableSimpleCopilotWelcomeScreen = up), wv && (CIB.config.features.enableExportPdfWithRichFormat = wv), bv && (CIB.config.features.enableAttributionImages = bv), kv && (CIB.config.features.enableAttributionImagesWhenAdsPresent = kv), dv && (CIB.config.features.enableAttributionImagesCarousel = dv), gv && (CIB.config.features.enableAttributionImagesClickthrough = gv), ry && (CIB.config.features.enableThreadContextMenuV2 = ry), uy && (CIB.config.features.enableSearchBoxAutoFocus = uy), fy && (CIB.config.features.enableUserMessageRewriteInsteadOfCopy = fy), ey && (CIB.config.features.enableUserMessageRewriteAndCopy = ey), oy && (CIB.config.features.enableSendFeedback = oy), sy && (CIB.config.features.enableSearchUserMessageOnBing = sy), hy && (CIB.config.features.enableEditLastUserMessage = hy), cy && (CIB.config.features.enableHideLastUserMessageInEdit = cy), ib && (CIB.config.features.enableFixOnReplaceAllJSError = ib), lp && (CIB.config.features.enableBufferClearOnReset = lp), ap && (CIB.config.features.enableCancelPendingRequestOnNewMessage = ap), kp && (CIB.config.features.enableGraphicArtJsonResponse = kp), uw && (CIB.config.features.enableInstService = uw), fw !== "" && (CIB.config.bing.feedbackVertical = fw), bw && (CIB.config.features.enableStopStreamingSignal = bw), dw && (CIB.config.features.enableTasksMessage = dw), tb && (CIB.config.features.enableInlineButtonAdaptiveCardUpdate = tb), CIB.config.features.enableStartOfSessionFix = sht, CIB.config.features.partnerId = kw, CIB.config.windchime.partnerId = kw, CIB.config.features.enableHostedContentToneSignal = cht, CIB.config.features.enableHostedContentPartnerSignal = lht, no(), to(), io(), sv && (CIB.config.features.enableBackendExportService = sv), ge(), ga && (CIB.config.features.enableContextMessage = ga), ft = t(e === null || e === void 0 ? void 0 : e.codexOptionsSetsList, null), ft && ft.length > 0) for (ni = 0; ni < ft.length; ni++) f(CIB.config.sydney.request.optionsSets, ft[ni].value); + ro(); + ptt && rh(btt, wtt); + gs && (CIB.config.features.enableTelemetryPrivacy = gs); + br && (CIB.config.features.enableWpFluxTwoTAnswerCard = br, CIB.config.features.enableWpFluxTwoTAnswerCardFallback = br, wy && (CIB.config.features.enableWpFluxTwoTAnswerCardFallback = !1, CIB.config.features.disableWpFluxTwoTAnswerCardFallback = wy), f(CIB.config.sydney.request.optionsSets, "fluxv1"), f(CIB.config.sydney.request.optionsSets, "fluxmatch")); + et && typeof MsbSydneyHelper != "undefined" ? MsbSydneyHelper.initCompliantSydneyConfigs() : cr && typeof BceSydneyHelper != "undefined" && (BceSydneyHelper.initBingChatForEnterpriseSydneyConfigs(), v && typeof MsbSydneyHelper != "undefined" && MsbSydneyHelper.addTenantLogoToHeader()); + et || (fo(), uo()); + ev && (CIB.config.features.enablePageHeaderOverlapClamping = ev); + dit && (CIB.config.features.enablePersistentInputText = !0); + ov && (CIB.config.features.enableEmptyThreadTime = ov); + ny && (CIB.config.features.enableThreadsConsent = ny, CIB.config.features.enableMutedThreadsConsent = put); + ty && (sb = t(e === null || e === void 0 ? void 0 : e.threadsAutoSaveOptionset, "autosave"), CIB.config.features.enableDeleteSingleConversationMemory = ty, CIB.config.sydney.request.conversationHistoryOptionsSets = [sb, "savemem", "uprofupd", "uprofgen"], pr && !!CIB.config.sydney.request.conversationHistoryOptionsSets && CIB.config.sydney.request.conversationHistoryOptionsSets.push("enable_message_signature")); + iy && (CIB.config.features.enable1DSTelemetry = iy); + ly && (CIB.config.features.enablePrivateThreadDefaultTitle = ly); + ay && (CIB.config.features.enablePromptHandling = ay); + ift && f(CIB.config.sydney.request.optionsSets, "u18scenario"); + vy && (CIB.config.features.enableModeAndSlotValidationForAds = vy); + py && (CIB.config.features.enableSuggestionChipDisplayText = py); + ao(); + ue(); + fft && vo(); + dp && (CIB.config.features.enableFreeSydney = !0, CIB.config.gptCreator && (CIB.config.gptCreator.maxSidePanelPersonasCount = tet), tw && (CIB.config.features.enableShortShareUrl = tw), nw && ot && (CIB.config.features.enableCustomGptPreview = nw, CIB.config.features.enableExtraExtensionParams = !0), net && (CIB.config.features.enableCustomGptSpecialGreeting = !0), la && (CIB.config.features.disableSuggestionsInCustomGpt = la), aa && (CIB.config.features.enableThreadsForAllGpts = aa)); + gp && (CIB.config.features.enableFreeSydneyV2Style = gp); + ew && (CIB.config.features.enableEnterToCreateNewLine = ew); + CIB.config.features.enableUpdateLocationButton = cet; + CIB.config.features.enableLocationMetaMessage = aet; + ow && (CIB.config.features.enableTextMessageDelayedFinalization = ow); + sw && (CIB.config.features.enableNewTopicButtonFeature = sw); + yw && (CIB.config.features.enableThumbsDownToSearchOnBing = yw); + hw && (CIB.config.features.enableChangeSidePanelVisibility = hw); + pw && (CIB.config.features.enableThreadContextMenuA11yBugFix = pw); + ww && (CIB.config.features.enableStopRespondingFocus = ww); + CIB.config.features.disableTurnCountLocalAccount = !1; ! get || ot || !cw || k || ff || (b = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get("CUID", "CUID"), b && (CIB.config.features.disableTurnCountLocalAccount = !0)); + CIB.config.features.enableHiddenTurnCountLocalAccount = !1; ! not || ot || !cw || k || ff || (b = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get("CUID", "CUID"), b && (CIB.config.features.enableHiddenTurnCountLocalAccount = !0)) + } + function re(t, u) { + if (t || u) { + var f = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get(n.userCook, yi); (u || !f || f !== "1") && (tt = !0, CIB.config.speech.shouldReopenMicNotification = function() { + i(r.System, "ShouldShowReopenMicNotification ", "Voice", { + isShown: tt ? "1": "0" + }); + var t = tt; + return t && sj_cook.set(n.userCook, yi, "1", !0, "/", null), + tt = !1, + t + }, + CIB.config.speech.onReopenMicSettingUpdated = function(t) { + var u = t ? "1": "0"; + i(r.System, "VoiceReopenSettingUpdated", "Voice", { + isEnabled: u + }); + sj_cook.set(n.userCook, vi, u, !0, "/", null) + }) + } + } + function ue() { + if (CIB.onResetConversation) CIB.onResetConversation(function() { + i(r.System, "ResetConversationTriggered", "ChatMode", "1") + }) + } + function rr() { + var r = this, + i, u = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableSydTestCache, !1); + u && "SydneyTestHelper" in _w && (SydneyTestHelper.setTestConfigs(), sj_evt.bind("CHAT_MOCKED", + function(t) { + var i = t && t.length > 1 ? t[1] : null; + i && (n.processCachedResponseUsingCIB = function() { + return __awaiter(r, void 0, void 0, + function() { + return __generator(this, + function(n) { + switch (n.label) { + case 0: + return SydneyTestHelper.shouldWaitForAnswerScript() ? [4, SydneyTestHelper.getAnswerScriptDefer().p] : [3, 2]; + case 1: + n.sent(); + n.label = 2; + case 2: + return CIB.processCachedResponse(i), + [2] + } + }) + }) + }) + }, + !0)) + } + function ur() { + var i, r, u, f = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableCodexWin, !1), + e = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.codexWinCurrentTurn, 0), + o = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableCodexWinBotMessage, !1); + f && (sj_cook.set(n.userCook, ef, String(e + 1), !0, "/", null), o && (n.shouldForceSendBotGreeting = !0)); + sj_evt.unbind("showSydFSC", ur) + } + function fe() { + var n, i = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableDM, !1); + i && CIB.changeColorScheme && CIB.changeColorScheme(1) + } + function fr() { + var n = Math.round(_d.documentElement.clientWidth || _w.innerWidth); + return n < 100 && (n = 360), + n + } + function er() { + var n = Math.round(_d.documentElement.clientHeight || _w.innerHeight); + return n < 100 && (n = 636), + n + } + function ee() { + var n, u, f, e, o; + return __awaiter(this, void 0, void 0, + function() { + var a, l, c, s, h, v; + return __generator(this, + function(y) { + switch (y.label) { + case 0: + if (a = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableSydneyFSCTranslationSrc, !1), !a) return [3, 7]; + l = (u = _G.Lang) !== null && u !== void 0 ? u: "en"; + c = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableSydneyFSCTranslationView, !1); + s = null; + h = { + lang: l, + locationOrigin: (e = _d === null || _d === void 0 ? void 0 : _d.location) === null || e === void 0 ? void 0 : e.origin, + locationPath: (o = _d === null || _d === void 0 ? void 0 : _d.location) === null || o === void 0 ? void 0 : o.pathname + }; + y.label = 1; + case 1: + return (y.trys.push([1, 6, , 7]), !c) ? [3, 3] : [4, se(l)]; + case 2: + return s = y.sent(), + [3, 5]; + case 3: + return [4, oe(l)]; + case 4: + s = y.sent(); + y.label = 5; + case 5: + return s ? (or(s), h.numberStrings = s ? Object.keys(s).length: 0, i(r.System, "SydneyTranslationAjaxLoaded", c ? "TranslationView": "TranslationJSON", h)) : i("CI.Error", "SydneyTranslationAjaxFailed", c ? "TranslationViewEmpty": "TranslationJSONEmpty", h), + [3, 7]; + case 6: + return v = y.sent(), + h.exception = v, + i("CI.Error", "SydneyTranslationAjaxFailed", c ? "TranslationViewError": "TranslationJSONError", h), + [3, 7]; + case 7: + return [2] + } + }) + }) + } + function oe(n) { + return __awaiter(this, void 0, void 0, + function() { + var i, t, r; + return __generator(this, + function(u) { + switch (u.label) { + case 0: + return i = new URL("turing/convtranslation/".concat(n, ".json"), window.location.origin), + [4, ct(i.href, "", "GET")]; + case 1: + return (t = u.sent(), t === null || t === void 0 ? void 0 : t.response) ? (r = JSON.parse(t.response), _w._sydConvTranslation = __assign(__assign({}, + _w._sydConvTranslation), r), [2, _w._sydConvTranslation]) : [2] + } + }) + }) + } + function se(n) { + return __awaiter(this, void 0, void 0, + function() { + var r, t, i; + return __generator(this, + function(u) { + switch (u.label) { + case 0: + return r = new URL("turing/convtranslationview/".concat(n), window.location.origin), + [4, ct(r.href, "", "GET")]; + case 1: + return (t = u.sent(), i = t === null || t === void 0 ? void 0 : t.response, i) ? (sj_appHTML(_d.body, i), _w.rms && _w.rms.start(), [2, _w._sydConvTranslation]) : [2] + } + }) + }) + } + function or(n) { + for (var r, t = 0, + i = Object.keys(n); t < i.length; t++) r = i[t], + CIB.config.strings[r] = n[r] + } + function he() { + CIB.config.features.enableMUIDUserMode = !0; + CIB.config.features.enableSignInUpsellforMuidUser = !0; + sr() + } + function sr() { + var n, i, r, u, f, e = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableBfbCookieConsent, !1), + o = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableCodexMuidConsentTop, !1), + s = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableCodexMuidConsentExplicit, !1), + h = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableCodexMuidConsentImplicit, !1), + c = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableCodexMuidConsentModal, !1), + l = o || s || h || c; + l && (CIB.config.features.enableCodexMuidConsentTop = o, CIB.config.features.enableCodexMuidConsentInlineExplicit = s, CIB.config.features.enableCodexMuidConsentInlineImplicit = h, CIB.config.features.enableCodexMuidConsentModal = c, CIB.config.sydney.muidUserConsentGiven = e && vt || cr(), CIB.onConsentGiven && CIB.onConsentGiven(function() { + lo(); + e && BceSydneyHelper.updateBfbConsent() + })) + } + function hr() { + var n, i, r, u, e; + return __awaiter(this, void 0, void 0, + function() { + var o, c, v, y, p, l, s, h, w, b = this; + return __generator(this, + function(k) { + switch (k.label) { + case 0: + if (gi) return [2]; + if (gi = !0, o = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableThreadsConsent, !1), c = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.threadsAutoSaveOptionset, "autosave"), v = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableFetchUserConsent, !1), y = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableThreadsConsentOnlyAutosave, !1), p = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableInlinePersonalizationConsentCallback, !1), CIB.config.features.enableThreadsConsent = o, CIB.config.features.enableThreadsConsentOnlyAutosave = !!y, o && CIB.onAutosaveConsentChanged) CIB.onAutosaveConsentChanged(function(n) { + switch (n) { + case "Allowed": + f(CIB.config.sydney.request.optionsSets, c); + break; + default: + a(CIB.config.sydney.request.optionsSets, c) + } + }); + return (o && v && CIB.fetchConsent) ? [4, CIB.fetchConsent()] : [3, 2]; + case 1: + return k.sent(), + [3, 8]; + case 2: + if (! (o && CIB.getConsent && CIB.updateConsent)) return [3, 8]; + k.label = 3; + case 3: + return k.trys.push([3, 7, , 8]), + [4, CIB.getConsent()]; + case 4: + return (l = k.sent(), s = l.consentSettings.autoSave, h = l.consentSettings.personalization, !(s && h && (s !== "Allowed" || h !== "Allowed"))) ? [3, 6] : [4, CIB.updateConsent(s, h)]; + case 5: + k.sent(); + k.label = 6; + case 6: + return [3, 8]; + case 7: + return w = k.sent(), + [3, 8]; + case 8: + if (p && CIB.onPersonalizationMessageRendered && CIB.fetchConsent) CIB.onPersonalizationMessageRendered(function() { + return __awaiter(b, void 0, void 0, + function() { + return __generator(this, + function(n) { + switch (n.label) { + case 0: + return [4, CIB.fetchConsent()]; + case 1: + return n.sent(), + [2] + } + }) + }) + }); + return [2] + } + }) + }) + } + function ce() { + var i, n = _w._sydConvConfig, + r = t(n === null || n === void 0 ? void 0 : n.enableMultimediaSearch, !1); + if (r && ((i = CIB.config.multimediaSearch) === null || i === void 0 ? void 0 : i.query)) { + var o = t(n === null || n === void 0 ? void 0 : n.isMobileHost, !1), + u = t(n === null || n === void 0 ? void 0 : n.multimediaSearchFormCode, ""), + f = t(n === null || n === void 0 ? void 0 : n.multimediaSearchEnableMediaCanvas, !0), + s = t(n === null || n === void 0 ? void 0 : n.multimediaSearchMaxImageCount, 3), + c = t(n === null || n === void 0 ? void 0 : n.multimediaSearchEnableCachedImages, !1), + e = t(n === null || n === void 0 ? void 0 : n.multimediaSearchOptionsSets, ""); + e && (CIB.config.sydney.request.optionsSets = h(CIB.config.sydney.request.optionsSets, e)); + CIB.config.features.enableMultimediaSearch = r; + CIB.config.multimediaSearch.maxImageCount = s; + CIB.config.multimediaSearch.enableMediaCanvas = f; + CIB.config.multimediaSearch.enableCachedImages = c; + f && o && (CIB.config.multimediaSearch.query.view = "detailV2", CIB.config.multimediaSearch.query.idpbck = "1"); + u && (CIB.config.multimediaSearch.query.form = u) + } + } + function le() { + var n, i, r, u, f, e, o, s, h, c, l, a, v, y, p, w, b, k, d, g = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableVisualSearch, !1); + if (g) { + var tt = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.removeCameraInputForVisualSearch, !1), + it = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.dVSOC, !1), + rt = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.aimgut, !1), + nt = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.visualSearchSubscriptionId, ""), + ut = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.vsbtnicon, ""), + ft = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.vsbtniconfill, ""), + et = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.eifpiab, !1), + ot = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.emwc, !1), + st = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.eufte, !1), + ht = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.ecambar, !1), + ct = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.eaddimgbar, !1), + lt = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.eaddimgicon, !1), + at = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.evsfre, !1), + vt = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.ekrbu, !1), + yt = t((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.evsptnr, !1), + pt = t((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.evsdirurl, !1), + wt = t((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.eimgsmkcard, !1), + bt = t((d = _w._sydConvConfig) === null || d === void 0 ? void 0 : d.efhof, !1); + tt && (CIB.config.features.enableCameraInputForVisualSearch = !1); + it && (CIB.config.features.enableVisualSearchOrientationCheck = !1); + vt && (CIB.config.visualSearch.baseUrl = window.location.origin); + CIB.config.features.enableVisualSearch = g; + CIB.config.features.enableImageFilePasteInActionBar = et; + CIB.config.features.enableUnsupportedFileTypeError = st; + CIB.config.features.enableVisualSearchFRE = at; + CIB.config.features.enablePartnerVisualSearchUpload = yt; + CIB.config.features.enableImageKnowledgeAnswerCards = wt; + CIB.config.features.enableFlyoutHeaderOverlapFix = bt; + CIB.config.visualSearch.allowImageOnlyUserTurn = rt; + CIB.config.visualSearch.enableMobileWebCamera = ot; + CIB.config.visualSearch.enableCameraInActionBar = ht; + CIB.config.visualSearch.enableAttachImageInActionBar = ct; + CIB.config.visualSearch.sendPartnerImageUrlDirectlyToBot = pt; + CIB.config.visualSearch.useImageAddIcon = lt; + CIB.config.visualSearch.includeCredentialInXHRRequest = !0; + CIB.config.visualSearch.flyoutButtonIcon = ut; + CIB.config.visualSearch.flyoutButtonFillIcon = ft; ! nt || (CIB.config.visualSearch.subscriptionId = nt); + ye(); + pe(); + we() + } + } + function ae() { + var n, i, r; + CIB.config.m365consumer.pluginAuth.getClientId = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginClientId, "ef47e344-4bff-4e28-87da-6551a21ffbe0") + }; + CIB.config.m365consumer.pluginAuth.getAuthority = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginAuthority, "https://login.windows-ppe.net/consumers") + }; + CIB.config.m365consumer.pluginAuth.scope = [t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginAuthScope, "openid")]; + CIB.config.m365consumer.getOptionsSet = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginOptionsSet, "flux_m365consumer_dogfood") + }; + CIB.config.m365consumer.pluginId = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.m365ConsumerOutlookPluginId, "d03ca482-c3c8-4b7c-ace3-b52857208916"); + CIB.config.features.enableM365ConsumerPluginSydneyId = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableM365ConsumerPluginSydneyId, !1) + } + function ve() { + var n, i; + CIB.config.m365ConsumerOneDrive.pluginAuth.getClientId = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginClientId, "ef47e344-4bff-4e28-87da-6551a21ffbe0") + }; + CIB.config.m365ConsumerOneDrive.pluginAuth.getAuthority = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginAuthority, "https://login.windows-ppe.net/consumers") + }; + CIB.config.m365ConsumerOneDrive.pluginAuth.scope = [t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginAuthScope, "openid")]; + CIB.config.m365ConsumerOneDrive.getOptionsSet = function() { + var n; + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.m365ConsumerPluginOneDriveOptionsSet, "flux_onedrive_dogfood") + }; + CIB.config.m365ConsumerOneDrive.pluginId = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.m365ConsumerOneDrivePluginId, "1e1a2734-7a88-4c1c-be1d-a79907b177c0") + } + function ye() { + var i, n = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.visualSearchRestrictedTonesList, null); (n === null || n === void 0 ? void 0 : n.length) > 0 && CIB.config.visualSearch && (CIB.config.visualSearch.restrictedTones = [], n.forEach(function(n) { + CIB.config.visualSearch.restrictedTones.push(n.value) + })) + } + function pe() { + var i, n = CIB.config.visualSearch, + t; ((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.evssid) && n && (t = sj_cook === null || sj_cook === void 0 ? void 0 : sj_cook.get("_SS", "SID"), t && (n.query ? n.query.SID = t: n.query = { + SID: t + })) + } + function we() { + var n, i, r, f = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.evscamprd, !1), + u = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.vscamprdname, ""); + f && u && ((r = _w.SydneyCameraProviderFactory) === null || r === void 0 ? void 0 : r.create(u)) + } + function be() { + var n, i, r, u, f, e, o, s, h, c, l, a, v, y, p, w, b, k, d, g, nt = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableFixCodeXAsBug, !1), + tt = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableStableAutosuggestion, !1), + it = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableEndpointInASTelemetry, !1), + rt = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableAutosuggestMetrics, !1), + ut = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableCvidInAutosuggestAPI, !1), + ft = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableASBackspaceFix, !1), + et = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableGhostingSuggestTelemetry, !1), + ot = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableResetASProperties, !1), + st = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableKSPQPropertiesTracking, !1), + ht = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enableAutoSuggestPerfMetrics, !1), + ct = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableAutoSuggestPerfMetricP50, !1), + lt = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.enableAutoSuggestPerfMetricP90, !1), + at = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableAutoSuggestPerfMetricAvgLatency, !1), + vt = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableAutoSuggestPerfMetricQFT, !1), + yt = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.enableReduceDebouncingAutosuggest, !1), + pt = t((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.enableCachingAutosuggest, !1), + wt = t((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.enableAcceptSuggestionOnRightArrow, !1), + bt = t((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.enableShowAutosuggestButton, !1), + kt = t((d = _w._sydConvConfig) === null || d === void 0 ? void 0 : d.enableASCookieCheckToDisableGhosting, !1), + dt = t((g = _w._sydConvConfig) === null || g === void 0 ? void 0 : g.maxCacheLength, pf); + CIB.config.features.enableFixCodeXAsBug = nt; + CIB.config.features.enableStableAutosuggestion = tt; + CIB.config.features.enableEndpointInASTelemetry = it; + CIB.config.features.enableAutosuggestMetrics = rt; + CIB.config.features.enableCvidInAutosuggestAPI = ut; + CIB.config.features.enableASBackspaceFix = ft; + CIB.config.features.enableGhostingSuggestTelemetry = et; + CIB.config.features.enableResetASProperties = ot; + CIB.config.features.enableKSPQPropertiesTracking = st; + CIB.config.features.enableReduceDebouncingAutosuggest = yt; + CIB.config.features.enableCachingAutosuggest = pt; + CIB.config.features.enableAcceptSuggestionOnRightArrow = wt; + CIB.config.features.enableShowAutosuggestButton = bt; + CIB.config.features.enableASCookieCheckToDisableGhosting = kt; + CIB.config.suggestions.maxCacheLength = dt; + CIB.config.features.enableAutoSuggestPerfMetrics = ht; + CIB.config.features.enableAutoSuggestPerfMetricP50 = ct; + CIB.config.features.enableAutoSuggestPerfMetricP90 = lt; + CIB.config.features.enableAutoSuggestPerfMetricAvgLatency = at; + CIB.config.features.enableAutoSuggestPerfMetricQFT = vt + } + function ke(n) { + var u, f, e, o, s, h, c, l, a, v, y, p, w, b, k, d, g, nt, tt, it, rt, ut, ft, et, ot, ct = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableFileUpload, !1), + lt = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableFileUploadPrivacyMessage, !1), + at = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableMobileFileUpload, !1), + vt = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableFileUploadWebPageUrlInput, !1), + yt = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableFileUploadContextInThreads, !1), + pt = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableTextFilePasteInActionBar, !1), + wt = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enableFileUploadLongContext, !1), + bt = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableFileUploadForAllModes, !1), + kt = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.enableFileUploadDirect, !1), + dt = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableFileUploadPdfSupport, !1), + gt = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableFileUploadOfficeFilesSupport, !1), + ni = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.enableFileUploadAudioSupport, !1), + ti = t((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.enableFileUploadPDFSupportByKED, !1), + ii = t((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.enableFileUploadAnyTypeSupport, !1), + ri = t((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.enableFileUploadAuthorization, !1), + ui = t((d = _w._sydConvConfig) === null || d === void 0 ? void 0 : d.fileSizeLimitation, cu), + fi = t((g = _w._sydConvConfig) === null || g === void 0 ? void 0 : g.audioFileSizeLimitation, lu), + st = t((nt = _w._sydConvConfig) === null || nt === void 0 ? void 0 : nt.fileUploadMaxSizePro, au), + ei = t((tt = _w._sydConvConfig) === null || tt === void 0 ? void 0 : tt.fileUploadFileNameLengthLimitation, vu), + oi = t((it = _w._sydConvConfig) === null || it === void 0 ? void 0 : it.fileMaxCountForGptCreator, yu), + si = t((rt = _w._sydConvConfig) === null || rt === void 0 ? void 0 : rt.fileMaxCountForChat, pu), + hi = t((ut = _w._sydConvConfig) === null || ut === void 0 ? void 0 : ut.enableFileUploadNewUploadFileAPI, !1), + ci = t((ft = _w._sydConvConfig) === null || ft === void 0 ? void 0 : ft.disableFileUploadOptionSets, !1), + li = t((et = _w._sydConvConfig) === null || et === void 0 ? void 0 : et.enableSydFileUploadPartnerUpload, !1), + ht = t((ot = _w._sydConvConfig) === null || ot === void 0 ? void 0 : ot.enableSydFileUploadMaxSizeTiers, !1), + i, + r; + ct && (CIB.config.features.enableFileUpload = !0, at && (CIB.config.features.enableMobileFileUpload = !0)); + lt && (CIB.config.features.enableFileUploadPrivacyMessage = !0); + vt && (CIB.config.features.enableFileUploadWebPageUrlInput = !0); + yt && (CIB.config.features.enableFileUploadContextInThreads = !0); + pt && (CIB.config.features.enableTextFilePasteInActionBar = !0); + wt && (CIB.config.features.enableFileUploadLongContext = !0); + bt && (CIB.config.features.enableFileUploadForAllModes = !0); + kt && (CIB.config.features.enableFileUploadDirect = !0); + dt && (CIB.config.features.enableFileUploadPdfSupport = !0); + gt && (CIB.config.features.enableFileUploadOfficeFilesSupport = !0, typeof CIB.config.features.enableFileUploadDocxSupport != "undefined" && (CIB.config.features.enableFileUploadDocxSupport = !0)); + ni && (CIB.config.features.enableFileUploadAudioSupport = !0); + ti && (CIB.config.features.enableFileUploadPDFSupportByKED = !0); + ii && (CIB.config.features.enableFileUploadAnyTypeSupport = !0); + ri && (CIB.config.features.enableFileUploadAuthorization = !0); + hi && (CIB.config.features.enableSydneyUploadFileAPI = !0); + li && (CIB.config.features.enablePartnerFileUpload = !0); + ci && CIB.config.fileUpload && (CIB.config.fileUpload.extraOptionsSet = [], CIB.config.fileUpload.extraOptionsSetV2 = []); + CIB.config.fileUpload && (i = ht && n ? st: ui, r = ht && n ? st: fi, CIB.config.fileUpload.audioFileSizeLimitation = r, CIB.config.fileUpload.fileSizeLimitationLongContext = i, CIB.config.fileUpload.fileSizeLimitation = i, CIB.config.fileUpload.fileSizeLimitationForChat = i, CIB.config.fileUpload.audioFileSizeLimitationForChat = r, CIB.config.fileUpload.fileSizeLimitationForGptCreator = i, CIB.config.fileUpload.audioFileSizeLimitationForGptCreator = r, CIB.config.fileUpload.fileNameLengthLimitation = ei, CIB.config.fileUpload.fileMaxCountForGptCreator = oi, CIB.config.fileUpload.fileMaxCountForChat = si, de()) + } + function de() { + var r, u, n = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.azureAIDocumentAnalysisFileExtensions, wu), + i = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.audioFileExtensions, bu); (n === null || n === void 0 ? void 0 : n.length) > 0 && CIB.config.features.enableFileUploadOfficeFilesSupport && (CIB.config.fileUpload.azureAIDocumentAnalysisFileExtensions = [], n.forEach(function(n) { + CIB.config.fileUpload.azureAIDocumentAnalysisFileExtensions.push(n.value) + })); (i === null || i === void 0 ? void 0 : i.length) > 0 && CIB.config.features.enableFileUploadAudioSupport && (CIB.config.fileUpload.audioFileExtensions = [], i.forEach(function(n) { + CIB.config.fileUpload.audioFileExtensions.push(n.value) + })) + } + function ge() { + var e, o, s, h, c, l, a, v, y, p, w, b, k, d, g, nt, tt, rt = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableShareWholeThreadMockUp, !1), + ut = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableThreadShareLandingPage, !1), + ft = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableShareConversation, !1), + et = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableShareThreadWithNoCache, !1), + ot = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enableWholeThreadPerformanceFix, !1), + st = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableShareCurrentThreadMessagesfromAPI, !1), + ht = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.enableThreadShareWithoutRenderCardRequest, !1), + ct = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableGetConversationAPIWithSNRProxy, !1), + lt = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableGetSharedMessagesAPIWithSNRProxy, !1), + at = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.enableBICHistory, !1), + vt = t((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.enable2TScreenshot, !1), + yt = t((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.enable2TScreenshotSnR, !1), + it = t((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.enableThreads, !1), + bt = t((d = _w._sydConvConfig) === null || d === void 0 ? void 0 : d.enableThreadsCF, !1), + pt = t((g = _w._sydConvConfig) === null || g === void 0 ? void 0 : g.enableThreadsCopilotMobileUpsell, !1), + n, + u, + wt; + if (rt && (CIB.config.features.enableShareWholeThreadMockUp = rt), ut && (CIB.config.features.enableThreadShareLandingPage = ut), ft && (CIB.config.features.enableShareConversation = ft), et && (CIB.config.features.enableShareThreadWithNoCache = et), ot && (CIB.config.features.enableWholeThreadPerformanceFix = ot), st && (CIB.config.features.enableShareCurrentThreadMessagesfromAPI = st), ht && (CIB.config.features.enableThreadShareWithoutRenderCardRequest = ht), ct && (CIB.config.features.enableGetConversationAPIWithSNRProxy = ct), lt && (CIB.config.features.enableGetSharedMessagesAPIWithSNRProxy = lt), at && (CIB.config.features.enableBICHistory = at), vt && (CIB.config.features.enableAnswerScreenshot = vt), yt && (CIB.config.features.enableAnswerScreenshotSnR = yt), pt && (CIB.config.features.enableThreadsCopilotMobileUpsell = pt), it) { + if (CIB.config.features.enableThreads = it, n = t((nt = _w._sydThreads) === null || nt === void 0 ? void 0 : nt.threads, null), n && n.length > 0) for (u = 0; u < n.length; u++) CIB.addThread(n[u]); + wt = t((tt = _w._sydConvConfig) === null || tt === void 0 ? void 0 : tt.threadsAutoSaveOptionset, "autosave"); + f(CIB.config.sydney.request.optionsSets, wt) + } (it || bt) && i(r.System, "THREADS", "1", "1"); + CIB.config.sydney.request.scenario !== "SERP" && hr() + } + function no() { + var n, i, r, u = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableTypingIndicatorAnimation, !1), + f = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableTypingIndicatorDemoteStyle, !1), + e = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.typingIndicatorAnimationDuration, tf); + u && (CIB.config.features.enableTypingIndicatorAnimation = !0, CIB.config.messaging.typingIndicatorAnimationDuration = e); + f && (CIB.config.features.enableTypingIndicatorDemoteStyle = !0) + } + function to() { + var n, i, r, u, f, e, o, s, h, c, l, v = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableAdSlugsDesktop, !1), + y = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableAdSlugsMobile, !1), + p = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableSearchQueryForInlineAds, !1), + w = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableDevFormOverrideForAds, !1), + b = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableFixForInlineAdsSQ, !1), + a = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.codexPartnerScenario, ""), + k = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableRenderChatAdsOnSerp, !1), + d = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableInlineAdsProcessingV2, !1), + g = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableInlineAdsContainer, !1), + nt = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.disableHoverAdsClickout, !1), + tt = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableUniqueSlotId, !1); + v && (CIB.config.features.enableAdSlugsDesktop = !0); + y && (CIB.config.features.enableAdSlugsMobile = !0); + p && (CIB.config.features.enableSearchQueryForInlineAds = !0); + w && (CIB.config.features.enableDevFormOverrideForAds = !0); + b && (CIB.config.features.enableFixForInlineAdsSQ = !0); + a !== "" && (CIB.config.sydney.request.scenario = a); + k && (CIB.config.features.enableSlottedContentForAds = !0, CIB.config.features.enableSlottedContentForInlineAds = !0); + d && (CIB.config.features.enableInlineAdsProcessingV2 = !0); + g && (CIB.config.features.enableInlineAdsContainer = !0); + nt && (CIB.config.features.enableApplyLinkToHoverAds = !1); + CIB.config.features.enableInlineAdsDynamicWidth = !0; + tt && (CIB.config.features.enableUniqueSlotId = !0) + } + function io() { + var n = _w._sydConvConfig, + u = t(n === null || n === void 0 ? void 0 : n.enableShopgptWebcomponents, !1), + r, + i; + u && (CIB.config.features.enableInlineComponents = !0, CIB.config.features.enableDynamicWebcomponent = !0); + r = t(n === null || n === void 0 ? void 0 : n.enableShopgptShoppingSkills, !1); + r && (i = t(n === null || n === void 0 ? void 0 : n.shopgptShoppingSkillsOptionset, ""), i && f(CIB.config.sydney.request.optionsSets, i)) + } + function ro() { + var n, i, r, u, f, e, o, s = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableSydneySapphireUpsellMessageActions, !1), + h = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableSydneySapphireUpsellEndOfChat, !1), + c = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableSydneySapphireUpsellVisualSearch, !1), + l = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.sydneySapphireUpsellTreatment, 0), + a = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.isAccountLinkedWithActiveAAD, !1), + v = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.sydneyContinueOnPhoneShortenQRCodeUrl, "https://bingapp.microsoft.com/bing?style=newbing"), + y = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.sydSapphireUpsellVisualSearchQRCodeUrl, "https://bingapp.microsoft.com/bing?adjust=13uz7blz_13evwnmy"); + s && !a && (CIB.config.features.enableSydSapphireUpsellOnMessageActions = s, CIB.config.mobileUpsell.sydSapphireUpsellTreatment = l, CIB.config.mobileUpsell.qrCodeBaseUrl = v); + h && (CIB.config.features.enableSydSapphireUpsellOnEndOfChat = h, CIB.config.mobileUpsell.sydSapphireUpsellTreatment = l); + c && (CIB.config.features.enableSydSapphireUpsellVisualSearch = c, CIB.config.mobileUpsell.qrCodeVisualSearchUrl = y) + } + function uo() { + var i, r, u, f, e, o, s, l = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.sydOptionSets, !1), + a = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.isSydCorpnet, !1), + v = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.noInitOpts, !1), + y = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.extraSappOptions, ""), + p = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.extraEdgeOptions, ""), + w = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.extraBceOptions, ""), + k = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.removeDeepleo, !1), + d = new URLSearchParams(_w.location.search.toLowerCase()), + b = d.get(fu.toLowerCase()), + n, + c; (v || l != "" || a && b || y || p || w) && (n = v ? [] : CIB.config.sydney.request.optionsSets, n = h(n, l), a && (n = h(n, b)), n = h(n, y), n = h(n, p), n = h(n, w), k && (c = n.indexOf("deepleo"), c >= 0 && n.splice(c, 1)), CIB.config.sydney.request.optionsSets = n) + } + function fo() { + var h, c, l, v, y, p, w, b, k, d, g, nt, tt, it, rt, ut, ft, et, ot, st, ht, ct, gt = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.toneDefault, ((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.isCCP) ? n.CREATIVE_TONE: n.BALANCED_TONE), + ni = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.userPriorityLevel, 999), + ti = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableUserPriorityLevel, !1), + pt = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableTonePerf, !1), + dt, + yt; + s = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.enableNoToneOpt, !1); ((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.shareLoadingUI) && (CIB.config.features.enableShareLoadingUI = !0); + var i = !ti || ni > 0, + lt = i ? t((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.balTone, "") : "harmonyv3", + at = t((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.crtTone, ""), + vt = t((d = _w._sydConvConfig) === null || d === void 0 ? void 0 : d.prcTone, ""), + wt = t((g = _w._sydConvConfig) === null || g === void 0 ? void 0 : g.sydBalOpts, ""), + bt = t((nt = _w._sydConvConfig) === null || nt === void 0 ? void 0 : nt.sydCrtOpts, ""), + kt = t((tt = _w._sydConvConfig) === null || tt === void 0 ? void 0 : tt.sydPrcOpts, ""), + r = i ? t((it = _w._sydConvConfig) === null || it === void 0 ? void 0 : it.sydBalExtraOpts, "") : "", + f = i ? t((rt = _w._sydConvConfig) === null || rt === void 0 ? void 0 : rt.sydCrtExtraOpts, "") : "", + o = i ? t((ut = _w._sydConvConfig) === null || ut === void 0 ? void 0 : ut.sydPrcExtraOpts, "") : ""; + wt && (r += (r !== "" ? ",": "") + wt); + bt && (f += (f !== "" ? ",": "") + bt); + kt && (o += (o !== "" ? ",": "") + kt); + r && (e.Balanced = r.split(",")); + f && (e.Creative = f.split(",")); + o && (e.Precise = o.split(",")); + dt = t((ft = _w._sydConvConfig) === null || ft === void 0 ? void 0 : ft.enableCleanUpBicOpts, !1); + dt && (a(e.Balanced, "saharagenconv5"), a(e.Creative, "gencontentv3"), a(e.Precise, "gencontentv3")); (lt || s && lt == "") && (u[n.BALANCED_TONE] = lt); (at || s && at == "") && (u[n.CREATIVE_TONE] = at); (vt || s && vt == "") && (u[n.PRECISE_TONE] = vt); + pt && (CIB.config.features.enableTonePerf = pt); + CIB.config.features.enableGPT4TurboSwitch = t((et = _w._sydConvConfig) === null || et === void 0 ? void 0 : et.enableGPT4TurboSwitch, !1); + CIB.config.features.enableResponseToneSelector = !0; + CIB.config.features.enablePersistentResponseToneSelector = t((ot = _w._sydConvConfig) === null || ot === void 0 ? void 0 : ot.enablePersistentToneSelector, !1); + CIB.config.features.enableResponseToneObjects = (ht = (st = _w._sydConvConfig) === null || st === void 0 ? void 0 : st.enableSuppressTones) !== null && ht !== void 0 ? ht: !1; + CIB.config.features.enableResponseToneColorThemes = !0; + yt = Object.keys(u); ((ct = _w._sydConvConfig) === null || ct === void 0 ? void 0 : ct.enableSuppressTones) ? CIB.config.sydney.responseTones = yt.map(function(n) { + var t, i, r = (i = (t = _w._sydConvConfig) === null || t === void 0 ? void 0 : t["suppressKnob".concat(n)]) !== null && i !== void 0 ? i: 0; + return { + tone: n, + disabled: r + } + }) : CIB.config.sydney.responseToneOptions = yt; + yo(gt); + wo() + } + function wt(i) { + var u, f, e, o, s, h, r, c; (t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableSyntheticStreamSpeedBasedOnTone, !1) && (r = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.syntheticStreamSpeed, ui), i === n.BALANCED_TONE && (CIB.config.messaging.messageBufferWorkerStreamDelayMS = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.syntheticStreamSpeedForBalancedTone, r)), i === n.CREATIVE_TONE && (CIB.config.messaging.messageBufferWorkerStreamDelayMS = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.syntheticStreamSpeedForCreativeTone, r)), i === n.PRECISE_TONE && (CIB.config.messaging.messageBufferWorkerStreamDelayMS = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.syntheticStreamSpeedForPreciseTone, r))), c = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableStreamSyntheticTextResponses, !1), c) && (CIB.config.messaging.streamSyntheticTextResponses = eo(i)) + } + function eo(i) { + var r, f, e, o = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableStreamSyntheticTextResponsesForBalancedTone, !1), + h = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableStreamSyntheticTextResponsesForCreativeTone, !1), + c = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableStreamSyntheticTextResponsesForPreciseTone, !1); + return o && (i === n.BALANCED_TONE && u[n.BALANCED_TONE] === "galileo" || s && u[n.BALANCED_TONE] === "") || h && (i === n.CREATIVE_TONE && u[n.CREATIVE_TONE] === "h3imaginative" || s && u[n.CREATIVE_TONE] === "") || c && (i === n.PRECISE_TONE && u[n.PRECISE_TONE] === "h3precise" || s && u[n.PRECISE_TONE] === "") + } + function oo(n) { + if (!n) return ut.Demote; + for (var t in ut) if (t.toLowerCase().trim() === n.toLowerCase().trim()) return ut[t]; + return ut.Demote + } + function so() { + var t = sj_cook.get(n.userCook, sf), + i = oo(t); + CIB.config.sydney.bingFirstPageAdultFilter = i + } + function ho(n) { + ir = n + } + function co() { + return ir + } + function cr() { + var i, r = sj_cook.get(n.userCook, p), + e; + if (w) { + var o = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.bceTermsOfUseVersion, 1), + u = sj_cook.get(hi, p), + s = !!r || !!u, + f = s ? Number(r) || Number(u) || 1 : 0; + return !! f && f >= o + } + return e = sj_cook.get(g, g), + r === e + } + function lo() { + var u, f, e, o, s, h, c, l, a, k = sj_cook.get(g, g), + d = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.bceTermsOfUseVersion, 1), + y = w ? d.toString() : k, + v, + b; + sj_cook.set(n.userCook, p, y, !0, "/", null); + sj_cook.set(hi, p, y, !0, "/", null); + i(r.System, "MuidConsentProvided", "MuidUser", { + IsConsent: "1" + }); + CIB.config.sydney.muidUserConsentGiven = !0; + CIB.config.features.enableSuggestionBarInUnexpandedChatAnswer && (v = (o = (e = (f = _d.querySelector(".b_ans #b_sydTigerCont")) === null || f === void 0 ? void 0 : f.querySelector("cib-serp")) === null || e === void 0 ? void 0 : e.shadowRoot) === null || o === void 0 ? void 0 : o.querySelector("cib-see-more-container"), b = (a = (l = (c = (h = (s = _d.querySelector(".b_ans #b_sydTigerCont")) === null || s === void 0 ? void 0 : s.querySelector("cib-serp")) === null || h === void 0 ? void 0 : h.shadowRoot) === null || c === void 0 ? void 0 : c.querySelector("cib-conversation")) === null || l === void 0 ? void 0 : l.shadowRoot) === null || a === void 0 ? void 0 : a.querySelector("cib-suggestion-bar"), v && b && v.setAttribute("has-suggestions", "true")) + } + function ao() { + if (typeof CIB.version != "undefined" && CIB.version && CIB.version.version && typeof sj_cook != "undefined" && sj_cook) { + var t = CIB.version.version, + u = sj_cook.get(n.userCook, ci); + u && u === t || (sj_cook.set(n.userCook, ci, t, !0, "/", null), i(r.System, "CIB", "CIBInfo", { + version: t + })) + } + } + function vo() { + var n, u = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.DedicatedIpType, "unknown"); ["nochat", "nochatstrict"].indexOf(u) > -1 && i(r.System, "NoChatVariant", "NoChatVariantInfo", { + DedicatedIpType: u + }) + } + function bt() { + var i, r = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableToneCookExpiry, !1), + u = r ? n.toneCook: n.userCook; + return sj_cook.get(u, n.toneCrumb) + } + function yo(e) { + var s, h, c, a, v, y, b = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableToneCookExpiry, !1), + p = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableBalancedSerp, !1), + g = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enableAlwaysCreativeSerp, !1), + nt = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.enableAlwaysBalancedSerp, !1), + tt = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableSuperOptionsSets, !1), + it = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableBalancedSerpLog, !1), + o = bt(), + w, + k; + if (it && o != n.BALANCED_TONE && i(r.System, "BalSerpOverride", "Tone", { + tone: o + }), lr(o), bo()) { + w = ft(fi).toLowerCase().trim(); + CIB.responseTone = rt[w]; + kt(CIB.responseTone, !1, b); + i(r.System, "SET_TONE_FROM_URL", w, {}); + i(r.System, d, "Tone", { + tone: CIB.responseTone + }); + return + } + g ? (o = n.CREATIVE_TONE, CIB.responseTone = o) : nt ? (o = n.BALANCED_TONE, CIB.responseTone = o) : !p && o != null && u.hasOwnProperty(o) ? (CIB.responseTone = o, i(r.System, d, "Tone", { + tone: o + })) : (b && (k = sj_cook.get(n.userCook, n.hasSetToneCrumb), k == "1" && (sj_cook.set(n.userCook, n.hasSetToneCrumb, "0", !0, "/", null), i(r.System, "ResetTone", "Tone", {}))), CIB.responseTone = e, o = e, i(r.System, "DefaultTone", "Tone", { + tone: o + })); + tt && f(CIB.config.sydney.request.optionsSets, rf); + yt = CIB.config.sydney.request.optionsSets.length; ! p && u.hasOwnProperty(o) ? (f(CIB.config.sydney.request.optionsSets, u[o]), CIB.config.sydney.request.optionsSets = et(CIB.config.sydney.request.optionsSets, o), l = o, wt(l)) : p && u.hasOwnProperty(n.BALANCED_TONE) && (f(CIB.config.sydney.request.optionsSets, u[n.BALANCED_TONE]), CIB.config.sydney.request.optionsSets = et(CIB.config.sydney.request.optionsSets, n.BALANCED_TONE), l = n.BALANCED_TONE, wt(n.BALANCED_TONE)) + } + function po(n) { + var u, f = n && n.length > 1 ? n[1] : null, + e = f ? f.toLowerCase().trim() : "", + o, + s; + f && rt.hasOwnProperty(e) && (o = n && n.length > 2 ? n[2] : !1, s = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableToneCookExpiry, !1), CIB.responseTone = rt[e], kt(CIB.responseTone, o, s), i(r.System, d, "Tone", { + tone: CIB.responseTone + })) + } + function wo() { + var n, u, f; + sj_evt.bind(ff, po, !0); + var e = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableToneCookExpiry, !1), + o = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.isCompliantSydneyEndpointEnabled, !1), + s = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableToneChangedLogs, !1); + if (!o && CIB.onResponseToneChanged) CIB.onResponseToneChanged(function(n) { + kt(n, !0, e) + }); + if (s) CIB.onResponseToneChanged(function(n) { + i(r.System, "ToneChanged", "Tone", { + newTone: n + }) + }) + } + function ft(n) { + var i = _w.location.search, + r = new URLSearchParams(i), + t = r.get(n); + return t ? t: "" + } + function bo() { + var n, r = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableSetToneFromUrl, !1), + i; + return r ? (i = ft(fi), i && rt.hasOwnProperty(i.toLowerCase().trim())) : !1 + } + function kt(t, i, r) { + var c = [u[t]].concat(e[t]).toString(), + h, + o; + t !== bt() && yr("ChangedTone", "Tone", { + newTone: t + }); + i && (r ? (h = go(), sj_cook.set(n.toneCook, n.toneCrumb, t, !0, "/", h), sj_cook.set(n.toneCook, n.toneOptsCrumb, c, !0, "/", h), sj_cook.set(n.userCook, n.hasSetToneCrumb, "1", !0, "/", null)) : (sj_cook.set(n.userCook, n.toneCrumb, t, !0, "/", null), sj_cook.set(n.userCook, n.toneOptsCrumb, c, !0, "/", null))); + u.hasOwnProperty(t) && (o = vr(CIB.config.sydney.request.optionsSets, Object.keys(u)), o !== -1 ? s && u[t] === "" ? (yt = o, CIB.config.sydney.request.optionsSets.splice(o, 1)) : CIB.config.sydney.request.optionsSets[o] = u[t] : s ? f(CIB.config.sydney.request.optionsSets, u[t], yt) : f(CIB.config.sydney.request.optionsSets, u[t]), CIB.config.sydney.request.optionsSets = et(CIB.config.sydney.request.optionsSets, t, l), lr(CIB.responseTone), l = t, wt(l)) + } + function lr(i) { + var r, u, e = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableThreadsConsent, !1), + o = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.isBingUserSignedIn, !1); + e && o && i !== n.BALANCED_TONE ? (f(CIB.config.sydney.request.optionsSets, "enable_user_consent"), f(CIB.config.sydney.request.optionsSets, "fluxmemcst")) : (a(CIB.config.sydney.request.optionsSets, "enable_user_consent"), a(CIB.config.sydney.request.optionsSets, "fluxmemcst")) + } + function ko() { + var u, f, e, o = n.getConfigOrDefault((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableBalancedSerp, !1), + t, + i, + s; + o && !di && (di = !0, o && (t = n.getCookieTone(), t != null && t != n.BALANCED_TONE && (i = CIB.manager.conversation._lastMessage, s = (e = (f = CIB === null || CIB === void 0 ? void 0 : CIB.config) === null || f === void 0 ? void 0 : f.greeting) === null || e === void 0 ? void 0 : e.shouldSendBotGreeting, CIB.config.greeting.shouldSendBotGreeting = !1, n.shouldResetBotGreeting = !1, CIB.responseTone = t, n.lastQuery = "", i && i.text && CIB.registerContext([{ + author: "bot", + source: "serpBalResp", + text: i.text + }]), n.shouldResetBotGreeting = !0, CIB.config.greeting.shouldSendBotGreeting = s, n.SydLog(r.System, "SetCookToneAfterSERP", "Tone", { + tone: t + })))) + } + function ar(n) { + var i, r = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.isCompliantSydneyEndpointEnabled, !1); + n && !r && (CIB.config.speech.language = n, f(CIB.config.sydney.request.optionsSets, "cdxslang")) + } + function go() { + var n = new Date; + return n.setDate(n.getDate() + (n.getHours() < 2 ? 1 : 2)), + n.setHours(2), + n.setMinutes(0), + n.setSeconds(0), + n.setMilliseconds(0), + (n.getTime() - (new Date).getTime()) / 6e4 + } + function et(n, t, i) { + return i === void 0 && (i = ""), + i != "" && e.hasOwnProperty(i) && (n = ns(n, e[i])), + t != "" && e.hasOwnProperty(t) && e[t].forEach(function(t) { + f(n, t) + }), + n + } + function f(n, t, i) { + i === void 0 && (i = -1); + t && n.indexOf(t) < 0 && (i < 0 ? n.push(t) : n.splice(i, 0, t)) + } + function a(n, t) { + var i = n.indexOf(t); + i >= 0 && n.splice(i, 1) + } + function ns(n, t) { + return t.forEach(function(t) { + var i = n.indexOf(t); + i >= 0 && n.splice(i, 1) + }), + n + } + function vr(n, t) { + for (var f, r, i = 0; i < t.length; i++) if (f = t[i], r = n.indexOf(u[f]), r >= 0) return r; + return - 1 + } + function dt(n, t) { + var i = {}; + return t ? n.locType && (i.LocationType = n.locType) : n.accuracy && (i.Accuracy = n.accuracy), + n.state && (i.State = decodeURI(n.state)), + n.city && (i.City = decodeURI(n.city)), + n.lat && n.long && (i.Center = { + Latitude: parseFloat(n.lat), + Longitude: parseFloat(n.long) + }), + n.source && (i.LocationSource = n.source), + n.altitude && (i.Altitude = n.altitude), + n.altitudeAcc && (i.AltitudeAccuracy = n.altitudeAcc), + n.displayName && (i.DisplayName = n.displayName), + n.name && (i.Name = n.name), + n.heading && (i.Heading = n.heading), + n.isValidLocation && (i.IsValidLocation = n.isValidLocation), + n.range && (i.Radius = n.range), + n.speed && (i.Speed = n.speed), + n.ts && (i.Timestamp = n.ts), + n.ets && (i.ExpiryTimestamp = n.ets), + i + } + function ts() { + var t = (new Date).getTimezoneOffset(), + r = Math.floor(Math.abs(t / 60)), + u = Math.abs(t % 60), + i; + t < 0 ? i = "+" + o(r) + ":" + o(u) : t > 0 ? i = "-" + o(r) + ":" + o(u) : t == 0 && (i = "Z"); + var n = new Date, + f = n.getDate(), + e = n.getMonth() + 1, + s = n.getFullYear(), + h = n.getHours(), + c = n.getMinutes(), + l = n.getSeconds(); + return o(s) + "-" + o(e) + "-" + o(f) + "T" + o(h) + ":" + o(c) + ":" + o(l) + i + } + function o(n) { + return n < 10 ? "0" + n: n + } + function h(n, t) { + if (t) { + var i = t.split(","); + return n.concat(i) + } + return n + } + function t(n, t) { + return typeof n != "undefined" ? n: t + } + function is(n) { + var t = __spreadArray([], CIB.config.sydney.request.optionsSets, !0), + i; + return u.hasOwnProperty(n) && (i = vr(t, Object.keys(u)), i !== -1 && (t[i] = u[n]), t = et(t, n, l)), + t + } + function rs() { + var t, r = n.getConfigOrDefault((t = _w._sydConvConfig) === null || t === void 0 ? void 0 : t.enableChatPageCookieBannerFix, !1), + i; + return r ? (i = _ge("bnp_cookie_banner"), i && _w && _w.getComputedStyle(i).display !== "none") : !1 + } + function i(n, i, u, f) { + var h, c, l, a, v, y, o, s, e, p, w, k, d, g, b; + f === void 0 && (f = null); + e = []; + p = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.isCompliantSydneyEndpointEnabled, !1); + p && e.push("IsBizChat", p.toString()); + w = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.isBingChatForEnterprise, !1); + w && e.push("IsBCE", w.toString()); + k = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.isBingChatForFaculty, !1); + d = t((a = _w._sydConvConfig) === null || a === void 0 ? void 0 : a.isBingChatForStudents, !1); + k && e.push("IsBCSFaculty", "true"); + d && e.push("IsBCSStudent", "true"); + g = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableTelemetryPrivacy, !1); + g && (f = us(f)); + b = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableCompliantLogger, !1); + f == null ? (Log.Log.apply(Log, __spreadArray([n, "Codex", i, !1, "Namespace", u], e, !1)), typeof MsbSydneyHelper != "undefined" && b && n === r.Interaction && ((o = MsbSydneyHelper.compliantLog) === null || o === void 0 ? void 0 : o.call.apply(o, __spreadArray([MsbSydneyHelper, n, i], e, !1)))) : (Log.Log.apply(Log, __spreadArray([n, "Codex", i, !1, "Namespace", u, "CustomData", JSON.stringify(f)], e, !1)), typeof MsbSydneyHelper != "undefined" && b && n === r.Interaction && ((s = MsbSydneyHelper.compliantLog) === null || s === void 0 ? void 0 : s.call.apply(s, __spreadArray([MsbSydneyHelper, n, i], __assign(__assign({}, + e), f), !1)))) + } + function us(n) { + return n ? (vf.forEach(function(t) { + var i, r; + n[t] !== undefined && (n[t] = at); ((i = n.CustomData) === null || i === void 0 ? void 0 : i[t]) !== undefined && (n.CustomData[t] = at); ((r = n.EncryptedData) === null || r === void 0 ? void 0 : r[t]) !== undefined && (n.EncryptedData[t] = at) + }), n) : n + } + function yr(n, t, u) { + i(r.Interaction, n, t, u) + } + function fs() { + if (history && (n.enableConvModeSwitchAjax && (_w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + }), sj_be(_w, "popstate", + function(i) { + var f, e, o, s, h, c, l, a, y, p, w, b, r, u; + n.enableBingChatPath = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableBingChatPath, !1); + n.enableConvModeSwitchAjax = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableConvModeSwitchAjax, !1); + var tt = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableNotebookMode, !1), + k = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableBackFromNotebook, !1), + it = tt && k && _G[n.SYD_MODE] === "notebook"; + if (v = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.isCopilotChat, !1), n.enableConvModeSwitchAjax) if (r = _w._currentRoute, _w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + }, + n.enableBingChatPath) { + if (u = _ge("sb_form_q"), ot((c = _w._currentRoute) === null || c === void 0 ? void 0 : c.search) != (u === null || u === void 0 ? void 0 : u.value) && (_w._isConvAjaxUpdated || ((a = (l = _w._currentRoute) === null || l === void 0 ? void 0 : l.state) === null || a === void 0 ? void 0 : a.ajaxserp) === !0)) { + var d = _w.location, + g = d.href, + nt = g.indexOf("/search"); + if (nt >= 0) { + window.location.reload(); + return + } + } + } else { + if (it) { + sj_evt.fire("switchToConversation"); + sj_evt.fire("showSydFSC", undefined, undefined, undefined, !0); + return + } + if (ot(r === null || r === void 0 ? void 0 : r.search) != ot((y = _w._currentRoute) === null || y === void 0 ? void 0 : y.search) && (_w._isConvAjaxUpdated || ((w = (p = _w._currentRoute) === null || p === void 0 ? void 0 : p.state) === null || w === void 0 ? void 0 : w.ajaxserp) === !0)) { + var d = _w.location, + g = d.href, + nt = g.indexOf("/search"); + if (nt >= 0) { + window.location.reload(); + return + } + } + } ((b = i === null || i === void 0 ? void 0 : i.state) === null || b === void 0 ? void 0 : b.inConvMode) ? _G[n.SYD_MODE] == "serp" ? sj_evt.fire("showSydFSC", null, null, !1, !0) : k && _G[n.SYD_PREV_MODE] === "notebook" && sj_evt.fire("showNotebook") : v || !(i === null || i === void 0 ? void 0 : i.state) || i.state.inConvMode || _G[n.SYD_MODE] != "conversation" || (sj_evt.fire("preHideSydFSCByHistory"), sj_evt.fire("hideSydFSC", !0)) + }), URLSearchParams)) { + var i = new URLSearchParams(window.location.search); + bi = i.get("showconv") === "1" + } + } + function es(u) { + var f, e, o, s, h, c = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.isNewBingChat, !1), + l = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableDynamicFormCode, !1); + if (n.enableBingChatPath = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableBingChatPath, !1), history) { + if ((bi || c) && ki && u) { + ki = !1; + history.replaceState({ + inConvMode: u + }, + document.title || ""); + n.enableConvModeSwitchAjax = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableConvModeSwitchAjax, !1); + i(r.System, "SydHistory", "replace", { + enableConvModeSwitchAjax: n.enableConvModeSwitchAjax, + showconv: u + }); + n.enableConvModeSwitchAjax && (_w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + }); + c && (_w._chatRoute = _w.location.pathname); + return + } + wi ? pr(u) : n.enableBingChatPath ? c && l ? sj_evt.bind("ConvModeNavigate", + function a(n) { + var t = n && n.length > 1 ? n[1] : null; + wr(u, t); + sj_evt.unbind("ConvModeNavigate", a) + }) : wr(u, null) : (history.pushState({ + inConvMode: u + }, + document.title || ""), n.enableConvModeSwitchAjax = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableConvModeSwitchAjax, !1), i(r.System, "SydHistory", "push", { + enableConvModeSwitchAjax: n.enableConvModeSwitchAjax, + showconv: u + }), n.enableConvModeSwitchAjax && (_w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + })) + } + } + function pr(u) { + var f, e = new URL(window.location.href); + e.searchParams.set("showconv", u ? "1": "0"); + history.pushState({ + inConvMode: u + }, + b(u), e); + n.enableConvModeSwitchAjax = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.enableConvModeSwitchAjax, !1); + i(r.System, "SydHistory", "push", { + enableConvModeSwitchAjax: n.enableConvModeSwitchAjax, + showconv: u, + Paramflag: 1 + }); + n.enableConvModeSwitchAjax && (_w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + }) + } + function os() { + var t, n = new URL(window.location.href); ((t = n === null || n === void 0 ? void 0 : n.searchParams) === null || t === void 0 ? void 0 : t.get("showntbk")) || (n.searchParams.append("showntbk", "1"), history.pushState({ + inConvMode: !0 + }, + b(!0), n)) + } + function ss() { + var t, n = new URL(window.location.href), + i = (t = n === null || n === void 0 ? void 0 : n.searchParams) === null || t === void 0 ? void 0 : t.get("showntbk"); + i === "1" && (n.searchParams["delete"]("showntbk"), history.replaceState({ + inConvMode: !0 + }, + b(!0), n)) + } + function wr(u, f) { + var e, o, h = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.isMobileHost, !1); + if (!h) { + var s = _ge("sb_form_q"), + c = _ge("sb_form"), + l = _w._chatRoute || "/chat", + a = u ? l: "/search"; + history.pushState({ + inConvMode: u + }, + b(u), a + "?q=" + encodeURIComponent(f || (s === null || s === void 0 ? void 0 : s.value) || "Bing AI") + hs(c)); + n.enableConvModeSwitchAjax = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enableConvModeSwitchAjax, !1); + i(r.System, "SydHistory", "push", { + enableConvModeSwitchAjax: n.enableConvModeSwitchAjax, + showconv: u, + Paramflag: 1 + }); + n.enableConvModeSwitchAjax && (_w._currentRoute = { + state: _w.history.state, + href: _w.location.href, + search: _w.location.search + }) + } + } + function hs(n) { + var r = "", + i, t, u; + if (!n) return r; + for (i = n.getElementsByTagName("input"), t = 0; t < i.length; t++) i[t].type === "hidden" && i[t].name != "form" && (r += "&" + i[t].name + "=" + encodeURIComponent(i[t].value)); + return u = _w._ncpformCode || (_w._isConvAutoHide ? "ATCVAJ": "CONVAJ"), + r + "&form=" + u + } + function b(n) { + return y && it ? n ? y: it: document.title + } + function cs(n) { + var i; + y = t((i = _w._sydConvTranslation) === null || i === void 0 ? void 0 : i.pageTitleText, ""); + y && it && (document.title = b(n)) + } + function ls() { + var t, n; ((t = history === null || history === void 0 ? void 0 : history.state) === null || t === void 0 ? void 0 : t.inConvMode) && (n = _ge("sb_form_q"), n && n.value ? sj_evt.fire("showSydFSC", n.value) : sj_evt.fire("showSydFSC")) + } + function as() { + function w(n) { + if (n && n.length >= 2) { + var t = n[1].waitlist; + t && t == "2" && (CIB.config.features.enableMUIDUserMode = !1, CIB.config.messaging.maxTurnsPerConversation = it, sj_evt.unbind("rewready", w)) + } + } + var i, r, u, f, e, o, s, h, c, l, d = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableSydTigerAns, !1), + g = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableSydAjaxReset, !1), + y, + p, + a, + b, + k, + v; + CIB.onModeChanged(function(t) { + switch (t) { + case "conversation": + sj_evt.fire("showSydFSC"); + CIB.config.sydney.request.scenario === "SERP" && hr(); + break; + case "off-stage": + if (n.ignoreFirstOffStage) { + n.ignoreFirstOffStage = !1; + CIB.showConversation(); + break + } + sj_evt.fire("hideSydFSC"); + break; + default: + Log.Log("ClientInst", "Codex", "ModeChangeError", !1, "CustomData", JSON.stringify({ + mode: t + })) + } + }); + if (d && (y = _ge("b_sydTigerCont"), y)) { + p = _d.querySelector("#b_pole #b_sydTigerCont") != null; + CIB.onSerpSlotSuggestionInvoked(function() { + _G[n.SYD_MODE] != "conversation" && (n.LogIntEvent("ConversationViewEnter", p ? "Pole": "RightRail", { + source: "ChatBubble" + }), sj_evt.fire("showSydFSC")) + }); + a = _ge("sb_form_q"); + a && (CIB.config.sydney.slottedModeTurnIndex = ru() && ((e = (f = (u = CIB === null || CIB === void 0 ? void 0 : CIB.vm) === null || u === void 0 ? void 0 : u.conversation) === null || f === void 0 ? void 0 : f.turns) === null || e === void 0 ? void 0 : e.length) ? Math.max(CIB.vm.conversation.turns.length - 1, 0) : 0, n.lastQuery = a.value.toLowerCase().trim()) + } + g && sj_evt.bind("ajax.unload", + function() { + var n, t, i, r, u, f, e, o, s, h, c; + CIB && (c = (t = (n = CIB === null || CIB === void 0 ? void 0 : CIB.config) === null || n === void 0 ? void 0 : n.greeting) === null || t === void 0 ? void 0 : t.shouldSendBotGreeting, CIB.config.greeting.shouldSendBotGreeting = !1, (u = (r = (i = CIB === null || CIB === void 0 ? void 0 : CIB.manager) === null || i === void 0 ? void 0 : i.stream) === null || r === void 0 ? void 0 : r.subscription) === null || u === void 0 ? void 0 : u.dispose(), (e = (f = CIB === null || CIB === void 0 ? void 0 : CIB.manager) === null || f === void 0 ? void 0 : f.stream) === null || e === void 0 ? void 0 : e.complete(), (s = (o = CIB === null || CIB === void 0 ? void 0 : CIB.manager) === null || o === void 0 ? void 0 : o.stream) === null || s === void 0 ? void 0 : s.finalizeStreamSubscription(), (h = CIB === null || CIB === void 0 ? void 0 : CIB.manager) === null || h === void 0 ? void 0 : h.resetConversation(), CIB.config.greeting.shouldSendBotGreeting = c) + }); + var nt = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.codexMUIDUser, !1), + tt = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableSigninTurnFix, !0), + it = t((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.maxTurnsPerConversation, lt); + if (nt && tt && sj_evt.bind("rewready", w, !0), CIB.onModalVisibilityChanged) CIB.onModalVisibilityChanged(function(n) { + var t = _ge("b_header"); + t && (n ? Lib.CssClass.add(t, pi) : Lib.CssClass.remove(t, pi)) + }); + b = t((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enableThreads, !1); + k = t((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.isAccountLinkedWithActiveAAD, !1); ! b && k && (v = _qs("body"), v && Lib.CssClass.add(v, yf)) + } + function vs() { + var t, i, r, u, f, e, o, s, h, l = (r = (i = (t = CIB === null || CIB === void 0 ? void 0 : CIB.vm) === null || t === void 0 ? void 0 : t.conversation) === null || i === void 0 ? void 0 : i.model) === null || r === void 0 ? void 0 : r.suggestions, + n = document.activeElement, + c; + return ! l || !n || n.nodeName !== "CIB-SERP" ? "": (n = (s = (o = (e = (f = (u = n === null || n === void 0 ? void 0 : n.shadowRoot) === null || u === void 0 ? void 0 : u.activeElement) === null || f === void 0 ? void 0 : f.shadowRoot) === null || e === void 0 ? void 0 : e.activeElement) === null || o === void 0 ? void 0 : o.shadowRoot) === null || s === void 0 ? void 0 : s.activeElement, !n || n.nodeName !== "CIB-SUGGESTION-ITEM") ? "": (n = (h = n === null || n === void 0 ? void 0 : n.shadowRoot) === null || h === void 0 ? void 0 : h.activeElement, !n || n.nodeName !== "BUTTON" || !n.textContent) ? "": (c = n.textContent.trim(), l.find(function(n) { + return n.text.trim() === c + })) ? c: "" + } + function gt(n) { + var t = _ge(n); + t && t.parentElement && t.parentElement.removeChild(t) + } + function ys(n) { + CIB.processCachedResponse(n) + } + function br(n, t, i, r, u, f, e, o) { + n === void 0 && (n = ""); + t === void 0 && (t = ""); + i === void 0 && (i = ""); + r === void 0 && (r = ""); + u === void 0 && (u = !1); + f === void 0 && (f = !1); + e === void 0 && (e = !1); + o === void 0 && (o = !0); + sj_evt.fire("showSydFSC", n, t, r, u, i, f, e, !1, !1, o) + } + function ot(n) { + var r = new RegExp("[?&]{1}q=([^&]+)"), + t = n.match(r), + i = t ? t[1] : null; + return i ? decodeURIComponent(i.replace("+", " ")) : "" + } + function k() { + var i, r, u, e = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.isSapphireClient, !1), + f, + n; + return e ? ot(_w.location.search) : (f = typeof sj_b != "undefined" && sj_b != null ? sj_b: _d.body, n = f.querySelectorAll("textarea.b_searchbox, input.b_searchbox:not(#uaseabox)"), !n || n.length <= 0) ? "": (u = (r = n[0]) === null || r === void 0 ? void 0 : r.getAttribute("value")) !== null && u !== void 0 ? u: "" + } + function ps() { + var t = new URLSearchParams(_w.location.search), + i = t.get(ei); + i && (n.lastQuery = k().toLowerCase().trim()) + } + function kr(n, t, i, r, u, f, e) { + var s, o, h; + t === void 0 && (t = !1); + i === void 0 && (i = ""); + r === void 0 && (r = ""); + u === void 0 && (u = !1); + f === void 0 && (f = !1); + e === void 0 && (e = !0); + s = ""; + t && (s = k()); + o = i; + o || (h = _d.querySelector(".b_ans #b_wpt_data"), h && (o = h.getAttribute("data-sydctx"))); + br(n, o, s, r, !1, u, f, e) + } + function ws(n, t, i) { + n === void 0 && (n = ""); + t === void 0 && (t = ""); + i === void 0 && (i = !0); + var r = k(); + kr(r, !1, n, t, !1, !0, i) + } + function bs(t) { + n.isSydFSCEligible = t + } + function ks(n) { + for (var i = [], t = 1; t < arguments.length; t++) i[t - 1] = arguments[t] + } + function ds() { + sj_evt.fire("clarity.trigger", "cibChat") + } + function gs(n, t, i) { + return ! n || t && (!i || i.toLowerCase().trim() !== k().toLowerCase().trim()) + } + function nh(t, i) { + var l, a, v, y, p, w, b, k, it, o, d, u, e, s, tt, ht, h, ct, r, c, lt, at, vt, yt; + i === void 0 && (i = !1); + it = n.getConfigOrDefault((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableSydCarouselHistory, !1); + dr(); + var f = sj_ce("div", "b_metaCont"), + rt = sj_ce("div", "b_metaCont_Title"), + pt = n.getConfigOrDefault((a = _w._sydConvTranslation) === null || a === void 0 ? void 0 : a.sydneyCarouselTitle, ""); + rt.textContent = pt; + f.appendChild(rt); + o = sj_ce("div", "b_meta_bot"); + f.appendChild(o); + d = sj_ce("div", "b_metaChat"); + u = sj_ce("div", "b_metaCont_PillCont", "b_meta_hideEx"); + i ? u.appendChild(d) : o.appendChild(d); + o.appendChild(u); + var ut = n.getConfigOrDefault((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.carouselQueries, ""), + wt = n.getConfigOrDefault((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.sydCarPropQuery, !1), + ft = ut ? ut.split(",") : null, + g = ft ? ft: CIB.vm.conversation.model.messages.filter(function(n) { + return n.type === "meta" && n.text && n.text != "Generating answers for you..." + }).map(function(n) { + var i, r, t = (r = (i = n.text) === null || i === void 0 ? void 0 : i.split("`")) !== null && r !== void 0 ? r: []; + return t.length == 1 ? t[0] : t.length == 3 ? t[1] : "" + }).filter(function(n) { + return n + }), + et = 0, + bt = i ? _w.innerWidth - ii - du: ku, + kt = _w.innerWidth - ii - ri, + ot = !i, + st = bt - ri, + dt = CIB.vm.conversation.model._id, + nt = !0; + for (e = g.length - 1; e >= 0; e--) s = g[e], + nt && (tt = th(s) + 2 * gu + nf, et + tt < st ? et += tt: ot ? (nt = !1, ht = e + 1, h = sj_ce("div", "b_meta_exp", "b_metaCont_Pill"), h.innerText = "+" + ht.toString(), sj_be(h, "click", + function() { + Lib.CssClass.add(u, "b_metaExpanded") + }), u.append(h)) : (st = kt, ot = !0)), + ct = "cdxche", + r = sj_ce("a", null, "b_metaCont_Pill" + (nt ? "": " b_hide")), + r.href = _w.location.origin + _w.location.pathname + "?q=" + s + "&form=" + ct, + it && (r.href = r.href + "&convid=" + dt), + wt && (r.href = r.href + "&features=sydcarousel,sydcpropq"), + r.textContent = s, + r.target = "_blank", + sj_be(r, "click", + function(t) { + var r = _ge("CodexCarouselInstLink"), + i; + _w.si_ct && _w.si_ct(r); + i = t === null || t === void 0 ? void 0 : t.target; + n.LogIntEvent("QueryCarouselClick", "QueryCarousel", { + query: i === null || i === void 0 ? void 0 : i.textContent + }) + }), + u.appendChild(r); + c = sj_ce("div", "b_meta_col", "b_metaCont_Pill b_hide"); + c.innerText = n.getConfigOrDefault((p = _w._sydConvTranslation) === null || p === void 0 ? void 0 : p.sydneyCarouselCollapse, "Collapse"); + sj_be(c, "click", + function() { + Lib.CssClass.remove(u, "b_metaExpanded") + }); + u.append(c); + g.length > 0 && (lt = n.getConfigOrDefault((w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.suppressAlsoTryWhenEnableSydCarousel, !1), lt && gt("b_alsotry"), at = n.getConfigOrDefault((b = _w._sydConvConfig) === null || b === void 0 ? void 0 : b.suppressPoleRSWhenEnableSydCarousel, !1), at && gt("brspole"), vt = n.getConfigOrDefault((k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.suppressPoleRecommendedSearchWhenEnableSydCarousel, !1), vt && gt("polerecommendedsearch"), t.children.length > 0 ? (yt = _w.getComputedStyle(t, null), yt.paddingLeft == "0px" && Lib.CssClass.add(f, "b_metaPadding"), t.insertBefore(f, t.children[0])) : t.appendChild(f), sj_evt.fire(uf)) + } + function th(n) { + var i = sj_ce("canvas"), + t = i.getContext("2d"); + return t.font = "14px Roboto", + t.measureText(n).width + } + function dr() { + var n = _ge("b_metaCont"); + n && n.parentElement && n.parentElement.removeChild(n) + } + function ih() { + var n, t, i; ((t = (n = CIB.config) === null || n === void 0 ? void 0 : n.knowledgeCards) === null || t === void 0 ? void 0 : t.query) && (CIB.config.knowledgeCards.query.IG = _G.IG, CIB.config.knowledgeCards.query.IID = (i = _ge("b_sydConvCont")) === null || i === void 0 ? void 0 : i.getAttribute("_iid")) + } + function ni(n, i, r) { + var f, e, o, s, h, c, l, a, v, y, p, w = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.disable2TSearchHistory, !1), + k = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enable2TTest, !1), + b = t((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.enable2TResizeUpdate, !1), + u = t((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.isMobileHost, !1); ((c = (h = CIB === null || CIB === void 0 ? void 0 : CIB.config) === null || h === void 0 ? void 0 : h.answers) === null || c === void 0 ? void 0 : c.query) && (CIB.config.answers.query.IG = _G.IG, CIB.config.answers.query.IID = (l = _ge("b_sydConvCont")) === null || l === void 0 ? void 0 : l.getAttribute("_iid"), CIB.config.answers.query.cw = n, CIB.config.answers.query.ch = i, w && (CIB.config.answers.query.dissrchswrite = "1"), b && sj_be(_w, "resize", + function() { + CIB.config.answers.query.cw = ht(u); + CIB.config.answers.query.ch = st(u) + })); ((v = (a = CIB === null || CIB === void 0 ? void 0 : CIB.config) === null || a === void 0 ? void 0 : a.ads) === null || v === void 0 ? void 0 : v.query) && (CIB.config.ads.query.IG = _G.IG, CIB.config.ads.query.IID = r ? (y = _ge("CodexAdsInstLink")) === null || y === void 0 ? void 0 : y.getAttribute("_iid") : (p = _ge("b_sydConvCont")) === null || p === void 0 ? void 0 : p.getAttribute("_iid"), CIB.config.ads.query.cw = n, CIB.config.ads.query.ch = i, CIB.config.ads.query.form = "codexx", w && (CIB.config.ads.query.dissrchswrite = "1"), b && sj_be(_w, "resize", + function() { + CIB.config.ads.query.cw = ht(u); + CIB.config.ads.query.ch = st(u) + })); + k && SydneyTestHelper.set2TTestConfigs() + } + function rh(n, t) { + var i = ht(n), + r = st(n); + if (n) try { + ni(i, r, t) + } catch(u) { + Log.Log("CI.Error", "SydneyMobile", "ClientObserver not loaded") + } else ni(i, r, t) + } + function st(n) { + var i, r = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enable2TQueryConfigsOnSerpLoad, !1); + return n ? ClientObserver ? ClientObserver.getBrowserHeight() : er() : r ? ClientObserver ? ClientObserver.getBrowserHeight() : Math.round(_d.documentElement.clientHeight || _w.innerHeight) : ClientObserver.getBrowserHeight() + } + function ht(i) { + var r, f = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enable2TQueryConfigsOnSerpLoad, !1), + u; + return i ? (u = ClientObserver ? ClientObserver.getBrowserWidth() : fr(), u - n.padding2TMobile < n.MIN_WIDTH_MOBILE ? n.MIN_WIDTH_MOBILE: u - n.padding2TMobile) : f ? ClientObserver ? ClientObserver.getBrowserWidth() : Math.round(_d.documentElement.clientWidth || _w.innerWidth) : ClientObserver.getBrowserWidth() + } + function gr(n) { + var i, r, u, f, e; + n === void 0 && (n = { + autoSubmit: !1 + }); + r = nu(); + r && CIB.addMessageWithData && (u = t( !! ((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.himgdirmsg), !0), f = decodeURI(r), typeof SydneyImageKnowledgeTestUtils != "undefined" && (f = SydneyImageKnowledgeTestUtils.prepareMockedImageUrl()), e = [{ + type: "url", + data: f + }], n.autoSubmit && !!n.isFirstMessage && !!n.query && CIB.sendSearchQueryWithData ? CIB.sendSearchQueryWithData(n.query, { + images: e + }, + { + hideImageInUserMessage: u + }) : CIB.addMessageWithData({ + text: n.query || "", + images: e + }, + n.autoSubmit, "", { + hideImageInUserMessage: u + })) + } + function uh(u, f, e, o, s, h) { + var v, y, p, w, b, k, d, g, nt, tt, it, rt, ut, c, l, ft, a, ot, st; + if (s === void 0 && (s = !1), h === void 0 && (h = !0), rt = t((v = _w._sydConvConfig) === null || v === void 0 ? void 0 : v.enableSydContext, !1), ut = t((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enableSQMsg, !1), n.enableConvModeSwitchAjax = t((p = _w._sydConvConfig) === null || p === void 0 ? void 0 : p.enableConvModeSwitchAjax, !1), i(r.System, "TrySendingFirstQueryToChat", "SerpToChatTransition", {}), !iu(u, s)) return ! 1; + if (o && n.enableConvModeSwitchAjax) { + if (n.isSmoothConvSwitchUpdatedPage()) return ! 1; + try { + if (c = CIB.vm.conversation.model.messages.filter(function(n) { + return n.type === "meta" && n.text != "Generating answers for you..." || n.type === "text" && n.author === "user" + }), c && c.length > 0 && (l = c[c.length - 1].text.split("`"), ft = l.length == 1 ? l[0] : l.length == 3 ? l[1] : "", ft.toLowerCase() == u.toLowerCase())) return ! 1 + } catch(yt) {} + } + a = []; + e && a.push({ + author: "user", + text: e + }); + f && a.push({ + author: "bot", + text: f + }); + rt && a.length != 0 && CIB.registerContext(a); + var ht = (b = (w = _w._sydConvConfig) === null || w === void 0 ? void 0 : w.enableSunoWelcomeMessage) !== null && b !== void 0 ? b: !1, + ct = (d = (k = _w._sydConvConfig) === null || k === void 0 ? void 0 : k.enableSunoUpsell) !== null && d !== void 0 ? d: !1, + lt = (nt = (g = _w._sydConvConfig) === null || g === void 0 ? void 0 : g.isMSAAuthenticated) !== null && nt !== void 0 ? nt: !1, + et = n.getConfigOrDefault((tt = _w._sydConvConfig) === null || tt === void 0 ? void 0 : tt.enableScrollMsgTextMessage, !1), + at = new URLSearchParams(_w === null || _w === void 0 ? void 0 : _w.location.search), + vt = at.get("enablesuno") === "1"; + return ct && ht && lt && vt && (!CIB.manager.conversation._lastMessage || CIB.manager.conversation._lastMessage.author === "bot") && !CIB.manager.conversation.messages.filter(function(n) { + return n.author === "user" + }).length ? (u = t((it = _w._sydConvTranslation) === null || it === void 0 ? void 0 : it.sunoCachedMessage, u), CIB.addMessage(u)) : ut && o && (!et || h) && (!CIB.manager.conversation._lastMessage || CIB.manager.conversation._lastMessage.author === "bot") && !CIB.manager.conversation.messages.filter(function(n) { + return n.author === "user" + }).length ? tu(u, !0) : (i(r.Interaction, "TranistionToChatWithQuery", "SerpToChatTransition", {}), et && !h && (ot = typeof sessionStorage != "undefined", st = "isMessageIntentional", ot && (sessionStorage === null || sessionStorage === void 0 ? void 0 : sessionStorage.setItem(st, JSON.stringify(!1)))), tu(u, !1)), + n.lastQuery = u, + n.firstQuery.length == 0 && (n.firstQuery = u), + !0 + } + function fh() { + return CIB.config.features.enablePartnerVisualSearchUpload && CIB.config.visualSearch.sendPartnerImageUrlDirectlyToBot + } + function nu() { + var n, i = new URLSearchParams(_w.location.search), + t = (n = i.get(ti)) !== null && n !== void 0 ? n: typeof SydneyTestHelper != "undefined" ? SydneyTestHelper.getParamFromUrl(ti) : null; + return t !== null && t !== void 0 ? t: undefined + } + function eh() { + return { + imageUrl: nu() + } + } + function tu(n, t) { + if (fh()) { + var i = eh(); + if (i.imageUrl) { + gr({ + query: n, + isFirstMessage: t, + autoSubmit: !0 + }); + return + } + } + t ? CIB.sendSearchQuery(n) : CIB.addMessage(n) + } + function iu(n, u) { + var f, e, o, s, h, c; + return oh(n) || sh() ? !1 : (o = ft("showconv"), s = ft("sendquery"), o === "1" && s === "1" || u) ? !0 : o === "1" && s !== "1" ? !1 : (h = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.initialShowConvPresent, !1), c = t((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.disableChatQueryForShowConv, !1), h && i(r.System, "InitialShowConvPresent", "SerpToChatTransition", "1"), c && h) ? !1 : !0 + } + function oh(t) { + return ! t || t == n.lastQuery || t == n.firstQuery + } + function sh() { + var n, i, r, u, f = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.bypassConsentCheck, !1), + e = t((i = _w._sydConvConfig) === null || i === void 0 ? void 0 : i.enableCodexMuidConsentTop, !1), + o = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.enableCodexMuidConsentExplicit, !1), + s = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.enableCodexMuidConsentImplicit, !1), + h = CIB.vm.conversation.model.messages.filter(function(n) { + return n.author == "user" + }).length, + c = e || o || s; + return c && !vt && !cr() && !(f || h < 1) + } + function hh(n) { + var i = n.dataset.codexads, + r, t; + return i ? (r = n.querySelector(".sb_add > h2 > a"), t = JSON.parse(i), r && (t === null || t === void 0 ? void 0 : t.length) > 0 && (t[0].kappns = r.getAttribute("h")), i = JSON.stringify(t), i ? i: "") : "" + } + function ct(n, t, i) { + return i === void 0 && (i = "POST"), + new Promise(function(r, u) { + var f = sj_gx(); + f.onreadystatechange = function() { + f.readyState === 4 && (f.status === 200 ? r(f) : u(f)) + }; + f.onerror = function() { + u(f) + }; + f.open(i, n, !0); + f.setRequestHeader("content-type", "application/json"); + f.send(t) + }) + } + function ch(n) { + return ct(n, "", "GET").then(function(n) { + return Promise.resolve(JSON.parse(n.response)) + })["catch"](function(n) { + return Promise.reject(n) + }) + } + function lh(n) { + var u, f, i, r; + return n ? (i = t((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.tigerEnhancedPromptTemplate, ""), !i) ? n: (i = i.replace("{0}", n), r = t((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.language, ""), r && r.indexOf("English") < 0 && (i += " Respond in language " + r), i) : n + } + function ru() { + var n, i, r, u = new URLSearchParams(_w === null || _w === void 0 ? void 0 : _w.location.search), + f = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableDynamicFormCode, !1), + e = f ? !!_w._ncpformCode: ((i = u.get("form")) === null || i === void 0 ? void 0 : i.toLowerCase()) === "convaj" || ((r = u.get("form")) === null || r === void 0 ? void 0 : r.toLowerCase()) === "atcvaj"; + return u.has("form") && e && _w._isConvAjaxUpdated + } + function ah() { + var n = _ge("noSerp"); + return n && Lib.CssClass.contains(n, "initSerp") + } + function vh() { + var n, t, i = (t = (n = _d.querySelector("cib-serp")) === null || n === void 0 ? void 0 : n.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("cib-background"); + i && (i.style.height = "100%", i.style.width = "100%") + } + function yh() { + var n, t, i, r, u, f, e = (f = (u = (r = (i = (t = (n = _d.querySelector("cib-serp")) === null || n === void 0 ? void 0 : n.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("cib-conversation")) === null || i === void 0 ? void 0 : i.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector("cib-welcome-container")) === null || u === void 0 ? void 0 : u.shadowRoot) === null || f === void 0 ? void 0 : f.querySelector(".muid-upsell"); + e && (e.style.display = "none") + } + function ph() { + var t, i, n = (i = (t = _d.querySelector("cib-serp")) === null || t === void 0 ? void 0 : t.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector("cib-conversation"), + r, + u; (n === null || n === void 0 ? void 0 : n.shadowRoot) && (r = n.shadowRoot.querySelector(".scroller"), r && (u = r.querySelector(".fade.top"), u && (u.style.display = "none"))) + } + function wh() { + var r, i, u; + pt = __spreadArray([], CIB.config.sydney.request.optionsSets, !0); + i = n.getAllowedToneOptionsSets(n.PRECISE_TONE); + u = t((r = _w._sydConvConfig) === null || r === void 0 ? void 0 : r.threadsAutoSaveOptionset, "autosave"); + i = i.filter(function(n) { + return n !== u + }); + tr.forEach(function(t) { + n.addOptionSet(i, t) + }); + CIB.config.sydney.request.optionsSets = i; + CIB.showNotebook && CIB.showNotebook(); + _G[n.SYD_PREV_MODE] = _G[n.SYD_MODE]; + _G[n.SYD_MODE] = "notebook" + } + function bh() { + CIB.config.sydney.request.optionsSets = __spreadArray([], pt, !0); + var t = n.getAllowedToneOptionsSets(CIB.responseTone); + CIB.config.sydney.request.optionsSets = t + } + function kh() { + var n; + return __awaiter(this, void 0, void 0, + function() { + var i, u, r; + return __generator(this, + function(f) { + switch (f.label) { + case 0: + return t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enable1pGptsApi, !1) ? (r = {}, + [4, FreeSydneyHelper.get1pGptsFromApi()]) : [3, 2]; + case 1: + return i = (r.freeSydneyPersonaModels = f.sent(), r), + [3, 4]; + case 2: + return [4, tc()]; + case 3: + u = f.sent(); + i = { + freeSydneyPersonaModels: __spreadArray(__spreadArray([], FreeSydneyHelper.getFreeSydneyPersonasData().freeSydneyPersonaModels, !0), u, !0) + }; + f.label = 4; + case 4: + return CIB.setFreeSydneyData && CIB.setFreeSydneyData(i), + [2] + } + }) + }) + } + function dh() { + var n = FreeSydneyHelper.getFreeSydneyPersonasData(); + return n && n.freeSydneyPersonaModels.length > 0 ? n.freeSydneyPersonaModels[0] : null + } + function gh(n, t, r) { + if (r === void 0 && (r = !1), CIB === null) return i("AdsAjax", "BingChatAds", "InjectionFailed", { + Reason: "CIB element not found" + }), + !1; + var u = _ge(wf), + f = r ? _qs(gf) : _qs(kf); + return u === null || f === null ? (i("AdsAjax", "BingChatAds", "InjectionFailed", { + Reason: "External content wrapper or cib-serp wrapper not found" + }), !1) : nc(n, f, u, t) + } + function uu(n) { + if (!n) return null; + for (var t = n.parentNode; t;) { + if (t instanceof ShadowRoot) return t; + t = t.parentNode + } + return null + } + function nc(n, t, r, u) { + var a, v, y, p, w, b, g = n === "cib-message" && !!u, + k, d, s, f, e, h, nt, o, c, l, tt; + if (k = g ? (y = (v = uu((a = _w._sydExtResSlots) === null || a === void 0 ? void 0 : a.get(u))) === null || v === void 0 ? void 0 : v.host) !== null && y !== void 0 ? y: undefined: (p = t === null || t === void 0 ? void 0 : t.shadowRoot) === null || p === void 0 ? void 0 : p.querySelector(n), !k) return i("AdsAjax", "BingChatAds", "InjectionFailed", { + Reason: "Destination element not found" + }), + !1; + for (d = r.getElementsByClassName(bf), s = 0; s < d.length; s++) { + if (f = d[s], e = k, !f) { + i("AdsAjax", "BingChatAds", "InjectionFailed", { + Reason: "Could not parse external content to HTMLElement" + }); + continue + } + if (h = f.getAttribute("slot"), h === null) { + i("AdsAjax", "BingChatAds", "InjectionFailed", { + Reason: "Slot name on injected element is null" + }); + continue + } + for (nt = 1, o = h; e.tagName.toLowerCase() !== df;) c = sj_ce("slot"), + c.setAttribute("slot", o), + o = "".concat(h, "-").concat(nt++), + c.setAttribute("name", o), + e.appendChild(c), + e = (b = (w = uu(e)) === null || w === void 0 ? void 0 : w.host) !== null && b !== void 0 ? b: t; + f.setAttribute("slot", o); + t.appendChild(f); + f.classList.remove(ne); + l = hh(f); + f.removeAttribute("data-codexads"); + tt = f.dataset.query; + f.removeAttribute("data-query"); + g ? _w.postMessage({ + type: "AnswerCardDimensionUpdate", + data: { + type: "ADS", + iframeid: u, + height: f.clientHeight, + width: f.clientWidth, + hasCarousel: !1, + isFullWidth: !1, + query: tt, + context: l ? l: {} + } + }, + "*") : _w.postMessage({ + eventId: te, + adsContext: l, + width: f.clientWidth, + height: f.clientHeight + }, + "*") + } + return ! 0 + } + function tc() { + var n; + return __awaiter(this, void 0, void 0, + function() { + var i, r, u, f; + return __generator(this, + function(e) { + switch (e.label) { + case 0: + return (i = t((n = _w._sydConvConfig) === null || n === void 0 ? void 0 : n.enableAIPersonasForDesktop, !1), !(i && typeof PersonaGPTHandler != "undefined" && PersonaGPTHandler)) ? [3, 2] : (r = _w._sydConvTranslation, [4, PersonaGPTHandler.getPersonas()]); + case 1: + return u = e.sent(), + f = u.map(function(n) { + return { + id: n.topic, + type: n.topic, + name: n.personaTitle, + displayName: n.personaTitle, + icon: n.smallImageUrl, + avatarImageUrl: n.avatarImageUrl, + description: n.shortDescription, + extraOptionsSets: n.optionsSets, + supportedTones: n.supportedTones, + defaultTone: n.defaultTone, + showThreads: !1, + welcomeHeader: n.description, + welcomeTiles: n.suggestions.map(function(n) { + return { + category: "chat", + text: n.text, + title: r.freeSydneyWelcomeTilesChatTitle, + size: "medium" + } + }) + } + }), + [2, f]; + case 2: + return [2, []] + } + }) + }) + } + var fu = "sydneyOptionsSets", + eu = "codexFeatures", + ou = "speechSrOptions", + ti = "imgUrl", + su = "https://bing.com/new", + ei, d; + n.CREATIVE_TONE = "Creative"; + n.BALANCED_TONE = "Balanced"; + n.PRECISE_TONE = "Precise"; + var lt = 5, + hu = 2, + c = 2e3, + cu = 1e6, + lu = 15e6, + au = 1e7, + vu = 300, + yu = 5, + pu = 1, + wu = [], + bu = [], + ku = 750, + ii = 48, + du = 42, + gu = 16, + nf = 6, + ri = 60, + ui = 66, + tf = 1e3, + rf = "so_bing_chat", + fi = "seltone", + uf = "SydAddCarousel"; + n.SYD_MODE = "SydMode"; + n.SYD_PREV_MODE = "SydPrevMode"; + n.lastQuery = (n === null || n === void 0 ? void 0 : n.lastQuery) ? n === null || n === void 0 ? void 0 : n.lastQuery: ""; + n.firstQuery = ""; + n.ignoreFirstOffStage = !1; + n.shouldResetBotGreeting = !0; + n.shouldForceSendBotGreeting = !1; + ei = "shareId"; + n.userCook = "SRCHHPGUSR"; + n.toneCook = "CDXTC"; + n.toneCrumb = "cdxtone"; + n.toneOptsCrumb = "cdxtoneopts"; + d = "InitialTone"; + n.hasSetToneCrumb = "cdxts"; + var ff = "crtone", + ef = "cdxwinturn", + sf = "ADLT", + g = "MUID", + oi = "CMUID", + hf = "BCTTSOS", + si = "VSRO", + cf = "VSVN", + hi = "BFBUSR", + lf = "CMUIDBCE", + ci = "CIBV", + li = "BCML", + ai = "BCMLNCount", + nt = !1, + v = !1, + vi = "BCRO", + yi = "BCRONCount", + tt = !1, + af = "BCSRLANG", + vf = ["chips", "query", "searchQuery", "text"], + at = "", + pi = "cdxModalVisible", + yf = "aad", + y = "", + it = document.title || "", + wi = !1, + bi = !1, + ki = !0, + p = oi, + w = !1, + vt = !1, + pf = 3, + r = { + System: "SystemEvent", + Interaction: "InteractionEvent" + }, + u = { + Creative: "h3imaginative", + Balanced: "harmonyv3", + Precise: "h3precise" + }, + rt = { + c: "Creative", + b: "Balanced", + p: "Precise" + }, + e = { + Creative: [], + Balanced: [], + Precise: [] + }, + l = "", + di = !1, + s = !1, + gi = !1, + yt = -1, + nr = "", + pt, + tr = [], + ir = "", + ut = { + Off: "1", + Demote: "2", + Strict: "4", + KidSafe: "8", + Stricter: "16", + AdultOnly: "32" + }, + wf = "b_chat_external_content", + bf = "b_cib_ext", + kf = 'cib-serp[serp-slot="none"]', + df = "cib-serp", + gf = 'cib-serp[serp-slot="right-rail"]', + ne = "b_hide", + te = "adInjectionComplete"; + n.isSydFSCEligible = n.isSydFSCEligible ? n.isSydFSCEligible: !1; + n.isConfigSet = !1; + n.enableCreatorSendQueryWhenShowConvQuery = !0; + n.padding2TMobile = 92; + n.MIN_WIDTH_MOBILE = 288; + n.enableConvModeSwitchAjax = !1; + n.enableBingChatPath = !1; + n.setConfigs = ie; + n.setTestConfigs = rr; + n.setColorScheme = fe; + n.getMobileBrowserWidth = fr; + n.getMobileBrowserHeight = er; + n.setConvTranslationAsync = ee; + n.setTigActiveSuggestionChipText = ho; + n.getTigActiveSuggestionChipText = co; + n.getCookieTone = bt; + n.updateResponseToneAfterSerp = ko; + n.setSpeechLanguageConfig = ar; + n.addOptionSet = f; + n.removeOptionSet = a; + n.getConfigOrDefault = t; + n.getAllowedToneOptionsSets = is; + n.isCookieBannerVisibileOnChatPage = rs; + n.SydLog = i; + n.LogIntEvent = yr; + n.setupHistory = fs; + n.pushSydHistory = es; + n.updateConvFlagInURL = pr; + n.addNotebookFlagInURL = os; + n.deleteNotebookFlagInURL = ss; + n.updateConvPageTitle = cs; + n.checkInitialState = ls; + n.setEventListeners = as; + n.getActiveSuggestionChipText = vs; + n.processCachedResponseUsingCIB = ys; + n.triggerSydFSC = br; + n.getQuery = k; + n.triggerShareFlow = ps; + n.triggerSydFSCWithContext = kr; + n.triggerSydFSCQueryWithContext = ws; + n.setSydFSCEligibleState = bs; + n.sydPayWallTrace = ks; + n.triggerClarity = ds; + n.shouldMove1TAnswers = gs; + n.addCarousel = nh; + n.removeQueries = dr; + n.set2TQueryConfigs = ni; + n.retrieveSydneyFSCClientHeight = st; + n.retrieveSydneyFSCClientWidth = ht; + n.submitVisualSearchImage = gr; + n.sendFirstQuery = uh; + n.shouldSendQuery = iu; + n.createRequest = ct; + n.getJsonData = ch; + n.createIntelligentQuery = lh; + n.isSmoothConvSwitchUpdatedPage = ru; + n.isFirstAjaxSerp = ah; + n.updateChatBackgroundWidth = vh; + n.hideSignInUpsellFor3P = yh; + n.hideTopFade = ph; + n.setNotebookOptions = wh; + n.setDefaultOptions = bh; + n.setFreeSydneyData = kh; + n.getDefaultFreeSydneyData = dh; + n.injectExternalAd = gh; + sj_evt.fire("SydFSCHelperLoaded") +})(SydFSCHelper || (SydFSCHelper = {})); + +var GPTHomeScreen; (function(n) { + function ei(n) { + var i, r, t, u, f; + if (n && (t = (i = n.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector("cib-conversation"), t) && (u = (r = t.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(fi), u) && ti) { + if (ui) CIB.onModeChanging(function(n) { + n !== "conversation" || tt || (SydFSCHelper.setFreeSydneyData(), tt = !0) + }); + else SydFSCHelper.setFreeSydneyData(); + if (d && (f = oi(), f || (b(n), nt = !0)), CIB === null || CIB === void 0 ? void 0 : CIB.onFreeSydneyPersonaChanged) CIB.onFreeSydneyPersonaChanged(function(i) { + if (d && g && nt && (!i || i.type === "Copilot")) { + g = !1; + return + } + it(); + ii && (i && i.id !== "copilot" ? (CIB.config.features.enablePrivacyProtectedConversation || (CIB.config.features.enablePrivacyProtectedConversation = !0), CIB.setPrivacyForConversation(!0)) : (CIB.config.features.enablePrivacyProtectedConversation = ri, CIB.setPrivacyForConversation(!1))); + i && i.type !== "Copilot" ? rt(n, u, t, i) : b(n) + }) + } + } + function it() { + var n, t = document.getElementById("b_sydWelcomeTemplate_"); + t && ((n = t.parentNode) === null || n === void 0 ? void 0 : n.removeChild(t)) + } + function oi() { + try { + var n = new URLSearchParams(_w.location.search), + t = n.get("gptId"); + if (t) return ! 0 + } catch(i) {} + return ! 1 + } + function b(n) { + sj_evt.fire("cib_init", n); + si(); + r && ft(r) + } + function si() { + sj_evt.fire("lazyLdImg"); + sj_evt.fire("loadProgImages"); + sj_evt.fire("RMS.LoadImg") + } + function rt(n, t, r, u) { + var f, e, o; + u.type !== "Custom" || u.welcomeTiles && ((f = u.welcomeTiles) === null || f === void 0 ? void 0 : f.length) !== 0 || (u.welcomeTiles = FreeSydneyHelper.getDefaultCustomWelcomeTiles()); + e = function() { + return u.welcomeTiles + }; + o = u.welcomeTiles ? + function() { + return Promise.resolve(u.welcomeTiles) + }: null; + i = li(u); + SydWelcomeScreenBase.setTileContainer(i, !1, o, e); + i && (hi(n), ci(t, r, k, st)) + } + function hi(n) { + i.setAttribute("slot", k); + i.id = i.getAttribute("id") + "_"; + n.appendChild(i) + } + function ci(n, t, i, r) { + var e = n.querySelector("slot[name=".concat(r)), + u, + f; + e || (u = SydWelcomeScreenBase.createSlot(r), f = SydWelcomeScreenBase.createSlot(i, u), n.prepend(u), t.append(f), t.removeAttribute("empty")) + } + function li(n) { + var o, f = sj_ce(t, et, ot), + u, + i, + c, + l, + a; + f.setAttribute(ht, "2"); + var e = sj_ce(t, null, ct), + s = sj_ce(t, null, at), + h = (o = n.type) === null || o === void 0 ? void 0 : o.toLowerCase(), + r = sj_ce(t, null, lt + " " + h); + return r.setAttribute("role", "img"), + r.setAttribute("alt", h), + r.setAttribute("aria-label", h + " Logo"), + r.setAttribute("tab-index", "0"), + u = sj_ce(t, null, vt), + u.innerHTML = ut(n.displayName || n.name), + u.setAttribute("role", "heading"), + u.setAttribute("aria-level", "2"), + i = sj_ce(t, null, yt), + i.innerHTML = ut(n.welcomeHeader || n.description || ""), + i.setAttribute("role", "heading"), + i.setAttribute("aria-level", "2"), + s.appendChild(r), + s.appendChild(u), + e.appendChild(s), + i.innerHTML && e.appendChild(i), + c = n.type !== "Custom" ? bt: n.authorName, + l = sj_ce(t, null, pt), + l.innerHTML = p === null || p === void 0 ? void 0 : p.replace("{0}", c), + e.appendChild(l), + ft(w === null || w === void 0 ? void 0 : w.replace("{0}", c)), + a = sj_ce(t, null, wt), + f.appendChild(e), + f.appendChild(a), + f + } + function ut(n) { + if (n) return n.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'") + } + function ft(n) { + var u = _d.querySelector("cib-serp"), + t, + i, + f; (u === null || u === void 0 ? void 0 : u.shadowRoot) && (t = u.shadowRoot.querySelector("cib-conversation"), (t === null || t === void 0 ? void 0 : t.shadowRoot) && (i = t.shadowRoot.querySelector("cib-welcome-container"), (i === null || i === void 0 ? void 0 : i.shadowRoot) && (f = i.shadowRoot.querySelector(kt), f && (r || (r = f.innerHTML), f.innerHTML = n)))) + } + var u, f, e, o, s, h, c, l, a, v, y, et = "b_sydWelcomeTemplate", + ot = "b_wlcmCont", + t = "div", + k = "wlcmCntnr", + st = "wlcmCntnrChld", + ht = "data-priority", + ct = "b_wlcmHdr", + lt = "b_wlcmPersLogo", + at = "b_wlcmPersLogoCont", + vt = "b_wlcmPersName", + yt = "b_wlcmPersDesc", + pt = "b_wlcmPersAuthorText", + wt = "b_wlcmTileCont", + bt = "Microsoft", + kt = ".preview-container .preview-disclaimer .disclaimer span", + dt = SydFSCHelper.getConfigOrDefault((u = _w._sydConvConfig) === null || u === void 0 ? void 0 : u.isBingChatForEnterprise, !1), + gt = SydFSCHelper.getConfigOrDefault((f = _w._sydConvConfig) === null || f === void 0 ? void 0 : f.isCopilotChat, !1), + ni = SydFSCHelper.getConfigOrDefault(((e = _w._sydConvConfig) === null || e === void 0 ? void 0 : e.enableCopilotLayout) || ((o = _w._sydConvConfig) === null || o === void 0 ? void 0 : o.isCCP), !1), + ti = SydFSCHelper.getConfigOrDefault((s = _w._sydConvConfig) === null || s === void 0 ? void 0 : s.enableFreeSydney, !1), + ii = SydFSCHelper.getConfigOrDefault((h = _w._sydConvConfig) === null || h === void 0 ? void 0 : h.enableFreeSydneyPrivacy, !1), + ri = SydFSCHelper.getConfigOrDefault((c = _w._sydConvConfig) === null || c === void 0 ? void 0 : c.enablePrivacyProtectedConversation, !1), + ui = SydFSCHelper.getConfigOrDefault((l = _w._sydConvConfig) === null || l === void 0 ? void 0 : l.enableDelayGet1PGpts, !1), + fi = dt && !ni && !gt ? "cib-welcome-container": "#cib-chat-main", + p = (a = _w._sydConvTranslation) === null || a === void 0 ? void 0 : a.freeSydneyWelcomeAuthorText, + w = (v = _w._sydConvTranslation) === null || v === void 0 ? void 0 : v.sydneyGptCreatorWelcomeMessage, + d = SydFSCHelper.getConfigOrDefault((y = _w._sydConvConfig) === null || y === void 0 ? void 0 : y.enable1pGPTPreLoadForCopilot, !1), + g = !0, + nt = !1, + tt = !1, + i, + r; + n.attachPersonaChangeEvents = ei; + n.removeLastWelcomeContainer = it; + n.renderCopilotPage = b; + n.setWelcomeScreenContentForFreeSydney = rt +})(GPTHomeScreen || (GPTHomeScreen = {})); \ No newline at end of file diff --git a/frontend/src/views/chat/components/Chat/Chat.vue b/frontend/src/views/chat/components/Chat/Chat.vue index f4f68cdd9b..8efe5d9571 100644 --- a/frontend/src/views/chat/components/Chat/Chat.vue +++ b/frontend/src/views/chat/components/Chat/Chat.vue @@ -220,6 +220,7 @@ const hackStyle = async() => { } welcomeEle?.shadowRoot?.querySelector('.preview-container')?.remove(); welcomeEle?.shadowRoot?.querySelector('.footer')?.remove(); + welcomeEle?.shadowRoot?.querySelector('.controls')?.setAttribute('style', 'margin-bottom: 80px;'); serpEle?.shadowRoot?.querySelector('cib-serp-feedback')?.remove(); if (isMobile()) { welcomeEle?.shadowRoot?.querySelector('.container-item')?.remove();