1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23988,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return s},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(24930)._(e.r(17516)),l=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==s?(s="//"+(s||""),o&&"/"!==o[0]&&(o="/"+o)):s||(s=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${s}${o}${c}${i}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return i(e)}},40716,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(55118);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},67973,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(23869),o=e.r(80097);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},48766,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},54249,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(24930),l=e.r(46882),i=a._(e.r(55118)),u=e.r(23988),s=e.r(35547),c=e.r(40716),d=e.r(23869),f=e.r(22955);e.r(7507);let p=e.r(97637),h=e.r(58922),m=e.r(67973),y=e.r(31546);function b(t){var r,n;let o,a,b,[x,v]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),j=(0,i.useRef)(null),{href:k,as:_,children:w,prefetch:C=null,passHref:P,replace:O,shallow:N,scroll:L,onClick:S,onMouseEnter:R,onTouchStart:T,legacyBehavior:E=!1,onNavigate:A,transitionTypes:M,ref:U,unstable_dynamicOnHover:I,...$}=t;o=w,E&&("string"==typeof o||"number"==typeof o)&&(o=(0,l.jsx)("a",{children:o}));let B=i.default.useContext(s.AppRouterContext),W=!1!==C,D=!1!==C?null===(n=C)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,K="string"==typeof(r=_||k)?r:(0,u.formatUrl)(r);if(E){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=i.default.Children.only(o)}let z=E?a&&"object"==typeof a&&a.ref:U,q=i.default.useCallback(e=>(null!==B&&(j.current=(0,h.mountLinkInstance)(e,K,B,D,W,v)),()=>{j.current&&((0,h.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,h.unmountPrefetchableInstance)(e)}),[W,K,B,D,v]),F={ref:(0,c.useMergedRef)(q,z),onClick(t){E||"function"!=typeof S||S(t),E&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,o,a,l,u){if("u">typeof window){let s,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((s=t.currentTarget.getAttribute("target"))&&"_self"!==s||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(9697);i.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,K,j,O,L,A,M)},onMouseEnter(e){E||"function"!=typeof R||R(e),E&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),B&&W&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){E||"function"!=typeof T||T(e),E&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),B&&W&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,d.isAbsoluteUrl)(K)?F.href=K:E&&!P&&("a"!==a.type||"href"in a.props)||(F.href=(0,f.addBasePath)(K)),b=E?i.default.cloneElement(a,F):(0,l.jsx)("a",{...$,...F,children:o}),(0,l.jsx)(g.Provider,{value:x,children:b})}e.r(48766);let g=(0,i.createContext)(h.IDLE_LINK_STATUS),x=()=>(0,i.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},49793,e=>{"use strict";var t=e.i(55118);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:i="",children:u,iconNode:s,...c},d)=>(0,t.createElement)("svg",{ref:d,...o,width:n,height:n,stroke:e,strokeWidth:l?24*Number(a)/Number(n):a,className:r("lucide",i),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...s.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(u)?u:[u]]));e.s(["default",0,(e,o)=>{let l=(0,t.forwardRef)(({className:l,...i},u)=>(0,t.createElement)(a,{ref:u,iconNode:o,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...i}));return l.displayName=n(e),l}],49793)},57609,e=>{"use strict";let t=(0,e.i(49793).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],57609)},40969,e=>{"use strict";var t=e.i(46882),r=e.i(54249),n=e.i(57609),o=e.i(56780);let a={zh:{back:"返回首页",title:"隐私政策",date:"生效日期: 2026年5月",sections:[{h2:"1. 信息收集",p:"我们收集您在注册、使用 Heicode 平台(包括绑定的代码仓库及项目文档)、及提供服务反馈时提供给我们的信息。在此过程中,我们会将获取的授权凭据妥善加密保存。"},{h2:"2. 信息使用",p:"我们使用收集的信息来运行和提供 Heicode 的全流程智能开发服务,改善平台体验,为您派生任务所需的最小短期凭证,并响应您的支持请求。"},{h2:"3. 信息保护与分享",p:"我们采用业界标准的安全实践。我们仅在您明确同意或通过客户端界面审批的情况下,将必要的信息用于处理您的产品需求。我们不会将您的个人数据出售给第三方。"}]},en:{back:"Back to home",title:"Privacy Policy",date:"Effective Date: May 2026",sections:[{h2:"1. Information Collection",p:"We collect information you provide during registration, usage of the Heicode platform (including bounded repositories and documents), and feedback. During this process, authorization credentials will be securely encrypted and stored."},{h2:"2. Information Use",p:"We use the collected information to operate and provide Heicode's full-lifecycle AI development services, improve the platform experience, generate minimal short-term credentials required for task execution, and respond to your requests."},{h2:"3. Information Protection and Sharing",p:"We employ industry-standard security practices. We only use required information to process your product requests when you explicitly consent or approve via the client interface. We do not sell your personal data to third parties."}]}};e.s(["default",0,function(){let{lang:e,toggle:l}=(0,o.useLang)(),i=a[e];return(0,t.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,t.jsx)("div",{className:"sticky top-0 z-40 border-b border-border/50 bg-background/90 backdrop-blur-md",children:(0,t.jsxs)("div",{className:"mx-auto flex h-14 max-w-3xl items-center justify-between px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(n.ArrowLeft,{className:"h-4 w-4"}),i.back]}),(0,t.jsx)("button",{onClick:l,className:"rounded-md border border-border/60 px-2.5 py-1 font-mono text-xs text-muted-foreground transition-colors hover:border-accent/50 hover:text-foreground",children:"zh"===e?"EN":"中"})]})}),(0,t.jsxs)("div",{className:"mx-auto max-w-3xl px-4 py-16 sm:px-6 lg:px-8",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold tracking-tight mb-8",children:i.title}),(0,t.jsxs)("div",{className:"space-y-8 text-muted-foreground leading-relaxed",children:[(0,t.jsx)("p",{children:i.date}),i.sections.map((e,r)=>(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:"text-xl font-semibold text-foreground mb-3",children:e.h2}),(0,t.jsx)("p",{children:e.p})]},r))]})]})]})}])}]); |