ompgui 0.5.5 → 0.5.9
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +2 -2
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +6 -6
- package/.next/react-loadable-manifest.json +10 -10
- package/.next/required-server-files.js +2 -3
- package/.next/required-server-files.json +2 -3
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +2 -2
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/agent/[id]/events/route.js +1 -1
- package/.next/server/app/api/app-update/route.js +1 -1
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/all-providers/route.js.nft.json +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/model-roles/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/route.js.nft.json +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js.nft.json +1 -1
- package/.next/server/app/api/omp-settings/route.js +1 -1
- package/.next/server/app/api/providers/enable/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +4 -4
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +9 -7
- package/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login/page.js +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +3 -3
- package/.next/server/app/login.segments/_full.segment.rsc +3 -3
- package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +7 -6
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +2 -2
- package/.next/server/chunks/1448.js +1 -0
- package/.next/server/chunks/3100.js +1 -1
- package/.next/server/chunks/6209.js +2 -2
- package/.next/server/chunks/6465.js +1 -1
- package/.next/server/chunks/714.js +1 -1
- package/.next/server/chunks/8005.js +18 -0
- package/.next/server/chunks/8501.js +1 -1
- package/.next/server/chunks/933.js +2 -2
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/middleware.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/1133.c52cb85df8434dfe.js +1 -0
- package/.next/static/chunks/1441.83552e2540b12edf.js +1 -0
- package/.next/static/chunks/2041.4e10fe5e336c8426.js +17 -0
- package/.next/static/chunks/2201.46326eb058826eb2.js +1 -0
- package/.next/static/chunks/3274.90e0bf3b4004e4d8.js +1 -0
- package/.next/static/chunks/4315-89ce29b4967be748.js +1 -0
- package/.next/static/chunks/6338.d20f504e8890057e.js +1 -0
- package/.next/static/chunks/9668.b217cc6e8f550236.js +1 -0
- package/.next/static/chunks/9981.ba92f0b30bbf53e4.js +1 -0
- package/.next/static/chunks/app/page-77ea00b588788c0d.js +59 -0
- package/.next/static/chunks/webpack-167605108a414cd7.js +1 -0
- package/.next/static/css/{c6eda91f31526945.css → 45214e1537eb75a6.css} +1 -1
- package/README.ja.md +6 -5
- package/README.ko.md +2 -0
- package/README.md +3 -1
- package/README.zh-CN.md +6 -5
- package/bin/ompgui-options.js +7 -3
- package/bin/ompgui-update.js +108 -0
- package/bin/ompgui.js +15 -3
- package/next.config.ts +0 -1
- package/package.json +9 -6
- package/.next/server/chunks/9577.js +0 -18
- package/.next/static/chunks/1133.bacd2a00ac07e041.js +0 -1
- package/.next/static/chunks/2124.34b1219c05f3107a.js +0 -17
- package/.next/static/chunks/2201.b0b6e40a6fc1628a.js +0 -1
- package/.next/static/chunks/3274.2faf978d45b29a27.js +0 -1
- package/.next/static/chunks/4315-e505812d4c93f5ca.js +0 -1
- package/.next/static/chunks/5199.9ec1359b9aa220ab.js +0 -1
- package/.next/static/chunks/9182.b3f6afd537f9c3fe.js +0 -1
- package/.next/static/chunks/9668.b606b2dc0af7c335.js +0 -1
- package/.next/static/chunks/9981.90f200903b3d454f.js +0 -1
- package/.next/static/chunks/app/page-466078f9b2dde78f.js +0 -59
- package/.next/static/chunks/webpack-0d1a53c81efcc873.js +0 -1
- package/bin/omp-web-security.test.mjs +0 -12
- package/bin/ompgui-security.test.mjs +0 -8
- package/bin/process-lifecycle.test.mjs +0 -83
- /package/.next/static/{s4Aqo28yV9VNQbQZFjgh8 → say7tTKCMe35Qg-7bMRZ9}/_buildManifest.js +0 -0
- /package/.next/static/{s4Aqo28yV9VNQbQZFjgh8 → say7tTKCMe35Qg-7bMRZ9}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5199],{2749:(e,t,r)=>{r.d(t,{M:()=>l,z:()=>c});let n=/\p{Lu}?\p{Ll}+|[0-9]+|\p{Lu}+(?!\p{Ll})|\p{Emoji_Presentation}|\p{Extended_Pictographic}|\p{L}+/gu;function o(e){return Array.from(e.match(n)??[]).map(e=>e.toLowerCase()).join("-")}var i=r(12115),l=function(e){var t=(0,i.useId)(),r="lobe-icons-".concat(o(e),"-").concat(t);return(0,i.useMemo)(function(){return{fill:"url(#".concat(r,")"),id:r}},[e])},c=function(e,t){var r=(0,i.useId)();return(0,i.useMemo)(function(){return Array.from({length:t},function(t,n){var i="lobe-icons-".concat(o(e),"-").concat(n,"-").concat(r);return{fill:"url(#".concat(i,")"),id:i}})},[e,t,r])}},7751:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Grok"}),(0,o.jsx)("path",{d:"M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"})]}))})},9312:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Groq"}),(0,o.jsx)("path",{d:"M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z"})]}))})},14489:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"HuggingFace"}),(0,o.jsx)("path",{d:"M2.25 11.535c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0c2.997 1.704 4.844 4.851 4.844 8.258 0 5.266-4.337 9.535-9.687 9.535S2.25 16.8 2.25 11.535z",fill:"#FF9D0B"}),(0,o.jsx)("path",{d:"M11.938 20.086c4.797 0 8.687-3.829 8.687-8.551 0-4.722-3.89-8.55-8.687-8.55-4.798 0-8.688 3.828-8.688 8.55 0 4.722 3.89 8.55 8.688 8.55z",fill:"#FFD21E"}),(0,o.jsx)("path",{d:"M11.875 15.113c2.457 0 3.25-2.156 3.25-3.263 0-.576-.393-.394-1.023-.089-.582.283-1.365.675-2.224.675-1.798 0-3.25-1.693-3.25-.586 0 1.107.79 3.263 3.25 3.263h-.003z",fill:"#FF323D"}),(0,o.jsx)("path",{d:"M14.76 9.21c.32.108.445.753.767.585.447-.233.707-.708.659-1.204a1.235 1.235 0 00-.879-1.059 1.262 1.262 0 00-1.33.394c-.322.384-.377.92-.14 1.36.153.283.638-.177.925-.079l-.002.003zm-5.887 0c-.32.108-.448.753-.768.585a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003zm1.12 5.34a2.166 2.166 0 011.325-1.106c.07-.02.144.06.219.171l.192.306c.069.1.139.175.209.175.074 0 .15-.074.223-.172l.205-.302c.08-.11.157-.188.234-.165.537.168.986.536 1.25 1.026.932-.724 1.275-1.905 1.275-2.633 0-.508-.306-.426-.81-.19l-.616.296c-.52.24-1.148.48-1.824.48-.676 0-1.302-.24-1.823-.48l-.589-.283c-.52-.248-.838-.342-.838.177 0 .703.32 1.831 1.187 2.56l.18.14z",fill:"#3A3B45"}),(0,o.jsx)("path",{d:"M17.812 10.366a.806.806 0 00.813-.8c0-.441-.364-.8-.813-.8a.806.806 0 00-.812.8c0 .442.364.8.812.8zm-11.624 0a.806.806 0 00.812-.8c0-.441-.364-.8-.812-.8a.806.806 0 00-.813.8c0 .442.364.8.813.8zM4.515 13.073c-.405 0-.765.162-1.017.46a1.455 1.455 0 00-.333.925 1.801 1.801 0 00-.485-.074c-.387 0-.737.146-.985.409a1.41 1.41 0 00-.2 1.722 1.302 1.302 0 00-.447.694c-.06.222-.12.69.2 1.166a1.267 1.267 0 00-.093 1.236c.238.533.81.958 1.89 1.405l.24.096c.768.3 1.473.492 1.478.494.89.243 1.808.375 2.732.394 1.465 0 2.513-.443 3.115-1.314.93-1.342.842-2.575-.274-3.763l-.151-.154c-.692-.684-1.155-1.69-1.25-1.912-.195-.655-.71-1.383-1.562-1.383-.46.007-.889.233-1.15.605-.25-.31-.495-.553-.715-.694a1.87 1.87 0 00-.993-.312zm14.97 0c.405 0 .767.162 1.017.46.216.262.333.588.333.925.158-.047.322-.071.487-.074.388 0 .738.146.985.409a1.41 1.41 0 01.2 1.722c.22.178.377.422.445.694.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.238.533-.81.958-1.889 1.405l-.239.096c-.77.3-1.475.492-1.48.494-.89.243-1.808.375-2.732.394-1.465 0-2.513-.443-3.115-1.314-.93-1.342-.842-2.575.274-3.763l.151-.154c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694.244-.162.523-.265.814-.3l.176-.012z",fill:"#FF9D0B"}),(0,o.jsx)("path",{d:"M9.785 20.132c.688-.994.638-1.74-.305-2.667-.945-.928-1.495-2.288-1.495-2.288s-.205-.788-.672-.714c-.468.074-.81 1.25.17 1.971.977.721-.195 1.21-.573.534-.375-.677-1.405-2.416-1.94-2.751-.532-.332-.907-.148-.782.541.125.687 2.357 2.35 2.14 2.707-.218.362-.983-.42-.983-.42S2.953 14.9 2.43 15.46c-.52.558.398 1.026 1.7 1.803 1.308.778 1.41.985 1.225 1.28-.187.295-3.07-2.1-3.34-1.083-.27 1.011 2.943 1.304 2.745 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725 1.075.276 3.813.859 4.77-.522zm4.432 0c-.687-.994-.64-1.74.305-2.667.943-.928 1.493-2.288 1.493-2.288s.205-.788.675-.714c.465.074.807 1.25-.17 1.971-.98.721.195 1.21.57.534.377-.677 1.407-2.416 1.94-2.751.532-.332.91-.148.782.541-.125.687-2.355 2.35-2.137 2.707.215.362.98-.42.98-.42S21.05 14.9 21.57 15.46c.52.558-.395 1.026-1.7 1.803-1.308.778-1.408.985-1.225 1.28.187.295 3.07-2.1 3.34-1.083.27 1.011-2.94 1.304-2.743 2.006.2.7 2.263-1.324 2.685-.537.423.79-2.912 1.718-2.94 1.725-1.077.276-3.815.859-4.77-.522z",fill:"#FFD21E"})]}))})},15315:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Kimi"}),(0,o.jsx)("path",{d:"M21.846 0a1.923 1.923 0 110 3.846H20.15a.226.226 0 01-.227-.226V1.923C19.923.861 20.784 0 21.846 0z",fill:"#1783FF"}),(0,o.jsx)("path",{d:"M11.065 11.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164 0 00-.117.051l-7.82 7.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103 0-.186.103-.186.23V19.77c0 .128.083.23.186.23h2.69c.103 0 .186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158 0 01.205-.023l6.484 4.772a7.677 7.677 0 003.453 1.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028 5.028 0 01-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z",fill:"#fff"})]}))})},19707:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},19805:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},19872:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"OpenRouter"}),(0,o.jsx)("path",{d:"M16.804 1.957l7.22 4.105v.087L16.73 10.21l.017-2.117-.821-.03c-1.059-.028-1.611.002-2.268.11-1.064.175-2.038.577-3.147 1.352L8.345 11.03c-.284.195-.495.336-.68.455l-.515.322-.397.234.385.23.53.338c.476.314 1.17.796 2.701 1.866 1.11.775 2.083 1.177 3.147 1.352l.3.045c.694.091 1.375.094 2.825.033l.022-2.159 7.22 4.105v.087L16.589 22l.014-1.862-.635.022c-1.386.042-2.137.002-3.138-.162-1.694-.28-3.26-.926-4.881-2.059l-2.158-1.5a21.997 21.997 0 00-.755-.498l-.467-.28a55.927 55.927 0 00-.76-.43C2.908 14.73.563 14.116 0 14.116V9.888l.14.004c.564-.007 2.91-.622 3.809-1.124l1.016-.58.438-.274c.428-.28 1.072-.726 2.686-1.853 1.621-1.133 3.186-1.78 4.881-2.059 1.152-.19 1.974-.213 3.814-.138l.02-1.907z"})]}))})},22008:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"MoonshotAI"}),(0,o.jsx)("path",{d:"M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z"})]}))})},25182:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},29167:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Perplexity"}),(0,o.jsx)("path",{d:"M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z",fill:"#22B8CD",fillRule:"nonzero"})]}))})},33889:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(12115),o=r(2749),i="AntGroup",l=r(95155);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=["size","style"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let y=(0,n.memo)(function(e){var t,r=e.size,n=void 0===r?"1em":r,c=e.style,f=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),y=function(e){if(Array.isArray(e))return e}(t=(0,o.z)(i,3))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,l=[],c=!0,u=!1;try{o=(t=t.call(e)).next,!1;for(;!(c=(r=o.call(t)).done)&&(l.push(r.value),3!==l.length);c=!0);}catch(e){u=!0,n=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t)||function(e){if(e){if("string"==typeof e)return s(e,3);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,3)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),b=y[0],p=y[1],v=y[2];return(0,l.jsxs)("svg",a(a({height:n,style:a({flex:"none",lineHeight:1},c),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},f),{},{children:[(0,l.jsx)("title",{children:i}),(0,l.jsx)("path",{d:"M9.797 6.282a.451.451 0 01-.336-.315 1.019 1.019 0 010-.505c.156-.86.3-1.725.501-2.577.14-.7.42-1.367.823-1.96.305-.431.75-.746 1.262-.89.877-.217 1.24.629.937 1.348-.259.593-.877.914-1.334 1.348-.835.795-1.096 2.14-1.336 3.212a.427.427 0 01-.186.277.437.437 0 01-.331.062z",fill:b.fill,transform:"translate(3)"}),(0,l.jsx)("path",{d:"M6.334 4.672c.33-.121.682.146.946.297.278.145.587.219.901.214.231.01.466 0 .688.018 4.098.176 7.484 3.22 8.05 7.237.565 4.016-1.852 7.859-5.745 9.134-3.894 1.276-8.153-.38-10.126-3.935A8.339 8.339 0 013.133 7.081c.348-.278.716-.53 1.102-.755a8.404 8.404 0 001.318-.79c.28-.243.45-.742.781-.864zm4.406 2.15c-2.841.003-4.898 2.533-4.628 5.642.27 3.109 2.781 5.641 5.613 5.665 2.832.024 4.932-2.512 4.658-5.644-.273-3.133-2.802-5.666-5.643-5.663zm.357.57a4.707 4.707 0 013.304 1.446 5.703 5.703 0 011.643 3.49 4.841 4.841 0 01-1.141 3.705v.015a3.923 3.923 0 01-2.808 1.303 4.664 4.664 0 01-3.367-1.387 5.678 5.678 0 01-1.71-3.518 4.832 4.832 0 011.14-3.753 3.923 3.923 0 012.813-1.3h.126z",fill:p.fill,transform:"translate(3)"}),(0,l.jsx)("path",{d:"M2.346 2.054a1.26 1.26 0 01.384-.594.842.842 0 011.165.11c.694.82.169 2.078.142 3.02.013.805.208 1.597.57 2.318.084.134.147.279.186.43a.539.539 0 01-.3.577c-.345.17-.568-.19-.709-.446-.324-.6-.617-1.216-.877-1.846a8.698 8.698 0 01-.618-1.987 7.523 7.523 0 01-.051-.37 3.717 3.717 0 01-.024-.34 2.506 2.506 0 01.132-.872z",fill:v.fill,transform:"translate(3)"}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:b.id,x1:"31.373%",x2:"61.365%",y1:"95.551%",y2:"-.348%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#06F"}),(0,l.jsx)("stop",{offset:"20%",stopColor:"#1677FF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#04A6FF"})]}),(0,l.jsxs)("linearGradient",{id:p.id,x1:"4.366%",x2:"94.359%",y1:"65.982%",y2:"32.918%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#06F"}),(0,l.jsx)("stop",{offset:"20%",stopColor:"#1677FF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#04A6FF"})]}),(0,l.jsxs)("linearGradient",{id:v.id,x1:"56.255%",x2:"45.986%",y1:"99.257%",y2:"1.384%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#06F"}),(0,l.jsx)("stop",{offset:"20%",stopColor:"#1677FF"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#04A6FF"})]})]})]}))})},34166:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Grok"}),(0,o.jsx)("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]}))})},35029:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Fireworks"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z",fill:"#5019C5",fillRule:"evenodd"})]}))})},38158:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},40557:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("book-open",[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]])},41098:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"AWS"}),(0,o.jsx)("path",{d:"M6.763 11.212c0 .296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183 0 .08-.048.16-.152.24l-.503.335a.383.383 0 01-.208.072c-.08 0-.16-.04-.239-.112a2.47 2.47 0 01-.287-.375 6.18 6.18 0 01-.248-.471c-.622.734-1.405 1.101-2.347 1.101-.67 0-1.205-.191-1.596-.574-.39-.384-.59-.894-.59-1.533 0-.678.24-1.23.726-1.644.487-.415 1.133-.623 1.955-.623.272 0 .551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28 0-.568.031-.863.103-.295.072-.583.16-.862.272a2.4 2.4 0 01-.28.104.488.488 0 01-.127.023c-.112 0-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597 0 01.224-.167 4.577 4.577 0 011.005-.36 4.84 4.84 0 011.246-.151c.95 0 1.644.216 2.091.647.44.43.662 1.085.662 1.963v2.586h.016zm-3.24 1.214c.263 0 .534-.048.822-.144a1.78 1.78 0 00.758-.51 1.27 1.27 0 00.272-.512c.047-.191.08-.423.08-.694v-.335a6.66 6.66 0 00-.735-.136 6.02 6.02 0 00-.75-.048c-.535 0-.926.104-1.19.32-.263.215-.39.518-.39.917 0 .375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144 0-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586 6.726a1.398 1.398 0 01-.072-.32c0-.128.064-.2.191-.2h.783c.151 0 .255.025.31.08.065.048.113.16.16.312l1.342 5.284 1.245-5.284c.04-.16.088-.264.151-.312a.549.549 0 01.32-.08h.638c.152 0 .256.025.32.08.063.048.12.16.151.312l1.261 5.348 1.381-5.348c.048-.16.104-.264.16-.312a.52.52 0 01.311-.08h.743c.127 0 .2.065.2.2 0 .04-.009.08-.017.128a1.137 1.137 0 01-.056.2l-1.923 6.17c-.048.16-.104.263-.168.311a.51.51 0 01-.303.08h-.687c-.15 0-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32L12.32 7.747l-1.23 5.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08l-.686.001zm10.256.215c-.415 0-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563 0 01-.048-.224v-.407c0-.167.064-.247.183-.247.048 0 .096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.32.064.63.096.95.096.502 0 .894-.088 1.165-.264a.86.86 0 00.415-.758.777.777 0 00-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902 1.902 0 01-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136 1.006-.136.175 0 .36.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69 0 01.24.2.43.43 0 01.071.263v.375c0 .168-.064.256-.184.256a.83.83 0 01-.303-.096 3.652 3.652 0 00-1.532-.311c-.455 0-.815.071-1.062.223-.248.152-.375.383-.375.71 0 .224.08.416.24.567.16.152.454.304.877.44l1.134.358c.574.184.99.44 1.237.767.247.327.367.702.367 1.117 0 .343-.072.655-.207.926a2.157 2.157 0 01-.583.703c-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167z"}),(0,o.jsx)("path",{d:"M.378 15.475c3.384 1.963 7.56 3.153 11.877 3.153 2.914 0 6.114-.607 9.06-1.852.44-.2.814.287.383.607-2.626 1.94-6.442 2.969-9.722 2.969-4.598 0-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351zm23.531-.2c.287.36-.08 2.826-1.485 4.007-.215.184-.423.088-.327-.151l.175-.439c.343-.88.802-2.198.52-2.555-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36 1.5-1.053 3.967-.75 4.254-.399z",fill:"#F90"})]}))})},48238:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Vercel"}),(0,o.jsx)("path",{d:"M12 0l12 20.785H0L12 0z"})]}))})},55457:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Zhipu"}),(0,o.jsx)("path",{d:"M11.991 23.503a.24.24 0 00-.244.248.24.24 0 00.244.249.24.24 0 00.245-.249.24.24 0 00-.22-.247l-.025-.001zM9.671 5.365a1.697 1.697 0 011.099 2.132l-.071.172-.016.04-.018.054c-.07.16-.104.32-.104.498-.035.71.47 1.279 1.186 1.314h.366c1.309.053 2.338 1.173 2.286 2.523-.052 1.332-1.152 2.38-2.478 2.327h-.174c-.715.018-1.274.64-1.239 1.368 0 .124.018.23.053.337.209.373.54.658.96.8.75.23 1.517-.125 1.9-.782l.018-.035c.402-.64 1.17-.96 1.92-.711.854.284 1.378 1.226 1.099 2.167a1.661 1.661 0 01-2.077 1.102 1.711 1.711 0 01-.907-.711l-.017-.035c-.2-.323-.463-.58-.851-.711l-.056-.018a1.646 1.646 0 00-1.954.746 1.66 1.66 0 01-1.065.764 1.677 1.677 0 01-1.989-1.279c-.209-.906.332-1.83 1.257-2.043a1.51 1.51 0 01.296-.035h.018c.68-.071 1.151-.622 1.116-1.333a1.307 1.307 0 00-.227-.693 2.515 2.515 0 01-.366-1.403 2.39 2.39 0 01.366-1.208c.14-.195.21-.444.227-.693.018-.71-.506-1.261-1.186-1.332l-.07-.018a1.43 1.43 0 01-.299-.07l-.05-.019a1.7 1.7 0 01-1.047-2.114 1.68 1.68 0 012.094-1.101zm-5.575 10.11c.26-.264.639-.367.994-.27.355.096.633.379.728.74.095.362-.007.748-.267 1.013-.402.41-1.053.41-1.455 0a1.062 1.062 0 010-1.482zm14.845-.294c.359-.09.738.024.992.297.254.274.344.665.237 1.025-.107.36-.396.634-.756.718-.551.128-1.1-.22-1.23-.781a1.05 1.05 0 01.757-1.26zm-.064-4.39c.314.32.49.753.49 1.206 0 .452-.176.886-.49 1.206-.315.32-.74.5-1.185.5-.444 0-.87-.18-1.184-.5a1.727 1.727 0 010-2.412 1.654 1.654 0 012.369 0zm-11.243.163c.364.484.447 1.128.218 1.691a1.665 1.665 0 01-2.188.923c-.855-.36-1.26-1.358-.907-2.228a1.68 1.68 0 011.33-1.038c.593-.08 1.183.169 1.547.652zm11.545-4.221c.368 0 .708.2.892.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.892.524c-.568 0-1.03-.47-1.03-1.048 0-.579.462-1.048 1.03-1.048zm-14.358 0c.368 0 .707.2.891.524.184.324.184.724 0 1.048a1.026 1.026 0 01-.891.524c-.569 0-1.03-.47-1.03-1.048 0-.579.461-1.048 1.03-1.048zm10.031-1.475c.925 0 1.675.764 1.675 1.706s-.75 1.705-1.675 1.705-1.674-.763-1.674-1.705c0-.942.75-1.706 1.674-1.706zm-2.626-.684c.362-.082.653-.356.761-.718a1.062 1.062 0 00-.238-1.028 1.017 1.017 0 00-.996-.294c-.547.14-.881.7-.752 1.257.13.558.675.907 1.225.783zm0 16.876c.359-.087.644-.36.75-.72a1.062 1.062 0 00-.237-1.019 1.018 1.018 0 00-.985-.301 1.037 1.037 0 00-.762.717c-.108.361-.017.754.239 1.028.245.263.606.377.953.305l.043-.01zM17.19 3.5a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64a.631.631 0 00-.628.64c0 .355.28.64.628.64zm-10.38 0a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64a.631.631 0 00-.628.64c0 .355.279.64.628.64zm-5.182 7.852a.631.631 0 00-.628.64c0 .354.28.639.628.639a.63.63 0 00.627-.606l.001-.034a.62.62 0 00-.628-.64zm5.182 9.13a.631.631 0 00-.628.64c0 .355.279.64.628.64a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm10.38.018a.631.631 0 00-.628.64c0 .355.28.64.628.64a.631.631 0 00.628-.64c0-.355-.279-.64-.628-.64zm5.182-9.148a.631.631 0 00-.628.64c0 .354.279.639.628.639a.631.631 0 00.628-.64c0-.355-.28-.64-.628-.64zm-.384-4.992a.24.24 0 00.244-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249c0 .142.122.249.244.249zM11.991.497a.24.24 0 00.245-.248A.24.24 0 0011.99 0a.24.24 0 00-.244.249c0 .133.108.236.223.247l.021.001zM2.011 6.36a.24.24 0 00.245-.249.24.24 0 00-.244-.249.24.24 0 00-.244.249.24.24 0 00.244.249zm0 11.263a.24.24 0 00-.243.248.24.24 0 00.244.249.24.24 0 00.244-.249.252.252 0 00-.244-.248zm19.995-.018a.24.24 0 00-.245.248.24.24 0 00.245.25.24.24 0 00.244-.25.252.252 0 00-.244-.248z",fill:"#3859FF",fillRule:"nonzero"})]}))})},57794:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"GithubCopilot"}),(0,o.jsx)("path",{d:"M19.245 5.364c1.322 1.36 1.877 3.216 2.11 5.817.622 0 1.2.135 1.592.654l.73.964c.21.278.323.61.323.955v2.62c0 .339-.173.669-.453.868C20.239 19.602 16.157 21.5 12 21.5c-4.6 0-9.205-2.583-11.547-4.258-.28-.2-.452-.53-.453-.868v-2.62c0-.345.113-.679.321-.956l.73-.963c.392-.517.974-.654 1.593-.654l.029-.297c.25-2.446.81-4.213 2.082-5.52 2.461-2.54 5.71-2.851 7.146-2.864h.198c1.436.013 4.685.323 7.146 2.864zm-7.244 4.328c-.284 0-.613.016-.962.05-.123.447-.305.85-.57 1.108-1.05 1.023-2.316 1.18-2.994 1.18-.638 0-1.306-.13-1.851-.464-.516.165-1.012.403-1.044.996a65.882 65.882 0 00-.063 2.884l-.002.48c-.002.563-.005 1.126-.013 1.69.002.326.204.63.51.765 2.482 1.102 4.83 1.657 6.99 1.657 2.156 0 4.504-.555 6.985-1.657a.854.854 0 00.51-.766c.03-1.682.006-3.372-.076-5.053-.031-.596-.528-.83-1.046-.996-.546.333-1.212.464-1.85.464-.677 0-1.942-.157-2.993-1.18-.266-.258-.447-.661-.57-1.108-.32-.032-.64-.049-.96-.05zm-2.525 4.013c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zm5 0c.539 0 .976.426.976.95v1.753c0 .525-.437.95-.976.95a.964.964 0 01-.976-.95v-1.752c0-.525.437-.951.976-.951zM7.635 5.087c-1.05.102-1.935.438-2.385.906-.975 1.037-.765 3.668-.21 4.224.405.394 1.17.657 1.995.657h.09c.649-.013 1.785-.176 2.73-1.11.435-.41.705-1.433.675-2.47-.03-.834-.27-1.52-.63-1.813-.39-.336-1.275-.482-2.265-.394zm6.465.394c-.36.292-.6.98-.63 1.813-.03 1.037.24 2.06.675 2.47.968.957 2.136 1.104 2.776 1.11h.044c.825 0 1.59-.263 1.995-.657.555-.556.765-3.187-.21-4.224-.45-.468-1.335-.804-2.385-.906-.99-.088-1.875.058-2.265.394zM12 7.615c-.24 0-.525.015-.84.044.03.16.045.336.06.526l-.001.159a2.94 2.94 0 01-.014.25c.225-.022.425-.027.612-.028h.366c.187 0 .387.006.612.028-.015-.146-.015-.277-.015-.409.015-.19.03-.365.06-.526a9.29 9.29 0 00-.84-.044z"})]}))})},64433:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"OpenAI"}),(0,o.jsx)("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z"})]}))})},67381:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Anthropic"}),(0,o.jsx)("path",{d:"M13.827 3.52h3.603L24 20h-3.603l-6.57-16.48zm-7.258 0h3.767L16.906 20h-3.674l-1.343-3.461H5.017l-1.344 3.46H0L6.57 3.522zm4.132 9.959L8.453 7.687 6.205 13.48H10.7z"})]}))})},70350:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Google"}),(0,o.jsx)("path",{d:"M23 12.245c0-.905-.075-1.565-.236-2.25h-10.54v4.083h6.186c-.124 1.014-.797 2.542-2.294 3.569l-.021.136 3.332 2.53.23.022C21.779 18.417 23 15.593 23 12.245z",fill:"#4285F4"}),(0,o.jsx)("path",{d:"M12.225 23c3.03 0 5.574-.978 7.433-2.665l-3.542-2.688c-.948.648-2.22 1.1-3.891 1.1a6.745 6.745 0 01-6.386-4.572l-.132.011-3.465 2.628-.045.124C4.043 20.531 7.835 23 12.225 23z",fill:"#34A853"}),(0,o.jsx)("path",{d:"M5.84 14.175A6.65 6.65 0 015.463 12c0-.758.138-1.491.361-2.175l-.006-.147-3.508-2.67-.115.054A10.831 10.831 0 001 12c0 1.772.436 3.447 1.197 4.938l3.642-2.763z",fill:"#FBBC05"}),(0,o.jsx)("path",{d:"M12.225 5.253c2.108 0 3.529.892 4.34 1.638l3.167-3.031C17.787 2.088 15.255 1 12.225 1 7.834 1 4.043 3.469 2.197 7.062l3.63 2.763a6.77 6.77 0 016.398-4.572z",fill:"#EB4335"})]}))})},71437:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Cohere"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M8.128 14.099c.592 0 1.77-.033 3.398-.703 1.897-.781 5.672-2.2 8.395-3.656 1.905-1.018 2.74-2.366 2.74-4.18A4.56 4.56 0 0018.1 1H7.549A6.55 6.55 0 001 7.55c0 3.617 2.745 6.549 7.128 6.549z",fill:"#39594D",fillRule:"evenodd"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M9.912 18.61a4.387 4.387 0 012.705-4.052l3.323-1.38c3.361-1.394 7.06 1.076 7.06 4.715a5.104 5.104 0 01-5.105 5.104l-3.597-.001a4.386 4.386 0 01-4.386-4.387z",fill:"#D18EE2",fillRule:"evenodd"}),(0,o.jsx)("path",{d:"M4.776 14.962A3.775 3.775 0 001 18.738v.489a3.776 3.776 0 007.551 0v-.49a3.775 3.775 0 00-3.775-3.775z",fill:"#FF7759"})]}))})},74068:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"opencode"}),(0,o.jsx)("path",{d:"M16 6H8v12h8V6zm4 16H4V2h16v20z"})]}))})},74278:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(12115),o=r(2749),i="Qwen",l=r(95155);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=["size","style"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let s=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),f=(0,o.M)(i),s=f.id,y=f.fill;return(0,l.jsxs)("svg",a(a({height:r,style:a({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},c),{},{children:[(0,l.jsx)("title",{children:i}),(0,l.jsx)("path",{d:"M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z",fill:y,fillRule:"nonzero"}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:s,x1:"0%",x2:"100%",y1:"0%",y2:"0%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#6336E7",stopOpacity:".84"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#6F69F7",stopOpacity:".84"})]})})]}))})},78728:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Cerebras"}),(0,o.jsx)("path",{clipRule:"evenodd",d:"M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z",fill:"#F15A29",fillRule:"evenodd"}),(0,o.jsx)("path",{d:"M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z"})]}))})},83546:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"XiaomiMiMo"}),(0,o.jsx)("path",{d:"M.958 15.936a.459.459 0 01.459.44v2.729a.46.46 0 01-.918 0v-2.729a.459.459 0 01.459-.44zm4.814-2.035a.46.46 0 01.553.45v4.754a.458.458 0 11-.918 0V15.48L3.74 17.202a.462.462 0 01-.655.016.462.462 0 01-.065-.082L.628 14.67a.459.459 0 01.658-.637l2.124 2.187 2.127-2.188a.46.46 0 01.235-.13zm2.068.004a.46.46 0 01.458.445v4.755a.46.46 0 01-.458.458.459.459 0 01-.458-.458V14.35a.459.459 0 01.458-.445zm1.973 2.014a.46.46 0 01.46.457v2.729a.46.46 0 01-.784.324.46.46 0 01-.134-.324v-2.729a.46.46 0 01.458-.458zm.002-2.045a.458.458 0 01.328.157l2.127 2.19 2.125-2.19a.459.459 0 01.784.318v4.756a.46.46 0 01-.455.458.46.46 0 01-.458-.458V15.48l-1.667 1.723a.46.46 0 01-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46 0 01-.008-.667.461.461 0 01.338-.128zm6.797 1.206a.46.46 0 01.53.651A1.966 1.966 0 0019.81 18.4a.462.462 0 01.623.18.46.46 0 01-.181.624 2.863 2.863 0 01-1.38.353l-.142-.004a2.88 2.88 0 01-2.393-4.263.461.461 0 01.274-.21zm.864-.931a2.884 2.884 0 013.915 3.914.46.46 0 01-.402.24l-.057-.004a.458.458 0 01-.164-.055.46.46 0 01-.182-.622 1.967 1.967 0 00-2.669-2.67.459.459 0 11-.441-.803zM9.59 6.368c1.481 0 1.696 1.202 1.696 1.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133 0-1.289-.03-1.384-1.136-.082-.932.675-1.61 2.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379 1.012-.567 1.764-.567zm4.427.1c1.263 0 2.082.97 2.083 2.15 0 1.181-.824 2.154-2.083 2.154-1.26 0-2.084-.972-2.084-2.152 0-1.18.82-2.153 2.084-2.153zm6.801.015c.68 0 1.202.465 1.197 1.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628 0-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22 1.22 0 01.947-.516c.398 0 .76.193.982.686a1.321 1.321 0 011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311 8.07l2.14 2.602H4.24L2.725 8.796 1.21 10.672H0L2.138 8.07.13 5.583h1.138l1.458 1.772zm4.149 3.317h-.916V6.644h.916v4.028zm16.99 0h-.916V6.644h.916v4.028zM9.925 8.71c-1.055 0-1.359.412-1.326.742.032.329.324.537.757.537a1.013 1.013 0 001.014-.968l.002-.31h-.447zM14.018 7.3c-.663 0-1.184.487-1.184 1.32 0 .832.52 1.32 1.184 1.32.662 0 1.182-.49 1.182-1.32 0-.832-.52-1.32-1.182-1.32zM6.417 5.001a.568.568 0 01.587.582.588.588 0 01-1.175 0A.57.57 0 016.417 5zm16.991 0a.57.57 0 01.592.582.588.588 0 01-1.174 0 .57.57 0 01.357-.542.572.572 0 01.225-.04z"})]}))})},83709:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({fill:"currentColor",fillRule:"evenodd",height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Z.ai"}),(0,o.jsx)("path",{d:"M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"})]}))})},84604:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(12115),o=r(2749),i="Azure",l=r(95155);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=["size","style"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let y=(0,n.memo)(function(e){var t,r=e.size,n=void 0===r?"1em":r,c=e.style,f=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),y=function(e){if(Array.isArray(e))return e}(t=(0,o.z)(i,3))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,l=[],c=!0,u=!1;try{o=(t=t.call(e)).next,!1;for(;!(c=(r=o.call(t)).done)&&(l.push(r.value),3!==l.length);c=!0);}catch(e){u=!0,n=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(u)throw n}}return l}}(t)||function(e){if(e){if("string"==typeof e)return s(e,3);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,3)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),b=y[0],p=y[1],v=y[2];return(0,l.jsxs)("svg",a(a({height:n,style:a({flex:"none",lineHeight:1},c),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},f),{},{children:[(0,l.jsx)("title",{children:i}),(0,l.jsx)("path",{d:"M7.242 1.613A1.11 1.11 0 018.295.857h6.977L8.03 22.316a1.11 1.11 0 01-1.052.755h-5.43a1.11 1.11 0 01-1.053-1.466L7.242 1.613z",fill:b.fill}),(0,l.jsx)("path",{d:"M18.397 15.296H7.4a.51.51 0 00-.347.882l7.066 6.595c.206.192.477.298.758.298h6.226l-2.706-7.775z",fill:"#0078D4"}),(0,l.jsx)("path",{d:"M15.272.857H7.497L0 23.071h7.775l1.596-4.73 5.068 4.73h6.665l-2.707-7.775h-7.998L15.272.857z",fill:p.fill}),(0,l.jsx)("path",{d:"M17.193 1.613a1.11 1.11 0 00-1.052-.756h-7.81.035c.477 0 .9.304 1.052.756l6.748 19.992a1.11 1.11 0 01-1.052 1.466h-.12 7.895a1.11 1.11 0 001.052-1.466L17.193 1.613z",fill:v.fill}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:b.id,x1:"8.247",x2:"1.002",y1:"1.626",y2:"23.03",children:[(0,l.jsx)("stop",{stopColor:"#114A8B"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#0669BC"})]}),(0,l.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:p.id,x1:"14.042",x2:"12.324",y1:"15.302",y2:"15.888",children:[(0,l.jsx)("stop",{stopOpacity:".3"}),(0,l.jsx)("stop",{offset:".071",stopOpacity:".2"}),(0,l.jsx)("stop",{offset:".321",stopOpacity:".1"}),(0,l.jsx)("stop",{offset:".623",stopOpacity:".05"}),(0,l.jsx)("stop",{offset:"1",stopOpacity:"0"})]}),(0,l.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:v.id,x1:"12.841",x2:"20.793",y1:"1.626",y2:"22.814",children:[(0,l.jsx)("stop",{stopColor:"#3CCBF4"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#2892DF"})]})]})]}))})},85486:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Nvidia"}),(0,o.jsx)("path",{d:"M10.212 8.976V7.62c.127-.01.256-.017.388-.021 3.596-.117 5.957 3.184 5.957 3.184s-2.548 3.647-5.282 3.647a3.227 3.227 0 01-1.063-.175v-4.109c1.4.174 1.681.812 2.523 2.258l1.873-1.627a4.905 4.905 0 00-3.67-1.846 6.594 6.594 0 00-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024 5.002-.174 8.261 4.226 8.261 4.226s-3.743 4.69-7.643 4.69c-.338 0-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057 3.629 0 6.253-1.91 8.794-4.169.421.347 2.146 1.193 2.501 1.564-2.416 2.083-8.048 3.763-11.24 3.763-.308 0-.603-.02-.894-.048V19.5H24v-15H10.21zm0 9.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173 7.173 0 014.287-2.138v1.172h-.005a3.182 3.182 0 00-2.502 1.178s.615 2.276 2.507 2.931m-5.961-3.3c1.436-1.935 3.604-3.148 5.961-3.336V6.523C5.81 6.887 2 10.723 2 10.723s2.158 6.427 8.21 7.015v-1.166C5.77 16 4.25 10.958 4.25 10.958h-.002z",fill:"#74B71B",fillRule:"nonzero"})]}))})},87275:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Mistral"}),(0,o.jsx)("path",{d:"M3.428 3.4h3.429v3.428H3.428V3.4zm13.714 0h3.43v3.428h-3.43V3.4z",fill:"gold"}),(0,o.jsx)("path",{d:"M3.428 6.828h6.857v3.429H3.429V6.828zm10.286 0h6.857v3.429h-6.857V6.828z",fill:"#FFAF00"}),(0,o.jsx)("path",{d:"M3.428 10.258h17.144v3.428H3.428v-3.428z",fill:"#FF8205"}),(0,o.jsx)("path",{d:"M3.428 13.686h3.429v3.428H3.428v-3.428zm6.858 0h3.429v3.428h-3.429v-3.428zm6.856 0h3.43v3.428h-3.43v-3.428z",fill:"#FA500F"}),(0,o.jsx)("path",{d:"M0 17.114h10.286v3.429H0v-3.429zm13.714 0H24v3.429H13.714v-3.429z",fill:"#E10500"})]}))})},88074:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},88195:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"DeepSeek"}),(0,o.jsx)("path",{d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z",fill:"#4D6BFE"})]}))})},89034:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(99537).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},92526:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"Cloudflare"}),(0,o.jsx)("path",{d:"M16.493 17.4c.135-.52.08-.983-.161-1.338-.215-.328-.592-.519-1.05-.519l-8.663-.109a.148.148 0 01-.135-.082c-.027-.054-.027-.109-.027-.163.027-.082.108-.164.189-.164l8.744-.11c1.05-.054 2.153-.9 2.556-1.937l.511-1.31c.027-.055.027-.11.027-.164C17.92 8.91 15.66 7 12.942 7c-2.503 0-4.628 1.638-5.381 3.903a2.432 2.432 0 00-1.803-.491c-1.21.109-2.153 1.092-2.287 2.32-.027.328 0 .628.054.9C1.56 13.688 0 15.326 0 17.319c0 .19.027.355.027.545 0 .082.08.137.161.137h15.983c.08 0 .188-.055.215-.164l.107-.437",fill:"#F38020"}),(0,o.jsx)("path",{d:"M19.238 11.75h-.242c-.054 0-.108.054-.135.109l-.35 1.2c-.134.52-.08.983.162 1.338.215.328.592.518 1.05.518l1.855.11c.054 0 .108.027.135.082.027.054.027.109.027.163-.027.082-.108.164-.188.164l-1.91.11c-1.05.054-2.153.9-2.557 1.937l-.134.355c-.027.055.026.137.107.137h6.592c.081 0 .162-.055.162-.137.107-.41.188-.846.188-1.31-.027-2.62-2.153-4.777-4.762-4.777",fill:"#FCAD32"})]}))})},95476:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(12115),o=r(2749),i="Minimax",l=r(95155);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=["size","style"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let s=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u),f=(0,o.M)(i),s=f.id,y=f.fill;return(0,l.jsxs)("svg",a(a({height:r,style:a({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},c),{},{children:[(0,l.jsx)("title",{children:i}),(0,l.jsx)("defs",{children:(0,l.jsxs)("linearGradient",{id:s,x1:"0%",x2:"100.182%",y1:"50.057%",y2:"50.057%",children:[(0,l.jsx)("stop",{offset:"0%",stopColor:"#E2167E"}),(0,l.jsx)("stop",{offset:"100%",stopColor:"#FE603C"})]})}),(0,l.jsx)("path",{d:"M16.278 2c1.156 0 2.093.927 2.093 2.07v12.501a.74.74 0 00.744.709.74.74 0 00.743-.709V9.099a2.06 2.06 0 012.071-2.049A2.06 2.06 0 0124 9.1v6.561a.649.649 0 01-.652.645.649.649 0 01-.653-.645V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v7.472a2.037 2.037 0 01-2.048 2.026 2.037 2.037 0 01-2.048-2.026v-12.5a.785.785 0 00-.788-.753.785.785 0 00-.789.752l-.001 15.904A2.037 2.037 0 0113.441 22a2.037 2.037 0 01-2.048-2.026V18.04c0-.356.292-.645.652-.645.36 0 .652.289.652.645v1.934c0 .263.142.506.372.638.23.131.514.131.744 0a.734.734 0 00.372-.638V4.07c0-1.143.937-2.07 2.093-2.07zm-5.674 0c1.156 0 2.093.927 2.093 2.07v11.523a.648.648 0 01-.652.645.648.648 0 01-.652-.645V4.07a.785.785 0 00-.789-.78.785.785 0 00-.789.78v14.013a2.06 2.06 0 01-2.07 2.048 2.06 2.06 0 01-2.071-2.048V9.1a.762.762 0 00-.766-.758.762.762 0 00-.766.758v3.8a2.06 2.06 0 01-2.071 2.049A2.06 2.06 0 010 12.9v-1.378c0-.357.292-.646.652-.646.36 0 .653.29.653.646V12.9c0 .418.343.757.766.757s.766-.339.766-.757V9.099a2.06 2.06 0 012.07-2.048 2.06 2.06 0 012.071 2.048v8.984c0 .419.343.758.767.758.423 0 .766-.339.766-.758V4.07c0-1.143.937-2.07 2.093-2.07z",fill:y,fillRule:"nonzero"})]}))})},97283:(e,t,r)=>{r.d(t,{A:()=>f});var n=r(12115),o=r(95155);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["size","style"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var n,o,l;n=e,o=t,l=r[t],(o=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}(o))in n?Object.defineProperty(n,o,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[o]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let f=(0,n.memo)(function(e){var t=e.size,r=void 0===t?"1em":t,n=e.style,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l);return(0,o.jsxs)("svg",u(u({height:r,style:u({flex:"none",lineHeight:1},n),viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},i),{},{children:[(0,o.jsx)("title",{children:"together.ai"}),(0,o.jsx)("path",{d:"M23.197 4.503A6 6 0 0015 2.307a5.973 5.973 0 00-2.995 4.933l5.996.008v.515h-5.996c.039.937.298 1.87.8 2.74a6 6 0 1010.39-6z",fill:"#EF2CC1"}),(0,o.jsx)("path",{d:"M.805 4.5A6 6 0 003 12.697a5.972 5.972 0 005.77.127L5.779 7.627l.446-.257 2.997 5.192A6 6 0 10.804 4.5z",fill:"#CAAEF5"}),(0,o.jsx)("path",{d:"M12 23.894a6 6 0 005.999-6c0-2.13-1.1-3.996-2.775-5.06l-3.005 5.189-.444-.258 2.997-5.192A6 6 0 1012 23.894z",fill:"#FC4C02"})]}))})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9182],{9182:(e,t,i)=>{i.r(t),i.d(t,{SettingsConfig:()=>U});var n=i(95155),s=i(12115),a=i(35893),o=i(37206),r=i(82749),l=i(65377),d=i(35484),c=i(99537);let p=(0,c.A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);var g=i(47603),u=i(78890),h=i(86272),x=i(99314),v=i(92298);let f=(0,c.A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var m=i(31590),b=i(30808),y=i(74519),C=i(4315),j=i(7834),k=i(96793);let w=()=>(0,n.jsx)("div",{role:"status",style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",color:"var(--text-muted)",fontSize:12},children:"Loading settings…"}),S=(0,o.default)(()=>Promise.all([i.e(5199),i.e(3274)]).then(i.bind(i,33274)).then(e=>e.ModelsConfig),{loadableGenerated:{webpack:()=>[33274]},loading:w}),M=(0,o.default)(()=>i.e(9981).then(i.bind(i,99981)).then(e=>e.SkillsConfig),{loadableGenerated:{webpack:()=>[99981]},loading:w}),A=(0,o.default)(()=>i.e(2201).then(i.bind(i,42201)).then(e=>e.PluginsConfig),{loadableGenerated:{webpack:()=>[42201]},loading:w}),P=(0,o.default)(()=>i.e(4473).then(i.bind(i,24473)).then(e=>e.McpConfig),{loadableGenerated:{webpack:()=>[24473]},loading:w}),D=(0,o.default)(()=>i.e(9668).then(i.bind(i,79668)).then(e=>e.AgentsConfig),{loadableGenerated:{webpack:()=>[79668]},ssr:!1}),z={minHeight:32,padding:"4px 28px 4px 10px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",color:"var(--text)",fontSize:12,cursor:"pointer",outline:"none",colorScheme:"dark light"},R={background:"var(--bg-panel)",color:"var(--text)"},T={fontSize:10,padding:"1px 6px",borderRadius:4,background:"var(--bg-subtle)",color:"var(--text-muted)",fontWeight:500};function O(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}let I=(0,s.createContext)(null),N=[{tab:"general",section:"Appearance",label:"Color mode",description:"Choose between light, dark, or system color mode.",scope:"UI"},{tab:"general",section:"Appearance",label:"Theme palette",description:"Select warm paper/ember or canonical OMP birch/graphite palette.",scope:"UI"},{tab:"general",section:"Interface & Behavior",label:"Keep tool calls collapsed",description:"Show only compact headers while tools execute.",scope:"UI"},{tab:"general",section:"Interface & Behavior",label:"Completion sound",description:"Play a tone when the agent completes a run.",scope:"UI"},{tab:"general",section:"Interface & Behavior",label:"Message during active run",description:"What composer does on submit while agent runs. Steer interrupts; Queue follow-up delivers after finish.",scope:"UI"},{tab:"safety",section:"Tool Safety & Approvals",label:"Approval Mode",description:"Choose when OMP asks before tool calls.",scope:"Native OMP"},{tab:"safety",section:"Tool Safety & Approvals",label:"Bash Override",description:"Override default approval policy specifically for terminal commands.",scope:"Native OMP"},{tab:"safety",section:"Tool Safety & Approvals",label:"Extension Tool Requests",description:"Automatically approve extension tool authorization requests.",scope:"Native OMP"},{tab:"models",section:"AI Model Defaults",label:"Reasoning",description:"Default effort level for thinking-capable models.",scope:"Native OMP"},{tab:"models",section:"AI Model Defaults",label:"Verbosity",description:"Response detail level for supporting providers.",scope:"Native OMP"},{tab:"models",section:"AI Model Defaults",label:"Personality",description:"Style included in OMP's system prompt.",scope:"Native OMP"},{tab:"models",section:"AI Model Defaults",label:"Thinking Blocks",description:"Hide model reasoning from output view.",scope:"Native OMP"},{tab:"models",section:"AI Model Defaults",label:"External Thinking",description:"Private scratchpad reasoning via think tool.",scope:"Native OMP"},{tab:"intelligence",section:"Advisor Review",label:"Enable Advisor",description:"Enable Advisor for new sessions with the advisor role.",scope:"Native OMP"},{tab:"intelligence",section:"Advisor Review",label:"Advisor Backlog",description:"Wait briefly when advisor falls behind.",scope:"Native OMP"},{tab:"intelligence",section:"Advisor Review",label:"Review Subagents",description:"Apply Advisor passive review to subagent tasks.",scope:"Native OMP"},{tab:"intelligence",section:"Context Compaction",label:"Automatic Compaction",description:"Compact context before model context limit is hit.",scope:"Native OMP"},{tab:"intelligence",section:"Context Compaction",label:"Continue After Compaction",description:"Resume task execution after compaction completes.",scope:"Native OMP"},{tab:"intelligence",section:"Context Compaction",label:"Maintenance Strategy",description:"Select algorithm used to reduce context pressure.",scope:"Native OMP"},{tab:"intelligence",section:"Context Compaction",label:"Compact Mid-Turn",description:"Check context limits between tool execution steps.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Memory Backend",description:"Where durable knowledge is stored across sessions.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Enable Auto-Learn",description:"Capture reusable lessons after completed runs.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Private Capture Turn",description:"Run private lesson-capture turn at completion.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Memory Scope",description:"Scoping for Mnemopi knowledge storage.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Recall on Session Start",description:"Load relevant memories into first turn.",scope:"Native OMP"},{tab:"intelligence",section:"Memory & Auto-Learn",label:"Retain Completed Turns",description:"Store completed conversation turns in memory.",scope:"Native OMP"},{tab:"intelligence",section:"Automatic Retry",label:"Automatic Retry",description:"Retry failed turns automatically.",scope:"Native OMP"},{tab:"intelligence",section:"Automatic Retry",label:"Max Attempts",description:"Retry limit before giving up.",scope:"Native OMP"},{tab:"intelligence",section:"Automatic Retry",label:"Model Fallback",description:"Fall back to alternative model when retries exhaust.",scope:"Native OMP"},{tab:"mcp",section:"Extensions & Tools",label:"Load Project MCP Servers",description:"Allow project-root MCP configuration to be discovered.",scope:"Native OMP"},{tab:"mcp",section:"Extensions & Tools",label:"Render MCP Markdown",description:"Render non-JSON MCP results as Markdown in transcript.",scope:"Native OMP"},{tab:"mcp",section:"Extensions & Tools",label:"MCP Resource Updates",description:"Inject server resource updates into conversation.",scope:"Native OMP"},{tab:"system",section:"System & Updates",label:"Active session system prompt",description:"Inspect the system prompt used by the active session.",labelKey:"settingsConfig.sessionSystemPrompt",descriptionKey:"settingsConfig.sessionSystemPromptDescription",sectionKey:"settingsConfig.systemUpdates",scope:"Native OMP"}];function W({results:e,query:t,onSelect:i}){return(0,n.jsxs)("div",{style:{flex:1,minHeight:0,overflowY:"auto",background:"var(--bg)",padding:16,display:"flex",flexDirection:"column",gap:10},children:[(0,n.jsx)("div",{style:{fontSize:12.5,color:"var(--text-muted)"},children:0===e.length?`No settings match “${t}”.`:`${e.length} result${1===e.length?"":"s"} for “${t}”.`}),e.map(e=>(0,n.jsxs)("button",{type:"button",onClick:()=>i(e),style:{textAlign:"left",display:"flex",flexDirection:"column",gap:4,padding:"10px 12px",border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",color:"var(--text)",cursor:"pointer",transition:"border-color var(--dur-fast) var(--ease-out-warm), background var(--dur-fast) var(--ease-out-warm)"},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,n.jsx)("span",{style:{fontSize:12.5,fontWeight:600},children:e.label}),"category"===e.kind&&(0,n.jsx)("span",{style:T,children:"Section"}),e.scope&&(0,n.jsx)("span",{style:T,children:e.scope})]}),(0,n.jsx)("div",{style:{fontSize:11,color:"var(--text-muted)",lineHeight:1.45},children:e.description}),e.section&&(0,n.jsx)("div",{style:{fontSize:10,color:"var(--text-dim)"},children:e.section})]},e.id))]})}function E({checked:e,onChange:t,disabled:i}){return(0,n.jsx)("button",{type:"button",role:"switch","aria-checked":e,disabled:i,onClick:()=>t(!e),style:{position:"relative",display:"inline-flex",alignItems:"center",width:36,height:20,borderRadius:10,border:"none",background:e?"var(--accent)":"var(--border)",cursor:i?"not-allowed":"pointer",transition:"background var(--dur-fast) var(--ease-out-warm)",padding:2,flexShrink:0},children:(0,n.jsx)("span",{style:{width:16,height:16,borderRadius:8,background:"var(--on-accent)",transform:e?"translateX(16px)":"translateX(0px)",transition:"transform var(--dur-fast) var(--ease-out-warm)",boxShadow:"var(--shadow-card)"}})})}function H({label:e,description:t,scope:i,compact:a=!1,hideDescription:o=!1,children:r}){let l=(0,s.useRef)(null),d=(0,s.useContext)(I),c=null!==d&&d===O(e);return(0,s.useEffect)(()=>{c&&l.current&&l.current.scrollIntoView({behavior:"smooth",block:"center"})},[c]),(0,n.jsxs)("div",{ref:l,"data-search-id":O(e),style:{minWidth:0,padding:a?"8px 10px":"12px 14px",border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",display:"flex",flexDirection:"column",gap:a?4:8,transition:"box-shadow var(--dur-fast) var(--ease-out-warm), border-color var(--dur-fast) var(--ease-out-warm)",...c?{borderColor:"var(--accent)",boxShadow:"0 0 0 2px var(--accent)"}:{}},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:10,flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,n.jsx)("span",{style:{fontSize:12.5,fontWeight:600,color:"var(--text)"},children:e}),i&&(0,n.jsx)("span",{style:T,children:i})]}),(0,n.jsx)("span",{style:{flexShrink:0},children:r})]}),!o&&(0,n.jsx)("span",{style:{color:"var(--text-muted)",fontSize:a?10.5:11,lineHeight:a?1.3:1.45},children:t})]})}function U({activeTab:e,advisorEnabled:t,onAdvisorChange:i,toolCallsDefaultCollapsed:o,onToolCallsDefaultCollapsedChange:c,cwd:w,sessionId:T,systemPrompt:$,systemPromptLoading:L,onLoadSystemPrompt:V,onModelsSaved:B,onPluginsReloaded:q,onOmpUpdateAvailabilityChange:F,onSelectTab:K,onClose:Y,runtimeReady:G}){let _=(0,m.a)(),{t:J}=(0,C.s9)(),{preference:X,setTheme:Q,palette:Z,setPalette:ee}=(0,k.DP)(),et=null!==w,[ei,en]=(0,s.useState)(""),[es,ea]=(0,s.useState)(null),[eo,er]=(0,s.useState)(()=>(0,a.v)()),[el,ed]=(0,s.useState)(()=>{try{let e=window.localStorage.getItem("ompgui-sound-enabled")||window.localStorage.getItem("omp-sound-enabled");return null===e||"true"===e}catch{return!0}}),[ec,ep]=(0,s.useState)(null),[eg,eu]=(0,s.useState)(!0),[eh,ex]=(0,s.useState)(null),[ev,ef]=(0,s.useState)(!0),[em,eb]=(0,s.useState)(!1),[ey,eC]=(0,s.useState)(null),[ej,ek]=(0,s.useState)(null),[ew,eS]=(0,s.useState)(null),[eM,eA]=(0,s.useState)(0),[eP,eD]=(0,s.useState)(()=>new Set(["general",e])),ez=(0,s.useRef)(null),eR=(0,s.useRef)(!1),eT=(0,s.useRef)(!1);(0,s.useEffect)(()=>{eD(t=>t.has(e)?t:new Set([...t,e]))},[e]),(0,s.useEffect)(()=>{fetch("/api/omp-settings").then(e=>e.ok?e.json():Promise.reject(Error(`HTTP ${e.status}`))).then(e=>{eT.current||ek(e.settings??{})}).catch(e=>eS(e instanceof Error?e.message:String(e)))},[]);let eO=(0,s.useCallback)(e=>{eT.current=!0,ek(e),eS(null),ez.current=e,eR.current||(eR.current=!0,eA(e=>e+1),(async()=>{try{for(;null!==ez.current;){let e=ez.current;ez.current=null;try{let t=await fetch("/api/omp-settings",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({settings:e})}),i=await t.json();if(!t.ok||i.error)throw Error(i.error||`HTTP ${t.status}`);null===ez.current&&ek(i.settings??e)}catch(e){eS(e instanceof Error?e.message:String(e));break}}}finally{eR.current=!1,eA(e=>Math.max(0,e-1))}})())},[]),eI=()=>ez.current??ej??{},eN=e=>{eO({...eI(),...e})},eW=(e,t)=>{let i=ez.current??ej?.[e]??{};eO({...eI(),[e]:{...i,...t}})},eE=e=>{let t=ez.current??ej??{},i=t.tools??{};eO({...t,tools:{...i,approval:{...i.approval??{},...e}}})},eH=(0,s.useCallback)(async()=>{eu(!0),eC(null);try{let e=await fetch("/api/omp-update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"check"})}),t=await e.json();if(!e.ok||t.error)throw Error(t.error||`HTTP ${e.status}`);ep(t),F(t.updateAvailable)}catch(e){eC(e instanceof Error?e.message:String(e))}finally{eu(!1)}},[F]);(0,s.useEffect)(()=>{eH()},[eH]);let eU=(0,s.useCallback)(async(e=!1)=>{ef(!0);try{let t=await fetch(e?"/api/app-update?force=1":"/api/app-update"),i=await t.json();if(!t.ok||i.error)throw Error(i.error||`HTTP ${t.status}`);ex(i)}catch(e){eC(e instanceof Error?e.message:String(e))}finally{ef(!1)}},[]);(0,s.useEffect)(()=>{eU()},[eU]);let e$=(0,s.useCallback)(async()=>{eb(!0);try{let e=await fetch("/api/omp-update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"restart"})}),t=await e.json();if(!e.ok||t.error)throw Error(t.error||`HTTP ${e.status}`);eC(J("settingsConfig.restartSuccess",{count:t.sessionsRestarted??0}))}catch(e){eC(e instanceof Error?e.message:String(e))}finally{eb(!1)}},[J]),eL=(0,y.qc)(e),eV=ei.trim().toLowerCase(),eB=eV.length>0,eq=(0,s.useMemo)(()=>{if(!eV)return[];let e=[];for(let t of y.Dx)`${t.label} ${t.description}`.toLowerCase().includes(eV)&&e.push({id:`tab-${t.id}`,kind:"category",tab:t.id,label:t.label,description:t.description});for(let t of N){let i=t.labelKey?J(t.labelKey):t.label,n=t.descriptionKey?J(t.descriptionKey):t.description,s=t.sectionKey?J(t.sectionKey):t.section;`${i} ${n} ${s}`.toLowerCase().includes(eV)&&e.push({id:O(t.label),kind:"setting",tab:t.tab,label:i,description:n,scope:t.scope,section:s})}return e},[eV,J]),eF=(0,s.useCallback)(e=>{K(e.tab),ea("setting"===e.kind?e.id:null),en("")},[K]);return(0,n.jsx)(b.lG,{open:!0,onOpenChange:e=>{e||Y()},children:(0,n.jsxs)(b.Cf,{ariaLabel:"Settings",style:{width:_?"calc(100vw - 16px)":940,maxWidth:"calc(100vw - 16px)",height:_?"calc(100dvh - 16px)":"82vh",maxHeight:"calc(100dvh - 16px)",padding:0,display:"flex",flexDirection:"column",overflow:"hidden"},children:[(0,n.jsxs)("header",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:_?8:14,padding:_?"10px 14px":"12px 18px",borderBottom:"1px solid var(--border)",background:"var(--bg-panel)",flexShrink:0},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,n.jsx)(b.L3,{style:{fontSize:16,margin:0,fontWeight:600},children:J("settingsConfig.title")}),eM>0?(0,n.jsxs)("span",{style:{fontSize:11,color:"var(--accent)",padding:"2px 8px",borderRadius:10,background:"var(--bg-subtle)",display:"inline-flex",alignItems:"center",gap:4},children:[(0,n.jsx)(r.A,{size:11,className:"spin","aria-hidden":"true"})," ",J("settingsConfig.saving")]}):(0,n.jsx)("span",{style:{fontSize:11,color:"var(--text-dim)",padding:"2px 8px",borderRadius:10,background:"var(--bg-subtle)"},children:J("settingsConfig.autoSaved")})]}),(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,flex:1,maxWidth:360,justifyContent:"flex-end"},children:[(0,n.jsxs)("div",{style:{position:"relative",width:"100%",maxWidth:260},children:[(0,n.jsx)(l.A,{size:13,"aria-hidden":"true",style:{position:"absolute",left:9,top:"50%",transform:"translateY(-50%)",color:"var(--text-muted)",pointerEvents:"none"}}),(0,n.jsx)("input",{type:"text","aria-label":J("settingsConfig.searchAria"),placeholder:J("settingsConfig.searchPlaceholder"),value:ei,onChange:e=>en(e.target.value),onKeyDown:e=>{"Escape"===e.key&&(en(""),ea(null),e.target.blur())},style:{width:"100%",height:28,padding:"0 8px 0 28px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",color:"var(--text)",fontSize:12,outline:"none"}})]}),(0,n.jsx)("button",{type:"button",onClick:Y,"aria-label":J("settingsConfig.close"),style:{background:"none",border:"none",color:"var(--text-muted)",cursor:"pointer",fontSize:20,lineHeight:1,padding:"2px 6px"},children:"\xd7"})]})]}),(0,n.jsx)("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:_?"column":"row",overflow:"hidden"},children:eB?(0,n.jsx)(W,{results:eq,query:ei.trim(),onSelect:eF}):(0,n.jsxs)(I.Provider,{value:es,children:[_?(0,n.jsx)(y.mm,{active:eL,onSelect:K,workspaceReady:et,layout:"horizontal"}):(0,n.jsx)(y.mm,{active:eL,onSelect:K,workspaceReady:et,layout:"vertical"}),(0,n.jsxs)("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",overflowY:"auto",background:"var(--bg)"},children:[ew&&(0,n.jsxs)("div",{role:"alert",style:{margin:16,padding:"10px 14px",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",border:"1px solid var(--status-error)",color:"var(--status-error)",fontSize:12,display:"flex",alignItems:"center",gap:8},children:[(0,n.jsx)(d.A,{size:14,"aria-hidden":"true"})," ",ew]}),"general"===eL&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-general","aria-labelledby":"settings-tab-general",style:{padding:20,display:"flex",flexDirection:"column",gap:16},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{fontSize:14,fontWeight:600,margin:0},children:J("settingsConfig.generalTitle")}),(0,n.jsx)("p",{style:{margin:"4px 0 0",fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.generalDescription")})]}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.themeMode"),description:J("settingsConfig.themeModeDesc"),scope:"UI",children:(0,n.jsx)("div",{role:"radiogroup","aria-label":J("settingsConfig.themeMode"),style:{display:"inline-flex",alignItems:"center",gap:2,padding:2,background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-control)"},children:["system","light","dark"].map(e=>{let t=X===e,i="system"===e?J("settingsConfig.themeModeSystem"):"light"===e?J("settingsConfig.themeModeLight"):J("settingsConfig.themeModeDark"),s="system"===e?p:"light"===e?g.A:u.A;return(0,n.jsxs)("button",{type:"button",className:"ui-focus-ring",role:"radio","aria-checked":t,onClick:()=>Q(e),title:i,style:{display:"inline-flex",alignItems:"center",gap:4,height:24,padding:"0 8px",border:"none",borderRadius:"calc(var(--radius-control) - 2px)",background:t?"var(--bg-selected)":"transparent",color:t?"var(--text)":"var(--text-muted)",fontWeight:t?600:500,fontSize:11,cursor:"pointer",transition:"background var(--dur-fast) var(--ease-out-warm), color var(--dur-fast) var(--ease-out-warm)",outline:"none"},children:[(0,n.jsx)(s,{size:12,"aria-hidden":"true",style:{color:t?"var(--accent)":"currentColor",flexShrink:0}}),(0,n.jsx)("span",{children:i})]},e)})})}),(0,n.jsx)(H,{label:J("settingsConfig.themePalette"),description:J("settingsConfig.themePaletteDesc"),scope:"UI",children:(0,n.jsx)("div",{role:"radiogroup","aria-label":J("settingsConfig.themePalette"),style:{display:"inline-flex",alignItems:"center",gap:2,padding:2,background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-control)"},children:["warm","omp"].map(e=>{let t=Z===e,i="warm"===e?J("settingsConfig.paletteWarm"):J("settingsConfig.paletteOmp");return(0,n.jsxs)("button",{type:"button",className:"ui-focus-ring",role:"radio","aria-checked":t,onClick:()=>ee(e),title:i,style:{display:"inline-flex",alignItems:"center",gap:5,height:24,padding:"0 8px",border:"none",borderRadius:"calc(var(--radius-control) - 2px)",background:t?"var(--bg-selected)":"transparent",color:t?"var(--text)":"var(--text-muted)",fontWeight:t?600:500,fontSize:11,cursor:"pointer",transition:"background var(--dur-fast) var(--ease-out-warm), color var(--dur-fast) var(--ease-out-warm)",outline:"none"},children:[(0,n.jsxs)("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",gap:2.5,padding:"2px 3px",borderRadius:3,background:"var(--bg-subtle)",flexShrink:0},children:[(0,n.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:`var(--palette-${e}-preview-bg)`,border:"1px solid var(--border)",flexShrink:0}}),(0,n.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:`var(--palette-${e}-preview-panel)`,border:"1px solid var(--border)",flexShrink:0}}),(0,n.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:`var(--palette-${e}-preview-accent)`,flexShrink:0}})]}),(0,n.jsx)("span",{children:i})]},e)})})})]}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.toolCallsCollapsed"),description:J("settingsConfig.toolCallsCollapsedDesc"),scope:"UI",children:(0,n.jsx)(E,{checked:o,onChange:c})}),(0,n.jsx)(H,{label:J("settingsConfig.completionSound"),description:J("settingsConfig.completionSoundDesc"),scope:"UI",children:(0,n.jsx)(E,{checked:el,onChange:e=>{ed(e);try{localStorage.setItem("ompgui-sound-enabled",String(e))}catch{}window.dispatchEvent(new CustomEvent("omp-sound-pref-change",{detail:e}))}})})]}),(0,n.jsx)(H,{label:J("settingsConfig.submitBehavior"),description:J("settingsConfig.submitBehaviorDesc"),scope:"UI",children:(0,n.jsxs)("select",{style:z,value:eo,onChange:e=>{let t=e.target.value;(0,a.t)(t),er(t)},children:[(0,n.jsx)("option",{value:"steer",style:R,children:J("settingsConfig.steerCurrent")}),(0,n.jsx)("option",{value:"queue",style:R,children:J("settingsConfig.queueFollowUp")})]})})]}),"agents"===eL&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-agents","aria-labelledby":"settings-tab-agents",style:{padding:_?"12px 14px":20,display:"flex",flexDirection:"column",gap:16,minHeight:0},children:[(0,n.jsx)(H,{label:J("settingsConfig.preferTaskDelegation"),description:J("settingsConfig.preferTaskDelegationDesc"),scope:"Native OMP",compact:!0,hideDescription:_,children:(0,n.jsxs)("select",{style:z,value:ej?.task?.eager??"default",onChange:e=>eW("task",{eager:e.target.value}),children:[(0,n.jsx)("option",{value:"default",style:R,children:J("settingsConfig.delegationDefault")}),(0,n.jsx)("option",{value:"preferred",style:R,children:J("settingsConfig.delegationPreferred")}),(0,n.jsx)("option",{value:"always",style:R,children:J("settingsConfig.delegationAlways")})]})}),(0,n.jsx)(D,{cwd:w??void 0,onSaved:B,isMobile:_,embedded:!0})]}),"safety"===eL&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-safety","aria-labelledby":"settings-tab-safety",style:{padding:_?"12px 14px":20,display:"flex",flexDirection:"column",gap:16},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{fontSize:14,fontWeight:600,margin:0},children:J("settingsConfig.safetyTitle")}),(0,n.jsx)("p",{style:{margin:"4px 0 0",fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.safetyDescription")})]}),(0,n.jsx)(H,{label:J("settingsConfig.approvalMode"),description:J("settingsConfig.approvalModeDesc"),scope:"Native OMP",compact:!0,hideDescription:_,children:(0,n.jsxs)("select",{style:z,value:ej?.tools?.approvalMode??"yolo",onChange:e=>eW("tools",{approvalMode:e.target.value}),children:[(0,n.jsx)("option",{value:"always-ask",style:R,children:J("settingsConfig.approvalAlwaysAsk")}),(0,n.jsx)("option",{value:"write",style:R,children:J("settingsConfig.approvalWrite")}),(0,n.jsx)("option",{value:"yolo",style:R,children:J("settingsConfig.approvalYolo")})]})}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.bashApproval"),description:J("settingsConfig.bashApprovalDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.tools?.approval?.bash??"prompt",onChange:e=>eE({bash:e.target.value}),children:[(0,n.jsx)("option",{value:"allow",style:R,children:J("settingsConfig.allow")}),(0,n.jsx)("option",{value:"prompt",style:R,children:J("settingsConfig.alwaysAsk")}),(0,n.jsx)("option",{value:"deny",style:R,children:J("settingsConfig.deny")})]})}),(0,n.jsx)(H,{label:J("settingsConfig.extensionApproval"),description:J("settingsConfig.extensionApprovalDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.tools?.approval?.extension??"prompt",onChange:e=>eE({extension:e.target.value}),children:[(0,n.jsx)("option",{value:"prompt",style:R,children:J("settingsConfig.askEveryTime")}),(0,n.jsx)("option",{value:"allow",style:R,children:J("settingsConfig.autoApprove")})]})})]})]}),("models"===e||"models"===eL)&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-models","aria-labelledby":"settings-tab-models",style:{padding:20,display:"flex",flexDirection:"column",gap:16},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{fontSize:14,fontWeight:600,margin:0},children:J("settingsConfig.modelsTitle")}),(0,n.jsx)("p",{style:{margin:"4px 0 0",fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.modelsDescription")})]}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.reasoning"),description:J("settingsConfig.reasoningDesc"),scope:"Native OMP",children:(0,n.jsx)("select",{style:z,value:ej?.defaultThinkingLevel??"high",onChange:e=>eN({defaultThinkingLevel:e.target.value}),children:["auto","minimal","low","medium","high","xhigh","max"].map(e=>(0,n.jsx)("option",{value:e,style:R,children:e},e))})}),(0,n.jsx)(H,{label:J("settingsConfig.verbosity"),description:J("settingsConfig.verbosityDesc"),scope:"Native OMP",children:(0,n.jsx)("select",{style:z,value:ej?.textVerbosity??"medium",onChange:e=>eN({textVerbosity:e.target.value}),children:["low","medium","high"].map(e=>(0,n.jsx)("option",{value:e,style:R,children:e},e))})}),(0,n.jsx)(H,{label:J("settingsConfig.personality"),description:J("settingsConfig.personalityDesc"),scope:"Native OMP",children:(0,n.jsx)("select",{style:z,value:ej?.personality??"default",onChange:e=>eN({personality:e.target.value}),children:["default","friendly","pragmatic","none"].map(e=>(0,n.jsx)("option",{value:e,style:R,children:e},e))})}),(0,n.jsx)(H,{label:J("settingsConfig.hideThinking"),description:J("settingsConfig.hideThinkingDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.hideThinkingBlock??!1,onChange:e=>eN({hideThinkingBlock:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.externalThinking"),description:J("settingsConfig.externalThinkingDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.externalThinking??!1,onChange:e=>eN({externalThinking:e})})})]})]}),(eP.has("providers")||eP.has("models"))&&(0,n.jsx)("div",{role:"tabpanel",id:"settings-panel-providers","aria-labelledby":"settings-tab-providers",style:{display:"providers"===eL||"providers"===e?"flex":"none",height:"100%",minHeight:0,flexDirection:"column"},children:(0,n.jsx)(S,{embedded:!0,onClose:Y,onSaved:B})}),"intelligence"===eL&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-intelligence","aria-labelledby":"settings-tab-intelligence",style:{padding:20,display:"flex",flexDirection:"column",gap:18},children:[(0,n.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:10},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,fontSize:13,fontWeight:600},children:[(0,n.jsx)(h.A,{size:14,"aria-hidden":"true",style:{color:"var(--accent)"}})," ",J("settingsConfig.advisorReview")]}),(0,n.jsx)("p",{style:{margin:0,color:"var(--text-muted)",fontSize:12},children:J("settingsConfig.advisorReviewDesc")}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.enableAdvisor"),description:J("settingsConfig.enableAdvisorDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.advisor?.enabled??t,onChange:e=>{i(e),eW("advisor",{enabled:e})}})}),(ej?.advisor?.enabled??t)&&(0,n.jsx)(H,{label:J("settingsConfig.advisorBacklog"),description:J("settingsConfig.advisorBacklogDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.advisor?.syncBacklog??"off",onChange:e=>eW("advisor",{syncBacklog:e.target.value}),children:[(0,n.jsx)("option",{value:"off",style:R,children:J("settingsConfig.backlogOff")}),(0,n.jsx)("option",{value:"1",style:R,children:J("settingsConfig.backlog1")}),(0,n.jsx)("option",{value:"3",style:R,children:J("settingsConfig.backlog3")}),(0,n.jsx)("option",{value:"5",style:R,children:J("settingsConfig.backlog5")})]})})]}),(ej?.advisor?.enabled??t)&&(0,n.jsx)(H,{label:J("settingsConfig.reviewSubagents"),description:J("settingsConfig.reviewSubagentsDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.advisor?.subagents??!1,onChange:e=>eW("advisor",{subagents:e})})})]}),(0,n.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:10,borderTop:"1px solid var(--border)",paddingTop:16},children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600},children:J("settingsConfig.contextCompaction")}),(0,n.jsx)("p",{style:{margin:0,color:"var(--text-muted)",fontSize:12},children:J("settingsConfig.contextCompactionDesc")}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.autoCompaction"),description:J("settingsConfig.autoCompactionDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.compaction?.enabled??!0,onChange:e=>eW("compaction",{enabled:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.autoContinueCompaction"),description:J("settingsConfig.autoContinueCompactionDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.compaction?.autoContinue??!0,onChange:e=>eW("compaction",{autoContinue:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.compactionStrategy"),description:J("settingsConfig.compactionStrategyDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.compaction?.strategy??"snapcompact",onChange:e=>eW("compaction",{strategy:e.target.value}),children:[(0,n.jsx)("option",{value:"snapcompact",style:R,children:"Snapcompact"}),(0,n.jsx)("option",{value:"handoff",style:R,children:"Handoff"}),(0,n.jsx)("option",{value:"context-full",style:R,children:"Context full"}),(0,n.jsx)("option",{value:"shake",style:R,children:"Shake"}),(0,n.jsx)("option",{value:"off",style:R,children:"Off"})]})}),(0,n.jsx)(H,{label:J("settingsConfig.compactMidTurn"),description:J("settingsConfig.compactMidTurnDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.compaction?.midTurnEnabled??!0,onChange:e=>eW("compaction",{midTurnEnabled:e})})})]})]}),(0,n.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:10,borderTop:"1px solid var(--border)",paddingTop:16},children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600},children:J("settingsConfig.memoryAndAutoLearn")}),(0,n.jsx)("p",{style:{margin:0,color:"var(--text-muted)",fontSize:12},children:J("settingsConfig.memoryAndAutoLearnDesc")}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.memoryBackend"),description:J("settingsConfig.memoryBackendDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.memory?.backend??"mnemopi",onChange:e=>eW("memory",{backend:e.target.value}),children:[(0,n.jsx)("option",{value:"off",style:R,children:J("settingsConfig.backlogOff")}),(0,n.jsx)("option",{value:"local",style:R,children:J("settingsConfig.memoryLocal")}),(0,n.jsx)("option",{value:"mnemopi",style:R,children:J("settingsConfig.memoryMnemopi")}),(0,n.jsx)("option",{value:"hindsight",style:R,children:J("settingsConfig.memoryHindsight")})]})}),(0,n.jsx)(H,{label:J("settingsConfig.enableAutolearn"),description:J("settingsConfig.enableAutolearnDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.autolearn?.enabled??!0,onChange:e=>eW("autolearn",{enabled:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.privateCaptureTurn"),description:J("settingsConfig.privateCaptureTurnDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.autolearn?.autoContinue??!0,onChange:e=>eW("autolearn",{autoContinue:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.memoryScope"),description:J("settingsConfig.memoryScopeDesc"),scope:"Native OMP",children:(0,n.jsxs)("select",{style:z,value:ej?.mnemopi?.scoping??"per-project",onChange:e=>eW("mnemopi",{scoping:e.target.value}),children:[(0,n.jsx)("option",{value:"per-project",style:R,children:J("settingsConfig.scopePerProject")}),(0,n.jsx)("option",{value:"per-project-tagged",style:R,children:J("settingsConfig.scopePerProjectTagged")}),(0,n.jsx)("option",{value:"global",style:R,children:J("settingsConfig.scopeGlobal")})]})}),(0,n.jsx)(H,{label:J("settingsConfig.autoRecall"),description:J("settingsConfig.autoRecallDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.mnemopi?.autoRecall??!0,onChange:e=>eW("mnemopi",{autoRecall:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.autoRetain"),description:J("settingsConfig.autoRetainDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.mnemopi?.autoRetain??!0,onChange:e=>eW("mnemopi",{autoRetain:e})})})]})]}),(0,n.jsxs)("section",{style:{display:"flex",flexDirection:"column",gap:10,borderTop:"1px solid var(--border)",paddingTop:16},children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600},children:J("settingsConfig.autoRetry")}),(0,n.jsx)("p",{style:{margin:0,color:"var(--text-muted)",fontSize:12},children:J("settingsConfig.autoRetryDesc")}),(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.enableRetry"),description:J("settingsConfig.enableRetryDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.retry?.enabled??!0,onChange:e=>eW("retry",{enabled:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.maxAttempts"),description:J("settingsConfig.maxAttemptsDesc"),scope:"Native OMP",children:(0,n.jsx)("select",{style:z,value:String(ej?.retry?.maxRetries??2),onChange:e=>eW("retry",{maxRetries:Number(e.target.value)}),children:[0,1,2,3,4,5].map(e=>(0,n.jsx)("option",{value:e,style:R,children:e},e))})}),(0,n.jsx)(H,{label:J("settingsConfig.modelFallback"),description:J("settingsConfig.modelFallbackDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.retry?.modelFallback??!1,onChange:e=>eW("retry",{modelFallback:e})})})]})]})]}),(eP.has("mcp")||eP.has("skills")||eP.has("plugins"))&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-mcp","aria-labelledby":"settings-tab-mcp",style:{display:"mcp"===eL?"flex":"none",height:"100%",minHeight:0,flexDirection:"column",overflowY:"auto",padding:20,gap:16},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{fontSize:14,fontWeight:600,margin:0},children:J("settingsConfig.mcpTitle")}),(0,n.jsx)("p",{style:{margin:"4px 0 0",fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.mcpDescription")})]}),w&&(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:_?"1fr":"repeat(2, minmax(0, 1fr))",gap:10},children:[(0,n.jsx)(H,{label:J("settingsConfig.loadProjectMcp"),description:J("settingsConfig.loadProjectMcpDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.mcp?.enableProjectConfig??!0,onChange:e=>eW("mcp",{enableProjectConfig:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.renderMcpMarkdown"),description:J("settingsConfig.renderMcpMarkdownDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.mcp?.renderMarkdownResults??!0,onChange:e=>eW("mcp",{renderMarkdownResults:e})})}),(0,n.jsx)(H,{label:J("settingsConfig.mcpResourceUpdates"),description:J("settingsConfig.mcpResourceUpdatesDesc"),scope:"Native OMP",children:(0,n.jsx)(E,{checked:ej?.mcp?.notifications??!1,onChange:e=>eW("mcp",{notifications:e})})})]}),(0,n.jsx)(P,{cwd:w,sessionId:T}),!w&&(0,n.jsx)("p",{style:{margin:0,color:"var(--text-muted)",fontSize:12},children:J("settingsConfig.noWorkspaceMcpHint")})]}),w&&eP.has("skills")&&(0,n.jsx)("div",{role:"tabpanel",id:"settings-panel-skills","aria-labelledby":"settings-tab-skills",style:{display:"skills"===e?"flex":"none",height:"100%",minHeight:0,flexDirection:"column"},children:(0,n.jsx)(M,{embedded:!0,cwd:w,onClose:Y})}),w&&eP.has("plugins")&&(0,n.jsx)("div",{role:"tabpanel",id:"settings-panel-plugins","aria-labelledby":"settings-tab-plugins",style:{display:"plugins"===e?"flex":"none",height:"100%",minHeight:0,flexDirection:"column"},children:(0,n.jsx)(A,{embedded:!0,cwd:w,sessionId:T,onClose:Y,onReloaded:q,runtimeReady:G})}),"system"===eL&&(0,n.jsxs)("div",{role:"tabpanel",id:"settings-panel-system","aria-labelledby":"settings-tab-system",style:{padding:20,display:"flex",flexDirection:"column",gap:18},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{style:{fontSize:14,fontWeight:600,margin:0},children:J("settingsConfig.systemUpdates")}),(0,n.jsx)("p",{style:{margin:"4px 0 0",fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.systemUpdatesDescription")})]}),(0,n.jsxs)("section",{"data-search-id":O("Active session system prompt"),style:{padding:"var(--space-5)",border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",display:"flex",flexDirection:"column",gap:"var(--space-4)",...es===O("Active session system prompt")?{borderColor:"var(--accent)",boxShadow:"0 0 0 2px var(--accent)"}:{}},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"var(--space-4)",flexWrap:"wrap"},children:[(0,n.jsxs)("div",{style:{minWidth:0,flex:1},children:[(0,n.jsx)("div",{style:{fontSize:"var(--text-md)",fontWeight:650},children:J("settingsConfig.sessionSystemPrompt")}),(0,n.jsx)("div",{style:{marginTop:"var(--space-1)",color:"var(--text-muted)",fontSize:"var(--text-sm)",lineHeight:1.45},children:J("settingsConfig.sessionSystemPromptDescription")})]}),(0,n.jsxs)("button",{type:"button",onClick:V,disabled:!T||L,"aria-label":J("settingsConfig.systemPromptActionAria"),style:{display:"inline-flex",alignItems:"center",gap:"var(--space-2)",flexShrink:0,padding:"var(--space-3) var(--space-4)",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",color:"var(--text)",cursor:!T||L?"not-allowed":"pointer",opacity:!T||L?.65:1,fontSize:"var(--text-sm)"},children:[(0,n.jsx)(r.A,{size:13,"aria-hidden":"true",className:L?"spin":void 0}),L?J("settingsConfig.systemPromptLoading"):null===$?J("settingsConfig.loadSystemPrompt"):J("settingsConfig.reloadSystemPrompt")]})]}),(0,n.jsx)("div",{"aria-live":"polite","aria-busy":L,style:{minHeight:"var(--control-height-lg)",maxHeight:"45dvh",overflowY:"auto",padding:"var(--space-4)",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",color:"var(--text-muted)",fontSize:"var(--text-sm)",lineHeight:1.5},children:L?(0,n.jsx)("div",{role:"status",children:J("settingsConfig.systemPromptLoading")}):T?null===$?(0,n.jsx)("div",{style:{fontStyle:"italic"},children:J("settingsConfig.systemPromptUnavailable")}):0===$.length?(0,n.jsx)("div",{style:{fontStyle:"italic"},children:J("settingsConfig.systemPromptEmpty")}):(0,n.jsx)("pre",{"aria-label":J("settingsConfig.sessionSystemPrompt"),style:{margin:0,color:"var(--text)",fontFamily:"var(--font-mono)",fontSize:"var(--text-sm)",lineHeight:1.5,whiteSpace:"pre-wrap",overflowWrap:"anywhere"},children:$}):(0,n.jsx)("div",{style:{fontStyle:"italic"},children:J("settingsConfig.systemPromptNoSession")})})]}),(0,n.jsxs)("section",{style:{padding:14,border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",display:"flex",flexDirection:"column",gap:10},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:12},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600},children:J("settingsConfig.appLabel")}),(0,n.jsx)("div",{style:{marginTop:4,color:eh?.updateAvailable?"var(--accent)":"var(--text-muted)",fontFamily:"var(--font-mono)",fontSize:12},children:ev?J("settingsConfig.checkingUpdates"):eh?.updateAvailable?J("appShell.updateVersion",{current:eh.currentVersion??"?",available:eh.availableVersion??"?"}):eh?.currentVersion?J("settingsConfig.upToDate",{version:eh.currentVersion}):J("settingsConfig.versionUnavailable")})]}),(0,n.jsxs)("button",{type:"button",onClick:()=>void eU(!0),disabled:ev,"aria-label":J("settingsConfig.checkAppUpdates"),style:{padding:"6px 10px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"transparent",color:"var(--text)",cursor:ev?"wait":"pointer",fontSize:12,display:"inline-flex",alignItems:"center",gap:5},children:[(0,n.jsx)(r.A,{size:13,"aria-hidden":"true"})," ",J("settingsConfig.refresh")]})]}),eh?.updateAvailable&&(0,n.jsxs)("div",{style:{marginTop:6,padding:"10px 12px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",display:"flex",flexDirection:"column",gap:6},children:[(0,n.jsx)("div",{style:{fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.runAppUpdateCommand")}),(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,n.jsx)("code",{style:{flex:1,fontFamily:"var(--font-mono)",fontSize:12,color:"var(--accent)",wordBreak:"break-all"},children:eh.updateCommand||"npm install -g ompgui"}),(0,n.jsxs)("button",{type:"button",onClick:()=>{(0,j.D)(eh.updateCommand||"npm install -g ompgui").then(()=>eC(J("appShell.commandCopied"))).catch(()=>eC(J("appShell.commandCopyFailed")))},style:{display:"inline-flex",alignItems:"center",gap:5,padding:"4px 8px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg-subtle)",color:"var(--text)",cursor:"pointer",fontSize:11},children:[(0,n.jsx)(x.A,{size:12,"aria-hidden":"true"})," ",J("appShell.copyCommand")]})]})]})]}),(0,n.jsxs)("section",{style:{padding:14,border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",display:"flex",flexDirection:"column",gap:10},children:[(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:12},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{style:{fontSize:13,fontWeight:600},children:J("settingsConfig.ompLabel")}),(0,n.jsx)("div",{style:{marginTop:4,color:ec?.updateAvailable?"var(--accent)":"var(--text-muted)",fontFamily:"var(--font-mono)",fontSize:12},children:eg?J("settingsConfig.checkingUpdates"):ec?.updateAvailable?J("appShell.updateVersion",{current:ec.currentVersion??"?",available:ec.availableVersion??"?"}):ec?.currentVersion?J("settingsConfig.upToDate",{version:ec.currentVersion}):J("settingsConfig.versionUnavailable")})]}),(0,n.jsxs)("button",{type:"button",onClick:()=>void eH(),disabled:eg,"aria-label":J("settingsConfig.checkOmpUpdates"),style:{padding:"6px 10px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"transparent",color:"var(--text)",cursor:eg?"wait":"pointer",fontSize:12,display:"inline-flex",alignItems:"center",gap:5},children:[(0,n.jsx)(r.A,{size:13,"aria-hidden":"true"})," ",J("settingsConfig.refresh")]})]}),ec?.updateAvailable&&(0,n.jsxs)("div",{style:{marginTop:6,padding:"10px 12px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg)",display:"flex",flexDirection:"column",gap:6},children:[(0,n.jsx)("div",{style:{fontSize:12,color:"var(--text-muted)"},children:J("settingsConfig.runOmpUpdateCommand")}),(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,n.jsx)("code",{style:{flex:1,fontFamily:"var(--font-mono)",fontSize:12,color:"var(--accent)",wordBreak:"break-all"},children:ec.updateCommand||"omp update"}),(0,n.jsxs)("button",{type:"button",onClick:()=>{(0,j.D)(ec.updateCommand||"omp update").then(()=>eC(J("appShell.commandCopied"))).catch(()=>eC(J("appShell.commandCopyFailed")))},style:{display:"inline-flex",alignItems:"center",gap:5,padding:"4px 8px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg-subtle)",color:"var(--text)",cursor:"pointer",fontSize:11},children:[(0,n.jsx)(x.A,{size:12,"aria-hidden":"true"})," ",J("appShell.copyCommand")]})]})]}),(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:8,marginTop:6},children:[(0,n.jsxs)("button",{type:"button",onClick:()=>void e$(),disabled:em,style:{display:"inline-flex",alignItems:"center",gap:6,padding:"7px 12px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg-subtle)",color:"var(--text)",cursor:em?"wait":"pointer",fontSize:12},children:[(0,n.jsx)(v.A,{size:13,"aria-hidden":"true"})," ",em?J("settingsConfig.restarting"):J("settingsConfig.restartSessions")]}),(0,n.jsxs)("a",{href:"https://github.com/can1357/oh-my-pi/releases",target:"_blank",rel:"noreferrer",style:{display:"inline-flex",alignItems:"center",gap:6,padding:"7px 12px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",color:"var(--text-muted)",textDecoration:"none",fontSize:12},children:[(0,n.jsx)(f,{size:13,"aria-hidden":"true"})," ",J("settingsConfig.changelog")]})]}),ey&&(0,n.jsx)("p",{role:"status",style:{margin:"4px 0 0",color:"var(--text-muted)",fontSize:12,lineHeight:1.5},children:ey})]})]})]})]})})]})})}},12651:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(99537).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},35893:(e,t,i)=>{i.d(t,{t:()=>a,v:()=>s});let n="omp-web:submit-during-run";function s(){try{let e=window.localStorage.getItem(n);if("steer"===e||"queue"===e)return e}catch{}return"steer"}function a(e){try{window.localStorage.setItem(n,e)}catch{}}},74519:(e,t,i)=>{i.d(t,{Dx:()=>h,mm:()=>v,qc:()=>x});var n=i(95155),s=i(66763),a=i(99537);let o=(0,a.A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var r=i(12651);let l=(0,a.A)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);var d=i(86272),c=i(90710);let p=(0,a.A)("cable",[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]);var g=i(82749),u=i(4315);let h=[{id:"general",label:"Interface & Behavior",description:"UI preferences, completion sound, submission mode",Icon:s.A},{id:"safety",label:"Safety & Approvals",description:"Tool safety rules, YOLO mode, terminal permissions",Icon:o},{id:"models",label:"AI Model Defaults",description:"Reasoning budget, verbosity, personality, scratchpad",Icon:r.A},{id:"providers",label:"API Keys & Providers",description:"Connected OAuth accounts, API keys, and model registry",Icon:l},{id:"intelligence",label:"Agent & Intelligence",description:"Advisor, memory, autolearn, compaction and retry",Icon:d.A},{id:"agents",label:"Agents & Subagents",description:"Configured subagents, model routing, prewalk, and advisor",Icon:c.A},{id:"mcp",label:"Extensions & Tools",description:"MCP servers, managed skills, and OMP plugins",Icon:p},{id:"system",label:"System & Updates",description:"App updates, runtime version, and active session restart",Icon:g.A}],x=e=>"skills"===e||"plugins"===e||"extensions"===e?"mcp":e;function v({active:e,onSelect:t,workspaceReady:i=!0,layout:s="vertical"}){let{t:a}=(0,u.s9)(),o=x(e),r=(e,n)=>{let s=h.filter(e=>!(e.needsWorkspace&&!i)),a=null;if(("ArrowRight"===e.key||"ArrowDown"===e.key)&&(a=n+1),("ArrowLeft"===e.key||"ArrowUp"===e.key)&&(a=n-1),"Home"===e.key&&(a=0),"End"===e.key&&(a=s.length-1),null!==a){e.preventDefault();let i=s[a]??s[n];i&&t(i.id)}};return"vertical"===s?(0,n.jsx)("nav",{"aria-label":"Settings sections",role:"tablist","aria-orientation":"vertical",style:{display:"flex",flexDirection:"column",gap:4,padding:"12px 8px",width:230,flexShrink:0,borderRight:"1px solid var(--border)",background:"var(--bg-panel)",overflowY:"auto"},children:h.map(({id:e,label:s,description:l,Icon:d,needsWorkspace:c},p)=>{let g=e===o,u=!!(c&&!i),h=a(`settingsTabs.${e}`)||s,x=a(`settingsTabs.${e}Desc`)||l;return(0,n.jsxs)("button",{type:"button",role:"tab",id:`settings-tab-${e}`,"aria-selected":g,"aria-controls":`settings-panel-${e}`,tabIndex:g?0:-1,disabled:u,onClick:()=>t(e),onKeyDown:e=>r(e,p),style:{display:"flex",alignItems:"flex-start",gap:10,padding:"9px 10px",border:"none",borderRadius:"var(--radius-control)",background:g?"var(--bg-selected)":"transparent",color:g?"var(--text)":u?"var(--text-dim)":"var(--text-muted)",cursor:u?"not-allowed":"pointer",opacity:u?.5:1,textAlign:"left",transition:"background var(--dur-fast) var(--ease-out-warm), color var(--dur-fast) var(--ease-out-warm)",width:"100%"},children:[(0,n.jsx)(d,{size:16,"aria-hidden":"true",style:{marginTop:2,flexShrink:0,color:g?"var(--accent)":"currentColor"}}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0,display:"flex",flexDirection:"column",gap:2},children:[(0,n.jsx)("div",{style:{fontSize:12.5,fontWeight:g?600:500,lineHeight:1.3,color:g?"var(--text)":"inherit"},children:h}),(0,n.jsx)("div",{style:{fontSize:10.5,color:"var(--text-dim)",lineHeight:1.3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:x})]})]},e)})}):(0,n.jsx)("nav",{"aria-label":"Settings sections",role:"tablist",style:{display:"flex",gap:6,padding:"8px 12px",borderBottom:"1px solid var(--border)",background:"var(--bg-panel)",flexShrink:0,overflowX:"auto",WebkitOverflowScrolling:"touch"},children:h.map(({id:e,label:s,description:l,Icon:d,needsWorkspace:c},p)=>{let g=e===o,u=!!(c&&!i),h=a(`settingsTabs.${e}`)||s,x=a(`settingsTabs.${e}Desc`)||l;return(0,n.jsxs)("button",{type:"button",role:"tab",id:`settings-tab-${e}`,"aria-selected":g,"aria-controls":`settings-panel-${e}`,"aria-label":`${h}: ${x}`,title:x,tabIndex:g?0:-1,disabled:u,onClick:()=>t(e),onKeyDown:e=>r(e,p),style:{display:"inline-flex",alignItems:"flex-start",gap:7,padding:"6px 10px",border:g?"1px solid var(--accent)":"1px solid var(--border)",borderRadius:"var(--radius-control)",background:g?"color-mix(in srgb, var(--accent) 12%, var(--bg-selected))":"var(--bg)",color:g?"var(--text)":u?"var(--text-dim)":"var(--text-muted)",fontWeight:g?600:500,cursor:u?"not-allowed":"pointer",opacity:u?.45:1,fontSize:12,whiteSpace:"nowrap",textAlign:"left",flexShrink:0,transition:"all var(--dur-fast) var(--ease-out-warm)"},children:[(0,n.jsx)(d,{size:14,"aria-hidden":"true",style:{marginTop:2,flexShrink:0,color:g?"var(--accent)":"currentColor"}}),(0,n.jsxs)("span",{style:{display:"flex",flexDirection:"column",gap:1,minWidth:0},children:[(0,n.jsx)("span",{style:{fontWeight:g?600:500,fontSize:12,color:g?"var(--text)":"inherit"},children:h}),(0,n.jsx)("span",{style:{fontSize:10,color:"var(--text-dim)",lineHeight:1.25,maxWidth:180,overflow:"hidden",textOverflow:"ellipsis"},children:x})]})]},e)})})}},86272:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(99537).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},90710:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(99537).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},99314:(e,t,i)=>{i.d(t,{A:()=>n});let n=(0,i(99537).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9668],{25182:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(99537).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},57990:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(99537).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},79668:(e,t,r)=>{r.r(t),r.d(t,{AgentsConfig:()=>m,default:()=>w});var a=r(95155),o=r(12115),n=r(90710),i=r(9005),s=r(2125),l=r(50825),d=r(82749),c=r(65377),p=r(25182),g=r(57990);let x=(0,r(99537).A)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);var u=r(65738),v=r(4315);function f(e){if(!e)return;let t=e.trim();if(t){if(t.includes(",")){let e=t.split(",").map(e=>e.trim()).filter(Boolean);if(0===e.length)return;return 1===e.length?e[0]:e}return t}}function h(e){return e?Array.isArray(e)?e.filter(Boolean).join(", "):String(e).trim():""}function m({cwd:e,onSaved:t,embedded:r,onClose:p,isMobile:g}){let{t:x}=(0,v.s9)(),[u,h]=(0,o.useState)([]),[y,w]=(0,o.useState)("all"),[C,S]=(0,o.useState)(""),[k,z]=(0,o.useState)(!0),[A,$]=(0,o.useState)(null),[R,T]=(0,o.useState)(!1),[O,W]=(0,o.useState)(null),[P,I]=(0,o.useState)([]),[E,D]=(0,o.useState)({}),[H,L]=(0,o.useState)(!1),[M,B]=(0,o.useState)(null),U=(0,o.useCallback)(async()=>{z(!0),$(null);try{let t=e?`?cwd=${encodeURIComponent(e)}`:"",[r,a,o]=await Promise.all([fetch(`/api/agents${t}`),fetch(`/api/models${t}`),fetch("/api/omp-settings")]);if(!r.ok)throw Error(`HTTP ${r.status}`);let n=await r.json();if(h(n.agents??[]),a.ok){let e=await a.json();I(function(e){if(!e||"object"!=typeof e)return[];let t=new Set,r=[];if("modelList"in e&&Array.isArray(e.modelList))for(let a of e.modelList){if(!a||"object"!=typeof a||!("id"in a)||!("provider"in a)||"string"!=typeof a.id||"string"!=typeof a.provider)continue;let e=`${a.provider}/${a.id}`;if(t.has(e))continue;t.add(e);let o="name"in a&&"string"==typeof a.name&&a.name.trim()?a.name:a.id;r.push({selector:e,label:`${o} \xb7 ${a.provider}`})}if(0===r.length&&"models"in e&&e.models&&"object"==typeof e.models)for(let[a,o]of Object.entries(e.models)){let e=a.indexOf(":");if(-1===e)continue;let n=a.slice(0,e),i=a.slice(e+1),s=`${n}/${i}`;if(t.has(s))continue;t.add(s);let l="string"==typeof o&&o.trim()?`${o} \xb7 ${n}`:`${i} \xb7 ${n}`;r.push({selector:s,label:l})}return r}(e))}if(o.ok){let e=await o.json(),t=e.settings?.task,r=Array.isArray(t?.disabledAgents)?t.disabledAgents:[],a={};for(let e of r)a[e]=!0;D(a)}}catch(e){$(e instanceof Error?e.message:String(e))}finally{z(!1)}},[e]);(0,o.useEffect)(()=>{U()},[U]);let N=(0,o.useMemo)(()=>u.filter(e=>{let t="all"===y||e.source===y,r=!C||`${e.name} ${e.description} ${e.systemPrompt}`.toLowerCase().includes(C.toLowerCase());return t&&r}),[u,y,C]),F=async(e,r)=>{let a={...E,[e]:r};D(a);let o=Object.keys(a).filter(e=>a[e]);try{await fetch("/api/omp-settings",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({settings:{task:{disabledAgents:o}}})}),t?.()}catch(e){$(e instanceof Error?e.message:String(e))}},_=async(e,r,a)=>{try{let o=await fetch("/api/omp-settings"),n=(o.ok?(await o.json()).settings:{}).task||{};if("model"===r){let t={...n.agentModelOverrides||{}},r=f("string"==typeof a?a:void 0);r?t[e]=r:delete t[e],n.agentModelOverrides=t}else if("prewalk"===r){let t={...n.agentPrewalk||{}};void 0===a?delete t[e]:t[e]=a,n.agentPrewalk=t}else if("advisor"===r){let t={...n.agentAdvisor||{}};void 0===a?delete t[e]:t[e]=a,n.agentAdvisor=t}let i=await fetch("/api/omp-settings",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({settings:{task:n}})});if(!i.ok){let e=await i.json().catch(()=>({}));throw Error(e.error??`HTTP ${i.status}`)}await U(),t?.()}catch(e){$(e instanceof Error?e.message:String(e))}},J=async()=>{L(!0),B(null);try{let r=await fetch("/api/agents/unpack",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cwd:e,scope:"user"})});if(!r.ok)throw Error((await r.json()).error??`HTTP ${r.status}`);B(x("agentsConfig.unpackedSuccess")),await U(),t?.()}catch(e){$(e instanceof Error?e.message:String(e))}finally{L(!1)}},q=async r=>{if(confirm(`${x("agentsConfig.deleteConfirm")} (${r.name})`))try{let a=await fetch(`/api/agents/${encodeURIComponent(r.name)}?cwd=${encodeURIComponent(e??"")}&scope=${r.source}`,{method:"DELETE"});if(!a.ok)throw Error((await a.json()).error??`HTTP ${a.status}`);B(x("agentsConfig.deleteSuccess")),await U(),t?.()}catch(e){$(e instanceof Error?e.message:String(e))}},Y=async(r,a,o)=>{let n=a&&o?`/api/agents/${encodeURIComponent(o)}`:"/api/agents",i=await fetch(n,{method:a?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...r,cwd:e})});if(!i.ok)throw Error((await i.json()).error||`HTTP ${i.status}`);T(!1),W(null),B(x("agentsConfig.saveSuccess")),await U(),t?.()},X=[{id:"all",label:x("agentsConfig.filterAll"),count:u.length},{id:"project",label:x("agentsConfig.filterProject"),count:u.filter(e=>"project"===e.source).length},{id:"user",label:x("agentsConfig.filterUser"),count:u.filter(e=>"user"===e.source).length},{id:"bundled",label:x("agentsConfig.filterBundled"),count:u.filter(e=>"bundled"===e.source).length},{id:"extension",label:x("agentsConfig.filterExtension"),count:u.filter(e=>"extension"===e.source).length}];return(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--space-5)",padding:r?0:g?"12px 14px":20,color:"var(--text)",minHeight:0,flex:1,background:"var(--bg)",overflowX:"hidden"},children:[(0,a.jsxs)("header",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"var(--space-5)",flexWrap:"wrap"},children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{style:{margin:0,fontSize:16,fontWeight:600,display:"flex",alignItems:"center",gap:"var(--space-4)"},children:[(0,a.jsx)(n.A,{size:18,style:{color:"var(--accent)"}}),x("agentsConfig.title")]}),(0,a.jsx)("p",{style:{margin:"3px 0 0",fontSize:"var(--text-md)",color:"var(--text-muted)"},children:x("agentsConfig.description")})]}),p&&(0,a.jsx)("button",{type:"button",onClick:p,"aria-label":"Close",style:{background:"transparent",border:0,color:"var(--text-muted)",cursor:"pointer",padding:"var(--space-2)"},children:(0,a.jsx)(i.A,{size:18})})]}),M&&(0,a.jsx)("div",{role:"status",style:{padding:"8px 12px",borderRadius:"var(--radius-control)",background:"var(--status-success-subtle)",border:"1px solid var(--status-success)",color:"var(--status-success)",fontSize:"var(--text-md)"},children:M}),A&&(0,a.jsx)("div",{role:"alert",style:{padding:"8px 12px",borderRadius:"var(--radius-control)",background:"color-mix(in srgb, var(--status-error) 12%, transparent)",border:"1px solid var(--status-error)",color:"var(--status-error)",fontSize:"var(--text-md)"},children:A}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"var(--space-4)",flexWrap:"wrap",flexShrink:0},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"var(--space-3)",flexWrap:"wrap",alignItems:"center"},children:[(0,a.jsxs)("button",{type:"button",onClick:()=>T(!0),style:{display:"inline-flex",alignItems:"center",gap:5,padding:"5px 10px",borderRadius:"var(--radius-control)",background:"var(--accent-strong)",color:"var(--on-accent)",border:0,fontSize:"var(--text-md)",fontWeight:600,cursor:"pointer",whiteSpace:"nowrap"},children:[(0,a.jsx)(s.A,{size:13})," ",x("agentsConfig.newAgent")]}),(0,a.jsxs)("button",{type:"button",disabled:H,onClick:()=>void J(),style:{display:"inline-flex",alignItems:"center",gap:5,padding:"5px 10px",borderRadius:"var(--radius-control)",background:"var(--bg-panel)",border:"1px solid var(--border)",color:"var(--text)",fontSize:"var(--text-md)",cursor:H?"wait":"pointer",whiteSpace:"nowrap"},children:[(0,a.jsx)(l.A,{size:13})," ",H?x("agentsConfig.unpacking"):x("agentsConfig.unpackBundled")]}),(0,a.jsx)("button",{type:"button",onClick:()=>void U(),"aria-label":"Refresh",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"var(--control-height-sm)",height:"var(--control-height-sm)",borderRadius:"var(--radius-control)",background:"var(--bg-panel)",border:"1px solid var(--border)",color:"var(--text-muted)",cursor:"pointer",flexShrink:0},children:(0,a.jsx)(d.A,{size:13,className:k?"spin":""})})]}),(0,a.jsxs)("div",{style:{position:"relative",minWidth:140,flex:"1 1 180px",maxWidth:g?"100%":240},children:[(0,a.jsx)(c.A,{size:13,style:{position:"absolute",left:8,top:"50%",transform:"translateY(-50%)",color:"var(--text-dim)",pointerEvents:"none"}}),(0,a.jsx)("input",{type:"text",value:C,onChange:e=>S(e.target.value),placeholder:x("agentsConfig.searchPlaceholder"),style:{width:"100%",height:"var(--control-height-sm)",padding:"0 8px 0 26px",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",background:"var(--bg-panel)",color:"var(--text)",fontSize:"var(--text-md)",outline:"none"}})]})]}),(0,a.jsx)("nav",{"aria-label":"Agent scopes",style:{display:"flex",gap:"var(--space-2)",borderBottom:"1px solid var(--border)",overflowX:"auto",flexShrink:0,WebkitOverflowScrolling:"touch",paddingBottom:2},children:X.map(e=>{let t=y===e.id;return(0,a.jsxs)("button",{type:"button",onClick:()=>w(e.id),style:{border:0,borderBottom:t?"2px solid var(--accent)":"2px solid transparent",background:"transparent",color:t?"var(--text)":"var(--text-muted)",fontWeight:t?600:400,padding:"6px 10px",fontSize:"var(--text-md)",cursor:"pointer",display:"inline-flex",alignItems:"center",gap:"var(--space-3)",whiteSpace:"nowrap",flexShrink:0},children:[e.label,"number"==typeof e.count&&(0,a.jsx)("span",{style:{fontSize:"var(--text-xs)",padding:"1px 6px",borderRadius:10,background:t?"var(--accent-subtle)":"var(--bg-panel)",color:"var(--text-muted)"},children:e.count})]},e.id)})}),k?(0,a.jsxs)("div",{style:{padding:40,textAlign:"center",color:"var(--text-muted)",fontSize:"var(--text-base)"},children:[(0,a.jsx)(d.A,{size:16,className:"spin",style:{display:"inline-block",marginRight:8}}),"Loading…"]}):0===N.length?(0,a.jsx)("div",{style:{padding:40,textAlign:"center",color:"var(--text-dim)",fontSize:"var(--text-base)",background:"var(--bg-panel)",borderRadius:"var(--radius-card)",border:"1px solid var(--border)"},children:x("agentsConfig.noAgentsFound")}):(0,a.jsx)("div",{style:{display:"grid",gridTemplateColumns:g?"1fr":"repeat(auto-fit, minmax(280px, 1fr))",gap:10,overflowY:"auto",minHeight:0},children:N.map(e=>{let t=!!(E[e.name]??e.disabled);return(0,a.jsx)(b,{agent:e,disabled:t,models:P,onToggleDisabled:t=>void F(e.name,t),onEdit:()=>W(e),onDelete:()=>void q(e),onUpdateOverride:(t,r)=>void _(e.name,t,r)},`${e.source}-${e.name}`)})}),(R||O)&&(0,a.jsx)(j,{agent:O,models:P,isMobile:g,onCancel:()=>{T(!1),W(null)},onSave:e=>Y(e,!!O,O?.name)})]})}function b({agent:e,disabled:t,models:r,onToggleDisabled:o,onEdit:n,onDelete:i,onUpdateOverride:s}){let{t:l}=(0,v.s9)(),d="user"===e.source||"project"===e.source,c=e.tools?.every(e=>"read"===e||"grep"===e||"glob"===e||e.startsWith("web_")),f="project"===e.source?"var(--source-project)":"user"===e.source?"var(--source-user)":"extension"===e.source?"var(--source-extension)":"var(--text-muted)";return(0,a.jsxs)("article",{style:{border:"1px solid var(--border)",borderRadius:"var(--radius-card)",background:"var(--bg-panel)",padding:14,boxShadow:"var(--shadow-card)",display:"flex",flexDirection:"column",gap:10,opacity:t?.6:1,transition:"opacity var(--dur-fast) var(--ease-out-warm)"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:"var(--space-4)"},children:[(0,a.jsxs)("div",{style:{minWidth:0},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-4)",flexWrap:"wrap"},children:[(0,a.jsx)("h3",{style:{margin:0,fontSize:"var(--text-lg)",fontWeight:600,color:"var(--text)"},children:e.name}),(0,a.jsx)("span",{style:{fontSize:"var(--text-xs)",fontWeight:600,padding:"1px 6px",borderRadius:4,border:`1px solid ${f}`,color:f,textTransform:"uppercase"},children:e.source}),e.isShadowed&&(0,a.jsx)("span",{title:l("agentsConfig.shadowedHint"),style:{fontSize:"var(--text-xs)",padding:"1px 6px",borderRadius:4,background:"var(--bg-subtle)",color:"var(--text-dim)"},children:l("agentsConfig.shadowedBadge")})]}),(0,a.jsx)("p",{style:{margin:"4px 0 0",fontSize:"var(--text-md)",color:"var(--text-muted)",lineHeight:1.4},children:e.description})]}),(0,a.jsxs)("label",{style:{display:"inline-flex",alignItems:"center",gap:"var(--space-3)",cursor:"pointer",fontSize:"var(--text-sm)",color:"var(--text-muted)",flexShrink:0},children:[(0,a.jsx)("input",{type:"checkbox",checked:!t,onChange:e=>o(!e.target.checked),style:{cursor:"pointer"}}),l(t?"agentsConfig.disabled":"agentsConfig.enabled")]})]}),e.systemPrompt&&(0,a.jsx)("div",{style:{padding:"8px 10px",background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-control)",fontSize:"var(--text-sm)",color:"var(--text-dim)",maxHeight:60,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"pre-wrap",fontFamily:"var(--font-mono)",lineHeight:1.35},children:e.systemPrompt}),(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:5,alignItems:"center"},children:[c?(0,a.jsxs)("span",{style:{fontSize:"var(--text-sm)",padding:"2px 7px",borderRadius:4,background:"var(--accent-subtle)",color:"var(--accent)",display:"inline-flex",alignItems:"center",gap:4},children:[(0,a.jsx)(p.A,{size:11})," ",l("agentsConfig.readOnly")]}):(0,a.jsxs)("span",{style:{fontSize:"var(--text-sm)",padding:"2px 7px",borderRadius:4,background:"var(--bg)",color:"var(--text-muted)",display:"inline-flex",alignItems:"center",gap:4},children:[(0,a.jsx)(g.A,{size:11})," ",e.tools?`${e.tools.length} ${l("agentsConfig.tools")}`:"all tools"]}),e.tools?.map(e=>(0,a.jsx)("span",{style:{fontSize:"var(--text-xs)",padding:"1px 5px",borderRadius:3,background:"var(--bg)",border:"1px solid var(--border)",color:"var(--text-dim)",fontFamily:"var(--font-mono)"},children:e},e))]}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--space-4)",borderTop:"1px solid var(--border)",paddingTop:10,marginTop:"auto"},children:[(0,a.jsx)(y,{agent:e,models:r,onChange:e=>s("model",e)}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"var(--space-3)",flexWrap:"wrap"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"var(--space-3)",alignItems:"center",flexWrap:"wrap"},children:[(0,a.jsxs)("button",{type:"button",onClick:()=>s("advisor",!0!==e.advisorOverride),style:{padding:"3px 7px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:e.advisorOverride?"color-mix(in srgb, var(--accent) 15%, transparent)":"var(--bg)",color:e.advisorOverride?"var(--accent)":"var(--text-dim)",fontSize:"var(--text-sm)",cursor:"pointer"},children:[l("agentsConfig.advisor"),": ",e.advisorOverride?"on":"off"]}),(0,a.jsxs)("button",{type:"button",onClick:()=>s("prewalk",!0!==e.prewalkOverride),style:{padding:"3px 7px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:e.prewalkOverride?"color-mix(in srgb, var(--accent) 15%, transparent)":"var(--bg)",color:e.prewalkOverride?"var(--accent)":"var(--text-dim)",fontSize:"var(--text-sm)",cursor:"pointer"},children:[l("agentsConfig.prewalk"),": ",e.prewalkOverride?"on":"off"]})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"var(--space-2)",marginLeft:"auto"},children:[d&&(0,a.jsx)("button",{type:"button",onClick:n,title:l("agentsConfig.editAgent"),"aria-label":l("agentsConfig.editAgent"),style:{background:"transparent",border:0,color:"var(--text-muted)",cursor:"pointer",padding:"var(--space-2)"},children:(0,a.jsx)(x,{size:14})}),d&&(0,a.jsx)("button",{type:"button",onClick:i,title:l("agentsConfig.deleteAgent"),"aria-label":l("agentsConfig.deleteAgent"),style:{background:"transparent",border:0,color:"var(--status-error)",cursor:"pointer",padding:"var(--space-2)"},children:(0,a.jsx)(u.A,{size:14})})]})]})]})]})}function y({agent:e,models:t,onChange:r}){let{t:n}=(0,v.s9)(),s=h(e.overrideModel),[l,d]=(0,o.useState)(s),c=`agent-models-${e.source}-${e.name}`;return(0,o.useEffect)(()=>d(s),[s]),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:3,minWidth:0,width:"100%"},children:[(0,a.jsx)("label",{htmlFor:c,style:{fontSize:"var(--text-sm)",color:"var(--text-muted)"},children:n("agentsConfig.modelOverride")}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"var(--space-2)",width:"100%"},children:[(0,a.jsx)("input",{id:c,list:`${c}-options`,value:l,onChange:e=>d(e.target.value),onBlur:()=>{let e=l.trim();e!==s.trim()&&r(e||void 0)},onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.blur(),"Escape"===e.key&&(d(s),e.currentTarget.blur())},placeholder:n("agentsConfig.modelOverridePlaceholder"),title:n("agentsConfig.modelOverrideHint"),style:{minWidth:0,flex:1,width:"100%",padding:"4px 7px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-sm)",fontFamily:"var(--font-mono)"}}),s&&(0,a.jsx)("button",{type:"button",onMouseDown:e=>e.preventDefault(),onClick:()=>{d(""),r(void 0)},title:n("agentsConfig.clearModelOverride"),"aria-label":n("agentsConfig.clearModelOverride"),style:{border:0,background:"transparent",color:"var(--text-dim)",cursor:"pointer",padding:3,flexShrink:0},children:(0,a.jsx)(i.A,{size:13})}),(0,a.jsx)("datalist",{id:`${c}-options`,children:t.map(e=>(0,a.jsx)("option",{value:e.selector,children:e.label},e.selector))})]}),(0,a.jsx)("span",{style:{fontSize:"var(--text-xs)",color:"var(--text-dim)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:s?(0,a.jsxs)("span",{style:{color:"var(--accent)"},children:["✓ ",s]}):n("agentsConfig.agentDefaultModel",{model:h(e.model)||"session model"})})]})}function j({agent:e,models:t,onCancel:r,onSave:n,isMobile:s}){let{t:l}=(0,v.s9)(),d=!!e,[c,p]=(0,o.useState)(e?.name??""),[g,x]=(0,o.useState)(e?.description??""),[u,m]=(0,o.useState)(e?.source==="project"?"project":"user"),[b,y]=(0,o.useState)(h(e?.model)),[w,C]=(0,o.useState)((e?.tools??[]).join(", ")),[S,k]=(0,o.useState)(e?.systemPrompt??""),[z,A]=(0,o.useState)(!1),[$,R]=(0,o.useState)(null),T=async e=>{if(e.preventDefault(),c.trim()){A(!0),R(null);try{let e=w.split(",").map(e=>e.trim()).filter(Boolean),t=f(b);await n({name:c.trim(),description:g.trim(),scope:u,tools:e.length>0?e:void 0,model:t,systemPrompt:S.trim()})}catch(e){R(e instanceof Error?e.message:String(e))}finally{A(!1)}}};return(0,a.jsx)("div",{style:{position:"fixed",inset:0,background:"var(--overlay-backdrop)",display:"grid",placeItems:"center",zIndex:1e3,padding:"var(--space-6)"},children:(0,a.jsxs)("div",{style:{background:"var(--bg-panel)",border:"1px solid var(--border)",borderRadius:"var(--radius-modal)",boxShadow:"var(--shadow-modal)",width:"min(100%, 540px)",maxHeight:"90vh",display:"flex",flexDirection:"column",overflow:"hidden"},children:[(0,a.jsxs)("header",{style:{padding:"14px 18px",borderBottom:"1px solid var(--border)",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,a.jsx)("h3",{style:{margin:0,fontSize:15,fontWeight:600},children:l(d?"agentsConfig.editAgent":"agentsConfig.createTitle")}),(0,a.jsx)("button",{type:"button",onClick:r,style:{background:"transparent",border:0,color:"var(--text-muted)",cursor:"pointer"},children:(0,a.jsx)(i.A,{size:17})})]}),(0,a.jsxs)("form",{onSubmit:T,style:{padding:18,display:"flex",flexDirection:"column",gap:"var(--space-5)",overflowY:"auto"},children:[$&&(0,a.jsx)("div",{role:"alert",style:{color:"var(--status-error)",fontSize:"var(--text-md)"},children:$}),!d&&(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:["Scope",(0,a.jsxs)("select",{value:u,onChange:e=>m(e.target.value),style:{height:"var(--control-height)",padding:"0 8px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)"},children:[(0,a.jsx)("option",{value:"user",children:"User (~/.omp/agent/agents)"}),(0,a.jsx)("option",{value:"project",children:"Project (.omp/agents)"})]})]}),(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:[l("agentsConfig.nameLabel"),(0,a.jsx)("input",{type:"text",required:!0,disabled:d,value:c,onChange:e=>p(e.target.value.toLowerCase().replace(/[^a-z0-9-]/g,"")),placeholder:l("agentsConfig.namePlaceholder"),style:{height:"var(--control-height)",padding:"0 8px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)"}})]}),(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:[l("agentsConfig.descLabel"),(0,a.jsx)("input",{type:"text",required:!0,value:g,onChange:e=>x(e.target.value),placeholder:l("agentsConfig.descPlaceholder"),style:{height:"var(--control-height)",padding:"0 8px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)"}})]}),(0,a.jsxs)("div",{style:{display:"grid",gridTemplateColumns:s?"1fr":"1fr 1fr",gap:10},children:[(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:[l("agentsConfig.toolsLabel"),(0,a.jsx)("input",{type:"text",value:w,onChange:e=>C(e.target.value),placeholder:"read, write, edit, bash",style:{height:"var(--control-height)",padding:"0 8px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)"}})]}),(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:["Model",(0,a.jsx)("input",{list:"modal-agent-models-list",value:b,onChange:e=>y(e.target.value),placeholder:l("agentsConfig.modelOverridePlaceholder"),style:{height:"var(--control-height)",padding:"0 8px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)",fontFamily:"var(--font-mono)"}}),(0,a.jsx)("datalist",{id:"modal-agent-models-list",children:t.map(e=>(0,a.jsx)("option",{value:e.selector,children:e.label},e.selector))})]})]}),(0,a.jsxs)("label",{style:{display:"flex",flexDirection:"column",gap:5,fontSize:"var(--text-md)",fontWeight:600,color:"var(--text-muted)"},children:[l("agentsConfig.promptLabel"),(0,a.jsx)("textarea",{required:!0,rows:6,value:S,onChange:e=>k(e.target.value),placeholder:l("agentsConfig.promptPlaceholder"),style:{padding:"var(--space-4)",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"var(--bg)",color:"var(--text)",fontSize:"var(--text-md)",fontFamily:"var(--font-mono)",lineHeight:1.4,resize:"vertical"}})]}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--space-4)",marginTop:8},children:[(0,a.jsx)("button",{type:"button",onClick:r,style:{padding:"7px 14px",borderRadius:"var(--radius-control)",border:"1px solid var(--border)",background:"transparent",color:"var(--text)",fontSize:"var(--text-md)",cursor:"pointer"},children:l("agentsConfig.cancel")}),(0,a.jsx)("button",{type:"submit",disabled:z,style:{padding:"7px 16px",borderRadius:"var(--radius-control)",background:"var(--accent-strong)",color:"var(--on-accent)",border:0,fontSize:"var(--text-md)",fontWeight:600,cursor:z?"wait":"pointer"},children:l(z?"agentsConfig.saving":"agentsConfig.save")})]})]})]})})}let w=m}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9981],{99981:(e,t,l)=>{l.r(t),l.d(t,{SkillsConfig:()=>y});var r=l(95155),a=l(12115),i=l(31590),s=l(4315),n=l(18136),o=l(30808),d=l(51087),c=l(2125),p=l(74519);function x({embedded:e,isMobile:t,onClose:l,children:a}){return e?(0,r.jsx)(r.Fragment,{children:a}):(0,r.jsx)(o.lG,{open:!0,onOpenChange:e=>{e||l()},children:(0,r.jsx)(o.Cf,{ariaLabel:"Skills",style:{width:t?"calc(100vw - 16px)":860,maxWidth:"calc(100vw - 16px)",height:t?"calc(100dvh - 16px)":"78vh",maxHeight:"calc(100dvh - 16px)",padding:0,display:"flex",flexDirection:"column",overflow:"hidden"},children:a})})}function f(e){return e.replace(/^\/(?:Users|home)\/[^/]+/,"~")}function h(e){let t=e.sourceInfo?.source,l=e.sourceInfo?.scope;return"user"===l||"user"===t?"global":"project"===l||"project"===t?"project":"path"}let u={global:"skillsConfig.scopeGlobal",project:"skillsConfig.scopeProject",path:"skillsConfig.scopePath"};function g(e){return e.install?`${e.install.scope}\0${e.install.package}`:null}function v(e){return e?e.slice(0,8):(0,s.Tl)("skillsConfig.unknownVersion")}function k({enabled:e,loading:t,onToggle:l}){let{t:a}=(0,s.s9)();return(0,r.jsx)("button",{type:"button",onClick:l,disabled:t,"aria-pressed":e,title:a(e?"skillsConfig.visibleInPrompt":"skillsConfig.hiddenFromPrompt"),style:{flexShrink:0,width:40,height:22,borderRadius:11,border:"none",padding:0,cursor:t?"wait":"pointer",background:e?"var(--accent)":"var(--border)",position:"relative",transition:"background var(--dur-med) var(--ease-out-warm)"},children:(0,r.jsx)("span",{style:{position:"absolute",top:3,left:3,width:16,height:16,borderRadius:"50%",background:"var(--bg)",boxShadow:"var(--shadow-card)",transform:e?"translateX(18px)":"translateX(0)",transition:"transform var(--dur-med) var(--ease-out-warm)"}})})}function m({skill:e,cwd:t,onToggle:l,toggling:a,saveError:i,updateStatus:n,checkingUpdate:o,updating:d,updateError:c,onCheckUpdate:p,onUpdate:x}){let{t:g}=(0,s.s9)(),b=h(e),y=!e.disableModelInvocation;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:20},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7},children:[(0,r.jsx)("span",{style:{fontSize:"var(--text-xs)",padding:"1px 5px",borderRadius:3,flexShrink:0,background:"project"===b?"var(--accent-subtle)":"color-mix(in srgb, var(--text-dim) 12%, transparent)",color:"project"===b?"var(--accent)":"var(--text-dim)"},children:g(u[b])}),(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-sm)",color:"var(--text-dim)",flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:function(e){if("project"===b&&e.startsWith(t)){let l=e.slice(t.length).replace(/^[/\\]/,"");return`./${l}`}return f(e)}(e.filePath)}),(0,r.jsx)(k,{enabled:y,loading:a,onToggle:()=>l(e)}),i&&(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--status-error)",flexShrink:0},children:i})]}),e.install?.skillsShUrl&&(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:5},children:[(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-muted)",fontWeight:500},children:g("skillsConfig.source")}),(0,r.jsx)("a",{href:e.install.skillsShUrl,target:"_blank",rel:"noreferrer",title:e.install.skillsShUrl,style:{display:"flex",alignItems:"center",gap:"var(--space-4)",width:"fit-content",maxWidth:"100%",color:"var(--accent)",textDecoration:"none"},children:(0,r.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-md)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:[e.install.skillsShUrl.replace(/^https?:\/\//,"")," ↗"]})})]}),e.install&&(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:7},children:[(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-muted)",fontWeight:500},children:g("skillsConfig.version")}),(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,flexWrap:"wrap"},children:[(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-md)",color:"var(--text-muted)"},children:v(n?.currentVersion??e.install.versionHash)}),e.install.canCheckForUpdates&&(0,r.jsx)("button",{onClick:p,disabled:o||d,style:{padding:"4px 9px",border:"1px solid var(--border)",borderRadius:5,background:"none",color:"var(--text-muted)",cursor:o||d?"not-allowed":"pointer",opacity:o||d?.5:1,fontSize:"var(--text-sm)"},children:g("skillsConfig.check")}),n?.state==="update-available"&&(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-md)",color:"var(--status-warning)"},children:v(n.latestVersion)}),(o||n&&"update-available"!==n.state)&&(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:o?"var(--accent)":n?.state==="up-to-date"?"var(--status-success)":n?.state==="error"?"var(--status-error)":"var(--text-dim)"},children:o?g("skillsConfig.checking"):n?.state==="up-to-date"?g("skillsConfig.upToDate"):n?.state==="unsupported"?g("skillsConfig.checksUnavailable"):n?.message||g("skillsConfig.checkFailed")}),n?.state==="update-available"&&(0,r.jsx)("button",{onClick:x,disabled:d||o,style:{padding:"4px 10px",border:"none",borderRadius:5,background:"var(--accent)",color:"var(--on-accent)",cursor:d||o?"not-allowed":"pointer",opacity:d||o?.5:1,fontSize:"var(--text-sm)",fontWeight:600},children:g(d?"skillsConfig.updating":"skillsConfig.update")})]}),c&&(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--status-error)"},children:c})]}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:5},children:[(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-muted)",fontWeight:500},children:g("skillsConfig.name")}),(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-lg)",color:"var(--text)"},children:e.name})]}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:5},children:[(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-muted)",fontWeight:500},children:g("skillsConfig.description")}),(0,r.jsx)("span",{style:{fontSize:"var(--text-lg)",color:"var(--text-muted)",lineHeight:1.6},children:e.description})]})]})}function b({cwd:e,installedPackages:t,onInstalled:l}){let{t:i}=(0,s.s9)(),[o,d]=(0,a.useState)(""),[c,p]=(0,a.useState)([]),[x,h]=(0,a.useState)(!1),[g,v]=(0,a.useState)(null),[k,m]=(0,a.useState)(null),[y,S]=(0,a.useState)(null),[j,w]=(0,a.useState)(new Set),[C,z]=(0,a.useState)("global"),T=(0,a.useRef)(null);(0,a.useEffect)(()=>{T.current?.focus()},[]);let P=(0,a.useCallback)(async e=>{if(e.trim()){h(!0),v(null),p([]);try{let t=await fetch("/api/skills/search",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e.trim()})}),l=await t.json();if(l.error)return void v((0,n.K)(l));p(l.results??[]),0===(l.results??[]).length&&v((0,s.Tl)("skillsConfig.noSkillsFound"))}catch(e){v(String(e))}finally{h(!1)}}},[]),I=(0,a.useCallback)(async t=>{m(t),S(null);try{let r=await fetch("/api/skills/install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({package:t,scope:C,cwd:e})}),a=await r.json();if(!r.ok||a.error)return void S((0,n.K)(a.error?a:`HTTP ${r.status}`));w(e=>new Set(e).add(`${C}:${t}`)),l()}catch(e){S(String(e))}finally{m(null)}},[l,C,e]),W="global"===C?"~/.agents/skills/":`${f(e)}/.agents/skills/`;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12,marginBottom:20},children:[(0,r.jsx)("div",{style:{fontSize:"var(--text-lg)",fontWeight:600,color:"var(--text)"},children:i("skillsConfig.addSkillTitle")}),(0,r.jsxs)("div",{style:{display:"flex",gap:8},children:[(0,r.jsx)("input",{"aria-label":i("skillsConfig.searchSkills")||"Search skills",ref:T,value:o,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"===e.key&&P(o)},placeholder:i("skillsConfig.searchPlaceholder"),style:{flex:1,padding:"7px 10px",fontSize:"var(--text-base)",background:"var(--bg-panel)",border:"1px solid var(--border)",borderRadius:6,color:"var(--text)",outline:"none"}}),(0,r.jsx)("button",{onClick:()=>P(o),disabled:x||!o.trim(),style:{padding:"7px 16px",fontSize:"var(--text-base)",borderRadius:6,border:"none",background:"var(--accent)",color:"var(--on-accent)",cursor:x||!o.trim()?"not-allowed":"pointer",opacity:x||!o.trim()?.5:1,flexShrink:0},children:x?i("skillsConfig.searching"):i("skillsConfig.search")})]}),(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[(0,r.jsx)("div",{style:{display:"flex",borderRadius:5,border:"1px solid var(--border)",overflow:"hidden",fontSize:"var(--text-md)",flexShrink:0},children:["global","project"].map(e=>(0,r.jsx)("button",{onClick:()=>z(e),style:{padding:"3px 10px",border:"none",cursor:"pointer",background:C===e?"var(--bg-selected)":"none",color:C===e?"var(--text)":"var(--text-dim)",fontWeight:C===e?600:400,borderRight:"global"===e?"1px solid var(--border)":"none"},children:i(u[e])},e))}),(0,r.jsxs)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-dim)",fontFamily:"var(--font-mono)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:["→ ",W]})]}),g&&(0,r.jsx)("div",{style:{fontSize:"var(--text-md)",color:"var(--status-error)"},children:g}),y&&(0,r.jsx)("div",{style:{fontSize:"var(--text-md)",color:"var(--status-error)",wordBreak:"break-word"},children:y})]}),c.length>0?(0,r.jsx)("div",{style:{flex:1,overflowY:"auto"},children:c.map(e=>{let l=t[C].has(e.package)||j.has(`${C}:${e.package}`),a=k===e.package,s=e.package.indexOf("@"),n=s>-1?e.package.slice(0,s):e.package,o=s>-1?e.package.slice(s+1):null;return(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:14,padding:"12px 0",borderBottom:"1px solid var(--border)"},children:[(0,r.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,r.jsx)("div",{style:{fontSize:"var(--text-base)",fontWeight:600,color:"var(--text)",marginBottom:3},children:o??n}),(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,flexWrap:"wrap"},children:[(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:"var(--text-sm)",color:"var(--text-dim)"},children:n}),(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--text-muted)",fontWeight:500},children:e.installs}),e.url&&(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",style:{fontSize:"var(--text-md)",color:"var(--accent)",textDecoration:"none"},children:"skills.sh ↗"})]})]}),(0,r.jsx)("button",{onClick:()=>!l&&!a&&I(e.package),disabled:l||a||null!==k,style:{flexShrink:0,padding:"5px 14px",fontSize:"var(--text-md)",fontWeight:500,borderRadius:5,border:"1px solid var(--border)",cursor:l||a||null!==k?"not-allowed":"pointer",background:l?"color-mix(in srgb, var(--status-success) 10%, transparent)":"none",color:l?"var(--status-success)":a?"var(--accent)":"var(--text-muted)",transition:"color var(--dur-fast) var(--ease-out-warm)"},children:l?i("skillsConfig.installed"):a?i("skillsConfig.installing"):i("skillsConfig.install")})]},e.package)})}):!g&&!x&&(0,r.jsx)("div",{style:{fontSize:"var(--text-base)",color:"var(--text-dim)",lineHeight:1.8},children:(()=>{let[e,t]=i("skillsConfig.searchHint").split("{site}");return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("a",{href:"https://skills.sh",target:"_blank",rel:"noreferrer",style:{color:"var(--accent)",textDecoration:"none"},children:"skills.sh"}),t]})})()})]})}function y({cwd:e,onClose:t,onSelectTab:l,embedded:o=!1}){let u,v=(0,i.a)(),{t:k,tn:S}=(0,s.s9)(),[j,w]=(0,a.useState)([]),[C,z]=(0,a.useState)(!0),[T,P]=(0,a.useState)(null),[I,W]=(0,a.useState)(null),[R,F]=(0,a.useState)(new Set),[O,D]=(0,a.useState)(null),[E,U]=(0,a.useState)(!1),[$,H]=(0,a.useState)({}),[M,N]=(0,a.useState)(new Set),[B,_]=(0,a.useState)(!1),[A,J]=(0,a.useState)(null),[V,G]=(0,a.useState)(null),K=(0,a.useCallback)(async()=>{z(!0),P(null);try{let t=await fetch(`/api/skills?cwd=${encodeURIComponent(e)}`),l=await t.json();if(!t.ok||l.error)throw Error((0,n.K)(l.error?l:`HTTP ${t.status}`));let r=l.skills??[];return w(r),r.length>0&&!I&&W(r[0].filePath),r}catch(e){return P(String(e)),[]}finally{z(!1)}},[e,I]);(0,a.useEffect)(()=>{H({}),G(null),K()},[e]);let Y=(0,a.useCallback)(async t=>{let l=(t?[t]:j.filter(e=>!!e.install)).map(g).filter(e=>!!e);if(0!==l.length){G(null),N(e=>new Set([...e,...l])),t||_(!0);try{let l=await fetch("/api/skills/check",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cwd:e,package:t?.install?.package,scope:t?.install?.scope})}),r=await l.json();if(!l.ok||r.error)throw Error(r.error??`HTTP ${l.status}`);H(e=>{let t={...e};for(let e of r.updates??[])t[`${e.scope}\0${e.package}`]=e;return t})}catch(e){G(e instanceof Error?e.message:String(e))}finally{N(e=>{let t=new Set(e);for(let e of l)t.delete(e);return t}),t||_(!1)}}},[e,j]),L=(0,a.useCallback)(async t=>{if(!t.install)return;let l=g(t);J(l),G(null);try{let r=await fetch("/api/skills/update",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({cwd:e,package:t.install.package,scope:t.install.scope})}),a=await r.json();if(!r.ok||a.error||!a.success)throw Error(a.error??`HTTP ${r.status}`);await K();let i=a.skill?.install?.versionHash;H(e=>({...e,[l]:{package:t.install.package,scope:t.install.scope,state:"up-to-date",currentVersion:i,latestVersion:i}}))}catch(e){G(e instanceof Error?e.message:String(e))}finally{J(null)}},[e,K]),X=(0,a.useCallback)(async e=>{let t=!e.disableModelInvocation;F(t=>new Set(t).add(e.filePath)),D(null);try{let l=await fetch("/api/skills",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({filePath:e.filePath,disableModelInvocation:t})}),r=await l.json();if(!l.ok||r.error){let e=r.error??`HTTP ${l.status}`;D(e),d.oR.error(k("skillsConfig.toggleErrorTitle"),e);return}w(l=>l.map(l=>l.filePath===e.filePath?{...l,disableModelInvocation:t}:l)),d.oR.success(k("skillsConfig.toggleSuccessTitle"))}catch(t){let e=t instanceof Error?t.message:String(t);D(e),d.oR.error(k("skillsConfig.toggleErrorTitle"),e)}finally{F(t=>{let l=new Set(t);return l.delete(e.filePath),l})}},[k]),q=j.find(e=>e.filePath===I)??null;return(0,r.jsxs)(x,{embedded:o,isMobile:v,onClose:t,children:[!o&&(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 18px",borderBottom:"1px solid var(--border)",flexShrink:0},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"baseline",gap:10},children:[(0,r.jsx)("span",{id:"skills-config-title",style:{fontSize:15,fontWeight:700,color:"var(--text)"},children:k("skillsConfig.title")}),(0,r.jsx)("code",{style:{fontSize:"var(--text-sm)",color:"var(--text-muted)",fontFamily:"var(--font-mono)",maxWidth:320,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:f(e)})]}),(0,r.jsx)("button",{onClick:t,"aria-label":k("skillsConfig.close"),style:{background:"none",border:"none",color:"var(--text-muted)",cursor:"pointer",fontSize:20,lineHeight:1,padding:"2px 6px"},children:"\xd7"})]}),!o&&l&&(0,r.jsx)(p.mm,{active:"skills",onSelect:l}),(0,r.jsxs)("div",{style:{flex:1,display:"flex",flexDirection:v?"column":"row",overflow:"hidden"},children:[(0,r.jsxs)("div",{style:{width:v?"100%":210,maxHeight:v?"40vh":void 0,borderRight:v?"none":"1px solid var(--border)",borderBottom:v?"1px solid var(--border)":"none",display:"flex",flexDirection:"column",flexShrink:0,background:"var(--bg-panel)"},children:[(0,r.jsx)("div",{style:{flex:1,overflowY:"auto",padding:"8px 6px"},children:C?(0,r.jsx)("div",{style:{padding:"10px 8px",fontSize:"var(--text-md)",color:"var(--text-muted)"},children:k("skillsConfig.loading")}):T?(0,r.jsx)("div",{style:{padding:"10px 8px",fontSize:"var(--text-sm)",color:"var(--status-error)"},children:T}):0===j.length?(0,r.jsx)("div",{style:{padding:"10px 8px",fontSize:"var(--text-sm)",color:"var(--text-dim)"},children:k("skillsConfig.noSkillsFound")}):(()=>{let e=[];for(let{label:t,matches:l}of[{label:"skillsConfig.groupProjectSkillsSh",matches:e=>"project"===h(e)&&!!e.install?.skillsShUrl},{label:"skillsConfig.scopeProject",matches:e=>"project"===h(e)&&!e.install?.skillsShUrl},{label:"skillsConfig.groupGlobalSkillsSh",matches:e=>"global"===h(e)&&!!e.install?.skillsShUrl},{label:"skillsConfig.scopeGlobal",matches:e=>"global"===h(e)&&!e.install?.skillsShUrl},{label:"skillsConfig.scopePath",matches:e=>"path"===h(e)}]){let r=j.filter(l);r.length>0&&e.push({label:t,skills:r})}return e.map(({label:e,skills:t})=>(0,r.jsxs)("div",{style:{marginBottom:6},children:[(0,r.jsx)("div",{style:{padding:"4px 8px 3px",fontSize:"var(--text-xs)",fontWeight:600,color:"var(--text-dim)",textTransform:"uppercase",letterSpacing:"0.06em"},children:k(e)}),[...t.filter(e=>!e.disableModelInvocation),...t.filter(e=>e.disableModelInvocation)].map((e,t,l)=>{let i,s,n=!E&&I===e.filePath,o=e.disableModelInvocation,d=o&&(0===t||!l[t-1].disableModelInvocation),c=d?l.filter(e=>e.disableModelInvocation).length:0;return(0,r.jsxs)(a.Fragment,{children:[d&&(0,r.jsx)("div",{style:{marginTop:6,padding:"6px 8px 3px",borderTop:"1px solid var(--border)",fontSize:"var(--text-xs)",fontWeight:600,color:"var(--text-dim)",textTransform:"uppercase",letterSpacing:"0.06em"},children:k("skillsConfig.dormant",{count:c})}),(0,r.jsxs)("button",{type:"button",onClick:()=>{W(e.filePath),U(!1)},style:{display:"flex",alignItems:"center",gap:7,padding:"8px 8px",borderRadius:5,cursor:"pointer",width:"100%",border:"none",textAlign:"left",fontFamily:"inherit",background:n?"var(--bg-selected)":"none"},onMouseEnter:e=>{n||(e.currentTarget.style.background="var(--bg-hover)")},onMouseLeave:e=>{n||(e.currentTarget.style.background="none")},children:[(0,r.jsx)("span",{style:{flexShrink:0,width:7,height:7,borderRadius:"50%",background:o?"var(--border)":"var(--accent)",boxShadow:o?"none":"0 0 4px var(--accent)",transition:"background var(--dur-fast) var(--ease-out-warm), box-shadow var(--dur-fast) var(--ease-out-warm)"}}),(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",fontWeight:n?600:400,color:o?"var(--text-dim)":"var(--text)",fontFamily:"var(--font-mono)",flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),(s=(i=g(e))?$[i]:void 0,s?.state!=="update-available"?null:(0,r.jsx)("span",{title:k("skillsConfig.updateAvailable"),style:{color:"var(--status-warning)",fontSize:"var(--text-base)",lineHeight:1,flexShrink:0},children:"↑"}))]})]},e.filePath)})]},e))})()}),(0,r.jsx)("div",{style:{padding:"8px 6px",borderTop:"1px solid var(--border)",flexShrink:0},children:(0,r.jsxs)("button",{type:"button",onClick:()=>U(!0),className:"ui-focus-ring",style:{display:"flex",alignItems:"center",gap:6,padding:"7px 8px",borderRadius:5,cursor:"pointer",border:"none",background:"none",color:"var(--accent)",fontSize:"var(--text-md)",fontWeight:500,width:"100%",boxSizing:"border-box",textAlign:"left",transition:"background var(--dur-fast) var(--ease-out-warm)"},children:[(0,r.jsx)(c.A,{size:14,"aria-hidden":"true"}),(0,r.jsx)("span",{children:k("skillsConfig.addCustomSkill")})]})})]}),(0,r.jsx)("div",{style:{flex:1,overflowY:"auto",padding:20},children:E?(0,r.jsx)(b,{cwd:e,installedPackages:{global:new Set(j.filter(e=>e.install?.scope==="global").map(e=>e.install.package)),project:new Set(j.filter(e=>e.install?.scope==="project").map(e=>e.install.package))},onInstalled:()=>{K()}}):C?(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[(0,r.jsx)("div",{className:"skeleton",style:{height:18,width:"40%"}}),(0,r.jsx)("div",{className:"skeleton",style:{height:12,width:"70%"}}),(0,r.jsx)("div",{className:"skeleton",style:{height:12,width:"55%"}}),(0,r.jsx)("div",{className:"skeleton",style:{height:90,width:"100%"}})]}):q?(0,r.jsx)(m,{skill:q,cwd:e,onToggle:X,toggling:R.has(q.filePath),saveError:O,updateStatus:g(q)?$[g(q)]:void 0,checkingUpdate:!!g(q)&&M.has(g(q)),updating:A===g(q),updateError:V,onCheckUpdate:()=>void Y(q),onUpdate:()=>void L(q)},q.filePath):(0,r.jsx)("div",{style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--text-dim)",fontSize:"var(--text-base)"},children:k("skillsConfig.selectSkill")})})]}),(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 18px",borderTop:"1px solid var(--border)",flexShrink:0},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10},children:[j.some(e=>!!e.install)&&(0,r.jsx)("button",{onClick:()=>void Y(),disabled:B||null!==A,style:{padding:"6px 12px",background:"none",border:"1px solid var(--border)",borderRadius:6,color:"var(--text-muted)",cursor:B||null!==A?"not-allowed":"pointer",opacity:B||null!==A?.5:1,fontSize:"var(--text-md)"},children:B?k("skillsConfig.checking"):k("skillsConfig.checkUpdates")}),0===(u=Object.values($).filter(e=>"update-available"===e.state).length)?null:(0,r.jsx)("span",{style:{fontSize:"var(--text-md)",color:"var(--status-warning)"},children:S("skillsConfig.updateCount",u)})]}),(0,r.jsx)("button",{onClick:t,style:{padding:"6px 14px",background:"none",border:"1px solid var(--border)",borderRadius:6,color:"var(--text-muted)",cursor:"pointer",fontSize:"var(--text-base)"},children:k("skillsConfig.close")})]})]})}}}]);
|