mirror of
https://github.com/ZSCNetSupportDept/website.git
synced 2026-02-10 20:29:00 +08:00
1 line
5.6 KiB
JavaScript
1 line
5.6 KiB
JavaScript
"use strict";(self.webpackChunkdeveloper_zsc=self.webpackChunkdeveloper_zsc||[]).push([[898],{3514:(e,t,n)=>{n.d(t,{A:()=>j});n(96540);var r=n(34164),s=n(26972),c=n(28774),o=n(53465),i=n(16654),l=n(21312),a=n(51107);const d={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var u=n(74848);function m({href:e,children:t}){return(0,u.jsx)(c.A,{href:e,className:(0,r.A)("card padding--lg",d.cardContainer),children:t})}function p({href:e,icon:t,title:n,description:s}){return(0,u.jsxs)(m,{href:e,children:[(0,u.jsxs)(a.A,{as:"h2",className:(0,r.A)("text--truncate",d.cardTitle),title:n,children:[t," ",n]}),s&&(0,u.jsx)("p",{className:(0,r.A)("text--truncate",d.cardDescription),title:s,children:s})]})}function h({item:e}){const t=(0,s.Nr)(e),n=function(){const{selectMessage:e}=(0,o.W)();return t=>e(t,(0,l.T)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return t?(0,u.jsx)(p,{href:t,icon:"\ud83d\uddc3\ufe0f",title:e.label,description:e.description??n(e.items.length)}):null}function f({item:e}){const t=(0,i.A)(e.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",n=(0,s.cC)(e.docId??void 0);return(0,u.jsx)(p,{href:e.href,icon:t,title:e.label,description:e.description??n?.description})}function x({item:e}){switch(e.type){case"link":return(0,u.jsx)(f,{item:e});case"category":return(0,u.jsx)(h,{item:e});default:throw new Error(`unknown item type ${JSON.stringify(e)}`)}}function g({className:e}){const t=(0,s.$S)();return(0,u.jsx)(j,{items:t.items,className:e})}function j(e){const{items:t,className:n}=e;if(!t)return(0,u.jsx)(g,{...e});const c=(0,s.d1)(t);return(0,u.jsx)("section",{className:(0,r.A)("row",n),children:c.map(((e,t)=>(0,u.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,u.jsx)(x,{item:e})},t)))})}},28453:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>i});var r=n(96540);const s={},c=r.createContext(s);function o(e){const t=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(c.Provider,{value:t},e.children)}},42315:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>m,frontMatter:()=>i,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"devdocs/\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/index","title":"\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf","description":"\u7f51\u7ef4\u7684\u65b0\u62a5\u4fee\u7cfb\u7edf","source":"@site/docs/devdocs/02-\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/index.md","sourceDirName":"devdocs/02-\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf","slug":"/devdocs/\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/","permalink":"/docs/devdocs/\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/","draft":false,"unlisted":false,"editUrl":"https://github.com/ZSCNetSupportDept/website/tree/master/docs/devdocs/02-\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/index.md","tags":[],"version":"current","lastUpdatedAt":1762103219000,"frontMatter":{},"sidebar":"devdocs","previous":{"title":"ZSCNSD-DEV Documents","permalink":"/docs/devdocs/\u9996\u9875"},"next":{"title":"\u6982\u8ff0","permalink":"/docs/devdocs/\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf/\u6982\u8ff0"}}');var s=n(74848),c=n(28453),o=n(3514);const i={},l="\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf",a={},d=[];function u(e){const t={h1:"h1",header:"header",p:"p",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf",children:"\u7f51\u7ef4\u62a5\u4fee\u7cfb\u7edf"})}),"\n",(0,s.jsx)(t.p,{children:"\u7f51\u7ef4\u7684\u65b0\u62a5\u4fee\u7cfb\u7edf"}),"\n",(0,s.jsx)(t.p,{children:"\u7f51\u7ef4\u539f\u6765\u7684\u8001\u62a5\u4fee\u7cfb\u7edf\u4ece13\u5e74\u5f00\u59cb\u5f00\u53d1\uff0c16\u5e74\u5b8c\u6210\u7684\u7b2c\u4e8c\u7248\u4e00\u76f4\u7528\u5230\u4e86\u73b0\u57282025\u5e74\uff0c\u786e\u5b9e\u6709\u5fc5\u8981\u66f4\u65b0\u4e86\uff0c\u672c\u6587\u6863\u662f\u65b0\u62a5\u4fee\u7cfb\u7edf\u7684\u6587\u6863\uff0c\u6682\u65f6\u8fd8\u6ca1\u5199\u597d\uff0c\u53ef\u4ee5\u5148\u53c2\u8003\u3002"}),"\n",(0,s.jsx)(t.p,{children:"\u5982\u679c\u4f60\u60f3\u52a0\u5165\u62a5\u4fee\u7cfb\u7edf\u7684\u5f00\u53d1\u5de5\u4f5c\uff0c\u6216\u8005\u5bf9\u529f\u80fd\u6709\u5efa\u8bae\uff0c\u53ef\u4ee5\u8054\u7cfb\u5f00\u53d1\u7ec4\u7ec4\u957f\u3002"}),"\n","\n",(0,s.jsx)(o.A,{className:"docs-card"})]})}function m(e={}){const{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},53465:(e,t,n)=>{n.d(t,{W:()=>a});var r=n(96540),s=n(44586);const c=["zero","one","two","few","many","other"];function o(e){return c.filter((t=>e.includes(t)))}const i={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function l(){const{i18n:{currentLocale:e}}=(0,s.A)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),i}}),[e])}function a(){const e=l();return{selectMessage:(t,n)=>function(e,t,n){const r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const s=n.select(t),c=n.pluralForms.indexOf(s);return r[Math.min(c,r.length-1)]}(n,t,e)}}}}]); |