Compare commits

...

35 Commits

Author SHA1 Message Date
Kimdiego2098
7e06f19bbc 更新5.0.0.5 2024-01-24 12:19:29 +08:00
Kimdiego2098
0b66c1f0d6 添加using 2024-01-24 11:15:32 +08:00
Kimdiego2098
ff2742ffd8 删除字节转换类的copynew方法 2024-01-24 10:11:10 +08:00
Kimdiego2098
70c2992a5f 调整命名空间 2024-01-24 09:45:13 +08:00
Kimdiego2098
4ac4ee6874 调整命名空间 2024-01-24 08:50:53 +08:00
Kimdiego2098
865164a404 删除多余代码 2024-01-24 08:49:01 +08:00
Diego2098
f9c8069ab2 调整DTU配置,增加心跳回应 2024-01-23 21:32:47 +08:00
Diego2098
2fbf5140e5 调整DTU配置,增加心跳回应 2024-01-23 21:09:57 +08:00
Kimdiego2098
0126f8144a 调整mqtt在线状态判断 2024-01-23 18:06:22 +08:00
Kimdiego2098
71383d7482 调整日志读取策略 2024-01-23 17:23:36 +08:00
Kimdiego2098
4d3bfc5f42 调整封装方法 2024-01-23 15:51:08 +08:00
Kimdiego2098
c173d217de 添加重启后台事件 2024-01-23 08:50:08 +08:00
Kimdiego2098
d2da9a039f 更新5.0.0.4 2024-01-22 23:13:02 +08:00
Kimdiego2098
c915edd458 S7握手失败时直接关闭连接 2024-01-22 23:03:03 +08:00
Kimdiego2098
504948452e 更新TD引用 2024-01-22 22:12:17 +08:00
Kimdiego2098
3daa6c7a54 修复空指针错误 2024-01-22 21:53:59 +08:00
Kimdiego2098
10cd1580a5 调整命名 2024-01-22 21:13:59 +08:00
Kimdiego2098
5b0876e106 修复缓存item没有默认构造函数导致的錯誤 2024-01-22 11:38:16 +08:00
Kimdiego2098
cfcdeaff01 调整常量位置 2024-01-22 11:24:37 +08:00
Kimdiego2098
7c34f233fd 更新文档 2024-01-22 09:50:38 +08:00
Kimdiego2098
686146a7d9 修复导入插件错误 2024-01-22 08:38:48 +08:00
Kimdiego2098
44732d5977 更新5.0.0.3 2024-01-21 22:48:30 +08:00
Kimdiego2098
05c3794cf7 修复属性为可空类型是,excek导入失败的问题 2024-01-21 22:48:04 +08:00
Kimdiego2098
f0431a504a 更新版本5.0.0.2 2024-01-21 21:18:36 +08:00
Kimdiego2098
eccec85ea6 调整解析寄存器地址规则 2024-01-21 21:17:07 +08:00
Kimdiego2098
16ff538804 修复特殊方法执行主体错误 2024-01-21 20:42:20 +08:00
Kimdiego2098
f81e07eb6f 修复特殊方法检测为null的问题 2024-01-21 20:19:44 +08:00
Kimdiego2098
1cbd41ad87 更新文档 2024-01-21 16:50:16 +08:00
Kimdiego2098
d8567b8427 断开连接时 退出 等待数据返回 2024-01-21 16:43:10 +08:00
Kimdiego2098
afe6a1923b 断开连接时 退出 等待数据返回 2024-01-21 16:42:30 +08:00
Kimdiego2098
0f60f4754f 更新文档 2024-01-21 16:42:03 +08:00
Kimdiego2098
7e988d0401 更新文档 2024-01-21 16:08:23 +08:00
Kimdiego2098
d85813c229 更新文档 2024-01-21 16:07:56 +08:00
Kimdiego2098
12eb56809d 更新5.0 2024-01-21 15:38:31 +08:00
Kimdiego2098
d792172779 更新5.0 2024-01-21 15:38:28 +08:00
2745 changed files with 110946 additions and 184409 deletions

9
.gitignore vendored
View File

@@ -362,7 +362,10 @@ MigrationBackup/
# Fody - auto-generated XML schema
FodyWeavers.xsd
/framework/*pro*
/framework/*Pro*
/src/*Pro*/
/src/*Pro*
/src/*pro*
/src/*pro*/
/src/ThingsGateway.Web.Entry/.config/
/doc/.*

15
doc/README.md Normal file
View File

