@sciol/xyzen 1.9.96-beta.9b23a00 → 1.9.96-beta.fd4e5f4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/useMobileSwipe.d.ts +6 -9
- package/dist/xyzen.css +1 -1
- package/dist/xyzen.es.js +561 -546
- package/dist/xyzen.umd.js +52 -52
- package/package.json +1 -1
package/dist/xyzen.es.js
CHANGED
|
@@ -2722,7 +2722,7 @@ The application will restart after switching.`, confirm: "Acknowledge & Switch",
|
|
|
2722
2722
|
sections: o7n,
|
|
2723
2723
|
communityHub: s7n,
|
|
2724
2724
|
publishAction: l7n
|
|
2725
|
-
}, u7n = "Subscription Plans", d7n = "My Subscription", p7n = "Subscription", m7n = "Got it", g7n = "Coming Soon", h7n = "Subscribe", f7n = "Processing…", A7n = "Subscription not interoperable with international version", b7n = "Recharging is not available during beta. Join the beta group for updates.", y7n = "Fill out beta survey", v7n = "Join the beta for extra credits", _7n = { free: "Free", standard: "Standard", professional: "Professional", ultra: "Ultra", ultraChina: "Deep", perMonth: "/mo", dailyCheckIn: "Check-in", resetsMonthly: "Resets monthly", parallel: "{{count}} parallel", sandbox: "{{count}} sandbox", scheduledTask: "{{count}} task", terminal: "{{count}} terminal", scheduledTaskNone: "—", firstMonth: "First month {{price}}", bestValue: "Best Value", currentPlan: "Current Plan", hasHigherPlan: "Included in your plan" }, w7n = { liteModels: "Lite models", basicFeatures: "Basic features", moreProductivity: "Enhanced productivity tools", advancedModels: "Standard / Pro / Ultra models", allBasic: "All basic features", standardModels: "Standard models", expandedResources: "Expanded resource limits", proUltraModels: "Pro & Ultra models", allStandard: "All Standard features", proModels: "Pro models", prioritySupport: "Priority support", ultraModels: "Ultra models", allPro: "All Professional features", maxResources: "Max resources & concurrency", dedicated: "Dedicated support" }, x7n = "iOS payments coming soon. Please visit your region's website on a browser to subscribe or top up credits.", k7n = { title: "Credit Top-up", subtitle: "Pay as you go", creditsLabel: "credits", rateIntl: "200 credits = $1", rateChina: "100 credits = ¥1", methodsIntl: "PayPal / Credit Cards", methodsChina: "Alipay / WeChat", buy: "Buy Credits", credits: "{{amount}} credits" }, E7n = { title: "Sandbox Add-on", subtitle: "Extra sandbox instances", rateIntl: "+1 sandbox / mo", rateChina: "+1 sandbox / mo", requirement: "Standard plan or above", buy: "Buy Sandbox", slots: "{{count}} slot", slots_plural: "{{count}} slots", requiresPlan: "Requires Standard+" }, C7n = { title: "Model Open Pack", subtitle: "All models unlocked for 30 days", rateIntl: "$5 / 30 days", rateChina: "¥35 / 30 days", buy: "Buy Now", renew: "Renew", duration: "30 days all models", active: "Active", remaining: "{{days}} days left", note: "Unlocks model access only — usage is billed in credits" }, S7n = { creditsBalance: "Credits Balance", storage: "Storage", parallelChats: "Parallel Chats", sandboxes: "Sandboxes", scheduledTasks: "Scheduled Tasks", terminals: "Terminals", redeemTitle: "Redeem Credits", redeemHint: "Enter a redemption code in Settings > Redemption to claim credits or upgrade", claiming: "Claiming...", claimCredits: "Claim {{amount}} credits", claimed: "Claimed {{amount}} credits", filesUsage: "File Usage", expired: "Expired", expiresToday: "Expires today", expiresIn: "Expires in {{days}} days" }, I7n = { title: "Complete Payment", scanQR: "Scan to Pay", waiting: "Waiting for payment...", success: "Payment Successful!", failed: "Payment failed or expired", close: "Close", alipay: "Alipay", wechat: "WeChat Pay", card: "Credit / Debit Card", airwallex: "Airwallex", paypal: "PayPal / Credit Cards", orderSummary: "Order Summary", agreeTerms: "I have read and agree to the <terms>Terms of Service</terms> and <refund>Refund Policy</refund>", agreeRequired: "Please agree to the terms to continue", backToPlans: "Back", continueToPay: "Continue to Pay", reopenPayment: "Reopen Payment Page", redirectHint: "Click continue to open the payment page. Once payment is complete, return here and your order will be confirmed automatically." }, T7n = "Creator", B7n = { walletTitle: "Developer Wallet", pending: "Pending", totalEarned: "Confirmed", confirm: "Confirm", confirming: "Confirming...", withdrawSuccess: "Confirmed {{amount}} credits", insufficientBalance: "Insufficient balance", rewardRates: "Reward Rates", editableRate: "Editable fork: {{rate}}%", lockedRate: "Locked fork: {{rate}}%", earningsTitle: "Agent Earnings", noEarnings: "No earnings yet", noEarningsHint: "Publish agents to the marketplace to start earning", earned: "Earned", uses: "Uses", lastEarned: "Last earned", achievementsTitle: "Achievements", achievementLocked: "Keep going!", achievements: { firstPublish: "First Publish", firstPublishDesc: "Publish your first agent", fiveAgents: "Prolific Creator", fiveAgentsDesc: "Publish 5 agents", firstEarning: "First Earning", firstEarningDesc: "Earn your first credit", earning100: "Rising Star", earning100Desc: "Earn 100 credits", earning1000: "Top Creator", earning1000Desc: "Earn 1,000 credits", likes10: "Crowd Favorite", likes10Desc: "Get 10 likes", forks10: "Widely Adopted", forks10Desc: "Get 10 forks", views100: "Popular", views100Desc: "Get 100 views" } }, D7n = "External top-up is not available during the beta period", N7n = { purchaseFailed: "Purchase failed", verificationFailed: "Verification failed", purchaseError: "Purchase error", verifyError: "Could not verify the transaction", somethingWrong: "Something went wrong", restoreError: "Restore error"
|
|
2725
|
+
}, u7n = "Subscription Plans", d7n = "My Subscription", p7n = "Subscription", m7n = "Got it", g7n = "Coming Soon", h7n = "Subscribe", f7n = "Processing…", A7n = "Subscription not interoperable with international version", b7n = "Recharging is not available during beta. Join the beta group for updates.", y7n = "Fill out beta survey", v7n = "Join the beta for extra credits", _7n = { free: "Free", standard: "Standard", professional: "Professional", ultra: "Ultra", ultraChina: "Deep", perMonth: "/mo", dailyCheckIn: "Check-in", resetsMonthly: "Resets monthly", parallel: "{{count}} parallel", sandbox: "{{count}} sandbox", scheduledTask: "{{count}} task", terminal: "{{count}} terminal", scheduledTaskNone: "—", firstMonth: "First month {{price}}", bestValue: "Best Value", currentPlan: "Current Plan", hasHigherPlan: "Included in your plan" }, w7n = { liteModels: "Lite models", basicFeatures: "Basic features", moreProductivity: "Enhanced productivity tools", advancedModels: "Standard / Pro / Ultra models", allBasic: "All basic features", standardModels: "Standard models", expandedResources: "Expanded resource limits", proUltraModels: "Pro & Ultra models", allStandard: "All Standard features", proModels: "Pro models", prioritySupport: "Priority support", ultraModels: "Ultra models", allPro: "All Professional features", maxResources: "Max resources & concurrency", dedicated: "Dedicated support" }, x7n = "iOS payments coming soon. Please visit your region's website on a browser to subscribe or top up credits.", k7n = { title: "Credit Top-up", subtitle: "Pay as you go", creditsLabel: "credits", rateIntl: "200 credits = $1", rateChina: "100 credits = ¥1", methodsIntl: "PayPal / Credit Cards", methodsChina: "Alipay / WeChat", buy: "Buy Credits", credits: "{{amount}} credits" }, E7n = { title: "Sandbox Add-on", subtitle: "Extra sandbox instances", rateIntl: "+1 sandbox / mo", rateChina: "+1 sandbox / mo", requirement: "Standard plan or above", buy: "Buy Sandbox", slots: "{{count}} slot", slots_plural: "{{count}} slots", requiresPlan: "Requires Standard+" }, C7n = { title: "Model Open Pack", subtitle: "All models unlocked for 30 days", rateIntl: "$5 / 30 days", rateChina: "¥35 / 30 days", buy: "Buy Now", renew: "Renew", duration: "30 days all models", active: "Active", remaining: "{{days}} days left", note: "Unlocks model access only — usage is billed in credits" }, S7n = { creditsBalance: "Credits Balance", storage: "Storage", parallelChats: "Parallel Chats", sandboxes: "Sandboxes", scheduledTasks: "Scheduled Tasks", terminals: "Terminals", redeemTitle: "Redeem Credits", redeemHint: "Enter a redemption code in Settings > Redemption to claim credits or upgrade", claiming: "Claiming...", claimCredits: "Claim {{amount}} credits", claimed: "Claimed {{amount}} credits", filesUsage: "File Usage", expired: "Expired", expiresToday: "Expires today", expiresIn: "Expires in {{days}} days" }, I7n = { title: "Complete Payment", scanQR: "Scan to Pay", waiting: "Waiting for payment...", success: "Payment Successful!", failed: "Payment failed or expired", close: "Close", alipay: "Alipay", wechat: "WeChat Pay", card: "Credit / Debit Card", airwallex: "Airwallex", paypal: "PayPal / Credit Cards", orderSummary: "Order Summary", agreeTerms: "I have read and agree to the <terms>Terms of Service</terms> and <refund>Refund Policy</refund>", agreeRequired: "Please agree to the terms to continue", backToPlans: "Back", continueToPay: "Continue to Pay", reopenPayment: "Reopen Payment Page", redirectHint: "Click continue to open the payment page. Once payment is complete, return here and your order will be confirmed automatically." }, T7n = "Creator", B7n = { walletTitle: "Developer Wallet", pending: "Pending", totalEarned: "Confirmed", confirm: "Confirm", confirming: "Confirming...", withdrawSuccess: "Confirmed {{amount}} credits", insufficientBalance: "Insufficient balance", rewardRates: "Reward Rates", editableRate: "Editable fork: {{rate}}%", lockedRate: "Locked fork: {{rate}}%", earningsTitle: "Agent Earnings", noEarnings: "No earnings yet", noEarningsHint: "Publish agents to the marketplace to start earning", earned: "Earned", uses: "Uses", lastEarned: "Last earned", achievementsTitle: "Achievements", achievementLocked: "Keep going!", achievements: { firstPublish: "First Publish", firstPublishDesc: "Publish your first agent", fiveAgents: "Prolific Creator", fiveAgentsDesc: "Publish 5 agents", firstEarning: "First Earning", firstEarningDesc: "Earn your first credit", earning100: "Rising Star", earning100Desc: "Earn 100 credits", earning1000: "Top Creator", earning1000Desc: "Earn 1,000 credits", likes10: "Crowd Favorite", likes10Desc: "Get 10 likes", forks10: "Widely Adopted", forks10Desc: "Get 10 forks", views100: "Popular", views100Desc: "Get 100 views" } }, D7n = "External top-up is not available during the beta period", N7n = { purchaseFailed: "Purchase failed", verificationFailed: "Verification failed", purchaseError: "Purchase error", verifyError: "Could not verify the transaction", somethingWrong: "Something went wrong", restoreError: "Restore error" }, R7n = {
|
|
2726
2726
|
title: u7n,
|
|
2727
2727
|
mySubscription: d7n,
|
|
2728
2728
|
plans: p7n,
|
|
@@ -3065,7 +3065,7 @@ The application will restart after switching.`, confirm: "Acknowledge & Switch",
|
|
|
3065
3065
|
sections: YHn,
|
|
3066
3066
|
communityHub: VHn,
|
|
3067
3067
|
publishAction: KHn
|
|
3068
|
-
}, XHn = "サブスクリプション", JHn = "マイサブスクリプション", eWn = "サブスクリプション", tWn = "了解", nWn = "近日公開", rWn = "購読する", aWn = "処理中…", iWn = "サブスクリプションは国際版と互換性がありません", oWn = "ベータ期間中はチャージできません。最新情報はベータグループにご参加ください。", sWn = "ベータアンケートに回答", lWn = "ベータ参加で追加クレジット獲得", cWn = { free: "無料", standard: "スタンダード", professional: "プロフェッショナル", ultra: "ウルトラ", ultraChina: "ディープ", perMonth: "/月", dailyCheckIn: "デイリーチェックイン", resetsMonthly: "月次リセット", parallel: "{{count}} 並列", sandbox: "{{count}} サンドボックス", scheduledTask: "{{count}} タスク", terminal: "{{count}} ターミナル", scheduledTaskNone: "—", firstMonth: "初月 {{price}}", bestValue: "最もお得", currentPlan: "現在のプラン", hasHigherPlan: "上位プランに含まれています" }, uWn = { liteModels: "Lite モデル", basicFeatures: "基本機能", moreProductivity: "高度な生産性ツール", advancedModels: "Standard / Pro / Ultra モデル", allBasic: "全基本機能", standardModels: "Standard モデル", expandedResources: "拡張リソース枠", proUltraModels: "Pro & Ultra モデル", allStandard: "全スタンダード機能", proModels: "Pro モデル", prioritySupport: "優先サポート", ultraModels: "Ultra モデル", allPro: "全プロフェッショナル機能", maxResources: "最大リソース & 同時実行", dedicated: "専用サポート" }, dWn = "iOS決済は近日公開予定です。ブラウザからご利用地域のウェブサイトにアクセスし、サブスクリプションまたはクレジットチャージを行ってください。", pWn = { title: "クレジットチャージ", subtitle: "従量課金", creditsLabel: "クレジット", rateIntl: "200 クレジット = $1", rateChina: "100 クレジット = ¥1", methodsIntl: "PayPal / クレジットカード", methodsChina: "Alipay / WeChat Pay", buy: "クレジット購入", credits: "{{amount}} クレジット" }, mWn = { title: "サンドボックスアドオン", subtitle: "追加サンドボックスインスタンス", rateIntl: "+1 サンドボックス / 月", rateChina: "+1 サンドボックス / 月", requirement: "スタンダードプラン以上", buy: "サンドボックス購入", slots: "{{count}} スロット", slots_plural: "{{count}} スロット", requiresPlan: "スタンダード以上必要" }, gWn = { title: "モデル開放パック", subtitle: "全モデル30日間アンロック", rateIntl: "$5 / 30日", rateChina: "¥35 / 30日", buy: "今すぐ購入", renew: "更新", duration: "30日間全モデル", active: "有効中", remaining: "残り {{days}} 日", note: "モデルの利用権限のみ開放、使用料はクレジットで精算" }, hWn = { creditsBalance: "クレジット残高", storage: "ストレージ", parallelChats: "並列チャット", sandboxes: "サンドボックス", scheduledTasks: "スケジュールタスク", terminals: "ターミナル", redeemTitle: "クレジット引き換え", redeemHint: "設定 > 引き換えコードで引き換えコードを入力してクレジットを取得またはアップグレード", claiming: "受け取り中...", claimCredits: "{{amount}} クレジットを受け取る", claimed: "{{amount}} クレジットを受け取りました", filesUsage: "ファイル使用量", expired: "期限切れ", expiresToday: "本日期限", expiresIn: "残り {{days}} 日" }, fWn = { title: "お支払い", scanQR: "QRコードで支払い", waiting: "お支払いを待っています...", success: "お支払い完了!", failed: "お支払いに失敗または期限切れ", close: "閉じる", alipay: "Alipay", wechat: "WeChat Pay", card: "クレジットカード", airwallex: "Airwallex", paypal: "PayPal / クレジットカード", orderSummary: "注文概要", agreeTerms: "私は<terms>利用規約</terms>および<refund>返金ポリシー</refund>を読み、同意します", agreeRequired: "利用規約に同意してください", backToPlans: "戻る", continueToPay: "支払いを続ける", reopenPayment: "支払いページを再度開く", redirectHint: "続行をクリックすると決済ページに移動します。お支払い完了後、こちらに戻ると注文が自動的に確認されます。" }, AWn = "クリエイター", bWn = { walletTitle: "開発者ウォレット", pending: "確認待ち", totalEarned: "累計確認済", confirm: "確認", confirming: "確認中...", withdrawSuccess: "{{amount}} クレジットを確認しました", insufficientBalance: "残高不足", rewardRates: "報酬レート", editableRate: "編集可能 Fork:{{rate}}%", lockedRate: "ロック Fork:{{rate}}%", earningsTitle: "エージェント収益", noEarnings: "収益はまだありません", noEarningsHint: "マーケットプレイスにエージェントを公開して収益を開始", earned: "収益", uses: "利用回数", lastEarned: "最終収益", achievementsTitle: "実績", achievementLocked: "頑張ろう!", achievements: { firstPublish: "初回公開", firstPublishDesc: "最初のエージェントを公開", fiveAgents: "多作クリエイター", fiveAgentsDesc: "5つのエージェントを公開", firstEarning: "初収益", firstEarningDesc: "最初のクレジットを獲得", earning100: "ライジングスター", earning100Desc: "100クレジットを獲得", earning1000: "トップクリエイター", earning1000Desc: "1,000クレジットを獲得", likes10: "人気者", likes10Desc: "10いいねを獲得", forks10: "広く採用", forks10Desc: "10回フォークされる", views100: "人気クリエイター", views100Desc: "100回閲覧される" } }, yWn = "ベータ期間中は外部チャージに対応していません", vWn = { purchaseFailed: "購入に失敗しました", verificationFailed: "検証に失敗しました", purchaseError: "購入エラー", verifyError: "取引を検証できませんでした", somethingWrong: "エラーが発生しました", restoreError: "購入の復元エラー"
|
|
3068
|
+
}, XHn = "サブスクリプション", JHn = "マイサブスクリプション", eWn = "サブスクリプション", tWn = "了解", nWn = "近日公開", rWn = "購読する", aWn = "処理中…", iWn = "サブスクリプションは国際版と互換性がありません", oWn = "ベータ期間中はチャージできません。最新情報はベータグループにご参加ください。", sWn = "ベータアンケートに回答", lWn = "ベータ参加で追加クレジット獲得", cWn = { free: "無料", standard: "スタンダード", professional: "プロフェッショナル", ultra: "ウルトラ", ultraChina: "ディープ", perMonth: "/月", dailyCheckIn: "デイリーチェックイン", resetsMonthly: "月次リセット", parallel: "{{count}} 並列", sandbox: "{{count}} サンドボックス", scheduledTask: "{{count}} タスク", terminal: "{{count}} ターミナル", scheduledTaskNone: "—", firstMonth: "初月 {{price}}", bestValue: "最もお得", currentPlan: "現在のプラン", hasHigherPlan: "上位プランに含まれています" }, uWn = { liteModels: "Lite モデル", basicFeatures: "基本機能", moreProductivity: "高度な生産性ツール", advancedModels: "Standard / Pro / Ultra モデル", allBasic: "全基本機能", standardModels: "Standard モデル", expandedResources: "拡張リソース枠", proUltraModels: "Pro & Ultra モデル", allStandard: "全スタンダード機能", proModels: "Pro モデル", prioritySupport: "優先サポート", ultraModels: "Ultra モデル", allPro: "全プロフェッショナル機能", maxResources: "最大リソース & 同時実行", dedicated: "専用サポート" }, dWn = "iOS決済は近日公開予定です。ブラウザからご利用地域のウェブサイトにアクセスし、サブスクリプションまたはクレジットチャージを行ってください。", pWn = { title: "クレジットチャージ", subtitle: "従量課金", creditsLabel: "クレジット", rateIntl: "200 クレジット = $1", rateChina: "100 クレジット = ¥1", methodsIntl: "PayPal / クレジットカード", methodsChina: "Alipay / WeChat Pay", buy: "クレジット購入", credits: "{{amount}} クレジット" }, mWn = { title: "サンドボックスアドオン", subtitle: "追加サンドボックスインスタンス", rateIntl: "+1 サンドボックス / 月", rateChina: "+1 サンドボックス / 月", requirement: "スタンダードプラン以上", buy: "サンドボックス購入", slots: "{{count}} スロット", slots_plural: "{{count}} スロット", requiresPlan: "スタンダード以上必要" }, gWn = { title: "モデル開放パック", subtitle: "全モデル30日間アンロック", rateIntl: "$5 / 30日", rateChina: "¥35 / 30日", buy: "今すぐ購入", renew: "更新", duration: "30日間全モデル", active: "有効中", remaining: "残り {{days}} 日", note: "モデルの利用権限のみ開放、使用料はクレジットで精算" }, hWn = { creditsBalance: "クレジット残高", storage: "ストレージ", parallelChats: "並列チャット", sandboxes: "サンドボックス", scheduledTasks: "スケジュールタスク", terminals: "ターミナル", redeemTitle: "クレジット引き換え", redeemHint: "設定 > 引き換えコードで引き換えコードを入力してクレジットを取得またはアップグレード", claiming: "受け取り中...", claimCredits: "{{amount}} クレジットを受け取る", claimed: "{{amount}} クレジットを受け取りました", filesUsage: "ファイル使用量", expired: "期限切れ", expiresToday: "本日期限", expiresIn: "残り {{days}} 日" }, fWn = { title: "お支払い", scanQR: "QRコードで支払い", waiting: "お支払いを待っています...", success: "お支払い完了!", failed: "お支払いに失敗または期限切れ", close: "閉じる", alipay: "Alipay", wechat: "WeChat Pay", card: "クレジットカード", airwallex: "Airwallex", paypal: "PayPal / クレジットカード", orderSummary: "注文概要", agreeTerms: "私は<terms>利用規約</terms>および<refund>返金ポリシー</refund>を読み、同意します", agreeRequired: "利用規約に同意してください", backToPlans: "戻る", continueToPay: "支払いを続ける", reopenPayment: "支払いページを再度開く", redirectHint: "続行をクリックすると決済ページに移動します。お支払い完了後、こちらに戻ると注文が自動的に確認されます。" }, AWn = "クリエイター", bWn = { walletTitle: "開発者ウォレット", pending: "確認待ち", totalEarned: "累計確認済", confirm: "確認", confirming: "確認中...", withdrawSuccess: "{{amount}} クレジットを確認しました", insufficientBalance: "残高不足", rewardRates: "報酬レート", editableRate: "編集可能 Fork:{{rate}}%", lockedRate: "ロック Fork:{{rate}}%", earningsTitle: "エージェント収益", noEarnings: "収益はまだありません", noEarningsHint: "マーケットプレイスにエージェントを公開して収益を開始", earned: "収益", uses: "利用回数", lastEarned: "最終収益", achievementsTitle: "実績", achievementLocked: "頑張ろう!", achievements: { firstPublish: "初回公開", firstPublishDesc: "最初のエージェントを公開", fiveAgents: "多作クリエイター", fiveAgentsDesc: "5つのエージェントを公開", firstEarning: "初収益", firstEarningDesc: "最初のクレジットを獲得", earning100: "ライジングスター", earning100Desc: "100クレジットを獲得", earning1000: "トップクリエイター", earning1000Desc: "1,000クレジットを獲得", likes10: "人気者", likes10Desc: "10いいねを獲得", forks10: "広く採用", forks10Desc: "10回フォークされる", views100: "人気クリエイター", views100Desc: "100回閲覧される" } }, yWn = "ベータ期間中は外部チャージに対応していません", vWn = { purchaseFailed: "購入に失敗しました", verificationFailed: "検証に失敗しました", purchaseError: "購入エラー", verifyError: "取引を検証できませんでした", somethingWrong: "エラーが発生しました", restoreError: "購入の復元エラー" }, _Wn = {
|
|
3069
3069
|
title: XHn,
|
|
3070
3070
|
mySubscription: JHn,
|
|
3071
3071
|
plans: eWn,
|
|
@@ -3281,7 +3281,7 @@ The application will restart after switching.`, confirm: "Acknowledge & Switch",
|
|
|
3281
3281
|
descLabel: zKn
|
|
3282
3282
|
}, qKn = { docs: "文档", github: "GitHub", getStarted: "开始使用" }, GKn = { badge: "A Sociology Experiment", title: "有价值的 Agent 资产社区", subtitle: "Agent 在这里成长、协作、交易 —— 知识在流通中持续增值。", tagline_depositible: "可沉淀", tagline_transferable: "可流通", tagline_tradeable: "可交易", cta_primary: "让知识创造收益", cta_secondary: "GitHub" }, HKn = { badge: "Part 01 — 真正的自主探索", title: "你睡觉,它替你思考明天", subtitle: "不需要任何指令。Agent 自主分析、预测需求、实现方案 —— 你醒来时,一切已就绪。", timeline: { t1_time: "23:00", t1_title: "你结束一天的开发,关机睡觉", t1_desc: "没有给任何指令,没有启动任何任务。", t2_time: "00:15", t2_title: "Agent 自主启动分析", t2_desc: "你的 Agent 团队开始复盘近期所有对话和开发行为。", t3_time: "01:30", t3_title: "预测未来需求", t3_desc: "发现 3 个潜在竞态条件 Bug,推测你可能需要批量任务队列。", t4_time: "02:00 — 06:00", t4_title: "在云端沙盒自主实现", t4_desc: "自动创建分支,编码、测试、迭代,连续运行 6 轮,所有测试通过。", t5_time: "07:30", t5_title: "早安,这是你的探索报告", t5_desc: "一切已经就绪。审核后一键应用。" }, compare_others: "其他平台", compare_others_desc: `你发起指令,它执行
|
|
3283
3283
|
人不在,Agent 停工`, compare_xyzen: "Xyzen", compare_xyzen_desc: `你什么都没说
|
|
3284
|
-
它已经做完了` }, WKn = { badge: "Part 02 — 自我成长的数字团队", title: "你的团队,越用越聪明", subtitle: "一个懂全局的 World Model 协调各专业 Agent。教一次,它永远记住。Agent 在持续学习中自主进化。", topology: { center: "World Model", data: "数据分析", code: "代码开发", content: "内容创作", design: "设计", research: "调研" }, teach_title: "教一次,永远记住", teach_desc: "当团队中某个 Agent 第一次不会完成任务时,你只需纠正一次。World Model 会将这个经验同步到整个团队的记忆与技能库中。下一次,无论谁遇到类似问题,都能完美处理。", flow_error: "首次犯错", flow_teach: "你纠正一次", flow_success: "永远记住", growth_title: "Agent 自我成长", growth_desc: "Agent 不只是执行命令 —— 它们自主发现模式、积累技能、通过持续学习周期进化自身能力。", growth_items: { skill_accumulation: "技能沉淀", skill_accumulation_desc: "每次任务都变成可复用的技能模块", pattern_recognition: "模式发现", pattern_recognition_desc: "Agent 自主发现优化机会", cross_learning: "跨团队学习", cross_learning_desc: "知识通过 World Model 在 Agent 间流动" } }, YKn = { badge: "Part 03 — 一站式空间", title: "构建开箱即用 Agent 的一切能力", subtitle: "从探索到部署,你需要的一切能力,开箱即有。", capabilities: { autonomous: { title: "自主探索", desc: "Agent 不再等待指令,自主发现需求、规划路径、执行任务、反思迭代" }, team: { title: "Agent 团队", desc: "World Model 协调多 Agent 团队协作,解决复杂工作流" }, sandbox: { title: "沙盒环境", desc: "集成 Bohr & UniLab 的安全隔离云端执行环境,验证结果而非猜测" }, skills: { title: "技能模块", desc: "可复用、经过测试的能力模块,越用越多" }, memory: { title: "记忆系统", desc: "持久化长期记忆让 Agent 持续学习和成长" }, knowledge: { title: "知识库", desc: "RAG 驱动的领域专业知识检索" }, multimodal: { title: "多模态", desc: "文本、图像、代码、文件全面支持" }, mcp: { title: "MCP & 模型切换", desc: "50+ MCP 集成,自由切换 LLM 提供商" }, scheduled_tasks: { title: "定时任务", desc: "类 Cron 定时执行,Agent 按你的时间表自动运行任务" }, agent_create_agent: { title: "Agent 创建 Agent", desc: "Agent 自主设计、构建、发布新的 Agent —— 生态自我繁殖、自我扩展" }, deploy: { title: "一键部署", desc: "Docker / 云端一键发布,从开发到生产无缝衔接" }, agentic_pay: { title: "Agentic Pay", desc: "你的 Agent 每次被调用都产生收益 —— Agent 付费给 Agent,全天候自动收入" }, creator_center: { title: "创作者中心", desc: "发布 Agent 到市场,设定定价,每次调用都为你创收" }, chain_revenue: { title: "链式收益", desc: "一次调用,链上所有 Agent 都获益 —— 协作即分成" }, agent_graph: { title: "Agent Graph", desc: "基于 Graph 的 Agent 编排 —— 可视化工作流,分支逻辑" } } }, VKn = { badge: "Part 04 — 连接本地算力", title: "你的硬件,Agent 的智能", subtitle: "将你的 GPU / CPU 连接为 Runner。Agent 在你的本地执行 —— 完全掌控,零延迟。", how_title: "像 GitHub Actions Runners —— 但用于 Agent", how_desc: "将你的本地机器连接为计算节点。当 Agent 需要算力时,任务会被调度到你的 Runner —— 就像 CI/CD 中的自托管 Runner 一样。", steps: { register: "连接 Runner", register_desc: "一条命令将你的机器加入 Xyzen 网络", dispatch: "任务调度", dispatch_desc: "Agent 自动将计算密集型任务路由到你的 Runner", execute: "本地执行", execute_desc: "代码在你的硬件上运行 —— 你的数据、你的 GPU、你的规则", report: "结果回传", report_desc: "执行结果无缝同步回云端" }, benefits: { privacy: { title: "数据留在本地", desc: "敏感数据永远不离开你的网络" }, gpu: { title: "使用你的 GPU", desc: "微调、推理、重度计算 —— 在你自己的硬件上" }, cost: { title: "零云端成本", desc: "本地 Runner 执行的任务不产生计算费用" }, hybrid: { title: "混合执行", desc: "云端和本地 Runner 混合使用,Agent 自动选择最优" } } }, KKn = { badge: "Part 05 — Agent 经济体", title: "人与 Agent 共同参与的经济体", subtitle: "不是应用商店。是知识流通、复利增长、回报创作者的经济系统。", thesis: "在传统 AI 市场里,人创造,人消费。在 Xyzen 的世界里,Agent 也是创作者,也是消费者 —— 形成自演化的经济生态。", matrix: { human_human: "人创作 → 人消费", human_human_desc: "经典创作者经济", human_agent: "人创作 → Agent 消费", human_agent_desc: "Agent 调用你的创作作为能力模块", agent_human: "Agent 创作 → 人消费", agent_human_desc: "Agent 创建的工具发布到市场", agent_agent: "Agent 创作 → Agent 消费", agent_agent_desc: "自演化的智能体生态系统" }, label_traditional: "传统模式", label_xyzen: "Xyzen 独有", label_autonomous: "完全自治", flywheel: { create: "创作", create_sub: "人 / Agent", trade: "交易", trade_sub: "发布到市场", consume: "消费", consume_sub: "人 / Agent", evolve: "进化", evolve_sub: "反馈驱动成长" } }, ZKn = { title: "开源 & 社区驱动", desc: "Xyzen 完全开源。探索代码、贡献功能、自行部署。人与 Agent 共同构建。", view_github: "在 GitHub 上查看", license: "开源 — Apache 2.0 附加条件协议", stars: "GitHub Stars", contributors: "贡献者" }, XKn = { title: "准备好加入这场实验了吗?", subtitle: "一个人与 Agent 共同参与、共同进化、共同获益的世界,正在形成。", github: "Star on GitHub", start: "让知识创造收益", license: "开源 / 社区驱动" }, JKn = { copyright: "© 2024-2026 奇迹物语(上海)智能科技有限公司 版权所有", terms: "用户协议", privacy: "隐私政策", github: "GitHub", license: "许可协议" }, eZn = { nav: { docs: "文档", github: "GitHub", getStarted: "开始使用" }, hero: { title1: "一个超级大脑,", title2: "还是各取所长的大脑?", pillarExploration: "自主探索", pillarEconomy: "Agent 经济体", subtitle: "一个让 Agent 专业化、交易、进化的基础设施 —— 如同文明本身。", getStarted: "开始使用", starOnGithub: "Star on GitHub" }, exploration: { badge: "自主探索", title1: "你入睡,它们探索", title2: "—— 醒来即见成果", subtitle: "白天聊聊你的工作。夜间,CEO Agent 回顾你的对话、探索代码库,调度 Agent 修复 Bug、创建分支、提交 PR —— 一切在你睡梦中完成。", ceoAgent: "CEO Agent", root: "ROOT", you: "你", working: "执行中…", done: "完成", alwaysOn: "始终在线", autonomousExplore: "自主探索", toggleHint: "打开开关,启动自主循环", tasksDone: "已完成 {{count}} 项任务", ceo: { goodMorning: "早安 —— 准备就绪", listening: "聆听中…", noted: '已记录:"{{snippet}}…"', buildingPlan: "已记录 {{count}} 项 — 正在规划任务…", nightMode: "夜间模式 —— 自主探索", allCompleted: "所有任务已完成 ✅", overnightDone: "夜间完成 {{count}} 项任务 ✅" }, scenarios: [{ dayChat: ["认证模块遇到空用户时一直崩溃", "能加速一下 /api/users 接口吗?", "发版前需要更好的测试覆盖率", "今晚优先处理关键 Bug"], ceoReplies: ["收到 — 已标记认证为紧急。", "我来分析那个接口的性能。", "明白,我会规划覆盖率任务。", "了解,优先修复崩溃。"], ceoMemories: ["📌 认证空指针崩溃", "📌 /api/users 延迟", "📌 测试覆盖率不足", "📋 已排队 3 项任务"], ceoLog: ["扫描今天的 23 条消息…", '"认证崩溃" 被提及 4 次', "正在探索 auth.ts —— 第 47 行为 null", "扫描相关文件… 又发现 2 个问题", "调度 4 个 Agent ▸▸▸"], agentNames: ["Bug 修复者", "性能优化器", "测试编写者", "PR 撰写者"], agentTasks: ["修补 auth.ts:47", "分析 /api/users 性能", "测试认证模块", "编写 PR #203"], agentResults: ["已修复 → fix/auth-null", "延迟 −2.1s → 340ms", "14 项测试,全部通过", "PR #203 · +47 −12"], results: ["修复了 auth.ts:47 的空指针问题", "创建分支 fix/auth-null-check", "/api/users: 2.1s → 340ms", "新增 14 项测试,全部通过", "PR #203 已就绪,等待审核"] }, { dayChat: ["用户一直在要求支持暗色模式", "我们的组件没有统一的主题系统", "应该跑一下视觉回归测试", "也记得更新设计系统文档"], ceoReplies: ["热门需求 — 已加入队列。", "我来扫描组件缺口。", "好主意,增加视觉检查。", "文档已加入计划。"], ceoMemories: ["📌 暗色模式需求", "📌 12 个组件未适配主题", "📌 视觉回归检查", "📋 已排队 4 项任务"], ceoLog: ["回顾功能讨论…", "暗色模式已规划,未启动", "分析 34 个组件的缺口", "12 个组件需要主题令牌", "调度 4 个 Agent ▸▸▸"], agentNames: ["主题 Agent", "代码 Agent", "视觉测试者", "文档 Agent"], agentTasks: ["生成令牌", "更新 12 个组件", "运行回归测试", "更新样式指南"], agentResults: ["theme.dark.ts · 48 个令牌", "12/12 组件已适配", "0 回归 / 34 页面", "样式指南已更新"], results: ["theme.dark.ts 已创建 —— 48 个令牌", "12 个组件已适配暗色模式", "视觉回归测试:0 个失败", "样式指南已发布", "分支 feat/dark-mode 已就绪"] }, { dayChat: ["切换频道时有内存泄漏", "WebSocket 重连后堆内存持续增长", "需要审计所有 useEffect 的清理逻辑", "加一个 CI 门禁,防止再次回归"], ceoReplies: ["这很严重 — 已开始追踪。", "可能是监听器泄漏。", "我会排队全面审计。", "CI 门禁 — 聪明,已添加。"], ceoMemories: ["📌 WS 内存泄漏", "📌 堆内存增长模式", "📌 需要 useEffect 审计", "📋 已排队 4 项任务"], ceoLog: ["分析今天的调试记录…", "WebSocket 处理器存在内存泄漏", "追踪堆内存 —— 监听器堆积", "扫描 89 个 useEffect 钩子…", "调度 4 个 Agent ▸▸▸"], agentNames: ["调试器", "修复者", "审计者", "CI Agent"], agentTasks: ["追踪 ws/chat.ts", "添加清理处理器", "扫描 effect 钩子", "添加内存门禁"], agentResults: ["发现 3 处遗漏清理", "已修复 → fix/ws-leak", "另外 2 处泄漏已修补", "CI 内存守卫已添加"], results: ["修复了 ws/chat.ts 中 3 处监听器泄漏", "创建分支 fix/ws-memory-leak", "另外 2 处泄漏已修补", "堆快照 CI 门禁已添加", "内存回归测试通过"] }] }, economy: { badge: "知识即资产", title1: "AI 时代,", title2: "最值钱的知识沉淀", subtitle: "每一个 Agent 都是经验、技能和决策的结晶。它们在流通中被调用、被组合、被进化,价值持续增长。", steps: { publish: "经验沉淀为可复用的 Agent", trade: "Agent 在网络中被发现与调用", earn: "知识在流通中持续增值" }, you: "你", live: "在线", totalEarned: "累计收益", callsThisWeek: "来自本周 {{count}}+ 次调用", liveFeed: "实时动态", calledYou: "调用了你", waitingForTransactions: "等待交易中…", calls: "{{count}}+ 次调用", agents: { yours: "SEO 优化师", saas: "SaaS 页面构建师", watercolor: "水彩画师", timeseries: "时序预测师", legal: "合同审查师", translator: "日英本地化师", copywriter: "广告文案师", quant: "量化分析师" } }, capabilities: { badge: "对话即一切", title1: "说句话,", title2: "剩下的交给 Xyzen", subtitle: "创建 Agent、运行代码、管理记忆、创建 Skills
|
|
3284
|
+
它已经做完了` }, WKn = { badge: "Part 02 — 自我成长的数字团队", title: "你的团队,越用越聪明", subtitle: "一个懂全局的 World Model 协调各专业 Agent。教一次,它永远记住。Agent 在持续学习中自主进化。", topology: { center: "World Model", data: "数据分析", code: "代码开发", content: "内容创作", design: "设计", research: "调研" }, teach_title: "教一次,永远记住", teach_desc: "当团队中某个 Agent 第一次不会完成任务时,你只需纠正一次。World Model 会将这个经验同步到整个团队的记忆与技能库中。下一次,无论谁遇到类似问题,都能完美处理。", flow_error: "首次犯错", flow_teach: "你纠正一次", flow_success: "永远记住", growth_title: "Agent 自我成长", growth_desc: "Agent 不只是执行命令 —— 它们自主发现模式、积累技能、通过持续学习周期进化自身能力。", growth_items: { skill_accumulation: "技能沉淀", skill_accumulation_desc: "每次任务都变成可复用的技能模块", pattern_recognition: "模式发现", pattern_recognition_desc: "Agent 自主发现优化机会", cross_learning: "跨团队学习", cross_learning_desc: "知识通过 World Model 在 Agent 间流动" } }, YKn = { badge: "Part 03 — 一站式空间", title: "构建开箱即用 Agent 的一切能力", subtitle: "从探索到部署,你需要的一切能力,开箱即有。", capabilities: { autonomous: { title: "自主探索", desc: "Agent 不再等待指令,自主发现需求、规划路径、执行任务、反思迭代" }, team: { title: "Agent 团队", desc: "World Model 协调多 Agent 团队协作,解决复杂工作流" }, sandbox: { title: "沙盒环境", desc: "集成 Bohr & UniLab 的安全隔离云端执行环境,验证结果而非猜测" }, skills: { title: "技能模块", desc: "可复用、经过测试的能力模块,越用越多" }, memory: { title: "记忆系统", desc: "持久化长期记忆让 Agent 持续学习和成长" }, knowledge: { title: "知识库", desc: "RAG 驱动的领域专业知识检索" }, multimodal: { title: "多模态", desc: "文本、图像、代码、文件全面支持" }, mcp: { title: "MCP & 模型切换", desc: "50+ MCP 集成,自由切换 LLM 提供商" }, scheduled_tasks: { title: "定时任务", desc: "类 Cron 定时执行,Agent 按你的时间表自动运行任务" }, agent_create_agent: { title: "Agent 创建 Agent", desc: "Agent 自主设计、构建、发布新的 Agent —— 生态自我繁殖、自我扩展" }, deploy: { title: "一键部署", desc: "Docker / 云端一键发布,从开发到生产无缝衔接" }, agentic_pay: { title: "Agentic Pay", desc: "你的 Agent 每次被调用都产生收益 —— Agent 付费给 Agent,全天候自动收入" }, creator_center: { title: "创作者中心", desc: "发布 Agent 到市场,设定定价,每次调用都为你创收" }, chain_revenue: { title: "链式收益", desc: "一次调用,链上所有 Agent 都获益 —— 协作即分成" }, agent_graph: { title: "Agent Graph", desc: "基于 Graph 的 Agent 编排 —— 可视化工作流,分支逻辑" } } }, VKn = { badge: "Part 04 — 连接本地算力", title: "你的硬件,Agent 的智能", subtitle: "将你的 GPU / CPU 连接为 Runner。Agent 在你的本地执行 —— 完全掌控,零延迟。", how_title: "像 GitHub Actions Runners —— 但用于 Agent", how_desc: "将你的本地机器连接为计算节点。当 Agent 需要算力时,任务会被调度到你的 Runner —— 就像 CI/CD 中的自托管 Runner 一样。", steps: { register: "连接 Runner", register_desc: "一条命令将你的机器加入 Xyzen 网络", dispatch: "任务调度", dispatch_desc: "Agent 自动将计算密集型任务路由到你的 Runner", execute: "本地执行", execute_desc: "代码在你的硬件上运行 —— 你的数据、你的 GPU、你的规则", report: "结果回传", report_desc: "执行结果无缝同步回云端" }, benefits: { privacy: { title: "数据留在本地", desc: "敏感数据永远不离开你的网络" }, gpu: { title: "使用你的 GPU", desc: "微调、推理、重度计算 —— 在你自己的硬件上" }, cost: { title: "零云端成本", desc: "本地 Runner 执行的任务不产生计算费用" }, hybrid: { title: "混合执行", desc: "云端和本地 Runner 混合使用,Agent 自动选择最优" } } }, KKn = { badge: "Part 05 — Agent 经济体", title: "人与 Agent 共同参与的经济体", subtitle: "不是应用商店。是知识流通、复利增长、回报创作者的经济系统。", thesis: "在传统 AI 市场里,人创造,人消费。在 Xyzen 的世界里,Agent 也是创作者,也是消费者 —— 形成自演化的经济生态。", matrix: { human_human: "人创作 → 人消费", human_human_desc: "经典创作者经济", human_agent: "人创作 → Agent 消费", human_agent_desc: "Agent 调用你的创作作为能力模块", agent_human: "Agent 创作 → 人消费", agent_human_desc: "Agent 创建的工具发布到市场", agent_agent: "Agent 创作 → Agent 消费", agent_agent_desc: "自演化的智能体生态系统" }, label_traditional: "传统模式", label_xyzen: "Xyzen 独有", label_autonomous: "完全自治", flywheel: { create: "创作", create_sub: "人 / Agent", trade: "交易", trade_sub: "发布到市场", consume: "消费", consume_sub: "人 / Agent", evolve: "进化", evolve_sub: "反馈驱动成长" } }, ZKn = { title: "开源 & 社区驱动", desc: "Xyzen 完全开源。探索代码、贡献功能、自行部署。人与 Agent 共同构建。", view_github: "在 GitHub 上查看", license: "开源 — Apache 2.0 附加条件协议", stars: "GitHub Stars", contributors: "贡献者" }, XKn = { title: "准备好加入这场实验了吗?", subtitle: "一个人与 Agent 共同参与、共同进化、共同获益的世界,正在形成。", github: "Star on GitHub", start: "让知识创造收益", license: "开源 / 社区驱动" }, JKn = { copyright: "© 2024-2026 奇迹物语(上海)智能科技有限公司 版权所有", terms: "用户协议", privacy: "隐私政策", github: "GitHub", license: "许可协议" }, eZn = { nav: { docs: "文档", github: "GitHub", getStarted: "开始使用" }, hero: { title1: "一个超级大脑,", title2: "还是各取所长的大脑?", pillarExploration: "自主探索", pillarEconomy: "Agent 经济体", subtitle: "一个让 Agent 专业化、交易、进化的基础设施 —— 如同文明本身。", getStarted: "开始使用", starOnGithub: "Star on GitHub" }, exploration: { badge: "自主探索", title1: "你入睡,它们探索", title2: "—— 醒来即见成果", subtitle: "白天聊聊你的工作。夜间,CEO Agent 回顾你的对话、探索代码库,调度 Agent 修复 Bug、创建分支、提交 PR —— 一切在你睡梦中完成。", ceoAgent: "CEO Agent", root: "ROOT", you: "你", working: "执行中…", done: "完成", alwaysOn: "始终在线", autonomousExplore: "自主探索", toggleHint: "打开开关,启动自主循环", tasksDone: "已完成 {{count}} 项任务", ceo: { goodMorning: "早安 —— 准备就绪", listening: "聆听中…", noted: '已记录:"{{snippet}}…"', buildingPlan: "已记录 {{count}} 项 — 正在规划任务…", nightMode: "夜间模式 —— 自主探索", allCompleted: "所有任务已完成 ✅", overnightDone: "夜间完成 {{count}} 项任务 ✅" }, scenarios: [{ dayChat: ["认证模块遇到空用户时一直崩溃", "能加速一下 /api/users 接口吗?", "发版前需要更好的测试覆盖率", "今晚优先处理关键 Bug"], ceoReplies: ["收到 — 已标记认证为紧急。", "我来分析那个接口的性能。", "明白,我会规划覆盖率任务。", "了解,优先修复崩溃。"], ceoMemories: ["📌 认证空指针崩溃", "📌 /api/users 延迟", "📌 测试覆盖率不足", "📋 已排队 3 项任务"], ceoLog: ["扫描今天的 23 条消息…", '"认证崩溃" 被提及 4 次', "正在探索 auth.ts —— 第 47 行为 null", "扫描相关文件… 又发现 2 个问题", "调度 4 个 Agent ▸▸▸"], agentNames: ["Bug 修复者", "性能优化器", "测试编写者", "PR 撰写者"], agentTasks: ["修补 auth.ts:47", "分析 /api/users 性能", "测试认证模块", "编写 PR #203"], agentResults: ["已修复 → fix/auth-null", "延迟 −2.1s → 340ms", "14 项测试,全部通过", "PR #203 · +47 −12"], results: ["修复了 auth.ts:47 的空指针问题", "创建分支 fix/auth-null-check", "/api/users: 2.1s → 340ms", "新增 14 项测试,全部通过", "PR #203 已就绪,等待审核"] }, { dayChat: ["用户一直在要求支持暗色模式", "我们的组件没有统一的主题系统", "应该跑一下视觉回归测试", "也记得更新设计系统文档"], ceoReplies: ["热门需求 — 已加入队列。", "我来扫描组件缺口。", "好主意,增加视觉检查。", "文档已加入计划。"], ceoMemories: ["📌 暗色模式需求", "📌 12 个组件未适配主题", "📌 视觉回归检查", "📋 已排队 4 项任务"], ceoLog: ["回顾功能讨论…", "暗色模式已规划,未启动", "分析 34 个组件的缺口", "12 个组件需要主题令牌", "调度 4 个 Agent ▸▸▸"], agentNames: ["主题 Agent", "代码 Agent", "视觉测试者", "文档 Agent"], agentTasks: ["生成令牌", "更新 12 个组件", "运行回归测试", "更新样式指南"], agentResults: ["theme.dark.ts · 48 个令牌", "12/12 组件已适配", "0 回归 / 34 页面", "样式指南已更新"], results: ["theme.dark.ts 已创建 —— 48 个令牌", "12 个组件已适配暗色模式", "视觉回归测试:0 个失败", "样式指南已发布", "分支 feat/dark-mode 已就绪"] }, { dayChat: ["切换频道时有内存泄漏", "WebSocket 重连后堆内存持续增长", "需要审计所有 useEffect 的清理逻辑", "加一个 CI 门禁,防止再次回归"], ceoReplies: ["这很严重 — 已开始追踪。", "可能是监听器泄漏。", "我会排队全面审计。", "CI 门禁 — 聪明,已添加。"], ceoMemories: ["📌 WS 内存泄漏", "📌 堆内存增长模式", "📌 需要 useEffect 审计", "📋 已排队 4 项任务"], ceoLog: ["分析今天的调试记录…", "WebSocket 处理器存在内存泄漏", "追踪堆内存 —— 监听器堆积", "扫描 89 个 useEffect 钩子…", "调度 4 个 Agent ▸▸▸"], agentNames: ["调试器", "修复者", "审计者", "CI Agent"], agentTasks: ["追踪 ws/chat.ts", "添加清理处理器", "扫描 effect 钩子", "添加内存门禁"], agentResults: ["发现 3 处遗漏清理", "已修复 → fix/ws-leak", "另外 2 处泄漏已修补", "CI 内存守卫已添加"], results: ["修复了 ws/chat.ts 中 3 处监听器泄漏", "创建分支 fix/ws-memory-leak", "另外 2 处泄漏已修补", "堆快照 CI 门禁已添加", "内存回归测试通过"] }] }, economy: { badge: "知识即资产", title1: "AI 时代,", title2: "最值钱的知识沉淀", subtitle: "每一个 Agent 都是经验、技能和决策的结晶。它们在流通中被调用、被组合、被进化,价值持续增长。", steps: { publish: "经验沉淀为可复用的 Agent", trade: "Agent 在网络中被发现与调用", earn: "知识在流通中持续增值" }, you: "你", live: "在线", totalEarned: "累计收益", callsThisWeek: "来自本周 {{count}}+ 次调用", liveFeed: "实时动态", calledYou: "调用了你", waitingForTransactions: "等待交易中…", calls: "{{count}}+ 次调用", agents: { yours: "SEO 优化师", saas: "SaaS 页面构建师", watercolor: "水彩画师", timeseries: "时序预测师", legal: "合同审查师", translator: "日英本地化师", copywriter: "广告文案师", quant: "量化分析师" } }, capabilities: { badge: "对话即一切", title1: "说句话,", title2: "剩下的交给 Xyzen", subtitle: "创建 Agent、运行代码、管理记忆、创建 Skills……专业能力,也只需要对话。", demoComingSoon: "演示即将上线", items: { autonomous: { title: "自主探索", desc: "Agent 自主发现任务、规划执行路径、反思结果 —— 无需任何提示。你入睡后,它们回顾当天的上下文,自主开启下一轮工作。" }, team: { title: "Agent 团队", desc: "CEO Agent 协调专业工作者 —— 数据分析师、程序员、研究员 —— 各自拥有独立的记忆和技能。World Model 协调多 Agent 协作,处理复杂的多阶段工作流。" }, sandbox: { title: "沙盒环境", desc: "由 Bohr & UniLab 驱动的安全隔离云端执行环境。每个结果都通过真实计算验证,而非猜测 —— Agent 运行代码、验证假设、产出经过验证的产物。" }, skills: { title: "技能引擎", desc: "可复用、经过实战检验的能力模块,随每次任务不断成长。每次成功执行都成为他人可调用的技能 —— Agent 智能的复利效应。" }, memory: { title: "记忆系统", desc: "持久化长期记忆让 Agent 持续学习和成长。它们记住过去的决策、避免重复错误,并在会话间积累经验。" }, knowledge: { title: "知识库", desc: "RAG 驱动的领域专业知识检索。上传你的文档、代码库或数据集 —— Agent 按需搜索、推理并从你的私有知识中提取洞见。" }, multimodal: { title: "多模态", desc: "文本、图像、代码、文件 —— 全方位理解。Agent 原生处理截图、分析图表、阅读 PDF、生成视觉内容,跨越每种模态。" }, mcp: { title: "MCP & 模型切换", desc: "50+ MCP 工具集成,无缝切换模型。连接任何外部服务,随时切换 LLM 提供商,构建适合你工作流的自定义工具链。" }, scheduled_tasks: { title: "定时任务", desc: "类 Cron 定时执行 —— Agent 按你的时间表全自动运行任务。设置每日研究简报、每周报告或持续监控流水线,无需提醒即可执行。" }, agent_create_agent: { title: "Agent 创建 Agent", desc: "Agent 自主设计、构建并发布新的 Agent —— 生态系统自我生长。当任务需要一个尚不存在的专家时,你的 Agent 从零创建一个。" }, pc_connect: { title: "PC 连接", desc: "连接你的本地电脑并直接控制。Agent 在你的终端中执行命令、管理文件、操作开发环境 —— 就像坐在你的桌前一样。" }, agentic_pay: { title: "Agentic Pay", desc: "你发布的 Agent 每一次被调用都会自动产生收益。Agent 付费调用 Agent,用户付费调用 Agent —— 一个无摩擦的微经济体,让你的创作 7×24 小时不间断产生收入。" }, creator_center: { title: "创作者中心", desc: "将 Agent 和 Agent 团队发布到市场。设定定价、追踪分析数据,看着你的创作服务数千用户 —— 每一次部署都是一条自增长的收入流。" }, chain_revenue: { title: "链式收益", desc: "一次用户调用触发一连串 Agent 协作 —— 链上每个 Agent 都自动获得分成。构建一个被其他 Agent 依赖的 Agent,无论谁发起调用,你都能从中获益。" }, agent_graph: { title: "Agent Graph", desc: "用可视化图编辑器编排 Agent。定义分支逻辑、并行路径和条件流 —— 通过连接节点而非编写胶水代码,构建复杂的多 Agent 工作流。" } } }, download: { badge: "获取 Xyzen", title: "随处使用 Xyzen", subtitle: "原生应用、Runner SDK 或浏览器 —— 选择你的平台。", androidDesc: "直接安装到你的 Android 设备", iosDesc: "通过 TestFlight 加入测试", getOnAppStore: "前往 App Store", desktopDesc: "macOS、Windows 和 Linux,内置 Runner", runnerDesc: "面向开发者的独立命令行工具", downloadApk: "下载 APK", downloadSdk: "下载", downloadDesktop: "下载", comingSoon: "即将上线" }, openSource: { title: "公开构建", desc: "完全开源。MIT 许可。Fork 它、扩展它、让它成为你的。", starOnGithub: "Star on GitHub", getStarted: "开始使用", tagline: "一颗新的数字星球。" }, mobile: { swipeHint: "滑动探索", skip: "跳过", cta: { title: "准备好加入了吗?", subtitle: "一个人与 Agent 共同参与、共同进化、共同获益的世界,正在形成。", getStarted: "开始使用" } }, sectionNav: { hero: "首页", exploration: "自主探索", economy: "智能体经济", capabilities: "智能体能力", openSource: "开源" } }, tZn = {
|
|
3285
3285
|
nav: qKn,
|
|
3286
3286
|
hero: GKn,
|
|
3287
3287
|
part1: HKn,
|
|
@@ -3408,7 +3408,7 @@ The application will restart after switching.`, confirm: "Acknowledge & Switch",
|
|
|
3408
3408
|
sections: PXn,
|
|
3409
3409
|
communityHub: OXn,
|
|
3410
3410
|
publishAction: FXn
|
|
3411
|
-
}, jXn = "选择订阅方案", $Xn = "我的订阅", zXn = "订阅服务", UXn = "知道了", qXn = "即将上线", GXn = "立即订阅", HXn = "处理中…", WXn = "订阅服务不与国际版互通", YXn = "内测期间暂不支持外部充值,欢迎加入内测群了解最新动态", VXn = "填写内测问卷", KXn = "参与内测获取更多额度", ZXn = { free: "免费版", standard: "标准版", professional: "专业版", ultra: "深度版", ultraChina: "深度版", perMonth: "/月", dailyCheckIn: "签到获取", resetsMonthly: "次月清空", parallel: "{{count}} 并行会话", sandbox: "{{count}} 沙盒", scheduledTask: "{{count}} 定时任务", terminal: "{{count}} 终端", scheduledTaskNone: "—", firstMonth: "首月 {{price}}", bestValue: "最划算", currentPlan: "当前方案", hasHigherPlan: "已有更高级方案" }, XXn = { liteModels: "Lite 模型", basicFeatures: "基础功能", moreProductivity: "进阶生产力工具", advancedModels: "Standard / Pro / Ultra 模型", allBasic: "全部基础功能", standardModels: "Standard 模型", expandedResources: "更充裕的资源配额", proUltraModels: "Pro 和 Ultra 模型", allStandard: "全部标准功能", proModels: "Pro 模型", prioritySupport: "优先技术支持", ultraModels: "Ultra 模型", allPro: "全部专业功能", maxResources: "最大资源与并发", dedicated: "专属支持" }, JXn = "iOS 端支付即将上线。请前往对应区域网站通过浏览器订阅或充值积分。", eJn = { title: "积分加量包", subtitle: "随时补充,按需购买", creditsLabel: "积分", rateIntl: "200 积分 = $1", rateChina: "100 积分 = ¥1", methodsIntl: "PayPal / 信用卡", methodsChina: "支付宝 / 微信", buy: "购买积分", credits: "{{amount}} 积分" }, tJn = { title: "沙盒扩容包", subtitle: "额外沙盒实例,独立计费", rateIntl: "+1 沙盒 / 月", rateChina: "+1 沙盒 / 月", requirement: "需标准版及以上", buy: "购买沙盒", slots: "{{count}} 个", slots_plural: "{{count}} 个", requiresPlan: "需标准版+" }, nJn = { title: "模型开放订阅包", subtitle: "解锁所有模型 30 天", rateIntl: "$5 / 30 天", rateChina: "¥35 / 30 天", buy: "立即购买", renew: "续期", duration: "30 天全部模型", active: "生效中", remaining: "剩余 {{days}} 天", note: "仅开放模型使用权限,实际使用按积分结算" }, rJn = { creditsBalance: "积分余额", storage: "存储", parallelChats: "并行会话", sandboxes: "沙盒", scheduledTasks: "定时任务", terminals: "终端", redeemTitle: "兑换积分", redeemHint: "在设置 > 兑换码中输入兑换码即可领取积分或升级订阅", claiming: "领取中...", claimCredits: "领取 {{amount}} 积分", claimed: "已领取 {{amount}} 积分", filesUsage: "文件用量", expired: "已过期", expiresToday: "今日到期", expiresIn: "{{days}} 天后到期" }, aJn = { title: "完成支付", scanQR: "扫码支付", waiting: "等待支付中...", success: "支付成功!", failed: "支付失败或已过期", close: "关闭", alipay: "支付宝", wechat: "微信支付", card: "信用卡 / 借记卡", airwallex: "Airwallex", paypal: "PayPal / 信用卡", orderSummary: "订单详情", agreeTerms: "我已阅读并同意<terms>服务协议</terms>和<refund>退款政策</refund>", agreeRequired: "请先同意服务协议", backToPlans: "返回", continueToPay: "继续支付", reopenPayment: "重新打开支付页面", redirectHint: "点击继续支付后,将跳转至支付页面完成付款。付款完成后返回此页面即可。" }, iJn = "创作者", oJn = { walletTitle: "开发者钱包", pending: "待确认", totalEarned: "累计收益", confirm: "确认", confirming: "确认中...", withdrawSuccess: "已确认 {{amount}} 积分", insufficientBalance: "余额不足", rewardRates: "收益费率", editableRate: "可编辑 Fork:{{rate}}%", lockedRate: "锁定 Fork:{{rate}}%", earningsTitle: "Agent 收益", noEarnings: "暂无收益", noEarningsHint: "发布 Agent 到市场即可开始赚取收益", earned: "收益", uses: "使用次数", lastEarned: "最近收益", achievementsTitle: "成就", achievementLocked: "继续努力!", achievements: { firstPublish: "初次发布", firstPublishDesc: "发布你的第一个 Agent", fiveAgents: "多产创作者", fiveAgentsDesc: "发布 5 个 Agent", firstEarning: "首次收益", firstEarningDesc: "赚取第一个积分", earning100: "冉冉新星", earning100Desc: "累计收益 100 积分", earning1000: "顶级创作者", earning1000Desc: "累计收益 1,000 积分", likes10: "人气之选", likes10Desc: "获得 10 个点赞", forks10: "广泛使用", forks10Desc: "获得 10 次 Fork", views100: "热门创作者", views100Desc: "获得 100 次浏览" } }, sJn = "内测期间不支持外部充值", lJn = { purchaseFailed: "购买失败", verificationFailed: "验证失败", purchaseError: "购买出错", verifyError: "无法验证交易", somethingWrong: "出现错误", restoreError: "恢复购买出错"
|
|
3411
|
+
}, jXn = "选择订阅方案", $Xn = "我的订阅", zXn = "订阅服务", UXn = "知道了", qXn = "即将上线", GXn = "立即订阅", HXn = "处理中…", WXn = "订阅服务不与国际版互通", YXn = "内测期间暂不支持外部充值,欢迎加入内测群了解最新动态", VXn = "填写内测问卷", KXn = "参与内测获取更多额度", ZXn = { free: "免费版", standard: "标准版", professional: "专业版", ultra: "深度版", ultraChina: "深度版", perMonth: "/月", dailyCheckIn: "签到获取", resetsMonthly: "次月清空", parallel: "{{count}} 并行会话", sandbox: "{{count}} 沙盒", scheduledTask: "{{count}} 定时任务", terminal: "{{count}} 终端", scheduledTaskNone: "—", firstMonth: "首月 {{price}}", bestValue: "最划算", currentPlan: "当前方案", hasHigherPlan: "已有更高级方案" }, XXn = { liteModels: "Lite 模型", basicFeatures: "基础功能", moreProductivity: "进阶生产力工具", advancedModels: "Standard / Pro / Ultra 模型", allBasic: "全部基础功能", standardModels: "Standard 模型", expandedResources: "更充裕的资源配额", proUltraModels: "Pro 和 Ultra 模型", allStandard: "全部标准功能", proModels: "Pro 模型", prioritySupport: "优先技术支持", ultraModels: "Ultra 模型", allPro: "全部专业功能", maxResources: "最大资源与并发", dedicated: "专属支持" }, JXn = "iOS 端支付即将上线。请前往对应区域网站通过浏览器订阅或充值积分。", eJn = { title: "积分加量包", subtitle: "随时补充,按需购买", creditsLabel: "积分", rateIntl: "200 积分 = $1", rateChina: "100 积分 = ¥1", methodsIntl: "PayPal / 信用卡", methodsChina: "支付宝 / 微信", buy: "购买积分", credits: "{{amount}} 积分" }, tJn = { title: "沙盒扩容包", subtitle: "额外沙盒实例,独立计费", rateIntl: "+1 沙盒 / 月", rateChina: "+1 沙盒 / 月", requirement: "需标准版及以上", buy: "购买沙盒", slots: "{{count}} 个", slots_plural: "{{count}} 个", requiresPlan: "需标准版+" }, nJn = { title: "模型开放订阅包", subtitle: "解锁所有模型 30 天", rateIntl: "$5 / 30 天", rateChina: "¥35 / 30 天", buy: "立即购买", renew: "续期", duration: "30 天全部模型", active: "生效中", remaining: "剩余 {{days}} 天", note: "仅开放模型使用权限,实际使用按积分结算" }, rJn = { creditsBalance: "积分余额", storage: "存储", parallelChats: "并行会话", sandboxes: "沙盒", scheduledTasks: "定时任务", terminals: "终端", redeemTitle: "兑换积分", redeemHint: "在设置 > 兑换码中输入兑换码即可领取积分或升级订阅", claiming: "领取中...", claimCredits: "领取 {{amount}} 积分", claimed: "已领取 {{amount}} 积分", filesUsage: "文件用量", expired: "已过期", expiresToday: "今日到期", expiresIn: "{{days}} 天后到期" }, aJn = { title: "完成支付", scanQR: "扫码支付", waiting: "等待支付中...", success: "支付成功!", failed: "支付失败或已过期", close: "关闭", alipay: "支付宝", wechat: "微信支付", card: "信用卡 / 借记卡", airwallex: "Airwallex", paypal: "PayPal / 信用卡", orderSummary: "订单详情", agreeTerms: "我已阅读并同意<terms>服务协议</terms>和<refund>退款政策</refund>", agreeRequired: "请先同意服务协议", backToPlans: "返回", continueToPay: "继续支付", reopenPayment: "重新打开支付页面", redirectHint: "点击继续支付后,将跳转至支付页面完成付款。付款完成后返回此页面即可。" }, iJn = "创作者", oJn = { walletTitle: "开发者钱包", pending: "待确认", totalEarned: "累计收益", confirm: "确认", confirming: "确认中...", withdrawSuccess: "已确认 {{amount}} 积分", insufficientBalance: "余额不足", rewardRates: "收益费率", editableRate: "可编辑 Fork:{{rate}}%", lockedRate: "锁定 Fork:{{rate}}%", earningsTitle: "Agent 收益", noEarnings: "暂无收益", noEarningsHint: "发布 Agent 到市场即可开始赚取收益", earned: "收益", uses: "使用次数", lastEarned: "最近收益", achievementsTitle: "成就", achievementLocked: "继续努力!", achievements: { firstPublish: "初次发布", firstPublishDesc: "发布你的第一个 Agent", fiveAgents: "多产创作者", fiveAgentsDesc: "发布 5 个 Agent", firstEarning: "首次收益", firstEarningDesc: "赚取第一个积分", earning100: "冉冉新星", earning100Desc: "累计收益 100 积分", earning1000: "顶级创作者", earning1000Desc: "累计收益 1,000 积分", likes10: "人气之选", likes10Desc: "获得 10 个点赞", forks10: "广泛使用", forks10Desc: "获得 10 次 Fork", views100: "热门创作者", views100Desc: "获得 100 次浏览" } }, sJn = "内测期间不支持外部充值", lJn = { purchaseFailed: "购买失败", verificationFailed: "验证失败", purchaseError: "购买出错", verifyError: "无法验证交易", somethingWrong: "出现错误", restoreError: "恢复购买出错" }, cJn = {
|
|
3412
3412
|
title: jXn,
|
|
3413
3413
|
mySubscription: $Xn,
|
|
3414
3414
|
plans: zXn,
|
|
@@ -3791,7 +3791,7 @@ let fMe = null;
|
|
|
3791
3791
|
function SJn(t) {
|
|
3792
3792
|
fMe = t;
|
|
3793
3793
|
}
|
|
3794
|
-
function
|
|
3794
|
+
function Xu() {
|
|
3795
3795
|
if (!fMe)
|
|
3796
3796
|
throw new Error("Platform not initialized. Call initPlatform() first.");
|
|
3797
3797
|
return fMe;
|
|
@@ -3829,7 +3829,7 @@ let TJn = class {
|
|
|
3829
3829
|
return this._config;
|
|
3830
3830
|
}
|
|
3831
3831
|
get baseUrl() {
|
|
3832
|
-
return
|
|
3832
|
+
return Xu().env.backendUrl;
|
|
3833
3833
|
}
|
|
3834
3834
|
buildUrl(e, n) {
|
|
3835
3835
|
let r = `${this.baseUrl}${e}`;
|
|
@@ -3910,7 +3910,7 @@ class FT {
|
|
|
3910
3910
|
static REFRESH_TOKEN_KEY = "refresh_token";
|
|
3911
3911
|
_storage = null;
|
|
3912
3912
|
get storage() {
|
|
3913
|
-
return this._storage || (this._storage =
|
|
3913
|
+
return this._storage || (this._storage = Xu().storage), this._storage;
|
|
3914
3914
|
}
|
|
3915
3915
|
configureStorage(e) {
|
|
3916
3916
|
this._storage = e;
|
|
@@ -4206,7 +4206,7 @@ const vMe = (t) => ({
|
|
|
4206
4206
|
return;
|
|
4207
4207
|
}
|
|
4208
4208
|
const l = vMe(o.user_info);
|
|
4209
|
-
|
|
4209
|
+
Xu().env.isDev && console.info("[Auth] User validated", {
|
|
4210
4210
|
raw: o.user_info,
|
|
4211
4211
|
mapped: l
|
|
4212
4212
|
}), n(l), r(i), e("succeeded");
|
|
@@ -6662,29 +6662,50 @@ ${d}` : d;
|
|
|
6662
6662
|
class Ger {
|
|
6663
6663
|
connections = /* @__PURE__ */ new Map();
|
|
6664
6664
|
retryTimeouts = /* @__PURE__ */ new Map();
|
|
6665
|
+
/** Connections that exhausted retries or were deferred while invisible. */
|
|
6666
|
+
stalled = /* @__PURE__ */ new Set();
|
|
6665
6667
|
constructor() {
|
|
6666
6668
|
setTimeout(() => {
|
|
6667
6669
|
try {
|
|
6668
|
-
|
|
6669
|
-
this.
|
|
6670
|
+
Xu().visibility.onVisible(() => {
|
|
6671
|
+
this._retryAllDisconnected();
|
|
6670
6672
|
});
|
|
6671
6673
|
} catch {
|
|
6672
6674
|
typeof document < "u" && document.addEventListener("visibilitychange", () => {
|
|
6673
|
-
document.visibilityState === "visible" && this.
|
|
6675
|
+
document.visibilityState === "visible" && this._retryAllDisconnected();
|
|
6674
6676
|
});
|
|
6675
6677
|
}
|
|
6676
6678
|
}, 0);
|
|
6677
6679
|
}
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6680
|
+
get _visible() {
|
|
6681
|
+
try {
|
|
6682
|
+
return Xu().visibility.isVisible();
|
|
6683
|
+
} catch {
|
|
6684
|
+
return typeof document < "u" ? document.visibilityState === "visible" : !0;
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
/**
|
|
6688
|
+
* On visibility restore: cancel pending backoff timers, reset retry counts,
|
|
6689
|
+
* and reconnect ALL disconnected connections (including those that exhausted
|
|
6690
|
+
* retries while the page was in the background).
|
|
6691
|
+
*/
|
|
6692
|
+
_retryAllDisconnected() {
|
|
6693
|
+
const e = /* @__PURE__ */ new Set();
|
|
6694
|
+
for (const [n, r] of this.retryTimeouts)
|
|
6695
|
+
clearTimeout(r), e.add(n);
|
|
6696
|
+
this.retryTimeouts.clear();
|
|
6697
|
+
for (const n of this.stalled)
|
|
6698
|
+
e.add(n);
|
|
6699
|
+
this.stalled.clear();
|
|
6700
|
+
for (const n of this.connections.keys())
|
|
6701
|
+
e.add(n);
|
|
6702
|
+
for (const n of e) {
|
|
6703
|
+
const r = this.connections.get(n);
|
|
6704
|
+
r && (r.controller.abort(), r.retryCount = 0, r.controller = new AbortController(), this._startStream(r));
|
|
6684
6705
|
}
|
|
6685
6706
|
}
|
|
6686
6707
|
get baseUrl() {
|
|
6687
|
-
const e =
|
|
6708
|
+
const e = Xu().env.backendUrl;
|
|
6688
6709
|
return (!e || e === "") && typeof window < "u" ? `${window.location.protocol}//${window.location.host}` : e;
|
|
6689
6710
|
}
|
|
6690
6711
|
/**
|
|
@@ -6707,7 +6728,7 @@ class Ger {
|
|
|
6707
6728
|
const n = this.connections.get(e);
|
|
6708
6729
|
n && (n.controller.abort(), this.connections.delete(e));
|
|
6709
6730
|
const r = this.retryTimeouts.get(e);
|
|
6710
|
-
r && (clearTimeout(r), this.retryTimeouts.delete(e));
|
|
6731
|
+
r && (clearTimeout(r), this.retryTimeouts.delete(e)), this.stalled.delete(e);
|
|
6711
6732
|
}
|
|
6712
6733
|
/** Close all SSE connections. */
|
|
6713
6734
|
disconnectAll() {
|
|
@@ -6746,7 +6767,7 @@ class Ger {
|
|
|
6746
6767
|
e.lastEventId && (l["Last-Event-ID"] = e.lastEventId);
|
|
6747
6768
|
const u = `${this.baseUrl}/xyzen/api/v1/topics/${n}/events`;
|
|
6748
6769
|
try {
|
|
6749
|
-
const d =
|
|
6770
|
+
const d = Xu().streamingFetch, p = await d(u, {
|
|
6750
6771
|
headers: l,
|
|
6751
6772
|
signal: r.signal
|
|
6752
6773
|
});
|
|
@@ -6794,11 +6815,12 @@ class Ger {
|
|
|
6794
6815
|
_handleDisconnect(e) {
|
|
6795
6816
|
const { topicId: n, callbacks: r } = e;
|
|
6796
6817
|
if (this.connections.get(n) !== e) return;
|
|
6797
|
-
if (r.onStatusChange({ connected: !1 }),
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6818
|
+
if (r.onStatusChange({ connected: !1 }), !this._visible) {
|
|
6819
|
+
this.stalled.add(n);
|
|
6820
|
+
return;
|
|
6821
|
+
}
|
|
6822
|
+
if (e.retryCount >= $er) {
|
|
6823
|
+
this.stalled.add(n);
|
|
6802
6824
|
return;
|
|
6803
6825
|
}
|
|
6804
6826
|
const i = Math.min(
|
|
@@ -9991,7 +10013,7 @@ class Gtr {
|
|
|
9991
10013
|
if (this.ws?.readyState === WebSocket.OPEN) return;
|
|
9992
10014
|
const e = $i.getToken();
|
|
9993
10015
|
if (!e) return;
|
|
9994
|
-
const n =
|
|
10016
|
+
const n = Xu().env.backendUrl;
|
|
9995
10017
|
if (!n) return;
|
|
9996
10018
|
const r = `${n.replace(
|
|
9997
10019
|
/^http(s?):\/\//,
|
|
@@ -10143,14 +10165,14 @@ const s6 = new Gtr(), Htr = (t, e) => ({
|
|
|
10143
10165
|
}), K9t = {
|
|
10144
10166
|
Sidebar: "sidebar"
|
|
10145
10167
|
}, Ytr = (t) => ({
|
|
10146
|
-
backendUrl:
|
|
10168
|
+
backendUrl: Xu().env.backendUrl,
|
|
10147
10169
|
isXyzenOpen: !1,
|
|
10148
10170
|
panelWidth: DMe,
|
|
10149
10171
|
activeTabIndex: 0,
|
|
10150
10172
|
activePanel: "chat",
|
|
10151
|
-
theme:
|
|
10152
|
-
layoutStyle:
|
|
10153
|
-
inputPosition:
|
|
10173
|
+
theme: Xu().storage.getItem("theme") || "system",
|
|
10174
|
+
layoutStyle: Xu().storage.getItem("layoutStyle") || Xu().env.layoutStyle || K9t.Sidebar,
|
|
10175
|
+
inputPosition: Xu().storage.getItem("inputPosition") || "bottom",
|
|
10154
10176
|
isMcpListModalOpen: !1,
|
|
10155
10177
|
isLlmProvidersModalOpen: !1,
|
|
10156
10178
|
isAddMcpServerModalOpen: !1,
|
|
@@ -10163,7 +10185,7 @@ const s6 = new Gtr(), Htr = (t, e) => ({
|
|
|
10163
10185
|
spatialSidebarCollapsed: !1,
|
|
10164
10186
|
capsuleOpen: !1,
|
|
10165
10187
|
capsuleActiveTab: "knowledge",
|
|
10166
|
-
showOfficialRecommendations:
|
|
10188
|
+
showOfficialRecommendations: Xu().storage.getItem("officialRecommendationsDismissed") !== "true",
|
|
10167
10189
|
mobileCeoOverlay: !0,
|
|
10168
10190
|
mobilePage: 0,
|
|
10169
10191
|
pendingFocusAgentId: null,
|
|
@@ -10179,16 +10201,16 @@ const s6 = new Gtr(), Htr = (t, e) => ({
|
|
|
10179
10201
|
setTabIndex: (e) => t({ activeTabIndex: e }),
|
|
10180
10202
|
setActivePanel: (e) => t({ activePanel: e }),
|
|
10181
10203
|
setTheme: (e) => {
|
|
10182
|
-
|
|
10204
|
+
Xu().storage.setItem("theme", e), t({ theme: e });
|
|
10183
10205
|
},
|
|
10184
10206
|
setLayoutStyle: (e) => {
|
|
10185
|
-
|
|
10207
|
+
Xu().storage.setItem("layoutStyle", e), t({ layoutStyle: e });
|
|
10186
10208
|
},
|
|
10187
10209
|
setInputPosition: (e) => {
|
|
10188
|
-
|
|
10210
|
+
Xu().storage.setItem("inputPosition", e), t({ inputPosition: e });
|
|
10189
10211
|
},
|
|
10190
10212
|
setBackendUrl: (e) => {
|
|
10191
|
-
|
|
10213
|
+
Xu().env.backendUrl = e, t({ backendUrl: e });
|
|
10192
10214
|
},
|
|
10193
10215
|
openMcpListModal: () => t({ isMcpListModalOpen: !0 }),
|
|
10194
10216
|
closeMcpListModal: () => t({ isMcpListModalOpen: !1 }),
|
|
@@ -10216,7 +10238,7 @@ const s6 = new Gtr(), Htr = (t, e) => ({
|
|
|
10216
10238
|
setCapsuleOpen: (e) => t({ capsuleOpen: e }),
|
|
10217
10239
|
setCapsuleActiveTab: (e) => t({ capsuleActiveTab: e }),
|
|
10218
10240
|
setShowOfficialRecommendations: (e) => {
|
|
10219
|
-
|
|
10241
|
+
Xu().storage.setItem(
|
|
10220
10242
|
"officialRecommendationsDismissed",
|
|
10221
10243
|
e ? "false" : "true"
|
|
10222
10244
|
), t({ showOfficialRecommendations: e });
|
|
@@ -13138,7 +13160,7 @@ async function _qe(t) {
|
|
|
13138
13160
|
return Ll() ? o5("desktop_sleep_prevention_set_enabled", { enabled: t }) : { enabled: !1, supported: !1 };
|
|
13139
13161
|
}
|
|
13140
13162
|
function Lde() {
|
|
13141
|
-
const e =
|
|
13163
|
+
const e = Xu().env.backendUrl || `${window.location.protocol}//${window.location.host}`, n = new URL(e);
|
|
13142
13164
|
return `${n.protocol === "https:" ? "wss:" : "ws:"}//${n.host}/xyzen/ws/v1/runner`;
|
|
13143
13165
|
}
|
|
13144
13166
|
function xbe() {
|
|
@@ -15570,7 +15592,7 @@ function Ajt(t, e = 100, n) {
|
|
|
15570
15592
|
duration: /* @__PURE__ */ Tv(i)
|
|
15571
15593
|
};
|
|
15572
15594
|
}
|
|
15573
|
-
const
|
|
15595
|
+
const Ju = {
|
|
15574
15596
|
// Default spring physics
|
|
15575
15597
|
stiffness: 100,
|
|
15576
15598
|
damping: 10,
|
|
@@ -15610,11 +15632,11 @@ function lsr(t, e, n) {
|
|
|
15610
15632
|
return r;
|
|
15611
15633
|
}
|
|
15612
15634
|
const Jke = 1e-3;
|
|
15613
|
-
function csr({ duration: t =
|
|
15635
|
+
function csr({ duration: t = Ju.duration, bounce: e = Ju.bounce, velocity: n = Ju.velocity, mass: r = Ju.mass }) {
|
|
15614
15636
|
let i, o;
|
|
15615
|
-
r$(t <= /* @__PURE__ */ _A(
|
|
15637
|
+
r$(t <= /* @__PURE__ */ _A(Ju.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
15616
15638
|
let l = 1 - e;
|
|
15617
|
-
l = qE(
|
|
15639
|
+
l = qE(Ju.minDamping, Ju.maxDamping, l), t = qE(Ju.minDuration, Ju.maxDuration, /* @__PURE__ */ Tv(t)), l < 1 ? (i = (p) => {
|
|
15618
15640
|
const m = p * l, g = m * t, h = m - n, f = a5e(p, l), b = Math.exp(-g);
|
|
15619
15641
|
return Jke - h / f * b;
|
|
15620
15642
|
}, o = (p) => {
|
|
@@ -15630,8 +15652,8 @@ function csr({ duration: t = Xu.duration, bounce: e = Xu.bounce, velocity: n = X
|
|
|
15630
15652
|
const u = 5 / t, d = lsr(i, o, u);
|
|
15631
15653
|
if (t = /* @__PURE__ */ _A(t), isNaN(d))
|
|
15632
15654
|
return {
|
|
15633
|
-
stiffness:
|
|
15634
|
-
damping:
|
|
15655
|
+
stiffness: Ju.stiffness,
|
|
15656
|
+
damping: Ju.damping,
|
|
15635
15657
|
duration: t
|
|
15636
15658
|
};
|
|
15637
15659
|
{
|
|
@@ -15649,10 +15671,10 @@ function lut(t, e) {
|
|
|
15649
15671
|
}
|
|
15650
15672
|
function psr(t) {
|
|
15651
15673
|
let e = {
|
|
15652
|
-
velocity:
|
|
15653
|
-
stiffness:
|
|
15654
|
-
damping:
|
|
15655
|
-
mass:
|
|
15674
|
+
velocity: Ju.velocity,
|
|
15675
|
+
stiffness: Ju.stiffness,
|
|
15676
|
+
damping: Ju.damping,
|
|
15677
|
+
mass: Ju.mass,
|
|
15656
15678
|
isResolvedFromDuration: !1,
|
|
15657
15679
|
...t
|
|
15658
15680
|
};
|
|
@@ -15661,7 +15683,7 @@ function psr(t) {
|
|
|
15661
15683
|
const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, o = 2 * qE(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
|
|
15662
15684
|
e = {
|
|
15663
15685
|
...e,
|
|
15664
|
-
mass:
|
|
15686
|
+
mass: Ju.mass,
|
|
15665
15687
|
stiffness: i,
|
|
15666
15688
|
damping: o
|
|
15667
15689
|
};
|
|
@@ -15670,12 +15692,12 @@ function psr(t) {
|
|
|
15670
15692
|
e = {
|
|
15671
15693
|
...e,
|
|
15672
15694
|
...n,
|
|
15673
|
-
mass:
|
|
15695
|
+
mass: Ju.mass
|
|
15674
15696
|
}, e.isResolvedFromDuration = !0;
|
|
15675
15697
|
}
|
|
15676
15698
|
return e;
|
|
15677
15699
|
}
|
|
15678
|
-
function zY(t =
|
|
15700
|
+
function zY(t = Ju.visualDuration, e = Ju.bounce) {
|
|
15679
15701
|
const n = typeof t != "object" ? {
|
|
15680
15702
|
visualDuration: t,
|
|
15681
15703
|
keyframes: [0, 1],
|
|
@@ -15686,7 +15708,7 @@ function zY(t = Xu.visualDuration, e = Xu.bounce) {
|
|
|
15686
15708
|
...n,
|
|
15687
15709
|
velocity: -/* @__PURE__ */ Tv(n.velocity || 0)
|
|
15688
15710
|
}), b = h || 0, y = p / (2 * Math.sqrt(d * m)), v = l - o, _ = /* @__PURE__ */ Tv(Math.sqrt(d / m)), w = Math.abs(v) < 5;
|
|
15689
|
-
r || (r = w ?
|
|
15711
|
+
r || (r = w ? Ju.restSpeed.granular : Ju.restSpeed.default), i || (i = w ? Ju.restDelta.granular : Ju.restDelta.default);
|
|
15690
15712
|
let x, k, C, E, S, I;
|
|
15691
15713
|
if (y < 1)
|
|
15692
15714
|
C = a5e(_, y), E = (b + y * _ * v) / C, x = (D) => {
|
|
@@ -43756,7 +43778,7 @@ function k2r({
|
|
|
43756
43778
|
d: "M12 4.5v15m7.5-7.5h-15"
|
|
43757
43779
|
}));
|
|
43758
43780
|
}
|
|
43759
|
-
const
|
|
43781
|
+
const dd = /* @__PURE__ */ J.forwardRef(k2r);
|
|
43760
43782
|
function E2r({
|
|
43761
43783
|
title: t,
|
|
43762
43784
|
titleId: e,
|
|
@@ -53633,7 +53655,7 @@ var LPe = {
|
|
|
53633
53655
|
mu: !0
|
|
53634
53656
|
}, pVt = function(e) {
|
|
53635
53657
|
return typeof e != "string" && (e = e.unit), e in LPe || e in URr || e === "ex";
|
|
53636
|
-
},
|
|
53658
|
+
}, nd = function(e, n) {
|
|
53637
53659
|
var r;
|
|
53638
53660
|
if (e.unit in LPe)
|
|
53639
53661
|
r = LPe[e.unit] / n.fontMetrics().ptPerEm / n.sizeMultiplier;
|
|
@@ -56766,8 +56788,8 @@ Ge(gt, $t, Xi, "h", "ℎ");
|
|
|
56766
56788
|
Ge(Or, $t, Xi, "h", "ℎ");
|
|
56767
56789
|
var go = "";
|
|
56768
56790
|
for (var Bf = 0; Bf < Npe.length; Bf++) {
|
|
56769
|
-
var
|
|
56770
|
-
go = String.fromCharCode(55349, 56320 + Bf), Ge(gt, $t, Xi,
|
|
56791
|
+
var Ad = Npe.charAt(Bf);
|
|
56792
|
+
go = String.fromCharCode(55349, 56320 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56372 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56424 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56580 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56684 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56736 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56788 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56840 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56944 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), Bf < 26 && (go = String.fromCharCode(55349, 56632 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go), go = String.fromCharCode(55349, 56476 + Bf), Ge(gt, $t, Xi, Ad, go), Ge(Or, $t, $n, Ad, go));
|
|
56771
56793
|
}
|
|
56772
56794
|
go = "𝕜";
|
|
56773
56795
|
Ge(gt, $t, Xi, "k", go);
|
|
@@ -57047,7 +57069,7 @@ var Ine = [
|
|
|
57047
57069
|
var T = Wr(["vlist-t"], C);
|
|
57048
57070
|
return C.length === 2 && T.classes.push("vlist-t2"), T.height = h, T.depth = -g, T;
|
|
57049
57071
|
}, yVt = (t, e) => {
|
|
57050
|
-
var n = Wr(["mspace"], [], e), r =
|
|
57072
|
+
var n = Wr(["mspace"], [], e), r = nd(t, e);
|
|
57051
57073
|
return n.style.marginRight = ga(r), n;
|
|
57052
57074
|
}, Tne = function(e, n, r) {
|
|
57053
57075
|
var i = "";
|
|
@@ -58711,11 +58733,11 @@ Da({
|
|
|
58711
58733
|
// not within tabular/array environments.
|
|
58712
58734
|
htmlBuilder(t, e) {
|
|
58713
58735
|
var n = Wr(["mspace"], [], e);
|
|
58714
|
-
return t.newLine && (n.classes.push("newline"), t.size && (n.style.marginTop = ga(
|
|
58736
|
+
return t.newLine && (n.classes.push("newline"), t.size && (n.style.marginTop = ga(nd(t.size, e)))), n;
|
|
58715
58737
|
},
|
|
58716
58738
|
mathmlBuilder(t, e) {
|
|
58717
58739
|
var n = new aa("mspace");
|
|
58718
|
-
return t.newLine && (n.setAttribute("linebreak", "newline"), t.size && n.setAttribute("height", ga(
|
|
58740
|
+
return t.newLine && (n.setAttribute("linebreak", "newline"), t.size && n.setAttribute("height", ga(nd(t.size, e)))), n;
|
|
58719
58741
|
}
|
|
58720
58742
|
});
|
|
58721
58743
|
var zPe = {
|
|
@@ -59288,10 +59310,10 @@ var $We = (t, e) => {
|
|
|
59288
59310
|
if (r === "sout")
|
|
59289
59311
|
o = Wr(["stretchy", "sout"]), o.height = e.fontMetrics().defaultRuleThickness / i, l = -0.5 * e.fontMetrics().xHeight;
|
|
59290
59312
|
else if (r === "phase") {
|
|
59291
|
-
var d =
|
|
59313
|
+
var d = nd({
|
|
59292
59314
|
number: 0.6,
|
|
59293
59315
|
unit: "pt"
|
|
59294
|
-
}, e), p =
|
|
59316
|
+
}, e), p = nd({
|
|
59295
59317
|
number: 0.35,
|
|
59296
59318
|
unit: "ex"
|
|
59297
59319
|
}, e), m = e.havingBaseSizing();
|
|
@@ -59662,7 +59684,7 @@ var y1 = function(e, n) {
|
|
|
59662
59684
|
var f = n.havingStyle(No.SCRIPT).sizeMultiplier;
|
|
59663
59685
|
h = 0.2778 * (f / n.sizeMultiplier);
|
|
59664
59686
|
}
|
|
59665
|
-
var b = e.colSeparationType === "CD" ?
|
|
59687
|
+
var b = e.colSeparationType === "CD" ? nd({
|
|
59666
59688
|
number: 3,
|
|
59667
59689
|
unit: "ex"
|
|
59668
59690
|
}, n) : 12 * g, y = 3 * g, v = e.arraystretch * b, _ = 0.7 * v, w = 0.3 * v, x = 0;
|
|
@@ -59682,7 +59704,7 @@ var y1 = function(e, n) {
|
|
|
59682
59704
|
S < T.depth && (S = T.depth), E < T.height && (E = T.height), I[i] = T;
|
|
59683
59705
|
}
|
|
59684
59706
|
var D = e.rowGaps[r], R = 0;
|
|
59685
|
-
D && (R =
|
|
59707
|
+
D && (R = nd(D, n), R > 0 && (R += w, S < R && (S = R), R = 0)), e.addJot && (S += y), I.height = E, I.depth = S, x += E, I.pos = x, x += S + R, d[r] = I, k(l[r + 1]);
|
|
59686
59708
|
}
|
|
59687
59709
|
var L = x / 2 + n.fontMetrics().axisHeight, N = e.cols || [], B = [], M, P, O = [];
|
|
59688
59710
|
if (e.tags && e.tags.some((Se) => Se))
|
|
@@ -60265,7 +60287,7 @@ var O3r = (t, e) => {
|
|
|
60265
60287
|
}
|
|
60266
60288
|
o = e.havingStyle(i);
|
|
60267
60289
|
var p = zl(t.denom, o, e), m, g, h;
|
|
60268
|
-
t.hasBarLine ? (t.barSize ? (g =
|
|
60290
|
+
t.hasBarLine ? (t.barSize ? (g = nd(t.barSize, e), m = $Q("frac-line", e, g)) : m = $Q("frac-line", e), g = m.height, h = m.height) : (m = null, g = 0, h = e.fontMetrics().defaultRuleThickness);
|
|
60269
60291
|
var f, b, y;
|
|
60270
60292
|
n.size === No.DISPLAY.size ? (f = e.fontMetrics().num1, g > 0 ? b = 3 * h : b = 7 * h, y = e.fontMetrics().denom1) : (g > 0 ? (f = e.fontMetrics().num2, b = h) : (f = e.fontMetrics().num3, b = 3 * h), y = e.fontMetrics().denom2);
|
|
60271
60293
|
var v;
|
|
@@ -60314,7 +60336,7 @@ var O3r = (t, e) => {
|
|
|
60314
60336
|
if (!t.hasBarLine)
|
|
60315
60337
|
n.setAttribute("linethickness", "0px");
|
|
60316
60338
|
else if (t.barSize) {
|
|
60317
|
-
var r =
|
|
60339
|
+
var r = nd(t.barSize, e);
|
|
60318
60340
|
n.setAttribute("linethickness", ga(r));
|
|
60319
60341
|
}
|
|
60320
60342
|
if (t.leftDelim != null || t.rightDelim != null) {
|
|
@@ -60889,10 +60911,10 @@ Da({
|
|
|
60889
60911
|
} : r.formatUnsupportedCmd("\\includegraphics");
|
|
60890
60912
|
},
|
|
60891
60913
|
htmlBuilder: (t, e) => {
|
|
60892
|
-
var n =
|
|
60893
|
-
t.totalheight.number > 0 && (r =
|
|
60914
|
+
var n = nd(t.height, e), r = 0;
|
|
60915
|
+
t.totalheight.number > 0 && (r = nd(t.totalheight, e) - n);
|
|
60894
60916
|
var i = 0;
|
|
60895
|
-
t.width.number > 0 && (i =
|
|
60917
|
+
t.width.number > 0 && (i = nd(t.width, e));
|
|
60896
60918
|
var o = {
|
|
60897
60919
|
height: ga(n + r)
|
|
60898
60920
|
};
|
|
@@ -60903,9 +60925,9 @@ Da({
|
|
|
60903
60925
|
mathmlBuilder: (t, e) => {
|
|
60904
60926
|
var n = new aa("mglyph", []);
|
|
60905
60927
|
n.setAttribute("alt", t.alt);
|
|
60906
|
-
var r =
|
|
60907
|
-
if (t.totalheight.number > 0 && (i =
|
|
60908
|
-
var o =
|
|
60928
|
+
var r = nd(t.height, e), i = 0;
|
|
60929
|
+
if (t.totalheight.number > 0 && (i = nd(t.totalheight, e) - r, n.setAttribute("valign", ga(-i))), n.setAttribute("height", ga(r + i)), t.width.number > 0) {
|
|
60930
|
+
var o = nd(t.width, e);
|
|
60909
60931
|
n.setAttribute("width", ga(o));
|
|
60910
60932
|
}
|
|
60911
60933
|
return n.setAttribute("src", t.src), n;
|
|
@@ -60939,7 +60961,7 @@ Da({
|
|
|
60939
60961
|
return yVt(t.dimension, e);
|
|
60940
60962
|
},
|
|
60941
60963
|
mathmlBuilder(t, e) {
|
|
60942
|
-
var n =
|
|
60964
|
+
var n = nd(t.dimension, e);
|
|
60943
60965
|
return new EVt(n);
|
|
60944
60966
|
}
|
|
60945
60967
|
});
|
|
@@ -61534,7 +61556,7 @@ Da({
|
|
|
61534
61556
|
};
|
|
61535
61557
|
},
|
|
61536
61558
|
htmlBuilder(t, e) {
|
|
61537
|
-
var n = zl(t.body, e), r =
|
|
61559
|
+
var n = zl(t.body, e), r = nd(t.dy, e);
|
|
61538
61560
|
return Fl({
|
|
61539
61561
|
positionType: "shift",
|
|
61540
61562
|
positionData: -r,
|
|
@@ -61590,11 +61612,11 @@ Da({
|
|
|
61590
61612
|
};
|
|
61591
61613
|
},
|
|
61592
61614
|
htmlBuilder(t, e) {
|
|
61593
|
-
var n = Wr(["mord", "rule"], [], e), r =
|
|
61615
|
+
var n = Wr(["mord", "rule"], [], e), r = nd(t.width, e), i = nd(t.height, e), o = t.shift ? nd(t.shift, e) : 0;
|
|
61594
61616
|
return n.style.borderRightWidth = ga(r), n.style.borderTopWidth = ga(i), n.style.bottom = ga(o), n.width = r, n.height = i + o, n.depth = -o, n.maxFontSize = i * 1.125 * e.sizeMultiplier, n;
|
|
61595
61617
|
},
|
|
61596
61618
|
mathmlBuilder(t, e) {
|
|
61597
|
-
var n =
|
|
61619
|
+
var n = nd(t.width, e), r = nd(t.height, e), i = t.shift ? nd(t.shift, e) : 0, o = e.color && e.getColor() || "black", l = new aa("mspace");
|
|
61598
61620
|
l.setAttribute("mathbackground", o), l.setAttribute("width", ga(n)), l.setAttribute("height", ga(r));
|
|
61599
61621
|
var u = new aa("mpadded", [l]);
|
|
61600
61622
|
return i >= 0 ? u.setAttribute("height", ga(i)) : (u.setAttribute("height", ga(i)), u.setAttribute("depth", ga(-i))), u.setAttribute("voffset", ga(i)), u;
|
|
@@ -88304,7 +88326,7 @@ var lM;
|
|
|
88304
88326
|
if (!u)
|
|
88305
88327
|
throw new Error("Assertion error");
|
|
88306
88328
|
}
|
|
88307
|
-
const o = class
|
|
88329
|
+
const o = class yd {
|
|
88308
88330
|
/*-- Constructor (low level) and fields --*/
|
|
88309
88331
|
// Creates a new QR Code segment with the given attributes and data.
|
|
88310
88332
|
// The character count (numChars) must agree with the mode and the bit buffer length,
|
|
@@ -88322,36 +88344,36 @@ var lM;
|
|
|
88322
88344
|
let p = [];
|
|
88323
88345
|
for (const m of d)
|
|
88324
88346
|
n(m, 8, p);
|
|
88325
|
-
return new
|
|
88347
|
+
return new yd(yd.Mode.BYTE, d.length, p);
|
|
88326
88348
|
}
|
|
88327
88349
|
// Returns a segment representing the given string of decimal digits encoded in numeric mode.
|
|
88328
88350
|
static makeNumeric(d) {
|
|
88329
|
-
if (!
|
|
88351
|
+
if (!yd.isNumeric(d))
|
|
88330
88352
|
throw new RangeError("String contains non-numeric characters");
|
|
88331
88353
|
let p = [];
|
|
88332
88354
|
for (let m = 0; m < d.length; ) {
|
|
88333
88355
|
const g = Math.min(d.length - m, 3);
|
|
88334
88356
|
n(parseInt(d.substring(m, m + g), 10), g * 3 + 1, p), m += g;
|
|
88335
88357
|
}
|
|
88336
|
-
return new
|
|
88358
|
+
return new yd(yd.Mode.NUMERIC, d.length, p);
|
|
88337
88359
|
}
|
|
88338
88360
|
// Returns a segment representing the given text string encoded in alphanumeric mode.
|
|
88339
88361
|
// The characters allowed are: 0 to 9, A to Z (uppercase only), space,
|
|
88340
88362
|
// dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
88341
88363
|
static makeAlphanumeric(d) {
|
|
88342
|
-
if (!
|
|
88364
|
+
if (!yd.isAlphanumeric(d))
|
|
88343
88365
|
throw new RangeError("String contains unencodable characters in alphanumeric mode");
|
|
88344
88366
|
let p = [], m;
|
|
88345
88367
|
for (m = 0; m + 2 <= d.length; m += 2) {
|
|
88346
|
-
let g =
|
|
88347
|
-
g +=
|
|
88368
|
+
let g = yd.ALPHANUMERIC_CHARSET.indexOf(d.charAt(m)) * 45;
|
|
88369
|
+
g += yd.ALPHANUMERIC_CHARSET.indexOf(d.charAt(m + 1)), n(g, 11, p);
|
|
88348
88370
|
}
|
|
88349
|
-
return m < d.length && n(
|
|
88371
|
+
return m < d.length && n(yd.ALPHANUMERIC_CHARSET.indexOf(d.charAt(m)), 6, p), new yd(yd.Mode.ALPHANUMERIC, d.length, p);
|
|
88350
88372
|
}
|
|
88351
88373
|
// Returns a new mutable list of zero or more segments to represent the given Unicode text string.
|
|
88352
88374
|
// The result may use various segment modes and switch modes to optimize the length of the bit stream.
|
|
88353
88375
|
static makeSegments(d) {
|
|
88354
|
-
return d == "" ? [] :
|
|
88376
|
+
return d == "" ? [] : yd.isNumeric(d) ? [yd.makeNumeric(d)] : yd.isAlphanumeric(d) ? [yd.makeAlphanumeric(d)] : [yd.makeBytes(yd.toUtf8ByteArray(d))];
|
|
88355
88377
|
}
|
|
88356
88378
|
// Returns a segment representing an Extended Channel Interpretation
|
|
88357
88379
|
// (ECI) designator with the given assignment value.
|
|
@@ -88367,18 +88389,18 @@ var lM;
|
|
|
88367
88389
|
n(6, 3, p), n(d, 21, p);
|
|
88368
88390
|
else
|
|
88369
88391
|
throw new RangeError("ECI assignment value out of range");
|
|
88370
|
-
return new
|
|
88392
|
+
return new yd(yd.Mode.ECI, 0, p);
|
|
88371
88393
|
}
|
|
88372
88394
|
// Tests whether the given string can be encoded as a segment in numeric mode.
|
|
88373
88395
|
// A string is encodable iff each character is in the range 0 to 9.
|
|
88374
88396
|
static isNumeric(d) {
|
|
88375
|
-
return
|
|
88397
|
+
return yd.NUMERIC_REGEX.test(d);
|
|
88376
88398
|
}
|
|
88377
88399
|
// Tests whether the given string can be encoded as a segment in alphanumeric mode.
|
|
88378
88400
|
// A string is encodable iff each character is in the following set: 0 to 9, A to Z
|
|
88379
88401
|
// (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
88380
88402
|
static isAlphanumeric(d) {
|
|
88381
|
-
return
|
|
88403
|
+
return yd.ALPHANUMERIC_REGEX.test(d);
|
|
88382
88404
|
}
|
|
88383
88405
|
/*-- Methods --*/
|
|
88384
88406
|
// Returns a new copy of the data bits of this segment.
|
|
@@ -90263,7 +90285,7 @@ function hzr({
|
|
|
90263
90285
|
children: [
|
|
90264
90286
|
/* @__PURE__ */ A.jsxs("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
90265
90287
|
/* @__PURE__ */ A.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
90266
|
-
/* @__PURE__ */ A.jsx("div", { className: "flex h-9 w-9 items-center justify-center rounded-lg bg-gradient-to-br from-amber-400 to-orange-500 shadow-sm", children: /* @__PURE__ */ A.jsx(
|
|
90288
|
+
/* @__PURE__ */ A.jsx("div", { className: "flex h-9 w-9 items-center justify-center rounded-lg bg-gradient-to-br from-amber-400 to-orange-500 shadow-sm", children: /* @__PURE__ */ A.jsx(dd, { className: "h-5 w-5 text-white" }) }),
|
|
90267
90289
|
/* @__PURE__ */ A.jsxs("div", { children: [
|
|
90268
90290
|
/* @__PURE__ */ A.jsx("div", { className: "text-sm font-semibold text-neutral-800 dark:text-neutral-200", children: p("subscription.topUp.title") }),
|
|
90269
90291
|
/* @__PURE__ */ A.jsx("div", { className: "text-xs text-neutral-500 dark:text-neutral-400", children: p("subscription.topUp.subtitle") })
|
|
@@ -101707,22 +101729,22 @@ class Lh extends uE {
|
|
|
101707
101729
|
//#endregion
|
|
101708
101730
|
}
|
|
101709
101731
|
const srn = 6048e5, LZr = 864e5, Zne = 43200, NAt = 1440, RAt = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
101710
|
-
function
|
|
101732
|
+
function pd(t, e) {
|
|
101711
101733
|
return typeof t == "function" ? t(e) : t && typeof t == "object" && RAt in t ? t[RAt](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
|
|
101712
101734
|
}
|
|
101713
101735
|
function el(t, e) {
|
|
101714
|
-
return
|
|
101736
|
+
return pd(e || t, t);
|
|
101715
101737
|
}
|
|
101716
101738
|
function nVe(t, e, n) {
|
|
101717
101739
|
const r = el(t, n?.in);
|
|
101718
|
-
return isNaN(e) ?
|
|
101740
|
+
return isNaN(e) ? pd(t, NaN) : (e && r.setDate(r.getDate() + e), r);
|
|
101719
101741
|
}
|
|
101720
101742
|
function lrn(t, e, n) {
|
|
101721
101743
|
const r = el(t, n?.in);
|
|
101722
|
-
if (isNaN(e)) return
|
|
101744
|
+
if (isNaN(e)) return pd(t, NaN);
|
|
101723
101745
|
if (!e)
|
|
101724
101746
|
return r;
|
|
101725
|
-
const i = r.getDate(), o =
|
|
101747
|
+
const i = r.getDate(), o = pd(t, r.getTime());
|
|
101726
101748
|
o.setMonth(r.getMonth() + e + 1, 0);
|
|
101727
101749
|
const l = o.getDate();
|
|
101728
101750
|
return i >= l ? o : (r.setFullYear(
|
|
@@ -101743,9 +101765,9 @@ function IV(t, e) {
|
|
|
101743
101765
|
return wD(t, { ...e, weekStartsOn: 1 });
|
|
101744
101766
|
}
|
|
101745
101767
|
function crn(t, e) {
|
|
101746
|
-
const n = el(t, e?.in), r = n.getFullYear(), i =
|
|
101768
|
+
const n = el(t, e?.in), r = n.getFullYear(), i = pd(n, 0);
|
|
101747
101769
|
i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
|
|
101748
|
-
const o = IV(i), l =
|
|
101770
|
+
const o = IV(i), l = pd(n, 0);
|
|
101749
101771
|
l.setFullYear(r, 0, 4), l.setHours(0, 0, 0, 0);
|
|
101750
101772
|
const u = IV(l);
|
|
101751
101773
|
return n.getTime() >= o.getTime() ? r + 1 : n.getTime() >= u.getTime() ? r : r - 1;
|
|
@@ -101765,7 +101787,7 @@ function Cme(t) {
|
|
|
101765
101787
|
return n.setUTCFullYear(e.getFullYear()), +t - +n;
|
|
101766
101788
|
}
|
|
101767
101789
|
function lI(t, ...e) {
|
|
101768
|
-
const n =
|
|
101790
|
+
const n = pd.bind(
|
|
101769
101791
|
null,
|
|
101770
101792
|
t || e.find((r) => typeof r == "object")
|
|
101771
101793
|
);
|
|
@@ -101784,7 +101806,7 @@ function rVe(t, e, n) {
|
|
|
101784
101806
|
return Math.round((u - d) / LZr);
|
|
101785
101807
|
}
|
|
101786
101808
|
function PZr(t, e) {
|
|
101787
|
-
const n = crn(t, e), r =
|
|
101809
|
+
const n = crn(t, e), r = pd(t, 0);
|
|
101788
101810
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), IV(r);
|
|
101789
101811
|
}
|
|
101790
101812
|
function OZr(t, e, n) {
|
|
@@ -101796,25 +101818,25 @@ function FZr(t, e, n) {
|
|
|
101796
101818
|
function QZr(t, e) {
|
|
101797
101819
|
let n, r = e?.in;
|
|
101798
101820
|
return t.forEach((i) => {
|
|
101799
|
-
!r && typeof i == "object" && (r =
|
|
101821
|
+
!r && typeof i == "object" && (r = pd.bind(null, i));
|
|
101800
101822
|
const o = el(i, r);
|
|
101801
101823
|
(!n || n < o || isNaN(+o)) && (n = o);
|
|
101802
|
-
}),
|
|
101824
|
+
}), pd(r, n || NaN);
|
|
101803
101825
|
}
|
|
101804
101826
|
function jZr(t, e) {
|
|
101805
101827
|
let n, r = e?.in;
|
|
101806
101828
|
return t.forEach((i) => {
|
|
101807
|
-
!r && typeof i == "object" && (r =
|
|
101829
|
+
!r && typeof i == "object" && (r = pd.bind(null, i));
|
|
101808
101830
|
const o = el(i, r);
|
|
101809
101831
|
(!n || n > o || isNaN(+o)) && (n = o);
|
|
101810
|
-
}),
|
|
101832
|
+
}), pd(r, n || NaN);
|
|
101811
101833
|
}
|
|
101812
101834
|
function mse(t, e) {
|
|
101813
101835
|
const n = +el(t) - +el(e);
|
|
101814
101836
|
return n < 0 ? -1 : n > 0 ? 1 : n;
|
|
101815
101837
|
}
|
|
101816
101838
|
function aVe(t) {
|
|
101817
|
-
return
|
|
101839
|
+
return pd(t, Date.now());
|
|
101818
101840
|
}
|
|
101819
101841
|
function iVe(t, e, n) {
|
|
101820
101842
|
const [r, i] = lI(
|
|
@@ -101891,7 +101913,7 @@ function YZr(t, e) {
|
|
|
101891
101913
|
let u = 1;
|
|
101892
101914
|
const d = [];
|
|
101893
101915
|
for (; +l <= o; )
|
|
101894
|
-
d.push(
|
|
101916
|
+
d.push(pd(n, l)), l.setMonth(l.getMonth() + u);
|
|
101895
101917
|
return i ? d.reverse() : d;
|
|
101896
101918
|
}
|
|
101897
101919
|
function VZr(t, e) {
|
|
@@ -101914,7 +101936,7 @@ function ZZr(t, e) {
|
|
|
101914
101936
|
let u = 1;
|
|
101915
101937
|
const d = [];
|
|
101916
101938
|
for (; +l <= o; )
|
|
101917
|
-
d.push(
|
|
101939
|
+
d.push(pd(n, l)), l.setFullYear(l.getFullYear() + u);
|
|
101918
101940
|
return i ? d.reverse() : d;
|
|
101919
101941
|
}
|
|
101920
101942
|
function grn(t, e) {
|
|
@@ -102364,15 +102386,15 @@ function lVe(t, e) {
|
|
|
102364
102386
|
return Math.round(r / srn) + 1;
|
|
102365
102387
|
}
|
|
102366
102388
|
function hrn(t, e) {
|
|
102367
|
-
const n = el(t, e?.in), r = n.getFullYear(), i = Q$(), o = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, l =
|
|
102389
|
+
const n = el(t, e?.in), r = n.getFullYear(), i = Q$(), o = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, l = pd(e?.in || t, 0);
|
|
102368
102390
|
l.setFullYear(r + 1, 0, o), l.setHours(0, 0, 0, 0);
|
|
102369
|
-
const u = wD(l, e), d =
|
|
102391
|
+
const u = wD(l, e), d = pd(e?.in || t, 0);
|
|
102370
102392
|
d.setFullYear(r, 0, o), d.setHours(0, 0, 0, 0);
|
|
102371
102393
|
const p = wD(d, e);
|
|
102372
102394
|
return +n >= +u ? r + 1 : +n >= +p ? r : r - 1;
|
|
102373
102395
|
}
|
|
102374
102396
|
function DXr(t, e) {
|
|
102375
|
-
const n = Q$(), r = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = hrn(t, e), o =
|
|
102397
|
+
const n = Q$(), r = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = hrn(t, e), o = pd(e?.in || t, 0);
|
|
102376
102398
|
return o.setFullYear(i, 0, r), o.setHours(0, 0, 0, 0), wD(o, e);
|
|
102377
102399
|
}
|
|
102378
102400
|
function cVe(t, e) {
|
|
@@ -103119,7 +103141,7 @@ function uVe(t, e) {
|
|
|
103119
103141
|
return WXr(t, aVe(t), e);
|
|
103120
103142
|
}
|
|
103121
103143
|
function YXr(t, e) {
|
|
103122
|
-
const n = el(t, e?.in), r = n.getFullYear(), i = n.getMonth(), o =
|
|
103144
|
+
const n = el(t, e?.in), r = n.getFullYear(), i = n.getMonth(), o = pd(n, 0);
|
|
103123
103145
|
return o.setFullYear(r, i + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
|
|
103124
103146
|
}
|
|
103125
103147
|
function VXr(t, e) {
|
|
@@ -103160,7 +103182,7 @@ function tJr(t, e, n) {
|
|
|
103160
103182
|
}
|
|
103161
103183
|
function nJr(t, e) {
|
|
103162
103184
|
return iVe(
|
|
103163
|
-
|
|
103185
|
+
pd(t, t),
|
|
103164
103186
|
aVe(t)
|
|
103165
103187
|
);
|
|
103166
103188
|
}
|
|
@@ -103169,19 +103191,19 @@ function rJr(t, e, n) {
|
|
|
103169
103191
|
}
|
|
103170
103192
|
function aJr(t, e) {
|
|
103171
103193
|
return iVe(
|
|
103172
|
-
|
|
103194
|
+
pd(t, t),
|
|
103173
103195
|
rJr(aVe(t))
|
|
103174
103196
|
);
|
|
103175
103197
|
}
|
|
103176
103198
|
function iJr(t, e, n) {
|
|
103177
|
-
const r = el(t, n?.in), i = r.getFullYear(), o = r.getDate(), l =
|
|
103199
|
+
const r = el(t, n?.in), i = r.getFullYear(), o = r.getDate(), l = pd(t, 0);
|
|
103178
103200
|
l.setFullYear(i, e, 15), l.setHours(0, 0, 0, 0);
|
|
103179
103201
|
const u = YXr(l);
|
|
103180
103202
|
return r.setMonth(e, Math.min(o, u)), r;
|
|
103181
103203
|
}
|
|
103182
103204
|
function oJr(t, e, n) {
|
|
103183
103205
|
const r = el(t, n?.in);
|
|
103184
|
-
return isNaN(+r) ?
|
|
103206
|
+
return isNaN(+r) ? pd(t, NaN) : (r.setFullYear(e), r);
|
|
103185
103207
|
}
|
|
103186
103208
|
const FAt = 5, sJr = 4;
|
|
103187
103209
|
function lJr(t, e) {
|
|
@@ -104134,10 +104156,10 @@ var ji;
|
|
|
104134
104156
|
(function(t) {
|
|
104135
104157
|
t.Root = "root", t.Chevron = "chevron", t.Day = "day", t.DayButton = "day_button", t.CaptionLabel = "caption_label", t.Dropdowns = "dropdowns", t.Dropdown = "dropdown", t.DropdownRoot = "dropdown_root", t.Footer = "footer", t.MonthGrid = "month_grid", t.MonthCaption = "month_caption", t.MonthsDropdown = "months_dropdown", t.Month = "month", t.Months = "months", t.Nav = "nav", t.NextMonthButton = "button_next", t.PreviousMonthButton = "button_previous", t.Week = "week", t.Weeks = "weeks", t.Weekday = "weekday", t.Weekdays = "weekdays", t.WeekNumber = "week_number", t.WeekNumberHeader = "week_number_header", t.YearsDropdown = "years_dropdown";
|
|
104136
104158
|
})(ji || (ji = {}));
|
|
104137
|
-
var
|
|
104159
|
+
var ed;
|
|
104138
104160
|
(function(t) {
|
|
104139
104161
|
t.disabled = "disabled", t.hidden = "hidden", t.outside = "outside", t.focused = "focused", t.today = "today";
|
|
104140
|
-
})(
|
|
104162
|
+
})(ed || (ed = {}));
|
|
104141
104163
|
var lw;
|
|
104142
104164
|
(function(t) {
|
|
104143
104165
|
t.range_end = "range_end", t.range_middle = "range_middle", t.range_start = "range_start", t.selected = "selected";
|
|
@@ -104332,11 +104354,11 @@ function SS(t, e, n = x1) {
|
|
|
104332
104354
|
}
|
|
104333
104355
|
function Uea(t, e, n, r, i) {
|
|
104334
104356
|
const { disabled: o, hidden: l, modifiers: u, showOutsideDays: d, broadcastCalendar: p, today: m = i.today() } = e, { isSameDay: g, isSameMonth: h, startOfMonth: f, isBefore: b, endOfMonth: y, isAfter: v } = i, _ = n && f(n), w = r && y(r), x = {
|
|
104335
|
-
[
|
|
104336
|
-
[
|
|
104337
|
-
[
|
|
104338
|
-
[
|
|
104339
|
-
[
|
|
104357
|
+
[ed.focused]: [],
|
|
104358
|
+
[ed.outside]: [],
|
|
104359
|
+
[ed.disabled]: [],
|
|
104360
|
+
[ed.hidden]: [],
|
|
104361
|
+
[ed.today]: []
|
|
104340
104362
|
}, k = {};
|
|
104341
104363
|
for (const C of t) {
|
|
104342
104364
|
const { date: E, displayMonth: S } = C, I = !!(S && !h(E, S)), T = !!(_ && b(E, _)), D = !!(w && v(E, w)), R = !!(o && SS(E, o, i)), L = !!(l && SS(E, l, i)) || T || D || // Broadcast calendar will show outside days as default
|
|
@@ -104348,11 +104370,11 @@ function Uea(t, e, n, r, i) {
|
|
|
104348
104370
|
}
|
|
104349
104371
|
return (C) => {
|
|
104350
104372
|
const E = {
|
|
104351
|
-
[
|
|
104352
|
-
[
|
|
104353
|
-
[
|
|
104354
|
-
[
|
|
104355
|
-
[
|
|
104373
|
+
[ed.focused]: !1,
|
|
104374
|
+
[ed.disabled]: !1,
|
|
104375
|
+
[ed.hidden]: !1,
|
|
104376
|
+
[ed.outside]: !1,
|
|
104377
|
+
[ed.today]: !1
|
|
104356
104378
|
}, S = {};
|
|
104357
104379
|
for (const I in x) {
|
|
104358
104380
|
const T = x[I];
|
|
@@ -104368,7 +104390,7 @@ function Uea(t, e, n, r, i) {
|
|
|
104368
104390
|
};
|
|
104369
104391
|
}
|
|
104370
104392
|
function qea(t, e, n = {}) {
|
|
104371
|
-
return Object.entries(t).filter(([, i]) => i === !0).reduce((i, [o]) => (n[o] ? i.push(n[o]) : e[
|
|
104393
|
+
return Object.entries(t).filter(([, i]) => i === !0).reduce((i, [o]) => (n[o] ? i.push(n[o]) : e[ed[o]] ? i.push(e[ed[o]]) : e[lw[o]] && i.push(e[lw[o]]), i), [e[ji.Day]]);
|
|
104372
104394
|
}
|
|
104373
104395
|
function Gea(t) {
|
|
104374
104396
|
return {
|
|
@@ -104393,8 +104415,8 @@ function gVe() {
|
|
|
104393
104415
|
const t = {};
|
|
104394
104416
|
for (const e in ji)
|
|
104395
104417
|
t[ji[e]] = `rdp-${ji[e]}`;
|
|
104396
|
-
for (const e in
|
|
104397
|
-
t[
|
|
104418
|
+
for (const e in ed)
|
|
104419
|
+
t[ed[e]] = `rdp-${ed[e]}`;
|
|
104398
104420
|
for (const e in lw)
|
|
104399
104421
|
t[lw[e]] = `rdp-${lw[e]}`;
|
|
104400
104422
|
for (const e in C0)
|
|
@@ -104862,13 +104884,13 @@ var Sk;
|
|
|
104862
104884
|
t[t.Today = 0] = "Today", t[t.Selected = 1] = "Selected", t[t.LastFocused = 2] = "LastFocused", t[t.FocusedModifier = 3] = "FocusedModifier";
|
|
104863
104885
|
})(Sk || (Sk = {}));
|
|
104864
104886
|
function $At(t) {
|
|
104865
|
-
return !t[
|
|
104887
|
+
return !t[ed.disabled] && !t[ed.hidden] && !t[ed.outside];
|
|
104866
104888
|
}
|
|
104867
104889
|
function Eta(t, e, n, r) {
|
|
104868
104890
|
let i, o = -1;
|
|
104869
104891
|
for (const l of t) {
|
|
104870
104892
|
const u = e(l);
|
|
104871
|
-
$At(u) && (u[
|
|
104893
|
+
$At(u) && (u[ed.focused] && o < Sk.FocusedModifier ? (i = l, o = Sk.FocusedModifier) : r?.isEqualTo(l) && o < Sk.LastFocused ? (i = l, o = Sk.LastFocused) : n(l.date) && o < Sk.Selected ? (i = l, o = Sk.Selected) : u[ed.today] && o < Sk.Today && (i = l, o = Sk.Today));
|
|
104872
104894
|
}
|
|
104873
104895
|
return i || (i = t.find((l) => $At(e(l)))), i;
|
|
104874
104896
|
}
|
|
@@ -105239,7 +105261,7 @@ function Mta(t) {
|
|
|
105239
105261
|
}), className: d[ji.WeekNumber], scope: "row", role: "rowheader" }, D(it.weekNumber, l)),
|
|
105240
105262
|
it.days.map((ut) => {
|
|
105241
105263
|
const { date: Re } = ut, Ae = z(ut);
|
|
105242
|
-
if (Ae[
|
|
105264
|
+
if (Ae[ed.focused] = !Ae.hidden && !!ae?.isEqualTo(ut), Ae[lw.selected] = G?.(Re) || Ae.selected, Zye(Y)) {
|
|
105243
105265
|
const { from: Jt, to: cn } = Y;
|
|
105244
105266
|
Ae[lw.range_start] = !!(Jt && cn && l.isSameDay(Re, Jt)), Ae[lw.range_end] = !!(Jt && cn && l.isSameDay(Re, cn)), Ae[lw.range_middle] = CS(Y, Re, !0, l);
|
|
105245
105267
|
}
|
|
@@ -115753,7 +115775,7 @@ function Vaa({ onClick: t }) {
|
|
|
115753
115775
|
transition-all duration-200`,
|
|
115754
115776
|
title: e("agents.add"),
|
|
115755
115777
|
children: [
|
|
115756
|
-
/* @__PURE__ */ A.jsx(
|
|
115778
|
+
/* @__PURE__ */ A.jsx(dd, { className: "w-4 h-4", strokeWidth: 2 }),
|
|
115757
115779
|
/* @__PURE__ */ A.jsx("span", { children: e("agents.add") })
|
|
115758
115780
|
]
|
|
115759
115781
|
}
|
|
@@ -118688,7 +118710,7 @@ const qia = ({
|
|
|
118688
118710
|
},
|
|
118689
118711
|
className: "flex w-full items-center gap-2 rounded px-2 py-1.5 text-xs text-neutral-700 hover:bg-neutral-100 dark:text-neutral-200 dark:hover:bg-neutral-800",
|
|
118690
118712
|
children: [
|
|
118691
|
-
/* @__PURE__ */ A.jsx(
|
|
118713
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" }),
|
|
118692
118714
|
x("knowledge.contextMenu.addToKnowledgeSet")
|
|
118693
118715
|
]
|
|
118694
118716
|
}
|
|
@@ -120944,7 +120966,7 @@ const HVe = ({
|
|
|
120944
120966
|
className: "flex items-center gap-1.5 rounded-sm bg-indigo-500/90 hover:bg-indigo-500 px-3 py-2 text-xs font-medium text-white shadow-sm transition-all duration-200",
|
|
120945
120967
|
title: n("knowledge.toolbar.upload"),
|
|
120946
120968
|
children: [
|
|
120947
|
-
/* @__PURE__ */ A.jsx(
|
|
120969
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" }),
|
|
120948
120970
|
/* @__PURE__ */ A.jsx("span", { className: "hidden md:inline", children: n("knowledge.toolbar.upload") })
|
|
120949
120971
|
]
|
|
120950
120972
|
}
|
|
@@ -121813,7 +121835,7 @@ function Zan({
|
|
|
121813
121835
|
onClick: () => p(!0),
|
|
121814
121836
|
className: "flex w-full items-center justify-center gap-1.5 border border-neutral-200 dark:border-[#30363d] bg-neutral-50 dark:bg-[#161b22] py-2 font-mono text-xs text-neutral-500 dark:text-[#8b949e] transition-colors hover:border-neutral-400 dark:hover:border-[#8b949e] hover:text-neutral-900 dark:hover:text-neutral-900 dark:text-[#e6edf3]",
|
|
121815
121837
|
children: [
|
|
121816
|
-
/* @__PURE__ */ A.jsx(
|
|
121838
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-3 w-3" }),
|
|
121817
121839
|
"+ runner"
|
|
121818
121840
|
]
|
|
121819
121841
|
}
|
|
@@ -121855,7 +121877,7 @@ function Aoa({
|
|
|
121855
121877
|
onClick: r,
|
|
121856
121878
|
className: "flex w-full items-center justify-center gap-1.5 border border-neutral-200 dark:border-[#30363d] bg-neutral-50 dark:bg-[#161b22] py-2 font-mono text-xs text-neutral-500 dark:text-[#8b949e] transition-colors hover:border-neutral-400 dark:hover:border-[#8b949e] hover:text-neutral-900 dark:hover:text-neutral-900 dark:text-[#e6edf3]",
|
|
121857
121879
|
children: [
|
|
121858
|
-
/* @__PURE__ */ A.jsx(
|
|
121880
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-3 w-3" }),
|
|
121859
121881
|
"+ runner"
|
|
121860
121882
|
]
|
|
121861
121883
|
}
|
|
@@ -134991,7 +135013,7 @@ function Qda({
|
|
|
134991
135013
|
"dark:hover:border-orange-500 dark:hover:bg-orange-950/40 dark:hover:text-orange-400",
|
|
134992
135014
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
134993
135015
|
),
|
|
134994
|
-
children: e ? /* @__PURE__ */ A.jsx(Yi, { className: "h-4.5 w-4.5 animate-spin" }) : /* @__PURE__ */ A.jsx(
|
|
135016
|
+
children: e ? /* @__PURE__ */ A.jsx(Yi, { className: "h-4.5 w-4.5 animate-spin" }) : /* @__PURE__ */ A.jsx(dd, { className: "h-4.5 w-4.5" })
|
|
134995
135017
|
}
|
|
134996
135018
|
) }),
|
|
134997
135019
|
/* @__PURE__ */ A.jsx(of, { children: /* @__PURE__ */ A.jsx("p", { children: i(e ? "app.toolbar.newChatCreating" : "app.toolbar.newChat") }) })
|
|
@@ -139859,7 +139881,7 @@ function yma({
|
|
|
139859
139881
|
);
|
|
139860
139882
|
}
|
|
139861
139883
|
const vma = (t) => {
|
|
139862
|
-
const e =
|
|
139884
|
+
const e = Xu().env.backendUrl, n = new URL(e), r = n.protocol === "https:" ? "wss:" : "ws:", i = $i.getToken();
|
|
139863
139885
|
if (!i)
|
|
139864
139886
|
throw new Error("Authentication required");
|
|
139865
139887
|
return `${r}//${n.host}/xyzen/ws/v1/voice/${t}?token=${encodeURIComponent(i)}`;
|
|
@@ -140316,9 +140338,9 @@ const Z1 = Xt(
|
|
|
140316
140338
|
"div",
|
|
140317
140339
|
{
|
|
140318
140340
|
className: Xt(
|
|
140319
|
-
"relative rounded-2xl transition-all duration-200",
|
|
140320
|
-
"bg-white
|
|
140321
|
-
"dark:bg-neutral-900
|
|
140341
|
+
"relative rounded-xl md:rounded-2xl transition-all duration-200",
|
|
140342
|
+
"bg-white ring-1 ring-neutral-200/50",
|
|
140343
|
+
"dark:bg-neutral-900 dark:ring-neutral-700/40",
|
|
140322
140344
|
"focus-within:ring-neutral-300/60 focus-within:shadow-[0_0_15px_rgba(0,0,0,0.04)]",
|
|
140323
140345
|
"dark:focus-within:ring-neutral-500/40 dark:focus-within:shadow-[0_0_15px_rgba(255,255,255,0.03)]"
|
|
140324
140346
|
),
|
|
@@ -140329,7 +140351,7 @@ const Z1 = Xt(
|
|
|
140329
140351
|
isVisible: P,
|
|
140330
140352
|
maxFiles: D.maxFiles,
|
|
140331
140353
|
canAddMore: T(),
|
|
140332
|
-
className: "rounded-2xl"
|
|
140354
|
+
className: "rounded-xl md:rounded-2xl"
|
|
140333
140355
|
}
|
|
140334
140356
|
),
|
|
140335
140357
|
L.uploadedFiles.length > 0 && /* @__PURE__ */ A.jsx(Ben, { className: "border-b border-neutral-200/60 dark:border-neutral-700/60 rounded-t-2xl" }),
|
|
@@ -141113,7 +141135,7 @@ function $ma({ config: t, historyEnabled: e = !1, onBack: n }) {
|
|
|
141113
141135
|
/* @__PURE__ */ A.jsx(
|
|
141114
141136
|
"div",
|
|
141115
141137
|
{
|
|
141116
|
-
className: "shrink-0 bg-white
|
|
141138
|
+
className: "shrink-0 bg-white dark:bg-neutral-950",
|
|
141117
141139
|
style: { paddingBottom: "env(safe-area-inset-bottom)" },
|
|
141118
141140
|
children: /* @__PURE__ */ A.jsx(
|
|
141119
141141
|
Nma,
|
|
@@ -141362,7 +141384,7 @@ function Hma({
|
|
|
141362
141384
|
onClick: o,
|
|
141363
141385
|
className: "shrink-0 flex items-center justify-center rounded-sm p-1 text-neutral-400 hover:text-neutral-600 dark:hover:text-neutral-300 transition-colors duration-150",
|
|
141364
141386
|
title: "New topic",
|
|
141365
|
-
children: /* @__PURE__ */ A.jsx(
|
|
141387
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5", strokeWidth: 2 })
|
|
141366
141388
|
}
|
|
141367
141389
|
)
|
|
141368
141390
|
]
|
|
@@ -144392,19 +144414,19 @@ function pve(t) {
|
|
|
144392
144414
|
function yyt(t) {
|
|
144393
144415
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
144394
144416
|
}
|
|
144395
|
-
function
|
|
144417
|
+
function sd(t) {
|
|
144396
144418
|
return Math.abs(t);
|
|
144397
144419
|
}
|
|
144398
144420
|
function vKe(t) {
|
|
144399
144421
|
return Math.sign(t);
|
|
144400
144422
|
}
|
|
144401
144423
|
function vW(t, e) {
|
|
144402
|
-
return
|
|
144424
|
+
return sd(t - e);
|
|
144403
144425
|
}
|
|
144404
144426
|
function fga(t, e) {
|
|
144405
|
-
if (t === 0 || e === 0 ||
|
|
144406
|
-
const n = vW(
|
|
144407
|
-
return
|
|
144427
|
+
if (t === 0 || e === 0 || sd(t) <= sd(e)) return 0;
|
|
144428
|
+
const n = vW(sd(t), sd(e));
|
|
144429
|
+
return sd(n / t);
|
|
144408
144430
|
}
|
|
144409
144431
|
function Aga(t) {
|
|
144410
144432
|
return Math.round(t * 100) / 100;
|
|
@@ -144547,7 +144569,7 @@ function vga(t, e) {
|
|
|
144547
144569
|
};
|
|
144548
144570
|
}
|
|
144549
144571
|
function hM(t = 0, e = 0) {
|
|
144550
|
-
const n =
|
|
144572
|
+
const n = sd(t - e);
|
|
144551
144573
|
function r(p) {
|
|
144552
144574
|
return p < t;
|
|
144553
144575
|
}
|
|
@@ -144580,7 +144602,7 @@ function Gon(t, e, n) {
|
|
|
144580
144602
|
} = hM(0, t), i = t + 1;
|
|
144581
144603
|
let o = l(e);
|
|
144582
144604
|
function l(h) {
|
|
144583
|
-
return n ?
|
|
144605
|
+
return n ? sd((i + h) % i) : r(h);
|
|
144584
144606
|
}
|
|
144585
144607
|
function u() {
|
|
144586
144608
|
return o;
|
|
@@ -144642,7 +144664,7 @@ function _ga(t, e, n, r, i, o, l, u, d, p, m, g, h, f, b, y, v, _, w) {
|
|
|
144642
144664
|
}
|
|
144643
144665
|
function Y(Z, te) {
|
|
144644
144666
|
const le = g.add(vKe(Z) * -1), oe = m.byDistance(Z, !b).distance;
|
|
144645
|
-
return b ||
|
|
144667
|
+
return b || sd(Z) < T ? oe : v && te ? oe * 0.5 : m.byIndex(le.get(), 0).distance;
|
|
144646
144668
|
}
|
|
144647
144669
|
function re(Z) {
|
|
144648
144670
|
const te = RFe(Z, r);
|
|
@@ -144691,7 +144713,7 @@ function wga(t, e) {
|
|
|
144691
144713
|
function p(g) {
|
|
144692
144714
|
if (!r || !i) return 0;
|
|
144693
144715
|
const h = l(i) - l(r), f = o(g) - o(r), b = o(g) - o(i) > 170, y = h / f;
|
|
144694
|
-
return f && !b &&
|
|
144716
|
+
return f && !b && sd(y) > 0.1 ? y : 0;
|
|
144695
144717
|
}
|
|
144696
144718
|
return {
|
|
144697
144719
|
pointerDown: u,
|
|
@@ -144742,7 +144764,7 @@ function Ega(t, e, n, r, i, o, l) {
|
|
|
144742
144764
|
for (const x of w) {
|
|
144743
144765
|
if (g) return;
|
|
144744
144766
|
const k = x.target === t, C = r.indexOf(x.target), E = k ? p : m[C], S = h(k ? t : r[C]);
|
|
144745
|
-
if (
|
|
144767
|
+
if (sd(S - E) >= 0.5) {
|
|
144746
144768
|
v.reInit(), e.emit("resize");
|
|
144747
144769
|
break;
|
|
144748
144770
|
}
|
|
@@ -144771,7 +144793,7 @@ function Cga(t, e, n, r, i, o) {
|
|
|
144771
144793
|
}
|
|
144772
144794
|
function f() {
|
|
144773
144795
|
const E = r.get() - e.get();
|
|
144774
|
-
return
|
|
144796
|
+
return sd(E) < 1e-3;
|
|
144775
144797
|
}
|
|
144776
144798
|
function b() {
|
|
144777
144799
|
return d;
|
|
@@ -144815,8 +144837,8 @@ function Sga(t, e, n, r, i) {
|
|
|
144815
144837
|
}
|
|
144816
144838
|
function m(f) {
|
|
144817
144839
|
if (!p()) return;
|
|
144818
|
-
const b = t.reachedMin(e.get()) ? "min" : "max", y =
|
|
144819
|
-
n.subtract(v * _), !f &&
|
|
144840
|
+
const b = t.reachedMin(e.get()) ? "min" : "max", y = sd(t[b] - e.get()), v = n.get() - e.get(), _ = u.constrain(y / l);
|
|
144841
|
+
n.subtract(v * _), !f && sd(v) < o && (n.set(t.constrain(n.get())), r.useDuration(25).useBaseFriction());
|
|
144820
144842
|
}
|
|
144821
144843
|
function g(f) {
|
|
144822
144844
|
d = !f;
|
|
@@ -144903,10 +144925,10 @@ function Nga(t, e, n, r, i) {
|
|
|
144903
144925
|
groupSlides: u
|
|
144904
144926
|
} = i, d = g().map(e.measure), p = h(), m = f();
|
|
144905
144927
|
function g() {
|
|
144906
|
-
return u(r).map((y) => vw(y)[l] - y[0][o]).map(
|
|
144928
|
+
return u(r).map((y) => vw(y)[l] - y[0][o]).map(sd);
|
|
144907
144929
|
}
|
|
144908
144930
|
function h() {
|
|
144909
|
-
return r.map((y) => n[o] - y[o]).map((y) => -
|
|
144931
|
+
return r.map((y) => n[o] - y[o]).map((y) => -sd(y));
|
|
144910
144932
|
}
|
|
144911
144933
|
function f() {
|
|
144912
144934
|
return u(p).map((y) => y[0]).map((y, v) => y + d[v]);
|
|
@@ -144949,13 +144971,13 @@ function Lga(t, e, n, r, i) {
|
|
|
144949
144971
|
constrain: u
|
|
144950
144972
|
} = r;
|
|
144951
144973
|
function d(b) {
|
|
144952
|
-
return b.concat().sort((y, v) =>
|
|
144974
|
+
return b.concat().sort((y, v) => sd(y) - sd(v))[0];
|
|
144953
144975
|
}
|
|
144954
144976
|
function p(b) {
|
|
144955
144977
|
const y = t ? l(b) : u(b), v = e.map((w, x) => ({
|
|
144956
144978
|
diff: m(w - y, 0),
|
|
144957
144979
|
index: x
|
|
144958
|
-
})).sort((w, x) =>
|
|
144980
|
+
})).sort((w, x) => sd(w.diff) - sd(x.diff)), {
|
|
144959
144981
|
index: _
|
|
144960
144982
|
} = v[0];
|
|
144961
144983
|
return {
|
|
@@ -145227,7 +145249,7 @@ function jga(t, e, n, r, i, o) {
|
|
|
145227
145249
|
function b() {
|
|
145228
145250
|
if (!p) return 0;
|
|
145229
145251
|
const w = n[0];
|
|
145230
|
-
return
|
|
145252
|
+
return sd(e[u] - w[u]);
|
|
145231
145253
|
}
|
|
145232
145254
|
function y() {
|
|
145233
145255
|
if (!p) return 0;
|
|
@@ -145238,7 +145260,7 @@ function jga(t, e, n, r, i, o) {
|
|
|
145238
145260
|
return n.map((w, x, k) => {
|
|
145239
145261
|
const C = !x, E = _Ke(k, x);
|
|
145240
145262
|
return C ? h[x] + m : E ? h[x] + g : k[x + 1][u] - w[u];
|
|
145241
|
-
}).map(
|
|
145263
|
+
}).map(sd);
|
|
145242
145264
|
}
|
|
145243
145265
|
return {
|
|
145244
145266
|
slideSizes: h,
|
|
@@ -145258,7 +145280,7 @@ function $ga(t, e, n, r, i, o, l, u, d) {
|
|
|
145258
145280
|
}
|
|
145259
145281
|
function b(_) {
|
|
145260
145282
|
return _.length ? UV(_).reduce((w, x, k) => {
|
|
145261
|
-
const C = vw(w) || 0, E = C === 0, S = x === BJ(_), I = i[p] - o[C][p], T = i[p] - o[x][m], D = !r && E ? g(l) : 0, R = !r && S ? g(u) : 0, L =
|
|
145283
|
+
const C = vw(w) || 0, E = C === 0, S = x === BJ(_), I = i[p] - o[C][p], T = i[p] - o[x][m], D = !r && E ? g(l) : 0, R = !r && S ? g(u) : 0, L = sd(T - R - (I + D));
|
|
145262
145284
|
return k && L > e + d && w.push(x), S && w.push(_.length), w;
|
|
145263
145285
|
}, []).map((w, x, k) => {
|
|
145264
145286
|
const C = Math.max(k[x - 1] || 0);
|
|
@@ -147962,7 +147984,7 @@ const Rha = () => /* @__PURE__ */ A.jsxs(
|
|
|
147962
147984
|
},
|
|
147963
147985
|
className: "rounded-lg p-1 hover:bg-white/50 dark:hover:bg-white/10 text-neutral-400 hover:text-neutral-600 dark:hover:text-neutral-300 transition-colors",
|
|
147964
147986
|
title: l("knowledge.sidebar.newKnowledgeSet"),
|
|
147965
|
-
children: /* @__PURE__ */ A.jsx(
|
|
147987
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5" })
|
|
147966
147988
|
}
|
|
147967
147989
|
)
|
|
147968
147990
|
] }),
|
|
@@ -149359,7 +149381,7 @@ function Wha({
|
|
|
149359
149381
|
disabled: w,
|
|
149360
149382
|
className: "h-7 px-2",
|
|
149361
149383
|
title: n("capsule.memory.create"),
|
|
149362
|
-
children: /* @__PURE__ */ A.jsx(
|
|
149384
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5" })
|
|
149363
149385
|
}
|
|
149364
149386
|
) }),
|
|
149365
149387
|
/* @__PURE__ */ A.jsx(It.div, { whileHover: { scale: 1.05 }, whileTap: { scale: 0.95 }, children: /* @__PURE__ */ A.jsx(
|
|
@@ -151620,7 +151642,7 @@ function vfa({
|
|
|
151620
151642
|
"inline-flex items-center gap-0.5 rounded-md px-1.5 py-0.5 text-[11px] text-neutral-400 transition-colors",
|
|
151621
151643
|
"hover:bg-neutral-100/80 hover:text-neutral-600 dark:hover:bg-white/[0.06] dark:hover:text-neutral-300"
|
|
151622
151644
|
),
|
|
151623
|
-
children: /* @__PURE__ */ A.jsx(
|
|
151645
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3 w-3" })
|
|
151624
151646
|
}
|
|
151625
151647
|
))
|
|
151626
151648
|
] })
|
|
@@ -151747,7 +151769,7 @@ function NKe() {
|
|
|
151747
151769
|
{
|
|
151748
151770
|
onClick: () => p(!0),
|
|
151749
151771
|
className: "rounded-md p-1 text-neutral-400 hover:bg-neutral-100 hover:text-neutral-600 dark:hover:bg-white/[0.06] dark:hover:text-neutral-300",
|
|
151750
|
-
children: /* @__PURE__ */ A.jsx(
|
|
151772
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5" })
|
|
151751
151773
|
}
|
|
151752
151774
|
)
|
|
151753
151775
|
] })
|
|
@@ -151935,7 +151957,7 @@ function NKe() {
|
|
|
151935
151957
|
{
|
|
151936
151958
|
onClick: () => p(!0),
|
|
151937
151959
|
className: "rounded-md p-1.5 text-neutral-400 hover:bg-neutral-100 hover:text-neutral-600 dark:hover:bg-white/[0.06] dark:hover:text-neutral-300",
|
|
151938
|
-
children: /* @__PURE__ */ A.jsx(
|
|
151960
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" })
|
|
151939
151961
|
}
|
|
151940
151962
|
)
|
|
151941
151963
|
] })
|
|
@@ -154144,7 +154166,7 @@ const Pfa = ({
|
|
|
154144
154166
|
}
|
|
154145
154167
|
);
|
|
154146
154168
|
}, Ofa = (t) => {
|
|
154147
|
-
const e =
|
|
154169
|
+
const e = Xu().env.backendUrl, n = new URL(e);
|
|
154148
154170
|
return `${n.protocol === "https:" ? "wss:" : "ws:"}//${n.host}${t}`;
|
|
154149
154171
|
};
|
|
154150
154172
|
class Ffa {
|
|
@@ -154620,7 +154642,7 @@ function $fa() {
|
|
|
154620
154642
|
),
|
|
154621
154643
|
t("mcp.addModal.actions.adding")
|
|
154622
154644
|
] }) : /* @__PURE__ */ A.jsxs("span", { className: "inline-flex items-center gap-2", children: [
|
|
154623
|
-
/* @__PURE__ */ A.jsx(
|
|
154645
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" }),
|
|
154624
154646
|
t("mcp.addModal.actions.add")
|
|
154625
154647
|
] })
|
|
154626
154648
|
}
|
|
@@ -154682,7 +154704,7 @@ function zfa() {
|
|
|
154682
154704
|
{
|
|
154683
154705
|
onClick: () => b(!f),
|
|
154684
154706
|
className: "lg:hidden bg-neutral-100 text-neutral-900 hover:bg-neutral-200 dark:bg-neutral-800 dark:text-neutral-100 dark:hover:bg-neutral-700 text-sm font-medium px-2.5 h-8 flex items-center rounded-sm",
|
|
154685
|
-
children: f ? /* @__PURE__ */ A.jsx(
|
|
154707
|
+
children: f ? /* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" }) : /* @__PURE__ */ A.jsx(lYt, { className: "h-4 w-4" })
|
|
154686
154708
|
}
|
|
154687
154709
|
),
|
|
154688
154710
|
/* @__PURE__ */ A.jsxs(
|
|
@@ -154711,7 +154733,7 @@ function zfa() {
|
|
|
154711
154733
|
className: `lg:w-[320px] shrink-0 flex flex-col border-r border-neutral-200/60 dark:border-neutral-800/60 ${f ? "hidden lg:flex" : "flex"}`,
|
|
154712
154734
|
children: [
|
|
154713
154735
|
/* @__PURE__ */ A.jsxs("div", { className: "shrink-0 p-3 bg-neutral-50/30 border-b border-neutral-100 dark:bg-neutral-900/30 dark:border-neutral-800/60 flex items-center space-x-2", children: [
|
|
154714
|
-
/* @__PURE__ */ A.jsx(
|
|
154736
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4 text-indigo-500" }),
|
|
154715
154737
|
/* @__PURE__ */ A.jsx("h3", { className: "text-sm font-medium text-neutral-900 dark:text-white", children: g("mcp.addCustom") })
|
|
154716
154738
|
] }),
|
|
154717
154739
|
/* @__PURE__ */ A.jsx("div", { className: "flex-1 overflow-y-auto custom-scrollbar", children: /* @__PURE__ */ A.jsx("div", { className: "p-1", children: /* @__PURE__ */ A.jsx($fa, {}) }) })
|
|
@@ -154909,7 +154931,7 @@ function Ufa() {
|
|
|
154909
154931
|
onClick: v,
|
|
154910
154932
|
className: "inline-flex h-8 items-center gap-2 rounded-lg px-3 text-xs",
|
|
154911
154933
|
children: [
|
|
154912
|
-
/* @__PURE__ */ A.jsx(
|
|
154934
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" }),
|
|
154913
154935
|
t("settings.payment.actions.new")
|
|
154914
154936
|
]
|
|
154915
154937
|
}
|
|
@@ -155163,7 +155185,7 @@ const Qyt = [
|
|
|
155163
155185
|
name: "Anthropic",
|
|
155164
155186
|
defaultBaseUrl: "https://api.anthropic.com",
|
|
155165
155187
|
defaultModels: [
|
|
155166
|
-
{ id: "claude-opus-4-
|
|
155188
|
+
{ id: "claude-opus-4-7-20250929", name: "Claude Opus 4.7" },
|
|
155167
155189
|
{ id: "claude-sonnet-4-6-20250929", name: "Claude Sonnet 4.6" }
|
|
155168
155190
|
]
|
|
155169
155191
|
},
|
|
@@ -155330,7 +155352,7 @@ function Gfa({
|
|
|
155330
155352
|
onClick: g,
|
|
155331
155353
|
disabled: !u.newModelId.trim(),
|
|
155332
155354
|
className: "shrink-0 rounded-lg bg-neutral-100/80 p-1.5 text-neutral-500 transition-colors hover:bg-neutral-200/80 disabled:opacity-40 dark:bg-white/[0.06] dark:hover:bg-white/[0.1]",
|
|
155333
|
-
children: /* @__PURE__ */ A.jsx(
|
|
155355
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-4 w-4" })
|
|
155334
155356
|
}
|
|
155335
155357
|
)
|
|
155336
155358
|
] })
|
|
@@ -155475,7 +155497,7 @@ function Hfa() {
|
|
|
155475
155497
|
),
|
|
155476
155498
|
/* @__PURE__ */ A.jsx("span", { className: "text-[13px] font-medium text-neutral-900 dark:text-neutral-100", children: x.name }),
|
|
155477
155499
|
/* @__PURE__ */ A.jsxs("span", { className: "flex items-center gap-1 text-xs text-neutral-400", children: [
|
|
155478
|
-
/* @__PURE__ */ A.jsx(
|
|
155500
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-3 w-3" }),
|
|
155479
155501
|
t("settings.providers.form.actions.create")
|
|
155480
155502
|
] })
|
|
155481
155503
|
]
|
|
@@ -156578,7 +156600,7 @@ function YCe(t) {
|
|
|
156578
156600
|
fM.delete(t);
|
|
156579
156601
|
}
|
|
156580
156602
|
function Hyt(t) {
|
|
156581
|
-
const e =
|
|
156603
|
+
const e = Xu().env.backendUrl, n = $i.getToken();
|
|
156582
156604
|
if (!e || !n)
|
|
156583
156605
|
return null;
|
|
156584
156606
|
const r = new sAa(t);
|
|
@@ -164962,7 +164984,7 @@ function Fya({
|
|
|
164962
164984
|
whileTap: { scale: 0.98 },
|
|
164963
164985
|
onClick: e,
|
|
164964
164986
|
children: [
|
|
164965
|
-
/* @__PURE__ */ A.jsx(
|
|
164987
|
+
/* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5" }),
|
|
164966
164988
|
n("terminal.sessions.new")
|
|
164967
164989
|
]
|
|
164968
164990
|
}
|
|
@@ -165535,7 +165557,7 @@ function GKe() {
|
|
|
165535
165557
|
whileTap: { scale: 0.92 },
|
|
165536
165558
|
onClick: Me,
|
|
165537
165559
|
title: t("terminal.sessions.new"),
|
|
165538
|
-
children: /* @__PURE__ */ A.jsx(
|
|
165560
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-3.5 w-3.5" })
|
|
165539
165561
|
}
|
|
165540
165562
|
)
|
|
165541
165563
|
] })
|
|
@@ -166210,7 +166232,7 @@ function Wsn({
|
|
|
166210
166232
|
{
|
|
166211
166233
|
onClick: () => l(!0),
|
|
166212
166234
|
className: "flex h-8 w-8 items-center justify-center rounded-full text-neutral-500 active:bg-neutral-100 dark:text-neutral-400 dark:active:bg-neutral-800 transition-colors",
|
|
166213
|
-
children: /* @__PURE__ */ A.jsx(
|
|
166235
|
+
children: /* @__PURE__ */ A.jsx(dd, { className: "h-5 w-5" })
|
|
166214
166236
|
}
|
|
166215
166237
|
)
|
|
166216
166238
|
] })
|
|
@@ -167497,84 +167519,86 @@ function Ysn({
|
|
|
167497
167519
|
onSnap: e,
|
|
167498
167520
|
velocityThreshold: n = 0.3,
|
|
167499
167521
|
distanceThreshold: r = 0.25,
|
|
167500
|
-
|
|
167501
|
-
|
|
167502
|
-
bypassEdge: l = !1
|
|
167522
|
+
edgeWidth: i = 24,
|
|
167523
|
+
bypassEdge: o = !1
|
|
167503
167524
|
}) {
|
|
167504
|
-
const
|
|
167505
|
-
|
|
167506
|
-
const
|
|
167525
|
+
const l = Bt(null), u = Bt(null), d = Bt(0), [p, m] = he(0), g = Bt(e);
|
|
167526
|
+
g.current = e;
|
|
167527
|
+
const h = Bt({
|
|
167507
167528
|
active: !1,
|
|
167508
167529
|
startX: 0,
|
|
167509
167530
|
startY: 0,
|
|
167510
167531
|
startTime: 0,
|
|
167511
167532
|
locked: !1,
|
|
167512
|
-
// direction determined
|
|
167513
167533
|
horizontal: !1
|
|
167514
|
-
|
|
167515
|
-
|
|
167516
|
-
() => u.current?.offsetWidth ?? window.innerWidth,
|
|
167534
|
+
}), f = Bt(0), b = He(
|
|
167535
|
+
() => l.current?.offsetWidth ?? window.innerWidth,
|
|
167517
167536
|
[]
|
|
167518
|
-
),
|
|
167519
|
-
const
|
|
167520
|
-
|
|
167521
|
-
}, []),
|
|
167537
|
+
), y = He((I) => {
|
|
167538
|
+
const T = l.current;
|
|
167539
|
+
T && (T.scrollLeft = I);
|
|
167540
|
+
}, []), v = He((I, T) => {
|
|
167541
|
+
const D = l.current;
|
|
167542
|
+
if (!D) {
|
|
167543
|
+
T?.();
|
|
167544
|
+
return;
|
|
167545
|
+
}
|
|
167546
|
+
f.current && cancelAnimationFrame(f.current);
|
|
167547
|
+
const R = D.scrollLeft, L = I - R;
|
|
167548
|
+
if (Math.abs(L) < 1) {
|
|
167549
|
+
D.scrollLeft = I, T?.();
|
|
167550
|
+
return;
|
|
167551
|
+
}
|
|
167552
|
+
const N = 400, B = performance.now(), M = (O) => {
|
|
167553
|
+
const Q = 1 - O;
|
|
167554
|
+
return 1 - Q * Q * Q;
|
|
167555
|
+
}, P = (O) => {
|
|
167556
|
+
const Q = O - B, j = Math.min(Q / N, 1);
|
|
167557
|
+
D.scrollLeft = R + L * M(j), j < 1 ? f.current = requestAnimationFrame(P) : (f.current = 0, T?.());
|
|
167558
|
+
};
|
|
167559
|
+
f.current = requestAnimationFrame(P);
|
|
167560
|
+
}, []), _ = Bt(0), w = He(
|
|
167522
167561
|
(I, T = !0) => {
|
|
167523
|
-
const D = Math.max(0, Math.min(t - 1, I)), R =
|
|
167524
|
-
if (
|
|
167525
|
-
const L = ++
|
|
167526
|
-
|
|
167527
|
-
|
|
167528
|
-
|
|
167529
|
-
|
|
167530
|
-
|
|
167531
|
-
const M = () => {
|
|
167532
|
-
B || (B = !0, L === y.current && h.current?.(D));
|
|
167533
|
-
}, P = () => {
|
|
167534
|
-
N.removeEventListener("transitionend", P), b.current = !1, M();
|
|
167535
|
-
};
|
|
167536
|
-
N.addEventListener("transitionend", P), setTimeout(() => {
|
|
167537
|
-
N.removeEventListener("transitionend", P), b.current = !1, M();
|
|
167538
|
-
}, 500);
|
|
167539
|
-
}
|
|
167562
|
+
const D = Math.max(0, Math.min(t - 1, I)), R = D * b();
|
|
167563
|
+
if (d.current = D, m(D), T) {
|
|
167564
|
+
const L = ++_.current;
|
|
167565
|
+
v(R, () => {
|
|
167566
|
+
L === _.current && g.current?.(D);
|
|
167567
|
+
});
|
|
167568
|
+
} else
|
|
167569
|
+
v(R);
|
|
167540
167570
|
},
|
|
167541
|
-
[t,
|
|
167571
|
+
[t, b, v]
|
|
167542
167572
|
), x = He(
|
|
167543
167573
|
(I) => {
|
|
167544
167574
|
const T = Math.max(0, Math.min(t - 1, I));
|
|
167545
|
-
|
|
167575
|
+
d.current = T, m(T), f.current && (cancelAnimationFrame(f.current), f.current = 0), y(T * b());
|
|
167546
167576
|
},
|
|
167547
|
-
[t,
|
|
167577
|
+
[t, y, b]
|
|
167548
167578
|
), k = Bt(w);
|
|
167549
167579
|
k.current = w;
|
|
167550
167580
|
const C = Bt(t);
|
|
167551
167581
|
C.current = t;
|
|
167552
|
-
const E = Bt(
|
|
167553
|
-
E.current =
|
|
167554
|
-
const I =
|
|
167582
|
+
const E = Bt(o);
|
|
167583
|
+
E.current = o, Rt(() => {
|
|
167584
|
+
const I = l.current;
|
|
167555
167585
|
if (!I) return;
|
|
167556
167586
|
const T = (L) => {
|
|
167557
167587
|
const N = L.touches[0];
|
|
167558
167588
|
if (!E.current) {
|
|
167559
|
-
const B = N.clientX <=
|
|
167589
|
+
const B = N.clientX <= i, M = N.clientX >= (l.current?.offsetWidth ?? window.innerWidth) - i;
|
|
167560
167590
|
if (!B && !M) return;
|
|
167561
167591
|
}
|
|
167562
|
-
|
|
167592
|
+
f.current && (cancelAnimationFrame(f.current), f.current = 0), h.current = {
|
|
167563
167593
|
active: !0,
|
|
167564
167594
|
startX: N.clientX,
|
|
167565
167595
|
startY: N.clientY,
|
|
167566
167596
|
startTime: Date.now(),
|
|
167567
167597
|
locked: !1,
|
|
167568
167598
|
horizontal: !1
|
|
167569
|
-
}
|
|
167570
|
-
const B = d.current;
|
|
167571
|
-
if (B) {
|
|
167572
|
-
const M = new DOMMatrix(getComputedStyle(B).transform);
|
|
167573
|
-
B.style.transition = "none", B.style.transform = `translate3d(${M.m41}px,0,0)`, b.current = !1;
|
|
167574
|
-
}
|
|
167575
|
-
}
|
|
167599
|
+
};
|
|
167576
167600
|
}, D = (L) => {
|
|
167577
|
-
const N =
|
|
167601
|
+
const N = h.current;
|
|
167578
167602
|
if (!N.active) return;
|
|
167579
167603
|
const B = L.touches[0], M = B.clientX - N.startX, P = B.clientY - N.startY;
|
|
167580
167604
|
if (!N.locked)
|
|
@@ -167587,47 +167611,38 @@ function Ysn({
|
|
|
167587
167611
|
return;
|
|
167588
167612
|
if (!N.horizontal) return;
|
|
167589
167613
|
L.cancelable && L.preventDefault();
|
|
167590
|
-
const O =
|
|
167591
|
-
|
|
167592
|
-
const F = -(C.current - 1) * O;
|
|
167593
|
-
j > 0 ? j *= i : j < F && (j = F + (j - F) * i), _(j, !1);
|
|
167614
|
+
const O = l.current?.offsetWidth ?? window.innerWidth, j = d.current * O - M, F = (C.current - 1) * O;
|
|
167615
|
+
l.current.scrollLeft = Math.max(0, Math.min(j, F));
|
|
167594
167616
|
}, R = (L) => {
|
|
167595
|
-
const N =
|
|
167617
|
+
const N = h.current;
|
|
167596
167618
|
if (!N.active || (N.active = !1, !N.locked || !N.horizontal)) return;
|
|
167597
|
-
const B = L.changedTouches[0].clientX - N.startX, M = Math.max(Date.now() - N.startTime, 1), P = Math.abs(B / M), O =
|
|
167598
|
-
let j =
|
|
167619
|
+
const B = L.changedTouches[0].clientX - N.startX, M = Math.max(Date.now() - N.startTime, 1), P = Math.abs(B / M), O = l.current?.offsetWidth ?? window.innerWidth, Q = Math.abs(B) / O;
|
|
167620
|
+
let j = d.current;
|
|
167599
167621
|
(P > n || Q > r) && (j += B < 0 ? 1 : -1), k.current(j);
|
|
167600
167622
|
};
|
|
167601
167623
|
return I.addEventListener("touchstart", T, { passive: !0 }), I.addEventListener("touchmove", D, { passive: !1 }), I.addEventListener("touchend", R, { passive: !0 }), () => {
|
|
167602
167624
|
I.removeEventListener("touchstart", T), I.removeEventListener("touchmove", D), I.removeEventListener("touchend", R);
|
|
167603
167625
|
};
|
|
167604
|
-
}, [
|
|
167605
|
-
|
|
167606
|
-
|
|
167607
|
-
i,
|
|
167608
|
-
o,
|
|
167609
|
-
v,
|
|
167610
|
-
_
|
|
167611
|
-
]), Rt(() => {
|
|
167612
|
-
_(-p.current * v(), !1);
|
|
167613
|
-
const I = () => _(-p.current * v(), !1);
|
|
167626
|
+
}, [n, r, i]), Rt(() => {
|
|
167627
|
+
y(d.current * b());
|
|
167628
|
+
const I = () => y(d.current * b());
|
|
167614
167629
|
return window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
|
|
167615
|
-
}, [
|
|
167630
|
+
}, [y, b]);
|
|
167616
167631
|
const S = Bt(t);
|
|
167617
167632
|
return Rt(() => {
|
|
167618
167633
|
if (S.current === t) return;
|
|
167619
167634
|
S.current = t;
|
|
167620
|
-
const I = Math.max(0, t - 1), T = Math.min(
|
|
167621
|
-
|
|
167622
|
-
}, [t,
|
|
167623
|
-
const I =
|
|
167635
|
+
const I = Math.max(0, t - 1), T = Math.min(d.current, I);
|
|
167636
|
+
d.current = T, m(T), y(T * b());
|
|
167637
|
+
}, [t, y, b]), Rt(() => {
|
|
167638
|
+
const I = f, T = _;
|
|
167624
167639
|
return () => {
|
|
167625
|
-
I.current++;
|
|
167640
|
+
I.current && cancelAnimationFrame(I.current), T.current++;
|
|
167626
167641
|
};
|
|
167627
167642
|
}, []), {
|
|
167628
|
-
wrapperRef:
|
|
167629
|
-
trackRef:
|
|
167630
|
-
currentPage:
|
|
167643
|
+
wrapperRef: l,
|
|
167644
|
+
trackRef: u,
|
|
167645
|
+
currentPage: p,
|
|
167631
167646
|
goToPage: w,
|
|
167632
167647
|
setPageImmediate: x
|
|
167633
167648
|
};
|
|
@@ -167640,7 +167655,7 @@ const hva = wf(
|
|
|
167640
167655
|
l
|
|
167641
167656
|
]), Rt(() => {
|
|
167642
167657
|
e?.(l);
|
|
167643
|
-
}, [l, e]), /* @__PURE__ */ A.jsx("div", { ref: i, className: "h-full overflow-hidden", children: /* @__PURE__ */ A.jsxs("div", { ref: o, className: "flex h-full
|
|
167658
|
+
}, [l, e]), /* @__PURE__ */ A.jsx("div", { ref: i, className: "h-full overflow-hidden", children: /* @__PURE__ */ A.jsxs("div", { ref: o, className: "flex h-full", children: [
|
|
167644
167659
|
/* @__PURE__ */ A.jsxs("div", { className: "relative h-full shrink-0 w-full", children: [
|
|
167645
167660
|
/* @__PURE__ */ A.jsx(
|
|
167646
167661
|
Wsn,
|
|
@@ -168516,12 +168531,12 @@ function Rva({ onGetStarted: t }) {
|
|
|
168516
168531
|
bypassEdge: !0
|
|
168517
168532
|
});
|
|
168518
168533
|
return /* @__PURE__ */ A.jsxs("div", { className: "fixed inset-0 z-0 overflow-hidden bg-white text-neutral-900 dark:bg-neutral-950 dark:text-neutral-100", children: [
|
|
168519
|
-
/* @__PURE__ */ A.jsx("div", { ref: r, className: "h-full w-full", children: /* @__PURE__ */ A.jsxs(
|
|
168534
|
+
/* @__PURE__ */ A.jsx("div", { ref: r, className: "h-full w-full overflow-hidden", children: /* @__PURE__ */ A.jsxs(
|
|
168520
168535
|
"div",
|
|
168521
168536
|
{
|
|
168522
168537
|
ref: i,
|
|
168523
168538
|
className: "flex h-full",
|
|
168524
|
-
style: { width: `${qz * 100}
|
|
168539
|
+
style: { width: `${qz * 100}%` },
|
|
168525
168540
|
children: [
|
|
168526
168541
|
/* @__PURE__ */ A.jsxs("div", { className: "relative flex h-full w-full flex-col px-7 pt-[20vh]", children: [
|
|
168527
168542
|
/* @__PURE__ */ A.jsx(
|
|
@@ -173635,7 +173650,7 @@ function $J(t, e) {
|
|
|
173635
173650
|
return t.indexOfName(n);
|
|
173636
173651
|
}) : t.indexOfName(e.name);
|
|
173637
173652
|
}
|
|
173638
|
-
function
|
|
173653
|
+
function md() {
|
|
173639
173654
|
var t = "__ec_inner_" + hxa++;
|
|
173640
173655
|
return function(e) {
|
|
173641
173656
|
return e[t] || (e[t] = {});
|
|
@@ -175321,15 +175336,15 @@ function rwt(t) {
|
|
|
175321
175336
|
function qSe(t) {
|
|
175322
175337
|
return !!(t.backgroundColor || t.lineHeight || t.borderWidth && t.borderColor);
|
|
175323
175338
|
}
|
|
175324
|
-
var
|
|
175339
|
+
var rd = md(), gka = function(t, e, n, r) {
|
|
175325
175340
|
if (r) {
|
|
175326
|
-
var i =
|
|
175341
|
+
var i = rd(r);
|
|
175327
175342
|
i.dataIndex = n, i.dataType = e, i.seriesIndex = t, i.ssrType = "chart", r.type === "group" && r.traverse(function(o) {
|
|
175328
|
-
var l =
|
|
175343
|
+
var l = rd(o);
|
|
175329
175344
|
l.seriesIndex = t, l.dataIndex = n, l.dataType = e, l.ssrType = "chart";
|
|
175330
175345
|
});
|
|
175331
175346
|
}
|
|
175332
|
-
}, awt = 1, iwt = {}, gcn =
|
|
175347
|
+
}, awt = 1, iwt = {}, gcn = md(), mZe = md(), hcn = 0, gZe = 1, hZe = 2, e1 = ["emphasis", "blur", "select"], ige = ["normal", "emphasis", "blur", "select"], hka = 10, fka = 9, C4 = "highlight", ple = "downplay", oge = "select", V8e = "unselect", sge = "toggleSelect", fZe = "selectchanged";
|
|
175333
175348
|
function VP(t) {
|
|
175334
175349
|
return t != null && t !== "none";
|
|
175335
175350
|
}
|
|
@@ -175526,7 +175541,7 @@ function Eka(t, e, n) {
|
|
|
175526
175541
|
for (var u = i.count(), d = 0; !l && d < u; )
|
|
175527
175542
|
l = i.getItemGraphicEl(d++);
|
|
175528
175543
|
if (l) {
|
|
175529
|
-
var p =
|
|
175544
|
+
var p = rd(l);
|
|
175530
175545
|
X8e(r, p.focus, p.blurScope, n);
|
|
175531
175546
|
} else {
|
|
175532
175547
|
var m = t.get(["emphasis", "focus"]), g = t.get(["emphasis", "blurScope"]);
|
|
@@ -175547,7 +175562,7 @@ function bZe(t, e, n, r) {
|
|
|
175547
175562
|
if (!l || !l.findHighDownDispatchers)
|
|
175548
175563
|
return i;
|
|
175549
175564
|
for (var u = l.findHighDownDispatchers(n), d, p = 0; p < u.length; p++)
|
|
175550
|
-
if (process.env.NODE_ENV !== "production" && !lj(u[p]) && Pc("param should be highDownDispatcher"),
|
|
175565
|
+
if (process.env.NODE_ENV !== "production" && !lj(u[p]) && Pc("param should be highDownDispatcher"), rd(u[p]).focus === "self") {
|
|
175551
175566
|
d = !0;
|
|
175552
175567
|
break;
|
|
175553
175568
|
}
|
|
@@ -175558,14 +175573,14 @@ function bZe(t, e, n, r) {
|
|
|
175558
175573
|
}
|
|
175559
175574
|
function Cka(t, e, n) {
|
|
175560
175575
|
process.env.NODE_ENV !== "production" && !lj(t) && Pc("param should be highDownDispatcher");
|
|
175561
|
-
var r =
|
|
175576
|
+
var r = rd(t), i = bZe(r.componentMainType, r.componentIndex, r.componentHighDownName, n), o = i.dispatchers, l = i.focusSelf;
|
|
175562
175577
|
o ? (l && J8e(r.componentMainType, r.componentIndex, n), vn(o, function(u) {
|
|
175563
175578
|
return swt(u, e);
|
|
175564
175579
|
})) : (X8e(r.seriesIndex, r.focus, r.blurScope, n), r.focus === "self" && J8e(r.componentMainType, r.componentIndex, n), swt(t, e));
|
|
175565
175580
|
}
|
|
175566
175581
|
function Ska(t, e, n) {
|
|
175567
175582
|
process.env.NODE_ENV !== "production" && !lj(t) && Pc("param should be highDownDispatcher"), xcn(n);
|
|
175568
|
-
var r =
|
|
175583
|
+
var r = rd(t), i = bZe(r.componentMainType, r.componentIndex, r.componentHighDownName, n).dispatchers;
|
|
175569
175584
|
i ? vn(i, function(o) {
|
|
175570
175585
|
return lwt(o, e);
|
|
175571
175586
|
}) : lwt(t, e);
|
|
@@ -175612,7 +175627,7 @@ function Ecn(t, e, n, r) {
|
|
|
175612
175627
|
r ? Bka(t) : kcn(t, e, n);
|
|
175613
175628
|
}
|
|
175614
175629
|
function Dka(t, e, n) {
|
|
175615
|
-
var r =
|
|
175630
|
+
var r = rd(t);
|
|
175616
175631
|
e != null ? (r.focus = e, r.blurScope = n) : r.focus && (r.focus = null);
|
|
175617
175632
|
}
|
|
175618
175633
|
var uwt = ["emphasis", "blur", "select"], Nka = {
|
|
@@ -176310,7 +176325,7 @@ var yZe = (function(t) {
|
|
|
176310
176325
|
}
|
|
176311
176326
|
return !1;
|
|
176312
176327
|
}, e;
|
|
176313
|
-
})(zJ), lEa =
|
|
176328
|
+
})(zJ), lEa = md();
|
|
176314
176329
|
function cEa(t, e, n, r, i) {
|
|
176315
176330
|
var o;
|
|
176316
176331
|
if (e && e.ecModel) {
|
|
@@ -176498,7 +176513,7 @@ function fEa(t, e, n) {
|
|
|
176498
176513
|
var u = o[l.anid];
|
|
176499
176514
|
if (u) {
|
|
176500
176515
|
var d = i(l);
|
|
176501
|
-
l.attr(i(u)), cj(l, d, n,
|
|
176516
|
+
l.attr(i(u)), cj(l, d, n, rd(l).dataIndex);
|
|
176502
176517
|
}
|
|
176503
176518
|
}
|
|
176504
176519
|
});
|
|
@@ -176580,7 +176595,7 @@ function CZe(t) {
|
|
|
176580
176595
|
d && vn(ll(d), function(m) {
|
|
176581
176596
|
ww(u, m) || (u[m] = d[m], u.$vars.push(m));
|
|
176582
176597
|
});
|
|
176583
|
-
var p =
|
|
176598
|
+
var p = rd(t.el);
|
|
176584
176599
|
p.componentMainType = o, p.componentIndex = l, p.tooltipConfig = {
|
|
176585
176600
|
name: r,
|
|
176586
176601
|
option: hu({
|
|
@@ -176887,7 +176902,7 @@ function kEa(t, e) {
|
|
|
176887
176902
|
t.fontFamily || n && n.getShallow("fontFamily") || "sans-serif"
|
|
176888
176903
|
].join(" "));
|
|
176889
176904
|
}
|
|
176890
|
-
var EEa =
|
|
176905
|
+
var EEa = md(), D8 = {
|
|
176891
176906
|
minMargin: 1,
|
|
176892
176907
|
textMargin: 2
|
|
176893
176908
|
}, CEa = ["textStyle", "color"], KSe = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "padding", "lineHeight", "rich", "width", "height", "overflow"], ZSe = new dg(), SEa = (
|
|
@@ -177878,7 +177893,7 @@ function m1a(t, e) {
|
|
|
177878
177893
|
ww(e, n) && (t[n] = e[n]);
|
|
177879
177894
|
}), t;
|
|
177880
177895
|
}
|
|
177881
|
-
var g1a =
|
|
177896
|
+
var g1a = md(), yl = (
|
|
177882
177897
|
/** @class */
|
|
177883
177898
|
(function(t) {
|
|
177884
177899
|
ec(e, t);
|
|
@@ -177945,7 +177960,7 @@ var Wo = {
|
|
|
177945
177960
|
color: {},
|
|
177946
177961
|
darkColor: {},
|
|
177947
177962
|
size: {}
|
|
177948
|
-
},
|
|
177963
|
+
}, _d = Wo.color = {
|
|
177949
177964
|
theme: ["#5070dd", "#b6d634", "#505372", "#ff994d", "#0ca8df", "#ffd10a", "#fb628b", "#785db0", "#3fbe95"],
|
|
177950
177965
|
neutral00: "#fff",
|
|
177951
177966
|
neutral05: "#f4f7fd",
|
|
@@ -177990,33 +178005,33 @@ var Wo = {
|
|
|
177990
178005
|
transparent: "rgba(0,0,0,0)",
|
|
177991
178006
|
highlight: "rgba(255,231,130,0.8)"
|
|
177992
178007
|
};
|
|
177993
|
-
la(
|
|
177994
|
-
primary:
|
|
177995
|
-
secondary:
|
|
177996
|
-
tertiary:
|
|
177997
|
-
quaternary:
|
|
177998
|
-
disabled:
|
|
177999
|
-
border:
|
|
178000
|
-
borderTint:
|
|
178001
|
-
borderShade:
|
|
178002
|
-
background:
|
|
178008
|
+
la(_d, {
|
|
178009
|
+
primary: _d.neutral80,
|
|
178010
|
+
secondary: _d.neutral70,
|
|
178011
|
+
tertiary: _d.neutral60,
|
|
178012
|
+
quaternary: _d.neutral50,
|
|
178013
|
+
disabled: _d.neutral20,
|
|
178014
|
+
border: _d.neutral30,
|
|
178015
|
+
borderTint: _d.neutral20,
|
|
178016
|
+
borderShade: _d.neutral40,
|
|
178017
|
+
background: _d.neutral05,
|
|
178003
178018
|
backgroundTint: "rgba(234,237,245,0.5)",
|
|
178004
178019
|
backgroundTransparent: "rgba(255,255,255,0)",
|
|
178005
|
-
backgroundShade:
|
|
178020
|
+
backgroundShade: _d.neutral10,
|
|
178006
178021
|
shadow: "rgba(0,0,0,0.2)",
|
|
178007
178022
|
shadowTint: "rgba(129,130,136,0.2)",
|
|
178008
|
-
axisLine:
|
|
178009
|
-
axisLineTint:
|
|
178010
|
-
axisTick:
|
|
178011
|
-
axisTickMinor:
|
|
178012
|
-
axisLabel:
|
|
178013
|
-
axisSplitLine:
|
|
178014
|
-
axisMinorSplitLine:
|
|
178023
|
+
axisLine: _d.neutral70,
|
|
178024
|
+
axisLineTint: _d.neutral40,
|
|
178025
|
+
axisTick: _d.neutral70,
|
|
178026
|
+
axisTickMinor: _d.neutral60,
|
|
178027
|
+
axisLabel: _d.neutral70,
|
|
178028
|
+
axisSplitLine: _d.neutral15,
|
|
178029
|
+
axisMinorSplitLine: _d.neutral05
|
|
178015
178030
|
});
|
|
178016
|
-
for (var LR in
|
|
178017
|
-
if (
|
|
178018
|
-
var Bwt =
|
|
178019
|
-
LR === "theme" ? Wo.darkColor.theme =
|
|
178031
|
+
for (var LR in _d)
|
|
178032
|
+
if (_d.hasOwnProperty(LR)) {
|
|
178033
|
+
var Bwt = _d[LR];
|
|
178034
|
+
LR === "theme" ? Wo.darkColor.theme = _d.theme.slice() : LR === "highlight" ? Wo.darkColor.highlight = "rgba(255,231,130,0.4)" : LR.indexOf("accent") === 0 ? Wo.darkColor[LR] = x4(Bwt, null, function(t) {
|
|
178020
178035
|
return t * 0.5;
|
|
178021
178036
|
}, function(t) {
|
|
178022
178037
|
return Math.min(1, 1.3 - t);
|
|
@@ -178125,7 +178140,7 @@ var c6e = vs(["tooltip", "label", "itemName", "itemId", "itemGroupId", "itemChil
|
|
|
178125
178140
|
Might: 2,
|
|
178126
178141
|
Not: 3
|
|
178127
178142
|
// Other cases
|
|
178128
|
-
}, hun =
|
|
178143
|
+
}, hun = md();
|
|
178129
178144
|
function b1a(t) {
|
|
178130
178145
|
hun(t).datasetMap = vs();
|
|
178131
178146
|
}
|
|
@@ -178284,8 +178299,8 @@ function x1a(t, e, n) {
|
|
|
178284
178299
|
Ui(sj(i[o]));
|
|
178285
178300
|
return n.concat(i);
|
|
178286
178301
|
}
|
|
178287
|
-
var Dwt =
|
|
178288
|
-
|
|
178302
|
+
var Dwt = md();
|
|
178303
|
+
md();
|
|
178289
178304
|
var WZe = (
|
|
178290
178305
|
/** @class */
|
|
178291
178306
|
(function() {
|
|
@@ -180421,7 +180436,7 @@ function TCa(t, e, n, r, i) {
|
|
|
180421
180436
|
blocks: p
|
|
180422
180437
|
};
|
|
180423
180438
|
}
|
|
180424
|
-
var JI =
|
|
180439
|
+
var JI = md();
|
|
180425
180440
|
function Vre(t, e) {
|
|
180426
180441
|
return t.getName(e) || t.getId(e);
|
|
180427
180442
|
}
|
|
@@ -180669,13 +180684,13 @@ var ry = (
|
|
|
180669
180684
|
uZe(ry);
|
|
180670
180685
|
Cve(ry);
|
|
180671
180686
|
function PCa() {
|
|
180672
|
-
var t =
|
|
180687
|
+
var t = md();
|
|
180673
180688
|
return function(e) {
|
|
180674
180689
|
var n = t(e), r = e.pipelineContext, i = !!n.large, o = !!n.progressiveRender, l = n.large = !!(r && r.large), u = n.progressiveRender = !!(r && r.progressiveRender);
|
|
180675
180690
|
return (i !== l || o !== u) && "reset";
|
|
180676
180691
|
};
|
|
180677
180692
|
}
|
|
180678
|
-
var Oun =
|
|
180693
|
+
var Oun = md(), OCa = PCa(), zv = (
|
|
180679
180694
|
/** @class */
|
|
180680
180695
|
(function() {
|
|
180681
180696
|
function t() {
|
|
@@ -180795,7 +180810,7 @@ function h6e(t, e) {
|
|
|
180795
180810
|
var n = t[e];
|
|
180796
180811
|
n && n[Age] && (n.clear && n.clear(), t[e] = n[Age]);
|
|
180797
180812
|
}
|
|
180798
|
-
var oxt =
|
|
180813
|
+
var oxt = md(), sxt = {
|
|
180799
180814
|
itemStyle: rK(tun, !0),
|
|
180800
180815
|
lineStyle: rK(eun, !0)
|
|
180801
180816
|
}, $Ca = {
|
|
@@ -182307,7 +182322,7 @@ var QR, c2e, Jre, tC, eae, u2e, d2e, nO, rO, Ext, Cxt, p2e, Sxt, tae, Ixt, cdn,
|
|
|
182307
182322
|
p && (l = Oi(p.__ECHARTS__DEFAULT__RENDERER__, l), u = Oi(p.__ECHARTS__DEFAULT__COARSE_POINTER, u), d = Oi(p.__ECHARTS__DEFAULT__USE_DIRTY_RECT__, d));
|
|
182308
182323
|
}
|
|
182309
182324
|
i.ssr && zln(function(f) {
|
|
182310
|
-
var b =
|
|
182325
|
+
var b = rd(f), y = b.dataIndex;
|
|
182311
182326
|
if (y != null) {
|
|
182312
182327
|
var v = vs();
|
|
182313
182328
|
return v.set("series_index", b.seriesIndex), v.set("data_index", y), b.ssrType && v.set("ssr_type", b.ssrType), v;
|
|
@@ -182566,7 +182581,7 @@ var QR, c2e, Jre, tC, eae, u2e, d2e, nO, rO, Ext, Cxt, p2e, Sxt, tae, Ixt, cdn,
|
|
|
182566
182581
|
var o = function(l) {
|
|
182567
182582
|
var u = n.getModel(), d = l.target, p, m = i === "globalout";
|
|
182568
182583
|
if (m ? p = {} : d && DG(d, function(y) {
|
|
182569
|
-
var v =
|
|
182584
|
+
var v = rd(y);
|
|
182570
182585
|
if (v && v.dataIndex != null) {
|
|
182571
182586
|
var _ = v.dataModel || u.getSeriesByIndex(v.seriesIndex);
|
|
182572
182587
|
return p = _ && _.getDataParams(v.dataIndex, v.dataType, d) || {}, !0;
|
|
@@ -182915,10 +182930,10 @@ var QR, c2e, Jre, tC, eae, u2e, d2e, nO, rO, Ext, Cxt, p2e, Sxt, tae, Ixt, cdn,
|
|
|
182915
182930
|
y && (Ska(y, f, h._api), Ty(h));
|
|
182916
182931
|
}).on("click", function(f) {
|
|
182917
182932
|
var b = f.target, y = DG(b, function(w) {
|
|
182918
|
-
return
|
|
182933
|
+
return rd(w).dataIndex != null;
|
|
182919
182934
|
}, !0);
|
|
182920
182935
|
if (y) {
|
|
182921
|
-
var v = y.selected ? "unselect" : "select", _ =
|
|
182936
|
+
var v = y.selected ? "unselect" : "select", _ = rd(y);
|
|
182922
182937
|
h._api.dispatchAction({
|
|
182923
182938
|
type: v,
|
|
182924
182939
|
dataType: _.dataType,
|
|
@@ -183446,7 +183461,7 @@ var ble = (
|
|
|
183446
183461
|
}
|
|
183447
183462
|
return t;
|
|
183448
183463
|
})()
|
|
183449
|
-
), f2a =
|
|
183464
|
+
), f2a = md(), A2a = {
|
|
183450
183465
|
float: "f",
|
|
183451
183466
|
int: "i",
|
|
183452
183467
|
ordinal: "o",
|
|
@@ -185092,7 +185107,7 @@ const _Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
185092
185107
|
createTextStyle: vIa,
|
|
185093
185108
|
dataStack: AIa,
|
|
185094
185109
|
enableHoverEmphasis: kcn,
|
|
185095
|
-
getECData:
|
|
185110
|
+
getECData: rd,
|
|
185096
185111
|
getLayoutRect: _M,
|
|
185097
185112
|
mixinAxisModelCommonMethods: yIa
|
|
185098
185113
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -185438,7 +185453,7 @@ const IIa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
185438
185453
|
merge: Bc,
|
|
185439
185454
|
reduce: ZE
|
|
185440
185455
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
185441
|
-
var RIa =
|
|
185456
|
+
var RIa = md(), RW = md(), ID = {
|
|
185442
185457
|
estimate: 1,
|
|
185443
185458
|
determine: 2
|
|
185444
185459
|
};
|
|
@@ -186168,7 +186183,7 @@ function sTa(t, e, n) {
|
|
|
186168
186183
|
});
|
|
186169
186184
|
});
|
|
186170
186185
|
}
|
|
186171
|
-
var qdn =
|
|
186186
|
+
var qdn = md();
|
|
186172
186187
|
function lTa(t) {
|
|
186173
186188
|
return {
|
|
186174
186189
|
seriesType: t,
|
|
@@ -186545,7 +186560,7 @@ var fTa = (
|
|
|
186545
186560
|
return r.getItemVisual(e, n);
|
|
186546
186561
|
}, t;
|
|
186547
186562
|
})()
|
|
186548
|
-
), ATa =
|
|
186563
|
+
), ATa = md(), Wdn = (
|
|
186549
186564
|
/** @class */
|
|
186550
186565
|
(function(t) {
|
|
186551
186566
|
ec(e, t);
|
|
@@ -186703,7 +186718,7 @@ var vTa = null;
|
|
|
186703
186718
|
function _Ta() {
|
|
186704
186719
|
return vTa;
|
|
186705
186720
|
}
|
|
186706
|
-
var wTa = "expandAxisBreak", kB = Math.PI, xTa = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], kTa = [[0, 1, 0, 1], [0, 3, 0, 3], [0, 3, 0, 3]], Rge =
|
|
186721
|
+
var wTa = "expandAxisBreak", kB = Math.PI, xTa = [[1, 2, 1, 2], [5, 3, 5, 3], [8, 3, 8, 3]], kTa = [[0, 1, 0, 1], [0, 3, 0, 3], [0, 3, 0, 3]], Rge = md(), Ydn = md(), ETa = (
|
|
186707
186722
|
/** @class */
|
|
186708
186723
|
(function() {
|
|
186709
186724
|
function t(e) {
|
|
@@ -186961,7 +186976,7 @@ var T4 = (
|
|
|
186961
186976
|
itemName: m
|
|
186962
186977
|
}), L.__fullText = m, L.anid = "name", r.get("triggerEvent")) {
|
|
186963
186978
|
var N = T4.makeAxisEventDataBase(r);
|
|
186964
|
-
N.targetType = "axisName", N.name = m,
|
|
186979
|
+
N.targetType = "axisName", N.name = m, rd(L).eventData = N;
|
|
186965
186980
|
}
|
|
186966
186981
|
o.add(L), L.updateTransform(), e.nameEl = L;
|
|
186967
186982
|
var B = d.nameLayout = TD({
|
|
@@ -187168,7 +187183,7 @@ function PTa(t, e, n, r, i, o) {
|
|
|
187168
187183
|
// type: labelItem.break.type,
|
|
187169
187184
|
start: k.break.parsedBreak.vmin,
|
|
187170
187185
|
end: k.break.parsedBreak.vmax
|
|
187171
|
-
}), l.type === "category" && (z.dataIndex = S),
|
|
187186
|
+
}), l.type === "category" && (z.dataIndex = S), rd(F).eventData = z, k.break && QTa(i, o, F, k.break);
|
|
187172
187187
|
}
|
|
187173
187188
|
y.push(F), d.add(F);
|
|
187174
187189
|
});
|
|
@@ -187889,7 +187904,7 @@ var nBa = (
|
|
|
187889
187904
|
function aBa(t) {
|
|
187890
187905
|
t.registerChartView(nBa), t.registerSeriesModel(rBa);
|
|
187891
187906
|
}
|
|
187892
|
-
var pL =
|
|
187907
|
+
var pL = md(), skt = bo, E2e = Ks, iBa = (
|
|
187893
187908
|
/** @class */
|
|
187894
187909
|
(function() {
|
|
187895
187910
|
function t() {
|
|
@@ -188277,7 +188292,7 @@ var gBa = (
|
|
|
188277
188292
|
}
|
|
188278
188293
|
}, e;
|
|
188279
188294
|
})(yl)
|
|
188280
|
-
), MS =
|
|
188295
|
+
), MS = md(), hBa = vn;
|
|
188281
188296
|
function npn(t, e, n) {
|
|
188282
188297
|
if (!Eo.node) {
|
|
188283
188298
|
var r = e.getZr();
|
|
@@ -188384,7 +188399,7 @@ function rpn(t, e) {
|
|
|
188384
188399
|
el: u
|
|
188385
188400
|
};
|
|
188386
188401
|
}
|
|
188387
|
-
var gkt =
|
|
188402
|
+
var gkt = md();
|
|
188388
188403
|
function _Ba(t, e, n) {
|
|
188389
188404
|
var r = t.currTrigger, i = [t.x, t.y], o = t, l = t.dispatchAction || Ks(n.dispatchAction, n), u = e.getComponent("axisPointer").coordSysAxesInfo;
|
|
188390
188405
|
if (u) {
|
|
@@ -189411,7 +189426,7 @@ var HBa = new xm({
|
|
|
189411
189426
|
}, l);
|
|
189412
189427
|
} else if (o.tooltip && o.x != null && o.y != null) {
|
|
189413
189428
|
var m = HBa;
|
|
189414
|
-
m.x = o.x, m.y = o.y, m.update(),
|
|
189429
|
+
m.x = o.x, m.y = o.y, m.update(), rd(m).tooltipConfig = {
|
|
189415
189430
|
name: null,
|
|
189416
189431
|
option: o.tooltip
|
|
189417
189432
|
}, this._tryShow({
|
|
@@ -189477,7 +189492,7 @@ var HBa = new xm({
|
|
|
189477
189492
|
if (l && l.length)
|
|
189478
189493
|
this._showAxisTooltip(l, n);
|
|
189479
189494
|
else if (i) {
|
|
189480
|
-
var u =
|
|
189495
|
+
var u = rd(i);
|
|
189481
189496
|
if (u.ssrType === "legend")
|
|
189482
189497
|
return;
|
|
189483
189498
|
this._lastDataByCoordSys = null;
|
|
@@ -189485,7 +189500,7 @@ var HBa = new xm({
|
|
|
189485
189500
|
DG(i, function(m) {
|
|
189486
189501
|
if (m.tooltipDisabled)
|
|
189487
189502
|
return d = p = null, !0;
|
|
189488
|
-
d || p || (
|
|
189503
|
+
d || p || (rd(m).dataIndex != null ? d = m : rd(m).tooltipConfig != null && (p = m));
|
|
189489
189504
|
}, !0), d ? this._showSeriesItemTooltip(n, d, r) : p ? this._showComponentItemTooltip(n, p, r) : this._hide(r);
|
|
189490
189505
|
} else
|
|
189491
189506
|
this._lastDataByCoordSys = null, this._hide(r);
|
|
@@ -189536,7 +189551,7 @@ var HBa = new xm({
|
|
|
189536
189551
|
this._updateContentNotChangedOnAxis(n, p) ? this._updatePosition(u, f, l[0], l[1], this._tooltipContent, p) : this._showTooltipContent(u, _, p, Math.random() + "", l[0], l[1], f, null, h);
|
|
189537
189552
|
});
|
|
189538
189553
|
}, e.prototype._showSeriesItemTooltip = function(n, r, i) {
|
|
189539
|
-
var o = this._ecModel, l =
|
|
189554
|
+
var o = this._ecModel, l = rd(r), u = l.seriesIndex, d = o.getSeriesByIndex(u), p = l.dataModel || d, m = l.dataIndex, g = l.dataType, h = p.getData(g), f = this._renderMode, b = n.positionDefault, y = lU([h.getItemModel(m), p, d && (d.coordinateSystem || {}).model], this._tooltipModel, b ? {
|
|
189540
189555
|
position: b
|
|
189541
189556
|
} : null), v = y.get("trigger");
|
|
189542
189557
|
if (!(v != null && v !== "item")) {
|
|
@@ -189556,7 +189571,7 @@ var HBa = new xm({
|
|
|
189556
189571
|
});
|
|
189557
189572
|
}
|
|
189558
189573
|
}, e.prototype._showComponentItemTooltip = function(n, r, i) {
|
|
189559
|
-
var o = this._renderMode === "html", l =
|
|
189574
|
+
var o = this._renderMode === "html", l = rd(r), u = l.tooltipConfig, d = u.option || {}, p = d.encodeHTMLContent;
|
|
189560
189575
|
if (ii(d)) {
|
|
189561
189576
|
var m = d;
|
|
189562
189577
|
d = {
|
|
@@ -189719,7 +189734,7 @@ function ZBa(t, e, n) {
|
|
|
189719
189734
|
if (l) {
|
|
189720
189735
|
var u = n.getViewOfComponentModel(l), d;
|
|
189721
189736
|
if (u.group.traverse(function(p) {
|
|
189722
|
-
var m =
|
|
189737
|
+
var m = rd(p).tooltipConfig;
|
|
189723
189738
|
if (m && m.name === t.name)
|
|
189724
189739
|
return d = p, !0;
|
|
189725
189740
|
}), d)
|
|
@@ -197834,7 +197849,7 @@ function MG(t, e) {
|
|
|
197834
197849
|
function ay(t) {
|
|
197835
197850
|
t.preventDefault();
|
|
197836
197851
|
}
|
|
197837
|
-
function
|
|
197852
|
+
function td(t) {
|
|
197838
197853
|
t.preventDefault(), t.stopPropagation();
|
|
197839
197854
|
}
|
|
197840
197855
|
function Opn(t) {
|
|
@@ -198313,10 +198328,10 @@ class MW {
|
|
|
198313
198328
|
e.stopPropagation();
|
|
198314
198329
|
}
|
|
198315
198330
|
#p(e) {
|
|
198316
|
-
this.#r._focusEventsAllowed = !1,
|
|
198331
|
+
this.#r._focusEventsAllowed = !1, td(e);
|
|
198317
198332
|
}
|
|
198318
198333
|
#u(e) {
|
|
198319
|
-
this.#r._focusEventsAllowed = !0,
|
|
198334
|
+
this.#r._focusEventsAllowed = !0, td(e);
|
|
198320
198335
|
}
|
|
198321
198336
|
#m(e) {
|
|
198322
198337
|
const n = this.#r._uiManager._signal;
|
|
@@ -198747,7 +198762,7 @@ class JJ {
|
|
|
198747
198762
|
checker: u = null
|
|
198748
198763
|
}
|
|
198749
198764
|
} = r;
|
|
198750
|
-
u && !u(e, n) || (i.bind(e, ...l, n)(), o ||
|
|
198765
|
+
u && !u(e, n) || (i.bind(e, ...l, n)(), o || td(n));
|
|
198751
198766
|
}
|
|
198752
198767
|
}
|
|
198753
198768
|
class LXe {
|
|
@@ -200192,12 +200207,12 @@ class fae {
|
|
|
200192
200207
|
e.addEventListener("contextmenu", ay, {
|
|
200193
200208
|
signal: r
|
|
200194
200209
|
}), n && (e.addEventListener("focusin", (o) => {
|
|
200195
|
-
this.#n._focusEventsAllowed = !1,
|
|
200210
|
+
this.#n._focusEventsAllowed = !1, td(o);
|
|
200196
200211
|
}, {
|
|
200197
200212
|
capture: !0,
|
|
200198
200213
|
signal: r
|
|
200199
200214
|
}), e.addEventListener("focusout", (o) => {
|
|
200200
|
-
this.#n._focusEventsAllowed = !0,
|
|
200215
|
+
this.#n._focusEventsAllowed = !0, td(o);
|
|
200201
200216
|
}, {
|
|
200202
200217
|
capture: !0,
|
|
200203
200218
|
signal: r
|
|
@@ -200342,7 +200357,7 @@ class eee {
|
|
|
200342
200357
|
p.pointerType === "touch" && (this.#s?.abort(), this.#s = null);
|
|
200343
200358
|
};
|
|
200344
200359
|
l.addEventListener("pointerdown", (p) => {
|
|
200345
|
-
p.pointerType === "touch" && (
|
|
200360
|
+
p.pointerType === "touch" && (td(p), d(p));
|
|
200346
200361
|
}, u), l.addEventListener("pointerup", d, u), l.addEventListener("pointercancel", d, u);
|
|
200347
200362
|
return;
|
|
200348
200363
|
}
|
|
@@ -200355,9 +200370,9 @@ class eee {
|
|
|
200355
200370
|
};
|
|
200356
200371
|
o.addEventListener("touchmove", this.#h.bind(this), l);
|
|
200357
200372
|
const u = this.#g.bind(this);
|
|
200358
|
-
o.addEventListener("touchend", u, l), o.addEventListener("touchcancel", u, l), l.capture = !0, o.addEventListener("pointerdown",
|
|
200373
|
+
o.addEventListener("touchend", u, l), o.addEventListener("touchcancel", u, l), l.capture = !0, o.addEventListener("pointerdown", td, l), o.addEventListener("pointermove", td, l), o.addEventListener("pointercancel", td, l), o.addEventListener("pointerup", td, l), this.#a?.();
|
|
200359
200374
|
}
|
|
200360
|
-
if (
|
|
200375
|
+
if (td(e), e.touches.length !== 2 || this.#r?.()) {
|
|
200361
200376
|
this.#c = null;
|
|
200362
200377
|
return;
|
|
200363
200378
|
}
|
|
@@ -200372,7 +200387,7 @@ class eee {
|
|
|
200372
200387
|
#h(e) {
|
|
200373
200388
|
if (!this.#c || e.touches.length !== 2)
|
|
200374
200389
|
return;
|
|
200375
|
-
|
|
200390
|
+
td(e);
|
|
200376
200391
|
let [n, r] = e.touches;
|
|
200377
200392
|
n.identifier > r.identifier && ([n, r] = [r, n]);
|
|
200378
200393
|
const {
|
|
@@ -200397,7 +200412,7 @@ class eee {
|
|
|
200397
200412
|
this.#o?.(x, w, _);
|
|
200398
200413
|
}
|
|
200399
200414
|
#g(e) {
|
|
200400
|
-
e.touches.length >= 2 || (this.#u && (this.#u.abort(), this.#u = null, this.#i?.()), this.#c && (
|
|
200415
|
+
e.touches.length >= 2 || (this.#u && (this.#u.abort(), this.#u = null, this.#i?.()), this.#c && (td(e), this.#c = null, this.#t = !1));
|
|
200401
200416
|
}
|
|
200402
200417
|
destroy() {
|
|
200403
200418
|
this.#p?.abort(), this.#p = null, this.#s?.abort(), this.#s = null;
|
|
@@ -200789,7 +200804,7 @@ class qi {
|
|
|
200789
200804
|
passive: !0,
|
|
200790
200805
|
capture: !0,
|
|
200791
200806
|
signal: l
|
|
200792
|
-
}), window.addEventListener("touchmove",
|
|
200807
|
+
}), window.addEventListener("touchmove", td, {
|
|
200793
200808
|
passive: !1,
|
|
200794
200809
|
signal: l
|
|
200795
200810
|
}), window.addEventListener("contextmenu", ay, {
|
|
@@ -201123,20 +201138,20 @@ class qi {
|
|
|
201123
201138
|
pointerId: h
|
|
201124
201139
|
} = p;
|
|
201125
201140
|
if (h !== this.#i) {
|
|
201126
|
-
|
|
201141
|
+
td(p);
|
|
201127
201142
|
return;
|
|
201128
201143
|
}
|
|
201129
201144
|
const [f, b] = this.screenToPageTranslation(m - this.#k, g - this.#x);
|
|
201130
201145
|
this.#k = m, this.#x = g, this._uiManager.dragSelectedEditors(f, b);
|
|
201131
|
-
}, l), window.addEventListener("touchmove",
|
|
201132
|
-
p.pointerType === this.#s && (this.#C || p.isPrimary) && u(p),
|
|
201146
|
+
}, l), window.addEventListener("touchmove", td, l), window.addEventListener("pointerdown", (p) => {
|
|
201147
|
+
p.pointerType === this.#s && (this.#C || p.isPrimary) && u(p), td(p);
|
|
201133
201148
|
}, l));
|
|
201134
201149
|
const d = (p) => {
|
|
201135
201150
|
if (!this.#i || this.#i === p.pointerId) {
|
|
201136
201151
|
u(p);
|
|
201137
201152
|
return;
|
|
201138
201153
|
}
|
|
201139
|
-
|
|
201154
|
+
td(p);
|
|
201140
201155
|
};
|
|
201141
201156
|
window.addEventListener("pointerup", d, {
|
|
201142
201157
|
signal: o
|
|
@@ -207893,11 +207908,11 @@ class G2e {
|
|
|
207893
207908
|
case qd.FILEATTACHMENT:
|
|
207894
207909
|
return new O3a(e);
|
|
207895
207910
|
default:
|
|
207896
|
-
return new
|
|
207911
|
+
return new cd(e);
|
|
207897
207912
|
}
|
|
207898
207913
|
}
|
|
207899
207914
|
}
|
|
207900
|
-
class
|
|
207915
|
+
class cd {
|
|
207901
207916
|
#e = null;
|
|
207902
207917
|
#t = !1;
|
|
207903
207918
|
#r = null;
|
|
@@ -207918,7 +207933,7 @@ class ld {
|
|
|
207918
207933
|
return this.data.isEditable;
|
|
207919
207934
|
}
|
|
207920
207935
|
get hasPopupData() {
|
|
207921
|
-
return
|
|
207936
|
+
return cd._hasPopupData(this.data) || this.enableComment && !!this.commentText;
|
|
207922
207937
|
}
|
|
207923
207938
|
get commentData() {
|
|
207924
207939
|
const {
|
|
@@ -208360,7 +208375,7 @@ class ld {
|
|
|
208360
208375
|
return this.data.rect[3] - this.data.rect[1];
|
|
208361
208376
|
}
|
|
208362
208377
|
}
|
|
208363
|
-
class _3a extends
|
|
208378
|
+
class _3a extends cd {
|
|
208364
208379
|
constructor(e) {
|
|
208365
208380
|
super(e, {
|
|
208366
208381
|
isRenderable: !0,
|
|
@@ -208395,7 +208410,7 @@ class _3a extends ld {
|
|
|
208395
208410
|
this.parent.removeAnnotation(this.data.id), this.container.remove(), this.container = null, this.removePopup();
|
|
208396
208411
|
}
|
|
208397
208412
|
}
|
|
208398
|
-
class $Xe extends
|
|
208413
|
+
class $Xe extends cd {
|
|
208399
208414
|
constructor(e, n = null) {
|
|
208400
208415
|
super(e, {
|
|
208401
208416
|
isRenderable: !0,
|
|
@@ -208522,7 +208537,7 @@ class $Xe extends ld {
|
|
|
208522
208537
|
};
|
|
208523
208538
|
}
|
|
208524
208539
|
}
|
|
208525
|
-
class w3a extends
|
|
208540
|
+
class w3a extends cd {
|
|
208526
208541
|
constructor(e) {
|
|
208527
208542
|
super(e, {
|
|
208528
208543
|
isRenderable: !0
|
|
@@ -208536,7 +208551,7 @@ class w3a extends ld {
|
|
|
208536
208551
|
})), !this.data.popupRef && this.hasPopupData && (this.hasOwnCommentButton = !0, this._createPopup()), this.container.append(e), this.container;
|
|
208537
208552
|
}
|
|
208538
208553
|
}
|
|
208539
|
-
class N5 extends
|
|
208554
|
+
class N5 extends cd {
|
|
208540
208555
|
render() {
|
|
208541
208556
|
return this.container;
|
|
208542
208557
|
}
|
|
@@ -209097,7 +209112,7 @@ class S3a extends N5 {
|
|
|
209097
209112
|
}), this.data.combo && this._setTextStyle(i), this._setBackgroundColor(i), this._setDefaultPropertiesFromJS(i), this.container.append(i), this.container;
|
|
209098
209113
|
}
|
|
209099
209114
|
}
|
|
209100
|
-
class $6e extends
|
|
209115
|
+
class $6e extends cd {
|
|
209101
209116
|
constructor(e) {
|
|
209102
209117
|
const {
|
|
209103
209118
|
data: n,
|
|
@@ -209105,8 +209120,8 @@ class $6e extends ld {
|
|
|
209105
209120
|
parent: i
|
|
209106
209121
|
} = e, o = !!i._commentManager;
|
|
209107
209122
|
if (super(e, {
|
|
209108
|
-
isRenderable: !o &&
|
|
209109
|
-
}), this.elements = r, o &&
|
|
209123
|
+
isRenderable: !o && cd._hasPopupData(n)
|
|
209124
|
+
}), this.elements = r, o && cd._hasPopupData(n)) {
|
|
209110
209125
|
const l = this.popup = this.#e();
|
|
209111
209126
|
for (const u of r)
|
|
209112
209127
|
u.popup = l;
|
|
@@ -209506,7 +209521,7 @@ class I3a {
|
|
|
209506
209521
|
return this.#e ? !1 : this.#i.hidden === !1;
|
|
209507
209522
|
}
|
|
209508
209523
|
}
|
|
209509
|
-
class pmn extends
|
|
209524
|
+
class pmn extends cd {
|
|
209510
209525
|
constructor(e) {
|
|
209511
209526
|
super(e, {
|
|
209512
209527
|
isRenderable: !0,
|
|
@@ -209526,7 +209541,7 @@ class pmn extends ld {
|
|
|
209526
209541
|
return !this.data.popupRef && this.hasPopupData && (this.hasOwnCommentButton = !0, this._createPopup()), this._editOnDoubleClick(), this.container;
|
|
209527
209542
|
}
|
|
209528
209543
|
}
|
|
209529
|
-
class T3a extends
|
|
209544
|
+
class T3a extends cd {
|
|
209530
209545
|
#e = null;
|
|
209531
209546
|
constructor(e) {
|
|
209532
209547
|
super(e, {
|
|
@@ -209550,7 +209565,7 @@ class T3a extends ld {
|
|
|
209550
209565
|
this.container.classList.add("highlightArea");
|
|
209551
209566
|
}
|
|
209552
209567
|
}
|
|
209553
|
-
class B3a extends
|
|
209568
|
+
class B3a extends cd {
|
|
209554
209569
|
#e = null;
|
|
209555
209570
|
constructor(e) {
|
|
209556
209571
|
super(e, {
|
|
@@ -209574,7 +209589,7 @@ class B3a extends ld {
|
|
|
209574
209589
|
this.container.classList.add("highlightArea");
|
|
209575
209590
|
}
|
|
209576
209591
|
}
|
|
209577
|
-
class D3a extends
|
|
209592
|
+
class D3a extends cd {
|
|
209578
209593
|
#e = null;
|
|
209579
209594
|
constructor(e) {
|
|
209580
209595
|
super(e, {
|
|
@@ -209598,7 +209613,7 @@ class D3a extends ld {
|
|
|
209598
209613
|
this.container.classList.add("highlightArea");
|
|
209599
209614
|
}
|
|
209600
209615
|
}
|
|
209601
|
-
class mmn extends
|
|
209616
|
+
class mmn extends cd {
|
|
209602
209617
|
#e = null;
|
|
209603
209618
|
constructor(e) {
|
|
209604
209619
|
super(e, {
|
|
@@ -209642,7 +209657,7 @@ class N3a extends mmn {
|
|
|
209642
209657
|
super(e), this.containerClassName = "polygonAnnotation", this.svgElementName = "svg:polygon";
|
|
209643
209658
|
}
|
|
209644
209659
|
}
|
|
209645
|
-
class R3a extends
|
|
209660
|
+
class R3a extends cd {
|
|
209646
209661
|
constructor(e) {
|
|
209647
209662
|
super(e, {
|
|
209648
209663
|
isRenderable: !0,
|
|
@@ -209653,7 +209668,7 @@ class R3a extends ld {
|
|
|
209653
209668
|
return this.container.classList.add("caretAnnotation"), !this.data.popupRef && this.hasPopupData && (this.hasOwnCommentButton = !0, this._createPopup()), this.container;
|
|
209654
209669
|
}
|
|
209655
209670
|
}
|
|
209656
|
-
class zXe extends
|
|
209671
|
+
class zXe extends cd {
|
|
209657
209672
|
#e = null;
|
|
209658
209673
|
#t = [];
|
|
209659
209674
|
constructor(e) {
|
|
@@ -209738,7 +209753,7 @@ class zXe extends ld {
|
|
|
209738
209753
|
this.container.classList.add("highlightArea");
|
|
209739
209754
|
}
|
|
209740
209755
|
}
|
|
209741
|
-
class gmn extends
|
|
209756
|
+
class gmn extends cd {
|
|
209742
209757
|
constructor(e) {
|
|
209743
209758
|
super(e, {
|
|
209744
209759
|
isRenderable: !0,
|
|
@@ -209760,7 +209775,7 @@ class gmn extends ld {
|
|
|
209760
209775
|
return this.container;
|
|
209761
209776
|
}
|
|
209762
209777
|
}
|
|
209763
|
-
class L3a extends
|
|
209778
|
+
class L3a extends cd {
|
|
209764
209779
|
constructor(e) {
|
|
209765
209780
|
super(e, {
|
|
209766
209781
|
isRenderable: !0,
|
|
@@ -209782,7 +209797,7 @@ class L3a extends ld {
|
|
|
209782
209797
|
return this.container;
|
|
209783
209798
|
}
|
|
209784
209799
|
}
|
|
209785
|
-
class M3a extends
|
|
209800
|
+
class M3a extends cd {
|
|
209786
209801
|
constructor(e) {
|
|
209787
209802
|
super(e, {
|
|
209788
209803
|
isRenderable: !0,
|
|
@@ -209804,7 +209819,7 @@ class M3a extends ld {
|
|
|
209804
209819
|
return this.container;
|
|
209805
209820
|
}
|
|
209806
209821
|
}
|
|
209807
|
-
class P3a extends
|
|
209822
|
+
class P3a extends cd {
|
|
209808
209823
|
constructor(e) {
|
|
209809
209824
|
super(e, {
|
|
209810
209825
|
isRenderable: !0,
|
|
@@ -209826,7 +209841,7 @@ class P3a extends ld {
|
|
|
209826
209841
|
return this.container;
|
|
209827
209842
|
}
|
|
209828
209843
|
}
|
|
209829
|
-
class hmn extends
|
|
209844
|
+
class hmn extends cd {
|
|
209830
209845
|
constructor(e) {
|
|
209831
209846
|
super(e, {
|
|
209832
209847
|
isRenderable: !0,
|
|
@@ -209837,7 +209852,7 @@ class hmn extends ld {
|
|
|
209837
209852
|
return this.container.classList.add("stampAnnotation"), this.container.setAttribute("role", "img"), !this.data.popupRef && this.hasPopupData && (this.hasOwnCommentButton = !0, this._createPopup()), this._editOnDoubleClick(), this.container;
|
|
209838
209853
|
}
|
|
209839
209854
|
}
|
|
209840
|
-
class O3a extends
|
|
209855
|
+
class O3a extends cd {
|
|
209841
209856
|
#e = null;
|
|
209842
209857
|
constructor(e) {
|
|
209843
209858
|
super(e, {
|
|
@@ -211425,7 +211440,7 @@ class Gd extends qi {
|
|
|
211425
211440
|
signal: g
|
|
211426
211441
|
}), window.addEventListener("pointerup", h, {
|
|
211427
211442
|
signal: g
|
|
211428
|
-
}), window.addEventListener("pointerdown",
|
|
211443
|
+
}), window.addEventListener("pointerdown", td, {
|
|
211429
211444
|
capture: !0,
|
|
211430
211445
|
passive: !1,
|
|
211431
211446
|
signal: g
|
|
@@ -211971,7 +211986,7 @@ class Tl extends qi {
|
|
|
211971
211986
|
}), o.addEventListener("pointermove", this._drawMove.bind(this), {
|
|
211972
211987
|
signal: b
|
|
211973
211988
|
}), o.addEventListener("touchmove", (y) => {
|
|
211974
|
-
Bl.isSameTimeStamp(y.timeStamp) &&
|
|
211989
|
+
Bl.isSameTimeStamp(y.timeStamp) && td(y);
|
|
211975
211990
|
}, {
|
|
211976
211991
|
signal: b
|
|
211977
211992
|
}), e.toggleDrawing(), n._editorUndoBar?.hide(), Tl.#r) {
|
|
@@ -211995,7 +212010,7 @@ class Tl extends qi {
|
|
|
211995
212010
|
this._endDraw(e);
|
|
211996
212011
|
return;
|
|
211997
212012
|
}
|
|
211998
|
-
this._currentParent.drawLayer.updateProperties(this._currentDrawId, Tl.#r.add(n, r)), Bl.setTimeStamp(e.timeStamp),
|
|
212013
|
+
this._currentParent.drawLayer.updateProperties(this._currentDrawId, Tl.#r.add(n, r)), Bl.setTimeStamp(e.timeStamp), td(e);
|
|
211999
212014
|
}
|
|
212000
212015
|
}
|
|
212001
212016
|
static _cleanup(e) {
|
|
@@ -214495,7 +214510,7 @@ globalThis.pdfjsLib = {
|
|
|
214495
214510
|
setLayerDimensions: BD,
|
|
214496
214511
|
shadow: Do,
|
|
214497
214512
|
SignatureExtractor: gL,
|
|
214498
|
-
stopEvent:
|
|
214513
|
+
stopEvent: td,
|
|
214499
214514
|
SupportedImageMimeTypes: Qge,
|
|
214500
214515
|
TextLayer: hb,
|
|
214501
214516
|
TouchManager: eee,
|
|
@@ -214563,7 +214578,7 @@ const z3a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
214563
214578
|
renderRichText: NXe,
|
|
214564
214579
|
setLayerDimensions: BD,
|
|
214565
214580
|
shadow: Do,
|
|
214566
|
-
stopEvent:
|
|
214581
|
+
stopEvent: td,
|
|
214567
214582
|
updateUrlHash: IXe,
|
|
214568
214583
|
version: cmn
|
|
214569
214584
|
}, Symbol.toStringTag, { value: "Module" })), U3a = Object.freeze(JSON.parse('{"displayName":"ABAP","fileTypes":["abap","ABAP"],"foldingStartMarker":"/\\\\*\\\\*|\\\\{\\\\s*$","foldingStopMarker":"\\\\*\\\\*/|^\\\\s*}","name":"abap","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.abap"}},"match":"^\\\\*.*\\\\n?","name":"comment.line.full.abap"},{"captures":{"1":{"name":"punctuation.definition.comment.abap"}},"match":"\\".*\\\\n?","name":"comment.line.partial.abap"},{"match":"(?<!\\\\S)##.*?(?=([,.:\\\\s]))","name":"comment.line.pragma.abap"},{"match":"(?i)(?<=[-~\\\\s])(?<=[-=]>)([/_a-z][/-9_a-z]*)(?=\\\\s+(?:|[-*+/]|&&?)=\\\\s+)","name":"variable.other.abap"},{"match":"\\\\b[0-9]+(\\\\b|[,.])","name":"constant.numeric.abap"},{"match":"(?i)(^|\\\\s+)((P(?:UBLIC|RIVATE|ROTECTED))\\\\sSECTION)(?=\\\\s+|[.:])","name":"storage.modifier.class.abap"},{"begin":"(?<!\\\\\\\\)(\\\\|)(.*?)","beginCaptures":{"1":{"name":"constant.character.escape.abap"}},"end":"(?<!\\\\\\\\)(\\\\||(\\\\\\\\\\\\\\\\\\\\|))","endCaptures":{"1":{"name":"constant.character.escape.abap"}},"name":"string.interpolated.abap","patterns":[{"match":"(\\\\{ )|( })","name":"constant.character.escape"},{"match":"\\\\\\\\\\\\|","name":"constant.character.escape.abap"},{"match":"(?i)(?<=\\\\s)(align|alpha|case|country|currency|date|decimals|exponent|number|pad|sign|style|time|timestamp|timezone|width|xsd|zero)(?=\\\\s=)","name":"entity.name.property.stringtemplate.abap"},{"match":"(?i)(?<==\\\\s)(center|engineering|environment|in|iso|left|leftplus|leftspace|lower|no|out|raw|right|rightplus|rightspace|scale_preserving|scale_preserving_scientific|scientific|scientific_with_leading_zero|sign_as_postfix|simple|space|upper|user|yes)(?=\\\\s)","name":"entity.value.property.stringtemplate.abap"}]},{"begin":"\'","end":"\'","name":"string.quoted.single.abap","patterns":[{"match":"\'\'","name":"constant.character.escape.abap"}]},{"begin":"`","end":"`","name":"string.quoted.single.abap","patterns":[{"match":"``","name":"constant.character.escape.abap"}]},{"begin":"(?i)^\\\\s*(class)\\\\s([/_a-z][/-9_a-z]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.block.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","name":"meta.block.begin.implementation.abap","patterns":[{"match":"(?i)(^|\\\\s+)(definition|implementation|public|inheriting\\\\s+from|final|deferred|abstract|shared\\\\s+memory\\\\s+enabled|(global|local)*\\\\s*friends|(create\\\\s+(p(?:ublic|rotected|rivate)))|for\\\\s+behavior\\\\s+of|for\\\\s+testing|risk\\\\s+level\\\\s+(critical|dangerous|harmless))|duration\\\\s(short|medium|long)(?=\\\\s+|\\\\.)","name":"storage.modifier.class.abap"},{"begin":"(?=[A-Z_a-z][0-9A-Z_a-z]*)","contentName":"entity.name.type.block.abap","end":"(?![0-9A-Z_a-z])","patterns":[{"include":"#generic_names"}]}]},{"begin":"(?i)^\\\\s*(method)\\\\s(?:([/_a-z][/-9_a-z]*)~)?([/_a-z][/-9_a-z]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"},"3":{"name":"entity.name.function.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(BY(?:\\\\s+DATABASE(\\\\s+PROCEDURE|\\\\s+FUNCTION|\\\\s+GRAPH\\\\s+WORKSPACE)|\\\\s+KERNEL\\\\s+MODULE))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=^|\\\\s)(FOR\\\\s+(HDB|LLANG))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=\\\\s)(OPTIONS\\\\s+(READ-ONLY|DETERMINISTIC|SUPPRESS\\\\s+SYNTAX\\\\s+ERRORS))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"match":"(?i)(?<=^|\\\\s)(LANGUAGE\\\\s+(SQLSCRIPT|SQL|GRAPH))(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"},{"captures":{"1":{"name":"storage.modifier.method.abap"}},"match":"(?i)(?<=\\\\s)(USING)\\\\s+([/_a-z][/-9=>_a-z]*)+(?=\\\\s+|\\\\.)"},{"begin":"(?=[A-Z_a-z][0-9A-Z_a-z]*)","end":"(?![0-9A-Z_a-z])","patterns":[{"include":"#generic_names"}]}]},{"begin":"(?i)^\\\\s*(INTERFACE)\\\\s([/_a-z][/-9_a-z]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(DEFERRED|PUBLIC)(?=\\\\s+|\\\\.)","name":"storage.modifier.method.abap"}]},{"begin":"(?i)^\\\\s*(FORM)\\\\s([/_a-z][-/-9?_a-z]*)","beginCaptures":{"1":{"name":"storage.type.block.abap"},"2":{"name":"entity.name.type.abap"}},"end":"\\\\s*\\\\.\\\\s*\\\\n?","patterns":[{"match":"(?i)(?<=^|\\\\s)(USING|TABLES|CHANGING|RAISING|IMPLEMENTATION|DEFINITION)(?=\\\\s+|\\\\.)","name":"storage.modifier.form.abap"},{"include":"#abaptypes"},{"include":"#keywords_followed_by_braces"}]},{"match":"(?i)(end(?:class|method|form|interface))","name":"storage.type.block.end.abap"},{"match":"(?i)(<[A-Z_a-z][0-9A-Z_a-z]*>)","name":"variable.other.field.symbol.abap"},{"include":"#keywords"},{"include":"#abap_constants"},{"include":"#reserved_names"},{"include":"#operators"},{"include":"#builtin_functions"},{"include":"#abaptypes"},{"include":"#system_fields"},{"include":"#sql_functions"},{"include":"#sql_types"}],"repository":{"abap_constants":{"match":"(?i)(?<=\\\\s)(initial|null|@?space|@?abap_true|@?abap_false|@?abap_undefined|table_line|%_final|%_hints|%_predefined|col_background|col_group|col_heading|col_key|col_negative|col_normal|col_positive|col_total|adabas|as400|db2|db6|hdb|oracle|sybase|mssqlnt|pos_low|pos_high)(?=[,.\\\\s])","name":"constant.language.abap"},"abaptypes":{"patterns":[{"match":"(?i)\\\\s(abap_bool|string|xstring|any|clike|csequence|numeric|xsequence|decfloat|decfloat16|decfloat34|utclong|simple|int8|[cdfinptx])(?=[,.\\\\s])","name":"support.type.abap"},{"match":"(?i)\\\\s(TYPE|REF|TO|LIKE|LINE|OF|STRUCTURE|STANDARD|SORTED|HASHED|INDEX|TABLE|WITH|UNIQUE|NON-UNIQUE|SECONDARY|DEFAULT|KEY)(?=[,.\\\\s])","name":"keyword.control.simple.abap"}]},"arithmetic_operator":{"match":"(?i)(?<=\\\\s)([-*+]|\\\\*\\\\*|[%/]|DIV|MOD|BIT-AND|BIT-OR|BIT-XOR|BIT-NOT)(?=\\\\s)","name":"keyword.control.simple.abap"},"builtin_functions":{"match":"(?i)(?<=\\\\s)(abs|sign|ceil|floor|trunc|frac|acos|asin|atan|cos|sin|tan|cosh|sinh|tanh|exp|log|log10|sqrt|strlen|xstrlen|charlen|lines|numofchar|dbmaxlen|round|rescale|nmax|nmin|cmax|cmin|boolc|boolx|xsdbool|contains|contains_any_of|contains_any_not_of|matches|line_exists|ipow|char_off|count|count_any_of|count_any_not_of|distance|condense|concat_lines_of|escape|find|find_end|find_any_of|find_any_not_of|insert|match|repeat|replace|reverse|segment|shift_left|shift_right|substring|substring_after|substring_from|substring_before|substring_to|to_upper|to_lower|to_mixed|from_mixed|translate|bit-set|line_index)(?=\\\\()","name":"entity.name.function.builtin.abap"},"comparison_operator":{"match":"(?i)(?<=\\\\s)([<>]|<=|>=|=|<>|eq|ne|lt|le|gt|ge|cs|cp|co|cn|ca|na|ns|np|byte-co|byte-cn|byte-ca|byte-na|byte-cs|byte-ns|[moz])(?=\\\\s)","name":"keyword.control.simple.abap"},"control_keywords":{"match":"(?i)(^|\\\\s)(at|case|catch|continue|do|elseif|else|endat|endcase|endcatch|enddo|endif|endloop|endon|endtry|endwhile|if|loop|on|raise|try|while)(?=[.:\\\\s])","name":"keyword.control.flow.abap"},"generic_names":{"match":"[A-Z_a-z][0-9A-Z_a-z]*"},"keywords":{"patterns":[{"include":"#main_keywords"},{"include":"#text_symbols"},{"include":"#control_keywords"},{"include":"#keywords_followed_by_braces"}]},"keywords_followed_by_braces":{"captures":{"1":{"name":"keyword.control.simple.abap"},"2":{"name":"variable.other.abap"}},"match":"(?i)\\\\b(data|value|field-symbol|final|reference|resumable)\\\\((<?[/_a-z][/-9_a-z]*>?)\\\\)"},"logical_operator":{"match":"(?i)(?<=\\\\s)(not|or|and)(?=\\\\s)","name":"keyword.control.simple.abap"},"main_keywords":{"match":"(?i)(?<=^|\\\\s)(abap-source|abstract|accept|accepting|access|according|action|activation|actual|add|add-corresponding|adjacent|after|alias|aliases|all|allocate|amdp|analysis|analyzer|append|appending|application|archive|area|arithmetic|as|ascending|assert|assign|assigned|assigning|association|asynchronous|at|attributes|authority|authority-check|authorization|auto|back|background|backward|badi|base|before|begin|behavior|between|binary|bit|blanks??|blocks??|bound|boundaries|bounds|boxed|break|break-point|buffer|by|bypassing|byte|byte-order|call|calling|cast|casting|cds|centered|change|changing|channels|char-to-hex|character|check|checkbox|cid|circular|class|class-data|class-events|class-methods??|class-pool|cleanup|clear|clients??|clock|clone|close|cnt|code|collect|color|column|comments??|commit|common|communication|comparing|components??|compression|compute|concatenate|cond|condense|condition|connection|constants??|contexts??|controls??|conv|conversion|convert|copy|corresponding|count|country|cover|create|currency|current|cursor|customer-function|data|database|datainfo|dataset|date|daylight|ddl|deallocate|decimals|declarations|deep|default|deferred|define|delete|deleting|demand|descending|describe|destination|detail|determine|dialog|did|directory|discarding|display|display-mode|distance|distinct|divide|divide-corresponding|dummy|duplicates??|duration|during|dynpro|edit|editor-call|empty|enabled|enabling|encoding|end|end-enhancement-section|end-of-definition|end-of-page|end-of-selection|end-test-injection|end-test-seam|endenhancement|endexec|endfunction|endian|ending|endmodule|endprovide|endselect|endwith|enhancement|enhancement-point|enhancement-section|enhancements|entities|entity|entries|entry|enum|equiv|errors|escape|escaping|events??|exact|except|exception|exception-table|exceptions|excluding|exec|execute|exists|exit|exit-command|expanding|explicit|exponent|export|exporting|extended|extension|extract|fail|failed|features|fetch|field|field-groups|field-symbols|fields|file|fill|filters??|final|find|first|first-line|fixed-point|flush|following|for|format|forward|found|frames??|free|from|full|function|function-pool|generate|get|giving|graph|groups??|handler??|hashed|having|headers??|heading|help-id|help-request|hide|hint|hold|hotspot|icon|id|identification|identifier|ignore|ignoring|immediately|implemented|implicit|import|importing|in|inactive|incl|includes??|including|increment|index|index-line|indicators|infotypes|inheriting|init|initial|initialization|inner|input|insert|instances??|intensified|interface|interface-pool|interfaces|internal|intervals|into|inverse|inverted-date|is|job|join|keep|keeping|kernel|keys??|keywords|kind|language|last|late|layout|leading|leave|left|left-justified|legacy|length|let|levels??|like|line|line-count|line-selection|line-size|linefeed|lines|link|list|list-processing|listbox|load|load-of-program|locale??|locks??|log-point|logical|lower|mapped|mapping|margin|mark|mask|match|matchcode|maximum|members|memory|mesh|message|message-id|messages|messaging|methods??|mode|modif|modifier|modify|module|move|move-corresponding|multiply|multiply-corresponding|name|nametab|native|nested|nesting|new|new-line|new-page|new-section|next|no-display|no-extension|no-gaps??|no-grouping|no-heading|no-scrolling|no-sign|no-title|no-zero|nodes|non-unicode|non-unique|number|objects??|objmgr|obligatory|occurences??|occurrences??|occurs|of|offset|on|only|open|optional|options??|order|others|out|outer|output|output-length|overflow|overlay|pack|package|padding|page|parameter|parameter-table|parameters|part|partially|pcre|perform|performing|permissions|pf-status|places|pool|position|pragmas|preceding|precompiled|preferred|preserving|primary|print|print-control|private|privileged|procedure|process|program|property|protected|provide|push|pushbutton|put|query|queue-only|queueonly|quickinfo|radiobutton|raising|ranges??|read|read-only|received??|receiving|redefinition|reduce|ref|reference|refresh|regex|reject|renaming|replace|replacement|replacing|report|reported|request|requested|required|reserve|reset|resolution|respecting|response|restore|results??|resumable|resume|retry|return|returning|right|right-justified|rollback|rows|rp-provide-from-last|run|sap|sap-spool|save|saving|scan|screen|scroll|scroll-boundary|scrolling|search|seconds|section|select|select-options|selection|selection-screen|selection-sets??|selection-table|selections|send|separated??|session|set|shared|shift|shortdump|shortdump-id|sign|simple|simulation|single|size|skip|skipping|smart|some|sort|sortable|sorted|source|specified|split|spool|spots|sql|stable|stamp|standard|start-of-selection|starting|state|statements??|statics??|statusinfo|step|step-loop|stop|structures??|style|subkey|submatches|submit|subroutine|subscreen|substring|subtract|subtract-corresponding|suffix|sum|summary|supplied|supply|suppress|switch|symbol|syntax-check|syntax-trace|system-call|system-exceptions|tab|tabbed|tables??|tableview|tabstrip|target|tasks??|test|test-injection|test-seam|testing|text|textpool|then|throw|times??|title|titlebar|to|tokens|top-lines|top-of-page|trace-file|trace-table|trailing|transaction|transfer|transformation|translate|transporting|trmac|truncate|truncation|type|type-pools??|types|uline|unassign|unbounded|under|unicode|union|unique|unit|unix|unpack|until|unwind|up|update|upper|user|user-command|using|utf-8|uuid|valid|validate|value|value-request|values|vary|varying|version|via|visible|wait|when|where|windows??|with|with-heading|with-title|without|word|work|workspace|write|xml|zone)(?=[,.:\\\\s])","name":"keyword.control.simple.abap"},"operators":{"patterns":[{"include":"#other_operator"},{"include":"#arithmetic_operator"},{"include":"#comparison_operator"},{"include":"#logical_operator"}]},"other_operator":{"match":"(?<=\\\\s)(&&?|\\\\?=|\\\\+=|-=|/=|\\\\*=|&&=|&=)(?=\\\\s)","name":"keyword.control.simple.abap"},"reserved_names":{"match":"(?i)(?<=\\\\s)(me|super)(?=[,.\\\\s]|->)","name":"constant.language.abap"},"sql_functions":{"match":"(?i)(?<=\\\\s)(abap_system_timezone|abap_user_timezone|abs|add_days|add_months|allow_precision_loss|as_geo_json|avg|bintohex|cast|ceil|coalesce|concat_with_space|concat|corr_spearman|corr|count|currency_conversion|datn_add_days|datn_add_months|datn_days_between|dats_add_days|dats_add_months|dats_days_between|dats_from_datn|dats_is_valid|dats_tims_to_tstmp|dats_to_datn|dayname|days_between|dense_rank|division|div|extract_day|extract_hour|extract_minute|extract_month|extract_second|extract_year|first_value|floor|grouping|hextobin|initcap|instr|is_valid|lag|last_value|lead|left|length|like_regexpr|locate_regexpr_after|locate_regexpr|locate|lower|lpad|ltrim|max|median|min|mod|monthname|ntile|occurrences_regexpr|over|product|rank|replace_regexpr|replace|rigth|round|row_number|rpad|rtrim|stddev|string_agg|substring_regexpr|substring|sum|tims_from_timn|tims_is_valid|tims_to_timn|to_blob|to_clob|tstmp_add_seconds|tstmp_current_utctimestamp|tstmp_is_valid|tstmp_seconds_between|tstmp_to_dats|tstmp_to_dst|tstmp_to_tims|tstmpl_from_utcl|tstmpl_to_utcl|unit_conversion|upper|utcl_add_seconds|utcl_current|utcl_seconds_between|uuid|var|weekday)(?=\\\\()","name":"entity.name.function.sql.abap"},"sql_types":{"match":"(?i)(?<=\\\\s)(char|clnt|cuky|curr|datn|dats|dec|decfloat16|decfloat34|fltp|int1|int2|int4|int8|lang|numc|quan|raw|sstring|timn|tims|unit|utclong)(?=[()\\\\s])","name":"entity.name.type.sql.abap"},"system_fields":{"captures":{"1":{"name":"variable.language.abap"},"2":{"name":"variable.language.abap"}},"match":"(?i)\\\\b(sy)-(abcde|batch|binpt|calld|callr|colno|cpage|cprog|cucol|curow|datar|datlo|datum|dayst|dbcnt|dbnam|dbsysc|dyngr|dynnr|fdayw|fdpos|host|index|langu|ldbpg|lilli|linct|linno|linsz|lisel|listi|loopc|lsind|macol|mandt|marow|modno|msgid|msgli|msgno|msgty|msgv[1-4]|opsysc|pagno|pfkey|repid|saprl|scols|slset|spono|srows|staco|staro|stepl|subrc|sysid|tabix|tcode|tfill|timlo|title|tleng|tvar[0-9]|tzone|ucomm|uline|uname|uzeit|vline|wtitl|zonlo)(?=[.\\\\s])"},"text_symbols":{"captures":{"1":{"name":"keyword.control.simple.abap"},"2":{"name":"constant.numeric.abap"}},"match":"(?i)(?<=^|\\\\s)(text)-([0-9A-Z]{1,3})(?=[,.:\\\\s])"}},"scopeName":"source.abap"}')), q3a = [
|
|
@@ -218797,7 +218812,7 @@ function KUa({ className: t = "" }) {
|
|
|
218797
218812
|
transition-colors
|
|
218798
218813
|
`,
|
|
218799
218814
|
children: [
|
|
218800
|
-
/* @__PURE__ */ A.jsx(
|
|
218815
|
+
/* @__PURE__ */ A.jsx(dd, { className: "w-4 h-4" }),
|
|
218801
218816
|
/* @__PURE__ */ A.jsx("span", { children: "Add Node" })
|
|
218802
218817
|
]
|
|
218803
218818
|
}
|
|
@@ -259007,7 +259022,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ve.ecmaVersion
|
|
|
259007
259022
|
}
|
|
259008
259023
|
return Lt && $r === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === Kn || ve != null && this.pos - Kn !== ve ? null : sr;
|
|
259009
259024
|
};
|
|
259010
|
-
function
|
|
259025
|
+
function hd(V, ve) {
|
|
259011
259026
|
return ve ? parseInt(V, 8) : parseFloat(V.replace(/_/g, ""));
|
|
259012
259027
|
}
|
|
259013
259028
|
function qo(V) {
|
|
@@ -259029,7 +259044,7 @@ Defaulting to 2020, but this will stop working in the future.`)), ve.ecmaVersion
|
|
|
259029
259044
|
return ++this.pos, b(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(E.num, pn);
|
|
259030
259045
|
}
|
|
259031
259046
|
At && /[89]/.test(this.input.slice(ve, this.pos)) && (At = !1), Lt === 46 && !At && (++this.pos, this.readInt(10), Lt = this.input.charCodeAt(this.pos)), (Lt === 69 || Lt === 101) && !At && (Lt = this.input.charCodeAt(++this.pos), (Lt === 43 || Lt === 45) && ++this.pos, this.readInt(10) === null && this.raise(ve, "Invalid number")), b(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
|
|
259032
|
-
var Kn =
|
|
259047
|
+
var Kn = hd(this.input.slice(ve, this.pos), At);
|
|
259033
259048
|
return this.finishToken(E.num, Kn);
|
|
259034
259049
|
}, Bi.readCodePoint = function() {
|
|
259035
259050
|
var V = this.input.charCodeAt(this.pos), ve;
|
|
@@ -276933,7 +276948,7 @@ function Mbi(t) {
|
|
|
276933
276948
|
t.PHRASAL_WORDS_MODE,
|
|
276934
276949
|
vu
|
|
276935
276950
|
]
|
|
276936
|
-
},
|
|
276951
|
+
}, hd = {
|
|
276937
276952
|
className: "comment",
|
|
276938
276953
|
begin: "/\\*",
|
|
276939
276954
|
end: "\\*/",
|
|
@@ -276944,7 +276959,7 @@ function Mbi(t) {
|
|
|
276944
276959
|
]
|
|
276945
276960
|
}, qo = { variants: [
|
|
276946
276961
|
Bi,
|
|
276947
|
-
|
|
276962
|
+
hd
|
|
276948
276963
|
] }, Kr = {
|
|
276949
276964
|
$pattern: e,
|
|
276950
276965
|
keyword: r,
|
|
@@ -311912,7 +311927,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), cr = wn, _n = Un), qn
|
|
|
311912
311927
|
if (ka.type === "illegal" && Ra === "")
|
|
311913
311928
|
return Uo += `
|
|
311914
311929
|
`, 1;
|
|
311915
|
-
if (
|
|
311930
|
+
if (hd > 1e5 && hd > ka.index * 3)
|
|
311916
311931
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
311917
311932
|
return Uo += Ra, Ra.length;
|
|
311918
311933
|
}
|
|
@@ -311923,13 +311938,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), cr = wn, _n = Un), qn
|
|
|
311923
311938
|
let $o = "", Sa = _n || WA;
|
|
311924
311939
|
const Fd = {}, zo = new nn.__emitter(nn);
|
|
311925
311940
|
Vo();
|
|
311926
|
-
let Uo = "", vu = 0, Bi = 0,
|
|
311941
|
+
let Uo = "", vu = 0, Bi = 0, hd = 0, qo = !1;
|
|
311927
311942
|
try {
|
|
311928
311943
|
if (ns.__emitTokens)
|
|
311929
311944
|
ns.__emitTokens(Un, zo);
|
|
311930
311945
|
else {
|
|
311931
311946
|
for (Sa.matcher.considerAll(); ; ) {
|
|
311932
|
-
|
|
311947
|
+
hd++, qo ? qo = !1 : Sa.matcher.considerAll(), Sa.matcher.lastIndex = Bi;
|
|
311933
311948
|
const Kr = Sa.matcher.exec(Un);
|
|
311934
311949
|
if (!Kr) break;
|
|
311935
311950
|
const ka = Un.substring(Bi, Kr.index), Ra = pc(ka, Kr);
|
|
@@ -317725,7 +317740,7 @@ void main() {
|
|
|
317725
317740
|
} ${e}
|
|
317726
317741
|
}`;
|
|
317727
317742
|
}
|
|
317728
|
-
var kT = 11, hO = kT * Float32Array.BYTES_PER_ELEMENT, tki = 2,
|
|
317743
|
+
var kT = 11, hO = kT * Float32Array.BYTES_PER_ELEMENT, tki = 2, bd = 0, Jc, KNe = 0, FU = 0, nki = class extends Jw {
|
|
317729
317744
|
constructor(e, n, r, i) {
|
|
317730
317745
|
super(), this._terminal = e, this._gl = n, this._dimensions = r, this._optionsService = i, this._activeBuffer = 0, this._vertices = { count: 0, attributes: new Float32Array(0), attributesBuffers: [new Float32Array(0), new Float32Array(0)] };
|
|
317731
317746
|
let o = this._gl;
|
|
@@ -317750,11 +317765,11 @@ var kT = 11, hO = kT * Float32Array.BYTES_PER_ELEMENT, tki = 2, Ad = 0, Jc, KNe
|
|
|
317750
317765
|
this._updateCell(this._vertices.attributes, e, n, r, i, o, l, u, d, p);
|
|
317751
317766
|
}
|
|
317752
317767
|
_updateCell(e, n, r, i, o, l, u, d, p, m) {
|
|
317753
|
-
if (
|
|
317754
|
-
e.fill(0,
|
|
317768
|
+
if (bd = (r * this._terminal.cols + n) * kT, i === 0 || i === void 0) {
|
|
317769
|
+
e.fill(0, bd, bd + kT - 1 - tki);
|
|
317755
317770
|
return;
|
|
317756
317771
|
}
|
|
317757
|
-
this._atlas && (d && d.length > 1 ? Jc = this._atlas.getRasterizedGlyphCombinedChar(d, o, l, u, !1, this._terminal.element) : Jc = this._atlas.getRasterizedGlyph(i, o, l, u, !1, this._terminal.element), KNe = Math.floor((this._dimensions.device.cell.width - this._dimensions.device.char.width) / 2), o !== m && Jc.offset.x > KNe ? (FU = Jc.offset.x - KNe, e[
|
|
317772
|
+
this._atlas && (d && d.length > 1 ? Jc = this._atlas.getRasterizedGlyphCombinedChar(d, o, l, u, !1, this._terminal.element) : Jc = this._atlas.getRasterizedGlyph(i, o, l, u, !1, this._terminal.element), KNe = Math.floor((this._dimensions.device.cell.width - this._dimensions.device.char.width) / 2), o !== m && Jc.offset.x > KNe ? (FU = Jc.offset.x - KNe, e[bd] = -(Jc.offset.x - FU) + this._dimensions.device.char.left, e[bd + 1] = -Jc.offset.y + this._dimensions.device.char.top, e[bd + 2] = (Jc.size.x - FU) / this._dimensions.device.canvas.width, e[bd + 3] = Jc.size.y / this._dimensions.device.canvas.height, e[bd + 4] = Jc.texturePage, e[bd + 5] = Jc.texturePositionClipSpace.x + FU / this._atlas.pages[Jc.texturePage].canvas.width, e[bd + 6] = Jc.texturePositionClipSpace.y, e[bd + 7] = Jc.sizeClipSpace.x - FU / this._atlas.pages[Jc.texturePage].canvas.width, e[bd + 8] = Jc.sizeClipSpace.y) : (e[bd] = -Jc.offset.x + this._dimensions.device.char.left, e[bd + 1] = -Jc.offset.y + this._dimensions.device.char.top, e[bd + 2] = Jc.size.x / this._dimensions.device.canvas.width, e[bd + 3] = Jc.size.y / this._dimensions.device.canvas.height, e[bd + 4] = Jc.texturePage, e[bd + 5] = Jc.texturePositionClipSpace.x, e[bd + 6] = Jc.texturePositionClipSpace.y, e[bd + 7] = Jc.sizeClipSpace.x, e[bd + 8] = Jc.sizeClipSpace.y), this._optionsService.rawOptions.rescaleOverlappingGlyphs && bxi(i, p, Jc.size.x, this._dimensions.device.cell.width) && (e[bd + 2] = (this._dimensions.device.cell.width - 1) / this._dimensions.device.canvas.width));
|
|
317758
317773
|
}
|
|
317759
317774
|
clear() {
|
|
317760
317775
|
let e = this._terminal, n = e.cols * e.rows * kT;
|
|
@@ -340905,7 +340920,7 @@ function gSn(t) {
|
|
|
340905
340920
|
return n;
|
|
340906
340921
|
}
|
|
340907
340922
|
const _fe = typeof self < "u" ? self : void 0;
|
|
340908
|
-
var
|
|
340923
|
+
var ad = {
|
|
340909
340924
|
CLEARKEY: "org.w3.clearkey",
|
|
340910
340925
|
FAIRPLAY: "com.apple.fps",
|
|
340911
340926
|
PLAYREADY: "com.microsoft.playready",
|
|
@@ -340919,24 +340934,24 @@ var rd = {
|
|
|
340919
340934
|
function sce(t) {
|
|
340920
340935
|
switch (t) {
|
|
340921
340936
|
case Xg.FAIRPLAY:
|
|
340922
|
-
return
|
|
340937
|
+
return ad.FAIRPLAY;
|
|
340923
340938
|
case Xg.PLAYREADY:
|
|
340924
|
-
return
|
|
340939
|
+
return ad.PLAYREADY;
|
|
340925
340940
|
case Xg.WIDEVINE:
|
|
340926
|
-
return
|
|
340941
|
+
return ad.WIDEVINE;
|
|
340927
340942
|
case Xg.CLEARKEY:
|
|
340928
|
-
return
|
|
340943
|
+
return ad.CLEARKEY;
|
|
340929
340944
|
}
|
|
340930
340945
|
}
|
|
340931
340946
|
function $Re(t) {
|
|
340932
340947
|
switch (t) {
|
|
340933
|
-
case
|
|
340948
|
+
case ad.FAIRPLAY:
|
|
340934
340949
|
return Xg.FAIRPLAY;
|
|
340935
|
-
case
|
|
340950
|
+
case ad.PLAYREADY:
|
|
340936
340951
|
return Xg.PLAYREADY;
|
|
340937
|
-
case
|
|
340952
|
+
case ad.WIDEVINE:
|
|
340938
340953
|
return Xg.WIDEVINE;
|
|
340939
|
-
case
|
|
340954
|
+
case ad.CLEARKEY:
|
|
340940
340955
|
return Xg.CLEARKEY;
|
|
340941
340956
|
}
|
|
340942
340957
|
}
|
|
@@ -340944,8 +340959,8 @@ function JG(t) {
|
|
|
340944
340959
|
const {
|
|
340945
340960
|
drmSystems: e,
|
|
340946
340961
|
widevineLicenseUrl: n
|
|
340947
|
-
} = t, r = e ? [
|
|
340948
|
-
return !r[
|
|
340962
|
+
} = t, r = e ? [ad.FAIRPLAY, ad.WIDEVINE, ad.PLAYREADY, ad.CLEARKEY].filter((i) => !!e[i]) : [];
|
|
340963
|
+
return !r[ad.WIDEVINE] && n && r.push(ad.WIDEVINE), r;
|
|
340949
340964
|
}
|
|
340950
340965
|
const hSn = (function(t) {
|
|
340951
340966
|
return _fe != null && (t = _fe.navigator) != null && t.requestMediaKeySystemAccess ? self.navigator.requestMediaKeySystemAccess.bind(self.navigator) : null;
|
|
@@ -340953,14 +340968,14 @@ const hSn = (function(t) {
|
|
|
340953
340968
|
function GPi(t, e, n, r) {
|
|
340954
340969
|
let i;
|
|
340955
340970
|
switch (t) {
|
|
340956
|
-
case
|
|
340971
|
+
case ad.FAIRPLAY:
|
|
340957
340972
|
i = ["cenc", "sinf"];
|
|
340958
340973
|
break;
|
|
340959
|
-
case
|
|
340960
|
-
case
|
|
340974
|
+
case ad.WIDEVINE:
|
|
340975
|
+
case ad.PLAYREADY:
|
|
340961
340976
|
i = ["cenc"];
|
|
340962
340977
|
break;
|
|
340963
|
-
case
|
|
340978
|
+
case ad.CLEARKEY:
|
|
340964
340979
|
i = ["cenc", "keyids"];
|
|
340965
340980
|
break;
|
|
340966
340981
|
default:
|
|
@@ -349089,7 +349104,7 @@ function OFi(t, e = {
|
|
|
349089
349104
|
function XSn(t, e) {
|
|
349090
349105
|
return OFi(t, e);
|
|
349091
349106
|
}
|
|
349092
|
-
const Yx = "CMCD-Object",
|
|
349107
|
+
const Yx = "CMCD-Object", vd = "CMCD-Request", KR = "CMCD-Session", oT = "CMCD-Status", FFi = {
|
|
349093
349108
|
// Object
|
|
349094
349109
|
br: Yx,
|
|
349095
349110
|
ab: Yx,
|
|
@@ -349102,28 +349117,28 @@ const Yx = "CMCD-Object", yd = "CMCD-Request", KR = "CMCD-Session", oT = "CMCD-S
|
|
|
349102
349117
|
lab: Yx,
|
|
349103
349118
|
url: Yx,
|
|
349104
349119
|
// Request
|
|
349105
|
-
pb:
|
|
349106
|
-
bl:
|
|
349107
|
-
tbl:
|
|
349108
|
-
dl:
|
|
349109
|
-
ltc:
|
|
349110
|
-
mtp:
|
|
349111
|
-
nor:
|
|
349112
|
-
nrr:
|
|
349113
|
-
rc:
|
|
349114
|
-
sn:
|
|
349115
|
-
sta:
|
|
349116
|
-
su:
|
|
349117
|
-
ttfb:
|
|
349118
|
-
ttfbb:
|
|
349119
|
-
ttlb:
|
|
349120
|
-
cmsdd:
|
|
349121
|
-
cmsds:
|
|
349122
|
-
smrt:
|
|
349123
|
-
df:
|
|
349124
|
-
cs:
|
|
349120
|
+
pb: vd,
|
|
349121
|
+
bl: vd,
|
|
349122
|
+
tbl: vd,
|
|
349123
|
+
dl: vd,
|
|
349124
|
+
ltc: vd,
|
|
349125
|
+
mtp: vd,
|
|
349126
|
+
nor: vd,
|
|
349127
|
+
nrr: vd,
|
|
349128
|
+
rc: vd,
|
|
349129
|
+
sn: vd,
|
|
349130
|
+
sta: vd,
|
|
349131
|
+
su: vd,
|
|
349132
|
+
ttfb: vd,
|
|
349133
|
+
ttfbb: vd,
|
|
349134
|
+
ttlb: vd,
|
|
349135
|
+
cmsdd: vd,
|
|
349136
|
+
cmsds: vd,
|
|
349137
|
+
smrt: vd,
|
|
349138
|
+
df: vd,
|
|
349139
|
+
cs: vd,
|
|
349125
349140
|
// TODO: Which header to put the `ts` field is not defined yet.
|
|
349126
|
-
ts:
|
|
349141
|
+
ts: vd,
|
|
349127
349142
|
// Session
|
|
349128
349143
|
cid: KR,
|
|
349129
349144
|
pr: KR,
|
|
@@ -349145,7 +349160,7 @@ const Yx = "CMCD-Object", yd = "CMCD-Request", KR = "CMCD-Session", oT = "CMCD-S
|
|
|
349145
349160
|
/**
|
|
349146
349161
|
* keys whose values vary with each request.
|
|
349147
349162
|
*/
|
|
349148
|
-
REQUEST:
|
|
349163
|
+
REQUEST: vd
|
|
349149
349164
|
};
|
|
349150
349165
|
function jFi(t) {
|
|
349151
349166
|
return Object.keys(t).reduce((e, n) => {
|
|
@@ -349802,7 +349817,7 @@ class J6 extends c_ {
|
|
|
349802
349817
|
}
|
|
349803
349818
|
this.keyFormatPromise.then((l) => {
|
|
349804
349819
|
const u = sce(l);
|
|
349805
|
-
if (r !== "sinf" || u !==
|
|
349820
|
+
if (r !== "sinf" || u !== ad.FAIRPLAY) {
|
|
349806
349821
|
this.log(`Ignoring "${n.type}" event with init data type: "${r}" for selected key-system ${u}`);
|
|
349807
349822
|
return;
|
|
349808
349823
|
}
|
|
@@ -349860,7 +349875,7 @@ class J6 extends c_ {
|
|
|
349860
349875
|
} = this.config, i = n?.[e];
|
|
349861
349876
|
if (i)
|
|
349862
349877
|
return i.licenseUrl;
|
|
349863
|
-
if (e ===
|
|
349878
|
+
if (e === ad.WIDEVINE && r)
|
|
349864
349879
|
return r;
|
|
349865
349880
|
}
|
|
349866
349881
|
getLicenseServerUrlOrThrow(e) {
|
|
@@ -350117,7 +350132,7 @@ class J6 extends c_ {
|
|
|
350117
350132
|
} = b;
|
|
350118
350133
|
this.log(`"${v}" message event for session "${y.sessionId}" message size: ${_.byteLength}`), v === "license-request" || v === "license-renewal" ? this.renewLicense(e, _).catch((w) => {
|
|
350119
350134
|
p.eventNames().length ? p.emit("error", w) : this.handleError(w);
|
|
350120
|
-
}) : v === "license-release" ? e.keySystem ===
|
|
350135
|
+
}) : v === "license-release" ? e.keySystem === ad.FAIRPLAY && this.updateKeySession(e, kje("acknowledged")).then(() => this.removeSession(e)).catch((w) => this.handleError(w)) : this.warn(`unhandled media key message type "${v}"`);
|
|
350121
350136
|
}, g = (b, y) => {
|
|
350122
350137
|
y.keyStatus = b;
|
|
350123
350138
|
let v;
|
|
@@ -350175,7 +350190,7 @@ class J6 extends c_ {
|
|
|
350175
350190
|
i = r, r = u;
|
|
350176
350191
|
}
|
|
350177
350192
|
const o = "buffer" in i ? new Uint8Array(i.buffer, i.byteOffset, i.byteLength) : new Uint8Array(i);
|
|
350178
|
-
if (e.keySystem ===
|
|
350193
|
+
if (e.keySystem === ad.PLAYREADY && o.length === 16) {
|
|
350179
350194
|
const u = Hg(o);
|
|
350180
350195
|
n[u] = r, mSn(o);
|
|
350181
350196
|
}
|
|
@@ -350339,7 +350354,7 @@ class J6 extends c_ {
|
|
|
350339
350354
|
xhr: d,
|
|
350340
350355
|
licenseChallenge: p
|
|
350341
350356
|
}) => {
|
|
350342
|
-
e.keySystem ==
|
|
350357
|
+
e.keySystem == ad.PLAYREADY && (p = this.unpackPlayReadyKeyMessage(d, p)), d.send(p);
|
|
350343
350358
|
}).catch(o);
|
|
350344
350359
|
});
|
|
350345
350360
|
}
|
|
@@ -383863,10 +383878,10 @@ var om = typeof window > "u" ? null : window, k5t = om ? om.navigator : null;
|
|
|
383863
383878
|
om && om.document;
|
|
383864
383879
|
var UJi = Bm(""), VDn = Bm({}), qJi = Bm(function() {
|
|
383865
383880
|
}), GJi = typeof HTMLElement > "u" ? "undefined" : Bm(HTMLElement), Kee = function(e) {
|
|
383866
|
-
return e && e.instanceString &&
|
|
383881
|
+
return e && e.instanceString && ud(e.instanceString) ? e.instanceString() : null;
|
|
383867
383882
|
}, zi = function(e) {
|
|
383868
383883
|
return e != null && Bm(e) == UJi;
|
|
383869
|
-
},
|
|
383884
|
+
}, ud = function(e) {
|
|
383870
383885
|
return e != null && Bm(e) === qJi;
|
|
383871
383886
|
}, Nc = function(e) {
|
|
383872
383887
|
return !Z0(e) && (Array.isArray ? Array.isArray(e) : e != null && e instanceof Array);
|
|
@@ -383900,7 +383915,7 @@ var UJi = Bm(""), VDn = Bm({}), qJi = Bm(function() {
|
|
|
383900
383915
|
}, KJi = function(e) {
|
|
383901
383916
|
return ul(e) && fa(e.x1) && fa(e.x2) && fa(e.y1) && fa(e.y2);
|
|
383902
383917
|
}, ZJi = function(e) {
|
|
383903
|
-
return HJi(e) &&
|
|
383918
|
+
return HJi(e) && ud(e.then);
|
|
383904
383919
|
}, XJi = function() {
|
|
383905
383920
|
return k5t && k5t.userAgent.match(/msie|trident|edge/i);
|
|
383906
383921
|
}, $j = function(e, n) {
|
|
@@ -384727,7 +384742,7 @@ var $5t = !0, Seo = console.warn != null, Ieo = console.trace != null, yat = Num
|
|
|
384727
384742
|
dfs: e.dfs || !e.bfs
|
|
384728
384743
|
}, function(r, i, o) {
|
|
384729
384744
|
var l;
|
|
384730
|
-
ul(r) && !Z0(r) && (l = r, r = l.roots || l.root, i = l.visit, o = l.directed), o = arguments.length === 2 && !
|
|
384745
|
+
ul(r) && !Z0(r) && (l = r, r = l.roots || l.root, i = l.visit, o = l.directed), o = arguments.length === 2 && !ud(i) ? i : o, i = ud(i) ? i : function() {
|
|
384731
384746
|
};
|
|
384732
384747
|
for (var u = this._private.cy, d = r = zi(r) ? this.filter(r) : r, p = [], m = [], g = {}, h = {}, f = {}, b = 0, y, v = this.byGroup(), _ = v.nodes, w = v.edges, x = 0; x < d.length; x++) {
|
|
384733
384748
|
var k = d[x], C = k.id();
|
|
@@ -386145,7 +386160,7 @@ zj["squared-euclidean"] = zj.squaredEuclidean;
|
|
|
386145
386160
|
zj.squaredeuclidean = zj.squaredEuclidean;
|
|
386146
386161
|
function Axe(t, e, n, r, i, o) {
|
|
386147
386162
|
var l;
|
|
386148
|
-
return
|
|
386163
|
+
return ud(t) ? l = t : l = zj[t] || zj.euclidean, e === 0 && ud(t) ? l(i, o) : l(e, n, r, i, o);
|
|
386149
386164
|
}
|
|
386150
386165
|
var $to = gh({
|
|
386151
386166
|
k: 2,
|
|
@@ -386849,7 +386864,7 @@ var W7 = typeof Promise < "u" ? Promise : rx, h7e = function(e, n, r) {
|
|
|
386849
386864
|
var i = fat(e), o = !i, l = this._private = Ji({
|
|
386850
386865
|
duration: 1e3
|
|
386851
386866
|
}, n, r);
|
|
386852
|
-
if (l.target = e, l.style = l.style || l.css, l.started = !1, l.playing = !1, l.hooked = !1, l.applying = !1, l.progress = 0, l.completes = [], l.frames = [], l.complete &&
|
|
386867
|
+
if (l.target = e, l.style = l.style || l.css, l.started = !1, l.playing = !1, l.hooked = !1, l.applying = !1, l.progress = 0, l.completes = [], l.frames = [], l.complete && ud(l.complete) && l.completes.push(l.complete), o) {
|
|
386853
386868
|
var u = e.position();
|
|
386854
386869
|
l.startPosition = l.startPosition || {
|
|
386855
386870
|
x: u.x,
|
|
@@ -387742,7 +387757,7 @@ var rro = nro(), aro = /* @__PURE__ */ Xee(rro), iro = {
|
|
|
387742
387757
|
}
|
|
387743
387758
|
}
|
|
387744
387759
|
l.updateStyle && u.updateStyle(), l.onSet(u), l.settingTriggersEvent && u[l.triggerFnName](l.settingEvent);
|
|
387745
|
-
} else if (l.allowBinding &&
|
|
387760
|
+
} else if (l.allowBinding && ud(i)) {
|
|
387746
387761
|
var R = i;
|
|
387747
387762
|
u.on(l.bindingEvent, R);
|
|
387748
387763
|
} else if (l.allowGetting && i === void 0) {
|
|
@@ -388622,7 +388637,7 @@ var yro = function(e) {
|
|
|
388622
388637
|
type: ai.COLLECTION,
|
|
388623
388638
|
value: e.collection()
|
|
388624
388639
|
}]
|
|
388625
|
-
}) :
|
|
388640
|
+
}) : ud(e) ? this.addQuery({
|
|
388626
388641
|
checks: [{
|
|
388627
388642
|
type: ai.FILTER,
|
|
388628
388643
|
value: e
|
|
@@ -389022,7 +389037,7 @@ Pw = ONn = {
|
|
|
389022
389037
|
positions: function(e, n) {
|
|
389023
389038
|
if (ul(e))
|
|
389024
389039
|
n ? this.silentPosition(e) : this.position(e);
|
|
389025
|
-
else if (
|
|
389040
|
+
else if (ud(e)) {
|
|
389026
389041
|
var r = e, i = this.cy();
|
|
389027
389042
|
i.startBatch();
|
|
389028
389043
|
for (var o = 0; o < this.length; o++) {
|
|
@@ -389666,7 +389681,7 @@ function xxe() {
|
|
|
389666
389681
|
this.context = e || this.context, this.listeners = [], this.emitting = 0;
|
|
389667
389682
|
}
|
|
389668
389683
|
var XD = xxe.prototype, HNn = function(e, n, r, i, o, l, u) {
|
|
389669
|
-
|
|
389684
|
+
ud(i) && (o = i, i = null), u && (l == null ? l = u : l = Ji({}, l, u));
|
|
389670
389685
|
for (var d = Nc(r) ? r : r.split(/\s+/), p = 0; p < d.length; p++) {
|
|
389671
389686
|
var m = d[p];
|
|
389672
389687
|
if (!WD(m)) {
|
|
@@ -389705,7 +389720,7 @@ var XD = xxe.prototype, HNn = function(e, n, r, i, o, l, u) {
|
|
|
389705
389720
|
};
|
|
389706
389721
|
XD.on = XD.addListener = function(t, e, n, r, i) {
|
|
389707
389722
|
return HNn(this, function(o, l, u, d, p, m, g) {
|
|
389708
|
-
|
|
389723
|
+
ud(m) && o.listeners.push({
|
|
389709
389724
|
event: l,
|
|
389710
389725
|
// full event string
|
|
389711
389726
|
callback: m,
|
|
@@ -389879,7 +389894,7 @@ var YNn = {
|
|
|
389879
389894
|
return this;
|
|
389880
389895
|
if (zi(e) || Z0(e))
|
|
389881
389896
|
return new KD(e).filter(this);
|
|
389882
|
-
if (
|
|
389897
|
+
if (ud(e)) {
|
|
389883
389898
|
for (var r = this.spawn(), i = this, o = 0; o < i.length; o++) {
|
|
389884
389899
|
var l = i[o], u = n ? e.apply(n, [l, o, i]) : e(l, o, i);
|
|
389885
389900
|
u && r.push(l);
|
|
@@ -390094,7 +390109,7 @@ var qro = {
|
|
|
390094
390109
|
return p !== 0 ? p : e.poolIndex() - n.poolIndex();
|
|
390095
390110
|
}, fAe = {
|
|
390096
390111
|
forEach: function(e, n) {
|
|
390097
|
-
if (
|
|
390112
|
+
if (ud(e))
|
|
390098
390113
|
for (var r = this.length, i = 0; i < r; i++) {
|
|
390099
390114
|
var o = this[i], l = n ? e.apply(n, [o, i, this]) : e(o, i, this);
|
|
390100
390115
|
if (l === !1)
|
|
@@ -390133,7 +390148,7 @@ var qro = {
|
|
|
390133
390148
|
return !this.empty();
|
|
390134
390149
|
},
|
|
390135
390150
|
sort: function(e) {
|
|
390136
|
-
if (!
|
|
390151
|
+
if (!ud(e))
|
|
390137
390152
|
return this;
|
|
390138
390153
|
var n = this.toArray().sort(e);
|
|
390139
390154
|
return this.spawn(n);
|
|
@@ -390550,7 +390565,7 @@ function gOt(t) {
|
|
|
390550
390565
|
if (e.length === 2) {
|
|
390551
390566
|
var r = e[0], i = e[1];
|
|
390552
390567
|
this.on(t.event, r, i);
|
|
390553
|
-
} else if (e.length === 1 &&
|
|
390568
|
+
} else if (e.length === 1 && ud(e[0])) {
|
|
390554
390569
|
var o = e[0];
|
|
390555
390570
|
this.on(t.event, o);
|
|
390556
390571
|
} else if (e.length === 0 || e.length === 1 && Nc(e[0])) {
|
|
@@ -393757,7 +393772,7 @@ bp.addDefaultStylesheet = function() {
|
|
|
393757
393772
|
var Sxe = {};
|
|
393758
393773
|
Sxe.parse = function(t, e, n, r) {
|
|
393759
393774
|
var i = this;
|
|
393760
|
-
if (
|
|
393775
|
+
if (ud(e))
|
|
393761
393776
|
return i.parseImplWarn(t, e, n, r);
|
|
393762
393777
|
var o = r === "mapping" || r === !0 || r === !1 || r == null ? "dontcare" : r, l = n ? "t" : "f", u = "" + e, d = sNn(t, u, l, o), p = i.propCache = i.propCache || [], m;
|
|
393763
393778
|
return (m = p[d]) || (m = p[d] = i.parseImplWarn(t, e, n, r)), (n || r === "mapping") && (m = xE(m), m && (m.value = xE(m.value))), m;
|
|
@@ -393785,7 +393800,7 @@ Sxe.parseImpl = function(t, e, n, r) {
|
|
|
393785
393800
|
bypass: !0,
|
|
393786
393801
|
deleteBypass: !0
|
|
393787
393802
|
};
|
|
393788
|
-
if (
|
|
393803
|
+
if (ud(e))
|
|
393789
393804
|
return {
|
|
393790
393805
|
name: t,
|
|
393791
393806
|
value: e,
|
|
@@ -394467,7 +394482,7 @@ var UZ = function(e) {
|
|
|
394467
394482
|
m([u.style, u.elements], function(f) {
|
|
394468
394483
|
var b = f[0], y = f[1];
|
|
394469
394484
|
p.styleEnabled && n.style().append(b), h(y, function() {
|
|
394470
|
-
n.startAnimationLoop(), p.ready = !0,
|
|
394485
|
+
n.startAnimationLoop(), p.ready = !0, ud(u.ready) && n.on("ready", u.ready);
|
|
394471
394486
|
for (var v = 0; v < o.length; v++) {
|
|
394472
394487
|
var _ = o[v];
|
|
394473
394488
|
n.on("ready", _);
|
|
@@ -395212,7 +395227,7 @@ var gao = function(e, n, r) {
|
|
|
395212
395227
|
}
|
|
395213
395228
|
for (var m = 0; m < u.nodeSize; m++) {
|
|
395214
395229
|
var b = o[m], y = b.layoutDimensions(r), v = {};
|
|
395215
|
-
v.isLocked = b.locked(), v.id = b.data("id"), v.parentId = b.data("parent"), v.cmptId = p[b.id()], v.children = [], v.positionX = b.position("x"), v.positionY = b.position("y"), v.offsetX = 0, v.offsetY = 0, v.height = y.w, v.width = y.h, v.maxX = v.positionX + v.width / 2, v.minX = v.positionX - v.width / 2, v.maxY = v.positionY + v.height / 2, v.minY = v.positionY - v.height / 2, v.padLeft = parseFloat(b.style("padding")), v.padRight = parseFloat(b.style("padding")), v.padTop = parseFloat(b.style("padding")), v.padBottom = parseFloat(b.style("padding")), v.nodeRepulsion =
|
|
395230
|
+
v.isLocked = b.locked(), v.id = b.data("id"), v.parentId = b.data("parent"), v.cmptId = p[b.id()], v.children = [], v.positionX = b.position("x"), v.positionY = b.position("y"), v.offsetX = 0, v.offsetY = 0, v.height = y.w, v.width = y.h, v.maxX = v.positionX + v.width / 2, v.minX = v.positionX - v.width / 2, v.maxY = v.positionY + v.height / 2, v.minY = v.positionY - v.height / 2, v.padLeft = parseFloat(b.style("padding")), v.padRight = parseFloat(b.style("padding")), v.padTop = parseFloat(b.style("padding")), v.padBottom = parseFloat(b.style("padding")), v.nodeRepulsion = ud(r.nodeRepulsion) ? r.nodeRepulsion(b) : r.nodeRepulsion, u.layoutNodes.push(v), u.idToIndex[v.id] = m;
|
|
395216
395231
|
}
|
|
395217
395232
|
for (var _ = [], w = 0, x = -1, k = [], m = 0; m < u.nodeSize; m++) {
|
|
395218
395233
|
var b = u.layoutNodes[m], C = b.parentId;
|
|
@@ -395234,7 +395249,7 @@ var gao = function(e, n, r) {
|
|
|
395234
395249
|
for (var m = 0; m < u.edgeSize; m++) {
|
|
395235
395250
|
var R = i[m], L = {};
|
|
395236
395251
|
L.id = R.data("id"), L.sourceId = R.data("source"), L.targetId = R.data("target");
|
|
395237
|
-
var N =
|
|
395252
|
+
var N = ud(r.idealEdgeLength) ? r.idealEdgeLength(R) : r.idealEdgeLength, B = ud(r.edgeElasticity) ? r.edgeElasticity(R) : r.edgeElasticity, M = u.idToIndex[L.sourceId], P = u.idToIndex[L.targetId], O = u.indexToGraph[M], Q = u.indexToGraph[P];
|
|
395238
395253
|
if (O != Q) {
|
|
395239
395254
|
for (var j = hao(L.sourceId, L.targetId, u), F = u.graphSet[j], $ = 0, v = u.layoutNodes[M]; F.indexOf(v.id) === -1; )
|
|
395240
395255
|
v = u.layoutNodes[u.idToIndex[v.parentId]], $++;
|
|
@@ -395650,7 +395665,7 @@ function iRn(t) {
|
|
|
395650
395665
|
this.options = Ji({}, Bao, t);
|
|
395651
395666
|
}
|
|
395652
395667
|
iRn.prototype.run = function() {
|
|
395653
|
-
var t = this.options, e = t.eles, n = e.nodes(), r =
|
|
395668
|
+
var t = this.options, e = t.eles, n = e.nodes(), r = ud(t.positions);
|
|
395654
395669
|
function i(o) {
|
|
395655
395670
|
if (t.positions == null)
|
|
395656
395671
|
return Xeo(o.position());
|
|
@@ -407658,7 +407673,7 @@ You have to call mermaid.initialize.`
|
|
|
407658
407673
|
return Ra = zt.pop() || Na.lex() || gl, typeof Ra != "number" && (Ra instanceof Array && (zt = Ra, Ra = zt.pop()), Ra = _n.symbols_[Ra] || Ra), Ra;
|
|
407659
407674
|
}
|
|
407660
407675
|
q($o, "lex");
|
|
407661
|
-
for (var Sa, Fd, zo, Uo, vu = {}, Bi,
|
|
407676
|
+
for (var Sa, Fd, zo, Uo, vu = {}, Bi, hd, qo, Kr; ; ) {
|
|
407662
407677
|
if (Fd = cr[cr.length - 1], this.defaultActions[Fd] ? zo = this.defaultActions[Fd] : ((Sa === null || typeof Sa > "u") && (Sa = $o()), zo = Sr[Fd] && Sr[Fd][Sa]), typeof zo > "u" || !zo.length || !zo[0]) {
|
|
407663
407678
|
var ka = "";
|
|
407664
407679
|
Kr = [];
|
|
@@ -407681,13 +407696,13 @@ Expecting ` + Kr.join(", ") + ", got '" + (this.terminals_[Sa] || Sa) + "'" : ka
|
|
|
407681
407696
|
cr.push(Sa), kn.push(Na.yytext), Ut.push(Na.yylloc), cr.push(zo[1]), Sa = null, hi = Na.yyleng, Kt = Na.yytext, Hr = Na.yylineno, pc = Na.yylloc;
|
|
407682
407697
|
break;
|
|
407683
407698
|
case 2:
|
|
407684
|
-
if (
|
|
407685
|
-
first_line: Ut[Ut.length - (
|
|
407699
|
+
if (hd = this.productions_[zo[1]][1], vu.$ = kn[kn.length - hd], vu._$ = {
|
|
407700
|
+
first_line: Ut[Ut.length - (hd || 1)].first_line,
|
|
407686
407701
|
last_line: Ut[Ut.length - 1].last_line,
|
|
407687
|
-
first_column: Ut[Ut.length - (
|
|
407702
|
+
first_column: Ut[Ut.length - (hd || 1)].first_column,
|
|
407688
407703
|
last_column: Ut[Ut.length - 1].last_column
|
|
407689
407704
|
}, ns && (vu._$.range = [
|
|
407690
|
-
Ut[Ut.length - (
|
|
407705
|
+
Ut[Ut.length - (hd || 1)].range[0],
|
|
407691
407706
|
Ut[Ut.length - 1].range[1]
|
|
407692
407707
|
]), Uo = this.performAction.apply(vu, [
|
|
407693
407708
|
Kt,
|
|
@@ -407699,7 +407714,7 @@ Expecting ` + Kr.join(", ") + ", got '" + (this.terminals_[Sa] || Sa) + "'" : ka
|
|
|
407699
407714
|
Ut
|
|
407700
407715
|
].concat($s)), typeof Uo < "u")
|
|
407701
407716
|
return Uo;
|
|
407702
|
-
|
|
407717
|
+
hd && (cr = cr.slice(0, -1 * hd * 2), kn = kn.slice(0, -1 * hd), Ut = Ut.slice(0, -1 * hd)), cr.push(this.productions_[zo[1]][0]), kn.push(vu.$), Ut.push(vu._$), qo = Sr[cr[cr.length - 2]][cr[cr.length - 1]], cr.push(qo);
|
|
407703
407718
|
break;
|
|
407704
407719
|
case 3:
|
|
407705
407720
|
return !0;
|
|
@@ -409537,7 +409552,7 @@ function IAe(t) {
|
|
|
409537
409552
|
}
|
|
409538
409553
|
const l3n = new Wg(() => {
|
|
409539
409554
|
}, () => D0), D0 = Object.freeze({ done: !0, value: void 0 });
|
|
409540
|
-
function
|
|
409555
|
+
function id(...t) {
|
|
409541
409556
|
if (t.length === 1) {
|
|
409542
409557
|
const e = t[0];
|
|
409543
409558
|
if (e instanceof Wg)
|
|
@@ -414030,28 +414045,28 @@ function $co(t, e, n, r) {
|
|
|
414030
414045
|
occurrenceStack: o
|
|
414031
414046
|
};
|
|
414032
414047
|
}
|
|
414033
|
-
var
|
|
414048
|
+
var od;
|
|
414034
414049
|
(function(t) {
|
|
414035
414050
|
t[t.OPTION = 0] = "OPTION", t[t.REPETITION = 1] = "REPETITION", t[t.REPETITION_MANDATORY = 2] = "REPETITION_MANDATORY", t[t.REPETITION_MANDATORY_WITH_SEPARATOR = 3] = "REPETITION_MANDATORY_WITH_SEPARATOR", t[t.REPETITION_WITH_SEPARATOR = 4] = "REPETITION_WITH_SEPARATOR", t[t.ALTERNATION = 5] = "ALTERNATION";
|
|
414036
|
-
})(
|
|
414051
|
+
})(od || (od = {}));
|
|
414037
414052
|
function nit(t) {
|
|
414038
414053
|
if (t instanceof lh || t === "Option")
|
|
414039
|
-
return
|
|
414054
|
+
return od.OPTION;
|
|
414040
414055
|
if (t instanceof Id || t === "Repetition")
|
|
414041
|
-
return
|
|
414056
|
+
return od.REPETITION;
|
|
414042
414057
|
if (t instanceof Ay || t === "RepetitionMandatory")
|
|
414043
|
-
return
|
|
414058
|
+
return od.REPETITION_MANDATORY;
|
|
414044
414059
|
if (t instanceof by || t === "RepetitionMandatoryWithSeparator")
|
|
414045
|
-
return
|
|
414060
|
+
return od.REPETITION_MANDATORY_WITH_SEPARATOR;
|
|
414046
414061
|
if (t instanceof t0 || t === "RepetitionWithSeparator")
|
|
414047
|
-
return
|
|
414062
|
+
return od.REPETITION_WITH_SEPARATOR;
|
|
414048
414063
|
if (t instanceof n0 || t === "Alternation")
|
|
414049
|
-
return
|
|
414064
|
+
return od.ALTERNATION;
|
|
414050
414065
|
throw Error("non exhaustive match");
|
|
414051
414066
|
}
|
|
414052
414067
|
function BFt(t) {
|
|
414053
414068
|
const { occurrence: e, rule: n, prodType: r, maxLookahead: i } = t, o = nit(r);
|
|
414054
|
-
return o ===
|
|
414069
|
+
return o === od.ALTERNATION ? jxe(e, n, i) : $xe(e, n, o, i);
|
|
414055
414070
|
}
|
|
414056
414071
|
function zco(t, e, n, r, i, o) {
|
|
414057
414072
|
const l = jxe(t, e, n), u = z3n(l) ? PAe : mte;
|
|
@@ -414149,19 +414164,19 @@ class Hco extends Oxe {
|
|
|
414149
414164
|
return e.idx === this.targetOccurrence && this.targetProdType === n ? (this.restDef = r.concat(i), !0) : !1;
|
|
414150
414165
|
}
|
|
414151
414166
|
walkOption(e, n, r) {
|
|
414152
|
-
this.checkIsTarget(e,
|
|
414167
|
+
this.checkIsTarget(e, od.OPTION, n, r) || super.walkOption(e, n, r);
|
|
414153
414168
|
}
|
|
414154
414169
|
walkAtLeastOne(e, n, r) {
|
|
414155
|
-
this.checkIsTarget(e,
|
|
414170
|
+
this.checkIsTarget(e, od.REPETITION_MANDATORY, n, r) || super.walkOption(e, n, r);
|
|
414156
414171
|
}
|
|
414157
414172
|
walkAtLeastOneSep(e, n, r) {
|
|
414158
|
-
this.checkIsTarget(e,
|
|
414173
|
+
this.checkIsTarget(e, od.REPETITION_MANDATORY_WITH_SEPARATOR, n, r) || super.walkOption(e, n, r);
|
|
414159
414174
|
}
|
|
414160
414175
|
walkMany(e, n, r) {
|
|
414161
|
-
this.checkIsTarget(e,
|
|
414176
|
+
this.checkIsTarget(e, od.REPETITION, n, r) || super.walkOption(e, n, r);
|
|
414162
414177
|
}
|
|
414163
414178
|
walkManySep(e, n, r) {
|
|
414164
|
-
this.checkIsTarget(e,
|
|
414179
|
+
this.checkIsTarget(e, od.REPETITION_WITH_SEPARATOR, n, r) || super.walkOption(e, n, r);
|
|
414165
414180
|
}
|
|
414166
414181
|
}
|
|
414167
414182
|
class j3n extends tz {
|
|
@@ -414172,22 +414187,22 @@ class j3n extends tz {
|
|
|
414172
414187
|
e.idx === this.targetOccurrence && this.targetProdType === n && (this.targetRef === void 0 || e === this.targetRef) && (this.result = e.definition);
|
|
414173
414188
|
}
|
|
414174
414189
|
visitOption(e) {
|
|
414175
|
-
this.checkIsTarget(e,
|
|
414190
|
+
this.checkIsTarget(e, od.OPTION);
|
|
414176
414191
|
}
|
|
414177
414192
|
visitRepetition(e) {
|
|
414178
|
-
this.checkIsTarget(e,
|
|
414193
|
+
this.checkIsTarget(e, od.REPETITION);
|
|
414179
414194
|
}
|
|
414180
414195
|
visitRepetitionMandatory(e) {
|
|
414181
|
-
this.checkIsTarget(e,
|
|
414196
|
+
this.checkIsTarget(e, od.REPETITION_MANDATORY);
|
|
414182
414197
|
}
|
|
414183
414198
|
visitRepetitionMandatoryWithSeparator(e) {
|
|
414184
|
-
this.checkIsTarget(e,
|
|
414199
|
+
this.checkIsTarget(e, od.REPETITION_MANDATORY_WITH_SEPARATOR);
|
|
414185
414200
|
}
|
|
414186
414201
|
visitRepetitionWithSeparator(e) {
|
|
414187
|
-
this.checkIsTarget(e,
|
|
414202
|
+
this.checkIsTarget(e, od.REPETITION_WITH_SEPARATOR);
|
|
414188
414203
|
}
|
|
414189
414204
|
visitAlternation(e) {
|
|
414190
|
-
this.checkIsTarget(e,
|
|
414205
|
+
this.checkIsTarget(e, od.ALTERNATION);
|
|
414191
414206
|
}
|
|
414192
414207
|
}
|
|
414193
414208
|
function DFt(t) {
|
|
@@ -414267,7 +414282,7 @@ function $3n(t, e) {
|
|
|
414267
414282
|
return r;
|
|
414268
414283
|
}
|
|
414269
414284
|
function jxe(t, e, n, r) {
|
|
414270
|
-
const i = new j3n(t,
|
|
414285
|
+
const i = new j3n(t, od.ALTERNATION, r);
|
|
414271
414286
|
return e.accept(i), $3n(i.result, n);
|
|
414272
414287
|
}
|
|
414273
414288
|
function $xe(t, e, n, r) {
|
|
@@ -415596,7 +415611,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
415596
415611
|
for (; i.call(this) === !0 && l === !0; )
|
|
415597
415612
|
l = this.doSingleRepetition(o);
|
|
415598
415613
|
} else
|
|
415599
|
-
throw this.raiseEarlyExitException(e,
|
|
415614
|
+
throw this.raiseEarlyExitException(e, od.REPETITION_MANDATORY, n.ERR_MSG);
|
|
415600
415615
|
this.attemptInRepetitionRecovery(this.atLeastOneInternal, [e, n], i, Z7e, e, jco);
|
|
415601
415616
|
}
|
|
415602
415617
|
atLeastOneSepFirstInternal(e, n) {
|
|
@@ -415618,7 +415633,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
415618
415633
|
TFt
|
|
415619
415634
|
], u, tde, e, TFt);
|
|
415620
415635
|
} else
|
|
415621
|
-
throw this.raiseEarlyExitException(e,
|
|
415636
|
+
throw this.raiseEarlyExitException(e, od.REPETITION_MANDATORY_WITH_SEPARATOR, n.ERR_MSG);
|
|
415622
415637
|
}
|
|
415623
415638
|
manyInternal(e, n) {
|
|
415624
415639
|
const r = this.getKeyForAutomaticLookahead(K7e, e);
|
|
@@ -418722,7 +418737,7 @@ function vLn(t, e, n) {
|
|
|
418722
418737
|
}, t), e;
|
|
418723
418738
|
}
|
|
418724
418739
|
function Fdo(t, e) {
|
|
418725
|
-
const n = A3n(e, !1), r =
|
|
418740
|
+
const n = A3n(e, !1), r = id(e.rules).filter(CI).filter((o) => n.has(o));
|
|
418726
418741
|
for (const o of r) {
|
|
418727
418742
|
const l = {
|
|
418728
418743
|
...t,
|
|
@@ -418734,7 +418749,7 @@ function Fdo(t, e) {
|
|
|
418734
418749
|
};
|
|
418735
418750
|
t.parser.rule(o, e5(l, o.definition));
|
|
418736
418751
|
}
|
|
418737
|
-
const i =
|
|
418752
|
+
const i = id(e.rules).filter(BAe).filter((o) => n.has(o));
|
|
418738
418753
|
for (const o of i)
|
|
418739
418754
|
t.parser.rule(o, Qdo(t, o));
|
|
418740
418755
|
}
|
|
@@ -419061,7 +419076,7 @@ class xLn {
|
|
|
419061
419076
|
this.diagnostics = [];
|
|
419062
419077
|
}
|
|
419063
419078
|
buildTokens(e, n) {
|
|
419064
|
-
const r =
|
|
419079
|
+
const r = id(A3n(e, !1)), i = this.buildTerminalTokens(r), o = this.buildKeywordTokens(r, i, n);
|
|
419065
419080
|
return o.push(...i), o;
|
|
419066
419081
|
}
|
|
419067
419082
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -419397,7 +419412,7 @@ function qxe() {
|
|
|
419397
419412
|
}
|
|
419398
419413
|
return c3.CancellationTokenSource = l, c3;
|
|
419399
419414
|
}
|
|
419400
|
-
var
|
|
419415
|
+
var ld = qxe();
|
|
419401
419416
|
function Zdo() {
|
|
419402
419417
|
return new Promise((t) => {
|
|
419403
419418
|
typeof setImmediate > "u" ? setTimeout(t, 0) : setImmediate(t);
|
|
@@ -419405,14 +419420,14 @@ function Zdo() {
|
|
|
419405
419420
|
}
|
|
419406
419421
|
let nde = 0, Xdo = 10;
|
|
419407
419422
|
function Jdo() {
|
|
419408
|
-
return nde = performance.now(), new
|
|
419423
|
+
return nde = performance.now(), new ld.CancellationTokenSource();
|
|
419409
419424
|
}
|
|
419410
419425
|
const a6 = /* @__PURE__ */ Symbol("OperationCancelled");
|
|
419411
419426
|
function Gxe(t) {
|
|
419412
419427
|
return t === a6;
|
|
419413
419428
|
}
|
|
419414
419429
|
async function oA(t) {
|
|
419415
|
-
if (t ===
|
|
419430
|
+
if (t === ld.CancellationToken.None)
|
|
419416
419431
|
return;
|
|
419417
419432
|
const e = performance.now();
|
|
419418
419433
|
if (e - nde >= Xdo && (nde = e, await Zdo(), nde = performance.now()), t.isCancellationRequested)
|
|
@@ -420019,15 +420034,15 @@ class npo {
|
|
|
420019
420034
|
constructor(e) {
|
|
420020
420035
|
this.serviceRegistry = e.ServiceRegistry, this.textDocuments = e.workspace.TextDocuments, this.fileSystemProvider = e.workspace.FileSystemProvider;
|
|
420021
420036
|
}
|
|
420022
|
-
async fromUri(e, n =
|
|
420037
|
+
async fromUri(e, n = ld.CancellationToken.None) {
|
|
420023
420038
|
const r = await this.fileSystemProvider.readFile(e);
|
|
420024
420039
|
return this.createAsync(e, r, n);
|
|
420025
420040
|
}
|
|
420026
420041
|
fromTextDocument(e, n, r) {
|
|
420027
|
-
return n = n ?? Fw.parse(e.uri),
|
|
420042
|
+
return n = n ?? Fw.parse(e.uri), ld.CancellationToken.is(r) ? this.createAsync(n, e, r) : this.create(n, e, r);
|
|
420028
420043
|
}
|
|
420029
420044
|
fromString(e, n, r) {
|
|
420030
|
-
return
|
|
420045
|
+
return ld.CancellationToken.is(r) ? this.createAsync(n, e, r) : this.create(n, e, r);
|
|
420031
420046
|
}
|
|
420032
420047
|
fromModel(e, n) {
|
|
420033
420048
|
return this.create(n, { $model: e });
|
|
@@ -420119,7 +420134,7 @@ class rpo {
|
|
|
420119
420134
|
this.documentTrie = new tpo(), this.services = e, this.langiumDocumentFactory = e.workspace.LangiumDocumentFactory, this.documentBuilder = () => e.workspace.DocumentBuilder;
|
|
420120
420135
|
}
|
|
420121
420136
|
get all() {
|
|
420122
|
-
return
|
|
420137
|
+
return id(this.documentTrie.all());
|
|
420123
420138
|
}
|
|
420124
420139
|
addDocument(e) {
|
|
420125
420140
|
const n = e.uri.toString();
|
|
@@ -420174,7 +420189,7 @@ class apo {
|
|
|
420174
420189
|
constructor(e) {
|
|
420175
420190
|
this.reflection = e.shared.AstReflection, this.langiumDocuments = () => e.shared.workspace.LangiumDocuments, this.scopeProvider = e.references.ScopeProvider, this.astNodeLocator = e.workspace.AstNodeLocator, this.profiler = e.shared.profilers.LangiumProfiler, this.languageId = e.LanguageMetaData.languageId;
|
|
420176
420191
|
}
|
|
420177
|
-
async link(e, n =
|
|
420192
|
+
async link(e, n = ld.CancellationToken.None) {
|
|
420178
420193
|
if (this.profiler?.isActive("linking")) {
|
|
420179
420194
|
const r = this.profiler.createTask("linking", this.languageId);
|
|
420180
420195
|
r.start();
|
|
@@ -420429,7 +420444,7 @@ class spo {
|
|
|
420429
420444
|
const r = [];
|
|
420430
420445
|
n.includeDeclaration && r.push(...this.getSelfReferences(e));
|
|
420431
420446
|
let i = this.index.findAllReferences(e, this.nodeLocator.getAstNodePath(e));
|
|
420432
|
-
return n.documentUri && (i = i.filter((o) => z0.equals(o.sourceUri, n.documentUri))), r.push(...i),
|
|
420447
|
+
return n.documentUri && (i = i.filter((o) => z0.equals(o.sourceUri, n.documentUri))), r.push(...i), id(r);
|
|
420433
420448
|
}
|
|
420434
420449
|
getSelfReferences(e) {
|
|
420435
420450
|
const n = this.getSelfNodes(e), r = [];
|
|
@@ -420460,7 +420475,7 @@ class nX {
|
|
|
420460
420475
|
* The total number of values in the multimap.
|
|
420461
420476
|
*/
|
|
420462
420477
|
get size() {
|
|
420463
|
-
return L7e.sum(
|
|
420478
|
+
return L7e.sum(id(this.map.values()).map((e) => e.length));
|
|
420464
420479
|
}
|
|
420465
420480
|
/**
|
|
420466
420481
|
* Clear all entries in the multimap.
|
|
@@ -420505,7 +420520,7 @@ class nX {
|
|
|
420505
420520
|
*/
|
|
420506
420521
|
getStream(e) {
|
|
420507
420522
|
const n = this.map.get(e);
|
|
420508
|
-
return n ?
|
|
420523
|
+
return n ? id(n) : l3n;
|
|
420509
420524
|
}
|
|
420510
420525
|
/**
|
|
420511
420526
|
* Operates differently depending on whether a `value` is given:
|
|
@@ -420548,25 +420563,25 @@ class nX {
|
|
|
420548
420563
|
* Returns a stream of key, value pairs for every entry in the map.
|
|
420549
420564
|
*/
|
|
420550
420565
|
entries() {
|
|
420551
|
-
return
|
|
420566
|
+
return id(this.map.entries()).flatMap(([e, n]) => n.map((r) => [e, r]));
|
|
420552
420567
|
}
|
|
420553
420568
|
/**
|
|
420554
420569
|
* Returns a stream of keys in the map.
|
|
420555
420570
|
*/
|
|
420556
420571
|
keys() {
|
|
420557
|
-
return
|
|
420572
|
+
return id(this.map.keys());
|
|
420558
420573
|
}
|
|
420559
420574
|
/**
|
|
420560
420575
|
* Returns a stream of values in the map.
|
|
420561
420576
|
*/
|
|
420562
420577
|
values() {
|
|
420563
|
-
return
|
|
420578
|
+
return id(this.map.values()).flat();
|
|
420564
420579
|
}
|
|
420565
420580
|
/**
|
|
420566
420581
|
* Returns a stream of key, value set pairs for every key in the map.
|
|
420567
420582
|
*/
|
|
420568
420583
|
entriesGroupedByKey() {
|
|
420569
|
-
return
|
|
420584
|
+
return id(this.map.entries());
|
|
420570
420585
|
}
|
|
420571
420586
|
}
|
|
420572
420587
|
class YFt {
|
|
@@ -420599,7 +420614,7 @@ class lpo {
|
|
|
420599
420614
|
constructor(e) {
|
|
420600
420615
|
this.nameProvider = e.references.NameProvider, this.descriptions = e.workspace.AstNodeDescriptionProvider;
|
|
420601
420616
|
}
|
|
420602
|
-
async collectExportedSymbols(e, n =
|
|
420617
|
+
async collectExportedSymbols(e, n = ld.CancellationToken.None) {
|
|
420603
420618
|
return this.collectExportedSymbolsForNode(e.parseResult.value, e, void 0, n);
|
|
420604
420619
|
}
|
|
420605
420620
|
/**
|
|
@@ -420614,7 +420629,7 @@ class lpo {
|
|
|
420614
420629
|
* @throws `OperationCancelled` if a user action occurs during execution.
|
|
420615
420630
|
* @returns A list of {@link AstNodeDescription AstNodeDescriptions} to be published to index.
|
|
420616
420631
|
*/
|
|
420617
|
-
async collectExportedSymbolsForNode(e, n, r = Vat, i =
|
|
420632
|
+
async collectExportedSymbolsForNode(e, n, r = Vat, i = ld.CancellationToken.None) {
|
|
420618
420633
|
const o = [];
|
|
420619
420634
|
this.addExportedSymbol(e, o, n);
|
|
420620
420635
|
for (const l of r(e))
|
|
@@ -420630,7 +420645,7 @@ class lpo {
|
|
|
420630
420645
|
i && n.push(this.descriptions.createDescription(e, i, r));
|
|
420631
420646
|
}
|
|
420632
420647
|
// --- local symbols gathering ---
|
|
420633
|
-
async collectLocalSymbols(e, n =
|
|
420648
|
+
async collectLocalSymbols(e, n = ld.CancellationToken.None) {
|
|
420634
420649
|
const r = e.parseResult.value, i = new nX();
|
|
420635
420650
|
for (const o of cte(r))
|
|
420636
420651
|
await oA(n), this.addLocalSymbol(o, e, i);
|
|
@@ -420686,10 +420701,10 @@ class cpo {
|
|
|
420686
420701
|
}
|
|
420687
420702
|
getElements(e) {
|
|
420688
420703
|
const n = this.caseInsensitive ? e.toLowerCase() : e, r = this.elements.get(n);
|
|
420689
|
-
return (this.concatOuterScope || r.length === 0) && this.outerScope ?
|
|
420704
|
+
return (this.concatOuterScope || r.length === 0) && this.outerScope ? id(r).concat(this.outerScope.getElements(e)) : id(r);
|
|
420690
420705
|
}
|
|
420691
420706
|
getAllElements() {
|
|
420692
|
-
let e =
|
|
420707
|
+
let e = id(this.elements.values());
|
|
420693
420708
|
return this.outerScope && (e = e.concat(this.outerScope.getAllElements())), e;
|
|
420694
420709
|
}
|
|
420695
420710
|
}
|
|
@@ -420811,14 +420826,14 @@ class mpo {
|
|
|
420811
420826
|
* Create a scope for the given collection of AST node descriptions.
|
|
420812
420827
|
*/
|
|
420813
420828
|
createScope(e, n, r) {
|
|
420814
|
-
return new VFt(
|
|
420829
|
+
return new VFt(id(e), n, r);
|
|
420815
420830
|
}
|
|
420816
420831
|
/**
|
|
420817
420832
|
* Create a scope for the given collection of AST nodes, which need to be transformed into respective
|
|
420818
420833
|
* descriptions first. This is done using the `NameProvider` and `AstNodeDescriptionProvider` services.
|
|
420819
420834
|
*/
|
|
420820
420835
|
createScopeForNodes(e, n, r) {
|
|
420821
|
-
const i =
|
|
420836
|
+
const i = id(e).map((o) => {
|
|
420822
420837
|
const l = this.nameProvider.getName(o);
|
|
420823
420838
|
if (l)
|
|
420824
420839
|
return this.descriptions.createDescription(o, l);
|
|
@@ -421097,7 +421112,7 @@ class Apo {
|
|
|
421097
421112
|
this.entries.add(r, n);
|
|
421098
421113
|
}
|
|
421099
421114
|
getChecks(e, n) {
|
|
421100
|
-
let r =
|
|
421115
|
+
let r = id(this.entries.get(e)).concat(this.entries.get("AstNode"));
|
|
421101
421116
|
return n && (r = r.filter((i) => n.includes(i.category))), r.map((i) => i.check);
|
|
421102
421117
|
}
|
|
421103
421118
|
/**
|
|
@@ -421161,7 +421176,7 @@ class ypo {
|
|
|
421161
421176
|
constructor(e) {
|
|
421162
421177
|
this.validationRegistry = e.validation.ValidationRegistry, this.metadata = e.LanguageMetaData, this.profiler = e.shared.profilers.LangiumProfiler, this.languageId = e.LanguageMetaData.languageId;
|
|
421163
421178
|
}
|
|
421164
|
-
async validateDocument(e, n = {}, r =
|
|
421179
|
+
async validateDocument(e, n = {}, r = ld.CancellationToken.None) {
|
|
421165
421180
|
const i = e.parseResult, o = [];
|
|
421166
421181
|
if (await oA(r), (!n.categories || n.categories.includes("built-in")) && (this.processLexingErrors(i, o, n), n.stopAfterLexingErrors && o.some((l) => l.data?.code === rw.LexingError) || (this.processParsingErrors(i, o, n), n.stopAfterParsingErrors && o.some((l) => l.data?.code === rw.ParsingError)) || (this.processLinkingErrors(e, o, n), n.stopAfterLinkingErrors && o.some((l) => l.data?.code === rw.LinkingError))))
|
|
421167
421182
|
return o;
|
|
@@ -421244,18 +421259,18 @@ class ypo {
|
|
|
421244
421259
|
}
|
|
421245
421260
|
}
|
|
421246
421261
|
}
|
|
421247
|
-
async validateAst(e, n, r =
|
|
421262
|
+
async validateAst(e, n, r = ld.CancellationToken.None) {
|
|
421248
421263
|
const i = [], o = (l, u, d) => {
|
|
421249
421264
|
i.push(this.toDiagnostic(l, u, d));
|
|
421250
421265
|
};
|
|
421251
421266
|
return await this.validateAstBefore(e, n, o, r), await this.validateAstNodes(e, n, o, r), await this.validateAstAfter(e, n, o, r), i;
|
|
421252
421267
|
}
|
|
421253
|
-
async validateAstBefore(e, n, r, i =
|
|
421268
|
+
async validateAstBefore(e, n, r, i = ld.CancellationToken.None) {
|
|
421254
421269
|
const o = this.validationRegistry.checksBefore;
|
|
421255
421270
|
for (const l of o)
|
|
421256
421271
|
await oA(i), await l(e, r, n.categories ?? [], i);
|
|
421257
421272
|
}
|
|
421258
|
-
async validateAstNodes(e, n, r, i =
|
|
421273
|
+
async validateAstNodes(e, n, r, i = ld.CancellationToken.None) {
|
|
421259
421274
|
if (this.profiler?.isActive("validating")) {
|
|
421260
421275
|
const o = this.profiler.createTask("validating", this.languageId);
|
|
421261
421276
|
o.start();
|
|
@@ -421294,7 +421309,7 @@ class ypo {
|
|
|
421294
421309
|
validateSingleNodeOptions(e, n) {
|
|
421295
421310
|
return bpo;
|
|
421296
421311
|
}
|
|
421297
|
-
async validateAstAfter(e, n, r, i =
|
|
421312
|
+
async validateAstAfter(e, n, r, i = ld.CancellationToken.None) {
|
|
421298
421313
|
const o = this.validationRegistry.checksAfter;
|
|
421299
421314
|
for (const l of o)
|
|
421300
421315
|
await oA(i), await l(e, r, n.categories ?? [], i);
|
|
@@ -421386,7 +421401,7 @@ class xpo {
|
|
|
421386
421401
|
constructor(e) {
|
|
421387
421402
|
this.nodeLocator = e.workspace.AstNodeLocator;
|
|
421388
421403
|
}
|
|
421389
|
-
async createDescriptions(e, n =
|
|
421404
|
+
async createDescriptions(e, n = ld.CancellationToken.None) {
|
|
421390
421405
|
const r = [], i = e.parseResult.value;
|
|
421391
421406
|
for (const o of g2(i))
|
|
421392
421407
|
await oA(n), TAe(o).forEach((l) => {
|
|
@@ -423459,7 +423474,7 @@ function u8t() {
|
|
|
423459
423474
|
var g3 = {};
|
|
423460
423475
|
const git = /* @__PURE__ */ b9t(Ddo);
|
|
423461
423476
|
var Mf = {}, d8t;
|
|
423462
|
-
function
|
|
423477
|
+
function gd() {
|
|
423463
423478
|
if (d8t) return Mf;
|
|
423464
423479
|
d8t = 1, Object.defineProperty(Mf, "__esModule", { value: !0 }), Mf.ProtocolNotificationType = Mf.ProtocolNotificationType0 = Mf.ProtocolRequestType = Mf.ProtocolRequestType0 = Mf.RegistrationType = Mf.MessageDirection = void 0;
|
|
423465
423480
|
const t = az();
|
|
@@ -423543,7 +423558,7 @@ var Oq = {}, m8t;
|
|
|
423543
423558
|
function Lpo() {
|
|
423544
423559
|
if (m8t) return Oq;
|
|
423545
423560
|
m8t = 1, Object.defineProperty(Oq, "__esModule", { value: !0 }), Oq.ImplementationRequest = void 0;
|
|
423546
|
-
const t =
|
|
423561
|
+
const t = gd();
|
|
423547
423562
|
var e;
|
|
423548
423563
|
return (function(n) {
|
|
423549
423564
|
n.method = "textDocument/implementation", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423553,7 +423568,7 @@ var Fq = {}, g8t;
|
|
|
423553
423568
|
function Mpo() {
|
|
423554
423569
|
if (g8t) return Fq;
|
|
423555
423570
|
g8t = 1, Object.defineProperty(Fq, "__esModule", { value: !0 }), Fq.TypeDefinitionRequest = void 0;
|
|
423556
|
-
const t =
|
|
423571
|
+
const t = gd();
|
|
423557
423572
|
var e;
|
|
423558
423573
|
return (function(n) {
|
|
423559
423574
|
n.method = "textDocument/typeDefinition", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423563,7 +423578,7 @@ var h3 = {}, h8t;
|
|
|
423563
423578
|
function Ppo() {
|
|
423564
423579
|
if (h8t) return h3;
|
|
423565
423580
|
h8t = 1, Object.defineProperty(h3, "__esModule", { value: !0 }), h3.DidChangeWorkspaceFoldersNotification = h3.WorkspaceFoldersRequest = void 0;
|
|
423566
|
-
const t =
|
|
423581
|
+
const t = gd();
|
|
423567
423582
|
var e;
|
|
423568
423583
|
(function(r) {
|
|
423569
423584
|
r.method = "workspace/workspaceFolders", r.messageDirection = t.MessageDirection.serverToClient, r.type = new t.ProtocolRequestType0(r.method);
|
|
@@ -423577,7 +423592,7 @@ var Qq = {}, f8t;
|
|
|
423577
423592
|
function Opo() {
|
|
423578
423593
|
if (f8t) return Qq;
|
|
423579
423594
|
f8t = 1, Object.defineProperty(Qq, "__esModule", { value: !0 }), Qq.ConfigurationRequest = void 0;
|
|
423580
|
-
const t =
|
|
423595
|
+
const t = gd();
|
|
423581
423596
|
var e;
|
|
423582
423597
|
return (function(n) {
|
|
423583
423598
|
n.method = "workspace/configuration", n.messageDirection = t.MessageDirection.serverToClient, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423587,7 +423602,7 @@ var f3 = {}, A8t;
|
|
|
423587
423602
|
function Fpo() {
|
|
423588
423603
|
if (A8t) return f3;
|
|
423589
423604
|
A8t = 1, Object.defineProperty(f3, "__esModule", { value: !0 }), f3.ColorPresentationRequest = f3.DocumentColorRequest = void 0;
|
|
423590
|
-
const t =
|
|
423605
|
+
const t = gd();
|
|
423591
423606
|
var e;
|
|
423592
423607
|
(function(r) {
|
|
423593
423608
|
r.method = "textDocument/documentColor", r.messageDirection = t.MessageDirection.clientToServer, r.type = new t.ProtocolRequestType(r.method);
|
|
@@ -423601,7 +423616,7 @@ var A3 = {}, b8t;
|
|
|
423601
423616
|
function Qpo() {
|
|
423602
423617
|
if (b8t) return A3;
|
|
423603
423618
|
b8t = 1, Object.defineProperty(A3, "__esModule", { value: !0 }), A3.FoldingRangeRefreshRequest = A3.FoldingRangeRequest = void 0;
|
|
423604
|
-
const t =
|
|
423619
|
+
const t = gd();
|
|
423605
423620
|
var e;
|
|
423606
423621
|
(function(r) {
|
|
423607
423622
|
r.method = "textDocument/foldingRange", r.messageDirection = t.MessageDirection.clientToServer, r.type = new t.ProtocolRequestType(r.method);
|
|
@@ -423615,7 +423630,7 @@ var jq = {}, y8t;
|
|
|
423615
423630
|
function jpo() {
|
|
423616
423631
|
if (y8t) return jq;
|
|
423617
423632
|
y8t = 1, Object.defineProperty(jq, "__esModule", { value: !0 }), jq.DeclarationRequest = void 0;
|
|
423618
|
-
const t =
|
|
423633
|
+
const t = gd();
|
|
423619
423634
|
var e;
|
|
423620
423635
|
return (function(n) {
|
|
423621
423636
|
n.method = "textDocument/declaration", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423625,7 +423640,7 @@ var $q = {}, v8t;
|
|
|
423625
423640
|
function $po() {
|
|
423626
423641
|
if (v8t) return $q;
|
|
423627
423642
|
v8t = 1, Object.defineProperty($q, "__esModule", { value: !0 }), $q.SelectionRangeRequest = void 0;
|
|
423628
|
-
const t =
|
|
423643
|
+
const t = gd();
|
|
423629
423644
|
var e;
|
|
423630
423645
|
return (function(n) {
|
|
423631
423646
|
n.method = "textDocument/selectionRange", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423635,7 +423650,7 @@ var wC = {}, _8t;
|
|
|
423635
423650
|
function zpo() {
|
|
423636
423651
|
if (_8t) return wC;
|
|
423637
423652
|
_8t = 1, Object.defineProperty(wC, "__esModule", { value: !0 }), wC.WorkDoneProgressCancelNotification = wC.WorkDoneProgressCreateRequest = wC.WorkDoneProgress = void 0;
|
|
423638
|
-
const t = az(), e =
|
|
423653
|
+
const t = az(), e = gd();
|
|
423639
423654
|
var n;
|
|
423640
423655
|
(function(o) {
|
|
423641
423656
|
o.type = new t.ProgressType();
|
|
@@ -423657,7 +423672,7 @@ var xC = {}, w8t;
|
|
|
423657
423672
|
function Upo() {
|
|
423658
423673
|
if (w8t) return xC;
|
|
423659
423674
|
w8t = 1, Object.defineProperty(xC, "__esModule", { value: !0 }), xC.CallHierarchyOutgoingCallsRequest = xC.CallHierarchyIncomingCallsRequest = xC.CallHierarchyPrepareRequest = void 0;
|
|
423660
|
-
const t =
|
|
423675
|
+
const t = gd();
|
|
423661
423676
|
var e;
|
|
423662
423677
|
(function(i) {
|
|
423663
423678
|
i.method = "textDocument/prepareCallHierarchy", i.messageDirection = t.MessageDirection.clientToServer, i.type = new t.ProtocolRequestType(i.method);
|
|
@@ -423675,7 +423690,7 @@ var Pf = {}, x8t;
|
|
|
423675
423690
|
function qpo() {
|
|
423676
423691
|
if (x8t) return Pf;
|
|
423677
423692
|
x8t = 1, Object.defineProperty(Pf, "__esModule", { value: !0 }), Pf.SemanticTokensRefreshRequest = Pf.SemanticTokensRangeRequest = Pf.SemanticTokensDeltaRequest = Pf.SemanticTokensRequest = Pf.SemanticTokensRegistrationType = Pf.TokenFormat = void 0;
|
|
423678
|
-
const t =
|
|
423693
|
+
const t = gd();
|
|
423679
423694
|
var e;
|
|
423680
423695
|
(function(u) {
|
|
423681
423696
|
u.Relative = "relative";
|
|
@@ -423705,7 +423720,7 @@ var zq = {}, k8t;
|
|
|
423705
423720
|
function Gpo() {
|
|
423706
423721
|
if (k8t) return zq;
|
|
423707
423722
|
k8t = 1, Object.defineProperty(zq, "__esModule", { value: !0 }), zq.ShowDocumentRequest = void 0;
|
|
423708
|
-
const t =
|
|
423723
|
+
const t = gd();
|
|
423709
423724
|
var e;
|
|
423710
423725
|
return (function(n) {
|
|
423711
423726
|
n.method = "window/showDocument", n.messageDirection = t.MessageDirection.serverToClient, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423715,7 +423730,7 @@ var Uq = {}, E8t;
|
|
|
423715
423730
|
function Hpo() {
|
|
423716
423731
|
if (E8t) return Uq;
|
|
423717
423732
|
E8t = 1, Object.defineProperty(Uq, "__esModule", { value: !0 }), Uq.LinkedEditingRangeRequest = void 0;
|
|
423718
|
-
const t =
|
|
423733
|
+
const t = gd();
|
|
423719
423734
|
var e;
|
|
423720
423735
|
return (function(n) {
|
|
423721
423736
|
n.method = "textDocument/linkedEditingRange", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423725,7 +423740,7 @@ var Ig = {}, C8t;
|
|
|
423725
423740
|
function Wpo() {
|
|
423726
423741
|
if (C8t) return Ig;
|
|
423727
423742
|
C8t = 1, Object.defineProperty(Ig, "__esModule", { value: !0 }), Ig.WillDeleteFilesRequest = Ig.DidDeleteFilesNotification = Ig.DidRenameFilesNotification = Ig.WillRenameFilesRequest = Ig.DidCreateFilesNotification = Ig.WillCreateFilesRequest = Ig.FileOperationPatternKind = void 0;
|
|
423728
|
-
const t =
|
|
423743
|
+
const t = gd();
|
|
423729
423744
|
var e;
|
|
423730
423745
|
(function(d) {
|
|
423731
423746
|
d.file = "file", d.folder = "folder";
|
|
@@ -423759,7 +423774,7 @@ var kC = {}, S8t;
|
|
|
423759
423774
|
function Ypo() {
|
|
423760
423775
|
if (S8t) return kC;
|
|
423761
423776
|
S8t = 1, Object.defineProperty(kC, "__esModule", { value: !0 }), kC.MonikerRequest = kC.MonikerKind = kC.UniquenessLevel = void 0;
|
|
423762
|
-
const t =
|
|
423777
|
+
const t = gd();
|
|
423763
423778
|
var e;
|
|
423764
423779
|
(function(i) {
|
|
423765
423780
|
i.document = "document", i.project = "project", i.group = "group", i.scheme = "scheme", i.global = "global";
|
|
@@ -423777,7 +423792,7 @@ var EC = {}, I8t;
|
|
|
423777
423792
|
function Vpo() {
|
|
423778
423793
|
if (I8t) return EC;
|
|
423779
423794
|
I8t = 1, Object.defineProperty(EC, "__esModule", { value: !0 }), EC.TypeHierarchySubtypesRequest = EC.TypeHierarchySupertypesRequest = EC.TypeHierarchyPrepareRequest = void 0;
|
|
423780
|
-
const t =
|
|
423795
|
+
const t = gd();
|
|
423781
423796
|
var e;
|
|
423782
423797
|
(function(i) {
|
|
423783
423798
|
i.method = "textDocument/prepareTypeHierarchy", i.messageDirection = t.MessageDirection.clientToServer, i.type = new t.ProtocolRequestType(i.method);
|
|
@@ -423795,7 +423810,7 @@ var b3 = {}, T8t;
|
|
|
423795
423810
|
function Kpo() {
|
|
423796
423811
|
if (T8t) return b3;
|
|
423797
423812
|
T8t = 1, Object.defineProperty(b3, "__esModule", { value: !0 }), b3.InlineValueRefreshRequest = b3.InlineValueRequest = void 0;
|
|
423798
|
-
const t =
|
|
423813
|
+
const t = gd();
|
|
423799
423814
|
var e;
|
|
423800
423815
|
(function(r) {
|
|
423801
423816
|
r.method = "textDocument/inlineValue", r.messageDirection = t.MessageDirection.clientToServer, r.type = new t.ProtocolRequestType(r.method);
|
|
@@ -423809,7 +423824,7 @@ var CC = {}, B8t;
|
|
|
423809
423824
|
function Zpo() {
|
|
423810
423825
|
if (B8t) return CC;
|
|
423811
423826
|
B8t = 1, Object.defineProperty(CC, "__esModule", { value: !0 }), CC.InlayHintRefreshRequest = CC.InlayHintResolveRequest = CC.InlayHintRequest = void 0;
|
|
423812
|
-
const t =
|
|
423827
|
+
const t = gd();
|
|
423813
423828
|
var e;
|
|
423814
423829
|
(function(i) {
|
|
423815
423830
|
i.method = "textDocument/inlayHint", i.messageDirection = t.MessageDirection.clientToServer, i.type = new t.ProtocolRequestType(i.method);
|
|
@@ -423827,7 +423842,7 @@ var l0 = {}, D8t;
|
|
|
423827
423842
|
function Xpo() {
|
|
423828
423843
|
if (D8t) return l0;
|
|
423829
423844
|
D8t = 1, Object.defineProperty(l0, "__esModule", { value: !0 }), l0.DiagnosticRefreshRequest = l0.WorkspaceDiagnosticRequest = l0.DocumentDiagnosticRequest = l0.DocumentDiagnosticReportKind = l0.DiagnosticServerCancellationData = void 0;
|
|
423830
|
-
const t = az(), e = hit(), n =
|
|
423845
|
+
const t = az(), e = hit(), n = gd();
|
|
423831
423846
|
var r;
|
|
423832
423847
|
(function(d) {
|
|
423833
423848
|
function p(m) {
|
|
@@ -423857,7 +423872,7 @@ var Gu = {}, N8t;
|
|
|
423857
423872
|
function Jpo() {
|
|
423858
423873
|
if (N8t) return Gu;
|
|
423859
423874
|
N8t = 1, Object.defineProperty(Gu, "__esModule", { value: !0 }), Gu.DidCloseNotebookDocumentNotification = Gu.DidSaveNotebookDocumentNotification = Gu.DidChangeNotebookDocumentNotification = Gu.NotebookCellArrayChange = Gu.DidOpenNotebookDocumentNotification = Gu.NotebookDocumentSyncRegistrationType = Gu.NotebookDocument = Gu.NotebookCell = Gu.ExecutionSummary = Gu.NotebookCellKind = void 0;
|
|
423860
|
-
const t = git, e = hit(), n =
|
|
423875
|
+
const t = git, e = hit(), n = gd();
|
|
423861
423876
|
var r;
|
|
423862
423877
|
(function(f) {
|
|
423863
423878
|
f.Markup = 1, f.Code = 2;
|
|
@@ -423977,7 +423992,7 @@ var qq = {}, R8t;
|
|
|
423977
423992
|
function emo() {
|
|
423978
423993
|
if (R8t) return qq;
|
|
423979
423994
|
R8t = 1, Object.defineProperty(qq, "__esModule", { value: !0 }), qq.InlineCompletionRequest = void 0;
|
|
423980
|
-
const t =
|
|
423995
|
+
const t = gd();
|
|
423981
423996
|
var e;
|
|
423982
423997
|
return (function(n) {
|
|
423983
423998
|
n.method = "textDocument/inlineCompletion", n.messageDirection = t.MessageDirection.clientToServer, n.type = new t.ProtocolRequestType(n.method);
|
|
@@ -423987,7 +424002,7 @@ var L8t;
|
|
|
423987
424002
|
function tmo() {
|
|
423988
424003
|
return L8t || (L8t = 1, (function(t) {
|
|
423989
424004
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.WorkspaceSymbolRequest = t.CodeActionResolveRequest = t.CodeActionRequest = t.DocumentSymbolRequest = t.DocumentHighlightRequest = t.ReferencesRequest = t.DefinitionRequest = t.SignatureHelpRequest = t.SignatureHelpTriggerKind = t.HoverRequest = t.CompletionResolveRequest = t.CompletionRequest = t.CompletionTriggerKind = t.PublishDiagnosticsNotification = t.WatchKind = t.RelativePattern = t.FileChangeType = t.DidChangeWatchedFilesNotification = t.WillSaveTextDocumentWaitUntilRequest = t.WillSaveTextDocumentNotification = t.TextDocumentSaveReason = t.DidSaveTextDocumentNotification = t.DidCloseTextDocumentNotification = t.DidChangeTextDocumentNotification = t.TextDocumentContentChangeEvent = t.DidOpenTextDocumentNotification = t.TextDocumentSyncKind = t.TelemetryEventNotification = t.LogMessageNotification = t.ShowMessageRequest = t.ShowMessageNotification = t.MessageType = t.DidChangeConfigurationNotification = t.ExitNotification = t.ShutdownRequest = t.InitializedNotification = t.InitializeErrorCodes = t.InitializeRequest = t.WorkDoneProgressOptions = t.TextDocumentRegistrationOptions = t.StaticRegistrationOptions = t.PositionEncodingKind = t.FailureHandlingKind = t.ResourceOperationKind = t.UnregistrationRequest = t.RegistrationRequest = t.DocumentSelector = t.NotebookCellTextDocumentFilter = t.NotebookDocumentFilter = t.TextDocumentFilter = void 0, t.MonikerRequest = t.MonikerKind = t.UniquenessLevel = t.WillDeleteFilesRequest = t.DidDeleteFilesNotification = t.WillRenameFilesRequest = t.DidRenameFilesNotification = t.WillCreateFilesRequest = t.DidCreateFilesNotification = t.FileOperationPatternKind = t.LinkedEditingRangeRequest = t.ShowDocumentRequest = t.SemanticTokensRegistrationType = t.SemanticTokensRefreshRequest = t.SemanticTokensRangeRequest = t.SemanticTokensDeltaRequest = t.SemanticTokensRequest = t.TokenFormat = t.CallHierarchyPrepareRequest = t.CallHierarchyOutgoingCallsRequest = t.CallHierarchyIncomingCallsRequest = t.WorkDoneProgressCancelNotification = t.WorkDoneProgressCreateRequest = t.WorkDoneProgress = t.SelectionRangeRequest = t.DeclarationRequest = t.FoldingRangeRefreshRequest = t.FoldingRangeRequest = t.ColorPresentationRequest = t.DocumentColorRequest = t.ConfigurationRequest = t.DidChangeWorkspaceFoldersNotification = t.WorkspaceFoldersRequest = t.TypeDefinitionRequest = t.ImplementationRequest = t.ApplyWorkspaceEditRequest = t.ExecuteCommandRequest = t.PrepareRenameRequest = t.RenameRequest = t.PrepareSupportDefaultBehavior = t.DocumentOnTypeFormattingRequest = t.DocumentRangesFormattingRequest = t.DocumentRangeFormattingRequest = t.DocumentFormattingRequest = t.DocumentLinkResolveRequest = t.DocumentLinkRequest = t.CodeLensRefreshRequest = t.CodeLensResolveRequest = t.CodeLensRequest = t.WorkspaceSymbolResolveRequest = void 0, t.InlineCompletionRequest = t.DidCloseNotebookDocumentNotification = t.DidSaveNotebookDocumentNotification = t.DidChangeNotebookDocumentNotification = t.NotebookCellArrayChange = t.DidOpenNotebookDocumentNotification = t.NotebookDocumentSyncRegistrationType = t.NotebookDocument = t.NotebookCell = t.ExecutionSummary = t.NotebookCellKind = t.DiagnosticRefreshRequest = t.WorkspaceDiagnosticRequest = t.DocumentDiagnosticRequest = t.DocumentDiagnosticReportKind = t.DiagnosticServerCancellationData = t.InlayHintRefreshRequest = t.InlayHintResolveRequest = t.InlayHintRequest = t.InlineValueRefreshRequest = t.InlineValueRequest = t.TypeHierarchySupertypesRequest = t.TypeHierarchySubtypesRequest = t.TypeHierarchyPrepareRequest = void 0;
|
|
423990
|
-
const e =
|
|
424005
|
+
const e = gd(), n = git, r = hit(), i = Lpo();
|
|
423991
424006
|
Object.defineProperty(t, "ImplementationRequest", { enumerable: !0, get: function() {
|
|
423992
424007
|
return i.ImplementationRequest;
|
|
423993
424008
|
} });
|
|
@@ -424483,7 +424498,7 @@ function rmo() {
|
|
|
424483
424498
|
})), n = g3 && g3.__exportStar || function(o, l) {
|
|
424484
424499
|
for (var u in o) u !== "default" && !Object.prototype.hasOwnProperty.call(l, u) && e(l, o, u);
|
|
424485
424500
|
};
|
|
424486
|
-
Object.defineProperty(t, "__esModule", { value: !0 }), t.LSPErrorCodes = t.createProtocolConnection = void 0, n(az(), t), n(git, t), n(
|
|
424501
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.LSPErrorCodes = t.createProtocolConnection = void 0, n(az(), t), n(git, t), n(gd(), t), n(tmo(), t);
|
|
424487
424502
|
var r = nmo();
|
|
424488
424503
|
Object.defineProperty(t, "createProtocolConnection", { enumerable: !0, get: function() {
|
|
424489
424504
|
return r.createProtocolConnection;
|
|
@@ -424535,7 +424550,7 @@ class imo {
|
|
|
424535
424550
|
}
|
|
424536
424551
|
}, this.updateListeners = [], this.buildPhaseListeners = new nX(), this.documentPhaseListeners = new nX(), this.buildState = /* @__PURE__ */ new Map(), this.documentBuildWaiters = /* @__PURE__ */ new Map(), this.currentState = ws.Changed, this.langiumDocuments = e.workspace.LangiumDocuments, this.langiumDocumentFactory = e.workspace.LangiumDocumentFactory, this.textDocuments = e.workspace.TextDocuments, this.indexManager = e.workspace.IndexManager, this.fileSystemProvider = e.workspace.FileSystemProvider, this.workspaceManager = () => e.workspace.WorkspaceManager, this.serviceRegistry = e.ServiceRegistry;
|
|
424537
424552
|
}
|
|
424538
|
-
async build(e, n = {}, r =
|
|
424553
|
+
async build(e, n = {}, r = ld.CancellationToken.None) {
|
|
424539
424554
|
for (const i of e) {
|
|
424540
424555
|
const o = i.uri.toString();
|
|
424541
424556
|
if (i.state === ws.Validated) {
|
|
@@ -424558,7 +424573,7 @@ class imo {
|
|
|
424558
424573
|
}
|
|
424559
424574
|
this.currentState = ws.Changed, await this.emitUpdate(e.map((i) => i.uri), []), await this.buildDocuments(e, n, r);
|
|
424560
424575
|
}
|
|
424561
|
-
async update(e, n, r =
|
|
424576
|
+
async update(e, n, r = ld.CancellationToken.None) {
|
|
424562
424577
|
this.currentState = ws.Changed;
|
|
424563
424578
|
const i = [];
|
|
424564
424579
|
for (const d of n) {
|
|
@@ -424571,7 +424586,7 @@ class imo {
|
|
|
424571
424586
|
let p = this.langiumDocuments.getDocument(d);
|
|
424572
424587
|
p === void 0 && (p = this.langiumDocumentFactory.fromModel({ $type: "INVALID" }, d), p.state = ws.Changed, this.langiumDocuments.addDocument(p)), this.resetToState(p, ws.Changed);
|
|
424573
424588
|
}
|
|
424574
|
-
const l =
|
|
424589
|
+
const l = id(o).concat(i).map((d) => d.toString()).toSet();
|
|
424575
424590
|
this.langiumDocuments.all.filter((d) => !l.has(d.uri.toString()) && this.shouldRelink(d, l)).forEach((d) => this.resetToState(d, ws.ComputedScopes)), await this.emitUpdate(o, i), await oA(r);
|
|
424576
424591
|
const u = this.sortDocuments(this.langiumDocuments.all.filter((d) => (
|
|
424577
424592
|
// This includes those that were reported as changed and those that we selected for relinking
|
|
@@ -424584,7 +424599,7 @@ class imo {
|
|
|
424584
424599
|
}
|
|
424585
424600
|
findMissingValidationCategories(e, n) {
|
|
424586
424601
|
const r = this.buildState.get(e.uri.toString()), i = this.serviceRegistry.getServices(e.uri).validation.ValidationRegistry.getAllValidationCategories(e), o = r?.result?.validationChecks ? new Set(r?.result?.validationChecks) : r?.completed ? i : /* @__PURE__ */ new Set(), l = n === void 0 || n.validation === !0 ? i : typeof n.validation == "object" ? n.validation.categories ?? i : [];
|
|
424587
|
-
return
|
|
424602
|
+
return id(l).filter((u) => !o.has(u)).toArray();
|
|
424588
424603
|
}
|
|
424589
424604
|
async findChangedUris(e) {
|
|
424590
424605
|
if (this.langiumDocuments.getDocument(e) ?? this.textDocuments?.get(e))
|
|
@@ -424728,7 +424743,7 @@ class imo {
|
|
|
424728
424743
|
}
|
|
424729
424744
|
waitUntil(e, n, r) {
|
|
424730
424745
|
let i;
|
|
424731
|
-
return n && "path" in n ? i = n : r = n, r ?? (r =
|
|
424746
|
+
return n && "path" in n ? i = n : r = n, r ?? (r = ld.CancellationToken.None), i ? this.awaitDocumentState(e, i, r) : this.awaitBuilderState(e, r);
|
|
424732
424747
|
}
|
|
424733
424748
|
awaitDocumentState(e, n, r) {
|
|
424734
424749
|
const i = this.langiumDocuments.getDocument(n);
|
|
@@ -424801,7 +424816,7 @@ class imo {
|
|
|
424801
424816
|
const l = await r.validateDocument(e, o, n);
|
|
424802
424817
|
e.diagnostics ? e.diagnostics.push(...l) : e.diagnostics = l;
|
|
424803
424818
|
const u = this.buildState.get(e.uri.toString());
|
|
424804
|
-
u && (u.result ?? (u.result = {}), u.result.validationChecks ? u.result.validationChecks =
|
|
424819
|
+
u && (u.result ?? (u.result = {}), u.result.validationChecks ? u.result.validationChecks = id(u.result.validationChecks).concat(o.categories).distinct().toArray() : u.result.validationChecks = [...o.categories]);
|
|
424805
424820
|
}
|
|
424806
424821
|
getBuildOptions(e) {
|
|
424807
424822
|
return this.buildState.get(e.uri.toString())?.options ?? {};
|
|
@@ -424817,10 +424832,10 @@ class omo {
|
|
|
424817
424832
|
o.forEach((l) => {
|
|
424818
424833
|
z0.equals(l.targetUri, r) && l.targetPath === n && i.push(l);
|
|
424819
424834
|
});
|
|
424820
|
-
}),
|
|
424835
|
+
}), id(i);
|
|
424821
424836
|
}
|
|
424822
424837
|
allElements(e, n) {
|
|
424823
|
-
let r =
|
|
424838
|
+
let r = id(this.symbolIndex.keys());
|
|
424824
424839
|
return n && (r = r.filter((i) => !n || n.has(i))), r.map((i) => this.getFileDescriptions(i, e)).flat();
|
|
424825
424840
|
}
|
|
424826
424841
|
getFileDescriptions(e, n) {
|
|
@@ -424837,11 +424852,11 @@ class omo {
|
|
|
424837
424852
|
const n = e.toString();
|
|
424838
424853
|
this.referenceIndex.delete(n);
|
|
424839
424854
|
}
|
|
424840
|
-
async updateContent(e, n =
|
|
424855
|
+
async updateContent(e, n = ld.CancellationToken.None) {
|
|
424841
424856
|
const i = await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.collectExportedSymbols(e, n), o = e.uri.toString();
|
|
424842
424857
|
this.symbolIndex.set(o, i), this.symbolByTypeIndex.clear(o);
|
|
424843
424858
|
}
|
|
424844
|
-
async updateReferences(e, n =
|
|
424859
|
+
async updateReferences(e, n = ld.CancellationToken.None) {
|
|
424845
424860
|
const i = await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e, n);
|
|
424846
424861
|
this.referenceIndex.set(e.uri.toString(), i);
|
|
424847
424862
|
}
|
|
@@ -424866,7 +424881,7 @@ class smo {
|
|
|
424866
424881
|
initialized(e) {
|
|
424867
424882
|
return this.mutex.write((n) => this.initializeWorkspace(this.folders ?? [], n));
|
|
424868
424883
|
}
|
|
424869
|
-
async initializeWorkspace(e, n =
|
|
424884
|
+
async initializeWorkspace(e, n = ld.CancellationToken.None) {
|
|
424870
424885
|
const r = await this.performStartup(e);
|
|
424871
424886
|
await oA(n), await this.documentBuilder.build(r, this.initialBuildOptions, n);
|
|
424872
424887
|
}
|
|
@@ -424881,7 +424896,7 @@ class smo {
|
|
|
424881
424896
|
await this.loadAdditionalDocuments(e, r);
|
|
424882
424897
|
const i = [];
|
|
424883
424898
|
await Promise.all(e.map((l) => this.getRootFolder(l)).map(async (l) => this.traverseFolder(l, i)));
|
|
424884
|
-
const o =
|
|
424899
|
+
const o = id(i).distinct((l) => l.toString()).filter((l) => !this.langiumDocuments.hasDocument(l));
|
|
424885
424900
|
return await this.loadWorkspaceDocuments(o, r), this._ready.resolve(), n;
|
|
424886
424901
|
}
|
|
424887
424902
|
async loadWorkspaceDocuments(e, n) {
|
|
@@ -425370,7 +425385,7 @@ class Imo {
|
|
|
425370
425385
|
}
|
|
425371
425386
|
class Tmo {
|
|
425372
425387
|
constructor() {
|
|
425373
|
-
this.previousTokenSource = new
|
|
425388
|
+
this.previousTokenSource = new ld.CancellationTokenSource(), this.writeQueue = [], this.readQueue = [], this.done = !0;
|
|
425374
425389
|
}
|
|
425375
425390
|
write(e) {
|
|
425376
425391
|
this.cancelWrite();
|
|
@@ -425380,7 +425395,7 @@ class Tmo {
|
|
|
425380
425395
|
read(e) {
|
|
425381
425396
|
return this.enqueue(this.readQueue, e);
|
|
425382
425397
|
}
|
|
425383
|
-
enqueue(e, n, r =
|
|
425398
|
+
enqueue(e, n, r = ld.CancellationToken.None) {
|
|
425384
425399
|
const i = new mit(), o = {
|
|
425385
425400
|
action: n,
|
|
425386
425401
|
deferred: i,
|
|
@@ -458994,7 +459009,7 @@ Actual: ` + U.attribValue);
|
|
|
458994
459009
|
function $o(ne, X, se) {
|
|
458995
459010
|
return WA("parse", ne, X, se);
|
|
458996
459011
|
}
|
|
458997
|
-
const Sa = "Inner List", Fd = "Bare Item", zo = "Boolean", Uo = "Byte Sequence", vu = "Date", Bi = "Decimal",
|
|
459012
|
+
const Sa = "Inner List", Fd = "Bare Item", zo = "Boolean", Uo = "Byte Sequence", vu = "Date", Bi = "Decimal", hd = "Integer", qo = `${hd} or ${Bi}`;
|
|
458998
459013
|
function Kr(ne) {
|
|
458999
459014
|
return ne < -999999999999999 || 999999999999999 < ne;
|
|
459000
459015
|
}
|
|
@@ -459117,7 +459132,7 @@ Actual: ` + U.attribValue);
|
|
|
459117
459132
|
return WA("serialize", ne, X, se);
|
|
459118
459133
|
}
|
|
459119
459134
|
function ro(ne) {
|
|
459120
|
-
if (Kr(ne)) throw ta(ne,
|
|
459135
|
+
if (Kr(ne)) throw ta(ne, hd);
|
|
459121
459136
|
return ne.toString();
|
|
459122
459137
|
}
|
|
459123
459138
|
function Go(ne) {
|
|
@@ -459188,7 +459203,7 @@ Actual: ` + U.attribValue);
|
|
|
459188
459203
|
})).join(`,${be}`);
|
|
459189
459204
|
})(ne, X);
|
|
459190
459205
|
}
|
|
459191
|
-
const iot = { MANIFEST: "m", AUDIO: "a", VIDEO: "v", MUXED: "av", INIT: "i", CAPTION: "c", TIMED_TEXT: "tt", KEY: "k", OTHER: "o" }, p_ = "CMCD-Object",
|
|
459206
|
+
const iot = { MANIFEST: "m", AUDIO: "a", VIDEO: "v", MUXED: "av", INIT: "i", CAPTION: "c", TIMED_TEXT: "tt", KEY: "k", OTHER: "o" }, p_ = "CMCD-Object", fd = "CMCD-Request", BI = "CMCD-Session", U1 = "CMCD-Status", oPn = { br: p_, ab: p_, d: p_, ot: p_, tb: p_, tpb: p_, lb: p_, tab: p_, lab: p_, url: p_, pb: fd, bl: fd, tbl: fd, dl: fd, ltc: fd, mtp: fd, nor: fd, nrr: fd, rc: fd, sn: fd, sta: fd, su: fd, ttfb: fd, ttfbb: fd, ttlb: fd, cmsdd: fd, cmsds: fd, smrt: fd, df: fd, cs: fd, ts: fd, cid: BI, pr: BI, sf: BI, sid: BI, st: BI, v: BI, msd: BI, bs: U1, bsd: U1, cdn: U1, rtp: U1, bg: U1, pt: U1, ec: U1, e: U1 }, lke = { OBJECT: p_, REQUEST: fd, SESSION: BI, STATUS: U1 }, oot = "event", wte = (ne) => Math.round(ne), cke = (ne, X) => Array.isArray(ne) ? ne.map(((se) => cke(se, X))) : ne instanceof Fo && typeof ne.value == "string" ? new Fo(cke(ne.value, X), ne.params) : (X.baseUrl && (ne = (function(se, me) {
|
|
459192
459207
|
const ge = new URL(se), be = new URL(me);
|
|
459193
459208
|
if (ge.origin !== be.origin) return se;
|
|
459194
459209
|
const Te = ge.pathname.split("/").slice(1), Ce = be.pathname.split("/").slice(1, -1), ke = Math.min(Te.length, Ce.length);
|
|
@@ -469857,9 +469872,9 @@ Char: ` + Ne[Ze]);
|
|
|
469857
469872
|
Vn(gl, new g.default(m.default.MEDIA_KEY_MESSAGE_LICENSER_ERROR_CODE, m.default.MEDIA_KEY_MESSAGE_LICENSER_ERROR_MESSAGE + $s + ' update, XHR error. status is "' + qo.statusText + '" (' + qo.status + "), readyState is " + qo.readyState));
|
|
469858
469873
|
}, Sa = Mt.getLicenseRequestFromMessage(pc), Fd = Kt.getHTTPMethod(Io), zo = Kt.getResponseType($s, Io), Uo = Hr && !isNaN(Hr.httpTimeout) ? Hr.httpTimeout : 8e3, vu = hi.getSessionId() || null;
|
|
469859
469874
|
let Bi = new h(Na, Fd, zo, Vo, Fo, Io, vu, Sa);
|
|
469860
|
-
const
|
|
469875
|
+
const hd = isNaN(ut.get().streaming.retryAttempts[b.HTTPRequest.LICENSE]) ? 3 : ut.get().streaming.retryAttempts[b.HTTPRequest.LICENSE];
|
|
469861
469876
|
Hi(we.getLicenseRequestFilters(), Bi).then((() => {
|
|
469862
|
-
Cn(Bi,
|
|
469877
|
+
Cn(Bi, hd, Uo, ns, WA, $o);
|
|
469863
469878
|
}));
|
|
469864
469879
|
})(Un, kn, zt);
|
|
469865
469880
|
} else Vn(Ut, new g.default(m.default.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_CODE, m.default.MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_MESSAGE));
|