1
0
mirror of https://github.com/ZSCNetSupportDept/website.git synced 2025-10-28 17:05:03 +08:00
Files
website/assets/js/93000516.f696017b.js
2025-07-28 19:10:46 +08:00

1 line
5.2 KiB
JavaScript

"use strict";(self.webpackChunkdeveloper_zsc=self.webpackChunkdeveloper_zsc||[]).push([[4123],{3514:(e,t,n)=>{n.d(t,{A:()=>j});n(96540);var r=n(34164),s=n(26972),i=n(28774),c=n(53465),o=n(16654),l=n(21312),a=n(51107);const u={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};var d=n(74848);function m(e){let{href:t,children:n}=e;return(0,d.jsx)(i.A,{href:t,className:(0,r.A)("card padding--lg",u.cardContainer),children:n})}function p(e){let{href:t,icon:n,title:s,description:i}=e;return(0,d.jsxs)(m,{href:t,children:[(0,d.jsxs)(a.A,{as:"h2",className:(0,r.A)("text--truncate",u.cardTitle),title:s,children:[n," ",s]}),i&&(0,d.jsx)("p",{className:(0,r.A)("text--truncate",u.cardDescription),title:i,children:i})]})}function h(e){let{item:t}=e;const n=(0,s.Nr)(t),r=function(){const{selectMessage:e}=(0,c.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 n?(0,d.jsx)(p,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??r(t.items.length)}):null}function f(e){let{item:t}=e;const n=(0,o.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,s.cC)(t.docId??void 0);return(0,d.jsx)(p,{href:t.href,icon:n,title:t.label,description:t.description??r?.description})}function x(e){let{item:t}=e;switch(t.type){case"link":return(0,d.jsx)(f,{item:t});case"category":return(0,d.jsx)(h,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e;const n=(0,s.$S)();return(0,d.jsx)(j,{items:n.items,className:t})}function j(e){const{items:t,className:n}=e;if(!t)return(0,d.jsx)(g,{...e});const i=(0,s.d1)(t);return(0,d.jsx)("section",{className:(0,r.A)("row",n),children:i.map(((e,t)=>(0,d.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,d.jsx)(x,{item:e})},t)))})}},28453:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>o});var r=n(96540);const s={},i=r.createContext(s);function c(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),r.createElement(i.Provider,{value:t},e.children)}},39318:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>l,default:()=>m,frontMatter:()=>o,metadata:()=>r,toc:()=>u});const r=JSON.parse('{"id":"wiki/\u6742\u9879/index","title":"\u6742\u9879","description":"\u8fd9\u91cc\u5b58\u653e\u4e86\u4e00\u4e9b\u6742\u4e03\u6742\u516b\u7684\u6587\u7ae0\uff0c\u4e5f\u8bb8\u4ee5\u540e\u4f1a\u628a\u4ed6\u4eec\u6574\u7406\u653e\u5230\u5176\u4ed6\u677f\u5757\u91cc\uff1f","source":"@site/docs/wiki/11-\u6742\u9879/index.md","sourceDirName":"wiki/11-\u6742\u9879","slug":"/wiki/\u6742\u9879/","permalink":"/docs/wiki/\u6742\u9879/","draft":false,"unlisted":false,"editUrl":"https://github.com/ZSCNetSupportDept/website/tree/master/docs/wiki/11-\u6742\u9879/index.md","tags":[],"version":"current","lastUpdatedAt":1750566977000,"frontMatter":{},"sidebar":"wiki","previous":{"title":"\u8d44\u6e90","permalink":"/docs/wiki/\u8d44\u6e90"},"next":{"title":"MacOS\u4fee\u7406\u6307\u5357","permalink":"/docs/wiki/\u6742\u9879/MacOS\u4fee\u7406\u6307\u5357"}}');var s=n(74848),i=n(28453),c=n(3514);const o={},l="\u6742\u9879",a={},u=[];function d(e){const t={em:"em",h1:"h1",header:"header",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"\u6742\u9879",children:"\u6742\u9879"})}),"\n",(0,s.jsx)(t.p,{children:"\u8fd9\u91cc\u5b58\u653e\u4e86\u4e00\u4e9b\u6742\u4e03\u6742\u516b\u7684\u6587\u7ae0\uff0c\u4e5f\u8bb8\u4ee5\u540e\u4f1a\u628a\u4ed6\u4eec\u6574\u7406\u653e\u5230\u5176\u4ed6\u677f\u5757\u91cc\uff1f"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.em,{children:"\u8bf7\u9009\u62e9\u4e00\u4e2a\u677f\u5757\u67e5\u770b\uff1a"})}),"\n","\n",(0,s.jsx)(c.A,{className:"docs-card"})]})}function m(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},53465:(e,t,n)=>{n.d(t,{W:()=>a});var r=n(96540),s=n(44586);const i=["zero","one","two","few","many","other"];function c(e){return i.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["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:c(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`),o}}),[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),i=n.pluralForms.indexOf(s);return r[Math.min(i,r.length-1)]}(n,t,e)}}}}]);