@@ -0,0 +1,15 @@
文档基于 [https://www.docusaurus.io/](https://www.docusaurus.io/) 构建。
### 本地运行
```bash
npm install
npm run start
```
### 发布部署
```bash
npm run build
```

16
doc/build/404.html vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 326 KiB

After

Width:  |  Height:  |  Size: 326 KiB

View File

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[488],{8971:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>o,contentTitle:()=>d,default:()=>u,frontMatter:()=>i,metadata:()=>l,toc:()=>r});var s=a(7462),n=(a(7294),a(3905));a(4996),a(510),a(2969);const i={id:1002,title:"\u8054\u7cfb\u6211\u4eec"},d=void 0,l={unversionedId:"1002",id:"1002",title:"\u8054\u7cfb\u6211\u4eec",description:"ThingsGateway\u56e2\u961f\u6210\u7acb1\u5e74\u6765\u4e00\u76f4\u81f4\u529b\u4e8e\u5de5\u4e1a\u7269\u8054\u7f51\u5173\u89e3\u51b3\u65b9\u6848\u3002\u6211\u4eec\u7684\u521d\u8877\u662f\u4f7f\u8bbe\u5907\u63a5\u5165\u66f4\u7b80\u5355\uff0c\u4e3a\u7528\u6237\u6253\u9020\u63d0\u9ad8\u6548\u7387\u7684\u4ea7\u54c1\u3002",source:"@site/docs/1002.mdx",sourceDirName:".",slug:"/1002",permalink:"/thingsgateway-docs/docs/1002",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/1002.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1705822711,formattedLastUpdatedAt:"Jan 21, 2024",frontMatter:{id:"1002",title:"\u8054\u7cfb\u6211\u4eec"},sidebar:"docs",previous:{title:"Dlt645",permalink:"/thingsgateway-docs/docs/20005"},next:{title:"\u8d5e\u52a9\u9879\u76ee",permalink:"/thingsgateway-docs/docs/1000"}},o={},r=[{value:"\u6280\u672f\u652f\u6301",id:"\u6280\u672f\u652f\u6301",level:3},{value:"\u54a8\u8be2\u3001\u5408\u4f5c",id:"\u54a8\u8be2\u5408\u4f5c",level:3}],p={toc:r},c="wrapper";function u(t){let{components:e,...a}=t;return(0,n.kt)(c,(0,s.Z)({},p,a,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"ThingsGateway\u56e2\u961f"),"\u6210\u7acb1\u5e74\u6765\u4e00\u76f4\u81f4\u529b\u4e8e\u5de5\u4e1a\u7269\u8054\u7f51\u5173\u89e3\u51b3\u65b9\u6848\u3002\u6211\u4eec\u7684\u521d\u8877\u662f\u4f7f\u8bbe\u5907\u63a5\u5165\u66f4\u7b80\u5355\uff0c\u4e3a\u7528\u6237\u6253\u9020\u63d0\u9ad8\u6548\u7387\u7684\u4ea7\u54c1\u3002"),(0,n.kt)("p",null,"\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u627e\u5230\u6211\u4eec\uff1a"),(0,n.kt)("h3",{id:"\u6280\u672f\u652f\u6301"},"\u6280\u672f\u652f\u6301"),(0,n.kt)("p",null,"QQ\u7fa4\uff1a605534569"),(0,n.kt)("p",null,"QQ\uff1a2248356998"),(0,n.kt)("h3",{id:"\u54a8\u8be2\u5408\u4f5c"},"\u54a8\u8be2\u3001\u5408\u4f5c"),(0,n.kt)("p",null,"\u624b\u673a\uff1a15622119120 \u6797\u5de5"),(0,n.kt)("p",null,"\u5fae\u4fe1\uff1a15622119120"))}u.isMDXComponent=!0}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[6866],{6118:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>p,contentTitle:()=>d,default:()=>c,frontMatter:()=>s,metadata:()=>o,toc:()=>r});var i=a(7462),n=(a(7294),a(3905));a(4996),a(510),a(2969);const s={id:101,title:"\u63d2\u4ef6\u7ba1\u7406"},d=void 0,o={unversionedId:"101",id:"101",title:"\u63d2\u4ef6\u7ba1\u7406",description:"\u66f4\u6539\u8bbe\u5907/\u53d8\u91cf/\u63d2\u4ef6\u7b49\uff0c\u9700\u8981\u91cd\u542f\u540e\u53f0(\u53f3\u4e0a\u89d2\u91cd\u542f\u540e\u53f0\u6309\u94ae)",source:"@site/docs/101.mdx",sourceDirName:".",slug:"/101",permalink:"/thingsgateway-docs/docs/101",draft:!1,editUrl:"https://gitee.com/diego2098/ThingsGateway/tree/master/doc/docs/101.mdx",tags:[],version:"current",lastUpdatedBy:"Kimdiego2098",lastUpdatedAt:1705822711,formattedLastUpdatedAt:"Jan 21, 2024",frontMatter:{id:"101",title:"\u63d2\u4ef6\u7ba1\u7406"},sidebar:"docs",previous:{title:"\u9a71\u52a8\u8c03\u8bd5",permalink:"/thingsgateway-docs/docs/100"},next:{title:"\u901a\u9053",permalink:"/thingsgateway-docs/docs/102"}},p={},r=[{value:"\u4e00\u3001\u8bf4\u660e",id:"\u4e00\u8bf4\u660e",level:2},{value:"\u4e8c\u3001\u4e0a\u4f20\u63d2\u4ef6",id:"\u4e8c\u4e0a\u4f20\u63d2\u4ef6",level:2},{value:"\u4e8c\u3001\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6",id:"\u4e8c\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6",level:2}],l={toc:r},m="wrapper";function c(t){let{components:e,...s}=t;return(0,n.kt)(m,(0,i.Z)({},l,s,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("admonition",{type:"tip"},(0,n.kt)("mdxAdmonitionTitle",{parentName:"admonition"},(0,n.kt)("inlineCode",{parentName:"mdxAdmonitionTitle"},"\u914d\u7f6e\u987b\u77e5")),(0,n.kt)("p",{parentName:"admonition"}," \u66f4\u6539\u8bbe\u5907/\u53d8\u91cf/\u63d2\u4ef6\u7b49\uff0c\u9700\u8981\u91cd\u542f\u540e\u53f0(\u53f3\u4e0a\u89d2\u91cd\u542f\u540e\u53f0\u6309\u94ae)")),(0,n.kt)("h2",{id:"\u4e00\u8bf4\u660e"},"\u4e00\u3001\u8bf4\u660e"),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"ThingsGateway")," \u7f51\u5173\u6838\u5fc3\u4ee3\u7801\u90fd\u7531\u63d2\u4ef6\u5b8c\u6210\uff0c\u4e3b\u7a0b\u5e8f\u53ea\u8d1f\u8d23\u8c03\u5ea6\u6267\u884c"),(0,n.kt)("p",null,"\u63d2\u4ef6\u652f\u6301\u70ed\u91cd\u8f7d\uff0c\u53ef\u7531\u5916\u90e8\u4e0a\u4f20\u5230\u7f51\u5173\u4e2d"),(0,n.kt)("h2",{id:"\u4e8c\u4e0a\u4f20\u63d2\u4ef6"},"\u4e8c\u3001\u4e0a\u4f20\u63d2\u4ef6"),(0,n.kt)("img",{src:a(5808).Z}),(0,n.kt)("h2",{id:"\u4e8c\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6"},"\u4e8c\u3001\u624b\u52a8\u91cd\u8f7d\u63d2\u4ef6"),(0,n.kt)("img",{src:a(7429).Z}),(0,n.kt)("p",null,"\u53ef\u7531\u9876\u90e8\u6309\u94ae\u6216\u8005\u63d2\u4ef6\u7ba1\u7406\u9875\u9762\u6309\u94ae\u6267\u884c\u624b\u52a8\u91cd\u8f7d"),(0,n.kt)("admonition",{title:"\u63d0\u793a",type:"tip"},(0,n.kt)("p",{parentName:"admonition"},"\u63d2\u4ef6\u91cd\u65b0\u68c0\u6d4b\u6587\u4ef6\u540e\uff0c\u8fd0\u884c\u6001\u7684\u63d2\u4ef6\u4e0d\u4f1a\u53d1\u9001\u4efb\u4f55\u6539\u53d8\uff0c\u5982\u679c\u7acb\u5373\u751f\u6548\uff0c\u8bf7\u6309\u53f3\u4e0a\u89d2\u7684\u91cd\u542f\u540e\u53f0\u6309\u94ae")))}c.isMDXComponent=!0},5808:(t,e,a)=>{a.d(e,{Z:()=>i});const i=a.p+"assets/images/\u4e0a\u4f20\u63d2\u4ef6-7b2abd69100f1f9c579e6a52749be97c.png"},7429:(t,e,a)=>{a.d(e,{Z:()=>i});const i=a.p+"assets/images/\u91cd\u8f7d\u63d2\u4ef6-e5f135b68555aaa0d540b3919a3b83b4.png"}}]);

