!function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function t(t){for(var o=1;o<arguments.length;o++){var a=null!=arguments[o]?arguments[o]:{};o%2?e(Object(a),!0).forEach((function(e){n(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function n(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}System.register(["../../../../common/index-legacy.sLMPZLm9.js","../index-legacy.DvuPgGlN.js","../../../../common/vue-router-legacy.BDEEsdoO.js","../../../../common/index-legacy.Da_PguNu.js","../../../../common/_plugin-vue_export-helper-legacy.DgAO6S8O.js","../../../../common/index-legacy.DjPCm-Xr.js","../../../../common/index-legacy.NSn_Zdym.js","../../../../common/_getTag-legacy.CG1mexpa.js","../../../../common/KeyCode-legacy.B-3hPYkN.js","../../../../common/index-legacy.DwW0JJg5.js","../../../../common/index-legacy.C24Ds00T.js","../../../../common/zoom-legacy.CFu7WACM.js","../../../../common/Portal-legacy.CTGz0EZY.js","../../../../common/devWarning-legacy.QuSHKYiX.js","../../../../common/useState-legacy.VsKoz4di.js","../../../../common/_arrayIncludes-legacy.b4_s4n0c.js","../../../../common/collapseMotion-legacy.CQR8omUZ.js","../../../../common/slide-legacy.Da7YX2kr.js","../../../../common/index-legacy.CnSFhJbf.js","../../../../common/hasIn-legacy.C01pVUrr.js","../../../../common/_flatRest-legacy.MZIlKOPG.js","../../../../common/isMobile-legacy.u4Sbg_0V.js","../../../../common/useMergedState-legacy.BZWDs_rd.js","../../../../common/CloseOutlined-legacy.Jb2zNGmY.js","../../../../common/omit-legacy.Y6HgJwmj.js"],(function(e,n){"use strict";var o,a,l,r,c,i,s,u,m,g,y,d,p,f;return{setters:[e=>{o=e.d,a=e.e,l=e.w,r=e.q,c=e.n,i=e.x,s=e.l,u=e.u},e=>{m=e.g},e=>{g=e.u,y=e.a},e=>{d=e.T,p=e.a},e=>{f=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".general-settings[data-v-55d12d45]{padding:20px;text-align:center}.general-settings h2[data-v-55d12d45]{color:#262626;margin-bottom:16px}.general-settings p[data-v-55d12d45]{color:#666;font-size:14px}\n/*$vite$:1*/",document.head.appendChild(n);e("default",f(o({__name:"SettingsPage",setup(e){const n=m("pages/AiAgentsPage.vue"),o=m("pages/ConnectPage.vue"),f=m("pages/ChatWidgetSettingsPage.vue"),j=m("pages/ToolsPage.vue"),{__:b}=window.wp.i18n,v=g(),O=y(),w=a(v.query.tab||"ai-agents");return l(w,(e=>{O.push({query:t(t({},v.query),{},{tab:e})})})),l((()=>v.query.tab),(e=>{e&&"string"==typeof e&&(w.value=e)})),(e,t)=>(c(),r(u(p),{activeKey:w.value,"onUpdate:activeKey":t[0]||(t[0]=e=>w.value=e)},{default:i((()=>[s(u(d),{key:"ai-agents",tab:u(b)("AI Content Tools","storeagent-ai-for-woocommerce")},{default:i((()=>[s(u(n))])),_:1},8,["tab"]),s(u(d),{key:"chat-widget",tab:u(b)("AI Chat","storeagent-ai-for-woocommerce")},{default:i((()=>[s(u(f))])),_:1},8,["tab"]),s(u(d),{key:"connection",tab:u(b)("Connection","storeagent-ai-for-woocommerce")},{default:i((()=>[s(u(o))])),_:1},8,["tab"]),s(u(d),{key:"tools",tab:u(b)("Tools","storeagent-ai-for-woocommerce")},{default:i((()=>[s(u(j))])),_:1},8,["tab"])])),_:1},8,["activeKey"]))}}),[["__scopeId","data-v-55d12d45"]]))}}}))}();
