import{aI as K,R as r,A as $,aa as k,ab as j,aM as J,af as _,aO as X,ap as Y,aN as V,ad as ee,ai as te,an as oe,B as e,$ as ne,P as ae,a0 as E}from"./index-CNWvE5qA.js";import{O as se}from"./OldUserRemark-B4b_msNs.js";import{c as re,g as F}from"./create-scoped-keydown-handler-C7O3t3U_.js";const[ce,L]=K("Accordion component was not found in the tree");function B({style:c,size:a=16,...n}){return r.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...c,width:$(a),height:$(a),display:"block"},...n},r.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}B.displayName="@mantine/core/AccordionChevron";const[ie,U]=K("Accordion.Item component was not found in the tree");var g={root:"m_9bdbb667",panel:"m_df78851f",content:"m_4ba554d4",itemTitle:"m_8fa820a0",control:"m_4ba585b8","control--default":"m_6939a5e9","control--contained":"m_4271d21b",label:"m_df3ffa0f",chevron:"m_3f35ae96",icon:"m_9bd771fe",item:"m_9bd7b098","item--default":"m_fe19b709","item--contained":"m_1f921b3b","item--filled":"m_2cdf939a","item--separated":"m_9f59b069"};const le={},D=k((c,a)=>{const{classNames:n,className:d,style:p,styles:i,vars:x,chevron:m,icon:h,onClick:l,onKeyDown:s,children:w,disabled:b,mod:P,...N}=j("AccordionControl",le,c),{value:f}=U(),t=L(),A=t.isItemActive(f),O=typeof t.order=="number",R=`h${t.order}`,C=r.createElement(J,{...N,...t.getStyles("control",{className:d,classNames:n,style:p,styles:i,variant:t.variant}),unstyled:t.unstyled,mod:["accordion-control",{active:A,"chevron-position":t.chevronPosition,disabled:b},P],ref:a,onClick:I=>{l==null||l(I),t.onChange(f)},type:"button",disabled:b,"aria-expanded":A,"aria-controls":t.getRegionId(f),id:t.getControlId(f),onKeyDown:re({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:t.loop,orientation:"vertical",onKeyDown:s})},r.createElement(_,{component:"span",mod:{rotate:!t.disableChevronRotation&&A,position:t.chevronPosition},...t.getStyles("chevron",{classNames:n,styles:i})},m||t.chevron),r.createElement("span",{...t.getStyles("label",{classNames:n,styles:i})},w),h&&r.createElement(_,{component:"span",mod:{"chevron-position":t.chevronPosition},...t.getStyles("icon",{classNames:n,styles:i})},h));return O?r.createElement(R,{...t.getStyles("itemTitle",{classNames:n,styles:i})},C):C});D.displayName="@mantine/core/AccordionControl";D.classes=g;const de={},G=k((c,a)=>{const{classNames:n,className:d,style:p,styles:i,vars:x,value:m,mod:h,...l}=j("AccordionItem",de,c),s=L();return r.createElement(ie,{value:{value:m}},r.createElement(_,{ref:a,mod:[{active:s.isItemActive(m)},h],...s.getStyles("item",{className:d,classNames:n,styles:i,style:p,variant:s.variant}),...l}))});G.displayName="@mantine/core/AccordionItem";G.classes=g;const me={},H=k((c,a)=>{const{classNames:n,className:d,style:p,styles:i,vars:x,children:m,...h}=j("AccordionPanel",me,c),{value:l}=U(),s=L();return r.createElement(X,{ref:a,...s.getStyles("panel",{className:d,classNames:n,style:p,styles:i}),...h,in:s.isItemActive(l),transitionDuration:s.transitionDuration??200,role:"region",id:s.getRegionId(l),"aria-labelledby":s.getControlId(l)},r.createElement("div",{...s.getStyles("content",{classNames:n,styles:i})},m))});H.displayName="@mantine/core/AccordionPanel";H.classes=g;const he={multiple:!1,disableChevronRotation:!1,chevronPosition:"right",variant:"default",chevron:r.createElement(B,null)},ve=te((c,{transitionDuration:a,chevronSize:n,radius:d})=>({root:{"--accordion-transition-duration":a===void 0?void 0:`${a}ms`,"--accordion-chevron-size":n===void 0?void 0:$(n),"--accordion-radius":d===void 0?void 0:oe(d)}}));function o(c){const a=j("Accordion",he,c),{classNames:n,className:d,style:p,styles:i,unstyled:x,vars:m,children:h,multiple:l,value:s,defaultValue:w,onChange:b,id:P,loop:N,transitionDuration:f,disableChevronRotation:t,chevronPosition:A,chevronSize:O,order:R,chevron:C,variant:I,radius:xe,...W}=a,S=Y(P),[v,M]=V({value:s,defaultValue:w,finalValue:l?[]:null,onChange:b}),q=u=>Array.isArray(v)?v.includes(u):u===v,z=u=>{const Q=Array.isArray(v)?v.includes(u)?v.filter(Z=>Z!==u):[...v,u]:u===v?null:u;M(Q)},T=ee({name:"Accordion",classes:g,props:a,className:d,style:p,classNames:n,styles:i,unstyled:x,vars:m,varsResolver:ve});return r.createElement(ce,{value:{isItemActive:q,onChange:z,getControlId:F(`${S}-control`,"Accordion.Item component was rendered with invalid value or without value"),getRegionId:F(`${S}-panel`,"Accordion.Item component was rendered with invalid value or without value"),transitionDuration:f,disableChevronRotation:t,chevronPosition:A,order:R,chevron:C,loop:N,getStyles:T,variant:I,unstyled:x}},r.createElement(_,{...T("root"),id:S,...W,variant:I,"data-accordion":!0},h))}const ue=c=>c;o.extend=ue;o.classes=g;o.displayName="@mantine/core/Accordion";o.Item=G;o.Panel=H;o.Control=D;o.Chevron=B;const pe="_wrapper_3ui4n_1",fe="_title_3ui4n_7",ye="_item_3ui4n_11",y={wrapper:pe,title:fe,item:ye};function Ce(){return e.jsxs(ne,{size:"sm",className:y.wrapper,children:[e.jsx(ae,{ta:"center",className:y.title,children:"常见问题(FAQ)"}),e.jsxs(o,{variant:"separated",children:[e.jsxs(o.Item,{className:y.item,value:"reset-password",children:[e.jsxs(o.Control,{children:["请问",E().name,"是开源软件吗?(对的,完全开源)"]}),e.jsx(o.Panel,{children:e.jsxs("p",{className:"space-y-2",children:["是的,",E().name,"是开源软件,我们的代码以AGPLv3协议开源于",e.jsx("a",{href:E().githubRepo,target:"_blank",children:"GitHub"}),"上,任何人都可以进行代码审查。我们开源的目的是为了确保没有任何潜在的后门或恶意代码,也是为了赢取用户的信任,并吸引更多优秀的开发者加入我们的开发团队。",e.jsx("br",{}),"目前,我们已完全开源了",e.jsx("b",{children:"客户端、Web端、服务器端"}),",如果有一天你发现我们作恶,社区完全可以fork一个新版本,另起炉灶以抵制作恶。",e.jsx("br",{}),e.jsx("i",{children:"Talk is cheap, show me the code!"})," ",e.jsx("br",{}),"作为纯软件团队,我们愿意将最重要的代码资产交出来,展示我们的诚意,以及未来持续维护的决心,更重要的是,绝不作恶和背刺用户。"]})})]}),e.jsxs(o.Item,{className:y.item,value:"another-account",children:[e.jsx(o.Control,{children:"既然是一款开源软件,为什么会有专业版?(需要用户的帮助)"}),e.jsxs(o.Panel,{children:[e.jsx("p",{children:"开源软件不等于免费服务,开发组需要收入来维持日常开支(吃饭)以及服务器软签等费用。为了让这个项目能够活下去,我们额外提供了一个专业版,提供了好用稳定的进阶付费功能。您现在购买的专业版将会是最优惠的一个价格,未来价格可能会因成本而上涨。当然,我们绝不会背刺用户。"}),e.jsx("p",{children:"说回到开源与免费,本质上来说,它也是一款【免费】软件,指的是用户可以自搭服务器,自己配置相关API,自己配数据库,所有付费功能都将不受原版本的限制,但这可能需要一些专业的技术背景,如果您不具备这些技术背景,我们建议您购买专业版,我们会为您提供一站式服务。"})]})]}),e.jsxs(o.Item,{className:y.item,value:"payment",children:[e.jsx(o.Control,{children:"开发组对于这款工具箱的未来蓝图是怎样规划的? (三端统一)"}),e.jsx(o.Panel,{children:"不画饼的讲一句:移动端、平板端、电脑端,三端统一!"})]}),e.jsxs(o.Item,{className:y.item,value:"payment2",children:[e.jsx(o.Control,{children:"我是CodeGen老用户,原来的付费计划是怎么安排的?(权益依旧,附赠永久)"}),e.jsx(o.Panel,{children:e.jsx(se,{})})]})]})]})}export{Ce as default};