File diff suppressed because one or more lines are too long

1
doc/build/assets/js/1752.95cb0f0d.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[7920],{2027:(e,t,a)=>{a.r(t),a.d(t,{default:()=>$});var r=a(7294),n=a(2263),l=a(179),s=a(5742),c=a(9960),u=a(5999);const o=["zero","one","two","few","many","other"];function m(e){return o.filter((t=>e.includes(t)))}const h={locale:"en",pluralForms:m(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,n.Z)();return(0,r.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:m(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`),h}}),[e])}function p(){const e=i();return{selectMessage:(t,a)=>function(e,t,a){const r=e.split("|");if(1===r.length)return r[0];r.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);const n=a.select(t),l=a.pluralForms.indexOf(n);return r[Math.min(l,r.length-1)]}(a,t,e)}}var g=a(6550),d=a(412);const f=function(){const e=(0,g.k6)(),t=(0,g.TH)(),{siteConfig:{baseUrl:a}}=(0,n.Z)(),r=d.Z.canUseDOM?new URLSearchParams(t.search):null,l=r?.get("q")||"",s=r?.get("ctx")||"",c=r?.get("version")||"",u=e=>{const a=new URLSearchParams(t.search);return e?a.set("q",e):a.delete("q"),a};return{searchValue:l,searchContext:s,searchVersion:c,updateSearchPath:t=>{const a=u(t);e.replace({search:a.toString()})},generateSearchPageLink:e=>{const t=u(e);return`${a}search?${t.toString()}`}}};var y=a(22),E=a(8202),S=a(2539),I=a(726),w=a(1073),R=a(311),P=a(3926),b=a(1029);const v={searchQueryInput:"searchQueryInput_CFBF",searchResultItem:"searchResultItem_U687",searchResultItemPath:"searchResultItemPath_uIbk",searchResultItemSummary:"searchResultItemSummary_oZHr"};function F(){const{siteConfig:{baseUrl:e}}=(0,n.Z)(),{selectMessage:t}=p(),{searchValue:a,searchContext:l,searchVersion:c,updateSearchPath:o}=f(),[m,h]=(0,r.useState)(a),[i,g]=(0,r.useState)(),[d,S]=(0,r.useState)(),I=`${e}${c}`,w=(0,r.useMemo)((()=>m?(0,u.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:m}):(0,u.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[m]);(0,r.useEffect)((()=>{o(m),i&&(m?i(m,(e=>{S(e)})):S(void 0))}),[m,i]);const P=(0,r.useCallback)((e=>{h(e.target.value)}),[]);return(0,r.useEffect)((()=>{a&&a!==m&&h(a)}),[a]),(0,r.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=await(0,y.w)(I,l);g((()=>(0,E.v)(e,t,100)))}()}),[l,I]),r.createElement(r.Fragment,null,r.createElement(s.Z,null,r.createElement("meta",{property:"robots",content:"noindex, follow"}),r.createElement("title",null,w)),r.createElement("div",{className:"container margin-vert--lg"},r.createElement("h1",null,w),r.createElement("input",{type:"search",name:"q",className:v.searchQueryInput,"aria-label":"Search",onChange:P,value:m,autoComplete:"off",autoFocus:!0}),!i&&m&&r.createElement("div",null,r.createElement(R.Z,null)),d&&(d.length>0?r.createElement("p",null,t(d.length,(0,u.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:d.length}))):r.createElement("p",null,(0,u.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"}))),r.createElement("section",null,d&&d.map((e=>r.createElement(C,{key:e.document.i,searchResult:e}))))))}function C(e){let{searchResult:{document:t,type:a,page:n,tokens:l,metadata:s}}=e;const u=0===a,o=2===a,m=(u?t.b:n.b).slice(),h=o?t.s:t.t;u||m.push(n.t);let i="";if(b.vc&&l.length>0){const e=new URLSearchParams;for(const t of l)e.append("_highlight",t);i=`?${e.toString()}`}return r.createElement("article",{className:v.searchResultItem},r.createElement("h2",null,r.createElement(c.Z,{to:t.u+i+(t.h||""),dangerouslySetInnerHTML:{__html:o?(0,S.C)(h,l):(0,I.o)(h,(0,w.m)(s,"t"),l,100)}})),m.length>0&&r.createElement("p",{className:v.searchResultItemPath},(0,P.e)(m)),o&&r.createElement("p",{className:v.searchResultItemSummary,dangerouslySetInnerHTML:{__html:(0,I.o)(t.t,(0,w.m)(s,"t"),l,100)}}))}const $=function(){return r.createElement(l.Z,null,r.createElement(F,null))}}}]);

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More